PageSourceSearch

https://dreamscore-jvdtoljt.manus.space/assets/index-CiRmmdyV.js

js dreamscore-jvdtoljt.manus.space collected 2026-10-03 05:01:17 UTC 1,227,423 bytes, 357 lines download raw bytes

vendor: 28,875 bytes, lines 1-9
1function Cz(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();var hp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fv={exports:{}},ru={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and 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 oC;function Rz(){if(oC)return ru;oC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:l,ref:a!==void 0?a:null,props:s}}return ru.Fragment=t,ru.jsx=n,ru.jsxs=n,ru}var lC;function _z(){return lC||(lC=1,fv.exports=Rz()),fv.exports}var g=_z(),ro=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(){}},Mz=class extends ro{#t;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},oA=new Mz,Pz={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Nz=class{#t=Pz;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},$s=new Nz;function Dz(e){setTimeout(e,0)}var kz=typeof window>"u"||"Deno"in globalThis;function Pn(){}function Iz(e,t){return typeof e=="function"?e(t):e}function Y1(e){return typeof e=="number"&&e>=0&&e!==1/0}function hk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Gi(e,t){return typeof e=="function"?e(t):e}function pr(e,t){return typeof e=="function"?e(t):e}function cC(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:s,queryKey:l,stale:c}=e;if(l){if(r){if(t.queryHash!==lA(l,t.options))return!1}else if(!Nu(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||s&&!s(t))}function uC(e,t){const{exact:n,status:r,predicate:a,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Wi(t.options.mutationKey)!==Wi(s))return!1}else if(!Nu(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function lA(e,t){return(t?.queryKeyHashFn||Wi)(e)}function Wi(e){return JSON.stringify(e,(t,n)=>W1(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function Nu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Nu(e[n],t[n])):!1}var $z=Object.prototype.hasOwnProperty;function cA(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=fC(e)&&fC(t);if(!r&&!(W1(e)&&W1(t)))return t;const s=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),c=l.length,f=r?new Array(c):{};let d=0;for(let m=0;m<c;m++){const p=r?m:l[m],y=e[p],b=t[p];if(y===b){f[p]=y,(r?m<s:$z.call(e,p))&&d++;continue}if(y===null||b===null||typeof y!="object"||typeof b!="object"){f[p]=b;continue}const A=cA(y,b,n+1);f[p]=A,A===y&&d++}return s===c&&d===s?e:f}function Du(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 fC(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function W1(e){if(!dC(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!dC(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function dC(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bz(e){return new Promise(t=>{$s.setTimeout(t,e)})}function Q1(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?cA(e,t):t}function Lz(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function qz(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var mr=Symbol();function mk(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===mr?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function uA(e,t){return typeof e=="function"?e(...t):!!e}function zz(e,t,n){let r=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),r||(r=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}var ku=(()=>{let e=()=>kz;return{isServer(){return e()},setIsServer(t){e=t}}})();function X1(){let e,t;const n=new Promise((a,s)=>{e=a,t=s});n.status="pending",n.catch(()=>{});function r(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{r({status:"fulfilled",value:a}),e(a)},n.reject=a=>{r({status:"rejected",reason:a}),t(a)},n}var Hz=Dz;function Uz(){let e=[],t=0,n=c=>{c()},r=c=>{c()},a=Hz;const s=c=>{t?e.push(c):a(()=>{n(c)})},l=()=>{const c=e;e=[],c.length&&a(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||l()}return f},batchCalls:c=>(...f)=>{s(()=>{c(...f)})},schedule:s,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{a=c}}}var Bt=Uz(),Vz=class extends ro{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},Wp=new Vz;function Fz(e){return Math.min(1e3*2**e,3e4)}function gk(e){return(e??"online")==="online"?Wp.isOnline():!0}var Z1=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function yk(e){let t=!1,n=0,r;const a=X1(),s=()=>a.status!=="pending",l=S=>{if(!s()){const x=new Z1(S);y(x),e.onCancel?.(x)}},c=()=>{t=!0},f=()=>{t=!1},d=()=>oA.isFocused()&&(e.networkMode==="always"||Wp.isOnline())&&e.canRun(),m=()=>gk(e.networkMode)&&e.canRun(),p=S=>{s()||(r?.(),a.resolve(S))},y=S=>{s()||(r?.(),a.reject(S))},b=()=>new Promise(S=>{r=x=>{(s()||d())&&S(x)},e.onPause?.()}).then(()=>{r=void 0,s()||e.onContinue?.()}),A=()=>{if(s())return;let S;const x=n===0?e.initialPromise:void 0;try{S=x??e.fn()}catch(O){S=Promise.reject(O)}Promise.resolve(S).then(p).catch(O=>{if(s())return;const R=e.retry??(ku.isServer()?0:3),j=e.retryDelay??Fz,M=typeof j=="function"?j(n,O):j,T=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,O);if(t||!T){y(O);return}n++,e.onFail?.(n,O),Bz(M).then(()=>d()?void 0:b()).then(()=>{t?y(O):A()})})};return{promise:a,status:()=>a.status,cancel:l,continue:()=>(r?.(),a),cancelRetry:c,continueRetry:f,canStart:m,start:()=>(m()?A():b().then(A),a)}}var vk=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Y1(this.gcTime)&&(this.#t=$s.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ku.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&($s.clearTimeout(this.#t),this.#t=void 0)}};function Gz(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},f=0;const d=async()=>{let m=!1;const p=A=>{zz(A,()=>t.signal,()=>m=!0)},y=mk(t.options,t.fetchOptions),b=async(A,S,x)=>{if(m)return Promise.reject(t.signal.reason);if(S==null&&A.pages.length)return Promise.resolve(A);const R=(()=>{const C={client:t.client,queryKey:t.queryKey,pageParam:S,direction:x?"backward":"forward",meta:t.options.meta};return p(C),C})(),j=await y(R),{maxPages:M}=t.options,T=x?qz:Lz;return{pages:T(A.pages,j,M),pageParams:T(A.pageParams,S,M)}};if(a&&s.length){const A=a==="backward",S=A?bk:J1,x={pages:s,pageParams:l},O=S(r,x);c=await b(x,O,A)}else{const A=e??s.length;do{const S=f===0?l[0]??r.initialPageParam:J1(r,c);if(f>0&&S==null)break;c=await b(c,S),f++}while(f<A)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function J1(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 bk(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function Kz(e,t){return t?J1(e,t)!=null:!1}function Yz(e,t){return!t||!e.getPreviousPageParam?!1:bk(e,t)!=null}var Wz=class extends vk{#t;#e;#n;#r;#a;#i;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=hC(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#t=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=hC(this.options);t.data!==void 0&&(this.setState(pC(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=Q1(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(Pn).catch(Pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>pr(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===mr||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Gi(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!hk(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#s||this.#u()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},a=()=>{const f=mk(this.options,t),m=(()=>{const p={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(p),p})();return this.#s=!1,this.options.persister?this.options.persister(f,m,this):f(m)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(f),f})();(this.#t==="infinite"?Gz(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#l({type:"fetch",meta:l.fetchOptions?.meta}),this.#i=yk({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:f=>{f instanceof Z1&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(f,d)=>{this.#l({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const f=await this.#i.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#r.config.onSuccess?.(f,this),this.#r.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof Z1){if(f.silent)return this.#i.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#r.config.onError?.(f,this),this.#r.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...xk(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...pC(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Bt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function xk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:gk(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function pC(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function hC(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 Mf=class extends ro{constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.#o=X1(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#r=void 0;#a;#i;#o;#s;#u;#l;#p;#f;#h;#c;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),mC(this.#e,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ew(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ew(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#w(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof pr(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#e.setOptions(this.options),t._defaulted&&!Du(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&gC(this.#e,n,this.options,t)&&this.#d(),this.updateResult(),r&&(this.#e!==n||pr(this.options.enabled,this.#e)!==pr(t.enabled,this.#e)||Gi(this.options.staleTime,this.#e)!==Gi(t.staleTime,this.#e))&&this.#g();const a=this.#y();r&&(this.#e!==n||pr(this.options.enabled,this.#e)!==pr(t.enabled,this.#e)||a!==this.#c)&&this.#v(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return Xz(this,n)&&(this.#r=n,this.#i=this.options,this.#a=this.#e.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#d(e){this.#S();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Pn)),t}#g(){this.#x();const e=Gi(this.options.staleTime,this.#e);if(ku.isServer()||this.#r.isStale||!Y1(e))return;const n=hk(this.#r.dataUpdatedAt,e)+1;this.#f=$s.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#w(),this.#c=e,!(ku.isServer()||pr(this.options.enabled,this.#e)===!1||!Y1(this.#c)||this.#c===0)&&(this.#h=$s.setInterval(()=>{(this.options.refetchIntervalInBackground||oA.isFocused())&&this.#d()},this.#c))}#b(){this.#g(),this.#v(this.#y())}#x(){this.#f!==void 0&&($s.clearTimeout(this.#f),this.#f=void 0)}#w(){this.#h!==void 0&&($s.clearInterval(this.#h),this.#h=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#r,s=this.#a,l=this.#i,f=e!==n?e.state:this.#n,{state:d}=e;let m={...d},p=!1,y;if(t._optimisticResults){const P=this.hasListeners(),k=!P&&mC(e,t),z=P&&gC(e,n,t,r);(k||z)&&(m={...m,...xk(d.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:b,errorUpdatedAt:A,status:S}=m;y=m.data;let x=!1;if(t.placeholderData!==void 0&&y===void 0&&S==="pending"){let P;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(P=a.data,x=!0):P=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,P!==void 0&&(S="success",y=Q1(a?.data,P,t),p=!0)}if(t.select&&y!==void 0&&!x)if(a&&y===s?.data&&t.select===this.#u)y=this.#l;else try{this.#u=t.select,y=t.select(y),y=Q1(a?.data,y,t),this.#l=y,this.#s=null}catch(P){this.#s=P}this.#s&&(b=this.#s,y=this.#l,A=Date.now(),S="error");const O=m.fetchStatus==="fetching",R=S==="pending",j=S==="error",M=R&&O,T=y!==void 0,E={status:S,fetchStatus:m.fetchStatus,isPending:R,isSuccess:S==="success",isError:j,isInitialLoading:M,isLoading:M,data:y,dataUpdatedAt:m.dataUpdatedAt,error:b,errorUpdatedAt:A,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&!R,isLoadingError:j&&!T,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:j&&T,isStale:fA(e,t),refetch:this.refetch,promise:this.#o,isEnabled:pr(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const P=E.data!==void 0,k=E.status==="error"&&!P,z=F=>{k?F.reject(E.error):P&&F.resolve(E.data)},B=()=>{const F=this.#o=E.promise=X1();z(F)},U=this.#o;switch(U.status){case"pending":e.queryHash===n.queryHash&&z(U);break;case"fulfilled":(k||E.data!==U.value)&&B();break;case"rejected":(!k||E.error!==U.reason)&&B();break}}return E}updateResult(){const e=this.#r,t=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#p=this.#e),Du(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;if(a==="all"||!a&&!this.#m.size)return!0;const s=new Set(a??this.#m);return this.options.throwOnError&&s.add("error"),Object.keys(this.#r).some(l=>{const c=l;return this.#r[c]!==e[c]&&s.has(c)})};this.#A({listeners:n()})}#S(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#A(e){Bt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function Qz(e,t){return pr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&pr(t.retryOnMount,e)===!1)}function mC(e,t){return Qz(e,t)||e.state.data!==void 0&&ew(e,t,t.refetchOnMount)}function ew(e,t,n){if(pr(t.enabled,e)!==!1&&Gi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&fA(e,t)}return!1}function gC(e,t,n,r){return(e!==t||pr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&fA(e,n)}function fA(e,t){return pr(t.enabled,e)!==!1&&e.isStaleByTime(Gi(t.staleTime,e))}function Xz(e,t){return!Du(e.getCurrentResult(),t)}var wk=class extends Mf{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:s,isError:l,isRefetchError:c}=r,f=n.fetchMeta?.fetchMore?.direction,d=l&&f==="forward",m=a&&f==="forward",p=l&&f==="backward",y=a&&f==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Kz(t,n.data),hasPreviousPage:Yz(t,n.data),isFetchNextPageError:d,isFetchingNextPage:m,isFetchPreviousPageError:p,isFetchingPreviousPage:y,isRefetchError:c&&!d&&!p,isRefetching:s&&!m&&!y}}},Zz=class extends vk{#t;#e;#n;#r;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||Sk(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=yk({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,l)=>{this.#a({type:"failed",failureCount:s,error:l})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",a=!this.#r.canStart();try{if(r)t();else{this.#a({type:"pending",variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#a({type:"pending",context:l,variables:e,isPaused:a})}const s=await this.#r.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#a({type:"success",data:s}),s}catch(s){try{await this.#n.config.onError?.(s,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(s,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,s,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#a({type:"error",error:s}),s}finally{this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Bt.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Sk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jz=class extends ro{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new Zz({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=mp(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=mp(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=mp(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(a=>a.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=mp(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
9r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Bt.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>uC(t,n))}findAll(e={}){return this.getAll().filter(t=>uC(e,t))}notify(e){Bt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Bt.batch(()=>Promise.all(e.map(t=>t.continue().catch(Pn))))}};function mp(e){return e.options.scope?.id}var e7=class extends ro{#t;#e=void 0;#n;#r;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),Du(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Wi(n.mutationKey)!==Wi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#a(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#a(){const t=this.#n?.state??Sk();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){Bt.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,a)}catch(s){Promise.reject(s)}
9try{this.#r.onSettled?.(t.data,null,n,r,a)}catch(s){Promise.reject(s)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,a)}catch(s){Promise.reject(s)}try{this.#r.onSettled?.(void 0,t.error,n,r,a)}catch(s){Promise.reject(s)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function yC(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function t7(e,t,n){const r=e.slice(0);return r[t]=n,r}var n7=class extends ro{#t;#e;#n;#r;#a;#i;#o;#s;#u;#l=[];constructor(e,t,n){super(),this.#t=e,this.#r=n,this.#n=[],this.#a=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(e=>{e.subscribe(t=>{this.#m(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#r=t,Bt.batch(()=>{const n=this.#a,r=this.#c(this.#n);r.forEach(m=>m.observer.setOptions(m.defaultedQueryOptions));const a=r.map(m=>m.observer),s=a.map(m=>m.getCurrentResult()),l=n.length!==a.length,c=a.some((m,p)=>m!==n[p]),f=l||c,d=f?!0:s.some((m,p)=>{const y=this.#e[p];return!y||!Du(m,y)});!f&&!d||(f&&(this.#l=r,this.#a=a),this.#e=s,this.hasListeners()&&(f&&(yC(n,a).forEach(m=>{m.destroy()}),yC(a,n).forEach(m=>{m.subscribe(p=>{this.#m(m,p)})})),this.#d()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(e=>e.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(e,t){const n=this.#c(e),r=n.map(s=>s.observer.getOptimisticResult(s.defaultedQueryOptions)),a=n.map(s=>s.defaultedQueryOptions.queryHash);return[r,s=>this.#f(s??r,t,a),()=>this.#p(r,n)]}#p(e,t){return t.map((n,r)=>{const a=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?a:n.observer.trackResult(a,s=>{t.forEach(l=>{l.observer.trackProp(s)})})})}#f(e,t,n){if(t){const r=this.#u,a=n!==void 0&&r!==void 0&&(r.length!==n.length||n.some((s,l)=>s!==r[l]));return(!this.#i||this.#e!==this.#s||a||t!==this.#o)&&(this.#o=t,this.#s=this.#e,n!==void 0&&(this.#u=n),this.#i=cA(this.#i,t(e))),this.#i}return e}#h(){return this.#r?.combine!==void 0&&this.#a.some((e,t)=>e.options.suspense&&this.#e[t]?.data===void 0)}#c(e){const t=new Map;this.#a.forEach(r=>{const a=r.options.queryHash;if(!a)return;const s=t.get(a);s?s.push(r):t.set(a,[r])});const n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),l=t.get(a.queryHash)?.shift()??new Mf(this.#t,a);n.push({defaultedQueryOptions:a,observer:l})}),n}#m(e,t){const n=this.#a.indexOf(e);n!==-1&&(this.#e=t7(this.#e,n,t),this.#d())}#d(){if(this.hasListeners()){const e=this.#p(this.#e,this.#l),t=this.#h(),n=this.#i,r=t?n:this.#f(e,this.#r?.combine);(t||n!==r)&&Bt.batch(()=>{this.listeners.forEach(a=>{a(this.#e)})})}}},r7=class extends ro{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??lA(r,t);let s=this.get(a);return s||(s=new Wz({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Bt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>cC(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>cC(e,n)):t}notify(e){Bt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Bt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Bt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},a7=class{#t;#e;#n;#r;#a;#i;#o;#s;constructor(e={}){this.#t=e.queryCache||new r7,this.#e=e.mutationCache||new Jz,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=oA.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=Wp.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Gi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.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=this.#t.get(r.queryHash)?.state.data,l=Iz(t,s);if(l!==void 0)return this.#t.build(this,r).setData(l,{...n,manual:!0})}
vendor: 11,300 bytes, lines 9-17
9setQueriesData(e,t,n){return Bt.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;Bt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return Bt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Bt.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(Pn).catch(Pn)}invalidateQueries(e,t={}){return Bt.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Bt.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let s=a.fetch(void 0,n);return n.throwOnError||(s=s.catch(Pn)),a.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Pn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Gi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Pn).catch(Pn)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Pn).catch(Pn)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Wp.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Wi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Nu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(Wi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{Nu(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=lA(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===mr&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},dv={exports:{}},Pe={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and 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 vC;function i7(){if(vC)return Pe;vC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function b($){return $===null||typeof $!="object"?null:($=y&&$[y]||$["@@iterator"],typeof $=="function"?$:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,x={};function O($,G,Y){this.props=$,this.context=G,this.refs=x,this.updater=Y||A}O.prototype.isReactComponent={},O.prototype.setState=function($,G){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,G,"setState")},O.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function R(){}R.prototype=O.prototype;function j($,G,Y){this.props=$,this.context=G,this.refs=x,this.updater=Y||A}var M=j.prototype=new R;M.constructor=j,S(M,O.prototype),M.isPureReactComponent=!0;var T=Array.isArray;function C(){}var E={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function k($,G,Y){var J=Y.ref;return{$$typeof:e,type:$,key:G,ref:J!==void 0?J:null,props:Y}}function z($,G){return k($.type,G,$.props)}function B($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function U($){var G={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(Y){return G[Y]})}var F=/\/+/g;function K($,G){return typeof $=="object"&&$!==null&&$.key!=null?U(""+$.key):G.toString(36)}function Q($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(C,C):($.status="pending",$.then(function(G){$.status==="pending"&&($.status="fulfilled",$.value=G)},function(G){$.status==="pending"&&($.status="rejected",$.reason=G)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function I($,G,Y,J,ue){var he=typeof $;(he==="undefined"||he==="boolean")&&($=null);var me=!1;if($===null)me=!0;else switch(he){case"bigint":case"string":case"number":me=!0;break;case"object":switch($.$$typeof){case e:case t:me=!0;break;case m:return me=$._init,I(me($._payload),G,Y,J,ue)}}if(me)return ue=ue($),me=J===""?"."+K($,0):J,T(ue)?(Y="",me!=null&&(Y=me.replace(F,"$&/")+"/"),I(ue,G,Y,"",function(ye){return ye})):ue!=null&&(B(ue)&&(ue=z(ue,Y+(ue.key==null||$&&$.key===ue.key?"":(""+ue.key).replace(F,"$&/")+"/")+me)),G.push(ue)),1;me=0;var be=J===""?".":J+":";if(T($))for(var de=0;de<$.length;de++)J=$[de],he=be+K(J,de),me+=I(J,G,Y,he,ue);else if(de=b($),typeof de=="function")for($=de.call($),de=0;!(J=$.next()).done;)J=J.value,he=be+K(J,de++),me+=I(J,G,Y,he,ue);else if(he==="object"){if(typeof $.then=="function")return I(Q($),G,Y,J,ue);throw G=String($),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return me}function L($,G,Y){if($==null)return $;var J=[],ue=0;return I($,J,"","",function(he){return G.call(Y,he,ue++)}),J}function q($){if($._status===-1){var G=$._result;G=G(),G.then(function(Y){($._status===0||$._status===-1)&&($._status=1,$._result=Y)},function(Y){($._status===0||$._status===-1)&&($._status=2,$._result=Y)}),$._status===-1&&($._status=0,$._result=G)}if($._status===1)return $._result.default;throw $._result}var Z=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},ie={map:L,forEach:function($,G,Y){L($,function(){G.apply(this,arguments)},Y)},count:function($){var G=0;return L($,function(){G++}),G},toArray:function($){return L($,function(G){return G})||[]},only:function($){if(!B($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return Pe.Activity=p,Pe.Children=ie,Pe.Component=O,Pe.Fragment=n,Pe.Profiler=a,Pe.PureComponent=j,Pe.StrictMode=r,Pe.Suspense=f,Pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,Pe.__COMPILER_RUNTIME={__proto__:null,c:function($){return E.H.useMemoCache($)}},Pe.cache=function($){return function(){return $.apply(null,arguments)}},Pe.cacheSignal=function(){return null},Pe.cloneElement=function($,G,Y){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var J=S({},$.props),ue=$.key;if(G!=null)for(he in G.key!==void 0&&(ue=""+G.key),G)!P.call(G,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&G.ref===void 0||(J[he]=G[he]);var he=arguments.length-2;if(he===1)J.children=Y;else if(1<he){for(var me=Array(he),be=0;be<he;be++)me[be]=arguments[be+2];J.children=me}return k($.type,ue,J)},Pe.createContext=function($){return $={$$typeof:l,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:s,_context:$},$},Pe.createElement=function($,G,Y){var J,ue={},he=null;if(G!=null)for(J in G.key!==void 0&&(he=""+G.key),G)P.call(G,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ue[J]=G[J]);var me=arguments.length-2;if(me===1)ue.children=Y;else if(1<me){for(var be=Array(me),de=0;de<me;de++)be[de]=arguments[de+2];ue.children=be}if($&&$.defaultProps)for(J in me=$.defaultProps,me)ue[J]===void 0&&(ue[J]=me[J]);return k($,he,ue)},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function($){return{$$typeof:c,render:$}},Pe.isValidElement=B,Pe.lazy=function($){return{$$typeof:m,_payload:{_status:-1,_result:$},_init:q}},Pe.memo=function($,G){return{$$typeof:d,type:$,compare:G===void 0?null:G}},Pe.startTransition=function($){var G=E.T,Y={};E.T=Y;try{var J=$(),ue=E.S;ue!==null&&ue(Y,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(C,Z)}catch(he){Z(he)}finally{G!==null&&Y.types!==null&&(G.types=Y.types),E.T=G}},Pe.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},Pe.use=function($){return E.H.use($)},Pe.useActionState=function($,G,Y){return E.H.useActionState($,G,Y)},Pe.useCallback=function($,G){return E.H.useCallback($,G)},Pe.useContext=function($){return E.H.useContext($)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function($,G){return E.H.useDeferredValue($,G)},Pe.useEffect=function($,G){return E.H.useEffect($,G)},Pe.useEffectEvent=function($){return E.H.useEffectEvent($)},Pe.useId=function(){return E.H.useId()},Pe.useImperativeHandle=function($,G,Y){return E.H.useImperativeHandle($,G,Y)},Pe.useInsertionEffect=function($,G){return E.H.useInsertionEffect($,G)},Pe.useLayoutEffect=function($,G){return E.H.useLayoutEffect($,G)},Pe.useMemo=function($,G){return E.H.useMemo($,G)},Pe.useOptimistic=function($,G){return E.H.useOptimistic($,G)},Pe.useReducer=function($,G,Y){return E.H.useReducer($,G,Y)},Pe.useRef=function($){return E.H.useRef($)},Pe.useState=function($){return E.H.useState($)},Pe.useSyncExternalStore=function($,G,Y){return E.H.useSyncExternalStore($,G,Y)},Pe.useTransition=function(){return E.H.useTransition()},Pe.version="19.2.1",Pe}var bC;function tm(){return bC||(bC=1,dv.exports=i7()),dv.exports}var N=tm();const H=mt(N),Ak=Cz({__proto__:null,default:H},[N]);var Ok=N.createContext(void 0),Pf=e=>{const t=N.useContext(Ok);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s7=({client:e,children:t})=>(N.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(Ok.Provider,{value:e,children:t})),Tk=N.createContext(!1),jk=()=>N.useContext(Tk);Tk.Provider;function o7(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
17var l7=N.createContext(o7()),Ek=()=>N.useContext(l7),Ck=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?uA(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Rk=e=>{N.useEffect(()=>{e.clearReset()},[e])},_k=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||uA(n,[e.error,r])),dA=(e,t)=>t.state.data===void 0,Mk=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...a)=>n(r(...a)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},c7=(e,t)=>e.isLoading&&e.isFetching&&!t,tw=(e,t)=>e?.suspense&&t.isPending,nw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Pk({queries:e,...t},n){const r=Pf(n),a=jk(),s=Ek(),l=N.useMemo(()=>e.map(S=>{const x=r.defaultQueryOptions(S);return x._optimisticResults=a?"isRestoring":"optimistic",x}),[e,r,a]);l.forEach(S=>{Mk(S);const x=r.getQueryCache().get(S.queryHash);Ck(S,s,x)}),Rk(s);const[c]=N.useState(()=>new n7(r,l,t)),[f,d,m]=c.getOptimisticResult(l,t.combine),p=!a&&t.subscribed!==!1;N.useSyncExternalStore(N.useCallback(S=>p?c.subscribe(Bt.batchCalls(S)):Pn,[c,p]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),N.useEffect(()=>{c.setQueries(l,t)},[l,t,c]);const b=f.some((S,x)=>tw(l[x],S))?f.flatMap((S,x)=>{const O=l[x];if(O&&tw(O,S)){const R=new Mf(r,O);return nw(O,R,s)}return[]}):[];if(b.length>0)throw Promise.all(b);const A=f.find((S,x)=>{const O=l[x];return O&&_k({result:S,errorResetBoundary:s,throwOnError:O.throwOnError,query:r.getQueryCache().get(O.queryHash),suspense:O.suspense})});if(A?.error)throw A.error;return d(m())}function nm(e,t,n){const r=jk(),a=Ek(),s=Pf(n),l=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const c=s.getQueryCache().get(l.queryHash),f=e.subscribed!==!1;l._optimisticResults=r?"isRestoring":f?"optimistic":void 0,Mk(l),Ck(l,a,c),Rk(a);const d=!s.getQueryCache().get(l.queryHash),[m]=N.useState(()=>new t(s,l)),p=m.getOptimisticResult(l),y=!r&&f;if(N.useSyncExternalStore(N.useCallback(b=>{const A=y?m.subscribe(Bt.batchCalls(b)):Pn;return m.updateResult(),A},[m,y]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),N.useEffect(()=>{m.setOptions(l)},[l,m]),tw(l,p))throw nw(l,m,a);if(_k({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw p.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(l,p),l.experimental_prefetchInRender&&!ku.isServer()&&c7(p,r)&&(d?nw(l,m,a):c?.promise)?.catch(Pn).finally(()=>{m.updateResult()}),l.notifyOnChangeProps?p:m.trackResult(p)}function u7(e,t){return nm(e,Mf,t)}function f7(e,t){return nm({...e,enabled:!0,suspense:!0,throwOnError:dA,placeholderData:void 0},Mf,t)}function d7(e,t){return nm({...e,enabled:!0,suspense:!0,throwOnError:dA},wk,t)}function p7(e,t){return Pk({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:dA,enabled:!0,placeholderData:void 0}))},t)}function h7(e,t){const n=Pf(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function m7(e,t){const n=Pf(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function g7(e,t){const n=Pf(t),[r]=N.useState(()=>new e7(n,e));N.useEffect(()=>{r.setOptions(e)},[r,e]);const a=N.useSyncExternalStore(N.useCallback(l=>r.subscribe(Bt.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=N.useCallback((l,c)=>{r.mutate(l,c).catch(Pn)},[r]);if(a.error&&uA(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function y7(e,t){return nm(e,wk,t)}function Ws(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function v7(){return Object.create(null)}const b7=typeof Symbol=="function"&&!!Symbol.asyncIterator;function Nk(e){return b7&&Ws(e)&&Symbol.asyncIterator in e}var x7=Object.create,Dk=Object.defineProperty,w7=Object.getOwnPropertyDescriptor,kk=Object.getOwnPropertyNames,S7=Object.getPrototypeOf,A7=Object.prototype.hasOwnProperty,Nf=(e,t)=>function(){return t||(0,e[kk(e)[0]])((t={exports:{}}).exports,t),t.exports},O7=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=kk(t),s=0,l=a.length,c;s<l;s++)c=a[s],!A7.call(e,c)&&c!==n&&Dk(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(r=w7(t,c))||r.enumerable});return e}
17,rm=(e,t,n)=>(n=e!=null?x7(S7(e)):{},O7(Dk(n,"default",{value:e,enumerable:!0}),e));const Ik=()=>{},xC=e=>{Object.freeze&&Object.freeze(e)};function $k(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(Ik,{get(s,l){if(!(typeof l!="string"||l==="then"))return $k(e,[...t,l],n)},apply(s,l,c){const f=t[t.length-1];if(f==="valueOf"||f==="toString"||f==="toJSON")return`tRPC.proxy(${t.slice(0,-1).join(".")})`;let d={args:c,path:t};return f==="call"?d={args:c.length>=2?[c[1]]:[],path:t.slice(0,-1)}:f==="apply"&&(d={args:c.length>=2?c[1]:[],path:t.slice(0,-1)}),xC(d.args),xC(d.path),e(d)}})),n[a]}const am=e=>$k(e,[],v7()),pA=e=>new Proxy(Ik,{get(t,n){if(n!=="then")return e(n)}});var Bk=Nf({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),T7=Nf({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=Bk().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),j7=Nf({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=Bk().default,r=T7();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),Lk=Nf({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=j7();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),hA=Nf({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=Lk();function r(s,l){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),c.push.apply(c,f)}return c}function a(s){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(f){n(s,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(c,f))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});rm(hA());rm(Lk());var gp=rm(hA());function E7(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,gp.default)((0,gp.default)({},e),{},{error:r})}}return{ok:!0,result:(0,gp.default)((0,gp.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var pv=class extends Error{constructor(){super("Unable to transform response from server")}};function C7(e,t){let n;try{n=E7(e,t)}catch{throw new pv}if(!n.ok&&(!Ws(n.error.error)||typeof n.error.error.code!="number"))throw new pv;if(n.ok&&!Ws(n.result))throw new pv;return n}rm(hA());function im(e){const t={subscribe(n){let r=null,a=!1,s=!1,l=!1;function c(){if(r===null){l=!0;return}s||(s=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(f){var d;a||(d=n.next)===null||d===void 0||d.call(n,f)},error(f){var d;a||(a=!0,(d=n.error)===null||d===void 0||d.call(n,f),c())},complete(){var f;a||(a=!0,(f=n.complete)===null||f===void 0||f.call(n),c())}}),l&&c(),{unsubscribe:c}},pipe(...n){return n.reduce(R7,t)}};return t}function R7(e,t){return t(e)}function _7(e){const t=new AbortController;return new Promise((r,a)=>{let s=!1;function l(){s||(s=!0,c.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const c=e.subscribe({next(f){s=!0,r(f),l()},error(f){a(f)},complete(){t.abort(),l()}})})}var M7=Object.create,qk=Object.defineProperty,P7=Object.getOwnPropertyDescriptor,zk=Object.getOwnPropertyNames,N7=Object.getPrototypeOf,D7=Object.prototype.hasOwnProperty,rs=(e,t)=>function(){return t||(0,e[zk(e)[0]])((t={exports:{}}).exports,t),t.exports},k7=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=zk(t),s=0,l=a.length,c;s<l;s++)c=a[s],!D7.call(e,c)&&c!==n&&qk(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(r=P7(t,c))||r.enumerable});return e},ao=(e,t,n)=>(n=e!=null?M7(N7(e)):{},k7(t||!e||!e.__esModule?qk(n,"default",{value:e,enumerable:!0}):n,e)),I7=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,a){if(r==null)return{};var s={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(a.includes(l))continue;s[l]=r[l]}return s}
17t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),$7=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=I7();function r(a,s){if(a==null)return{};var l,c,f=n(a,s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);for(c=0;c<d.length;c++)l=d[c],s.includes(l)||{}.propertyIsEnumerable.call(a,l)&&(f[l]=a[l])}return f}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Hk=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),B7=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=Hk().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),L7=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=Hk().default,r=B7();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),q7=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=L7();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Df=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=q7();function r(s,l){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),c.push.apply(c,f)}return c}function a(s){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(f){n(s,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(c,f))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),z7=ao($7(),1),wC=ao(Df(),1);const H7=["cursor","direction"];function ua(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&Ws(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:s}=t,l=(0,z7.default)(t,H7);return[r,{input:l,type:"infinite"}]}return[r,(0,wC.default)((0,wC.default)({},typeof t<"u"&&t!==mr&&{input:t}),n&&n!=="any"&&{type:n})]}function qp(e){return ua(e,void 0,"any")}var U7=Object.create,Uk=Object.defineProperty,V7=Object.getOwnPropertyDescriptor,Vk=Object.getOwnPropertyNames,F7=Object.getPrototypeOf,G7=Object.prototype.hasOwnProperty,Sa=(e,t)=>function(){return t||(0,e[Vk(e)[0]])((t={exports:{}}).exports,t),t.exports},K7=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=Vk(t),s=0,l=a.length,c;s<l;s++)c=a[s],!G7.call(e,c)&&c!==n&&Uk(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(r=V7(t,c))||r.enumerable});return e},Ht=(e,t,n)=>(n=e!=null?U7(F7(e)):{},K7(Uk(n,"default",{value:e,enumerable:!0}),e)),Fk=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
17,t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Y7=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=Fk().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),W7=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=Fk().default,r=Y7();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),io=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=W7();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),ta=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=io();function r(s,l){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(s);l&&(f=f.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),c.push.apply(c,f)}return c}function a(s){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(f){n(s,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(f){Object.defineProperty(s,f,Object.getOwnPropertyDescriptor(c,f))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function Q7(e){return t=>{let n=0,r=null;const a=[];function s(){r||(r=t.subscribe({next(c){for(const d of a){var f;(f=d.next)===null||f===void 0||f.call(d,c)}},error(c){for(const d of a){var f;(f=d.error)===null||f===void 0||f.call(d,c)}},complete(){for(const f of a){var c;(c=f.complete)===null||c===void 0||c.call(f)}}}))}function l(){if(n===0&&r){const c=r;r=null,c.unsubscribe()}}return im(c=>(n++,a.push(c),s(),{unsubscribe(){n--,l();const f=a.findIndex(d=>d===c);f>-1&&a.splice(f,1)}}))}}function X7(e){let t=e;const n=[],r=l=>{t!==void 0&&l.next(t),n.push(l)},a=l=>{n.splice(n.indexOf(l),1)},s=im(l=>(r(l),()=>{a(l)}));return s.next=l=>{if(t!==l){t=l;for(const c of n)c.next(l)}},s.get=()=>t,s}function Z7(e){return im(t=>{function n(a=0,s=e.op){const l=e.links[a];if(!l)throw new Error("No more links to execute - did you forget to add an ending link?");return l({op:s,next(f){return n(a+1,f)}})}return n().subscribe(t)})}var yp=Ht(io()),tl=Ht(ta());function J7(e){return e instanceof Iu}function e9(e){return Ws(e)&&Ws(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function t9(e,t){return typeof e=="string"?e:Ws(e)&&typeof e.message=="string"?e.message:t}
17var Iu=class zp extends Error{constructor(t,n){var r,a;const s=n?.cause;super(t,{cause:s}),(0,yp.default)(this,"cause",void 0),(0,yp.default)(this,"shape",void 0),(0,yp.default)(this,"data",void 0),(0,yp.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=s,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(a=n.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,zp.prototype)}static from(t,n={}){const r=t;return J7(r)?(n.meta&&(r.meta=(0,tl.default)((0,tl.default)({},r.meta),n.meta)),r):e9(r)?new zp(r.error.message,(0,tl.default)((0,tl.default)({},n),{},{result:r,cause:n.cause})):new zp(t9(r,"Unknown error"),(0,tl.default)((0,tl.default)({},n),{},{cause:r}))}};function n9(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n},output:{serialize:n=>n,deserialize:n=>n}}}const SC=e=>typeof e=="function";function r9(e){if(e)return e;if(typeof window<"u"&&SC(window.fetch))return window.fetch;if(typeof globalThis<"u"&&SC(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Su=Ht(ta());function a9(e){return{url:e.url.toString(),fetch:e.fetch,transformer:n9(e.transformer),methodOverride:e.methodOverride}}function i9(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const s9={query:"GET",mutation:"POST",subscription:"PATCH"};function Gk(e){return"input"in e?e.transformer.input.serialize(e.input):i9(e.inputs.map(t=>e.transformer.input.serialize(t)))}const Kk=e=>{const t=e.url.split("?");let r=t[0].replace(/\/$/,"")+"/"+e.path;const a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),e.type==="query"||e.type==="subscription"){const s=Gk(e);s!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(s))}`)}return a.length&&(r+="?"+a.join("&")),r},o9=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=Gk(e);return t!==void 0?JSON.stringify(t):void 0},l9=e=>d9((0,Su.default)((0,Su.default)({},e),{},{contentTypeHeader:"application/json",getUrl:Kk,getBody:o9}));var c9=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const u9=e=>{var t;if(e?.aborted)throw(t=e.throwIfAborted)===null||t===void 0||t.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new c9};async function f9(e){var t,n;u9(e.signal);const r=e.getUrl(e),a=e.getBody(e),s=(t=e.methodOverride)!==null&&t!==void 0?t:s9[e.type],l=await(async()=>{const f=await e.headers();return Symbol.iterator in f?Object.fromEntries(f):f})(),c=(0,Su.default)((0,Su.default)((0,Su.default)({},e.contentTypeHeader&&s!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),l);return r9(e.fetch)(r,{method:s,signal:e.signal,body:a,headers:c})}async function d9(e){const t={},n=await f9(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}Ht(ta());const AC=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function OC(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(c){const f=[[]];let d=0;for(;;){const y=c[d];if(!y)break;const b=f[f.length-1];if(y.aborted){var m;(m=y.reject)===null||m===void 0||m.call(y,new Error("Aborted")),d++;continue}if(e.validate(b.concat(y).map(S=>S.key))){b.push(y),d++;continue}if(b.length===0){var p;(p=y.reject)===null||p===void 0||p.call(y,new Error("Input is too big for a single dispatch")),d++;continue}f.push([])}return f}function s(){const c=a(t);r();for(const f of c){if(!f.length)continue;const d={items:f};for(const p of f)p.batch=d;e.fetch(d.items.map(p=>p.key)).then(async p=>{await Promise.all(p.map(async(b,A)=>{const S=d.items[A];try{var x;const R=await Promise.resolve(b);(x=S.resolve)===null||x===void 0||x.call(S,R)}catch(R){var O;(O=S.reject)===null||O===void 0||O.call(S,R)}S.batch=null,S.reject=null,S.resolve=null}));for(const b of d.items){var y;(y=b.reject)===null||y===void 0||y.call(b,new Error("Missing result")),b.batch=null}}).catch(p=>{for(const b of d.items){var y;(y=b.reject)===null||y===void 0||y.call(b,p),b.batch=null}})}}function l(c){var f;const d={aborted:!1,key:c,batch:null,resolve:AC,reject:AC},m=new Promise((p,y)=>{var b;d.reject=y,d.resolve=p,(b=t)!==null&&b!==void 0||(t=[]),t.push(d)});return(f=n)!==null&&f!==void 0||(n=setTimeout(s)),m}return{load:l}}function p9(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const s of e)s?.aborted?a():s?.addEventListener("abort",a,{once:!0});return t.signal}var vp=Ht(ta());function h9(e){var t,n;const r=a9(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,s=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const l=m=>
17({validate(p){if(a===1/0&&s===1/0)return!0;if(p.length>s)return!1;const y=p.map(S=>S.path).join(","),b=p.map(S=>S.input);return Kk((0,vp.default)((0,vp.default)({},r),{},{type:m,path:y,inputs:b,signal:null})).length<=a},async fetch(p){const y=p.map(R=>R.path).join(","),b=p.map(R=>R.input),A=p9(...p.map(R=>R.signal)),S=await l9((0,vp.default)((0,vp.default)({},r),{},{path:y,inputs:b,type:m,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:p}):e.headers:{}},signal:A}));return(Array.isArray(S.json)?S.json:p.map(()=>S.json)).map(R=>({meta:S.meta,json:R}))}}),c=OC(l("query")),f=OC(l("mutation")),d={query:c,mutation:f};return({op:m})=>im(p=>{/* istanbul ignore if -- @preserve */if(m.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const b=d[m.type].load(m);let A;return b.then(S=>{A=S;const x=C7(S.json,r.transformer.output);if(!x.ok){p.error(Iu.from(x.error,{meta:S.meta}));return}p.next({context:S.meta,result:x.result}),p.complete()}).catch(S=>{p.error(Iu.from(S,{meta:A?.meta}))}),()=>{}})}}Ht(ta());const Yk=(e,...t)=>typeof e=="function"?e(...t):e;Ht(io());function m9(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function g9(e){const t=await Yk(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function y9(e,t){const n={method:"connectionParams",data:await Yk(e)};return t.encode(n)}Ht(io());var qi=Ht(io());function v9(e){const{promise:t,resolve:n,reject:r}=m9();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function b9(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function s(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function l(){clearTimeout(r),s()}function c(){clearTimeout(a),l()}e.addEventListener("open",s),e.addEventListener("message",({data:f})=>{clearTimeout(r),s(),f==="PONG"&&c()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var x9=class rw{constructor(t){var n;if((0,qi.default)(this,"id",++rw.connectCount),(0,qi.default)(this,"WebSocketPonyfill",void 0),(0,qi.default)(this,"urlOptions",void 0),(0,qi.default)(this,"keepAliveOpts",void 0),(0,qi.default)(this,"encoder",void 0),(0,qi.default)(this,"wsObservable",X7(null)),(0,qi.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive,this.encoder=t.encoder}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++rw.connectCount;const n=g9(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&b9(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await v9(r),t.urlOptions.connectionParams&&r.send(await y9(t.urlOptions.connectionParams,t.encoder))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,qi.default)(x9,"connectCount",0);Ht(io());Ht(ta());var hv=Ht(io()),TC=Ht(ta()),sm=class{constructor(e){(0,hv.default)(this,"links",void 0),(0,hv.default)(this,"runtime",void 0),(0,hv.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return Z7({links:this.links,op:(0,TC.default)((0,TC.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(Q7())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await _7(n)).result.data}catch(n){throw Iu.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(a){switch(a.result.type){case"state":{var s;(s=n.onConnectionStateChange)===null||s===void 0||s.call(n,a.result);break}case"started":{var l;(l=n.onStarted)===null||l===void 0||l.call(n,{context:a.context});break}case"stopped":{var c;
17(c=n.onStopped)===null||c===void 0||c.call(n);break}case"data":case void 0:{var f;(f=n.onData)===null||f===void 0||f.call(n,a.result.data);break}}},error(a){var s;(s=n.onError)===null||s===void 0||s.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const Wk=Symbol.for("trpc_untypedClient"),w9={query:"query",mutate:"mutation",subscribe:"subscription"},S9=e=>w9[e];function Qk(e){const t=am(({path:n,args:r})=>{const a=[...n],s=S9(a.pop()),l=a.join(".");return e[s](l,...r)});return pA(n=>n===Wk?e:t[n])}function A9(e){const t=new sm(e);return Qk(t)}function mA(e){return e[Wk]}Ht(ta());Ht(ta());var O9=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,l,c,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);f--;){if(l&&(s=a[l])!=null)return s.call(a);if(c&&(s=a[c])!=null)return new r(s.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var c=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(c){var f=this.s.return;return f===void 0?Promise.resolve({value:c,done:!0}):s(f.apply(this.s,arguments))},throw:function(c){var f=this.s.return;return f===void 0?Promise.reject(c):s(f.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});Ht(O9());Ht(ta());var T9=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(c,f){var d=Error();return d.name="SuppressedError",d.error=c,d.suppressed=f,d},a={},s=[];function l(c,f){if(f!=null){if(Object(f)!==f)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(c)var d=f[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(d===void 0&&(d=f[Symbol.dispose||Symbol.for("Symbol.dispose")],c))var m=d;if(typeof d!="function")throw new TypeError("Object is not disposable.");m&&(d=function(){try{m.call(f)}catch(y){return Promise.reject(y)}}),s.push({v:f,d,a:c})}else c&&s.push({d:f,a:c});return f}return{e:a,u:l.bind(null,!1),a:l.bind(null,!0),d:function(){var f,d=this.e,m=0;function p(){for(;f=s.pop();)try{if(!f.a&&m===1)return m=0,s.push(f),Promise.resolve().then(p);if(f.d){var b=f.d.call(f.v);if(f.a)return m|=2,Promise.resolve(b).then(p,y)}else m|=1}catch(A){return y(A)}if(m===1)return d!==a?Promise.reject(d):Promise.resolve();if(d!==a)throw d}function y(b){return d=d!==a?new r(b,d):b,p()}return p()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Xk=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,a){this.v=r,this.k=a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),j9=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=Xk();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),E9=Sa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=Xk();function r(s){return function(){return new a(s.apply(this,arguments))}}function a(s){var l,c;function f(m,p){try{var y=s[m](p),b=y.value,A=b instanceof n;Promise.resolve(A?b.v:b).then(function(S){if(A){var x=m==="return"?"return":"next";if(!b.k||S.done)return f(x,S);S=s[x](S).value}d(y.done?"return":"normal",S)},function(S){f("throw",S)})}catch(S){d("throw",S)}}function d(m,p){switch(m){case"return":l.resolve({value:p,done:!0});break;case"throw":l.reject(p);break;default:l.resolve({value:p,done:!1})}(l=l.next)?f(l.key,l.arg):c=null}this._invoke=function(m,p){return new Promise(function(y,b){var A={key:m,arg:p,resolve:y,reject:b,next:null};c?c=c.next=A:(l=c=A,f(m,p))})},typeof s.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(s){return this._invoke("next",s)},a.prototype.throw=function(s){return this._invoke("throw",s)},a.prototype.return=function(s){return this._invoke("return",s)}
17,t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});Ht(T9());Ht(j9());Ht(E9());Ht(ta());function C9(e){return am(({path:t,args:n})=>{var r;const a=[...t],s=a.pop();if(s==="useMutation")return e[s](a,...n);if(s==="_def")return{path:a};const[l,...c]=n,f=(r=c[0])!==null&&r!==void 0?r:{};return e[s](a,l,f)})}var mv;const R9=["client","ssrContext","ssrState","abortOnUnmount"],_9=(mv=N.createContext)===null||mv===void 0?void 0:mv.call(Ak,null),M9=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function P9(e){return am(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],s=a.shift(),l=M9(r),c=ua(n,s,l);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,c,a[0]),queryOptions:()=>e.queryOptions(n,c,...a),fetch:()=>e.fetchQuery(c,...a),fetchInfinite:()=>e.fetchInfiniteQuery(c,a[0]),prefetch:()=>e.prefetchQuery(c,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(c,a[0]),ensureData:()=>e.ensureQueryData(c,...a),invalidate:()=>e.invalidateQueries(c,...a),reset:()=>e.resetQueries(c,...a),refetch:()=>e.refetchQueries(c,...a),cancel:()=>e.cancelQuery(c,...a),setData:()=>{e.setQueryData(c,a[0],a[1])},setQueriesData:()=>e.setQueriesData(c,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(c,a[0],a[1])},getData:()=>e.getQueryData(c),getInfiniteData:()=>e.getInfiniteQueryData(c),setMutationDefaults:()=>e.setMutationDefaults(qp(n),s),getMutationDefaults:()=>e.getMutationDefaults(qp(n)),isMutating:()=>e.isMutating({mutationKey:qp(n)})}[r]()})}function N9(e){const t=Qk(e.client),n=P9(e);return pA(r=>{const a=r;return a==="client"?t:R9.includes(a)?e[a]:n[r]})}var D9=ao(Df(),1);function jC(e){const t=e instanceof sm?e:mA(e);return am(n=>{const r=n.path,a=r.join("."),[s,l]=n.args;return(0,D9.default)({queryKey:ua(r,s,"query"),queryFn:()=>t.query(a,s,l?.trpc)},l)})}var gv=ao(Df(),1);function Bn(e,t,n){var r;const a=e[0];let s=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var l;s=(0,gv.default)((0,gv.default)((0,gv.default)({},(l=s)!==null&&l!==void 0?l:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),s,t?.trpc]}var k9=rs({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,l,c,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);f--;){if(l&&(s=a[l])!=null)return s.call(a);if(c&&(s=a[c])!=null)return new r(s.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var c=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(c){var f=this.s.return;return f===void 0?Promise.resolve({value:c,done:!0}):s(f.apply(this.s,arguments))},throw:function(c){var f=this.s.return;return f===void 0?Promise.reject(c):s(f.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),I9=ao(k9(),1);function aw(e){return{path:e.path.join(".")}}function au(e){const t=aw(e);return N.useMemo(()=>t,[t])}async function Zk(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const s=[];var l=!1,c=!1,f;try{for(var d=(0,I9.default)(e),m;l=!(m=await d.next()).done;l=!1){const p=m.value;s.push(p),a.setState({data:[...s]})}}catch(p){c=!0,f=p}finally{try{l&&d.return!=null&&await d.return()}finally{if(c)throw f}}return s}var We=ao(Df(),1);function $9(e){const{client:t,queryClient:n}=e,r=t instanceof sm?t:mA(t);return{infiniteQueryOptions:(a,s,l)=>{var c,f;const d=((c=s[1])===null||c===void 0?void 0:c.input)===mr,m=async p=>{var y;const b=(0,We.default)((0,We.default)({},l),{},{trpc:(0,We.default)((0,We.default)({},l?.trpc),!(l==null||(y=l.trpc)===null||y===void 0)&&y.abortOnUnmount?{signal:p.signal}:{signal:null})});return await r.query(...Bn(s,b,{direction:p.direction,pageParam:p.pageParam}))};return Object.assign((0,We.default)((0,We.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:d?mr:m,initialPageParam:(f=l?.initialCursor)!==null&&f!==void 0?f:null}),{trpc:aw({path:a})})},queryOptions:(a,s,l)=>{var c;const f=((c=s[1])===null||c===void 0?void 0:c.input)===mr,d=async m=>{var p;const y=(0,We.default)((0,We.default)({},l),{},{trpc:(0,We.default)((0,We.default)({},l?.trpc),!(l==null||(p=l.trpc)===null||p===void 0)&&p.abortOnUnmount?{signal:m.signal}:{signal:null})}),b=await r.query(...Bn(s,y));return Nk(b)?Zk(b,n,s):b};return Object.assign((0,We.default)((0,We.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:f?mr:d}),{trpc:aw({path:a})})},fetchQuery:(a,s)=>n.fetchQuery((0,We.default)((0,We.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...Bn(a,s))})),fetchInfiniteQuery:(a,s)=>{var l;return n.fetchInfiniteQuery((0,We.default)((0,We.default)({},s),{},{queryKey:a,queryFn:({pageParam:c,direction:f})=>r.query(...Bn(a,s,{pageParam:c,direction:f})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},prefetchQuery:(a,s)=>n.prefetchQuery((0,We.default)((0,We.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...Bn(a,s))})),prefetchInfiniteQuery:(a,s)=>{var l;return n.prefetchInfiniteQuery((0,We.default)((0,We.default)({},s),{},{queryKey:a,queryFn:({pageParam:c,direction:f})=>r.query(...Bn(a,s,{pageParam:c,direction:f})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},ensureQueryData:(a,s)=>n.ensureQueryData((0,We.default)((0,We.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...Bn(a,s))})),invalidateQueries:(a,s,l)=>n.invalidateQueries((0,We.default)((0,We.default)({},s),{},{queryKey:a}),l),resetQueries:(a,s,l)=>n.resetQueries((0,We.default)((0,We.default)({},s),{},{queryKey:a}),l),refetchQueries:(a,s,l)=>n.refetchQueries((0,We.default)((0,We.default)({},s),{},{queryKey:a}),l),cancelQuery:(a,s)=>n.cancelQueries({queryKey:a},s),setQueryData:(a,s,l)=>n.setQueryData(a,s,l),setQueriesData:(a,s,l,c)=>n.setQueriesData((0,We.default)((0,We.default)({},s),{},{queryKey:a}),l,c),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,s,l)=>n.setQueryData(a,s,l),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,s)=>{const l=a[0],c=f=>r.mutation(...Bn([l,{input:f}],e));return n.setMutationDefaults(a,typeof s=="function"?s({canonicalMutationFn:c}):s)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,We.default)((0,We.default)({},a),{},{exact:!0}))}}var ge=ao(Df());const EC=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function B9(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:T=>T.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:_9,s=A9,l=T=>{var C;const{abortOnUnmount:E=!1,queryClient:P,ssrContext:k}=T,[z,B]=N.useState((C=T.ssrState)!==null&&C!==void 0?C:!1),U=T.client instanceof sm?T.client:mA(T.client),F=N.useMemo(()=>$9({client:U,queryClient:P}),[U,P]),K=N.useMemo(()=>(0,ge.default)({abortOnUnmount:E,queryClient:P,client:U,ssrContext:k??null,ssrState:z},F),[E,U,F,P,k,z]);return N.useEffect(()=>{B(Q=>Q?"mounted":!1)},[]),g.jsx(a.Provider,{value:K,children:T.children})};function c(){const T=N.useContext(a);if(!T)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
17p inside `withTRPC` HoC?");return T}function f(T,C){var E;const{queryClient:P,ssrState:k}=c();return k&&k!=="mounted"&&((E=P.getQueryCache().find({queryKey:T}))===null||E===void 0?void 0:E.state.status)==="error"?(0,ge.default)({retryOnMount:!1},C):C}function d(T,C,E){var P,k,z,B,U;const F=c(),{abortOnUnmount:K,client:Q,ssrState:I,queryClient:L,prefetchQuery:q}=F,Z=ua(T,C,"query"),ie=L.getQueryDefaults(Z),$=C===mr;typeof window>"u"&&I==="prepass"&&(E==null||(P=E.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((k=E?.enabled)!==null&&k!==void 0?k:ie?.enabled)!==!1&&!$&&!L.getQueryCache().find({queryKey:Z})&&q(Z,E);const G=f(Z,(0,ge.default)((0,ge.default)({},ie),E)),Y=(z=(B=E==null||(U=E.trpc)===null||U===void 0?void 0:U.abortOnUnmount)!==null&&B!==void 0?B:void 0)!==null&&z!==void 0?z:K,J=u7((0,ge.default)((0,ge.default)({},G),{},{queryKey:Z,queryFn:$?C:async ue=>{const he=(0,ge.default)((0,ge.default)({},G),{},{trpc:(0,ge.default)((0,ge.default)({},G?.trpc),Y?{signal:ue.signal}:{signal:null})}),me=await Q.query(...Bn(Z,he));return Nk(me)?Zk(me,L,Z):me}}),L);return J.trpc=au({path:T}),J}function m(T,C,E){var P,k,z;const B=c(),U=ua(T,C,"query"),F=C===mr,K=(P=(k=E==null||(z=E.trpc)===null||z===void 0?void 0:z.abortOnUnmount)!==null&&k!==void 0?k:void 0)!==null&&P!==void 0?P:B.abortOnUnmount;h7((0,ge.default)((0,ge.default)({},E),{},{queryKey:U,queryFn:F?C:Q=>{const I={trpc:(0,ge.default)((0,ge.default)({},E?.trpc),K?{signal:Q.signal}:{})};return B.client.query(...Bn(U,I))}}))}function p(T,C,E){var P,k,z;const B=c(),U=ua(T,C,"query"),F=(P=(k=E==null||(z=E.trpc)===null||z===void 0?void 0:z.abortOnUnmount)!==null&&k!==void 0?k:void 0)!==null&&P!==void 0?P:B.abortOnUnmount,K=f7((0,ge.default)((0,ge.default)({},E),{},{queryKey:U,queryFn:Q=>{const I=(0,ge.default)((0,ge.default)({},E),{},{trpc:(0,ge.default)((0,ge.default)({},E?.trpc),F?{signal:Q.signal}:{signal:null})});return B.client.query(...Bn(U,I))}}),B.queryClient);return K.trpc=au({path:T}),[K.data,K]}function y(T,C){const{client:E,queryClient:P}=c(),k=qp(T),z=P.defaultMutationOptions(P.getMutationDefaults(k)),B=g7((0,ge.default)((0,ge.default)({},C),{},{mutationKey:k,mutationFn:U=>E.mutation(...Bn([T,{input:U}],C)),onSuccess(...U){var F,K;return r({originalFn:()=>{var I,L,q;return(I=C==null||(L=C.onSuccess)===null||L===void 0?void 0:L.call(C,...U))!==null&&I!==void 0?I:z==null||(q=z.onSuccess)===null||q===void 0?void 0:q.call(z,...U)},queryClient:P,meta:(F=(K=C?.meta)!==null&&K!==void 0?K:z?.meta)!==null&&F!==void 0?F:{}})}}),P);return B.trpc=au({path:T}),B}const b={data:void 0,error:null,status:"idle"},A={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function S(T,C,E){var P;const k=(P=E?.enabled)!==null&&P!==void 0?P:C!==mr,z=Wi(ua(T,C,"any")),{client:B}=c(),U=N.useRef(E);N.useEffect(()=>{U.current=E});const[F]=N.useState(new Set([])),K=N.useCallback($=>{F.add($)},[F]),Q=N.useRef(null),I=N.useCallback($=>{const G=q.current,Y=q.current=$(G);let J=!1;for(const ue of F)if(G[ue]!==Y[ue]){J=!0;break}J&&ie(EC(Y,K))},[K,F]),L=N.useCallback(()=>{var $;if(($=Q.current)===null||$===void 0||$.unsubscribe(),!k){I(()=>(0,ge.default)((0,ge.default)({},b),{},{reset:L}));return}I(()=>(0,ge.default)((0,ge.default)({},A),{},{reset:L}));const G=B.subscription(T.join("."),C??void 0,{onStarted:()=>{var Y,J;(Y=(J=U.current).onStarted)===null||Y===void 0||Y.call(J),I(ue=>(0,ge.default)((0,ge.default)({},ue),{},{status:"pending",error:null}))},onData:Y=>{var J,ue;(J=(ue=U.current).onData)===null||J===void 0||J.call(ue,Y),I(he=>(0,ge.default)((0,ge.default)({},he),{},{status:"pending",data:Y,error:null}))},onError:Y=>{var J,ue;(J=(ue=U.current).onError)===null||J===void 0||J.call(ue,Y),I(he=>(0,ge.default)((0,ge.default)({},he),{},{status:"error",error:Y}))},onConnectionStateChange:Y=>{I(J=>{switch(Y.state){case"idle":return(0,ge.default)((0,ge.default)({},J),{},{status:Y.state,error:null,data:void 0});case"connecting":return(0,ge.default)((0,ge.default)({},J),{},{error:Y.error,status:Y.state});case"pending":return J}})},onComplete:()=>{var Y,J;(Y=(J=U.current).onComplete)===null||Y===void 0||Y.call(J),I(ue=>(0,ge.default)((0,ge.default)({},ue),{},{status:"idle",error:null,data:void 0}))}});Q.current=G},[B,z,k,I]);N.useEffect(()=>(L(),()=>{var $;($=Q.current)===null||$===void 0||$.unsubscribe()}),[L]);const q=N.useRef(k?(0,ge.default)((0,ge.default)({},A),{},{reset:L}):(0,ge.default)((0,ge.default)({},b),{},{reset:L})),[Z,ie]=N.useState(EC(q.current,K));return Z}function x(T,C,E){var P,k,z,B,U;const{client:F,ssrState:K,prefetchInfiniteQuery:Q,queryClient:I,abortOnUnmount:L}=c(),q=ua(T,C,"infinite"),Z=I.getQueryDefaults(q),ie=C===mr;typeof window>"u"&&K==="prepass"&&(E==null||(P=E.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((k=E?.enabled)!==null&&k!==void 0?k:Z?.enabled)!==!1&&!ie&&!I.getQueryCache().find({queryKey:q})&&Q(q,(0,ge.default)((0,ge.default)({},Z),E));const $=f(q,(0,ge.default)((0,ge.default)({},Z),E)),G=(z=E==null||(B=E.trpc)===null||B===void 0?void 0:B.abortOnUnmount)!==null&&z!==void 0?z:L,Y=y7((0,ge.default)((0,ge.default)({},$),{},{initialPageParam:(U=E.initialCursor)!==null&&U!==void 0?U:null,persister:E.persister,queryKey:q,queryFn:ie?C:J=>{var ue;const he=(0,ge.default)((0,ge.default)({},$),{},{trpc:(0,ge.default)((0,ge.default)({},$?.trpc),G?{signal:J.signal}:{signal:null})});return F.query(...Bn(q,he,{pageParam:(ue=J.pageParam)!==null&&ue!==void 0?ue:E.initialCursor,direction:J.direction}))}}),I);return Y.trpc=au({path:T}),Y}function O(T,C,E){var P,k,z;const B=c(),U=ua(T,C,"infinite"),F=B.queryClient.getQueryDefaults(U),K=C===mr,Q=f(U,(0,ge.default)((0,ge.default)({},F),E)),I=(P=E==null||(k=E.trpc)===null||k===void 0?void 0:k.abortOnUnmount)!==null&&P!==void 0?P:B.abortOnUnmount;m7((0,ge.default)((0,ge.default)({},E),{},{initialPageParam:(z=E.initialCursor)!==null&&z!==void 0?z:null,queryKey:U,queryFn:K?C:L=>{var q;const Z=(0,ge.default)((0,ge.default)({},Q),{},{trpc:(0,ge.default)((0,ge.default)({},Q?.trpc),I?{signal:L.signal}:{})});return B.client.query(...Bn(U,Z,{pageParam:(q=L.pageParam)!==null&&q!==void 0?q:E.initialCursor,direction:L.direction}))}}))}function R(T,C,E){var P,k,z;const B=c(),U=ua(T,C,"infinite"),F=B.queryClient.getQueryDefaults(U),K=f(U,(0,ge.default)((0,ge.default)({},F),E)),Q=(P=E==null||(k=E.trpc)===null||k===void 0?void 0:k.abortOnUnmount)!==null&&P!==void 0?P:B.abortOnUnmount,I=d7((0,ge.default)((0,ge.default)({},E),{},{initialPageParam:(z=E.initialCursor)!==null&&z!==void 0?z:null,queryKey:U,queryFn:L=>{var q;const Z=(0,ge.default)((0,ge.default)({},K),{},{trpc:(0,ge.default)((0,ge.default)({},K?.trpc),Q?{signal:L.signal}:{})});return B.client.query(...Bn(U,Z,{pageParam:(q=L.pageParam)!==null&&q!==void 0?q:E.initialCursor,direction:L.direction}))}}),B.queryClient);return I.trpc=au({path:T}),[I.data,I]}return{Provider:l,createClient:s,useContext:c,useUtils:c,useQuery:d,usePrefetchQuery:m,useSuspenseQuery:p,useQueries:(T,C)=>{const{ssrState:E,queryClient:P,prefetchQuery:k,client:z}=c(),B=jC(z),U=T(B);if(typeof window>"u"&&E==="prepass")for(const K of U){var F;const Q=K;((F=Q.trpc)===null||F===void 0?void 0:F.ssr)!==!1&&!P.getQueryCache().find({queryKey:Q.queryKey})&&k(Q.queryKey,Q)}return Pk({queries:U.map(K=>(0,ge.default)((0,ge.default)({},K),{},{queryKey:K.queryKey})),combine:C?.combine},P)}
vendor: 4,226 bytes, lines 17-25
17,useSuspenseQueries:T=>{const{queryClient:C,client:E}=c(),P=jC(E),k=T(P),z=p7({queries:k.map(B=>(0,ge.default)((0,ge.default)({},B),{},{queryFn:B.queryFn,queryKey:B.queryKey}))},C);return[z.map(B=>B.data),z]},useMutation:y,useSubscription:S,useInfiniteQuery:x,usePrefetchInfiniteQuery:O,useSuspenseInfiniteQuery:R}}function L9(e){const t=C9(e);return pA(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return N.useMemo(()=>N9(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function q9(e){const t=B9();return L9(t)}const Jk=q9(),z9="Please login (10001)";var yv={exports:{}},iu={},vv={exports:{}},bv={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and 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 */var CC;function H9(){return CC||(CC=1,(function(e){function t(I,L){var q=I.length;I.push(L);e:for(;0<q;){var Z=q-1>>>1,ie=I[Z];if(0<a(ie,L))I[Z]=L,I[q]=ie,q=Z;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var L=I[0],q=I.pop();if(q!==L){I[0]=q;e:for(var Z=0,ie=I.length,$=ie>>>1;Z<$;){var G=2*(Z+1)-1,Y=I[G],J=G+1,ue=I[J];if(0>a(Y,q))J<ie&&0>a(ue,Y)?(I[Z]=ue,I[J]=q,Z=J):(I[Z]=Y,I[G]=q,Z=G);else if(J<ie&&0>a(ue,q))I[Z]=ue,I[J]=q,Z=J;else break e}}return L}function a(I,L){var q=I.sortIndex-L.sortIndex;return q!==0?q:I.id-L.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],d=[],m=1,p=null,y=3,b=!1,A=!1,S=!1,x=!1,O=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function M(I){for(var L=n(d);L!==null;){if(L.callback===null)r(d);else if(L.startTime<=I)r(d),L.sortIndex=L.expirationTime,t(f,L);else break;L=n(d)}}function T(I){if(S=!1,M(I),!A)if(n(f)!==null)A=!0,C||(C=!0,U());else{var L=n(d);L!==null&&Q(T,L.startTime-I)}}var C=!1,E=-1,P=5,k=-1;function z(){return x?!0:!(e.unstable_now()-k<P)}function B(){if(x=!1,C){var I=e.unstable_now();k=I;var L=!0;try{e:{A=!1,S&&(S=!1,R(E),E=-1),b=!0;var q=y;try{t:{for(M(I),p=n(f);p!==null&&!(p.expirationTime>I&&z());){var Z=p.callback;if(typeof Z=="function"){p.callback=null,y=p.priorityLevel;var ie=Z(p.expirationTime<=I);if(I=e.unstable_now(),typeof ie=="function"){p.callback=ie,M(I),L=!0;break t}p===n(f)&&r(f),M(I)}else r(f);p=n(f)}if(p!==null)L=!0;else{var $=n(d);$!==null&&Q(T,$.startTime-I),L=!1}}break e}finally{p=null,y=q,b=!1}L=void 0}}finally{L?U():C=!1}}}var U;if(typeof j=="function")U=function(){j(B)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,K=F.port2;F.port1.onmessage=B,U=function(){K.postMessage(null)}}else U=function(){O(B,0)};function Q(I,L){E=O(function(){I(e.unstable_now())},L)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(I){switch(y){case 1:case 2:case 3:var L=3;break;default:L=y}var q=y;y=L;try{return I()}finally{y=q}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(I,L){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var q=y;y=I;try{return L()}finally{y=q}},e.unstable_scheduleCallback=function(I,L,q){var Z=e.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?Z+q:Z):q=Z,I){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=q+ie,I={id:m++,callback:L,priorityLevel:I,startTime:q,expirationTime:ie,sortIndex:-1},q>Z?(I.sortIndex=q,t(d,I),n(f)===null&&I===n(d)&&(S?(R(E),E=-1):S=!0,Q(T,q-Z))):(I.sortIndex=ie,t(f,I),A||b||(A=!0,C||(C=!0,U())
vendor: 5,157 bytes, lines 25-41
25)),I},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(I){var L=y;return function(){var q=y;y=L;try{return I.apply(this,arguments)}finally{y=q}}}})(bv)),bv}var RC;function U9(){return RC||(RC=1,vv.exports=H9()),vv.exports}var xv={exports:{}},_n={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and 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 _C;function V9(){if(_C)return _n;_C=1;var e=tm();function t(f){var d="https://react.dev/errors/"+f;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)d+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function s(f,d,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:f,containerInfo:d,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,d){if(f==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return _n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,_n.createPortal=function(f,d){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return s(f,d,null,m)},_n.flushSync=function(f){var d=l.T,m=r.p;try{if(l.T=null,r.p=2,f)return f()}finally{l.T=d,r.p=m,r.d.f()}},_n.preconnect=function(f,d){typeof f=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,r.d.C(f,d))},_n.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},_n.preinit=function(f,d){if(typeof f=="string"&&d&&typeof d.as=="string"){var m=d.as,p=c(m,d.crossOrigin),y=typeof d.integrity=="string"?d.integrity:void 0,b=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;m==="style"?r.d.S(f,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:b}):m==="script"&&r.d.X(f,{crossOrigin:p,integrity:y,fetchPriority:b,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},_n.preinitModule=function(f,d){if(typeof f=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var m=c(d.as,d.crossOrigin);r.d.M(f,{crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&r.d.M(f)},_n.preload=function(f,d){if(typeof f=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var m=d.as,p=c(m,d.crossOrigin);r.d.L(f,m,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},_n.preloadModule=function(f,d){if(typeof f=="string")if(d){var m=c(d.as,d.crossOrigin);r.d.m(f,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else r.d.m(f)},_n.requestFormReset=function(f){r.d.r(f)},_n.unstable_batchedUpdates=function(f,d){return f(d)},_n.useFormState=function(f,d,m){return l.H.useFormState(f,d,m)},_n.useFormStatus=function(){return l.H.useHostTransitionStatus()},_n.version="19.2.1",_n}var MC;function e4(){if(MC)return xv.exports;MC=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),xv.exports=V9(),xv.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var PC;function F9(){if(PC)return iu;PC=1;var e=U9(),t=tm(),n=e4();function r(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var o=i,u=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(u=o.return),i=o.return;while(i)}return o.tag===3?u:null}function l(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}
vendor: 14,289 bytes, lines 41-48
41function c(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function f(i){if(s(i)!==i)throw Error(r(188))}function d(i){var o=i.alternate;if(!o){if(o=s(i),o===null)throw Error(r(188));return o!==i?null:i}for(var u=i,h=o;;){var v=u.return;if(v===null)break;var w=v.alternate;if(w===null){if(h=v.return,h!==null){u=h;continue}break}if(v.child===w.child){for(w=v.child;w;){if(w===u)return f(v),i;if(w===h)return f(v),o;w=w.sibling}throw Error(r(188))}if(u.return!==h.return)u=v,h=w;else{for(var _=!1,D=v.child;D;){if(D===u){_=!0,u=v,h=w;break}if(D===h){_=!0,h=v,u=w;break}D=D.sibling}if(!_){for(D=w.child;D;){if(D===u){_=!0,u=w,h=v;break}if(D===h){_=!0,h=w,u=v;break}D=D.sibling}if(!_)throw Error(r(189))}}if(u.alternate!==h)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?i:o}function m(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=m(i),o!==null)return o;i=i.sibling}return null}var p=Object.assign,y=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),j=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function U(i){return i===null||typeof i!="object"?null:(i=B&&i[B]||i["@@iterator"],typeof i=="function"?i:null)}var F=Symbol.for("react.client.reference");function K(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===F?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case S:return"Fragment";case O:return"Profiler";case x:return"StrictMode";case T:return"Suspense";case C:return"SuspenseList";case k:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case A:return"Portal";case j:return i.displayName||"Context";case R:return(i._context.displayName||"Context")+".Consumer";case M:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case E:return o=i.displayName||null,o!==null?o:K(i.type)||"Memo";case P:o=i._payload,i=i._init;try{return K(i(o))}catch{}}return null}var Q=Array.isArray,I=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},Z=[],ie=-1;function $(i){return{current:i}}function G(i){0>ie||(i.current=Z[ie],Z[ie]=null,ie--)}function Y(i,o){ie++,Z[ie]=i.current,i.current=o}var J=$(null),ue=$(null),he=$(null),me=$(null);function be(i,o){switch(Y(he,o),Y(ue,i),Y(J,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?_E(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=_E(o),i=ME(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}G(J),Y(J,i)}function de(){G(J),G(ue),G(he)}function ye(i){i.memoizedState!==null&&Y(me,i);var o=J.current,u=ME(o,i.type);o!==u&&(Y(ue,i),Y(J,u))}function Ae(i){ue.current===i&&(G(J),G(ue)),me.current===i&&(G(me),Jc._currentValue=q)}var le,Le;function Te(i){if(le===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);le=o&&o[1]||"",Le=-1<u.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+le+i+Le}var nt=!1;function Ze(i,o){if(!i||nt)return"";nt=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(o){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(ae){var ne=ae}Reflect.construct(i,[],fe)}else{try{fe.call()}catch(ae){ne=ae}i.call(fe.prototype)}}else{try{throw Error()}catch(ae){ne=ae}(fe=i())&&typeof fe.catch=="function"&&fe.catch(function(){})}}catch(ae){if(ae&&ne&&typeof ae.stack=="string")return[ae.stack,ne.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=h.DetermineComponentFrameRoot(),_=w[0],D=w[1];if(_&&D){var V=_.split(`
44`),te=D.split(`
45`);for(v=h=0;h<V.length&&!V[h].includes("DetermineComponentFrameRoot");)h++;for(;v<te.length&&!te[v].includes("DetermineComponentFrameRoot");)v++;if(h===V.length||v===te.length)for(h=V.length-1,v=te.length-1;1<=h&&0<=v&&V[h]!==te[v];)v--;for(;1<=h&&0<=v;h--,v--)if(V[h]!==te[v]){if(h!==1||v!==1)do if(h--,v--,0>v||V[h]!==te[v]){var se=`
46`+V[h].replace(" at new "," at ");return i.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",i.displayName)),se}while(1<=h&&0<=v);break}}}finally{nt=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Te(u):""}function ut(i,o){switch(i.tag){case 26:case 27:case 5:return Te(i.type);case 16:return Te("Lazy");case 13:return i.child!==o&&o!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Ze(i.type,!1);case 11:return Ze(i.type.render,!1);case 1:return Ze(i.type,!0);case 31:return Te("Activity");default:return""}}function jn(i){try{var o="",u=null;do o+=ut(i,u),u=i,i=i.return;while(i);return o}catch(h){return`
47Error generating stack: `+h.message+`
48`+h.stack}}var Ct=Object.prototype.hasOwnProperty,En=e.unstable_scheduleCallback,xt=e.unstable_cancelCallback,Ge=e.unstable_shouldYield,mn=e.unstable_requestPaint,Ot=e.unstable_now,Ta=e.unstable_getCurrentPriorityLevel,gt=e.unstable_ImmediatePriority,Qt=e.unstable_UserBlockingPriority,vr=e.unstable_NormalPriority,gn=e.unstable_LowPriority,In=e.unstable_IdlePriority,mo=e.log,zr=e.unstable_setDisableYieldValue,Hn=null,rn=null;function an(i){if(typeof mo=="function"&&zr(i),rn&&typeof rn.setStrictMode=="function")try{rn.setStrictMode(Hn,i)}catch{}}var Pt=Math.clz32?Math.clz32:Rt,Hr=Math.log,Nt=Math.LN2;function Rt(i){return i>>>=0,i===0?32:31-(Hr(i)/Nt|0)|0}var Cn=256,ja=262144,rr=4194304;function sn(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Re(i,o,u){var h=i.pendingLanes;if(h===0)return 0;var v=0,w=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var D=h&134217727;return D!==0?(h=D&~w,h!==0?v=sn(h):(_&=D,_!==0?v=sn(_):u||(u=D&~i,u!==0&&(v=sn(u))))):(D=h&~w,D!==0?v=sn(D):_!==0?v=sn(_):u||(u=h&~i,u!==0&&(v=sn(u)))),v===0?0:o!==0&&o!==v&&(o&w)===0&&(w=v&-v,u=o&-o,w>=u||w===32&&(u&4194048)!==0)?o:v}function Me(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function on(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rn(){var i=rr;return rr<<=1,(rr&62914560)===0&&(rr=4194304),i}function di(i){for(var o=[],u=0;31>u;u++)o.push(i);return o}function _t(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Un(i,o,u,h,v,w){var _=i.pendingLanes;i.pendingLanes=u,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=u,i.entangledLanes&=u,i.errorRecoveryDisabledLanes&=u,i.shellSuspendCounter=0;var D=i.entanglements,V=i.expirationTimes,te=i.hiddenUpdates;for(u=_&~u;0<u;){var se=31-Pt(u),fe=1<<se;D[se]=0,V[se]=-1;var ne=te[se];if(ne!==null)for(te[se]=null,se=0;se<ne.length;se++){var ae=ne[se];ae!==null&&(ae.lane&=-536870913)}u&=~fe}h!==0&&us(i,h,0),w!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=w&~(_&~o))}function us(i,o,u){i.pendingLanes|=o,i.suspendedLanes&=~o;var h=31-Pt(o);i.entangledLanes|=o,i.entanglements[h]=i.entanglements[h]|1073741824|u&261930}function Vn(i,o){var u=i.entangledLanes|=o;for(i=i.entanglements;u;){var h=31-Pt(u),v=1<<h;v&o|i[h]&o&&(i[h]|=o),u&=~v}}function Fn(i,o){var u=o&-o;return u=(u&42)!==0?1:go(u),(u&(i.suspendedLanes|o))!==0?0:u}function go(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function Ur(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function tg(){var i=L.p;return i!==0?i:(i=window.event,i===void 0?32:eC(i.type))}function gO(i,o){var u=L.p;try{return L.p=i,o()}finally{L.p=u}}var pi=Math.random().toString(36).slice(2),yn="__reactFiber$"+pi,Gn="__reactProps$"+pi,yo="__reactContainer$"+pi,ng="__reactEvents$"+pi,yL="__reactListeners$"+pi,vL="__reactHandles$"+pi,yO="__reactResources$"+pi,hc="__reactMarker$"+pi;function rg(i){delete i[yn],delete i[Gn],delete i[ng],delete i[yL],delete i[vL]}function vo(i){var o=i[yn];if(o)return o;for(var u=i.parentNode;u;){if(o=u[yo]||u[yn]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(i=BE(i);i!==null;){if(u=i[yn])return u;i=BE(i)}return o}i=u,u=i.parentNode}return null}function bo(i){if(i=i[yn]||i[yo]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function mc(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(r(33))}function xo(i){var o=i[yO];return o||(o=i[yO]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function ln(i){i[hc]=!0}var vO=new Set,bO={};function fs(i,o){wo(i,o),wo(i+"Capture",o)}function wo(i,o){for(bO[i]=o,i=0;i<o.length;i++)vO.add(o[i])}var bL=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),xO={},wO={};function xL(i){return Ct.call(wO,i)?!0:Ct.call(xO,i)?!1:bL.test(i)?wO[i]=!0:(xO[i]=!0,!1)}function nd(i,o,u){if(xL(o))if(u===null)i.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var h=o.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+u)}}function rd(i,o,u){if(u===null)i.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+u)}}function Ea(i,o,u,h){if(h===null)i.removeAttribute(u);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttributeNS(o,u,""+h)}}function br(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function SO(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function wL(i,o,u){var h=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var v=h.get,w=h.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return v.call(this)},set:function(_){u=""+_,w.call(this,_)}}),Object.defineProperty(i,o,{enumerable:h.enumerable}),{getValue:function(){return u},setValue:function(_){u=""+_},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function ag(i){if(!i._valueTracker){var o=SO(i)?"checked":"value";i._valueTracker=wL(i,o,""+i[o])}}function AO(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var u=o.getValue(),h="";return i&&(h=SO(i)?i.checked?"true":"false":i.value),i=h,i!==u?(o.setValue(i),!0):!1}function ad(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var SL=/[\n"\\]/g;function xr(i){return i.replace(SL,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function ig(i,o,u,h,v,w,_,D){i.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?i.type=_:i.removeAttribute("type"),o!=null?_==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+br(o)):i.value!==""+br(o)&&(i.value=""+br(o)):_!=="submit"&&_!=="reset"||i.removeAttribute("value"),o!=null?sg(i,_,br(o)):u!=null?sg(i,_,br(u)):h!=null&&i.removeAttribute("value"),v==null&&w!=null&&(i.defaultChecked=!!w),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?i.name=""+br(D):i.removeAttribute("name")}function OO(i,o,u,h,v,w,_,D){if(w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(i.type=w),o!=null||u!=null){if(!(w!=="submit"&&w!=="reset"||o!=null)){ag(i);return}u=u!=null?""+br(u):"",o=o!=null?""+br(o):u,D||o===i.value||(i.value=o),i.defaultValue=o}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=D?i.checked:!!h,i.defaultChecked=!!h,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(i.name=_),ag(i)}function sg(i,o,u){o==="number"&&ad(i.ownerDocument)===i||i.defaultValue===""+u||(i.defaultValue=""+u)}function So(i,o,u,h){if(i=i.options,o){o={};for(var v=0;v<u.length;v++)o["$"+u[v]]=!0;for(u=0;
vendor: 4,872 bytes, line 48
48u<i.length;u++)v=o.hasOwnProperty("$"+i[u].value),i[u].selected!==v&&(i[u].selected=v),v&&h&&(i[u].defaultSelected=!0)}else{for(u=""+br(u),o=null,v=0;v<i.length;v++){if(i[v].value===u){i[v].selected=!0,h&&(i[v].defaultSelected=!0);return}o!==null||i[v].disabled||(o=i[v])}o!==null&&(o.selected=!0)}}function TO(i,o,u){if(o!=null&&(o=""+br(o),o!==i.value&&(i.value=o),u==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=u!=null?""+br(u):""}function jO(i,o,u,h){if(o==null){if(h!=null){if(u!=null)throw Error(r(92));if(Q(h)){if(1<h.length)throw Error(r(93));h=h[0]}u=h}u==null&&(u=""),o=u}u=br(o),i.defaultValue=u,h=i.textContent,h===u&&h!==""&&h!==null&&(i.value=h),ag(i)}function Ao(i,o){if(o){var u=i.firstChild;if(u&&u===i.lastChild&&u.nodeType===3){u.nodeValue=o;return}}i.textContent=o}var AL=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function EO(i,o,u){var h=o.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?h?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":h?i.setProperty(o,u):typeof u!="number"||u===0||AL.has(o)?o==="float"?i.cssFloat=u:i[o]=(""+u).trim():i[o]=u+"px"}function CO(i,o,u){if(o!=null&&typeof o!="object")throw Error(r(62));if(i=i.style,u!=null){for(var h in u)!u.hasOwnProperty(h)||o!=null&&o.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var v in o)h=o[v],o.hasOwnProperty(v)&&u[v]!==h&&EO(i,v,h)}else for(var w in o)o.hasOwnProperty(w)&&EO(i,w,o[w])}function og(i){if(i.indexOf("-")===-1)return!1;switch(i){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 OL=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
48-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),TL=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function id(i){return TL.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function Ca(){}var lg=null;function cg(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Oo=null,To=null;function RO(i){var o=bo(i);if(o&&(i=o.stateNode)){var u=i[Gn]||null;e:switch(i=o.stateNode,o.type){case"input":if(ig(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),o=u.name,u.type==="radio"&&o!=null){for(u=i;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+xr(""+o)+'"][type="radio"]'),o=0;o<u.length;o++){var h=u[o];if(h!==i&&h.form===i.form){var v=h[Gn]||null;if(!v)throw Error(r(90));ig(h,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(o=0;o<u.length;o++)h=u[o],h.form===i.form&&AO(h)}break e;case"textarea":TO(i,u.value,u.defaultValue);break e;case"select":o=u.value,o!=null&&So(i,!!u.multiple,o,!1)}}}var ug=!1;function _O(i,o,u){if(ug)return i(o,u);ug=!0;try{var h=i(o);return h}finally{if(ug=!1,(Oo!==null||To!==null)&&(Gd(),Oo&&(o=Oo,i=To,To=Oo=null,RO(o),i)))for(o=0;o<i.length;o++)RO(i[o])}}function gc(i,o){var u=i.stateNode;if(u===null)return null;var h=u[Gn]||null;if(h===null)return null;u=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(u&&typeof u!="function")throw Error(r(231,o,typeof u));return u}var Ra=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fg=!1;if(Ra)try{var yc={};Object.defineProperty(yc,"passive",{get:function(){fg=!0}}),window.addEventListener("test",yc,yc),window.removeEventListener("test",yc,yc)}catch{fg=!1}var hi=null,dg=null,sd=null;function MO(){if(sd)return sd;var i,o=dg,u=o.length,h,v="value"in hi?hi.value:hi.textContent,w=v.length;for(i=0;i<u&&o[i]===v[i];i++);var _=u-i;for(h=1;h<=_&&o[u-h]===v[w-h];h++);return sd=v.slice(i,1<h?1-h:void 0)}function od(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function ld(){return!0}function PO(){return!1}function Kn(i){function o(u,h,v,w,_){this._reactName=u,this._targetInst=v,this.type=h,this.nativeEvent=w,this.target=_,this.currentTarget=null;for(var D in i)i.hasOwnProperty(D)&&(u=i[D],this[D]=u?u(w):w[D]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?ld:PO,this.isPropagationStopped=PO,this}return p(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=ld)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=ld)},persist:function(){},isPersistent:ld}),o}var ds={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cd=Kn(ds),vc=p({},ds,{view:0,detail:0}),jL=Kn(vc),pg,hg,bc,ud=p({},vc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gg,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==bc&&(bc&&i.type==="mousemove"?(pg=i.screenX-bc.screenX,hg=i.screenY-bc.screenY):hg=pg=0,bc=i),pg)},movementY:function(i){return"movementY"in i?i.movementY:hg}}),NO=Kn(ud),EL=p({},ud,{dataTransfer:0}),CL=Kn(EL),RL=p({},vc,{relatedTarget:0}),mg=Kn(RL),_L=p({},ds,{animationName:0,elapsedTime:0,pseudoElement:0}),ML=Kn(_L),PL=p({},ds,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),NL=Kn(PL),DL=p({},ds,{data:0}),DO=Kn(DL),kL={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IL={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"},$L={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function BL(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=$L[i])?!!o[i]:!1}function gg(){return BL}var LL=p({},vc,{key:function(i){if(i.key){var o=kL[i.key]||i.key;if(o!=="Unidentified")return o}
vendor: 5,186 bytes, line 48
48return i.type==="keypress"?(i=od(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?IL[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gg,charCode:function(i){return i.type==="keypress"?od(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?od(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),qL=Kn(LL),zL=p({},ud,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kO=Kn(zL),HL=p({},vc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gg}),UL=Kn(HL),VL=p({},ds,{propertyName:0,elapsedTime:0,pseudoElement:0}),FL=Kn(VL),GL=p({},ud,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),KL=Kn(GL),YL=p({},ds,{newState:0,oldState:0}),WL=Kn(YL),QL=[9,13,27,32],yg=Ra&&"CompositionEvent"in window,xc=null;Ra&&"documentMode"in document&&(xc=document.documentMode);var XL=Ra&&"TextEvent"in window&&!xc,IO=Ra&&(!yg||xc&&8<xc&&11>=xc),$O=" ",BO=!1;function LO(i,o){switch(i){case"keyup":return QL.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qO(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var jo=!1;function ZL(i,o){switch(i){case"compositionend":return qO(o);case"keypress":return o.which!==32?null:(BO=!0,$O);case"textInput":return i=o.data,i===$O&&BO?null:i;default:return null}}function JL(i,o){if(jo)return i==="compositionend"||!yg&&LO(i,o)?(i=MO(),sd=dg=hi=null,jo=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return IO&&o.locale!=="ko"?null:o.data;default:return null}}var eq={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 zO(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!eq[i.type]:o==="textarea"}function HO(i,o,u,h){Oo?To?To.push(h):To=[h]:Oo=h,o=Jd(o,"onChange"),0<o.length&&(u=new cd("onChange","change",null,u,h),i.push({event:u,listeners:o}))}var wc=null,Sc=null;function tq(i){OE(i,0)}function fd(i){var o=mc(i);if(AO(o))return i}function UO(i,o){if(i==="change")return o}var VO=!1;if(Ra){var vg;if(Ra){var bg="oninput"in document;if(!bg){var FO=document.createElement("div");FO.setAttribute("oninput","return;"),bg=typeof FO.oninput=="function"}vg=bg}else vg=!1;VO=vg&&(!document.documentMode||9<document.documentMode)}function GO(){wc&&(wc.detachEvent("onpropertychange",KO),Sc=wc=null)}function KO(i){if(i.propertyName==="value"&&fd(Sc)){var o=[];HO(o,Sc,i,cg(i)),_O(tq,o)}}function nq(i,o,u){i==="focusin"?(GO(),wc=o,Sc=u,wc.attachEvent("onpropertychange",KO)):i==="focusout"&&GO()}function rq(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return fd(Sc)}function aq(i,o){if(i==="click")return fd(o)}function iq(i,o){if(i==="input"||i==="change")return fd(o)}function sq(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var ar=typeof Object.is=="function"?Object.is:sq;function Ac(i,o){if(ar(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var u=Object.keys(i),h=Object.keys(o);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var v=u[h];if(!Ct.call(o,v)||!ar(i[v],o[v]))return!1}return!0}function YO(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function WO(i,o){var u=YO(i);i=0;for(var h;u;){if(u.nodeType===3){if(h=i+u.textContent.length,i<=o&&h>=o)return{node:u,offset:o-i};i=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=YO(u)}}function QO(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?QO(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function XO(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=ad(i.document);o instanceof i.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)i=o.contentWindow;else break;o=ad(i.document)}return o}function xg(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var oq=Ra&&"documentMode"in document&&11>=document.documentMode,Eo=null,wg=null,Oc=null,Sg=!1;function ZO(i,o,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Sg||Eo==null||Eo!==ad(h)||(h=Eo,"selectionStart"in h&&xg(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focu
vendor: 20,188 bytes, line 48
48sNode:h.focusNode,focusOffset:h.focusOffset}),Oc&&Ac(Oc,h)||(Oc=h,h=Jd(wg,"onSelect"),0<h.length&&(o=new cd("onSelect","select",null,o,u),i.push({event:o,listeners:h}),o.target=Eo)))}function ps(i,o){var u={};return u[i.toLowerCase()]=o.toLowerCase(),u["Webkit"+i]="webkit"+o,u["Moz"+i]="moz"+o,u}var Co={animationend:ps("Animation","AnimationEnd"),animationiteration:ps("Animation","AnimationIteration"),animationstart:ps("Animation","AnimationStart"),transitionrun:ps("Transition","TransitionRun"),transitionstart:ps("Transition","TransitionStart"),transitioncancel:ps("Transition","TransitionCancel"),transitionend:ps("Transition","TransitionEnd")},Ag={},JO={};Ra&&(JO=document.createElement("div").style,"AnimationEvent"in window||(delete Co.animationend.animation,delete Co.animationiteration.animation,delete Co.animationstart.animation),"TransitionEvent"in window||delete Co.transitionend.transition);function hs(i){if(Ag[i])return Ag[i];if(!Co[i])return i;var o=Co[i],u;for(u in o)if(o.hasOwnProperty(u)&&u in JO)return Ag[i]=o[u];return i}var eT=hs("animationend"),tT=hs("animationiteration"),nT=hs("animationstart"),lq=hs("transitionrun"),cq=hs("transitionstart"),uq=hs("transitioncancel"),rT=hs("transitionend"),aT=new Map,Og="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Og.push("scrollEnd");function Vr(i,o){aT.set(i,o),fs(o,[i])}var dd=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},wr=[],Ro=0,Tg=0;function pd(){for(var i=Ro,o=Tg=Ro=0;o<i;){var u=wr[o];wr[o++]=null;var h=wr[o];wr[o++]=null;var v=wr[o];wr[o++]=null;var w=wr[o];if(wr[o++]=null,h!==null&&v!==null){var _=h.pending;_===null?v.next=v:(v.next=_.next,_.next=v),h.pending=v}w!==0&&iT(u,v,w)}}function hd(i,o,u,h){wr[Ro++]=i,wr[Ro++]=o,wr[Ro++]=u,wr[Ro++]=h,Tg|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function jg(i,o,u,h){return hd(i,o,u,h),md(i)}function ms(i,o){return hd(i,null,null,o),md(i)}function iT(i,o,u){i.lanes|=u;var h=i.alternate;h!==null&&(h.lanes|=u);for(var v=!1,w=i.return;w!==null;)w.childLanes|=u,h=w.alternate,h!==null&&(h.childLanes|=u),w.tag===22&&(i=w.stateNode,i===null||i._visibility&1||(v=!0)),i=w,w=w.return;return i.tag===3?(w=i.stateNode,v&&o!==null&&(v=31-Pt(u),i=w.hiddenUpdates,h=i[v],h===null?i[v]=[o]:h.push(o),o.lane=u|536870912),w):null}function md(i){if(50<Gc)throw Gc=0,ky=null,Error(r(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var _o={};function fq(i,o,u,h){this.tag=i,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ir(i,o,u,h){return new fq(i,o,u,h)}function Eg(i){return i=i.prototype,!(!i||!i.isReactComponent)}function _a(i,o){var u=i.alternate;return u===null?(u=ir(i.tag,o,i.key,i.mode),u.elementType=i.elementType,u.type=i.type,u.stateNode=i.stateNode,u.alternate=i,i.alternate=u):(u.pendingProps=o,u.type=i.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=i.flags&65011712,u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,o=i.dependencies,u.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},u.sibling=i.sibling,u.index=i.index,u.ref=i.ref,u.refCleanup=i.refCleanup,u}function sT(i,o){i.flags&=65011714;var u=i.alternate;return u===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,o=u.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function gd(i,o,u,h,v,w){var _=0;if(h=i,typeof i=="function")Eg(i)&&(_=1);else if(typeof i=="string")_=gz(i,u,J.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case k:return i=ir(31,u,o,v),i.elementType=k,i.lanes=w,i;case S:return gs(u.children,v,w,o);case x:_=8,v|=24;break;case O:return i=ir(12,u,o,v|2),i.elementType=O,i.lanes=w,i;case T:return i=ir(13,u,o,v),i.elementType=T,i.lanes=w,i;case C:return i=ir(19,u,o,v),i.elementType=C,i.lanes=w,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case j:_=10;break e;case R:_=9;break e;case M:_=11;break e;case E:_=14;break e;case P:_=16,h=null;break e}_=29,u=Error(r(130,i===null?"null":typeof i,"")),h=null}return o=ir(_,u,o,v),o.elementType=i,o.type=h,o.lanes=w,o}function gs(i,o,u,h){return i=ir(7,i,h,o),i.lanes=u,i}function Cg(i,o,u){return i=ir(6,i,null,o),i.lanes=u,i}function oT(i){var o=ir(18,null,null,0);return o.stateNode=i,o}function Rg(i,o,u){return o=ir(4,i.children!==null?i.children:[],i.key,o),o.lanes=u,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var lT=new WeakMap;function Sr(i,o){if(typeof i=="object"&&i!==null){var u=lT.get(i);return u!==void 0?u:(o={value:i,source:o,stack:jn(o)},lT.set(i,o),o)}return{value:i,source:o,stack:jn(o)}}var Mo=[],Po=0,yd=null,Tc=0,Ar=[],Or=0,mi=null,aa=1,ia="";function Ma(i,o){Mo[Po++]=Tc,Mo[Po++]=yd,yd=i,Tc=o}function cT(i,o,u){Ar[Or++]=aa,Ar[Or++]=ia,Ar[Or++]=mi,mi=i;var h=aa;i=ia;var v=32-Pt(h)-1;h&=~(1<<v),u+=1;var w=32-Pt(o)+v;if(30<w){var _=v-v%5;w=(h&(1<<_)-1).toString(32),h>>=_,v-=_,aa=1<<32-Pt(o)+v|u<<v|h,ia=w+i}else aa=1<<w|u<<v|h,ia=i}function _g(i){i.return!==null&&(Ma(i,1),cT(i,1,0))}function Mg(i){for(;i===yd;)yd=Mo[--Po],Mo[Po]=null,Tc=Mo[--Po],Mo[Po]=null;for(;i===mi;)mi=Ar[--Or],Ar[Or]=null,ia=Ar[--Or],Ar[Or]=null,aa=Ar[--Or],Ar[Or]=null}function uT(i,o){Ar[Or++]=aa,Ar[Or++]=ia,Ar[Or++]=mi,aa=o.id,ia=o.overflow,mi=i}var vn=null,wt=null,Ve=!1,gi=null,Tr=!1,Pg=Error(r(519));function yi(i){var o=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw jc(Sr(o,i)),Pg}function fT(i){var o=i.stateNode,u=i.type,h=i.memoizedProps;switch(o[yn]=i,o[Gn]=h,u){case"dialog":ze("cancel",o),ze("close",o);break;case"iframe":case"object":case"embed":ze("load",o);break;case"video":case"audio":for(u=0;u<Yc.length;u++)ze(Yc[u],o);break;case"source":ze("error",o);break;case"img":case"image":case"link":ze("error",o),ze("load",o);break;case"details":ze("toggle",o);break;case"input":ze("invalid",o),OO(o,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":ze("invalid",o);break;case"textarea":ze("invalid",o),jO(o,h.value,h.defaultValue,h.children)}u=h.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||o.textContent===""+u||h.suppressHydrationWarning===!0||CE(o.textContent,u)?(h.popover!=null&&(ze("beforetoggle",o),ze("toggle",o)),h.onScroll!=null&&ze("scroll",o),h.onScrollEnd!=null&&ze("scrollend",o),h.onClick!=null&&(o.onclick=Ca),o=!0):o=!1,o||yi(i,!0)}function dT(i){for(vn=i.return;vn;)switch(vn.tag){case 5:case 31:case 13:Tr=!1;return;case 27:case 3:Tr=!0;return;default:vn=vn.return}}function No(i){if(i!==vn)return!1;if(!Ve)return dT(i),Ve=!0,!1;var o=i.tag,u;if((u=o!==3&&o!==27)&&((u=o===5)&&(u=i.type,u=!(u!=="form"&&u!=="button")||Qy(i.type,i.memoizedProps)),u=!u),u&&wt&&yi(i),dT(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));wt=$E(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));wt=$E(i)}else o===27?(o=wt,Mi(i.type)?(i=tv,tv=null,wt=i):wt=o):wt=vn?Er(i.stateNode.nextSibling):null;return!0}function ys(){wt=vn=null,Ve=!1}function Ng(){var i=gi;return i!==null&&(Xn===null?Xn=i:Xn.push.apply(Xn,i),gi=null),i}function jc(i){gi===null?gi=[i]:gi.push(i)}var Dg=$(null),vs=null,Pa=null;function vi(i,o,u){Y(Dg,o._currentValue),o._currentValue=u}function Na(i){i._currentValue=Dg.current,G(Dg)}function kg(i,o,u){for(;i!==null;){var h=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),i===u)break;i=i.return}}function Ig(i,o,u,h){var v=i.child;for(v!==null&&(v.return=i);v!==null;){var w=v.dependencies;if(w!==null){var _=v.child;w=w.firstContext;e:for(;w!==null;){var D=w;w=v;for(var V=0;V<o.length;V++)if(D.context===o[V]){w.lanes|=u,D=w.alternate,D!==null&&(D.lanes|=u),kg(w.return,u,i),h||(_=null);break e}w=D.next}}else if(v.tag===18){if(_=v.return,_===null)throw Error(r(341));_.lanes|=u,w=_.alternate,w!==null&&(w.lanes|=u),kg(_,u,i),_=null}else _=v.child;if(_!==null)_.return=v;else for(_=v;_!==null;){if(_===i){_=null;break}if(v=_.sibling,v!==null){v.return=_.return,_=v;break}_=_.return}v=_}}function Do(i,o,u,h){i=null;for(var v=o,w=!1;v!==null;){if(!w){if((v.flags&524288)!==0)w=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var _=v.alternate;if(_===null)throw Error(r(387));if(_=_.memoizedProps,_!==null){var D=v.type;ar(v.pendingProps.value,_.value)||(i!==null?i.push(D):i=[D])}}else if(v===me.current){if(_=v.alternate,_===null)throw Error(r(387));_.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(i!==null?i.push(Jc):i=[Jc])}v=v.return}i!==null&&Ig(o,i,u,h),o.flags|=262144}function vd(i){for(i=i.firstContext;i!==null;){if(!ar(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function bs(i){vs=i,Pa=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function bn(i){return pT(vs,i)}function bd(i,o){return vs===null&&bs(i),pT(i,o)}function pT(i,o){var u=o._currentValue;if(o={context:o,memoizedValue:u,next:null},Pa===null){if(i===null)throw Error(r(308));Pa=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else Pa=Pa.next=o;return u}var dq=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(u,h){i.push(h)}};this.abort=function(){o.aborted=!0,i.forEach(function(u){return u()})}},pq=e.unstable_scheduleCallback,hq=e.unstable_NormalPriority,Ut={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $g(){return{controller:new dq,data:new Map,refCount:0}}function Ec(i){i.refCount--,i.refCount===0&&pq(hq,function(){i.controller.abort()})}var Cc=null,Bg=0,ko=0,Io=null;function mq(i,o){if(Cc===null){var u=Cc=[];Bg=0,ko=zy(),Io={status:"pending",value:void 0,then:function(h){u.push(h)}}}return Bg++,o.then(hT,hT),o}function hT(){if(--Bg===0&&Cc!==null){Io!==null&&(Io.status="fulfilled");var i=Cc;Cc=null,ko=0,Io=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function gq(i,o){var u=[],h={status:"pending",value:null,reason:null,then:function(v){u.push(v)}};return i.then(function(){h.status="fulfilled",h.value=o;for(var v=0;v<u.length;v++)(0,u[v])(o)},function(v){for(h.status="rejected",h.reason=v,v=0;v<u.length;v++)(0,u[v])(void 0)}),h}var mT=I.S;I.S=function(i,o){Zj=Ot(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&mq(i,o),mT!==null&&mT(i,o)};var xs=$(null);function Lg(){var i=xs.current;return i!==null?i:yt.pooledCache}function xd(i,o){o===null?Y(xs,xs.current):Y(xs,o.pool)}function gT(){var i=Lg();return i===null?null:{parent:Ut._currentValue,pool:i}}var $o=Error(r(460)),qg=Error(r(474)),wd=Error(r(542)),Sd={then:function(){}};function yT(i){return i=i.status,i==="fulfilled"||i==="rejected"}function vT(i,o,u){switch(u=i[u],u===void 0?i.push(o):u!==o&&(o.then(Ca,Ca),o=u),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,xT(i),i;default:if(typeof o.status=="string")o.then(Ca,Ca);else{if(i=yt,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=o,i.status="pending",i.then(function(h){if(o.status==="pending"){var v=o;v.status="fulfilled",v.value=h}},function(h){if(o.status==="pending"){var v=o;v.status="rejected",v.reason=h}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,xT(i),i}throw Ss=o,$o}}function ws(i){try{var o=i._init;return o(i._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Ss=u,$o):u}}var Ss=null;function bT(){if(Ss===null)throw Error(r(459));var i=Ss;return Ss=null,i}function xT(i){if(i===$o||i===wd)throw Error(r(483))}var Bo=null,Rc=0;function Ad(i){var o=Rc;return Rc+=1,Bo===null&&(Bo=[]),vT(Bo,i,o)}function _c(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function Od(i,o){throw o.$$typeof===y?Error(r(525)):(i=Object.prototype.toString.call(o),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function wT(i){function o(X,W){if(i){var ee=X.deletions;ee===null?(X.deletions=[W],X.flags|=16):ee.push(W)}}function u(X,W){if(!i)return null;for(;W!==null;)o(X,W),W=W.sibling;return null}function h(X){for(var W=new Map;X!==null;)X.key!==null?W.set(X.key,X):W.set(X.index,X),X=X.sibling;return W}function v(X,W){return X=_a(X,W),X.index=0,X.sibling=null,X}function w(X,W,ee){return X.index=ee,i?(ee=X.alternate,ee!==null?(ee=ee.index,ee<W?(X.flags|=67108866,W):ee):(X.flags|=67108866,W)):(X.flags|=1048576,W)}function _(X){return i&&X.alternate===null&&(X.flags|=67108866),X}function D(X,W,ee,ce){return W===null||W.tag!==6?(W=Cg(ee,X.mode,ce),W.return=X,W):(W=v(W,ee),W.return=X,W)}function V(X,W,ee,ce){var je=ee.type;return je===S?se(X,W,ee.props.children,ce,ee.key):W!==null&&(W.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===P&&ws(je)===W.type)?(W=v(W,ee.props),_c(W,ee),W.return=X,W):(W=gd(ee.type,ee.key,ee.props,null,X.mode,ce),_c(W,ee),W.return=X,W)}function te(X,W,ee,ce){return W===null||W.tag!==4||W.stateNode.containerInfo!==ee.containerInfo||W.stateNode.implementation!==ee.implementation?(W=Rg(ee,X.mode,ce),W.return=X,W):(W=v(W,ee.children||[]),W.return=X,W)}function se(X,W,ee,ce,je){return W===null||W.tag!==7?(W=gs(ee,X.mode,ce,je),W.return=X,W):(W=v(W,ee),W.return=X,W)}function fe(X,W,ee){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return W=Cg(""+W,X.mode,ee),W.return=X,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case b:return ee=gd(W.type,W.key,W.props,null,X.mode,ee),_c(ee,W),ee.return=X,ee;case A:return W=Rg(W,X.mode,ee),W.return=X,W;case P:return W=ws(W),fe(X,W,ee)}if(Q(W)||U(W))return W=gs(W,X.mode,ee,null),W.return=X,W;if(typeof W.then=="function")return fe(X,Ad(W),ee);if(W.$$typeof===j)return fe(X,bd(X,W),ee);Od(X,W)}return null}function ne(X,W,ee,ce){var je=W!==null?W.key:null;if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return je!==null?null:D(X,W,""+ee,ce);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case b:return ee.key===je?V(X,W,ee,ce):null;case A:return ee.key===je?te(X,W,ee,ce):null;case P:return ee=ws(ee),ne(X,W,ee,ce)}if(Q(ee)||U(ee))return je!==null?null:se(X,W,ee,ce,null);if(typeof ee.then=="function")return ne(X,W,Ad(ee),ce);if(ee.$$typeof===j)return ne(X,W,bd(X,ee),ce);Od(X,ee)}return null}function ae(X,W,ee,ce,je){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return X=X.get(ee)||null,D(W,X,""+ce,je);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case b:return X=X.get(ce.key===null?ee:ce.key)||null,V(W,X,ce,je);case A:return X=X.get(ce.key===null?ee:ce.key)||null,te(W,X,ce,je);case P:return ce=ws(ce),ae(X,W,ee,ce,je)}if(Q(ce)||U(ce))return X=X.get(ee)||null,se(W,X,ce,je,null);if(typeof ce.then=="function")return ae(X,W,ee,Ad(ce),je);if(ce.$$typeof===j)return ae(X,W,ee,bd(W,ce),je);Od(W,ce)}return null}function xe(X,W,ee,ce){for(var je=null,Ke=null,Oe=W,ke=W=0,Ue=null;Oe!==null&&ke<ee.length;ke++){Oe.index>ke?(Ue=Oe,Oe=null):Ue=Oe.sibling;var Ye=ne(X,Oe,ee[ke],ce);if(Ye===null){Oe===null&&(Oe=Ue);break}i&&Oe&&Ye.alternate===null&&o(X,Oe),W=w(Ye,W,ke),Ke===null?je=Ye:Ke.sibling=Ye,Ke=Ye,Oe=Ue}if(ke===ee.length)return u(X,Oe),Ve&&Ma(X,ke),je;if(Oe===null){for(;ke<ee.length;ke++)Oe=fe(X,ee[ke],ce),Oe!==null&&(W=w(Oe,W,ke),Ke===null?je=Oe:Ke.sibling=Oe,Ke=Oe);return Ve&&Ma(X,ke),je}for(Oe=h(Oe);ke<ee.length;ke++)Ue=ae(Oe,X,ke,ee[ke],ce),Ue!==null&&(i&&Ue.alternate!==null&&Oe.delete(Ue.key===null?ke:Ue.key),W=w(Ue,W,ke),Ke===null?je=Ue:Ke.sibling=Ue,Ke=Ue);return i&&Oe.forEach(function(Ii){return o(X,Ii)}),Ve&&Ma(X,ke),je}function Ee(X,W,ee,ce){if(ee==null)throw Error(r(151));for(var je=null,Ke=null,Oe=W,ke=W=0,Ue=null,Ye=ee.next();Oe!==null&&!Ye.done;ke++,Ye=ee.next()){Oe.index>ke?(Ue=Oe,Oe=null):Ue=Oe.sibling;var Ii=ne(X,Oe,Ye.value,ce);if(Ii===null){Oe===null&&(Oe=Ue);break}i&&Oe&&Ii.alternate===null&&o(X,Oe),W=w(Ii,W,ke),Ke===null?je=Ii:Ke.sibling=Ii,Ke=Ii,Oe=Ue}if(Ye.done)return u(X,Oe),Ve&&Ma(X,ke),je;if(Oe===null){for(;!Ye.done;ke++,Ye=ee.next())Ye=fe(X,Ye.value,ce),Ye!==null&&(W=w(Ye,W,ke),Ke===null?je=Ye:Ke.sibling=Ye,Ke=Ye);return Ve&&Ma(X,ke),je}for(Oe=h(Oe);!Ye.done;ke++,Ye=ee.next())Ye=ae(Oe,X,ke,Ye.value,ce),Ye!==null&&(i&&Ye.alternate!==null&&Oe.delete(Ye.key===null?ke:Ye.key),W=w(Ye,W,ke),Ke===null?je=Ye:Ke.sibling=Ye,Ke=Ye);return i&&Oe.forEach(function(Ez){return o(X,Ez)}),Ve&&Ma(X,ke),je}function pt(X,W,ee,ce){if(typeof ee=="object"&&ee!==null&&ee.type===S&&ee.key===null&&(ee=ee.props.children),typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case b:e:{for(var je=ee.key;W!==null;){if(W.key===je){if(je=ee.type,je===S){if(W.tag===7){u(X,W.sibling),ce=v(W,ee.props.children),ce.return=X,X=ce;break e}}else if(W.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===P&&ws(je)===W.type){u(X,W.sibling),ce=v(W,ee.props),_c(ce,ee),ce.return=X,X=ce;break e}u(X,W);break}else o(X,W);W=W.sibling}ee.type===S?(ce=gs(ee.props.children,X.mode,ce,ee.key),ce.return=X,X=ce):(ce=gd(ee.type,ee.key,ee.props,null,X.mode,ce),_c(ce,ee),ce.return=X,X=ce)}return _(X);case A:e:{for(je=ee.key;W!==null;){if(W.key===je)if(W.tag===4&&W.stateNode.containerInfo===ee.containerInfo&&W.stateNode.implementation===ee.implementation){u(X,W.sibling),ce=v(W,ee.children||[]),ce.return=X,X=ce;break e}else{u(X,W);break}else o(X,W);W=W.sibling}ce=Rg(ee,X.mode,ce),ce.return=X,X=ce}return _(X);case P:return ee=ws(ee),pt(X,W,ee,ce)}if(Q(ee))return xe(X,W,ee,ce);if(U(ee)){if(je=U(ee),typeof je!="function")throw Error(r(150));return ee=je.call(ee),Ee(X,W,ee,ce)}if(typeof ee.then=="function")return pt(X,W,Ad(ee),ce);if(ee.$$typeof===j)return pt(X,W,bd(X,ee),ce);Od(X,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint"?(ee=""+ee,W!==null&&W.tag===6?(u(X,W.sibling),ce=v(W,ee),ce.return=X,X=ce):(u(X,W),ce=Cg(ee,X.mode,ce),ce.return=X,X=ce),_(X)):u(X,W)}return function(X,W,ee,ce){try{Rc=0;var je=pt(X,W,ee,ce);return Bo=null,je}catch(Oe){if(Oe===$o||Oe===wd)throw Oe;var Ke=ir(29,Oe,null,X.mode);return Ke.lanes=ce,Ke.return=X,Ke}finally{}}}var As=wT(!0),ST=wT(!1),bi=!1;function zg(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Hg(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function xi(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function wi(i,o,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(Je&2)!==0){var v=h.pending;
vendor: 2,925 bytes, line 48
48return v===null?o.next=o:(o.next=v.next,v.next=o),h.pending=o,o=md(i),iT(i,null,u),o}return hd(i,h,o,u),md(i)}function Mc(i,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194048)!==0)){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,Vn(i,u)}}function Ug(i,o){var u=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var v=null,w=null;if(u=u.firstBaseUpdate,u!==null){do{var _={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};w===null?v=w=_:w=w.next=_,u=u.next}while(u!==null);w===null?v=w=o:w=w.next=o}else v=w=o;u={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:w,shared:h.shared,callbacks:h.callbacks},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=o:i.next=o,u.lastBaseUpdate=o}var Vg=!1;function Pc(){if(Vg){var i=Io;if(i!==null)throw i}}function Nc(i,o,u,h){Vg=!1;var v=i.updateQueue;bi=!1;var w=v.firstBaseUpdate,_=v.lastBaseUpdate,D=v.shared.pending;if(D!==null){v.shared.pending=null;var V=D,te=V.next;V.next=null,_===null?w=te:_.next=te,_=V;var se=i.alternate;se!==null&&(se=se.updateQueue,D=se.lastBaseUpdate,D!==_&&(D===null?se.firstBaseUpdate=te:D.next=te,se.lastBaseUpdate=V))}if(w!==null){var fe=v.baseState;_=0,se=te=V=null,D=w;do{var ne=D.lane&-536870913,ae=ne!==D.lane;if(ae?(He&ne)===ne:(h&ne)===ne){ne!==0&&ne===ko&&(Vg=!0),se!==null&&(se=se.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var xe=i,Ee=D;ne=o;var pt=u;switch(Ee.tag){case 1:if(xe=Ee.payload,typeof xe=="function"){fe=xe.call(pt,fe,ne);break e}fe=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Ee.payload,ne=typeof xe=="function"?xe.call(pt,fe,ne):xe,ne==null)break e;fe=p({},fe,ne);break e;case 2:bi=!0}}ne=D.callback,ne!==null&&(i.flags|=64,ae&&(i.flags|=8192),ae=v.callbacks,ae===null?v.callbacks=[ne]:ae.push(ne))}else ae={lane:ne,tag:D.tag,payload:D.payload,callback:D.callback,next:null},se===null?(te=se=ae,V=fe):se=se.next=ae,_|=ne;if(D=D.next,D===null){if(D=v.shared.pending,D===null)break;ae=D,D=ae.next,ae.next=null,v.lastBaseUpdate=ae,v.shared.pending=null}}while(!0);se===null&&(V=fe),v.baseState=V,v.firstBaseUpdate=te,v.lastBaseUpdate=se,w===null&&(v.shared.lanes=0),ji|=_,i.lanes=_,i.memoizedState=fe}}function AT(i,o){if(typeof i!="function")throw Error(r(191,i));i.call(o)}function OT(i,o){var u=i.callbacks;if(u!==null)for(i.callbacks=null,i=0;i<u.length;i++)AT(u[i],o)}var Lo=$(null),Td=$(0);function TT(i,o){i=Ha,Y(Td,i),Y(Lo,o),Ha=i|o.baseLanes}function Fg(){Y(Td,Ha),Y(Lo,Lo.current)}function Gg(){Ha=Td.current,G(Lo),G(Td)}var sr=$(null),jr=null;function Si(i){var o=i.alternate;Y(Lt,Lt.current&1),Y(sr,i),jr===null&&(o===null||Lo.current!==null||o.memoizedState!==null)&&(jr=i)}function Kg(i){Y(Lt,Lt.current),Y(sr,i),jr===null&&(jr=i)}function jT(i){i.tag===22?(Y(Lt,Lt.current),Y(sr,i),jr===null&&(jr=i)):Ai()}function Ai(){Y(Lt,Lt.current),Y(sr,sr.current)}function or(i){G(sr),jr===i&&(jr=null),G(Lt)}var Lt=$(0);
vendor: 21,530 bytes, line 48
48function jd(i){for(var o=i;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Jy(u)||ev(u)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Da=0,Ne=null,ft=null,Vt=null,Ed=!1,qo=!1,Os=!1,Cd=0,Dc=0,zo=null,yq=0;function Dt(){throw Error(r(321))}function Yg(i,o){if(o===null)return!1;for(var u=0;u<o.length&&u<i.length;u++)if(!ar(i[u],o[u]))return!1;return!0}function Wg(i,o,u,h,v,w){return Da=w,Ne=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,I.H=i===null||i.memoizedState===null?cj:uy,Os=!1,w=u(h,v),Os=!1,qo&&(w=CT(o,u,h,v)),ET(i),w}function ET(i){I.H=$c;var o=ft!==null&&ft.next!==null;if(Da=0,Vt=ft=Ne=null,Ed=!1,Dc=0,zo=null,o)throw Error(r(300));i===null||Ft||(i=i.dependencies,i!==null&&vd(i)&&(Ft=!0))}function CT(i,o,u,h){Ne=i;var v=0;do{if(qo&&(zo=null),Dc=0,qo=!1,25<=v)throw Error(r(301));if(v+=1,Vt=ft=null,i.updateQueue!=null){var w=i.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}I.H=uj,w=o(u,h)}while(qo);return w}function vq(){var i=I.H,o=i.useState()[0];return o=typeof o.then=="function"?kc(o):o,i=i.useState()[0],(ft!==null?ft.memoizedState:null)!==i&&(Ne.flags|=1024),o}function Qg(){var i=Cd!==0;return Cd=0,i}function Xg(i,o,u){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~u}function Zg(i){if(Ed){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}Ed=!1}Da=0,Vt=ft=Ne=null,qo=!1,Dc=Cd=0,zo=null}function $n(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vt===null?Ne.memoizedState=Vt=i:Vt=Vt.next=i,Vt}function qt(){if(ft===null){var i=Ne.alternate;i=i!==null?i.memoizedState:null}else i=ft.next;var o=Vt===null?Ne.memoizedState:Vt.next;if(o!==null)Vt=o,ft=i;else{if(i===null)throw Ne.alternate===null?Error(r(467)):Error(r(310));ft=i,i={memoizedState:ft.memoizedState,baseState:ft.baseState,baseQueue:ft.baseQueue,queue:ft.queue,next:null},Vt===null?Ne.memoizedState=Vt=i:Vt=Vt.next=i}return Vt}function Rd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function kc(i){var o=Dc;return Dc+=1,zo===null&&(zo=[]),i=vT(zo,i,o),o=Ne,(Vt===null?o.memoizedState:Vt.next)===null&&(o=o.alternate,I.H=o===null||o.memoizedState===null?cj:uy),i}function _d(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return kc(i);if(i.$$typeof===j)return bn(i)}throw Error(r(438,String(i)))}function Jg(i){var o=null,u=Ne.updateQueue;if(u!==null&&(o=u.memoCache),o==null){var h=Ne.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(o={data:h.data.map(function(v){return v.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),u===null&&(u=Rd(),Ne.updateQueue=u),u.memoCache=o,u=o.data[o.index],u===void 0)for(u=o.data[o.index]=Array(i),h=0;h<i;h++)u[h]=z;return o.index++,u}function ka(i,o){return typeof o=="function"?o(i):o}function Md(i){var o=qt();return ey(o,ft,i)}function ey(i,o,u){var h=i.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=u;var v=i.baseQueue,w=h.pending;if(w!==null){if(v!==null){var _=v.next;v.next=w.next,w.next=_}o.baseQueue=v=w,h.pending=null}if(w=i.baseState,v===null)i.memoizedState=w;else{o=v.next;var D=_=null,V=null,te=o,se=!1;do{var fe=te.lane&-536870913;if(fe!==te.lane?(He&fe)===fe:(Da&fe)===fe){var ne=te.revertLane;if(ne===0)V!==null&&(V=V.next={lane:0,revertLane:0,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),fe===ko&&(se=!0);else if((Da&ne)===ne){te=te.next,ne===ko&&(se=!0);continue}else fe={lane:0,revertLane:te.revertLane,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},V===null?(D=V=fe,_=w):V=V.next=fe,Ne.lanes|=ne,ji|=ne;fe=te.action,Os&&u(w,fe),w=te.hasEagerState?te.eagerState:u(w,fe)}else ne={lane:fe,revertLane:te.revertLane,gesture:te.gesture,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},V===null?(D=V=ne,_=w):V=V.next=ne,Ne.lanes|=fe,ji|=fe;te=te.next}while(te!==null&&te!==o);if(V===null?_=w:V.next=D,!ar(w,i.memoizedState)&&(Ft=!0,se&&(u=Io,u!==null)))throw u;i.memoizedState=w,i.baseState=_,i.baseQueue=V,h.lastRenderedState=w}return v===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function ty(i){var o=qt(),u=o.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=i;var h=u.dispatch,v=u.pending,w=o.memoizedState;if(v!==null){u.pending=null;var _=v=v.next;do w=i(w,_.action),_=_.next;while(_!==v);ar(w,o.memoizedState)||(Ft=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),u.lastRenderedState=w}return[w,h]}function RT(i,o,u){var h=Ne,v=qt(),w=Ve;if(w){if(u===void 0)throw Error(r(407));u=u()}else u=o();var _=!ar((ft||v).memoizedState,u);if(_&&(v.memoizedState=u,Ft=!0),v=v.queue,ay(PT.bind(null,h,v,i),[i]),v.getSnapshot!==o||_||Vt!==null&&Vt.memoizedState.tag&1){if(h.flags|=2048,Ho(9,{destroy:void 0},MT.bind(null,h,v,u,o),null),yt===null)throw Error(r(349));w||(Da&127)!==0||_T(h,o,u)}return u}function _T(i,o,u){i.flags|=16384,i={getSnapshot:o,value:u},o=Ne.updateQueue,o===null?(o=Rd(),Ne.updateQueue=o,o.stores=[i]):(u=o.stores,u===null?o.stores=[i]:u.push(i))}function MT(i,o,u,h){o.value=u,o.getSnapshot=h,NT(o)&&DT(i)}function PT(i,o,u){return u(function(){NT(o)&&DT(i)})}function NT(i){var o=i.getSnapshot;i=i.value;try{var u=o();return!ar(i,u)}catch{return!0}}function DT(i){var o=ms(i,2);o!==null&&Zn(o,i,2)}function ny(i){var o=$n();if(typeof i=="function"){var u=i;if(i=u(),Os){an(!0);try{u()}finally{an(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:i},o}function kT(i,o,u,h){return i.baseState=u,ey(i,ft,typeof h=="function"?h:ka)}function bq(i,o,u,h,v){if(Dd(i))throw Error(r(485));if(i=o.action,i!==null){var w={payload:v,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){w.listeners.push(_)}};I.T!==null?u(!0):w.isTransition=!1,h(w),u=o.pending,u===null?(w.next=o.pending=w,IT(o,w)):(w.next=u.next,o.pending=u.next=w)}}function IT(i,o){var u=o.action,h=o.payload,v=i.state;if(o.isTransition){var w=I.T,_={};I.T=_;try{var D=u(v,h),V=I.S;V!==null&&V(_,D),$T(i,o,D)}catch(te){ry(i,o,te)}finally{w!==null&&_.types!==null&&(w.types=_.types),I.T=w}}else try{w=u(v,h),$T(i,o,w)}catch(te){ry(i,o,te)}}function $T(i,o,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(h){BT(i,o,h)},function(h){return ry(i,o,h)}):BT(i,o,u)}function BT(i,o,u){o.status="fulfilled",o.value=u,LT(o),i.state=u,o=i.pending,o!==null&&(u=o.next,u===o?i.pending=null:(u=u.next,o.next=u,IT(i,u)))}function ry(i,o,u){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do o.status="rejected",o.reason=u,LT(o),o=o.next;while(o!==h)}i.action=null}function LT(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function qT(i,o){return o}function zT(i,o){if(Ve){var u=yt.formState;if(u!==null){e:{var h=Ne;if(Ve){if(wt){t:{for(var v=wt,w=Tr;v.nodeType!==8;){if(!w){v=null;break t}if(v=Er(v.nextSibling),v===null){v=null;break t}}w=v.data,v=w==="F!"||w==="F"?v:null}if(v){wt=Er(v.nextSibling),h=v.data==="F!";break e}}yi(h)}h=!1}h&&(o=u[0])}}return u=$n(),u.memoizedState=u.baseState=o,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qT,lastRenderedState:o},u.queue=h,u=sj.bind(null,Ne,h),h.dispatch=u,h=ny(!1),w=cy.bind(null,Ne,!1,h.queue),h=$n(),v={state:o,dispatch:null,action:i,pending:null},h.queue=v,u=bq.bind(null,Ne,v,w,u),v.dispatch=u,h.memoizedState=i,[o,u,!1]}function HT(i){var o=qt();return UT(o,ft,i)}function UT(i,o,u){if(o=ey(i,o,qT)[0],i=Md(ka)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var h=kc(o)}catch(_){throw _===$o?wd:_}else h=o;o=qt();var v=o.queue,w=v.dispatch;return u!==o.memoizedState&&(Ne.flags|=2048,Ho(9,{destroy:void 0},xq.bind(null,v,u),null)),[h,w,i]}function xq(i,o){i.action=o}function VT(i){var o=qt(),u=ft;if(u!==null)return UT(o,u,i);qt(),o=o.memoizedState,u=qt();var h=u.queue.dispatch;return u.memoizedState=i,[o,h,!1]}function Ho(i,o,u,h){return i={tag:i,create:u,deps:h,inst:o,next:null},o=Ne.updateQueue,o===null&&(o=Rd(),Ne.updateQueue=o),u=o.lastEffect,u===null?o.lastEffect=i.next=i:(h=u.next,u.next=i,i.next=h,o.lastEffect=i),i}function FT(){return qt().memoizedState}function Pd(i,o,u,h){var v=$n();Ne.flags|=i,v.memoizedState=Ho(1|o,{destroy:void 0},u,h===void 0?null:h)}function Nd(i,o,u,h){var v=qt();h=h===void 0?null:h;var w=v.memoizedState.inst;ft!==null&&h!==null&&Yg(h,ft.memoizedState.deps)?v.memoizedState=Ho(o,w,u,h):(Ne.flags|=i,v.memoizedState=Ho(1|o,w,u,h))}function GT(i,o){Pd(8390656,8,i,o)}function ay(i,o){Nd(2048,8,i,o)}function wq(i){Ne.flags|=4;var o=Ne.updateQueue;if(o===null)o=Rd(),Ne.updateQueue=o,o.events=[i];else{var u=o.events;u===null?o.events=[i]:u.push(i)}}function KT(i){var o=qt().memoizedState;return wq({ref:o,nextImpl:i}),function(){if((Je&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}function YT(i,o){return Nd(4,2,i,o)}function WT(i,o){return Nd(4,4,i,o)}function QT(i,o){if(typeof o=="function"){i=i();var u=o(i);return function(){typeof u=="function"?u():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function XT(i,o,u){u=u!=null?u.concat([i]):null,Nd(4,4,QT.bind(null,o,i),u)}function iy(){}function ZT(i,o){var u=qt();o=o===void 0?null:o;var h=u.memoizedState;return o!==null&&Yg(o,h[1])?h[0]:(u.memoizedState=[i,o],i)}function JT(i,o){var u=qt();o=o===void 0?null:o;var h=u.memoizedState;if(o!==null&&Yg(o,h[1]))return h[0];if(h=i(),Os){an(!0);try{i()}finally{an(!1)}}return u.memoizedState=[h,o],h}function sy(i,o,u){return u===void 0||(Da&1073741824)!==0&&(He&261930)===0?i.memoizedState=o:(i.memoizedState=u,i=eE(),Ne.lanes|=i,ji|=i,u)}function ej(i,o,u,h){return ar(u,o)?u:Lo.current!==null?(i=sy(i,u,h),ar(i,o)||(Ft=!0),i):(Da&42)===0||(Da&1073741824)!==0&&(He&261930)===0?(Ft=!0,i.memoizedState=u):(i=eE(),Ne.lanes|=i,ji|=i,o)}function tj(i,o,u,h,v){var w=L.p;L.p=w!==0&&8>w?w:8;var _=I.T,D={};I.T=D,cy(i,!1,o,u);try{var V=v(),te=I.S;if(te!==null&&te(D,V),V!==null&&typeof V=="object"&&typeof V.then=="function"){var se=gq(V,h);Ic(i,o,se,ur(i))}else Ic(i,o,h,ur(i))}catch(fe){Ic(i,o,{then:function(){},status:"rejected",reason:fe},ur())}finally{L.p=w,_!==null&&D.types!==null&&(_.types=D.types),I.T=_}}function Sq(){}function oy(i,o,u,h){if(i.tag!==5)throw Error(r(476));var v=nj(i).queue;tj(i,v,o,q,u===null?Sq:function(){return rj(i),u(h)})}function nj(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:q},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:u},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function rj(i){var o=nj(i);o.next===null&&(o=i.alternate.memoizedState),Ic(i,o.next.queue,{},ur())}function ly(){return bn(Jc)}function aj(){return qt().memoizedState}function ij(){return qt().memoizedState}function Aq(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var u=ur();i=xi(u);var h=wi(o,i,u);h!==null&&(Zn(h,o,u),Mc(h,o,u)),o={cache:$g()},i.payload=o;return}o=o.return}}function Oq(i,o,u){var h=ur();u={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Dd(i)?oj(o,u):(u=jg(i,o,u,h),u!==null&&(Zn(u,i,h),lj(u,o,h)))}function sj(i,o,u){var h=ur();Ic(i,o,u,h)}function Ic(i,o,u,h){var v={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Dd(i))oj(o,v);else{var w=i.alternate;if(i.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var _=o.lastRenderedState,D=w(_,u);if(v.hasEagerState=!0,v.eagerState=D,ar(D,_))return hd(i,o,v,0),yt===null&&pd(),!1}catch{}finally{}if(u=jg(i,o,v,h),u!==null)return Zn(u,i,h),lj(u,o,h),!0}return!1}function cy(i,o,u,h){if(h={lane:2,revertLane:zy(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},Dd(i)){if(o)throw Error(r(479))}else o=jg(i,u,h,2),o!==null&&Zn(o,i,2)}function Dd(i){var o=i.alternate;return i===Ne||o!==null&&o===Ne}function oj(i,o){qo=Ed=!0;var u=i.pending;u===null?o.next=o:(o.next=u.next,u.next=o),i.pending=o}function lj(i,o,u){if((u&4194048)!==0){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,Vn(i,u)}}var $c={readContext:bn,use:_d,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useLayoutEffect:Dt,useInsertionEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useSyncExternalStore:Dt,useId:Dt,useHostTransitionStatus:Dt,useFormState:Dt,useActionState:Dt,useOptimistic:Dt,useMemoCache:Dt,useCacheRefresh:Dt};$c.useEffectEvent=Dt;var cj={readContext:bn,use:_d,useCallback:function(i,o){return $n().memoizedState=[i,o===void 0?null:o],i},useContext:bn,useEffect:GT,useImperativeHandle:function(i,o,u){u=u!=null?u.concat([i]):null,Pd(4194308,4,QT.bind(null,o,i),u)},useLayoutEffect:function(i,o){return Pd(4194308,4,i,o)},useInsertionEffect:function(i,o){Pd(4,2,i,o)},useMemo:function(i,o){var u=$n();o=o===void 0?null:o;var h=i();if(Os){an(!0);try{i()}finally{an(!1)}}return u.memoizedState=[h,o],h},useReducer:function(i,o,u){var h=$n();if(u!==void 0){var v=u(o);if(Os){an(!0);try{u(o)}finally{an(!1)}}}else v=o;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=Oq.bind(null,Ne,i),[h.memoizedState,i]},useRef:function(i){var o=$n();return i={current:i},o.memoizedState=i},useState:function(i){i=ny(i);var o=i.queue,u=sj.bind(null,Ne,o);return o.dispatch=u,[i.memoizedState,u]},useDebugValue:iy,useDeferredValue:function(i,o){var u=$n();return sy(u,i,o)},useTransition:function(){var i=ny(!1);return i=tj.bind(null,Ne,i.queue,!0,!1),$n().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,u){var h=Ne,v=$n();if(Ve){if(u===void 0)throw Error(r(407));u=u()}else{if(u=o(),yt===null)throw Error(r(349));(He&127)!==0||_T(h,o,u)}v.memoizedState=u;var w={value:u,getSnapshot:o};return v.queue=w,GT(PT.bind(null,h,w,i),[i]),h.flags|=2048,Ho(9,{destroy:void 0},MT.bind(null,h,w,u,o),null),u},useId:function(){var i=$n(),o=yt.identifierPrefix;if(Ve){var u=ia,h=aa;u=(h&~(1<<32-Pt(h)-1)).toString(32)+u,o="_"+o+"R_"+u,u=Cd++,0<u&&(o+="H"+u.toString(32)),o+="_"}else u=yq++,o="_"+o+"r_"+u.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:ly,useFormState:zT,useActionState:zT,useOptimistic:function(i){var o=$n();o.memoizedState=o.baseState=i;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=u,o=cy.bind(null,Ne,!0,u),u.dispatch=o,[i,o]},useMemoCache:Jg,useCacheRefresh:function(){return $n().memoizedState=Aq.bind(null,Ne)},useEffectEvent:function(i){var o=$n(),u={impl:i};return o.memoizedState=u,function(){if((Je&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}},uy={readContext:bn,use:_d,useCallback:ZT,useContext:bn,useEffect:ay,useImperativeHandle:XT,useInsertionEffect:YT,useLayoutEffect:WT,useMemo:JT,useReducer:Md,useRef:FT,useState:function(){return Md(ka)},useDebugValue:iy,useDeferredValue:function(i,o){var u=qt();return ej(u,ft.memoizedState,i,o)},useTransition:function(){var i=Md(ka)[0],o=qt().memoizedState;return[typeof i=="boolean"?i:kc(i),o]},useSyncExternalStore:RT,useId:aj,useHostTransitionStatus:ly,useFormState:HT,useActionState:HT,useOptimistic:function(i,o){var u=qt();return kT(u,ft,i,o)},useMemoCache:Jg,useCacheRefresh:ij};uy.useEffectEvent=KT;var uj={readContext:bn,use:_d,useCallback:ZT,useContext:bn,useEffect:ay,useImperativeHandle:XT,useInsertionEffect:YT,useLayoutEffect:WT,useMemo:JT,useReducer:ty,useRef:FT,useState:function(){return ty(ka)},useDebugValue:iy,useDeferredValue:function(i,o){var u=qt();return ft===null?sy(u,i,o):ej(u,ft.memoizedState,i,o)},useTransition:function(){var i=ty(ka)[0],o=qt().memoizedState;return[typeof i=="boolean"?i:kc(i),o]},useSyncExternalStore:RT,useId:aj,useHostTransitionStatus:ly,useFormState:VT,useActionState:VT,useOptimistic:function(i,o){var u=qt();return ft!==null?kT(u,ft,i,o):(u.baseState=i,[i,u.queue.dispatch])},useMemoCache:Jg,useCacheRefresh:ij};uj.useEffectEvent=KT;function fy(i,o,u,h){o=i.memoizedState,u=u(h,o),u=u==null?o:p({},o,u),i.memoizedState=u,i.lanes===0&&(i.updateQueue.baseState=u)}var dy={enqueueSetState:function(i,o,u){i=i._reactInternals;var h=ur(),v=xi(h);v.payload=o,u!=null&&(v.callback=u),o=wi(i,v,h),o!==null&&(Zn(o,i,h),Mc(o,i,h))},enqueueReplaceState:function(i,o,u){i=i._reactInternals;var h=ur(),v=xi(h);v.tag=1,v.payload=o,u!=null&&(v.callback=u),o=wi(i,v,h),o!==null&&(Zn(o,i,h),Mc(o,i,h))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var u=ur(),h=xi(u);h.tag=2,o!=null&&(h.callback=o),o=wi(i,h,u),o!==null&&(Zn(o,i,u),Mc(o,i,u))}};function fj(i,o,u,h,v,w,_){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,w,_):o.prototype&&o.prototype.isPureReactComponent?!Ac(u,h)||!Ac(v,w):!0}function dj(i,o,u,h){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,h),o.state!==i&&dy.enqueueReplaceState(o,o.state,null)}function Ts(i,o){var u=o;if("ref"in o){u={};for(var h in o)h!=="ref"&&(u[h]=o[h])}if(i=i.defaultProps){u===o&&(u=p({},u));for(var v in i)u[v]===void 0&&(u[v]=i[v])}return u}function pj(i){dd(i)}function hj(i){console.error(i)}function mj(i){dd(i)}function kd(i,o){try{var u=i.onUncaughtError;u(o.value,{componentStack:o.stack})}catch(h){setTimeout(function(){throw h})}}function gj(i,o,u){try{var h=i.onCaughtError;h(u.value,{componentStack:u.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function py(i,o,u){return u=xi(u),u.tag=3,u.payload={element:null},u.callback=function(){kd(i,o)},u}function yj(i){return i=xi(i),i.tag=3,i}function vj(i,o,u,h){var v=u.type.getDerivedStateFromError;if(typeof v=="function"){var w=h.value;i.payload=function(){return v(w)},i.callback=function(){gj(o,u,h)}}var _=u.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){gj(o,u,h),typeof v!="function"&&(Ei===null?Ei=new Set([this]):Ei.add(this));var D=h.stack;this.componentDidCatch(h.value,{componentStack:D!==null?D:""})})}function Tq(i,o,u,h,v){if(u.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(o=u.alternate,o!==null&&Do(o,u,v,!0),u=sr.current,u!==null){switch(u.tag){case 31:case 13:return jr===null?Kd():u.alternate===null&&kt===0&&(kt=3),u.flags&=-257,u.flags|=65536,u.lanes=v,h===Sd?u.flags|=16384:(o=u.updateQueue,o===null?u.updateQueue=new Set([h]):o.add(h),By(i,h,v)),!1;case 22:return u.flags|=65536,h===Sd?u.flags|=16384:(o=u.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([h])},u.updateQueue=o):(u=o.retryQueue,u===null?o.retryQueue=new Set([h]):u.add(h)),By(i,h,v)),!1}throw Error(r(435,u.tag))}return By(i,h,v),Kd(),!1}if(Ve)return o=sr.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=v,h!==Pg&&(i=Error(r(422),{cause:h}),jc(Sr(i,u)))):(h!==Pg&&(o=Error(r(423),{cause:h}),jc(Sr(o,u))),i=i.current.alternate,i.flags|=65536,v&=-v,i.lanes|=v,h=Sr(h,u),v=py(i.stateNode,h,v),Ug(i,v),kt!==4&&(kt=2)),!1;var w=Error(r(520),{cause:h});if(w=Sr(w,u),Fc===null?Fc=[w]:Fc.push(w),kt!==4&&(kt=2),o===null)return!0;h=Sr(h,u),u=o;do{switch(u.tag){case 3:return u.flags|=65536,i=v&-v,u.lanes|=i,i=py(u.stateNode,h,i),Ug(u,i),!1;case 1:if(o=u.type,w=u.stateNode,(u.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Ei===null||!Ei.has(w))))return u.flags|=65536,v&=-v,u.lanes|=v,v=yj(v),vj(v,i,u,h),Ug(u,v),!1}u=u.return}while(u!==null);return!1}var hy=Error(r(461)),Ft=!1;function xn(i,o,u,h){o.child=i===null?ST(o,null,u,h):As(o,i.child,u,h)}function bj(i,o,u,h,v){u=u.render;var w=o.ref;if("ref"in h){var _={};for(var D in h)D!=="ref"&&(_[D]=h[D])}else _=h;return bs(o),h=Wg(i,o,u,_,w,v),D=Qg(),i!==null&&!Ft?(Xg(i,o,v),Ia(i,o,v)):(Ve&&D&&_g(o),o.flags|=1,xn(i,o,h,v),o.child)}function xj(i,o,u,h,v){if(i===null){var w=u.type;return typeof w=="function"&&!Eg(w)&&w.defaultProps===void 0&&u.compare===null?(o.tag=15,o.type=w,wj(i,o,w,h,v)):(i=gd(u.type,null,h,o,o.mode,v),i.ref=o.ref,i.return=o,o.child=i)}if(w=i.child,!Sy(i,v)){var _=w.memoizedProps;if(u=u.compare,u=u!==null?u:Ac,u(_,h)&&i.ref===o.ref)return Ia(i,o,v)}return o.flags|=1,i=_a(w,h),i.ref=o.ref,i.return=o,o.child=i}function wj(i,o,u,h,v){if(i!==null){var w=i.memoizedProps;if(Ac(w,h)&&i.ref===o.ref)if(Ft=!1,o.pendingProps=h=w,Sy(i,v))(i.flags&131072)!==0&&(Ft=!0);else return o.lanes=i.lanes,Ia(i,o,v)}return my(i,o,u,h,v)}function Sj(i,o,u,h){var v=h.children,w=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((o.flags&128)!==0){if(w=w!==null?w.baseLanes|u:u,i!==null){for(h=o.child=i.child,v=0;h!==null;
vendor: 8,794 bytes, line 48
48)v=v|h.lanes|h.childLanes,h=h.sibling;h=v&~w}else h=0,o.child=null;return Aj(i,o,w,u,h)}if((u&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&xd(o,w!==null?w.cachePool:null),w!==null?TT(o,w):Fg(),jT(o);else return h=o.lanes=536870912,Aj(i,o,w!==null?w.baseLanes|u:u,u,h)}else w!==null?(xd(o,w.cachePool),TT(o,w),Ai(),o.memoizedState=null):(i!==null&&xd(o,null),Fg(),Ai());return xn(i,o,v,u),o.child}function Bc(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Aj(i,o,u,h,v){var w=Lg();return w=w===null?null:{parent:Ut._currentValue,pool:w},o.memoizedState={baseLanes:u,cachePool:w},i!==null&&xd(o,null),Fg(),jT(o),i!==null&&Do(i,o,h,!0),o.childLanes=v,null}function Id(i,o){return o=Bd({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function Oj(i,o,u){return As(o,i.child,null,u),i=Id(o,o.pendingProps),i.flags|=2,or(o),o.memoizedState=null,i}function jq(i,o,u){var h=o.pendingProps,v=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(Ve){if(h.mode==="hidden")return i=Id(o,h),o.lanes=536870912,Bc(null,i);if(Kg(o),(i=wt)?(i=IE(i,Tr),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:mi!==null?{id:aa,overflow:ia}:null,retryLane:536870912,hydrationErrors:null},u=oT(i),u.return=o,o.child=u,vn=o,wt=null)):i=null,i===null)throw yi(o);return o.lanes=536870912,null}return Id(o,h)}var w=i.memoizedState;if(w!==null){var _=w.dehydrated;if(Kg(o),v)if(o.flags&256)o.flags&=-257,o=Oj(i,o,u);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(r(558));else if(Ft||Do(i,o,u,!1),v=(u&i.childLanes)!==0,Ft||v){if(h=yt,h!==null&&(_=Fn(h,u),_!==0&&_!==w.retryLane))throw w.retryLane=_,ms(i,_),Zn(h,i,_),hy;Kd(),o=Oj(i,o,u)}else i=w.treeContext,wt=Er(_.nextSibling),vn=o,Ve=!0,gi=null,Tr=!1,i!==null&&uT(o,i),o=Id(o,h),o.flags|=4096;return o}return i=_a(i.child,{mode:h.mode,children:h.children}),i.ref=o.ref,o.child=i,i.return=o,i}function $d(i,o){var u=o.ref;if(u===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(r(284));(i===null||i.ref!==u)&&(o.flags|=4194816)}}function my(i,o,u,h,v){return bs(o),u=Wg(i,o,u,h,void 0,v),h=Qg(),i!==null&&!Ft?(Xg(i,o,v),Ia(i,o,v)):(Ve&&h&&_g(o),o.flags|=1,xn(i,o,u,v),o.child)}function Tj(i,o,u,h,v,w){return bs(o),o.updateQueue=null,u=CT(o,h,u,v),ET(i),h=Qg(),i!==null&&!Ft?(Xg(i,o,w),Ia(i,o,w)):(Ve&&h&&_g(o),o.flags|=1,xn(i,o,u,w),o.child)}function jj(i,o,u,h,v){if(bs(o),o.stateNode===null){var w=_o,_=u.contextType;typeof _=="object"&&_!==null&&(w=bn(_)),w=new u(h,w),o.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=dy,o.stateNode=w,w._reactInternals=o,w=o.stateNode,w.props=h,w.state=o.memoizedState,w.refs={},zg(o),_=u.contextType,w.context=typeof _=="object"&&_!==null?bn(_):_o,w.state=o.memoizedState,_=u.getDerivedStateFromProps,typeof _=="function"&&(fy(o,u,_,h),w.state=o.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(_=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),_!==w.state&&dy.enqueueReplaceState(w,w.state,null),Nc(o,h,w,v),Pc(),w.state=o.memoizedState),typeof w.componentDidMount=="function"&&(o.flags|=4194308),h=!0}else if(i===null){w=o.stateNode;var D=o.memoizedProps,V=Ts(u,D);w.props=V;var te=w.context,se=u.contextType;_=_o,typeof se=="object"&&se!==null&&(_=bn(se));var fe=u.getDerivedStateFromProps;se=typeof fe=="function"||typeof w.getSnapshotBeforeUpdate=="function",D=o.pendingProps!==D,se||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(D||te!==_)&&dj(o,w,h,_),bi=!1;var ne=o.memoizedState;w.state=ne,Nc(o,h,w,v),Pc(),te=o.memoizedState,D||ne!==te||bi?(typeof fe=="function"&&(fy(o,u,fe,h),te=o.memoizedState),(V=bi||fj(o,u,V,h,ne,te,_))?(se||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(o.flags|=4194308)):(typeof w.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=te),w.props=h,w.state=te,w.context=_,h=V):(typeof w.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{w=o.stateNode,Hg(i,o),_=o.memoizedProps,se=Ts(u,_),w.props=se,fe=o.pendingProps,ne=w.context,te=u.contextType,V=_o,typeof te=="object"&&te!==null&&(V=bn(te)),D=u.getDerivedStateFromProps,(te=typeof D=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(_!==fe||ne!==V)&&dj(o,w,h,V),bi=!1,ne=o.memoizedState,w.state=ne,Nc(o,h,w,v),Pc();var ae=o.memoizedState;_!==fe||ne!==ae||bi||i!==null&&i.dependencies!==null&&vd(i.dependencies)?(typeof D=="function"&&(fy(o,u,D,h),ae=o.memoizedState),(se=bi||fj(o,u,se,h,ne,ae,V)||i!==null&&i.dependencies!==null&&vd(i.dependencies))?(te||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(h,ae,V),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(h,ae,V)),typeof w.componentDidUpdate=="function"&&(o.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof w.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=ae),w.props=h,w.state=ae,w.context=V,h=se):(typeof w.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=1024),h=!1)}return w=h,$d(i,o),h=(o.flags&128)!==0,w||h?(w=o.stateNode,u=h&&typeof u.getDerivedStateFromError!="function"?null:w.render(),o.flags|=1,i!==null&&h?(o.child=As(o,i.child,null,v),o.child=As(o,null,u,v)):xn(i,o,u,v),o.memoizedState=w.state,i=o.child):i=Ia(i,o,v),i}function Ej(i,o,u,h){return ys(),o.flags|=256,xn(i,o,u,h),o.child}var gy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function yy(i){return{baseLanes:i,cachePool:gT()}}function vy(i,o,u){return i=i!==null?i.childLanes&~u:0,o&&(i|=cr),i}function Cj(i,o,u){var h=o.pendingProps,v=!1,w=(o.flags&128)!==0,_;if((_=w)||(_=i!==null&&i.memoizedState===null?!1:(Lt.current&2)!==0),_&&(v=!0,o.flags&=-129),_=(o.flags&32)!==0,o.flags&=-33,i===null){if(Ve){if(v?Si(o):Ai(),(i=wt)?(i=IE(i,Tr),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:mi!==null?{id:aa,overflow:ia}:null,retryLane:536870912,hydrationErrors:null},u=oT(i),u.return=o,o.child=u,vn=o,wt=null)):i=null,i===null)throw yi(o);return ev(i)?o.lanes=32:o.lanes=536870912,null}var D=h.children;return h=h.fallback,v?(Ai(),v=o.mode,D=Bd({mode:"hidden",children:D},v),h=gs(h,v,u,null),D.return=o,h.return=o,D.sibling=h,o.child=D,h=o.child,h.memoizedState=yy(u),h.childLanes=vy(i,_,u),o.memoizedState=gy,Bc(null,h)):(Si(o),by(o,D))}var V=i.memoizedState;if(V!==null&&(D=V.dehydrated,D!==null)){if(w)o.flags&256?(Si(o),o.flags&=-257,o=xy(i,o,u)):o.memoizedState!==null?(Ai(),o.child=i.child,o.flags|=128,o=null):(Ai(),D=h.fallback,v=o.mode,h=Bd({mode:"visible",children:h.children},v),D=gs(D,v,u,null),D.flags|=2,h.return=o,D.return=o,h.sibling=D,o.child=h,As(o,i.child,null,u),h=o.child,h.memoizedState=yy(u),h.childLanes=vy(i,_,u),o.memoizedState=gy,o=Bc(null,h));else if(Si(o),ev(D)){if(_=D.nextSibling&&D.nextSibling.dataset,_)var te=_.dgst;_=te,h=Error(r(419)),h.stack="",h.digest=_,jc({value:h,source:null,stack:null}),o=xy(i,o,u)}else if(Ft||Do(i,o,u,!1),_=(u&i.childLanes)!==0,Ft||_){if(_=yt,_!==null&&(h=Fn(_,u),h!==0&&h!==V.retryLane))throw V.retryLane=h,ms(i,h),Zn(_,i,h),hy;Jy(D)||Kd(),o=xy(i,o,u)}else Jy(D)?(o.flags|=192,o.child=i.child,o=null):(i=V.treeContext,wt=Er(D.nextSibling),vn=o,Ve=!0,gi=null,Tr=!1,i!==null&&uT(o,i),o=by(o,h.children),o.flags|=4096);return o}return v?(Ai(),D=h.fallback,v=o.mode,V=i.child,te=V.sibling,h=_a(V,{mode:"hidden",children:h.children}),h.subtreeFlags=V.subtreeFlags&65011712,te!==null?D=_a(te,D):(D=gs(D,v,u,null),D.flags|=2),D.return=o,h.return=o,h.sibling=D,o.child=h,Bc(null,h),h=o.child,D=i.child.memoizedState,D===null?D=yy(u):(v=D.cachePool,v!==null?(V=Ut._currentValue,v=v.parent!==V?{parent:V,pool:V}
vendor: 4,825 bytes, line 48
48:v):v=gT(),D={baseLanes:D.baseLanes|u,cachePool:v}),h.memoizedState=D,h.childLanes=vy(i,_,u),o.memoizedState=gy,Bc(i.child,h)):(Si(o),u=i.child,i=u.sibling,u=_a(u,{mode:"visible",children:h.children}),u.return=o,u.sibling=null,i!==null&&(_=o.deletions,_===null?(o.deletions=[i],o.flags|=16):_.push(i)),o.child=u,o.memoizedState=null,u)}function by(i,o){return o=Bd({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function Bd(i,o){return i=ir(22,i,null,o),i.lanes=0,i}function xy(i,o,u){return As(o,i.child,null,u),i=by(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function Rj(i,o,u){i.lanes|=o;var h=i.alternate;h!==null&&(h.lanes|=o),kg(i.return,o,u)}function wy(i,o,u,h,v,w){var _=i.memoizedState;_===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:v,treeForkCount:w}:(_.isBackwards=o,_.rendering=null,_.renderingStartTime=0,_.last=h,_.tail=u,_.tailMode=v,_.treeForkCount=w)}function _j(i,o,u){var h=o.pendingProps,v=h.revealOrder,w=h.tail;h=h.children;var _=Lt.current,D=(_&2)!==0;if(D?(_=_&1|2,o.flags|=128):_&=1,Y(Lt,_),xn(i,o,h,u),h=Ve?Tc:0,!D&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Rj(i,u,o);else if(i.tag===19)Rj(i,u,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(v){case"forwards":for(u=o.child,v=null;u!==null;)i=u.alternate,i!==null&&jd(i)===null&&(v=u),u=u.sibling;u=v,u===null?(v=o.child,o.child=null):(v=u.sibling,u.sibling=null),wy(o,!1,v,u,w,h);break;case"backwards":case"unstable_legacy-backwards":for(u=null,v=o.child,o.child=null;v!==null;){if(i=v.alternate,i!==null&&jd(i)===null){o.child=v;break}i=v.sibling,v.sibling=u,u=v,v=i}wy(o,!0,u,null,w,h);break;case"together":wy(o,!1,null,null,void 0,h);break;default:o.memoizedState=null}return o.child}function Ia(i,o,u){if(i!==null&&(o.dependencies=i.dependencies),ji|=o.lanes,(u&o.childLanes)===0)if(i!==null){if(Do(i,o,u,!1),(u&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(r(153));if(o.child!==null){for(i=o.child,u=_a(i,i.pendingProps),o.child=u,u.return=o;i.sibling!==null;)i=i.sibling,u=u.sibling=_a(i,i.pendingProps),u.return=o;u.sibling=null}return o.child}function Sy(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&vd(i)))}function Eq(i,o,u){switch(o.tag){case 3:be(o,o.stateNode.containerInfo),vi(o,Ut,i.memoizedState.cache),ys();break;case 27:case 5:ye(o);break;case 4:be(o,o.stateNode.containerInfo);break;case 10:vi(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Kg(o),null;break;case 13:var h=o.memoizedState;if(h!==null)return h.dehydrated!==null?(Si(o),o.flags|=128,null):(u&o.child.childLanes)!==0?Cj(i,o,u):(Si(o),i=Ia(i,o,u),i!==null?i.sibling:null);Si(o);break;case 19:var v=(i.flags&128)!==0;if(h=(u&o.childLanes)!==0,h||(Do(i,o,u,!1),h=(u&o.childLanes)!==0),v){if(h)return _j(i,o,u);o.flags|=128}if(v=o.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Y(Lt,Lt.current),h)break;return null;case 22:return o.lanes=0,Sj(i,o,u,o.pendingProps);case 24:vi(o,Ut,i.memoizedState.cache)}return Ia(i,o,u)}function Mj(i,o,u){if(i!==null)if(i.memoizedProps!==o.pendingProps)Ft=!0;else{if(!Sy(i,u)&&(o.flags&128)===0)return Ft=!1,Eq(i,o,u);Ft=(i.flags&131072)!==0}else Ft=!1,Ve&&(o.flags&1048576)!==0&&cT(o,Tc,o.index);switch(o.lanes=0,o.tag){case 16:e:{var h=o.pendingProps;if(i=ws(o.elementType),o.type=i,typeof i=="function")Eg(i)?(h=Ts(i,h),o.tag=1,o=jj(null,o,i,h,u)):(o.tag=0,o=my(null,o,i,h,u));else{if(i!=null){var v=i.$$typeof;if(v===M){o.tag=11,o=bj(null,o,i,h,u);break e}else if(v===E){o.tag=14,o=xj(null,o,i,h,u);break e}}throw o=K(i)||i,Error(r(306,o,""))}}return o;case 0:return my(i,o,o.type,o.pendingProps,u);case 1:return h=o.type,v=Ts(h,o.pendingProps),jj(i,o,h,v,u);case 3:e:{if(be(o,o.stateNode.containerInfo),i===null)throw Error(r(387));h=o.pendingProps;var w=o.memoizedState;v=w.element,Hg(i,o),Nc(o,h,null,u);var _=o.memoizedState;if(h=_.cache,vi(o,Ut,h),h!==w.cache&&Ig(o,[Ut],u,!0),Pc(),h=_.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:_.cache},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){o=Ej(i,o,h,u);break e}else if(h!==v){v=Sr(Error(r(424)),o),jc(v),o=Ej(i,o,h,u);break e}else{switch(i=o.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(wt=Er(i.firstChild),vn=o,Ve=!0,gi=null,Tr=!0,u=ST(o,null,h,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(ys(),h===v){o=Ia(i,o,u);break e}xn(i,o,h,u)}o=o.child}return o;case 26:return $d(i,o),i===null?(u=HE(o.type,null,o.pendingProps,null))?o.memoizedState=u:Ve||(u=
vendor: 4,969 bytes, line 48
48o.type,i=o.pendingProps,h=ep(he.current).createElement(u),h[yn]=o,h[Gn]=i,wn(h,u,i),ln(h),o.stateNode=h):o.memoizedState=HE(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return ye(o),i===null&&Ve&&(h=o.stateNode=LE(o.type,o.pendingProps,he.current),vn=o,Tr=!0,v=wt,Mi(o.type)?(tv=v,wt=Er(h.firstChild)):wt=v),xn(i,o,o.pendingProps.children,u),$d(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&Ve&&((v=h=wt)&&(h=rz(h,o.type,o.pendingProps,Tr),h!==null?(o.stateNode=h,vn=o,wt=Er(h.firstChild),Tr=!1,v=!0):v=!1),v||yi(o)),ye(o),v=o.type,w=o.pendingProps,_=i!==null?i.memoizedProps:null,h=w.children,Qy(v,w)?h=null:_!==null&&Qy(v,_)&&(o.flags|=32),o.memoizedState!==null&&(v=Wg(i,o,vq,null,null,u),Jc._currentValue=v),$d(i,o),xn(i,o,h,u),o.child;case 6:return i===null&&Ve&&((i=u=wt)&&(u=az(u,o.pendingProps,Tr),u!==null?(o.stateNode=u,vn=o,wt=null,i=!0):i=!1),i||yi(o)),null;case 13:return Cj(i,o,u);case 4:return be(o,o.stateNode.containerInfo),h=o.pendingProps,i===null?o.child=As(o,null,h,u):xn(i,o,h,u),o.child;case 11:return bj(i,o,o.type,o.pendingProps,u);case 7:return xn(i,o,o.pendingProps,u),o.child;case 8:return xn(i,o,o.pendingProps.children,u),o.child;case 12:return xn(i,o,o.pendingProps.children,u),o.child;case 10:return h=o.pendingProps,vi(o,o.type,h.value),xn(i,o,h.children,u),o.child;case 9:return v=o.type._context,h=o.pendingProps.children,bs(o),v=bn(v),h=h(v),o.flags|=1,xn(i,o,h,u),o.child;case 14:return xj(i,o,o.type,o.pendingProps,u);case 15:return wj(i,o,o.type,o.pendingProps,u);case 19:return _j(i,o,u);case 31:return jq(i,o,u);case 22:return Sj(i,o,u,o.pendingProps);case 24:return bs(o),h=bn(Ut),i===null?(v=Lg(),v===null&&(v=yt,w=$g(),v.pooledCache=w,w.refCount++,w!==null&&(v.pooledCacheLanes|=u),v=w),o.memoizedState={parent:h,cache:v},zg(o),vi(o,Ut,v)):((i.lanes&u)!==0&&(Hg(i,o),Nc(o,null,null,u),Pc()),v=i.memoizedState,w=o.memoizedState,v.parent!==h?(v={parent:h,cache:h},o.memoizedState=v,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=v),vi(o,Ut,h)):(h=w.cache,vi(o,Ut,h),h!==v.cache&&Ig(o,[Ut],u,!0))),xn(i,o,o.pendingProps.children,u),o.child;case 29:throw o.pendingProps}throw Error(r(156,o.tag))}function $a(i){i.flags|=4}function Ay(i,o,u,h,v){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(v&335544128)===v)if(i.stateNode.complete)i.flags|=8192;else if(aE())i.flags|=8192;else throw Ss=Sd,qg}else i.flags&=-16777217}function Pj(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!KE(o))if(aE())i.flags|=8192;else throw Ss=Sd,qg}function Ld(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?Rn():536870912,i.lanes|=o,Go|=o)}function Lc(i,o){if(!Ve)switch(i.tailMode){case"hidden":o=i.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?i.tail=null:u.sibling=null;break;case"collapsed":u=i.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function St(i){var o=i.alternate!==null&&i.alternate.child===i.child,u=0,h=0;if(o)for(var v=i.child;v!==null;)u|=v.lanes|v.childLanes,h|=v.subtreeFlags&65011712,h|=v.flags&65011712,v.return=i,v=v.sibling;else for(v=i.child;v!==null;)u|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=i,v=v.sibling;return i.subtreeFlags|=h,i.childLanes=u,o}function Cq(i,o,u){var h=o.pendingProps;switch(Mg(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(o),null;case 1:return St(o),null;case 3:return u=o.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),o.memoizedState.cache!==h&&(o.flags|=2048),Na(Ut),de(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(i===null||i.child===null)&&(No(o)?$a(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Ng())),St(o),null;case 26:var v=o.type,w=o.memoizedState;return i===null?($a(o),w!==null?(St(o),Pj(o,w)):(St(o),Ay(o,v,null,h,u))):w?w!==i.memoizedState?($a(o),St(o),Pj(o,w)):(St(o),o.flags&=-16777217):(i=i.memoizedProps,i!==h&&$a(o),St(o),Ay(o,v,i,h,u)),null;case 27:if(Ae(o),u=he.current,v=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&$a(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return St(o),null}i=J.current,No(o)?fT(o):(i=LE(v,h,u),o.stateNode=i,$a(o))}return St(o),null;case 5:if(Ae(o),v=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&$a(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return St(o),null}if(w=J.current,No(o))fT(o);else{var _=ep(he.current);switch(w){case 1:w=_.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:w=_.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":w=_.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":w=_.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":w=_.createElement("div"),w.innerHTML="<script><\/script>",w=w.removeChild(w.firstChild);break;
vendor: 23,735 bytes, line 48
48case"select":w=typeof h.is=="string"?_.createElement("select",{is:h.is}):_.createElement("select"),h.multiple?w.multiple=!0:h.size&&(w.size=h.size);break;default:w=typeof h.is=="string"?_.createElement(v,{is:h.is}):_.createElement(v)}}w[yn]=o,w[Gn]=h;e:for(_=o.child;_!==null;){if(_.tag===5||_.tag===6)w.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===o)break e;for(;_.sibling===null;){if(_.return===null||_.return===o)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}o.stateNode=w;e:switch(wn(w,v,h),v){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&$a(o)}}return St(o),Ay(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,u),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==h&&$a(o);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(i=he.current,No(o)){if(i=o.stateNode,u=o.memoizedProps,h=null,v=vn,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[yn]=o,i=!!(i.nodeValue===u||h!==null&&h.suppressHydrationWarning===!0||CE(i.nodeValue,u)),i||yi(o,!0)}else i=ep(i).createTextNode(h),i[yn]=o,o.stateNode=i}return St(o),null;case 31:if(u=o.memoizedState,i===null||i.memoizedState!==null){if(h=No(o),u!==null){if(i===null){if(!h)throw Error(r(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[yn]=o}else ys(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;St(o),i=!1}else u=Ng(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),i=!0;if(!i)return o.flags&256?(or(o),o):(or(o),null);if((o.flags&128)!==0)throw Error(r(558))}return St(o),null;case 13:if(h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=No(o),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=o.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[yn]=o}else ys(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;St(o),v=!1}else v=Ng(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=v),v=!0;if(!v)return o.flags&256?(or(o),o):(or(o),null)}return or(o),(o.flags&128)!==0?(o.lanes=u,o):(u=h!==null,i=i!==null&&i.memoizedState!==null,u&&(h=o.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool),w=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(w=h.memoizedState.cachePool.pool),w!==v&&(h.flags|=2048)),u!==i&&u&&(o.child.flags|=8192),Ld(o,o.updateQueue),St(o),null);case 4:return de(),i===null&&Fy(o.stateNode.containerInfo),St(o),null;case 10:return Na(o.type),St(o),null;case 19:if(G(Lt),h=o.memoizedState,h===null)return St(o),null;if(v=(o.flags&128)!==0,w=h.rendering,w===null)if(v)Lc(h,!1);else{if(kt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(w=jd(i),w!==null){for(o.flags|=128,Lc(h,!1),i=w.updateQueue,o.updateQueue=i,Ld(o,i),o.subtreeFlags=0,i=u,u=o.child;u!==null;)sT(u,i),u=u.sibling;return Y(Lt,Lt.current&1|2),Ve&&Ma(o,h.treeForkCount),o.child}i=i.sibling}h.tail!==null&&Ot()>Vd&&(o.flags|=128,v=!0,Lc(h,!1),o.lanes=4194304)}else{if(!v)if(i=jd(w),i!==null){if(o.flags|=128,v=!0,i=i.updateQueue,o.updateQueue=i,Ld(o,i),Lc(h,!0),h.tail===null&&h.tailMode==="hidden"&&!w.alternate&&!Ve)return St(o),null}else 2*Ot()-h.renderingStartTime>Vd&&u!==536870912&&(o.flags|=128,v=!0,Lc(h,!1),o.lanes=4194304);h.isBackwards?(w.sibling=o.child,o.child=w):(i=h.last,i!==null?i.sibling=w:o.child=w,h.last=w)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Ot(),i.sibling=null,u=Lt.current,Y(Lt,v?u&1|2:u&1),Ve&&Ma(o,h.treeForkCount),i):(St(o),null);case 22:case 23:return or(o),Gg(),h=o.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(o.flags|=8192):h&&(o.flags|=8192),h?(u&536870912)!==0&&(o.flags&128)===0&&(St(o),o.subtreeFlags&6&&(o.flags|=8192)):St(o),u=o.updateQueue,u!==null&&Ld(o,u.retryQueue),u=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==u&&(o.flags|=2048),i!==null&&G(xs),null;case 24:return u=null,i!==null&&(u=i.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),Na(Ut),St(o),null;case 25:return null;case 30:return null}throw Error(r(156,o.tag))}function Rq(i,o){switch(Mg(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return Na(Ut),de(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return Ae(o),null;case 31:if(o.memoizedState!==null){if(or(o),o.alternate===null)throw Error(r(340));ys()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(or(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(r(340));ys()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return G(Lt),null;case 4:return de(),null;case 10:return Na(o.type),null;case 22:case 23:return or(o),Gg(),i!==null&&G(xs),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return Na(Ut),null;case 25:return null;default:return null}}function Nj(i,o){switch(Mg(o),o.tag){case 3:Na(Ut),de();break;case 26:case 27:case 5:Ae(o);break;case 4:de();break;case 31:o.memoizedState!==null&&or(o);break;case 13:or(o);break;case 19:G(Lt);break;case 10:Na(o.type);break;case 22:case 23:or(o),Gg(),i!==null&&G(xs);break;case 24:Na(Ut)}}function qc(i,o){try{var u=o.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var v=h.next;u=v;do{if((u.tag&i)===i){h=void 0;var w=u.create,_=u.inst;h=w(),_.destroy=h}u=u.next}while(u!==v)}}catch(D){ct(o,o.return,D)}}function Oi(i,o,u){try{var h=o.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var w=v.next;h=w;do{if((h.tag&i)===i){var _=h.inst,D=_.destroy;if(D!==void 0){_.destroy=void 0,v=o;var V=u,te=D;try{te()}catch(se){ct(v,V,se)}}}h=h.next}while(h!==w)}}catch(se){ct(o,o.return,se)}}function Dj(i){var o=i.updateQueue;if(o!==null){var u=i.stateNode;try{OT(o,u)}catch(h){ct(i,i.return,h)}}}function kj(i,o,u){u.props=Ts(i.type,i.memoizedProps),u.state=i.memoizedState;try{u.componentWillUnmount()}catch(h){ct(i,o,h)}}function zc(i,o){try{var u=i.ref;if(u!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof u=="function"?i.refCleanup=u(h):u.current=h}}catch(v){ct(i,o,v)}}function sa(i,o){var u=i.ref,h=i.refCleanup;if(u!==null)if(typeof h=="function")try{h()}catch(v){ct(i,o,v)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(v){ct(i,o,v)}else u.current=null}function Ij(i){var o=i.type,u=i.memoizedProps,h=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":u.autoFocus&&h.focus();break e;case"img":u.src?h.src=u.src:u.srcSet&&(h.srcset=u.srcSet)}}catch(v){ct(i,i.return,v)}}function Oy(i,o,u){try{var h=i.stateNode;Xq(h,i.type,u,o),h[Gn]=o}catch(v){ct(i,i.return,v)}}function $j(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Mi(i.type)||i.tag===4}function Ty(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||$j(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&Mi(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function jy(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(i,o):(o=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,o.appendChild(i),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=Ca));else if(h!==4&&(h===27&&Mi(i.type)&&(u=i.stateNode,o=null),i=i.child,i!==null))for(jy(i,o,u),i=i.sibling;i!==null;)jy(i,o,u),i=i.sibling}function qd(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?u.insertBefore(i,o):u.appendChild(i);else if(h!==4&&(h===27&&Mi(i.type)&&(u=i.stateNode),i=i.child,i!==null))for(qd(i,o,u),i=i.sibling;i!==null;)qd(i,o,u),i=i.sibling}function Bj(i){var o=i.stateNode,u=i.memoizedProps;try{for(var h=i.type,v=o.attributes;v.length;)o.removeAttributeNode(v[0]);wn(o,h,u),o[yn]=i,o[Gn]=u}catch(w){ct(i,i.return,w)}}var Ba=!1,Gt=!1,Ey=!1,Lj=typeof WeakSet=="function"?WeakSet:Set,cn=null;function _q(i,o){if(i=i.containerInfo,Yy=op,i=XO(i),xg(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var v=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{u.nodeType,w.nodeType}catch{u=null;break e}var _=0,D=-1,V=-1,te=0,se=0,fe=i,ne=null;t:for(;;){for(var ae;fe!==u||v!==0&&fe.nodeType!==3||(D=_+v),fe!==w||h!==0&&fe.nodeType!==3||(V=_+h),fe.nodeType===3&&(_+=fe.nodeValue.length),(ae=fe.firstChild)!==null;)ne=fe,fe=ae;for(;;){if(fe===i)break t;if(ne===u&&++te===v&&(D=_),ne===w&&++se===h&&(V=_),(ae=fe.nextSibling)!==null)break;fe=ne,ne=fe.parentNode}fe=ae}u=D===-1||V===-1?null:{start:D,end:V}}else u=null}u=u||{start:0,end:0}}else u=null;for(Wy={focusedElem:i,selectionRange:u},op=!1,cn=o;cn!==null;)if(o=cn,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,cn=i;else for(;cn!==null;){switch(o=cn,w=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(u=0;u<i.length;u++)v=i[u],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&w!==null){i=void 0,u=o,v=w.memoizedProps,w=w.memoizedState,h=u.stateNode;try{var xe=Ts(u.type,v);i=h.getSnapshotBeforeUpdate(xe,w),h.__reactInternalSnapshotBeforeUpdate=i}catch(Ee){ct(u,u.return,Ee)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,u=i.nodeType,u===9)Zy(i);else if(u===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Zy(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(r(163))}if(i=o.sibling,i!==null){i.return=o.return,cn=i;break}cn=o.return}}function qj(i,o,u){var h=u.flags;switch(u.tag){case 0:case 11:case 15:qa(i,u),h&4&&qc(5,u);break;case 1:if(qa(i,u),h&4)if(i=u.stateNode,o===null)try{i.componentDidMount()}catch(_){ct(u,u.return,_)}else{var v=Ts(u.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(v,o,i.__reactInternalSnapshotBeforeUpdate)}catch(_){ct(u,u.return,_)}}h&64&&Dj(u),h&512&&zc(u,u.return);break;case 3:if(qa(i,u),h&64&&(i=u.updateQueue,i!==null)){if(o=null,u.child!==null)switch(u.child.tag){case 27:case 5:o=u.child.stateNode;break;case 1:o=u.child.stateNode}try{OT(i,o)}catch(_){ct(u,u.return,_)}}break;case 27:o===null&&h&4&&Bj(u);case 26:case 5:qa(i,u),o===null&&h&4&&Ij(u),h&512&&zc(u,u.return);break;case 12:qa(i,u);break;case 31:qa(i,u),h&4&&Uj(i,u);break;case 13:qa(i,u),h&4&&Vj(i,u),h&64&&(i=u.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(u=Lq.bind(null,u),iz(i,u))));break;case 22:if(h=u.memoizedState!==null||Ba,!h){o=o!==null&&o.memoizedState!==null||Gt,v=Ba;var w=Gt;Ba=h,(Gt=o)&&!w?za(i,u,(u.subtreeFlags&8772)!==0):qa(i,u),Ba=v,Gt=w}break;case 30:break;default:qa(i,u)}}function zj(i){var o=i.alternate;o!==null&&(i.alternate=null,zj(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&rg(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Tt=null,Yn=!1;function La(i,o,u){for(u=u.child;u!==null;)Hj(i,o,u),u=u.sibling}function Hj(i,o,u){if(rn&&typeof rn.onCommitFiberUnmount=="function")try{rn.onCommitFiberUnmount(Hn,u)}catch{}switch(u.tag){case 26:Gt||sa(u,o),La(i,o,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Gt||sa(u,o);var h=Tt,v=Yn;Mi(u.type)&&(Tt=u.stateNode,Yn=!1),La(i,o,u),Qc(u.stateNode),Tt=h,Yn=v;break;case 5:Gt||sa(u,o);case 6:if(h=Tt,v=Yn,Tt=null,La(i,o,u),Tt=h,Yn=v,Tt!==null)if(Yn)try{(Tt.nodeType===9?Tt.body:Tt.nodeName==="HTML"?Tt.ownerDocument.body:Tt).removeChild(u.stateNode)}catch(w){ct(u,o,w)}else try{Tt.removeChild(u.stateNode)}catch(w){ct(u,o,w)}break;case 18:Tt!==null&&(Yn?(i=Tt,DE(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,u.stateNode),el(i)):DE(Tt,u.stateNode));break;case 4:h=Tt,v=Yn,Tt=u.stateNode.containerInfo,Yn=!0,La(i,o,u),Tt=h,Yn=v;break;case 0:case 11:case 14:case 15:Oi(2,u,o),Gt||Oi(4,u,o),La(i,o,u);break;case 1:Gt||(sa(u,o),h=u.stateNode,typeof h.componentWillUnmount=="function"&&kj(u,o,h)),La(i,o,u);break;case 21:La(i,o,u);break;case 22:Gt=(h=Gt)||u.memoizedState!==null,La(i,o,u),Gt=h;break;default:La(i,o,u)}}function Uj(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{el(i)}catch(u){ct(o,o.return,u)}}}function Vj(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{el(i)}catch(u){ct(o,o.return,u)}}function Mq(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new Lj),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new Lj),o;default:throw Error(r(435,i.tag))}}function zd(i,o){var u=Mq(i);o.forEach(function(h){if(!u.has(h)){u.add(h);var v=qq.bind(null,i,h);h.then(v,v)}})}function Wn(i,o){var u=o.deletions;if(u!==null)for(var h=0;h<u.length;h++){var v=u[h],w=i,_=o,D=_;e:for(;D!==null;){switch(D.tag){case 27:if(Mi(D.type)){Tt=D.stateNode,Yn=!1;break e}break;case 5:Tt=D.stateNode,Yn=!1;break e;case 3:case 4:Tt=D.stateNode.containerInfo,Yn=!0;break e}D=D.return}if(Tt===null)throw Error(r(160));Hj(w,_,v),Tt=null,Yn=!1,w=v.alternate,w!==null&&(w.return=null),v.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Fj(o,i),o=o.sibling}var Fr=null;function Fj(i,o){var u=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:Wn(o,i),Qn(i),h&4&&(Oi(3,i,i.return),qc(3,i),Oi(5,i,i.return));break;case 1:Wn(o,i),Qn(i),h&512&&(Gt||u===null||sa(u,u.return)),h&64&&Ba&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(u=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=u===null?h:u.concat(h))));break;case 26:var v=Fr;if(Wn(o,i),Qn(i),h&512&&(Gt||u===null||sa(u,u.return)),h&4){var w=u!==null?u.memoizedState:null;if(h=i.memoizedState,u===null)if(h===null)if(i.stateNode===null){e:{h=i.type,u=i.memoizedProps,v=v.ownerDocument||v;t:switch(h){case"title":w=v.getElementsByTagName("title")[0],(!w||w[hc]||w[yn]||w.namespaceURI==="http://www.w3.org/2000/svg"||w.hasAttribute("itemprop"))&&(w=v.createElement(h),v.head.insertBefore(w,v.querySelector("head > title"))),wn(w,h,u),w[yn]=i,ln(w),h=w;break e;case"link":var _=FE("link","href",v).get(h+(u.href||""));if(_){for(var D=0;D<_.length;D++)if(w=_[D],w.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&w.getAttribute("rel")===(u.rel==null?null:u.rel)&&w.getAttribute("title")===(u.title==null?null:u.title)&&w.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){_.splice(D,1);break t}}w=v.createElement(h),wn(w,h,u),v.head.appendChild(w);break;case"meta":if(_=FE("meta","content",v).get(h+(u.content||""))){for(D=0;D<_.length;D++)if(w=_[D],w.getAttribute("content")===(u.content==null?null:""+u.content)&&w.getAttribute("name")===(u.name==null?null:u.name)&&w.getAttribute("property")===(u.property==null?null:u.property)&&w.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&w.getAttribute("charset")===(u.charSet==null?null:u.charSet)){_.splice(D,1);break t}}w=v.createElement(h),wn(w,h,u),v.head.appendChild(w);break;default:throw Error(r(468,h))}w[yn]=i,ln(w),h=w}i.stateNode=h}else GE(v,i.type,i.stateNode);else i.stateNode=VE(v,h,i.memoizedProps);else w!==h?(w===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):w.count--,h===null?GE(v,i.type,i.stateNode):VE(v,h,i.memoizedProps)):h===null&&i.stateNode!==null&&Oy(i,i.memoizedProps,u.memoizedProps)}break;case 27:Wn(o,i),Qn(i),h&512&&(Gt||u===null||sa(u,u.return)),u!==null&&h&4&&Oy(i,i.memoizedProps,u.memoizedProps);break;case 5:if(Wn(o,i),Qn(i),h&512&&(Gt||u===null||sa(u,u.return)),i.flags&32){v=i.stateNode;try{Ao(v,"")}catch(xe){ct(i,i.return,xe)}}h&4&&i.stateNode!=null&&(v=i.memoizedProps,Oy(i,v,u!==null?u.memoizedProps:v)),h&1024&&(Ey=!0);break;case 6:if(Wn(o,i),Qn(i),h&4){if(i.stateNode===null)throw Error(r(162));h=i.memoizedProps,u=i.stateNode;try{u.nodeValue=h}catch(xe){ct(i,i.return,xe)}}break;case 3:if(rp=null,v=Fr,Fr=tp(o.containerInfo),Wn(o,i),Fr=v,Qn(i),h&4&&u!==null&&u.memoizedState.isDehydrated)try{el(o.containerInfo)}catch(xe){ct(i,i.return,xe)}Ey&&(Ey=!1,Gj(i));break;case 4:h=Fr,Fr=tp(i.stateNode.containerInfo),Wn(o,i),Qn(i),Fr=h;break;case 12:Wn(o,i),Qn(i);break;case 31:Wn(o,i),Qn(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,zd(i,h)));break;case 13:Wn(o,i),Qn(i),i.child.flags&8192&&i.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Ud=Ot()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,zd(i,h)));break;case 22:v=i.memoizedState!==null;var V=u!==null&&u.memoizedState!==null,te=Ba,se=Gt;if(Ba=te||v,Gt=se||V,Wn(o,i),Gt=se,Ba=te,Qn(i),h&8192)e:for(o=i.stateNode,o._visibility=v?o._visibility&-2:o._visibility|1,v&&(u===null||V||Ba||Gt||js(i)),u=null,o=i;;){if(o.tag===5||o.tag===26){if(u===null){V=u=o;try{if(w=V.stateNode,v)_=w.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{D=V.stateNode;var fe=V.memoizedProps.style,ne=fe!=null&&fe.hasOwnProperty("display")?fe.display:null;D.style.display=ne==null||typeof ne=="boolean"?"":(""+ne).trim()}}catch(xe){ct(V,V.return,xe)}}}else if(o.tag===6){if(u===null){V=o;try{V.stateNode.nodeValue=v?"":V.memoizedProps}catch(xe){ct(V,V.return,xe)}}}else if(o.tag===18){if(u===null){V=o;try{var ae=V.stateNode;v?kE(ae,!0):kE(V.stateNode,!1)}catch(xe){ct(V,V.return,xe)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;u===o&&(u=null),o=o.return}u===o&&(u=null),o.sibling.return=o.return,o=o.sibling}h&4&&(h=i.updateQueue,h!==null&&(u=h.retryQueue,u!==null&&(h.retryQueue=null,zd(i,u))));break;case 19:Wn(o,i),Qn(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,zd(i,h)));break;case 30:break;case 21:break;default:Wn(o,i),Qn(i)}}function Qn(i){var o=i.flags;if(o&2){try{for(var u,h=i.return;h!==null;){if($j(h)){u=h;break}h=h.return}if(u==null)throw Error(r(160));switch(u.tag){case 27:var v=u.stateNode,w=Ty(i);qd(i,w,v);break;case 5:var _=u.stateNode;u.flags&32&&(Ao(_,""),u.flags&=-33);var D=Ty(i);qd(i,D,_);break;case 3:case 4:var V=u.stateNode.containerInfo,te=Ty(i);jy(i,te,V);break;default:throw Error(r(161))}}catch(se){ct(i,i.return,se)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function Gj(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;Gj(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function qa(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)qj(i,o.alternate,o),o=o.sibling}function js(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:Oi(4,o,o.return),js(o);break;case 1:sa(o,o.return);var u=o.stateNode;typeof u.componentWillUnmount=="function"&&kj(o,o.return,u),js(o);break;case 27:Qc(o.stateNode);case 26:case 5:sa(o,o.return),js(o);break;case 22:o.memoizedState===null&&js(o);break;case 30:js(o);break;default:js(o)}i=i.sibling}}function za(i,o,u){for(u=u&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var h=o.alternate,v=i,w=o,_=w.flags;switch(w.tag){case 0:case 11:case 15:za(v,w,u),qc(4,w);break;case 1:if(za(v,w,u),h=w,v=h.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(te){ct(h,h.return,te)}if(h=w,v=h.updateQueue,v!==null){var D=h.stateNode;try{var V=v.shared.hiddenCallbacks;if(V!==null)for(v.shared.hiddenCallbacks=null,v=0;v<V.length;v++)AT(V[v],D)}catch(te){ct(h,h.return,te)}}u&&_&64&&Dj(w),zc(w,w.return);break;case 27:Bj(w);case 26:case 5:za(v,w,u),u&&h===null&&_&4&&Ij(w),zc(w,w.return);break;case 12:za(v,w,u);break;case 31:za(v,w,u),u&&_&4&&Uj(v,w);break;case 13:za(v,w,u),u&&_&4&&Vj(v,w);break;case 22:w.memoizedState===null&&za(v,w,u),zc(w,w.return);break;case 30:break;default:za(v,w,u)}o=o.sibling}}function Cy(i,o){var u=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==u&&(i!=null&&i.refCount++,u!=null&&Ec(u))}function Ry(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Ec(i))}function Gr(i,o,u,h){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)Kj(i,o,u,h),o=o.sibling}function Kj(i,o,u,h){var v=o.flags;switch(o.tag){case 0:case 11:case 15:Gr(i,o,u,h),v&2048&&qc(9,o);break;case 1:Gr(i,o,u,h);break;case 3:Gr(i,o,u,h),v&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Ec(i)));break;case 12:if(v&2048){Gr(i,o,u,h),i=o.stateNode;try{var w=o.memoizedProps,_=w.id,D=w.onPostCommit;typeof D=="function"&&D(_,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(V){ct(o,o.return,V)}}else Gr(i,o,u,h);break;case 31:Gr(i,o,u,h);break;case 13:Gr(i,o,u,h);break;case 23:break;case 22:w=o.stateNode,_=o.alternate,o.memoizedState!==null?w._visibility&2?Gr(i,o,u,h):Hc(i,o):w._visibility&2?Gr(i,o,u,h):(w._visibility|=2,Uo(i,o,u,h,(o.subtreeFlags&10256)!==0||!1)),v&2048&&Cy(_,o);break;case 24:Gr(i,o,u,h),v&2048&&Ry(o.alternate,o);break;default:Gr(i,o,u,h)}}function Uo(i,o,u,h,v){for(v=v&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var w=i,_=o,D=u,V=h,te=_.flags;switch(_.tag){case 0:case 11:case 15:Uo(w,_,D,V,v),qc(8,_);break;case 23:break;case 22:var se=_.stateNode;_.memoizedState!==null?se._visibility&2?Uo(w,_,D,V,v):Hc(w,_):(se._visibility|=2,Uo(w,_,D,V,v)),v&&te&2048&&Cy(_.alternate,_);break;case 24:Uo(w,_,D,V,v),v&&te&2048&&Ry(_.alternate,_);break;default:Uo(w,_,D,V,v)}o=o.sibling}}function Hc(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var u=i,h=o,v=h.flags;switch(h.tag){case 22:Hc(u,h),v&2048&&Cy(h.alternate,h);break;case 24:Hc(u,h),v&2048&&Ry(h.alternate,h);break;default:Hc(u,h)}o=o.sibling}}var Uc=8192;function Vo(i,o,u){if(i.subtreeFlags&Uc)for(i=i.child;i!==null;)Yj(i,o,u),i=i.sibling}function Yj(i,o,u){switch(i.tag){case 26:Vo(i,o,u),i.flags&Uc&&i.memoizedState!==null&&yz(u,Fr,i.memoizedState,i.memoizedProps);break;case 5:Vo(i,o,u);break;case 3:case 4:var h=Fr;Fr=tp(i.stateNode.containerInfo),Vo(i,o,u),Fr=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=Uc,Uc=16777216,Vo(i,o,u),Uc=h):Vo(i,o,u));break;default:Vo(i,o,u)}}function Wj(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function Vc(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var h=o[u];cn=h,Xj(h,i)}Wj(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Qj(i),i=i.sibling}function Qj(i){switch(i.tag){case 0:case 11:case 15:Vc(i),i.flags&2048&&Oi(9,i,i.return);break;case 3:Vc(i);break;case 12:Vc(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,Hd(i)):Vc(i);break;default:Vc(i)}}function Hd(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var h=o[u];cn=h,Xj(h,i)}Wj(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:Oi(8,o,o.return),Hd(o);break;
vendor: 4,589 bytes, line 48
48case 22:u=o.stateNode,u._visibility&2&&(u._visibility&=-3,Hd(o));break;default:Hd(o)}i=i.sibling}}function Xj(i,o){for(;cn!==null;){var u=cn;switch(u.tag){case 0:case 11:case 15:Oi(8,u,o);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var h=u.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Ec(u.memoizedState.cache)}if(h=u.child,h!==null)h.return=u,cn=h;else e:for(u=i;cn!==null;){h=cn;var v=h.sibling,w=h.return;if(zj(h),h===u){cn=null;break e}if(v!==null){v.return=w,cn=v;break e}cn=w}}}var Pq={getCacheForType:function(i){var o=bn(Ut),u=o.data.get(i);return u===void 0&&(u=i(),o.data.set(i,u)),u},cacheSignal:function(){return bn(Ut).controller.signal}},Nq=typeof WeakMap=="function"?WeakMap:Map,Je=0,yt=null,qe=null,He=0,lt=0,lr=null,Ti=!1,Fo=!1,_y=!1,Ha=0,kt=0,ji=0,Es=0,My=0,cr=0,Go=0,Fc=null,Xn=null,Py=!1,Ud=0,Zj=0,Vd=1/0,Fd=null,Ei=null,Xt=0,Ci=null,Ko=null,Ua=0,Ny=0,Dy=null,Jj=null,Gc=0,ky=null;function ur(){return(Je&2)!==0&&He!==0?He&-He:I.T!==null?zy():tg()}function eE(){if(cr===0)if((He&536870912)===0||Ve){var i=ja;ja<<=1,(ja&3932160)===0&&(ja=262144),cr=i}else cr=536870912;return i=sr.current,i!==null&&(i.flags|=32),cr}function Zn(i,o,u){(i===yt&&(lt===2||lt===9)||i.cancelPendingCommit!==null)&&(Yo(i,0),Ri(i,He,cr,!1)),_t(i,u),((Je&2)===0||i!==yt)&&(i===yt&&((Je&2)===0&&(Es|=u),kt===4&&Ri(i,He,cr,!1)),oa(i))}function tE(i,o,u){if((Je&6)!==0)throw Error(r(327));var h=!u&&(o&127)===0&&(o&i.expiredLanes)===0||Me(i,o),v=h?Iq(i,o):$y(i,o,!0),w=h;do{if(v===0){Fo&&!h&&Ri(i,o,0,!1);break}else{if(u=i.current.alternate,w&&!Dq(u)){v=$y(i,o,!1),w=!1;continue}if(v===2){if(w=o,i.errorRecoveryDisabledLanes&w)var _=0;else _=i.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){o=_;e:{var D=i;v=Fc;var V=D.current.memoizedState.isDehydrated;if(V&&(Yo(D,_).flags|=256),_=$y(D,_,!1),_!==2){if(_y&&!V){D.errorRecoveryDisabledLanes|=w,Es|=w,v=4;break e}w=Xn,Xn=v,w!==null&&(Xn===null?Xn=w:Xn.push.apply(Xn,w))}v=_}if(w=!1,v!==2)continue}}if(v===1){Yo(i,0),Ri(i,o,0,!0);break}e:{switch(h=i,w=v,w){case 0:case 1:throw Error(r(345));case 4:if((o&4194048)!==o)break;case 6:Ri(h,o,cr,!Ti);break e;case 2:Xn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((o&62914560)===o&&(v=Ud+300-Ot(),10<v)){if(Ri(h,o,cr,!Ti),Re(h,0,!0)!==0)break e;Ua=o,h.timeoutHandle=PE(nE.bind(null,h,u,Xn,Fd,Py,o,cr,Es,Go,Ti,w,"Throttled",-0,0),v);break e}nE(h,u,Xn,Fd,Py,o,cr,Es,Go,Ti,w,null,-0,0)}}break}while(!0);oa(i)}function nE(i,o,u,h,v,w,_,D,V,te,se,fe,ne,ae){if(i.timeoutHandle=-1,fe=o.subtreeFlags,fe&8192||(fe&16785408)===16785408){fe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ca},Yj(o,w,fe);var xe=(w&62914560)===w?Ud-Ot():(w&4194048)===w?Zj-Ot():0;if(xe=vz(fe,xe),xe!==null){Ua=w,i.cancelPendingCommit=xe(uE.bind(null,i,o,w,u,h,v,_,D,V,se,fe,null,ne,ae)),Ri(i,w,_,!te);return}}uE(i,o,w,u,h,v,_,D,V)}function Dq(i){for(var o=i;;){var u=o.tag;if((u===0||u===11||u===15)&&o.flags&16384&&(u=o.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var h=0;h<u.length;h++){var v=u[h],w=v.getSnapshot;v=v.value;try{if(!ar(w(),v))return!1}catch{return!1}}if(u=o.child,o.subtreeFlags&16384&&u!==null)u.return=o,o=u;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Ri(i,o,u,h){o&=~My,o&=~Es,i.suspendedLanes|=o,i.pingedLanes&=~o,h&&(i.warmLanes|=o),h=i.expirationTimes;for(var v=o;0<v;){var w=31-Pt(v),_=1<<w;h[w]=-1,v&=~_}u!==0&&us(i,u,o)}function Gd(){return(Je&6)===0?(Kc(0),!1):!0}function Iy(){if(qe!==null){if(lt===0)var i=qe.return;else i=qe,Pa=vs=null,Zg(i),Bo=null,Rc=0,i=qe;for(;i!==null;)Nj(i.alternate,i),i=i.return;qe=null}}function Yo(i,o){var u=i.timeoutHandle;u!==-1&&(i.timeoutHandle=-1,ez(u)),u=i.cancelPendingCommit,u!==null&&(i.cancelPendingCommit=null,u()),Ua=0,Iy(),yt=i,qe=u=_a(i.current,null),He=o,lt=0,lr=null,Ti=!1,Fo=Me(i,o),_y=!1,Go=cr=My=Es=ji=kt=0,Xn=Fc=null,Py=!1,(o&8)!==0&&(o|=o&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=o;0<h;){var v=31-Pt(h),w=1<<v;o|=i[v],h&=~w}return Ha=o,pd(),u}function rE(i,o){Ne=null,I.H=$c,o===$o||o===wd?(o=bT(),lt=3):o===qg?(o=bT(),lt=4):lt=o===hy?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,lr=o,qe===null&&(kt=1,kd(i,Sr(o,i.current)))}function aE(){var i=sr.current;return i===null?!0:(He&4194048)===He?jr===null:(He&62914560)===He||(He&536870912)!==0?i===jr:!1}function iE(){var i=I.H;return I.H=$c,i===null?$c:i}function sE(){var i=I.A;
vendor: 4,639 bytes, line 48
48return I.A=Pq,i}function Kd(){kt=4,Ti||(He&4194048)!==He&&sr.current!==null||(Fo=!0),(ji&134217727)===0&&(Es&134217727)===0||yt===null||Ri(yt,He,cr,!1)}function $y(i,o,u){var h=Je;Je|=2;var v=iE(),w=sE();(yt!==i||He!==o)&&(Fd=null,Yo(i,o)),o=!1;var _=kt;e:do try{if(lt!==0&&qe!==null){var D=qe,V=lr;switch(lt){case 8:Iy(),_=6;break e;case 3:case 2:case 9:case 6:sr.current===null&&(o=!0);var te=lt;if(lt=0,lr=null,Wo(i,D,V,te),u&&Fo){_=0;break e}break;default:te=lt,lt=0,lr=null,Wo(i,D,V,te)}}kq(),_=kt;break}catch(se){rE(i,se)}while(!0);return o&&i.shellSuspendCounter++,Pa=vs=null,Je=h,I.H=v,I.A=w,qe===null&&(yt=null,He=0,pd()),_}function kq(){for(;qe!==null;)oE(qe)}function Iq(i,o){var u=Je;Je|=2;var h=iE(),v=sE();yt!==i||He!==o?(Fd=null,Vd=Ot()+500,Yo(i,o)):Fo=Me(i,o);e:do try{if(lt!==0&&qe!==null){o=qe;var w=lr;t:switch(lt){case 1:lt=0,lr=null,Wo(i,o,w,1);break;case 2:case 9:if(yT(w)){lt=0,lr=null,lE(o);break}o=function(){lt!==2&&lt!==9||yt!==i||(lt=7),oa(i)},w.then(o,o);break e;case 3:lt=7;break e;case 4:lt=5;break e;case 7:yT(w)?(lt=0,lr=null,lE(o)):(lt=0,lr=null,Wo(i,o,w,7));break;case 5:var _=null;switch(qe.tag){case 26:_=qe.memoizedState;case 5:case 27:var D=qe;if(_?KE(_):D.stateNode.complete){lt=0,lr=null;var V=D.sibling;if(V!==null)qe=V;else{var te=D.return;te!==null?(qe=te,Yd(te)):qe=null}break t}}lt=0,lr=null,Wo(i,o,w,5);break;case 6:lt=0,lr=null,Wo(i,o,w,6);break;case 8:Iy(),kt=6;break e;default:throw Error(r(462))}}$q();break}catch(se){rE(i,se)}while(!0);return Pa=vs=null,I.H=h,I.A=v,Je=u,qe!==null?0:(yt=null,He=0,pd(),kt)}function $q(){for(;qe!==null&&!Ge();)oE(qe)}function oE(i){var o=Mj(i.alternate,i,Ha);i.memoizedProps=i.pendingProps,o===null?Yd(i):qe=o}function lE(i){var o=i,u=o.alternate;switch(o.tag){case 15:case 0:o=Tj(u,o,o.pendingProps,o.type,void 0,He);break;case 11:o=Tj(u,o,o.pendingProps,o.type.render,o.ref,He);break;case 5:Zg(o);default:Nj(u,o),o=qe=sT(o,Ha),o=Mj(u,o,Ha)}i.memoizedProps=i.pendingProps,o===null?Yd(i):qe=o}function Wo(i,o,u,h){Pa=vs=null,Zg(o),Bo=null,Rc=0;var v=o.return;try{if(Tq(i,v,o,u,He)){kt=1,kd(i,Sr(u,i.current)),qe=null;return}}catch(w){if(v!==null)throw qe=v,w;kt=1,kd(i,Sr(u,i.current)),qe=null;return}o.flags&32768?(Ve||h===1?i=!0:Fo||(He&536870912)!==0?i=!1:(Ti=i=!0,(h===2||h===9||h===3||h===6)&&(h=sr.current,h!==null&&h.tag===13&&(h.flags|=16384))),cE(o,i)):Yd(o)}function Yd(i){var o=i;do{if((o.flags&32768)!==0){cE(o,Ti);return}i=o.return;var u=Cq(o.alternate,o,Ha);if(u!==null){qe=u;return}if(o=o.sibling,o!==null){qe=o;return}qe=o=i}while(o!==null);kt===0&&(kt=5)}function cE(i,o){do{var u=Rq(i.alternate,i);if(u!==null){u.flags&=32767,qe=u;return}if(u=i.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!o&&(i=i.sibling,i!==null)){qe=i;return}qe=i=u}while(i!==null);kt=6,qe=null}function uE(i,o,u,h,v,w,_,D,V){i.cancelPendingCommit=null;do Wd();while(Xt!==0);if((Je&6)!==0)throw Error(r(327));if(o!==null){if(o===i.current)throw Error(r(177));if(w=o.lanes|o.childLanes,w|=Tg,Un(i,u,w,_,D,V),i===yt&&(qe=yt=null,He=0),Ko=o,Ci=i,Ua=u,Ny=w,Dy=v,Jj=h,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,zq(vr,function(){return mE(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||h){h=I.T,I.T=null,v=L.p,L.p=2,_=Je,Je|=4;try{_q(i,o,u)}finally{Je=_,L.p=v,I.T=h}}Xt=1,fE(),dE(),pE()}}function fE(){if(Xt===1){Xt=0;var i=Ci,o=Ko,u=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||u){u=I.T,I.T=null;var h=L.p;L.p=2;var v=Je;Je|=4;try{Fj(o,i);var w=Wy,_=XO(i.containerInfo),D=w.focusedElem,V=w.selectionRange;if(_!==D&&D&&D.ownerDocument&&QO(D.ownerDocument.documentElement,D)){if(V!==null&&xg(D)){var te=V.start,se=V.end;if(se===void 0&&(se=te),"selectionStart"in D)D.selectionStart=te,D.selectionEnd=Math.min(se,D.value.length);else{var fe=D.ownerDocument||document,ne=fe&&fe.defaultView||window;if(ne.getSelection){var ae=ne.getSelection(),xe=D.textContent.length,Ee=Math.min(V.start,xe),pt=V.end===void 0?Ee:Math.min(V.end,xe);!ae.extend&&Ee>pt&&(_=pt,pt=Ee,Ee=_);var X=WO(D,Ee),W=WO(D,pt);if(X&&W&&(ae.rangeCount!==1||ae.anchorNode!==X.node||ae.anchorOffset!==X.offset||ae.focusNode!==W.node||ae.focusOffset!==W.offset)){var ee=fe.createRange();ee.setStart(X.node,X.offset),ae.removeAllRanges(),Ee>pt?(ae.addRange(ee),ae.extend(W.node,W.offset)):(ee.setEnd(W.node,W.offset),ae.addRange(ee))}}}}for(fe=[],ae=D;ae=ae.parentNode;)ae.nodeType===1&&fe.push({element:ae,left:ae.scrollLeft,top:ae.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<fe.length;D++){var ce=fe[D];ce.element.scrollLeft=ce.left,ce.element.scrollTop=ce.top}}
vendor: 7,751 bytes, line 48
48op=!!Yy,Wy=Yy=null}finally{Je=v,L.p=h,I.T=u}}i.current=o,Xt=2}}function dE(){if(Xt===2){Xt=0;var i=Ci,o=Ko,u=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||u){u=I.T,I.T=null;var h=L.p;L.p=2;var v=Je;Je|=4;try{qj(i,o.alternate,o)}finally{Je=v,L.p=h,I.T=u}}Xt=3}}function pE(){if(Xt===4||Xt===3){Xt=0,mn();var i=Ci,o=Ko,u=Ua,h=Jj;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?Xt=5:(Xt=0,Ko=Ci=null,hE(i,i.pendingLanes));var v=i.pendingLanes;if(v===0&&(Ei=null),Ur(u),o=o.stateNode,rn&&typeof rn.onCommitFiberRoot=="function")try{rn.onCommitFiberRoot(Hn,o,void 0,(o.current.flags&128)===128)}catch{}if(h!==null){o=I.T,v=L.p,L.p=2,I.T=null;try{for(var w=i.onRecoverableError,_=0;_<h.length;_++){var D=h[_];w(D.value,{componentStack:D.stack})}}finally{I.T=o,L.p=v}}(Ua&3)!==0&&Wd(),oa(i),v=i.pendingLanes,(u&261930)!==0&&(v&42)!==0?i===ky?Gc++:(Gc=0,ky=i):Gc=0,Kc(0)}}function hE(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,Ec(o)))}function Wd(){return fE(),dE(),pE(),mE()}function mE(){if(Xt!==5)return!1;var i=Ci,o=Ny;Ny=0;var u=Ur(Ua),h=I.T,v=L.p;try{L.p=32>u?32:u,I.T=null,u=Dy,Dy=null;var w=Ci,_=Ua;if(Xt=0,Ko=Ci=null,Ua=0,(Je&6)!==0)throw Error(r(331));var D=Je;if(Je|=4,Qj(w.current),Kj(w,w.current,_,u),Je=D,Kc(0,!1),rn&&typeof rn.onPostCommitFiberRoot=="function")try{rn.onPostCommitFiberRoot(Hn,w)}catch{}return!0}finally{L.p=v,I.T=h,hE(i,o)}}function gE(i,o,u){o=Sr(u,o),o=py(i.stateNode,o,2),i=wi(i,o,2),i!==null&&(_t(i,2),oa(i))}function ct(i,o,u){if(i.tag===3)gE(i,i,u);else for(;o!==null;){if(o.tag===3){gE(o,i,u);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Ei===null||!Ei.has(h))){i=Sr(u,i),u=yj(2),h=wi(o,u,2),h!==null&&(vj(u,h,o,i),_t(h,2),oa(h));break}}o=o.return}}function By(i,o,u){var h=i.pingCache;if(h===null){h=i.pingCache=new Nq;var v=new Set;h.set(o,v)}else v=h.get(o),v===void 0&&(v=new Set,h.set(o,v));v.has(u)||(_y=!0,v.add(u),i=Bq.bind(null,i,o,u),o.then(i,i))}function Bq(i,o,u){var h=i.pingCache;h!==null&&h.delete(o),i.pingedLanes|=i.suspendedLanes&u,i.warmLanes&=~u,yt===i&&(He&u)===u&&(kt===4||kt===3&&(He&62914560)===He&&300>Ot()-Ud?(Je&2)===0&&Yo(i,0):My|=u,Go===He&&(Go=0)),oa(i)}function yE(i,o){o===0&&(o=Rn()),i=ms(i,o),i!==null&&(_t(i,o),oa(i))}function Lq(i){var o=i.memoizedState,u=0;o!==null&&(u=o.retryLane),yE(i,u)}function qq(i,o){var u=0;switch(i.tag){case 31:case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(u=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(o),yE(i,u)}function zq(i,o){return En(i,o)}var Qd=null,Qo=null,Ly=!1,Xd=!1,qy=!1,_i=0;function oa(i){i!==Qo&&i.next===null&&(Qo===null?Qd=Qo=i:Qo=Qo.next=i),Xd=!0,Ly||(Ly=!0,Uq())}function Kc(i,o){if(!qy&&Xd){qy=!0;do for(var u=!1,h=Qd;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var w=0;else{var _=h.suspendedLanes,D=h.pingedLanes;w=(1<<31-Pt(42|i)+1)-1,w&=v&~(_&~D),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(u=!0,wE(h,w))}else w=He,w=Re(h,h===yt?w:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(w&3)===0||Me(h,w)||(u=!0,wE(h,w));h=h.next}while(u);qy=!1}}function Hq(){vE()}function vE(){Xd=Ly=!1;var i=0;_i!==0&&Jq()&&(i=_i);for(var o=Ot(),u=null,h=Qd;h!==null;){var v=h.next,w=bE(h,o);w===0?(h.next=null,u===null?Qd=v:u.next=v,v===null&&(Qo=u)):(u=h,(i!==0||(w&3)!==0)&&(Xd=!0)),h=v}Xt!==0&&Xt!==5||Kc(i),_i!==0&&(_i=0)}function bE(i,o){for(var u=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,w=i.pendingLanes&-62914561;0<w;){var _=31-Pt(w),D=1<<_,V=v[_];V===-1?((D&u)===0||(D&h)!==0)&&(v[_]=on(D,o)):V<=o&&(i.expiredLanes|=D),w&=~D}if(o=yt,u=He,u=Re(i,i===o?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,u===0||i===o&&(lt===2||lt===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&xt(h),i.callbackNode=null,i.callbackPriority=0;if((u&3)===0||Me(i,u)){if(o=u&-u,o===i.callbackPriority)return o;switch(h!==null&&xt(h),Ur(u)){case 2:case 8:u=Qt;break;case 32:u=vr;break;case 268435456:u=In;break;default:u=vr}return h=xE.bind(null,i),u=En(u,h),i.callbackPriority=o,i.callbackNode=u,o}return h!==null&&h!==null&&xt(h),i.callbackPriority=2,i.callbackNode=null,2}function xE(i,o){if(Xt!==0&&Xt!==5)return i.callbackNode=null,i.callbackPriority=0,null;var u=i.callbackNode;if(Wd()&&i.callbackNode!==u)return null;var h=He;return h=Re(i,i===yt?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(tE(i,h,o),bE(i,Ot()),i.callbackNode!=null&&i.callbackNode===u?xE.bind(null,i):null)}function wE(i,o){if(Wd())return null;tE(i,o,!0)}function Uq(){tz(function(){(Je&6)!==0?En(gt,Hq):vE()})}function zy(){if(_i===0){var i=ko;i===0&&(i=Cn,Cn<<=1,(Cn&261888)===0&&(Cn=256)),_i=i}return _i}function SE(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:id(""+i)}function AE(i,o){var u=o.ownerDocument.createElement("input");return u.name=o.name,u.value=o.value,i.id&&u.setAttribute("form",i.id),o.parentNode.insertBefore(u,o),i=new FormData(i),u.parentNode.removeChild(u),i}function Vq(i,o,u,h,v){if(o==="submit"&&u&&u.stateNode===v){var w=SE((v[Gn]||null).action),_=h.submitter;_&&(o=(o=_[Gn]||null)?SE(o.formAction):_.getAttribute("formAction"),o!==null&&(w=o,_=null));var D=new cd("action","action",null,h,v);i.push({event:D,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(_i!==0){var V=_?AE(v,_):new FormData(v);oy(u,{pending:!0,data:V,method:v.method,action:w},null,V)}}else typeof w=="function"&&(D.preventDefault(),V=_?AE(v,_):new FormData(v),oy(u,{pending:!0,data:V,method:v.method,action:w},w,V))},currentTarget:v}]})}}for(var Hy=0;Hy<Og.length;Hy++){var Uy=Og[Hy],Fq=Uy.toLowerCase(),Gq=Uy[0].toUpperCase()+Uy.slice(1);Vr(Fq,"on"+Gq)}Vr(eT,"onAnimationEnd"),Vr(tT,"onAnimationIteration"),Vr(nT,"onAnimationStart"),Vr("dblclick","onDoubleClick"),Vr("focusin","onFocus"),Vr("focusout","onBlur"),Vr(lq,"onTransitionRun"),Vr(cq,"onTransitionStart"),Vr(uq,"onTransitionCancel"),Vr(rT,"onTransitionEnd"),wo("onMouseEnter",["mouseout","mouseover"]),wo("onMouseLeave",["mouseout","mouseover"]),wo("onPointerEnter",["pointerout","pointerover"]),wo("onPointerLeave",["pointerout","pointerover"]),fs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fs("onBeforeInput",["compositionend","keypress","textInput","paste"]),fs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yc="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(" "),Kq=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yc));function OE(i,o){o=(o&4)!==0;for(var u=0;u<i.length;u++){var h=i[u],v=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var _=h.length-1;0<=_;_--){var D=h[_],V=D.instance,te=D.currentTarget;if(D=D.listener,V!==w&&v.isPropagationStopped())break e;w=D,v.currentTarget=te;try{w(v)}catch(se){dd(se)}v.currentTarget=null,w=V}else for(_=0;_<h.length;_++){if(D=h[_],V=D.instance,te=D.currentTarget,D=D.listener,V!==w&&v.isPropagationStopped())break e;w=D,v.currentTarget=te;try{w(v)}catch(se){dd(se)}v.currentTarget=null,w=V}}}}function ze(i,o){var u=o[ng];u===void 0&&(u=o[ng]=new Set);var h=i+"__bubble";
vendor: 3,606 bytes, line 48
48u.has(h)||(TE(o,i,2,!1),u.add(h))}function Vy(i,o,u){var h=0;o&&(h|=4),TE(u,i,h,o)}var Zd="_reactListening"+Math.random().toString(36).slice(2);function Fy(i){if(!i[Zd]){i[Zd]=!0,vO.forEach(function(u){u!=="selectionchange"&&(Kq.has(u)||Vy(u,!1,i),Vy(u,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Zd]||(o[Zd]=!0,Vy("selectionchange",!1,o))}}function TE(i,o,u,h){switch(eC(o)){case 2:var v=wz;break;case 8:v=Sz;break;default:v=sv}u=v.bind(null,o,u,i),v=void 0,!fg||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(v=!0),h?v!==void 0?i.addEventListener(o,u,{capture:!0,passive:v}):i.addEventListener(o,u,!0):v!==void 0?i.addEventListener(o,u,{passive:v}):i.addEventListener(o,u,!1)}function Gy(i,o,u,h,v){var w=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var _=h.tag;if(_===3||_===4){var D=h.stateNode.containerInfo;if(D===v)break;if(_===4)for(_=h.return;_!==null;){var V=_.tag;if((V===3||V===4)&&_.stateNode.containerInfo===v)return;_=_.return}for(;D!==null;){if(_=vo(D),_===null)return;if(V=_.tag,V===5||V===6||V===26||V===27){h=w=_;continue e}D=D.parentNode}}h=h.return}_O(function(){var te=w,se=cg(u),fe=[];e:{var ne=aT.get(i);if(ne!==void 0){var ae=cd,xe=i;switch(i){case"keypress":if(od(u)===0)break e;case"keydown":case"keyup":ae=qL;break;case"focusin":xe="focus",ae=mg;break;case"focusout":xe="blur",ae=mg;break;case"beforeblur":case"afterblur":ae=mg;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=NO;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=CL;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=UL;break;case eT:case tT:case nT:ae=ML;break;case rT:ae=FL;break;case"scroll":case"scrollend":ae=jL;break;case"wheel":ae=KL;break;case"copy":case"cut":case"paste":ae=NL;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=kO;break;case"toggle":case"beforetoggle":ae=WL}var Ee=(o&4)!==0,pt=!Ee&&(i==="scroll"||i==="scrollend"),X=Ee?ne!==null?ne+"Capture":null:ne;Ee=[];for(var W=te,ee;W!==null;){var ce=W;if(ee=ce.stateNode,ce=ce.tag,ce!==5&&ce!==26&&ce!==27||ee===null||X===null||(ce=gc(W,X),ce!=null&&Ee.push(Wc(W,ce,ee))),pt)break;W=W.return}0<Ee.length&&(ne=new ae(ne,xe,null,u,se),fe.push({event:ne,listeners:Ee}))}}if((o&7)===0){e:{if(ne=i==="mouseover"||i==="pointerover",ae=i==="mouseout"||i==="pointerout",ne&&u!==lg&&(xe=u.relatedTarget||u.fromElement)&&(vo(xe)||xe[yo]))break e;if((ae||ne)&&(ne=se.window===se?se:(ne=se.ownerDocument)?ne.defaultView||ne.parentWindow:window,ae?(xe=u.relatedTarget||u.toElement,ae=te,xe=xe?vo(xe):null,xe!==null&&(pt=s(xe),Ee=xe.tag,xe!==pt||Ee!==5&&Ee!==27&&Ee!==6)&&(xe=null)):(ae=null,xe=te),ae!==xe)){if(Ee=NO,ce="onMouseLeave",X="onMouseEnter",W="mouse",(i==="pointerout"||i==="pointerover")&&(Ee=kO,ce="onPointerLeave",X="onPointerEnter",W="pointer"),pt=ae==null?ne:mc(ae),ee=xe==null?ne:mc(xe),ne=new Ee(ce,W+"leave",ae,u,se),ne.target=pt,ne.relatedTarget=ee,ce=null,vo(se)===te&&(Ee=new Ee(X,W+"enter",xe,u,se),Ee.target=ee,Ee.relatedTarget=pt,ce=Ee),pt=ce,ae&&xe)t:{for(Ee=Yq,X=ae,W=xe,ee=0,ce=X;ce;ce=Ee(ce))ee++;ce=0;for(var je=W;je;je=Ee(je))ce++;for(;0<ee-ce;)X=Ee(X),ee--;for(;0<ce-ee;)W=Ee(W),ce--;for(;ee--;){if(X===W||W!==null&&X===W.alternate){Ee=X;break t}X=Ee(X),W=Ee(W)}Ee=null}else Ee=null;ae!==null&&jE(fe,ne,ae,Ee,!1),xe!==null&&pt!==null&&jE(fe,pt,xe,Ee,!0)}}
vendor: 5,244 bytes, lines 48-49
48e:{if(ne=te?mc(te):window,ae=ne.nodeName&&ne.nodeName.toLowerCase(),ae==="select"||ae==="input"&&ne.type==="file")var Ke=UO;else if(zO(ne))if(VO)Ke=iq;else{Ke=rq;var Oe=nq}else ae=ne.nodeName,!ae||ae.toLowerCase()!=="input"||ne.type!=="checkbox"&&ne.type!=="radio"?te&&og(te.elementType)&&(Ke=UO):Ke=aq;if(Ke&&(Ke=Ke(i,te))){HO(fe,Ke,u,se);break e}Oe&&Oe(i,ne,te),i==="focusout"&&te&&ne.type==="number"&&te.memoizedProps.value!=null&&sg(ne,"number",ne.value)}switch(Oe=te?mc(te):window,i){case"focusin":(zO(Oe)||Oe.contentEditable==="true")&&(Eo=Oe,wg=te,Oc=null);break;case"focusout":Oc=wg=Eo=null;break;case"mousedown":Sg=!0;break;case"contextmenu":case"mouseup":case"dragend":Sg=!1,ZO(fe,u,se);break;case"selectionchange":if(oq)break;case"keydown":case"keyup":ZO(fe,u,se)}var ke;if(yg)e:{switch(i){case"compositionstart":var Ue="onCompositionStart";break e;case"compositionend":Ue="onCompositionEnd";break e;case"compositionupdate":Ue="onCompositionUpdate";break e}Ue=void 0}else jo?LO(i,u)&&(Ue="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(Ue="onCompositionStart");Ue&&(IO&&u.locale!=="ko"&&(jo||Ue!=="onCompositionStart"?Ue==="onCompositionEnd"&&jo&&(ke=MO()):(hi=se,dg="value"in hi?hi.value:hi.textContent,jo=!0)),Oe=Jd(te,Ue),0<Oe.length&&(Ue=new DO(Ue,i,null,u,se),fe.push({event:Ue,listeners:Oe}),ke?Ue.data=ke:(ke=qO(u),ke!==null&&(Ue.data=ke)))),(ke=XL?ZL(i,u):JL(i,u))&&(Ue=Jd(te,"onBeforeInput"),0<Ue.length&&(Oe=new DO("onBeforeInput","beforeinput",null,u,se),fe.push({event:Oe,listeners:Ue}),Oe.data=ke)),Vq(fe,i,te,u,se)}OE(fe,o)})}function Wc(i,o,u){return{instance:i,listener:o,currentTarget:u}}function Jd(i,o){for(var u=o+"Capture",h=[];i!==null;){var v=i,w=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||w===null||(v=gc(i,u),v!=null&&h.unshift(Wc(i,v,w)),v=gc(i,o),v!=null&&h.push(Wc(i,v,w))),i.tag===3)return h;i=i.return}return[]}function Yq(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function jE(i,o,u,h,v){for(var w=o._reactName,_=[];u!==null&&u!==h;){var D=u,V=D.alternate,te=D.stateNode;if(D=D.tag,V!==null&&V===h)break;D!==5&&D!==26&&D!==27||te===null||(V=te,v?(te=gc(u,w),te!=null&&_.unshift(Wc(u,te,V))):v||(te=gc(u,w),te!=null&&_.push(Wc(u,te,V)))),u=u.return}_.length!==0&&i.push({event:o,listeners:_})}var Wq=/\r\n?/g,Qq=/\u0000|\uFFFD/g;function EE(i){return(typeof i=="string"?i:""+i).replace(Wq,`
49`).replace(Qq,"")}function CE(i,o){return o=EE(o),EE(i)===o}function dt(i,o,u,h,v,w){switch(u){case"children":typeof h=="string"?o==="body"||o==="textarea"&&h===""||Ao(i,h):(typeof h=="number"||typeof h=="bigint")&&o!=="body"&&Ao(i,""+h);break;case"className":rd(i,"class",h);break;case"tabIndex":rd(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":rd(i,u,h);break;case"style":CO(i,h,w);break;case"data":if(o!=="object"){rd(i,"data",h);break}case"src":case"href":if(h===""&&(o!=="a"||u!=="href")){i.removeAttribute(u);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=id(""+h),i.setAttribute(u,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof w=="function"&&(u==="formAction"?(o!=="input"&&dt(i,o,"name",v.name,v,null),dt(i,o,"formEncType",v.formEncType,v,null),dt(i,o,"formMethod",v.formMethod,v,null),dt(i,o,"formTarget",v.formTarget,v,null)):(dt(i,o,"encType",v.encType,v,null),dt(i,o,"method",v.method,v,null),dt(i,o,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=id(""+h),i.setAttribute(u,h);break;case"onClick":h!=null&&(i.onclick=Ca);break;case"onScroll":h!=null&&ze("scroll",i);break;case"onScrollEnd":h!=null&&ze("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=u}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}u=id(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,""+h):i.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,""):i.removeAttribute(u);break;case"capture":case"download":h===!0?i.setAttribute(u,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,h):i.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(u,h):i.removeAttribute(u);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(u):i.setAttribute(u,h);break;case"popover":ze("beforetoggle",i),ze("toggle",i),nd(i,"popover",h);break;case"xlinkActuate":Ea(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":Ea(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":Ea(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":Ea(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":Ea(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":Ea(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":Ea(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":Ea(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":Ea(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":nd(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=OL.get(u)||u,nd(i,u,h))}}function Ky(i,o,u,h,v,w){switch(u){case"style":CO(i,h,w);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=u}}break;case"children":typeof h=="string"?Ao(i,h):(typeof h=="number"||typeof h=="bigint")&&Ao(i,""+h);break;case"onScroll":h!=null&&ze("scroll",i);break;case"onScrollEnd":h!=null&&ze("scrollend",i);break;case"onClick":h!=null&&(i.onclick=Ca);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!bO.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(v=u.endsWith("Capture"),o=u.slice(2,v?u.length-7:void 0),w=i[Gn]||null,w=w!=null?w[u]:null,typeof w=="function"&&i.removeEventListener(o,w,v),typeof h=="function")){typeof w!="function"&&w!==null&&(u in i?i[u]=null:i.hasAttribute(u)&&i.removeAttribute(u)),i.addEventListener(o,h,v);break e}u in i?i[u]=h:h===!0?i.setAttribute(u,""):nd(i,u,h)}}}function wn(i,o,u){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",i),ze("load",i);var h=!1,v=!1,w;for(w in u)if(u.hasOwnProperty(w)){var _=u[w];if(_!=null)switch(w){case"src":h=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:dt(i,o,w,_,u,null)}}v&&dt(i,o,"srcSet",u.srcSet,u,null),h&&dt(i,o,"src",u.src,u,null);return;case"input":ze("invalid",i);var D=w=_=v=null,V=null,te=null;for(h in u)if(u.hasOwnProperty(h)){var se=u[h];if(se!=null)switch(h){case"name":v=se;break;case"type":_=se;break;case"checked":V=se;break;case"defaultChecked":te=se;break;case"value":w=se;break;case"defaultValue":D=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(r(137,o));break;default:dt(i,o,h,se,u,null)}}OO(i,w,D,V,te,_,v,!1);return;case"select":ze("invalid",i),h=_=w=null;for(v in u)if(u.hasOwnProperty(v)&&(D=u[v],D!=null))switch(v){case"value":w=D;break;case"defaultValue":_=D;break;case"multiple":h=D;default:dt(i,o,v,D,u,null)}o=w,u=_,i.multiple=!!h,o!=null?So(i,!!h,o,!1):u!=null&&So(i,!!h,u,!0);return;case"textarea":ze("invalid",i),w=v=h=null;for(_ in u)if(u.hasOwnProperty(_)&&(D=u[_],D!=null))switch(_){case"value":h=D;break;case"defaultValue":v=D;break;case"children":w=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(r(91));break;default:dt(i,o,_,D,u,null)}jO(i,h,v,w);return;case"option":for(V in u)if(u.hasOwnProperty(V)&&(h=u[V],h!=null))switch(V){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:dt(i,o,V,h,u,null)}return;case"dialog":ze("beforetoggle",i),ze("toggle",i),ze("cancel",i),ze("close",i);break;case"iframe":case"object":ze("load",i);break;case"video":case"audio":for(h=0;h<Yc.length;h++)ze(Yc[h],i);break;case"image":ze("error",i),ze("load",i);break;case"details":ze("toggle",i);break;case"embed":case"source":case"link":ze("error",i),ze("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(te in u)if(u.hasOwnProperty(te)&&(h=u[te],h!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:dt(i,o,te,h,u,null)}return;default:if(og(o)){for(se in u)u.hasOwnProperty(se)&&(h=u[se],h!==void 0&&Ky(i,o,se,h,u,void 0));return}}for(D in u)u.hasOwnProperty(D)&&(h=u[D],h!=null&&dt(i,o,D,h,u,null))}function Xq(i,o,u,h){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,w=null,_=null,D=null,V=null,te=null,se=null;for(ae in u){var fe=u[ae];if(u.hasOwnProperty(ae)&&fe!=null)switch(ae){case"checked":break;case"value":break;case"defaultValue":V=fe;default:h.hasOwnProperty(ae)||dt(i,o,ae,null,h,fe)}}for(var ne in h){var ae=h[ne];if(fe=u[ne],h.hasOwnProperty(ne)&&(ae!=null||fe!=null))switch(ne){case"type":w=ae;break;case"name":v=ae;break;case"checked":te=ae;break;case"defaultChecked":se=ae;break;case"value":_=ae;break;case"defaultValue":D=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(r(137,o));break;default:ae!==fe&&dt(i,o,ne,ae,h,fe)}}ig(i,_,D,V,te,se,w,v);return;case"select":ae=_=D=ne=null;for(w in u)if(V=u[w],u.hasOwnProperty(w)&&V!=null)switch(w){case"value":break;case"multiple":ae=V;default:h.hasOwnProperty(w)||dt(i,o,w,null,h,V)}for(v in h)if(w=h[v],V=u[v],h.hasOwnProperty(v)&&(w!=null||V!=null))switch(v){case"value":ne=w;break;case"defaultValue":D=w;break;case"multiple":_=w;default:w!==V&&dt(i,o,v,w,h,V)}o=D,u=_,h=ae,ne!=null?So(i,!!u,ne,!1):!!h!=!!u&&(o!=null?So(i,!!u,o,!0):So(i,!!u,u?[]:"",!1));return;case"textarea":ae=ne=null;
vendor: 6,773 bytes, line 49
49for(D in u)if(v=u[D],u.hasOwnProperty(D)&&v!=null&&!h.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:dt(i,o,D,null,h,v)}for(_ in h)if(v=h[_],w=u[_],h.hasOwnProperty(_)&&(v!=null||w!=null))switch(_){case"value":ne=v;break;case"defaultValue":ae=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:v!==w&&dt(i,o,_,v,h,w)}TO(i,ne,ae);return;case"option":for(var xe in u)if(ne=u[xe],u.hasOwnProperty(xe)&&ne!=null&&!h.hasOwnProperty(xe))switch(xe){case"selected":i.selected=!1;break;default:dt(i,o,xe,null,h,ne)}for(V in h)if(ne=h[V],ae=u[V],h.hasOwnProperty(V)&&ne!==ae&&(ne!=null||ae!=null))switch(V){case"selected":i.selected=ne&&typeof ne!="function"&&typeof ne!="symbol";break;default:dt(i,o,V,ne,h,ae)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ee in u)ne=u[Ee],u.hasOwnProperty(Ee)&&ne!=null&&!h.hasOwnProperty(Ee)&&dt(i,o,Ee,null,h,ne);for(te in h)if(ne=h[te],ae=u[te],h.hasOwnProperty(te)&&ne!==ae&&(ne!=null||ae!=null))switch(te){case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(r(137,o));break;default:dt(i,o,te,ne,h,ae)}return;default:if(og(o)){for(var pt in u)ne=u[pt],u.hasOwnProperty(pt)&&ne!==void 0&&!h.hasOwnProperty(pt)&&Ky(i,o,pt,void 0,h,ne);for(se in h)ne=h[se],ae=u[se],!h.hasOwnProperty(se)||ne===ae||ne===void 0&&ae===void 0||Ky(i,o,se,ne,h,ae);return}}for(var X in u)ne=u[X],u.hasOwnProperty(X)&&ne!=null&&!h.hasOwnProperty(X)&&dt(i,o,X,null,h,ne);for(fe in h)ne=h[fe],ae=u[fe],!h.hasOwnProperty(fe)||ne===ae||ne==null&&ae==null||dt(i,o,fe,ne,h,ae)}function RE(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Zq(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,u=performance.getEntriesByType("resource"),h=0;h<u.length;h++){var v=u[h],w=v.transferSize,_=v.initiatorType,D=v.duration;if(w&&D&&RE(_)){for(_=0,D=v.responseEnd,h+=1;h<u.length;h++){var V=u[h],te=V.startTime;if(te>D)break;var se=V.transferSize,fe=V.initiatorType;se&&RE(fe)&&(V=V.responseEnd,_+=se*(V<D?1:(D-te)/(V-te)))}if(--h,o+=8*(w+_)/(v.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var Yy=null,Wy=null;function ep(i){return i.nodeType===9?i:i.ownerDocument}function _E(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ME(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function Qy(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Xy=null;function Jq(){var i=window.event;return i&&i.type==="popstate"?i===Xy?!1:(Xy=i,!0):(Xy=null,!1)}var PE=typeof setTimeout=="function"?setTimeout:void 0,ez=typeof clearTimeout=="function"?clearTimeout:void 0,NE=typeof Promise=="function"?Promise:void 0,tz=typeof queueMicrotask=="function"?queueMicrotask:typeof NE<"u"?function(i){return NE.resolve(null).then(i).catch(nz)}:PE;function nz(i){setTimeout(function(){throw i})}function Mi(i){return i==="head"}function DE(i,o){var u=o,h=0;do{var v=u.nextSibling;if(i.removeChild(u),v&&v.nodeType===8)if(u=v.data,u==="/$"||u==="/&"){if(h===0){i.removeChild(v),el(o);return}h--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")h++;else if(u==="html")Qc(i.ownerDocument.documentElement);else if(u==="head"){u=i.ownerDocument.head,Qc(u);for(var w=u.firstChild;w;){var _=w.nextSibling,D=w.nodeName;w[hc]||D==="SCRIPT"||D==="STYLE"||D==="LINK"&&w.rel.toLowerCase()==="stylesheet"||u.removeChild(w),w=_}}else u==="body"&&Qc(i.ownerDocument.body);u=v}while(u);el(o)}function kE(i,o){var u=i;i=0;do{var h=u.nextSibling;if(u.nodeType===1?o?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(o?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),h&&h.nodeType===8)if(u=h.data,u==="/$"){if(i===0)break;i--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||i++;u=h}while(u)}function Zy(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var u=o;switch(o=o.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Zy(u),rg(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}i.removeChild(u)}}function rz(i,o,u,h){for(;i.nodeType===1;){var v=u;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[hc])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(w=i.getAttribute("rel"),w==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(w!==v.rel||i.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||i.getAttribute("title")!==(v.title==null?null:v.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(w=i.getAttribute("src"),(w!==(v.src==null?null:v.src)||i.getAttribute("type")!==(v.type==null?null:v.type)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&w&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var w=v.name==null?null:""+v.name;if(v.type==="hidden"&&i.getAttribute("name")===w)return i}else return i;if(i=Er(i.nextSibling),i===null)break}return null}function az(i,o,u){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!u||(i=Er(i.nextSibling),i===null))return null;return i}function IE(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=Er(i.nextSibling),i===null))return null;return i}function Jy(i){return i.data==="$?"||i.data==="$~"}function ev(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function iz(i,o){var u=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||u.readyState!=="loading")o();else{var h=function(){o(),u.removeEventListener("DOMContentLoaded",h)};u.addEventListener("DOMContentLoaded",h),i._reactRetry=h}}function Er(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;
vendor: 12,031 bytes, line 49
49if(o==="/$"||o==="/&")return null}}return i}var tv=null;function $E(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"||u==="/&"){if(o===0)return Er(i.nextSibling);o--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||o++}i=i.nextSibling}return null}function BE(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(o===0)return i;o--}else u!=="/$"&&u!=="/&"||o++}i=i.previousSibling}return null}function LE(i,o,u){switch(o=ep(u),i){case"html":if(i=o.documentElement,!i)throw Error(r(452));return i;case"head":if(i=o.head,!i)throw Error(r(453));return i;case"body":if(i=o.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function Qc(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);rg(i)}var Cr=new Map,qE=new Set;function tp(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Va=L.d;L.d={f:sz,r:oz,D:lz,C:cz,L:uz,m:fz,X:pz,S:dz,M:hz};function sz(){var i=Va.f(),o=Gd();return i||o}function oz(i){var o=bo(i);o!==null&&o.tag===5&&o.type==="form"?rj(o):Va.r(i)}var Xo=typeof document>"u"?null:document;function zE(i,o,u){var h=Xo;if(h&&typeof o=="string"&&o){var v=xr(o);v='link[rel="'+i+'"][href="'+v+'"]',typeof u=="string"&&(v+='[crossorigin="'+u+'"]'),qE.has(v)||(qE.add(v),i={rel:i,crossOrigin:u,href:o},h.querySelector(v)===null&&(o=h.createElement("link"),wn(o,"link",i),ln(o),h.head.appendChild(o)))}}function lz(i){Va.D(i),zE("dns-prefetch",i,null)}function cz(i,o){Va.C(i,o),zE("preconnect",i,o)}function uz(i,o,u){Va.L(i,o,u);var h=Xo;if(h&&i&&o){var v='link[rel="preload"][as="'+xr(o)+'"]';o==="image"&&u&&u.imageSrcSet?(v+='[imagesrcset="'+xr(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(v+='[imagesizes="'+xr(u.imageSizes)+'"]')):v+='[href="'+xr(i)+'"]';var w=v;switch(o){case"style":w=Zo(i);break;case"script":w=Jo(i)}Cr.has(w)||(i=p({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:i,as:o},u),Cr.set(w,i),h.querySelector(v)!==null||o==="style"&&h.querySelector(Xc(w))||o==="script"&&h.querySelector(Zc(w))||(o=h.createElement("link"),wn(o,"link",i),ln(o),h.head.appendChild(o)))}}function fz(i,o){Va.m(i,o);var u=Xo;if(u&&i){var h=o&&typeof o.as=="string"?o.as:"script",v='link[rel="modulepreload"][as="'+xr(h)+'"][href="'+xr(i)+'"]',w=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":w=Jo(i)}if(!Cr.has(w)&&(i=p({rel:"modulepreload",href:i},o),Cr.set(w,i),u.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Zc(w)))return}h=u.createElement("link"),wn(h,"link",i),ln(h),u.head.appendChild(h)}}}function dz(i,o,u){Va.S(i,o,u);var h=Xo;if(h&&i){var v=xo(h).hoistableStyles,w=Zo(i);o=o||"default";var _=v.get(w);if(!_){var D={loading:0,preload:null};if(_=h.querySelector(Xc(w)))D.loading=5;else{i=p({rel:"stylesheet",href:i,"data-precedence":o},u),(u=Cr.get(w))&&nv(i,u);var V=_=h.createElement("link");ln(V),wn(V,"link",i),V._p=new Promise(function(te,se){V.onload=te,V.onerror=se}),V.addEventListener("load",function(){D.loading|=1}),V.addEventListener("error",function(){D.loading|=2}),D.loading|=4,np(_,o,h)}_={type:"stylesheet",instance:_,count:1,state:D},v.set(w,_)}}}function pz(i,o){Va.X(i,o);var u=Xo;if(u&&i){var h=xo(u).hoistableScripts,v=Jo(i),w=h.get(v);w||(w=u.querySelector(Zc(v)),w||(i=p({src:i,async:!0},o),(o=Cr.get(v))&&rv(i,o),w=u.createElement("script"),ln(w),wn(w,"link",i),u.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},h.set(v,w))}}function hz(i,o){Va.M(i,o);var u=Xo;if(u&&i){var h=xo(u).hoistableScripts,v=Jo(i),w=h.get(v);w||(w=u.querySelector(Zc(v)),w||(i=p({src:i,async:!0,type:"module"},o),(o=Cr.get(v))&&rv(i,o),w=u.createElement("script"),ln(w),wn(w,"link",i),u.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},h.set(v,w))}}function HE(i,o,u,h){var v=(v=he.current)?tp(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(o=Zo(u.href),u=xo(v).hoistableStyles,h=u.get(o),h||(h={type:"style",instance:null,count:0,state:null},u.set(o,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){i=Zo(u.href);var w=xo(v).hoistableStyles,_=w.get(i);if(_||(v=v.ownerDocument||v,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},w.set(i,_),(w=v.querySelector(Xc(i)))&&!w._p&&(_.instance=w,_.state.loading=5),Cr.has(i)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Cr.set(i,u),w||mz(v,i,u,_.state))),o&&h===null)throw Error(r(528,""));return _}if(o&&h!==null)throw Error(r(529,""));return null;case"script":return o=u.async,u=u.src,typeof u=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=Jo(u),u=xo(v).hoistableScripts,h=u.get(o),h||(h={type:"script",instance:null,count:0,state:null},u.set(o,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function Zo(i){return'href="'+xr(i)+'"'}function Xc(i){return'link[rel="stylesheet"]['+i+"]"}function UE(i){return p({},i,{"data-precedence":i.precedence,precedence:null})}function mz(i,o,u,h){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?h.loading=1:(o=i.createElement("link"),h.preload=o,o.addEventListener("load",function(){return h.loading|=1}),o.addEventListener("error",function(){return h.loading|=2}),wn(o,"link",u),ln(o),i.head.appendChild(o))}function Jo(i){return'[src="'+xr(i)+'"]'}function Zc(i){return"script[async]"+i}function VE(i,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var h=i.querySelector('style[data-href~="'+xr(u.href)+'"]');if(h)return o.instance=h,ln(h),h;var v=p({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),ln(h),wn(h,"style",v),np(h,u.precedence,i),o.instance=h;case"stylesheet":v=Zo(u.href);var w=i.querySelector(Xc(v));if(w)return o.state.loading|=4,o.instance=w,ln(w),w;h=UE(u),(v=Cr.get(v))&&nv(h,v),w=(i.ownerDocument||i).createElement("link"),ln(w);var _=w;return _._p=new Promise(function(D,V){_.onload=D,_.onerror=V}),wn(w,"link",h),o.state.loading|=4,np(w,u.precedence,i),o.instance=w;case"script":return w=Jo(u.src),(v=i.querySelector(Zc(w)))?(o.instance=v,ln(v),v):(h=u,(v=Cr.get(w))&&(h=p({},u),rv(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),ln(v),wn(v,"link",h),i.head.appendChild(v),o.instance=v);case"void":return null;default:throw Error(r(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(h=o.instance,o.state.loading|=4,np(h,u.precedence,i));return o.instance}function np(i,o,u){for(var h=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,w=v,_=0;_<h.length;_++){var D=h[_];if(D.dataset.precedence===o)w=D;else if(w!==v)break}w?w.parentNode.insertBefore(i,w.nextSibling):(o=u.nodeType===9?u.head:u,o.insertBefore(i,o.firstChild))}function nv(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function rv(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var rp=null;function FE(i,o,u){if(rp===null){var h=new Map,v=rp=new Map;v.set(u,h)}else v=rp,h=v.get(u),h||(h=new Map,v.set(u,h));if(h.has(i))return h;for(h.set(i,null),u=u.getElementsByTagName(i),v=0;v<u.length;v++){var w=u[v];if(!(w[hc]||w[yn]||i==="link"&&w.getAttribute("rel")==="stylesheet")&&w.namespaceURI!=="http://www.w3.org/2000/svg"){var _=w.getAttribute(o)||"";_=i+_;var D=h.get(_);D?D.push(w):h.set(_,[w])}}return h}function GE(i,o,u){i=i.ownerDocument||i,i.head.insertBefore(u,o==="title"?i.querySelector("head > title"):null)}function gz(i,o,u){if(u===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function KE(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function yz(i,o,u,h){if(u.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var v=Zo(h.href),w=o.querySelector(Xc(v));if(w){o=w._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=ap.bind(i),o.then(i,i)),u.state.loading|=4,u.instance=w,ln(w);return}w=o.ownerDocument||o,h=UE(h),(v=Cr.get(v))&&nv(h,v),w=w.createElement("link"),ln(w);var _=w;_._p=new Promise(function(D,V){_.onload=D,_.onerror=V}),wn(w,"link",h),u.instance=w}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&3)===0&&(i.count++,u=ap.bind(i),o.addEventListener("load",u),o.addEventListener("error",u))}}var av=0;function vz(i,o){return i.stylesheets&&i.count===0&&sp(i,i.stylesheets),0<i.count||0<i.imgCount?function(u){var h=setTimeout(function(){if(i.stylesheets&&sp(i,i.stylesheets),i.unsuspend){var w=i.unsuspend;i.unsuspend=null,w()}},6e4+o);0<i.imgBytes&&av===0&&(av=62500*Zq());var v=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&sp(i,i.stylesheets),i.unsuspend)){var w=i.unsuspend;i.unsuspend=null,w()}},(i.imgBytes>av?50:800)+o);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(v)}}:null}function ap(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sp(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var ip=null;function sp(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,ip=new Map,o.forEach(bz,i),ip=null,ap.call(i))}function bz(i,o){if(!(o.state.loading&4)){var u=ip.get(i);if(u)var h=u.get(null);else{u=new Map,ip.set(i,u);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),w=0;w<v.length;w++){var _=v[w];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(u.set(_.dataset.precedence,_),h=_)}h&&u.set(null,h)}v=o.instance,_=v.getAttribute("data-precedence"),w=u.get(_)||h,w===h&&u.set(null,v),u.set(_,v),this.count++,h=ap.bind(this),v.addEventListener("load",h),v.addEventListener("error",h),w?w.parentNode.insertBefore(v,w.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(v,i.firstChild)),o.state.loading|=4}}var Jc={$$typeof:j,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function xz(i,o,u,h,v,w,_,D,V){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=di(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=di(0),this.hiddenUpdates=di(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=w,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=V,this.incompleteTransitions=new Map}function YE(i,o,u,h,v,w,_,D,V,te,se,fe){return i=new xz(i,o,u,_,V,te,se,fe,D),o=1,w===!0&&(o|=24),w=ir(3,null,null,o),i.current=w,w.stateNode=i,o=$g(),o.refCount++,i.pooledCache=o,o.refCount++,w.memoizedState={element:h,isDehydrated:u,cac
vendor: 10,793 bytes, line 49
49he:o},zg(w),i}function WE(i){return i?(i=_o,i):_o}function QE(i,o,u,h,v,w){v=WE(v),h.context===null?h.context=v:h.pendingContext=v,h=xi(o),h.payload={element:u},w=w===void 0?null:w,w!==null&&(h.callback=w),u=wi(i,h,o),u!==null&&(Zn(u,i,o),Mc(u,i,o))}function XE(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<o?u:o}}function iv(i,o){XE(i,o),(i=i.alternate)&&XE(i,o)}function ZE(i){if(i.tag===13||i.tag===31){var o=ms(i,67108864);o!==null&&Zn(o,i,67108864),iv(i,67108864)}}function JE(i){if(i.tag===13||i.tag===31){var o=ur();o=go(o);var u=ms(i,o);u!==null&&Zn(u,i,o),iv(i,o)}}var op=!0;function wz(i,o,u,h){var v=I.T;I.T=null;var w=L.p;try{L.p=2,sv(i,o,u,h)}finally{L.p=w,I.T=v}}function Sz(i,o,u,h){var v=I.T;I.T=null;var w=L.p;try{L.p=8,sv(i,o,u,h)}finally{L.p=w,I.T=v}}function sv(i,o,u,h){if(op){var v=ov(h);if(v===null)Gy(i,o,h,lp,u),tC(i,h);else if(Oz(v,i,o,u,h))h.stopPropagation();else if(tC(i,h),o&4&&-1<Az.indexOf(i)){for(;v!==null;){var w=bo(v);if(w!==null)switch(w.tag){case 3:if(w=w.stateNode,w.current.memoizedState.isDehydrated){var _=sn(w.pendingLanes);if(_!==0){var D=w;for(D.pendingLanes|=2,D.entangledLanes|=2;_;){var V=1<<31-Pt(_);D.entanglements[1]|=V,_&=~V}oa(w),(Je&6)===0&&(Vd=Ot()+500,Kc(0))}}break;case 31:case 13:D=ms(w,2),D!==null&&Zn(D,w,2),Gd(),iv(w,2)}if(w=ov(h),w===null&&Gy(i,o,h,lp,u),w===v)break;v=w}v!==null&&h.stopPropagation()}else Gy(i,o,h,null,u)}}function ov(i){return i=cg(i),lv(i)}var lp=null;function lv(i){if(lp=null,i=vo(i),i!==null){var o=s(i);if(o===null)i=null;else{var u=o.tag;if(u===13){if(i=l(o),i!==null)return i;i=null}else if(u===31){if(i=c(o),i!==null)return i;i=null}else if(u===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return lp=i,null}function eC(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ta()){case gt:return 2;case Qt:return 8;case vr:case gn:return 32;case In:return 268435456;default:return 32}default:return 32}}var cv=!1,Pi=null,Ni=null,Di=null,eu=new Map,tu=new Map,ki=[],Az="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function tC(i,o){switch(i){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":Ni=null;break;case"mouseover":case"mouseout":Di=null;break;case"pointerover":case"pointerout":eu.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":tu.delete(o.pointerId)}}function nu(i,o,u,h,v,w){return i===null||i.nativeEvent!==w?(i={blockedOn:o,domEventName:u,eventSystemFlags:h,nativeEvent:w,targetContainers:[v]},o!==null&&(o=bo(o),o!==null&&ZE(o)),i):(i.eventSystemFlags|=h,o=i.targetContainers,v!==null&&o.indexOf(v)===-1&&o.push(v),i)}function Oz(i,o,u,h,v){switch(o){case"focusin":return Pi=nu(Pi,i,o,u,h,v),!0;case"dragenter":return Ni=nu(Ni,i,o,u,h,v),!0;case"mouseover":return Di=nu(Di,i,o,u,h,v),!0;case"pointerover":var w=v.pointerId;return eu.set(w,nu(eu.get(w)||null,i,o,u,h,v)),!0;case"gotpointercapture":return w=v.pointerId,tu.set(w,nu(tu.get(w)||null,i,o,u,h,v)),!0}return!1}function nC(i){var o=vo(i.target);if(o!==null){var u=s(o);if(u!==null){if(o=u.tag,o===13){if(o=l(u),o!==null){i.blockedOn=o,gO(i.priority,function(){JE(u)});return}}else if(o===31){if(o=c(u),o!==null){i.blockedOn=o,gO(i.priority,function(){JE(u)});return}}else if(o===3&&u.stateNode.current.memoizedState.isDehydrated){i.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}i.blockedOn=null}function cp(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var u=ov(i.nativeEvent);if(u===null){u=i.nativeEvent;var h=new u.constructor(u.type,u);lg=h,u.target.dispatchEvent(h),lg=null}else return o=bo(u),o!==null&&ZE(o),i.blockedOn=u,!1;o.shift()}return!0}function rC(i,o,u){cp(i)&&u.delete(o)}function Tz(){cv=!1,Pi!==null&&cp(Pi)&&(Pi=null),Ni!==null&&cp(Ni)&&(Ni=null),Di!==null&&cp(Di)&&(Di=null),eu.forEach(rC),tu.forEach(rC)}function up(i,o){i.blockedOn===o&&(i.blockedOn=null,cv||(cv=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Tz)))}var fp=null;function aC(i){fp!==i&&(fp=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){fp===i&&(fp=null);for(var o=0;o<i.length;o+=3){var u=i[o],h=i[o+1],v=i[o+2];if(typeof h!="function"){if(lv(h||u)===null)continue;break}var w=bo(u);w!==null&&(i.splice(o,3),o-=3,oy(w,{pending:!0,data:v,method:u.method,action:h},h,v))}}))}function el(i){function o(V){return up(V,i)}Pi!==null&&up(Pi,i),Ni!==null&&up(Ni,i),Di!==null&&up(Di,i),eu.forEach(o),tu.forEach(o);for(var u=0;u<ki.length;u++){var h=ki[u];h.blockedOn===i&&(h.blockedOn=null)}for(;0<ki.length&&(u=ki[0],u.blockedOn===null);)nC(u),u.blockedOn===null&&ki.shift();if(u=(i.ownerDocument||i).$$reactFormReplay,u!=null)for(h=0;h<u.length;h+=3){var v=u[h],w=u[h+1],_=v[Gn]||null;if(typeof w=="function")_||aC(u);else if(_){var D=null;if(w&&w.hasAttribute("formAction")){if(v=w,_=w[Gn]||null)D=_.formAction;else if(lv(v)!==null)continue}else D=_.action;typeof D=="function"?u[h+1]=D:(u.splice(h,3),h-=3),aC(u)}}}function iC(){function i(w){w.canIntercept&&w.info==="react-transition"&&w.intercept({handler:function(){return new Promise(function(_){return v=_})},focusReset:"manual",scroll:"manual"})}function o(){v!==null&&(v(),v=null),h||setTimeout(u,20)}function u(){if(!h&&!navigation.transition){var w=navigation.currentEntry;w&&w.url!=null&&navigation.navigate(w.url,{state:w.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,v=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(u,100),function(){h=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),v!==null&&(v(),v=null)}}}function uv(i){this._internalRoot=i}dp.prototype.render=uv.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(r(409));var u=o.current,h=ur();QE(u,h,i,o,null,null)},dp.prototype.unmount=uv.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;QE(i.current,2,null,i,null,null),Gd(),o[yo]=null}};function dp(i){this._internalRoot=i}dp.prototype.unstable_scheduleHydration=function(i){if(i){var o=tg();i={blockedOn:null,target:i,priority:o};for(var u=0;u<ki.length&&o!==0&&o<ki[u].priority;u++);ki.splice(u,0,i),u===0&&nC(i)}};var sC=t.version;if(sC!=="19.2.1")throw Error(r(527,sC,"19.2.1"));L.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=d(o),i=i!==null?m(i):null,i=i===null?null:i.stateNode,i};var jz={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pp.isDisabled&&pp.supportsFiber)try{Hn=pp.inject(jz),rn=pp}catch{}}return iu.createRoot=function(i,o){if(!a(i))throw Error(r(299));var u=!1,h="",v=pj,w=hj,_=mj;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onUncaughtError!==void 0&&(v=o.onUncaughtError),o.onCaughtError!==void 0&&(w=o.onCaughtError),o.onRecoverableError!==void 0&&(_=o.onRecoverableError)),o=YE(i,1,!1,null,null,u,h,null,v,w,_,iC),i[yo]=o.current,Fy(i),new uv(o)},iu.hydrateRoot=function(i,o,u){if(!a(i))throw Error(r(299));var h=!1,v="",w=pj,_=hj,D=mj,V=null;return u!=null&&(u.unstable_strictMode===!0&&(h=!0),u.identifierPrefix!==void 0&&(v=u.identifierPrefix),u.onUncaughtError!==void 0&&(w=u.onUncaughtError),u.onCaughtError!==void 0&&(_=u.onCaughtError),u.onRecoverableError!==void 0&&(D=u.onRecoverableError),u.formState!==void 0&&(V=u.formState)),o=YE(i,1,!0,o,u??null,h,v,V,w,_,D,iC),o.context=WE(null),u=o.current,h=ur(),h=go(h),v=xi(h),v.callback=null,wi(u,v,h),u=h,o.current.lanes=u,_t(o,u),oa(o),i[yo]=o.current,Fy(i),new dp(o)},iu.version="19.2.1",iu}var NC;function G9(){if(NC)return yv.exports;NC=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),yv.exports=F9(),yv.exports}var K9=G9(),Y9=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),t4=(function(){function e(t){this.generateIdentifier=t,this.kv=new Y9}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),W9=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}
49t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),Q9=(function(e){W9(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(t4),X9=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s};function Z9(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function J9(e,t){var n=Z9(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var s=r[a];if(t(s))return s}}function Ol(e,t){Object.entries(e).forEach(function(n){var r=X9(n,2),a=r[0],s=r[1];return t(s,a)})}function Hp(e,t){return e.indexOf(t)!==-1}function DC(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var eH=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return J9(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),tH=function(e){return Object.prototype.toString.call(e).slice(8,-1)},n4=function(e){return typeof e>"u"},nH=function(e){return e===null},$u=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},iw=function(e){return $u(e)&&Object.keys(e).length===0},Qi=function(e){return Array.isArray(e)},rH=function(e){return typeof e=="string"},aH=function(e){return typeof e=="number"&&!isNaN(e)},iH=function(e){return typeof e=="boolean"},sH=function(e){return e instanceof RegExp},Bu=function(e){return e instanceof Map},Lu=function(e){return e instanceof Set},r4=function(e){return tH(e)==="Symbol"},oH=function(e){return e instanceof Date&&!isNaN(e.valueOf())},lH=function(e){return e instanceof Error},kC=function(e){return typeof e=="number"&&isNaN(e)},cH=function(e){return iH(e)||nH(e)||n4(e)||aH(e)||rH(e)||r4(e)},uH=function(e){return typeof e=="bigint"},fH=function(e){return e===1/0||e===-1/0},dH=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},pH=function(e){return e instanceof URL},a4=function(e){return e.replace(/\./g,"\\.")},wv=function(e){return e.map(String).map(a4).join(".")},Au=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),s=a==="\\"&&e.charAt(r+1)===".";if(s){n+=".",r++;continue}var l=a===".";if(l){t.push(n),n="";continue}n+=a}var c=n;return t.push(c),t},sw=function(){return sw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},sw.apply(this,arguments)},ow=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},lw=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function la(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var i4=[la(n4,"undefined",function(){return null},function(){}),la(uH,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),la(oH,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),la(lH,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),la(sH,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
49),la(Lu,"set",function(e){return lw([],ow(e.values()))},function(e){return new Set(e)}),la(Bu,"map",function(e){return lw([],ow(e.entries()))},function(e){return new Map(e)}),la(function(e){return kC(e)||fH(e)},"number",function(e){return kC(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),la(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),la(pH,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function om(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var s4=om(function(e,t){if(r4(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),hH=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),o4=om(dH,function(e){return["typed-array",e.constructor.name]},function(e){return lw([],ow(e))},function(e,t){var n=hH[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function l4(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var c4=om(l4,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return sw({},e);var r={};return n.forEach(function(a){r[a]=e[a]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),u4=om(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),mH=[c4,s4,u4,o4],IC=function(e,t){var n=DC(mH,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=DC(i4,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},f4={};i4.forEach(function(e){f4[e.annotation]=e});var gH=function(e,t,n){if(Qi(t))switch(t[0]){case"symbol":return s4.untransform(e,t,n);case"class":return c4.untransform(e,t,n);case"custom":return u4.untransform(e,t,n);case"typed-array":return o4.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=f4[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},ll=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function d4(e){if(Hp(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Hp(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Hp(e,"constructor"))throw new Error("constructor is not allowed as a property")}var yH=function(e,t){d4(t);for(var n=0;n<t.length;n++){var r=t[n];if(Lu(e))e=ll(e,+r);else if(Bu(e)){var a=+r,s=+t[++n]==0?"key":"value",l=ll(e,a);switch(s){case"key":e=l;break;case"value":e=e.get(l);break}}else e=e[r]}return e},cw=function(e,t,n){if(d4(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var s=t[a];if(Qi(r)){var l=+s;r=r[l]}else if($u(r))r=r[s];else if(Lu(r)){var c=+s;r=ll(r,c)}else if(Bu(r)){var f=a===t.length-2;if(f)break;var c=+s,d=+t[++a]==0?"key":"value",m=ll(r,c);switch(d){case"key":r=m;break;case"value":r=r.get(m);break}}}var p=t[t.length-1];if(Qi(r)?r[+p]=n(r[+p]):$u(r)&&(r[p]=n(r[p])),Lu(r)){var y=ll(r,+p),b=n(y);y!==b&&(r.delete(y),r.add(b))}if(Bu(r)){var c=+t[t.length-2],A=ll(r,c),d=+p==0?"key":"value";switch(d){case"key":{var S=n(A);r.set(S,r.get(A)),S!==A&&r.delete(A);break}case"value":{r.set(A,n(r.get(A)));break}}}return e},Wa=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},Vi=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};
49function uw(e,t,n){if(n===void 0&&(n=[]),!!e){if(!Qi(e)){Ol(e,function(l,c){return uw(l,t,Vi(Vi([],Wa(n)),Wa(Au(c))))});return}var r=Wa(e,2),a=r[0],s=r[1];s&&Ol(s,function(l,c){uw(l,t,Vi(Vi([],Wa(n)),Wa(Au(c))))}),t(a,n)}}function vH(e,t,n){return uw(t,function(r,a){e=cw(e,a,function(s){return gH(s,r,n)})}),e}function bH(e,t){function n(l,c){var f=yH(e,Au(c));l.map(Au).forEach(function(d){e=cw(e,d,function(){return f})})}if(Qi(t)){var r=Wa(t,2),a=r[0],s=r[1];a.forEach(function(l){e=cw(e,Au(l),function(){return e})}),s&&Ol(s,n)}else Ol(t,n);return e}var xH=function(e,t){return $u(e)||Qi(e)||Bu(e)||Lu(e)||l4(e,t)};function wH(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function SH(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(f){return f.map(String)}).sort(function(f,d){return f.length-d.length}));var s=Wa(a),l=s[0],c=s.slice(1);l.length===0?r=c.map(wv):n[wv(l)]=c.map(wv)}}),r?iw(n)?[r]:[r,n]:iw(n)?void 0:n}var p4=function(e,t,n,r,a,s,l){var c;a===void 0&&(a=[]),s===void 0&&(s=[]),l===void 0&&(l=new Map);var f=cH(e);if(!f){wH(e,a,t);var d=l.get(e);if(d)return r?{transformedValue:null}:d}if(!xH(e,n)){var m=IC(e,n),p=m?{transformedValue:m.value,annotations:[m.type]}:{transformedValue:e};return f||l.set(e,p),p}if(Hp(s,e))return{transformedValue:null};var y=IC(e,n),b=(c=y?.value)!==null&&c!==void 0?c:e,A=Qi(b)?[]:{},S={};Ol(b,function(O,R){var j=p4(O,t,n,r,Vi(Vi([],Wa(a)),[R]),Vi(Vi([],Wa(s)),[e]),l);A[R]=j.transformedValue,Qi(j.annotations)?S[R]=j.annotations:$u(j.annotations)&&Ol(j.annotations,function(M,T){S[a4(R)+"."+T]=M})});var x=iw(S)?{transformedValue:A,annotations:y?[y.type]:void 0}:{transformedValue:A,annotations:y?[y.type,S]:S};return f||l.set(e,x),x};function h4(e){return Object.prototype.toString.call(e).slice(8,-1)}function $C(e){return h4(e)==="Array"}function AH(e){if(h4(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function OH(e,t,n,r,a){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),a&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function fw(e,t={}){if($C(e))return e.map(a=>fw(a,t));if(!AH(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,s)=>{if($C(t.props)&&!t.props.includes(s))return a;const l=e[s],c=fw(l,t);return OH(a,s,c,e,t.nonenumerable),a},{})}var Is=function(){return Is=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Is.apply(this,arguments)},TH=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},jH=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},li=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new Q9,this.symbolRegistry=new t4(function(s){var l;return(l=s.description)!==null&&l!==void 0?l:""}),this.customTransformerRegistry=new eH,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=p4(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=Is(Is({},a.meta),{values:r.annotations}));var s=SH(n,this.dedupe);return s&&(a.meta=Is(Is({},a.meta),{referentialEqualities:s})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=fw(n);return r?.values&&(a=vH(a,r.values,this)),r?.referentialEqualities&&(a=bH(a,r.referentialEqualities)),a},e.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},e.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},e.prototype.registerClass=function(t,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register(Is({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,jH([],TH(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();li.serialize;li.deserialize;li.stringify;li.parse;li.registerClass;li.registerCustom;li.registerSymbol;li.allowErrorProps;const m4=N.createContext(void 0);function EH({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=N.useState(()=>n&&localStorage.getItem("theme")||t);N.useEffect(()=>{const l=document.documentElement;
vendor: 4,098 bytes, line 49
49r==="dark"?l.classList.add("dark"):l.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const s=n?()=>{a(l=>l==="light"?"dark":"light")}:void 0;return g.jsx(m4.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:s,switchable:n},children:e})}function CH(){const e=N.useContext(m4);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}var gA=e4();const RH=mt(gA);function _H(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const MH=e=>{switch(e){case"success":return DH;case"info":return IH;case"warning":return kH;case"error":return $H;default:return null}},PH=Array(12).fill(0),NH=({visible:e,className:t})=>H.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},H.createElement("div",{className:"sonner-spinner"},PH.map((n,r)=>H.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),DH=H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),kH=H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},H.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),IH=H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),$H=H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},H.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),BH=H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},H.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),H.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),LH=()=>{const[e,t]=H.useState(document.hidden);return H.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let dw=1;class qH{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:dw++,l=this.toasts.find(f=>f.id===s),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(f=>f.id===s?(this.publish({...f,...t,id:s,title:r}),{...f,...t,id:s,dismissible:c,title:r}):f):this.addToast({title:r,...a,dismissible:c,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}
vendor: 2,869 bytes, line 49
49),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,l;const c=a.then(async d=>{if(l=["resolve",d],H.isValidElement(d))s=!1,this.create({id:r,type:"default",message:d});else if(HH(d)&&!d.ok){s=!1;const p=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,y=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,A=typeof p=="object"&&!H.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:y,...A})}else if(d instanceof Error){s=!1;const p=typeof n.error=="function"?await n.error(d):n.error,y=typeof n.description=="function"?await n.description(d):n.description,A=typeof p=="object"&&!H.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:y,...A})}else if(n.success!==void 0){s=!1;const p=typeof n.success=="function"?await n.success(d):n.success,y=typeof n.description=="function"?await n.description(d):n.description,A=typeof p=="object"&&!H.isValidElement(p)?p:{message:p};this.create({id:r,type:"success",description:y,...A})}}).catch(async d=>{if(l=["reject",d],n.error!==void 0){s=!1;const m=typeof n.error=="function"?await n.error(d):n.error,p=typeof n.description=="function"?await n.description(d):n.description,b=typeof m=="object"&&!H.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:p,...b})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),f=()=>new Promise((d,m)=>c.then(()=>l[0]==="reject"?m(l[1]):d(l[1])).catch(m));return typeof r!="string"&&typeof r!="number"?{unwrap:f}:Object.assign(r,{unwrap:f})},this.custom=(t,n)=>{const r=n?.id||dw++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Jn=new qH,zH=(e,t)=>{const n=t?.id||dw++;return Jn.addToast({title:e,...t,id:n}),n},HH=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",UH=zH,VH=()=>Jn.toasts,FH=()=>Jn.getActiveToasts();Object.assign(UH,{success:Jn.success,info:Jn.info,warning:Jn.warning,error:Jn.error,custom:Jn.custom,message:Jn.message,promise:Jn.promise,dismiss:Jn.dismiss,loading:Jn.loading},{getHistory:VH,getToasts:FH});_H
vendor: 14,873 bytes, line 49
49("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 544 bytes, line 49
49bp(e){return e.label!==void 0}const GH=3,KH="24px",YH="16px",BC=4e3,WH=356,QH=14,XH=45,ZH=200;function ca(...e){return e.filter(Boolean).join(" ")}function JH(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const eU=e=>{var t,n,r,a,s,l,c,f,d;const{invert:m,toast:p,unstyled:y,interacting:b,setHeights:A,visibleToasts:S,heights:x,index:O,toasts:R,expanded:j,removeToast:M,defaultRichColors:T,closeButton:C,style:E,cancelButtonStyle:P,actionButtonStyle:k,className:z="",descriptionClassName:B="",duration:U,position:F,gap:K,exp
vendor: 13,857 bytes, line 49
49andByDefault:Q,classNames:I,icons:L,closeButtonAriaLabel:q="Close toast"}=e,[Z,ie]=H.useState(null),[$,G]=H.useState(null),[Y,J]=H.useState(!1),[ue,he]=H.useState(!1),[me,be]=H.useState(!1),[de,ye]=H.useState(!1),[Ae,le]=H.useState(!1),[Le,Te]=H.useState(0),[nt,Ze]=H.useState(0),ut=H.useRef(p.duration||U||BC),jn=H.useRef(null),Ct=H.useRef(null),En=O===0,xt=O+1<=S,Ge=p.type,mn=p.dismissible!==!1,Ot=p.className||"",Ta=p.descriptionClassName||"",gt=H.useMemo(()=>x.findIndex(Re=>Re.toastId===p.id)||0,[x,p.id]),Qt=H.useMemo(()=>{var Re;return(Re=p.closeButton)!=null?Re:C},[p.closeButton,C]),vr=H.useMemo(()=>p.duration||U||BC,[p.duration,U]),gn=H.useRef(0),In=H.useRef(0),mo=H.useRef(0),zr=H.useRef(null),[Hn,rn]=F.split("-"),an=H.useMemo(()=>x.reduce((Re,Me,on)=>on>=gt?Re:Re+Me.height,0),[x,gt]),Pt=LH(),Hr=p.invert||m,Nt=Ge==="loading";In.current=H.useMemo(()=>gt*K+an,[gt,an]),H.useEffect(()=>{ut.current=vr},[vr]),H.useEffect(()=>{J(!0)},[]),H.useEffect(()=>{const Re=Ct.current;if(Re){const Me=Re.getBoundingClientRect().height;return Ze(Me),A(on=>[{toastId:p.id,height:Me,position:p.position},...on]),()=>A(on=>on.filter(Rn=>Rn.toastId!==p.id))}},[A,p.id]),H.useLayoutEffect(()=>{if(!Y)return;const Re=Ct.current,Me=Re.style.height;Re.style.height="auto";const on=Re.getBoundingClientRect().height;Re.style.height=Me,Ze(on),A(Rn=>Rn.find(_t=>_t.toastId===p.id)?Rn.map(_t=>_t.toastId===p.id?{..._t,height:on}:_t):[{toastId:p.id,height:on,position:p.position},...Rn])},[Y,p.title,p.description,A,p.id,p.jsx,p.action,p.cancel]);const Rt=H.useCallback(()=>{he(!0),Te(In.current),A(Re=>Re.filter(Me=>Me.toastId!==p.id)),setTimeout(()=>{M(p)},ZH)},[p,M,A,In]);H.useEffect(()=>{if(p.promise&&Ge==="loading"||p.duration===1/0||p.type==="loading")return;let Re;return j||b||Pt?(()=>{if(mo.current<gn.current){const Rn=new Date().getTime()-gn.current;ut.current=ut.current-Rn}mo.current=new Date().getTime()})():(()=>{ut.current!==1/0&&(gn.current=new Date().getTime(),Re=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),Rt()},ut.current))})(),()=>clearTimeout(Re)},[j,b,p,Ge,Pt,Rt]),H.useEffect(()=>{p.delete&&(Rt(),p.onDismiss==null||p.onDismiss.call(p,p))},[Rt,p.delete]);function Cn(){var Re;if(L?.loading){var Me;return H.createElement("div",{className:ca(I?.loader,p==null||(Me=p.classNames)==null?void 0:Me.loader,"sonner-loader"),"data-visible":Ge==="loading"},L.loading)}return H.createElement(NH,{className:ca(I?.loader,p==null||(Re=p.classNames)==null?void 0:Re.loader),visible:Ge==="loading"})}const ja=p.icon||L?.[Ge]||MH(Ge);var rr,sn;return H.createElement("li",{tabIndex:0,ref:Ct,className:ca(z,Ot,I?.toast,p==null||(t=p.classNames)==null?void 0:t.toast,I?.default,I?.[Ge],p==null||(n=p.classNames)==null?void 0:n[Ge]),"data-sonner-toast":"","data-rich-colors":(rr=p.richColors)!=null?rr:T,"data-styled":!(p.jsx||p.unstyled||y),"data-mounted":Y,"data-promise":!!p.promise,"data-swiped":Ae,"data-removed":ue,"data-visible":xt,"data-y-position":Hn,"data-x-position":rn,"data-index":O,"data-front":En,"data-swiping":me,"data-dismissible":mn,"data-type":Ge,"data-invert":Hr,"data-swipe-out":de,"data-swipe-direction":$,"data-expanded":!!(j||Q&&Y),"data-testid":p.testId,style:{"--index":O,"--toasts-before":O,"--z-index":R.length-O,"--offset":`${ue?Le:In.current}px`,"--initial-height":Q?"auto":`${nt}px`,...E,...p.style},onDragEnd:()=>{be(!1),ie(null),zr.current=null},onPointerDown:Re=>{Re.button!==2&&(Nt||!mn||(jn.current=new Date,Te(In.current),Re.target.setPointerCapture(Re.pointerId),Re.target.tagName!=="BUTTON"&&(be(!0),zr.current={x:Re.clientX,y:Re.clientY})))},onPointerUp:()=>{var Re,Me,on;if(de||!mn)return;zr.current=null;const Rn=Number(((Re=Ct.current)==null?void 0:Re.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),di=Number(((Me=Ct.current)==null?void 0:Me.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),_t=new Date().getTime()-((on=jn.current)==null?void 0:on.getTime()),Un=Z==="x"?Rn:di,us=Math.abs(Un)/_t;if(Math.abs(Un)>=XH||us>.11){Te(In.current),p.onDismiss==null||p.onDismiss.call(p,p),G(Z==="x"?Rn>0?"right":"left":di>0?"down":"up"),Rt(),ye(!0);return}else{var Vn,Fn;(Vn=Ct.current)==null||Vn.style.setProperty("--swipe-amount-x","0px"),(Fn=Ct.current)==null||Fn.style.setProperty("--swipe-amount-y","0px")}le(!1),be(!1),ie(null)},onPointerMove:Re=>{var Me,on,Rn;if(!zr.current||!mn||((Me=window.getSelection())==null?void 0:Me.toString().length)>0)return;const _t=Re.clientY-zr.current.y,Un=Re.clientX-zr.current.x;var us;const Vn=(us=e.swipeDirections)!=null?us:JH(F);!Z&&(Math.abs(Un)>1||Math.abs(_t)>1)&&ie(Math.abs(Un)>Math.abs(_t)?"x":"y");let Fn={x:0,y:0};const go=Ur=>1/(1.5+Math.abs(Ur)/20);if(Z==="y"){if(Vn.includes("top")||Vn.includes("bottom"))if(Vn.includes("top")&&_t<0||Vn.includes("bottom")&&_t>0)Fn.y=_t;else{const Ur=_t*go(_t);Fn.y=Math.abs(Ur)<Math.abs(_t)?Ur:_t}}else if(Z==="x"&&(Vn.includes("left")||Vn.includes("right")))if(Vn.includes("left")&&Un<0||Vn.includes("right")&&Un>0)Fn.x=Un;else{const Ur=Un*go(Un);Fn.x=Math.abs(Ur)<Math.abs(Un)?Ur:Un}(Math.abs(Fn.x)>0||Math.abs(Fn.y)>0)&&le(!0),(on=Ct.current)==null||on.style.setProperty("--swipe-amount-x",`${Fn.x}px`),(Rn=Ct.current)==null||Rn.style.setProperty("--swipe-amount-y",`${Fn.y}px`)}},Qt&&!p.jsx&&Ge!=="loading"?H.createElement("button",{"aria-label":q,"data-disabled":Nt,"data-close-button":!0,onClick:Nt||!mn?()=>{}:()=>{Rt(),p.onDismiss==null||p.onDismiss.call(p,p)},className:ca(I?.closeButton,p==null||(r=p.classNames)==null?void 0:r.closeButton)},(sn=L?.close)!=null?sn:BH):null,(Ge||p.icon||p.promise)&&p.icon!==null&&(L?.[Ge]!==null||p.icon)?H.createElement("div",{"data-icon":"",className:ca(I?.icon,p==null||(a=p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Cn():null,p.type!=="loading"?ja:null):null,H.createElement("div",{"data-content":"",className:ca(I?.content,p==null||(s=p.classNames)==null?void 0:s.content)},H.createElement("div",{"data-title":"",className:ca(I?.title,p==null||(l=p.classNames)==null?void 0:l.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?H.createElement("div",{"data-description":"",className:ca(B,Ta,I?.description,p==null||(c=p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),H.isValidElement(p.cancel)?p.cancel:p.cancel&&bp(p.cancel)?H.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||P,onClick:Re=>{bp(p.cancel)&&mn&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,Re),Rt())},className:ca(I?.cancelButton,p==null||(f=p.classNames)==null?void 0:f.cancelButton)},p.cancel.label):null,H.isValidElement(p.action)?p.action:p.action&&bp(p.action)?H.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||k,onClick:Re=>{bp(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,Re),!Re.defaultPrevented&&Rt())},className:ca(I?.actionButton,p==null||(d=p.classNames)==null?void 0:d.actionButton)},p.action.label):null)};function LC(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function tU(e,t){const n={};return[e,t].forEach((r,a)=>{const s=a===1,l=s?"--mobile-offset":"--offset",c=s?YH:KH;function f(d){["top","right","bottom","left"].forEach(m=>{n[`${l}-${m}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?f(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${l}-${d}`]=c:n[`${l}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):f(c)}),n}const nU=H.forwardRef(function(t,n){const{id:r,invert:a,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:d,offset:m,mobileOffset:p,theme:y="light",richColors:b,duration:A,style:S,visibleToasts:x=GH,toastOptions:O,dir:R=LC(),gap:j=QH,icons:M,containerAriaLabel:T="Notifications"}=t,[C,E]=H.useState([]),P=H.useMemo(()=>r?C.filter(Y=>Y.toasterId===r):C.filter(Y=>!Y.toasterId),[C,r]),k=H.useMemo(()=>Array.from(new Set([s].concat(P.filter(Y=>Y.position).map(Y=>Y.position)))),[P,s]),[z,B]=H.useState([]),[U,F]=H.useState(!1),[K,Q]=H.useState(!1),[I,L]=H.useState(y!=="system"?y:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),q=H.useRef(null),Z=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),ie=H.useRef(null),$=H.useRef(!1),G=H.useCallback(Y=>{E(J=>{var ue;return(ue=J.find(he=>he.id===Y.id))!=null&&ue.delete||Jn.dismiss(Y.id),J.filter(({id:he})=>he!==Y.id)})},[]);return H.useEffect(()=>Jn.subscribe(Y=>{if(Y.dismiss){requestAnimationFrame(()=>{E(J=>J.map(ue=>ue.id===Y.id?{...ue,delete:!0}:ue))});return}setTimeout(()=>{RH.flushSync(()=>{E(J=>{const ue=J.findIndex(he=>he.id===Y.id);return ue!==-1?[...J.slice(0,ue),{...J[ue],...Y},...J.slice(ue+1)]:[Y,...J]})})})}),[C]),H.useEffect(()=>{if(y!=="system"){L(y);return}if(y==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;const Y=window.matchMedia("(prefers-color-scheme: dark)");try{Y.addEventListener("change",({matches:J})=>{L(J?"dark":"light")})}catch{Y.addListener(({matches:ue})=>{try{L(ue?"dark":"light")}catch(he){console.error(he)}})}},[y]),H.useEffect(()=>{C.length<=1&&F(!1)},[C]),H.useEffect(()=>{const Y=J=>{var ue;if(l.every(be=>J[be]||J.code===be)){var me;F(!0),(me=q.current)==null||me.focus()}J.code==="Escape"&&(document.activeElement===q.current||(ue=q.current)!=null&&ue.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[l]),H.useEffect(()=>{if(q.current)return()=>{ie.current&&(ie.current.focus({preventScroll:!0}),ie.current=null,$.current=!1)}},[q.current]),H.createElement("section",{ref:n,"aria-label":`${T} ${Z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((Y,J)=>{var ue;const[he,me]=Y.split("-");return P.length?H.createElement("ol",{key:Y,dir:R==="auto"?LC():R,tabIndex:-1,ref:q,className:d,"data-sonner-toaster":!0,"data-sonner-theme":I,"data-y-position":he,"data-x-position":me,style:{"--front-toast-height":`${((ue=z[0])==null?void 0:ue.height)||0}px`,"--width":`${WH}px`,"--gap":`${j}px`,...S,...tU(m,p)},onBlur:be=>{$.current&&!be.currentTarget.contains(be.relatedTarget)&&($.current=!1,ie.current&&(ie.current.focus({preventScroll:!0}),ie.current=null))},onFocus:be=>{be.target instanceof HTMLElement&&be.target.dataset.dismissible==="false"||$.current||($.current=!0,ie.current=be.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{K||F(!1)},onDragEnd:()=>F(!1),onPointerDown:be=>{be.target instanceof HTMLElement&&be.target.dataset.dismissible==="false"||Q(!0)},onPointerUp:()=>Q(!1)},P.filter(be=>!be.position&&J===0||be.position===Y).map((be,de)=>{var ye,Ae;return H.createElement(eU,{key:be.id,icons:M,index:de,toast:be,defaultRichColors:b,duration:(ye=O?.duration)!=null?ye:A,className:O?.className,descriptionClassName:O?.descriptionClassName,invert:a,visibleToasts:x,closeButton:(Ae=O?.closeButton)!=null?Ae:f,interacting:K,position:Y,style:O?.style,unstyled:O?.unstyled,classNames:O?.classNames,cancelButtonStyle:O?.cancelButtonStyle,actionButtonStyle:O?.actionButtonStyle,closeButtonAriaLabel:O?.closeButtonAriaLabel,removeToast:G,toasts:P.filter(le=>le.position==be.position),heights:z.filter(le=>le.position==be.position),setHeights:B,expandByDefault:c,gap:j,expanded:U,swipeDirections:t.swipeDirections})})):null}))}),rU=({...e})=>{const{theme:t}=CH();return g.jsx(nU,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function Ka(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function qC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function g4(...e){return t=>{let n=!1;const r=e.map(a=>{const s=qC(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():qC(e[a],null)}}}}function so(...e){return N.useCallback(g4(...e),e)}function y4(e,t=[]){let n=[];function r(s,l){const c=N.createContext(l),f=n.length;n=[...n,l];const d=p=>{const{scope:y,children:b,...A}=p,S=y?.[e]?.[f]||c,x=N.useMemo(()=>A,Object.values(A));return g.jsx(S.Provider,{value:x,children:b})};d.displayName=s+"Provider";function m(p,y){const b=y?.[e]?.[f]||c,A=N.useContext(b);if(A)return A;if(l!==void 0)return l;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[d,m]}const a=()=>{const s=n.map(l=>N.createContext(l));return function(c){const f=c?.[e]||s;return N.useMemo(()=>({[`__scope${e}`]:{...c,[e]:f}}),[c,f])}};return a.scopeName=e,[r,aU(a,...t)]}function aU(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const l=r.reduce((c,{useScope:f,scopeName:d})=>{const p=f(s)[`__scope${d}`];return{...c,...p}},{});return N.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function v4(e){const t=sU(e),n=N.forwardRef((r,a)=>{const{children:s,...l}=r,c=N.Children.toArray(s),f=c.find(lU);if(f){const d=f.props.children,m=c.map(p=>p===f?N.Children.count(d)>1?N.Children.only(null):N.isValidElement(d)?d.props.children:null:p);return g.jsx(t,{...l,ref:a,children:N.isValidElement(d)?N.cloneElement(d,void 0,m):null})}return g.jsx(t,{...l,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}var iU=v4("Slot");function sU(e){const t=N.forwardRef((n,r)=>{const{children:a,...s}=n;
vendor: 5,247 bytes, line 49
49if(N.isValidElement(a)){const l=uU(a),c=cU(s,a.props);return a.type!==N.Fragment&&(c.ref=r?g4(r,l):l),N.cloneElement(a,c)}return N.Children.count(a)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var b4=Symbol("radix.slottable");function oU(e){const t=({children:n})=>g.jsx(g.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=b4,t}function lU(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===b4}function cU(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...c)=>{const f=s(...c);return a(...c),f}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function uU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oo=fU.reduce((e,t)=>{const n=v4(`Primitive.${t}`),r=N.forwardRef((a,s)=>{const{asChild:l,...c}=a,f=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(f,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function dU(e,t){e&&gA.flushSync(()=>e.dispatchEvent(t))}function lm(e){const t=N.useRef(e);return N.useEffect(()=>{t.current=e}),N.useMemo(()=>(...n)=>t.current?.(...n),[])}function pU(e,t=globalThis?.document){const n=lm(e);N.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var hU="DismissableLayer",pw="dismissableLayer.update",mU="dismissableLayer.pointerDownOutside",gU="dismissableLayer.focusOutside",zC,x4=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w4=N.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:c,...f}=e,d=N.useContext(x4),[m,p]=N.useState(null),y=m?.ownerDocument??globalThis?.document,[,b]=N.useState({}),A=so(t,E=>p(E)),S=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),O=S.indexOf(x),R=m?S.indexOf(m):-1,j=d.layersWithOutsidePointerEventsDisabled.size>0,M=R>=O,T=bU(E=>{const P=E.target,k=[...d.branches].some(z=>z.contains(P));!M||k||(a?.(E),l?.(E),E.defaultPrevented||c?.())},y),C=xU(E=>{const P=E.target;[...d.branches].some(z=>z.contains(P))||(s?.(E),l?.(E),E.defaultPrevented||c?.())},y);return pU(E=>{R===d.layers.size-1&&(r?.(E),!E.defaultPrevented&&c&&(E.preventDefault(),c()))},y),N.useEffect(()=>{if(m)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(zC=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),HC(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=zC)}},[m,y,n,d]),N.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),HC())},[m,d]),N.useEffect(()=>{const E=()=>b({});return document.addEventListener(pw,E),()=>document.removeEventListener(pw,E)},[]),g.jsx(oo.div,{...f,ref:A,style:{pointerEvents:j?M?"auto":"none":void 0,...e.style},onFocusCapture:Ka(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Ka(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ka(e.onPointerDownCapture,T.onPointerDownCapture)})});w4.displayName=hU;var yU="DismissableLayerBranch",vU=N.forwardRef((e,t)=>{const n=N.useContext(x4),r=N.useRef(null),a=so(t,r);return N.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),g.jsx(oo.div,{...e,ref:a})});vU.displayName=yU;function bU(e,t=globalThis?.document){const n=lm(e),r=N.useRef(!1),a=N.useRef(()=>{});return N.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let f=function(){S4(mU,n,d,{discrete:!0})};const d={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=f,t.addEventListener("click",a.current,{once:!0})):f()}else t.removeEventListener("click",a.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function xU(e,t=globalThis?.document){const n=lm(e),r=N.useRef(!1);return N.useEffect(()=>{const a=s=>{s.target&&!r.current&&S4(gU,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function HC(){const e=new CustomEvent(pw);document.dispatchEvent(e)}function S4(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?dU(a,s):a.dispatchEvent(s)}var qu=globalThis?.document?N.useLayoutEffect:()=>{};const wU=["top","right","bottom","left"],Xi=Math.min,hr=Math.max,Qp=Math.round,xp=Math.floor,ha=e=>({x:e,y:e}
vendor: 18,786 bytes, line 49
49),SU={left:"right",right:"left",bottom:"top",top:"bottom"},AU={start:"end",end:"start"};function hw(e,t,n){return hr(e,Xi(t,n))}function ei(e,t){return typeof e=="function"?e(t):e}function ti(e){return e.split("-")[0]}function Xl(e){return e.split("-")[1]}function yA(e){return e==="x"?"y":"x"}function vA(e){return e==="y"?"height":"width"}const OU=new Set(["top","bottom"]);function da(e){return OU.has(ti(e))?"y":"x"}function bA(e){return yA(da(e))}function TU(e,t,n){n===void 0&&(n=!1);const r=Xl(e),a=bA(e),s=vA(a);let l=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=Xp(l)),[l,Xp(l)]}function jU(e){const t=Xp(e);return[mw(e),t,mw(t)]}function mw(e){return e.replace(/start|end/g,t=>AU[t])}const UC=["left","right"],VC=["right","left"],EU=["top","bottom"],CU=["bottom","top"];function RU(e,t,n){switch(e){case"top":case"bottom":return n?t?VC:UC:t?UC:VC;case"left":case"right":return t?EU:CU;default:return[]}}function _U(e,t,n,r){const a=Xl(e);let s=RU(ti(e),n==="start",r);return a&&(s=s.map(l=>l+"-"+a),t&&(s=s.concat(s.map(mw)))),s}function Xp(e){return e.replace(/left|right|bottom|top/g,t=>SU[t])}function MU(e){return{top:0,right:0,bottom:0,left:0,...e}}function A4(e){return typeof e!="number"?MU(e):{top:e,right:e,bottom:e,left:e}}function Zp(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function FC(e,t,n){let{reference:r,floating:a}=e;const s=da(t),l=bA(t),c=vA(l),f=ti(t),d=s==="y",m=r.x+r.width/2-a.width/2,p=r.y+r.height/2-a.height/2,y=r[c]/2-a[c]/2;let b;switch(f){case"top":b={x:m,y:r.y-a.height};break;case"bottom":b={x:m,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:p};break;case"left":b={x:r.x-a.width,y:p};break;default:b={x:r.x,y:r.y}}switch(Xl(t)){case"start":b[l]-=y*(n&&d?-1:1);break;case"end":b[l]+=y*(n&&d?-1:1);break}return b}const PU=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:l}=n,c=s.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:p}=FC(d,r,f),y=r,b={},A=0;for(let S=0;S<c.length;S++){const{name:x,fn:O}=c[S],{x:R,y:j,data:M,reset:T}=await O({x:m,y:p,initialPlacement:r,placement:y,strategy:a,middlewareData:b,rects:d,platform:l,elements:{reference:e,floating:t}});m=R??m,p=j??p,b={...b,[x]:{...b[x],...M}},T&&A<=50&&(A++,typeof T=="object"&&(T.placement&&(y=T.placement),T.rects&&(d=T.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:a}):T.rects),{x:m,y:p}=FC(d,y,f)),S=-1)}return{x:m,y:p,placement:y,strategy:a,middlewareData:b}};async function zu(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:l,elements:c,strategy:f}=e,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:b=0}=ei(t,e),A=A4(b),x=c[y?p==="floating"?"reference":"floating":p],O=Zp(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:m,strategy:f})),R=p==="floating"?{x:r,y:a,width:l.floating.width,height:l.floating.height}:l.reference,j=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),M=await(s.isElement==null?void 0:s.isElement(j))?await(s.getScale==null?void 0:s.getScale(j))||{x:1,y:1}:{x:1,y:1},T=Zp(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:j,strategy:f}):R);return{top:(O.top-T.top+A.top)/M.y,bottom:(T.bottom-O.bottom+A.bottom)/M.y,left:(O.left-T.left+A.left)/M.x,right:(T.right-O.right+A.right)/M.x}}const NU=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:l,elements:c,middlewareData:f}=t,{element:d,padding:m=0}=ei(e,t)||{};if(d==null)return{};const p=A4(m),y={x:n,y:r},b=bA(a),A=vA(b),S=await l.getDimensions(d),x=b==="y",O=x?"top":"left",R=x?"bottom":"right",j=x?"clientHeight":"clientWidth",M=s.reference[A]+s.reference[b]-y[b]-s.floating[A],T=y[b]-s.reference[b],C=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let E=C?C[j]:0;(!E||!await(l.isElement==null?void 0:l.isElement(C)))&&(E=c.floating[j]||s.floating[A]);const P=M/2-T/2,k=E/2-S[A]/2-1,z=Xi(p[O],k),B=Xi(p[R],k),U=z,F=E-S[A]-B,K=E/2-S[A]/2+P,Q=hw(U,K,F),I=!f.arrow&&Xl(a)!=null&&K!==Q&&s.reference[A]/2-(K<U?z:B)-S[A]/2<0,L=I?K<U?K-U:K-F:0;return{[b]:y[b]+L,data:{[b]:Q,centerOffset:K-Q-L,...I&&{alignmentOffset:L}},reset:I}}}),DU=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:l,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:S=!0,...x}=ei(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const O=ti(a),R=da(c),j=ti(c)===c,M=await(f.isRTL==null?void 0:f.isRTL(d.floating)),T=y||(j||!S?[Xp(c)]:jU(c)),C=A!=="none";!y&&C&&T.push(..._U(c,S,A,M));const E=[c,...T],P=await zu(t,x),k=[];let z=((r=s.flip)==null?void 0:r.overflows)||[];if(m&&k.push(P[O]),p){const K=TU(a,l,M);k.push(P[K[0]],P[K[1]])}if(z=[...z,{placement:a,overflows:k}],!k.every(K=>K<=0)){var B,U;const K=(((B=s.flip)==null?void 0:B.index)||0)+1,Q=E[K];if(Q&&(!(p==="alignment"?R!==da(Q):!1)||z.every(q=>da(q.placement)===R?q.overflows[0]>0:!0)))return{data:{index:K,overflows:z},reset:{placement:Q}};let I=(U=z.filter(L=>L.overflows[0]<=0).sort((L,q)=>L.overflows[1]-q.overflows[1])[0])==null?void 0:U.placement;if(!I)switch(b){case"bestFit":{var F;const L=(F=z.filter(q=>{if(C){const Z=da(q.placement);return Z===R||Z==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(Z=>Z>0).reduce((Z,ie)=>Z+ie,0)]).sort((q,Z)=>q[1]-Z[1])[0])==null?void 0:F[0];L&&(I=L);break}case"initialPlacement":I=c;break}if(a!==I)return{reset:{placement:I}}}return{}}}};function GC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function KC(e){return wU.some(t=>e[t]>=0)}const kU=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=ei(e,t);switch(r){case"referenceHidden":{const s=await zu(t,{...a,elementContext:"reference"}),l=GC(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:KC(l)}}}case"escaped":{const s=await zu(t,{...a,altBoundary:!0}),l=GC(s,n.floating);return{data:{escapedOffsets:l,escaped:KC(l)}}}default:return{}}}}},O4=new Set(["left","top"]);async function IU(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),l=ti(n),c=Xl(n),f=da(n)==="y",d=O4.has(l)?-1:1,m=s&&f?-1:1,p=ei(t,e);let{mainAxis:y,crossAxis:b,alignmentAxis:A}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof A=="number"&&(b=c==="end"?A*-1:A),f?{x:b*m,y:y*d}:{x:y*d,y:b*m}}const $U=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:l,middlewareData:c}=t,f=await IU(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+f.x,y:s+f.y,data:{...f,placement:l}}}}},BU=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:x=>{let{x:O,y:R}=x;return{x:O,y:R}}},...f}=ei(e,t),d={x:n,y:r},m=await zu(t,f),p=da(ti(a)),y=yA(p);let b=d[y],A=d[p];if(s){const x=y==="y"?"top":"left",O=y==="y"?"bottom":"right",R=b+m[x],j=b-m[O];b=hw(R,b,j)}if(l){const x=p==="y"?"top":"left",O=p==="y"?"bottom":"right",R=A+m[x],j=A-m[O];A=hw(R,A,j)}const S=c.fn({...t,[y]:b,[p]:A});return{...S,data:{x:S.x-n,y:S.y-r,enabled:{[y]:s,[p]:l}}}}}},LU=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:l}=t,{offset:c=0,mainAxis:f=!0,crossAxis:d=!0}=ei(e,t),m={x:n,y:r},p=da(a),y=yA(p);let b=m[y],A=m[p];const S=ei(c,t),x=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(f){const j=y==="y"?"height":"width",M=s.reference[y]-s.floating[j]+x.mainAxis,T=s.reference[y]+s.reference[j]-x.mainAxis;b<M?b=M:b>T&&(b=T)}if(d){var O,R;const j=y==="y"?"width":"height",M=O4.has(ti(a)),T=s.reference[p]-s.floating[j]+(M&&((O=l.offset)==null?void 0:O[p])||0)+(M?0:x.crossAxis),C=s.reference[p]+s.reference[j]+(M?0:((R=l.offset)==null?void 0:R[p])||0)-(M?x.crossAxis:0);A<T?A=T:A>C&&(A=C)}return{[y]:b,[p]:A}}}},qU=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:l,elements:c}=t,{apply:f=()=>{},...d}=ei(e,t),m=await zu(t,d),p=ti(a),y=Xl(a),b=da(a)==="y",{width:A,height:S}=s.floating;let x,O;p==="top"||p==="bottom"?(x=p,O=y===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(O=p,x=y==="end"?"top":"bottom");const R=S-m.top-m.bottom,j=A-m.left-m.right,M=Xi(S-m[x],R),T=Xi(A-m[O],j),C=!t.middlewareData.shift;let E=M,P=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=j),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=R),C&&!y){const z=hr(m.left,0),B=hr(m.right,0),U=hr(m.top,0),F=hr(m.bottom,0);b?P=A-2*(z!==0||B!==0?z+B:hr(m.left,m.right)):E=S-2*(U!==0||F!==0?U+F:hr(m.top,m.bottom))}await f({...t,availableWidth:P,availableHeight:E});const k=await l.getDimensions(c.floating);return A!==k.width||S!==k.height?{reset:{rects:!0}}:{}}}};function cm(){return typeof window<"u"}function Zl(e){return T4(e)?(e.nodeName||"").toLowerCase():"#document"}function yr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Aa(e){var t;return(t=(T4(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function T4(e){return cm()?e instanceof Node||e instanceof yr(e).Node:!1}function Jr(e){return cm()?e instanceof Element||e instanceof yr(e).Element:!1}function ba(e){return cm()?e instanceof HTMLElement||e instanceof yr(e).HTMLElement:!1}function YC(e){return!cm()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yr(e).ShadowRoot}const zU=new Set(["inline","contents"]);function kf(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=ea(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!zU.has(a)}const HU=new Set(["table","td","th"]);function UU(e){return HU.has(Zl(e))}const VU=[":popover-open",":modal"];function um(e){return VU.some(t=>{try{return e.matches(t)}catch{return!1}})}const FU=["transform","translate","scale","rotate","perspective"],GU=["transform","translate","scale","rotate","perspective","filter"],KU=["paint","layout","strict","content"];function xA(e){const t=wA(),n=Jr(e)?ea(e):e;return FU.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)||GU.some(r=>(n.willChange||"").includes(r))||KU.some(r=>(n.contain||"").includes(r))}function YU(e){let t=Zi(e);for(;ba(t)&&!Tl(t);){if(xA(t))return t;if(um(t))return null;t=Zi(t)}return null}function wA(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const WU=new Set(["html","body","#document"]);function Tl(e){return WU.has(Zl(e))}function ea(e){return yr(e).getComputedStyle(e)}function fm(e){return Jr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zi(e){if(Zl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||YC(e)&&e.host||Aa(e);return YC(t)?t.host:t}function j4(e){const t=Zi(e);return Tl(t)?e.ownerDocument?e.ownerDocument.body:e.body:ba(t)&&kf(t)?t:j4(t)}function Hu(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=j4(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),l=yr(a);if(s){const c=gw(l);return t.concat(l,l.visualViewport||[],kf(a)?a:[],c&&n?Hu(c):[])}return t.concat(a,Hu(a,[],n))}function gw(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function E4(e){const t=ea(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=ba(e),s=a?e.offsetWidth:n,l=a?e.offsetHeight:r,c=Qp(n)!==s||Qp(r)!==l;return c&&(n=s,r=l),{width:n,height:r,$:c}}function SA(e){return Jr(e)?e:e.contextElement}function yl(e){const t=SA(e);if(!ba(t))return ha(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=E4(t);let l=(s?Qp(n.width):n.width)/r,c=(s?Qp(n.height):n.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const QU=ha(0);function C4(e){const t=yr(e);return!wA()||!t.visualViewport?QU:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function XU(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yr(e)?!1:t}function Qs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=SA(e);let l=ha(1);t&&(r?Jr(r)&&(l=yl(r)):l=yl(e));const c=XU(s,n,r)?C4(s):ha(0);let f=(a.left+c.x)/l.x,d=(a.top+c.y)/l.y,m=a.width/l.x,p=a.height/l.y;if(s){const y=yr(s),b=r&&Jr(r)?yr(r):r;let A=y,S=gw(A);for(;S&&r&&b!==A;){const x=yl(S),O=S.getBoundingClientRect(),R=ea(S),j=O.left+(S.clientLeft+parseFloat(R.paddingLeft))*x.x,M=O.top+(S.clientTop+parseFloat(R.paddingTop))*x.y;f*=x.x,d*=x.y,m*=x.x,p*=x.y,f+=j,d+=M,A=yr(S),S=gw(A)}}return Zp({width:m,height:p,x:f,y:d})}function dm(e,t){const n=fm(e).scrollLeft;return t?t.left+n:Qs(Aa(e)).left+n}function R4(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-dm(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function ZU(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",l=Aa(r),c=t?um(t.floating):!1;if(r===l||c&&s)return n;let f={scrollLeft:0,scrollTop:0},d=ha(1);const m=ha(0),p=ba(r);if((p||!p&&!s)&&((Zl(r)!=="body"||kf(l))&&(f=fm(r)),ba(r))){const b=Qs(r);d=yl(r),m.x=b.x+r.clientLeft,m.y=b.y+r.clientTop}const y=l&&!p&&!s?R4(l,f):ha(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-f.scrollLeft*d.x+m.x+y.x,y:n.y*d.y-f.scrollTop*d.y+m.y+y.y}}function JU(e){return Array.from(e.getClientRects())}function eV(e){const t=Aa(e),n=fm(e),r=e.ownerDocument.body,a=hr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=hr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+dm(e);const c=-n.scrollTop;return ea(r).direction==="rtl"&&(l+=hr(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:l,y:c}}const WC=25;function tV(e,t){const n=yr(e),r=Aa(e),a=n.visualViewport;let s=r.clientWidth,l=r.clientHeight,c=0,f=0;if(a){s=a.width,l=a.height;const m=wA();(!m||m&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}const d=dm(r);if(d<=0){const m=r.ownerDocument,p=m.body,y=getComputedStyle(p),b=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,A=Math.abs(r.clientWidth-p.clientWidth-b);A<=WC&&(s-=A)}else d<=WC&&(s+=d);return{width:s,height:l,x:c,y:f}}const nV=new Set(["absolute","fixed"]);function rV(e,t){const n=Qs(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=ba(e)?yl(e):ha(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,f=a*s.x,d=r*s.y;return{width:l,height:c,x:f,y:d}}function QC(e,t,n){let r;if(t==="viewport")r=tV(e,n);else if(t==="document")r=eV(Aa(e));else if(Jr(t))r=rV(t,n);else{const a=C4(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Zp(r)}function _4(e,t){const n=Zi(e);return n===t||!Jr(n)||Tl(n)?!1:ea(n).position==="fixed"||_4(n,t)}function aV(e,t){const n=t.get(e);if(n)return n;let r=Hu(e,[],!1).filter(c=>Jr(c)&&Zl(c)!=="body"),a=null;const s=ea(e).position==="fixed";let l=s?Zi(e):e;for(;Jr(l)&&!Tl(l);){const c=ea(l),f=xA(l);!f&&c.position==="fixed"&&(a=null),(s?!f&&!a:!f&&c.position==="static"&&!!a&&nV.has(a.position)||kf(l)&&!f&&_4(e,l))?r=r.filter(m=>m!==l):a=c,l=Zi(l)}return t.set(e,r),r}function iV(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const l=[...n==="clippingAncestors"?um(t)?[]:aV(t,this._c):[].concat(n),r],c=l[0],f=l.reduce((d,m)=>{const p=QC(t,m,a);return d.top=hr(p.top,d.top),d.right=Xi(p.right,d.right),d.bottom=Xi(p.bottom,d.bottom),d.left=hr(p.left,d.left),d},QC(t,c,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function sV(e){const{width:t,height:n}=E4(e);return{width:t,height:n}}function oV(e,t,n){const r=ba(t),a=Aa(t),s=n==="fixed",l=Qs(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const f=ha(0);function d(){f.x=dm(a)}if(r||!r&&!s)if((Zl(t)!=="body"||kf(a))&&(c=fm(t)),r){const b=Qs(t,!0,s,t);f.x=b.x+t.clientLeft,f.y=b.y+t.clientTop}else a&&d();s&&!r&&a&&d();const m=a&&!r&&!s?R4(a,c):ha(0),p=l.left+c.scrollLeft-f.x-m.x,y=l.top+c.scrollTop-f.y-m.y;return{x:p,y,width:l.width,height:l.height}}function Sv(e){return ea(e).position==="static"}function XC(e,t){if(!ba(e)||ea(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Aa(e)===n&&(n=n.ownerDocument.body),n}function M4(e,t){const n=yr(e);if(um(e))return n;if(!ba(e)){let a=Zi(e);for(;a&&!Tl(a);){if(Jr(a)&&!Sv(a))return a;a=Zi(a)}return n}let r=XC(e,t);for(;r&&UU(r)&&Sv(r);)r=XC(r,t);return r&&Tl(r)&&Sv(r)&&!xA(r)?n:r||YU(e)||n}const lV=async function(e){const t=this.getOffsetParent||M4,n=this.getDimensions,r=await n(e.floating);return{reference:oV(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function cV(e){return ea(e).direction==="rtl"}const uV={convertOffsetParentRelativeRectToViewportRelativeRect:ZU,getDocumentElement:Aa,getClippingRect:iV,getOffsetParent:M4,getElementRects:lV,getClientRects:JU,getDimensions:sV,getScale:yl,isElement:Jr,isRTL:cV};function P4(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fV(e,t){let n=null,r;const a=Aa(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function l(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();const d=e.getBoundingClientRect(),{left:m,top:p,width:y,height:b}=d;if(c||t(),!y||!b)return;const A=xp(p),S=xp(a.clientWidth-(m+y)),x=xp(a.clientHeight-(p+b)),O=xp(m),j={rootMargin:-A+"px "+-S+"px "+-x+"px "+-O+"px",threshold:hr(0,Xi(1,f))||1};let M=!0;function T(C){const E=C[0].intersectionRatio;if(E!==f){if(!M)return l();E?l(!1,E):r=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!P4(d,e.getBoundingClientRect())&&l(),M=!1}try{n=new IntersectionObserver(T,{...j,root:a.ownerDocument})}catch{n=new IntersectionObserver(T,j)}n.observe(e)}return l(!0),s}function dV(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,d=SA(e),m=a||s?[...d?Hu(d):[],...Hu(t)]:[];m.forEach(O=>{a&&O.addEventListener("scroll",n,{passive:!0}),s&&O.addEventListener("resize",n)});const p=d&&c?fV(d,n):null;let y=-1,b=null;
vendor: 4,465 bytes, line 49
49l&&(b=new ResizeObserver(O=>{let[R]=O;R&&R.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var j;(j=b)==null||j.observe(t)})),n()}),d&&!f&&b.observe(d),b.observe(t));let A,S=f?Qs(e):null;f&&x();function x(){const O=Qs(e);S&&!P4(S,O)&&n(),S=O,A=requestAnimationFrame(x)}return n(),()=>{var O;m.forEach(R=>{a&&R.removeEventListener("scroll",n),s&&R.removeEventListener("resize",n)}),p?.(),(O=b)==null||O.disconnect(),b=null,f&&cancelAnimationFrame(A)}}const pV=$U,hV=BU,mV=DU,gV=qU,yV=kU,ZC=NU,vV=LU,bV=(e,t,n)=>{const r=new Map,a={platform:uV,...n},s={...a.platform,_c:r};return PU(e,t,{...a,platform:s})};var xV=typeof document<"u",wV=function(){},Up=xV?N.useLayoutEffect:wV;function Jp(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,a;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(!Jp(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!Jp(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function N4(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function JC(e,t){const n=N4(e);return Math.round(t*n)/n}function Av(e){const t=N.useRef(e);return Up(()=>{t.current=e}),t}function SV(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:f,open:d}=e,[m,p]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,b]=N.useState(r);Jp(y,r)||b(r);const[A,S]=N.useState(null),[x,O]=N.useState(null),R=N.useCallback(q=>{q!==C.current&&(C.current=q,S(q))},[]),j=N.useCallback(q=>{q!==E.current&&(E.current=q,O(q))},[]),M=s||A,T=l||x,C=N.useRef(null),E=N.useRef(null),P=N.useRef(m),k=f!=null,z=Av(f),B=Av(a),U=Av(d),F=N.useCallback(()=>{if(!C.current||!E.current)return;const q={placement:t,strategy:n,middleware:y};B.current&&(q.platform=B.current),bV(C.current,E.current,q).then(Z=>{const ie={...Z,isPositioned:U.current!==!1};K.current&&!Jp(P.current,ie)&&(P.current=ie,gA.flushSync(()=>{p(ie)}))})},[y,t,n,B,U]);Up(()=>{d===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,p(q=>({...q,isPositioned:!1})))},[d]);const K=N.useRef(!1);Up(()=>(K.current=!0,()=>{K.current=!1}),[]),Up(()=>{if(M&&(C.current=M),T&&(E.current=T),M&&T){if(z.current)return z.current(M,T,F);F()}},[M,T,F,z,k]);const Q=N.useMemo(()=>({reference:C,floating:E,setReference:R,setFloating:j}),[R,j]),I=N.useMemo(()=>({reference:M,floating:T}),[M,T]),L=N.useMemo(()=>{const q={position:n,left:0,top:0};if(!I.floating)return q;const Z=JC(I.floating,m.x),ie=JC(I.floating,m.y);return c?{...q,transform:"translate("+Z+"px, "+ie+"px)",...N4(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Z,top:ie}},[n,c,I.floating,m.x,m.y]);return N.useMemo(()=>({...m,update:F,refs:Q,elements:I,floatingStyles:L}),[m,F,Q,I,L])}const AV=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ZC({element:r.current,padding:a}).fn(n):{}:r?ZC({element:r,padding:a}).fn(n):{}}}},OV=(e,t)=>({...pV(e),options:[e,t]}),TV=(e,t)=>({...hV(e),options:[e,t]}),jV=(e,t)=>({...vV(e),options:[e,t]}),EV=(e,t)=>({...mV(e),options:[e,t]}),CV=(e,t)=>({...gV(e),options:[e,t]}),RV=(e,t)=>({...yV(e),options:[e,t]}),_V=(e,t)=>({...AV(e),options:[e,t]});var MV="Arrow",D4=N.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return g.jsx(oo.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:g.jsx("polygon",{points:"0,0 30,0 15,10"})})});D4.displayName=MV;var PV=D4;function NV(e){const[t,n]=N.useState(void 0);return qu(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let l,c;if("borderBoxSize"in s){const f=s.borderBoxSize,d=Array.isArray(f)?f[0]:f;l=d.inlineSize,c=d.blockSize}else l=e.offsetWidth,c=e.offsetHeight;n({width:l,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var k4="Popper",[I4,$4]=y4(k4),[Dhe,B4]=I4(k4),L4="PopperAnchor",q4=N.forwardRef((e,t)=>
vendor: 4,153 bytes, line 49
49{const{__scopePopper:n,virtualRef:r,...a}=e,s=B4(L4,n),l=N.useRef(null),c=so(t,l),f=N.useRef(null);return N.useEffect(()=>{const d=f.current;f.current=r?.current||l.current,d!==f.current&&s.onAnchorChange(f.current)}),r?null:g.jsx(oo.div,{...a,ref:c})});q4.displayName=L4;var AA="PopperContent",[DV,kV]=I4(AA),z4=N.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:d=[],collisionPadding:m=0,sticky:p="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:A,...S}=e,x=B4(AA,n),[O,R]=N.useState(null),j=so(t,me=>R(me)),[M,T]=N.useState(null),C=NV(M),E=C?.width??0,P=C?.height??0,k=r+(s!=="center"?"-"+s:""),z=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(d)?d:[d],U=B.length>0,F={padding:z,boundary:B.filter($V),altBoundary:U},{refs:K,floatingStyles:Q,placement:I,isPositioned:L,middlewareData:q}=SV({strategy:"fixed",placement:k,whileElementsMounted:(...me)=>dV(...me,{animationFrame:b==="always"}),elements:{reference:x.anchor},middleware:[OV({mainAxis:a+P,alignmentAxis:l}),f&&TV({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?jV():void 0,...F}),f&&EV({...F}),CV({...F,apply:({elements:me,rects:be,availableWidth:de,availableHeight:ye})=>{const{width:Ae,height:le}=be.reference,Le=me.floating.style;Le.setProperty("--radix-popper-available-width",`${de}px`),Le.setProperty("--radix-popper-available-height",`${ye}px`),Le.setProperty("--radix-popper-anchor-width",`${Ae}px`),Le.setProperty("--radix-popper-anchor-height",`${le}px`)}}),M&&_V({element:M,padding:c}),BV({arrowWidth:E,arrowHeight:P}),y&&RV({strategy:"referenceHidden",...F})]}),[Z,ie]=V4(I),$=lm(A);qu(()=>{L&&$?.()},[L,$]);const G=q.arrow?.x,Y=q.arrow?.y,J=q.arrow?.centerOffset!==0,[ue,he]=N.useState();return qu(()=>{O&&he(window.getComputedStyle(O).zIndex)},[O]),g.jsx("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:L?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[q.transformOrigin?.x,q.transformOrigin?.y].join(" "),...q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:g.jsx(DV,{scope:n,placedSide:Z,onArrowChange:T,arrowX:G,arrowY:Y,shouldHideArrow:J,children:g.jsx(oo.div,{"data-side":Z,"data-align":ie,...S,ref:j,style:{...S.style,animation:L?void 0:"none"}})})})});z4.displayName=AA;var H4="PopperArrow",IV={top:"bottom",right:"left",bottom:"top",left:"right"},U4=N.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=kV(H4,r),l=IV[s.placedSide];return g.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:g.jsx(PV,{...a,ref:n,style:{...a.style,display:"block"}})})});U4.displayName=H4;function $V(e){return e!==null}var BV=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,l=a.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[d,m]=V4(n),p={start:"0%",center:"50%",end:"100%"}[m],y=(a.arrow?.x??0)+c/2,b=(a.arrow?.y??0)+f/2;let A="",S="";return d==="bottom"?(A=l?p:`${y}px`,S=`${-f}px`):d==="top"?(A=l?p:`${y}px`,S=`${r.floating.height+f}px`):d==="right"?(A=`${-f}px`,S=l?p:`${b}px`):d==="left"&&(A=`${r.floating.width+f}px`,S=l?p:`${b}px`),{data:{x:A,y:S}}}});function V4(e){const[t,n="center"]=e.split("-");return[t,n]}var LV=q4,qV=z4,zV=U4;function HV(e,t){return N.useReducer((n,r)=>t[n][r]??n,e)}var F4=e=>{const{present:t,children:n}=e,r=UV(t),a=typeof n=="function"?n({present:r.isPresent}):N.Children.only(n),s=so(r.ref,VV(a));return typeof n=="function"||r.isPresent?N.cloneElement(a,{ref:s}):null};F4.displayName="Presence";function UV(e){const[t,n]=N.useState(),r=N.useRef(null),a=N.useRef(e),s=N.useRef("none"),l=e?"mounted":"unmounted",[c,f]=HV(l,{mou
vendor: 4,910 bytes, line 49
49nted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const d=wp(r.current);s.current=c==="mounted"?d:"none"},[c]),qu(()=>{const d=r.current,m=a.current;if(m!==e){const y=s.current,b=wp(d);e?f("MOUNT"):b==="none"||d?.display==="none"?f("UNMOUNT"):f(m&&y!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,f]),qu(()=>{if(t){let d;const m=t.ownerDocument.defaultView??window,p=b=>{const S=wp(r.current).includes(CSS.escape(b.animationName));if(b.target===t&&S&&(f("ANIMATION_END"),!a.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",d=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},y=b=>{b.target===t&&(s.current=wp(r.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{m.clearTimeout(d),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:N.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function wp(e){return e?.animationName||"none"}function VV(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var FV=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),GV="VisuallyHidden",G4=N.forwardRef((e,t)=>g.jsx(oo.span,{...e,ref:t,style:{...FV,...e.style}}));G4.displayName=GV;var KV=G4,[pm]=y4("Tooltip",[$4]),OA=$4(),K4="TooltipProvider",YV=700,eR="tooltip.open",[WV,Y4]=pm(K4),W4=e=>{const{__scopeTooltip:t,delayDuration:n=YV,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,l=N.useRef(!0),c=N.useRef(!1),f=N.useRef(0);return N.useEffect(()=>{const d=f.current;return()=>window.clearTimeout(d)},[]),g.jsx(WV,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:N.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:N.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:N.useCallback(d=>{c.current=d},[]),disableHoverableContent:a,children:s})};W4.displayName=K4;var Q4="Tooltip",[khe,hm]=pm(Q4),yw="TooltipTrigger",QV=N.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=hm(yw,n),s=Y4(yw,n),l=OA(n),c=N.useRef(null),f=so(t,c,a.onTriggerChange),d=N.useRef(!1),m=N.useRef(!1),p=N.useCallback(()=>d.current=!1,[]);return N.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),g.jsx(LV,{asChild:!0,...l,children:g.jsx(oo.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:f,onPointerMove:Ka(e.onPointerMove,y=>{y.pointerType!=="touch"&&!m.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),m.current=!0)}),onPointerLeave:Ka(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:Ka(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Ka(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:Ka(e.onBlur,a.onClose),onClick:Ka(e.onClick,a.onClose)})})});QV.displayName=yw;var XV="TooltipPortal",[Ihe,ZV]=pm(XV,{forceMount:void 0}),jl="TooltipContent",JV=N.forwardRef((e,t)=>{const n=ZV(jl,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...s}=e,l=hm(jl,e.__scopeTooltip);return g.jsx(F4,{present:r||l.open,children:l.disableHoverableContent?g.jsx(X4,{side:a,...s,ref:t}):g.jsx(eF,{side:a,...s,ref:t})})}),eF=N.forwardRef((e,t)=>{const n=hm(jl,e.__scopeTooltip),r=Y4(jl,e.__scopeTooltip),a=N.useRef(null),s=so(t,a),[l,c]=N.useState(null),{trigger:f,onClose:d}=n,m=a.current,{onPointerInTransitChange:p}=r,y=N.useCallback(()=>{c(null),p(!1)},[p]),b=N.useCallback((A,S)=>{const x=A.currentTarget,O={x:A.clientX,y:A.clientY},R=iF(O,x.getBoundingClientRect()),j=sF(O,R),M=oF(S.getBoundingClientRect()),T=cF([...j,...M]);c(T),p(!0)},[p]);return N.useEffect(()=>()=>y(),[y]),N.useEffect(()=>{if(f&&m){const A=x=>b(x,m),S=x=>b(x,f);return f.addEventListener("pointerleave",A),m.addEventListener("pointerleave",S),()=>{f.removeEventListener("pointerleave",A),m.removeEventListener("pointerleave",S)}}},[f,m,b,y]),N.useEffect(()=>{if(l){const A=S=>{const x=S.target,O={x:S.clientX,y:S.clientY},R=f?.contains(x)||m?.contains(x),j=!lF(O,l);R?y():j&&(y(),d())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[f,m,l,d,y]),g.jsx(X4,{...e,ref:s})}),[tF,nF]=pm(Q4,{isInside:!1}),rF=oU("TooltipContent"),X4=N.forwardRef((e,t)=>
vendor: 10,637 bytes, line 49
49{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:l,...c}=e,f=hm(jl,n),d=OA(n),{onClose:m}=f;return N.useEffect(()=>(document.addEventListener(eR,m),()=>document.removeEventListener(eR,m)),[m]),N.useEffect(()=>{if(f.trigger){const p=y=>{y.target?.contains(f.trigger)&&m()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[f.trigger,m]),g.jsx(w4,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:p=>p.preventDefault(),onDismiss:m,children:g.jsxs(qV,{"data-state":f.stateAttribute,...d,...c,ref:t,style:{...c.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:[g.jsx(rF,{children:r}),g.jsx(tF,{scope:n,isInside:!0,children:g.jsx(KV,{id:f.contentId,role:"tooltip",children:a||r})})]})})});JV.displayName=jl;var Z4="TooltipArrow",aF=N.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=OA(n);return nF(Z4,n).isInside?null:g.jsx(zV,{...a,...r,ref:t})});aF.displayName=Z4;function iF(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,a,s)){case s:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sF(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 oF(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function lF(e,t){const{x:n,y:r}=e;let a=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const c=t[s],f=t[l],d=c.x,m=c.y,p=f.x,y=f.y;m>r!=y>r&&n<(p-d)*(r-m)/(y-m)+d&&(a=!a)}return a}function cF(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),uF(t)}function uF(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(a.y-l.y)>=(s.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const s=n[n.length-1],l=n[n.length-2];if((s.x-l.x)*(a.y-l.y)>=(s.y-l.y)*(a.x-l.x))n.pop();else break}n.push(a)}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 fF=W4;function J4(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=J4(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qe(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=J4(e))&&(r&&(r+=" "),r+=t);return r}const TA="-",dF=e=>{const t=hF(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const c=l.split(TA);return c[0]===""&&c.length!==1&&c.shift(),eI(c,t)||pF(l)},getConflictingClassGroupIds:(l,c)=>{const f=n[l]||[];return c&&r[l]?[...f,...r[l]]:f}}},eI=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?eI(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(TA);return t.validators.find(({validator:l})=>l(s))?.classGroupId},tR=/^\[(.+)\]$/,pF=e=>{if(tR.test(e)){const t=tR.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},hF=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)vw(n[a],r,a,t);return r},vw=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:nR(t,a);s.classGroupId=n;return}if(typeof a=="function"){if(mF(a)){vw(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,l])=>{vw(l,nR(t,s),n,r)})})},nR=(e,t)=>{let n=e;return t.split(TA).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},mF=e=>e.isThemeGetter,gF=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(s,l)=>{n.set(s,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){n.has(s)?n.set(s,l):a(s,l)}}},bw="!",xw=":",yF=xw.length,vF=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let l=0,c=0,f=0,d;for(let A=0;A<a.length;A++){let S=a[A];if(l===0&&c===0){if(S===xw){s.push(a.slice(f,A)),f=A+yF;continue}if(S==="/"){d=A;continue}}S==="["?l++:S==="]"?l--:S==="("?c++:S===")"&&c--}const m=s.length===0?a:a.substring(f),p=bF(m),y=p!==m,b=d&&d>f?d-f:void 0;return{modifiers:s,hasImportantModifier:y,baseClassName:p,maybePostfixModifierPosition:b}};if(t){const a=t+xw,s=r;r=l=>l.startsWith(a)?s(l.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},bF=e=>e.endsWith(bw)?e.substring(0,e.length-1):e.startsWith(bw)?e.substring(1):e,xF=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let s=[];return r.forEach(l=>{l[0]==="["||t[l]?(a.push(...s.sort(),l),s=[]):s.push(l)}),a.push(...s.sort()),a}},wF=e=>({cache:gF(e.cacheSize),parseClassName:vF(e),sortModifiers:xF(e),...dF(e)}),SF=/\s+/,AF=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,l=[],c=e.trim().split(SF);let f="";for(let d=c.length-1;d>=0;d-=1){const m=c[d],{isExternal:p,modifiers:y,hasImportantModifier:b,baseClassName:A,maybePostfixModifierPosition:S}=n(m);if(p){f=m+(f.length>0?" "+f:f);continue}let x=!!S,O=r(x?A.substring(0,S):A);if(!O){if(!x){f=m+(f.length>0?" "+f:f);continue}if(O=r(A),!O){f=m+(f.length>0?" "+f:f);continue}x=!1}const R=s(y).join(":"),j=b?R+bw:R,M=j+O;if(l.includes(M))continue;l.push(M);const T=a(O,x);for(let C=0;C<T.length;++C){const E=T[C];l.push(j+E)}f=m+(f.length>0?" "+f:f)}return f};function OF(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=tI(t))&&(r&&(r+=" "),r+=n);return r}const tI=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=tI(e[r]))&&(n&&(n+=" "),n+=t);return n};function TF(e,...t){let n,r,a,s=l;function l(f){const d=t.reduce((m,p)=>p(m),e());return n=wF(d),r=n.cache.get,a=n.cache.set,s=c,c(f)}function c(f){const d=r(f);if(d)return d;const m=AF(f,n);return a(f,m),m}return function(){return s(OF.apply(null,arguments))}}const Zt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},nI=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rI=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jF=/^\d+\/\d+$/,EF=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CF=/\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$/,RF=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MF=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nl=e=>jF.test(e),$e=e=>!!e&&!Number.isNaN(Number(e)),$i=e=>!!e&&Number.isInteger(Number(e)),Ov=e=>e.endsWith("%")&&$e(e.slice(0,-1)),Fa=e=>EF.test(e),PF=()=>!0,NF=e=>CF.test(e)&&!RF.test(e),aI=()=>!1,DF=e=>_F.test(e),kF=e=>MF.test(e),IF=e=>!we(e)&&!Se(e),$F=e=>Jl(e,oI,aI),we=e=>nI.test(e),Cs=e=>Jl(e,lI,NF),Tv=e=>Jl(e,HF,$e),rR=e=>Jl(e,iI,aI),BF=e=>Jl(e,sI,kF),Sp=e=>Jl(e,cI,DF),Se=e=>rI.test(e),su=e=>ec(e,lI),LF=e=>ec(e,UF),aR=e=>ec(e,iI),qF=e=>ec(e,oI),zF=e=>ec(e,sI),Ap=e=>ec(e,cI,!0),Jl=(e,t,n)=>{const r=nI.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ec=(e,t,n=!1)=>{const r=rI.exec(e);return r?r[1]?t(r[1]):n:!1},iI=e=>e==="position"||e==="percentage",sI=e=>e==="image"||e==="url",oI=e=>e==="length"||e==="size"||e==="bg-size",lI=e=>e==="length",HF=e=>e==="number",UF=e=>e==="family-name",cI=e=>e==="shadow",VF=()=>{const e=Zt("color"),t=Zt("font"),n=Zt("text"),r=Zt("font-weight"),a=Zt("tracking"),s=Zt("leading"),l=Zt("breakpoint"),c=Zt("container"),f=Zt("spacing"),d=Zt("radius"),m=Zt("shadow"),p=Zt("inset-shadow"),y=Zt("text-shadow"),b=Zt("drop-shadow"),A=Zt("blur"),S=Zt("perspective"),x=Zt("aspect"),O=Zt("ease"),R=Zt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...M(),Se,we],C=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],P=()=>[Se,we,f],k=()=>[nl,"full","auto",...P()],z=()=>[$i,"none","subgrid",Se,we],B=()=>["auto",{span:["full",$i,Se,we]},$i,Se,we],U=()=>[$i,"auto",Se,we],F=()=>["auto","min","max","fr",Se,we],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...P()],L=()=>[nl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],q=()=>[e,Se,we],Z=()=>[...M(),aR,rR,{position:[Se,we]}],ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",qF,$F,{size:[Se,we]}],G=()=>[Ov,su,Cs],Y=()=>["","none","full",d,Se,we],J=()=>["",$e,su,Cs],ue=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[$e,Ov,aR,rR],be=()=>["","none",A,Se,we],de=()=>["none",$e,Se,we],ye=()=>["none",$e,Se,we],Ae=()=>[$e,Se,we],le=()=>[nl,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fa],breakpoint:[Fa],color:[PF],container:[Fa],"drop-shadow":[Fa],ease:["in","out","in-out"],font:[IF],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fa],shadow:[Fa],spacing:["px",$e],text:[Fa],"text-shadow":[Fa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nl,we,Se,x]}
vendor: 12,846 bytes, line 49
49],container:["container"],columns:[{columns:[$e,we,Se,c]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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"],sr:["sr-only","not-sr-only"],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:T()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[$i,"auto",Se,we]}],basis:[{basis:[nl,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$e,nl,"auto","initial","none",we]}],grow:[{grow:["",$e,Se,we]}],shrink:[{shrink:["",$e,Se,we]}],order:[{order:[$i,"first","last","none",Se,we]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[c,"screen",...L()]}],"min-w":[{"min-w":[c,"screen","none",...L()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,su,Cs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Se,Tv]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ov,we]}],"font-family":[{font:[LF,we,t]}],"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:[a,Se,we]}],"line-clamp":[{"line-clamp":[$e,"none",Se,Tv]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",Se,we]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Se,we]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[$e,"from-font","auto",Se,Cs]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[$e,"auto",Se,we]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Se,we]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Se,we]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Z()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$i,Se,we],radial:["",Se,we],conic:[$i,Se,we]},zF,BF]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$e,Se,we]}],"outline-w":[{outline:["",$e,su,Cs]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","none",m,Ap,Sp]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",p,Ap,Sp]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[$e,Cs]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",y,Ap,Sp]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[$e,Se,we]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$e]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[Se,we]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[$e]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Z()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Se,we]}],filter:[{filter:["","none",Se,we]}],blur:[{blur:be()}],brightness:[{brightness:[$e,Se,we]}],contrast:[{contrast:[$e,Se,we]}],"drop-shadow":[{"drop-shadow":["","none",b,Ap,Sp]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",$e,Se,we]}],"hue-rotate":[{"hue-rotate":[$e,Se,we]}],invert:[{invert:["",$e,Se,we]}],saturate:[{saturate:[$e,Se,we]}],sepia:[{sepia:["",$e,Se,we]}],"backdrop-filter":[{"backdrop-filter":["","none",Se,we]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[$e,Se,we]}],"backdrop-contrast":[{"backdrop-contrast":[$e,Se,we]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$e,Se,we]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$e,Se,we]}],"backdrop-invert":[{"backdrop-invert":["",$e,Se,we]}],"backdrop-opacity":[{"backdrop-opacity":[$e,Se,we]}],"backdrop-saturate":[{"backdrop-saturate":[$e,Se,we]}],"backdrop-sepia":[{"backdrop-sepia":["",$e,Se,we]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Se,we]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$e,"initial",Se,we]}],ease:[{ease:["linear","initial",O,Se,we]}],delay:[{delay:[$e,Se,we]}],animate:[{animate:["none",R,Se,we]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Se,we]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:ye()}],"scale-x":[{"scale-x":ye()}],"scale-y":[{"scale-y":ye()}],"scale-z":[{"scale-z":ye()}],"scale-3d":["scale-3d"],skew:[{skew:Ae()}],"skew-x":[{"skew-x":Ae()}],"skew-y":[{"skew-y":Ae()}],transform:[{transform:[Se,we,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}
vendor: 6,750 bytes, line 49
49],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Se,we]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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",Se,we]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[$e,su,Cs,Tv]}],stroke:[{stroke:["none",...q()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},FF=TF(VF);function uI(...e){return FF(Qe(e))}function GF({delayDuration:e=0,...t}){return g.jsx(fF,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const iR=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sR=Qe,KF=(e,t)=>n=>{var r;if(t?.variants==null)return sR(e,n?.class,n?.className);const{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(d=>{const m=n?.[d],p=s?.[d];if(m===null)return null;const y=iR(m)||iR(p);return a[d][y]}),c=n&&Object.entries(n).reduce((d,m)=>{let[p,y]=m;return y===void 0||(d[p]=y),d},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,m)=>{let{class:p,className:y,...b}=m;return Object.entries(b).every(A=>{let[S,x]=A;return Array.isArray(x)?x.includes({...s,...c}[S]):{...s,...c}[S]===x})?[...d,p,y]:d},[]);return sR(e,l,f,n?.class,n?.className)},YF=KF("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function ot({className:e,variant:t,size:n,asChild:r=!1,...a}){const s=r?iU:"button";return g.jsx(s,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:uI(YF({variant:t,size:n,className:e})),...a}
vendor: 6,234 bytes, lines 49-138
49)}/**
50 * @license lucide-react v0.453.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const WF=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fI=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
55 * @license lucide-react v0.453.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var QF={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"};/**
60 * @license lucide-react v0.453.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const XF=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:l,...c},f)=>N.createElement("svg",{ref:f,...QF,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fI("lucide",a),...c},[...l.map(([d,m])=>N.createElement(d,m)),...Array.isArray(s)?s:[s]]));/**
65 * @license lucide-react v0.453.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const De=(e,t)=>{const n=N.forwardRef(({className:r,...a},s)=>N.createElement(XF,{ref:s,iconNode:t,className:fI(`lucide-${WF(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
70 * @license lucide-react v0.453.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const Xs=De("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
75 * @license lucide-react v0.453.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const Ln=De("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
80 * @license lucide-react v0.453.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const dI=De("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"}]]);/**
85 * @license lucide-react v0.453.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const If=De("BotOff",[["path",{d:"M13.67 8H18a2 2 0 0 1 2 2v4.33",key:"7az073"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M22 22 2 2",key:"1r8tn9"}],["path",{d:"M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586",key:"s09a7a"}],["path",{d:"M9 13v2",key:"rq6x2g"}],["path",{d:"M9.67 4H12v2.33",key:"110xot"}]]);/**
90 * @license lucide-react v0.453.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const $f=De("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
95 * @license lucide-react v0.453.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const ni=De("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"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
100 * @license lucide-react v0.453.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const Ji=De("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"}]]);/**
105 * @license lucide-react v0.453.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const pI=De("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"}]]);/**
110 * @license lucide-react v0.453.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const Bf=De("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
115 * @license lucide-react v0.453.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const ZF=De("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
120 * @license lucide-react v0.453.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const JF=De("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
125 * @license lucide-react v0.453.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const jA=De("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
130 * @license lucide-react v0.453.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const eG=De("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"}]]);/**
135 * @license lucide-react v0.453.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const On=De("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
140 * @license lucide-react v0.453.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const tG=De("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
145 * @license lucide-react v0.453.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const nG=De("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
150 * @license lucide-react v0.453.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const Lf=De("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"}]]);/**
155 * @license lucide-react v0.453.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const oR=De("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"}]]);/**
160 * @license lucide-react v0.453.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const rG=De("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
165 * @license lucide-react v0.453.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const lR=De("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
170 * @license lucide-react v0.453.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const Us=De("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
175 * @license lucide-react v0.453.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const aG=De("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
180 * @license lucide-react v0.453.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const iG=De("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
185 * @license lucide-react v0.453.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const hI=De("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
190 * @license lucide-react v0.453.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const sG=De("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
195 * @license lucide-react v0.453.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const oG=De("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
200 * @license lucide-react v0.453.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const EA=De("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
205 * @license lucide-react v0.453.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const eh=De("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
210 * @license lucide-react v0.453.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const Uu=De("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
215 * @license lucide-react v0.453.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const lG=De("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
220 * @license lucide-react v0.453.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const cG=De("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
225 * @license lucide-react v0.453.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const uG=De("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
230 * @license lucide-react v0.453.0 - ISC
231 *
232 * This source code is licensed under the ISC license.
233 * See the LICENSE file in the root directory of this source tree.
234 */const tc=De("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: 4,537 bytes, lines 234-287
234y:"oel41y"}]]);/**
235 * @license lucide-react v0.453.0 - ISC
236 *
237 * This source code is licensed under the ISC license.
238 * See the LICENSE file in the root directory of this source tree.
239 */const mI=De("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
240 * @license lucide-react v0.453.0 - ISC
241 *
242 * This source code is licensed under the ISC license.
243 * See the LICENSE file in the root directory of this source tree.
244 */const Br=De("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"}]]);/**
245 * @license lucide-react v0.453.0 - ISC
246 *
247 * This source code is licensed under the ISC license.
248 * See the LICENSE file in the root directory of this source tree.
249 */const qf=De("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
250 * @license lucide-react v0.453.0 - ISC
251 *
252 * This source code is licensed under the ISC license.
253 * See the LICENSE file in the root directory of this source tree.
254 */const zf=De("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"}]]);/**
255 * @license lucide-react v0.453.0 - ISC
256 *
257 * This source code is licensed under the ISC license.
258 * See the LICENSE file in the root directory of this source tree.
259 */const cR=De("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
260 * @license lucide-react v0.453.0 - ISC
261 *
262 * This source code is licensed under the ISC license.
263 * See the LICENSE file in the root directory of this source tree.
264 */const fG=De("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
265 * @license lucide-react v0.453.0 - ISC
266 *
267 * This source code is licensed under the ISC license.
268 * See the LICENSE file in the root directory of this source tree.
269 */const dG=De("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
270 * @license lucide-react v0.453.0 - ISC
271 *
272 * This source code is licensed under the ISC license.
273 * See the LICENSE file in the root directory of this source tree.
274 */const pG=De("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
275 * @license lucide-react v0.453.0 - ISC
276 *
277 * This source code is licensed under the ISC license.
278 * See the LICENSE file in the root directory of this source tree.
279 */const Hf=De("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function hG(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,s,l=[],c="",f=e.split("/");for(f[0]||f.shift();a=f.shift();)n=a[0],n==="*"?(l.push(n),c+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),s=a.indexOf(".",1),l.push(a.substring(1,~r?r:~s?s:a.length)),c+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(c+=(~r?"?":"")+"\\"+a.substring(s))):c+="/"+a;return{keys:l,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var jv={exports:{}},Ev={};/**
280 * @license React
281 * use-sync-external-store-shim.production.js
282 *
283 * Copyright (c) Meta Platforms, Inc. and affiliates.
284 *
285 * This source code is licensed under the MIT license found in the
286 * LICENSE file in the root directory of this source tree.
287 */var uR;
287function mG(){if(uR)return Ev;uR=1;var e=tm();function t(p,y){return p===y&&(p!==0||1/p===1/y)||p!==p&&y!==y}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue;function c(p,y){var b=y(),A=r({inst:{value:b,getSnapshot:y}}),S=A[0].inst,x=A[1];return s(function(){S.value=b,S.getSnapshot=y,f(S)&&x({inst:S})},[p,b,y]),a(function(){return f(S)&&x({inst:S}),p(function(){f(S)&&x({inst:S})})},[p]),l(b),b}function f(p){var y=p.getSnapshot;p=p.value;try{var b=y();return!n(p,b)}catch{return!0}}function d(p,y){return y()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:c;return Ev.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Ev}var fR;function gG(){return fR||(fR=1,jv.exports=mG()),jv.exports}var yG=gG();const vG=Ak.useInsertionEffect,bG=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xG=bG?N.useLayoutEffect:N.useEffect,wG=vG||xG,gI=e=>{const t=N.useRef([e,(...n)=>t[0](...n)]).current;return wG(()=>{t[0]=e}),t[1]},SG="popstate",CA="pushState",RA="replaceState",AG="hashchange",dR=[SG,CA,RA,AG],OG=e=>{for(const t of dR)addEventListener(t,e);return()=>{for(const t of dR)removeEventListener(t,e)}},yI=(e,t)=>yG.useSyncExternalStore(OG,e,t),TG=()=>location.search,jG=({ssrSearch:e=""}={})=>yI(TG,()=>e),pR=()=>location.pathname,EG=({ssrPath:e}={})=>yI(pR,e?()=>e:pR),CG=(e,{replace:t=!1,state:n=null}={})=>history[t?RA:CA](n,"",e),RG=(e={})=>[EG(e),CG],hR=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[hR]>"u"){for(const e of[CA,RA]){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,hR,{value:!0})}const _G=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",vI=(e="")=>e==="/"?"":e,MG=(e,t)=>e[0]==="~"?e.slice(1):vI(t)+e,PG=(e="",t)=>_G(mR(vI(e)),mR(t)),mR=e=>{try{return decodeURI(e)}catch{return e}},bI={hook:RG,searchHook:jG,parser:hG,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},xI=N.createContext(bI),Uf=()=>N.useContext(xI),wI={},SI=N.createContext(wI),AI=()=>N.useContext(SI),mm=e=>{const[t,n]=e.hook(e);return[PG(e.base,t),gI((r,a)=>n(MG(r,e.base),a))]},lo=()=>mm(Uf()),OI=(e,t,n,r)=>{const{pattern:a,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),l=a.exec(n)||[],[c,...f]=l;return c!==void 0?[!0,(()=>{const d=s!==!1?Object.fromEntries(s.map((p,y)=>[p,f[y]])):l.groups;let m={...f};return d&&Object.assign(m,d),m})(),...r?[c]:[]]:[!1,null]},NG=({children:e,...t})=>{const n=Uf(),r=t.hook?bI:n;let a=r;const[s,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=s),t.hrefs=t.hrefs??t.hook?.hrefs;let c=N.useRef({}),f=c.current,d=f;for(let m in r){const p=m==="base"?r[m]+(t[m]||""):t[m]||r[m];f===d&&p!==d[m]&&(c.current=d={...d}),d[m]=p,(p!==r[m]||p!==a[m])&&(a=d)}return N.createElement(xI.Provider,{value:a,children:e})},gR=({children:e,component:t},n)=>t?N.createElement(t,{params:n}):typeof e=="function"?e(n):e,DG=e=>{let t=N.useRef(wI);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,a])=>a!==n[r])?e:n},Bi=({path:e,nest:t,match:n,...r})=>{const a=Uf(),[s]=mm(a),[l,c,f]=n??OI(a.parser,e,s,t),d=DG({...AI(),...c});if(!l)return null;const m=f?N.createElement(NG,{base:f},gR(r,d)):gR(r,d);return N.createElement(SI.Provider,{value:d,children:m})};N.forwardRef((e,t)=>{const n=Uf(),[r,a]=mm(n),{to:s="",href:l=s,onClick:c,asChild:f,children:d,className:m,replace:p,state:y,...b}=e,A=gI(x=>{x.ctrlKey||x.metaKey||x.altKey||x.shiftKey||x.button!==0||(c?.(x),x.defaultPrevented||(x.preventDefault(),a(l,e)))}),S=n.hrefs(l[0]==="~"?l.slice(1):n.base+l,n);return f&&N.isValidElement(d)?N.cloneElement(d,{onClick:A,href:S}):N.createElement("a",{...b,onClick:A,href:S,className:m?.call?m(r===l):m,children:d,ref:t})});const ww=e=>Array.isArray(e)?e.flatMap(t=>ww(t&&t.type===N.Fragment?t.props.children:t)):[e],kG=({children:e,location:t})=>{const n=Uf(),[r]=mm(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),ww(e).forEach(s=>{if(N.isValidElement(s)&&s.props.path){const l=s.props.path;window.__WOUTER_ROUTES__.includes(l)||window.__WOUTER_ROUTES__.push(l)}}));for(const a of ww(e)){let s=0;if(N.isValidElement(a)&&(s=OI(n.parser,a.props.path,t||r,a.props.nest))[0])return N.cloneElement(a,{match:s})}return null};function yR(){const[,e]=lo();return g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:9",className:"min-h-screen flex items-center justify-center bg-secondary/30",children:g.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:10",className:"text-center px-6 max-w-lg",children:[g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:11",className:"flex justify-center mb-8",children:g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:12",className:"w-20 h-20 rounded-2xl bg-red-50 flex items-center justify-center",children:g.jsx(eG,{"data-loc":"client/src/pages/NotFound.tsx:13",className:"w-10 h-10 text-red-500"})})}),g.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"text-6xl font-extrabold text-foreground mb-3 font-mono",children:"404"}),g.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"text-xl font-semibold text-foreground mb-4",children:"Page Not Found"}),g.jsx("p",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"text-muted-foreground mb-8 leading-relaxed",children:"Sorry, the page you are looking for doesn't exist or has been moved."}),g.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:23",className:"flex flex-col sm:flex-row gap-3 justify-center",children:[g.jsxs(ot,{"data-loc":"client/src/pages/NotFound.tsx:24",onClick:()=>e("/"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold px-6",children:[g.jsx(aG,{"data-loc":"client/src/pages/NotFound.tsx:28",className:"w-4 h-4 mr-2"}),"Go Home"]}),g.jsxs(ot,{"data-loc":"client/src/pages/NotFound.tsx:31",variant:"outline",onClick:()=>window.history.back(),className:"border-border bg-white",children:[g.jsx(Xs,{"data-loc":"client/src/pages/NotFound.tsx:36",className:"w-4 h-4 mr-2"}),"Go Back"]})]})]})})}class IG extends N.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:g.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[g.jsx(qf,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),g.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:g.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),g.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:uI("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[g.jsx(lG,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const TI=N.createContext({robertEnabled:!0,toggleRobert:()=>{},setRobertEnabled:()=>{}});function $G({children:e}){const[t,n]=N.useState(()=>{try{const s=localStorage.getItem("robert-enabled");return s!==null?s==="true":!0}catch{return!0}});N.useEffect(()=>{try{localStorage.setItem("robert-enabled",String(t))}catch{}},[t]);const r=N.useCallback(()=>n(s=>!s),[]),a=N.useMemo(()=>({robertEnabled:t,toggleRobert:r,setRobertEnabled:n}),[t,r]);return g.jsx(TI.Provider,{"data-loc":"client/src/contexts/RobertContext.tsx:40",value:a,children:e})}function nc(){return N.useContext(TI)}const BG={"AI Visibility Report":"Informe de Visibilidad con IA","How It Works":"Cómo funciona",Categories:"Categorías",Results:"Resultados",FAQ:"Preguntas frecuentes","Get Your Score":"Obtén tu puntuación","Start My DREAMS Score":"Comenzar mi puntuación DREAMS","Start My DREAMS Score Now":"Comenzar mi puntuación DREAMS ahora","Vie
287w Sample Report":"Ver informe de ejemplo","View Full Report":"Ver informe completo","Robert: On":"Robert: Activo","Robert: Off":"Robert: Inactivo","Turn off Robert AI Guide":"Desactivar la guía de IA Robert","Turn on Robert AI Guide":"Activar la guía de IA Robert","Business Financial Assessment Tool":"Herramienta de evaluación financiera empresarial","Is Your Business Missing":"¿Su empresa está perdiendo","in Untapped Savings?":"en ahorros sin aprovechar?","The DREAMS Score identifies hidden savings, tax credits, and profit opportunities across six key areas of your business — in just 15 minutes.":"La puntuación DREAMS identifica ahorros ocultos, créditos fiscales y oportunidades de ganancias en seis áreas clave de su empresa, en solo 15 minutos.","Potential Annual Savings":"Ahorros anuales potenciales","Debt & Funding":"Deuda y financiamiento",Retirement:"Jubilación",Expenses:"Gastos",Assets:"Activos","Money & Tax":"Dinero e impuestos","Money & Tax Credits":"Dinero y créditos fiscales",Security:"Seguridad","Total Identified":"Total identificado","See How It Works":"Vea cómo funciona","Watch how the DREAMS Score uncovers hidden savings and profit opportunities for businesses like yours.":"Vea cómo la puntuación DREAMS descubre ahorros ocultos y oportunidades de ganancias para empresas como la suya.","Free Instant AI Analysis":"Análisis gratuito e instantáneo con IA","Is Your Business":"¿Su empresa es",Invisible:"invisible","to AI?":"para la IA?","Your customers are asking ChatGPT, Gemini, and Grok who to trust. Get your free AI Visibility Score to see exactly how AI engines see your business — in under a minute.":"Sus clientes preguntan a ChatGPT, Gemini y Grok en quién confiar. Obtenga gratis su puntuación de visibilidad con IA y descubra cómo los motores de IA ven su empresa, en menos de un minuto.","Get My Free AI Report":"Obtener mi informe gratuito de IA","Maximize Your Business in":"Maximice su empresa en","Four Steps":"cuatro pasos","See how AI search engines like ChatGPT and Gemini view your business — free and instant.":"Descubra cómo motores de IA como ChatGPT y Gemini ven su empresa, gratis y al instante.","Take the DREAMS Assessment":"Complete la evaluación DREAMS","Answer business questions across 6 categories — company size, expenses, payroll, and operations.":"Responda preguntas empresariales en 6 categorías: tamaño, gastos, nómina y operaciones.","Our engine calculates estimated dollar savings and increased profit for each DREAMS category.":"Nuestro sistema calcula los ahorros estimados y el aumento de ganancias para cada categoría DREAMS.","Unlock Your Report":"Obtenga su informe","Receive a custom report with actionable recommendations and connect with expert partners.":"Reciba un informe personalizado con recomendaciones prácticas y conéctese con especialistas.","Start Here →":"Comience aquí →","What Is the":"¿Qué es la puntuación","Score?":"DREAMS?","Each letter represents a critical area of your business where hidden savings and profit opportunities exist.":"Cada letra representa un área fundamental de su empresa donde existen ahorros ocultos y oportunidades de ganancias.","Access fast, flexible corporate funding. Restructure existing debt or secure new capital for growth, equipment, and expansion.":"Acceda a financiamiento empresarial rápido y flexible. Reestructure deudas existentes u obtenga capital para crecimiento, equipos y expansión.","Corporate loans, SBA funding, debt restructuring, lines of credit":"Préstamos empresariales, financiamiento SBA, reestructuración de deuda y líneas de crédito","Optimize your employee 401(k) plan. Save $750 per employee per year while building smarter benefits that reduce taxable income.":"Optimice el plan 401(k) de sus empleados. Ahorre $750 por empleado al año mientras crea mejores beneficios que reducen los ingresos gravables.","401(k) optimization, employer matching, indexed annuities, tax-deferred growth":"Optimización de 401(k), aportes patronales, anualidades indexadas y crecimiento con impuestos diferidos","Cut health insurance, energy costs, and utilities without sacrificing quality. Solar energy estimates based on your building size.":"Reduzca seguros médicos, energía y servicios sin sacrificar calidad. Las estimaciones solares se basan en el tamaño de su edificio.","Health insurance savings, solar energy, LED upgrades, benefits audit":"Ahorros en seguro médico, energía solar, mejoras LED y auditoría de beneficios","Your employees and website are your greatest assets. We recommend Dreams Leads, Intent Data, and Fugu Reviews to maximize value.":"Sus empleados y su sitio web son activos esenciales. Recomendamos Dreams Leads, Intent Data y Fugu Reviews para maximizar su valor.","Employee optimization, website revenue, Dreams Leads, Intent Data, Fugu Reviews":"Optimización de empleados, ingresos web, Dreams Leads, Intent Data y Fugu Reviews","Unlock powerful tax credits including R&D, FICA Tip Tax Credit, and Research & Development credits. Dollar-for-dollar tax reduction.":"Descubra valiosos créditos fiscales, incluidos I+D y el crédito FICA por propinas. Reducción fiscal dólar por dólar.","R&D tax credits, FICA tip credits, state credits, 20-year carry forward":"Créditos de I+D, créditos FICA por propinas, créditos estatales y arrastre por 20 años","Protect your business with corporate life insurance, buy-sell agreements, and key man life insurance. Strengthen IT security.":"Proteja su empresa con seguro de vida corporativo, acuerdos de compraventa y seguro para personal clave. Refuerce la seguridad informática.","Corporate life insurance, buy-sell agreements, key man insurance, cybersecurity":"Seguro de vida corporativo, acuerdos de compraventa, seguro para personal clave y ciberseguridad","DREAMS Score Results":"Resultados de la puntuación DREAMS","See real examples of how businesses have uncovered significant savings and profit opportunities.":"Vea ejemplos de cómo distintas empresas descubrieron ahorros importantes y oportunidades de ganancias.",Employees:"Empleados","Total Est. Annual Savings":"Ahorros anuales estimados","Total Est. Annual Profit":"Ganancia anual estimada","Why Choose":"¿Por qué elegir","Dreams Business Resources?":"Dreams Business Resources?","No Cost for Reports":"Informes sin costo","Dreams Business Resources does not charge a fee to provide reports on potential areas for improvement in your profitability.":"Dreams Business Resources no cobra por brindar informes sobre posibles áreas de mejora en su rentabilidad.","Trusted Providers":"Proveedores confiables","All Dreams service providers are third-party companies carefully screened and selected to be part of the Dreams Team.":"Todos los proveedores de servicios DREAMS son empresas independientes cuidadosamente evaluadas y seleccionad
287as.","Expert Support":"Apoyo de especialistas","By meeting with industry experts, you gain access to strategies and solutions that offer competitive advantages.":"Al reunirse con especialistas de la industria, obtiene acceso a estrategias y soluciones con ventajas competitivas.","Quick & Actionable":"Rápido y práctico","In just 15 minutes, uncover savings that most CPAs and traditional advisors miss entirely.":"En solo 15 minutos, descubra ahorros que muchos contadores y asesores tradicionales pasan por alto.","Average Savings Found":"Ahorro promedio identificado","Frequently Asked Questions":"Preguntas frecuentes","Is there a cost?":"¿Tiene algún costo?","Nope! It's 100% free. No hidden fees, no obligations. Dreams Business Resources does not charge a fee to provide reports on potential areas for improvement in your profitability.":"No. Es 100% gratuito, sin cargos ocultos ni obligaciones. Dreams Business Resources no cobra por brindar informes sobre posibles mejoras en su rentabilidad.","Do I have to provide detailed business or personal info?":"¿Debo proporcionar información empresarial o personal detallada?","No. We just ask basic business questions — no tax returns, bank statements, or personal financial details required. Just general information about your company size, expenses, and operations.":"No. Solo hacemos preguntas empresariales básicas. No solicitamos declaraciones de impuestos, estados bancarios ni datos financieros personales.","What's the catch?":"¿Cuál es la condición?","There isn't one. If we find savings, we'll connect you with an expert who can help — only if you want to move forward. All Dreams service providers are third-party companies carefully screened and selected.":"No hay ninguna. Si encontramos ahorros, podemos conectarlo con un especialista, solo si desea continuar. Todos los proveedores son empresas independientes cuidadosamente seleccionadas.","What happens after the DREAMS Score analysis?":"¿Qué ocurre después del análisis DREAMS?","You'll receive a custom report showing potential savings and profit-boosting strategies. The report breaks down estimated dollar savings across all six DREAMS categories with actionable recommendations.":"Recibirá un informe personalizado con posibles ahorros y estrategias para aumentar ganancias, desglosado en las seis categorías DREAMS.","How long does the assessment take?":"¿Cuánto tarda la evaluación?","Just 10-15 minutes. You'll answer questions about your business operations, and our scoring engine instantly calculates your potential savings and increased profit opportunities.":"Solo de 10 a 15 minutos. Responderá preguntas sobre sus operaciones y nuestro sistema calculará al instante sus posibles ahorros y oportunidades de ganancias.","Ready to Discover Your":"¿Listo para descubrir sus","Hidden Savings?":"ahorros ocultos?","It takes just 15 minutes to uncover thousands — potentially hundreds of thousands — in savings and profit opportunities for your business.":"Solo necesita 15 minutos para descubrir miles, e incluso cientos de miles, en ahorros y oportunidades de ganancias para su empresa.","15 minutes":"15 minutos","100% Free":"100% gratuito","No obligation":"Sin obligación","for Business":"para empresas","All rights reserved.":"Todos los derechos reservados.","Business Info":"Información de la empresa","Tell Us About Your Business":"Cuéntenos sobre su empresa","Basic information helps us calculate your potential savings accurately.":"La información básica nos ayuda a calcular con precisión sus posibles ahorros.","Company Name":"Nombre de la empresa","Contact Name":"Nombre del contacto",Email:"Correo electrónico",Phone:"Teléfono","Title / Position":"Cargo / puesto","Business Website":"Sitio web de la empresa",Industry:"Industria","Type of Sales":"Tipo de ventas",Both:"Ambos","Annual Revenue":"Ingresos anuales","Approximate annual revenue":"Ingresos anuales aproximados","Number of Employees":"Número de empleados","Years in Business":"Años en operación","Building Size (sq ft)":"Tamaño del edificio (pies²)","Used to estimate solar energy s
287avings":"Se utiliza para estimar ahorros de energía solar",Yes:"Sí",No:"No",Previous:"Anterior",Next:"Siguiente","Calculate My DREAMS Score":"Calcular mi puntuación DREAMS",Step:"Paso",of:"de","DREAMS Score Assessment":"Evaluación de puntuación DREAMS","Complete each section to uncover your business savings":"Complete cada sección para descubrir los ahorros de su empresa","Back to Home":"Volver al inicio",Print:"Imprimir","Download PDF":"Descargar PDF","Your DREAMS Score Report":"Su informe de puntuación DREAMS","DREAMS Score Report — Sample":"Informe de puntuación DREAMS — Ejemplo","Other Sample Reports":"Otros informes de ejemplo","Book a Consultation":"Reservar una consulta","Debt & Corporate Funding":"Deuda y financiamiento empresarial","Tell us about your current debt and any funding needs for growth.":"Cuéntenos sobre su deuda actual y las necesidades de financiamiento para crecer.","Current Business Debt":"Deuda empresarial actual","Total outstanding business loans and credit":"Total pendiente de préstamos y crédito empresarial","Monthly Debt Payments":"Pagos mensuales de deuda","Desired Additional Funding":"Financiamiento adicional deseado","How much funding would help your business grow?":"¿Cuánto financiamiento ayudaría a crecer a su empresa?","Business Credit Score":"Puntuación de crédito empresarial",Excellent:"Excelente",Good:"Bueno",Fair:"Regular",Poor:"Bajo","Primary Funding Purpose":"Objetivo principal del financiamiento","Growth & Expansion":"Crecimiento y expansión","Equipment Purchase":"Compra de equipos","Working Capital":"Capital de trabajo",Inventory:"Inventario","Debt Consolidation":"Consolidación de deuda",Hiring:"Contratación",Marketing:"Mercadeo",Other:"Otro","Employee 401(k) & Retirement":"401(k) y jubilación de empleados","We can save approximately $750 per employee per year on retirement plan optimization.":"Podemos ahorrar aproximadamente $750 por empleado al año mediante la optimización del plan de jubilación.","Does your company currently offer a 401(k) plan?":"¿Su empresa ofrece actualmente un plan 401(k)?","Current 401(k) Plan Balance":"Saldo actual del plan 401(k)","Total across all employee accounts":"Total de todas las cuentas de empleados","Employer Match (%)":"Aporte patronal (%)","What percentage does the company match?":"¿Qué porcentaje aporta la empresa?","Employee Participation Rate (%)":"Tasa de participación de empleados (%)","Percentage of employees enrolled":"Porcentaje de empleados inscritos","Annual Contributions":"Aportes anuales","Total annual employer + employee contributions":"Total anual de aportes patronales y de empleados","Business Expenses":"Gastos empresariales","Health insurance, energy costs, and utilities — we identify savings in each area.":"Identificamos ahorros en seguro médico, energía y servicios públicos.","Monthly Health Insurance Premiums":"Primas mensuales de seguro médico","Total company health insurance cost":"Costo total del seguro médico de la empresa","Annual Health Insurance Premiums":"Primas anuales de seguro médico","Monthly Energy Bill":"Factura mensual de energía","Electricity and gas costs":"Costos de electricidad y gas","Monthly Utilities":"Servicios públicos mensuales","Water, internet, phone, etc.":"Agua, internet, teléfono, etc.","Monthly Payroll":"Nómina mensual","Total monthly payroll for all employees":"Nómina mensual total de todos los empleados","Technology Expenses":"Gastos de tecnología","Phone, internet, cloud services, and IT management — we identify technology savings opportunities.":"Identificamos oportunidades de ahorro en teléfono, internet, servicios en la nube y administración de TI.","Monthly Phone Cost":"Costo mensual de teléfono","Business phone lines, VoIP, mobile plans":"Líneas empresariales, VoIP y planes móviles","Monthly Internet Cost":"Costo mensual de internet","Business internet and connectivity":"Internet y conectividad empresarial","Monthly Cloud Services":"Servicios mensuales en la nube","AWS, Azure, Google Cloud, SaaS subscriptions":"Suscripciones de AWS, Azure, Google Cloud y SaaS","Monthly IT Management":"Administración mensual de TI","Managed IT, helpdesk, information management":"TI administrada, soporte técnico y gestión de información","Phone Dialers & Revenue":"Marcadores telefónicos e ingresos","If your business uses phone dialers for sales or outreach, we can identify revenue growth opportunities.":"Si su empresa usa marcadores telefónicos para ventas o alcance, podemos identificar oportunidades de crecimiento.","Number of Phone Dialers":"Número de marcadores telefónicos","Auto-dialers, predictive dialers, power dialers":"Marcadores automáticos, predictivos y progresivos","Total Monthly Revenue from Dialers":"Ingresos mensuales totales de marcadores","Revenue generated through dialer-based sales":"Ingresos generados mediante ventas con marcadores","Business Assets":"Activos empresariales","Does your business have a website?":"¿Su empresa tiene un sitio web?","What is your business website?":"¿Cuál es el sitio web de su empresa?","Enter your website URL":"Ingrese la dirección de su sitio web","How much do you spend on advertising, your website, or marketing for leads?":"¿Cuánto 
287invierte en publicidad, sitio web o mercadeo para generar prospectos?","Monthly spend on ads, website maintenance, SEO, lead generation, etc.":"Gasto mensual en anuncios, mantenimiento web, SEO, generación de prospectos, etc.","R&D Tax Credits, FICA Tip Tax Credits, and Research & Development credits can provide dollar-for-dollar tax reduction.":"Los créditos de I+D y FICA por propinas pueden reducir sus impuestos dólar por dólar.","Do you pay more than $20,000 in annual federal income tax?":"¿Paga más de $20,000 al año en impuesto federal sobre la renta?","Great news! You may qualify for a Research & Development Tax Credit — a dollar-for-dollar reduction in your federal tax liability.":"¡Buenas noticias! Puede calificar para un crédito fiscal de investigación y desarrollo que reduce dólar por dólar su obligación federal.","Total Annual Payroll & Subcontractor Expenses":"Nómina anual total y gastos de subcontratistas","Combined total of W-2 employee wages and 1099 subcontractor payments annually":"Total anual combinado de salarios W-2 y pagos a subcontratistas 1099","Has your company previously claimed the R&D Tax Credit?":"¿Su empresa ha solicitado anteriormente el crédito fiscal de I+D?","Number of Tipped Employees":"Número de empleados que reciben propinas","For FICA Tip Tax Credit calculation":"Para calcular el crédito FICA por propinas","Average Monthly Tips Per Employee":"Propinas mensuales promedio por empleado","Security & Protection":"Seguridad y protección","Corporate life insurance, buy-sell agreements, key man life insurance, and IT security.":"Seguro de vida corporativo, acuerdos de compraventa, seguro para personal clave y seguridad informática.","Does your company have key man life insurance?":"¿Su empresa tiene seguro de vida para personal clave?","Key Man Insurance Coverage":"Cobertura de seguro para personal clave","Is there a buy-sell agreement in place?":"¿Existe un acuerdo de compraventa vigente?","Does your company have corporate life insurance?":"¿Su empresa tiene seguro de vida corporativo?","Corporate Life Insurance Coverage":"Cobertura de seguro de vida corporativo","Number of PCs / Workstations":"Número de computadoras / estaciones de trabajo","For IT security cost savings calculation":"Para calcular ahorros en seguridad informática","Business Assessment":"Evaluación empresarial",Back:"Atrás","Next Step":"Siguiente paso","Full Report":"Informe completo","Print Report":"Imprimir informe","Edit Data":"Editar datos","DREAMS Score — Personalized Business Report":"Puntuación DREAMS — Informe empresarial personalizado","Prepared for":"Preparado para","Total Est. Increased Profit":"Aumento de ganancia estimado","Total Potential Value":"Valor potencial total","From expense reduction, tax credits & optimization":"De reducción de gastos, créditos fiscales y optimización","From funding access, asset optimization & growth":"De acceso a financiamiento, optimización de activos y crecimiento","Combined savings + profit opportunities":"Ahorros combinados y oportunidades de ganancias","DREAMS Score Overview":"Resumen de la puntuación DREAMS","Report Sections":"Secciones del informe","Savings & Profit Summary":"Resumen de ahorros y ganancias",Savings:"Ahorros",Profit:"Ganancia",Funding:"Financiamiento","Ready to Unlock":"¿Listo para aprovechar","in Value?":"en valor?","areas of opportunity. Connect with our expert partners to start implementing these recommendations and turn potential savings into real results.":"áreas de oportunidad. Conéctese con nuestros especialistas para implementar estas recomendaciones y convertir los ahorros potenciales en resultados reales.","Back to Dashboard":"Volver al panel","Disclaimer:":"Aviso:","All numbers shown throughout this report are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service. Contact us to schedule your free consultation.":"Todas las cifras de este informe son estimaciones basadas en información limitada y no están garantizadas. Un especialista de la industria puede proporcionar una estimación completa sin costo ni obligación. Contáctenos para programar su consulta gratuita.","DREAMS Score Report — Prepared exclusively for":"Informe de puntuación DREAMS — Preparado exclusivamente para","Sample Report":"Informe de ejemplo","This report does not have live links. Please contact your DREAMS representative to schedule appointments with service providers.":"Este informe no tiene enlaces activos. Comuníquese con su representante DREAMS para programar citas con los proveedores de servicios.","Key Benefits":"Beneficios principales","Industry Example":"Ejemplo de la industria","Numbers shown are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service.":"Las cifras mostradas son estimaciones basadas en información limitada y no están garantizadas. Un especialista de la industria puede proporcionar una estimación completa sin costo ni obligación.","Want Results Like":"¿Desea resultados como los de","Take the free DREAMS Score assessment and discover your business's hidden savings and profit opportunities in just 15 minutes.":"C
287omplete gratis la evaluación DREAMS y descubra los ahorros ocultos y las oportunidades de ganancias de su empresa en solo 15 minutos.",employees:"empleados","This sample report is for demonstration purposes. Actual results vary based on business specifics.":"Este informe de ejemplo es solo para demostración. Los resultados reales varían según las características de cada empresa.",Report:"Informe","Get Report":"Obtener informe","Next Steps":"Próximos pasos","Step 1 — Free Instant AI Analysis":"Paso 1 — Análisis gratuito e instantáneo con IA","to AI Search?":"en las búsquedas con IA?","Your customers are asking ChatGPT, Gemini, and Grok who to trust. Get your free AI Visibility Score to see exactly how AI engines see your business — then unlock your full DREAMS Score to find hidden savings.":"Sus clientes preguntan a ChatGPT, Gemini y Grok en quién confiar. Obtenga gratis su puntuación de visibilidad con IA para descubrir cómo ven su empresa y luego complete DREAMS para encontrar ahorros ocultos.","Watch Video":"Ver video","Analyzed across:":"Analizado en:","Watch how the AI Visibility Score shows you exactly how AI engines see your business — in under a minute.":"Vea cómo la puntuación de visibilidad muestra exactamente cómo los motores de IA ven su empresa, en menos de un minuto.","Get Your":"Obtenga su","Free AI Visibility Report":"informe gratuito de visibilidad con IA","Fill out the form below and receive your live AI analysis in under a minute. See how visible your business is across all major AI search engines.":"Complete el formulario y reciba su análisis de IA en menos de un minuto. Descubra qué tan visible es su empresa en los principales motores de IA.","Loading AI Visibility Report...":"Cargando el informe de visibilidad con IA...","Unable to load the report form":"No se pudo cargar el formulario del informe","The AI Visibility Report tool is temporarily unavailable.":"La herramienta de visibilidad con IA no está disponible temporalmente.","Open report in a 
287new tab instead":"Abrir el informe en una pestaña nueva","What's Next?":"¿Qué sigue?","Unlock More Savings":"Descubra más ahorros","Your AI Visibility Report is just the beginning. Take the next step to uncover even more profit opportunities for your business.":"Su informe de visibilidad con IA es solo el comienzo. Dé el siguiente paso para descubrir más oportunidades de ganancias.","Take the DREAMS Score Assessment":"Complete la evaluación DREAMS","Discover $50,000 – $500,000 in hidden savings across debt, retirement, expenses, assets, tax credits, and security. Our free 15-minute assessment reveals profit opportunities most advisors miss.":"Descubra entre $50,000 y $500,000 en ahorros ocultos en deuda, jubilación, gastos, activos, créditos fiscales y seguridad. Nuestra evaluación gratuita de 15 minutos revela oportunidades que muchos asesores no detectan.","Free — no cost, no obligation":"Gratis, sin costo ni obligación","15-minute assessment":"Evaluación de 15 minutos","Custom savings report":"Informe de ahorros personalizado","Book an AI Optimization Specialist":"Reserve con un especialista en optimización de IA","Get a personalized consultation with an AI website optimization specialist. Learn exactly how to increase your visibility in AI search results and drive more qualified leads to your business.":"Reciba una consulta personalizada con un especialista en optimización web con IA. Aprenda cómo aumentar su visibilidad y atraer prospectos más calificados.","Free 15-minute Zoom consultation":"Consulta gratuita de 15 minutos por Zoom","Review your AI Visibility Report":"Revise su informe de visibilidad con IA","Get actionable optimization steps":"Obtenga pasos prácticos de optimización","Book Free Consultation":"Reservar consulta gratuita","Score Results":"Resultados de la puntuación","All figures shown are estimates based on limited information gathered.":"Todas las cifras mostradas son estimaciones basadas en la información limitada recopilada.","Schedule an appointment with an expert":"Programe una cita con un especialista","for a complete, personalized proposal.":"para recibir una propuesta completa y personalizada.",Manufacturing:"Manufactura",Technology:"Tecnología",Healthcare:"Salud",Construction:"Construcción","Transportation & Logistics":"Transporte y logística","Hospitality & Food Service":"Hostelería y servicios de alimentos",Retail:"Comercio minorista","Professional Services":"Servicios profesionales","Real Estate":"Bienes raíces","Financial Services":"Servicios financieros",Education:"Educación",Energy:"Energía",Agriculture:"Agricultura","Debt (Funding)":"Deuda (financiamiento)","Money (Tax Credits)":"Dinero (créditos fiscales)",Employee:"Empleado"},jI=N.createContext({language:"en",setLanguage:()=>{},toggleLanguage:()=>{},t:e=>e});function LG(e,t){return t==="es"?BG[e]??e:e}function qG({children:e}){const[t,n]=N.useState(()=>{try{const l=new URLSearchParams(window.location.search).get("lang");if(l==="en"||l==="es")return l;const c=localStorage.getItem("dreams-language");return c==="en"||c==="es"?c:navigator.language.toLowerCase().startsWith("es")?"es":"en"}catch{return"en"}});N.useEffect(()=>{try{localStorage.setItem("dreams-language",t)}catch{}document.documentElement.lang=t},[t]);const r=N.useCallback(()=>{n(l=>l==="en"?"es":"en")},[]),a=N.useCallback(l=>LG(l,t),[t]),s=N.useMemo(()=>({language:t,setLanguage:n,toggleLanguage:r,t:a}),[t,r,a]);return g.jsx(jI.Provider,{"data-loc":"client/src/contexts/LanguageContext.tsx:350",value:s,children:e})}function na(){return N.useContext(jI)}function zG(){const{t:e}=na();return g.jsx("div",{"data-loc":"client/src/components/DisclaimerBanner.tsx:11",className:"bg-amber-50 border-b border-amber-200",children:g.jsxs("div",{"data-loc":"client/src/components/DisclaimerBanner.tsx:12",className:"container py-2.5 flex items-center justify-center gap-3 text-center",children:[g.jsx(iG,{"data-loc":"client/src/components/DisclaimerBanner.tsx:13",className:"w-4 h-4 text-amber-600 shrink-0"}),g.jsxs("p",{"data-loc":"client/src/components/DisclaimerBanner.tsx:14",className:"text-sm text-amber-800 font-medium",children:[g.jsx("span",{"data-loc":"client/src/components/DisclaimerBanner.tsx:15",className:"font-bold",children:e("Disclaimer:")})," ",e("All figures shown are estimates based on limited information gathered.")," ",g.jsxs("a",{"data-loc":"client/src/components/DisclaimerBanner.tsx:16",href:"https://link.dreamsresources.com/widget/bookings/fundable360",className:"inline-flex items-center gap-1 text-amber-900 font-bold underline underline-offset-2 hover:text-amber-700 transition-colors",children:[g.jsx(Ji,{"data-loc":"client/src/components/DisclaimerBanner.tsx:20",className:"w-3.5 h-3.5"}),e("Schedule an appointment with an expert")]})," ",e("for a complete, personalized proposal.")]})]})})}function gm(e){const t=e.business.numberOfEmployees||e.assets.numberOfEmployees||50,n=e.business.buildingSqFt||1e4,r=e.debt.desiredFunding,a={category:"Debt Management",letter:"D",estimatedSavings:0,estimatedProfit:r,details:[{label:"Additional Funding Access",value:`$${r.toLocaleStr
287ing()}`,savings:0},{label:"Current Business Debt",value:`$${e.debt.currentBusinessDebt.toLocaleString()}`,savings:0},{label:"Monthly Debt Payments",value:`$${e.debt.monthlyDebtPayments.toLocaleString()}`,savings:0}],recommendations:["Fast, flexible business funding through Bank Breezy","Debt restructuring to lower monthly payments","SBA loan options for business expansion"]},s=750,l=t*s,c={category:"Retirement Planning",letter:"R",estimatedSavings:l,estimatedProfit:0,details:[{label:"Annual 401(k) Savings",value:`$${l.toLocaleString()}`,savings:l},{label:"Per Employee Savings",value:`$${s.toLocaleString()}/yr`,savings:0},{label:"Current 401(k) Balance",value:`$${e.retirement.current401kBalance.toLocaleString()}`,savings:0},{label:"Participation Rate",value:`${e.retirement.employeeParticipationRate}%`,savings:0}],recommendations:["Optimize 401(k) plan structure for tax savings","Increase employee participation with auto-enrollment","Indexed annuities for owner retirement protection"]},d=t*800,m=Math.round(e.expenses.annualHealthPremiums*.3),p=.4,y=e.expenses.monthlyEnergyBill*12,b=Math.round(y*p),A=Math.round(n*.8),x={category:"Expense Reduction",letter:"E",estimatedSavings:d+m+b+A,estimatedProfit:0,details:[{label:"Health Benefits Savings",value:`$${d.toLocaleString()}/yr`,savings:d},{label:"Benefits Audit Savings (30%)",value:`$${m.toLocaleString()}/yr`,savings:m},{label:"Energy Cost Reduction",value:`$${b.toLocaleString()}/yr`,savings:b},{label:"Solar Energy Estimate",value:`$${A.toLocaleString()}/yr`,savings:A}],recommendations:["Section 125 Health Efficiency Plan for employee savings","Complimentary benefits audit to uncover premium savings","Solar energy installation for long-term cost reduction","LED lighting and energy efficiency upgrades"]},O=e.assets.marketingProfitAdjustment??1,R=Math.round(t*2400*O),M=(e.assets.monthlyAdvertisingSpend||0)*12,T=e.assets.aiMarketingRoiMultiplier??10,C=M*T,E={category:"Asset Optimization",letter:"A",estimatedSavings:0,estimatedProfit:R+C,details:[{label:"Marketing Services Value",value:`$${R.toLocaleString()}/yr`,savings:0},...C>0?[{label:`AI Marketing ${T}x Potential`,value:`$${C.toLocaleString()}/yr`,savings:0}]:[],{label:"Number of Employees",value:`${t}`,savings:0}],recommendations:["Dreams Leads — targeted lead generation","Intent Data — identify high-intent prospects","Fugu Reviews — boost positive customer reviews",`AI Interactive Marketing — ${T}x ROI on ad spend`]},P=e.money.totalAnnualPayrollAndSubs||0,k=Math.round(P*.1),z=e.money.numberOfTippedEmployees*e.money.averageTipsPerEmployee*12*.0765,B=e.money.paysOver20kFederalTax,U=B?k:0,K={category:"Money & Tax Credits",letter:"M",estimatedSavings:Math.round(U+z),estimatedProfit:0,details:[{label:"Pays >$20K Federal Tax",value:B?"Yes":"No",savings:0},{label:"Annual Payroll & Subcontractors",value:`$${P.toLocaleString()}`,savings:0},{label:"Potential R&D Tax Credit (10%)",value:`$${k.toLocaleString()}/yr`,savings:U},{label:"FICA Tip Tax Credit",value:`$${Math.round(z).toLocaleString()}/yr`,savings:Math.round(z)}],recommendations:["R&D Tax Credit — retroactive claims for past 3 years","FICA Tip Tax Credit for tipped employees","State-level R&D credits (36 states offer additional programs)","Carry forward unused credits for up to 20 years"]},I=e.security.numberOfPCs*300,L=Math.round(e.security.corporateLifeCoverage*.05),Z={category:"Security & Protection",letter:"S",estimatedSavings:I+L,estimatedProfit:0,details:[{label:"PC Security Savings",value:`$${I.toLocaleString()}/yr`,savings:I},{label:"Insurance Optimization",value:`$${L.toLocaleString()}/yr`,savings:L},{label:"Number of PCs",value:`${e.security.numberOfPCs}`,savings:0}],recommendations:["Corporate life insurance review and optimization","Buy-sell agreement funding analysis","Key man life insurance assessment","Cloud computing and technology review"]},ie=[a,c,x,E,K,Z],$=ie.reduce((Y,J)=>Y+J.estimatedSavings,0),G=ie.reduce((Y,J)=>Y+J.estimatedProfit,0);return{totalEstimatedSavings:$,totalEstimatedProfit:G,categories:ie}}const Ya=[{id:"peak-manufacturing",companyName:"Peak Manufacturing, LLC",industry:"Manufacturing",employees:85,contact:"Sarah Mitchell",title:"CEO",scores:{totalSavings:1026050,totalProfit:498e3,categories:[{letter:"D",name:"Debt (Funding)",amount:3e5,type:"funding"},{letter:"R",name:"Retirement",amount:63750,type:"savings"},{letter:"E",name:"Expenses",amount:297800,type:"savings"},{letter:"A",name:"Assets",amount:198e3,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:595e3,type:"savings"},{letter:"S",name:"Security",amount:69500,type:"savings"}]},assessmentData:{business:{companyName:"Peak Manufacturing, LLC",contactName:"Sarah Mitchell",email:"[email protected]",phone:"(614) 555-0192",title:"CEO",website:"www.peakmfg.com",industry:"Manufacturing",annualRevenue:12e6,numberOfEmployees:85,yearsInBusiness:18,buildingSqFt:45e3,salesType:"B2B"},debt:{currentBusinessDebt:45e4,monthlyDebtPayments:12e3,desiredFunding:3e5,creditScore:"Good",fundingPurpose:"Equipment Purchase"},retirement:{has401k:!0,current401kBalance:38e5,employerMatchPercent:4,employeeParticipationRate:62,annualContributions:28e4},expenses:{monthlyHealthInsurance:42500,monthlyEnergyBill:8500,monthlyUtilities:4200,monthlyPayroll:425e3,annualHealthPremiums:51e4,monthlyPhoneCost:4200,monthlyInternetCost:1800,monthlyCloudServicesCost:3500,monthlyITManagementCost:5500,numberOfDialers:12,monthlyDialerRevenue:85e3},assets:{numberOfEmployees:85,hasWebsite:!0,websiteUrl:"www.peakmfg.com",monthlyAdvertisingSpend:8e3,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:595e4,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!0,corporateLifeCoverage:1e6,numberOfPCs:65}}},{id:"redline-freight",companyName:"Redline Freight Systems",industry:"Transportation & Logistics",employees:250,contact:"Jamie Chen",t
287itle:"CFO",scores:{totalSavings:2581100,totalProfit:12e5,categories:[{letter:"D",name:"Debt (Funding)",amount:6e5,type:"funding"},{letter:"R",name:"Retirement",amount:187500,type:"savings"},{letter:"E",name:"Expenses",amount:707600,type:"savings"},{letter:"A",name:"Assets",amount:6e5,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:15e5,type:"savings"},{letter:"S",name:"Security",amount:186e3,type:"savings"}]},assessmentData:{business:{companyName:"Redline Freight Systems",contactName:"Jamie Chen",email:"[email protected]",phone:"(404) 555-0287",title:"CFO",website:"www.redlinefreight.com",industry:"Transportation & Logistics",annualRevenue:38e6,numberOfEmployees:250,yearsInBusiness:22,buildingSqFt:12e4,salesType:"B2B"},debt:{currentBusinessDebt:12e5,monthlyDebtPayments:28e3,desiredFunding:6e5,creditScore:"Excellent",fundingPurpose:"Growth & Expansion"},retirement:{has401k:!0,current401kBalance:85e5,employerMatchPercent:5,employeeParticipationRate:58,annualContributions:75e4},expenses:{monthlyHealthInsurance:85e3,monthlyEnergyBill:22e3,monthlyUtilities:8500,monthlyPayroll:105e4,annualHealthPremiums:102e4,monthlyPhoneCost:12500,monthlyInternetCost:4500,monthlyCloudServicesCost:8e3,monthlyITManagementCost:15e3,numberOfDialers:35,monthlyDialerRevenue:28e4},assets:{numberOfEmployees:250,hasWebsite:!0,websiteUrl:"www.redlinefreight.com",monthlyAdvertisingSpend:25e3,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:15e6,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!0,keyManCoverage:2e6,hasBuySellAgreement:!0,hasCorporateLifeInsurance:!0,corporateLifeCoverage:3e6,numberOfPCs:120}}},{id:"greenleaf-hospitality",companyName:"GreenLeaf Hospitality Group",industry:"Hospitality & Food Service",employees:120,contact:"Marcus Rivera",title:"Owner",scores:{totalSavings:1272492,totalProfit:588e3,categories:[{letter:"D",name:"Debt (Funding)",amount:3e5,type:"funding"},{letter:"R",name:"Retirement",amount:9e4,type:"savings"},{letter:"E",name:"Expenses",amount:348800,type:"savings"},{letter:"A",name:"Assets",amount:288e3,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:798192,type:"savings"},{letter:"S",name:"Security",amount:35500,type:"savings"}]},assessmentData:{business:{companyName:"GreenLeaf Hospitality Group",contactName:"Marcus Rivera",email:"[email protected]",phone:"(512) 555-0341",title:"Owner",website:"www.greenleafhospitality.com",industry:"Hospitality & Food Service",annualRevenue:85e5,numberOfEmployees:120,yearsInBusiness:12,buildingSqFt:0,salesType:"B2C"},debt:{currentBusinessDebt:35e4,monthlyDebtPayments:8500,desiredFunding:3e5,creditScore:"Good",fundingPurpose:"Growth & Expansion"},retirement:{has401k:!0,current401kBalance:22e5,employerMatchPercent:3,employeeParticipationRate:45,annualContributions:18e4},expenses:{monthlyHealthInsurance:48e3,monthlyEnergyBill:15e3,monthlyUtilities:6500,monthlyPayroll:52e4,annualHealthPremiums:576e3,monthlyPhoneCost:6e3,monthlyInternetCost:2800,monthlyCloudServicesCost:4500,monthlyITManagementCost:8e3,numberOfDialers:20,monthlyDialerRevenue:15e4},assets:{numberOfEmployees:120,hasWebsite:!0,websiteUrl:"www.greenleafhospitality.com",monthlyAdvertisingSpend:12e3,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:666e4,hasClaimedRDCredit:!1,numberOfTippedEmployees:80,averageTipsPerEmployee:1800},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!1,corporateLifeCoverage:5e5,numberOfPCs:35}}},{id:"suncoast-air-mechanical",companyName:"SunCoast Air & Mechanical",industry:"Air Conditioning & HVAC Services",employees:20,contact:"Daniel Brooks",title:"Owner",scores:{totalSavings:319680,totalProfit:368e3,categories:[{letter:"D",name:"Debt (Funding)",amount:2e5,type:"funding"},{letter:"R",name:"Retirement",amount:15e3,type:"savings"},{letter:"E",name:"Expenses",amount:74880,type:"savings"},{letter:"A",name:"Assets",amount:168e3,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:2e5,type:"savings"},{letter:"S",name:"Security",amount:29800,type:"savings"}]},assessmentData:{business:{companyName:"SunCoast Air & Mechanical",contactName:"Daniel Brooks",email:"[email protected]",phone:"(813) 555-0148",title:"Owner",website:"www.suncoastair.example",industry:"Air Conditioning & HVAC Services",annualRevenue:3e6,numberOfEmployees:20,yearsInBusiness:12,buildingSqFt:8500,salesType:"Both"},debt:{currentBusinessDebt:125e3,monthlyDebtPayments:3800,desiredFunding:2e5,creditScore:"Good",fundingPurpose:"Equipment Purchase"},retirement:{has401k:!0,current401kBalance:64e4,employerMatchPercent:3,employeeParticipationRate:50,annualContributions:58e3},expenses:{monthlyHealthInsurance:11e3,monthlyEnergyBill:2600,monthlyUtilities:1400,monthlyPayroll:145e3,annualHealthPremiums:132e3,monthlyPhoneCost:1200,monthlyInternetCost:450,monthlyCloudServicesCost:900,monthlyITManagementCost:1600,numberOfDialers:8,monthlyDialerRevenue:6e4},assets:{numberOfEmployees:20,hasWebsite:!0,websiteUrl:"www.suncoastair.example",monthlyAdvertisingSpend:12e3,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:2e6,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!0,corporateLifeCoverage:5e5,numberOfPCs:16}}},{id:"ironbridge-precision-manufacturing",companyName:"IronBridge Precision Manufacturing",industry:"Manufacturing",employees:170,contact:"Rebecca Lawson",title:"President",scores:{totalSavings:3397e3,totalProfit:1644e3,categories:[{letter:"D",name:"Debt (Funding)",amount:12e5,type:"funding"},{letter:"R",name:"Retirement",amount:127500,type:"savings"},{letter:"E",name:"Expenses",amount:776e3,type:"savings"},{letter:"A",name:"Assets",amount:444e3,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:22e5,type:"savings"},{letter:"S",name:"Security",amount:293500,type:"savings"}]},assessmentData:{business:{companyName:"IronBridge Precision Manufacturing",contactName:"Rebecca Lawson",email:"[email protected]",phone:"(216) 555-0173",title:"President",website:"www.ironbridgeprecision.example",industry:"Manufacturing",annualRevenue:3e7,numberOfEmployees:170,yearsInBusiness:25,buildingSqFt:95e3,salesType:"B2B"},debt:{currentBusinessDebt:22e5,monthlyDebtPayments:48e3,desiredFunding:12e5,creditScore:"Excellent",fundingPurpose:"Equipment Purchase"},retirement:{has401k:!0,current401kBalance:95e5,employerMatchPercent:4,employeeParticipationRate:68,annualContributions:68e4},expenses:{monthlyHealthInsurance:11e4,monthlyEnergyBill:35e3,monthlyUtilities:16e3,monthlyPayroll:145e4,annualHealthPremiums:132e4,monthlyPhoneCost:9e3,monthlyInternetCost:3500,monthlyCloudServicesCost:14e3,monthlyITManagementCost:24e3,numberOfDialers:10,monthlyDialerRevenue:12e4},assets:{numberOfEmployees:170,hasWebsite:!0,websiteUrl:"www.ironbridgeprecision.example",monthlyAdvertisingSpend:2e4,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:22e6,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!0,keyManCoverage:3e6,hasBuySellAgreement:!0,hasCorporateLifeInsurance:!0,corporateLifeCoverage:5e6,numberOfPCs:145}}},{id:"rolling-fork-food-trucks",companyName:"Rolling Fork Food Trucks",industry:"Hospital
287ity & Food Service",employees:10,contact:"Maya Thompson",title:"Founder",scores:{totalSavings:128937,totalProfit:21e4,categories:[{letter:"D",name:"Debt (Funding)",amount:15e4,type:"funding"},{letter:"R",name:"Retirement",amount:7500,type:"savings"},{letter:"E",name:"Expenses",amount:30480,type:"savings"},{letter:"A",name:"Assets",amount:6e4,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:76957,type:"savings"},{letter:"S",name:"Security",amount:14e3,type:"savings"}]},assessmentData:{business:{companyName:"Rolling Fork Food Trucks",contactName:"Maya Thompson",email:"[email protected]",phone:"(407) 555-0126",title:"Founder",website:"www.rollingfork.example",industry:"Hospitality & Food Service",annualRevenue:12e5,numberOfEmployees:10,yearsInBusiness:5,buildingSqFt:2e3,salesType:"B2C"},debt:{currentBusinessDebt:85e3,monthlyDebtPayments:2800,desiredFunding:15e4,creditScore:"Good",fundingPurpose:"Equipment Purchase"},retirement:{has401k:!1,current401kBalance:0,employerMatchPercent:0,employeeParticipationRate:0,annualContributions:0},expenses:{monthlyHealthInsurance:4200,monthlyEnergyBill:1200,monthlyUtilities:700,monthlyPayroll:52e3,annualHealthPremiums:50400,monthlyPhoneCost:800,monthlyInternetCost:250,monthlyCloudServicesCost:450,monthlyITManagementCost:600,numberOfDialers:0,monthlyDialerRevenue:0},assets:{numberOfEmployees:10,hasWebsite:!0,websiteUrl:"www.rollingfork.example",monthlyAdvertisingSpend:4e3,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:72e4,hasClaimedRDCredit:!1,numberOfTippedEmployees:6,averageTipsPerEmployee:900},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!0,corporateLifeCoverage:25e4,numberOfPCs:5}}},{id:"cypress-table-grill",companyName:"Cypress Table & Grill",industry:"Hospitality & Food Service",employees:40,contact:"Anthony Morales",title:"Managing Partner",scores:{totalSavings:544410,totalProfit:438e3,categories:[{letter:"D",name:"Debt (Funding)",amount:3e5,type:"funding"},{letter:"R",name:"Retirement",amount:3e4,type:"savings"},{letter:"E",name:"Expenses",amount:152e3,type:"savings"},{letter:"A",name:"Assets",amount:138e3,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:321310,type:"savings"},{letter:"S",name:"Security",amount:41100,type:"savings"}]},assessmentData:{business:{companyName:"Cypress Table & Grill",contactName:"Anthony Morales",email:"[email protected]",phone:"(305) 555-0184",title:"Managing Partner",website:"www.cypresstable.example",industry:"Hospitality & Food Service",annualRevenue:45e5,numberOfEmployees:40,yearsInBusiness:10,buildingSqFt:6e3,salesType:"B2C"},debt:{currentBusinessDebt:25e4,monthlyDebtPayments:7500,desiredFunding:3e5,creditScore:"Good",fundingPurpose:"Growth & Expansion"},retirement:{has401k:!0,current401kBalance:9e5,employerMatchPercent:3,employeeParticipationRate:42,annualContributions:95e3},expenses:{monthlyHealthInsurance:2e4,monthlyEnergyBill:9e3,monthlyUtilities:4500,monthlyPayroll:19e4,annualHealthPremiums:24e4,monthlyPhoneCost:2400,monthlyInternetCost:900,monthlyCloudServicesCost:1800,monthlyITManagementCost:2800,numberOfDialers:4,monthlyDialerRevenue:25e3},assets:{numberOfEmployees:40,hasWebsite:!0,websiteUrl:"www.cypresstable.example",monthlyAdvertisingSpend:7500,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:28e5,hasClaimedRDCredit:!1,numberOfTippedEmployees:25,averageTipsPerEmployee:1800},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!0,hasCorporateLifeInsurance:!0,corporateLifeCoverage:75e4,numberOfPCs:12}}},{id:"harbor-key-realty",companyName:"Harbor Key Realty",industry:"Real Estate",employees:1,contact:"Elena Rivera",title:"Broker-Owner",scores:{totalSavings:44590,totalProfit:106200,categories:[{letter:"D",name:"Debt (Funding)",amount:75e3,type:"funding"},{letter:"R",name:"Retirement",amount:750,type:"savings"},{letter:"E",name:"Expenses",amount:6240,type:"savings"},{letter:"A",name:"Assets",amount:31200,type:"profit"},{letter:"M",name:"Money (Tax Credits)",amount:12e3,type:"savings"},{letter:"S",name:"Security",amount:25600,type:"savings"}]},assessmentData:{business:{companyName:"Harbor Key Realty",contactName:"Elena Rivera",email:"[email protected]",phone:"(813) 555-0148",title:"Broker-Owner",website:"www.harborkey.example",industry:"Real Estate",annualRevenue:42e4,numberOfEmployees:1,yearsInBusiness:6,buildingSqFt:800,salesType:"B2C"},debt:{currentBusinessDebt:32e3,monthlyDebtPayments:1200,desiredFunding:75e3,creditScore:"Good",fundingPurpose:"Marketing"},retirement:{has401k:!1,current401kBalance:0,employerMatchPercent:0,employeeParticipationRate:0,annualContributions:0},expenses:{monthlyHealthInsurance:900,monthlyEnergyBill:250,monthlyUtilities:180,monthlyPayroll:8500,annualHealthPremiums:12e3,monthlyPhoneCost:180,monthlyInternetCost:120,monthlyCloudServicesCost:350,monthlyITManagementCost:200,numberOfDialers:1,monthlyDialerRevenue:0},assets:{numberOfEmployees:1,hasWebsite:!0,websiteUrl:"www.harborkey.example",monthlyAdvertisingSpend:2500,marketingProfitAdjustment:.5,aiMarketingRoiMultiplier:1},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:12e4,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!0,corporateLifeCoverage:5e5,numberOfPCs:2}}}],vl={business:{companyName:"Acme Services LLC",contactName:"John Smith",email:"[email protected]",phone:"(555) 123-4567",t
287itle:"Owner",website:"www.acmeservices.com",industry:"Professional Services",annualRevenue:5e6,numberOfEmployees:25,yearsInBusiness:8,buildingSqFt:5e3,salesType:"B2B"},debt:{currentBusinessDebt:15e4,monthlyDebtPayments:4500,desiredFunding:2e5,creditScore:"Good",fundingPurpose:"Growth & Expansion"},retirement:{has401k:!0,current401kBalance:85e4,employerMatchPercent:3,employeeParticipationRate:55,annualContributions:75e3},expenses:{monthlyHealthInsurance:12500,monthlyEnergyBill:2800,monthlyUtilities:1500,monthlyPayroll:18e4,annualHealthPremiums:15e4,monthlyPhoneCost:1800,monthlyInternetCost:800,monthlyCloudServicesCost:1500,monthlyITManagementCost:3e3,numberOfDialers:5,monthlyDialerRevenue:35e3},assets:{numberOfEmployees:25,hasWebsite:!0,websiteUrl:"www.acmeservices.com",monthlyAdvertisingSpend:5e3},money:{paysOver20kFederalTax:!0,totalAnnualPayrollAndSubs:25e5,hasClaimedRDCredit:!1,numberOfTippedEmployees:0,averageTipsPerEmployee:0},security:{hasKeyManInsurance:!1,keyManCoverage:0,hasBuySellAgreement:!1,hasCorporateLifeInsurance:!0,corporateLifeCoverage:5e5,numberOfPCs:25}},HG=["Manufacturing","Technology","Healthcare","Construction","Transportation & Logistics","Hospital
287ity & Food Service","Retail","Professional Services","Real Estate","Financial Services","Education","Energy","Agriculture","Other"],dn={D:"#10B981",R:"#3B82F6",E:"#F59E0B",A:"#8B5CF6",M:"#EC4899",S:"#06B6D4"},_A=N.createContext({});function MA(e){const t=N.useRef(null);return t.current===null&&(t.current=e()),t.current}const PA=typeof window<"u",EI=PA?N.useLayoutEffect:N.useEffect,ym=N.createContext(null);function NA(e,t){e.indexOf(t)===-1&&e.push(t)}function DA(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ri=(e,t,n)=>n>t?t:n<e?e:n;let kA=()=>{};const ai={},CI=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function RI(e){return typeof e=="object"&&e!==null}const _I=e=>/^0[^.\s]+$/u.test(e);function IA(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ir=e=>e,UG=(e,t)=>n=>t(e(n)),Vf=(...e)=>e.reduce(UG),Vu=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class $A{constructor(){this.subscriptions=[]}add(t){return NA(this.subscriptions,t),()=>DA(this.subscriptions,t)}notify(t,n,r){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,r);else for(let s=0;s<a;s++){const l=this.subscriptions[s];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ma=e=>e*1e3,Dr=e=>e/1e3;function MI(e,t){return t?e*(1e3/t):0}const PI=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,VG=1e-7,FG=12;function GG(e,t,n,r,a){let s,l,c=0;do l=t+(n-t)/2,s=PI(l,r,a)-e,s>0?n=l:t=l;while(Math.abs(s)>VG&&++c<FG);return l}function Ff(e,t,n,r){if(e===t&&n===r)return Ir;const a=s=>GG(s,0,1,e,n);return s=>s===0||s===1?s:PI(a(s),t,r)}const NI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,DI=e=>t=>1-e(1-t),kI=Ff(.33,1.53,.69,.99),BA=DI(kI),II=NI(BA),$I=e=>(e*=2)<1?.5*BA(e):.5*(2-Math.pow(2,-10*(e-1))),LA=e=>1-Math.sin(Math.acos(e)),BI=DI(LA),LI=NI(LA),KG=Ff(.42,0,1,1),YG=Ff(0,0,.58,1),qI=Ff(.42,0,.58,1),WG=e=>Array.isArray(e)&&typeof e[0]!="number",zI=e=>Array.isArray(e)&&typeof e[0]=="number",QG={linear:Ir,easeIn:KG,easeInOut:qI,easeOut:YG,circIn:LA,circInOut:LI,circOut:BI,backIn:BA,backInOut:II,backOut:kI,anticipate:$I},XG=e=>typeof e=="string",vR=e=>{if(zI(e)){kA(e.length===4);const[t,n,r,a]=e;return Ff(t,n,r,a)}else if(XG(e))return QG[e];return e},Op=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ZG(e,t){let n=new Set,r=new Set,a=!1,s=!1;const l=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function f(m){l.has(m)&&(d.schedule(m),e()),m(c)}const d={schedule:(m,p=!1,y=!1)=>{const A=y&&a?n:r;return p&&l.add(m),A.has(m)||A.add(m),m},cancel:m=>{r.delete(m),l.delete(m)},process:m=>{if(c=m,a){s=!0;return}a=!0,[n,r]=[r,n],n.forEach(f),n.clear(),a=!1,s&&(s=!1,d.process(m))}};return d}const JG=40;function HI(e,t){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,l=Op.reduce((j,M)=>(j[M]=ZG(s),j),{}),{setup:c,read:f,resolveKeyframes:d,preUpdate:m,update:p,preRender:y,render:b,postRender:A}=l,S=()=>{const j=ai.useManualTiming?a.timestamp:performance.now();n=!1,ai.useManualTiming||(a.delta=r?1e3/60:Math.max(Math.min(j-a.timestamp,JG),1)),a.timestamp=j,a.isProcessing=!0,c.process(a),f.process(a),d.process(a),m.process(a),p.process(a),y.process(a),b.process(a),A.process(a),a.isProcessing=!1,n&&t&&(r=!1,e(S))},x=()=>{n=!0,r=!0,a.isProcessing||e(S)};return{schedule:Op.reduce((j,M)=>{const T=l[M];return j[M]=(C,E=!1,P=!1)=>(n||x(),T.schedule(C,E,P)),j},{}),cancel:j=>{for(let M=0;M<Op.length;M++)l[Op[M]].cancel(j)},state:a,steps:l}}const{schedule:jt,cancel:es,state:An,steps:Cv}=HI(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ir,!0);let Vp;function eK(){Vp=void 0}const er={now:()=>(Vp===void 0&&er.set(An.isProcessing||ai.useManualTiming?An.timestamp:performance.now()),Vp),set:e=>{Vp=e,queueMicrotask(eK)}},UI=e=>t=>typeof t=="string"&&t.startsWith(e),qA=UI("--"),tK=UI("var(--"),zA=e=>tK(e)?nK.test(e.split("/*")[0].trim()):!1,nK=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,rc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Fu={...rc,transform:e=>ri(0,1,e)},Tp={...rc,default:1},Ou=e=>Math.round(e*1e5)/1e5,HA=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function rK(e){return e==null}const aK=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,UA=(e,t)=>n=>!!(typeof n=="string"&&aK.test(n)&&n.startsWith(e)||t&&!rK(n)&&Object.prototype.hasOwnProperty.call(n,t)),VI=(e,t,n)=>r=>{if(typeof r!="string")return r;const[a,s,l,c]=r.match(HA);return{[e]:parseFloat(a),[t]:parseFloat(s),[n]:parseFloat(l),alpha:c!==void 0?parseFloat(c):1}},iK=e=>ri(0,255,e),Rv={...rc,transform:e=>Math.round(iK(e))},Bs={test:UA("rgb","red"),parse:VI("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Rv.transform(e)+", "+Rv.transform(t)+", "+Rv.transform(n)+", "+Ou(Fu.transform(r))+")"};function sK(e){let t="",n="",r="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
vendor: 36,945 bytes, lines 287-295
287a:a?parseInt(a,16)/255:1}}const Sw={test:UA("#"),parse:sK,transform:Bs.transform},Gf=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),zi=Gf("deg"),ga=Gf("%"),_e=Gf("px"),oK=Gf("vh"),lK=Gf("vw"),bR={...ga,parse:e=>ga.parse(e)/100,transform:e=>ga.transform(e*100)},cl={test:UA("hsl","hue"),parse:VI("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ga.transform(Ou(t))+", "+ga.transform(Ou(n))+", "+Ou(Fu.transform(r))+")"},Yt={test:e=>Bs.test(e)||Sw.test(e)||cl.test(e),parse:e=>Bs.test(e)?Bs.parse(e):cl.test(e)?cl.parse(e):Sw.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Bs.transform(e):cl.transform(e),getAnimatableNone:e=>{const t=Yt.parse(e);return t.alpha=0,Yt.transform(t)}},cK=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function uK(e){return isNaN(e)&&typeof e=="string"&&(e.match(HA)?.length||0)+(e.match(cK)?.length||0)>0}const FI="number",GI="color",fK="var",dK="var(",xR="${}",pK=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gu(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},a=[];let s=0;const c=t.replace(pK,f=>(Yt.test(f)?(r.color.push(s),a.push(GI),n.push(Yt.parse(f))):f.startsWith(dK)?(r.var.push(s),a.push(fK),n.push(f)):(r.number.push(s),a.push(FI),n.push(parseFloat(f))),++s,xR)).split(xR);return{values:n,split:c,indexes:r,types:a}}function KI(e){return Gu(e).values}function YI(e){const{split:t,types:n}=Gu(e),r=t.length;return a=>{let s="";for(let l=0;l<r;l++)if(s+=t[l],a[l]!==void 0){const c=n[l];c===FI?s+=Ou(a[l]):c===GI?s+=Yt.transform(a[l]):s+=a[l]}return s}}const hK=e=>typeof e=="number"?0:Yt.test(e)?Yt.getAnimatableNone(e):e;function mK(e){const t=KI(e);return YI(e)(t.map(hK))}const ts={test:uK,parse:KI,createTransformer:YI,getAnimatableNone:mK};function _v(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function gK({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,s=0,l=0;if(!t)a=s=l=n;else{const c=n<.5?n*(1+t):n+t-n*t,f=2*n-c;a=_v(f,c,e+1/3),s=_v(f,c,e),l=_v(f,c,e-1/3)}return{red:Math.round(a*255),green:Math.round(s*255),blue:Math.round(l*255),alpha:r}}function th(e,t){return n=>n>0?t:e}const Mt=(e,t,n)=>e+(t-e)*n,Mv=(e,t,n)=>{const r=e*e,a=n*(t*t-r)+r;return a<0?0:Math.sqrt(a)},yK=[Sw,Bs,cl],vK=e=>yK.find(t=>t.test(e));function wR(e){const t=vK(e);if(!t)return!1;let n=t.parse(e);return t===cl&&(n=gK(n)),n}const SR=(e,t)=>{const n=wR(e),r=wR(t);if(!n||!r)return th(e,t);const a={...n};return s=>(a.red=Mv(n.red,r.red,s),a.green=Mv(n.green,r.green,s),a.blue=Mv(n.blue,r.blue,s),a.alpha=Mt(n.alpha,r.alpha,s),Bs.transform(a))},Aw=new Set(["none","hidden"]);function bK(e,t){return Aw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function xK(e,t){return n=>Mt(e,t,n)}function VA(e){return typeof e=="number"?xK:typeof e=="string"?zA(e)?th:Yt.test(e)?SR:AK:Array.isArray(e)?WI:typeof e=="object"?Yt.test(e)?SR:wK:th}function WI(e,t){const n=[...e],r=n.length,a=e.map((s,l)=>VA(s)(s,t[l]));return s=>{for(let l=0;l<r;l++)n[l]=a[l](s);return n}}function wK(e,t){const n={...e,...t},r={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(r[a]=VA(e[a])(e[a],t[a]));return a=>{for(const s in r)n[s]=r[s](a);return n}}function SK(e,t){const n=[],r={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const s=t.types[a],l=e.indexes[s][r[s]],c=e.values[l]??0;n[a]=c,r[s]++}return n}const AK=(e,t)=>{const n=ts.createTransformer(t),r=Gu(e),a=Gu(t);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?Aw.has(e)&&!a.values.length||Aw.has(t)&&!r.values.length?bK(e,t):Vf(WI(SK(r,a),a.values),n):th(e,t)};function QI(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Mt(e,t,n):VA(e)(e,t)}const OK=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>jt.update(t,n),stop:()=>es(t),now:()=>An.isProcessing?An.timestamp:er.now()}},XI=(e,t,n=10)=>{let r="";const a=Math.max(Math.round(t/n),2);for(let s=0;s<a;s++)r+=Math.round(e(s/(a-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},nh=2e4;function FA(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<nh;)t+=n,r=e.next(t);return t>=nh?1/0:t}function TK(e,t=100,n){const r=n({...e,keyframes:[0,t]}),a=Math.min(FA(r),nh);return{type:"keyframes",ease:s=>r.next(a*s).value/t,duration:Dr(a)}}const jK=5;function ZI(e,t,n){const r=Math.max(t-jK,0);return MI(n-e(r),t-r)}const It={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Pv=.001;function EK({duration:e=It.duration,bounce:t=It.bounce,velocity:n=It.velocity,mass:r=It.mass}){let a,s,l=1-t;l=ri(It.minDamping,It.maxDamping,l),e=ri(It.minDuration,It.maxDuration,Dr(e)),l<1?(a=d=>{const m=d*l,p=m*e,y=m-n,b=Ow(d,l),A=Math.exp(-p);return Pv-y/b*A},s=d=>{const p=d*l*e,y=p*n+n,b=Math.pow(l,2)*Math.pow(d,2)*e,A=Math.exp(-p),S=Ow(Math.pow(d,2),l);return(-a(d)+Pv>0?-1:1)*((y-b)*A)/S}):(a=d=>{const m=Math.exp(-d*e),p=(d-n)*e+1;return-Pv+m*p},s=d=>{const m=Math.exp(-d*e),p=(n-d)*(e*e);return m*p});const c=5/e,f=RK(a,s,c);if(e=ma(e),isNaN(f))return{stiffness:It.stiffness,damping:It.damping,duration:e};{const d=Math.pow(f,2)*r;return{stiffness:d,damping:l*2*Math.sqrt(r*d),duration:e}}}const CK=12;function RK(e,t,n){let r=n;for(let a=1;a<CK;a++)r=r-e(r)/t(r);return r}function Ow(e,t){return e*Math.sqrt(1-t*t)}const _K=["duration","bounce"],MK=["stiffness","damping","mass"];function AR(e,t){return t.some(n=>e[n]!==void 0)}function PK(e){let t={velocity:It.velocity,stiffness:It.stiffness,damping:It.damping,mass:It.mass,isResolvedFromDuration:!1,...e};if(!AR(e,MK)&&AR(e,_K))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),a=r*r,s=2*ri(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:It.mass,stiffness:a,damping:s}}else{const n=EK(e);t={...t,...n,mass:It.mass},t.isResolvedFromDuration=!0}return t}function rh(e=It.visualDuration,t=It.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:a}=n;const s=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],c={done:!1,value:s},{stiffness:f,damping:d,mass:m,duration:p,velocity:y,isResolvedFromDuration:b}=PK({...n,velocity:-Dr(n.velocity||0)}),A=y||0,S=d/(2*Math.sqrt(f*m)),x=l-s,O=Dr(Math.sqrt(f/m)),R=Math.abs(x)<5;r||(r=R?It.restSpeed.granular:It.restSpeed.default),a||(a=R?It.restDelta.granular:It.restDelta.default);let j;if(S<1){const T=Ow(O,S);j=C=>{const E=Math.exp(-S*O*C);return l-E*((A+S*O*x)/T*Math.sin(T*C)+x*Math.cos(T*C))}}else if(S===1)j=T=>l-Math.exp(-O*T)*(x+(A+O*x)*T);else{const T=O*Math.sqrt(S*S-1);j=C=>{const E=Math.exp(-S*O*C),P=Math.min(T*C,300);return l-E*((A+S*O*x)*Math.sinh(P)+T*x*Math.cosh(P))/T}}const M={calculatedDuration:b&&p||null,next:T=>{const C=j(T);if(b)c.done=T>=p;else{let E=T===0?A:0;S<1&&(E=T===0?ma(A):ZI(j,T,C));const P=Math.abs(E)<=r,k=Math.abs(l-C)<=a;c.done=P&&k}return c.value=c.done?l:C,c},toString:()=>{const T=Math.min(FA(M),nh),C=XI(E=>M.next(T*E).value,T,30);return T+"ms "+C},toTransition:()=>{}};return M}rh.applyToOptions=e=>{const t=TK(e,100,rh);return e.ease=t.ease,e.duration=ma(t.duration),e.type="keyframes",e};function Tw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:s=500,modifyTarget:l,min:c,max:f,restDelta:d=.5,restSpeed:m}){const p=e[0],y={done:!1,value:p},b=P=>c!==void 0&&P<c||f!==void 0&&P>f,A=P=>c===void 0?f:f===void 0||Math.abs(c-P)<Math.abs(f-P)?c:f;let S=n*t;const x=p+S,O=l===void 0?x:l(x);O!==x&&(S=O-p);const R=P=>-S*Math.exp(-P/r),j=P=>O+R(P),M=P=>{const k=R(P),z=j(P);y.done=Math.abs(k)<=d,y.value=y.done?O:z};let T,C;const E=P=>{b(y.value)&&(T=P,C=rh({keyframes:[y.value,A(y.value)],velocity:ZI(j,P,y.value),damping:a,stiffness:s,restDelta:d,restSpeed:m}))};return E(0),{calculatedDuration:null,next:P=>{let k=!1;return!C&&T===void 0&&(k=!0,M(P),E(P)),T!==void 0&&P>=T?C.next(P-T):(!k&&M(P),y)}}}function NK(e,t,n){const r=[],a=n||ai.mix||QI,s=e.length-1;for(let l=0;l<s;l++){let c=a(e[l],e[l+1]);if(t){const f=Array.isArray(t)?t[l]||Ir:t;c=Vf(f,c)}r.push(c)}return r}function DK(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const s=e.length;if(kA(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const l=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=NK(t,r,a),f=c.length,d=m=>{if(l&&m<e[0])return t[0];let p=0;if(f>1)for(;p<e.length-2&&!(m<e[p+1]);p++);const y=Vu(e[p],e[p+1],m);return c[p](y)};return n?m=>d(ri(e[0],e[s-1],m)):d}function kK(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=Vu(0,t,r);e.push(Mt(n,1,a))}}function IK(e){const t=[0];return kK(t,e.length-1),t}function $K(e,t){return e.map(n=>n*t)}function BK(e,t){return e.map(()=>t||qI).splice(0,e.length-1)}function Tu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const a=WG(r)?r.map(vR):vR(r),s={done:!1,value:t[0]},l=$K(n&&n.length===t.length?n:IK(t),e),c=DK(l,t,{ease:Array.isArray(a)?a:BK(t,a)});return{calculatedDuration:e,next:f=>(s.value=c(f),s.done=f>=e,s)}}const LK=e=>e!==null;function GA(e,{repeat:t,repeatType:n="loop"},r,a=1){const s=e.filter(LK),c=a<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!c||r===void 0?s[c]:r}const qK={decay:Tw,inertia:Tw,tween:Tu,keyframes:Tu,spring:rh};function JI(e){typeof e.type=="string"&&(e.type=qK[e.type])}class KA{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const zK=e=>e/100;class YA extends KA{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==er.now()&&this.tick(er.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;JI(t);const{type:n=Tu,repeat:r=0,repeatDelay:a=0,repeatType:s,velocity:l=0}=t;let{keyframes:c}=t;const f=n||Tu;f!==Tu&&typeof c[0]!="number"&&(this.mixKeyframes=Vf(zK,QI(c[0],c[1])),c=[0,100]);const d=f({...t,keyframes:c});s==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...c].reverse(),velocity:-l})),d.calculatedDuration===null&&(d.calculatedDuration=FA(d));const{calculatedDuration:m}=d;this.calculatedDuration=m,this.resolvedDuration=m+a,this.totalDuration=this.resolvedDuration*(r+1)-a,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:a,mixKeyframes:s,mirroredGenerator:l,resolvedDuration:c,calculatedDuration:f}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:m,repeat:p,repeatType:y,repeatDelay:b,type:A,onUpdate:S,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const O=this.currentTime-d*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?O<0:O>a;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let j=this.currentTime,M=r;if(p){const P=Math.min(this.currentTime,a)/c;let k=Math.floor(P),z=P%1;!z&&P>=1&&(z=1),z===1&&k--,k=Math.min(k,p+1),!!(k%2)&&(y==="reverse"?(z=1-z,b&&(z-=b/c)):y==="mirror"&&(M=l)),j=ri(0,1,z)*c}const T=R?{done:!1,value:m[0]}:M.next(j);s&&(T.value=s(T.value));let{done:C}=T;!R&&f!==null&&(C=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return E&&A!==Tw&&(T.value=GA(m,this.options,x,this.speed)),S&&S(T.value),E&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return Dr(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Dr(t)}get time(){return Dr(this.currentTime)}set time(t){t=ma(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(er.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Dr(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=OK,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(er.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function HK(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Ls=e=>e*180/Math.PI,jw=e=>{const t=Ls(Math.atan2(e[1],e[0]));return Ew(t)},UK={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jw,rotateZ:jw,skewX:e=>Ls(Math.atan(e[1])),skewY:e=>Ls(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ew=e=>(e=e%360,e<0&&(e+=360),e),OR=jw,TR=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),jR=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),VK={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:TR,scaleY:jR,scale:e=>(TR(e)+jR(e))/2,rotateX:e=>Ew(Ls(Math.atan2(e[6],e[5]))),rotateY:e=>Ew(Ls(Math.atan2(-e[2],e[0]))),rotateZ:OR,rotate:OR,skewX:e=>Ls(Math.atan(e[4])),skewY:e=>Ls(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Cw(e){return e.includes("scale")?1:0}function Rw(e,t){if(!e||e==="none")return Cw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,a;if(n)r=VK,a=n;else{const c=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=UK,a=c}if(!a)return Cw(t);const s=r[t],l=a[1].split(",").map(GK);return typeof s=="function"?s(l):l[s]}const FK=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Rw(n,t)};function GK(e){return parseFloat(e.trim())}const ac=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ic=new Set(ac),ER=e=>e===rc||e===_e,KK=new Set(["x","y","z"]),YK=ac.filter(e=>!KK.has(e));function WK(e){const t=[];return YK.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Vs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Rw(t,"x"),y:(e,{transform:t})=>Rw(t,"y")};Vs.translateX=Vs.x;Vs.translateY=Vs.y;const Fs=new Set;let _w=!1,Mw=!1,Pw=!1;function e6(){if(Mw){const e=Array.from(Fs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const a=WK(r);a.length&&(n.set(r,a),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const a=n.get(r);a&&a.forEach(([s,l])=>{r.getValue(s)?.set(l)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Mw=!1,_w=!1,Fs.forEach(e=>e.complete(Pw)),Fs.clear()}function t6(){Fs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Mw=!0)})}function QK(){Pw=!0,t6(),e6(),Pw=!1}class WA{constructor(t,n,r,a,s,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=a,this.element=s,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(Fs.add(this),_w||(_w=!0,jt.read(t6),jt.resolveKeyframes(e6))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:a}=this;if(t[0]===null){const s=a?.get(),l=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const c=r.readValue(n,l);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=l),a&&s===void 0&&a.set(t[0])}HK(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Fs.delete(this)}cancel(){this.state==="scheduled"&&(Fs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const XK=e=>e.startsWith("--");function ZK(e,t,n){XK(t)?e.style.setProperty(t,n):e.style[t]=n}const JK=IA(()=>window.ScrollTimeline!==void 0),eY={};function tY(e,t){const n=IA(e);return()=>eY[t]??n()}const n6=tY(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),vu=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,CR={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vu([0,.65,.55,1]),circOut:vu([.55,0,1,.45]),backIn:vu([.31,.01,.66,-.59]),backOut:vu([.33,1.53,.69,.99])};function r6(e,t){if(e)return typeof e=="function"?n6()?XI(e,t):"ease-out":zI(e)?vu(e):Array.isArray(e)?e.map(n=>r6(n,t)||CR.easeOut):CR[e]}function nY(e,t,n,{delay:r=0,duration:a=300,repeat:s=0,repeatType:l="loop",ease:c="easeOut",times:f}={},d=void 0){const m={[t]:n};f&&(m.offset=f);const p=r6(c,a);Array.isArray(p)&&(m.easing=p);const y={delay:r,duration:a,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:l==="reverse"?"alternate":"normal"};return d&&(y.pseudoElement=d),e.animate(m,y)}function a6(e){return typeof e=="function"&&"applyToOptions"in e}function rY({type:e,...t}){return a6(e)&&n6()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class aY extends KA{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:a,pseudoElement:s,allowFlatten:l=!1,finalKeyframe:c,onComplete:f}=t;this.isPseudoElement=!!s,this.allowFlatten=l,this.options=t,kA(typeof t.type!="string");const d=rY(t);this.animation=nY(n,r,a,d,s),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const m=GA(a,this.options,c,this.speed);this.updateMotionValue?this.updateMotionValue(m):ZK(n,r,m),this.animation.cancel()}f?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Dr(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Dr(t)}get time(){return Dr(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ma(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&JK()?(this.animation.timeline=t,Ir):n(this)}}const i6={anticipate:$I,backInOut:II,circInOut:LI};function iY(e){return e in i6}function sY(e){typeof e.ease=="string"&&iY(e.ease)&&(e.ease=i6[e.ease])}const RR=10;class oY extends aY{constructor(t){sY(t),JI(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:a,element:s,...l}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const c=new YA({...l,autoplay:!1}),f=ma(this.finishedTime??this.time);n.setWithVelocity(c.sample(f-RR).value,c.sample(f).value,RR),c.stop()}}const _R=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ts.test(e)||e==="0")&&!e.startsWith("url("));function lY(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cY(e,t,n,r){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],l=_R(a,t),c=_R(s,t);return!l||!c?!1:lY(e)||(n==="spring"||a6(n))&&r}function Nw(e){e.duration=0,e.type="keyframes"}const uY=new Set(["opacity","clipPath","filter","transform"]),fY=IA(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function dY(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:a,damping:s,type:l}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:d}=t.owner.getProps();return fY()&&n&&uY.has(n)&&(n!=="transform"||!d)&&!f&&!r&&a!=="mirror"&&s!==0&&l!=="inertia"}const pY=40;class hY extends KA{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:l="loop",keyframes:c,name:f,motionValue:d,element:m,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=er.now();const y={autoplay:t,delay:n,type:r,repeat:a,repeatDelay:s,repeatType:l,name:f,motionValue:d,element:m,...p},b=m?.KeyframeResolver||WA;this.keyframeResolver=new b(c,(A,S,x)=>this.onKeyframesResolved(A,S,y,!x),f,d,m),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,a){this.keyframeResolver=void 0;const{name:s,type:l,velocity:c,delay:f,isHandoff:d,onUpdate:m}=r;this.resolvedAt=er.now(),cY(t,s,l,c)||((ai.instantAnimations||!f)&&m?.(GA(t,r,n)),t[0]=t[t.length-1],Nw(r),r.repeat=0);const y={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>pY?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},b=!d&&dY(y)?new oY({...y,element:y.motionValue.owner.current}):new YA(y);b.finished.then(()=>this.notifyFinished()).catch(Ir),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),QK()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const mY=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gY(e){const t=mY.exec(e);if(!t)return[,];const[,n,r,a]=t;return[`--${n??r}`,a]}function s6(e,t,n=1){const[r,a]=gY(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const l=s.trim();return CI(l)?parseFloat(l):l}return zA(a)?s6(a,t,n+1):a}function QA(e,t){return e?.[t]??e?.default??e}const o6=new Set(["width","height","top","left","right","bottom",...ac]),yY={test:e=>e==="auto",parse:e=>e},l6=e=>t=>t.test(e),c6=[rc,_e,ga,zi,lK,oK,yY],MR=e=>c6.find(l6(e));function vY(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_I(e):!0}const bY=new Set(["brightness","contrast","saturate","opacity"]);function xY(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(HA)||[];if(!r)return e;const a=n.replace(r,"");let s=bY.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+a+")"}const wY=/\b([a-z-]*)\(.*?\)/gu,Dw={...ts,getAnimatableNone:e=>{const t=e.match(wY);return t?t.map(xY).join(" "):e}},PR={...rc,transform:Math.round},SY={rotate:zi,rotateX:zi,rotateY:zi,rotateZ:zi,scale:Tp,scaleX:Tp,scaleY:Tp,scaleZ:Tp,skew:zi,skewX:zi,skewY:zi,distance:_e,translateX:_e,translateY:_e,translateZ:_e,x:_e,y:_e,z:_e,perspective:_e,transformPerspective:_e,opacity:Fu,originX:bR,originY:bR,originZ:_e},XA={borderWidth:_e,borderTopWidth:_e,borderRightWidth:_e,borderBottomWidth:_e,borderLeftWidth:_e,borderRadius:_e,radius:_e,borderTopLeftRadius:_e,borderTopRightRadius:_e,borderBottomRightRadius:_e,borderBottomLeftRadius:_e,width:_e,maxWidth:_e,height:_e,maxHeight:_e,top:_e,right:_e,bottom:_e,left:_e,padding:_e,paddingTop:_e,paddingRight:_e,paddingBottom:_e,paddingLeft:_e,margin:_e,marginTop:_e,marginRight:_e,marginBottom:_e,marginLeft:_e,backgroundPositionX:_e,backgroundPositionY:_e,...SY,zIndex:PR,fillOpacity:Fu,strokeOpacity:Fu,numOctaves:PR},AY={...XA,color:Yt,backgroundColor:Yt,outlineColor:Yt,fill:Yt,stroke:Yt,borderColor:Yt,borderTopColor:Yt,borderRightColor:Yt,borderBottomColor:Yt,borderLeftColor:Yt,filter:Dw,WebkitFilter:Dw},u6=e=>AY[e];function f6(e,t){let n=u6(e);return n!==Dw&&(n=ts),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const OY=new Set(["auto","none","0"]);function TY(e,t,n){let r=0,a;for(;r<e.length&&!a;){const s=e[r];typeof s=="string"&&!OY.has(s)&&Gu(s).values.length&&(a=e[r]),r++}if(a&&n)for(const s of t)e[s]=f6(n,a)}class jY extends WA{constructor(t,n,r,a,s){super(t,n,r,a,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let d=t[f];if(typeof d=="string"&&(d=d.trim(),zA(d))){const m=s6(d,n.current);m!==void 0&&(t[f]=m),f===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!o6.has(r)||t.length!==2)return;const[a,s]=t,l=MR(a),c=MR(s);if(l!==c)if(ER(l)&&ER(c))for(let f=0;f<t.length;f++){const d=t[f];typeof d=="string"&&(t[f]=parseFloat(d))}else Vs[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let a=0;a<t.length;a++)(t[a]===null||vY(t[a]))&&r.push(a);r.length&&TY(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Vs[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const a=n[n.length-1];a!==void 0&&t.getValue(r,a).jump(a,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const a=t.getValue(n);a&&a.jump(this.measuredOrigin,!1);const s=r.length-1,l=r[s];r[s]=Vs[n](t.measureViewportBox(),window.getComputedStyle(t.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),this.removedTransforms?.length&&this.removedTransforms.forEach(([c,f])=>{t.getValue(c).set(f)}),this.resolveNoneKeyframes()}}function EY(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const a=n?.[e]??r.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const d6=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function p6(e){return RI(e)&&"offsetHeight"in e}const NR=30,CY=e=>!isNaN(parseFloat(e));class RY{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const a=er.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=er.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=CY(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new $A);const r=this.events[t].add(n);return t==="change"?()=>{r(),jt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=er.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>NR)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,NR);return MI(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function El(e,t){return new RY(e,t)}const{schedule:ZA}=HI(queueMicrotask,!1),Yr={x:!1,y:!1};function h6(){return Yr.x||Yr.y}function _Y(e){return e==="x"||e==="y"?Yr[e]?null:(Yr[e]=!0,()=>{Yr[e]=!1}):Yr.x||Yr.y?null:(Yr.x=Yr.y=!0,()=>{Yr.x=Yr.y=!1})}function m6(e,t){const n=EY(e),r=new AbortController,a={passive:!0,...t,signal:r.signal};return[n,a,()=>r.abort()]}function DR(e){return!(e.pointerType==="touch"||h6())}function MY(e,t,n={}){const[r,a,s]=m6(e,n),l=c=>{if(!DR(c))return;const{target:f}=c,d=t(f,c);if(typeof d!="function"||!f)return;const m=p=>{DR(p)&&(d(p),f.removeEventListener("pointerleave",m))};f.addEventListener("pointerleave",m,a)};return r.forEach(c=>{c.addEventListener("pointerenter",l,a)}),s}const g6=(e,t)=>t?e===t?!0:g6(e,t.parentElement):!1,JA=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,PY=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function NY(e){return PY.has(e.tagName)||e.tabIndex!==-1}const Fp=new WeakSet;function kR(e){return t=>{t.key==="Enter"&&e(t)}}function Nv(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const DY=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=kR(()=>{if(Fp.has(n))return;Nv(n,"down");const a=kR(()=>{Nv(n,"up")}),s=()=>Nv(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function IR(e){return JA(e)&&!h6()}function kY(e,t,n={}){const[r,a,s]=m6(e,n),l=c=>{const f=c.currentTarget;if(!IR(c))return;Fp.add(f);const d=t(f,c),m=(b,A)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Fp.has(f)&&Fp.delete(f),IR(b)&&typeof d=="function"&&d(b,{success:A})},p=b=>{m(b,f===window||f===document||n.useGlobalTarget||g6(f,b.target))},y=b=>{m(b,!1)};window.addEventListener("pointerup",p,a),window.addEventListener("pointercancel",y,a)};return r.forEach(c=>{(n.useGlobalTarget?window:c).addEventListener("pointerdown",l,a),p6(c)&&(c.addEventListener("focus",d=>DY(d,a)),!NY(c)&&!c.hasAttribute("tabindex")&&(c.tabIndex=0))}),s}function y6(e){return RI(e)&&"ownerSVGElement"in e}function IY(e){return y6(e)&&e.tagName==="svg"}const kn=e=>!!(e&&e.getVelocity),$Y=[...c6,Yt,ts],BY=e=>$Y.find(l6(e)),e2=N.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function $R(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function LY(...e){return t=>{let n=!1;const r=e.map(a=>{const s=$R(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():$R(e[a],null)}}}}function qY(...e){return N.useCallback(LY(...e),e)}class zY extends N.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,a=p6(r)&&r.offsetWidth||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=a-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function HY({children:e,isPresent:t,anchorX:n,root:r}){const a=N.useId(),s=N.useRef(null),l=N.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=N.useContext(e2),f=qY(s,e?.ref);return N.useInsertionEffect(()=>{const{width:d,height:m,top:p,left:y,right:b}=l.current;if(t||!s.current||!d||!m)return;const A=n==="left"?`left: ${y}`:`right: ${b}`;s.current.dataset.motionPopId=a;const S=document.createElement("style");c&&(S.nonce=c);const x=r??document.head;return x.appendChild(S),S.sheet&&S.sheet.insertRule(`
288          [data-motion-pop-id="${a}"] {
289            position: absolute !important;
290            width: ${d}px !important;
291            height: ${m}px !important;
292            ${A}px !important;
293            top: ${p}px !important;
294          }
295        `),()=>{x.contains(S)&&x.removeChild(S)}},[t]),g.jsx(zY,{isPresent:t,childRef:s,sizeRef:l,children:N.cloneElement(e,{ref:f})})}const UY=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:a,presenceAffectsLayout:s,mode:l,anchorX:c,root:f})=>{const d=MA(VY),m=N.useId();let p=!0,y=N.useMemo(()=>(p=!1,{id:m,initial:t,isPresent:n,custom:a,onExitComplete:b=>{d.set(b,!0);for(const A of d.values())if(!A)return;r&&r()},register:b=>(d.set(b,!1),()=>d.delete(b))}),[n,d,r]);return s&&p&&(y={...y}),N.useMemo(()=>{d.forEach((b,A)=>d.set(A,!1))},[n]),N.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),l==="popLayout"&&(e=g.jsx(HY,{isPresent:n,anchorX:c,root:f,children:e})),g.jsx(ym.Provider,{value:y,children:e})};function VY(){return new Map}function v6(e=!0){const t=N.useContext(ym);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:a}=t,s=N.useId();N.useEffect(()=>{if(e)return a(s)},[e]);const l=N.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,l]:[!0]}const jp=e=>e.key||"";function BR(e){const t=[];return N.Children.forEach(e,n=>{N.isValidElement(n)&&t.push(n)}),t}const b6=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:a=!0,mode:s="sync",propagate:l=!1,anchorX:c="left",root:f})=>{const[d,m]=v6(l),p=N.useMemo(()=>BR(e),[e]),y=l&&!d?[]:p.map(jp),b=N.useRef(!0),A=N.useRef(p),S=MA(()=>new Map),[x,O]=N.useState(p),[R,j]=N.useState(p);EI(()=>{b.current=!1,A.current=p;for(let C=0;C<R.length;C++){const E=jp(R[C]);y.includes(E)?S.delete(E):S.get(E)!==!0&&S.set(E,!1)}},[R,y.length,y.join("-")]);const M=[];if(p!==x){let C=[...p];for(let E=0;E<R.length;E++){const P=R[E],k=jp(P);y.includes(k)||(C.splice(E,0,P),M.push(P))}return s==="wait"&&M.length&&(C=M),j(BR(C)),O(p),null}const{forceRender:T}=N.useContext(_A);return g.jsx(g.Fragment,{children:R.map(C=>{const E=jp(C),P=l&&!d?!1:p===R||y.includes(E),k=()=>{if(S.has(E))S.set(E,!0);else return;let z=!0;
vendor: 4,081 bytes, line 295
295S.forEach(B=>{B||(z=!1)}),z&&(T?.(),j(A.current),l&&m?.(),r&&r())};return g.jsx(UY,{isPresent:P,initial:!b.current||n?void 0:!1,custom:t,presenceAffectsLayout:a,mode:s,root:f,onExitComplete:P?void 0:k,anchorX:c,children:C},E)})})},x6=N.createContext({strict:!1}),LR={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Cl={};for(const e in LR)Cl[e]={isEnabled:t=>LR[e].some(n=>!!t[n])};function FY(e){for(const t in e)Cl[t]={...Cl[t],...e[t]}}const GY=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ah(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||GY.has(e)}let w6=e=>!ah(e);function KY(e){typeof e=="function"&&(w6=t=>t.startsWith("on")?!ah(t):e(t))}try{KY(require("@emotion/is-prop-valid").default)}catch{}function YY(e,t,n){const r={};for(const a in e)a==="values"&&typeof e.values=="object"||(w6(a)||n===!0&&ah(a)||!t&&!ah(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}const vm=N.createContext({});function bm(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ku(e){return typeof e=="string"||Array.isArray(e)}const t2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n2=["initial",...t2];function xm(e){return bm(e.animate)||n2.some(t=>Ku(e[t]))}function S6(e){return!!(xm(e)||e.variants)}function WY(e,t){if(xm(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ku(n)?n:void 0,animate:Ku(r)?r:void 0}}return e.inherit!==!1?t:{}}function QY(e){const{initial:t,animate:n}=WY(e,N.useContext(vm));return N.useMemo(()=>({initial:t,animate:n}),[qR(t),qR(n)])}function qR(e){return Array.isArray(e)?e.join(" "):e}const Yu={};function XY(e){for(const t in e)Yu[t]=e[t],qA(t)&&(Yu[t].isCSSVariable=!0)}function A6(e,{layout:t,layoutId:n}){return ic.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Yu[e]||e==="opacity")}const ZY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},JY=ac.length;function eW(e,t,n){let r="",a=!0;for(let s=0;s<JY;s++){const l=ac[s],c=e[l];if(c===void 0)continue;let f=!0;if(typeof c=="number"?f=c===(l.startsWith("scale")?1:0):f=parseFloat(c)===0,!f||n){const d=d6(c,XA[l]);if(!f){a=!1;const m=ZY[l]||l;r+=`${m}(${d}) `}n&&(t[l]=d)}}return r=r.trim(),n?r=n(t,a?"":r):a&&(r="none"),r}function r2(e,t,n){const{style:r,vars:a,transformOrigin:s}=e;let l=!1,c=!1;for(const f in t){const d=t[f];if(ic.has(f)){l=!0;continue}else if(qA(f)){a[f]=d;continue}else{const m=d6(d,XA[f]);f.startsWith("origin")?(c=!0,s[f]=m):r[f]=m}}if(t.transform||(l||n?r.transform=eW(t,e.transform,n):r.transform&&(r.transform="none")),c){const{originX:f="50%",originY:d="50%",originZ:m=0}=s;r.transformOrigin=`${f} ${d} ${m}`}}const a2=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function O6(e,t,n){for(const r in t)!kn(t[r])&&!A6(r,n)&&(e[r]=t[r])}function tW({transformTemplate:e},t){return N.useMemo(()=>{const n=a2();return r2(n,t,e),Object.assign({},n.vars,n.style)},[t])}function nW(e,t){const n=e.style||{},r={};return O6(r,n,e),Object.assign(r,tW(e,t)),r}function rW(e,t){const n={},r=nW(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
295`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const aW={offset:"stroke-dashoffset",array:"stroke-dasharray"},iW={offset:"strokeDashoffset",array:"strokeDasharray"};function sW(e,t,n=1,r=0,a=!0){e.pathLength=1;const s=a?aW:iW;e[s.offset]=_e.transform(-r);const l=_e.transform(t),c=_e.transform(n);e[s.array]=`${l} ${c}`}function T6(e,{attrX:t,attrY:n,attrScale:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},f,d,m){if(r2(e,c,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=m?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),a!==void 0&&sW(p,a,s,l,!1)}const j6=()=>({...a2(),attrs:{}}),E6=e=>typeof e=="string"&&e.toLowerCase()==="svg";function oW(e,t,n,r){const a=N.useMemo(()=>{const s=j6();return T6(s,t,E6(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};O6(s,e.style,e),a.style={...s,...a.style}}return a}const lW=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i2(e){return typeof e!="string"||e.includes("-")?!1:!!(lW.indexOf(e)>-1||/[A-Z]/u.test(e))}function cW(e,t,n,{latestValues:r},a,s=!1){const c=(i2(e)?oW:rW)(t,r,a,e),f=YY(t,typeof e=="string",s),d=e!==N.Fragment?{...f,...c,ref:n}:{},{children:m}=t,p=N.useMemo(()=>kn(m)?m.get():m,[m]);return N.createElement(e,{...d,children:p})}function zR(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function s2(e,t,n,r){if(typeof t=="function"){const[a,s]=zR(r);t=t(n!==void 0?n:e.custom,a,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,s]=zR(r);t=t(n!==void 0?n:e.custom,a,s)}return t}function Gp(e){return kn(e)?e.get():e}function uW({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,a){return{latestValues:fW(n,r,a,e),renderState:t()}}function fW(e,t,n,r){const a={},s=r(e,{});for(const y in s)a[y]=Gp(s[y]);let{initial:l,animate:c}=e;const f=xm(e),d=S6(e);t&&d&&!f&&e.inherit!==!1&&(l===void 0&&(l=t.initial),c===void 0&&(c=t.animate));let m=n?n.initial===!1:!1;m=m||l===!1;const p=m?c:l;if(p&&typeof p!="boolean"&&!bm(p)){const y=Array.isArray(p)?p:[p];for(let b=0;b<y.length;b++){const A=s2(e,y[b]);if(A){const{transitionEnd:S,transition:x,...O}=A;
295for(const R in O){let j=O[R];if(Array.isArray(j)){const M=m?j.length-1:0;j=j[M]}j!==null&&(a[R]=j)}for(const R in S)a[R]=S[R]}}}return a}const C6=e=>(t,n)=>{const r=N.useContext(vm),a=N.useContext(ym),s=()=>uW(e,t,r,a);return n?s():MA(s)};function o2(e,t,n){const{style:r}=e,a={};for(const s in r)(kn(r[s])||t.style&&kn(t.style[s])||A6(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(a[s]=r[s]);return a}const dW=C6({scrapeMotionValuesFromProps:o2,createRenderState:a2});function R6(e,t,n){const r=o2(e,t,n);for(const a in e)if(kn(e[a])||kn(t[a])){const s=ac.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;r[s]=e[a]}return r}const pW=C6({scrapeMotionValuesFromProps:R6,createRenderState:j6}),hW=Symbol.for("motionComponentSymbol");function ul(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function mW(e,t,n){return N.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ul(n)&&(n.current=r))},[t])}const l2=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),gW="framerAppearId",_6="data-"+l2(gW),M6=N.createContext({});function yW(e,t,n,r,a){const{visualElement:s}=N.useContext(vm),l=N.useContext(x6),c=N.useContext(ym),f=N.useContext(e2).reducedMotion,d=N.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:f}));const m=d.current,p=N.useContext(M6);m&&!m.projection&&a&&(m.type==="html"||m.type==="svg")&&vW(d.current,n,a,p);const y=N.useRef(!1);N.useInsertionEffect(()=>{m&&y.current&&m.update(n,c)});const b=n[_6],A=N.useRef(!!b&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return EI(()=>{m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),A.current&&m.animationState&&m.animationState.animateChanges())}),N.useEffect(()=>{m&&(!A.current&&m.animationState&&m.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}),A.current=!1),m.enteringChildren=void 0)}),m}function vW(e,t,n,r){const{layoutId:a,layout:s,drag:l,dragConstraints:c,layoutScroll:f,layoutRoot:d,layoutCrossfade:m}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:P6(e.parent)),e.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:!!l||c&&ul(c),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:m,layoutScroll:f,layoutRoot:d})}function P6(e){if(e)return e.options.allowProjection!==!1?e.projection:P6(e.parent)}function Dv(e,{forwardMotionProps:t=!1}={},n,r){n&&FY(n);const a=i2(e)?pW:dW;function s(c,f){let d;const m={...N.useContext(e2),...c,layoutId:bW(c)},{isStatic:p}=m,y=QY(c),b=a(c,p);if(!p&&PA){xW();const A=wW(m);d=A.MeasureLayout,y.visualElement=yW(e,b,m,r,A.ProjectionNode)}return g.jsxs(vm.Provider,{value:y,children:[d&&y.visualElement?g.jsx(d,{visualElement:y.visualElement,...m}):null,cW(e,c,mW(b,y.visualElement,f),b,p,t)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=N.forwardRef(s);return l[hW]=e,l}function bW({layoutId:e}){const t=N.useContext(_A).id;return t&&e!==void 0?t+"-"+e:e}function xW(e,t){N.useContext(x6).strict}function wW(e){const{drag:t,layout:n}=Cl;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function SW(e,t){if(typeof Proxy>"u")return Dv;const n=new Map,r=(s,l)=>Dv(s,l,e,t),a=(s,l)=>r(s,l);return new Proxy(a,{get:(s,l)=>l==="create"?r:(n.has(l)||n.set(l,Dv(l,void 0,e,t)),n.get(l))})}function N6({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function AW({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OW(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function kv(e){return e===void 0||e===1}function kw({scale:e,scaleX:t,scaleY:n}){return!kv(e)||!kv(t)||!kv(n)}function Ns(e){return kw(e)||D6(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function D6(e){return HR(e.x)||HR(e.y)}function HR(e){return e&&e!=="0%"}
vendor: 4,269 bytes, line 295
295function ih(e,t,n){const r=e-n,a=t*r;return n+a}function UR(e,t,n,r,a){return a!==void 0&&(e=ih(e,a,r)),ih(e,n,r)+t}function Iw(e,t=0,n=1,r,a){e.min=UR(e.min,t,n,r,a),e.max=UR(e.max,t,n,r,a)}function k6(e,{x:t,y:n}){Iw(e.x,t.translate,t.scale,t.originPoint),Iw(e.y,n.translate,n.scale,n.originPoint)}const VR=.999999999999,FR=1.0000000000001;function TW(e,t,n,r=!1){const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let c=0;c<a;c++){s=n[c],l=s.projectionDelta;const{visualElement:f}=s.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&dl(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,k6(e,l)),r&&Ns(s.latestValues)&&dl(e,s.latestValues))}t.x<FR&&t.x>VR&&(t.x=1),t.y<FR&&t.y>VR&&(t.y=1)}function fl(e,t){e.min=e.min+t,e.max=e.max+t}function GR(e,t,n,r,a=.5){const s=Mt(e.min,e.max,a);Iw(e,t,n,s,r)}function dl(e,t){GR(e.x,t.x,t.scaleX,t.scale,t.originX),GR(e.y,t.y,t.scaleY,t.scale,t.originY)}function I6(e,t){return N6(OW(e.getBoundingClientRect(),t))}function jW(e,t,n){const r=I6(e,n),{scroll:a}=t;return a&&(fl(r.x,a.offset.x),fl(r.y,a.offset.y)),r}const KR=()=>({translate:0,scale:1,origin:0,originPoint:0}),pl=()=>({x:KR(),y:KR()}),YR=()=>({min:0,max:0}),zt=()=>({x:YR(),y:YR()}),$w={current:null},$6={current:!1};function EW(){if($6.current=!0,!!PA)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>$w.current=e.matches;e.addEventListener("change",t),t()}else $w.current=!1}const CW=new WeakMap;function RW(e,t,n){for(const r in t){const a=t[r],s=n[r];if(kn(a))e.addValue(r,a);else if(kn(s))e.addValue(r,El(a,{owner:e}));else if(s!==a)if(e.hasValue(r)){const l=e.getValue(r);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=e.getStaticValue(r);e.addValue(r,El(l!==void 0?l:a,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const WR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _W{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:a,blockInitialAnimation:s,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=WA,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=er.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,jt.render(this.render,!1,!0))};const{latestValues:f,renderState:d}=l;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=c,this.blockInitialAnimation=!!s,this.isControllingVariants=xm(n),this.isVariantNode=S6(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in p){const b=p[y];f[y]!==void 0&&kn(b)&&b.set(f[y])}}mount(t){this.current=t,CW.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),$6.current||EW(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:$w.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),es(this.notifyUpdate),es(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];
vendor: 22,397 bytes, line 295
295n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ic.has(t);r&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&jt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Cl){const n=Cl[t];if(!n)continue;const{isEnabled:r,Feature:a}=n;if(!this.features[t]&&a&&r(this.props)&&(this.features[t]=new a(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<WR.length;r++){const a=WR[r];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const s="on"+a,l=t[s];l&&(this.propEventSubscriptions[a]=this.on(a,l))}this.prevMotionValues=RW(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=El(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(CI(r)||_I(r))?r=parseFloat(r):!BY(r)&&ts.test(n)&&(r=f6(t,n)),this.setBaseTarget(t,kn(r)?r.get():r)),kn(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=s2(this.props,n,this.presenceContext?.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!kn(a)?a:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new $A),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ZA.render(this.render)}}class B6 extends _W{constructor(){super(...arguments),this.KeyframeResolver=jY}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;kn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function L6(e,{style:t,vars:n},r,a){const s=e.style;let l;for(l in t)s[l]=t[l];a?.applyProjectionStyles(s,r);for(l in n)s.setProperty(l,n[l])}function MW(e){return window.getComputedStyle(e)}class PW extends B6{constructor(){super(...arguments),this.type="html",this.renderInstance=L6}readValueFromInstance(t,n){if(ic.has(n))return this.projection?.isProjecting?Cw(n):FK(t,n);{const r=MW(t),a=(qA(n)?r.getPropertyValue(n):r[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return I6(t,n)}build(t,n,r){r2(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return o2(t,n,r)}}const q6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function NW(e,t,n,r){L6(e,t,void 0,r);for(const a in t.attrs)e.setAttribute(q6.has(a)?a:l2(a),t.attrs[a])}class DW extends B6{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ic.has(n)){const r=u6(n);return r&&r.default||0}return n=q6.has(n)?n:l2(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return R6(t,n,r)}build(t,n,r){T6(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,a){NW(t,n,r,a)}mount(t){this.isSVGTag=E6(t.tagName),super.mount(t)}}const kW=(e,t)=>i2(e)?new DW(t):new PW(t,{allowProjection:e!==N.Fragment});function bl(e,t,n){const r=e.getProps();return s2(r,t,n!==void 0?n:r.custom,e)}const Bw=e=>Array.isArray(e);function IW(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,El(n))}function $W(e){return Bw(e)?e[e.length-1]||0:e}function BW(e,t){const n=bl(e,t);let{transitionEnd:r={},transition:a={},...s}=n||{};s={...s,...r};for(const l in s){const c=$W(s[l]);IW(e,l,c)}}function LW(e){return!!(kn(e)&&e.add)}function Lw(e,t){const n=e.getValue("willChange");if(LW(n))return n.add(t);if(!n&&ai.WillChange){const r=new ai.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function z6(e){return e.props[_6]}const qW=e=>e!==null;function zW(e,{repeat:t,repeatType:n="loop"},r){const a=e.filter(qW),s=t&&n!=="loop"&&t%2===1?0:a.length-1;return a[s]}const HW={type:"spring",stiffness:500,damping:25,restSpeed:10},UW=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),VW={type:"keyframes",duration:.8},FW={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},GW=(e,{keyframes:t})=>t.length>2?VW:ic.has(e)?e.startsWith("scale")?UW(t[1]):HW:FW;function KW({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:a,repeat:s,repeatType:l,repeatDelay:c,from:f,elapsed:d,...m}){return!!Object.keys(m).length}const c2=(e,t,n,r={},a,s)=>l=>{const c=QA(r,e)||{},f=c.delay||r.delay||0;let{elapsed:d=0}=r;d=d-ma(f);const m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-d,onUpdate:y=>{t.set(y),c.onUpdate&&c.onUpdate(y)},onComplete:()=>{l(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:s?void 0:a};KW(c)||Object.assign(m,GW(e,m)),m.duration&&(m.duration=ma(m.duration)),m.repeatDelay&&(m.repeatDelay=ma(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let p=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(Nw(m),m.delay===0&&(p=!0)),(ai.instantAnimations||ai.skipAnimations)&&(p=!0,Nw(m),m.delay=0),m.allowFlatten=!c.type&&!c.ease,p&&!s&&t.get()!==void 0){const y=zW(m.keyframes,c);if(y!==void 0){jt.update(()=>{m.onUpdate(y),m.onComplete()});return}}return c.isSync?new YA(m):new hY(m)};function YW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function H6(e,t,{delay:n=0,transitionOverride:r,type:a}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:l,...c}=t;r&&(s=r);const f=[],d=a&&e.animationState&&e.animationState.getState()[a];for(const m in c){const p=e.getValue(m,e.latestValues[m]??null),y=c[m];if(y===void 0||d&&YW(d,m))continue;const b={delay:n,...QA(s||{},m)},A=p.get();if(A!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===A&&!b.velocity)continue;let S=!1;if(window.MotionHandoffAnimation){const O=z6(e);if(O){const R=window.MotionHandoffAnimation(O,m,jt);R!==null&&(b.startTime=R,S=!0)}}Lw(e,m),p.start(c2(m,p,y,e.shouldReduceMotion&&o6.has(m)?{type:!1}:b,e,S));const x=p.animation;x&&f.push(x)}return l&&Promise.all(f).then(()=>{jt.update(()=>{l&&BW(e,l)})}),f}function U6(e,t,n,r=0,a=1){const s=Array.from(e).sort((d,m)=>d.sortNodePosition(m)).indexOf(t),l=e.size,c=(l-1)*r;return typeof n=="function"?n(s,l):a===1?s*r:c-s*r}function qw(e,t,n={}){const r=bl(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(a=n.transitionOverride);const s=r?()=>Promise.all(H6(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:d=0,staggerChildren:m,staggerDirection:p}=a;return WW(e,t,f,d,m,p,n)}:()=>Promise.resolve(),{when:c}=a;if(c){const[f,d]=c==="beforeChildren"?[s,l]:[l,s];return f().then(()=>d())}else return Promise.all([s(),l(n.delay)])}function WW(e,t,n=0,r=0,a=0,s=1,l){const c=[];for(const f of e.variantChildren)f.notify("AnimationStart",t),c.push(qw(f,t,{...l,delay:n+(typeof r=="function"?0:r)+U6(e.variantChildren,f,r,a,s)}).then(()=>f.notify("AnimationComplete",t)));return Promise.all(c)}function QW(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const a=t.map(s=>qw(e,s,n));r=Promise.all(a)}else if(typeof t=="string")r=qw(e,t,n);else{const a=typeof t=="function"?bl(e,t,n.custom):t;r=Promise.all(H6(e,a,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function V6(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const XW=n2.length;function F6(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?F6(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<XW;n++){const r=n2[n],a=e.props[r];(Ku(a)||a===!1)&&(t[r]=a)}return t}const ZW=[...t2].reverse(),JW=t2.length;function eQ(e){return t=>Promise.all(t.map(({animation:n,options:r})=>QW(e,n,r)))}function tQ(e){let t=eQ(e),n=QR(),r=!0;const a=f=>(d,m)=>{const p=bl(e,m,f==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:b,...A}=p;d={...d,...A,...b}}return d};function s(f){t=f(e)}function l(f){const{props:d}=e,m=F6(e.parent)||{},p=[],y=new Set;let b={},A=1/0;for(let x=0;x<JW;x++){const O=ZW[x],R=n[O],j=d[O]!==void 0?d[O]:m[O],M=Ku(j),T=O===f?R.isActive:null;T===!1&&(A=x);let C=j===m[O]&&j!==d[O]&&M;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),R.protectedKeys={...b},!R.isActive&&T===null||!j&&!R.prevProp||bm(j)||typeof j=="boolean")continue;const E=nQ(R.prevProp,j);let P=E||O===f&&R.isActive&&!C&&M||x>A&&M,k=!1;const z=Array.isArray(j)?j:[j];let B=z.reduce(a(O),{});T===!1&&(B={});const{prevResolvedValues:U={}}=R,F={...U,...B},K=L=>{P=!0,y.has(L)&&(k=!0,y.delete(L)),R.needsAnimating[L]=!0;const q=e.getValue(L);q&&(q.liveStyle=!1)};for(const L in F){const q=B[L],Z=U[L];if(b.hasOwnProperty(L))continue;let ie=!1;Bw(q)&&Bw(Z)?ie=!V6(q,Z):ie=q!==Z,ie?q!=null?K(L):y.add(L):q!==void 0&&y.has(L)?K(L):R.protectedKeys[L]=!0}R.prevProp=j,R.prevResolvedValues=B,R.isActive&&(b={...b,...B}),r&&e.blockInitialAnimation&&(P=!1);const Q=C&&E;P&&(!Q||k)&&p.push(...z.map(L=>{const q={type:O};if(typeof L=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:Z}=e,ie=bl(Z,L);if(Z.enteringChildren&&ie){const{delayChildren:$}=ie.transition||{};q.delay=U6(Z.enteringChildren,e,$)}}return{animation:L,options:q}}))}if(y.size){const x={};if(typeof d.initial!="boolean"){const O=bl(e,Array.isArray(d.initial)?d.initial[0]:d.initial);O&&O.transition&&(x.transition=O.transition)}y.forEach(O=>{const R=e.getBaseTarget(O),j=e.getValue(O);j&&(j.liveStyle=!0),x[O]=R??null}),p.push({animation:x})}let S=!!p.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,S?t(p):Promise.resolve()}function c(f,d){if(n[f].isActive===d)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(f,d)),n[f].isActive=d;const m=l(f);for(const p in n)n[p].protectedKeys={};return m}return{animateChanges:l,setActive:c,setAnimateFunction:s,getState:()=>n,reset:()=>{n=QR(),r=!0}}}function nQ(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!V6(t,e):!1}function Rs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function QR(){return{animate:Rs(!0),whileInView:Rs(),whileHover:Rs(),whileTap:Rs(),whileDrag:Rs(),whileFocus:Rs(),exit:Rs()}}class as{constructor(t){this.isMounted=!1,this.node=t}update(){}}class rQ extends as{constructor(t){super(t),t.animationState||(t.animationState=tQ(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();bm(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let aQ=0;class iQ extends as{constructor(){super(...arguments),this.id=aQ++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const sQ={animation:{Feature:rQ},exit:{Feature:iQ}};function Wu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Kf(e){return{point:{x:e.pageX,y:e.pageY}}}const oQ=e=>t=>JA(t)&&e(t,Kf(t));function ju(e,t,n,r){return Wu(e,t,oQ(n),r)}const G6=1e-4,lQ=1-G6,cQ=1+G6,K6=.01,uQ=0-K6,fQ=0+K6;function qn(e){return e.max-e.min}function dQ(e,t,n){return Math.abs(e-t)<=n}function XR(e,t,n,r=.5){e.origin=r,e.originPoint=Mt(t.min,t.max,e.origin),e.scale=qn(n)/qn(t),e.translate=Mt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=lQ&&e.scale<=cQ||isNaN(e.scale))&&(e.scale=1),(e.translate>=uQ&&e.translate<=fQ||isNaN(e.translate))&&(e.translate=0)}function Eu(e,t,n,r){XR(e.x,t.x,n.x,r?r.originX:void 0),XR(e.y,t.y,n.y,r?r.originY:void 0)}function ZR(e,t,n){e.min=n.min+t.min,e.max=e.min+qn(t)}function pQ(e,t,n){ZR(e.x,t.x,n.x),ZR(e.y,t.y,n.y)}function JR(e,t,n){e.min=t.min-n.min,e.max=e.min+qn(t)}function Cu(e,t,n){JR(e.x,t.x,n.x),JR(e.y,t.y,n.y)}function Nr(e){return[e("x"),e("y")]}const Y6=({current:e})=>e?e.ownerDocument.defaultView:null,e_=(e,t)=>Math.abs(e-t);function hQ(e,t){const n=e_(e.x,t.x),r=e_(e.y,t.y);return Math.sqrt(n**2+r**2)}class W6{constructor(t,n,{transformPagePoint:r,contextWindow:a=window,dragSnapToOrigin:s=!1,distanceThreshold:l=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=$v(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,A=hQ(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!A)return;const{point:S}=y,{timestamp:x}=An;this.history.push({...S,timestamp:x});const{onStart:O,onMove:R}=this.handlers;b||(O&&O(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,y)},this.handlePointerMove=(y,b)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=Iv(b,this.transformPagePoint),jt.update(this.updatePoint,!0)},this.handlePointerUp=(y,b)=>{this.end();const{onEnd:A,onSessionEnd:S,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const O=$v(y.type==="pointercancel"?this.lastMoveEventInfo:Iv(b,this.transformPagePoint),this.history);this.startEvent&&A&&A(y,O),S&&S(y,O)},!JA(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=l,this.contextWindow=a||window;const c=Kf(t),f=Iv(c,this.transformPagePoint),{point:d}=f,{timestamp:m}=An;this.history=[{...d,timestamp:m}];const{onSessionStart:p}=n;p&&p(t,$v(f,this.history)),this.removeListeners=Vf(ju(this.contextWindow,"pointermove",this.handlePointerMove),ju(this.contextWindow,"pointerup",this.handlePointerUp),ju(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),es(this.updatePoint)}}function Iv(e,t){return t?{point:t(e.point)}:e}function t_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $v({point:e},t){return{point:e,delta:t_(e,Q6(t)),offset:t_(e,mQ(t)),velocity:gQ(t,.1)}}function mQ(e){return e[0]}function Q6(e){return e[e.length-1]}function gQ(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const a=Q6(e);for(;n>=0&&(r=e[n],!(a.timestamp-r.timestamp>ma(t)));)n--;if(!r)return{x:0,y:0};const s=Dr(a.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const l={x:(a.x-r.x)/s,y:(a.y-r.y)/s};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function yQ(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Mt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Mt(n,e,r.max):Math.min(e,n)),e}function n_(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function vQ(e,{top:t,left:n,bottom:r,right:a}){return{x:n_(e.x,n,a),y:n_(e.y,t,r)}}function r_(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function bQ(e,t){return{x:r_(e.x,t.x),y:r_(e.y,t.y)}}function xQ(e,t){let n=.5;const r=qn(e),a=qn(t);return a>r?n=Vu(t.min,t.max-r,e.min):r>a&&(n=Vu(e.min,e.max-a,t.min)),ri(0,1,n)}function wQ(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const zw=.35;function SQ(e=zw){return e===!1?e=0:e===!0&&(e=zw),{x:a_(e,"left","right"),y:a_(e,"top","bottom")}}function a_(e,t,n){return{min:i_(e,t),max:i_(e,n)}}function i_(e,t){return typeof e=="number"?e:e[t]||0}const AQ=new WeakMap;class OQ{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const s=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Kf(p).point)},l=(p,y)=>{const{drag:b,dragPropagation:A,onDragStart:S}=this.getProps();if(b&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=_Y(b),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Nr(O=>{let R=this.getAxisMotionValue(O).get()||0;if(ga.test(R)){const{projection:j}=this.visualElement;if(j&&j.layout){const M=j.layout.layoutBox[O];M&&(R=qn(M)*(parseFloat(R)/100))}}this.originPoint[O]=R}),S&&jt.postRender(()=>S(p,y)),Lw(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},c=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:b,dragDirectionLock:A,onDirectionLock:S,onDrag:x}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:O}=y;if(A&&this.currentDirection===null){this.currentDirection=TQ(O),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",y.point,O),this.updateAxis("y",y.point,O),this.visualElement.render(),x&&x(p,y)},f=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>Nr(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:m}=this.getProps();this.panSession=new W6(t,{onSessionStart:s,onStart:l,onMove:c,onSessionEnd:f,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:r,contextWindow:Y6(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,a=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!a||!r)return;const{velocity:l}=a;this.startAnimation(l);const{onDragEnd:c}=this.getProps();c&&jt.postRender(()=>c(r,a))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:a}=this.getProps();if(!r||!Ep(t,a,this.currentDirection))return;const s=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=yQ(l,this.constraints[t],this.elastic[t])),s.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;t&&ul(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=vQ(r.layoutBox,t):this.constraints=!1,this.elastic=SQ(n),a!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Nr(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=wQ(r.layoutBox[s],this.constraints[s])
vendor: 9,813 bytes, line 295
295)})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ul(t))return!1;const r=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const s=jW(r,a.root,this.visualElement.getTransformPagePoint());let l=bQ(a.layout.layoutBox,s);if(n){const c=n(AW(l));this.hasMutatedConstraints=!!c,c&&(l=N6(c))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:a,dragTransition:s,dragSnapToOrigin:l,onDragTransitionEnd:c}=this.getProps(),f=this.constraints||{},d=Nr(m=>{if(!Ep(m,n,this.currentDirection))return;let p=f&&f[m]||{};l&&(p={min:0,max:0});const y=a?200:1e6,b=a?40:1e7,A={type:"inertia",velocity:r?t[m]:0,bounceStiffness:y,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...s,...p};return this.startAxisValueAnimation(m,A)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Lw(this.visualElement,t),r.start(c2(t,r,0,n,this.visualElement,!1))}stopAnimation(){Nr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Nr(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),a=r[n];return a||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Nr(n=>{const{drag:r}=this.getProps();if(!Ep(n,r,this.currentDirection))return;const{projection:a}=this.visualElement,s=this.getAxisMotionValue(n);if(a&&a.layout){const{min:l,max:c}=a.layout.layoutBox[n];s.set(t[n]-Mt(l,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ul(n)||!r||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Nr(l=>{const c=this.getAxisMotionValue(l);if(c&&this.constraints!==!1){const f=c.get();a[l]=xQ({min:f,max:f},this.constraints[l])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Nr(l=>{if(!Ep(l,t,null))return;const c=this.getAxisMotionValue(l),{min:f,max:d}=this.constraints[l];c.set(Mt(f,d,a[l]))})}addListeners(){if(!this.visualElement.current)return;AQ.set(this.visualElement,this);const t=this.visualElement.current,n=ju(t,"pointerdown",f=>{const{drag:d,dragListener:m=!0}=this.getProps();d&&m&&this.start(f)}),r=()=>{const{dragConstraints:f}=this.getProps();ul(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,s=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),jt.read(r);const l=Wu(window,"resize",()=>this.scalePositionWithinConstraints()),c=a.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:d})=>{this.isDragging&&d&&(Nr(m=>{const p=this.getAxisMotionValue(m);p&&(this.originPoint[m]+=f[m].translate,p.set(p.get()+f[m].translate))}),this.visualElement.render())}));return()=>{l(),n(),s(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:a=!1,dragConstraints:s=!1,dragElastic:l=zw,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:a,dragConstraints:s,dragElastic:l,dragMomentum:c}}}function Ep(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function TQ(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class jQ extends as{constructor(t){super(t),this.removeGroupControls=Ir,this.removeListeners=Ir,this.controls=new OQ(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ir}unmount(){this.removeGroupControls(),this.removeListeners()}}const s_=e=>(t,n)=>{e&&jt.postRender(()=>e(t,n))};class EQ extends as{constructor(){super(...arguments),this.removePointerDownListener=Ir}onPointerDown(t){this.session=new W6(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Y6(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:a}=this.node.getProps();return{onSessionStart:s_(t),onStart:s_(n),onMove:r,onEnd:(s,l)=>{delete this.session,a&&jt.postRender(()=>a(s,l))}}}mount(){this.removePointerDownListener=ju(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Kp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function o_(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ou={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_e.test(e))e=parseFloat(e);else return e;const n=o_(e,t.target.x),r=o_(e,t.target.y);return`${n}% ${r}%`}},CQ={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,a=ts.parse(e);if(a.length>5)return r;const s=ts.createTransformer(e),l=typeof a[0]!="number"?1:0,c=n.x.scale*t.x,f=n.y.scale*t.y;a[0+l]/=c,a[1+l]/=f;const d=Mt(c,f,.5);return typeof a[2+l]=="number"&&(a[2+l]/=d),typeof a[3+l]=="number"&&(a[3+l]/=d),s(a)}};let Bv=!1;class RQ extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:a}=this.props,{projection:s}=t;XY(_Q),s&&(n.group&&n.group.add(s),r&&r.register&&a&&r.register(s),Bv&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Kp.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:a,isPresent:s}=this.props,{projection:l}=r;return l&&(l.isPresent=s,Bv=!0,a||t.layoutDependency!==n||n===void 0||t.isPresent!==s?l.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?l.promote():l.relegate()||jt.postRender(()=>{const c=l.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ZA.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:a}=t;Bv=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),r&&r.deregister&&r.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function X6(e){const[t,n]=v6(),r=N.useContext(_A);return g.jsx(RQ,{...e,layoutGroup:r,switchLayoutGroup:N.useContext(M6),isPresent:t,safeToRemove:n})}const _Q={borderRadius:{...ou,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ou,borderTopRightRadius:ou,borderBottomLeftRadius:ou,borderBottomRightRadius:ou,boxShadow:CQ};function MQ(e,t,n){const r=kn(e)?e:El(e);return r.start(c2("",r,t,n)),r.animation}const PQ=(e,t)=>e.depth-t.depth;class NQ{constructor(){this.children=[],this.isDirty=!1}add(t){NA(this.children,t),this.isDirty=!0}remove(t){DA(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(PQ),this.isDirty=!1,this.children.forEach(t)}}function DQ(e,t){const n=er.now(),r=({timestamp:a})=>{const s=a-n;s>=t&&(es(r),e(s-t))};return jt.setup(r,!0),()=>es(r)}const Z6=["TopLeft","TopRight","BottomLeft","BottomRight"],kQ=Z6.length,l_=e=>typeof e=="string"?parseFloat(e):e,c_=e=>typeof e=="number"||_e.test(e);function IQ(e,t,n,r,a,s){a?(e.opacity=Mt(0,n.opacity??1,$Q(r)),e.opacityExit=Mt(t.opacity??1,0,BQ(r))):s&&(e.opacity=Mt(t.opacity??1,n.opacity??1,r));for(let l=0;l<kQ;l++){const c=`border${Z6[l]}Radius`;let f=u_(t,c),d=u_(n,c);if(f===void 0&&d===void 0)continue;f||(f=0),d||(d=0),f===0||d===0||c_(f)===c_(d)?(e[c]=Math.max(Mt(l_(f),l_(d),r),0),(ga.test(d)||ga.test(f))&&(e[c]+="%")):e[c]=d}(t.rotate||n.rotate)&&(e.rotate=Mt(t.rotate||0,n.rotate||0,r))}function u_(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const $Q=J6(0,.5,BI),BQ=J6(.5,.95,Ir);function J6(e,t,n){return r=>r<e?0:r>t?1:n(Vu(e,t,r))}function f_(e,t){e.min=t.min,e.max=t.max}function Rr(e,t){f_(e.x,t.x),f_(e.y,t.y)}function d_(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function p_(e,t,n,r,a){return e-=t,e=ih(e,1/n,r),a!==void 0&&(e=ih(e,1/a,r)),e}function LQ(e,t=0,n=1,r=.5,a,s=e,l=e){if(ga.test(t)&&(t=parseFloat(t),t=Mt(l.min,l.max,t/100)-l.min),typeof t!="number")return;let c=Mt(s.min,s.max,r);e===s&&(c-=t),e.min=p_(e.min,t,n,c,a),e.max=p_(e.max,t,n,c,a)}function h_(e,t,[n,r,a],s,l){LQ(e,t[n],t[r],t[a],t.scale,s,l)}const qQ=["x","scaleX","originX"],zQ=["y","scaleY","originY"];function m_(e,t,n,r){h_(e.x,t,qQ,n?n.x:void 0,r?r.x:void 0),h_(e.y,t,zQ,n?n.y:void 0,r?r.y:void 0)}function g_(e){return e.translate===0&&e.scale===1}function e$(e){return g_(e.x)&&g_(e.y)}function y_(e,t){return e.min===t.min&&e.max===t.max}function HQ(e,t){return y_(e.x,t.x)&&y_(e.y,t.y)}function v_(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function t$(e,t){return v_(e.x,t.x)&&v_(e.y,t.y)}function b_(e){return qn(e.x)/qn(e.y)}function x_(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class UQ{constructor(){this.members=[]}add(t){NA(this.members,t),t.scheduleRender()}remove(t){if(DA(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let r;for(let a=n;a>=0;a--){const s=this.members[a];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,
vendor: 5,251 bytes, line 295
295n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function VQ(e,t,n){let r="";const a=e.x.translate/t.x,s=e.y.translate/t.y,l=n?.z||0;if((a||s||l)&&(r=`translate3d(${a}px, ${s}px, ${l}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:m,rotateX:p,rotateY:y,skewX:b,skewY:A}=n;d&&(r=`perspective(${d}px) ${r}`),m&&(r+=`rotate(${m}deg) `),p&&(r+=`rotateX(${p}deg) `),y&&(r+=`rotateY(${y}deg) `),b&&(r+=`skewX(${b}deg) `),A&&(r+=`skewY(${A}deg) `)}const c=e.x.scale*t.x,f=e.y.scale*t.y;return(c!==1||f!==1)&&(r+=`scale(${c}, ${f})`),r||"none"}const Lv=["","X","Y","Z"],FQ=1e3;let GQ=0;function qv(e,t,n,r){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),r&&(r[e]=0))}function n$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=z6(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",jt,!(a||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&n$(r)}function r$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(l={},c=t?.()){this.id=GQ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(WQ),this.nodes.forEach(JQ),this.nodes.forEach(eX),this.nodes.forEach(QQ)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new NQ)}addEventListener(l,c){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new $A),this.eventHandlers.get(l).add(c)}notifyListeners(l,...c){const f=this.eventHandlers.get(l);f&&f.notify(...c)}hasListeners(l){return this.eventHandlers.has(l)}mount(l){if(this.instance)return;this.isSVG=y6(l)&&!IY(l),this.instance=l;const{layoutId:c,layout:f,visualElement:d}=this.options;if(d&&!d.current&&d.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||c)&&(this.isLayoutDirty=!0),e){let m,p=0;const y=()=>this.root.updateBlockedByResize=!1;jt.read(()=>{p=window.innerWidth}),e(l,()=>{const b=window.innerWidth;b!==p&&(p=b,this.root.updateBlockedByResize=!0,m&&m(),m=DQ(y,250),Kp.hasAnimatedSinceResize&&(Kp.hasAnimatedSinceResize=!1,this.nodes.forEach(A_)))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&d&&(c||f)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||d.getDefaultTransition()||iX,{onLayoutAnimationStart:S,onLayoutAnimationComplete:x}=d.getProps(),O=!this.targetLayout||!t$(this.targetLayout,b),R=!p&&y;if(this.options.layoutRoot||this.resumeFrom||R||p&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const j={...QA(A,"layout"),onPlay:S,onComplete:x};(d.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j),this.setAnimationOrigin(m,R)}else p||A_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),es(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
vendor: 7,558 bytes, line 295
295h(tX),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&n$(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const p=this.path[m];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:c,layout:f}=this.options;if(c===void 0&&!f)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(w_);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(S_);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ZQ),this.nodes.forEach(KQ),this.nodes.forEach(YQ)):this.nodes.forEach(S_),this.clearAllSnapshots();const c=er.now();An.delta=ri(0,1e3/60,c-An.timestamp),An.timestamp=c,An.isProcessing=!0,Cv.update.process(An),Cv.preRender.process(An),Cv.render.process(An),An.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ZA.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(XQ),this.sharedNodes.forEach(nX)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,jt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){jt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!qn(this.snapshot.measuredBox.x)&&!qn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=zt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(c=!1),c&&this.instance){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!a)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!e$(this.projectionDelta),f=this.getTransformTemplate(),d=f?f(this.latestValues,""):void 0,m=d!==this.prevTransformTemplateValue;l&&this.instance&&(c||Ns(this.latestValues)||m)&&(a(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const c=this.measurePageBox();let f=this.removeElementScroll(c);return l&&(f=this.removeTransform(f)),sX(f),{animationId:this.root.animationId,measuredBox:c,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return zt();const c=l.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oX))){const{scroll:d}=this.root;d&&(fl(c.x,d.offset.x),fl(c.y,d.offset.y))}return c}removeElementScroll(l){const c=zt();if(Rr(c,l),this.scroll?.wasRoot)return c;for(let f=0;f<this.path.length;f++){const d=this.path[f],{scroll:m,options:p}=d;d!==this.root&&m&&p.layoutScroll&&(m.wasRoot&&Rr(c,l),fl(c.x,m.offset.x),fl(c.y,m.offset.y))}return c}applyTransform(l,c=!1){const f=zt();Rr(f,l);for(let d=0;d<this.path.length;d++){const m=this.path[d];!c&&m.options.layoutScroll&&m.scroll&&m!==m.root&&dl(f,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Ns(m.latestValues)&&dl(f,m.latestValues)}return Ns(this.latestValues)&&dl(f,this.latestValues),f}removeTransform(l){const c=zt();Rr(c,l);for(let f=0;f<this.path.length;f++){const d=this.path[f];if(!d.instance||!Ns(d.latestValues))continue;kw(d.latestValues)&&d.updateSnapshot();const m=zt(),p=d.measurePageBox();Rr(m,p),m_(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,m)}return Ns(this.latestValues)&&m_(c,this.latestValues),c}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==An.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:p}=this.options;if(!(!this.layout||!(m||p))){if(this.resolvedRelativeTargetAt=An.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zt(),this.relativeTargetOrigin=zt(),Cu(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Rr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=zt(),this.targetWithTransforms=zt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pQ(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Rr(this.target,this.layout.layoutBox),k6(this.target,this.targetDelta)):Rr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zt(),this.relativeTargetOrigin=zt(),Cu(this.relativeTargetOrigin,this.target,y.target),Rr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||kw(this.parent.latestValues)||D6(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const l=this.getLead(),c=!!this.resumingFrom||this!==l;let f=!0;
vendor: 9,323 bytes, line 295
295if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===An.timestamp&&(f=!1),f)return;const{layout:d,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||m))return;Rr(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;TW(this.layoutCorrected,this.treeScale,this.path,c),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=zt());const{target:b}=l;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(d_(this.prevProjectionDelta.x,this.projectionDelta.x),d_(this.prevProjectionDelta.y,this.projectionDelta.y)),Eu(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!x_(this.projectionDelta.x,this.prevProjectionDelta.x)||!x_(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.visualElement?.scheduleRender(),l){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=pl(),this.projectionDelta=pl(),this.projectionDeltaWithTransform=pl()}setAnimationOrigin(l,c=!1){const f=this.snapshot,d=f?f.latestValues:{},m={...this.latestValues},p=pl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const y=zt(),b=f?f.source:void 0,A=this.layout?this.layout.source:void 0,S=b!==A,x=this.getStack(),O=!x||x.members.length<=1,R=!!(S&&!O&&this.options.crossfade===!0&&!this.path.some(aX));this.animationProgress=0;let j;this.mixTargetDelta=M=>{const T=M/1e3;O_(p.x,l.x,T),O_(p.y,l.y,T),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cu(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),rX(this.relativeTarget,this.relativeTargetOrigin,y,T),j&&HQ(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=zt()),Rr(j,this.relativeTarget)),S&&(this.animationValues=m,IQ(m,d,this.latestValues,T,R,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(es(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=jt.update(()=>{Kp.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=El(0)),this.currentAnimation=MQ(this.motionValue,[0,1e3],{...l,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),l.onUpdate&&l.onUpdate(c)},onStop:()=>{},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(FQ),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:c,target:f,layout:d,latestValues:m}=l;if(!(!c||!f||!d)){if(this!==l&&this.layout&&d&&a$(this.options.animationType,this.layout.layoutBox,d.layoutBox)){f=this.target||zt();const p=qn(this.layout.layoutBox.x);f.x.min=l.target.x.min,f.x.max=f.x.min+p;const y=qn(this.layout.layoutBox.y);f.y.min=l.target.y.min,f.y.max=f.y.min+y}Rr(c,f),dl(c,m),Eu(this.projectionDeltaWithTransform,this.layoutCorrected,c,m)}}registerSharedNode(l,c){this.sharedNodes.has(l)||this.sharedNodes.set(l,new UQ),this.sharedNodes.get(l).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(c):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){const{layoutId:l}=this.options;return l?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:l}=this.options;return l?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:c,preserveFollowOpacity:f}={}){const d=this.getStack();d&&d.promote(this,f),l&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let c=!1;const{latestValues:f}=l;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(c=!0),!c)return;const d={};f.z&&qv("z",l,d,this.animationValues);for(let m=0;m<Lv.length;m++)qv(`rotate${Lv[m]}`,l,d,this.animationValues),qv(`skew${Lv[m]}`,l,d,this.animationValues);l.render();for(const m in d)l.setStaticValue(m,d[m]),this.animationValues&&(this.animationValues[m]=d[m]);l.scheduleRender()}applyProjectionStyles(l,c){if(!this.instance||this.isSVG)return;if(!this.isVisible){l.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,l.visibility="",l.opacity="",l.pointerEvents=Gp(c?.pointerEvents)||"",l.transform=f?f(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(l.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,l.pointerEvents=Gp(c?.pointerEvents)||""),this.hasProjected&&!Ns(this.latestValues)&&(l.transform=f?f({},""):"none",this.hasProjected=!1);return}l.visibility="";const m=d.animationValues||d.latestValues;this.applyTransformsToTarget();let p=VQ(this.projectionDeltaWithTransform,this.treeScale,m);f&&(p=f(m,p)),l.transform=p;const{x:y,y:b}=this.projectionDelta;l.transformOrigin=`${y.origin*100}% ${b.origin*100}% 0`,d.animationValues?l.opacity=d===this?m.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:l.opacity=d===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const A in Yu){if(m[A]===void 0)continue;const{correct:S,applyTo:x,isCSSVariable:O}=Yu[A],R=p==="none"?m[A]:S(m[A],d);if(x){const j=x.length;for(let M=0;M<j;M++)l[x[M]]=R}else O?this.options.visualElement.renderState.vars[A]=R:l[A]=R}this.options.layoutId&&(l.pointerEvents=d===this?Gp(c?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>l.currentAnimation?.stop()),this.root.nodes.forEach(w_),this.root.sharedNodes.clear()}}}function KQ(e){e.updateLayout()}function YQ(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:a}=e.options,s=t.source!==e.layout.source;a==="size"?Nr(m=>{const p=s?t.measuredBox[m]:t.layoutBox[m],y=qn(p);p.min=n[m].min,p.max=p.min+y}):a$(a,t.layoutBox,n)&&Nr(m=>{const p=s?t.measuredBox[m]:t.layoutBox[m],y=qn(n[m]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+y)});const l=pl();Eu(l,n,t.layoutBox);const c=pl();s?Eu(c,e.applyTransform(r,!0),t.measuredBox):Eu(c,n,t.layoutBox);const f=!e$(l);let d=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:p,layout:y}=m;if(p&&y){const b=zt();Cu(b,t.layoutBox,p.layoutBox);const A=zt();Cu(A,n,y.layoutBox),t$(b,A)||(d=!0),m.options.layoutRoot&&(e.relativeTarget=A,e.relativeTargetOrigin=b,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function WQ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function QQ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function XQ(e){e.clearSnapshot()}function w_(e){e.clearMeasurements()}function S_(e){e.isLayoutDirty=!1}function ZQ(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function A_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function JQ(e){e.resolveTargetDelta()}function eX(e){e.calcProjection()}
295function tX(e){e.resetSkewAndRotation()}function nX(e){e.removeLeadSnapshot()}function O_(e,t,n){e.translate=Mt(t.translate,0,n),e.scale=Mt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function T_(e,t,n,r){e.min=Mt(t.min,n.min,r),e.max=Mt(t.max,n.max,r)}function rX(e,t,n,r){T_(e.x,t.x,n.x,r),T_(e.y,t.y,n.y,r)}function aX(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const iX={duration:.45,ease:[.4,0,.1,1]},j_=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),E_=j_("applewebkit/")&&!j_("chrome/")?Math.round:Ir;function C_(e){e.min=E_(e.min),e.max=E_(e.max)}function sX(e){C_(e.x),C_(e.y)}function a$(e,t,n){return e==="position"||e==="preserve-aspect"&&!dQ(b_(t),b_(n),.2)}function oX(e){return e!==e.root&&e.scroll?.wasRoot}const lX=r$({attachResizeListener:(e,t)=>Wu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zv={current:void 0},i$=r$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!zv.current){const e=new lX({});e.mount(window),e.setOptions({layoutScroll:!0}),zv.current=e}return zv.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),cX={pan:{Feature:EQ},drag:{Feature:jQ,ProjectionNode:i$,MeasureLayout:X6}};function R_(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,s=r[a];s&&jt.postRender(()=>s(t,Kf(t)))}class uX extends as{mount(){const{current:t}=this.node;t&&(this.unmount=MY(t,(n,r)=>(R_(this.node,r,"Start"),a=>R_(this.node,a,"End"))))}unmount(){}}class fX extends as{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Vf(Wu(this.node.current,"focus",()=>this.onFocus()),Wu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function __(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),s=r[a];s&&jt.postRender(()=>s(t,Kf(t)))}class dX extends as{mount(){const{current:t}=this.node;t&&(this.unmount=kY(t,(n,r)=>(__(this.node,r,"Start"),(a,{success:s})=>__(this.node,a,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Hw=new WeakMap,Hv=new WeakMap,pX=e=>{const t=Hw.get(e.target);t&&t(e)},hX=e=>{e.forEach(pX)};function mX({root:e,...t}){const n=e||document;Hv.has(n)||Hv.set(n,{});const r=Hv.get(n),a=JSON.stringify(t);return r[a]||(r[a]=new IntersectionObserver(hX,{root:e,...t})),r[a]}function gX(e,t,n){const r=mX(t);return Hw.set(e,n),r.observe(e),()=>{Hw.delete(e),r.unobserve(e)}}const yX={some:0,all:1};class vX extends as{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:a="some",once:s}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof a=="number"?a:yX[a]},c=f=>{const{isIntersecting:d}=f;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:m,onViewportLeave:p}=this.node.getProps(),y=d?m:p;y&&y(f)};return gX(this.node.current,l,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(bX(t,n))&&this.startObserver()}unmount(){}}function bX({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const xX={inView:{Feature:vX},tap:{Feature:dX},focus:{Feature:fX},hover:{Feature:uX}},wX={layout:{ProjectionNode:i$,MeasureLayout:X6}},SX={...sQ,...xX,...cX,...wX},Fe=SW(SX,kW);function sc({className:e=""}){const{language:t,toggleLanguage:n}=na(),r=t==="en"?"Español":"English";return g.jsxs("button",{"data-loc":"client/src/components/LanguageSwitcher.tsx:9",type:"button",onClick:n,className:`inline-flex h-9 items-center justify-center gap-1.5 rounded-full border border-emerald-200 bg-white px-3 text-xs font-semibold text-emerald-800 shadow-sm transition-all duration-150 hover:bg-emerald-50 active:scale-[0.97] ${e}`,"aria-label":t==="en"?"Cambiar el sitio a español":"Switch site to English",title:t==="en"?"Cambiar a español":"Switch to English",children:[g.jsx(rG,{"data-loc":"client/src/components/LanguageSwitcher.tsx:16",className:"h-3.5 w-3.5","aria-hidden":"true"}),g.jsx("span",{"data-loc":"client/src/components/LanguageSwitcher.tsx:17",children:r})]})}const AX="https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/hero-light-XjtpLmusgyj8VQzJDuLwBe.webp",OX="https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/video-thumbnail-aMVNtHSu4QLbp2beEPSn9L.webp",TX="https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/cta-light-5vh5tE4pdAGgah62Luxnrz.webp",jX="https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/report-preview-light-7NaaN6iyyXuu2TzvQY9PQa.webp",EX={D:ni,R:Br,E:Hf,A:zf,M:Lf,S:tc},CX=[{letter:"D",title:"Debt & Funding",description:"Access fast, flexible corporate funding. Restructure existing debt or secure new capital for growth, equipment, and expansion.",details:"Corporate loans, SBA funding, debt restructuring, lines of credit"},{letter:"R",title:"Retirement",description:"Optimize your employee 401(k) plan. Save $750 per employee per year while building smarter benefits that reduce taxable income.",details:"401(k) optimization, employer matching, indexed annuities, tax-deferred growth"},{letter:"E",title:"Expenses",description:"Cut health insurance, energy costs, and utilities without sacrificing quality. Solar energy estimates based on your building size.",details:"Health insurance savings, solar energy, LED upgrades, benefits audit"},{letter:"A",title:"Assets",description:"Your employees and website are your greatest assets. We recommend Dreams Leads, Intent Data, and Fugu Reviews to maximize value.",details:"Employee optimization, website revenue, Dreams Leads, Intent Data, Fugu Reviews"},{letter:"M",title:"Money & Tax Credits",description:"Unlock powerful tax credits including R&D, FICA Tip Tax Credit, and Research & Development credits. Dollar-for-dollar tax reduction.",details:"R&D tax credits, FICA tip credits, state credits, 20-year carry forward"},{letter:"S",title:"Security",description:"Protect your business with corporate life insurance, buy-sell agreements, and key man life insurance. Strengthen IT security.",details:"Corporate life insurance, buy-sell agreements, key man insurance, cybersecurity"}],RX=[{q:"Is there a cost?",a:"Nope! It's 100% free. No hidden fees, no obligations. Dreams Business Resources does not charge a fee to provide reports on potential areas for improvement in your profitability."},{q:"Do I have to provide detailed business or personal info?",a:"No. We just ask basic business questions — no tax returns, bank statements, or personal financial details required. Just general information about your company size, expenses, and operations."},{q:"What's the catch?",a:"There isn't one. If we find savings, we'll connect you with an expert who can help — only if you want to move forward. All Dreams service providers are third-party companies carefully screened and selected."},{q:"What happens after the DREAMS Score analysis?",a:"You'll receive a custom report showing potential savings and profit-boosting strategies. The report breaks down estimated dollar savings across all six DREAMS categories with actionable recommendations."},{q:"How long does the assessment take?",a:"Just 10-15 minutes. You'll answer questions about your business operations, and our scoring engine instantly calculates your potential savings and increased profit opportunities."}];function _X(){const[,e]=lo(),{robertEnabled:t,toggleRobert:n}=nc(),{language:r,t:a}=na(),[s,l]=N.useState(null),[c,f]=N.useState(0),[d,m]=N.useState(!1);return g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:100",className:"min-h-screen bg-background text-foreground",children:[g.jsx("nav",{"data-loc":"client/src/pages/Home.tsx:102",className:"fixed top-0 left-0 right-0 z-50 bg-white/90 backdrop-blur-lg border-b border-border",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:103",className:"container flex items-center justify-between h-16",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:104",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:105",className:"w-10 h-10 rounded-xl bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/Home.tsx:106",className:"w-5 h-5 text-white"})}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:108",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:109",className:"font-bold text-lg tracking-tight text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:110",className:"hidden sm:inline text-muted-foreground text-sm ml-1.5",children:a("for Business")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"hidden md:flex items-center gap-8 text-sm font-medium",children:[g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:114",href:"/ai-visibility",className:"text-orange-600 hover:text-orange-700 font-semibold transition-colors",children:a("AI Visibility Report")}),g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:115",href:"#how-it-works",className:"text-muted-foreground hover:text-foreground transition-colors",children:a("How It Works")}),g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:116",href:"#categories",className:"text-muted-foreground hover:text-foreground transition-colors",children:a("Categories")}),g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:117",href:"#results",className:"text-muted-foreground hover:text-foreground transition-colors",children:a("Results")}),g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:118",href:"#faq",className:"text-muted-foreground hover:text-foreground transition-colors",children:a("FAQ")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:120",className:"flex items-center gap-3",children:[g.jsx(sc,{"data-loc":"client/src/pages/Home.tsx:121"}),g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:122",onClick:n,className:`hidden sm:flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-all border ${t?"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100":"bg-slate-100 text-slate-500 border-slate-200 hover:bg-slate-200"}`,title:a(t?"Turn off Robert AI Guide":"Turn on Robert AI Guide"),children:t?g.jsxs(g.Fragment,{children:[g.jsx($f,{"data-loc":"client/src/pages/Home.tsx:132",className:"w-3.5 h-3.5"})," ",a("Robert: On")]}):g.jsxs(g.Fragment,{children:[g.jsx(If,{"data-loc":"client/src/pages/Home.tsx:134",className:"w-3.5 h-3.5"})," ",a("Robert: Off")]})}),g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:137",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold px-3 sm:px-5 shadow-sm",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"hidden sm:inline",children:a("Get Your Score")}),g.jsx(Ln,{"data-loc":"client/src/pages/Home.tsx:142",className:"w-4 h-4 ml-1"})]})]})]})}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:149",className:"relative pt-16 overflow-hidden bg-white",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:150",className:"absolute inset-0",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:151",className:"absolute inset-0",style:{backgroundImage:`url(${AX})`,backgroundSize:"cover",backgroundPosition:"center",opacity:.4}})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"relative container py-20 md:py-28 lg:py-36",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:159",className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:160",className:"max-w-3xl",children:[g.jsx(Fe.div,{"data-loc":"client/src/pages/Home.tsx:161",initial:{opacity:0,y:20}
295,animate:{opacity:1,y:0},transition:{duration:.6},children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:166",className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-emerald-50 text-emerald-dark text-sm font-medium mb-6",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:167",className:"w-2 h-2 rounded-full bg-emerald animate-pulse"}),a("Business Financial Assessment Tool")]})}),g.jsxs(Fe.h1,{"data-loc":"client/src/pages/Home.tsx:171",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight leading-[1.1] mb-6 text-foreground",children:[a("Is Your Business Missing")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:178",className:"text-emerald",children:"$50,000 – $500,000"})," ",a("in Untapped Savings?")]}),g.jsx(Fe.p,{"data-loc":"client/src/pages/Home.tsx:181",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-8 max-w-2xl",children:a("The DREAMS Score identifies hidden savings, tax credits, and profit opportunities across six key areas of your business — in just 15 minutes.")}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/Home.tsx:189",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"flex flex-wrap gap-4",children:[g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:195",size:"lg",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-bold text-base px-8 py-6 shadow-lg",children:[a("Start My DREAMS Score"),g.jsx(Ln,{"data-loc":"client/src/pages/Home.tsx:201",className:"w-5 h-5 ml-2"})]}),g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:203",size:"lg",variant:"outline",onClick:()=>e(`/sample-report/${Ya[0].id}`),className:"border-emerald/30 text-emerald-dark hover:bg-emerald-50 font-medium text-base px-8 py-6 bg-white",children:[g.jsx(Us,{"data-loc":"client/src/pages/Home.tsx:209",className:"w-5 h-5 mr-2"}),a("View Sample Report")]})]})]}),g.jsx(Fe.div,{"data-loc":"client/src/pages/Home.tsx:215",initial:{opacity:0,x:40},animate:{opacity:1,x:0},transition:{duration:.8,delay:.4},className:"hidden lg:flex flex-col items-center justify-center",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:221",className:"bg-white/80 backdrop-blur-sm rounded-2xl shadow-xl border border-emerald/10 p-8 w-full max-w-md",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:222",className:"text-sm font-semibold text-muted-foreground mb-4 uppercase tracking-wide",children:a("Potential Annual Savings")}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:223",className:"space-y-4",children:[{label:"Debt & Funding",value:85,amount:"$200K",delay:.5},{label:"Retirement",value:60,amount:"$75K",delay:.7},{label:"Expenses",value:92,amount:"$120K",delay:.9},{label:"Assets",value:78,amount:"$95K",delay:1.1},{label:"Money & Tax",value:95,amount:"$250K",delay:1.3},{label:"Security",value:55,amount:"$48K",delay:1.5}].map(p=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:232",className:"space-y-1",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:233",className:"flex justify-between text-sm",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:234",className:"font-medium text-foreground",children:a(p.label)}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:235",className:"font-bold text-emerald-dark",children:p.amount})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:237",className:"h-3 bg-gray-100 rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/Home.tsx:238",initial:{width:0},animate:{width:`${p.value}%`},transition:{duration:1.2,delay:p.delay,ease:"easeOut"},className:"h-full rounded-full bg-gradient-to-r from-emerald to-emerald-dark"})})]},p.label))}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:248",className:"mt-6 pt-4 border-t border-gray-100",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:249",className:"flex justify-between items-center",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:250",className:"text-sm font-medium text-muted-foreground",children:a("Total Identified")}),g.jsx(Fe.span,{"data-loc":"client/src/pages/Home.tsx:251",initial:{opacity:0,scale:.8}
295,animate:{opacity:1,scale:1},transition:{duration:.5,delay:1.8},className:"text-2xl font-extrabold text-emerald-dark",children:"$788K"})]})})]})})]})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:266",className:"relative -mb-1",children:g.jsx("svg",{"data-loc":"client/src/pages/Home.tsx:267",viewBox:"0 0 1440 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full",children:g.jsx("path",{"data-loc":"client/src/pages/Home.tsx:268",d:"M0 40C240 80 480 0 720 40C960 80 1200 0 1440 40V80H0V40Z",fill:"oklch(0.99 0 0)"})})})]}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:274",className:"py-16 md:py-24 bg-background",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:275",className:"container",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:276",className:"text-center mb-12",children:[g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:277",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:a("See How It Works")}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:278",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:a("Watch how the DREAMS Score uncovers hidden savings and profit opportunities for businesses like yours.")})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:282",className:"max-w-4xl mx-auto",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:283",className:"relative rounded-2xl overflow-hidden cursor-pointer group shadow-xl",onClick:()=>m("https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/dreams_score_business_v8_6d12ac61.mp4"),children:[g.jsx("img",{"data-loc":"client/src/pages/Home.tsx:287",src:OX,alt:"DREAMS Score for Business Video",className:"w-full aspect-video object-cover transition-transform duration-500 group-hover:scale-105"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:292",className:"absolute inset-0 bg-black/30 flex items-center justify-center transition-colors group-hover:bg-black/20",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:293",className:"w-20 h-20 rounded-full bg-emerald flex items-center justify-center shadow-2xl transition-transform group-hover:scale-110",children:g.jsx(eh,{"data-loc":"client/src/pages/Home.tsx:294",className:"w-8 h-8 text-white ml-1",fill:"currentColor"})})})]})})]}),d&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:301",className:"fixed inset-0 z-50 bg-black/80 flex items-center justify-center p-4",onClick:()=>m(!1),children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:302",className:"relative w-full max-w-4xl aspect-video bg-black rounded-2xl overflow-hidden",onClick:p=>p.stopPropagation(),children:[g.jsx("video",{"data-loc":"client/src/pages/Home.tsx:303",src:d||"",controls:!0,autoPlay:!0,className:"w-full h-full object-cover"}),g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:309",onClick:()=>m(!1),className:"absolute top-3 right-3 w-10 h-10 rounded-full bg-black/60 text-white flex items-center justify-center hover:bg-black/80 transition-colors text-lg",children:"×"})]})})]}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:321",className:"py-16 md:py-24 section-gray",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:322",className:"container",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:323",className:"max-w-5xl mx-auto",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:324",className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:326",className:"relative rounded-2xl overflow-hidden cursor-pointer group shadow-xl",onClick:()=>m("/manus-storage/ai_visibility_video_af11cd42.mp4"),children:[g.jsx("img",{"data-loc":"client/src/pages/Home.tsx:329",src:"/manus-storage/ai_visibility_thumb_98b80ad4.jpg",alt:"AI Visibility Score Explainer",className:"w-full aspect-video object-cover transition-transform duration-500 group-hover:scale-105"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:334",className:"absolute inset-0 bg-black/30 flex items-center justify-center transition-colors group-hover:bg-black/20",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:335",className:"w-16 h-16 rounded-full bg-orange-600 flex items-center justify-center shadow-2xl transition-transform group-hover:scale-110",children:g.jsx(eh,{"data-loc":"client/src/pages/Home.tsx:336",className:"w-7 h-7 text-white ml-0.5",fill:"currentColor"})})})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:341",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:342",className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-orange-50 text-orange-700 text-sm font-medium mb-4",children:[g.jsx(mI,{"data-loc":"client/src/pages/Home.tsx:343",className:"w-4 h-4"}),a("Free Instant AI Analysis")]}),g.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:346",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:[a("Is Your Business")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:347",className:"text-orange-600",children:a("Invisible")})," ",a("to AI?")]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:349",className:"text-muted-foreground text-lg leading-relaxed mb-6",children:a("Your customers are asking ChatGPT, Gemini, and Grok who to trust. Get your free AI Visibility Score to see exactly how AI engines see your business — in under a minute.")}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:352",className:"flex flex-wrap gap-3 mb-6",children:["ChatGPT","Gemini","Grok","Copilot","Perplexity"].map(p=>g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:354",className:"px-3 py-1.5 rounded-full bg-white border border-border text-sm font-medium text-foreground shadow-sm",children:p},p))}),g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:359",size:"lg",onClick:()=>e("/ai-visibility"),className:"bg-orange-600 hover:bg-orange-700 text-white font-bold text-base px-8 py-6 shadow-lg",children:[a("Get My Free AI Report"),g.jsx(Ln,{"data-loc":"client/src/pages/Home.tsx:365",className:"w-5 h-5 ml-2"})]})]})]})})})}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:374",id:"how-it-works",className:"py-16 md:py-24 bg-background",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:375",className:"container",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:376",className:"text-center mb-16",children:g.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:377",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:[a("Maximize Your Business in")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:378",className:"text-emerald",children:a("Four Steps")})]})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:381",className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:[{step:1,title:"AI Visibility Report",desc:"See how AI search engines like ChatGPT and Gemini view your business — free and instant.",icon:cG,highlight:!0},{step:2,title:"Take the DREAMS Assessment",desc:"Answer business questions across 6 categories — company size, expenses, payroll, and operations.",icon:Us},{step:3,title:"Get Your Score",desc:"Our engine calculates estimated dollar savings and increased profit for each DREAMS category.",icon:pI},{step:4,title:"Unlock Your Report",desc:"Receive a custom report with actionable recommendations and connect with expert partners.",icon:On}].map(p=>g.jsxs(Fe.div,{"data-loc":"client/src/pages/Home.tsx:388",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:p.step*.12},className:`clean-card p-6 text-center relative ${p.highlight?"border-orange-200 bg-orange-50/30":""}`,onClick:()=>{p.highlight&&e("/ai-visibility")},style:{cursor:p.highlight?"pointer":"default"},children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:398",className:`w-10 h-10 rounded-full text-white font-bold flex items-center justify-center mx-auto mb-4 text-sm ${p.highlight?"bg-orange-600":"bg-emerald"}`,children:p.step}),g.jsx(p.icon,{"data-loc":"client/src/pages/Home.tsx:401",className:`w-7 h-7 mx-auto mb-3 ${p.highlight?"text-orange-600":"text-emerald"}`}),g.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:402",className:"font-bold text-base mb-2 text-foreground",children:a(p.title)}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:403",className:"text-muted-foreground text-sm leading-relaxed",children:a(p.desc)}),p.highlight&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:405",className:"mt-3 text-xs font-semibold text-orange-600",children:a("Start Here →")})]},p.step))})]})}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:414",id:"categories",className:"py-16 md:py-24 bg-background",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:415",className:"container",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:416",className:"text-center mb-16",children:[g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:417",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:r==="es"?g.jsxs(g.Fragment,{children:[a("What Is the")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:418",className:"text-emerald",children:"DREAMS"}),"?"]}):g.jsxs(g.Fragment,{children:[a("What Is the")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:418",className:"text-emerald",children:"DREAMS"})," ",a("Score?")]})}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:420",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:a("Each letter represents a critical area of your business where hidden savings and profit opportunities exist.")})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:424",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:CX.map((p,y)=>(EX[p.letter],g.jsxs(Fe.div,{"data-loc":"client/src/pages/Home.tsx:428",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:y*.1},className:"clean-card p-6 hover:border-emerald/30 transition-all",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:436",className:"flex items-center gap-3 mb-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:437",className:"w-12 h-12 rounded-xl flex items-center justify-center text-lg font-bold",style:{backgroundColor:`${dn[p.letter]}15`,color:dn[p.letter]},children:p.letter}),g.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:443",className:"font-bold text-lg text-foreground",children:a(p.title)})]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:445",className:"text-muted-foreground text-sm leading-relaxed mb-4",children:a(p.description)}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:446",className:"text-xs text-muted-foreground
295/70 border-t border-border pt-3",children:a(p.details)})]},p.letter)))})]})}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:455",id:"results",className:"py-16 md:py-24 section-gray",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:456",className:"container",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:457",className:"text-center mb-16",children:[g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:458",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:r==="es"?g.jsxs(g.Fragment,{children:["Resultados de la puntuación ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:459",className:"text-emerald",children:"DREAMS"})]}):g.jsxs(g.Fragment,{children:["DREAMS Score ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:459",className:"text-emerald",children:"Results"})]})}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:461",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:a("See real examples of how businesses have uncovered significant savings and profit opportunities.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:467",className:"relative max-w-4xl mx-auto",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:468",className:"overflow-hidden rounded-2xl",children:Ya.map((p,y)=>g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:470",className:`transition-all duration-500 ${y===c?"block":"hidden"}`,children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:474",className:"clean-card p-8 md:p-10 glow-emerald",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:475",className:"flex flex-col md:flex-row md:items-center justify-between mb-8 gap-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:476",children:[g.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:477",className:"text-2xl font-bold text-foreground",children:p.companyName}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:478",className:"text-muted-foreground",children:[a(p.industry)," — ",p.employees," ",a(p.employees===1?"Employee":"Employees")]})]}),g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:482",variant:"outline",onClick:()=>e(`/sample-report/${p.id}`),className:"border-emerald/40 text-emerald hover:bg-emerald-50 shrink-0",children:[a("View Full Report"),g.jsx(Ln,{"data-loc":"client/src/pages/Home.tsx:488",className:"w-4 h-4 ml-2"})]})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:492",className:"space-y-3 mb-8",children:p.scores.categories.map(b=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:494",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:495",className:"w-8 h-8 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${dn[b.letter]}15`,color:dn[b.letter]},children:b.letter}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:501",className:"flex-1 min-w-0",children:g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:502",className:"text-sm text-muted-foreground",children:a(b.name)})}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:504",className:"font-mono font-bold text-lg",style:{color:dn[b.letter]},children:["$",b.amount.toLocaleString()]})]},b.letter))}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:511",className:"border-t border-border pt-6 flex flex-col sm:flex-row justify-between gap-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:512",children:[g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:513",className:"text-sm text-muted-foreground mb-1",children:a("Total Est. Annual Savings")}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:514",className:"text-3xl font-mono font-bold text-emerald",children:["$",p.scores.totalSavings.toLocaleString()]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:518",className:"sm:text-right",children:[g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:519",className:"text-sm text-muted-foreground mb-1",children:a("Total Est. Annual Profit")}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:520",className:"text-3xl font-mono font-bold text-gradient-amber",children:["$",p.scores.totalProfit.toLocaleStr
295ing()]})]})]})]})},p.id))}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:531",className:"flex items-center justify-center gap-4 mt-6",children:[g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:532",onClick:()=>f(p=>(p-1+Ya.length)%Ya.length),className:"w-10 h-10 rounded-full border border-border flex items-center justify-center hover:bg-secondary transition-colors bg-white",children:g.jsx(ZF,{"data-loc":"client/src/pages/Home.tsx:536",className:"w-5 h-5"})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:538",className:"flex gap-2",children:Ya.map((p,y)=>g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:540",onClick:()=>f(y),className:`h-2.5 rounded-full transition-all ${y===c?"bg-emerald w-8":"bg-border w-2.5"}`},y))}),g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:547",onClick:()=>f(p=>(p+1)%Ya.length),className:"w-10 h-10 rounded-full border border-border flex items-center justify-center hover:bg-secondary transition-colors bg-white",children:g.jsx(JF,{"data-loc":"client/src/pages/Home.tsx:551",className:"w-5 h-5"})})]})]})]})}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:559",className:"py-16 md:py-24 bg-background",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:560",className:"container",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:561",className:"grid md:grid-cols-2 gap-12 items-center",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:562",children:[g.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:563",className:"text-3xl md:text-4xl font-bold mb-6 text-foreground",children:[a("Why Choose")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:565",className:"text-emerald",children:a("Dreams Business Resources?")})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:567",className:"space-y-6",children:[{title:"No Cost for Reports",desc:"Dreams Business Resources does not charge a fee to provide reports on potential areas for improvement in your profitability."},{title:"Trusted Providers",desc:"All Dreams service providers are third-party companies carefully screened and selected to be part of the Dreams Team."},{title:"Expert Support",desc:"By meeting with industry experts, you gain access to strategies and solutions that offer competitive advantages."},{title:"Quick & Actionable",desc:"In just 15 minutes, uncover savings that most CPAs and traditional advisors miss entirely."}].map((p,y)=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:574",className:"flex gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:575",className:"w-8 h-8 rounded-full bg-emerald-50 flex items-center justify-center shrink-0 mt-0.5",children:g.jsx(On,{"data-loc":"client/src/pages/Home.tsx:576",className:"w-5 h-5 text-emerald"})}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:578",children:[g.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:579",className:"font-semibold mb-1 text-foreground",children:a(p.title)}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:580",className:"text-muted-foreground text-sm leading-relaxed",children:a(p.desc)})]})]},y))})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:586",className:"relative",children:[g.jsx("img",{"data-loc":"client/src/pages/Home.tsx:587",src:jX,alt:"DREAMS Score Business Report",className:"rounded-2xl shadow-xl w-full"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:592",className:"absolute -bottom-4 -right-4 clean-card rounded-xl p-4 glow-emerald",children:[g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:593",className:"text-xs text-muted-foreground mb-1",children:a("Average Savings Found")}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:594",className:"text-2xl font-mono font-bold text-emerald",children:"$247,000"})]})]})]})})}),g.jsx("section",{"data-loc":"client/src/pages/Home.tsx:602",id:"faq",className:"py-16 md:py-24 section-gray",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:603",className:"container max-w-3xl",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:604",className:"text-center mb-12",children:g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:605",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:a("Frequently Asked Questions")})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:607",className:"space-y-3",children:RX.map((p,y)=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:609",className:"clean-card rounded-xl overflow-hidden",children:[g.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:613",onClick:()=>l(s===y?null:y),className:"w-full flex items-center justify-between p-5 text-left hover:bg-secondary/50 transition-colors",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:617",className:"font-semibold pr-4 text-foreground",children:a(p.q)}),g.jsx(Bf,{"data-loc":"client/src/pages/Home.tsx:618",className:`w-5 h-5 shrink-0 text-muted-foreground transition-transform ${s===y?"rotate-180":""}`})]}),s===y&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:621",className:"px-5 pb-5",children:g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:622",className:"text-muted-foreground leading-relaxed",children:a(p.a)})})]},y))})]})}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:632",className:"py-16 md:py-24 relative overflow-hidden",style:{background:"linear-gradient(135deg, oklch(0.95 0.05 162), oklch(0.97 0.03 170), oklch(0.99 0.01 180))"},children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:633",className:"absolute inset-0 opacity-20",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:634",className:"absolute inset-0",style:{backgroundImage:`url(${TX})`,backgroundSize:"cover",backgroundPosition:"center"}})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:640",className:"relative container text-center",children:g.jsxs(Fe.div,{"data-loc":"client/src/pages/Home.tsx:641",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[g.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:646",className:"text-3xl md:text-4xl lg:text-5xl font-extrabold mb-6 text-foreground",children:[a("Ready to Discover Your")," ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:648",className:"text-emerald",children:a("Hidden Savings?")})]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:650",className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:a("It takes just 15 minutes to uncover thousands — potentially hundreds of thousands — in savings and profit opportunities for your business.")}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:653",className:"flex flex-wrap justify-center gap-4",children:g.jsxs(ot,{"data-loc":"client/src/pages/Home.tsx:654",size:"lg",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-bold text-lg px-10 py-7 shadow-lg",children:[a("Start My DREAMS Score Now"),g.jsx(Ln,{"data-loc":"client/src/pages/Home.tsx:660",className:"w-5 h-5 ml-2"})]})}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:663",className:"flex items-center justify-center gap-6 mt-8 text-sm text-muted-foreground",children:[g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:664",className:"flex items-center gap-2",children:[g.jsx(tG,{"data-loc":"client/src/pages/Home.tsx:664",className:"w-4 h-4"})," ",a("15 minutes")]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:665",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/Home.tsx:665",className:"w-4 h-4"})," ",a("100% Free")]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:666",className:"flex items-center gap-2",children:[g.jsx(tc,{"data-loc":"client/src/pages/Home.tsx:666",className:"w-4 h-4"})," ",a("No obligation")]})]})]})})]}),g.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:673",className:"border-t border-border py-8 bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:674",className:"container flex flex-col md:flex-row items-center justify-between gap-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:675",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:676",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/Home.tsx:677",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:679",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:680",className:"text-muted-foreground text-sm",children:a("for Business")})]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:682",className:"text-sm text-muted-foreground",children:["Copyright © Dreams Business Resources ",new Date().getFullYear(),". ",a("All rights reserved.")]})]})})]})}const M_="https://d2xsxph8kpxj0f.cloudfront.net/310519663500319219/JvDToLjTCfSjjUaSvFbKCR/robert-robot-avatar-f2RPqEQsz6SPnE2KH3NHoq.webp";function u2({message:e,subMessage:t,position:n="right",className:r=""}){const{robertEnabled:a}=nc(),[s,l]=N.useState(!1),[c,f]=N.useState(!1),[d,m]=N.useState(""),[p,y]=N.useState(!0),[b,A]=N.useState(!1),[S,x]=N.useState(!1),O=N.useRef(null),R=N.useRef(""),j=N.useCallback(()=>{window.speechSynthesis&&window.speechSynthesis.cancel(),x(!1)},[]),M=N.useCallback(E=>{if(!window.speechSynthesis||!b)return;j();const P=new SpeechSynthesisUtterance(E);P.rate=.95,P.pitch=1.05,P.volume=1;const k=window.speechSynthesis.getVoices(),z=k.find(B=>B.name.includes("Google")&&B.lang.startsWith("en"))||k.find(B=>B.lang.startsWith("en")&&B.name.includes("Male"))||k.find(B=>B.lang.startsWith("en"));z&&(P.voice=z),P.onstart=()=>
295x(!0),P.onend=()=>x(!1),P.onerror=()=>x(!1),O.current=P,window.speechSynthesis.speak(P)},[b,j]);N.useEffect(()=>{m(""),y(!0),l(!1),f(!1);let E=0;const k=setInterval(()=>{E<e.length?(m(e.slice(0,E+1)),E++):(clearInterval(k),y(!1))},18);return()=>clearInterval(k)},[e]),N.useEffect(()=>{!p&&b&&e!==R.current&&(R.current=e,M(e))},[p,b,e,M]),N.useEffect(()=>{(!b||!a)&&j()},[b,a,j]),N.useEffect(()=>()=>j(),[j]),N.useEffect(()=>{window.speechSynthesis&&(window.speechSynthesis.getVoices(),window.speechSynthesis.onvoiceschanged=()=>{window.speechSynthesis.getVoices()})},[]);const T=()=>{b?A(!1):(A(!0),setTimeout(()=>{if(window.speechSynthesis&&!p){const E=new SpeechSynthesisUtterance(e);E.rate=.95,E.pitch=1.05,E.volume=1;const P=window.speechSynthesis.getVoices(),k=P.find(z=>z.name.includes("Google")&&z.lang.startsWith("en"))||P.find(z=>z.lang.startsWith("en")&&z.name.includes("Male"))||P.find(z=>z.lang.startsWith("en"));k&&(E.voice=k),E.onstart=()=>x(!0),E.onend=()=>x(!1),E.onerror=()=>x(!1),window.speechSynthesis.speak(E)}},100))};if(!a||s)return null;const C=n==="left"?"left-4":"right-4";return g.jsx(b6,{"data-loc":"client/src/components/RobertGuide.tsx:148",children:c?g.jsx(Fe.button,{"data-loc":"client/src/components/RobertGuide.tsx:150",initial:{scale:0},animate:{scale:1},exit:{scale:0},onClick:()=>f(!1),className:`fixed bottom-6 ${C} z-50 group ${r}`,title:"Ask Robert",children:g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:159",className:"relative",children:[g.jsx("img",{"data-loc":"client/src/components/RobertGuide.tsx:160",src:M_,alt:"Robert",className:"w-16 h-16 rounded-full border-3 border-emerald-500 shadow-lg object-cover group-hover:scale-110 transition-transform bg-white"}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:165",className:"absolute -top-1 -right-1 w-5 h-5 bg-emerald-500 rounded-full flex items-center justify-center",children:g.jsx(sG,{"data-loc":"client/src/components/RobertGuide.tsx:166",className:"w-3 h-3 text-white"})}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:169",className:"absolute inset-0 rounded-full border-2 border-emerald-400 animate-ping opacity-30"})]})},"minimized"):g.jsx(Fe.div,{"data-loc":"client/src/components/RobertGuide.tsx:173",initial:{opacity:0,y:20,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.9},transition:{type:"spring",stiffness:260,damping:20},className:`fixed bottom-6 ${C} z-50 max-w-sm ${r}`,children:g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:181",className:"bg-white dark:bg-slate-800 rounded-2xl shadow-2xl border border-slate-200 dark:border-slate-700 overflow-hidden",children:[g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:183",className:"bg-gradient-to-r from-emerald-600 to-emerald-500 px-4 py-2.5 flex items-center gap-3",children:[g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:184",className:"relative",children:[g.jsx("img",{"data-loc":"client/src/components/RobertGuide.tsx:185",src:M_,alt:"Robert",className:"w-10 h-10 rounded-full border-2 border-white/80 object-cover bg-white"}),S&&g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:192",className:"absolute -bottom-0.5 -right-0.5 w-4 h-4 bg-yellow-400 rounded-full flex items-center justify-center",children:g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:193",className:"flex items-end gap-[1px] h-2.5",children:[g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:194",className:"w-[2px] bg-emerald-800 rounded-full animate-[soundbar_0.5s_ease-in-out_infinite]",style:{height:"40%"}}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:195",className:"w-[2px] bg-emerald-800 rounded-full animate-[soundbar_0.5s_ease-in-out_infinite_0.15s]",style:{height:"70%"}}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:196",className:"w-[2px] bg-emerald-800 rounded-full animate-[soundbar_0.5s_ease-in-out_infinite_0.3s]",style:{height:"50%"}})]})})]}),g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:201",className:"flex-1 min-w-0",children:[g.jsx("p",{"data-loc":"client/src/components/RobertGuide.tsx:202",className:"text-white font-bold text-sm leading-tight",children:"Robert"}),g.jsx("p",{"data-loc":"client/src/components/RobertGuide.tsx:203",className:"text-emerald-100 text-xs",children:"Your AI DREAMS Guide"})]}),g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:205",className:"flex items-center gap-1",children:[g.jsx("button",{"data-loc":"client/src/components/RobertGuide.tsx:207",onClick:T,className:`p-1.5 rounded-lg transition-all ${b?"bg-white/20 text-white hover:bg-white/30":"text-white/50 hover:text-white/80 hover:bg-white/10"}`,title:b?"Turn voice off":"Turn voice on",children:b?g.jsx(cR,{"data-loc":"client/src/components/RobertGuide.tsx:217",className:"w-4 h-4"}):g.jsx(fG,{"data-loc":"client/src/components/RobertGuide.tsx:219",className:"w-4 h-4"})}),g.jsx("button",{"data-loc":"client/src/components/RobertGuide.tsx:222",onClick:()=>f(!0),className:"text-white/70 hover:text-white p-1 rounded transition-colors",title:"Minimize",children:g.jsx("svg",{"data-loc":"client/src/components/RobertGuide.tsx:227",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:g.jsx("rect",{"data-loc":"client/src/components/RobertGuide.tsx:227",x:"2",y:"6",width:"10",height:"2",rx:"1",fill:"currentColor"})})}),g.jsx("button",{"data-loc":"client/src/components/RobertGuide.tsx:229",onClick:()=>{j(),l(!0)},className:"text-white/70 hover:text-white p-1 rounded transition-colors",title:"Close",children:g.jsx(pG,{"data-loc":"client/src/components/RobertGuide.tsx:234",className:"w-3.5 h-3.5"})})]})]}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:240",className:`px-4 py-1.5 text-xs flex items-center gap-2 transition-colors ${b?"bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300":"bg-slate-50 dark:bg-slate-700/50 text-slate-500 dark:text-slate-400"}`,children:b?g.jsxs(g.Fragment,{children:[g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:247",className:"w-2 h-2 rounded-full bg-emerald-500 animate-pulse"}),g.jsx("span",{"data-loc":"client/src/components/RobertGuide.tsx:248",children:S?"Robert is speaking...":"
295Voice is on"})]}):g.jsxs(g.Fragment,{children:[g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:252",className:"w-2 h-2 rounded-full bg-slate-300 dark:bg-slate-500"}),g.jsxs("span",{"data-loc":"client/src/components/RobertGuide.tsx:253",children:["Voice is off — click ",g.jsx(cR,{"data-loc":"client/src/components/RobertGuide.tsx:253",className:"w-3 h-3 inline"})," to enable"]})]})}),g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:259",className:"px-4 py-3.5",children:g.jsxs("div",{"data-loc":"client/src/components/RobertGuide.tsx:260",className:"relative bg-emerald-50 dark:bg-slate-700 rounded-xl rounded-tl-sm px-3.5 py-3",children:[g.jsx("div",{"data-loc":"client/src/components/RobertGuide.tsx:262",className:"absolute -top-1.5 left-3 w-3 h-3 bg-emerald-50 dark:bg-slate-700 rotate-45"}),g.jsxs("p",{"data-loc":"client/src/components/RobertGuide.tsx:263",className:"text-slate-700 dark:text-slate-200 text-sm leading-relaxed relative z-10",children:[d,p&&g.jsx("span",{"data-loc":"client/src/components/RobertGuide.tsx:266",className:"inline-block w-0.5 h-4 bg-emerald-500 ml-0.5 animate-pulse align-middle"})]}),!p&&t&&g.jsx(Fe.p,{"data-loc":"client/src/components/RobertGuide.tsx:270",initial:{opacity:0}
295,animate:{opacity:1},transition:{delay:.3},className:"text-slate-500 dark:text-slate-400 text-xs mt-2 leading-relaxed italic",children:t})]})})]})},"expanded")})}const Uv={0:{message:"Welcome! I'm Robert, your AI DREAMS Score guide. Let's start with some basic info about your business. This helps me personalize your report with real numbers and relevant opportunities.",subMessage:"Don't worry — this only takes about 10 minutes and there are no wrong answers!"},1:{message:"Great, now let's look at your business debt and funding needs. Even if you're debt-free, there may be funding programs or credit lines that could fuel your growth.",subMessage:"Many businesses miss out on SBA loans and low-interest credit lines simply because they never applied."},2:{message:"Retirement plans are one of the biggest opportunities I see for businesses. Let me know about your current setup — even a rough estimate helps me identify potential savings and tax advantages.",subMessage:"Fun fact: businesses with optimized 401(k) plans often save thousands per year in tax credits alone."},3:{message:"Now let's dig into your expenses. This is where most businesses find the biggest surprises — hidden savings in health benefits, energy costs, and technology services.",subMessage:"I've seen companies save 20-40% on telecom and cloud services just by switching providers through our network."},4:{message:"Let's look at your revenue-generating assets. Your website, online sales, reviews, and marketing all contribute to your bottom line. Even small improvements here can mean big profit gains.",subMessage:"Businesses that actively manage their online reviews see an average 18% increase in revenue."},5:{message:"Tax credits are like free money that most businesses leave on the table. Let me ask about your R&D activities — you might be surprised what qualifies!",subMessage:"The R&D Tax Credit isn't just for tech companies. Manufacturing, construction, and even restaurants can qualify."},6:{message:"Last section! Let's make sure your business and key people are properly protected. Insurance gaps can be costly — but they're easy to fix once you know where they are.",subMessage:"A proper buy-sell agreement and key person insurance can literally save a business from closing."},7:{message:"Excellent work! Your DREAMS Score is ready. I've put together a personalized report showing exactly where your savings, profit opportunities, and tax credits are. Let's take a look!",subMessage:"Remember — every number is an estimate. Schedule time with our experts for exact figures."}};function s$(e,t,n){const r="$"+n.toLocaleString();return{D:{message:`Let's start with Debt & Funding for ${t}. I've identified ${r} in potential funding opportunities. Whether it's refinancing existing debt or accessing new capital, these options could give your business the fuel it needs to grow.`,subMessage:"Tap any green button below to connect with a funding specialist — it's complimentary."},R:{message:`Now let's look at Retirement for ${t}. I found ${r} in potential annual savings here. Your retirement plan is one of the most powerful tools for both employee retention and tax optimization.`,subMessage:"Even small adjustments to your plan structure can save thousands per year."},E:{message:`Here's where it gets exciting — Expense Reduction for ${t}. I've identified ${r} in potential annual savings across your health benefits, energy, technology, and operational costs.`,subMessage:"The technology calculator below shows a detailed breakdown of your telecom and IT savings."},A:{message:`Asset Optimization for ${t} shows ${r} in potential increased annual profit. This includes your website revenue, online sales, reviews, and marketing services working harder for you.`,subMessage:"Small improvements in conversion rates and review scores compound into major revenue gains."},M:{message:`Money & Tax Credits is one of my favorite sections! ${t} could be eligible for ${r} in annual tax credits. These are real dollars back in your pocket — not deductions, but credits.`,subMessage:"R&D Tax Credits can often be claimed retroactively for the past 3 years."},S:{message:`Finally, Security & Protection for ${t}. I've identified ${r} in potential annual savings on insurance and risk management. Proper coverage protects everything you've built.`,subMessage:"A complimentary insurance review can uncover gaps you didn't know existed."}}[e]||{message:`Let me walk you through this section for ${t}. There's ${r} in potential value here.`}}function o$(e,t){return{message:`Great news, ${e}! Your DREAMS Score report is ready. I've identified a total of $${t.toLocaleStr
295ing()} in combined savings, increased profits, and funding opportunities. Let me walk you through each section so you understand exactly where this value comes from.`,subMessage:"Scroll down through each section — I'll be here to explain what each number means for your business."}}const lu=[{id:0,title:"Business Info",icon:ni,letter:""},{id:1,title:"Debt & Funding",icon:ni,letter:"D"},{id:2,title:"Retirement",icon:Br,letter:"R"},{id:3,title:"Expenses",icon:Hf,letter:"E"},{id:4,title:"Assets",icon:zf,letter:"A"},{id:5,title:"Money & Tax Credits",icon:Lf,letter:"M"},{id:6,title:"Security",icon:tc,letter:"S"}];function Ie({label:e,hint:t,children:n}){return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:34",className:"space-y-2",children:[g.jsx("label",{"data-loc":"client/src/pages/Assessment.tsx:35",className:"text-base font-semibold text-foreground",children:e}),t&&g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:36",className:"text-sm text-muted-foreground",children:t}),n]})}function Vv(e){return!e&&e!==0?"":e.toLocaleString("en-US")}function Fv(e){const t=e.replace(/[^0-9.-]/g,"");return Number(t)||0}function rt({value:e,onChange:t,placeholder:n,prefix:r}){const[a,s]=N.useState(e?Vv(e):""),[l,c]=N.useState(!1);N.useEffect(()=>{l||s(e?Vv(e):"")},[e,l]);const f=p=>{const y=p.target.value;s(y),t(Fv(y))},d=()=>{c(!1);const p=Fv(a);s(p?Vv(p):"")},m=()=>{c(!0);const p=Fv(a);p&&s(p.toString())};return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:91",className:"relative",children:[r&&g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:92",className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground text-base font-bold",children:r}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:93",type:"text",inputMode:"numeric",value:a,onChange:f,onBlur:d,onFocus:m,placeholder:n||"0",className:`w-full h-12 rounded-lg border border-border bg-white text-foreground px-4 text-base font-bold focus:outline-none focus:ring-2 focus:ring-emerald/40 focus:border-emerald transition-colors font-mono ${r?"pl-8":""}`})]})}
295function _s({value:e,onChange:t,placeholder:n,type:r}){return g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:109",type:r||"text",value:e,onChange:a=>t(a.target.value),placeholder:n,className:"w-full h-12 rounded-lg border border-border bg-white text-foreground px-4 text-base font-bold focus:outline-none focus:ring-2 focus:ring-emerald/40 focus:border-emerald transition-colors"})}function MX({value:e,onChange:t,options:n}){return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:121",className:"relative",children:[g.jsx("select",{"data-loc":"client/src/pages/Assessment.tsx:122",value:e,onChange:r=>t(r.target.value),className:"w-full h-12 rounded-lg border border-border bg-white text-foreground px-4 text-base font-bold focus:outline-none focus:ring-2 focus:ring-emerald/40 focus:border-emerald transition-colors appearance-none",children:n.map(r=>g.jsx("option",{"data-loc":"client/src/pages/Assessment.tsx:128",value:r,children:r},r))}),g.jsx(Bf,{"data-loc":"client/src/pages/Assessment.tsx:131",className:"absolute right-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground pointer-events-none"})]})}function Yp({value:e,onChange:t,options:n}){return g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:138",className:"flex flex-wrap gap-3",children:n.map(r=>g.jsxs("label",{"data-loc":"client/src/pages/Assessment.tsx:140",className:`flex items-center gap-3 cursor-pointer px-5 py-3 rounded-xl border-2 transition-all text-base font-semibold ${e===r.value?"border-emerald bg-emerald-50/60 text-emerald-dark":"border-border bg-white text-foreground hover:border-emerald/40"}`,onClick:()=>t(r.value),children:[g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:149",className:`w-5 h-5 rounded-full border-2 flex items-center justify-center shrink-0 transition-colors ${e===r.value?"border-emerald":"border-gray-300"}`,children:e===r.value&&g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:152",className:"w-2.5 h-2.5 rounded-full bg-emerald"})}),g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:154",children:r.label})]},r.value))})}function Ms({value:e,onChange:t,label:n}){const{t:r}=na();return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:181",className:"space-y-2",children:[g.jsx("label",{"data-loc":"client/src/pages/Assessment.tsx:182",className:"text-base font-semibold text-foreground",children:n}),g.jsx(Yp,{"data-loc":"client/src/pages/Assessment.tsx:183",value:e?"yes":"no",onChange:a=>t(a==="yes"),options:[{label:r("Yes"),value:"yes"},{label:r("No"),value:"no"}]})]})}function PX(){const[,e]=lo(),{robertEnabled:t,toggleRobert:n}=nc(),{t:r}=na(),[a,s]=N.useState(0),[l,c]=N.useState(()=>(sessionStorage.removeItem("dreamsBusinessData"),sessionStorage.removeItem("dreamsBusinessScore"),sessionStorage.removeItem("dreamsWebhookSent"),JSON.parse(JSON.stringify(vl)))),f=(x,O)=>c({...l,business:{...l.business,[x]:O}}),d=(x,O)=>c({...l,debt:{...l.debt,[x]:O}}),m=(x,O)=>c({...l,retirement:{...l.retirement,[x]:O}}),p=(x,O)=>c({...l,expenses:{...l.expenses,[x]:O}}),y=(x,O)=>c({...l,assets:{...l.assets,[x]:O}}),b=(x,O)=>c({...l,money:{...l.money,[x]:O}}),A=(x,O)=>c({...l,security:{...l.security,[x]:O}});N.useEffect(()=>{const x=gm(l);sessionStorage.setItem("dreamsBusinessData",JSON.stringify(l)),sessionStorage.setItem("dreamsBusinessScore",JSON.stringify(x))},[l]);const S=()=>{switch(a){case 0:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:237",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:238",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:239",className:"text-2xl font-bold mb-2 text-foreground",children:r("Tell Us About Your Business")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:240",className:"text-muted-foreground text-base mb-6",children:r("Basic information helps us calculate your potential savings accurately.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:242",className:"grid sm:grid-cols-2 gap-6",children:[g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:243",label:r("Company Name"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:243",value:l.business.companyName,onChange:x=>f("companyName",x),placeholder:"Acme Corp"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:244",label:r("Contact Name"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:244",value:l.business.contactName,onChange:x=>f("contactName",x),placeholder:"John Smith"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:245",label:r("Email"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:245",value:l.business.email,onChange:x=>f("email",x),placeholder:"[email protected]",type:"email"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:246",label:r("Phone"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:246",value:l.business.phone,onChange:x=>f("phone",x),placeholder:"(555) 123-4567",type:"tel"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:247",label:r("Title / Position"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:247",value:l.business.title,onChange:x=>f("title",x),placeholder:"CEO"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:248",label:r("Business Website"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:248",value:l.business.website,onChange:x=>f("website",x),placeholder:"www.acme.com"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:249",label:r("Industry"),children:g.jsx(MX,{"data-loc":"client/src/pages/Assessment.tsx:249",value:l.business.industry,onChange:x=>f("industry",x),options:HG})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:250",label:r("Type of Sales"),children:g.jsx(Yp,{"data-loc":"client/src/pages/Assessment.tsx:251",value:l.business.salesType,onCh
295ange:x=>f("salesType",x),options:[{label:"B2B",value:"B2B"},{label:"B2C",value:"B2C"},{label:r("Both"),value:"Both"}]})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:261",label:r("Annual Revenue"),hint:r("Approximate annual revenue"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:261",value:l.business.annualRevenue,onChange:x=>f("annualRevenue",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:262",label:r("Number of Employees"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:262",value:l.business.numberOfEmployees,onChange:x=>f("numberOfEmployees",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:263",label:r("Years in Business"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:263",value:l.business.yearsInBusiness,onChange:x=>f("yearsInBusiness",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:264",label:r("Building Size (sq ft)"),hint:r("Used to estimate solar energy savings"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:264",value:l.business.buildingSqFt,onChange:x=>f("buildingSqFt",x)})})]})]});case 1:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:270",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:271",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:272",className:"text-2xl font-bold mb-2 text-foreground",children:r("Debt & Corporate Funding")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:273",className:"text-muted-foreground text-base mb-6",children:r("Tell us about your current debt and any funding needs for growth.")})]}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:275",label:r("Current Business Debt"),hint:r("Total outstanding business loans and credit"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:275",value:l.debt.currentBusinessDebt,onChange:x=>d("currentBusinessDebt",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:276",label:r("Monthly Debt Payments"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:276",value:l.debt.monthlyDebtPayments,onChange:x=>d("monthlyDebtPayments",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:277",label:r("Desired Additional Funding"),hint:r("How much funding would help your business grow?"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:277",value:l.debt.desiredFunding,onChange:x=>d("desiredFunding",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:278",label:r("Business Credit Score"),children:g.jsx(Yp,{"data-loc":"client/src/pages/Assessment.tsx:279",value:l.debt.creditScore,onChange:x=>d("creditScore",x),options:[{label:r("Excellent"),value:"Excellent"},{label:r("Good"),value:"Good"},{label:r("Fair"),value:"Fair"},{label:r("Poor"),value:"Poor"}]})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:290",label:r("Primary Funding Purpose"),children:g.jsx(Yp,{"data-loc":"client/src/pages/Assessment.tsx:291",value:l.debt.fundingPurpose,onChange:x=>d("fundingPurpose",x),options:[{label:r("Growth & Expansion"),value:"Growth & Expansion"},{label:r("Equipment Purchase"),value:"Equipment Purchase"},{label:r("Working Capital"),value:"Working Capital"},{label:r("Inventory"),value:"Inventory"},{label:r("Debt Consolidation"),value:"Debt Consolidation"},{label:r("Hiring"),value:"Hiring"},{label:r("Marketing"),value:"Marketing"},{label:r("Other"),value:"Other"}]})})]});case 2:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:310",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:311",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:312",className:"text-2xl font-bold mb-2 text-foreground",children:r("Employee 401(k) & Retirement")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:313",className:"text-muted-foreground text-base mb-6",children:r("We can save approximately $750 per employee per year on retirement plan optimization.")})]}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:315",value:l.retirement.has401k,onChange:x=>m("has401k",x),label:r("Does your company currently offer a 401(k) plan?")}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:316",label:r("Current 401(k) Plan Balance"),hint:r("Total across all employee accounts"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:316",value:l.retirement.current401kBalance,onChange:x=>m("current401kBalance",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:317",label:r("Employer Match (%)"),hint:r("What percentage does the company match?"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:317",value:l.retirement.employerMatchPercent,onChange:x=>m("employerMatchPercent",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:318",label:r("Employee Participation Rate (%)"),hint:r("Percentage of employees enrolled"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:318",value:l.retirement.employeeParticipationRate,onChange:x=>m("employeeParticipationRate",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:319",label:r("Annual Contributions"),hint:r("Total annual employer + employee contributions"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:319",value:l.retirement.annualContributions,onChange:x=>m("annualContributions",x),prefix:"$"})})]});case 3:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:324",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:325",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:326",className:"text-2xl font-bold mb-2 text-foreground",children:r("Business Expenses")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:327",className:"text-muted-foreground text-base mb-6",children:r("Health insurance, energy costs, and utilities — we identify savings in each area.")})]}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:329",label:r("Monthly Health Insurance Premiums"),hint:r("Total company health insurance cost"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:329",value:l.expenses.monthlyHealthInsurance,onChange:x=>p("monthlyHealthInsurance",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:330",label:r("Annual Health Insurance Premiums"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:330",value:l.expenses.annualHealthPremiums,onChange:x=>p("annualHealthPremiums",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:331",label:r("Monthly Energy Bill"),hint:r("Electricity and gas costs"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:331",value:l.expenses.monthlyEnergyBill,onChange:x=>p("monthlyEnergyBill",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:332",label:r("Monthly Utilities"),hint:r("Water, internet, phone, etc."),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:332",value:l.expenses.monthlyUtilities,onChange:x=>p("monthlyUtilities",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:333",label:r("Monthly Payroll"),hint:r("Total monthly payroll for all employees"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:333",value:l.expenses.monthlyPayroll,onChange:x=>p("monthlyPayroll",x),prefix:"$"})}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:336",className:"pt-4 border-t border-border",children:[g.jsx("h4",{"data-loc":"client/src/pages/Assessment.tsx:337",className:"text-xl font-bold mb-1 text-foreground",children:r("Technology Expenses")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:338",className:"text-sm text-muted-foreground mb-4",children:r("Phone, internet, cloud services, and IT management — we identify technology savings opportunities.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:340",className:"grid sm:grid-cols-2 gap-6",children:[g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:341",label:r("Monthly Phone Cost"),hint:r("Business phone lines, VoIP, mobile plans"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:341",value:l.expenses.monthlyPhoneCost,onChange:x=>p("monthlyPhoneCost",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:342",label:r("Monthly Internet Cost"),hint:r("Business internet and connectivity"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:342",value:l.expenses.monthlyInternetCost,onChange:x=>p("monthlyInternetCost",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:343",label:r("Monthly Cloud Services"),hint:r("AWS, Azure, Google Cloud, SaaS subscriptions"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:343",value:l.expenses.monthlyCloudServicesCost,onChange:x=>p("monthlyCloudServicesCost",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:344",label:r("Monthly IT Management"),hint:r("Managed IT, helpdesk, information management"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:344",value:l.expenses.monthlyITManagementCost,onChange:x=>p("monthlyITManagementCost",x),prefix:"$"})})]}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:346",className:"pt-4 border-t border-border",children:[g.jsx("h4",{"data-loc":"client/src/pages/Assessment.tsx:347",className:"text-xl font-bold mb-1 text-foreground",children:r("Phone Dialers & Revenue")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:348",className:"text-sm text-muted-foreground mb-4",children:r("If your business uses phone dialers for sales or outreach, we can identify revenue growth opportunities.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:350",className:"grid sm:grid-cols-2 gap-6",children:[g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:351",label:r("Number of Phone Dialers"),hint:r("Auto-dialers, predictive dialers, power dialers"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:351",value:l.expenses.numberOfDialers,onChange:x=>p("numberOfDialers",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:352",label:r("Total Monthly Revenue from Dialers"),hint:r("Revenue generated through dialer-based sales"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:352",value:l.expenses.monthlyDialerRevenue,onChange:x=>p("monthlyDialerRevenue",x),prefix:"$"})})]})]});case 4:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:358",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:359",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:360",className:"text-2xl font-bold mb-2 text-foreground",children:r("Business Assets")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:361",className:"text-muted-foreground text-base mb-6",children:r("Your employees and website are your greatest assets. We recommend Dreams Leads, Intent Data, and Fugu Reviews to maximize value.")})]}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:363",label:r("Number of Employees"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:363",value:l.assets.numberOfEmployees,onChange:x=>y("numberOfEmployees",x)})}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:364",value:l.assets.hasWebsite,onChange:x=>y("hasWebsite",x),label:r("Does your business have a website?")}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:365",label:r("What is your business website?"),hint:r("Enter your website URL"),children:g.jsx(_s,{"data-loc":"client/src/pages/Assessment.tsx:365",value:l.assets.websiteUrl,onChange:x=>y("websiteUrl",x),placeholder:"www.yourbusiness.com"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:366",label:r("How much do you spend on advertising, your website, or marketing for leads?"),hint:r("Monthly spend on ads, website maintenance, SEO, lead generation, etc."),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:366",value:l.assets.monthlyAdvertisingSpend,onChange:x=>y("monthlyAdvertisingSpend",x),prefix:"$"})})]});case 5:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:371",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:372",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:373",className:"text-2xl font-bold mb-2 text-foreground",children:r("Money & Tax Credits")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:374",className:"text-muted-foreground text-base mb-6",children:r("R&D Tax Credits, FICA Tip Tax Credits, and Research & Development credits can provide dollar-for-dollar tax reduction.")})]}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:376",value:l.money.paysOver20kFederalTax,onChange:x=>b("paysOver20kFederalTax",x),label:r("Do you pay more than $20,000 
295in annual federal income tax?")}),l.money.paysOver20kFederalTax&&g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:378",className:"bg-emerald-50 dark:bg-emerald-900/20 border border-emerald-200 dark:border-emerald-700 rounded-lg px-4 py-3",children:g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:379",className:"text-emerald-700 dark:text-emerald-300 text-base font-semibold",children:r("Great news! You may qualify for a Research & Development Tax Credit — a dollar-for-dollar reduction in your federal tax liability.")})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:382",label:r("Total Annual Payroll & Subcontractor Expenses"),hint:r("Combined total of W-2 employee wages and 1099 subcontractor payments annually"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:382",value:l.money.totalAnnualPayrollAndSubs,onChange:x=>b("totalAnnualPayrollAndSubs",x),prefix:"$"})}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:383",value:l.money.hasClaimedRDCredit,onChange:x=>b("hasClaimedRDCredit",x),label:r("Has your company previously claimed the R&D Tax Credit?")}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:384",label:r("Number of Tipped Employees"),hint:r("For FICA Tip Tax Credit calculation"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:384",value:l.money.numberOfTippedEmployees,onChange:x=>b("numberOfTippedEmployees",x)})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:385",label:r("Average Monthly Tips Per Employee"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:385",value:l.money.averageTipsPerEmployee,onChange:x=>b("averageTipsPerEmployee",x),prefix:"$"})})]});case 6:return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:390",className:"space-y-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:391",children:[g.jsx("h3",{"data-loc":"client/src/pages/Assessment.tsx:392",className:"text-2xl font-bold mb-2 text-foreground",children:r("Security & Protection")}),g.jsx("p",{"data-loc":"client/src/pages/Assessment.tsx:393",className:"text-muted-foreground text-base mb-6",children:r("Corporate life insurance, buy-sell agreements, key man life insurance, and IT security.")})]}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:395",value:l.security.hasKeyManInsurance,onChange:x=>A("hasKeyManInsurance",x),label:r("Does your company have key man life insurance?")}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:396",label:r("Key Man Insurance Coverage"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:396",value:l.security.keyManCoverage,onChange:x=>A("keyManCoverage",x),prefix:"$"})}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:397",value:l.security.hasBuySellAgreement,onChange:x=>A("hasBuySellAgreement",x),label:r("Is there a buy-sell agreement in place?")}),g.jsx(Ms,{"data-loc":"client/src/pages/Assessment.tsx:398",value:l.security.hasCorporateLifeInsurance,onChange:x=>A("hasCorporateLifeInsurance",x),label:r("Does your company have corporate life insurance?")}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:399",label:r("Corporate Life Insurance Coverage"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:399",value:l.security.corporateLifeCoverage,onChange:x=>A("corporateLifeCoverage",x),prefix:"$"})}),g.jsx(Ie,{"data-loc":"client/src/pages/Assessment.tsx:400",label:r("Number of PCs / Workstations"),hint:r("For IT security cost savings calculation"),children:g.jsx(rt,{"data-loc":"client/src/pages/Assessment.tsx:400",value:l.security.numberOfPCs,onChange:x=>A("numberOfPCs",x)})})]});default:return null}};return g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:409",className:"min-h-screen bg-secondary/30",children:[g.jsx("nav",{"data-loc":"client/src/pages/Assessment.tsx:411",className:"border-b border-border bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:412",className:"container flex items-center justify-between h-16",children:[g.jsxs("button",{"data-loc":"client/src/pages/Assessment.tsx:413",onClick:()=>e("/"),className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[g.jsx(Xs,{"data-loc":"client/src/pages/Assessment.tsx:414",className:"w-5 h-5 text-foreground"}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:415",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:416",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/Assessment.tsx:417",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:419",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:420",className:"hidden sm:inline text-muted-foreground text-sm",children:r("for Business")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:423",className:"flex items-center gap-3",children:[g.jsx(sc,{"data-loc":"client/src/pages/Assessment.tsx:424"}),g.jsx("button",{"data-loc":"client/src/pages/Assessment.tsx:425",onClick:n,className:`hidden sm:flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-all border ${t?"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100":"bg-slate-100 text-slate-500 border-slate-200 hover:bg-slate-200"}`,title:r(t?"Turn off Robert AI Guide":"Turn on Robert AI Guide"),children:t?g.jsxs(g.Fragment,{children:[g.jsx($f,{"data-loc":"client/src/pages/Assessment.tsx:435",className:"w-3.5 h-3.5"})," ",r("Robert: On")]}):g.jsxs(g.Fragment,{children:[g.jsx(If,{"data-loc":"client/src/pages/Assessment.tsx:437",className:"w-3.5 h-3.5"})," ",r("Robert: Off")]})}),g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:440",className:"text-sm text-muted-foreground hidden lg:block",children:r("Business Assessment")})]})]})}),g.jsx("form",{"data-loc":"client/src/pages/Assessment.tsx:445",action:"/report",className:"container py-8 md:py-12",children:g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:449",className:"max-w-3xl mx-auto",children:[g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:451",type:"hidden",name:"companyName",value:l.business.companyName}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:452",type:"hidden",name:"contactName",value:l.business.contactName}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:453",type:"email",name:"email",value:l.business.email,readOnly:!0,className:"hidden"}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:454",type:"hidden",name:"phone",value:l.business.phone}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:455",type:"hidden",name:"title",value:l.business.title}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:456",type:"hidden",name:"website",value:l.business.website}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:457",type:"hidden",name:"industry",value:l.business.industry}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:458",type:"hidden",name:"annualRevenue",value:l.business.annualRevenue}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:459",type:"hidden",name:"numberOfEmployees",value:l.business.numberOfEmployees}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:460",type:"hidden",name:"yearsInBusiness",value:l.business.yearsInBusiness}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:461",type:"hidden",name:"buildingSqFt",value:l.business.buildingSqFt}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:462",type:"hidden",name:"salesType",value:l.business.salesType}),g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:463",type:"hidden",name:"assessmentData",value:JSON.stringify(l)}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:465",className:"mb-8",children:[g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:466",className:"flex items-center justify-between mb-3",children:[g.jsxs("span",{"data-loc":"client/src/pages/Assessment.tsx:467",className:"text-sm text-muted-foreground",children:[r("Step")," ",a+1," ",r("of")," ",lu.length]}),g.jsxs("span",{"data-loc":"client/src/pages/Assessment.tsx:468",className:"text-sm font-medium text-emerald",children:[Math.round((a+1)/lu.length*100),"%"]})]}),g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:470",className:"h-2 bg-border rounded-full overflow-hidden",children:g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:471",className:"h-full bg-emerald rounded-full transition-all duration-500",style:{width:`${(a+1)/lu.length*100}%`}})}),g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:477",className:"flex justify-between mt-4 overflow-x-auto",children:lu.map(x=>g.jsxs("button",{"data-loc":"client/src/pages/Assessment.tsx:479",type:"button",onClick:()=>s(x.id),className:`flex flex-col items-center gap-1 min-w-0 px-1 ${x.id<=a?"text-emerald":"text-muted-foreground"}`,children:[g.jsx("div",{"data-loc":"client/src/pages/Assessment.tsx:485",className:`w-8 h-8 rounded-full flex items-center justify-center text-xs font-bold transition-colors ${x.id===a?"bg-emerald text-white":x.id<a?"bg-emerald-50 text-emerald":"bg-secondary text-muted-foreground"}`,children:x.id<a?g.jsx(On,{"data-loc":"client/src/pages/Assessment.tsx:486",className:"w-4 h-4"}):x.letter||x.id+1}),g.jsx("span",{"data-loc":"client/src/pages/Assessment.tsx:488",className:"text-[10px] hidden sm:block truncate max-w-[72px]",children:r(x.title)})]},x.id))})]}),g.jsx(b6,{"data-loc":"client/src/pages/Assessment.tsx:495",mode:"wait",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/Assessment.tsx:496",initial:{opacity:0,x:20}
295,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"clean-card rounded-2xl p-6 md:p-10",children:S()},a)}),g.jsxs("div",{"data-loc":"client/src/pages/Assessment.tsx:509",className:"flex items-center justify-between mt-6",children:[g.jsxs(ot,{"data-loc":"client/src/pages/Assessment.tsx:510",type:"button",variant:"outline",onClick:()=>s(Math.max(0,a-1)),disabled:a===0,className:"border-border bg-white text-base px-6 py-5",children:[g.jsx(Xs,{"data-loc":"client/src/pages/Assessment.tsx:517",className:"w-4 h-4 mr-2"}),r("Back")]}),a<lu.length-1?g.jsxs(ot,{"data-loc":"client/src/pages/Assessment.tsx:522",type:"button",onClick:()=>s(a+1),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold text-base px-6 py-5",children:[r("Next Step"),g.jsx(Ln,{"data-loc":"client/src/pages/Assessment.tsx:528",className:"w-4 h-4 ml-2"})]}):g.jsx("input",{"data-loc":"client/src/pages/Assessment.tsx:531",type:"submit",value:r("Calculate My DREAMS Score"),className:"bg-amber hover:bg-amber-light text-foreground font-bold px-8 py-5 text-base shadow-md rounded-md cursor-pointer transition-colors"})]})]})}),g.jsx(u2,{"data-loc":"client/src/pages/Assessment.tsx:542",message:Uv[a]?.message||Uv[0].message,subMessage:Uv[a]?.subMessage,position:"right"})]})}function Gv({target:e}){const[t,n]=N.useState(0),r=N.useRef(null),a=N.useRef(!1);return N.useEffect(()=>{const s=new IntersectionObserver(([l])=>{if(l.isIntersecting&&!a.current){a.current=!0;const c=2e3,f=60,d=e/f;let m=0;const p=setInterval(()=>{m+=d,m>=e?(n(e),clearInterval(p)):n(Math.round(m))},c/f)}},{threshold:.3});return r.current&&s.observe(r.current),()=>s.disconnect()},[e]),g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:49",ref:r,className:"font-mono tabular-nums",children:["$",t.toLocaleString()]})}const NX={D:ni,R:Br,E:Hf,A:zf,M:Lf,S:tc},Kv={D:[{label:"Apply for Bank Breezy Funding",url:"https://bankbreezy.com/"},{label:"Debt Restructuring Review",url:"https://davidallencapital.com"},{label:"SBA Loan Consultation",url:"https://bankbreezy.com/"}],R:[{label:"401(k) Plan Optimization",url:"https://goall.dreamsresources.com/"},{label:"Auto-Enrollment Setup",url:"https://link.dreamsresources.com/widget/bookings/goall-program"},{label:"Indexed Annuity Quote",url:"https://goall.dreamsresources.com/"}],E:[{label:"Get Section 125 Plan Quote",url:"https://trumarkhealth.com"},{label:"Schedule Benefits Audit",url:"https://trumarkhealth.com"},{label:"Request Solar Energy Analysis",url:"https://dreamsenergysolutions.com"},{label:"Request Water & Energy Analysis",url:"https://dreamsenergysolutions.com"}],A:[{label:"Activate Dreams Leads",url:"https://dreamsbusinesscloud.com"},{label:"Get Intent Data Demo",url:"https://technology.dreamsresources.com"},{label:"Start Fugu Reviews",url:"https://reviews.dreamsresources.com/home-page"},{label:"Optimize Your Website",url:"https://dreamsai-mngpmcsw.manus.space/"},{label:"Book Benefits Consultation",url:"https://trumarkhealth.com"}],M:[{label:"R&D Tax Credit Review",url:"https://research.taxprepadvocates.com/dbr"},{label:"FICA Tip Credit Consultation",url:"https://fica.taxprepadvocates.com/"},{label:"State R&D Credits Review",url:"https://research.taxprepadvocates.com/dbr"},{label:"Credit Carry-Forward Strategy",url:"https://research.taxprepadvocates.com/dbr"}],S:[{label:"Review Life Insurance",url:"https://dreamslifeinsurance.com/life-insurance"},{label:"Buy-Sell Agreement Review",url:"https://dreamslifeinsurance.com/life-insurance"},{label:"Key Man Insurance Quote",url:"https://dreamslifeinsurance.com/life-insurance"},{label:"Cloud & Technology Review",url:"https://products.dreamsresources.com/streampc/"}]};function DX(){const[,e]=lo(),{robertEnabled:t,toggleRobert:n}=nc(),{t:r}=na(),[a,s]=N.useState(null),[l,c]=N.useState(null),[f,d]=N.useState(null);if(N.useEffect(()=>{const p=sessionStorage.getItem("dreamsBusinessScore"),y=sessionStorage.getItem("dreamsBusinessData");if(p&&y)s(JSON.parse(p)),c(JSON.parse(y));else{const b=gm(vl);s(b),c(vl)}},[]),!a||!l)return null;const m=a.totalEstimatedSavings+a.totalEstimatedProfit;return g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:131",className:"min-h-screen bg-secondary/30",children:[g.jsx("nav",{"data-loc":"client/src/pages/Dashboard.tsx:133",className:"border-b border-border bg-white sticky top-0 z-50",children:g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:134",className:"container flex items-center justify-between h-16",children:[g.jsxs("button",{"data-loc":"client/src/pages/Dashboard.tsx:135",onClick:()=>e("/"),className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[g.jsx(Xs,{"data-loc":"client/src/pages/Dashboard.tsx:136",className:"w-5 h-5 text-foreground"}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:137",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:138",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/Dashboard.tsx:139",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:141",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:142",className:"hidden sm:inline text-muted-foreground text-sm",children:r("Score Results")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:145",className:"flex items-center gap-3",children:[g.jsx(sc,{"data-loc":"client/src/pages/Dashboard.tsx:146"}),g.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:147",onClick:n,className:`hidden md:flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-all border ${t?"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100":"bg-slate-100 text-slate-500 border-slate-200 hover:bg-slate-200"}`,title:r(t?"Turn off Robert AI Guide":"Turn on Robert AI Guide"),children:t?g.jsxs(g.Fragment,{children:[g.jsx($f,{"data-loc":"client/src/pages/Dashboard.tsx:157",className:"w-3.5 h-3.5"})," ",r("Robert: On")]}):g.jsxs(g.Fragment,{children:[g.jsx(If,{"data-loc":"client/src/pages/Dashboard.tsx:159",className:"w-3.5 h-3.5"})," ",r("Robert: Off")]})}),g.jsxs(ot,{"data-loc":"client/src/pages/Dashboard.tsx:162",variant:"outline",size:"sm",onClick:()=>window.print(),className:"hidden lg:flex border-border bg-white",children:[g.jsx(Uu,{"data-loc":"client/src/pages/Dashboard.tsx:163",className:"w-4 h-4 mr-2"}),r("Print Report")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Dashboard.tsx:166",size:"sm",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold",children:[g.jsx(Ln,{"data-loc":"client/src/pages/Dashboard.tsx:167",className:"w-4 h-4 mr-1"}),g.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:168",className:"hidden sm:inline",children:r("Edit Data")})]})]})]})}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:174",className:"container py-8 md:py-12",children:[g.jsxs(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:176",initial:{opacity:0,y:20}
295,animate:{opacity:1,y:0},className:"text-center mb-12",children:[g.jsx("h1",{"data-loc":"client/src/pages/Dashboard.tsx:181",className:"text-3xl md:text-4xl font-extrabold mb-2 text-foreground",children:r("DREAMS Score Results")}),l.business.companyName&&g.jsxs("p",{"data-loc":"client/src/pages/Dashboard.tsx:183",className:"text-lg text-muted-foreground",children:[l.business.companyName," — ",l.business.numberOfEmployees," ",r("Employees")]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:188",className:"grid md:grid-cols-3 gap-6 mb-12",children:[g.jsxs(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:189",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"clean-card rounded-2xl p-6 border-l-4 border-l-emerald",children:[g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:195",className:"text-sm text-muted-foreground mb-2",children:"Total Est. Annual Savings"}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:196",className:"text-3xl md:text-4xl font-bold text-emerald",children:g.jsx(Gv,{"data-loc":"client/src/pages/Dashboard.tsx:197",target:a.totalEstimatedSavings})}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:199",className:"text-xs text-muted-foreground mt-2",children:"From expense reduction, tax credits & optimization"})]}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:202",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"clean-card rounded-2xl p-6 border-l-4 border-l-amber",children:[g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:208",className:"text-sm text-muted-foreground mb-2",children:"Total Est. Increased Profit"}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:209",className:"text-3xl md:text-4xl font-bold text-amber",children:g.jsx(Gv,{"data-loc":"client/src/pages/Dashboard.tsx:210",target:a.totalEstimatedProfit})}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:212",className:"text-xs text-muted-foreground mt-2",children:"From funding access, asset optimization & growth"})]}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:215",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"clean-card rounded-2xl p-6 border-l-4 border-l-foreground",children:[g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:221",className:"text-sm text-muted-foreground mb-2",children:"Total Potential Value"}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:222",className:"text-3xl md:text-4xl font-bold text-foreground",children:g.jsx(Gv,{"data-loc":"client/src/pages/Dashboard.tsx:223",target:m})}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:225",className:"text-xs text-muted-foreground mt-2",children:"Combined savings + profit opportunities"})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:230",className:"clean-card rounded-2xl p-6 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:231",className:"text-xl font-bold mb-6 text-foreground",children:"DREAMS Score Summary"}),g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:232",className:"space-y-4",children:a.categories.map(p=>{const y=p.estimatedSavings+p.estimatedProfit,b=Math.max(...a.categories.map(S=>S.estimatedSavings+S.estimatedProfit)),A=b>0?y/b*100:0;return g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:238",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:239",className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${dn[p.letter]}15`,color:dn[p.letter]},children:p.letter}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:245",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:246",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:247",className:"text-sm font-medium truncate text-foreground",children:p.category}),g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:248",className:"font-mono text-sm font-bold ml-2",style:{color:dn[p.letter]}
295,children:["$",y.toLocaleString()]})]}),g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:252",className:"h-2.5 bg-secondary rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:253",initial:{width:0},animate:{width:`${A}%`},transition:{duration:1,delay:.5},className:"h-full rounded-full",style:{backgroundColor:dn[p.letter]}})})]})]},p.letter)})})]}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:269",className:"space-y-4 mb-12",children:[g.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:270",className:"text-xl font-bold text-foreground",children:"Category Breakdown"}),a.categories.map((p,y)=>{const b=NX[p.letter]||ni,A=f===p.letter;return g.jsxs(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:275",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:y*.1},className:"clean-card rounded-xl overflow-hidden",children:[g.jsxs("button",{"data-loc":"client/src/pages/Dashboard.tsx:282",onClick:()=>d(A?null:p.letter),className:"w-full flex items-center gap-4 p-5 hover:bg-secondary/50 transition-colors",children:[g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:286",className:"w-12 h-12 rounded-xl flex items-center justify-center shrink-0",style:{backgroundColor:`${dn[p.letter]}15`},children:g.jsx(b,{"data-loc":"client/src/pages/Dashboard.tsx:290",className:"w-6 h-6",style:{color:dn[p.letter]}})}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:292",className:"flex-1 text-left min-w-0",children:[g.jsxs("h3",{"data-loc":"client/src/pages/Dashboard.tsx:293",className:"font-bold text-foreground",children:[p.letter," — ",p.category]}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:294",className:"flex gap-4 text-sm text-muted-foreground mt-0.5",children:[p.estimatedSavings>0&&g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:295",children:["Savings: ",g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:295",className:"text-emerald font-mono",children:["$",p.estimatedSavings.toLocaleString()]})]}),p.estimatedProfit>0&&g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:296",children:["Profit: ",g.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:296",className:"text-amber font-mono",children:["$",p.estimatedProfit.toLocaleString()]})]})]})]}),A?g.jsx(jA,{"data-loc":"client/src/pages/Dashboard.tsx:299",className:"w-5 h-5 text-muted-foreground shrink-0"}):g.jsx(Bf,{"data-loc":"client/src/pages/Dashboard.tsx:299",className:"w-5 h-5 text-muted-foreground shrink-0"})]}),A&&g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:303",className:"px-5 pb-5 border-t border-border",children:[g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:304",className:"grid sm:grid-cols-2 gap-3 mt-4 mb-6",children:p.details.map((S,x)=>g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:306",className:"bg-secondary/50 rounded-lg p-3",children:[g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:307",className:"text-xs text-muted-foreground",children:S.label}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:308",className:"font-mono font-bold text-sm mt-0.5 text-foreground",children:S.value}),S.savings>0&&g.jsxs("p",{"data-loc":"client/src/pages/Dashboard.tsx:310",className:"text-xs text-emerald mt-0.5",children:["Saves $",S.savings.toLocaleString(),"/yr"]})]},x))}),g.jsx("h4",{"data-loc":"client/src/pages/Dashboard.tsx:316",className:"text-sm font-semibold mb-3 text-foreground",children:"Recommendations"}),g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:317",className:"space-y-3",children:p.recommendations.map((S,x)=>g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:319",className:"flex items-center justify-between gap-3 bg-secondary/30 rounded-lg p-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:320",className:"flex items-start gap-2 flex-1 min-w-0",children:[g.jsx(On,{"data-loc":"client/src/pages/Dashboard.tsx:321",className:"w-4 h-4 text-emerald shrink-0 mt-0.5"}),g.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:322",className:"text-sm text-muted-foreground",children:S})]}),Kv[p.letter]?.[x]&&g.jsxs("a",{"data-loc":"client/src/pages/Dashboard.tsx:325",href:Kv[p.letter][x].url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-emerald hover:bg-emerald-dark text-white font-semibold text-xs transition-colors shadow-sm whitespace-nowrap shrink-0",children:[g.jsx(Ji,{"data-loc":"client/src/pages/Dashboard.tsx:331",className:"w-3 h-3"}),Kv[p.letter][x].label]})]},x))})]})]},p.letter)})]}),g.jsx(Fe.div,{"data-loc":"client/src/pages/Dashboard.tsx:346",initial:{opacity:0,y:20}
295,animate:{opacity:1,y:0},className:"clean-card rounded-2xl p-6 md:p-8 mb-8 border-2 border-emerald/30 bg-gradient-to-r from-emerald-50/60 to-white",children:g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:351",className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:352",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:353",className:"w-12 h-12 rounded-xl bg-emerald/10 flex items-center justify-center",children:g.jsx(Us,{"data-loc":"client/src/pages/Dashboard.tsx:354",className:"w-6 h-6 text-emerald"})}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:356",children:[g.jsx("h3",{"data-loc":"client/src/pages/Dashboard.tsx:357",className:"text-lg font-bold text-foreground",children:"Your Personalized DREAMS Report is Ready"}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:358",className:"text-sm text-muted-foreground",children:"View your detailed, custom report with industry examples, data-driven insights, and actionable recommendations for each category."})]})]}),g.jsxs(ot,{"data-loc":"client/src/pages/Dashboard.tsx:361",onClick:()=>e("/report"),className:"bg-emerald hover:bg-emerald-dark text-white font-bold px-8 py-5 text-base shrink-0",children:[g.jsx(Us,{"data-loc":"client/src/pages/Dashboard.tsx:365",className:"w-4 h-4 mr-2"}),"View Full Report"]})]})}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:372",className:"clean-card rounded-2xl p-8 text-center border-emerald/20 bg-emerald-50/30",children:[g.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:373",className:"text-2xl font-bold mb-3 text-foreground",children:"Ready to Unlock These Savings?"}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:374",className:"text-muted-foreground mb-6 max-w-xl mx-auto",children:"Connect with our expert partners to start implementing these recommendations and turn potential savings into real results."}),g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:377",className:"flex flex-wrap justify-center gap-4",children:[g.jsxs(ot,{"data-loc":"client/src/pages/Dashboard.tsx:378",onClick:()=>e("/report"),className:"bg-emerald hover:bg-emerald-dark text-white font-bold px-8",children:[g.jsx(Us,{"data-loc":"client/src/pages/Dashboard.tsx:379",className:"w-4 h-4 mr-2"}),"View Full Report"]}),g.jsxs("a",{"data-loc":"client/src/pages/Dashboard.tsx:382",href:"https://link.dreamsresources.com/widget/bookings/fundable360",className:"inline-flex items-center justify-center bg-amber hover:bg-amber/90 text-foreground font-bold px-8 py-2 rounded-md transition-colors",children:[g.jsx(EA,{"data-loc":"client/src/pages/Dashboard.tsx:383",className:"w-4 h-4 mr-2"}),"Book a Consultation"]}),g.jsxs(ot,{"data-loc":"client/src/pages/Dashboard.tsx:386",variant:"outline",onClick:()=>window.print(),className:"border-border bg-white",children:[g.jsx(Uu,{"data-loc":"client/src/pages/Dashboard.tsx:387",className:"w-4 h-4 mr-2"}),"Print Summary"]})]})]})]}),g.jsx("footer",{"data-loc":"client/src/pages/Dashboard.tsx:395",className:"border-t border-border py-8 mt-12 bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:396",className:"container text-center",children:[g.jsxs("p",{"data-loc":"client/src/pages/Dashboard.tsx:397",className:"text-sm text-muted-foreground",children:["Copyright © Dreams Business Resources ",new Date().getFullYear(),". All rights reserved."]}),g.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:400",className:"text-xs text-muted-foreground mt-2",children:"This report represents estimates of potential savings. Actual results may vary based on implementation."})]})})]})}const kX="modulepreload",IX=function(e){return"/"+e},P_={}
vendor: 4,130 bytes, line 295
295,$X=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let f=function(d){return Promise.all(d.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");a=f(n.map(d=>{if(d=IX(d),d in P_)return;P_[d]=!0;const m=d.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${p}`))return;const y=document.createElement("link");if(y.rel=m?"stylesheet":kX,m||(y.as="script"),y.crossOrigin="",y.href=d,c&&y.setAttribute("nonce",c),document.head.appendChild(y),m)return new Promise((b,A)=>{y.addEventListener("load",b),y.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return a.then(l=>{for(const c of l||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};function st(e){return e.toLocaleString("en-US")}function re(e){return`$${st(e)}`}function Li(e){return`${e}%`}const BX={debt:{Manufacturing:"A mid-size manufacturing firm in Ohio used Bank Breezy to secure $450,000 in working capital within 48 hours, allowing them to purchase bulk raw materials at a 15% discount and fulfill a major contract ahead of schedule.",Technology:"A SaaS startup in Austin leveraged Bank Breezy funding to bridge a $300,000 gap between funding rounds, maintaining payroll and product development without diluting equity.",Healthcare:"A dental practice group in Florida accessed $250,000 through Bank Breezy to upgrade diagnostic equipment across three locations, increasing patient throughput by 20%.",Construction:"A general contractor in Texas used $500,000 in fast funding to pre-purchase materials for a commercial project, locking in prices before a 12% supply chain increase.","Transportation & Logistics":"A regional freight company in Georgia secured $600,000 to expand their fleet by 8 trucks, increasing route coverage and winning two new long-term contracts.","Hospitality & Food Service":"A restaurant group in California used $200,000 in Bank Breezy funding to renovate two locations and launch a catering division, increasing revenue by 35% within 6 months.",Retail:"A multi-location retail chain in New York accessed $350,000 to stock up on seasonal inventory, resulting in a 25% increase in holiday quarter sales.","Professional Services":"A law firm in Chicago used $175,000 in working capital to hire two associate attorneys and invest in case management software, increasing billable hours by 30%.","Real Estate":"A property management company in Arizona secured $400,000 to renovate three rental units, increasing monthly rental income by $8,500.",default:"Businesses across the country have used Bank Breezy to access fast, flexible funding — from $50,000 to $2,000,000 — to seize growth opportunities, cover unexpected costs, and invest in their future."},retirement:{Manufacturing:"A 120-employee manufacturing plant in Michigan restructured their 401(k) plan and saved $90,000 annually while increasing employee participation from 55% to 88% through auto-enrollment.",Technology:"A tech company in Seattle optimized their retirement plan structure, reducing administrative fees by $45,000/year and adding an indexed annuity option that attracted senior engineers.",Healthcare:"A medical practice with 60 employees in Pennsylvania switched to an optimized 401(k) provider, saving $45,000 in annual fees while adding profit-sharing features.",Construction:"A construction company in Colorado implemented auto-enrollment in their 401(k), boosting participation from 40% to 82% and qualifying for additional tax credits.","Hospitality & Food Service":"A hotel chain in Nevada restructured their retirement benefits, saving $67,500 annually across 90 employees while improving retention rates by 15%.",default:"Companies that optimize their 401(k) plans typically save $750 per employee per year in reduced fees and improved tax efficie
295ncy, while significantly boosting employee satisfaction and retention."},expenses:{Manufacturing:"A manufacturing facility in Indiana implemented a Section 125 plan and solar panels, reducing annual operating costs by $180,000 — a 22% decrease in total expense overhead.",Healthcare:"A multi-practice healthcare group in New Jersey saved $210,000 annually through a benefits audit that uncovered redundant coverage and negotiated better group rates.",Construction:"A construction firm in Arizona installed a commercial solar system on their equipment yard, cutting energy costs by 55% and earning $45,000 in tax incentives.","Hospitality & Food Service":"A restaurant chain in Texas implemented Section 125 plans across all locations, saving $500 per employee annually and reducing ER visits among staff by 40%.",default:"Businesses that implement Section 125 Health Efficiency Plans typically save $500 per employee annually, while benefits audits uncover an average of 30% in premium savings."},assets:{Manufacturing:"A precision parts manufacturer in Wisconsin used Fugu Reviews to increase their Google rating from 3.8 to 4.6 stars, resulting in 40% more RFQ submissions from new customers.",Technology:"A B2B software company used Intent Data to identify 200+ high-intent prospects monthly, converting 12% into qualified demos — a 3x improvement over cold outreach.","Hospitality & Food Service":"A restaurant group used Fugu Reviews to generate 150+ new positive reviews in 90 days, increasing foot traffic by 25% and average ticket size by $8.",Retail:"A retail chain used Dreams Leads to target customers within a 15-mile radius who had recently searched for their product category, driving a 45% increase in store visits.",default:"Businesses that actively manage their online reputation and leverage intent data typically see 20-40% increases in new customer acquisition and 15-25% improvements in conversion rates."},money:{Manufacturing:"A precision machining company in Ohio claimed $390,000 in R&D tax credits for process improvements and tooling development they didn't realize qualified, plus $120,000 in retroactive claims.",Technology:"A software development firm in California claimed $280,000 in federal R&D credits and an additional $85,000 in state credits for their product development activities.",Healthcare:"A medical device company in Minnesota discovered $175,000 in qualifying R&D expenses for their clinical testing protocols and device improvement processes.",Construction:"A construction company in Texas claimed $95,000 in R&D credits for their innovative building techniques and energy-efficient design processes.","Hospitality & Food Service":"A restaurant chain with tipped employees claimed $156,000 in FICA Tip Tax Credits — a dollar-for-dollar reduction in their federal tax liability that they had been leaving on the table for years.",default:"The R&D Tax Credit provides a dollar-for-dollar reduction in federal income tax liability. Many businesses don't realize that everyday innovation activities — process improvements, product development, and efficiency upgrades — qualify for this credit."},security:{Manufacturing:"A manufacturing company in Georgia implemented cloud-based workstations for their 75 PCs, saving $22,500 annually while eliminating ransomware vulnerability across their production network.",Technology:"A tech firm in Colorado transitioned to cloud desktops, reducing IT overhead by $45,000/year and enabling seamless remote work for their distributed engineering team.",Healthcare:"A medical practice achieved HIPAA compliance through cloud computing, saving $30,000 in IT costs while ensuring patient data security across all locations.",default:"Businesses that review their corporate insurance and IT infrastructure typically find 15-25% in cost savings while significantly improving their security posture and business continuity planning."}};function rl(e,t){const n=BX[e];return n&&(n[t]||n.default)||""}function Uw(e,t){const n=e.business.numberOfEmployees||e.assets.numberOfEmployees||50,r=n===1?"employee":"employees",a=e.business.companyName||"Your Company",s=e.business.contactName||"Business Owner",l=e.business.industry||"General Business",c=e.business.buildingSqFt||0,f=c>0,d=[],m=t.categories.find(Me=>Me.letter==="D"),p=e.debt.desiredFunding,y=e.debt.currentBusinessDebt,b=e.debt.monthlyDebtPayments,A=e.debt.fundingPurpose||"Growth & Expansion",S=e.debt.creditScore||"Good",x=[],O={"Growth & Expansion":`${a} is looking to grow, and securing ${re(p)} in additional funding could be the catalyst for your next phase of expansion. Whether it's opening new locations, entering new markets, or scaling production, having fast access to capital means you can move when opportunity strikes — not months later.`,"Equipment Purchase":`With ${re(p)} in equipment funding, ${a} can upgrade or acquire the machinery, technology, and tools needed to increase productivity, reduce downtime, and stay competitive. Modern equipment often pays for itself through efficie
295ncy gains within 12-18 months.`,"Working Capital":`Maintaining healthy cash flow is critical for ${a}. With ${re(p)} in working capital, you can cover payroll, manage seasonal fluctuations, and keep daily operations running smoothly without the stress of cash crunches.`,Inventory:`Stocking up on inventory with ${re(p)} allows ${a} to negotiate bulk discounts, avoid stockouts during peak demand, and fulfill large orders without delay. Businesses that pre-purchase inventory often save 10-20% on material costs.`,"Debt Consolidation":`Consolidating your existing ${re(y)} in business debt could significantly reduce your monthly payments from ${re(b)} and simplify your financial management. A single, lower-interest payment frees up cash flow for growth initiatives.`,Hiring:`Investing ${re(p)} in hiring allows ${a} to bring on the talent needed to scale operations, improve service quality, and capture more market share. The right hires often generate 3-5x their salary in revenue within the first year.`,Marketing:`A ${re(p)} marketing investment can dramatically accelerate ${a}'s growth. Businesses that increase marketing spend strategically typically see 2-4x returns through new customer acquisition and brand awareness.`,Other:`With ${re(p)} in flexible funding, ${a} can address your most pressing business needs — whether that's bridging a cash gap, seizing a time-sensitive opportunity, or investing in infrastructure improvements.`};if(p>0&&x.push(O[A]||O.Other),y>0&&b>0){const Me=b*12;x.push(`Currently, ${a} carries ${re(y)} in business debt with monthly payments of ${re(b)} (${re(Me)}/year). ${A==="Debt Consolidation"?"Restructuring this debt could reduce your monthly obligation by 15-25%, freeing up significant cash flow.":"Even while managing existing obligations, accessing additional capital strategically can accelerate growth and improve your overall financial position."}`)}S==="Excellent"||S==="Good"?x.push(`With a ${S.toLowerCase()} business credit score, ${a} is well-positioned to access favorable funding terms. Bank Breezy's streamlined process means same-day decisions and funds in your account within 24 hours.`):x.push(`Even with a ${S.toLowerCase()} credit score, Bank Breezy is designed to work with small businesses facing credit challenges. Their high approval rates and minimal paperwork requirements mean ${a} can still access the funding you need to grow.`);const R={letter:"D",title:"Debt & Corporate Funding",summary:p>0?`Additional Funding Desired: ${re(p)}`:"No Additional Funding Requested",metrics:[{label:"Additional Funding Desired",value:re(p)},{label:"Current Business Debt",value:re(y)},{label:"Monthly Debt Payments",value:re(b)},{label:"Business Credit Score",value:S},...p>0?[{label:"Funding Purpose",value:A}]:[]],chartData:[...p>0?[{label:"Desired Funding",value:p,type:"funding"}]:[],...y>0?[{label:"Current Debt",value:y,type:"funding"}]:[],...b>0?[{label:"Annual Payments",value:b*12,type:"funding"}]:[]],paragraphs:x,bullets:["Quick and Easy Approvals: Same-day decisions keep the process simple.","Fast Access to Cash: Receive funds in your account within 24 hours.","Flexible Loan Amounts: Borrow from $1,000 to $2,000,000 to cover immediate needs.","Minimal Paperwork: No collateral or complicated requirements — just a streamlined process.","High Approval Rates: Designed to work for small businesses, even with credit challenges.","Unrestricted Use of Funds: Use the money for payroll, marketing, equipment, or to pay down existing debt.","No Prepayment Penalties: Pay off your loan early and save on interest."],recommendations:[{text:`Access ${re(p)} in fast, flexible funding through Bank Breezy`,buttonLabel:"Apply for Bank Breezy Funding",buttonUrl:"https://bankbreezy.com/"},...y>1e5?[{text:`Restructure existing ${re(y)} debt to lower monthly payments by 15-25%`,buttonLabel:"Debt Restructuring Review",buttonUrl:"https://davidallencapital.com"}]:[],{text:"Explore SBA loan options for long-term business expansion",buttonLabel:"SBA Loan Consultation",buttonUrl:"https://bankbreezy.com/"}],serviceBlocks:[...p>0?[{serviceName:"Business Funding",amount:p,type:"funding",paragraphs:[O[A]||O.Other,...S==="Excellent"||S==="Good"?[`With a ${S.toLowerCase()} business credit score, ${a} is well-positioned to access favorable funding terms. Bank Breezy's streamlined process means same-day decisions and funds in your account within 24 hours.`]:[`Even with a ${S.toLowerCase()} credit score, Bank Breezy is designed to work with small businesses facing credit challenges. Their high approval rates and minimal paperwork requirements mean ${a} can still access the funding you need to grow.`]],cta:{text:`Access ${re(p)}
295 in fast, flexible funding through Bank Breezy`,buttonLabel:"Apply for Bank Breezy Funding",buttonUrl:"https://bankbreezy.com/"}}]:[],...y>1e5?[{serviceName:"Debt Restructuring",amount:y,type:"funding",paragraphs:[`Currently, ${a} carries ${re(y)} in business debt with monthly payments of ${re(b)} (${re(b*12)}/year). Restructuring this debt could reduce your monthly obligation by 15-25%, freeing up significant cash flow for growth initiatives.`],cta:{text:`Restructure existing ${re(y)} debt to lower monthly payments by 15-25%`,buttonLabel:"Debt Restructuring Review",buttonUrl:"https://davidallencapital.com"}}]:[],{serviceName:"Corporate Credit Building",amount:0,type:"funding",paragraphs:[`One of the most powerful financial strategies for ${a} is building strong corporate credit under your EIN — completely separate from your personal credit. With a dedicated business credit profile, you can access higher funding limits, better loan terms, and lower interest rates while protecting your personal credit score and assets.`,"Fundable360's expert concierge team guides you through a proven 4-step process: First, they review and align your business structure to meet lender standards. Then they establish credit under your EIN and activate reporting with business credit agencies. As your profile strengthens, you become eligible for higher-tier credit options. Finally, you gain access to revolving accounts and capital — all without relying on personal credit.",`Strong business credit is a long-term asset for ${a}. It separates your personal and business financial profiles, unlocks access to capital when you need it most, and positions your company for growth opportunities that require quick funding decisions. Whether you need working capital, equipment financing, or a line of credit, corporate credit gives you options.`],cta:{text:`Build ${a}'s corporate credit profile and unlock access to capital — without putting personal credit at risk`,buttonLabel:"Start Building Corporate Credit",buttonUrl:"https://link.dreamsresources.com/widget/bookings/fundable360"}}],noOpportunityMessage:p===0&&y===0?`Great news! ${a} is doing very well managing debt and funding. You currently have no outstanding business debt and no additional funding needs. Keep up the excellent financial management! However, we still recommend building your corporate credit profile — it's a powerful long-term asset that positions your company for future growth opportunities.`:void 0,example:rl("debt",l),urgency:p>0?`We know how important your time is, and we're here to make this as easy as possible. Take the next step toward securing the ${re(p)} in funding ${a} needs to ${A.toLowerCase()}.`:`Even without immediate funding needs, building strong corporate credit is one of the smartest moves ${a} can make. It positions your business for future opportunities and ensures you have access to capital when you need it most.`,amount:m.estimatedProfit+m.estimatedSavings,type:"funding"};d.push(R);const j=t.categories.find(Me=>Me.letter==="R"),M=e.retirement.has401k,T=e.retirement.current401kBalance,C=e.retirement.employerMatchPercent,E=e.retirement.employeeParticipationRate,P=e.retirement.annualContributions,k=j.estimatedSavings,z=[];M&&T>0?(z.push(`${a} currently manages ${re(T)} in total retirement account balances across ${st(n)} ${r}. With ${re(P)} in annual contributions and a ${Li(C)} employer match, your retirement program represents a significant financial commitment — and a major opportunity for optimization.`),T>=1e6&&z.push(`With ${re(T)} in retirement assets, it's critical to ensure these funds are working as hard as possible. At this level, even small improvements in plan structure, fee reduction, or investment allocation can translate to tens of thousands of dollars in additional growth over time. A complimentary review with a retirement planning expert can identify whether your current plan is truly optimized — or if you're leaving money on the table.`),T>=2e6&&z.push(`Managing ${re(T)} in retirement assets carries significant fiduciary responsibility. At this portfolio size, indexed annuities and indexed universal life policies become especially valuable — they offer market-linked growth tied to indices like the S&P 500 while providing full principal protection from downtur
295ns. Once gains are credited, they're locked in and protected from future market losses.`),E<80&&z.push(`Your current employee participation rate of ${Li(E)} suggests there's room to significantly increase enrollment. Companies that implement auto-enrollment typically see participation rates jump to 85-95%, which not only benefits employees but can also improve your plan's compliance testing results and unlock additional tax advantages for ${a}.`)):z.push(`${a} has an opportunity to establish a 401(k) plan that could save approximately ${re(k)} annually while providing a powerful employee retention tool. In today's competitive labor market, retirement benefits are consistently ranked as one of the top factors in employee satisfaction and loyalty.`);const B={letter:"R",title:"Employee 401(k) & Retirement",summary:`Total Retirement Account Balances: ${re(T)}`,metrics:[{label:"Total Retirement Balance",value:re(T)},{label:"Annual Contributions",value:re(P)},{label:"Employer Match",value:Li(C)},{label:"Employee Participation Rate",value:Li(E)},{label:"Est. Annual Savings",value:re(k)}],chartData:[{label:"401(k) Balance",value:T,type:"savings"},{label:"Annual Contributions",value:P,type:"savings"},{label:"Est. Annual Savings",value:k,type:"savings"}],paragraphs:z,bullets:["Market-Linked Growth: Participate in market gains tied to indices like the S&P 500, while ensuring your principal is fully protected from downturns.","Locking in Gains: Once credited, your gains are locked in and protected from future market losses.","Lifetime Income: Guaranteed income for life ensures you never outlive your savings.","Death Benefits: Pass on your remaining balance or income stream to your beneficiaries.","Tax-Deferred Growth: Allow your earnings to compound faster by deferring taxes until withdrawal.","Annual Portfolio Adjustments: Align your investments with market conditions to maximize growth."],recommendations:[{text:`Optimize 401(k) plan structure — save ${re(k)}/year across ${st(n)} ${r}`,buttonLabel:"401(k) Plan Optimization",buttonUrl:"https://goall.dreamsresources.com/"},...E<80?[{text:`Implement auto-enrollment to boost participation from ${Li(E)} to 85%+`,buttonLabel:"Auto-Enrollment Setup",buttonUrl:"https://link.dreamsresources.com/widget/bookings/goall-program"}]:[],...T>=5e5?[{text:`Review indexed annuity options for ${re(T)} in retirement assets`,buttonLabel:"Indexed Annuity Quote",buttonUrl:"https://goall.dreamsresources.com/"}]:[]],serviceBlocks:[...M&&T>0?[{serviceName:"401(k) Plan Optimization",amount:k,type:"savings",paragraphs:[`${a} currently manages ${re(T)} in total retirement account balances across ${st(n)} ${r}. With ${re(P)} in annual contributions and a ${Li(C)} employer match, your retirement program represents a significant financial commitment — and a major opportunity for optimization.`,...T>=1e6?[`With ${re(T)} in retirement assets, it's critical to ensure these funds are working as hard as possible. At this level, even small improvements in plan structure, fee reduction, or investment allocation can translate to tens of thousands of dollars in additional growth over time.`]:[]],cta:{text:`Optimize 401(k) plan structure — save ${re(k)}/year across ${st(n)} ${r}`,buttonLabel:"401(k) Plan Optimization",buttonUrl:"https://goall.dreamsresources.com/"}}]:[],...T>=2e6?[{serviceName:"Indexed Annuities & Protected Growth",amount:Math.round(T*.03),type:"savings",paragraphs:[`Managing ${re(T)} in retirement assets carries significant fiduciary responsibility. At this portfolio size, indexed annuities and indexed universal life policies become especially valuable — they offer market-linked growth tied to indices like the S&P 500 while providing full principal protection from downturns. Once gains are credited, they're locked in and protected from future market losses.`],cta:{text:`Review indexed annuity options for ${re(T)} in retirement assets`,buttonLabel:"Indexed Annuity Quote",buttonUrl:"https://goall.dreamsresources.com/"}}]:[],...E<80?[{serviceName:"Auto-Enrollment & Participation",amount:0,type:"savings",paragraphs:[`Your current employee participation rate of ${Li(E)} suggests there's room to significantly increase enrollment. Companies that implement auto-enrollment typically see participation rates jump to 85-95%, which not only benefits employees but can also improve your plan's compliance testing results and unlock additional tax advantages for ${a}.`],cta:{text:`Implement auto-enrollment to boost participation from ${Li(E)} to 85%+`,buttonLabel:"Auto-Enrollment Setup",buttonUrl:"https://link.dreamsresources.com/widget/bookings/goall-program"}}]:[]],noOpportunityMessage:!M&&T===0&&P===0?`${a} does not currently have a 401(k) plan. While there's no immediate savings opportunity, establishing a retirement plan can be a powerful employee retention tool and tax advantage. Contact us when you're ready to explore options.`:void 0,example:rl("retirement",l),urgency:T>=1e6?`With ${re(T)} in retirement assets under management, scheduling a complimentary review with a retirement planning expert is essential. Small optimizations at this level can mean the difference of hundreds of thousands of dollars over the life of the plan. Let us prepare a personalized report with growth projections, lifetime income estimates, and legacy benefits.`:`A complimentary retirement plan review can help ${a} maximize tax benefits, reduce fees, and improve employee satisfaction. Schedule a Zoom meeting with a retirement planning expert to explore customized strategies.`,amount:j.estimatedSavings+j.estimatedProfit,type:"savings"};d.push(B);const U=t.categories.find(Me=>Me.letter==="E"),F=e.expenses.monthlyHealthInsurance,K=e.expenses.annualHealthPremiums,Q=e.expenses.monthlyEnergyBill,I=e.expenses.monthlyUtilities,L=800,q=n*L,Z=Math.round(K*.3),ie=Q*12,$=Math.round(ie*.4),G=f?Math.round(c*.8):0,Y=q+Z+$+G,J=[];if(F>0||K>0){const Me=F||Math.round(K/12);J.push(`${a} currently spends ${re(Me)}/month (${re(K||F*12)}/year) on health insurance premiums for ${st(n)} ${r}. By introducing a Health Efficiency Section 125 Plan, your business could save approximately ${re(L)} per employee annually — that's ${re(q)} in total annual savings.`),J.push("A Section 125 plan doesn't just reduce costs — it's an investment in your employees' health and productivity. Companies that implement these plans typically see emergency room visits cut by over 40%, urgent care visits reduced by more than 50%, and lower unnecessary specialist visits. The result: lower absenteeism, reduced stress, and improved overall wellness for your team."),K>5e4&&J.push(`Additionally, with ${re(K)} in annual health premiums, a complimentary benefits audit could uncover up to 30% in additional savings — that's potentially ${re(Z)} back in ${a}'s pocket every year.`)}Q>0&&J.push(`${a} spends ${re(Q)}/month (${re(ie)}
295/year) on energy. Through efficiency upgrades and rate optimization, we estimate you could reduce energy costs by up to 40% — saving ${re($)} annually.`),f&&c>0&&J.push(`With a ${st(c)} sq ft facility, ${a} is an excellent candidate for a commercial solar program. Based on your building size, we estimate annual solar savings of ${re(G)}. Key benefits include a 22% Federal Investment Tax Credit (ITC), state and local incentives, reduced carbon footprint, energy independence, and enhanced brand reputation as a sustainable business.`);const ue=[{text:`Implement Section 125 Health Efficiency Plan — save ${re(q)}/year across ${st(n)} ${r}`,buttonLabel:"Get Section 125 Plan Quote",buttonUrl:"https://trumarkhealth.com"}];K>5e4&&ue.push({text:`Schedule complimentary benefits audit — potential ${re(Z)}/year in premium savings`,buttonLabel:"Schedule Benefits Audit",buttonUrl:"https://trumarkhealth.com"}),f&&c>2e3&&ue.push({text:`Get solar energy analysis for your ${st(c)} sq ft facility — est. ${re(G)}/year savings`,buttonLabel:"Request Solar Energy Analysis",buttonUrl:"https://dreamsenergysolutions.com"}),Q>0&&ue.push({text:`Energy efficiency audit and rate optimization — est. ${re($)}/year in savings (40% reduction)`,buttonLabel:"Request Energy Audit",buttonUrl:"https://dreamsenergysolutions.com"});const he={letter:"E",title:"Expense Reduction",summary:`Total Est. Annual Expense Savings: ${re(Y)}`,metrics:[{label:"Total Est. Annual Savings",value:re(Y)},{label:"Health Benefits Savings",value:`${re(q)}/yr`},...K>5e4?[{label:"Benefits Audit Savings (30%)",value:`${re(Z)}/yr`}]:[],...Q>0?[{label:"Energy Cost Reduction",value:`${re($)}/yr`}]:[],...f?[{label:"Solar Energy Estimate",value:`${re(G)}/yr`}]:[],{label:"Monthly Health Premiums",value:re(F)},...Q>0?[{label:"Monthly Energy Bill",value:re(Q)}]:[]],chartData:[{label:"Health Benefits",value:q,type:"savings"},...K>5e4?[{label:"Benefits Audit",value:Z,type:"savings"}]:[],...Q>0?[{label:"Energy Reduction",value:$,type:"savings"}]:[],...f?[{label:"Solar Savings",value:G,type:"savings"}]:[]],paragraphs:J,bullets:[`Save ${re(L)} per employee annually through Section 125 Plan`,"Cut Emergency Room Visits by Over 40%","Reduce Urgent Care Visits by More Than 50%","Lower Unnecessary Specialist Visits","Enjoy Hundreds of Additional Benefits: Lower absenteeism, reduced stress, and improved wellness",...f?["22% Federal Investment Tax Credit (ITC) for solar installation","State & local incentives like rebates, grants, and additional tax credits","Energy independence and long-term cost stabilization"]:[]],recommendations:ue,serviceBlocks:[...F>0||K>0?[{serviceName:"Health Insurance — Section 125 Plan",amount:q,type:"savings",paragraphs:[`${a} currently spends ${re(F||Math.round(K/12))}/month (${re(K||F*12)}/year) on health insurance premiums for ${st(n)} ${r}. By introducing a Health Efficiency Section 125 Plan, your business could save approximately ${re(L)} per employee annually — that's ${re(q)} in total annual savings.`,"A Section 125 plan doesn't just reduce costs — it's an investment in your employees' health and productivity. Companies that implement these plans typically see emergency room visits cut by over 40%, urgent care visits reduced by more than 50%, and lower unnecessary specialist visits."],cta:{text:`Implement Section 125 Health Efficiency Plan — save ${re(q)}/year across ${st(n)} ${r}`,buttonLabel:"Get Section 125 Plan Quote",buttonUrl:"https://trumarkhealth.com"}}]:[],...K>5e4?[{serviceName:"Benefits Audit",amount:Z,type:"savings",paragraphs:[`With ${re(K)} in annual health premiums, a complimentary benefits audit could uncover up to 30% in additional savings — that's potentially ${re(Z)} back in ${a}'s pocket every year.`],cta:{text:`Schedule complimentary benefits audit — potential ${re(Z)}/year in premium savings`,buttonLabel:"Schedule Benefits Audit",buttonUrl:"https://trumarkhealth.com"}}]:[],...Q>0?[{serviceName:"Energy Cost Reduction",amount:$,type:"savings",paragraphs:[`${a} spends ${re(Q)}/month (${re(ie)}/year) on energy. Through efficiency upgrades and rate optimization, we estimate you could reduce energy costs by up to 40% — saving ${re($)}
295 annually.`],cta:{text:`Energy efficiency audit and rate optimization — est. ${re($)}/year in savings`,buttonLabel:"Request Energy Audit",buttonUrl:"https://dreamsenergysolutions.com"}}]:[],...f&&c>0?[{serviceName:"Solar Energy Program",amount:G,type:"savings",paragraphs:[`With a ${st(c)} sq ft facility, ${a} is an excellent candidate for a commercial solar program. Based on your building size, we estimate annual solar savings of ${re(G)}. Key benefits include a 22% Federal Investment Tax Credit (ITC), state and local incentives, reduced carbon footprint, energy independence, and enhanced brand reputation as a sustainable business.`],cta:{text:`Get solar energy analysis for your ${st(c)} sq ft facility — est. ${re(G)}/year savings`,buttonLabel:"Request Solar Energy Analysis",buttonUrl:"https://dreamsenergysolutions.com"}}]:[]],example:rl("expenses",l),urgency:`${a} is spending ${re((F+Q+I)*12)}/year on health insurance, energy, and utilities. Our experts can help you reduce these costs by ${re(Y)} annually — starting with a free consultation.`,amount:U.estimatedSavings+U.estimatedProfit,type:"savings"};d.push(he);const me=t.categories.find(Me=>Me.letter==="A"),be=e.assets.hasWebsite,de=e.assets.marketingProfitAdjustment??1,ye=Math.round(n*2400*de),Ae=e.assets.monthlyAdvertisingSpend||0,le=Ae*12,Le=e.assets.aiMarketingRoiMultiplier??10,Te=le*Le,nt=ye+Te,Ze=[];be?Ze.push(`${a} has a website — a powerful asset in today's digital landscape. Combined with targeted lead generation and AI-powered marketing, your online presence can become a high-performance revenue engine. The total asset optimization opportunity is ${re(nt)}/year.`):Ze.push(`${a} doesn't currently have a website, which represents a significant missed opportunity. Businesses with optimized websites typically see 30-50% more customer inquiries and can establish credibility that drives both online and in-person sales.`),Ze.push(`With ${st(n)} ${r}, ${a}'s workforce is one of your most valuable assets. Targeted lead generation through Dreams Leads, high-intent prospect identification through Intent Data, and reputation management through Fugu Reviews can help each employee contribute more effectively to revenue growth.`);const ut=[{text:`Activate Dreams Leads for targeted lead generation — ${st(n)} ${r} driving growth`,buttonLabel:"Activate Dreams Leads",buttonUrl:"https://dreamsbusinesscloud.com"},{text:"Deploy Intent Data to identify high-intent prospects before your competitors",buttonLabel:"Get Intent Data Demo",buttonUrl:"https://technology.dreamsresources.com"}];be&&(ut.push({text:"Launch Fugu Reviews to boost positive customer reviews and attract new clients",buttonLabel:"Start Fugu Reviews",buttonUrl:"https://reviews.dreamsresources.com/home-page"}),ut.push({text:"Optimize website for conversion rate improvement and SEO performance",buttonLabel:"Optimize Your Website",buttonUrl:"https://dreamsai-mngpmcsw.manus.space/"})),Ae>0&&ut.push({text:`Your current ${re(Ae)}/month marketing spend (${re(le)}/year) could generate ${re(Te)}/year with AI Interactive Marketing — a ${Le}x return on every dollar spent`,buttonLabel:"Try Dreams Interactive AI",buttonUrl:"https://dreamsai-mngpmcsw.manus.space/"}),ut.push({text:"Retain top employees with competitive benefits packages",buttonLabel:"Book Benefits Consultation",buttonUrl:"https://trumarkhealth.com"});const jn={letter:"A",title:"Asset Optimization",summary:`Total Est. Annual Profit: ${re(nt)}`,metrics:[{label:"Total Est. Annual Profit",value:re(nt)},{label:"Marketing Services Value",value:`${re(ye)}/yr`},...Ae>0?[{label:"Current Marketing Spend",value:`${re(le)}/yr`}]:[],...Te>0?[{label:`AI Marketing ${Le}x Potential`,value:`${re(Te)}/yr`}]:[],{label:"Number of Employees",value:st(n)}],chartData:[{label:"Marketing Value",value:ye,type:"profit"},...Te>0?[{label:`AI Marketing (${Le}x ROI)`,value:Te,type:"profit"}]:[]],paragraphs:Ze,bullets:[],recommendations:ut,serviceBlocks:[...be?[{serviceName:"Fugu Reviews — Reputation Management",amount:Math.round(ye*.3),type:"profit",paragraphs:[`Online reviews are one of the most powerful drivers of new customer acquisition. Fugu Reviews helps ${a} generate more positive reviews, respond to feedback, and build a reputation that attracts new clients automatically.`],cta:{text:"Launch Fugu Reviews to boost positive customer reviews and attract new clients",buttonLabel:"Start Fugu Reviews",buttonUrl:"https://reviews.dreamsresources.com/home-page"}}]:[],{serviceName:"Dreams Leads — Targeted Lead Generation",amount:Math.round(ye*.6),type:"profit",paragraphs:[`With ${st(n)} ${r}, ${a}'s workforce is one of your most valuable assets. Targeted lead generation through Dreams Leads can help each employee contribute more effectively to revenue growth by delivering high-quality prospects directly to your sales team.`],cta:{text:`Activate Dreams Leads for targeted lead generation — ${st(n)} ${r} driving growth`,buttonLabel:"Activate Dreams Leads",buttonUrl:"https://dreamsbusinesscloud.com"}},{serviceName:"Intent Data — High-Intent Prospects",amount:Math.round(ye*.4),type:"profit",paragraphs:[`Intent Data identifies prospects who are actively researching products and services like yours — before they contact your competitors. This gives ${a}
295 a first-mover advantage in converting high-intent buyers into customers.`],cta:{text:"Deploy Intent Data to identify high-intent prospects before your competitors",buttonLabel:"Get Intent Data Demo",buttonUrl:"https://technology.dreamsresources.com"}},...Ae>0?[{serviceName:"Dreams Interactive AI Marketing",amount:Te,type:"profit",paragraphs:[`${a} currently spends ${re(Ae)}/month (${re(le)}/year) on advertising, website, and marketing for leads. With the right AI-powered interactive marketing strategy, every $1 you spend could generate $10 in return — turning your ${re(le)} annual marketing investment into ${re(Te)} in potential revenue.`,"Dreams Interactive AI uses conversational AI technology to engage prospects in real-time, qualify leads automatically, and guide them through a personalized journey that dramatically increases conversion rates. Unlike traditional ads that interrupt, AI interactive marketing creates genuine engagement that builds trust and drives action.",`By replacing or augmenting your current marketing approach with AI-driven interactive experiences, ${a} can achieve significantly higher ROI on every marketing dollar — turning passive ad spend into active, intelligent lead conversion.`],cta:{text:`Transform your ${re(le)}/year marketing spend into ${re(Te)} with AI Interactive Marketing`,buttonLabel:"Try Dreams Interactive AI",buttonUrl:"https://dreamsai-mngpmcsw.manus.space/"}}]:[]],example:rl("assets",l),urgency:`${a}'s employees, website, and customer reviews are assets that can be optimized to generate ${re(nt)} in additional annual profit. Let our experts show you how.`,amount:me.estimatedSavings+me.estimatedProfit,type:"profit"};d.push(jn);const Ct=t.categories.find(Me=>Me.letter==="M"),En=e.money.hasClaimedRDCredit,xt=e.money.numberOfTippedEmployees,Ge=e.money.averageTipsPerEmployee,mn=e.money.paysOver20kFederalTax,Ot=e.money.totalAnnualPayrollAndSubs||0,Ta=Math.round(Ot*.1),gt=mn?Ta:0,Qt=Math.round(xt*Ge*12*.0765),vr=gt+Qt,gn=[];if(mn?gn.push(`${a} pays more than $20,000 in annual federal income tax, which makes you a strong candidate for the Research & Development Tax Credit — a dollar-for-dollar reduction in your federal tax liability.`):gn.push(`Businesses paying more than $20,000 in federal income tax typically qualify for the R&D Tax Credit. As ${a}'s tax liability grows, this credit could become a significant opportunity.`),Ot>0&&gn.push(`${a}'s combined annual payroll and subcontractor expenses total ${re(Ot)}. Based on this figure, ${a} may qualify for an estimated ${re(Ta)} in annual R&D Tax Credits — a dollar-for-dollar reduction in your federal income tax liability.`),gn.push(`This amount does not include potential state R&D credits that could be as much — if not more — than the federal R&D credits. Many states offer their own Research & Development incentive programs that stack on top of the federal credit, significantly increasing ${a}'s total benefit.`),gn.push(`Important: If ${a} cannot use all of the R&D credits in a particular year, the unused credits will sit on the balance sheet as an asset and can be carried forward and applied for up to 20 years in the future. This means the credits never expire in the near term — they remain a valuable asset on your books until fully utilized.`),gn.push("The Research & Development (R&D) Tax Credit was established in 1981 under the Economic Recovery Act to encourage American businesses to innovate and grow. Many businesses don't realize that everyday activities — process improvements, product development, software customization, and efficiency upgrades — qualify for this credit."),En?gn.push(`Since ${a} has already claimed the R&D Tax Credit, our experts can review your current claims to ensure you're capturing the maximum eligible amount. Many businesses underestimate their qualifying expenses by 20-40%.`):gn.push(`${a} has not previously claimed the R&D Tax Credit, which means you may be eligible for retroactive claims covering the past three years. At an estimated ${re(gt)}/year, that could mean up to ${re(gt*3)} in cash back from amended returns — money that's already been left on the table.`),xt>0&&Ge>0){const Me=xt*Ge;gn.push(`FICA Tip Tax Credit: ${a}
295 has ${st(xt)} tipped employees averaging ${re(Ge)}/month in tips. The FICA Tip Tax Credit is calculated as 7.65% (the employer's share of Social Security and Medicare taxes) applied to reported tips. For ${a}, that's 7.65% × ${re(Me)}/month in total tips × 12 months = ${re(Qt)}/year in estimated annual tax credits.`),gn.push(`This ${re(Qt)} FICA Tip Tax Credit is a dollar-for-dollar reduction in ${a}'s federal tax liability — not a deduction, but an actual credit that directly reduces what you owe. Many ${l.toLowerCase()} businesses with tipped employees have been leaving this money on the table for years. The credit applies to tips reported above the federal minimum wage threshold and can be claimed retroactively for prior tax years.`)}const In=[];gt>0&&In.push({text:`File R&D Tax Credit — estimated ${re(gt)}/year${En?"":` plus up to ${re(gt*3)} in retroactive claims`}`,buttonLabel:"R&D Tax Credit Review",buttonUrl:"https://research.taxprepadvocates.com/dbr"}),Qt>0&&In.push({text:`Claim FICA Tip Tax Credit for ${st(xt)} tipped employees — ${re(Qt)}/year`,buttonLabel:"FICA Tip Credit Consultation",buttonUrl:"https://fica.taxprepadvocates.com/"}),In.push({text:"Explore state-level R&D credits — 36 states offer additional programs",buttonLabel:"State R&D Credits Review",buttonUrl:"https://research.taxprepadvocates.com/dbr"}),In.push({text:"Set up carry-forward strategy for unused credits (up to 20 years)",buttonLabel:"Credit Carry-Forward Strategy",buttonUrl:"https://research.taxprepadvocates.com/dbr"});const mo={letter:"M",title:"Money & Tax Credits",summary:`Total Est. Annual Tax Credits: ${re(vr)}`,metrics:[{label:"Total Est. Annual Tax Credits",value:re(vr)},{label:"Pays >$20K Federal Tax",value:mn?"Yes — Qualifies":"No"},{label:"Annual Payroll & Subcontractors",value:re(Ot)},...gt>0?[{label:"Potential R&D Tax Credit (10%)",value:`${re(gt)}/yr`}]:[],...Qt>0?[{label:"FICA Tip Tax Credit (7.65%)",value:`${re(Qt)}/yr`},{label:"Tipped Employees",value:st(xt)},{label:"Avg Monthly Tips/Employee",value:re(Ge)},{label:"Total Monthly Tips",value:re(xt*Ge)},{label:"Annual Tips Total",value:re(xt*Ge*12)}]:[]],chartData:[...gt>0?[{label:"R&D Tax Credit (10%)",value:gt,type:"profit"}]:[],...Qt>0?[{label:"FICA Tip Credit",value:Qt,type:"profit"}]:[],...!En&&gt>0?[{label:"Retroactive (3yr)",value:gt*3,type:"profit"}]:[]],paragraphs:gn,bullets:["Retroactive Claims: File amended returns for the past three years to receive cash back.","State Benefits: 36 states offer additional R&D tax credit programs to reduce state tax liability.","AMT Application: Certain companies can apply the credit against all taxes paid, including Alternative Minimum Tax (AMT).","Long-Term Benefits: Any unused credits can be carried forward for up to 20 years.","Supports Innovation: Incentivizes U.S.-based innovation and retains highly skilled personnel."],recommendations:In,serviceBlocks:[...mn&&gt>0?[{serviceName:"R&D Tax Credit",amount:gt,type:"profit",paragraphs:[`${a} pays more than $20,000 in annual federal income tax, which makes you a strong candidate for the Research & Development Tax Credit — a dollar-for-dollar reduction in your federal tax liability.`,`${a}'s combined annual payroll and subcontractor expenses total ${re(Ot)}. Based on this figure, ${a} may qualify for an estimated ${re(gt)} in annual R&D Tax Credits.`,`This amount does not include potential state R&D credits that could be as much — if not more — than the federal R&D credits. Many states offer their own Research & Development incentive programs that stack on top of the federal credit, significantly increasing ${a}'s total benefit.`,`Important: If ${a} cannot use all of the R&D credits in a particular year, the unused credits will sit on the balance sheet as an asset and can be carried forward and applied for up to 20 years in the future.`,...En?[`Since ${a} has already claimed the R&D Tax Credit, our experts can review your current claims to ensure you're capturing the maximum eligible amount. Many businesses underestimate their qualifying expenses by 20-40%.`]:[`${a} has not previously claimed the R&D Tax Credit, which means you may be eligible for retroactive claims covering the past three years. At an estimated ${re(gt)}
295/year, that could mean up to ${re(gt*3)} in cash back from amended returns.`]],cta:{text:`File R&D Tax Credit — estimated ${re(gt)}/year${En?"":` plus up to ${re(gt*3)} in retroactive claims`}`,buttonLabel:"R&D Tax Credit Review",buttonUrl:"https://research.taxprepadvocates.com/dbr"}}]:[],...Qt>0?[{serviceName:"FICA Tip Tax Credit",amount:Qt,type:"profit",paragraphs:[`FICA Tip Tax Credit: ${a} has ${st(xt)} tipped employees averaging ${re(Ge)}/month in tips. The FICA Tip Tax Credit is calculated as 7.65% (the employer's share of Social Security and Medicare taxes) applied to reported tips. For ${a}, that's 7.65% × ${re(xt*Ge)}/month in total tips × 12 months = ${re(Qt)}/year in estimated annual tax credits.`,`This ${re(Qt)} FICA Tip Tax Credit is a dollar-for-dollar reduction in ${a}'s federal tax liability — not a deduction, but an actual credit that directly reduces what you owe.`],cta:{text:`Claim FICA Tip Tax Credit for ${st(xt)} tipped employees — ${re(Qt)}/year`,buttonLabel:"FICA Tip Credit Consultation",buttonUrl:"https://fica.taxprepadvocates.com/"}}]:[]],noOpportunityMessage:vr===0?`Based on the information provided, ${a} does not currently qualify for the R&D Tax Credit or FICA Tip Tax Credit. However, as your business grows and your federal tax liability exceeds $20,000, these credits could become a significant opportunity. We recommend revisiting this annually.`:void 0,example:rl("money",l),urgency:`Schedule a complimentary Zoom consultation with one of our tax credit experts to confirm ${a}'s eligibility, learn about the tax study process, and receive a detailed breakdown of your potential ${re(vr)}/year in savings.`,amount:Ct.estimatedSavings+Ct.estimatedProfit,type:"profit"};d.push(mo);const zr=t.categories.find(Me=>Me.letter==="S"),Hn=e.security.hasKeyManInsurance,rn=e.security.keyManCoverage,an=e.security.hasBuySellAgreement,Pt=e.security.hasCorporateLifeInsurance,Hr=e.security.corporateLifeCoverage,Nt=e.security.numberOfPCs,Rt=Nt*300,Cn=Math.round(Hr*.05),ja=Rt+Cn,rr=[];if(!Pt||!Hn||!an){const Me=[];Pt||Me.push("corporate life insurance"),Hn||Me.push("key man life insurance"),an||Me.push("a funded buy-sell agreement"),rr.push(`${a} currently lacks ${Me.join(", ")} — critical protections that safeguard your business, partners, and families against unexpected events. Without these in place, the sudden loss of a key person could jeopardize operations, create ownership disputes, and leave families without financial security.`)}else rr.push(`${a} has corporate life insurance (${re(Hr)} coverage), key man insurance (${re(rn)} coverage), and a buy-sell agreement in place. A review of these policies can ensure coverage levels are adequate for your current business valuation and that premiums are optimized — potentially saving ${re(Cn)}/year.`);Nt>0&&(rr.push(`With ${st(Nt)} PCs and workstations, ${a} spends significant resources on IT infrastructure, maintenance, and security. Cloud computing solutions can reduce IT costs by an estimated ${re(Rt)}/year (${re(300)} per workstation) while providing enterprise-grade security including end-to-end encryption, multi-factor authentication, and AI threat detection.`),Nt>=50&&rr.push(`At ${st(Nt)} workstations, the cumulative savings from cloud migration become substantial. Beyond the ${re(Rt)}/year in direct cost savings, you'll eliminate hardware refresh cycles, reduce IT staffing needs, and gain 99.9% uptime guarantees with automatic updates and backups.`));const sn=[];Pt||Hr>0?sn.push({text:`Review corporate life insurance — optimize ${re(Hr)} in coverage for premium savings`,buttonLabel:"Review Life Insurance",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}):sn.push({text:"Establish corporate life insurance to protect your business and families",buttonLabel:"Review Life Insurance",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}),an?sn.push({text:"Review and update buy-sell agreement to reflect current business valuation",buttonLabel:"Buy-Sell Agreement Review",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}):sn.push({text:"Establish a buy-sell agreement with proper funding to prevent ownership disputes",buttonLabel:"Buy-Sell Agreement Review",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}),Hn||sn.push({text:"Assess key man insurance needs for critical personnel protection",buttonLabel:"Key Man Insurance Quote",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}),Nt>0&&sn.push({text:`Cloud computing review for ${st(Nt)}
295 workstations — est. ${re(Rt)}/year savings`,buttonLabel:"Cloud & Technology Review",buttonUrl:"https://products.dreamsresources.com/streampc/"});const Re={letter:"S",title:"Security & Protection",summary:`Total Est. Annual Security Savings: ${re(ja)}`,metrics:[{label:"Total Est. Annual Savings",value:re(ja)},...Rt>0?[{label:"PC Security Savings",value:`${re(Rt)}/yr`}]:[],...Cn>0?[{label:"Insurance Optimization",value:`${re(Cn)}/yr`}]:[],...Nt>0?[{label:"Number of PCs",value:st(Nt)}]:[],{label:"Corporate Life Coverage",value:re(Hr)},{label:"Key Man Coverage",value:Hn?re(rn):"None"},{label:"Buy-Sell Agreement",value:an?"In Place":"Not Established"}],chartData:[...Rt>0?[{label:"Cloud IT Savings",value:Rt,type:"savings"}]:[],...Cn>0?[{label:"Insurance Savings",value:Cn,type:"savings"}]:[]],paragraphs:rr,bullets:Nt>0?["No Hardware Investments: Replace expensive desktops and servers with lightweight or existing devices.","Affordable Plans: Predictable annual costs of $700–$900 per employee, compared to $1,500–$3,000 with traditional setups.","Enterprise-Grade Security: End-to-end encryption, multi-factor authentication, and AI threat detection.","Regulatory Compliance: Meets GDPR, HIPAA, and ISO standards.","99.9% Uptime Guarantee: Reliable performance with minimal disruptions.","Work Anywhere: Securely access virtual desktops from any device worldwide."]:[],recommendations:sn,serviceBlocks:[...Pt?Cn>0?[{serviceName:"Corporate Life Insurance Optimization",amount:Cn,type:"savings",paragraphs:[`${a} has corporate life insurance with ${re(Hr)} in coverage. A review of your current policy can ensure coverage levels are adequate for your current business valuation and that premiums are optimized — potentially saving ${re(Cn)}/year.`],cta:{text:`Review corporate life insurance — optimize ${re(Hr)} in coverage for premium savings`,buttonLabel:"Review Life Insurance",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}}]:[]:[{serviceName:"Corporate Life Insurance",amount:0,type:"savings",paragraphs:[`${a} currently lacks corporate life insurance — a critical protection that safeguards your business, partners, and families against unexpected events. Without this in place, the sudden loss of a key person could jeopardize operations and leave families without financial security.`],cta:{text:"Establish corporate life insurance to protect your business and families",buttonLabel:"Review Life Insurance",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}}],...Hn?[]:[{serviceName:"Key Man Life Insurance",amount:0,type:"savings",paragraphs:[`${a} does not currently have key man life insurance. This policy protects the business financially if a critical leader or revenue-generating employee is suddenly lost. Without it, the company could face significant operational and financial disruption.`],cta:{text:"Assess key man insurance needs for critical personnel protection",buttonLabel:"Key Man Insurance Quote",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}}],...an?[]:[{serviceName:"Buy-Sell Agreement",amount:0,type:"savings",paragraphs:[`${a} does not have a funded buy-sell agreement in place. This agreement is essential for businesses with multiple owners — it ensures a smooth ownership transition in the event of death, disability, or departure, preventing costly disputes and protecting all parties involved.`],cta:{text:"Establish a buy-sell agreement with proper funding to prevent ownership disputes",buttonLabel:"Buy-Sell Agreement Review",buttonUrl:"https://dreamslifeinsurance.com/life-insurance"}}],...Nt>0?[{serviceName:"Cloud Computing & IT Security",amount:Rt,type:"savings",paragraphs:[`With ${st(Nt)} PCs and workstations, ${a} spends significant resources on IT infrastructure, maintenance, and security. Cloud computing solutions can reduce IT costs by an estimated ${re(Rt)}/year (${re(300)} per workstation) while providing enterprise-grade security including end-to-end encryption, multi-factor authentication, and AI threat detection.`,...Nt>=50?[`At ${st(Nt)} workstations, the cumulative savings from cloud migration become substantial. Beyond the ${re(Rt)}/year in direct cost savings, you'll eliminate hardware refresh cycles, reduce IT staffing needs, and gain 99.9% uptime guarantees with automatic updates and backups.`]:[]],cta:{text:`Cloud computing review for ${st(Nt)}
295 workstations — est. ${re(Rt)}/year savings`,buttonLabel:"Cloud & Technology Review",buttonUrl:"https://products.dreamsresources.com/streampc/"}}]:[]],noOpportunityMessage:Pt&&Hn&&an&&Nt===0?`${a} is doing an excellent job managing security and protection. Your corporate life insurance, key man insurance, and buy-sell agreement are all in place. Continue to review these annually to ensure coverage keeps pace with your business growth.`:void 0,example:rl("security",l),urgency:`Protecting ${a} against unexpected events is not optional — it's essential. Schedule a review to ensure your insurance coverage is adequate and your technology infrastructure is secure and cost-effective.`,amount:zr.estimatedSavings+zr.estimatedProfit,type:"savings"};return d.push(Re),{companyName:a,contactName:s,industry:l,employees:n,totalSavings:t.totalEstimatedSavings,totalProfit:t.totalEstimatedProfit,totalValue:t.totalEstimatedSavings+t.totalEstimatedProfit,sections:d}}var Yv,N_;function nr(){if(N_)return Yv;N_=1;var e=Array.isArray;return Yv=e,Yv}var Wv,D_;function l$(){if(D_)return Wv;D_=1;var e=typeof hp=="object"&&hp&&hp.Object===Object&&hp;return Wv=e,Wv}var Qv,k_;function Oa(){if(k_)return Qv;k_=1;var e=l$(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Qv=n,Qv}var Xv,I_;function Yf(){if(I_)return Xv;I_=1;var e=Oa(),t=e.Symbol;return Xv=t,Xv}var Zv,$_;function LX(){if($_)return Zv;$_=1;var e=Yf(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,a=e?e.toStringTag:void 0;function s(l){var c=n.call(l,a),f=l[a];try{l[a]=void 0;var d=!0}catch{}var m=r.call(l);return d&&(c?l[a]=f:delete l[a]),m}return Zv=s,Zv}var Jv,B_;function qX(){if(B_)return Jv;B_=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return Jv=n,Jv}var eb,L_;function ci(){if(L_)return eb;L_=1;var e=Yf(),t=LX(),n=qX(),r="[object Null]",a="[object Undefined]",s=e?e.toStringTag:void 0;function l(c){return c==null?c===void 0?a:r:s&&s in Object(c)?t(c):n(c)}return eb=l,eb}var tb,q_;function ui(){if(q_)return tb;q_=1;function e(t){return t!=null&&typeof t=="object"}return tb=e,tb}var nb,z_;function oc(){if(z_)return nb;z_=1;var e=ci(),t=ui(),n="[object Symbol]";function r(a){return typeof a=="symbol"||t(a)&&e(a)==n}return nb=r,nb}var rb,H_;function f2(){if(H_)return rb;H_=1;var e=nr(),t=oc(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function a(s,l){if(e(s))return!1;var c=typeof s;return c=="number"||c=="symbol"||c=="boolean"||s==null||t(s)?!0:r.test(s)||!n.test(s)||l!=null&&s in Object(l)}return rb=a,rb}var ab,U_;function is(){if(U_)return ab;U_=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return ab=e,ab}var ib,V_;function d2(){if(V_)return ib;V_=1;var e=ci(),t=is(),n="[object AsyncFunction]",r="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(c){if(!t(c))return!1;var f=e(c);return f==r||f==a||f==n||f==s}return ib=l,ib}var sb,F_;function zX(){if(F_)return sb;F_=1;var e=Oa(),t=e["__core-js_shared__"];return sb=t,sb}var ob,G_;function HX(){if(G_)return ob;G_=1;
vendor: 4,140 bytes, line 295
295var e=zX(),t=(function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function n(r){return!!t&&t in r}return ob=n,ob}var lb,K_;function c$(){if(K_)return lb;K_=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return lb=n,lb}var cb,Y_;function UX(){if(Y_)return cb;Y_=1;var e=d2(),t=HX(),n=is(),r=c$(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,f=l.toString,d=c.hasOwnProperty,m=RegExp("^"+f.call(d).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var b=e(y)?m:s;return b.test(r(y))}return cb=p,cb}var ub,W_;function VX(){if(W_)return ub;W_=1;function e(t,n){return t?.[n]}return ub=e,ub}var fb,Q_;function co(){if(Q_)return fb;Q_=1;var e=UX(),t=VX();function n(r,a){var s=t(r,a);return e(s)?s:void 0}return fb=n,fb}var db,X_;function wm(){if(X_)return db;X_=1;var e=co(),t=e(Object,"create");return db=t,db}var pb,Z_;function FX(){if(Z_)return pb;Z_=1;var e=wm();function t(){this.__data__=e?e(null):{},this.size=0}return pb=t,pb}var hb,J_;function GX(){if(J_)return hb;J_=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return hb=e,hb}var mb,eM;function KX(){if(eM)return mb;eM=1;var e=wm(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function a(s){var l=this.__data__;if(e){var c=l[s];return c===t?void 0:c}return r.call(l,s)?l[s]:void 0}return mb=a,mb}var gb,tM;function YX(){if(tM)return gb;tM=1;var e=wm(),t=Object.prototype,n=t.hasOwnProperty;function r(a){var s=this.__data__;return e?s[a]!==void 0:n.call(s,a)}return gb=r,gb}var yb,nM;function WX(){if(nM)return yb;nM=1;var e=wm(),t="__lodash_hash_undefined__";function n(r,a){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=e&&a===void 0?t:a,this}return yb=n,yb}var vb,rM;function QX(){if(rM)return vb;rM=1;var e=FX(),t=GX(),n=KX(),r=YX(),a=WX();function s(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var d=l[c];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=a,vb=s,vb}var bb,aM;function XX(){if(aM)return bb;aM=1;function e(){this.__data__=[],this.size=0}return bb=e,bb}var xb,iM;function p2(){if(iM)return xb;iM=1;function e(t,n){return t===n||t!==t&&n!==n}return xb=e,xb}var wb,sM;function Sm(){if(sM)return wb;sM=1;var e=p2();function t(n,r){for(var a=n.length;a--;)if(e(n[a][0],r))return a;return-1}return wb=t,wb}var Sb,oM;function ZX(){if(oM)return Sb;oM=1;var e=Sm(),t=Array.prototype,n=t.splice;function r(a){var s=this.__data__,l=e(s,a);if(l<0)return!1;var c=s.length-1;return l==c?s.pop():n.call(s,l,1),--this.size,!0}return Sb=r,Sb}var Ab,lM;function JX(){if(lM)return Ab;lM=1;var e=Sm();function t(n){var r=this.__data__,a=e(r,n);return a<0?void 0:r[a][1]}return Ab=t,Ab}var Ob,cM;function eZ(){if(cM)return Ob;cM=1;var e=Sm();function t(n){return e(this.__data__,n)>-1}return Ob=t,Ob}var Tb,uM;function tZ(){if(uM)return Tb;uM=1;var e=Sm();function t(n,r){var a=this.__data__,s=e(a,n);return s<0?(++this.size,a.push([n,r])):a[s][1]=r,this}return Tb=t,Tb}var jb,fM;function Am(){if(fM)return jb;fM=1;var e=XX(),t=ZX(),n=JX(),r=eZ(),a=tZ();function s(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var d=l[c];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=a,jb=s,jb}var Eb,dM;function h2(){if(dM)return Eb;dM=1;var e=co(),t=Oa(),n=e(t,"Map");return Eb=n,Eb}var Cb,pM;function nZ(){if(pM)return Cb;pM=1;var e=QX(),t=Am(),n=h2();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return Cb=r,Cb}var Rb,hM;function rZ(){if(hM)return Rb;hM=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Rb=e,Rb}var _b,mM;function Om(){if(mM)return _b;mM=1;var e=rZ();function t(n,r){var a=n.__data__;return e(r)?a[typeof r=="string"?"string":"hash"]:a.map}return _b=t,_b}var Mb,gM;
vendor: 8,695 bytes, lines 295-303
295function aZ(){if(gM)return Mb;gM=1;var e=Om();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return Mb=t,Mb}var Pb,yM;function iZ(){if(yM)return Pb;yM=1;var e=Om();function t(n){return e(this,n).get(n)}return Pb=t,Pb}var Nb,vM;function sZ(){if(vM)return Nb;vM=1;var e=Om();function t(n){return e(this,n).has(n)}return Nb=t,Nb}var Db,bM;function oZ(){if(bM)return Db;bM=1;var e=Om();function t(n,r){var a=e(this,n),s=a.size;return a.set(n,r),this.size+=a.size==s?0:1,this}return Db=t,Db}var kb,xM;function m2(){if(xM)return kb;xM=1;var e=nZ(),t=aZ(),n=iZ(),r=sZ(),a=oZ();function s(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var d=l[c];this.set(d[0],d[1])}}return s.prototype.clear=e,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=r,s.prototype.set=a,kb=s,kb}var Ib,wM;function u$(){if(wM)return Ib;wM=1;var e=m2(),t="Expected a function";function n(r,a){if(typeof r!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var s=function(){var l=arguments,c=a?a.apply(this,l):l[0],f=s.cache;if(f.has(c))return f.get(c);var d=r.apply(this,l);return s.cache=f.set(c,d)||f,d};return s.cache=new(n.Cache||e),s}return n.Cache=e,Ib=n,Ib}var $b,SM;function lZ(){if(SM)return $b;SM=1;var e=u$(),t=500;function n(r){var a=e(r,function(l){return s.size===t&&s.clear(),l}),s=a.cache;return a}return $b=n,$b}var Bb,AM;function cZ(){if(AM)return Bb;AM=1;var e=lZ(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(a){var s=[];return a.charCodeAt(0)===46&&s.push(""),a.replace(t,function(l,c,f,d){s.push(f?d.replace(n,"$1"):c||l)}),s});return Bb=r,Bb}var Lb,OM;function g2(){if(OM)return Lb;OM=1;function e(t,n){for(var r=-1,a=t==null?0:t.length,s=Array(a);++r<a;)s[r]=n(t[r],r,t);return s}return Lb=e,Lb}var qb,TM;function uZ(){if(TM)return qb;TM=1;var e=Yf(),t=g2(),n=nr(),r=oc(),a=e?e.prototype:void 0,s=a?a.toString:void 0;function l(c){if(typeof c=="string")return c;if(n(c))return t(c,l)+"";if(r(c))return s?s.call(c):"";var f=c+"";return f=="0"&&1/c==-1/0?"-0":f}return qb=l,qb}var zb,jM;function f$(){if(jM)return zb;jM=1;var e=uZ();function t(n){return n==null?"":e(n)}return zb=t,zb}var Hb,EM;function d$(){if(EM)return Hb;EM=1;var e=nr(),t=f2(),n=cZ(),r=f$();function a(s,l){return e(s)?s:t(s,l)?[s]:n(r(s))}return Hb=a,Hb}var Ub,CM;function Tm(){if(CM)return Ub;CM=1;var e=oc();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return Ub=t,Ub}var Vb,RM;function y2(){if(RM)return Vb;RM=1;var e=d$(),t=Tm();function n(r,a){a=e(a,r);for(var s=0,l=a.length;r!=null&&s<l;)r=r[t(a[s++])];return s&&s==l?r:void 0}return Vb=n,Vb}var Fb,_M;function p$(){if(_M)return Fb;_M=1;var e=y2();function t(n,r,a){var s=n==null?void 0:e(n,r);return s===void 0?a:s}return Fb=t,Fb}var fZ=p$();const $r=mt(fZ);var Gb,MM;function dZ(){if(MM)return Gb;MM=1;function e(t){return t==null}return Gb=e,Gb}var pZ=dZ();const tt=mt(pZ);var Kb,PM;function hZ(){if(PM)return Kb;PM=1;var e=ci(),t=nr(),n=ui(),r="[object String]";function a(s){return typeof s=="string"||!t(s)&&n(s)&&e(s)==r}return Kb=a,Kb}var mZ=hZ();const Zs=mt(mZ);var gZ=d2();const Be=mt(gZ);var yZ=is();const lc=mt(yZ);var Yb={exports:{}},at={};/**
296 * @license React
297 * react-is.production.min.js
298 *
299 * Copyright (c) Facebook, Inc. and its affiliates.
300 *
301 * This source code is licensed under the MIT license found in the
302 * LICENSE file in the root directory of this source tree.
303 */var NM;function vZ(){if(NM)return at;NM=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),A;A=Symbol.for("react.module.reference");function S(x){if(typeof x=="object"&&x!==null){var O=x.$$typeof;switch(O){case e:switch(x=x.type,x){case n:case a:case r:case d:case m:return x;default:switch(x=x&&x.$$typeof,x){case c:case l:case f:case y:case p:case s:return x;default:return O}}case t:return O}}}return at.ContextConsumer=l,at.ContextProvider=s,at.Element=e,at.ForwardRef=f,at.Fragment=n,at.Lazy=y,at.Memo=p,at.Portal=t,at.Profiler=a,at.StrictMode=r,at.Suspense=d,at.SuspenseList=m,at.isAsyncMode=function(){return!1},at.isConcurrentMode=function(){return!1},at.isContextConsumer=function(x){return S(x)===l},at.isContextProvider=function(x){return S(x)===s},at.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},at.isForwardRef=function(x){return S(x)===f},at.isFragment=function(x){return S(x)===n},at.isLazy=function(x){return S(x)===y},at.isMemo=function(x){return S(x)===p},at.isPortal=function(x){return S(x)===t},at.isProfiler=function(x){return S(x)===a},at.isStrictMode=function(x){return S(x)===r},at.isSuspense=function(x){return S(x)===d},at.isSuspenseList=function(x){return S(x)===m},at.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===a||x===r||x===d||x===m||x===b||typeof x=="object"&&x!==null&&(x.$$typeof===y||x.$$typeof===p||x.$$typeof===s||x.$$typeof===l||x.$$typeof===f||x.$$typeof===A||x.getModuleId!==void 0)},at.typeOf=S,at}var DM;function bZ(){return DM||(DM=1,Yb.exports=vZ()),Yb.exports}var xZ=bZ(),Wb,kM;function h$(){if(kM)return Wb;kM=1;var e=ci(),t=ui(),n="[object Number]";function r(a){return typeof a=="number"||t(a)&&e(a)==n}return Wb=r,Wb}var Qb,IM;function wZ(){if(IM)return Qb;IM=1;var e=h$();function t(n){return e(n)&&n!=+n}return Qb=t,Qb}var SZ=wZ();const Wf=mt(SZ);var AZ=h$();const OZ=mt(AZ);var Xr=function(t){return t===0?0:t>0?1:-1},Vw=function(t){return Zs(t)&&t.indexOf("%")===t.length-1},pe=function(t){return OZ(t)&&!Wf(t)},TZ=function(t){return tt(t)},tn=function(t){return pe(t)||Zs(t)},jZ=0,jm=function(t){var n=++jZ;return"".concat(t||"").concat(n)},Js=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!pe(t)&&!Zs(t))return r;var s;if(Vw(t)){var l=t.indexOf("%");s=n*parseFloat(t.slice(0,l))/100}else s=+t;return Wf(s)&&(s=r),a&&s>n&&(s=n),s},Ui=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},EZ=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},a=0;a<n;a++)if(!r[t[a]])r[t[a]]=!0;else return!0;return!1},al=function(t,n){return pe(t)&&pe(n)?function(r){return t+r*(n-t)}:function(){return n}};function Fw(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):$r(r,t))===n})}var CZ=function(t,n){return pe(t)&&pe(n)?t-n:Zs(t)&&Zs(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function xl(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function Gw(e){"@babel/helpers - typeof";return Gw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gw(e)}var RZ=["viewBox","children"],_Z=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
303dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],$M=["points","pathLength"],Xb={svg:RZ,polygon:$M,polyline:$M},v2=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
303Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],sh=function(t,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var r=t;if(N.isValidElement(t)&&(r=t.props),!lc(r))return null;var a={};return Object.keys(r).forEach(function(s){v2.includes(s)&&(a[s]=n||function(l){return r[s](r,l)})}),a},MZ=function(t,n,r){return function(a){return t(n,r,a),null}},oh=function(t,n,r){if(!lc(t)||Gw(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(s){var l=t[s];v2.includes(s)&&typeof l=="function"&&(a||(a={}),a[s]=MZ(l,n,r))}),a},PZ=["children"],NZ=["children"];function BM(e,t){if(e==null)return{};var n=DZ(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DZ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var LM={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},Ki=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},qM=null,Zb=null,b2=function e(t){if(t===qM&&Array.isArray(Zb))return Zb;var n=[];return N.Children.forEach(t,function(r){tt(r)||(xZ.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),Zb=n,qM=t,n};function Zr(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(a){return Ki(a)}):r=[Ki(t)],b2(e).forEach(function(a){var s=$r(a,"type.displayName")||$r(a,"type.name");r.indexOf(s)!==-1&&n.push(a)}),n}function dr(e,t){var n=Zr(e,t);return n&&n[0]}var zM=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,a=n.height;return!(!pe(r)||r<=0||!pe(a)||a<=0)},kZ=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],IZ=function(t){return t&&t.type&&Zs(t.type)&&kZ.indexOf(t.type)>=0},$Z=function(t,n,r,a){var s,l=(s=Xb?.[a])!==null&&s!==void 0?s:[];return n.startsWith("data-")||!Be(t)&&(a&&l.includes(n)||_Z.includes(n))||r&&v2.includes(n)},et=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(N.isValidElement(t)&&(a=t.props),!lc(a))return null;var s={};
vendor: 4,133 bytes, line 303
303return Object.keys(a).forEach(function(l){var c;$Z((c=a)===null||c===void 0?void 0:c[l],l,n,r)&&(s[l]=a[l])}),s},Kw=function e(t,n){if(t===n)return!0;var r=N.Children.count(t);if(r!==N.Children.count(n))return!1;if(r===0)return!0;if(r===1)return HM(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var a=0;a<r;a++){var s=t[a],l=n[a];if(Array.isArray(s)||Array.isArray(l)){if(!e(s,l))return!1}else if(!HM(s,l))return!1}return!0},HM=function(t,n){if(tt(t)&&tt(n))return!0;if(!tt(t)&&!tt(n)){var r=t.props||{},a=r.children,s=BM(r,PZ),l=n.props||{},c=l.children,f=BM(l,NZ);return a&&c?xl(s,f)&&Kw(a,c):!a&&!c?xl(s,f):!1}return!1},UM=function(t,n){var r=[],a={};return b2(t).forEach(function(s,l){if(IZ(s))r.push(s);else if(s){var c=Ki(s.type),f=n[c]||{},d=f.handler,m=f.once;if(d&&(!m||!a[c])){var p=d(s,c,l);r.push(p),a[c]=!0}}}),r},BZ=function(t){var n=t&&t.type;return n&&LM[n]?LM[n]:null},LZ=function(t,n){return b2(n).indexOf(t)},qZ=["children","width","height","viewBox","className","style","title","desc"];function Yw(){return Yw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yw.apply(this,arguments)}function zZ(e,t){if(e==null)return{};var n=HZ(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function HZ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ww(e){var t=e.children,n=e.width,r=e.height,a=e.viewBox,s=e.className,l=e.style,c=e.title,f=e.desc,d=zZ(e,qZ),m=a||{width:n,height:r,x:0,y:0},p=Qe("recharts-surface",s);return H.createElement("svg",Yw({},et(d,!0,"svg"),{className:p,width:n,height:r,style:l,viewBox:"".concat(m.x," ").concat(m.y," ").concat(m.width," ").concat(m.height)}),H.createElement("title",null,c),H.createElement("desc",null,f),t)}var UZ=["children","className"];function Qw(){return Qw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qw.apply(this,arguments)}function VZ(e,t){if(e==null)return{};var n=FZ(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function FZ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var pn=H.forwardRef(function(e,t){var n=e.children,r=e.className,a=VZ(e,UZ),s=Qe("recharts-layer",r);return H.createElement("g",Qw({className:s},et(a,!0),{ref:t}),n)}),Rl=function(t,n){for(var r=arguments.length,a=new Array(r>2?r-2:0),s=2;s<r;s++)a[s-2]=arguments[s]},Jb,VM;function GZ(){if(VM)return Jb;VM=1;function e(t,n,r){var a=-1,s=t.length;n<0&&(n=-n>s?0:s+n),r=r>s?s:r,r<0&&(r+=s),s=n>r?0:r-n>>>0,n>>>=0;for(var l=Array(s);++a<s;)l[a]=t[a+n];return l}return Jb=e,Jb}var ex,FM;function KZ(){if(FM)return ex;FM=1;var e=GZ();function t(n,r,a){var s=n.length;return a=a===void 0?s:a,!r&&a>=s?n:e(n,r,a)}return ex=t,ex}var tx,GM;function m$(){if(GM)return tx;GM=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=t+n+r,s="\\ufe0e\\ufe0f",l="\\u200d",c=RegExp("["+l+e+a+s+"]");function f(d){return c.test(d)}return tx=f,tx}var nx,KM;function YZ(){if(KM)return nx;KM=1;function e(t){return t.split("")}return nx=e,nx}var rx,YM;function WZ(){if(YM)return rx;YM=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=t+n+r,s="\\ufe0e\\ufe0f",l="["+e+"]",c="["+a+"]",f="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+f+")",m="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",A=d+"?",S="["+s+"]?",x="(?:"+b+"(?:"+[m,p,y].join("|")+")"+S+A+")*",O=S+A+x,R="(?:"+[m+c+"?",c,p,y,l].join("|")+")",j=RegExp(f+"
303(?="+f+")|"+R+O,"g");function M(T){return T.match(j)||[]}return rx=M,rx}var ax,WM;function QZ(){if(WM)return ax;WM=1;var e=YZ(),t=m$(),n=WZ();function r(a){return t(a)?n(a):e(a)}return ax=r,ax}var ix,QM;function XZ(){if(QM)return ix;QM=1;var e=KZ(),t=m$(),n=QZ(),r=f$();function a(s){return function(l){l=r(l);var c=t(l)?n(l):void 0,f=c?c[0]:l.charAt(0),d=c?e(c,1).join(""):l.slice(1);return f[s]()+d}}return ix=a,ix}var sx,XM;function ZZ(){if(XM)return sx;XM=1;var e=XZ(),t=e("toUpperCase");return sx=t,sx}var JZ=ZZ();const Em=mt(JZ);function bt(e){return function(){return e}}const g$=Math.cos,lh=Math.sin,ra=Math.sqrt,ch=Math.PI,Cm=2*ch,Xw=Math.PI,Zw=2*Xw,Ds=1e-6,eJ=Zw-Ds;function y$(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function tJ(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return y$;const n=10**t;return function(r){this._+=r[0];for(let a=1,s=r.length;a<s;++a)this._+=Math.round(arguments[a]*n)/n+r[a]}}class nJ{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?y$:tJ(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,a){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+a}`}bezierCurveTo(t,n,r,a,s,l){this._append`C${+t},${+n},${+r},${+a},${this._x1=+s},${this._y1=+l}`}arcTo(t,n,r,a,s){if(t=+t,n=+n,r=+r,a=+a,s=+s,s<0)throw new Error(`negative radius: ${s}`);let l=this._x1,c=this._y1,f=r-t,d=a-n,m=l-t,p=c-n,y=m*m+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(y>Ds)if(!(Math.abs(p*f-d*m)>Ds)||!s)this._append`L${this._x1=t},${this._y1=n}`;else{let b=r-l,A=a-c,S=f*f+d*d,x=b*b+A*A,O=Math.sqrt(S),R=Math.sqrt(y),j=s*Math.tan((Xw-Math.acos((S+y-x)/(2*O*R)))/2),M=j/R,T=j/O;Math.abs(M-1)>Ds&&this._append`L${t+M*m},${n+M*p}`,this._append`A${s},${s},0,0,${+(p*b>m*A)},${this._x1=t+T*f},${this._y1=n+T*d}`}}arc(t,n,r,a,s,l){if(t=+t,n=+n,r=+r,l=!!l,r<0)throw new Error(`negative radius: ${r}`);let c=r*Math.cos(a),f=r*Math.sin(a),d=t+c,m=n+f,p=1^l,y=l?a-s:s-a;this._x1===null?this._append`M${d},${m}`:(Math.abs(this._x1-d)>Ds||Math.abs(this._y1-m)>Ds)&&this._append`L${d},${m}`,r&&(y<0&&(y=y%Zw+Zw),y>eJ?this._append`A${r},${r},0,1,${p},${t-c},${n-f}A${r},${r},0,1,${p},${this._x1=d},${this._y1=m}`:y>Ds&&this._append`A${r},${r},0,${+(y>=Xw)},${p},${this._x1=t+r*Math.cos(s)},${this._y1=n+r*Math.sin(s)}`)}rect(t,n,r,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+a}h${-r}Z`}toString(){return this._}}function x2(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new nJ(t)}function w2(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function v$(e){this._context=e}v$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Rm(e){return new v$(e)}function b$(e){return e[0]}function x$(e){return e[1]}function w$(e,t){var n=bt(!0),r=null,a=Rm,s=null,l=x2(c);e=typeof e=="function"?e:e===void 0?b$:bt(e),t=typeof t=="function"?t:t===void 0?x$:bt(t);function c(f){var d,m=(f=w2(f)).length,p,y=!1,b;for(r==null&&(s=a(b=l())),d=0;d<=m;++d)!(d<m&&n(p=f[d],d,f))===y&&((y=!y)?s.lineStart():s.lineEnd()),y&&s.point(+e(p,d,f),+t(p,d,f));if(b)return s=null,b+""||null}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:bt(+f),c):e},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:bt(+f),c):t},c.defined=function(f){return arguments.length?(n=typeof f=="function"?f:bt(!!f),
vendor: 10,363 bytes, line 303
303c):n},c.curve=function(f){return arguments.length?(a=f,r!=null&&(s=a(r)),c):a},c.context=function(f){return arguments.length?(f==null?r=s=null:s=a(r=f),c):r},c}function Cp(e,t,n){var r=null,a=bt(!0),s=null,l=Rm,c=null,f=x2(d);e=typeof e=="function"?e:e===void 0?b$:bt(+e),t=typeof t=="function"?t:bt(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?x$:bt(+n);function d(p){var y,b,A,S=(p=w2(p)).length,x,O=!1,R,j=new Array(S),M=new Array(S);for(s==null&&(c=l(R=f())),y=0;y<=S;++y){if(!(y<S&&a(x=p[y],y,p))===O)if(O=!O)b=y,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),A=y-1;A>=b;--A)c.point(j[A],M[A]);c.lineEnd(),c.areaEnd()}O&&(j[y]=+e(x,y,p),M[y]=+t(x,y,p),c.point(r?+r(x,y,p):j[y],n?+n(x,y,p):M[y]))}if(R)return c=null,R+""||null}function m(){return w$().defined(a).curve(l).context(s)}return d.x=function(p){return arguments.length?(e=typeof p=="function"?p:bt(+p),r=null,d):e},d.x0=function(p){return arguments.length?(e=typeof p=="function"?p:bt(+p),d):e},d.x1=function(p){return arguments.length?(r=p==null?null:typeof p=="function"?p:bt(+p),d):r},d.y=function(p){return arguments.length?(t=typeof p=="function"?p:bt(+p),n=null,d):t},d.y0=function(p){return arguments.length?(t=typeof p=="function"?p:bt(+p),d):t},d.y1=function(p){return arguments.length?(n=p==null?null:typeof p=="function"?p:bt(+p),d):n},d.lineX0=d.lineY0=function(){return m().x(e).y(t)},d.lineY1=function(){return m().x(e).y(n)},d.lineX1=function(){return m().x(r).y(t)},d.defined=function(p){return arguments.length?(a=typeof p=="function"?p:bt(!!p),d):a},d.curve=function(p){return arguments.length?(l=p,s!=null&&(c=l(s)),d):l},d.context=function(p){return arguments.length?(p==null?s=c=null:c=l(s=p),d):s},d}class S${constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function rJ(e){return new S$(e,!0)}function aJ(e){return new S$(e,!1)}const S2={draw(e,t){const n=ra(t/ch);e.moveTo(n,0),e.arc(0,0,n,0,Cm)}},iJ={draw(e,t){const n=ra(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},A$=ra(1/3),sJ=A$*2,oJ={draw(e,t){const n=ra(t/sJ),r=n*A$;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},lJ={draw(e,t){const n=ra(t),r=-n/2;e.rect(r,r,n,n)}},cJ=.8908130915292852,O$=lh(ch/10)/lh(7*ch/10),uJ=lh(Cm/10)*O$,fJ=-g$(Cm/10)*O$,dJ={draw(e,t){const n=ra(t*cJ),r=uJ*n,a=fJ*n;e.moveTo(0,-n),e.lineTo(r,a);for(let s=1;s<5;++s){const l=Cm*s/5,c=g$(l),f=lh(l);e.lineTo(f*n,-c*n),e.lineTo(c*r-f*a,f*r+c*a)}e.closePath()}},ox=ra(3),pJ={draw(e,t){const n=-ra(t/(ox*3));e.moveTo(0,n*2),e.lineTo(-ox*n,-n),e.lineTo(ox*n,-n),e.closePath()}},_r=-.5,Mr=ra(3)/2,Jw=1/ra(12),hJ=(Jw/2+1)*3,mJ={draw(e,t){const n=ra(t/hJ),r=n/2,a=n*Jw,s=r,l=n*Jw+n,c=-s,f=l;e.moveTo(r,a),e.lineTo(s,l),e.lineTo(c,f),e.lineTo(_r*r-Mr*a,Mr*r+_r*a),e.lineTo(_r*s-Mr*l,Mr*s+_r*l),e.lineTo(_r*c-Mr*f,Mr*c+_r*f),e.lineTo(_r*r+Mr*a,_r*a-Mr*r),e.lineTo(_r*s+Mr*l,_r*l-Mr*s),e.lineTo(_r*c+Mr*f,_r*f-Mr*c),e.closePath()}};function gJ(e,t){let n=null,r=x2(a);e=typeof e=="function"?e:bt(e||S2),t=typeof t=="function"?t:bt(t===void 0?64:+t);function a(){let s;if(n||(n=s=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),s)return n=null,s+""||null}return a.type=function(s){return arguments.length?(e=typeof s=="function"?s:bt(s),a):e},a.size=function(s){return arguments.length?(t=typeof s=="function"?s:bt(+s),a):t},a.context=function(s){return arguments.length?(n=s??null,a):n},a}function uh(){}function fh(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function T$(e){this._context=e}T$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:fh(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:fh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function yJ(e){return new T$(e)}function j$(e){this._context=e}j$.prototype={areaStart:uh,areaEnd:uh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:fh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function vJ(e){return new j$(e)}function E$(e){this._context=e}E$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:fh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function bJ(e){return new E$(e)}function C$(e){this._context=e}C$.prototype={areaStart:uh,areaEnd:uh,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function xJ(e){return new C$(e)}function ZM(e){return e<0?-1:1}function JM(e,t,n){var r=e._x1-e._x0,a=t-e._x1,s=(e._y1-e._y0)/(r||a<0&&-0),l=(n-e._y1)/(a||r<0&&-0),c=(s*a+l*r)/(r+a);return(ZM(s)+ZM(l))*Math.min(Math.abs(s),Math.abs(l),.5*Math.abs(c))||0}function eP(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function lx(e,t,n){var r=e._x0,a=e._y0,s=e._x1,l=e._y1,c=(s-r)/3;e._context.bezierCurveTo(r+c,a+c*t,s-c,l-c*n,s,l)}function dh(e){this._context=e}dh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:lx(this,this._t0,eP(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,lx(this,eP(this,n=JM(this,e,t)),n);break;default:lx(this,this._t0,n=JM(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function R$(e){this._context=new _$(e)}(R$.prototype=Object.create(dh.prototype)).point=function(e,t){dh.prototype.point.call(this,t,e)};function _$(e){this._context=e}_$.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,s){this._context.bezierCurveTo(t,e,r,n,s,a)}};function wJ(e){return new dh(e)}function SJ(e){return new R$(e)}function M$(e){this._context=e}M$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=tP(e),a=tP(t),s=0,l=1;l<n;++s,++l)this._context.bezierCurveTo(r[0][s],a[0][s],r[1][s],a[1][s],e[l],t[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function tP(e){var t,n=e.length-1,r,a=new Array(n),s=new Array(n),l=new Array(n);for(a[0]=0,s[0]=2,l[0]=e[0]+2*e[1],t=1;t<n-1;++t)a[t]=1,s[t]=4,l[t]=4*e[t]+2*e[t+1];for(a[n-1]=2,s[n-1]=7,l[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=a[t]/s[t-1],s[t]-=r,l[t]-=r*l[t-1];for(a[n-1]=l[n-1]/s[n-1],t=n-2;t>=0;--t)a[t]=(l[t]-a[t+1])/s[t];for(s[n-1]=(e[n]+a[n-1])/2,t=0;t<n-1;++t)s[t]=2*e[t+1]-a[t+1];return[a,s]}function AJ(e){return new M$(e)}function _m(e,t){this._context=e,this._t=t}_m.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;
vendor: 16,303 bytes, lines 303-306
303default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function OJ(e){return new _m(e,.5)}function TJ(e){return new _m(e,0)}function jJ(e){return new _m(e,1)}function _l(e,t){if((l=e.length)>1)for(var n=1,r,a,s=e[t[0]],l,c=s.length;n<l;++n)for(a=s,s=e[t[n]],r=0;r<c;++r)s[r][1]+=s[r][0]=isNaN(a[r][1])?a[r][0]:a[r][1]}function eS(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function EJ(e,t){return e[t]}function CJ(e){const t=[];return t.key=e,t}function RJ(){var e=bt([]),t=eS,n=_l,r=EJ;function a(s){var l=Array.from(e.apply(this,arguments),CJ),c,f=l.length,d=-1,m;for(const p of s)for(c=0,++d;c<f;++c)(l[c][d]=[0,+r(p,l[c].key,d,s)]).data=p;for(c=0,m=w2(t(l));c<f;++c)l[m[c]].index=c;return n(l,m),l}return a.keys=function(s){return arguments.length?(e=typeof s=="function"?s:bt(Array.from(s)),a):e},a.value=function(s){return arguments.length?(r=typeof s=="function"?s:bt(+s),a):r},a.order=function(s){return arguments.length?(t=s==null?eS:typeof s=="function"?s:bt(Array.from(s)),a):t},a.offset=function(s){return arguments.length?(n=s??_l,a):n},a}function _J(e,t){if((r=e.length)>0){for(var n,r,a=0,s=e[0].length,l;a<s;++a){for(l=n=0;n<r;++n)l+=e[n][a][1]||0;if(l)for(n=0;n<r;++n)e[n][a][1]/=l}_l(e,t)}}function MJ(e,t){if((a=e.length)>0){for(var n=0,r=e[t[0]],a,s=r.length;n<s;++n){for(var l=0,c=0;l<a;++l)c+=e[l][n][1]||0;r[n][1]+=r[n][0]=-c/2}_l(e,t)}}function PJ(e,t){if(!(!((l=e.length)>0)||!((s=(a=e[t[0]]).length)>0))){for(var n=0,r=1,a,s,l;r<s;++r){for(var c=0,f=0,d=0;c<l;++c){for(var m=e[t[c]],p=m[r][1]||0,y=m[r-1][1]||0,b=(p-y)/2,A=0;A<c;++A){var S=e[t[A]],x=S[r][1]||0,O=S[r-1][1]||0;b+=x-O}f+=p,d+=b*p}a[r-1][1]+=a[r-1][0]=n,f&&(n-=d/f)}a[r-1][1]+=a[r-1][0]=n,_l(e,t)}}function Qu(e){"@babel/helpers - typeof";return Qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qu(e)}var NJ=["type","size","sizeType"];function tS(){return tS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tS.apply(this,arguments)}function nP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function rP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nP(Object(n),!0).forEach(function(r){DJ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DJ(e,t,n){return t=kJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kJ(e){var t=IJ(e,"string");return Qu(t)=="symbol"?t:t+""}function IJ(e,t){if(Qu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $J(e,t){if(e==null)return{};var n=BJ(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function BJ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var P$={symbolCircle:S2,symbolCross:iJ,symbolDiamond:oJ,symbolSquare:lJ,symbolStar:dJ,symbolTriangle:pJ,symbolWye:mJ},LJ=Math.PI/180,qJ=function(t){var n="symbol".concat(Em(t));return P$[n]||S2},zJ=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*LJ;return 1.25*t*t*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},HJ=function(t,n){P$["symbol".concat(Em(t))]=n},A2=function(t){var n=t.type,r=n===void 0?"circle":n,a=t.size,s=a===void 0?64:a,l=t.sizeType,c=l===void 0?"area":l,f=$J(t,NJ),d=rP(rP({},f),{},{type:r,size:s,sizeType:c}),m=function(){var x=qJ(r),O=gJ().type(x).size(zJ(s,c,r));return O()},p=d.className,y=d.cx,b=d.cy,A=et(d,!0);return y===+y&&b===+b&&s===+s?H.createElement("path",tS({},A,{className:Qe("recharts-symbols",p),transform:"translate(".concat(y,", ").concat(b,")"),d:m()})):null};A2.registerSymbol=HJ;function Ml(e){"@babel/helpers - typeof";return Ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ml(e)}function nS(){return nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nS.apply(this,arguments)}function aP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function UJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aP(Object(n),!0).forEach(function(r){Xu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,D$(r.key),r)}}function GJ(e,t,n){return t&&FJ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function KJ(e,t,n){return t=ph(t),YJ(e,N$()?Reflect.construct(t,n||[],ph(e).constructor):t.apply(e,n))}function YJ(e,t){if(t&&(Ml(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return WJ(e)}function WJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N$=function(){return!!e})()}function ph(e){return ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ph(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rS(e,t)}function rS(e,t){return rS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},rS(e,t)}function Xu(e,t,n){return t=D$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D$(e){var t=XJ(e,"string");return Ml(t)=="symbol"?t:t+""}function XJ(e,t){if(Ml(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ml(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pr=32,O2=(function(e){function t(){return VJ(this,t),KJ(this,t,arguments)}return QJ(t,e),GJ(t,[{key:"renderIcon",value:function(r){var a=this.props.inactiveColor,s=Pr/2,l=Pr/6,c=Pr/3,f=r.inactive?a:r.color;if(r.type==="plainline")return H.createElement("line",{strokeWidth:4,fill:"none",stroke:f,strokeDasharray:r.payload.strokeDasharray,x1:0,y1:s,x2:Pr,y2:s,className:"recharts-legend-icon"});if(r.type==="line")return H.createElement("path",{strokeWidth:4,fill:"none",stroke:f,d:"M0,".concat(s,"h").concat(c,`
304            A`).concat(l,",").concat(l,",0,1,1,").concat(2*c,",").concat(s,`
305            H`).concat(Pr,"M").concat(2*c,",").concat(s,`
306            A`).concat(l,",").concat(l,",0,1,1,").concat(c,",").concat(s),className:"recharts-legend-icon"});if(r.type==="rect")return H.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(Pr/8,"h").concat(Pr,"v").concat(Pr*3/4,"h").concat(-Pr,"z"),className:"recharts-legend-icon"});if(H.isValidElement(r.legendIcon)){var d=UJ({},r);return delete d.legendIcon,H.cloneElement(r.legendIcon,d)}return H.createElement(A2,{fill:f,cx:s,cy:s,size:Pr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,a=this.props,s=a.payload,l=a.iconSize,c=a.layout,f=a.formatter,d=a.inactiveColor,m={x:0,y:0,width:Pr,height:Pr},p={display:c==="horizontal"?"inline-block":"block",marginRight:10},y={display:"inline-block",verticalAlign:"middle",marginRight:4};return s.map(function(b,A){var S=b.formatter||f,x=Qe(Xu(Xu({"recharts-legend-item":!0},"legend-item-".concat(A),!0),"inactive",b.inactive));if(b.type==="none")return null;var O=Be(b.value)?null:b.value;Rl(!Be(b.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var R=b.inactive?d:b.color;return H.createElement("li",nS({className:x,style:p,key:"legend-item-".concat(A)},oh(r.props,b,A)),H.createElement(Ww,{width:l,height:l,viewBox:m,style:y},r.renderIcon(b)),H.createElement("span",{className:"recharts-legend-item-text",style:{color:R}},S?S(O,b,A):O))})}},{key:"render",value:function(){var r=this.props,a=r.payload,s=r.layout,l=r.align;if(!a||!a.length)return null;var c={padding:0,margin:0,textAlign:s==="horizontal"?l:"left"};return H.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(N.PureComponent);Xu(O2,"displayName","Legend");Xu(O2,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var cx,iP;function ZJ(){if(iP)return cx;iP=1;var e=Am();function t(){this.__data__=new e,this.size=0}return cx=t,cx}var ux,sP;function JJ(){if(sP)return ux;sP=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return ux=e,ux}var fx,oP;function eee(){if(oP)return fx;oP=1;function e(t){return this.__data__.get(t)}return fx=e,fx}var dx,lP;function tee(){if(lP)return dx;lP=1;function e(t){return this.__data__.has(t)}return dx=e,dx}var px,cP;function nee(){if(cP)return px;cP=1;var e=Am(),t=h2(),n=m2(),r=200;function a(s,l){var c=this.__data__;if(c instanceof e){var f=c.__data__;if(!t||f.length<r-1)return f.push([s,l]),this.size=++c.size,this;c=this.__data__=new n(f)}return c.set(s,l),this.size=c.size,this}return px=a,px}var hx,uP;function k$(){if(uP)return hx;uP=1;var e=Am(),t=ZJ(),n=JJ(),r=eee(),a=tee(),s=nee();function l(c){var f=this.__data__=new e(c);this.size=f.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,hx=l,hx}var mx,fP;function ree(){if(fP)return mx;fP=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return mx=t,mx}var gx,dP;function aee(){if(dP)return gx;dP=1;function e(t){return this.__data__.has(t)}return gx=e,gx}var yx,pP;function I$(){if(pP)return yx;pP=1;var e=m2(),t=ree(),n=aee();function r(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new e;++s<l;)this.add(a[s])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,yx=r,yx}var vx,hP;function $$(){if(hP)return vx;hP=1;function e(t,n){for(var r=-1,a=t==null?0:t.length;++r<a;)if(n(t[r],r,t))return!0;return!1}return vx=e,vx}var bx,mP;function B$(){if(mP)return bx;mP=1;function e(t,n){return t.has(n)}return bx=e,bx}var xx,gP;function L$(){if(gP)return xx;gP=1;var e=I$(),t=$$(),n=B$(),r=1,a=2;function s(l,c,f,d,m,p){var y=f&r,b=l.length,A=c.length;if(b!=A&&!(y&&A>b))return!1;var S=p.get(l),x=p.get(c);if(S&&x)return S==c&&x==l;var O=-1,R=!0,j=f&a?new e:void 0;for(p.set(l,c),p.set(c,l);++O<b;){var M=l[O],T=c[O];if(d)var C=y?d(T,M,O,c,l,p):d(M,T,O,l,c,p);if(C!==void 0){if(C)continue;R=!1;break}if(j){if(!t(c,function(E,P){if(!n(j,P)&&(M===E||m(M,E,f,d,p)))return j.push(P)})){R=!1;break}}else if(!(M===T||m(M,T,f,d,p))){R=!1;break}}return p.delete(l),p.delete(c),R}return xx=s,xx}var wx,yP;function iee(){if(yP)return wx;yP=1;var e=Oa(),t=e.Uint8Array;return wx=t,wx}var Sx,vP;function see(){if(vP)return Sx;vP=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(a,s){r[++n]=[s,a]}),r}return Sx=e,Sx}var Ax,bP;function T2(){if(bP)return Ax;bP=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(a){r[++n]=a}),r}return Ax=e,Ax}var Ox,xP;function oee(){if(xP)return Ox;xP=1;var e=Yf(),t=iee(),n=p2(),r=L$(),a=see(),s=T2(),l=1,c=2,f="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Map]",y="[object Number]",b="[object RegExp]",A="[object Set]",S="[object String]",x="[object Symbol]",O="[object ArrayBuffer]",R="[object DataView]",j=e?e.prototype:void 0,M=j?j.valueOf:void 0;function T(C,E,P,k,z,B,U){switch(P){case R:if(C.byteLength!=E.byteLength||C.byteOffset!=E.byteOffset)return!1;C=C.buffer,E=E.buffer;case O:return!(C.byteLength!=E.byteLength||!B(new t(C),new t(E)));case f:case d:case y:return n(+C,+E);case m:return C.name==E.name&&C.message==E.message;case b:case S:return C==E+"";case p:var F=a;case A:var K=k&l;if(F||(F=s),C.size!=E.size&&!K)return!1;var Q=U.get(C);if(Q)return Q==E;k|=c,U.set(C,E);var I=r(F(C),F(E),k,z,B,U);return U.delete(C),I;case x:if(M)return M.call(C)==M.call(E)}return!1}return Ox=T,Ox}var Tx,wP;function q$(){if(wP)return Tx;wP=1;function e(t,n){for(var r=-1,a=n.length,s=t.length;++r<a;)t[s+r]=n[r];return t}return Tx=e,Tx}var jx,SP;function lee(){if(SP)return jx;SP=1;var e=q$(),t=nr();function n(r,a,s){var l=a(r);return t(r)?l:e(l,s(r))}return jx=n,jx}var Ex,AP;function cee(){if(AP)return Ex;AP=1;function e(t,n){for(var r=-1,a=t==null?0:t.length,s=0,l=[];++r<a;){var c=t[r];n(c,r,t)&&(l[s++]=c)}return l}return Ex=e,Ex}var Cx,OP;function uee(){if(OP)return Cx;OP=1;function e(){return[]}return Cx=e,Cx}var Rx,TP;function fee(){if(TP)return Rx;TP=1;var e=cee(),t=uee(),n=Object.prototype,r=n.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),e(a(l),function(c){return r.call(l,c)}))}:t;return Rx=s,Rx}var _x,jP;function dee(){if(jP)return _x;jP=1;function e(t,n){for(var r=-1,a=Array(t);++r<t;)a[r]=n(r);return a}return _x=e,_x}var Mx,EP;function pee(){if(EP)return Mx;EP=1;var e=ci(),t=ui(),n="[object Arguments]";function r(a){return t(a)&&e(a)==n}return Mx=r,Mx}var Px,CP;function j2(){if(CP)return Px;CP=1;var e=pee(),t=ui(),n=Object.prototype,r=n.hasOwnProperty,a=n.propertyIsEnumerable,s=e((function(){return arguments})())?e:function(l){return t(l)&&r.call(l,"callee")&&!a.call(l,"callee")};return Px=s,Px}var bu={exports:{}},Nx,RP;function hee(){if(RP)return Nx;RP=1;function e(){return!1}return Nx=e,Nx}bu.exports;var _P;function z$(){return _P||(_P=1,(function(e,t){var n=Oa(),r=hee(),a=t&&!t.nodeType&&t,s=a&&!0&&e&&!e.nodeType&&e,l=s&&s.exports===a,c=l?n.Buffer:void 0,f=c?c.isBuffer:void 0,d=f||r;e.exports=d})(bu,bu.exports)),bu.exports}var Dx,MP;function E2(){if(MP)return Dx;MP=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(r,a){var s=typeof r;return a=a??e,!!a&&(s=="number"||s!="symbol"&&t.test(r))&&r>-1&&r%1==0&&r<a}return Dx=n,Dx}var kx,PP;function C2(){if(PP)return kx;PP=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return kx=t,kx}var Ix,NP;function mee(){if(NP)return Ix;NP=1;var e=ci(),t=C2(),n=ui(),r="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Function]",d="[object Map]",m="[object Number]",p="[object Object]",y="[object RegExp]",b="[object Set]",A="[object String]",S="[object WeakMap]",x="[object ArrayBuffer]",O="[object DataView]",R="[object Float32Array]",j="[object Float64Array
306]",M="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",E="[object Uint8Array]",P="[object Uint8ClampedArray]",k="[object Uint16Array]",z="[object Uint32Array]",B={};B[R]=B[j]=B[M]=B[T]=B[C]=B[E]=B[P]=B[k]=B[z]=!0,B[r]=B[a]=B[x]=B[s]=B[O]=B[l]=B[c]=B[f]=B[d]=B[m]=B[p]=B[y]=B[b]=B[A]=B[S]=!1;function U(F){return n(F)&&t(F.length)&&!!B[e(F)]}return Ix=U,Ix}var $x,DP;function H$(){if(DP)return $x;DP=1;function e(t){return function(n){return t(n)}}return $x=e,$x}var xu={exports:{}};xu.exports;var kP;function gee(){return kP||(kP=1,(function(e,t){var n=l$(),r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===r,l=s&&n.process,c=(function(){try{var f=a&&a.require&&a.require("util").types;return f||l&&l.binding&&l.binding("util")}catch{}})();e.exports=c})(xu,xu.exports)),xu.exports}var Bx,IP;function U$(){if(IP)return Bx;IP=1;var e=mee(),t=H$(),n=gee(),r=n&&n.isTypedArray,a=r?t(r):e;return Bx=a,Bx}var Lx,$P;function yee(){if($P)return Lx;$P=1;var e=dee(),t=j2(),n=nr(),r=z$(),a=E2(),s=U$(),l=Object.prototype,c=l.hasOwnProperty;function f(d,m){var p=n(d),y=!p&&t(d),b=!p&&!y&&r(d),A=!p&&!y&&!b&&s(d),S=p||y||b||A,x=S?e(d.length,String):[],O=x.length;for(var R in d)(m||c.call(d,R))&&!(S&&(R=="length"||b&&(R=="offset"||R=="parent")||A&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||a(R,O)))&&x.push(R);return x}return Lx=f,Lx}var qx,BP;function vee(){if(BP)return qx;BP=1;var e=Object.prototype;function t(n){var r=n&&n.constructor,a=typeof r=="function"&&r.prototype||e;return n===a}return qx=t,qx}var zx,LP;function V$(){if(LP)return zx;LP=1;function e(t,n){return function(r){return t(n(r))}}return zx=e,zx}var Hx,qP;function bee(){if(qP)return Hx;qP=1;var e=V$(),t=e(Object.keys,Object);return Hx=t,Hx}var Ux,zP;function xee(){if(zP)return Ux;zP=1;var e=vee(),t=bee(),n=Object.prototype,r=n.hasOwnProperty;function a(s){if(!e(s))return t(s);var l=[];for(var c in Object(s))r.call(s,c)&&c!="constructor"&&l.push(c);return l}return Ux=a,Ux}var Vx,HP;function Qf(){if(HP)return Vx;HP=1;var e=d2(),t=C2();function n(r){return r!=null&&t(r.length)&&!e(r)}return Vx=n,Vx}var Fx,UP;function Mm(){if(UP)return Fx;UP=1;var e=yee(),t=xee(),n=Qf();function r(a){return n(a)?e(a):t(a)}return Fx=r,Fx}var Gx,VP;function wee(){if(VP)return Gx;VP=1;var e=lee(),t=fee(),n=Mm();function r(a){return e(a,n,t)}return Gx=r,Gx}var Kx,FP;function See(){if(FP)return Kx;FP=1;var e=wee(),t=1,n=Object.prototype,r=n.hasOwnProperty;function a(s,l,c,f,d,m){var p=c&t,y=e(s),b=y.length,A=e(l),S=A.length;if(b!=S&&!p)return!1;for(var x=b;x--;){var O=y[x];if(!(p?O in l:r.call(l,O)))return!1}var R=m.get(s),j=m.get(l);if(R&&j)return R==l&&j==s;var M=!0;m.set(s,l),m.set(l,s);for(var T=p;++x<b;){O=y[x];var C=s[O],E=l[O];if(f)var P=p?f(E,C,O,l,s,m):f(C,E,O,s,l,m);if(!(P===void 0?C===E||d(C,E,c,f,m):P)){M=!1;break}T||(T=O=="constructor")}if(M&&!T){var k=s.constructor,z=l.constructor;k!=z&&"constructor"in s&&"constructor"in l&&!(typeof k=="function"&&k instanceof k&&typeof z=="function"&&z instanceof z)&&(M=!1)}return m.delete(s),m.delete(l),M}return Kx=a,Kx}var Yx,GP;function Aee(){if(GP)return Yx;GP=1;var e=co(),t=Oa(),n=e(t,"DataView");return Yx=n,Yx}var Wx,KP;function Oee(){if(KP)return Wx;KP=1;var e=co(),t=Oa(),n=e(t,"Promise");return Wx=n,Wx}var Qx,YP;function F$(){if(YP)return Qx;YP=1;var e=co(),t=Oa(),n=e(t,"Set");return Qx=n,Qx}var Xx,WP;function Tee(){if(WP)return Xx;WP=1;var e=co(),t=Oa(),n=e(t,"WeakMap");return Xx=n,Xx}var Zx,QP;function jee(){if(QP)return Zx;QP=1;var e=Aee(),t=h2(),n=Oee(),r=F$(),a=Tee(),s=ci(),l=c$(),c="[object Map]",f="[object Object]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",y="[object DataView]",b=l(e),A=l(t),S=l(n),x=l(r),O=l(a),R=s;return(e&&R(new e(new ArrayBuffer(1)))!=y||t&&R(new t)!=c||n&&R(n.resolve())!=d||r&&R(new r)!=m||a&&R(new a)!=p)&&(R=function(j){var M=s(j),T=M==f?j.constructor:void 0,C=T?l(T):"";if(C)switch(C){case b:return y;case A:return c;case S:return d;case x:return m;case O:return p}return M}),Zx=R,Zx}var Jx,XP;function Eee(){if(XP)return Jx;XP=1;var e=k$(),t=L$(),n=oee(),r=See(),a=jee(),s=nr(),l=z$(),c=U$(),f=1,d="[object Arguments]",m="[object Array]",p="[object Object]",y=Object.prototype,b=y.hasOwnProperty;function A(S,x,O,R,j,M){var T=s(S),C=s(x),E=T?m:a(S),P=C?m:a(x);E=E==d?p:E,P=P==d?p:P;var k=E==p,z=P==p,B=E==P;if(B&&l(S)){if(!l(x))return!1;T=!0,k=!1}if(B&&!k)return M||(M=new e),T||c(S)?t(S,x,O,R,j,M):n(S,x,E,O,R,j,M);if(!(O&f)){var U=k&&b.call(S,"__wrapped__"),F=z&&b.call(x,"__wrapped__");
vendor: 1,739 bytes, line 306
306if(U||F){var K=U?S.value():S,Q=F?x.value():x;return M||(M=new e),j(K,Q,O,R,M)}}return B?(M||(M=new e),r(S,x,O,R,j,M)):!1}return Jx=A,Jx}var e0,ZP;function R2(){if(ZP)return e0;ZP=1;var e=Eee(),t=ui();function n(r,a,s,l,c){return r===a?!0:r==null||a==null||!t(r)&&!t(a)?r!==r&&a!==a:e(r,a,s,l,n,c)}return e0=n,e0}var t0,JP;function Cee(){if(JP)return t0;JP=1;var e=k$(),t=R2(),n=1,r=2;function a(s,l,c,f){var d=c.length,m=d,p=!f;if(s==null)return!m;for(s=Object(s);d--;){var y=c[d];if(p&&y[2]?y[1]!==s[y[0]]:!(y[0]in s))return!1}for(;++d<m;){y=c[d];var b=y[0],A=s[b],S=y[1];if(p&&y[2]){if(A===void 0&&!(b in s))return!1}else{var x=new e;if(f)var O=f(A,S,b,s,l,x);if(!(O===void 0?t(S,A,n|r,f,x):O))return!1}}return!0}return t0=a,t0}var n0,eN;function G$(){if(eN)return n0;eN=1;var e=is();function t(n){return n===n&&!e(n)}return n0=t,n0}var r0,tN;function Ree(){if(tN)return r0;tN=1;var e=G$(),t=Mm();function n(r){for(var a=t(r),s=a.length;s--;){var l=a[s],c=r[l];a[s]=[l,c,e(c)]}return a}return r0=n,r0}var a0,nN;function K$(){if(nN)return a0;nN=1;function e(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}return a0=e,a0}var i0,rN;function _ee(){if(rN)return i0;rN=1;var e=Cee(),t=Ree(),n=K$();function r(a){var s=t(a);return s.length==1&&s[0][2]?n(s[0][0],s[0][1]):function(l){return l===a||e(l,a,s)}}return i0=r,i0}var s0,aN;function Mee(){if(aN)return s0;aN=1;function e(t,n){return t!=null&&n in Object(t)}return s0=e,s0}var o0,iN;function Pee(){if(iN)return o0;iN=1;var e=d$(),t=j2(),n=nr(),r=E2(),a=C2(),s=Tm();function l(c,f,d){f=e(f,c);for(var m=-1,p=f.length,y=!1;++m<p;){var b=s(f[m]);if(!(y=c!=null&&d(c,b)))break;c=c[b]}return y||++m!=p?y:(p=c==null?0:c.length,!!p&&a(p)&&r(b,p)&&(n(c)||t(c))
vendor: 39,688 bytes, lines 306-309
306)}return o0=l,o0}var l0,sN;function Nee(){if(sN)return l0;sN=1;var e=Mee(),t=Pee();function n(r,a){return r!=null&&t(r,a,e)}return l0=n,l0}var c0,oN;function Dee(){if(oN)return c0;oN=1;var e=R2(),t=p$(),n=Nee(),r=f2(),a=G$(),s=K$(),l=Tm(),c=1,f=2;function d(m,p){return r(m)&&a(p)?s(l(m),p):function(y){var b=t(y,m);return b===void 0&&b===p?n(y,m):e(p,b,c|f)}}return c0=d,c0}var u0,lN;function cc(){if(lN)return u0;lN=1;function e(t){return t}return u0=e,u0}var f0,cN;function kee(){if(cN)return f0;cN=1;function e(t){return function(n){return n?.[t]}}return f0=e,f0}var d0,uN;function Iee(){if(uN)return d0;uN=1;var e=y2();function t(n){return function(r){return e(r,n)}}return d0=t,d0}var p0,fN;function $ee(){if(fN)return p0;fN=1;var e=kee(),t=Iee(),n=f2(),r=Tm();function a(s){return n(s)?e(r(s)):t(s)}return p0=a,p0}var h0,dN;function ss(){if(dN)return h0;dN=1;var e=_ee(),t=Dee(),n=cc(),r=nr(),a=$ee();function s(l){return typeof l=="function"?l:l==null?n:typeof l=="object"?r(l)?t(l[0],l[1]):e(l):a(l)}return h0=s,h0}var m0,pN;function Y$(){if(pN)return m0;pN=1;function e(t,n,r,a){for(var s=t.length,l=r+(a?1:-1);a?l--:++l<s;)if(n(t[l],l,t))return l;return-1}return m0=e,m0}var g0,hN;function Bee(){if(hN)return g0;hN=1;function e(t){return t!==t}return g0=e,g0}var y0,mN;function Lee(){if(mN)return y0;mN=1;function e(t,n,r){for(var a=r-1,s=t.length;++a<s;)if(t[a]===n)return a;return-1}return y0=e,y0}var v0,gN;function qee(){if(gN)return v0;gN=1;var e=Y$(),t=Bee(),n=Lee();function r(a,s,l){return s===s?n(a,s,l):e(a,t,l)}return v0=r,v0}var b0,yN;function zee(){if(yN)return b0;yN=1;var e=qee();function t(n,r){var a=n==null?0:n.length;return!!a&&e(n,r,0)>-1}return b0=t,b0}var x0,vN;function Hee(){if(vN)return x0;vN=1;function e(t,n,r){for(var a=-1,s=t==null?0:t.length;++a<s;)if(r(n,t[a]))return!0;return!1}return x0=e,x0}var w0,bN;function Uee(){if(bN)return w0;bN=1;function e(){}return w0=e,w0}var S0,xN;function Vee(){if(xN)return S0;xN=1;var e=F$(),t=Uee(),n=T2(),r=1/0,a=e&&1/n(new e([,-0]))[1]==r?function(s){return new e(s)}:t;return S0=a,S0}var A0,wN;function Fee(){if(wN)return A0;wN=1;var e=I$(),t=zee(),n=Hee(),r=B$(),a=Vee(),s=T2(),l=200;function c(f,d,m){var p=-1,y=t,b=f.length,A=!0,S=[],x=S;if(m)A=!1,y=n;else if(b>=l){var O=d?null:a(f);if(O)return s(O);A=!1,y=r,x=new e}else x=d?[]:S;e:for(;++p<b;){var R=f[p],j=d?d(R):R;if(R=m||R!==0?R:0,A&&j===j){for(var M=x.length;M--;)if(x[M]===j)continue e;d&&x.push(j),S.push(R)}else y(x,j,m)||(x!==S&&x.push(j),S.push(R))}return S}return A0=c,A0}var O0,SN;function Gee(){if(SN)return O0;SN=1;var e=ss(),t=Fee();function n(r,a){return r&&r.length?t(r,e(a,2)):[]}return O0=n,O0}var Kee=Gee();const AN=mt(Kee);function W$(e,t,n){return t===!0?AN(e,n):Be(t)?AN(e,t):e}function Pl(e){"@babel/helpers - typeof";return Pl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pl(e)}var Yee=["ref"];function ON(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ga(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ON(Object(n),!0).forEach(function(r){Pm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ON(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X$(r.key),r)}}function Qee(e,t,n){return t&&TN(e.prototype,t),n&&TN(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xee(e,t,n){return t=hh(t),Zee(e,Q$()?Reflect.construct(t,n||[],hh(e).constructor):t.apply(e,n))}function Zee(e,t){if(t&&(Pl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jee(e)}function Jee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q$=function(){return!!e})()}function hh(e){return hh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},hh(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aS(e,t)}function aS(e,t){return aS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},aS(e,t)}function Pm(e,t,n){return t=X$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X$(e){var t=tte(e,"string");return Pl(t)=="symbol"?t:t+""}function tte(e,t){if(Pl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function nte(e,t){if(e==null)return{};var n=rte(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rte(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ate(e){return e.value}function ite(e,t){if(H.isValidElement(e))return H.cloneElement(e,t);if(typeof e=="function")return H.createElement(e,t);t.ref;var n=nte(t,Yee);return H.createElement(O2,n)}var jN=1,wl=(function(e){function t(){var n;Wee(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=Xee(this,t,[].concat(a)),Pm(n,"lastBoundingBox",{width:-1,height:-1}),n}return ete(t,e),Qee(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();return r.height=this.wrapperNode.offsetHeight,r.width=this.wrapperNode.offsetWidth,r}return null}},{key:"updateBBox",value:function(){var r=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>jN||Math.abs(a.height-this.lastBoundingBox.height)>jN)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,r&&r(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ga({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var a=this.props,s=a.layout,l=a.align,c=a.verticalAlign,f=a.margin,d=a.chartWidth,m=a.chartHeight,p,y;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(l==="center"&&s==="vertical"){var b=this.getBBoxSnapshot();p={left:((d||0)-b.width)/2}}else p=l==="right"?{right:f&&f.right||0}:{left:f&&f.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(c==="middle"){var A=this.getBBoxSnapshot();y={top:((m||0)-A.height)/2}}else y=c==="bottom"?{bottom:f&&f.bottom||0}:{top:f&&f.top||0};return Ga(Ga({},p),y)}},{key:"render",value:function(){var r=this,a=this.props,s=a.content,l=a.width,c=a.height,f=a.wrapperStyle,d=a.payloadUniqBy,m=a.payload,p=Ga(Ga({position:"absolute",width:l||"auto",height:c||"auto"},this.getDefaultPosition(f)),f);return H.createElement("div",{className:"recharts-legend-wrapper",style:p,ref:function(b){r.wrapperNode=b}},ite(s,Ga(Ga({},this.props),{},{payload:W$(m,d,ate)})))}}],[{key:"getWithHeight",value:function(r,a){var s=Ga(Ga({},this.defaultProps),r.props),l=s.layout;return l==="vertical"&&pe(r.props.height)?{height:r.props.height}:l==="horizontal"?{width:r.props.width||a}:null}}])})(N.PureComponent);Pm(wl,"displayName","Legend");Pm(wl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var T0,EN;function ste(){if(EN)return T0;EN=1;var e=Yf(),t=j2(),n=nr(),r=e?e.isConcatSpreadable:void 0;function a(s){return n(s)||t(s)||!!(r&&s&&s[r])}return T0=a,T0}var j0,CN;function Z$(){if(CN)return j0;CN=1;var e=q$(),t=ste();function n(r,a,s,l,c){var f=-1,d=r.length;for(s||(s=t),c||(c=[]);++f<d;){var m=r[f];a>0&&s(m)?a>1?n(m,a-1,s,l,c):e(c,m):l||(c[c.length]=m)}return c}return j0=n,j0}var E0,RN;function ote(){if(RN)return E0;RN=1;function e(t){return function(n,r,a){for(var s=-1,l=Object(n),c=a(n),f=c.length;f--;){var d=c[t?f:++s];if(r(l[d],d,l)===!1)break}return n}}return E0=e,E0}var C0,_N;function lte(){if(_N)return C0;_N=1;var e=ote(),t=e();return C0=t,C0}var R0,MN;function J$(){if(MN)return R0;MN=1;var e=lte(),t=Mm();function n(r,a){return r&&e(r,a,t)}return R0=n,R0}var _0,PN;function cte(){if(PN)return _0;PN=1;var e=Qf();function t(n,r){return function(a,s){if(a==null)return a;if(!e(a))return n(a,s);for(var l=a.length,c=r?l:-1,f=Object(a);(r?c--:++c<l)&&s(f[c],c,f)!==!1;);return a}}return _0=t,_0}var M0,NN;function _2(){if(NN)return M0;NN=1;var e=J$(),t=cte(),n=t(e);return M0=n,M0}var P0,DN;function eB(){if(DN)return P0;DN=1;var e=_2(),t=Qf();function n(r,a){var s=-1,l=t(r)?Array(r.length):[];return e(r,function(c,f,d){l[++s]=a(c,f,d)}),l}return P0=n,P0}var N0,kN;function ute(){if(kN)return N0;kN=1;function e(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}return N0=e,N0}var D0,IN;function fte(){if(IN)return D0;IN=1;var e=oc();function t(n,r){if(n!==r){var a=n!==void 0,s=n===null,l=n===n,c=e(n),f=r!==void 0,d=r===null,m=r===r,p=e(r);if(!d&&!p&&!c&&n>r||c&&f&&m&&!d&&!p||s&&f&&m||!a&&m||!l)return 1;if(!s&&!c&&!p&&n<r||p&&a&&l&&!s&&!c||d&&a&&l||!f&&l||!m)return-1}return 0}return D0=t,D0}var k0,$N;function dte(){if($N)return k0;$N=1;var e=fte();function t(n,r,a){for(var s=-1,l=n.criteria,c=r.criteria,f=l.length,d=a.length;++s<f;){var m=e(l[s],c[s]);if(m){if(s>=d)return m;var p=a[s];return m*(p=="desc"?-1:1)}}return n.index-r.index}return k0=t,k0}var I0,BN;function pte(){if(BN)return I0;BN=1;var e=g2(),t=y2(),n=ss(),r=eB(),a=ute(),s=H$(),l=dte(),c=cc(),f=nr();function d(m,p,y){p.length?p=e(p,function(S){return f(S)?function(x){return t(x,S.length===1?S[0]:S)}:S}):p=[c];var b=-1;p=e(p,s(n));var A=r(m,function(S,x,O){var R=e(p,function(j){return j(S)});return{criteria:R,index:++b,value:S}});return a(A,function(S,x){return l(S,x,y)})}return I0=d,I0}var $0,LN;function hte(){if(LN)return $0;LN=1;function e(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}return $0=e,$0}var B0,qN;function mte(){if(qN)return B0;qN=1;var e=hte(),t=Math.max;function n(r,a,s){return a=t(a===void 0?r.length-1:a,0),function(){for(var l=arguments,c=-1,f=t(l.length-a,0),d=Array(f);++c<f;)d[c]=l[a+c];c=-1;for(var m=Array(a+1);++c<a;)m[c]=l[c];return m[a]=s(d),e(r,this,m)}}return B0=n,B0}var L0,zN;function gte(){if(zN)return L0;zN=1;function e(t){return function(){return t}}return L0=e,L0}var q0,HN;function tB(){if(HN)return q0;HN=1;var e=co(),t=(function(){try{var n=e(Object,"defineProperty");return n({},"",{}),n}catch{}})();return q0=t,q0}var z0,UN;function yte(){if(UN)return z0;UN=1;var e=gte(),t=tB(),n=cc(),r=t?function(a,s){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(s),writable:!0})}:n;return z0=r,z0}var H0,VN;function vte(){if(VN)return H0;VN=1;var e=800,t=16,n=Date.now;function r(a){var s=0,l=0;return function(){var c=n(),f=t-(c-l);if(l=c,f>0){if(++s>=e)return arguments[0]}else s=0;return a.apply(void 0,arguments)}}return H0=r,H0}var U0,FN;function bte(){if(FN)return U0;FN=1;var e=yte(),t=vte(),n=t(e);return U0=n,U0}var V0,GN;function xte(){if(GN)return V0;GN=1;var e=cc(),t=mte(),n=bte();function r(a,s){return n(t(a,s,e),a+"")}return V0=r,V0}var F0,KN;function Nm(){if(KN)return F0;KN=1;var e=p2(),t=Qf(),n=E2(),r=is();function a(s,l,c){if(!r(c))return!1;var f=typeof l;return(f=="number"?t(c)&&n(l,c.length):f=="string"&&l in c)?e(c[l],s):!1}return F0=a,F0}var G0,YN;function wte(){if(YN)return G0;YN=1;var e=Z$(),t=pte(),n=xte(),r=Nm(),a=n(function(s,l){if(s==null)return[];var c=l.length;return c>1&&r(s,l[0],l[1])?l=[]:c>2&&r(l[0],l[1],l[2])&&(l=[l[0]]),t(s,e(l,1),[])});return G0=a,G0}var Ste=wte();const M2=mt(Ste);function Zu(e){"@babel/helpers - typeof";return Zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zu(e)}function iS(){return iS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iS.apply(this,arguments)}function Ate(e,t){return Ete(e)||jte(e,t)||Tte(e,t)||Ote()}function Ote(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
307In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tte(e,t){if(e){if(typeof e=="string")return WN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WN(e,t)}}function WN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jte(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Ete(e){if(Array.isArray(e))return e}function QN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function K0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QN(Object(n),!0).forEach(function(r){Cte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Cte(e,t,n){return t=Rte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rte(e){var t=_te(e,"string");return Zu(t)=="symbol"?t:t+""}function _te(e,t){if(Zu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mte(e){return Array.isArray(e)&&tn(e[0])&&tn(e[1])?e.join(" ~ "):e}var Pte=function(t){var n=t.separator,r=n===void 0?" : ":n,a=t.contentStyle,s=a===void 0?{}:a,l=t.itemStyle,c=l===void 0?{}:l,f=t.labelStyle,d=f===void 0?{}:f,m=t.payload,p=t.formatter,y=t.itemSorter,b=t.wrapperClassName,A=t.labelClassName,S=t.label,x=t.labelFormatter,O=t.accessibilityLayer,R=O===void 0?!1:O,j=function(){if(m&&m.length){var U={padding:0,margin:0},F=(y?M2(m,y):m).map(function(K,Q){if(K.type==="none")return null;var I=K0({display:"block",paddingTop:4,paddingBottom:4,color:K.color||"#000"},c),L=K.formatter||p||Mte,q=K.value,Z=K.name,ie=q,$=Z;if(L&&ie!=null&&$!=null){var G=L(q,Z,K,Q,m);if(Array.isArray(G)){var Y=Ate(G,2);ie=Y[0],$=Y[1]}else ie=G}return H.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Q),style:I},tn($)?H.createElement("span",{className:"recharts-tooltip-item-name"},$):null,tn($)?H.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,H.createElement("span",{className:"recharts-tooltip-item-value"},ie),H.createElement("span",{className:"recharts-tooltip-item-unit"},K.unit||""))});return H.createElement("ul",{className:"recharts-tooltip-item-list",style:U},F)}return null},M=K0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},s),T=K0({margin:0},d),C=!tt(S),E=C?S:"",P=Qe("recharts-default-tooltip",b),k=Qe("recharts-tooltip-label",A);C&&x&&m!==void 0&&m!==null&&(E=x(S,m));var z=R?{role:"status","aria-live":"assertive"}:{};return H.createElement("div",iS({className:P,style:M},z),H.createElement("p",{className:k,style:T},H.isValidElement(E)?E:"".concat(E)),j())};function Ju(e){"@babel/helpers - typeof";return Ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ju(e)}function Rp(e,t,n){return t=Nte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nte(e){var t=Dte(e,"string");return Ju(t)=="symbol"?t:t+""}function Dte(e,t){if(Ju(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ju(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cu="recharts-tooltip-wrapper",kte={visibility:"hidden"};function Ite(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return Qe(cu,Rp(Rp(Rp(Rp({},"".concat(cu,"-right"),pe(n)&&t&&pe(t.x)&&n>=t.x),"".concat(cu,"-left"),pe(n)&&t&&pe(t.x)&&n<t.x),"".concat(cu,"-bottom"),pe(r)&&t&&pe(t.y)&&r>=t.y),"".concat(cu,"-top"),pe(r)&&t&&pe(t.y)&&r<t.y))}function XN(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,a=e.offsetTopLeft,s=e.position,l=e.reverseDirection,c=e.tooltipDimension,f=e.viewBox,d=e.viewBoxDimension;if(s&&pe(s[r]))return s[r];var m=n[r]-c-a,p=n[r]+a;if(t[r])return l[r]?m:p;if(l[r]){var y=m,b=f[r];return y<b?Math.max(p,f[r]):Math.max(m,f[r])}var A=p+c,S=f[r]+d;return A>S?Math.max(m,f[r]):Math.max(p,f[r])}function $te(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function Bte(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,a=e.position,s=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,f=e.viewBox,d,m,p;return l.height>0&&l.width>0&&n?(m=XN({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:a,reverseDirection:s,tooltipDimension:l.width,viewBox:f,viewBoxDimension:f.width}),p=XN({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:a,reverseDirection:s,tooltipDimension:l.height,viewBox:f,viewBoxDimension:f.height}),d=$te({translateX:m,translateY:p,useTranslate3d:c})):d=kte,{cssProperties:d,cssClasses:Ite({translateX:m,translateY:p,coordinate:n})}}function Nl(e){"@babel/helpers - typeof";return Nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nl(e)}function ZN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function JN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ZN(Object(n),!0).forEach(function(r){oS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qte(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rB(r.key),r)}}function zte(e,t,n){return t&&qte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hte(e,t,n){return t=mh(t),Ute(e,nB()?Reflect.construct(t,n||[],mh(e).constructor):t.apply(e,n))}function Ute(e,t){if(t&&(Nl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Vte(e)}function Vte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nB=function(){return!!e})()}function mh(e){return mh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},mh(e)}function Fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sS(e,t)}function sS(e,t){return sS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},sS(e,t)}function oS(e,t,n){return t=rB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rB(e){var t=Gte(e,"string");return Nl(t)=="symbol"?t:t+""}function Gte(e,t){if(Nl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var eD=1,Kte=(function(e){function t(){var n;Lte(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=Hte(this,t,[].concat(a)),oS(n,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),oS(n,"handleKeyDown",function(l){if(l.key==="Escape"){var c,f,d,m;n.setState({dismissed:!0,dismissedAtCoordinate:{x:(c=(f=n.props.coordinate)===null||f===void 0?void 0:f.x)!==null&&c!==void 0?c:0,y:(d=(m=n.props.coordinate)===null||m===void 0?void 0:m.y)!==null&&d!==void 0?d:0}})}}),n}return Fte(t,e),zte(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-this.state.lastBoundingBox.width)>eD||Math.abs(r.height-this.state.lastBoundingBox.height)>eD)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,a=this.props,s=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,d=a.children,m=a.coordinate,p=a.hasPayload,y=a.isAnimationActive,b=a.offset,A=a.position,S=a.reverseDirection,x=a.useTranslate3d,O=a.viewBox,R=a.wrapperStyle,j=Bte({allowEscapeViewBox:l,coordinate:m,offsetTopLeft:b,position:A,reverseDirection:S,tooltipBox:this.state.lastBoundingBox,useTranslate3d:x,viewBox:O}),M=j.cssClasses,T=j.cssProperties,C=JN(JN({transition:y&&s?"transform ".concat(c,"ms ").concat(f):void 0},T),{},{pointerEvents:"none",visibility:!this.state.dismissed&&s&&p?"visible":"hidden",position:"absolute",top:0,left:0},R);return H.createElement("div",{tabIndex:-1,className:M,style:C,ref:function(P){r.wrapperNode=P}},d)}}])})(N.PureComponent),Yte=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Xf={isSsr:Yte()};function Dl(e){"@babel/helpers - typeof";return Dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dl(e)}function tD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function nD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tD(Object(n),!0).forEach(function(r){P2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qte(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iB(r.key),r)}}function Xte(e,t,n){return t&&Qte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zte(e,t,n){return t=gh(t),Jte(e,aB()?Reflect.construct(t,n||[],gh(e).constructor):t.apply(e,n))}function Jte(e,t){if(t&&(Dl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ene(e)}function ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(aB=function(){return!!e})()}function gh(e){return gh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},gh(e)}function tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lS(e,t)}function lS(e,t){return lS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},lS(e,t)}function P2(e,t,n){return t=iB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iB(e){var t=nne(e,"string");return Dl(t)=="symbol"?t:t+""}function nne(e,t){if(Dl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Dl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function rne(e){return e.dataKey}function ane(e,t){return H.isValidElement(e)?H.cloneElement(e,t):typeof e=="function"?H.createElement(e,t):H.createElement(Pte,t)}var fa=(function(e){function t(){return Wte(this,t),Zte(this,t,arguments)}return tne(t,e),Xte(t,[{key:"render",value:function(){var r=this,a=this.props,s=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,d=a.content,m=a.coordinate,p=a.filterNull,y=a.isAnimationActive,b=a.offset,A=a.payload,S=a.payloadUniqBy,x=a.position,O=a.reverseDirection,R=a.useTranslate3d,j=a.viewBox,M=a.wrapperStyle,T=A??[];p&&T.length&&(T=W$(A.filter(function(E){return E.value!=null&&(E.hide!==!0||r.props.includeHidden)}),S,rne));var C=T.length>0;return H.createElement(Kte,{allowEscapeViewBox:l,animationDuration:c,animationEasing:f,isAnimationActive:y,active:s,coordinate:m,hasPayload:C,offset:b,position:x,reverseDirection:O,useTranslate3d:R,viewBox:j,wrapperStyle:M},ane(d,nD(nD({},this.props),{},{payload:T})))}}])})(N.PureComponent);P2(fa,"displayName","Tooltip");P2(fa,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Xf.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Y0,rD;function ine(){if(rD)return Y0;rD=1;var e=Oa(),t=function(){return e.Date.now()};return Y0=t,Y0}var W0,aD;function sne(){if(aD)return W0;aD=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return W0=t,W0}var Q0,iD;function one(){if(iD)return Q0;iD=1;var e=sne(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Q0=n,Q0}var X0,sD;function sB(){if(sD)return X0;sD=1;var e=one(),t=is(),n=oc(),r=NaN,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function f(d){if(typeof d=="number")return d;if(n(d))return r;if(t(d)){var m=typeof d.valueOf=="function"?d.valueOf():d;d=t(m)?m+"":m}if(typeof d!="string")return d===0?d:+d;d=e(d);var p=s.test(d);return p||l.test(d)?c(d.slice(2),p?2:8):a.test(d)?r:+d}return X0=f,X0}var Z0,oD;function lne(){if(oD)return Z0;oD=1;var e=is(),t=ine(),n=sB(),r="Expected a function",a=Math.max,s=Math.min;function l(c,f,d){var m,p,y,b,A,S,x=0,O=!1,R=!1,j=!0;if(typeof c!="function")throw new TypeError(r);f=n(f)||0,e(d)&&(O=!!d.leading,R="maxWait"in d,y=R?a(n(d.maxWait)||0,f):y,j="trailing"in d?!!d.trailing:j);function M(F){var K=m,Q=p;return m=p=void 0,x=F,b=c.apply(Q,K),b}function T(F){return x=F,A=setTimeout(P,f),O?M(F):b}function C(F){var K=F-S,Q=F-x,I=f-K;return R?s(I,y-Q):I}function E(F){var K=F-S,Q=F-x;return S===void 0||K>=f||K<0||R&&Q>=y}function P(){var F=t();if(E(F))return k(F);A=setTimeout(P,C(F))}function k(F){return A=void 0,j&&m?M(F):(m=p=void 0,b)}function z(){A!==void 0&&clearTimeout(A),x=0,m=S=p=A=void 0}function B(){return A===void 0?b:k(t())}function U(){var F=t(),K=E(F);if(m=arguments,p=this,S=F,K){if(A===void 0)return T(S);if(R)return clearTimeout(A),A=setTimeout(P,f),M(S)}return A===void 0&&(A=setTimeout(P,f)),b}return U.cancel=z,U.flush=B,U}return Z0=l,Z0}var J0,lD;function cne(){if(lD)return J0;lD=1;var e=lne(),t=is(),n="Expected a function";function r(a,s,l){var c=!0,f=!0;if(typeof a!="function")throw new TypeError(n);return t(l)&&(c="leading"in l?!!l.leading:c,f="trailing"in l?!!l.trailing:f),e(a,s,{leading:c,maxWait:s,trailing:f})}return J0=r,J0}var une=cne();const fne=mt(une);var N2=function(t){return null};N2.displayName="Cell";function ef(e){"@babel/helpers - typeof";return ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ef(e)}function cD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function cS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cD(Object(n),!0).forEach(function(r){dne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dne(e,t,n){return t=pne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pne(e){var t=hne(e,"string");return ef(t)=="symbol"?t:t+""}function hne(e,t){if(ef(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ef(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var il={widthCache:{},cacheCount:0},mne=2e3,gne={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},uD="recharts_measurement_span";function yne(e){var t=cS({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Ru=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Xf.isSsr)return{width:0,height:0};var r=yne(n),a=JSON.stringify({text:t,copyStyle:r});if(il.widthCache[a])return il.widthCache[a];try{var s=document.getElementById(uD);s||(s=document.createElement("span"),s.setAttribute("id",uD),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var l=cS(cS({},gne),r);Object.assign(s.style,l),s.textContent="".concat(t);var c=s.getBoundingClientRect(),f={width:c.width,height:c.height};return il.widthCache[a]=f,++il.cacheCount>mne&&(il.cacheCount=0,il.widthCache={}),f}catch{return{width:0,height:0}}},vne=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function tf(e){"@babel/helpers - typeof";return tf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tf(e)}function yh(e,t){return Sne(e)||wne(e,t)||xne(e,t)||bne()}function bne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
308In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xne(e,t){if(e){if(typeof e=="string")return fD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fD(e,t)}}function fD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Sne(e){if(Array.isArray(e))return e}function Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tne(r.key),r)}}function One(e,t,n){return t&&dD(e.prototype,t),n&&dD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tne(e){var t=jne(e,"string");return tf(t)=="symbol"?t:t+""}function jne(e,t){if(tf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var pD=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,hD=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ene=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Cne=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,oB={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},Rne=Object.keys(oB),hl="NaN";function _ne(e,t){return e*oB[t]}var _p=(function(){function e(t,n){Ane(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!Ene.test(n)&&(this.num=NaN,this.unit=""),Rne.includes(n)&&(this.num=_ne(t,n),this.unit="px")}return One(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,a=(r=Cne.exec(n))!==null&&r!==void 0?r:[],s=yh(a,3),l=s[1],c=s[2];return new e(parseFloat(l),c??"")}}])})();function lB(e){if(e.includes(hl))return hl;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=pD.exec(t))!==null&&n!==void 0?n:[],a=yh(r,4),s=a[1],l=a[2],c=a[3],f=_p.parse(s??""),d=_p.parse(c??""),m=l==="*"?f.multiply(d):f.divide(d);if(m.isNaN())return hl;t=t.replace(pD,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var p,y=(p=hD.exec(t))!==null&&p!==void 0?p:[],b=yh(y,4),A=b[1],S=b[2],x=b[3],O=_p.parse(A??""),R=_p.parse(x??""),j=S==="+"?O.add(R):O.subtract(R);if(j.isNaN())return hl;t=t.replace(hD,j.toString())}return t}var mD=/\(([^()]*)\)/;function Mne(e){for(var t=e;t.includes("(");){var n=mD.exec(t),r=yh(n,2),a=r[1];t=t.replace(mD,lB(a))}return t}function Pne(e){var t=e.replace(/\s+/g,"");return t=Mne(t),t=lB(t),t}function Nne(e){try{return Pne(e)}catch{return hl}}function e1(e){var t=Nne(e.slice(5,-1));return t===hl?"":t}var Dne=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],kne=["dx","dy","angle","className","breakAll"];function uS(){return uS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uS.apply(this,arguments)}function gD(e,t){if(e==null)return{};var n=Ine(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ine(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function yD(e,t){return qne(e)||Lne(e,t)||Bne(e,t)||$ne()}function $ne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
309In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bne(e,t){if(e){if(typeof e=="string")return vD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vD(e,t)}}function vD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function qne(e){if(Array.isArray(e))return e}var cB=/[ \f\n\r\t\v\u2028\u2029]+/,uB=function(t){var n=t.children,r=t.breakAll,a=t.style;try{var s=[];tt(n)||(r?s=n.toString().split(""):s=n.toString().split(cB));var l=s.map(function(f){return{word:f,width:Ru(f,a).width}}),c=r?0:Ru(" ",a).width;
309return{wordsWithComputedWidth:l,spaceWidth:c}}catch{return null}},zne=function(t,n,r,a,s){var l=t.maxLines,c=t.children,f=t.style,d=t.breakAll,m=pe(l),p=c,y=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Q.reduce(function(I,L){var q=L.word,Z=L.width,ie=I[I.length-1];if(ie&&(a==null||s||ie.width+Z+r<Number(a)))ie.words.push(q),ie.width+=Z+r;else{var $={words:[q],width:Z};I.push($)}return I},[])},b=y(n),A=function(Q){return Q.reduce(function(I,L){return I.width>L.width?I:L})};if(!m)return b;for(var S="…",x=function(Q){var I=p.slice(0,Q),L=uB({breakAll:d,style:f,children:I+S}).wordsWithComputedWidth,q=y(L),Z=q.length>l||A(q).width>Number(a);return[Z,q]},O=0,R=p.length-1,j=0,M;O<=R&&j<=p.length-1;){var T=Math.floor((O+R)/2),C=T-1,E=x(C),P=yD(E,2),k=P[0],z=P[1],B=x(T),U=yD(B,1),F=U[0];if(!k&&!F&&(O=T+1),k&&F&&(R=T-1),!k&&F){M=z;break}j++}return M||b},bD=function(t){var n=tt(t)?[]:t.toString().split(cB);return[{words:n}]},Hne=function(t){var n=t.width,r=t.scaleToFit,a=t.children,s=t.style,l=t.breakAll,c=t.maxLines;if((n||r)&&!Xf.isSsr){var f,d,m=uB({breakAll:l,children:a,style:s});if(m){var p=m.wordsWithComputedWidth,y=m.spaceWidth;f=p,d=y}else return bD(a);return zne({breakAll:l,children:a,maxLines:c,style:s},f,d,n,r)}return bD(a)},xD="#808080",vh=function(t){var n=t.x,r=n===void 0?0:n,a=t.y,s=a===void 0?0:a,l=t.lineHeight,c=l===void 0?"1em":l,f=t.capHeight,d=f===void 0?"0.71em":f,m=t.scaleToFit,p=m===void 0?!1:m,y=t.textAnchor,b=y===void 0?"start":y,A=t.verticalAnchor,S=A===void 0?"end":A,x=t.fill,O=x===void 0?xD:x,R=gD(t,Dne),j=N.useMemo(function(){return Hne({breakAll:R.breakAll,children:R.children,maxLines:R.maxLines,scaleToFit:p,style:R.style,width:R.width})},[R.breakAll,R.children,R.maxLines,p,R.style,R.width]),M=R.dx,T=R.dy,C=R.angle,E=R.className,P=R.breakAll,k=gD(R,kne);if(!tn(r)||!tn(s))return null;var z=r+(pe(M)?M:0),B=s+(pe(T)?T:0),U;switch(S){case"start":U=e1("calc(".concat(d,")"));break;case"middle":U=e1("calc(".concat((j.length-1)/2," * -").concat(c," + (").concat(d," / 2))"));break;default:U=e1("calc(".concat(j.length-1," * -").concat(c,")"));break}var F=[];if(p){var K=j[0].width,Q=R.width;F.push("scale(".concat((pe(Q)?Q/K:1)/K,")"))}return C&&F.push("rotate(".concat(C,", ").concat(z,", ").concat(B,")")),F.length&&(k.transform=F.join(" ")),H.createElement("text",uS({},et(k,!0),{x:z,y:B,className:Qe("recharts-text",E),textAnchor:b,fill:O.includes("url")?xD:O}),j.map(function(I,L){var q=I.words.join(P?"":" ");return H.createElement("tspan",{x:z,dy:L===0?U:c,key:"".concat(q,"-").concat(L)},q)}))};function Yi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Une(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function D2(e){let t,n,r;e.length!==2?(t=Yi,n=(c,f)=>Yi(e(c),f),r=(c,f)=>e(c)-f):(t=e===Yi||e===Une?e:Vne,n=e,r=e);function a(c,f,d=0,m=c.length){if(d<m){if(t(f,f)!==0)return m;do{const p=d+m>>>1;n(c[p],f)<0?d=p+1:m=p}while(d<m)}return d}function s(c,f,d=0,m=c.length){if(d<m){if(t(f,f)!==0)return m;do{const p=d+m>>>1;n(c[p],f)<=0?d=p+1:m=p}while(d<m)}return d}function l(c,f,d=0,m=c.length){const p=a(c,f,d,m-1);return p>d&&r(c[p-1],f)>-r(c[p],f)?p-1:p}return{left:a,center:l,right:s}}function Vne(){return 0}function fB(e){return e===null?NaN:+e}function*Fne(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Gne=D2(Yi),Zf=Gne.right;D2(fB).center;class wD extends Map{constructor(t,n=Wne){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,a]of t)this.set(r,a)}get(t){return super.get(SD(this,t))}has(t){return super.has(SD(this,t))}set(t,n){return super.set(Kne(this,t),n)}delete(t){return super.delete(Yne(this,t))}}function SD({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Kne({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Yne({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Wne(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Qne(e=Yi){if(e===Yi)return dB;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function dB(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}
309const Xne=Math.sqrt(50),Zne=Math.sqrt(10),Jne=Math.sqrt(2);function bh(e,t,n){const r=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(r)),s=r/Math.pow(10,a),l=s>=Xne?10:s>=Zne?5:s>=Jne?2:1;let c,f,d;return a<0?(d=Math.pow(10,-a)/l,c=Math.round(e*d),f=Math.round(t*d),c/d<e&&++c,f/d>t&&--f,d=-d):(d=Math.pow(10,a)*l,c=Math.round(e/d),f=Math.round(t/d),c*d<e&&++c,f*d>t&&--f),f<c&&.5<=n&&n<2?bh(e,t,n*2):[c,f,d]}function fS(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[a,s,l]=r?bh(t,e,n):bh(e,t,n);if(!(s>=a))return[];const c=s-a+1,f=new Array(c);if(r)if(l<0)for(let d=0;d<c;++d)f[d]=(s-d)/-l;else for(let d=0;d<c;++d)f[d]=(s-d)*l;else if(l<0)for(let d=0;d<c;++d)f[d]=(a+d)/-l;else for(let d=0;d<c;++d)f[d]=(a+d)*l;return f}function dS(e,t,n){return t=+t,e=+e,n=+n,bh(e,t,n)[2]}function pS(e,t,n){t=+t,e=+e,n=+n;const r=t<e,a=r?dS(t,e,n):dS(e,t,n);return(r?-1:1)*(a<0?1/-a:a)}function AD(e,t){let n;for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);return n}function OD(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function pB(e,t,n=0,r=1/0,a){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(a=a===void 0?dB:Qne(a);r>n;){if(r-n>600){const f=r-n+1,d=t-n+1,m=Math.log(f),p=.5*Math.exp(2*m/3),y=.5*Math.sqrt(m*p*(f-p)/f)*(d-f/2<0?-1:1),b=Math.max(n,Math.floor(t-d*p/f+y)),A=Math.min(r,Math.floor(t+(f-d)*p/f+y));pB(e,t,b,A,a)}const s=e[t];let l=n,c=r;for(uu(e,n,t),a(e[r],s)>0&&uu(e,n,r);l<c;){for(uu(e,l,c),++l,--c;a(e[l],s)<0;)++l;for(;a(e[c],s)>0;)--c}a(e[n],s)===0?uu(e,n,c):(++c,uu(e,c,r)),c<=t&&(n=c+1),t<=c&&(r=c-1)}return e}function uu(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function ere(e,t,n){if(e=Float64Array.from(Fne(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return OD(e);if(t>=1)return AD(e);var r,a=(r-1)*t,s=Math.floor(a),l=AD(pB(e,s).subarray(0,s+1)),c=OD(e.subarray(s+1));return l+(c-l)*(a-s)}}function tre(e,t,n=fB){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,s=Math.floor(a),l=+n(e[s],s,e),c=+n(e[s+1],s+1,e);return l+(c-l)*(a-s)}}function nre(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=Math.max(0,Math.ceil((t-e)/n))|0,s=new Array(a);++r<a;)s[r]=e+r*n;return s}function qr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function fi(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const hS=Symbol("implicit");function k2(){var e=new wD,t=[],n=[],r=hS;function a(s){let l=e.get(s);if(l===void 0){if(r!==hS)return r;e.set(s,l=t.push(s)-1)}return n[l%n.length]}return a.domain=function(s){if(!arguments.length)return t.slice();t=[],e=new wD;for(const l of s)e.has(l)||e.set(l,t.push(l)-1);return a},a.range=function(s){return arguments.length?(n=Array.from(s),a):n.slice()},a.unknown=function(s){return arguments.length?(r=s,a):r},a.copy=function(){return k2(t,n).unknown(r)},qr.apply(a,arguments),a}function nf(){var e=k2().unknown(void 0),t=e.domain,n=e.range,r=0,a=1,s,l,c=!1,f=0,d=0,m=.5;delete e.unknown;function p(){var y=t().length,b=a<r,A=b?a:r,S=b?r:a;s=(S-A)/Math.max(1,y-f+d*2),c&&(s=Math.floor(s)),A+=(S-A-s*(y-f))*m,l=s*(1-f),c&&(A=Math.round(A),l=Math.round(l));var x=nre(y).map(function(O){return A+s*O});return n(b?x.reverse():x)}return e.domain=function(y){return arguments.length?(t(y),p()):t()},e.range=function(y){return arguments.length?([r,a]=y,r=+r,a=+a,p()):[r,a]},e.rangeRound=function(y){return[r,a]=y,r=+r,a=+a,c=!0,p()},e.bandwidth=function(){return l},e.step=function(){return s},e.round=function(y){return arguments.length?(c=!!y,p()):c},e.padding=function(y){return arguments.length?(f=Math.min(1,d=+y),p()):f},e.paddingInner=function(y){return arguments.length?(f=Math.min(1,y),p()):f},e.paddingOuter=function(y){return arguments.length?(d=+y,p()):d},e.align=function(y){return arguments.length?(m=Math.max(0,Math.min(1,y)),p()):m},e.copy=function(){return nf(t(),[r,a]).round(c).paddingInner(f).paddingOuter(d).align(m)},qr.apply(p(),arguments)}function hB(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return hB(t())},e}function _u(){return hB(nf.apply(null,arguments).paddingInner(1))}function I2(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function mB(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Jf(){}var rf=.7,xh=1/rf,Sl="\\s*([+-]?\\d+)\\s*",af="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ya="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rre=/^#([0-9a-f]{3,8})$/,are=new RegExp(`^rgb\\(${Sl},${Sl},${Sl}\\)$`),ire=new RegExp(`^rgb\\(${ya},${ya},${ya}\\)$`),sre=new RegExp(`^rgba\\(${Sl},${Sl},${Sl},${af}\\)$`),ore=new RegExp(`^rgba\\(${ya},${ya},${ya},${af}\\)$`),lre=new RegExp(`^hsl\\(${af},${ya},${ya}\\)$`),cre=new RegExp(`^hsla\\(${af},${ya},${ya},${af}\\)$`),TD={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};I2(Jf,sf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:jD,formatHex:jD,formatHex8:ure,formatHsl:fre,formatRgb:ED,toString:ED});function jD(){return this.rgb().formatHex()}function ure(){return this.rgb().formatHex8()}function fre(){return gB(this).formatHsl()}function ED(){return this.rgb().formatRgb()}function sf(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=rre.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?CD(t):n===3?new tr(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Mp(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Mp(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=are.exec(e))?new tr(t[1],t[2],t[3],1):(t=ire.exec(e))?new tr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=sre.exec(e))?Mp(t[1],t[2],t[3],t[4]):(t=ore.exec(e))?Mp(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=lre.exec(e))?MD(t[1],t[2]/100,t[3]/100,1):(t=cre.exec(e))?MD(t[1],t[2]/100,t[3]/100,t[4]):TD.hasOwnProperty(e)?CD(TD[e]):e==="transparent"?new tr(NaN,NaN,NaN,0):null}function CD(e){return new tr(e>>16&255,e>>8&255,e&255,1)}function Mp(e,t,n,r){return r<=0&&(e=t=n=NaN),new tr(e,t,n,r)}function dre(e){return e instanceof Jf||(e=sf(e)),e?(e=e.rgb(),new tr(e.r,e.g,e.b,e.opacity)):new tr}function mS(e,t,n,r){return arguments.length===1?dre(e):new tr(e,t,n,r??1)}function tr(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}I2(tr,mS,mB(Jf,{brighter(e){return e=e==null?xh:Math.pow(xh,e),new tr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?rf:Math.pow(rf,e),new tr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new tr(Gs(this.r),Gs(this.g),Gs(this.b),wh(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:RD,formatHex:RD,formatHex8:pre,formatRgb:_D,toString:_D}));function RD(){return`#${qs(this.r)}${qs(this.g)}${qs(this.b)}`}function pre(){return`#${qs(this.r)}${qs(this.g)}${qs(this.b)}${qs((isNaN(this.opacity)?1:this.opacity)*255)}`}function _D(){const e=wh(this.opacity);return`${e===1?"rgb(":"rgba("}${Gs(this.r)}, ${Gs(this.g)}, ${Gs(this.b)}${e===1?")":`, ${e})`}`}function wh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Gs(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qs(e){return e=Gs(e),(e<16?"0":"")+e.toString(16)}function MD(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Qr(e,t,n,r)}function gB(e){if(e instanceof Qr)return new Qr(e.h,e.s,e.l,e.opacity);if(e instanceof Jf||(e=sf(e)),!e)return new Qr;if(e instanceof Qr)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),s=Math.max(t,n,r),l=NaN,c=s-a,f=(s+a)/2;return c?(t===s?l=(n-r)/c+(n<r)*6:n===s?l=(r-t)/c+2:l=(t-n)/c+4,c/=f<.5?s+a:2-s-a,l*=60):c=f>0&&f<1?0:l,new Qr(l,c,f,e.opacity)}function hre(e,t,n,r){return arguments.length===1?gB(e):new Qr(e,t,n,r??1)}function Qr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}I2(Qr,hre,mB(Jf,{brighter(e){return e=e==null?xh:Math.pow(xh,e),new Qr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?rf:Math.pow(rf,e),new Qr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new tr(t1(e>=240?e-240:e+120,a,r),t1(e,a,r),t1(e<120?e+240:e-120,a,r),this.opacity)},clamp(){return new Qr(PD(this.h),Pp(this.s),Pp(this.l),wh(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=wh(this.opacity);return`${e===1?"hsl(":"hsla("}${PD(this.h)}, ${Pp(this.s)*100}%, ${Pp(this.l)*100}%${e===1?")":`, ${e})`}`}}));function PD(e){return e=(e||0)%360,e<0?e+360:e}function Pp(e){return Math.max(0,Math.min(1,e||0))}
vendor: 4,220 bytes, line 309
309function t1(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const $2=e=>()=>e;function mre(e,t){return function(n){return e+n*t}}function gre(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function yre(e){return(e=+e)==1?yB:function(t,n){return n-t?gre(t,n,e):$2(isNaN(t)?n:t)}}function yB(e,t){var n=t-e;return n?mre(e,n):$2(isNaN(e)?t:e)}const ND=(function e(t){var n=yre(t);function r(a,s){var l=n((a=mS(a)).r,(s=mS(s)).r),c=n(a.g,s.g),f=n(a.b,s.b),d=yB(a.opacity,s.opacity);return function(m){return a.r=l(m),a.g=c(m),a.b=f(m),a.opacity=d(m),a+""}}return r.gamma=e,r})(1);function vre(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),a;return function(s){for(a=0;a<n;++a)r[a]=e[a]*(1-s)+t[a]*s;return r}}function bre(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function xre(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,a=new Array(r),s=new Array(n),l;for(l=0;l<r;++l)a[l]=uc(e[l],t[l]);for(;l<n;++l)s[l]=t[l];return function(c){for(l=0;l<r;++l)s[l]=a[l](c);return s}}function wre(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Sh(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Sre(e,t){var n={},r={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?n[a]=uc(e[a],t[a]):r[a]=t[a];return function(s){for(a in n)r[a]=n[a](s);return r}}var gS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,n1=new RegExp(gS.source,"g");function Are(e){return function(){return e}}function Ore(e){return function(t){return e(t)+""}}function Tre(e,t){var n=gS.lastIndex=n1.lastIndex=0,r,a,s,l=-1,c=[],f=[];for(e=e+"",t=t+"";(r=gS.exec(e))&&(a=n1.exec(t));)(s=a.index)>n&&(s=t.slice(n,s),c[l]?c[l]+=s:c[++l]=s),(r=r[0])===(a=a[0])?c[l]?c[l]+=a:c[++l]=a:(c[++l]=null,f.push({i:l,x:Sh(r,a)})),n=n1.lastIndex;return n<t.length&&(s=t.slice(n),c[l]?c[l]+=s:c[++l]=s),c.length<2?f[0]?Ore(f[0].x):Are(t):(t=f.length,function(d){for(var m=0,p;m<t;++m)c[(p=f[m]).i]=p.x(d);return c.join("")})}function uc(e,t){var n=typeof t,r;return t==null||n==="boolean"?$2(t):(n==="number"?Sh:n==="string"?(r=sf(t))?(t=r,ND):Tre:t instanceof sf?ND:t instanceof Date?wre:bre(t)?vre:Array.isArray(t)?xre:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?Sre:Sh)(e,t)}function B2(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function jre(e,t){t===void 0&&(t=e,e=uc);for(var n=0,r=t.length-1,a=t[0],s=new Array(r<0?0:r);n<r;)s[n]=e(a,a=t[++n]);return function(l){var c=Math.max(0,Math.min(r-1,Math.floor(l*=r)));return s[c](l-c)}}function Ere(e){return function(){return e}}function Ah(e){return+e}var DD=[0,1];function zn(e){return e}function yS(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Ere(isNaN(t)?NaN:.5)}function Cre(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Rre(e,t,n){var r=e[0],a=e[1],s=t[0],l=t[1];return a<r?(r=yS(a,r),s=n(l,s)):(r=yS(r,a),s=n(s,l)),function(c){return s(r(c))}}function _re(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),s=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<r;)a[l]=yS(e[l],e[l+1]),s[l]=n(t[l],t[l+1]);return function(c){var f=Zf(e,c,1,r)-1;return s[f](a[f](c))}}function ed(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Dm(){var e=DD,t=DD,n=uc,r,a,s,l=zn,c,f,d;function m(){var y=Math.min(e.length,t.length);return l!==zn&&(l=Cre(e[0],e[y-1])),c=y>2?_re:Rre,f=d=null,p}function p(y){return y==null||isNaN(y=+y)?s:(f||(f=c(e.map(r),t,n)))(r(l(y)))}return p.invert=function(y){return l(a((d||(d=c(t,e.map(r),Sh)))(y)))},p.domain=function(y){return arguments.length?(e=Array.from(y,Ah),m()):e.slice()},p.range=function(y){return arguments.length?(t=Array.from(y),m()):t.slice()},p.rangeRound=function(y){return t=Array.from(y),n=B2,m()},p.clamp=function(y){return arguments.length?(l=y?!0:zn,m()):l!==zn},p.interpolate=function(y){return arguments.length?(n=y,m()):n},p.unknown=function(y){return arguments.length?(s=y,p):s},function(y,b){return r=y,a=b,m()}}function L2(){return Dm()(zn,zn)}
vendor: 7,906 bytes, line 309
309function Mre(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Oh(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function kl(e){return e=Oh(Math.abs(e)),e?e[1]:NaN}function Pre(e,t){return function(n,r){for(var a=n.length,s=[],l=0,c=e[0],f=0;a>0&&c>0&&(f+c+1>r&&(c=Math.max(1,r-f)),s.push(n.substring(a-=c,a+c)),!((f+=c+1)>r));)c=e[l=(l+1)%e.length];return s.reverse().join(t)}}function Nre(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Dre=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function of(e){if(!(t=Dre.exec(e)))throw new Error("invalid format: "+e);var t;return new q2({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}of.prototype=q2.prototype;function q2(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}q2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function kre(e){e:for(var t=e.length,n=1,r=-1,a;n<t;++n)switch(e[n]){case".":r=a=n;break;case"0":r===0&&(r=n),a=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(a+1):e}var vB;function Ire(e,t){var n=Oh(e,t);if(!n)return e+"";var r=n[0],a=n[1],s=a-(vB=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,l=r.length;return s===l?r:s>l?r+new Array(s-l+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+Oh(e,Math.max(0,t+s-1))[0]}function kD(e,t){var n=Oh(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}const ID={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Mre,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>kD(e*100,t),r:kD,s:Ire,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function $D(e){return e}var BD=Array.prototype.map,LD=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $re(e){var t=e.grouping===void 0||e.thousands===void 0?$D:Pre(BD.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",s=e.numerals===void 0?$D:Nre(BD.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"−":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function d(p){p=of(p);var y=p.fill,b=p.align,A=p.sign,S=p.symbol,x=p.zero,O=p.width,R=p.comma,j=p.precision,M=p.trim,T=p.type;T==="n"?(R=!0,T="g"):ID[T]||(j===void 0&&(j=12),M=!0,T="g"),(x||y==="0"&&b==="=")&&(x=!0,y="0",b="=");var C=S==="$"?n:S==="#"&&/[boxX]/.test(T)?"0"+T.toLowerCase():"",E=S==="$"?r:/[%p]/.test(T)?l:"",P=ID[T],k=/[defgprs%]/.test(T);j=j===void 0?6:/[gprs]/.test(T)?Math.max(1,Math.min(21,j)):Math.max(0,Math.min(20,j));function z(B){var U=C,F=E,K,Q,I;if(T==="c")F=P(B)+F,B="";else{B=+B;var L=B<0||1/B<0;if(B=isNaN(B)?f:P(Math.abs(B),j),M&&(B=kre(B)),L&&+B==0&&A!=="+"&&(L=!1),U=(L?A==="("?A:c:A==="-"||A==="("?"":A)+U,F=(T==="s"?LD[8+vB/3]:"")+F+(L&&A==="("?")":""),k){for(K=-1,Q=B.length;++K<Q;)if(I=B.charCodeAt(K),48>I||I>57){F=(I===46?a+B.slice(K+1):B.slice(K))+F,B=B.slice(0,K);break}}}R&&!x&&(B=t(B,1/0));var q=U.length+B.length+F.length,Z=q<O?new Array(O-q+1).join(y):"";switch(R&&x&&(B=t(Z+B,Z.length?O-F.length:1/0),Z=""),b){case"<":B=U+B+F+Z;break;case"=":B=U+Z+B+F;break;case"^":B=Z.slice(0,q=Z.length>>1)+U+B+F+Z.slice(q);break;default:B=Z+U+B+F;break}return s(B)}return z.toString=function(){return p+""},z}function m(p,y){var b=d((p=of(p),p.type="f",p)),A=Math.max(-8,Math.min(8,Math.floor(kl(y)/3)))*3,S=Math.pow(10,-A),x=LD[8+A/3];return function(O){return b(S*O)+x}}return{format:d,formatPrefix:m}}var Np,z2,bB;Bre({thousands:",",grouping:[3],currency:["$",""]});function Bre(e){return Np=$re(e),z2=Np.format,bB=Np.formatPrefix,Np}function Lre(e){return Math.max(0,-kl(Math.abs(e)))}function qre(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(kl(t)/3)))*3-kl(Math.abs(e)))}function zre(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,kl(t)-kl(e))+1}function xB(e,t,n,r){var a=pS(e,t,n),s;switch(r=of(r??",f"),r.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(s=qre(a,l))&&(r.precision=s),bB(r,l)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(s=zre(a,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=s-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(s=Lre(a))&&(r.precision=s-(r.type==="%")*2);break}}return z2(r)}function os(e){var t=e.domain;return e.ticks=function(n){var r=t();return fS(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var a=t();return xB(a[0],a[a.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),a=0,s=r.length-1,l=r[a],c=r[s],f,d,m=10;for(c<l&&(d=l,l=c,c=d,d=a,a=s,s=d);m-- >0;){if(d=dS(l,c,n),d===f)return r[a]=l,r[s]=c,t(r);if(d>0)l=Math.floor(l/d)*d,c=Math.ceil(c/d)*d;else if(d<0)l=Math.ceil(l*d)/d,c=Math.floor(c*d)/d;else break;f=d}return e},e}function Th(){var e=L2();return e.copy=function(){return ed(e,Th())},qr.apply(e,arguments),os(e)}function wB(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,Ah),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return wB(e).unknown(t)},e=arguments.length?Array.from(e,Ah):[0,1],os(n)}function SB(e,t){e=e.slice();var n=0,r=e.length-1,a=e[n],s=e[r],l;return s<a&&(l=n,n=r,r=l,l=a,a=s,s=l),e[n]=t.floor(a),e[r]=t.ceil(s),e}function qD(e){return Math.log(e)}function zD(e){return Math.exp(e)}function Hre(e){return-Math.log(-e)}function Ure(e){return-Math.exp(-e)}function Vre(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Fre(e){return e===10?Vre:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Gre(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function HD(e){return(t,n)=>-e(-t,n)}function H2(e){const t=e(qD,zD),n=t.domain;let r=10,a,s;function l(){return a=Gre(r),s=Fre(r),n()[0]<0?(a=HD(a),s=HD(s),e(Hre,Ure)):e(qD,zD),t}return t.base=function(c){return arguments.length?(r=+c,l()):r},t.domain=function(c){return arguments.length?(n(c),l()):n()},t.ticks=c=>{const f=n();let d=f[0],m=f[f.length-1];const p=m<d;p&&([d,m]=[m,d]);let y=a(d),b=a(m),A,S;const x=c==null?10:+c;let O=[];if(!(r%1)&&b-y<x){if(y=Math.floor(y),b=Math.ceil(b),d>0){for(;y<=b;++y)for(A=1;A<r;++A)if(S=y<0?A/s(-y):A*s(y),!(S<d)){if(S>m)break;O.push(S)}}else for(;y<=b;++y)for(A=r-1;A>=1;--A)if(S=y>0?A/s(-y):A*s(y),!(S<d)){if(S>m)break;O.push(S)}O.length*2<x&&(O=fS(d,m,x))}else O=fS(y,b,Math.min(b-y,x)).map(s);return p?O.reverse():O},t.tickFormat=(c,f)=>{if(c==null&&(c=10),f==null&&(f=r===10?"s":","),typeof f!="function"&&(!(r%1)&&(f=of(f)).precision==null&&(f.trim=!0),f=z2(f)),c===1/0)return f;const d=Math.max(1,r*c/t.ticks().length);return m=>{let p=m/s(Math.round(a(m)));return p*r<r-.5&&(p*=r),p<=d?f(m):""}},t.nice=()=>n(SB(n(),{floor:c=>s(Math.floor(a(c))),ceil:c=>s(Math.ceil(a(c)))})),t}function AB(){const e=H2(Dm()).domain([1,10]);return e.copy=()=>ed(e,AB()).base(e.base()),qr.apply(e,arguments),e}
309function UD(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function VD(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function U2(e){var t=1,n=e(UD(t),VD(t));return n.constant=function(r){return arguments.length?e(UD(t=+r),VD(t)):t},os(n)}function OB(){var e=U2(Dm());return e.copy=function(){return ed(e,OB()).constant(e.constant())},qr.apply(e,arguments)}function FD(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Kre(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Yre(e){return e<0?-e*e:e*e}function V2(e){var t=e(zn,zn),n=1;function r(){return n===1?e(zn,zn):n===.5?e(Kre,Yre):e(FD(n),FD(1/n))}return t.exponent=function(a){return arguments.length?(n=+a,r()):n},os(t)}function F2(){var e=V2(Dm());return e.copy=function(){return ed(e,F2()).exponent(e.exponent())},qr.apply(e,arguments),e}function Wre(){return F2.apply(null,arguments).exponent(.5)}function GD(e){return Math.sign(e)*e*e}function Qre(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function TB(){var e=L2(),t=[0,1],n=!1,r;function a(s){var l=Qre(e(s));return isNaN(l)?r:n?Math.round(l):l}return a.invert=function(s){return e.invert(GD(s))},a.domain=function(s){return arguments.length?(e.domain(s),a):e.domain()},a.range=function(s){return arguments.length?(e.range((t=Array.from(s,Ah)).map(GD)),a):t.slice()},a.rangeRound=function(s){return a.range(s).round(!0)},a.round=function(s){return arguments.length?(n=!!s,a):n},a.clamp=function(s){return arguments.length?(e.clamp(s),a):e.clamp()},a.unknown=function(s){return arguments.length?(r=s,a):r},a.copy=function(){return TB(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},qr.apply(a,arguments),os(a)}function jB(){var e=[],t=[],n=[],r;function a(){var l=0,c=Math.max(1,t.length);for(n=new Array(c-1);++l<c;)n[l-1]=tre(e,l/c);return s}function s(l){return l==null||isNaN(l=+l)?r:t[Zf(n,l)]}return s.invertExtent=function(l){var c=t.indexOf(l);return c<0?[NaN,NaN]:[c>0?n[c-1]:e[0],c<n.length?n[c]:e[e.length-1]]},s.domain=function(l){if(!arguments.length)return e.slice();e=[];for(let c of l)c!=null&&!isNaN(c=+c)&&e.push(c);return e.sort(Yi),a()},s.range=function(l){return arguments.length?(t=Array.from(l),a()):t.slice()},s.unknown=function(l){return arguments.length?(r=l,s):r},s.quantiles=function(){return n.slice()},s.copy=function(){return jB().domain(e).range(t).unknown(r)},qr.apply(s,arguments)}function EB(){var e=0,t=1,n=1,r=[.5],a=[0,1],s;function l(f){return f!=null&&f<=f?a[Zf(r,f,0,n)]:s}function c(){var f=-1;for(r=new Array(n);++f<n;)r[f]=((f+1)*t-(f-n)*e)/(n+1);return l}return l.domain=function(f){return arguments.length?([e,t]=f,e=+e,t=+t,c()):[e,t]},l.range=function(f){return arguments.length?(n=(a=Array.from(f)).length-1,c()):a.slice()},l.invertExtent=function(f){var d=a.indexOf(f);return d<0?[NaN,NaN]:d<1?[e,r[0]]:d>=n?[r[n-1],t]:[r[d-1],r[d]]},l.unknown=function(f){return arguments.length&&(s=f),l},l.thresholds=function(){return r.slice()},l.copy=function(){return EB().domain([e,t]).range(a).unknown(s)},qr.apply(os(l),arguments)}function CB(){var e=[.5],t=[0,1],n,r=1;function a(s){return s!=null&&s<=s?t[Zf(e,s,0,r)]:n}return a.domain=function(s){return arguments.length?(e=Array.from(s),r=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(s){return arguments.length?(t=Array.from(s),r=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(s){var l=t.indexOf(s);return[e[l-1],e[l]]},a.unknown=function(s){return arguments.length?(n=s,a):n},a.copy=function(){return CB().domain(e).range(t).unknown(n)},qr.apply(a,arguments)}const r1=new Date,a1=new Date;function nn(e,t,n,r){function a(s){return e(s=arguments.length===0?new Date:new Date(+s)),s}return a.floor=s=>(e(s=new Date(+s)),s),a.ceil=s=>(e(s=new Date(s-1)),t(s,1),e(s),s),a.round=s=>{const l=a(s),c=a.ceil(s);return s-l<c-s?l:c},a.offset=(s,l)=>(t(s=new Date(+s),l==null?1:Math.floor(l)),s),a.range=(s,l,c)=>{const f=[];if(s=a.ceil(s),c=c==null?1:Math.floor(c),!(s<l)||!(c>0))return f;let d;do f.push(d=new Date(+s)),t(s,c),e(s);while(d<s&&s<l);return f},a.filter=s=>nn(l=>{if(l>=l)for(;e(l),!s(l);)l.setTime(l-1)},(l,c)=>{if(l>=l)if(c<0)for(;++c<=0;)for(;t(l,-1),!s(l););else for(;--c>=0;)for(;t(l,1),!s(l););}),n&&(a.count=(s,l)=>(r1.setTime(+s),a1.setTime(+l),e(r1),e(a1),Math.floor(n(r1,a1))),a.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?a.filter(r?l=>r(l)%s===0:l=>a.count(0,l)%s===0):a)),a}const jh=nn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);jh.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?nn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):jh);jh.range;const Qa=1e3,kr=Qa*60,Xa=kr*60,ii=Xa*24,G2=ii*7,KD=ii*30,i1=ii*365,zs=nn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Qa)},(e,t)=>(t-e)/Qa,e=>e.getUTCSeconds());zs.range;const K2=nn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Qa)},(e,t)=>{e.setTime(+e+t*kr)},(e,t)=>(t-e)/kr,e=>e.getMinutes());K2.range;const Y2=nn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*kr)},(e,t)=>(t-e)/kr,e=>e.getUTCMinutes());Y2.range;const W2=nn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Qa-e.getMinutes()*kr)},(e,t)=>{e.setTime(+e+t*Xa)},(e,t)=>(t-e)/Xa,e=>e.getHours());W2.range;const Q2=nn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Xa)},(e,t)=>(t-e)/Xa,e=>e.getUTCHours());Q2.range;const td=nn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*kr)/ii,e=>e.getDate()-1);td.range;
vendor: 6,482 bytes, line 309
309const km=nn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ii,e=>e.getUTCDate()-1);km.range;const RB=nn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ii,e=>Math.floor(e/ii));RB.range;function uo(e){return nn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*kr)/G2)}const Im=uo(0),Eh=uo(1),Xre=uo(2),Zre=uo(3),Il=uo(4),Jre=uo(5),eae=uo(6);Im.range;Eh.range;Xre.range;Zre.range;Il.range;Jre.range;eae.range;function fo(e){return nn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/G2)}const $m=fo(0),Ch=fo(1),tae=fo(2),nae=fo(3),$l=fo(4),rae=fo(5),aae=fo(6);$m.range;Ch.range;tae.range;nae.range;$l.range;rae.range;aae.range;const X2=nn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());X2.range;const Z2=nn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Z2.range;const si=nn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());si.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:nn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});si.range;const oi=nn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());oi.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:nn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});oi.range;function _B(e,t,n,r,a,s){const l=[[zs,1,Qa],[zs,5,5*Qa],[zs,15,15*Qa],[zs,30,30*Qa],[s,1,kr],[s,5,5*kr],[s,15,15*kr],[s,30,30*kr],[a,1,Xa],[a,3,3*Xa],[a,6,6*Xa],[a,12,12*Xa],[r,1,ii],[r,2,2*ii],[n,1,G2],[t,1,KD],[t,3,3*KD],[e,1,i1]];function c(d,m,p){const y=m<d;y&&([d,m]=[m,d]);const b=p&&typeof p.range=="function"?p:f(d,m,p),A=b?b.range(d,+m+1):[];return y?A.reverse():A}function f(d,m,p){const y=Math.abs(m-d)/p,b=D2(([,,x])=>x).right(l,y);if(b===l.length)return e.every(pS(d/i1,m/i1,p));if(b===0)return jh.every(Math.max(pS(d,m,p),1));const[A,S]=l[y/l[b-1][2]<l[b][2]/y?b-1:b];return A.every(S)}return[c,f]}const[iae,sae]=_B(oi,Z2,$m,RB,Q2,Y2),[oae,lae]=_B(si,X2,Im,td,W2,K2);function s1(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o1(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function fu(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function cae(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,s=e.days,l=e.shortDays,c=e.months,f=e.shortMonths,d=du(a),m=pu(a),p=du(s),y=pu(s),b=du(l),A=pu(l),S=du(c),x=pu(c),O=du(f),R=pu(f),j={a:L,A:q,b:Z,B:ie,c:null,d:JD,e:JD,f:Pae,g:Hae,G:Vae,H:Rae,I:_ae,j:Mae,L:MB,m:Nae,M:Dae,p:$,q:G,Q:n5,s:r5,S:kae,u:Iae,U:$ae,V:Bae,w:Lae,W:qae,x:null,X:null,y:zae,Y:Uae,Z:Fae,"%":t5},M={a:Y,A:J,b:ue,B:he,c:null,d:e5,e:e5,f:Wae,g:iie,G:oie,H:Gae,I:Kae,j:Yae,L:NB,m:Qae,M:Xae,p:me,q:be,Q:n5,s:r5,S:Zae,u:Jae,U:eie,V:tie,w:nie,W:rie,x:null,X:null,y:aie,Y:sie,Z:lie,"%":t5},T={a:z,A:B,b:U,B:F,c:K,d:XD,e:XD,f:Tae,g:QD,G:WD,H:ZD,I:ZD,j:wae,L:Oae,m:xae,M:Sae,p:k,q:bae,Q:Eae,s:Cae,S:Aae,u:hae,U:mae,V:gae,w:pae,W:yae,x:Q,X:I,y:QD,Y:WD,Z:vae,"%":jae};j.x=C(n,j),j.X=C(r,j),j.c=C(t,j),M.x=C(n,M),M.X=C(r,M),M.c=C(t,M);function C(de,ye){return function(Ae){var le=[],Le=-1,Te=0,nt=de.length,Ze,ut,jn;for(Ae instanceof Date||(Ae=new Date(+Ae));++Le<nt;)de.charCodeAt(Le)===37&&(le.push(de.slice(Te,Le)),(ut=YD[Ze=de.charAt(++Le)])!=null?Ze=de.charAt(++Le):ut=Ze==="e"?" ":"0",(jn=ye[Ze])&&(Ze=jn(Ae,ut)),le.push(Ze),Te=Le+1);return le.push(de.slice(Te,Le)),le.join("")}}function E(de,ye){return function(Ae){var le=fu(1900,void 0,1),Le=P(le,de,Ae+="",0),Te,nt;if(Le!=Ae.length)return null;if("Q"in le)return new Date(le.Q);if("s"in le)return new Date(le.s*1e3+("L"in le?le.L:0));if(ye&&!("Z"in le)&&(le.Z=0),"p"in le&&(le.H=le.H%12+le.p*12),le.m===void 0&&(le.m="q"in le?le.q:0),"V"in le){if(le.V<1||le.V>53)return null;"w"in le||(le.w=1),"Z"in le?(Te=o1(fu(le.y,0,1)),nt=Te.getUTCDay(),Te=nt>4||nt===0?Ch.ceil(Te):Ch(Te),Te=km.offset(Te,(le.V-1)*7),le.y=Te.getUTCFullYear(),le.m=Te.getUTCMonth(),le.d=Te.getUTCDate()+(le.w+6)%7):(Te=s1(fu(le.y,0,1)),nt=Te.getDay(),Te=nt>4||nt===0?Eh.ceil(Te):Eh(Te),Te=td.offset(Te,(le.V-1)*7),le.y=Te.getFullYear(),le.m=Te.getMonth(),le.d=Te.getDate()+(le.w+6)%7)}else("W"in le||"U"in le)&&("w"in le||(le.w="u"in le?le.u%7:"W"in le?1:0),nt="Z"in le?o1(fu(le.y,0,1)).getUTCDay():s1(fu(le.y,0,1)).getDay(),le.m=0,le.d="W"in le?(le.w+6)%7+le.W*7-(nt+5)%7:le.w+le.U*7-(nt+6)%7);return"Z"in le?(le.H+=le.Z/100|0,le.M+=le.Z%100,o1(le)):s1(le)}}function P(de,ye,Ae,le){for(var Le=0,Te=ye.length,nt=Ae.length,Ze,ut;Le<Te;){if(le>=nt)return-1;if(Ze=ye.charCodeAt(Le++),Ze===37){if(Ze=ye.charAt(Le++),ut=T[Ze in YD?ye.charAt(Le++):Ze],!ut||(le=ut(de,Ae,le))<0)return-1}else if(Ze!=Ae.charCodeAt(le++))return-1}return le}function k(de,ye,Ae){var le=d.exec(ye.slice(Ae));return le?(de.p=m.get(le[0].toLowerCase()),Ae+le[0].length):-1}function z(de,ye,Ae){var le=b.exec(ye.slice(Ae));return le?(de.w=A.get(le[0].toLowerCase()),Ae+le[0].length):-1}function B(de,ye,Ae){var le=p.exec(ye.slice(Ae));return le?(de.w=y.get(le[0].toLowerCase()),Ae+le[0].length):-1}function U(de,ye,Ae){var le=O.exec(ye.slice(Ae));return le?(de.m=R.get(le[0].toLowerCase()),Ae+le[0].length):-1}function F(de,ye,Ae){var le=S.exec(ye.slice(Ae));return le?(de.m=x.get(le[0].toLowerCase()),Ae+le[0].length):-1}function K(de,ye,Ae){return P(de,t,ye,Ae)}function Q(de,ye,Ae){return P(de,n,ye,Ae)}function I(de,ye,Ae){return P(de,r,ye,Ae)}function L(de){return l[de.getDay()]}function q(de){return s[de.getDay()]}function Z(de){return f[de.getMonth()]}function ie(de){return c[de.getMonth()]}function $(de){return a[+(de.getHours()>=12)]}function G(de){return 1+~~(de.getMonth()/3)}function Y(de){return l[de.getUTCDay()]}
vendor: 5,267 bytes, line 309
309function J(de){return s[de.getUTCDay()]}function ue(de){return f[de.getUTCMonth()]}function he(de){return c[de.getUTCMonth()]}function me(de){return a[+(de.getUTCHours()>=12)]}function be(de){return 1+~~(de.getUTCMonth()/3)}return{format:function(de){var ye=C(de+="",j);return ye.toString=function(){return de},ye},parse:function(de){var ye=E(de+="",!1);return ye.toString=function(){return de},ye},utcFormat:function(de){var ye=C(de+="",M);return ye.toString=function(){return de},ye},utcParse:function(de){var ye=E(de+="",!0);return ye.toString=function(){return de},ye}}}var YD={"-":"",_:" ",0:"0"},hn=/^\s*\d+/,uae=/^%/,fae=/[\\^$*+?|[\]().{}]/g;function Xe(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",s=a.length;return r+(s<n?new Array(n-s+1).join(t)+a:a)}function dae(e){return e.replace(fae,"\\$&")}function du(e){return new RegExp("^(?:"+e.map(dae).join("|")+")","i")}function pu(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function pae(e,t,n){var r=hn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function hae(e,t,n){var r=hn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function mae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function yae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function WD(e,t,n){var r=hn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function QD(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function vae(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function bae(e,t,n){var r=hn.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function xae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function XD(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function wae(e,t,n){var r=hn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ZD(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Sae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Aae(e,t,n){var r=hn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Oae(e,t,n){var r=hn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Tae(e,t,n){var r=hn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function jae(e,t,n){var r=uae.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Eae(e,t,n){var r=hn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Cae(e,t,n){var r=hn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function JD(e,t){return Xe(e.getDate(),t,2)}function Rae(e,t){return Xe(e.getHours(),t,2)}function _ae(e,t){return Xe(e.getHours()%12||12,t,2)}function Mae(e,t){return Xe(1+td.count(si(e),e),t,3)}function MB(e,t){return Xe(e.getMilliseconds(),t,3)}function Pae(e,t){return MB(e,t)+"000"}function Nae(e,t){return Xe(e.getMonth()+1,t,2)}function Dae(e,t){return Xe(e.getMinutes(),t,2)}function kae(e,t){return Xe(e.getSeconds(),t,2)}function Iae(e){var t=e.getDay();return t===0?7:t}function $ae(e,t){return Xe(Im.count(si(e)-1,e),t,2)}function PB(e){var t=e.getDay();return t>=4||t===0?Il(e):Il.ceil(e)}function Bae(e,t){return e=PB(e),Xe(Il.count(si(e),e)+(si(e).getDay()===4),t,2)}function Lae(e){return e.getDay()}function qae(e,t){return Xe(Eh.count(si(e)-1,e),t,2)}function zae(e,t){return Xe(e.getFullYear()%100,t,2)}function Hae(e,t){return e=PB(e),Xe(e.getFullYear()%100,t,2)}function Uae(e,t){return Xe(e.getFullYear()%1e4,t,4)}function Vae(e,t){var n=e.getDay();return e=n>=4||n===0?Il(e):Il.ceil(e),Xe(e.getFullYear()%1e4,t,4)}function Fae(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Xe(t/60|0,"0",2)+Xe(t%60,"0",2)}function e5(e,t){return Xe(e.getUTCDate(),t,2)}function Gae(e,t){return Xe(e.getUTCHours(),t,2)}function Kae(e,t){return Xe(e.getUTCHours()%12||12,t,2)}function Yae(e,t){return Xe(1+km.count(oi(e),e),t,3)}function NB(e,t){return Xe(e.getUTCMilliseconds(),t,3)}function Wae(e,t){return NB(e,t)+"000"}function Qae(e,t){return Xe(e.getUTCMonth()+1,t,2)}function Xae(e,t){return Xe(e.getUTCMinutes(),t,2)}function Zae(e,t){return Xe(e.getUTCSeconds(),t,2)}function Jae(e){var t=e.getUTCDay();return t===0?7:t}function eie(e,t){return Xe($m.count(oi(e)-1,e),t,2)}function DB(e){var t=e.getUTCDay();return t>=4||t===0?$l(e):$l.ceil(e)}function tie(e,t){return e=DB(e),Xe($l.count(oi(e),e)+(oi(e).getUTCDay()===4),t,2)}function nie(e){return e.getUTCDay()}function rie(e,t){return Xe(Ch.count(oi(e)-1,e),t,2)}function aie(e,t){return Xe(e.getUTCFullYear()%100,t,2)}function iie(e,t){return e=DB(e),Xe(e.getUTCFullYear()%100,t,2)}function sie(e,t){return Xe(e.getUTCFullYear()%1e4,t,4)}function oie(e,t){var n=e.getUTCDay();return e=n>=4||n===0?$l(e):$l.ceil(e),Xe(e.getUTCFullYear()%1e4,t,4)}function lie(){return"+0000"}function t5(){return"%"}function n5(e){return+e}function r5(e){return Math.floor(+e/1e3)}var sl,kB,IB;cie({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
309ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function cie(e){return sl=cae(e),kB=sl.format,sl.parse,IB=sl.utcFormat,sl.utcParse,sl}function uie(e){return new Date(e)}function fie(e){return e instanceof Date?+e:+new Date(+e)}function J2(e,t,n,r,a,s,l,c,f,d){var m=L2(),p=m.invert,y=m.domain,b=d(".%L"),A=d(":%S"),S=d("%I:%M"),x=d("%I %p"),O=d("%a %d"),R=d("%b %d"),j=d("%B"),M=d("%Y");function T(C){return(f(C)<C?b:c(C)<C?A:l(C)<C?S:s(C)<C?x:r(C)<C?a(C)<C?O:R:n(C)<C?j:M)(C)}return m.invert=function(C){return new Date(p(C))},m.domain=function(C){return arguments.length?y(Array.from(C,fie)):y().map(uie)},m.ticks=function(C){var E=y();return e(E[0],E[E.length-1],C??10)},m.tickFormat=function(C,E){return E==null?T:d(E)},m.nice=function(C){var E=y();return(!C||typeof C.range!="function")&&(C=t(E[0],E[E.length-1],C??10)),C?y(SB(E,C)):m},m.copy=function(){return ed(m,J2(e,t,n,r,a,s,l,c,f,d))},m}function die(){return qr.apply(J2(oae,lae,si,X2,Im,td,W2,K2,zs,kB).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function pie(){return qr.apply(J2(iae,sae,oi,Z2,$m,km,Q2,Y2,zs,IB).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Bm(){var e=0,t=1,n,r,a,s,l=zn,c=!1,f;function d(p){return p==null||isNaN(p=+p)?f:l(a===0?.5:(p=(s(p)-n)*a,c?Math.max(0,Math.min(1,p)):p))}d.domain=function(p){return arguments.length?([e,t]=p,n=s(e=+e),r=s(t=+t),a=n===r?0:1/(r-n),d):[e,t]},d.clamp=function(p){return arguments.length?(c=!!p,d):c},d.interpolator=function(p){return arguments.length?(l=p,d):l};function m(p){return function(y){var b,A;return arguments.length?([b,A]=y,l=p(b,A),d):[l(0),l(1)]}}return d.range=m(uc),d.rangeRound=m(B2),d.unknown=function(p){return arguments.length?(f=p,d):f},function(p){return s=p,n=p(e),r=p(t),a=n===r?0:1/(r-n),d}}function ls(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function $B(){var e=os(Bm()(zn));return e.copy=function(){return ls(e,$B())},fi.apply(e,arguments)}function BB(){var e=H2(Bm()).domain([1,10]);return e.copy=function(){return ls(e,BB()).base(e.base())},fi.apply(e,arguments)}function LB(){var e=U2(Bm());return e.copy=function(){return ls(e,LB()).constant(e.constant())},fi.apply(e,arguments)}function eO(){var e=V2(Bm());return e.copy=function(){return ls(e,eO()).exponent(e.exponent())},fi.apply(e,arguments)}function hie(){return eO.apply(null,arguments).exponent(.5)}function qB(){var e=[],t=zn;function n(r){if(r!=null&&!isNaN(r=+r))return t((Zf(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let a of r)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(Yi),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,a)=>t(a/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(a,s)=>ere(e,s/r))},n.copy=function(){return qB(t).domain(e)},fi.apply(n,arguments)}function Lm(){var e=0,t=.5,n=1,r=1,a,s,l,c,f,d=zn,m,p=!1,y;function b(S){return isNaN(S=+S)?y:(S=.5+((S=+m(S))-s)*(r*S<r*s?c:f),d(p?Math.max(0,Math.min(1,S)):S))}b.domain=function(S){return arguments.length?([e,t,n]=S,a=m(e=+e),s=m(t=+t),l=m(n=+n),c=a===s?0:.5/(s-a),f=s===l?0:.5/(l-s),r=s<a?-1:1,b):[e,t,n]},b.clamp=function(S){return arguments.length?(p=!!S,b):p},b.interpolator=function(S){return arguments.length?(d=S,b):d};function A(S){return function(x){var O,R,j;return arguments.length?([O,R,j]=x,d=jre(S,[O,R,j]),b):[d(0),d(.5),d(1)]}}return b.range=A(uc),b.rangeRound=A(B2),b.unknown=function(S){return arguments.length?(y=S,b):y},function(S){return m=S,a=S(e),s=S(t),l=S(n),c=a===s?0:.5/(s-a),f=s===l?0:.5/(l-s),r=s<a?-1:1,b}}function zB(){var e=os(Lm()(zn));return e.copy=function(){return ls(e,zB())},fi.apply(e,arguments)}function HB(){var e=H2(Lm()).domain([.1,1,10]);return e.copy=function(){return ls(e,HB()).base(e.base())},fi.apply(e,arguments)}function UB(){var e=U2(Lm());return e.copy=function(){return ls(e,UB()).constant(e.constant())},fi.apply(e,arguments)}function tO(){var e=V2(Lm());return e.copy=function(){return ls(e,tO()).exponent(e.exponent())},fi.apply(e,arguments)}function mie(){return tO.apply(null,arguments).exponent(.5)}const a5=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:nf,scaleDiverging:zB,scaleDivergingLog:HB,scaleDivergingPow:tO,scaleDivergingSqrt:mie,scaleDivergingSymlog:UB,scaleIdentity:wB,scaleImplicit:hS,scaleLinear:Th,scaleLog:AB,scaleOrdinal:k2,scalePoint:_u,scalePow:F2,scaleQuantile:jB,scaleQuantize:EB,scaleRadial:TB,scaleSequential:$B,scaleSequentialLog:BB,scaleSequentialPow:eO,scaleSequentialQuantile:qB,scaleSequentialSqrt:hie,scaleSequentialSymlog:LB,scaleSqrt:Wre,scaleSymlog:OB,scaleThreshold:CB,scaleTime:die,scaleUtc:pie,tickFormat:
vendor: 65,623 bytes, lines 309-335
309xB},Symbol.toStringTag,{value:"Module"}));var l1,i5;function VB(){if(i5)return l1;i5=1;var e=oc();function t(n,r,a){for(var s=-1,l=n.length;++s<l;){var c=n[s],f=r(c);if(f!=null&&(d===void 0?f===f&&!e(f):a(f,d)))var d=f,m=c}return m}return l1=t,l1}var c1,s5;function gie(){if(s5)return c1;s5=1;function e(t,n){return t>n}return c1=e,c1}var u1,o5;function yie(){if(o5)return u1;o5=1;var e=VB(),t=gie(),n=cc();function r(a){return a&&a.length?e(a,n,t):void 0}return u1=r,u1}var vie=yie();const qm=mt(vie);var f1,l5;function bie(){if(l5)return f1;l5=1;function e(t,n){return t<n}return f1=e,f1}var d1,c5;function xie(){if(c5)return d1;c5=1;var e=VB(),t=bie(),n=cc();function r(a){return a&&a.length?e(a,n,t):void 0}return d1=r,d1}var wie=xie();const zm=mt(wie);var p1,u5;function Sie(){if(u5)return p1;u5=1;var e=g2(),t=ss(),n=eB(),r=nr();function a(s,l){var c=r(s)?e:n;return c(s,t(l,3))}return p1=a,p1}var h1,f5;function Aie(){if(f5)return h1;f5=1;var e=Z$(),t=Sie();function n(r,a){return e(t(r,a),1)}return h1=n,h1}var Oie=Aie();const Tie=mt(Oie);var m1,d5;function jie(){if(d5)return m1;d5=1;var e=R2();function t(n,r){return e(n,r)}return m1=t,m1}var Eie=jie();const nO=mt(Eie);var fc=1e9,Cie={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},aO,Et=!0,Lr="[DecimalError] ",Ks=Lr+"Invalid argument: ",rO=Lr+"Exponent out of range: ",dc=Math.floor,ks=Math.pow,Rie=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,gr,fn=1e7,At=7,FB=9007199254740991,Rh=dc(FB/At),ve={};ve.absoluteValue=ve.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};ve.comparedTo=ve.cmp=function(e){var t,n,r,a,s=this;if(e=new s.constructor(e),s.s!==e.s)return s.s||-e.s;if(s.e!==e.e)return s.e>e.e^s.s<0?1:-1;for(r=s.d.length,a=e.d.length,t=0,n=r<a?r:a;t<n;++t)if(s.d[t]!==e.d[t])return s.d[t]>e.d[t]^s.s<0?1:-1;return r===a?0:r>a^s.s<0?1:-1};ve.decimalPlaces=ve.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*At;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};ve.dividedBy=ve.div=function(e){return Ja(this,new this.constructor(e))};ve.dividedToIntegerBy=ve.idiv=function(e){var t=this,n=t.constructor;return vt(Ja(t,new n(e),0,1),n.precision)};ve.equals=ve.eq=function(e){return!this.cmp(e)};ve.exponent=function(){return Wt(this)};ve.greaterThan=ve.gt=function(e){return this.cmp(e)>0};ve.greaterThanOrEqualTo=ve.gte=function(e){return this.cmp(e)>=0};ve.isInteger=ve.isint=function(){return this.e>this.d.length-2};ve.isNegative=ve.isneg=function(){return this.s<0};ve.isPositive=ve.ispos=function(){return this.s>0};ve.isZero=function(){return this.s===0};ve.lessThan=ve.lt=function(e){return this.cmp(e)<0};ve.lessThanOrEqualTo=ve.lte=function(e){return this.cmp(e)<1};ve.logarithm=ve.log=function(e){var t,n=this,r=n.constructor,a=r.precision,s=a+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(gr))throw Error(Lr+"NaN");if(n.s<1)throw Error(Lr+(n.s?"NaN":"-Infinity"));return n.eq(gr)?new r(0):(Et=!1,t=Ja(lf(n,s),lf(e,s),s),Et=!0,vt(t,a))};ve.minus=ve.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?YB(t,e):GB(t,(e.s=-e.s,e))};ve.modulo=ve.mod=function(e){var t,n=this,r=n.constructor,a=r.precision;if(e=new r(e),!e.s)throw Error(Lr+"NaN");return n.s?(Et=!1,t=Ja(n,e,0,1).times(e),Et=!0,n.minus(t)):vt(new r(n),a)};ve.naturalExponential=ve.exp=function(){return KB(this)};ve.naturalLogarithm=ve.ln=function(){return lf(this)};ve.negated=ve.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ve.plus=ve.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?GB(t,e):YB(t,(e.s=-e.s,e))};ve.precision=ve.sd=function(e){var t,n,r,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Ks+e);if(t=Wt(a)+1,r=a.d.length-1,n=r*At+1,r=a.d[r],r){for(;r%10==0;r/=10)n--;for(r=a.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};ve.squareRoot=ve.sqrt=function(){var e,t,n,r,a,s,l,c=this,f=c.constructor;if(c.s<1){if(!c.s)return new f(0);throw Error(Lr+"NaN")}for(e=Wt(c),Et=!1,a=Math.sqrt(+c),a==0||a==1/0?(t=pa(c.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=dc((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new f(t)):r=new f(a.toString()),n=f.precision,a=l=n+3;;)if(s=r,r=s.plus(Ja(c,s,l+2)).times(.5),pa(s.d).slice(0,l)===(t=pa(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),a==l&&t=="4999"){if(vt(s,n+1,0),s.times(s).eq(c)){r=s;break}}else if(t!="9999")break;l+=4}return Et=!0,vt(r,n)};ve.times=ve.mul=function(e){var t,n,r,a,s,l,c,f,d,m=this,p=m.constructor,y=m.d,b=(e=new p(e)).d;if(!m.s||!e.s)return new p(0);for(e.s*=m.s,n=m.e+e.e,f=y.length,d=b.length,f<d&&(s=y,y=b,b=s,l=f,f=d,d=l),s=[],l=f+d,r=l;r--;)s.push(0);for(r=d;--r>=0;){for(t=0,a=f+r;a>r;)c=s[a]+b[r]*y[a-r-1]+t,s[a--]=c%fn|0,t=c/fn|0;s[a]=(s[a]+t)%fn|0}for(;!s[--l];)s.pop();return t?++n:s.shift(),e.d=s,e.e=n,Et?vt(e,p.precision):e};ve.toDecimalPlaces=ve.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(xa(e,0,fc),t===void 0?t=r.rounding:xa(t,0,8),vt(n,e+Wt(n)+1,t))};ve.toExponential=function(e,t){var n,r=this,a=r.constructor;return e===void 0?n=eo(r,!0):(xa(e,0,fc),t===void 0?t=a.rounding:xa(t,0,8),r=vt(new a(r),e+1,t),n=eo(r,!0,e+1)),n};ve.toFixed=function(e,t){var n,r,a=this,s=a.constructor;return e===void 0?eo(a):(xa(e,0,fc),t===void 0?t=s.rounding:xa(t,0,8),r=vt(new s(a),e+Wt(a)+1,t),n=eo(r.abs(),!1,e+Wt(r)+1),a.isneg()&&!a.isZero()?"-"+n:n)};ve.toInteger=ve.toint=function(){var e=this,t=e.constructor;return vt(new t(e),Wt(e)+1,t.rounding)};ve.toNumber=function(){return+this};ve.toPower=ve.pow=function(e){var t,n,r,a,s,l,c=this,f=c.constructor,d=12,m=+(e=new f(e));if(!e.s)return new f(gr);if(c=new f(c),!c.s){if(e.s<1)throw Error(Lr+"Infinity");return c}if(c.eq(gr))return c;if(r=f.precision,e.eq(gr))return vt(c,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=c.s,l){if((n=m<0?-m:m)<=FB){for(a=new f(gr),t=Math.ceil(r/At+4),Et=!1;n%2&&(a=a.times(c),h5(a.d,t)),n=dc(n/2),n!==0;)c=c.times(c),h5(c.d,t);return Et=!0,e.s<0?new f(gr).div(a):vt(a,r)}}else if(s<0)throw Error(Lr+"NaN");return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,c.s=1,Et=!1,a=e.times(lf(c,r+d)),Et=!0,a=KB(a),a.s=s,a};ve.toPrecision=function(e,t){var n,r,a=this,s=a.constructor;return e===void 0?(n=Wt(a),r=eo(a,n<=s.toExpNeg||n>=s.toExpPos)):(xa(e,1,fc),t===void 0?t=s.rounding:xa(t,0,8),a=vt(new s(a),e,t),n=Wt(a),r=eo(a,e<=n||n<=s.toExpNeg,e)),r};ve.toSignificantDigits=ve.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(xa(e,1,fc),t===void 0?t=r.rounding:xa(t,0,8)),vt(new r(n),e,t)};ve.toString=ve.valueOf=ve.val=ve.toJSON=ve[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Wt(e),n=e.constructor;return eo(e,t<=n.toExpNeg||t>=n.toExpPos)};function GB(e,t){var n,r,a,s,l,c,f,d,m=e.constructor,p=m.precision;if(!e.s||!t.s)return t.s||(t=new m(e)),Et?vt(t,p):t;if(f=e.d,d=t.d,l=e.e,a=t.e,f=f.slice(),s=l-a,s){for(s<0?(r=f,s=-s,c=d.length):(r=d,a=l,c=f.length),l=Math.ceil(p/At),c=l>c?l+1:c+1,s>c&&(s=c,r.length=1),r.reverse();s--;)r.push(0);r.reverse()}for(c=f.length,s=d.length,c-s<0&&(s=c,r=d,d=f,f=r),n=0;s;)n=(f[--s]=f[s]+d[s]+n)/fn|0,f[s]%=fn;for(n&&(f.unshift(n),++a),c=f.length;f[--c]==0;)f.pop();return t.d=f,t.e=a,Et?vt(t,p):t}function xa(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Ks+e)}function pa(e){var t,n,r,a=e.length-1,s="",l=e[0];if(a>0){for(s+=l,t=1;t<a;t++)r=e[t]+"",n=At-r.length,n&&(s+=Hi(n)),s+=r;l=e[t],r=l+"",n=At-r.length,n&&(s+=Hi(n))}else if(l===0)return"0";for(;l%10===0;)l/=10;return s+l}var Ja=(function(){function e(r,a){var s,l=0,c=r.length;for(r=r.slice();c--;)s=r[c]*a+l,r[c]=s%fn|0,l=s/fn|0;return l&&r.unshift(l),r}function t(r,a,s,l){var c,f;if(s!=l)f=s>l?1:-1;else for(c=f=0;c<s;c++)if(r[c]!=a[c]){f=r[c]>a[c]?1:-1;break}return f}function n(r,a,s){for(var l=0;s--;)r[s]-=l,l=r[s]<a[s]?1:0,r[s]=l*fn+r[s]-a[s];for(;!r[0]&&r.length>1;)r.shift()}return function(r,a,s,l){var c,f,d,m,p,y,b,A,S,x,O,R,j,M,T,C,E,P,k=r.constructor,z=r.s==a.s?1:-1,B=r.d,U=a.d;if(!r.s)return new k(r);if(!a.s)throw Error(Lr+"Division by zero");for(f=r.e-a.e,E=U.length,T=B.length,b=new k(z),A=b.d=[],d=0;U[d]==(B[d]||0);)++d;if(U[d]>(B[d]||0)&&--f,s==null?R=s=k.precision:l?R=s+(Wt(r)-Wt(a))+1:R=s,R<0)return new k(0);if(R=R/At+2|0,d=0,E==1)for(m=0,U=U[0],R++;(d<T||m)&&R--;d++)j=m*fn+(B[d]||0),A[d]=j/U|0,m=j%U|0;else{for(m=fn/(U[0]+1)|0,m>1&&(U=e(U,m),B=e(B,m),E=U.length,T=B.length),M=E,S=B.slice(0,E),x=S.length;x<E;)S[x++]=0;P=U.slice(),P.unshift(0),C=U[0],U[1]>=fn/2&&++C;do m=0,c=t(U,S,E,x),c<0?(O=S[0],E!=x&&(O=O*fn+(S[1]||0)),m=O/C|0,m>1?(m>=fn&&(m=fn-1),p=e(U,m),y=p.length,x=S.length,c=t(p,S,y,x),c==1&&(m--,n(p,E<y?P:U,y))):(m==0&&(c=m=1),p=U.slice()),y=p.length,y<x&&p.unshift(0),n(S,p,x),c==-1&&(x=S.length,c=t(U,S,E,x),c<1&&(m++,n(S,E<x?P:U,x))),x=S.length):c===0&&(m++,S=[0]),A[d++]=m,c&&S[0]?S[x++]=B[M]||0:(S=[B[M]],x=1);while((M++<T||S[0]!==void 0)&&R--)}return A[0]||A.shift(),b.e=f,vt(b,l?s+Wt(b)+1:s)}})();function KB(e,t){var n,r,a,s,l,c,f=0,d=0,m=e.constructor,p=m.precision;if(Wt(e)>16)throw Error(rO+Wt(e));if(!e.s)return new m(gr);for(Et=!1,c=p,l=new m(.03125);e.abs().gte(.1);)e=e.times(l),d+=5;for(r=Math.log(ks(2,d))/Math.LN10*2+5|0,c+=r,n=a=s=new m(gr),m.precision=c;;){if(a=vt(a.times(e),c),n=n.times(++f),l=s.plus(Ja(a,n,c)),pa(l.d).slice(0,c)===pa(s.d).slice(0,c)){for(;d--;)s=vt(s.times(s),c);return m.precision=p,t==null?(Et=!0,vt(s,p)):s}s=l}}function Wt(e){for(var t=e.e*At,n=e.d[0];n>=10;n/=10)t++;return t}function g1(e,t,n){if(t>e.LN10.sd())throw Et=!0,n&&(e.precision=n),Error(Lr+"LN10 precision limit exceeded");return vt(new e(e.LN10),t)}function Hi(e){for(var t="";e--;)t+="0";return t}function lf(e,t){var n,r,a,s,l,c,f,d,m,p=1,y=10,b=e,A=b.d,S=b.constructor,x=S.precision;if(b.s<1)throw Error(Lr+(b.s?"NaN":"-Infinity"));if(b.eq(gr))return new S(0);if(t==null?(Et=!1,d=x):d=t,b.eq(10))return t==null&&(Et=!0),g1(S,d);if(d+=y,S.precision=d,n=pa(A),r=n.charAt(0),s=Wt(b),Math.abs(s)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)b=b.times(e),n=pa(b.d),r=n.charAt(0),p++;s=Wt(b),r>1?(b=new S("0."+n),s++):b=new S(r+"."+n.slice(1))}else return f=g1(S,d+2,x).times(s+""),b=lf(new S(r+"."+n.slice(1)),d-y).plus(f),S.precision=x,t==null?(Et=!0,vt(b,x)):b;for(c=l=b=Ja(b.minus(gr),b.plus(gr),d),m=vt(b.times(b),d),a=3;;){if(l=vt(l.times(m),d),f=c.plus(Ja(l,new S(a),d)),pa(f.d).slice(0,d)===pa(c.d).slice(0,d))return c=c.times(2),s!==0&&(c=c.plus(g1(S,d+2,x).times(s+""))),c=Ja(c,new S(p),d),S.precision=x,t==null?(Et=!0,vt(c,x)):c;c=f,a+=2}}function p5(e,t){var n,r,a;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=dc(n/At),e.d=[],r=(n+1)%At,n<0&&(r+=At),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=At;r<a;)e.d.push(+t.slice(r,r+=At));t=t.slice(r),r=At-t.length}else r-=a;for(;r--;)t+="0";if(e.d.push(+t),Et&&(e.e>Rh||e.e<-Rh))throw Error(rO+n)}else e.s=0,e.e=0,e.d=[0];return e}function vt(e,t,n){var r,a,s,l,c,f,d,m,p=e.d;for(l=1,s=p[0];s>=10;s/=10)l++;if(r=t-l,r<0)r+=At,a=t,d=p[m=0];else{if(m=Math.ceil((r+1)/At),s=p.length,m>=s)return e;for(d=s=p[m],l=1;s>=10;s/=10)l++;r%=At,a=r-At+l}if(n!==void 0&&(s=ks(10,l-a-1),c=d/s%10|0,f=t<0||p[m+1]!==void 0||d%s,f=n<4?(c||f)&&(n==0||n==(e.s<0?3:2)):c>5||c==5&&(n==4||f||n==6&&(r>0?a>0?d/ks(10,l-a):0:p[m-1])%10&1||n==(e.s<0?8:7))),t<1||!p[0])return f?(s=Wt(e),p.length=1,t=t-s-1,p[0]=ks(10,(At-t%At)%At),e.e=dc(-t/At)||0):(p.length=1,p[0]=e.e=e.s=0),e;if(r==0?(p.length=m,s=1,m--):(p.length=m+1,s=ks(10,At-r),p[m]=a>0?(d/ks(10,l-a)%ks(10,a)|0)*s:0),f)for(;;)if(m==0){(p[0]+=s)==fn&&(p[0]=1,++e.e);break}else{if(p[m]+=s,p[m]!=fn)break;p[m--]=0,s=1}for(r=p.length;p[--r]===0;)p.pop();if(Et&&(e.e>Rh||e.e<-Rh))throw Error(rO+Wt(e));return e}function YB(e,t){var n,r,a,s,l,c,f,d,m,p,y=e.constructor,b=y.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new y(e),Et?vt(t,b):t;if(f=e.d,p=t.d,r=t.e,d=e.e,f=f.slice(),l=d-r,l){for(m=l<0,m?(n=f,l=-l,c=p.length):(n=p,r=d,c=f.length),a=Math.max(Math.ceil(b/At),c)+2,l>a&&(l=a,n.length=1),n.reverse(),a=l;a--;)n.push(0);n.reverse()}else{for(a=f.length,c=p.length,m=a<c,m&&(c=a),a=0;a<c;a++)if(f[a]!=p[a]){m=f[a]<p[a];break}l=0}for(m&&(n=f,f=p,p=n,t.s=-t.s),c=f.length,a=p.length-c;a>0;--a)f[c++]=0;for(a=p.length;a>l;){if(f[--a]<p[a]){for(s=a;s&&f[--s]===0;)f[s]=fn-1;--f[s],f[a]+=fn}f[a]-=p[a]}for(;f[--c]===0;)f.pop();for(;f[0]===0;f.shift())--r;return f[0]?(t.d=f,t.e=r,Et?vt(t,b):t):new y(0)}function eo(e,t,n){var r,a=Wt(e),s=pa(e.d),l=s.length;return t?(n&&(r=n-l)>0?s=s.charAt(0)+"."+s.slice(1)+Hi(r):l>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(a<0?"e":"e+")+a):a<0?(s="0."+Hi(-a-1)+s,n&&(r=n-l)>0&&(s+=Hi(r))):a>=l?(s+=Hi(a+1-l),n&&(r=n-a-1)>0&&(s=s+"."+Hi(r))):((r=a+1)<l&&(s=s.slice(0,r)+"."+s.slice(r)),n&&(r=n-l)>0&&(a+1===l&&(s+="."),s+=Hi(r))),e.s<0?"-"+s:s}function h5(e,t){if(e.length>t)return e.length=t,!0}function WB(e){var t,n,r;function a(s){var l=this;if(!(l instanceof a))return new a(s);if(l.constructor=a,s instanceof a){l.s=s.s,l.e=s.e,l.d=(s=s.d)?s.slice():s;return}if(typeof s=="number"){if(s*0!==0)throw Error(Ks+s);if(s>0)l.s=1;else if(s<0)s=-s,l.s=-1;else{l.s=0,l.e=0,l.d=[0];return}if(s===~~s&&s<1e7){l.e=0,l.d=[s];return}return p5(l,s.toString())}else if(typeof s!="string")throw Error(Ks+s);if(s.charCodeAt(0)===45?(s=s.slice(1),l.s=-1):l.s=1,Rie.test(s))p5(l,s);else throw Error(Ks+s)}if(a.prototype=ve,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=WB,a.config=a.set=_ie,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return a.config(e),a}function _ie(e){if(!e||typeof e!="object")throw Error(Lr+"Object expected");var t,n,r,a=["precision",1,fc,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((r=e[n=a[t]])!==void 0)if(dc(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(Ks+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Ks+n+": "+r);return this}var aO=WB(Cie);gr=new aO(1);const ht=aO;function Mie(e){return kie(e)||Die(e)||Nie(e)||Pie()}function Pie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
310In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nie(e,t){if(e){if(typeof e=="string")return vS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vS(e,t)}}function Die(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function kie(e){if(Array.isArray(e))return vS(e)}function vS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Iie=function(t){return t},QB={},XB=function(t){return t===QB},m5=function(t){return function n(){return arguments.length===0||arguments.length===1&&XB(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},$ie=function e(t,n){return t===1?n:m5(function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var l=a.filter(function(c){return c!==QB}).length;return l>=t?n.apply(void 0,a):e(t-l,m5(function(){for(var c=arguments.length,f=new Array(c),d=0;d<c;d++)f[d]=arguments[d];var m=a.map(function(p){return XB(p)?f.shift():p});return n.apply(void 0,Mie(m).concat(f))}))})},Hm=function(t){return $ie(t.length,t)},bS=function(t,n){for(var r=[],a=t;a<n;++a)r[a-t]=a;return r},Bie=Hm(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),Lie=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return Iie;var a=n.reverse(),s=a[0],l=a.slice(1);return function(){return l.reduce(function(c,f){return f(c)},s.apply(void 0,arguments))}},xS=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},ZB=function(t){var n=null,r=null;return function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n&&s.every(function(c,f){return c===n[f]})||(n=s,r=t.apply(void 0,s)),r}};function qie(e){var t;return e===0?t=1:t=Math.floor(new ht(e).abs().log(10).toNumber())+1,t}function zie(e,t,n){for(var r=new ht(e),a=0,s=[];r.lt(t)&&a<1e5;)s.push(r.toNumber()),r=r.add(n),a++;return s}var Hie=Hm(function(e,t,n){var r=+e,a=+t;return r+n*(a-r)}),Uie=Hm(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),Vie=Hm(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const Um={rangeStep:zie,getDigitCount:qie,interpolateNumber:Hie,uninterpolateNumber:Uie,uninterpolateTruncation:Vie};function wS(e){return Kie(e)||Gie(e)||JB(e)||Fie()}function Fie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
311In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gie(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Kie(e){if(Array.isArray(e))return SS(e)}function cf(e,t){return Qie(e)||Wie(e,t)||JB(e,t)||Yie()}function Yie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
312In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JB(e,t){if(e){if(typeof e=="string")return SS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SS(e,t)}}function SS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wie(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,a=!1,s=void 0;try{for(var l=e[Symbol.iterator](),c;!(r=(c=l.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(f){a=!0,s=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(a)throw s}}return n}}function Qie(e){if(Array.isArray(e))return e}function e8(e){var t=cf(e,2),n=t[0],r=t[1],a=n,s=r;return n>r&&(a=r,s=n),[a,s]}function t8(e,t,n){if(e.lte(0))return new ht(0);var r=Um.getDigitCount(e.toNumber()),a=new ht(10).pow(r),s=e.div(a),l=r!==1?.05:.1,c=new ht(Math.ceil(s.div(l).toNumber())).add(n).mul(l),f=c.mul(a);return t?f:new ht(Math.ceil(f))}function Xie(e,t,n){var r=1,a=new ht(e);if(!a.isint()&&n){var s=Math.abs(e);s<1?(r=new ht(10).pow(Um.getDigitCount(e)-1),a=new ht(Math.floor(a.div(r).toNumber())).mul(r)):s>1&&(a=new ht(Math.floor(e)))}else e===0?a=new ht(Math.floor((t-1)/2)):n||(a=new ht(Math.floor(e)));var l=Math.floor((t-1)/2),c=Lie(Bie(function(f){return a.add(new ht(f-l).mul(r)).toNumber()}),bS);return c(0,t)}function n8(e,t,n,r){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new ht(0),tickMin:new ht(0),tickMax:new ht(0)};var s=t8(new ht(t).sub(e).div(n-1),r,a),l;e<=0&&t>=0?l=new ht(0):(l=new ht(e).add(t).div(2),l=l.sub(new ht(l).mod(s)));var c=Math.ceil(l.sub(e).div(s).toNumber()),f=Math.ceil(new ht(t).sub(l).div(s).toNumber()),d=c+f+1;return d>n?n8(e,t,n,r,a+1):(d<n&&(f=t>0?f+(n-d):f,c=t>0?c:c+(n-d)),{step:s,tickMin:l.sub(new ht(c).mul(s)),tickMax:l.add(new ht(f).mul(s))})}function Zie(e){var t=cf(e,2),n=t[0],r=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(a,2),c=e8([n,r]),f=cf(c,2),d=f[0],m=f[1];if(d===-1/0||m===1/0){var p=m===1/0?[d].concat(wS(bS(0,a-1).map(function(){return 1/0}))):[].concat(wS(bS(0,a-1).map(function(){return-1/0})),[m]);return n>r?xS(p):p}if(d===m)return Xie(d,a,s);var y=n8(d,m,l,s),b=y.step,A=y.tickMin,S=y.tickMax,x=Um.rangeStep(A,S.add(new ht(.1).mul(b)),b);return n>r?xS(x):x}function Jie(e,t){var n=cf(e,2),r=n[0],a=n[1],s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=e8([r,a]),c=cf(l,2),f=c[0],d=c[1];if(f===-1/0||d===1/0)return[r,a];if(f===d)return[f];var m=Math.max(t,2),p=t8(new ht(d).sub(f).div(m-1),s,0),y=[].concat(wS(Um.rangeStep(new ht(f),new ht(d).sub(new ht(.99).mul(p)),p)),[d]);return r>a?xS(y):y}var ese=ZB(Zie),tse=ZB(Jie),nse="Invariant failed";function to(e,t){throw new Error(nse)}var rse=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Bl(e){"@babel/helpers - typeof";return Bl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bl(e)}function _h(){return _h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_h.apply(this,arguments)}function ase(e,t){return lse(e)||ose(e,t)||sse(e,t)||ise()}function ise(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
313In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sse(e,t){if(e){if(typeof e=="string")return g5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g5(e,t)}}function g5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ose(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function lse(e){if(Array.isArray(e))return e}function cse(e,t){if(e==null)return{};var n=use(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function use(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i8(r.key),r)}}function pse(e,t,n){return t&&dse(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function hse(e,t,n){return t=Mh(t),mse(e,r8()?Reflect.construct(t,n||[],Mh(e).constructor):t.apply(e,n))}function mse(e,t){if(t&&(Bl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gse(e)}function gse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(r8=function(){return!!e})()}function Mh(e){return Mh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Mh(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&AS(e,t)}function AS(e,t){return AS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},AS(e,t)}function a8(e,t,n){return t=i8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i8(e){var t=vse(e,"string");return Bl(t)=="symbol"?t:t+""}function vse(e,t){if(Bl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Bl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Vm=(function(e){function t(){return fse(this,t),hse(this,t,arguments)}return yse(t,e),pse(t,[{key:"render",value:function(){var r=this.props,a=r.offset,s=r.layout,l=r.width,c=r.dataKey,f=r.data,d=r.dataPointFormatter,m=r.xAxis,p=r.yAxis,y=cse(r,rse),b=et(y,!1);this.props.direction==="x"&&m.type!=="number"&&to();var A=f.map(function(S){var x=d(S,c),O=x.x,R=x.y,j=x.value,M=x.errorVal;if(!M)return null;var T=[],C,E;if(Array.isArray(M)){var P=ase(M,2);C=P[0],E=P[1]}else C=E=M;if(s==="vertical"){var k=m.scale,z=R+a,B=z+l,U=z-l,F=k(j-C),K=k(j+E);T.push({x1:K,y1:B,x2:K,y2:U}),T.push({x1:F,y1:z,x2:K,y2:z}),T.push({x1:F,y1:B,x2:F,y2:U})}else if(s==="horizontal"){var Q=p.scale,I=O+a,L=I-l,q=I+l,Z=Q(j-C),ie=Q(j+E);T.push({x1:L,y1:ie,x2:q,y2:ie}),T.push({x1:I,y1:Z,x2:I,y2:ie}),T.push({x1:L,y1:Z,x2:q,y2:Z})}return H.createElement(pn,_h({className:"recharts-errorBar",key:"bar-".concat(T.map(function($){return"".concat($.x1,"-").concat($.x2,"-").concat($.y1,"-").concat($.y2)}))},b),T.map(function($){return H.createElement("line",_h({},$,{key:"line-".concat($.x1,"-").concat($.x2,"-").concat($.y1,"-").concat($.y2)}))}))});return H.createElement(pn,{className:"recharts-errorBars"},A)}}])})(H.Component);a8(Vm,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});a8(Vm,"displayName","ErrorBar");function uf(e){"@babel/helpers - typeof";return uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uf(e)}function y5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ps(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?y5(Object(n),!0).forEach(function(r){bse(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bse(e,t,n){return t=xse(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xse(e){var t=wse(e,"string");return uf(t)=="symbol"?t:t+""}function wse(e,t){if(uf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(uf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var s8=function(t){var n=t.children,r=t.formattedGraphicalItems,a=t.legendWidth,s=t.legendContent,l=dr(n,wl);if(!l)return null;var c=wl.defaultProps,f=c!==void 0?Ps(Ps({},c),l.props):{},d;return l.props&&l.props.payload?d=l.props&&l.props.payload:s==="children"?d=(r||[]).reduce(function(m,p){var y=p.item,b=p.props,A=b.sectors||b.data||[];return m.concat(A.map(function(S){return{type:l.props.iconType||y.props.legendType,value:S.name,color:S.fill,payload:S}}))},[]):d=(r||[]).map(function(m){var p=m.item,y=p.type.defaultProps,b=y!==void 0?Ps(Ps({},y),p.props):{},A=b.dataKey,S=b.name,x=b.legendType,O=b.hide;return{inactive:O,dataKey:A,type:f.iconType||x||"square",color:iO(p),value:S||A,payload:b}}),Ps(Ps(Ps({},f),wl.getWithHeight(l,a)),{},{payload:d,item:l})};function ff(e){"@babel/helpers - typeof";return ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ff(e)}function v5(e){return Tse(e)||Ose(e)||Ase(e)||Sse()}function Sse(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
314In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ase(e,t){if(e){if(typeof e=="string")return OS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OS(e,t)}}function Ose(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tse(e){if(Array.isArray(e))return OS(e)}function OS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b5(Object(n),!0).forEach(function(r){Al(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Al(e,t,n){return t=jse(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jse(e){var t=Ese(e,"string");return ff(t)=="symbol"?t:t+""}function Ese(e,t){if(ff(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ff(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wa(e,t,n){return tt(e)||tt(t)?n:tn(t)?$r(e,t,n):Be(t)?t(e):n}function Mu(e,t,n,r){var a=Tie(e,function(c){return wa(c,t)});if(n==="number"){var s=a.filter(function(c){return pe(c)||parseFloat(c)});return s.length?[zm(s),qm(s)]:[1/0,-1/0]}var l=r?a.filter(function(c){return!tt(c)}):a;return l.map(function(c){return tn(c)||c instanceof Date?c:""})}var Cse=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,l=-1,c=(n=r?.length)!==null&&n!==void 0?n:0;if(c<=1)return 0;if(s&&s.axisType==="angleAxis"&&Math.abs(Math.abs(s.range[1]-s.range[0])-360)<=1e-6)for(var f=s.range,d=0;d<c;d++){var m=d>0?a[d-1].coordinate:a[c-1].coordinate,p=a[d].coordinate,y=d>=c-1?a[0].coordinate:a[d+1].coordinate,b=void 0;if(Xr(p-m)!==Xr(y-p)){var A=[];if(Xr(y-p)===Xr(f[1]-f[0])){b=y;var S=p+f[1]-f[0];A[0]=Math.min(S,(S+m)/2),A[1]=Math.max(S,(S+m)/2)}else{b=m;var x=y+f[1]-f[0];A[0]=Math.min(p,(x+p)/2),A[1]=Math.max(p,(x+p)/2)}var O=[Math.min(p,(b+p)/2),Math.max(p,(b+p)/2)];if(t>O[0]&&t<=O[1]||t>=A[0]&&t<=A[1]){l=a[d].index;break}}else{var R=Math.min(m,y),j=Math.max(m,y);if(t>(R+p)/2&&t<=(j+p)/2){l=a[d].index;break}}}else for(var M=0;M<c;M++)if(M===0&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M>0&&M<c-1&&t>(r[M].coordinate+r[M-1].coordinate)/2&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M===c-1&&t>(r[M].coordinate+r[M-1].coordinate)/2){l=r[M].index;break}return l},iO=function(t){var n,r=t,a=r.type.displayName,s=(n=t.type)!==null&&n!==void 0&&n.defaultProps?$t($t({},t.type.defaultProps),t.props):t.props,l=s.stroke,c=s.fill,f;switch(a){case"Line":f=l;break;case"Area":case"Radar":f=l&&l!=="none"?l:c;break;default:f=c;break}return f},Rse=function(t){var n=t.barSize,r=t.totalSize,a=t.stackGroups,s=a===void 0?{}:a;if(!s)return{};for(var l={},c=Object.keys(s),f=0,d=c.length;f<d;f++)for(var m=s[c[f]].stackGroups,p=Object.keys(m),y=0,b=p.length;y<b;y++){var A=m[p[y]],S=A.items,x=A.cateAxisId,O=S.filter(function(E){return Ki(E.type).indexOf("Bar")>=0});if(O&&O.length){var R=O[0].type.defaultProps,j=R!==void 0?$t($t({},R),O[0].props):O[0].props,M=j.barSize,T=j[x];l[T]||(l[T]=[]);var C=tt(M)?n:M;l[T].push({item:O[0],stackList:O.slice(1),barSize:tt(C)?void 0:Js(C,r,0)})}}return l},_se=function(t){var n=t.barGap,r=t.barCategoryGap,a=t.bandSize,s=t.sizeList,l=s===void 0?[]:s,c=t.maxBarSize,f=l.length;if(f<1)return null;var d=Js(n,a,0,!0),m,p=[];if(l[0].barSize===+l[0].barSize){var y=!1,b=a/f,A=l.reduce(function(M,T){return M+T.barSize||0},0);A+=(f-1)*d,A>=a&&(A-=(f-1)*d,d=0),A>=a&&b>0&&(y=!0,b*=.9,A=f*b);var S=(a-A)/2>>0,x={offset:S-d,size:0};m=l.reduce(function(M,T){var C={item:T.item,position:{offset:x.offset+x.size+d,size:y?b:T.barSize}},E=[].concat(v5(M),[C]);return x=E[E.length-1].position,T.stackList&&T.stackList.length&&T.stackList.forEach(function(P){E.push({item:P,position:x})}),E},p)}else{var O=Js(r,a,0,!0);a-2*O-(f-1)*d<=0&&(d=0);var R=(a-2*O-(f-1)*d)/f;R>1&&(R>>=0);var j=c===+c?Math.min(R,c):R;m=l.reduce(function(M,T,C){var E=[].concat(v5(M),[{item:T.item,position:{offset:O+(R+d)*C+(R-j)/2,size:j}}]);return T.stackList&&T.stackList.length&&T.stackList.forEach(function(P){E.push({item:P,position:E[E.length-1].position})}),E},p)}return m},Mse=function(t,n,r,a){var s=r.children,l=r.width,c=r.margin,f=l-(c.left||0)-(c.right||0),d=s8({children:s,legendWidth:f});if(d){var m=a||{},p=m.width,y=m.height,b=d.align,A=d.verticalAlign,S=d.layout;if((S==="vertical"||S==="horizontal"&&A==="middle")&&b!=="center"&&pe(t[b]))return $t($t({},t),{},Al({},b,t[b]+(p||0)));if((S==="horizontal"||S==="vertical"&&b==="center")&&A!=="middle"&&pe(t[A]))return $t($t({},t),{},Al({},A,t[A]+(y||0)))}return t},Pse=function(t,n,r){return tt(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},o8=function(t,n,r,a,s){var l=n.props.children,c=Zr(l,Vm).filter(function(d){return Pse(a,s,d.props.direction)});if(c&&c.length){var f=c.map(function(d){return d.props.dataKey});return t.reduce(function(d,m){var p=wa(m,r);if(tt(p))return d;var y=Array.isArray(p)?[zm(p),qm(p)]:[p,p],b=f.reduce(function(A,S){var x=wa(m,S,0),O=y[0]-Math.abs(Array.isArray(x)?x[0]:x),R=y[1]+Math.abs(Array.isArray(x)?x[1]:x);return[Math.min(O,A[0]),Math.max(R,A[1])]},[1/0,-1/0]);return[Math.min(b[0],d[0]),Math.max(b[1],d[1])]},[1/0,-1/0])}return null},Nse=function(t,n,r,a,s){var l=n.map(function(c){return o8(t,c,r,s,a)}).filter(function(c){return!tt(c)});return l&&l.length?l.reduce(function(c,f){return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]):null},l8=function(t,n,r,a,s){var l=n.map(function(f){var d=f.props.dataKey;return r==="number"&&d&&o8(t,f,d,a)||Mu(t,d,r,s)});if(r==="number")return l.reduce(function(f,d){return[Math.min(f[0],d[0]),Math.max(f[1],d[1])]},[1/0,-1/0]);var c={};return l.reduce(function(f,d){for(var m=0,p=d.length;m<p;m++)c[d[m]]||(c[d[m]]=!0,f.push(d[m]));return f},[])},c8=function(t,n){return t==="horizontal"&&n==="xAxis"||t==="vertical"&&n==="yAxis"||t==="centric"&&n==="angleAxis"||t==="radial"&&n==="radiusAxis"},u8=function(t,n,r,a){if(a)return t.map(function(f){return f.coordinate});var s,l,c=t.map(function(f){return f.coordinate===n&&(s=!0),f.coordinate===r&&(l=!0),f.coordinate});return s||c.push(n),l||c.push(r),c},Za=function(t,n,r){if(!t)return null;var a=t.scale,s=t.duplicateDomain,l=t.type,c=t.range,f=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,d=(n||r)&&l==="category"&&a.bandwidth?a.bandwidth()/f:0;if(d=t.axisType==="angleAxis"&&c?.length>=2?Xr(c[0]-c[1])*2*d:d,n&&(t.ticks||t.niceTicks)){var m=(t.ticks||t.niceTicks).map(function(p){var y=s?s.indexOf(p):p;return{coordinate:a(y)+d,value:p,offset:d}});return m.filter(function(p){return!Wf(p.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(p,y){return{coordinate:a(p)+d,value:p,index:y,offset:d}}):a.ticks&&!r?a.ticks(t.tickCount).map(function(p){return{coordinate:a(p)+d,value:p,offset:d}}):a.domain().map(function(p,y){return{coordinate:a(p)+d,value:s?s[p]:p,index:y,offset:d}})},y1=new WeakMap,Dp=function(t,n){if(typeof n!="function")return t;y1.has(t)||y1.set(t,new WeakMap);var r=y1.get(t);if(r.has(n))return r.get(n);var a=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,a),a},Dse=function(t,n,r){var a=t.scale,s=t.type,l=t.layout,c=t.axisType;if(a==="auto")return l==="radial"&&c==="radiusAxis"?{scale:nf(),realScaleType:"band"}:l==="radial"&&c==="angleAxis"?{scale:Th(),realScaleType:"linear"}:s==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:_u(),realScaleType:"point"}:s==="category"?{scale:nf(),realScaleType:"band"}:{scale:Th(),realScaleType:"linear"};if(Zs(a)){var f="scale".concat(Em(a));return{scale:(a5[f]||_u)(),realScaleType:a5[f]?f:"point"}}return Be(a)?{scale:a}:{scale:_u(),realScaleType:"point"}},x5=1e-4,kse=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,a=t.range(),s=Math.min(a[0],a[1])-x5,l=Math.max(a[0],a[1])+x5,c=t(n[0]),f=t(n[r-1]);(c<s||c>l||f<s||f>l)&&t.domain([n[0],n[r-1]])}},Ise=function(t,n){if(!t)return null;for(var r=0,a=t.length;r<a;r++)if(t[r].item===n)return t[r].position;return null},$se=function(t,n){if(!n||n.length!==2||!pe(n[0])||!pe(n[1]))return t;var r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]),s=[t[0],t[1]];return(!pe(t[0])||t[0]<r)&&(s[0]=r),(!pe(t[1])||t[1]>a)&&(s[1]=a),s[0]>a&&(s[0]=a),s[1]<r&&(s[1]=r),s},Bse=function(t){var n=t.length;if(!(n<=0))for(var r=0,a=t[0].length;r<a;++r)for(var s=0,l=0,c=0;c<n;++c){var f=Wf(t[c][r][1])?t[c][r][0]:t[c][r][1];f>=0?(t[c][r][0]=s,t[c][r][1]=s+f,s=t[c][r][1]):(t[c][r][0]=l,t[c][r][1]=l+f,l=t[c][r][1])}},Lse=function(t){var n=t.length;if(!(n<=0))for(var r=0,a=t[0].length;r<a;++r)for(var s=0,l=0;l<n;++l){var c=Wf(t[l][r][1])?t[l][r][0]:t[l][r][1];c>=0?(t[l][r][0]=s,t[l][r][1]=s+c,s=t[l][r][1]):(t[l][r][0]=0,t[l][r][1]=0)}},qse={sign:Bse,expand:_J,none:_l,silhouette:MJ,wiggle:PJ,positive:Lse},zse=function(t,n,r){var a=n.map(function(c){return c.props.dataKey}),s=qse[r],l=RJ().keys(a).value(function(c,f){return+wa(c,f,0)}).order(eS).offset(s);return l(t)},Hse=function(t,n,r,a,s,l){if(!t)return null;var c=l?n.reverse():n,f={},d=c.reduce(function(p,y){var b,A=(b=y.type)!==null&&b!==void 0&&b.defaultProps?$t($t({},y.type.defaultProps),y.props):y.props,S=A.stackId,x=A.hide;if(x)return p;var O=A[r],R=p[O]||{hasStack:!1,stackGroups:{}};if(tn(S)){var j=R.stackGroups[S]||{numericAxisId:r,cateAxisId:a,items:[]};j.items.push(y),R.hasStack=!0,R.stackGroups[S]=j}else R.stackGroups[jm("_stackId_")]={numericAxisId:r,cateAxisId:a,items:[y]};return $t($t({},p),{},Al({},O,R))},f),m={};return Object.keys(d).reduce(function(p,y){var b=d[y];if(b.hasStack){var A={};b.stackGroups=Object.keys(b.stackGroups).reduce(function(S,x){var O=b.stackGroups[x];return $t($t({},S),{},Al({},x,{numericAxisId:r,cateAxisId:a,items:O.items,stackedData:zse(t,O.items,s)}))},A)}return $t($t({},p),{},Al({},y,b))},m)},Use=function(t,n){var r=n.realScaleType,a=n.type,s=n.tickCount,l=n.originalDomain,c=n.allowDecimals,f=r||n.scale;if(f!=="auto"&&f!=="linear")return null;if(s&&a==="number"&&l&&(l[0]==="auto"||l[1]==="auto")){var d=t.domain();if(!d.length)return null;var m=ese(d,s,c);return t.domain([zm(m),qm(m)]),{niceTicks:m}}if(s&&a==="number"){var p=t.domain(),y=tse(p,s,c);return{niceTicks:y}}return null},w5=function(t){var n=t.axis,r=t.ticks,a=t.offset,s=t.bandSize,l=t.entry,c=t.index;if(n.type==="category")return r[c]?r[c].coordinate+a:null;var f=wa(l,n.dataKey,n.domain[c]);return tt(f)?null:n.scale(f)-s/2+a},Vse=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var a=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);return a<=0&&s>=0?0:s<0?s:a}return r[0]},Fse=function(t,n){var r,a=(r=t.type)!==null&&r!==void 0&&r.defaultProps?$t($t({},t.type.defaultProps),t.props):t.props,s=a.stackId;if(tn(s)){var l=n[s];if(l){var c=l.items.indexOf(t);return c>=0?l.stackedData[c]:null}}return null},Gse=function(t){return t.reduce(function(n,r){return[zm(r.concat([n[0]]).filter(pe)),qm(r.concat([n[1]]).filter(pe))]},[1/0,-1/0])},f8=function(t,n,r){return Object.keys(t).reduce(function(a,s){var l=t[s],c=l.stackedData,f=c.reduce(function(d,m){var p=Gse(m.slice(n,r+1));return[Math.min(d[0],p[0]),Math.max(d[1],p[1])]},[1/0,-1/0]);return[Math.min(f[0],a[0]),Math.max(f[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},S5=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,A5=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TS=function(t,n,r){if(Be(t))return t(n,r);if(!Array.isArray(t))return n;var a=[];if(pe(t[0]))a[0]=r?t[0]:Math.min(t[0],n[0]);else if(S5.test(t[0])){var s=+S5.exec(t[0])[1];a[0]=n[0]-s}else Be(t[0])?a[0]=t[0](n[0]):a[0]=n[0];if(pe(t[1]))a[1]=r?t[1]:Math.max(t[1],n[1]);else if(A5.test(t[1])){var l=+A5.exec(t[1])[1];a[1]=n[1]+l}else Be(t[1])?a[1]=t[1](n[1]):a[1]=n[1];return a},Ph=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!r||a>0)return a}if(t&&n&&n.length>=2){for(var s=M2(n,function(p){return p.coordinate}),l=1/0,c=1,f=s.length;c<f;c++){var d=s[c],m=s[c-1];l=Math.min((d.coordinate||0)-(m.coordinate||0),l)}return l===1/0?0:l}return r?void 0:0},O5=function(t,n,r){return!t||!t.length||nO(t,$r(r,"type.defaultProps.domain"))?n:t},d8=function(t,n){var r=t.type.defaultProps?$t($t({},t.type.defaultProps),t.props):t.props,a=r.dataKey,s=r.name,l=r.unit,c=r.formatter,f=r.tooltipType,d=r.chartType,m=r.hide;return $t($t({},et(t,!1)),{},{dataKey:a,unit:l,formatter:c,name:s||a,color:iO(t),value:wa(n,a),type:f,payload:n,chartType:d,hide:m})};function df(e){"@babel/helpers - typeof";return df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},df(e)}function T5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function j5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?T5(Object(n),!0).forEach(function(r){Kse(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Kse(e,t,n){return t=Yse(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yse(e){var t=Wse(e,"string");return df(t)=="symbol"?t:t+""}function Wse(e,t){if(df(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(df(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nh=Math.PI/180,Qse=function(t){return t*180/Math.PI},Tn=function(t,n,r,a){return{x:t+Math.cos(-Nh*a)*r,y:n+Math.sin(-Nh*a)*r}},Xse=function(t,n){var r=t.x,a=t.y,s=n.x,l=n.y;return Math.sqrt(Math.pow(r-s,2)+Math.pow(a-l,2))},Zse=function(t,n){var r=t.x,a=t.y,s=n.cx,l=n.cy,c=Xse({x:r,y:a},{x:s,y:l});if(c<=0)return{radius:c};var f=(r-s)/c,d=Math.acos(f);return a>l&&(d=2*Math.PI-d),{radius:c,angle:Qse(d),angleInRadian:d}},Jse=function(t){var n=t.startAngle,r=t.endAngle,a=Math.floor(n/360),s=Math.floor(r/360),l=Math.min(a,s);return{startAngle:n-l*360,endAngle:r-l*360}},eoe=function(t,n){var r=n.startAngle,a=n.endAngle,s=Math.floor(r/360),l=Math.floor(a/360),c=Math.min(s,l);return t+c*360},E5=function(t,n){var r=t.x,a=t.y,s=Zse({x:r,y:a},n),l=s.radius,c=s.angle,f=n.innerRadius,d=n.outerRadius;if(l<f||l>d)return!1;if(l===0)return!0;var m=Jse(n),p=m.startAngle,y=m.endAngle,b=c,A;if(p<=y){for(;b>y;)b-=360;for(;b<p;)b+=360;A=b>=p&&b<=y}else{for(;b>p;)b-=360;for(;b<y;)b+=360;A=b>=y&&b<=p}return A?j5(j5({},n),{},{radius:l,angle:eoe(b,n)}):null};function pf(e){"@babel/helpers - typeof";return pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pf(e)}var toe=["offset"];function noe(e){return soe(e)||ioe(e)||aoe(e)||roe()}function roe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
315In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aoe(e,t){if(e){if(typeof e=="string")return jS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jS(e,t)}}function ioe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function soe(e){if(Array.isArray(e))return jS(e)}function jS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ooe(e,t){if(e==null)return{};var n=loe(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function loe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function C5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C5(Object(n),!0).forEach(function(r){coe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function coe(e,t,n){return t=uoe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uoe(e){var t=foe(e,"string");return pf(t)=="symbol"?t:t+""}function foe(e,t){if(pf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hf(){return hf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hf.apply(this,arguments)}var doe=function(t){var n=t.value,r=t.formatter,a=tt(t.children)?n:t.children;return Be(r)?r(a):a},poe=function(t,n){var r=Xr(n-t),a=Math.min(Math.abs(n-t),360);return r*a},hoe=function(t,n,r){var a=t.position,s=t.viewBox,l=t.offset,c=t.className,f=s,d=f.cx,m=f.cy,p=f.innerRadius,y=f.outerRadius,b=f.startAngle,A=f.endAngle,S=f.clockWise,x=(p+y)/2,O=poe(b,A),R=O>=0?1:-1,j,M;a==="insideStart"?(j=b+R*l,M=S):a==="insideEnd"?(j=A-R*l,M=!S):a==="end"&&(j=A+R*l,M=S),M=O<=0?M:!M;var T=Tn(d,m,x,j),C=Tn(d,m,x,j+(M?1:-1)*359),E="M".concat(T.x,",").concat(T.y,`
316    A`).concat(x,",").concat(x,",0,1,").concat(M?0:1,`,
317    `).concat(C.x,",").concat(C.y),P=tt(t.id)?jm("recharts-radial-line-"):t.id;return H.createElement("text",hf({},r,{dominantBaseline:"central",className:Qe("recharts-radial-bar-label",c)}),H.createElement("defs",null,H.createElement("path",{id:P,d:E})),H.createElement("textPath",{xlinkHref:"#".concat(P)},n))},moe=function(t){var n=t.viewBox,r=t.offset,a=t.position,s=n,l=s.cx,c=s.cy,f=s.innerRadius,d=s.outerRadius,m=s.startAngle,p=s.endAngle,y=(m+p)/2;if(a==="outside"){var b=Tn(l,c,d+r,y),A=b.x,S=b.y;return{x:A,y:S,textAnchor:A>=l?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"end"};var x=(f+d)/2,O=Tn(l,c,x,y),R=O.x,j=O.y;return{x:R,y:j,textAnchor:"middle",verticalAnchor:"middle"}},goe=function(t){var n=t.viewBox,r=t.parentViewBox,a=t.offset,s=t.position,l=n,c=l.x,f=l.y,d=l.width,m=l.height,p=m>=0?1:-1,y=p*a,b=p>0?"end":"start",A=p>0?"start":"end",S=d>=0?1:-1,x=S*a,O=S>0?"end":"start",R=S>0?"start":"end";if(s==="top"){var j={x:c+d/2,y:f-p*a,textAnchor:"middle",verticalAnchor:b};return en(en({},j),r?{height:Math.max(f-r.y,0),width:d}:{})}if(s==="bottom"){var M={x:c+d/2,y:f+m+y,textAnchor:"middle",verticalAnchor:A};return en(en({},M),r?{height:Math.max(r.y+r.height-(f+m),0),width:d}:{})}if(s==="left"){var T={x:c-x,y:f+m/2,textAnchor:O,verticalAnchor:"middle"};return en(en({},T),r?{width:Math.max(T.x-r.x,0),height:m}:{})}if(s==="right"){var C={x:c+d+x,y:f+m/2,textAnchor:R,verticalAnchor:"middle"};return en(en({},C),r?{width:Math.max(r.x+r.width-C.x,0),height:m}:{})}var E=r?{width:d,height:m}:{};return s==="insideLeft"?en({x:c+x,y:f+m/2,textAnchor:R,verticalAnchor:"middle"},E):s==="insideRight"?en({x:c+d-x,y:f+m/2,textAnchor:O,verticalAnchor:"middle"},E):s==="insideTop"?en({x:c+d/2,y:f+y,textAnchor:"middle",verticalAnchor:A},E):s==="insideBottom"?en({x:c+d/2,y:f+m-y,textAnchor:"middle",verticalAnchor:b},E):s==="insideTopLeft"?en({x:c+x,y:f+y,textAnchor:R,verticalAnchor:A},E):s==="insideTopRight"?en({x:c+d-x,y:f+y,textAnchor:O,verticalAnchor:A},E):s==="insideBottomLeft"?en({x:c+x,y:f+m-y,textAnchor:R,verticalAnchor:b},E):s==="insideBottomRight"?en({x:c+d-x,y:f+m-y,textAnchor:O,verticalAnchor:b},E):lc(s)&&(pe(s.x)||Vw(s.x))&&(pe(s.y)||Vw(s.y))?en({x:c+Js(s.x,d),y:f+Js(s.y,m),textAnchor:"end",verticalAnchor:"end"},E):en({x:c+d/2,y:f+m/2,textAnchor:"middle",verticalAnchor:"middle"},E)},yoe=function(t){return"cx"in t&&pe(t.cx)};function Nn(e){var t=e.offset,n=t===void 0?5:t,r=ooe(e,toe),a=en({offset:n},r),s=a.viewBox,l=a.position,c=a.value,f=a.children,d=a.content,m=a.className,p=m===void 0?"":m,y=a.textBreakAll;if(!s||tt(c)&&tt(f)&&!N.isValidElement(d)&&!Be(d))return null;if(N.isValidElement(d))return N.cloneElement(d,a);var b;if(Be(d)){if(b=N.createElement(d,a),N.isValidElement(b))return b}else b=doe(a);var A=yoe(s),S=et(a,!0);if(A&&(l==="insideStart"||l==="insideEnd"||l==="end"))return hoe(a,b,S);var x=A?moe(a):goe(a);return H.createElement(vh,hf({className:Qe("recharts-label",p)},S,x,{breakAll:y}),b)}Nn.displayName="Label";var p8=function(t){var n=t.cx,r=t.cy,a=t.angle,s=t.startAngle,l=t.endAngle,c=t.r,f=t.radius,d=t.innerRadius,m=t.outerRadius,p=t.x,y=t.y,b=t.top,A=t.left,S=t.width,x=t.height,O=t.clockWise,R=t.labelViewBox;if(R)return R;if(pe(S)&&pe(x)){if(pe(p)&&pe(y))return{x:p,y,width:S,height:x};if(pe(b)&&pe(A))return{x:b,y:A,width:S,height:x}}return pe(p)&&pe(y)?{x:p,y,width:0,height:0}:pe(n)&&pe(r)?{cx:n,cy:r,startAngle:s||a||0,endAngle:l||a||0,innerRadius:d||0,outerRadius:m||f||c||0,clockWise:O}:t.viewBox?t.viewBox:{}},voe=function(t,n){return t?t===!0?H.createElement(Nn,{key:"label-implicit",viewBox:n}):tn(t)?H.createElement(Nn,{key:"label-implicit",viewBox:n,value:t}):N.isValidElement(t)?t.type===Nn?N.cloneElement(t,{key:"label-implicit",viewBox:n}):H.createElement(Nn,{key:"label-implicit",content:t,viewBox:n}):Be(t)?H.createElement(Nn,{key:"label-implicit",content:t,viewBox:n}):lc(t)?H.createElement(Nn,hf({viewBox:n},t,{key:"label-implicit"})):null:null},boe=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var a=t.children,s=p8(t),l=Zr(a,Nn).map(function(f,d){return N.cloneElement(f,{viewBox:n||s,key:"label-".concat(d)})});if(!r)return l;var c=voe(t.label,n||s);return[c].concat(noe(l))};Nn.parseViewBox=p8;Nn.renderCallByParent=boe;var v1,R5;function xoe(){if(R5)return v1;R5=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return v1=e,v1}var woe=xoe();const Soe=mt(woe);function mf(e){"@babel/helpers - typeof";return mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mf(e)}var Aoe=["valueAccessor"],Ooe=["data","dataKey","clockWise","id","textBreakAll"];function Toe(e){return Roe(e)||Coe(e)||Eoe(e)||joe()}function joe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
318In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eoe(e,t){if(e){if(typeof e=="string")return ES(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ES(e,t)}}function Coe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Roe(e){if(Array.isArray(e))return ES(e)}function ES(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dh(){return Dh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dh.apply(this,arguments)}function _5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function M5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_5(Object(n),!0).forEach(function(r){_oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _oe(e,t,n){return t=Moe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Moe(e){var t=Poe(e,"string");return mf(t)=="symbol"?t:t+""}function Poe(e,t){if(mf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(mf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function P5(e,t){if(e==null)return{};var n=Noe(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Noe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Doe=function(t){return Array.isArray(t.value)?Soe(t.value):t.value};function Ys(e){var t=e.valueAccessor,n=t===void 0?Doe:t,r=P5(e,Aoe),a=r.data,s=r.dataKey,l=r.clockWise,c=r.id,f=r.textBreakAll,d=P5(r,Ooe);return!a||!a.length?null:H.createElement(pn,{className:"recharts-label-list"},a.map(function(m,p){var y=tt(s)?n(m,p):wa(m&&m.payload,s),b=tt(c)?{}:{id:"".concat(c,"-").concat(p)};return H.createElement(Nn,Dh({},et(m,!0),d,b,{parentViewBox:m.parentViewBox,value:y,textBreakAll:f,viewBox:Nn.parseViewBox(tt(l)?m:M5(M5({},m),{},{clockWise:l})),key:"label-".concat(p),index:p}))}))}Ys.displayName="LabelList";function koe(e,t){return e?e===!0?H.createElement(Ys,{key:"labelList-implicit",data:t}):H.isValidElement(e)||Be(e)?H.createElement(Ys,{key:"labelList-implicit",data:t,content:e}):lc(e)?H.createElement(Ys,Dh({data:t},e,{key:"labelList-implicit"})):null:null}function Ioe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,a=Zr(r,Ys).map(function(l,c){return N.cloneElement(l,{data:t,key:"labelList-".concat(c)})});if(!n)return a;var s=koe(e.label,t);return[s].concat(Toe(a))}Ys.renderCallByParent=Ioe;function gf(e){"@babel/helpers - typeof";return gf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gf(e)}function CS(){return CS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CS.apply(this,arguments)}function N5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function D5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N5(Object(n),!0).forEach(function(r){$oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $oe(e,t,n){return t=Boe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Boe(e){var t=Loe(e,"string");return gf(t)=="symbol"?t:t+""}function Loe(e,t){if(gf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var qoe=function(t,n){var r=Xr(n-t),a=Math.min(Math.abs(n-t),359.999);return r*a},kp=function(t){var n=t.cx,r=t.cy,a=t.radius,s=t.angle,l=t.sign,c=t.isExternal,f=t.cornerRadius,d=t.cornerIsExternal,m=f*(c?1:-1)+a,p=Math.asin(f/m)/Nh,y=d?s:s+l*p,b=Tn(n,r,m,y),A=Tn(n,r,a,y),S=d?s-l*p:s,x=Tn(n,r,m*Math.cos(p*Nh),S);return{center:b,circleTangency:A,lineTangency:x,theta:p}},h8=function(t){var n=t.cx,r=t.cy,a=t.innerRadius,s=t.outerRadius,l=t.startAngle,c=t.endAngle,f=qoe(l,c),d=l+f,m=Tn(n,r,s,l),p=Tn(n,r,s,d),y="M ".concat(m.x,",").concat(m.y,`
319    A `).concat(s,",").concat(s,`,0,
320    `).concat(+(Math.abs(f)>180),",").concat(+(l>d),`,
321    `).concat(p.x,",").concat(p.y,`
322  `);if(a>0){var b=Tn(n,r,a,l),A=Tn(n,r,a,d);y+="L ".concat(A.x,",").concat(A.y,`
323            A `).concat(a,",").concat(a,`,0,
324            `).concat(+(Math.abs(f)>180),",").concat(+(l<=d),`,
325            `).concat(b.x,",").concat(b.y," Z")}else y+="L ".concat(n,",").concat(r," Z");return y},zoe=function(t){var n=t.cx,r=t.cy,a=t.innerRadius,s=t.outerRadius,l=t.cornerRadius,c=t.forceCornerRadius,f=t.cornerIsExternal,d=t.startAngle,m=t.endAngle,p=Xr(m-d),y=kp({cx:n,cy:r,radius:s,angle:d,sign:p,cornerRadius:l,cornerIsExternal:f}),b=y.circleTangency,A=y.lineTangency,S=y.theta,x=kp({cx:n,cy:r,radius:s,angle:m,sign:-p,cornerRadius:l,cornerIsExternal:f}),O=x.circleTangency,R=x.lineTangency,j=x.theta,M=f?Math.abs(d-m):Math.abs(d-m)-S-j;if(M<0)return c?"M ".concat(A.x,",").concat(A.y,`
326        a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0
327        a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0
328      `):h8({cx:n,cy:r,innerRadius:a,outerRadius:s,startAngle:d,endAngle:m});var T="M ".concat(A.x,",").concat(A.y,`
329    A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(b.x,",").concat(b.y,`
330    A`).concat(s,",").concat(s,",0,").concat(+(M>180),",").concat(+(p<0),",").concat(O.x,",").concat(O.y,`
331    A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(R.x,",").concat(R.y,`
332  `);if(a>0){var C=kp({cx:n,cy:r,radius:a,angle:d,sign:p,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),E=C.circleTangency,P=C.lineTangency,k=C.theta,z=kp({cx:n,cy:r,radius:a,angle:m,sign:-p,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),B=z.circleTangency,U=z.lineTangency,F=z.theta,K=f?Math.abs(d-m):Math.abs(d-m)-k-F;if(K<0&&l===0)return"".concat(T,"L").concat(n,",").concat(r,"Z");T+="L".concat(U.x,",").concat(U.y,`
333      A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(B.x,",").concat(B.y,`
334      A`).concat(a,",").concat(a,",0,").concat(+(K>180),",").concat(+(p>0),",").concat(E.x,",").concat(E.y,`
335      A`).concat(l,",").concat(l,",0,0,").concat(+(p<0),",").concat(P.x,",").concat(P.y,"Z")}else T+="L".concat(n,",").concat(r,"Z");return T},Hoe={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},m8=function(t){var n=D5(D5({},Hoe),t),r=n.cx,a=n.cy,s=n.innerRadius,l=n.outerRadius,c=n.cornerRadius,f=n.forceCornerRadius,d=n.cornerIsExternal,m=n.startAngle,p=n.endAngle,y=n.className;if(l<s||m===p)return null;var b=Qe("recharts-sector",y),A=l-s,S=Js(c,A,0,!0),x;return S>0&&Math.abs(m-p)<360?x=zoe({cx:r,cy:a,innerRadius:s,outerRadius:l,cornerRadius:Math.min(S,A/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:m,endAngle:p}):x=h8({cx:r,cy:a,innerRadius:s,outerRadius:l,startAngle:m,endAngle:p}),H.createElement("path",CS({},et(n,!0),{className:b,d:x,role:"img"}))};function yf(e){"@babel/helpers - typeof";return yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yf(e)}function RS(){return RS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RS.apply(this,arguments)}function k5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function I5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k5(Object(n),!0).forEach(function(r){Uoe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uoe(e,t,n){return t=Voe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Voe(e){var t=Foe(e,"string");return yf(t)=="symbol"?t:t+""}function Foe(e,t){if(yf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $5={curveBasisClosed:vJ,curveBasisOpen:bJ,curveBasis:yJ,curveBumpX:rJ,curveBumpY:aJ,curveLinearClosed:xJ,curveLinear:Rm,curveMonotoneX:wJ,curveMonotoneY:SJ,curveNatural:AJ,curveStep:OJ,curveStepAfter:jJ,curveStepBefore:TJ},Ip=function(t){return t.x===+t.x&&t.y===+t.y},hu=function(t){return t.x},mu=function(t){return t.y},Goe=function(t,n){if(Be(t))return t;var r="curve".concat(Em(t));return(r==="curveMonotone"||r==="curveBump")&&n?$5["".concat(r).concat(n==="vertical"?"Y":"X")]:$5[r]||Rm},Koe=function(t){var n=t.type,r=n===void 0?"linear":n,a=t.points,s=a===void 0?[]:a,l=t.baseLine,c=t.layout,f=t.connectNulls,d=f===void 0?!1:f,m=Goe(r,c),p=d?s.filter(function(S){return Ip(S)}):s,y;if(Array.isArray(l)){var b=d?l.filter(function(S){return Ip(S)}):l,A=p.map(function(S,x){return I5(I5({},S),{},{base:b[x]})});return c==="vertical"?y=Cp().y(mu).x1(hu).x0(function(S){return S.base.x}):y=Cp().x(hu).y1(mu).y0(function(S){return S.base.y}),y.defined(Ip).curve(m),y(A)}return c==="vertical"&&pe(l)?y=Cp().y(mu).x1(hu).x0(l):pe(l)?y=Cp().x(hu).y1(mu).y0(l):y=w$().x(hu).y(mu),y.defined(Ip).curve(m),y(p)},B5=function(t){var n=t.className,r=t.points,a=t.path,s=t.pathRef;if((!r||!r.length)&&!a)return null;var l=r&&r.length?Koe(t):a;return N.createElement("path",RS({},et(t,!1),sh(t),{className:Qe("recharts-curve",n),d:l,ref:s}))},b1={exports:{}},x1,L5;function Yoe(){if(L5)return x1;L5=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return x1=e,x1}var w1,q5;function Woe(){if(q5)return w1;q5=1;var e=Yoe();function t(){}function n(){}return n.resetWarningCache=t,w1=function(){function r(l,c,f,d,m,p){if(p!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}r.isRequired=r;function a(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},w1}var z5;function Qoe(){return z5||(z5=1,b1.exports=Woe()()),b1.exports}var Xoe=Qoe();const it=mt(Xoe);var Zoe=Object.getOwnPropertyNames,Joe=Object.getOwnPropertySymbols,ele=Object.prototype.hasOwnProperty;function H5(e,t){return function(r,a,s){return e(r,a,s)&&t(r,a,s)}}function $p(e){return function(n,r,a){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,a);var s=a.cache,l=s.get(n),c=s.get(r);if(l&&c)return l===r&&c===n;s.set(n,r),s.set(r,n);var f=e(n,r,a);return s.delete(n),s.delete(r),f}}function tle(e){return e?.[Symbol.toStringTag]}function U5(e){return Zoe(e).concat(Joe(e))}var nle=Object.hasOwn||(function(e,t){return ele.call(e,t)});function po(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var rle="__v",ale="__o",ile="_owner",V5=Object.getOwnPropertyDescriptor,F5=Object.keys;function sle(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function ole(e,t){return po(e.getTime(),t.getTime())}function lle(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function cle(e,t){return e===t}function G5(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var a=new Array(r),s=e.entries(),l,c,f=0;(l=s.next())&&!l.done;){for(var d=t.entries(),m=!1,p=0;(c=d.next())&&!c.done;
335){if(a[p]){p++;continue}var y=l.value,b=c.value;if(n.equals(y[0],b[0],f,p,e,t,n)&&n.equals(y[1],b[1],y[0],b[0],e,t,n)){m=a[p]=!0;break}p++}if(!m)return!1;f++}return!0}var ule=po;function fle(e,t,n){var r=F5(e),a=r.length;if(F5(t).length!==a)return!1;for(;a-- >0;)if(!g8(e,t,n,r[a]))return!1;return!0}function gu(e,t,n){var r=U5(e),a=r.length;if(U5(t).length!==a)return!1;for(var s,l,c;a-- >0;)if(s=r[a],!g8(e,t,n,s)||(l=V5(e,s),c=V5(t,s),(l||c)&&(!l||!c||l.configurable!==c.configurable||l.enumerable!==c.enumerable||l.writable!==c.writable)))return!1;return!0}function dle(e,t){return po(e.valueOf(),t.valueOf())}function ple(e,t){return e.source===t.source&&e.flags===t.flags}function K5(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var a=new Array(r),s=e.values(),l,c;(l=s.next())&&!l.done;){for(var f=t.values(),d=!1,m=0;(c=f.next())&&!c.done;){if(!a[m]&&n.equals(l.value,c.value,l.value,c.value,e,t,n)){d=a[m]=!0;break}m++}if(!d)return!1}return!0}function hle(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function mle(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function g8(e,t,n,r){return(r===ile||r===ale||r===rle)&&(e.$$typeof||t.$$typeof)?!0:nle(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var gle="[object Arguments]",yle="[object Boolean]",vle="[object Date]",ble="[object Error]",xle="[object Map]",wle="[object Number]",Sle="[object Object]",Ale="[object RegExp]",Ole="[object Set]",Tle="[object String]",jle="[object URL]",Ele=Array.isArray,Y5=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,W5=Object.assign,Cle=Object.prototype.toString.call.bind(Object.prototype.toString);function Rle(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areErrorsEqual,a=e.areFunctionsEqual,s=e.areMapsEqual,l=e.areNumbersEqual,c=e.areObjectsEqual,f=e.arePrimitiveWrappersEqual,d=e.areRegExpsEqual,m=e.areSetsEqual,p=e.areTypedArraysEqual,y=e.areUrlsEqual,b=e.unknownTagComparators;return function(S,x,O){if(S===x)return!0;if(S==null||x==null)return!1;var R=typeof S;if(R!==typeof x)return!1;if(R!=="object")return R==="number"?l(S,x,O):R==="function"?a(S,x,O):!1;var j=S.constructor;if(j!==x.constructor)return!1;if(j===Object)return c(S,x,O);if(Ele(S))return t(S,x,O);if(Y5!=null&&Y5(S))return p(S,x,O);if(j===Date)return n(S,x,O);if(j===RegExp)return d(S,x,O);if(j===Map)return s(S,x,O);if(j===Set)return m(S,x,O);var M=Cle(S);if(M===vle)return n(S,x,O);if(M===Ale)return d(S,x,O);if(M===xle)return s(S,x,O);if(M===Ole)return m(S,x,O);if(M===Sle)return typeof S.then!="function"&&typeof x.then!="function"&&c(S,x,O);if(M===jle)return y(S,x,O);if(M===ble)return r(S,x,O);if(M===gle)return c(S,x,O);if(M===yle||M===wle||M===Tle)return f(S,x,O);if(b){var T=b[M];if(!T){var C=tle(S);C&&(T=b[C])}if(T)return T(S,x,O)}return!1}}function _le(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,a={areArraysEqual:r?gu:sle,areDatesEqual:ole,areErrorsEqual:lle,areFunctionsEqual:cle,areMapsEqual:r?H5(G5,gu):G5,areNumbersEqual:ule,areObjectsEqual:r?gu:fle,arePrimitiveWrappersEqual:dle,areRegExpsEqual:ple,areSetsEqual:r?H5(K5,gu):K5,areTypedArraysEqual:r?gu:hle,areUrlsEqual:mle,unknownTagComparators:void 0};if(n&&(a=W5({},a,n(a))),t){var s=$p(a.areArraysEqual),l=$p(a.areMapsEqual),c=$p(a.areObjectsEqual),f=$p(a.areSetsEqual);a=W5({},a,{areArraysEqual:s,areMapsEqual:l,areObjectsEqual:c,areSetsEqual:f})}return a}function Mle(e){return function(t,n,r,a,s,l,c){return e(t,n,c)}}function Ple(e){var t=e.circular,n=e.comparator,r=e.createState,a=e.equals,s=e.strict;if(r)return function(f,d){var m=r(),p=m.cache,y=p===void 0?t?new WeakMap:void 0:p,b=m.meta;return n(f,d,{cache:y,equals:a,meta:b,strict:s})};if(t)return function(f,d){return n(f,d,{cache:new WeakMap,equals:a,meta:void 0,strict:s})};var l={cache:void 0,equals:a,meta:void 0,strict:s};return function(f,d){return n(f,d,l)}}var Nle=cs();cs({strict:!0});cs({circular:!0});cs({circular:!0,strict:!0});cs({createInternalComparator:function(){return po}});cs({strict:!0,createInternalComparator:function(){return po}});
vendor: 151,346 bytes, lines 335-357
335cs({circular:!0,createInternalComparator:function(){return po}});cs({circular:!0,createInternalComparator:function(){return po},strict:!0});function cs(e){e===void 0&&(e={});var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,a=e.createState,s=e.strict,l=s===void 0?!1:s,c=_le(e),f=Rle(c),d=r?r(f):Mle(f);return Ple({circular:n,comparator:f,createState:a,equals:d,strict:l})}function Dle(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function Q5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function a(s){n<0&&(n=s),s-n>t?(e(s),n=-1):Dle(a)};requestAnimationFrame(r)}function _S(e){"@babel/helpers - typeof";return _S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_S(e)}function kle(e){return Lle(e)||Ble(e)||$le(e)||Ile()}function Ile(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
336In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $le(e,t){if(e){if(typeof e=="string")return X5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X5(e,t)}}function X5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ble(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lle(e){if(Array.isArray(e))return e}function qle(){var e={},t=function(){return null},n=!1,r=function a(s){if(!n){if(Array.isArray(s)){if(!s.length)return;var l=s,c=kle(l),f=c[0],d=c.slice(1);if(typeof f=="number"){Q5(a.bind(null,d),f);return}a(f),Q5(a.bind(null,d));return}_S(s)==="object"&&(e=s,t(e)),typeof s=="function"&&s()}};return{stop:function(){n=!0},start:function(s){n=!1,r(s)},subscribe:function(s){return t=s,function(){t=function(){return null}}}}}function vf(e){"@babel/helpers - typeof";return vf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vf(e)}function Z5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function J5(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Z5(Object(n),!0).forEach(function(r){y8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function y8(e,t,n){return t=zle(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zle(e){var t=Hle(e,"string");return vf(t)==="symbol"?t:String(t)}function Hle(e,t){if(vf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ule=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,a){return r.filter(function(s){return a.includes(s)})})},Vle=function(t){return t},Fle=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Pu=function(t,n){return Object.keys(n).reduce(function(r,a){return J5(J5({},r),{},y8({},a,t(a,n[a])))},{})},e3=function(t,n,r){return t.map(function(a){return"".concat(Fle(a)," ").concat(n,"ms ").concat(r)}).join(",")};function Gle(e,t){return Wle(e)||Yle(e,t)||v8(e,t)||Kle()}function Kle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
337In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yle(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Wle(e){if(Array.isArray(e))return e}function Qle(e){return Jle(e)||Zle(e)||v8(e)||Xle()}function Xle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
338In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v8(e,t){if(e){if(typeof e=="string")return MS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return MS(e,t)}}function Zle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jle(e){if(Array.isArray(e))return MS(e)}function MS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kh=1e-4,b8=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},x8=function(t,n){return t.map(function(r,a){return r*Math.pow(n,a)}).reduce(function(r,a){return r+a})},t3=function(t,n){return function(r){var a=b8(t,n);return x8(a,r)}},ece=function(t,n){return function(r){var a=b8(t,n),s=[].concat(Qle(a.map(function(l,c){return l*c}).slice(1)),[0]);return x8(s,r)}},n3=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0],s=n[1],l=n[2],c=n[3];if(n.length===1)switch(n[0]){case"linear":a=0,s=0,l=1,c=1;break;case"ease":a=.25,s=.1,l=.25,c=1;break;case"ease-in":a=.42,s=0,l=1,c=1;break;case"ease-out":a=.42,s=0,l=.58,c=1;break;case"ease-in-out":a=0,s=0,l=.58,c=1;break;default:{var f=n[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var d=f[1].split(")")[0].split(",").map(function(x){return parseFloat(x)}),m=Gle(d,4);a=m[0],s=m[1],l=m[2],c=m[3]}}}var p=t3(a,l),y=t3(s,c),b=ece(a,l),A=function(O){return O>1?1:O<0?0:O},S=function(O){for(var R=O>1?1:O,j=R,M=0;M<8;++M){var T=p(j)-R,C=b(j);if(Math.abs(T-R)<kh||C<kh)return y(j);j=A(j-T/C)}return y(j)};return S.isStepper=!1,S},tce=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,a=t.damping,s=a===void 0?8:a,l=t.dt,c=l===void 0?17:l,f=function(m,p,y){var b=-(m-p)*r,A=y*s,S=y+(b-A)*c/1e3,x=y*c/1e3+m;return Math.abs(x-p)<kh&&Math.abs(S)<kh?[p,0]:[x,S]};return f.isStepper=!0,f.dt=c,f},nce=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return n3(a);case"spring":return tce();default:if(a.split("(")[0]==="cubic-bezier")return n3(a)}return typeof a=="function"?a:null};function bf(e){"@babel/helpers - typeof";return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bf(e)}function r3(e){return ice(e)||ace(e)||w8(e)||rce()}function rce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
339In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ace(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ice(e){if(Array.isArray(e))return NS(e)}function a3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?a3(Object(n),!0).forEach(function(r){PS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function PS(e,t,n){return t=sce(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sce(e){var t=oce(e,"string");return bf(t)==="symbol"?t:String(t)}function oce(e,t){if(bf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lce(e,t){return fce(e)||uce(e,t)||w8(e,t)||cce()}function cce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
340In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w8(e,t){if(e){if(typeof e=="string")return NS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return NS(e,t)}}function NS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function fce(e){if(Array.isArray(e))return e}var Ih=function(t,n,r){return t+(n-t)*r},DS=function(t){var n=t.from,r=t.to;return n!==r},dce=function e(t,n,r){var a=Pu(function(s,l){if(DS(l)){var c=t(l.from,l.to,l.velocity),f=lce(c,2),d=f[0],m=f[1];return Sn(Sn({},l),{},{from:d,velocity:m})}return l},n);return r<1?Pu(function(s,l){return DS(l)?Sn(Sn({},l),{},{velocity:Ih(l.velocity,a[s].velocity,r),from:Ih(l.from,a[s].from,r)}):l},n):e(t,a,r-1)};const pce=(function(e,t,n,r,a){var s=Ule(e,t),l=s.reduce(function(x,O){return Sn(Sn({},x),{},PS({},O,[e[O],t[O]]))},{}),c=s.reduce(function(x,O){return Sn(Sn({},x),{},PS({},O,{from:e[O],velocity:0,to:t[O]}))},{}),f=-1,d,m,p=function(){return null},y=function(){return Pu(function(O,R){return R.from},c)},b=function(){return!Object.values(c).filter(DS).length},A=function(O){d||(d=O);var R=O-d,j=R/n.dt;c=dce(n,c,j),a(Sn(Sn(Sn({},e),t),y())),d=O,b()||(f=requestAnimationFrame(p))},S=function(O){m||(m=O);var R=(O-m)/r,j=Pu(function(T,C){return Ih.apply(void 0,r3(C).concat([n(R)]))},l);if(a(Sn(Sn(Sn({},e),t),j)),R<1)f=requestAnimationFrame(p);else{var M=Pu(function(T,C){return Ih.apply(void 0,r3(C).concat([n(1)]))},l);a(Sn(Sn(Sn({},e),t),M))}};return p=n.isStepper?A:S,function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}});function Ll(e){"@babel/helpers - typeof";return Ll=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ll(e)}var hce=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function mce(e,t){if(e==null)return{};var n=gce(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gce(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,s;for(s=0;s<r.length;s++)a=r[s],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function S1(e){return xce(e)||bce(e)||vce(e)||yce()}function yce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
341In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vce(e,t){if(e){if(typeof e=="string")return kS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kS(e,t)}}function bce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xce(e){if(Array.isArray(e))return kS(e)}function kS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?i3(Object(n),!0).forEach(function(r){wu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wu(e,t,n){return t=S8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,S8(r.key),r)}}function Ace(e,t,n){return t&&Sce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function S8(e){var t=Oce(e,"string");return Ll(t)==="symbol"?t:String(t)}function Oce(e,t){if(Ll(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ll(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Tce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IS(e,t)}function IS(e,t){return IS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},IS(e,t)}function jce(e){var t=Ece();return function(){var r=$h(e),a;if(t){var s=$h(this).constructor;a=Reflect.construct(r,arguments,s)}else a=r.apply(this,arguments);return $S(this,a)}}function $S(e,t){if(t&&(Ll(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return BS(e)}function BS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $h(e){return $h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},$h(e)}var ns=(function(e){Tce(n,e);var t=jce(n);function n(r,a){var s;wce(this,n),s=t.call(this,r,a);var l=s.props,c=l.isActive,f=l.attributeName,d=l.from,m=l.to,p=l.steps,y=l.children,b=l.duration;if(s.handleStyleChange=s.handleStyleChange.bind(BS(s)),s.changeStyle=s.changeStyle.bind(BS(s)),!c||b<=0)return s.state={style:{}},typeof y=="function"&&(s.state={style:m}),$S(s);if(p&&p.length)s.state={style:p[0].style};else if(d){if(typeof y=="function")return s.state={style:d},$S(s);s.state={style:f?wu({},f,d):d}}else s.state={style:{}};return s}return Ace(n,[{key:"componentDidMount",value:function(){var a=this.props,s=a.isActive,l=a.canBegin;this.mounted=!0,!(!s||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var s=this.props,l=s.isActive,c=s.canBegin,f=s.attributeName,d=s.shouldReAnimate,m=s.to,p=s.from,y=this.state.style;if(c){if(!l){var b={style:f?wu({},f,m):m};this.state&&y&&(f&&y[f]!==m||!f&&y!==m)&&this.setState(b);return}if(!(Nle(a.to,m)&&a.canBegin&&a.isActive)){var A=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var S=A||d?p:a.to;if(this.state&&y){var x={style:f?wu({},f,S):S};(f&&y[f]!==S||!f&&y!==S)&&this.setState(x)}this.runAnimation(Kr(Kr({},this.props),{},{from:S,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var a=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),a&&a()}},{key:"handleStyleChange",value:function(a){this.changeStyle(a)}},{key:"changeStyle",value:function(a){this.mounted&&this.setState({style:a})}},{key:"runJSAnimation",value:function(a){var s=this,l=a.from,c=a.to,f=a.duration,d=a.easing,m=a.begin,p=a.onAnimationEnd,y=a.onAnimationStart,b=pce(l,c,nce(d),f,this.changeStyle),A=function(){s.stopJSAnimation=b()};this.manager.start([y,m,A,f,p])}},{key:"runStepAnimation",value:function(a){var s=this,l=a.steps,c=a.begin,f=a.onAnimationStart,d=l[0],m=d.style,p=d.duration,y=p===void 0?0:p,b=function(S,x,O){if(O===0)return S;var R=x.duration,j=x.easing,M=j===void 0?"ease":j,T=x.style,C=x.properties,E=x.onAnimationEnd,P=O>0?l[O-1]:x,k=C||Object.keys(T);if(typeof M=="function"||M==="spring")return[].concat(S1(S),[s.runJSAnimation.bind(s,{from:P.style,to:T,duration:R,easing:M}),R]);var z=e3(k,R,M),B=Kr(Kr(Kr({},P.style),T),{},{transition:z});return[].concat(S1(S),[B,R,E]).filter(Vle)};return this.manager.start([f].concat(S1(l.reduce(b,[m,Math.max(y,c)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=qle());var s=a.begin,l=a.duration,c=a.attributeName,f=a.to,d=a.easing,m=a.onAnimationStart,p=a.onAnimationEnd,y=a.steps,b=a.children,A=this.manager;if(this.unSubscribe=A.subscribe(this.handleStyleChange),typeof d=="function"||typeof b=="function"||d==="spring"){this.runJSAnimation(a);return}if(y.length>1){this.runStepAnimation(a);return}var S=c?wu({},c,f):f,x=e3(Object.keys(S),l,d);A.start([m,s,Kr(Kr({},S),{},{transition:x}),l,p])}},{key:"render",value:function(){var a=this.props,s=a.children;a.begin;var l=a.duration;a.attributeName,a.easing;var c=a.isActive;a.steps,a.from,a.to,a.canBegin,a.onAnimationEnd,a.shouldReAnimate,a.onAnimationReStart;var f=mce(a,hce),d=N.Children.count(s),m=this.state.style;if(typeof s=="function")return s(m);if(!c||d===0||l<=0)return s;var p=function(b){var A=b.props,S=A.style,x=S===void 0?{}:S,O=A.className,R=N.cloneElement(b,Kr(Kr({},f),{},{style:Kr(Kr({},x),m),className:O}));return R};return d===1?p(N.Children.only(s)):H.createElement("div",null,N.Children.map(s,function(y){return p(y)}))}}]),n})(N.PureComponent);ns.displayName="Animate";ns.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};ns.propTypes={from:it.oneOfType([it.object,it.string]),to:it.oneOfType([it.object,it.string]),attributeName:it.string,duration:it.number,begin:it.number,easing:it.oneOfType([it.string,it.func]),steps:it.arrayOf(it.shape({duration:it.number.isRequired,style:it.object.isRequired,easing:it.oneOfType([it.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),it.func]),properties:it.arrayOf("string"),onAnimationEnd:it.func})),children:it.oneOfType([it.node,it.func]),isActive:it.bool,canBegin:it.bool,onAnimationEnd:it.func,shouldReAnimate:it.bool,onAnimationStart:it.func,onAnimationReStart:it.func};function xf(e){"@babel/helpers - typeof";return xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xf(e)}function Bh(){return Bh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bh.apply(this,arguments)}function Cce(e,t){return Pce(e)||Mce(e,t)||_ce(e,t)||Rce()}function Rce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
342In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _ce(e,t){if(e){if(typeof e=="string")return s3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s3(e,t)}}function s3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Pce(e){if(Array.isArray(e))return e}function o3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function l3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o3(Object(n),!0).forEach(function(r){Nce(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nce(e,t,n){return t=Dce(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dce(e){var t=kce(e,"string");return xf(t)=="symbol"?t:t+""}function kce(e,t){if(xf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var c3=function(t,n,r,a,s){var l=Math.min(Math.abs(r)/2,Math.abs(a)/2),c=a>=0?1:-1,f=r>=0?1:-1,d=a>=0&&r>=0||a<0&&r<0?1:0,m;if(l>0&&s instanceof Array){for(var p=[0,0,0,0],y=0,b=4;y<b;y++)p[y]=s[y]>l?l:s[y];m="M".concat(t,",").concat(n+c*p[0]),p[0]>0&&(m+="A ".concat(p[0],",").concat(p[0],",0,0,").concat(d,",").concat(t+f*p[0],",").concat(n)),m+="L ".concat(t+r-f*p[1],",").concat(n),p[1]>0&&(m+="A ".concat(p[1],",").concat(p[1],",0,0,").concat(d,`,
343        `).concat(t+r,",").concat(n+c*p[1])),m+="L ".concat(t+r,",").concat(n+a-c*p[2]),p[2]>0&&(m+="A ".concat(p[2],",").concat(p[2],",0,0,").concat(d,`,
344        `).concat(t+r-f*p[2],",").concat(n+a)),m+="L ".concat(t+f*p[3],",").concat(n+a),p[3]>0&&(m+="A ".concat(p[3],",").concat(p[3],",0,0,").concat(d,`,
345        `).concat(t,",").concat(n+a-c*p[3])),m+="Z"}else if(l>0&&s===+s&&s>0){var A=Math.min(l,s);m="M ".concat(t,",").concat(n+c*A,`
346            A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+f*A,",").concat(n,`
347            L `).concat(t+r-f*A,",").concat(n,`
348            A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+r,",").concat(n+c*A,`
349            L `).concat(t+r,",").concat(n+a-c*A,`
350            A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+r-f*A,",").concat(n+a,`
351            L `).concat(t+f*A,",").concat(n+a,`
352            A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t,",").concat(n+a-c*A," Z")}else m="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(a," h ").concat(-r," Z");return m},Ice=function(t,n){if(!t||!n)return!1;var r=t.x,a=t.y,s=n.x,l=n.y,c=n.width,f=n.height;if(Math.abs(c)>0&&Math.abs(f)>0){var d=Math.min(s,s+c),m=Math.max(s,s+c),p=Math.min(l,l+f),y=Math.max(l,l+f);return r>=d&&r<=m&&a>=p&&a<=y}return!1},$ce={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},sO=function(t){var n=l3(l3({},$ce),t),r=N.useRef(),a=N.useState(-1),s=Cce(a,2),l=s[0],c=s[1];N.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var M=r.current.getTotalLength();M&&c(M)}catch{}},[]);var f=n.x,d=n.y,m=n.width,p=n.height,y=n.radius,b=n.className,A=n.animationEasing,S=n.animationDuration,x=n.animationBegin,O=n.isAnimationActive,R=n.isUpdateAnimationActive;if(f!==+f||d!==+d||m!==+m||p!==+p||m===0||p===0)return null;var j=Qe("recharts-rectangle",b);return R?H.createElement(ns,{canBegin:l>0,from:{width:m,height:p,x:f,y:d},to:{width:m,height:p,x:f,y:d},duration:S,animationEasing:A,isActive:R},function(M){var T=M.width,C=M.height,E=M.x,P=M.y;return H.createElement(ns,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:S,isActive:O,easing:A},H.createElement("path",Bh({},et(n,!0),{className:j,d:c3(E,P,T,C,y),ref:r})))}):H.createElement("path",Bh({},et(n,!0),{className:j,d:c3(f,d,m,p,y)}))};function LS(){return LS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LS.apply(this,arguments)}var A8=function(t){var n=t.cx,r=t.cy,a=t.r,s=t.className,l=Qe("recharts-dot",s);return n===+n&&r===+r&&a===+a?N.createElement("circle",LS({},et(t,!1),sh(t),{className:l,cx:n,cy:r,r:a})):null};function wf(e){"@babel/helpers - typeof";return wf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wf(e)}var Bce=["x","y","top","left","width","height","className"];function qS(){return qS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qS.apply(this,arguments)}function u3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Lce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u3(Object(n),!0).forEach(function(r){qce(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qce(e,t,n){return t=zce(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zce(e){var t=Hce(e,"string");return wf(t)=="symbol"?t:t+""}function Hce(e,t){if(wf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(wf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Uce(e,t){if(e==null)return{};var n=Vce(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vce(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Fce=function(t,n,r,a,s,l){return"M".concat(t,",").concat(s,"v").concat(a,"M").concat(l,",").concat(n,"h").concat(r)},Gce=function(t){var n=t.x,r=n===void 0?0:n,a=t.y,s=a===void 0?0:a,l=t.top,c=l===void 0?0:l,f=t.left,d=f===void 0?0:f,m=t.width,p=m===void 0?0:m,y=t.height,b=y===void 0?0:y,A=t.className,S=Uce(t,Bce),x=Lce({x:r,y:s,top:c,left:d,width:p,height:b},S);return!pe(r)||!pe(s)||!pe(p)||!pe(b)||!pe(c)||!pe(d)?null:H.createElement("path",qS({},et(x,!0),{className:Qe("recharts-cross",A),d:Fce(r,s,p,b,c,d)}))},A1,f3;function Kce(){if(f3)return A1;f3=1;var e=V$(),t=e(Object.getPrototypeOf,Object);return A1=t,A1}var O1,d3;function Yce(){if(d3)return O1;d3=1;var e=ci(),t=Kce(),n=ui(),r="[object Object]",a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,f=l.call(Object);function d(m){if(!n(m)||e(m)!=r)return!1;var p=t(m);if(p===null)return!0;var y=c.call(p,"constructor")&&p.constructor;return typeof y=="function"&&y instanceof y&&l.call(y)==f}return O1=d,O1}var Wce=Yce();const Qce=mt(Wce);var T1,p3;function Xce(){if(p3)return T1;p3=1;var e=ci(),t=ui(),n="[object Boolean]";function r(a){return a===!0||a===!1||t(a)&&e(a)==n}return T1=r,T1}var Zce=Xce();const Jce=mt(Zce);function Sf(e){"@babel/helpers - typeof";return Sf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sf(e)}function Lh(){return Lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lh.apply(this,arguments)}function eue(e,t){return aue(e)||rue(e,t)||nue(e,t)||tue()}function tue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
353In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nue(e,t){if(e){if(typeof e=="string")return h3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h3(e,t)}}function h3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rue(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function aue(e){if(Array.isArray(e))return e}function m3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function g3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m3(Object(n),!0).forEach(function(r){iue(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function iue(e,t,n){return t=sue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sue(e){var t=oue(e,"string");return Sf(t)=="symbol"?t:t+""}function oue(e,t){if(Sf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var y3=function(t,n,r,a,s){var l=r-a,c;return c="M ".concat(t,",").concat(n),c+="L ".concat(t+r,",").concat(n),c+="L ".concat(t+r-l/2,",").concat(n+s),c+="L ".concat(t+r-l/2-a,",").concat(n+s),c+="L ".concat(t,",").concat(n," Z"),c},lue={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},cue=function(t){var n=g3(g3({},lue),t),r=N.useRef(),a=N.useState(-1),s=eue(a,2),l=s[0],c=s[1];N.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var j=r.current.getTotalLength();j&&c(j)}catch{}},[]);var f=n.x,d=n.y,m=n.upperWidth,p=n.lowerWidth,y=n.height,b=n.className,A=n.animationEasing,S=n.animationDuration,x=n.animationBegin,O=n.isUpdateAnimationActive;if(f!==+f||d!==+d||m!==+m||p!==+p||y!==+y||m===0&&p===0||y===0)return null;var R=Qe("recharts-trapezoid",b);return O?H.createElement(ns,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:y,x:f,y:d},to:{upperWidth:m,lowerWidth:p,height:y,x:f,y:d},duration:S,animationEasing:A,isActive:O},function(j){var M=j.upperWidth,T=j.lowerWidth,C=j.height,E=j.x,P=j.y;return H.createElement(ns,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:S,easing:A},H.createElement("path",Lh({},et(n,!0),{className:R,d:y3(E,P,M,T,C),ref:r})))}):H.createElement("g",null,H.createElement("path",Lh({},et(n,!0),{className:R,d:y3(f,d,m,p,y)})))},uue=["option","shapeType","propTransformer","activeClassName","isActive"];function Af(e){"@babel/helpers - typeof";return Af=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Af(e)}function fue(e,t){if(e==null)return{};var n=due(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function due(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function v3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function qh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?v3(Object(n),!0).forEach(function(r){pue(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pue(e,t,n){return t=hue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hue(e){var t=mue(e,"string");return Af(t)=="symbol"?t:t+""}function mue(e,t){if(Af(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Af(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gue(e,t){return qh(qh({},t),e)}function yue(e,t){return e==="symbols"}function b3(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return H.createElement(sO,n);case"trapezoid":return H.createElement(cue,n);case"sector":return H.createElement(m8,n);case"symbols":if(yue(t))return H.createElement(A2,n);break;default:return null}}function vue(e){return N.isValidElement(e)?e.props:e}function bue(e){var t=e.option,n=e.shapeType,r=e.propTransformer,a=r===void 0?gue:r,s=e.activeClassName,l=s===void 0?"recharts-active-shape":s,c=e.isActive,f=fue(e,uue),d;if(N.isValidElement(t))d=N.cloneElement(t,qh(qh({},f),vue(t)));else if(Be(t))d=t(f);else if(Qce(t)&&!Jce(t)){var m=a(t,f);d=H.createElement(b3,{shapeType:n,elementProps:m})}else{var p=f;d=H.createElement(b3,{shapeType:n,elementProps:p})}return c?H.createElement(pn,{className:l},d):d}function Fm(e,t){return t!=null&&"trapezoids"in e.props}function Gm(e,t){return t!=null&&"sectors"in e.props}function Of(e,t){return t!=null&&"points"in e.props}function xue(e,t){var n,r,a=e.x===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.x)||e.x===t.x,s=e.y===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.y)||e.y===t.y;return a&&s}function wue(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function Sue(e,t){var n=e.x===t.x,r=e.y===t.y,a=e.z===t.z;return n&&r&&a}function Aue(e,t){var n;return Fm(e,t)?n=xue:Gm(e,t)?n=wue:Of(e,t)&&(n=Sue),n}function Oue(e,t){var n;return Fm(e,t)?n="trapezoids":Gm(e,t)?n="sectors":Of(e,t)&&(n="points"),n}function Tue(e,t){if(Fm(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}if(Gm(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}return Of(e,t)?t.payload:{}}function jue(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,a=Oue(n,t),s=Tue(n,t),l=r.filter(function(f,d){var m=nO(s,f),p=n.props[a].filter(function(A){var S=Aue(n,t);return S(A,t)}),y=n.props[a].indexOf(p[p.length-1]),b=d===y;return m&&b}),c=r.indexOf(l[l.length-1]);return c}var j1,x3;function Eue(){if(x3)return j1;x3=1;var e=Math.ceil,t=Math.max;function n(r,a,s,l){for(var c=-1,f=t(e((a-r)/(s||1)),0),d=Array(f);f--;)d[l?f:++c]=r,r+=s;return d}return j1=n,j1}var E1,w3;function O8(){if(w3)return E1;w3=1;var e=sB(),t=1/0,n=17976931348623157e292;function r(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var s=a<0?-1:1;return s*n}return a===a?a:0}return E1=r,E1}var C1,S3;function Cue(){if(S3)return C1;S3=1;var e=Eue(),t=Nm(),n=O8();function r(a){return function(s,l,c){return c&&typeof c!="number"&&t(s,l,c)&&(l=c=void 0),s=n(s),l===void 0?(l=s,s=0):l=n(l),c=c===void 0?s<l?1:-1:n(c),e(s,l,c,a)}}return C1=r,C1}var R1,A3;function Rue(){if(A3)return R1;A3=1;var e=Cue(),t=e();return R1=t,R1}var _ue=Rue();const zh=mt(_ue);function Tf(e){"@babel/helpers - typeof";return Tf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tf(e)}function O3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function T3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O3(Object(n),!0).forEach(function(r){T8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function T8(e,t,n){return t=Mue(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mue(e){var t=Pue(e,"string");return Tf(t)=="symbol"?t:t+""}function Pue(e,t){if(Tf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Tf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nue=["Webkit","Moz","O","ms"],Due=function(t,n){var r=t.replace(/(\w)/,function(s){return s.toUpperCase()}),a=Nue.reduce(function(s,l){return T3(T3({},s),{},T8({},l+r,n))},{});return a[t]=n,a};function ql(e){"@babel/helpers - typeof";return ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ql(e)}function Hh(){return Hh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hh.apply(this,arguments)}function j3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?j3(Object(n),!0).forEach(function(r){fr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,E8(r.key),r)}}function Iue(e,t,n){return t&&E3(e.prototype,t),n&&E3(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $ue(e,t,n){return t=Uh(t),Bue(e,j8()?Reflect.construct(t,n||[],Uh(e).constructor):t.apply(e,n))}function Bue(e,t){if(t&&(ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Lue(e)}function Lue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j8=function(){return!!e})()}function Uh(e){return Uh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Uh(e)}function que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zS(e,t)}function zS(e,t){return zS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},zS(e,t)}function fr(e,t,n){return t=E8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E8(e){var t=zue(e,"string");return ql(t)=="symbol"?t:t+""}function zue(e,t){if(ql(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ql(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Hue=function(t){var n=t.data,r=t.startIndex,a=t.endIndex,s=t.x,l=t.width,c=t.travellerWidth;if(!n||!n.length)return{};var f=n.length,d=_u().domain(zh(0,f)).range([s,s+l-c]),m=d.domain().map(function(p){return d(p)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:d(r),endX:d(a),scale:d,scaleValues:m}},C3=function(t){return t.changedTouches&&!!t.changedTouches.length},zl=(function(e){function t(n){var r;return kue(this,t),r=$ue(this,t,[n]),fr(r,"handleDrag",function(a){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(a):r.state.isSlideMoving&&r.handleSlideDrag(a)}),fr(r,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&r.handleDrag(a.changedTouches[0])}),fr(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=r.props,s=a.endIndex,l=a.onDragEnd,c=a.startIndex;l?.({endIndex:s,startIndex:c})}),r.detachDragEndListener()}),fr(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),fr(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),fr(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),fr(r,"handleSlideDragStart",function(a){var s=C3(a)?a.changedTouches[0]:a;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:s.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return que(t,e),Iue(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var a=r.startX,s=r.endX,l=this.state.scaleValues,c=this.props,f=c.gap,d=c.data,m=d.length-1,p=Math.min(a,s),y=Math.max(a,s),b=t.getIndexInRange(l,p),A=t.getIndexInRange(l,y);return{startIndex:b-b%f,endIndex:A===m?m:A-A%f}}},{key:"getTextOfTick",value:function(r){var a=this.props,s=a.data,l=a.tickFormatter,c=a.dataKey,f=wa(s[r],c,r);return Be(l)?l(f,r):f}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var a=this.state,s=a.slideMoveStartX,l=a.startX,c=a.endX,f=this.props,d=f.x,m=f.width,p=f.travellerWidth,y=f.startIndex,b=f.endIndex,A=f.onChange,S=r.pageX-s;S>0?S=Math.min(S,d+m-p-c,d+m-p-l):S<0&&(S=Math.max(S,d-l,d-c));var x=this.getIndex({startX:l+S,endX:c+S});(x.startIndex!==y||x.endIndex!==b)&&A&&A(x),this.setState({startX:l+S,endX:c+S,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,a){var s=C3(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:s.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var a=this.state,s=a.brushMoveStartX,l=a.movingTravellerId,c=a.endX,f=a.startX,d=this.state[l],m=this.props,p=m.x,y=m.width,b=m.travellerWidth,A=m.onChange,S=m.gap,x=m.data,O={startX:this.state.startX,endX:this.state.endX},R=r.pageX-s;R>0?R=Math.min(R,p+y-b-d):R<0&&(R=Math.max(R,p-d)),O[l]=d+R;var j=this.getIndex(O),M=j.startIndex,T=j.endIndex,C=function(){var P=x.length-1;return l==="startX"&&(c>f?M%S===0:T%S===0)||c<f&&T===P||l==="endX"&&(c>f?T%S===0:M%S===0)||c>f&&T===P};this.setState(fr(fr({},l,d+R),"brushMoveStartX",r.pageX),function(){A&&C()&&A(j)})}},{key:"handleTravellerMoveKeyboard",value:function(r,a){var s=this,l=this.state,c=l.scaleValues,f=l.startX,d=l.endX,m=this.state[a],p=c.indexOf(m);if(p!==-1){var y=p+r;if(!(y===-1||y>=c.length)){var b=c[y];a==="startX"&&b>=d||a==="endX"&&b<=f||this.setState(fr({},a,b),function(){s.props.onChange(s.getIndex({startX:s.state.startX,endX:s.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,a=r.x,s=r.y,l=r.width,c=r.height,f=r.fill,d=r.stroke;return H.createElement("rect",{stroke:d,fill:f,x:a,y:s,width:l,height:c})}},{key:"renderPanorama",value:function(){var r=this.props,a=r.x,s=r.y,l=r.width,c=r.height,f=r.data,d=r.children,m=r.padding,p=N.Children.only(d);return p?H.cloneElement(p,{x:a,y:s,width:l,height:c,margin:m,compact:!0,data:f}):null}},{key:"renderTravellerLayer",value:function(r,a){var s,l,c=this,f=this.props,d=f.y,m=f.travellerWidth,p=f.height,y=f.traveller,b=f.ariaLabel,A=f.data,S=f.startIndex,x=f.endIndex,O=Math.max(r,this.props.x),R=_1(_1({},et(this.props,!1)),{},{x:O,y:d,width:m,height:p}),j=b||"Min value: ".concat((s=A[S])===null||s===void 0?void 0:s.name,", Max value: ").concat((l=A[x])===null||l===void 0?void 0:l.name);return H.createElement(pn,{tabIndex:0,role:"slider","aria-label":j,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(T){["ArrowLeft","ArrowRight"].includes(T.key)&&(T.preventDefault(),T.stopPropagation(),c.handleTravellerMoveKeyboard(T.key==="ArrowRight"?1:-1,a))},onFocus:function(){c.setState({isTravellerFocused:!0})},onBlur:function(){c.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(y,R))}},{key:"renderSlide",value:function(r,a){var s=this.props,l=s.y,c=s.height,f=s.stroke,d=s.travellerWidth,m=Math.min(r,a)+d,p=Math.max(Math.abs(a-r)-d,0);return H.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:f,fillOpacity:.2,x:m,y:l,width:p,height:c})}},{key:"renderText",value:function(){var r=this.props,a=r.startIndex,s=r.endIndex,l=r.y,c=r.height,f=r.travellerWidth,d=r.stroke,m=this.state,p=m.startX,y=m.endX,b=5,A={pointerEvents:"none",fill:d};return H.createElement(pn,{className:"recharts-brush-texts"},H.createElement(vh,Hh({textAnchor:"end",verticalAnchor:"middle",x:Math.min(p,y)-b,y:l+c/2},A),this.getTextOfTick(a)),H.createElement(vh,Hh({textAnchor:"start",verticalAnchor:"middle",x:Math.max(p,y)+f+b,y:l+c/2},A),this.getTextOfTick(s)))}},{key:"render",value:function(){var r=this.props,a=r.data,s=r.className,l=r.children,c=r.x,f=r.y,d=r.width,m=r.height,p=r.alwaysShowText,y=this.state,b=y.startX,A=y.endX,S=y.isTextActive,x=y.isSlideMoving,O=y.isTravellerMoving,R=y.isTravellerFocused;if(!a||!a.length||!pe(c)||!pe(f)||!pe(d)||!pe(m)||d<=0||m<=0)return null;var j=Qe("recharts-brush",s),M=H.Children.count(l)===1,T=Due("userSelect","none");return H.createElement(pn,{className:j,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:T},this.renderBackground(),M&&this.renderPanorama(),this.renderSlide(b,A),this.renderTravellerLayer(b,"startX"),this.renderTravellerLayer(A,"endX"),(S||x||O||R||p)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var a=r.x,s=r.y,l=r.width,c=r.height,f=r.stroke,d=Math.floor(s+c/2)-1;return H.createElement(H.Fragment,null,H.createElement("rect",{x:a,y:s,width:l,height:c,fill:f,stroke:"none"}),H.createElement("line",{x1:a+1,y1:d,x2:a+l-1,y2:d,fill:"none",stroke:"#fff"}),H.createElement("line",{x1:a+1,y1:d+2,x2:a+l-1,y2:d+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,a){var s;return H.isValidElement(r)?s=H.cloneElement(r,a):Be(r)?s=r(a):s=t.renderDefaultTraveller(a),s}},{key:"getDerivedStateFromProps",value:function(r,a){var s=r.data,l=r.width,c=r.x,f=r.travellerWidth,d=r.updateId,m=r.startIndex,p=r.endIndex;if(s!==a.prevData||d!==a.prevUpdateId)return _1({prevData:s,prevTravellerWidth:f,prevUpdateId:d,prevX:c,prevWidth:l},s&&s.length?Hue({data:s,width:l,x:c,travellerWidth:f,startIndex:m,endIndex:p}):{scale:null,scaleValues:null});if(a.scale&&(l!==a.prevWidth||c!==a.prevX||f!==a.prevTravellerWidth)){a.scale.range([c,c+l-f]);var y=a.scale.domain().map(function(b){return a.scale(b)});return{prevData:s,prevTravellerWidth:f,prevUpdateId:d,prevX:c,prevWidth:l,startX:a.scale(r.startIndex),endX:a.scale(r.endIndex),scaleValues:y}}return null}},{key:"getIndexInRange",value:function(r,a){for(var s=r.length,l=0,c=s-1;c-l>1;){var f=Math.floor((l+c)/2);r[f]>a?c=f:l=f}return a>=r[c]?c:l}}])})(N.PureComponent);fr(zl,"displayName","Brush");fr(zl,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var M1,R3;function Uue(){if(R3)return M1;R3=1;var e=_2();function t(n,r){var a;return e(n,function(s,l,c){return a=r(s,l,c),!a}),!!a}return M1=t,M1}var P1,_3;function Vue(){if(_3)return P1;_3=1;var e=$$(),t=ss(),n=Uue(),r=nr(),a=Nm();function s(l,c,f){var d=r(l)?e:n;return f&&a(l,c,f)&&(c=void 0),d(l,t(c,3))}return P1=s,P1}var Fue=Vue();const Gue=mt(Fue);var va=function(t,n){var r=t.alwaysShow,a=t.ifOverflow;return r&&(a="extendDomain"),a===n},N1,M3;function Kue(){if(M3)return N1;M3=1;var e=tB();function t(n,r,a){r=="__proto__"&&e?e(n,r,{configurable:!0,enumerable:!0,value:a,writable:!0}):n[r]=a}return N1=t,N1}var D1,P3;function Yue(){if(P3)return D1;P3=1;var e=Kue(),t=J$(),n=ss();function r(a,s){var l={};return s=n(s,3),t(a,function(c,f,d){e(l,f,s(c,f,d))}),l}return D1=r,D1}var Wue=Yue();const Que=mt(Wue);var k1,N3;function Xue(){if(N3)return k1;N3=1;function e(t,n){for(var r=-1,a=t==null?0:t.length;++r<a;)if(!n(t[r],r,t))return!1;return!0}return k1=e,k1}var I1,D3;function Zue(){if(D3)return I1;D3=1;var e=_2();function t(n,r){var a=!0;return e(n,function(s,l,c){return a=!!r(s,l,c),a}),a}return I1=t,I1}var $1,k3;function Jue(){if(k3)return $1;k3=1;var e=Xue(),t=Zue(),n=ss(),r=nr(),a=Nm();function s(l,c,f){var d=r(l)?e:t;return f&&a(l,c,f)&&(c=void 0),d(l,n(c,3))}return $1=s,$1}var efe=Jue();const C8=mt(efe);var tfe=["x","y"];function jf(e){"@babel/helpers - typeof";return jf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jf(e)}function HS(){return HS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HS.apply(this,arguments)}function I3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function yu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(r){nfe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nfe(e,t,n){return t=rfe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rfe(e){var t=afe(e,"string");return jf(t)=="symbol"?t:t+""}function afe(e,t){if(jf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ife(e,t){if(e==null)return{};var n=sfe(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sfe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ofe(e,t){var n=e.x,r=e.y,a=ife(e,tfe),s="".concat(n),l=parseInt(s,10),c="".concat(r),f=parseInt(c,10),d="".concat(t.height||a.height),m=parseInt(d,10),p="".concat(t.width||a.width),y=parseInt(p,10);return yu(yu(yu(yu(yu({},t),a),l?{x:l}:{}),f?{y:f}:{}),{},{height:m,width:y,name:t.name,radius:t.radius})}function $3(e){return H.createElement(bue,HS({shapeType:"rectangle",propTransformer:ofe,activeClassName:"recharts-active-bar"},e))}var lfe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,a){if(typeof t=="number")return t;var s=pe(r)||TZ(r);return s?t(r,a):(s||to(),n)}},cfe=["value","background"],R8;function Hl(e){"@babel/helpers - typeof";return Hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hl(e)}function ufe(e,t){if(e==null)return{};var n=ffe(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ffe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Vh(){return Vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vh.apply(this,arguments)}function B3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?B3(Object(n),!0).forEach(function(r){Fi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,M8(r.key),r)}}function pfe(e,t,n){return t&&L3(e.prototype,t),n&&L3(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function hfe(e,t,n){return t=Fh(t),mfe(e,_8()?Reflect.construct(t,n||[],Fh(e).constructor):t.apply(e,n))}function mfe(e,t){if(t&&(Hl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gfe(e)}function gfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_8=function(){return!!e})()}function Fh(e){return Fh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Fh(e)}function yfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&US(e,t)}function US(e,t){return US=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},US(e,t)}function Fi(e,t,n){return t=M8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M8(e){var t=vfe(e,"string");return Hl(t)=="symbol"?t:t+""}function vfe(e,t){if(Hl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ho=(function(e){function t(){var n;dfe(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=hfe(this,t,[].concat(a)),Fi(n,"state",{isAnimationFinished:!1}),Fi(n,"id",jm("recharts-bar-")),Fi(n,"handleAnimationEnd",function(){var l=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),l&&l()}),Fi(n,"handleAnimationStart",function(){var l=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),l&&l()}),n}return yfe(t,e),pfe(t,[{key:"renderRectanglesStatically",value:function(r){var a=this,s=this.props,l=s.shape,c=s.dataKey,f=s.activeIndex,d=s.activeBar,m=et(this.props,!1);return r&&r.map(function(p,y){var b=y===f,A=b?d:l,S=Kt(Kt(Kt({},m),p),{},{isActive:b,option:A,index:y,dataKey:c,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return H.createElement(pn,Vh({className:"recharts-bar-rectangle"},oh(a.props,p,y),{key:"rectangle-".concat(p?.x,"-").concat(p?.y,"-").concat(p?.value,"-").concat(y)}),H.createElement($3,S))})}},{key:"renderRectanglesWithAnimation",value:function(){var r=this,a=this.props,s=a.data,l=a.layout,c=a.isAnimationActive,f=a.animationBegin,d=a.animationDuration,m=a.animationEasing,p=a.animationId,y=this.state.prevData;return H.createElement(ns,{begin:f,duration:d,isActive:c,easing:m,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var A=b.t,S=s.map(function(x,O){var R=y&&y[O];if(R){var j=al(R.x,x.x),M=al(R.y,x.y),T=al(R.width,x.width),C=al(R.height,x.height);return Kt(Kt({},x),{},{x:j(A),y:M(A),width:T(A),height:C(A)})}if(l==="horizontal"){var E=al(0,x.height),P=E(A);return Kt(Kt({},x),{},{y:x.y+x.height-P,height:P})}var k=al(0,x.width),z=k(A);return Kt(Kt({},x),{},{width:z})});return H.createElement(pn,null,r.renderRectanglesStatically(S))})}},{key:"renderRectangles",value:function(){var r=this.props,a=r.data,s=r.isAnimationActive,l=this.state.prevData;return s&&a&&a.length&&(!l||!nO(l,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var r=this,a=this.props,s=a.data,l=a.dataKey,c=a.activeIndex,f=et(this.props.background,!1);return s.map(function(d,m){d.value;var p=d.background,y=ufe(d,cfe);if(!p)return null;var b=Kt(Kt(Kt(Kt(Kt({},y),{},{fill:"#eee"},p),f),oh(r.props,d,m)),{},{onAnimationStart:r.handleAnimationStart,onAnimationEnd:r.handleAnimationEnd,dataKey:l,index:m,className:"recharts-bar-background-rectangle"});return H.createElement($3,Vh({key:"background-bar-".concat(m),option:r.props.background,isActive:m===c},b))})}},{key:"renderErrorBar",value:function(r,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.data,c=s.xAxis,f=s.yAxis,d=s.layout,m=s.children,p=Zr(m,Vm);if(!p)return null;var y=d==="vertical"?l[0].height/2:l[0].width/2,b=function(x,O){var R=Array.isArray(x.value)?x.value[1]:x.value;return{x:x.x,y:x.y,value:R,errorVal:wa(x,O)}},A={clipPath:r?"url(#clipPath-".concat(a,")"):null};return H.createElement(pn,A,p.map(function(S){return H.cloneElement(S,{key:"error-bar-".concat(a,"-").concat(S.props.dataKey),data:l,xAxis:c,yAxis:f,layout:d,offset:y,dataPointFormatter:b})}))}},{key:"render",value:function(){var r=this.props,a=r.hide,s=r.data,l=r.className,c=r.xAxis,f=r.yAxis,d=r.left,m=r.top,p=r.width,y=r.height,b=r.isAnimationActive,A=r.background,S=r.id;if(a||!s||!s.length)return null;var x=this.state.isAnimationFinished,O=Qe("recharts-bar",l),R=c&&c.allowDataOverflow,j=f&&f.allowDataOverflow,M=R||j,T=tt(S)?this.id:S;return H.createElement(pn,{className:O},R||j?H.createElement("defs",null,H.createElement("clipPath",{id:"clipPath-".concat(T)},H.createElement("rect",{x:R?d:d-p/2,y:j?m:m-y/2,width:R?p:p*2,height:j?y:y*2}))):null,H.createElement(pn,{className:"recharts-bar-rectangles",clipPath:M?"url(#clipPath-".concat(T,")"):null},A?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(M,T),(!b||x)&&Ys.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,a){return r.animationId!==a.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:a.curData}:r.data!==a.curData?{curData:r.data}:null}}])})(N.PureComponent);R8=ho;Fi(ho,"displayName","Bar");Fi(ho,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Xf.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Fi(ho,"getComposedData",function(e){var t=e.props,n=e.item,r=e.barPosition,a=e.bandSize,s=e.xAxis,l=e.yAxis,c=e.xAxisTicks,f=e.yAxisTicks,d=e.stackedData,m=e.dataStartIndex,p=e.displayedData,y=e.offset,b=Ise(r,n);if(!b)return null;var A=t.layout,S=n.type.defaultProps,x=S!==void 0?Kt(Kt({},S),n.props):n.props,O=x.dataKey,R=x.children,j=x.minPointSize,M=A==="horizontal"?l:s,T=d?M.scale.domain():null,C=Vse({numericAxis:M}),E=Zr(R,N2),P=p.map(function(k,z){var B,U,F,K,Q,I;d?B=$se(d[m+z],T):(B=wa(k,O),Array.isArray(B)||(B=[C,B]));var L=lfe(j,R8.defaultProps.minPointSize)(B[1],z);if(A==="horizontal"){var q,Z=[l.scale(B[0]),l.scale(B[1])],ie=Z[0],$=Z[1];U=w5({axis:s,ticks:c,bandSize:a,offset:b.offset,entry:k,index:z}),F=(q=$??ie)!==null&&q!==void 0?q:void 0,K=b.size;var G=ie-$;if(Q=Number.isNaN(G)?0:G,I={x:U,y:l.y,width:K,height:l.height},Math.abs(L)>0&&Math.abs(Q)<Math.abs(L)){var Y=Xr(Q||L)*(Math.abs(L)-Math.abs(Q));F-=Y,Q+=Y}}else{var J=[s.scale(B[0]),s.scale(B[1])],ue=J[0],he=J[1];if(U=ue,F=w5({axis:l,ticks:f,bandSize:a,offset:b.offset,entry:k,index:z}),K=he-ue,Q=b.size,I={x:s.x,y:F,width:s.width,height:Q},Math.abs(L)>0&&Math.abs(K)<Math.abs(L)){var me=Xr(K||L)*(Math.abs(L)-Math.abs(K));K+=me}}return Kt(Kt(Kt({},k),{},{x:U,y:F,width:K,height:Q,value:d?B:B[1],payload:k,background:I},E&&E[z]&&E[z].props),{},{tooltipPayload:[d8(n,k)],tooltipPosition:{x:U+K/2,y:F+Q/2}})});return Kt({data:P,layout:A},y)});function Ef(e){"@babel/helpers - typeof";return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ef(e)}function bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P8(r.key),r)}}function xfe(e,t,n){return t&&q3(e.prototype,t),n&&q3(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function z3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z3(Object(n),!0).forEach(function(r){Km(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Km(e,t,n){return t=P8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P8(e){var t=wfe(e,"string");return Ef(t)=="symbol"?t:t+""}function wfe(e,t){if(Ef(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ef(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sfe=function(t,n,r,a,s){var l=t.width,c=t.height,f=t.layout,d=t.children,m=Object.keys(n),p={left:r.left,leftMirror:r.left,right:l-r.right,rightMirror:l-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},y=!!dr(d,ho);return m.reduce(function(b,A){var S=n[A],x=S.orientation,O=S.domain,R=S.padding,j=R===void 0?{}:R,M=S.mirror,T=S.reversed,C="".concat(x).concat(M?"Mirror":""),E,P,k,z,B;if(S.type==="number"&&(S.padding==="gap"||S.padding==="no-gap")){var U=O[1]-O[0],F=1/0,K=S.categoricalDomain.sort(CZ);if(K.forEach(function(J,ue){ue>0&&(F=Math.min((J||0)-(K[ue-1]||0),F))}),Number.isFinite(F)){var Q=F/U,I=S.layout==="vertical"?r.height:r.width;if(S.padding==="gap"&&(E=Q*I/2),S.padding==="no-gap"){var L=Js(t.barCategoryGap,Q*I),q=Q*I/2;E=q-L-(q-L)/I*L}}}a==="xAxis"?P=[r.left+(j.left||0)+(E||0),r.left+r.width-(j.right||0)-(E||0)]:a==="yAxis"?P=f==="horizontal"?[r.top+r.height-(j.bottom||0),r.top+(j.top||0)]:[r.top+(j.top||0)+(E||0),r.top+r.height-(j.bottom||0)-(E||0)]:P=S.range,T&&(P=[P[1],P[0]]);var Z=Dse(S,s,y),ie=Z.scale,$=Z.realScaleType;ie.domain(O).range(P),kse(ie);var G=Use(ie,Wr(Wr({},S),{},{realScaleType:$}));a==="xAxis"?(B=x==="top"&&!M||x==="bottom"&&M,k=r.left,z=p[C]-B*S.height):a==="yAxis"&&(B=x==="left"&&!M||x==="right"&&M,k=p[C]-B*S.width,z=r.top);var Y=Wr(Wr(Wr({},S),G),{},{realScaleType:$,x:k,y:z,scale:ie,width:a==="xAxis"?r.width:S.width,height:a==="yAxis"?r.height:S.height});return Y.bandSize=Ph(Y,G),!S.hide&&a==="xAxis"?p[C]+=(B?-1:1)*Y.height:S.hide||(p[C]+=(B?-1:1)*Y.width),Wr(Wr({},b),{},Km({},A,Y))},{})},N8=function(t,n){var r=t.x,a=t.y,s=n.x,l=n.y;return{x:Math.min(r,s),y:Math.min(a,l),width:Math.abs(s-r),height:Math.abs(l-a)}},Afe=function(t){var n=t.x1,r=t.y1,a=t.x2,s=t.y2;return N8({x:n,y:r},{x:a,y:s})},D8=(function(){function e(t){bfe(this,e),this.scale=t}return xfe(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.bandAware,s=r.position;if(n!==void 0){if(s)switch(s){case"start":return this.scale(n);case"middle":{var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}case"end":{var c=this.bandwidth?this.bandwidth():0;return this.scale(n)+c}default:return this.scale(n)}if(a){var f=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+f}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),a=r[0],s=r[r.length-1];return a<=s?n>=a&&n<=s:n>=s&&n<=a}}],[{key:"create",value:function(n){return new e(n)}}])})();Km(D8,"EPS",1e-4);var oO=function(t){var n=Object.keys(t).reduce(function(r,a){return Wr(Wr({},r),{},Km({},a,D8.create(t[a])))},{});return Wr(Wr({},n),{},{apply:function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.bandAware,c=s.position;return Que(a,function(f,d){return n[d].apply(f,{bandAware:l,position:c})})},isInRange:function(a){return C8(a,function(s,l){return n[l].isInRange(s)})}})};function Ofe(e){return(e%180+180)%180}var Tfe=function(t){var n=t.width,r=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=Ofe(a),l=s*Math.PI/180,c=Math.atan(r/n),f=l>c&&l<Math.PI-c?r/Math.sin(l):n/Math.cos(l);return Math.abs(f)},B1,H3;function jfe(){if(H3)return B1;H3=1;var e=ss(),t=Qf(),n=Mm();function r(a){return function(s,l,c){var f=Object(s);if(!t(s)){var d=e(l,3);s=n(s),l=function(p){return d(f[p],p,f)}}var m=a(s,l,c);return m>-1?f[d?s[m]:m]:void 0}}return B1=r,B1}var L1,U3;function Efe(){if(U3)return L1;U3=1;var e=O8();function t(n){var r=e(n),a=r%1;return r===r?a?r-a:r:0}return L1=t,L1}var q1,V3;function Cfe(){if(V3)return q1;V3=1;var e=Y$(),t=ss(),n=Efe(),r=Math.max;function a(s,l,c){var f=s==null?0:s.length;if(!f)return-1;var d=c==null?0:n(c);return d<0&&(d=r(f+d,0)),e(s,t(l,3),d)}return q1=a,q1}var z1,F3;function Rfe(){if(F3)return z1;F3=1;var e=jfe(),t=Cfe(),n=e(t);return z1=n,z1}var _fe=Rfe();const Mfe=mt(_fe);var Pfe=u$();const Nfe=mt(Pfe);var Dfe=Nfe(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),lO=N.createContext(void 0),cO=N.createContext(void 0),k8=N.createContext(void 0),I8=N.createContext({}),$8=N.createContext(void 0),B8=N.createContext(0),L8=N.createContext(0),G3=function(t){var n=t.state,r=n.xAxisMap,a=n.yAxisMap,s=n.offset,l=t.clipPathId,c=t.children,f=t.width,d=t.height,m=Dfe(s);return H.createElement(lO.Provider,{value:r},H.createElement(cO.Provider,{value:a},H.createElement(I8.Provider,{value:s},H.createElement(k8.Provider,{value:m},H.createElement($8.Provider,{value:l},H.createElement(B8.Provider,{value:d},H.createElement(L8.Provider,{value:f},c)))))))},kfe=function(){return N.useContext($8)},q8=function(t){var n=N.useContext(lO);n==null&&to();var r=n[t];return r==null&&to(),r},Ife=function(){var t=N.useContext(lO);return Ui(t)},$fe=function(){var t=N.useContext(cO),n=Mfe(t,function(r){return C8(r.domain,Number.isFinite)});return n||Ui(t)},z8=function(t){var n=N.useContext(cO);n==null&&to();var r=n[t];return r==null&&to(),r},Bfe=function(){var t=N.useContext(k8);return t},Lfe=function(){return N.useContext(I8)},uO=function(){return N.useContext(L8)},fO=function(){return N.useContext(B8)};function Ul(e){"@babel/helpers - typeof";return Ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ul(e)}function qfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zfe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,U8(r.key),r)}}function Hfe(e,t,n){return t&&zfe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ufe(e,t,n){return t=Gh(t),Vfe(e,H8()?Reflect.construct(t,n||[],Gh(e).constructor):t.apply(e,n))}function Vfe(e,t){if(t&&(Ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ffe(e)}function Ffe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(H8=function(){return!!e})()}function Gh(e){return Gh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Gh(e)}function Gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VS(e,t)}function VS(e,t){return VS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},VS(e,t)}function K3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Y3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?K3(Object(n),!0).forEach(function(r){dO(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dO(e,t,n){return t=U8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U8(e){var t=Kfe(e,"string");return Ul(t)=="symbol"?t:t+""}function Kfe(e,t){if(Ul(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ul(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Yfe(e,t){return Zfe(e)||Xfe(e,t)||Qfe(e,t)||Wfe()}function Wfe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
354In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qfe(e,t){if(e){if(typeof e=="string")return W3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W3(e,t)}}function W3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xfe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Zfe(e){if(Array.isArray(e))return e}function FS(){return FS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FS.apply(this,arguments)}var Jfe=function(t,n){var r;return H.isValidElement(t)?r=H.cloneElement(t,n):Be(t)?r=t(n):r=H.createElement("line",FS({},n,{className:"recharts-reference-line-line"})),r},ede=function(t,n,r,a,s,l,c,f,d){var m=s.x,p=s.y,y=s.width,b=s.height;if(r){var A=d.y,S=t.y.apply(A,{position:l});if(va(d,"discard")&&!t.y.isInRange(S))return null;var x=[{x:m+y,y:S},{x:m,y:S}];return f==="left"?x.reverse():x}if(n){var O=d.x,R=t.x.apply(O,{position:l});if(va(d,"discard")&&!t.x.isInRange(R))return null;var j=[{x:R,y:p+b},{x:R,y:p}];return c==="top"?j.reverse():j}if(a){var M=d.segment,T=M.map(function(C){return t.apply(C,{position:l})});return va(d,"discard")&&Gue(T,function(C){return!t.isInRange(C)})?null:T}return null};function tde(e){var t=e.x,n=e.y,r=e.segment,a=e.xAxisId,s=e.yAxisId,l=e.shape,c=e.className,f=e.alwaysShow,d=kfe(),m=q8(a),p=z8(s),y=Bfe();if(!d||!y)return null;Rl(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=oO({x:m.scale,y:p.scale}),A=tn(t),S=tn(n),x=r&&r.length===2,O=ede(b,A,S,x,y,e.position,m.orientation,p.orientation,e);if(!O)return null;var R=Yfe(O,2),j=R[0],M=j.x,T=j.y,C=R[1],E=C.x,P=C.y,k=va(e,"hidden")?"url(#".concat(d,")"):void 0,z=Y3(Y3({clipPath:k},et(e,!0)),{},{x1:M,y1:T,x2:E,y2:P});return H.createElement(pn,{className:Qe("recharts-reference-line",c)},Jfe(l,z),Nn.renderCallByParent(e,Afe({x1:M,y1:T,x2:E,y2:P})))}var pO=(function(e){function t(){return qfe(this,t),Ufe(this,t,arguments)}return Gfe(t,e),Hfe(t,[{key:"render",value:function(){return H.createElement(tde,this.props)}}])})(H.Component);dO(pO,"displayName","ReferenceLine");dO(pO,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function GS(){return GS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GS.apply(this,arguments)}function Vl(e){"@babel/helpers - typeof";return Vl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vl(e)}function Q3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function X3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Q3(Object(n),!0).forEach(function(r){Ym(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F8(r.key),r)}}function ade(e,t,n){return t&&rde(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ide(e,t,n){return t=Kh(t),sde(e,V8()?Reflect.construct(t,n||[],Kh(e).constructor):t.apply(e,n))}function sde(e,t){if(t&&(Vl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ode(e)}function ode(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(V8=function(){return!!e})()}function Kh(e){return Kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Kh(e)}function lde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KS(e,t)}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},KS(e,t)}function Ym(e,t,n){return t=F8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F8(e){var t=cde(e,"string");return Vl(t)=="symbol"?t:t+""}function cde(e,t){if(Vl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Vl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ude=function(t){var n=t.x,r=t.y,a=t.xAxis,s=t.yAxis,l=oO({x:a.scale,y:s.scale}),c=l.apply({x:n,y:r},{bandAware:!0});return va(t,"discard")&&!l.isInRange(c)?null:c},Wm=(function(e){function t(){return nde(this,t),ide(this,t,arguments)}return lde(t,e),ade(t,[{key:"render",value:function(){var r=this.props,a=r.x,s=r.y,l=r.r,c=r.alwaysShow,f=r.clipPathId,d=tn(a),m=tn(s);if(Rl(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!d||!m)return null;var p=ude(this.props);if(!p)return null;var y=p.x,b=p.y,A=this.props,S=A.shape,x=A.className,O=va(this.props,"hidden")?"url(#".concat(f,")"):void 0,R=X3(X3({clipPath:O},et(this.props,!0)),{},{cx:y,cy:b});return H.createElement(pn,{className:Qe("recharts-reference-dot",x)},t.renderDot(S,R),Nn.renderCallByParent(this.props,{x:y-l,y:b-l,width:2*l,height:2*l}))}}])})(H.Component);Ym(Wm,"displayName","ReferenceDot");Ym(Wm,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Ym(Wm,"renderDot",function(e,t){var n;return H.isValidElement(e)?n=H.cloneElement(e,t):Be(e)?n=e(t):n=H.createElement(A8,GS({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),n});function YS(){return YS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YS.apply(this,arguments)}function Fl(e){"@babel/helpers - typeof";return Fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fl(e)}function Z3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function J3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Z3(Object(n),!0).forEach(function(r){Qm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,K8(r.key),r)}}function pde(e,t,n){return t&&dde(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function hde(e,t,n){return t=Yh(t),mde(e,G8()?Reflect.construct(t,n||[],Yh(e).constructor):t.apply(e,n))}function mde(e,t){if(t&&(Fl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gde(e)}function gde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(G8=function(){return!!e})()}function Yh(e){return Yh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Yh(e)}function yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WS(e,t)}function WS(e,t){return WS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},WS(e,t)}function Qm(e,t,n){return t=K8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K8(e){var t=vde(e,"string");return Fl(t)=="symbol"?t:t+""}function vde(e,t){if(Fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var bde=function(t,n,r,a,s){var l=s.x1,c=s.x2,f=s.y1,d=s.y2,m=s.xAxis,p=s.yAxis;if(!m||!p)return null;var y=oO({x:m.scale,y:p.scale}),b={x:t?y.x.apply(l,{position:"start"}):y.x.rangeMin,y:r?y.y.apply(f,{position:"start"}):y.y.rangeMin},A={x:n?y.x.apply(c,{position:"end"}):y.x.rangeMax,y:a?y.y.apply(d,{position:"end"}):y.y.rangeMax};return va(s,"discard")&&(!y.isInRange(b)||!y.isInRange(A))?null:N8(b,A)},Xm=(function(e){function t(){return fde(this,t),hde(this,t,arguments)}return yde(t,e),pde(t,[{key:"render",value:function(){var r=this.props,a=r.x1,s=r.x2,l=r.y1,c=r.y2,f=r.className,d=r.alwaysShow,m=r.clipPathId;Rl(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=tn(a),y=tn(s),b=tn(l),A=tn(c),S=this.props.shape;if(!p&&!y&&!b&&!A&&!S)return null;var x=bde(p,y,b,A,this.props);if(!x&&!S)return null;var O=va(this.props,"hidden")?"url(#".concat(m,")"):void 0;return H.createElement(pn,{className:Qe("recharts-reference-area",f)},t.renderRect(S,J3(J3({clipPath:O},et(this.props,!0)),x)),Nn.renderCallByParent(this.props,x))}}])})(H.Component);Qm(Xm,"displayName","ReferenceArea");Qm(Xm,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});Qm(Xm,"renderRect",function(e,t){var n;return H.isValidElement(e)?n=H.cloneElement(e,t):Be(e)?n=e(t):n=H.createElement(sO,YS({},t,{className:"recharts-reference-area-rect"})),n});function Y8(e,t,n){if(t<1)return[];if(t===1&&n===void 0)return e;for(var r=[],a=0;a<e.length;a+=t)r.push(e[a]);return r}function xde(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return Tfe(r,n)}function wde(e,t,n){var r=n==="width",a=e.x,s=e.y,l=e.width,c=e.height;return t===1?{start:r?a:s,end:r?a+l:s+c}:{start:r?a+l:s+c,end:r?a:s}}function Wh(e,t,n,r,a){if(e*t<e*r||e*t>e*a)return!1;var s=n();return e*(t-e*s/2-r)>=0&&e*(t+e*s/2-a)<=0}function Sde(e,t){return Y8(e,t+1)}function Ade(e,t,n,r,a){for(var s=(r||[]).slice(),l=t.start,c=t.end,f=0,d=1,m=l,p=function(){var A=r?.[f];if(A===void 0)return{v:Y8(r,d)};var S=f,x,O=function(){return x===void 0&&(x=n(A,S)),x},R=A.coordinate,j=f===0||Wh(e,R,O,m,c);j||(f=0,m=l,d+=1),j&&(m=R+e*(O()/2+a),f+=d)},y;d<=s.length;)if(y=p(),y)return y.v;return[]}function Cf(e){"@babel/helpers - typeof";return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cf(e)}function ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Mn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ek(Object(n),!0).forEach(function(r){Ode(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ek(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ode(e,t,n){return t=Tde(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tde(e){var t=jde(e,"string");return Cf(t)=="symbol"?t:t+""}function jde(e,t){if(Cf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ede(e,t,n,r,a){for(var s=(r||[]).slice(),l=s.length,c=t.start,f=t.end,d=function(y){var b=s[y],A,S=function(){return A===void 0&&(A=n(b,y)),A};if(y===l-1){var x=e*(b.coordinate+e*S()/2-f);s[y]=b=Mn(Mn({},b),{},{tickCoord:x>0?b.coordinate-x*e:b.coordinate})}else s[y]=b=Mn(Mn({},b),{},{tickCoord:b.coordinate});var O=Wh(e,b.tickCoord,S,c,f);O&&(f=b.tickCoord-e*(S()/2+a),s[y]=Mn(Mn({},b),{},{isShow:!0}))},m=l-1;m>=0;m--)d(m);return s}function Cde(e,t,n,r,a,s){var l=(r||[]).slice(),c=l.length,f=t.start,d=t.end;if(s){var m=r[c-1],p=n(m,c-1),y=e*(m.coordinate+e*p/2-d);l[c-1]=m=Mn(Mn({},m),{},{tickCoord:y>0?m.coordinate-y*e:m.coordinate});var b=Wh(e,m.tickCoord,function(){return p},f,d);b&&(d=m.tickCoord-e*(p/2+a),l[c-1]=Mn(Mn({},m),{},{isShow:!0}))}for(var A=s?c-1:c,S=function(R){var j=l[R],M,T=function(){return M===void 0&&(M=n(j,R)),M};if(R===0){var C=e*(j.coordinate-e*T()/2-f);l[R]=j=Mn(Mn({},j),{},{tickCoord:C<0?j.coordinate-C*e:j.coordinate})}else l[R]=j=Mn(Mn({},j),{},{tickCoord:j.coordinate});var E=Wh(e,j.tickCoord,T,f,d);E&&(f=j.tickCoord+e*(T()/2+a),l[R]=Mn(Mn({},j),{},{isShow:!0}))},x=0;x<A;x++)S(x);return l}function hO(e,t,n){var r=e.tick,a=e.ticks,s=e.viewBox,l=e.minTickGap,c=e.orientation,f=e.interval,d=e.tickFormatter,m=e.unit,p=e.angle;if(!a||!a.length||!r)return[];if(pe(f)||Xf.isSsr)return Sde(a,typeof f=="number"&&pe(f)?f:0);var y=[],b=c==="top"||c==="bottom"?"width":"height",A=m&&b==="width"?Ru(m,{fontSize:t,letterSpacing:n}):{width:0,height:0},S=function(j,M){var T=Be(d)?d(j.value,M):j.value;return b==="width"?xde(Ru(T,{fontSize:t,letterSpacing:n}),A,p):Ru(T,{fontSize:t,letterSpacing:n})[b]},x=a.length>=2?Xr(a[1].coordinate-a[0].coordinate):1,O=wde(s,x,b);return f==="equidistantPreserveStart"?Ade(x,O,S,a,l):(f==="preserveStart"||f==="preserveStartEnd"?y=Cde(x,O,S,a,l,f==="preserveStartEnd"):y=Ede(x,O,S,a,l),y.filter(function(R){return R.isShow}))}var Rde=["viewBox"],_de=["viewBox"],Mde=["ticks"];function Gl(e){"@babel/helpers - typeof";return Gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gl(e)}function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ml.apply(this,arguments)}function tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(r){mO(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H1(e,t){if(e==null)return{};var n=Pde(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Pde(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Nde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q8(r.key),r)}}function Dde(e,t,n){return t&&nk(e.prototype,t),n&&nk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function kde(e,t,n){return t=Qh(t),Ide(e,W8()?Reflect.construct(t,n||[],Qh(e).constructor):t.apply(e,n))}function Ide(e,t){if(t&&(Gl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $de(e)}function $de(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W8=function(){return!!e})()}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qh(e)}function Bde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QS(e,t)}function QS(e,t){return QS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},QS(e,t)}function mO(e,t,n){return t=Q8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q8(e){var t=Lde(e,"string");return Gl(t)=="symbol"?t:t+""}function Lde(e,t){if(Gl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var pc=(function(e){function t(n){var r;return Nde(this,t),r=kde(this,t,[n]),r.state={fontSize:"",letterSpacing:""},r}return Bde(t,e),Dde(t,[{key:"shouldComponentUpdate",value:function(r,a){var s=r.viewBox,l=H1(r,Rde),c=this.props,f=c.viewBox,d=H1(c,_de);return!xl(s,f)||!xl(l,d)||!xl(a,this.state)}},{key:"componentDidMount",value:function(){var r=this.layerReference;if(r){var a=r.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(r){var a=this.props,s=a.x,l=a.y,c=a.width,f=a.height,d=a.orientation,m=a.tickSize,p=a.mirror,y=a.tickMargin,b,A,S,x,O,R,j=p?-1:1,M=r.tickSize||m,T=pe(r.tickCoord)?r.tickCoord:r.coordinate;switch(d){case"top":b=A=r.coordinate,x=l+ +!p*f,S=x-j*M,R=S-j*y,O=T;break;case"left":S=x=r.coordinate,A=s+ +!p*c,b=A-j*M,O=b-j*y,R=T;break;case"right":S=x=r.coordinate,A=s+ +p*c,b=A+j*M,O=b+j*y,R=T;break;default:b=A=r.coordinate,x=l+ +p*f,S=x+j*M,R=S+j*y,O=T;break}return{line:{x1:b,y1:S,x2:A,y2:x},tick:{x:O,y:R}}}},{key:"getTickTextAnchor",value:function(){var r=this.props,a=r.orientation,s=r.mirror,l;switch(a){case"left":l=s?"start":"end";break;case"right":l=s?"end":"start";break;default:l="middle";break}return l}},{key:"getTickVerticalAnchor",value:function(){var r=this.props,a=r.orientation,s=r.mirror,l="end";switch(a){case"left":case"right":l="middle";break;case"top":l=s?"start":"end";break;default:l=s?"end":"start";break}return l}},{key:"renderAxisLine",value:function(){var r=this.props,a=r.x,s=r.y,l=r.width,c=r.height,f=r.orientation,d=r.mirror,m=r.axisLine,p=Jt(Jt(Jt({},et(this.props,!1)),et(m,!1)),{},{fill:"none"});if(f==="top"||f==="bottom"){var y=+(f==="top"&&!d||f==="bottom"&&d);p=Jt(Jt({},p),{},{x1:a,y1:s+y*c,x2:a+l,y2:s+y*c})}else{var b=+(f==="left"&&!d||f==="right"&&d);p=Jt(Jt({},p),{},{x1:a+b*l,y1:s,x2:a+b*l,y2:s+c})}return H.createElement("line",ml({},p,{className:Qe("recharts-cartesian-axis-line",$r(m,"className"))}))}},{key:"renderTicks",value:function(r,a,s){var l=this,c=this.props,f=c.tickLine,d=c.stroke,m=c.tick,p=c.tickFormatter,y=c.unit,b=hO(Jt(Jt({},this.props),{},{ticks:r}),a,s),A=this.getTickTextAnchor(),S=this.getTickVerticalAnchor(),x=et(this.props,!1),O=et(m,!1),R=Jt(Jt({},x),{},{fill:"none"},et(f,!1)),j=b.map(function(M,T){var C=l.getTickLineCoord(M),E=C.line,P=C.tick,k=Jt(Jt(Jt(Jt({textAnchor:A,verticalAnchor:S},x),{},{stroke:"none",fill:d},O),P),{},{index:T,payload:M,visibleTicksCount:b.length,tickFormatter:p});return H.createElement(pn,ml({className:"recharts-cartesian-axis-tick",key:"tick-".concat(M.value,"-").concat(M.coordinate,"-").concat(M.tickCoord)},oh(l.props,M,T)),f&&H.createElement("line",ml({},R,E,{className:Qe("recharts-cartesian-axis-tick-line",$r(f,"className"))})),m&&t.renderTickItem(m,k,"".concat(Be(p)?p(M.value,T):M.value).concat(y||"")))});return H.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var r=this,a=this.props,s=a.axisLine,l=a.width,c=a.height,f=a.ticksGenerator,d=a.className,m=a.hide;if(m)return null;var p=this.props,y=p.ticks,b=H1(p,Mde),A=y;return Be(f)&&(A=y&&y.length>0?f(this.props):f(b)),l<=0||c<=0||!A||!A.length?null:H.createElement(pn,{className:Qe("recharts-cartesian-axis",d),ref:function(x){r.layerReference=x}},s&&this.renderAxisLine(),this.renderTicks(A,this.state.fontSize,this.state.letterSpacing),Nn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,a,s){var l,c=Qe(a.className,"recharts-cartesian-axis-tick-value");return H.isValidElement(r)?l=H.cloneElement(r,Jt(Jt({},a),{},{className:c})):Be(r)?l=r(Jt(Jt({},a),{},{className:c})):l=H.createElement(vh,ml({},a,{className:"recharts-cartesian-axis-tick-value"}),s),l}}])})(N.Component);mO(pc,"displayName","CartesianAxis");mO(pc,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var qde=["x1","y1","x2","y2","key"],zde=["offset"];function no(e){"@babel/helpers - typeof";return no=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},no(e)}function rk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rk(Object(n),!0).forEach(function(r){Hde(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hde(e,t,n){return t=Ude(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ude(e){var t=Vde(e,"string");return no(t)=="symbol"?t:t+""}function Vde(e,t){if(no(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(no(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hs.apply(this,arguments)}function ak(e,t){if(e==null)return{};var n=Fde(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fde(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Gde=function(t){var n=t.fill;if(!n||n==="none")return null;var r=t.fillOpacity,a=t.x,s=t.y,l=t.width,c=t.height,f=t.ry;return H.createElement("rect",{x:a,y:s,ry:f,width:l,height:c,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function X8(e,t){var n;if(H.isValidElement(e))n=H.cloneElement(e,t);else if(Be(e))n=e(t);else{var r=t.x1,a=t.y1,s=t.x2,l=t.y2,c=t.key,f=ak(t,qde),d=et(f,!1);d.offset;var m=ak(d,zde);n=H.createElement("line",Hs({},m,{x1:r,y1:a,x2:s,y2:l,fill:"none",key:c}))}return n}function Kde(e){var t=e.x,n=e.width,r=e.horizontal,a=r===void 0?!0:r,s=e.horizontalPoints;if(!a||!s||!s.length)return null;var l=s.map(function(c,f){var d=Dn(Dn({},e),{},{x1:t,y1:c,x2:t+n,y2:c,key:"line-".concat(f),index:f});return X8(a,d)});return H.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function Yde(e){var t=e.y,n=e.height,r=e.vertical,a=r===void 0?!0:r,s=e.verticalPoints;if(!a||!s||!s.length)return null;var l=s.map(function(c,f){var d=Dn(Dn({},e),{},{x1:c,y1:t,x2:c,y2:t+n,key:"line-".concat(f),index:f});return X8(a,d)});return H.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function Wde(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,a=e.y,s=e.width,l=e.height,c=e.horizontalPoints,f=e.horizontal,d=f===void 0?!0:f;if(!d||!t||!t.length)return null;var m=c.map(function(y){return Math.round(y+a-a)}).sort(function(y,b){return y-b});a!==m[0]&&m.unshift(0);var p=m.map(function(y,b){var A=!m[b+1],S=A?a+l-y:m[b+1]-y;if(S<=0)return null;var x=b%t.length;return H.createElement("rect",{key:"react-".concat(b),y,x:r,height:S,width:s,stroke:"none",fill:t[x],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return H.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},p)}function Qde(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,a=e.fillOpacity,s=e.x,l=e.y,c=e.width,f=e.height,d=e.verticalPoints;if(!n||!r||!r.length)return null;var m=d.map(function(y){return Math.round(y+s-s)}).sort(function(y,b){return y-b});s!==m[0]&&m.unshift(0);var p=m.map(function(y,b){var A=!m[b+1],S=A?s+c-y:m[b+1]-y;if(S<=0)return null;var x=b%r.length;return H.createElement("rect",{key:"react-".concat(b),x:y,y:l,width:S,height:f,stroke:"none",fill:r[x],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return H.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},p)}var Xde=function(t,n){var r=t.xAxis,a=t.width,s=t.height,l=t.offset;return u8(hO(Dn(Dn(Dn({},pc.defaultProps),r),{},{ticks:Za(r,!0),viewBox:{x:0,y:0,width:a,height:s}})),l.left,l.left+l.width,n)},Zde=function(t,n){var r=t.yAxis,a=t.width,s=t.height,l=t.offset;return u8(hO(Dn(Dn(Dn({},pc.defaultProps),r),{},{ticks:Za(r,!0),viewBox:{x:0,y:0,width:a,height:s}})),l.top,l.top+l.height,n)},ol={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function Z8(e){var t,n,r,a,s,l,c=uO(),f=fO(),d=Lfe(),m=Dn(Dn({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:ol.stroke,fill:(n=e.fill)!==null&&n!==void 0?n:ol.fill,horizontal:(r=e.horizontal)!==null&&r!==void 0?r:ol.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:ol.horizontalFill,vertical:(s=e.vertical)!==null&&s!==void 0?s:ol.vertical,verticalFill:(l=e.verticalFill)!==null&&l!==void 0?l:ol.verticalFill,x:pe(e.x)?e.x:d.left,y:pe(e.y)?e.y:d.top,width:pe(e.width)?e.width:d.width,height:pe(e.height)?e.height:d.height}),p=m.x,y=m.y,b=m.width,A=m.height,S=m.syncWithTicks,x=m.horizontalValues,O=m.verticalValues,R=Ife(),j=$fe();if(!pe(b)||b<=0||!pe(A)||A<=0||!pe(p)||p!==+p||!pe(y)||y!==+y)return null;var M=m.verticalCoordinatesGenerator||Xde,T=m.horizontalCoordinatesGenerator||Zde,C=m.horizontalPoints,E=m.verticalPoints;if((!C||!C.length)&&Be(T)){var P=x&&x.length,k=T({yAxis:j?Dn(Dn({},j),{},{ticks:P?x:j.ticks}):void 0,width:c,height:f,offset:d},P?!0:S);Rl(Array.isArray(k),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(no(k),"]")),Array.isArray(k)&&(C=k)}if((!E||!E.length)&&Be(M)){var z=O&&O.length,B=M({xAxis:R?Dn(Dn({},R),{},{ticks:z?O:R.ticks}):void 0,width:c,height:f,offset:d},z?!0:S);Rl(Array.isArray(B),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(no(B),"]")),Array.isArray(B)&&(E=B)}return H.createElement("g",{className:"recharts-cartesian-grid"},H.createElement(Gde,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),H.createElement(Kde,Hs({},m,{offset:d,horizontalPoints:C,xAxis:R,yAxis:j})),H.createElement(Yde,Hs({},m,{offset:d,verticalPoints:E,xAxis:R,yAxis:j})),H.createElement(Wde,Hs({},m,{horizontalPoints:C})),H.createElement(Qde,Hs({},m,{verticalPoints:E})))}Z8.displayName="CartesianGrid";function Kl(e){"@babel/helpers - typeof";return Kl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kl(e)}function Jde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function epe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,tL(r.key),r)}}function tpe(e,t,n){return t&&epe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function npe(e,t,n){return t=Xh(t),rpe(e,J8()?Reflect.construct(t,n||[],Xh(e).constructor):t.apply(e,n))}function rpe(e,t){if(t&&(Kl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ape(e)}function ape(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J8=function(){return!!e})()}function Xh(e){return Xh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xh(e)}function ipe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XS(e,t)}function XS(e,t){return XS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},XS(e,t)}function eL(e,t,n){return t=tL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tL(e){var t=spe(e,"string");return Kl(t)=="symbol"?t:t+""}function spe(e,t){if(Kl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Kl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function ZS(){return ZS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZS.apply(this,arguments)}function ope(e){var t=e.xAxisId,n=uO(),r=fO(),a=q8(t);return a==null?null:N.createElement(pc,ZS({},a,{className:Qe("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(l){return Za(l,!0)}}))}var Zm=(function(e){function t(){return Jde(this,t),npe(this,t,arguments)}return ipe(t,e),tpe(t,[{key:"render",value:function(){return N.createElement(ope,this.props)}}])})(N.Component);eL(Zm,"displayName","XAxis");eL(Zm,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function Yl(e){"@babel/helpers - typeof";return Yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yl(e)}function lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cpe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aL(r.key),r)}}function upe(e,t,n){return t&&cpe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function fpe(e,t,n){return t=Zh(t),dpe(e,nL()?Reflect.construct(t,n||[],Zh(e).constructor):t.apply(e,n))}function dpe(e,t){if(t&&(Yl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ppe(e)}function ppe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nL(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nL=function(){return!!e})()}function Zh(e){return Zh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Zh(e)}function hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JS(e,t)}function JS(e,t){return JS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},JS(e,t)}function rL(e,t,n){return t=aL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aL(e){var t=mpe(e,"string");return Yl(t)=="symbol"?t:t+""}function mpe(e,t){if(Yl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Yl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function eA(){return eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eA.apply(this,arguments)}var gpe=function(t){var n=t.yAxisId,r=uO(),a=fO(),s=z8(n);return s==null?null:N.createElement(pc,eA({},s,{className:Qe("recharts-".concat(s.axisType," ").concat(s.axisType),s.className),viewBox:{x:0,y:0,width:r,height:a},ticksGenerator:function(c){return Za(c,!0)}}))},Jm=(function(e){function t(){return lpe(this,t),fpe(this,t,arguments)}return hpe(t,e),upe(t,[{key:"render",value:function(){return N.createElement(gpe,this.props)}}])})(N.Component);rL(Jm,"displayName","YAxis");rL(Jm,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function ik(e){return xpe(e)||bpe(e)||vpe(e)||ype()}function ype(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
355In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vpe(e,t){if(e){if(typeof e=="string")return tA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tA(e,t)}}function bpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xpe(e){if(Array.isArray(e))return tA(e)}function tA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var nA=function(t,n,r,a,s){var l=Zr(t,pO),c=Zr(t,Wm),f=[].concat(ik(l),ik(c)),d=Zr(t,Xm),m="".concat(a,"Id"),p=a[0],y=n;if(f.length&&(y=f.reduce(function(S,x){if(x.props[m]===r&&va(x.props,"extendDomain")&&pe(x.props[p])){var O=x.props[p];return[Math.min(S[0],O),Math.max(S[1],O)]}return S},y)),d.length){var b="".concat(p,"1"),A="".concat(p,"2");y=d.reduce(function(S,x){if(x.props[m]===r&&va(x.props,"extendDomain")&&pe(x.props[b])&&pe(x.props[A])){var O=x.props[b],R=x.props[A];return[Math.min(S[0],O,R),Math.max(S[1],O,R)]}return S},y)}return s&&s.length&&(y=s.reduce(function(S,x){return pe(x)?[Math.min(S[0],x),Math.max(S[1],x)]:S},y)),y},U1={exports:{}},sk;function wpe(){return sk||(sk=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function a(f,d,m){this.fn=f,this.context=d,this.once=m||!1}function s(f,d,m,p,y){if(typeof m!="function")throw new TypeError("The listener must be a function");var b=new a(m,p||f,y),A=n?n+d:d;return f._events[A]?f._events[A].fn?f._events[A]=[f._events[A],b]:f._events[A].push(b):(f._events[A]=b,f._eventsCount++),f}function l(f,d){--f._eventsCount===0?f._events=new r:delete f._events[d]}function c(){this._events=new r,this._eventsCount=0}c.prototype.eventNames=function(){var d=[],m,p;if(this._eventsCount===0)return d;for(p in m=this._events)t.call(m,p)&&d.push(n?p.slice(1):p);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(m)):d},c.prototype.listeners=function(d){var m=n?n+d:d,p=this._events[m];if(!p)return[];if(p.fn)return[p.fn];for(var y=0,b=p.length,A=new Array(b);y<b;y++)A[y]=p[y].fn;return A},c.prototype.listenerCount=function(d){var m=n?n+d:d,p=this._events[m];return p?p.fn?1:p.length:0},c.prototype.emit=function(d,m,p,y,b,A){var S=n?n+d:d;if(!this._events[S])return!1;var x=this._events[S],O=arguments.length,R,j;if(x.fn){switch(x.once&&this.removeListener(d,x.fn,void 0,!0),O){case 1:return x.fn.call(x.context),!0;case 2:return x.fn.call(x.context,m),!0;case 3:return x.fn.call(x.context,m,p),!0;case 4:return x.fn.call(x.context,m,p,y),!0;case 5:return x.fn.call(x.context,m,p,y,b),!0;case 6:return x.fn.call(x.context,m,p,y,b,A),!0}for(j=1,R=new Array(O-1);j<O;j++)R[j-1]=arguments[j];x.fn.apply(x.context,R)}else{var M=x.length,T;for(j=0;j<M;j++)switch(x[j].once&&this.removeListener(d,x[j].fn,void 0,!0),O){case 1:x[j].fn.call(x[j].context);break;case 2:x[j].fn.call(x[j].context,m);break;case 3:x[j].fn.call(x[j].context,m,p);break;case 4:x[j].fn.call(x[j].context,m,p,y);break;default:if(!R)for(T=1,R=new Array(O-1);T<O;T++)R[T-1]=arguments[T];x[j].fn.apply(x[j].context,R)}}return!0},c.prototype.on=function(d,m,p){return s(this,d,m,p,!1)},c.prototype.once=function(d,m,p){return s(this,d,m,p,!0)},c.prototype.removeListener=function(d,m,p,y){var b=n?n+d:d;if(!this._events[b])return this;if(!m)return l(this,b),this;var A=this._events[b];if(A.fn)A.fn===m&&(!y||A.once)&&(!p||A.context===p)&&l(this,b);else{for(var S=0,x=[],O=A.length;S<O;S++)(A[S].fn!==m||y&&!A[S].once||p&&A[S].context!==p)&&x.push(A[S]);x.length?this._events[b]=x.length===1?x[0]:x:l(this,b)}return this},c.prototype.removeAllListeners=function(d){var m;return d?(m=n?n+d:d,this._events[m]&&l(this,m)):(this._events=new r,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,e.exports=c})(U1)),U1.exports}var Spe=wpe();const Ape=mt(Spe);var V1=new Ape,F1="recharts.syncMouseEvents";function Rf(e){"@babel/helpers - typeof";return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rf(e)}function Ope(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tpe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iL(r.key),r)}}function jpe(e,t,n){return t&&Tpe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function G1(e,t,n){return t=iL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iL(e){var t=Epe(e,"string");return Rf(t)=="symbol"?t:t+""}function Epe(e,t){if(Rf(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rf(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Cpe=(function(){function e(){Ope(this,e),G1(this,"activeIndex",0),G1(this,"coordinateList",[]),G1(this,"layout","horizontal")}return jpe(e,[{key:"setDetails",value:function(n){var r,a=n.coordinateList,s=a===void 0?null:a,l=n.container,c=l===void 0?null:l,f=n.layout,d=f===void 0?null:f,m=n.offset,p=m===void 0?null:m,y=n.mouseHandlerCallback,b=y===void 0?null:y;this.coordinateList=(r=s??this.coordinateList)!==null&&r!==void 0?r:[],this.container=c??this.container,this.layout=d??this.layout,this.offset=p??this.offset,this.mouseHandlerCallback=b??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(n){if(this.coordinateList.length!==0)switch(n.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(n){this.activeIndex=n}},{key:"spoofMouse",value:function(){var n,r;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),s=a.x,l=a.y,c=a.height,f=this.coordinateList[this.activeIndex].coordinate,d=((n=window)===null||n===void 0?void 0:n.scrollX)||0,m=((r=window)===null||r===void 0?void 0:r.scrollY)||0,p=s+f+d,y=l+this.offset.top+c/2+m;this.mouseHandlerCallback({pageX:p,pageY:y})}}}])})();function Rpe(e,t,n){if(n==="number"&&t===!0&&Array.isArray(e)){var r=e?.[0],a=e?.[1];if(r&&a&&pe(r)&&pe(a))return!0}return!1}function _pe(e,t,n,r){var a=r/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:n.left+.5,y:e==="horizontal"?n.top+.5:t.y-a,width:e==="horizontal"?r:n.width-1,height:e==="horizontal"?n.height-1:r}}function sL(e){var t=e.cx,n=e.cy,r=e.radius,a=e.startAngle,s=e.endAngle,l=Tn(t,n,r,a),c=Tn(t,n,r,s);return{points:[l,c],cx:t,cy:n,radius:r,startAngle:a,endAngle:s}}function Mpe(e,t,n){var r,a,s,l;if(e==="horizontal")r=t.x,s=r,a=n.top,l=n.top+n.height;else if(e==="vertical")a=t.y,l=a,r=n.left,s=n.left+n.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var c=t.cx,f=t.cy,d=t.innerRadius,m=t.outerRadius,p=t.angle,y=Tn(c,f,d,p),b=Tn(c,f,m,p);r=y.x,a=y.y,s=b.x,l=b.y}else return sL(t);return[{x:r,y:a},{x:s,y:l}]}function _f(e){"@babel/helpers - typeof";return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_f(e)}function ok(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Bp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ok(Object(n),!0).forEach(function(r){Ppe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ok(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ppe(e,t,n){return t=Npe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Npe(e){var t=Dpe(e,"string");return _f(t)=="symbol"?t:t+""}function Dpe(e,t){if(_f(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_f(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kpe(e){var t,n,r=e.element,a=e.tooltipEventType,s=e.isActive,l=e.activeCoordinate,c=e.activePayload,f=e.offset,d=e.activeTooltipIndex,m=e.tooltipAxisBandSize,p=e.layout,y=e.chartName,b=(t=r.props.cursor)!==null&&t!==void 0?t:(n=r.type.defaultProps)===null||n===void 0?void 0:n.cursor;if(!r||!b||!s||!l||y!=="ScatterChart"&&a!=="axis")return null;var A,S=B5;if(y==="ScatterChart")A=l,S=Gce;else if(y==="BarChart")A=_pe(p,l,f,m),S=sO;else if(p==="radial"){var x=sL(l),O=x.cx,R=x.cy,j=x.radius,M=x.startAngle,T=x.endAngle;A={cx:O,cy:R,startAngle:M,endAngle:T,innerRadius:j,outerRadius:j},S=m8}else A={points:Mpe(p,l,f)},S=B5;var C=Bp(Bp(Bp(Bp({stroke:"#ccc",pointerEvents:"none"},f),A),et(b,!1)),{},{payload:c,payloadIndex:d,className:Qe("recharts-tooltip-cursor",b.className)});return N.isValidElement(b)?N.cloneElement(b,C):N.createElement(S,C)}var Ipe=["item"],$pe=["children","className","width","height","style","compact","title","desc"];function Wl(e){"@babel/helpers - typeof";return Wl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wl(e)}function gl(){return gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gl.apply(this,arguments)}function lk(e,t){return qpe(e)||Lpe(e,t)||lL(e,t)||Bpe()}function Bpe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
356In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lpe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function qpe(e){if(Array.isArray(e))return e}function ck(e,t){if(e==null)return{};var n=zpe(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zpe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Hpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Upe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cL(r.key),r)}}function Vpe(e,t,n){return t&&Upe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fpe(e,t,n){return t=Jh(t),Gpe(e,oL()?Reflect.construct(t,n||[],Jh(e).constructor):t.apply(e,n))}function Gpe(e,t){if(t&&(Wl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kpe(e)}function Kpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oL(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oL=function(){return!!e})()}function Jh(e){return Jh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Jh(e)}function Ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rA(e,t)}function rA(e,t){return rA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},rA(e,t)}function Ql(e){return Xpe(e)||Qpe(e)||lL(e)||Wpe()}function Wpe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
357In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lL(e,t){if(e){if(typeof e=="string")return aA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aA(e,t)}}function Qpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xpe(e){if(Array.isArray(e))return aA(e)}function aA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uk(Object(n),!0).forEach(function(r){Ce(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ce(e,t,n){return t=cL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cL(e){var t=Zpe(e,"string");return Wl(t)=="symbol"?t:t+""}function Zpe(e,t){if(Wl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Wl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Jpe={xAxis:["bottom","top"],yAxis:["left","right"]},ehe={width:"100%",height:"100%"},uL={x:0,y:0};function Lp(e){return e}var the=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},nhe=function(t,n,r,a){var s=n.find(function(m){return m&&m.index===r});if(s){if(t==="horizontal")return{x:s.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:s.coordinate};if(t==="centric"){var l=s.coordinate,c=a.radius;return oe(oe(oe({},a),Tn(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}var f=s.coordinate,d=a.angle;return oe(oe(oe({},a),Tn(a.cx,a.cy,f,d)),{},{angle:d,radius:f})}return uL},eg=function(t,n){var r=n.graphicalItems,a=n.dataStartIndex,s=n.dataEndIndex,l=(r??[]).reduce(function(c,f){var d=f.props.data;return d&&d.length?[].concat(Ql(c),Ql(d)):c},[]);return l.length>0?l:t&&t.length&&pe(a)&&pe(s)?t.slice(a,s+1):[]};function fL(e){return e==="number"?[0,"auto"]:void 0}var iA=function(t,n,r,a){var s=t.graphicalItems,l=t.tooltipAxis,c=eg(n,t);return r<0||!s||!s.length||r>=c.length?null:s.reduce(function(f,d){var m,p=(m=d.props.data)!==null&&m!==void 0?m:n;p&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(p=p.slice(t.dataStartIndex,t.dataEndIndex+1));var y;if(l.dataKey&&!l.allowDuplicatedCategory){var b=p===void 0?c:p;y=Fw(b,l.dataKey,a)}else y=p&&p[r]||c[r];return y?[].concat(Ql(f),[d8(d,y)]):f},[])},fk=function(t,n,r,a){var s=a||{x:t.chartX,y:t.chartY},l=the(s,r),c=t.orderedTooltipTicks,f=t.tooltipAxis,d=t.tooltipTicks,m=Cse(l,c,d,f);if(m>=0&&d){var p=d[m]&&d[m].value,y=iA(t,n,m,p),b=nhe(r,c,m,s);return{activeTooltipIndex:m,activeLabel:p,activePayload:y,activeCoordinate:b}}return null},rhe=function(t,n){var r=n.axes,a=n.graphicalItems,s=n.axisType,l=n.axisIdKey,c=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.layout,p=t.children,y=t.stackOffset,b=c8(m,s);return r.reduce(function(A,S){var x,O=S.type.defaultProps!==void 0?oe(oe({},S.type.defaultProps),S.props):S.props,R=O.type,j=O.dataKey,M=O.allowDataOverflow,T=O.allowDuplicatedCategory,C=O.scale,E=O.ticks,P=O.includeHidden,k=O[l];if(A[k])return A;var z=eg(t.data,{graphicalItems:a.filter(function(G){var Y,J=l in G.props?G.props[l]:(Y=G.type.defaultProps)===null||Y===void 0?void 0:Y[l];return J===k}),dataStartIndex:f,dataEndIndex:d}),B=z.length,U,F,K;Rpe(O.domain,M,R)&&(U=TS(O.domain,null,M),b&&(R==="number"||C!=="auto")&&(K=Mu(z,j,"category")));var Q=fL(R);if(!U||U.length===0){var I,L=(I=O.domain)!==null&&I!==void 0?I:Q;if(j){if(U=Mu(z,j,R),R==="category"&&b){var q=EZ(U);T&&q?(F=U,U=zh(0,B)):T||(U=O5(L,U,S).reduce(function(G,Y){return G.indexOf(Y)>=0?G:[].concat(Ql(G),[Y])},[]))}else if(R==="category")T?U=U.filter(function(G){return G!==""&&!tt(G)}):U=O5(L,U,S).reduce(function(G,Y){return G.indexOf(Y)>=0||Y===""||tt(Y)?G:[].concat(Ql(G),[Y])},[]);else if(R==="number"){var Z=Nse(z,a.filter(function(G){var Y,J,ue=l in G.props?G.props[l]:(Y=G.type.defaultProps)===null||Y===void 0?void 0:Y[l],he="hide"in G.props?G.props.hide:(J=G.type.defaultProps)===null||J===void 0?void 0:J.hide;return ue===k&&(P||!he)}),j,s,m);Z&&(U=Z)}b&&(R==="number"||C!=="auto")&&(K=Mu(z,j,"category"))}else b?U=zh(0,B):c&&c[k]&&c[k].hasStack&&R==="number"?U=y==="expand"?[0,1]:f8(c[k].stackGroups,f,d):U=l8(z,a.filter(function(G){var Y=l in G.props?G.props[l]:G.type.defaultProps[l],J="hide"in G.props?G.props.hide:G.type.defaultProps.hide;return Y===k&&(P||!J)}),R,m,!0);if(R==="number")U=nA(p,U,k,s,E),L&&(U=TS(L,U,M));else if(R==="category"&&L){var ie=L,$=U.every(function(G){return ie.indexOf(G)>=0});$&&(U=ie)}}return oe(oe({},A),{},Ce({},k,oe(oe({},O),{},{axisType:s,domain:U,categoricalDomain:K,duplicateDomain:F,originalDomain:(x=O.domain)!==null&&x!==void 0?x:Q,isCategorical:b,layout:m})))},{})},ahe=function(t,n){var r=n.graphicalItems,a=n.Axis,s=n.axisType,l=n.axisIdKey,c=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.layout,p=t.children,y=eg(t.data,{graphicalItems:r,dataStartIndex:f,dataEndIndex:d}),b=y.length,A=c8(m,s),S=-1;return r.reduce(function(x,O){var R=O.type.defaultProps!==void 0?oe(oe({},O.type.defaultProps),O.props):O.props,j=R[l],M=fL("number");if(!x[j]){S++;var T;return A?T=zh(0,b):c&&c[j]&&c[j].hasStack?(T=f8(c[j].stackGroups,f,d),T=nA(p,T,j,s)):(T=TS(M,l8(y,r.filter(function(C){var E,P,k=l in C.props?C.props[l]:(E=C.type.defaultProps)===null||E===void 0?void 0:E[l],z="hide"in C.props?C.props.hide:(P=C.type.defaultProps)===null||P===void 0?void 0:P.hide;return k===j&&!z}),"number",m),a.defaultProps.allowDataOverflow),T=nA(p,T,j,s)),oe(oe({},x),{},Ce({},j,oe(oe({axisType:s},a.defaultProps),{},{hide:!0,orientation:$r(Jpe,"".concat(s,".").concat(S%2),null),domain:T,originalDomain:M,isCategorical:A,layout:m})))}return x},{})},ihe=function(t,n){var r=n.axisType,a=r===void 0?"xAxis":r,s=n.AxisComp,l=n.graphicalItems,c=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.children,p="".concat(a,"Id"),y=Zr(m,s),b={};return y&&y.length?b=rhe(t,{axes:y,graphicalItems:l,axisType:a,axisIdKey:p,stackGroups:c,dataStartIndex:f,dataEndIndex:d}):l&&l.length&&(b=ahe(t,{Axis:s,graphicalItems:l,axisType:a,axisIdKey:p,stackGroups:c,dataStartIndex:f,dataEndIndex:d})),b},she=function(t){var n=Ui(t),r=Za(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:M2(r,function(a){return a.coordinate}),tooltipAxis:n,tooltipAxisBandSize:Ph(n,r)}},dk=function(t){var n=t.children,r=t.defaultShowTooltip,a=dr(n,zl),s=0,l=0;return t.data&&t.data.length!==0&&(l=t.data.length-1),a&&a.props&&(a.props.startIndex>=0&&(s=a.props.startIndex),a.props.endIndex>=0&&(l=a.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:s,dataEndIndex:l,activeTooltipIndex:-1,isTooltipActive:!!r}},ohe=function(t){return!t||!t.length?!1:t.some(function(n){var r=Ki(n&&n.type);return r&&r.indexOf("Bar")>=0})},pk=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},lhe=function(t,n){var r=t.props,a=t.graphicalItems,s=t.xAxisMap,l=s===void 0?{}:s,c=t.yAxisMap,f=c===void 0?{}:c,d=r.width,m=r.height,p=r.children,y=r.margin||{},b=dr(p,zl),A=dr(p,wl),S=Object.keys(f).reduce(function(T,C){var E=f[C],P=E.orientation;return!E.mirror&&!E.hide?oe(oe({},T),{},Ce({},P,T[P]+E.width)):T},{left:y.left||0,right:y.right||0}),x=Object.keys(l).reduce(function(T,C){var E=l[C],P=E.orientation;return!E.mirror&&!E.hide?oe(oe({},T),{},Ce({},P,$r(T,"".concat(P))+E.height)):T},{top:y.top||0,bottom:y.bottom||0}),O=oe(oe({},x),S),R=O.bottom;b&&(O.bottom+=b.props.height||zl.defaultProps.height),A&&n&&(O=Mse(O,a,r,n));var j=d-O.left-O.right,M=m-O.top-O.bottom;return oe(oe({brushBottom:R},O),{},{width:Math.max(j,0),height:Math.max(M,0)})},che=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},uhe=function(t){var n=t.chartName,r=t.GraphicalChild,a=t.defaultTooltipEventType,s=a===void 0?"axis":a,l=t.validateTooltipEventTypes,c=l===void 0?["axis"]:l,f=t.axisComponents,d=t.legendContent,m=t.formatAxisMap,p=t.defaultProps,y=function(O,R){var j=R.graphicalItems,M=R.stackGroups,T=R.offset,C=R.updateId,E=R.dataStartIndex,P=R.dataEndIndex,k=O.barSize,z=O.layout,B=O.barGap,U=O.barCategoryGap,F=O.maxBarSize,K=pk(z),Q=K.numericAxisName,I=K.cateAxisName,L=ohe(j),q=[];return j.forEach(function(Z,ie){var $=eg(O.data,{graphicalItems:[Z],dataStartIndex:E,dataEndIndex:P}),G=Z.type.defaultProps!==void 0?oe(oe({},Z.type.defaultProps),Z.props):Z.props,Y=G.dataKey,J=G.maxBarSize,ue=G["".concat(Q,"Id")],he=G["".concat(I,"Id")],me={},be=f.reduce(function(xt,Ge){var mn=R["".concat(Ge.axisType,"Map")],Ot=G["".concat(Ge.axisType,"Id")];mn&&mn[Ot]||Ge.axisType==="zAxis"||to();var Ta=mn[Ot];return oe(oe({},xt),{},Ce(Ce({},Ge.axisType,Ta),"".concat(Ge.axisType,"Ticks"),Za(Ta)))},me),de=be[I],ye=be["".concat(I,"Ticks")],Ae=M&&M[ue]&&M[ue].hasStack&&Fse(Z,M[ue].stackGroups),le=Ki(Z.type).indexOf("Bar")>=0,Le=Ph(de,ye),Te=[],nt=L&&Rse({barSize:k,stackGroups:M,totalSize:che(be,I)});if(le){var Ze,ut,jn=tt(J)?F:J,Ct=(Ze=(ut=Ph(de,ye,!0))!==null&&ut!==void 0?ut:jn)!==null&&Ze!==void 0?Ze:0;Te=_se({barGap:B,barCategoryGap:U,bandSize:Ct!==Le?Ct:Le,sizeList:nt[he],maxBarSize:jn}),Ct!==Le&&(Te=Te.map(function(xt){return oe(oe({},xt),{},{position:oe(oe({},xt.position),{},{offset:xt.position.offset-Ct/2})})}))}var En=Z&&Z.type&&Z.type.getComposedData;En&&q.push({props:oe(oe({},En(oe(oe({},be),{},{displayedData:$,props:O,dataKey:Y,item:Z,bandSize:Le,barPosition:Te,offset:T,stackedData:Ae,layout:z,dataStartIndex:E,dataEndIndex:P}))),{},Ce(Ce(Ce({key:Z.key||"item-".concat(ie)},Q,be[Q]),I,be[I]),"animationId",C)),childIndex:LZ(Z,O.children),item:Z})}),q},b=function(O,R){var j=O.props,M=O.dataStartIndex,T=O.dataEndIndex,C=O.updateId;if(!zM({props:j}))return null;var E=j.children,P=j.layout,k=j.stackOffset,z=j.data,B=j.reverseStackOrder,U=pk(P),F=U.numericAxisName,K=U.cateAxisName,Q=Zr(E,r),I=Hse(z,Q,"".concat(F,"Id"),"".concat(K,"Id"),k,B),L=f.reduce(function(G,Y){var J="".concat(Y.axisType,"Map");return oe(oe({},G),{},Ce({},J,ihe(j,oe(oe({},Y),{},{graphicalItems:Q,stackGroups:Y.axisType===F&&I,dataStartIndex:M,dataEndIndex:T}))))},{}),q=lhe(oe(oe({},L),{},{props:j,graphicalItems:Q}),R?.legendBBox);Object.keys(L).forEach(function(G){L[G]=m(j,L[G],q,G.replace("Map",""),n)});var Z=L["".concat(K,"Map")],ie=she(Z),$=y(j,oe(oe({},L),{},{dataStartIndex:M,dataEndIndex:T,updateId:C,graphicalItems:Q,stackGroups:I,offset:q}));return oe(oe({formattedGraphicalItems:$,graphicalItems:Q,offset:q,stackGroups:I},ie),L)},A=(function(x){function O(R){var j,M,T;return Hpe(this,O),T=Fpe(this,O,[R]),Ce(T,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Ce(T,"accessibilityManager",new Cpe),Ce(T,"handleLegendBBoxUpdate",function(C){if(C){var E=T.state,P=E.dataStartIndex,k=E.dataEndIndex,z=E.updateId;T.setState(oe({legendBBox:C},b({props:T.props,dataStartIndex:P,dataEndIndex:k,updateId:z},oe(oe({},T.state),{},{legendBBox:C}))))}}),Ce(T,"handleReceiveSyncEvent",function(C,E,P){if(T.props.syncId===C){if(P===T.eventEmitterSymbol&&typeof T.props.syncMethod!="function")return;T.applySyncEvent(E)}}),Ce(T,"handleBrushChange",function(C){var E=C.startIndex,P=C.endIndex;if(E!==T.state.dataStartIndex||P!==T.state.dataEndIndex){var k=T.state.updateId;T.setState(function(){return oe({dataStartIndex:E,dataEndIndex:P},b({props:T.props,dataStartIndex:E,dataEndIndex:P,updateId:k},T.state))}),T.triggerSyncEvent({dataStartIndex:E,dataEndIndex:P})}}),Ce(T,"handleMouseEnter",function(C){var E=T.getMouseInfo(C);if(E){var P=oe(oe({},E),{},{isTooltipActive:!0});T.setState(P),T.triggerSyncEvent(P);var k=T.props.onMouseEnter;Be(k)&&k(P,C)}}),Ce(T,"triggeredAfterMouseMove",function(C){var E=T.getMouseInfo(C),P=E?oe(oe({},E),{},{isTooltipActive:!0}):{isTooltipActive:!1};T.setState(P),T.triggerSyncEvent(P);var k=T.props.onMouseMove;Be(k)&&k(P,C)}),Ce(T,"handleItemMouseEnter",function(C){T.setState(function(){return{isTooltipActive:!0,activeItem:C,activePayload:C.tooltipPayload,activeCoordinate:C.tooltipPosition||{x:C.cx,y:C.cy}}})}),Ce(T,"handleItemMouseLeave",function(){T.setState(function(){return{isTooltipActive:!1}})}),Ce(T,"handleMouseMove",function(C){C.persist(),T.throttleTriggeredAfterMouseMove(C)}),Ce(T,"handleMouseLeave",function(C){T.throttleTriggeredAfterMouseMove.cancel();var E={isTooltipActive:!1};T.setState(E),T.triggerSyncEvent(E);var P=T.props.onMouseLeave;Be(P)&&P(E,C)}),Ce(T,"handleOuterEvent",function(C){var E=BZ(C),P=$r(T.props,"".concat(E));if(E&&Be(P)){var k,z;/.*touch.*/i.test(E)?z=T.getMouseInfo(C.changedTouches[0]):z=T.getMouseInfo(C),P((k=z)!==null&&k!==void 0?k:{},C)}}),Ce(T,"handleClick",function(C){var E=T.getMouseInfo(C);if(E){var P=oe(oe({},E),{},{isTooltipActive:!0});T.setState(P),T.triggerSyncEvent(P);var k=T.props.onClick;Be(k)&&k(P,C)}}),Ce(T,"handleMouseDown",function(C){var E=T.props.onMouseDown;if(Be(E)){var P=T.getMouseInfo(C);E(P,C)}}),Ce(T,"handleMouseUp",function(C){var E=T.props.onMouseUp;if(Be(E)){var P=T.getMouseInfo(C);E(P,C)}}),Ce(T,"handleTouchMove",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&T.throttleTriggeredAfterMouseMove(C.changedTouches[0])}),Ce(T,"handleTouchStart",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&T.handleMouseDown(C.changedTouches[0])}),Ce(T,"handleTouchEnd",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&T.handleMouseUp(C.changedTouches[0])}),Ce(T,"handleDoubleClick",function(C){var E=T.props.onDoubleClick;if(Be(E)){var P=T.getMouseInfo(C);E(P,C)}}),Ce(T,"handleContextMenu",function(C){var E=T.props.onContextMenu;if(Be(E)){var P=T.getMouseInfo(C);E(P,C)}}),Ce(T,"triggerSyncEvent",function(C){T.props.syncId!==void 0&&V1.emit(F1,T.props.syncId,C,T.eventEmitterSymbol)}),Ce(T,"applySyncEvent",function(C){var E=T.props,P=E.layout,k=E.syncMethod,z=T.state.updateId,B=C.dataStartIndex,U=C.dataEndIndex;if(C.dataStartIndex!==void 0||C.dataEndIndex!==void 0)T.setState(oe({dataStartIndex:B,dataEndIndex:U},b({props:T.props,dataStartIndex:B,dataEndIndex:U,updateId:z},T.state)));else if(C.activeTooltipIndex!==void 0){var F=C.chartX,K=C.chartY,Q=C.activeTooltipIndex,I=T.state,L=I.offset,q=I.tooltipTicks;if(!L)return;if(typeof k=="function")Q=k(q,C);else if(k==="value"){Q=-1;for(var Z=0;Z<q.length;Z++)if(q[Z].value===C.activeLabel){Q=Z;break}}var ie=oe(oe({},L),{},{x:L.left,y:L.top}),$=Math.min(F,ie.x+ie.width),G=Math.min(K,ie.y+ie.height),Y=q[Q]&&q[Q].value,J=iA(T.state,T.props.data,Q),ue=q[Q]?{x:P==="horizontal"?q[Q].coordinate:$,y:P==="horizontal"?G:q[Q].coordinate}:uL;T.setState(oe(oe({},C),{},{activeLabel:Y,activeCoordinate:ue,activePayload:J,activeTooltipIndex:Q}))}else T.setState(C)}),Ce(T,"renderCursor",function(C){var E,P=T.state,k=P.isTooltipActive,z=P.activeCoordinate,B=P.activePayload,U=P.offset,F=P.activeTooltipIndex,K=P.tooltipAxisBandSize,Q=T.getTooltipEventType(),I=(E=C.props.active)!==null&&E!==void 0?E:k,L=T.props.layout,q=C.key||"_recharts-cursor";return H.createElement(kpe,{key:q,activeCoordinate:z,activePayload:B,activeTooltipIndex:F,chartName:n,element:C,isActive:I,layout:L,offset:U,tooltipAxisBandSize:K,tooltipEventType:Q})}),Ce(T,"renderPolarAxis",function(C,E,P){var k=$r(C,"type.axisType"),z=$r(T.state,"".concat(k,"Map")),B=C.type.defaultProps,U=B!==void 0?oe(oe({},B),C.props):C.props,F=z&&z[U["".concat(k,"Id")]];return N.cloneElement(C,oe(oe({},F),{},{className:Qe(k,F.className),key:C.key||"".concat(E,"-").concat(P),ticks:Za(F,!0)}))}),Ce(T,"renderPolarGrid",function(C){var E=C.props,P=E.radialLines,k=E.polarAngles,z=E.polarRadius,B=T.state,U=B.radiusAxisMap,F=B.angleAxisMap,K=Ui(U),Q=Ui(F),I=Q.cx,L=Q.cy,q=Q.innerRadius,Z=Q.outerRadius;return N.cloneElement(C,{polarAngles:Array.isArray(k)?k:Za(Q,!0).map(function(ie){return ie.coordinate}),polarRadius:Array.isArray(z)?z:Za(K,!0).map(function(ie){return ie.coordinate}),cx:I,cy:L,innerRadius:q,outerRadius:Z,key:C.key||"polar-grid",radialLines:P})}),Ce(T,"renderLegend",function(){var C=T.state.formattedGraphicalItems,E=T.props,P=E.children,k=E.width,z=E.height,B=T.props.margin||{},U=k-(B.left||0)-(B.right||0),F=s8({children:P,formattedGraphicalItems:C,legendWidth:U,legendContent:d});if(!F)return null;var K=F.item,Q=ck(F,Ipe);return N.cloneElement(K,oe(oe({},Q),{},{chartWidth:k,chartHeight:z,margin:B,onBBoxUpdate:T.handleLegendBBoxUpdate}))}),Ce(T,"renderTooltip",function(){var C,E=T.props,P=E.children,k=E.accessibilityLayer,z=dr(P,fa);if(!z)return null;var B=T.state,U=B.isTooltipActive,F=B.activeCoordinate,K=B.activePayload,Q=B.activeLabel,I=B.offset,L=(C=z.props.active)!==null&&C!==void 0?C:U;return N.cloneElement(z,{viewBox:oe(oe({},I),{},{x:I.left,y:I.top}),active:L,label:Q,payload:L?K:[],coordinate:F,accessibilityLayer:k})}),Ce(T,"renderBrush",function(C){var E=T.props,P=E.margin,k=E.data,z=T.state,B=z.offset,U=z.dataStartIndex,F=z.dataEndIndex,K=z.updateId;return N.cloneElement(C,{key:C.key||"_recharts-brush",onChange:Dp(T.handleBrushChange,C.props.onChange),data:k,x:pe(C.props.x)?C.props.x:B.left,y:pe(C.props.y)?C.props.y:B.top+B.height+B.brushBottom-(P.bottom||0),width:pe(C.props.width)?C.props.width:B.width,startIndex:U,endIndex:F,updateId:"brush-".concat(K)})}),Ce(T,"renderReferenceElement",function(C,E,P){if(!C)return null;var k=T,z=k.clipPathId,B=T.state,U=B.xAxisMap,F=B.yAxisMap,K=B.offset,Q=C.type.defaultProps||{},I=C.props,L=I.xAxisId,q=L===void 0?Q.xAxisId:L,Z=I.yAxisId,ie=Z===void 0?Q.yAxisId:Z;return N.cloneElement(C,{key:C.key||"".concat(E,"-").concat(P),xAxis:U[q],yAxis:F[ie],viewBox:{x:K.left,y:K.top,width:K.width,height:K.height},clipPathId:z})}),Ce(T,"renderActivePoints",function(C){var E=C.item,P=C.activePoint,k=C.basePoint,z=C.childIndex,B=C.isRange,U=[],F=E.props.key,K=E.item.type.defaultProps!==void 0?oe(oe({},E.item.type.defaultProps),E.item.props):E.item.props,Q=K.activeDot,I=K.dataKey,L=oe(oe({index:z,dataKey:I,cx:P.x,cy:P.y,r:4,fill:iO(E.item),strokeWidth:2,stroke:"#fff",payload:P.payload,value:P.value},et(Q,!1)),sh(Q));return U.push(O.renderActiveDot(Q,L,"".concat(F,"-activePoint-").concat(z))),k?U.push(O.renderActiveDot(Q,oe(oe({},L),{},{cx:k.x,cy:k.y}),"".concat(F,"-basePoint-").concat(z))):B&&U.push(null),U}),Ce(T,"renderGraphicChild",function(C,E,P){var k=T.filterFormatItem(C,E,P);if(!k)return null;var z=T.getTooltipEventType(),B=T.state,U=B.isTooltipActive,F=B.tooltipAxis,K=B.activeTooltipIndex,Q=B.activeLabel,I=T.props.children,L=dr(I,fa),q=k.props,Z=q.points,ie=q.isRange,$=q.baseLine,G=k.item.type.defaultProps!==void 0?oe(oe({},k.item.type.defaultProps),k.item.props):k.item.props,Y=G.activeDot,J=G.hide,ue=G.activeBar,he=G.activeShape,me=!!(!J&&U&&L&&(Y||ue||he)),be={};z!=="axis"&&L&&L.props.trigger==="click"?be={onClick:Dp(T.handleItemMouseEnter,C.props.onClick)}:z!=="axis"&&(be={onMouseLeave:Dp(T.handleItemMouseLeave,C.props.onMouseLeave),onMouseEnter:Dp(T.handleItemMouseEnter,C.props.onMouseEnter)});var de=N.cloneElement(C,oe(oe({},k.props),be));function ye(Ge){return typeof F.dataKey=="function"?F.dataKey(Ge.payload):null}if(me)if(K>=0){var Ae,le;if(F.dataKey&&!F.allowDuplicatedCategory){var Le=typeof F.dataKey=="function"?ye:"payload.".concat(F.dataKey.toString());Ae=Fw(Z,Le,Q),le=ie&&$&&Fw($,Le,Q)}else Ae=Z?.[K],le=ie&&$&&$[K];if(he||ue){var Te=C.props.activeIndex!==void 0?C.props.activeIndex:K;return[N.cloneElement(C,oe(oe(oe({},k.props),be),{},{activeIndex:Te})),null,null]}if(!tt(Ae))return[de].concat(Ql(T.renderActivePoints({item:k,activePoint:Ae,basePoint:le,childIndex:K,isRange:ie})))}else{var nt,Ze=(nt=T.getItemByXY(T.state.activeCoordinate))!==null&&nt!==void 0?nt:{graphicalItem:de},ut=Ze.graphicalItem,jn=ut.item,Ct=jn===void 0?C:jn,En=ut.childIndex,xt=oe(oe(oe({},k.props),be),{},{activeIndex:En});return[N.cloneElement(Ct,xt),null,null]}return ie?[de,null,null]:[de,null]}),Ce(T,"renderCustomized",function(C,E,P){return N.cloneElement(C,oe(oe({key:"recharts-customized-".concat(P)},T.props),T.state))}),Ce(T,"renderMap",{CartesianGrid:{handler:Lp,once:!0},ReferenceArea:{handler:T.renderReferenceElement},ReferenceLine:{handler:Lp},ReferenceDot:{handler:T.renderReferenceElement},XAxis:{handler:Lp},YAxis:{handler:Lp},Brush:{handler:T.renderBrush,once:!0},Bar:{handler:T.renderGraphicChild},Line:{handler:T.renderGraphicChild},Area:{handler:T.renderGraphicChild},Radar:{handler:T.renderGraphicChild},RadialBar:{handler:T.renderGraphicChild},Scatter:{handler:T.renderGraphicChild},Pie:{handler:T.renderGraphicChild},Funnel:{handler:T.renderGraphicChild},Tooltip:{handler:T.renderCursor,once:!0},PolarGrid:{handler:T.renderPolarGrid,once:!0},PolarAngleAxis:{handler:T.renderPolarAxis},PolarRadiusAxis:{handler:T.renderPolarAxis},Customized:{handler:T.renderCustomized}}),T.clipPathId="".concat((j=R.id)!==null&&j!==void 0?j:jm("recharts"),"-clip"),T.throttleTriggeredAfterMouseMove=fne(T.triggeredAfterMouseMove,(M=R.throttleDelay)!==null&&M!==void 0?M:1e3/60),T.state={},T}return Ype(O,x),Vpe(O,[{key:"componentDidMount",value:function(){var j,M;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(j=this.props.margin.left)!==null&&j!==void 0?j:0,top:(M=this.props.margin.top)!==null&&M!==void 0?M:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var j=this.props,M=j.children,T=j.data,C=j.height,E=j.layout,P=dr(M,fa);if(P){var k=P.props.defaultIndex;if(!(typeof k!="number"||k<0||k>this.state.tooltipTicks.length-1)){var z=this.state.tooltipTicks[k]&&this.state.tooltipTicks[k].value,B=iA(this.state,T,k,z),U=this.state.tooltipTicks[k].coordinate,F=(this.state.offset.top+C)/2,K=E==="horizontal",Q=K?{x:U,y:F}:{y:U,x:F},I=this.state.formattedGraphicalItems.find(function(q){var Z=q.item;return Z.type.name==="Scatter"});I&&(Q=oe(oe({},Q),I.props.points[k].tooltipPosition),B=I.props.points[k].tooltipPayload);var L={activeTooltipIndex:k,isTooltipActive:!0,activeLabel:z,activePayload:B,activeCoordinate:Q};this.setState(L),this.renderCursor(P),this.accessibilityManager.setIndex(k)}}}},{key:"getSnapshotBeforeUpdate",value:function(j,M){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==M.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==j.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==j.margin){var T,C;this.accessibilityManager.setDetails({offset:{left:(T=this.props.margin.left)!==null&&T!==void 0?T:0,top:(C=this.props.margin.top)!==null&&C!==void 0?C:0}})}return null}},{key:"componentDidUpdate",value:function(j){Kw([dr(j.children,fa)],[dr(this.props.children,fa)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var j=dr(this.props.children,fa);if(j&&typeof j.props.shared=="boolean"){var M=j.props.shared?"axis":"item";return c.indexOf(M)>=0?M:s}return s}},{key:"getMouseInfo",value:function(j){if(!this.container)return null;var M=this.container,T=M.getBoundingClientRect(),C=vne(T),E={chartX:Math.round(j.pageX-C.left),chartY:Math.round(j.pageY-C.top)},P=T.width/M.offsetWidth||1,k=this.inRange(E.chartX,E.chartY,P);if(!k)return null;var z=this.state,B=z.xAxisMap,U=z.yAxisMap,F=this.getTooltipEventType(),K=fk(this.state,this.props.data,this.props.layout,k);if(F!=="axis"&&B&&U){var Q=Ui(B).scale,I=Ui(U).scale,L=Q&&Q.invert?Q.invert(E.chartX):null,q=I&&I.invert?I.invert(E.chartY):null;return oe(oe({},E),{},{xValue:L,yValue:q},K)}return K?oe(oe({},E),K):null}},{key:"inRange",value:function(j,M){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,C=this.props.layout,E=j/T,P=M/T;if(C==="horizontal"||C==="vertical"){var k=this.state.offset,z=E>=k.left&&E<=k.left+k.width&&P>=k.top&&P<=k.top+k.height;return z?{x:E,y:P}:null}var B=this.state,U=B.angleAxisMap,F=B.radiusAxisMap;if(U&&F){var K=Ui(U);return E5({x:E,y:P},K)}return null}},{key:"parseEventsOfWrapper",value:function(){var j=this.props.children,M=this.getTooltipEventType(),T=dr(j,fa),C={};T&&M==="axis"&&(T.props.trigger==="click"?C={onClick:this.handleClick}:C={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var E=sh(this.props,this.handleOuterEvent);return oe(oe({},E),C)}},{key:"addListener",value:function(){V1.on(F1,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){V1.removeListener(F1,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(j,M,T){for(var C=this.state.formattedGraphicalItems,E=0,P=C.length;E<P;E++){var k=C[E];if(k.item===j||k.props.key===j.key||M===Ki(k.item.type)&&T===k.childIndex)return k}return null}},{key:"renderClipPath",value:function(){var j=this.clipPathId,M=this.state.offset,T=M.left,C=M.top,E=M.height,P=M.width;return H.createElement("defs",null,H.createElement("clipPath",{id:j},H.createElement("rect",{x:T,y:C,height:E,width:P})))}},{key:"getXScales",value:function(){var j=this.state.xAxisMap;return j?Object.entries(j).reduce(function(M,T){var C=lk(T,2),E=C[0],P=C[1];return oe(oe({},M),{},Ce({},E,P.scale))},{}):null}},{key:"getYScales",value:function(){var j=this.state.yAxisMap;return j?Object.entries(j).reduce(function(M,T){var C=lk(T,2),E=C[0],P=C[1];return oe(oe({},M),{},Ce({},E,P.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(j){var M;return(M=this.state.xAxisMap)===null||M===void 0||(M=M[j])===null||M===void 0?void 0:M.scale}},{key:"getYScaleByAxisId",value:function(j){var M;return(M=this.state.yAxisMap)===null||M===void 0||(M=M[j])===null||M===void 0?void 0:M.scale}},{key:"getItemByXY",value:function(j){var M=this.state,T=M.formattedGraphicalItems,C=M.activeItem;if(T&&T.length)for(var E=0,P=T.length;E<P;E++){var k=T[E],z=k.props,B=k.item,U=B.type.defaultProps!==void 0?oe(oe({},B.type.defaultProps),B.props):B.props,F=Ki(B.type);if(F==="Bar"){var K=(z.data||[]).find(function(q){return Ice(j,q)});if(K)return{graphicalItem:k,payload:K}}else if(F==="RadialBar"){var Q=(z.data||[]).find(function(q){return E5(j,q)});if(Q)return{graphicalItem:k,payload:Q}}else if(Fm(k,C)||Gm(k,C)||Of(k,C)){var I=jue({graphicalItem:k,activeTooltipItem:C,itemData:U.data}),L=U.activeIndex===void 0?I:U.activeIndex;return{graphicalItem:oe(oe({},k),{},{childIndex:L}),payload:Of(k,C)?U.data[I]:k.props.data[I]}}}return null}},{key:"render",value:function(){var j=this;if(!zM(this))return null;var M=this.props,T=M.children,C=M.className,E=M.width,P=M.height,k=M.style,z=M.compact,B=M.title,U=M.desc,F=ck(M,$pe),K=et(F,!1);if(z)return H.createElement(G3,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},H.createElement(Ww,gl({},K,{width:E,height:P,title:B,desc:U}),this.renderClipPath(),UM(T,this.renderMap)));if(this.props.accessibilityLayer){var Q,I;K.tabIndex=(Q=this.props.tabIndex)!==null&&Q!==void 0?Q:0,K.role=(I=this.props.role)!==null&&I!==void 0?I:"application",K.onKeyDown=function(q){j.accessibilityManager.keyboardEvent(q)},K.onFocus=function(){j.accessibilityManager.focus()}}var L=this.parseEventsOfWrapper();return H.createElement(G3,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},H.createElement("div",gl({className:Qe("recharts-wrapper",C),style:oe({position:"relative",curs
357or:"default",width:E,height:P},k)},L,{ref:function(Z){j.container=Z}}),H.createElement(Ww,gl({},K,{width:E,height:P,title:B,desc:U,style:ehe}),this.renderClipPath(),UM(T,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(N.Component);Ce(A,"displayName",n),Ce(A,"defaultProps",oe({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p)),Ce(A,"getDerivedStateFromProps",function(x,O){var R=x.dataKey,j=x.data,M=x.children,T=x.width,C=x.height,E=x.layout,P=x.stackOffset,k=x.margin,z=O.dataStartIndex,B=O.dataEndIndex;if(O.updateId===void 0){var U=dk(x);return oe(oe(oe({},U),{},{updateId:0},b(oe(oe({props:x},U),{},{updateId:0}),O)),{},{prevDataKey:R,prevData:j,prevWidth:T,prevHeight:C,prevLayout:E,prevStackOffset:P,prevMargin:k,prevChildren:M})}if(R!==O.prevDataKey||j!==O.prevData||T!==O.prevWidth||C!==O.prevHeight||E!==O.prevLayout||P!==O.prevStackOffset||!xl(k,O.prevMargin)){var F=dk(x),K={chartX:O.chartX,chartY:O.chartY,isTooltipActive:O.isTooltipActive},Q=oe(oe({},fk(O,j,E)),{},{updateId:O.updateId+1}),I=oe(oe(oe({},F),K),Q);return oe(oe(oe({},I),b(oe({props:x},I),O)),{},{prevDataKey:R,prevData:j,prevWidth:T,prevHeight:C,prevLayout:E,prevStackOffset:P,prevMargin:k,prevChildren:M})}if(!Kw(M,O.prevChildren)){var L,q,Z,ie,$=dr(M,zl),G=$&&(L=(q=$.props)===null||q===void 0?void 0:q.startIndex)!==null&&L!==void 0?L:z,Y=$&&(Z=(ie=$.props)===null||ie===void 0?void 0:ie.endIndex)!==null&&Z!==void 0?Z:B,J=G!==z||Y!==B,ue=!tt(j),he=ue&&!J?O.updateId:O.updateId+1;return oe(oe({updateId:he},b(oe(oe({props:x},O),{},{updateId:he,dataStartIndex:G,dataEndIndex:Y}),O)),{},{prevChildren:M,dataStartIndex:G,dataEndIndex:Y})}return null}),Ce(A,"renderActiveDot",function(x,O,R){var j;return N.isValidElement(x)?j=N.cloneElement(x,O):Be(x)?j=x(O):j=H.createElement(A8,O),H.createElement(pn,{className:"recharts-active-dot",key:R},j)});var S=N.forwardRef(function(O,R){return H.createElement(A,gl({},O,{ref:R}))});return S.displayName=A.displayName,S},fhe=uhe({chartName:"BarChart",GraphicalChild:ho,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:Zm},{axisType:"yAxis",AxisComp:Jm}],formatAxisMap:Sfe});const dL={savings:"#EAB308",profit:"#16A34A",funding:"#2563EB"},pL={savings:"Savings",profit:"Increased Profit",funding:"Funding"};function dhe(e){return e>=1e6?`$${(e/1e6).toFixed(1)}M`:e>=1e3?`$${(e/1e3).toFixed(0)}K`:`$${e.toLocaleString()}`}function sA(e){return`$${e.toLocaleString("en-US")}`}function phe({active:e,payload:t}){if(!e||!t?.length)return null;const n=t[0].payload;return g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:45",className:"bg-white border border-gray-200 rounded-lg shadow-lg px-4 py-3",children:[g.jsx("p",{"data-loc":"client/src/components/SectionChart.tsx:46",className:"font-semibold text-sm text-gray-900",children:n.label}),g.jsx("p",{"data-loc":"client/src/components/SectionChart.tsx:47",className:"text-lg font-bold",style:{color:dL[n.type]},children:sA(n.value)}),g.jsx("p",{"data-loc":"client/src/components/SectionChart.tsx:50",className:"text-xs text-gray-500 mt-0.5",children:pL[n.type]})]})}function hL({data:e,sectionType:t,title:n}){const r=N.useRef(null),[a,s]=N.useState(0),l=N.useMemo(()=>e?e.filter(p=>p.value>0):[],[e]),c=N.useMemo(()=>l.reduce((p,y)=>p+y.value,0),[l]);if(N.useEffect(()=>{const p=r.current;if(!p)return;const y=()=>{const x=p.getBoundingClientRect().width;x>0&&s(x)},b=setTimeout(y,50);let A;const S=()=>{clearTimeout(A),A=setTimeout(y,150)};return window.addEventListener("resize",S),()=>{clearTimeout(b),clearTimeout(A),window.removeEventListener("resize",S)}},[]),l.length===0)return null;const f=dL[t],d=pL[t],m=Math.max(200,l.length*52+40);return g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:108",className:"bg-gray-50 rounded-xl p-5 my-5 border border-gray-100",children:[g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:110",className:"flex items-center justify-between mb-4",children:[g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:111",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/components/SectionChart.tsx:112",className:"w-3 h-3 rounded-full",style:{backgroundColor:f}}),g.jsx("h4",{"data-loc":"client/src/components/SectionChart.tsx:113",className:"text-base font-bold text-gray-800",children:n||`${d} Breakdown`})]}),g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:117",className:"text-right",children:[g.jsx("span",{"data-loc":"client/src/components/SectionChart.tsx:118",className:"text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Total"}),g.jsx("p",{"data-loc":"client/src/components/SectionChart.tsx:119",className:"text-xl font-extrabold",style:{color:f},children:sA(c)})]})]}),g.jsx("div",{"data-loc":"client/src/components/SectionChart.tsx:126",className:"flex flex-wrap gap-4 mb-3",children:l.map((p,y)=>g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:128",className:"flex items-center gap-1.5",children:[g.jsx("div",{"data-loc":"client/src/components/SectionChart.tsx:129",className:"w-2.5 h-2.5 rounded-sm",style:{backgroundColor:f,opacity:1-y*.15}}),g.jsx("span",{"data-loc":"client/src/components/SectionChart.tsx:133",className:"text-xs font-medium text-gray-600",children:p.label})]},y))}),g.jsx("div",{"data-loc":"client/src/components/SectionChart.tsx:139",ref:r,className:"w-full",style:{height:m},children:a>0&&g.jsxs(fhe,{"data-loc":"client/src/components/SectionChart.tsx:141",data:l,layout:"vertical",width:a,height:m,margin:{top:5,right:60,left:10,bottom:5},barCategoryGap:"20%",children:[g.jsx(Z8,{"data-loc":"client/src/components/SectionChart.tsx:149",strokeDasharray:"3 3",horizontal:!1,stroke:"#e5e7eb"}),g.jsx(Zm,{"data-loc":"client/src/components/SectionChart.tsx:150",type:"number",tickFormatter:dhe,tick:{fontSize:11,fill:"#6b7280"}
357,axisLine:{stroke:"#d1d5db"}}),g.jsx(Jm,{"data-loc":"client/src/components/SectionChart.tsx:156",type:"category",dataKey:"label",width:120,tick:{fontSize:12,fill:"#374151",fontWeight:600},axisLine:!1,tickLine:!1}),g.jsx(fa,{"data-loc":"client/src/components/SectionChart.tsx:164",content:g.jsx(phe,{"data-loc":"client/src/components/SectionChart.tsx:164"}),cursor:{fill:"rgba(0,0,0,0.04)"}}),g.jsx(ho,{"data-loc":"client/src/components/SectionChart.tsx:165",dataKey:"value",radius:[0,6,6,0],barSize:32,children:l.map((p,y)=>g.jsx(N2,{"data-loc":"client/src/components/SectionChart.tsx:167",fill:f,fillOpacity:1-y*.12},`cell-${y}`))})]})}),g.jsx("div",{"data-loc":"client/src/components/SectionChart.tsx:179",className:"mt-3 grid gap-1.5",children:l.map((p,y)=>g.jsxs("div",{"data-loc":"client/src/components/SectionChart.tsx:181",className:"flex items-center justify-between px-2 py-1.5 rounded-md bg-white border border-gray-100",children:[g.jsx("span",{"data-loc":"client/src/components/SectionChart.tsx:182",className:"text-sm font-semibold text-gray-700",children:p.label}),g.jsx("span",{"data-loc":"client/src/components/SectionChart.tsx:183",className:"text-sm font-bold tabular-nums",style:{color:f},children:sA(p.value)})]},y))})]})}function un(e){return"$"+Math.round(e).toLocaleString("en-US")}function mL({data:e}){const t=N.useMemo(()=>{const s=Math.round(e.monthlyPhoneCost*.25),l=Math.round(e.monthlyInternetCost*.25),c=Math.round(e.monthlyCloudServicesCost*.25),f=Math.round(e.monthlyITManagementCost*.25),d=e.monthlyPhoneCost+e.monthlyInternetCost+e.monthlyCloudServicesCost+e.monthlyITManagementCost,m=s+l+c+f,p=m*12,y=Math.round(e.monthlyDialerRevenue*.5),b=y*12;return{phoneSavings:s,internetSavings:l,cloudSavings:c,itSavings:f,totalMonthlyTechCost:d,totalMonthlySavings:m,totalAnnualSavings:p,monthlyDialerIncrease:y,annualDialerIncrease:b}},[e.monthlyPhoneCost,e.monthlyInternetCost,e.monthlyCloudServicesCost,e.monthlyITManagementCost,e.monthlyDialerRevenue]),n=e.monthlyPhoneCost>0||e.monthlyInternetCost>0||e.monthlyCloudServicesCost>0||e.monthlyITManagementCost>0,r=e.numberOfDialers>0&&e.monthlyDialerRevenue>0;if(!n&&!r)return null;const a=[{icon:EA,label:"Phone Services",current:e.monthlyPhoneCost,savings:t.phoneSavings},{icon:dG,label:"Internet",current:e.monthlyInternetCost,savings:t.internetSavings},{icon:nG,label:"Cloud Services",current:e.monthlyCloudServicesCost,savings:t.cloudSavings},{icon:uG,label:"IT Management",current:e.monthlyITManagementCost,savings:t.itSavings}].filter(s=>s.current>0);return g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:64",className:"mt-6 space-y-6",children:[n&&g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:67",className:"bg-gradient-to-br from-amber-50 to-yellow-50 border-2 border-amber-200 rounded-2xl p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:68",className:"flex items-center gap-3 mb-5",children:[g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:69",className:"w-10 h-10 rounded-xl bg-amber-100 flex items-center justify-center",children:g.jsx(oG,{"data-loc":"client/src/components/TechExpenseCalculator.tsx:70",className:"w-5 h-5 text-amber-700"})}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:72",children:[g.jsx("h4",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:73",className:"text-xl font-bold text-gray-900",children:"Technology Expense Savings"}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:74",className:"text-sm text-gray-600",children:[e.companyName,"'s estimated technology cost reduction"]})]})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:79",className:"bg-white rounded-xl border border-amber-200 overflow-hidden mb-5",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:80",className:"grid grid-cols-4 gap-0 bg-amber-100/60 px-4 py-3 border-b border-amber-200",children:[g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:81",className:"text-sm font-bold text-gray-700",children:"Category"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:82",className:"text-sm font-bold text-gray-700 text-right",children:"Current Monthly"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:83",className:"text-sm font-bold text-amber-700 text-right",children:"Est. Monthly Savings"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:84",className:"text-sm font-bold text-amber-700 text-right",children:"Est. Annual Savings"})]}),a.map((s,l)=>
357g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:87",className:`grid grid-cols-4 gap-0 px-4 py-3 items-center ${l<a.length-1?"border-b border-gray-100":""}`,children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:88",className:"flex items-center gap-2",children:[g.jsx(s.icon,{"data-loc":"client/src/components/TechExpenseCalculator.tsx:89",className:"w-4 h-4 text-gray-500"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:90",className:"text-base font-semibold text-gray-800",children:s.label})]}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:92",className:"text-base font-bold text-gray-700 text-right font-mono",children:un(s.current)}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:93",className:"text-base font-bold text-amber-700 text-right font-mono",children:un(s.savings)}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:94",className:"text-base font-bold text-amber-700 text-right font-mono",children:un(s.savings*12)})]},l)),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:98",className:"grid grid-cols-4 gap-0 px-4 py-4 bg-amber-50 border-t-2 border-amber-300",children:[g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:99",className:"text-base font-extrabold text-gray-900",children:"TOTAL"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:100",className:"text-base font-extrabold text-gray-900 text-right font-mono",children:un(t.totalMonthlyTechCost)}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:101",className:"text-lg font-extrabold text-amber-700 text-right font-mono",children:un(t.totalMonthlySavings)}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:102",className:"text-lg font-extrabold text-amber-700 text-right font-mono",children:un(t.totalAnnualSavings)})]})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:107",className:"grid grid-cols-2 gap-4 mb-4",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:108",className:"bg-white rounded-xl border border-amber-200 p-4 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:109",className:"text-sm font-medium text-gray-500 mb-1",children:"Total Monthly Savings"}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:110",className:"text-3xl font-extrabold text-amber-600 font-mono",children:un(t.totalMonthlySavings)}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:111",className:"text-xs text-gray-400 mt-1",children:"per month"})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:113",className:"bg-white rounded-xl border border-amber-200 p-4 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:114",className:"text-sm font-medium text-gray-500 mb-1",children:"Total Annual Savings"}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:115",className:"text-3xl font-extrabold text-amber-600 font-mono",children:un(t.totalAnnualSavings)}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:116",className:"text-xs text-gray-400 mt-1",children:"per year"})]})]}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:120",className:"text-base font-medium text-gray-700 leading-relaxed",children:[e.companyName," is currently spending ",g.jsxs("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:121",className:"text-gray-900",children:[un(t.totalMonthlyTechCost),"/month"]})," (",un(t.totalMonthlyTechCost*12),"/year) on technology services. Through our network of vetted technology providers, businesses like yours typically see significant reductions in phone, internet, cloud, and IT management costs — resulting in an estimated ",g.jsxs("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:121",className:"text-amber-700",children:[un(t.totalAnnualSavings)," in annual savings"]}),"."]})]}),r&&g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:128",className:"bg-gradient-to-br from-emerald-50 to-green-50 border-2 border-emerald-200 rounded-2xl p-6",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:129",className:"flex items-center gap-3 mb-5",children:[g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:130",className:"w-10 h-10 rounded-xl bg-emerald-100 flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/components/TechExpenseCalculator.tsx:131",className:"w-5 h-5 text-emerald-700"})}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:133",children:[g.jsx("h4",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:134",className:"text-xl font-bold text-gray-900",children:"Phone Dialer Revenue Growth"}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:135",className:"text-sm text-gray-600",children:[e.companyName,"'s estimated increased profit from dialer optimization"]})]})]}),g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:140",className:"bg-white rounded-xl border border-emerald-200 overflow-hidden mb-5",children:g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:141",className:"grid grid-cols-2 sm:grid-cols-4 gap-0",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:142",className:"p-4 border-b sm:border-b-0 sm:border-r border-emerald-100 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:143",className:"text-sm font-medium text-gray-500 mb-1",children:"Number of Dialers"}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:144",className:"text-2xl font-extrabold text-gray-900 font-mono",children:e.numberOfDialers})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:146",className:"p-4 border-b sm:border-b-0 sm:border-r border-emerald-100 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:147",className:"text-sm font-medium text-gray-500 mb-1",children:"Current Monthly Revenue"}),g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:148",className:"text-2xl font-extrabold text-gray-900 font-mono",children:un(e.monthlyDialerRevenue)})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:150",className:"p-4 border-b sm:border-b-0 sm:border-r border-emerald-100 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:151",className:"text-sm font-medium text-gray-500 mb-1",children:"Est. Monthly Increase"}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:152",className:"text-2xl font-extrabold text-emerald-600 font-mono",children:["+",un(t.monthlyDialerIncrease)]})]}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:154",className:"p-4 text-center",children:[g.jsx("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:155",className:"text-sm font-medium text-gray-500 mb-1",children:"Est. Annual Increase"}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:156",className:"text-2xl font-extrabold text-emerald-600 font-mono",children:["+",un(t.annualDialerIncrease)]})]})]})}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:162",className:"bg-white rounded-xl border border-emerald-200 p-4 mb-5",children:[g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:163",className:"flex items-center justify-between mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:164",className:"text-sm font-bold text-gray-600",children:"Current Annual Revenue"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:165",className:"text-base font-extrabold text-gray-800 font-mono",children:un(e.monthlyDialerRevenue*12)})]}),g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:167",className:"w-full bg-gray-200 rounded-full h-5 mb-3",children:g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:168",className:"bg-gray-400 h-5 rounded-full",style:{width:"66%"}})}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:170",className:"flex items-center justify-between mb-2",children:[g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:171",className:"text-sm font-bold text-emerald-700",children:"Projected Annual Revenue"}),g.jsx("span",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:172",className:"text-base font-extrabold text-emerald-700 font-mono",children:un((e.monthlyDialerRevenue+t.monthlyDialerIncrease)*12)})]}),g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:174",className:"w-full bg-gray-200 rounded-full h-5",children:g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:175",className:"bg-emerald-500 h-5 rounded-full",style:{width:"100%"}})})]}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:179",className:"text-base font-medium text-gray-700 leading-relaxed",children:["With ",g.jsxs("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:180",className:"text-gray-900",children:[e.numberOfDialers," phone dialers"]})," generating ",g.jsxs("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:180",className:"text-gray-900",children:[un(e.monthlyDialerRevenue),"/month"]})," in revenue, ",e.companyName," has significant growth potential. By upgrading to optimized dialer technology and implementing advanced call routing, AI-powered lead scoring, and predictive dialing, businesses typically see a substantial increase in connection rates and conversion — resulting in an estimated ",g.jsxs("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:180",className:"text-emerald-700",children:["+",un(t.annualDialerIncrease)," in additional annual profit"]}),"."]})]}),g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:186",className:"bg-gradient-to-r from-slate-800 to-slate-900 rounded-2xl p-6 text-white",children:g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:187",className:"flex items-start gap-4",children:[g.jsx("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:188",className:"w-12 h-12 rounded-xl bg-emerald-500/20 flex items-center justify-center shrink-0 mt-1",children:g.jsx(Ji,{"data-loc":"client/src/components/TechExpenseCalculator.tsx:189",className:"w-6 h-6 text-emerald-400"})}),g.jsxs("div",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:191",children:[g.jsx("h4",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:192",className:"text-xl font-bold mb-2",children:"Get an Exact Quote from a DREAMS Technology Expert"}),g.jsxs("p",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:193",className:"text-base text-gray-300 leading-relaxed mb-4",children:["The estimates above are based on industry averages. To receive a ",g.jsx("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:194",className:"text-white",children:"detailed, customized proposal"})," with exact pricing for ",e.companyName,"'s phone, internet, cloud, IT management, and dialer services, schedule a complimentary consultation with one of our technology specialists. There is ",g.jsx("strong",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:194",className:"text-emerald-400",children:"no cost and no obligation"}),"."]}),g.jsxs("a",{"data-loc":"client/src/components/TechExpenseCalculator.tsx:196",href:"https://products.dreamsresources.com/streampc/",className:"inline-flex items-center gap-2 bg-emerald-500 hover:bg-emerald-600 text-white font-bold px-6 py-3 rounded-xl transition-colors text-base",children:[g.jsx(Ji,{"data-loc":"client/src/components/TechExpenseCalculator.tsx:200",className:"w-5 h-5"}),"Schedule Technology Review"]})]})]})})]})}const hhe="/api/dreams-tracker/inbound";function mhe(e,t){const r=localStorage.getItem("refid")||"DIRECT",a=`${e.business.email}-${Date.now()}`,s=(e.business.contactName||"").trim().split(/\s+/),l=s[0]||"",c=s.slice(1).join(" ")||"",f=e.business.numberOfEmployees||e.assets.numberOfEmployees||50,d=e.business.buildingSqFt||1e4,m=f*750,p=e.expenses.monthlyEnergyBill*12,y=Math.round(p*.4)+Math.round(d*.8),b=f*800+Math.round(e.expenses.annualHealthPremiums*.3),A=e.assets.monthlyAdvertisingSpend||0,S=f*2400+A*12*10,x=e.money.totalAnnualPayrollAndSubs||0,O=e.money.paysOver20kFederalTax?Math.round(x*.1):0,R=Math.round(e.money.numberOfTippedEmployees*e.money.averageTipsPerEmployee*12*.0765),j=O+R,M=e.security.numberOfPCs*300,T=Math.round(e.security.corporateLifeCoverage*.05),C=e.debt.desiredFunding;return{contact_id:a,entry_type:"score",agent_code:r,retirement:m,energy:y,health_benefits:b,marketing:S,r_and_d:j,security_pc:M,"401k":m,insurance:T,funding:C,business_name:e.business.companyName||"",client_first_name:l,client_last_name:c,client_email:e.business.email||"",client_phone:e.business.phone||null,client_website:e.assets.websiteUrl||e.business.website||null,client_address:null,client_city:null,client_state:null,client_postal_code:null,client_title:e.business.title||null,sales_director:null}}async function ghe(e,t){const n=mhe(e);try{await fetch(hhe,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0}),console.info("[DreamsTracker] Score data sent to proxy.")}catch(r){console.warn("[DreamsTracker] Failed to send to proxy:",r)}}function K1({target:e}){const[t,n]=N.useState(0),r=N.useRef(null),a=N.useRef(!1);return N.useEffect(()=>{const s=new IntersectionObserver(([l])=>{if(l.isIntersecting&&!a.current){a.current=!0;const c=2e3,f=60,d=e/f;let m=0;const p=setInterval(()=>{m+=d,m>=e?(n(e),clearInterval(p)):n(Math.round(m))},c/f)}},{threshold:.3});return r.current&&s.observe(r.current),()=>s.disconnect()},[e]),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:60",ref:r,className:"font-mono tabular-nums",children:["$",t.toLocaleStr
357ing()]})}const yhe={D:ni,R:Br,E:Hf,A:zf,M:Lf,S:tc},vhe={savings:"Savings",profit:"Profit",funding:"Funding"},bhe=H.memo(function({section:t,index:n,businessData:r}){const[a,s]=N.useState(!0),{t:l}=na(),c=yhe[t.letter]||ni,f=dn[t.letter]||"#10B981",d=N.useMemo(()=>t.letter!=="E"||!r?null:{companyName:r.business.companyName,monthlyPhoneCost:r.expenses.monthlyPhoneCost||0,monthlyInternetCost:r.expenses.monthlyInternetCost||0,monthlyCloudServicesCost:r.expenses.monthlyCloudServicesCost||0,monthlyITManagementCost:r.expenses.monthlyITManagementCost||0,numberOfDialers:r.expenses.numberOfDialers||0,monthlyDialerRevenue:r.expenses.monthlyDialerRevenue||0},[t.letter,r]);return g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:94",className:"clean-card rounded-2xl overflow-hidden",children:[g.jsxs("button",{"data-loc":"client/src/pages/Report.tsx:98",onClick:()=>s(!a),className:"w-full flex items-start gap-4 p-6 md:p-8 hover:bg-secondary/30 transition-colors text-left",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:102",className:"w-14 h-14 rounded-xl flex items-center justify-center shrink-0",style:{backgroundColor:`${f}15`},children:g.jsx(c,{"data-loc":"client/src/pages/Report.tsx:106",className:"w-7 h-7",style:{color:f}})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:108",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:109",className:"flex items-center justify-between flex-wrap gap-2",children:[g.jsxs("h2",{"data-loc":"client/src/pages/Report.tsx:110",className:"text-2xl md:text-3xl font-extrabold text-foreground",children:[t.letter," — ",l(t.title)]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:113",className:"flex items-center gap-2",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:114",className:"text-xs px-2.5 py-1 rounded-full font-medium",style:{backgroundColor:`${f}15`,color:f},children:l(vhe[t.type])}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:120",className:"font-mono font-extrabold text-2xl md:text-3xl",style:{color:f},children:["$",t.amount.toLocaleString()]})]})]}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:125",className:"text-base text-muted-foreground mt-1 font-semibold",children:t.summary}),t.serviceBlocks&&t.serviceBlocks.filter(m=>m.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:128",className:"flex flex-wrap gap-x-5 gap-y-1.5 mt-3",children:t.serviceBlocks.filter(m=>m.amount>0).map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:130",className:"flex items-center gap-1.5",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:131",className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:135",className:"text-sm text-muted-foreground font-medium",children:[m.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:136",className:"text-sm font-bold font-mono",style:{color:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"},children:["$",m.amount.toLocaleString()]})]},p))})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:147",className:"shrink-0 mt-1",children:a?g.jsx(jA,{"data-loc":"client/src/pages/Report.tsx:149",className:"w-5 h-5 text-muted-foreground"}):g.jsx(Bf,{"data-loc":"client/src/pages/Report.tsx:151",className:"w-5 h-5 text-muted-foreground"})})]}),a&&g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:157",className:"overflow-hidden",children:g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:160",className:"px-6 md:px-8 pb-6 md:pb-8 border-t border-border",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:162",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3 mt-6 mb-6",children:t.metrics.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:164",className:"bg-secondary/50 rounded-lg p-3",children:[g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:165",className:"text-xs text-muted-foreground leading-tight font-medium",children:m.label}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:166",className:"font-mono font-extrabold text-base md:text-lg mt-1 text-foreground",children:m.value})]},p))}),t.chartData&&t.chartData.length>0&&g.jsx(hL,{"data-loc":"client/src/pages/Report.tsx:173",data:t.chartData,sectionType:t.type}),d&&g.jsx(mL,{"data-loc":"client/src/pages/Report.tsx:181",data:d}),t.serviceBlocks&&t.serviceBlocks.length>0?g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:186",className:"space-y-6 mb-6",children:t.serviceBlocks.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:188",className:"rounded-xl border border-border/60 overflow-hidden",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:190",className:"flex items-center justify-between px-5 py-3 bg-secondary/40",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:191",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/Report.tsx:192",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/Report.tsx:193",className:"text-base font-bold text-foreground",children:m.serviceName})]}),m.amount>0&&g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:196",className:"font-mono font-extrabold text-lg",style:{color:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"}
357,children:["$",m.amount.toLocaleString(),"/yr"]})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:202",className:"px-5 py-4 space-y-3",children:m.paragraphs.map((y,b)=>g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:204",className:"text-base leading-relaxed text-foreground/80 font-medium",children:y},b))}),m.cta&&g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:211",className:"px-5 pb-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:212",className:"bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-700 rounded-lg px-3 py-2 mb-3",children:g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:213",className:"text-amber-800 dark:text-amber-300 text-xs font-semibold text-center",children:"This report does not have live links. Please contact your DREAMS representative to schedule appointments with service providers."})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:217",className:"flex items-center justify-between gap-3 bg-secondary/30 rounded-lg p-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:218",className:"flex items-start gap-2 flex-1 min-w-0",children:[g.jsx(Ln,{"data-loc":"client/src/pages/Report.tsx:219",className:"w-4 h-4 shrink-0 mt-0.5",style:{color:f}}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:220",className:"text-sm text-foreground/80 font-medium",children:m.cta.text})]}),g.jsxs("a",{"data-loc":"client/src/pages/Report.tsx:222",href:m.cta.buttonUrl,className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-lg bg-emerald hover:bg-emerald-dark text-white font-bold text-sm transition-colors shadow-sm whitespace-nowrap shrink-0",children:[g.jsx(Ji,{"data-loc":"client/src/pages/Report.tsx:226",className:"w-3 h-3"}),m.cta.buttonLabel]})]})]})]},p))}):t.noOpportunityMessage?g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:236",className:"rounded-xl border border-emerald/20 bg-emerald-50/30 p-5 mb-6",children:g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:237",className:"flex items-start gap-3",children:[g.jsx(On,{"data-loc":"client/src/pages/Report.tsx:238",className:"w-5 h-5 text-emerald shrink-0 mt-0.5"}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:239",className:"text-base text-foreground/80 font-medium leading-relaxed",children:t.noOpportunityMessage})]})}):g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:244",className:"space-y-4 mb-6",children:t.paragraphs.map((m,p)=>g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:246",className:"text-base leading-relaxed text-foreground/80 font-medium",children:m},p))}),t.bullets.length>0&&g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:255",className:"mb-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:256",className:"flex items-center gap-2 mb-3",children:[g.jsx(hI,{"data-loc":"client/src/pages/Report.tsx:257",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/Report.tsx:258",className:"text-base font-bold text-foreground",children:"Key Benefits"})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:260",className:"grid sm:grid-cols-2 gap-3",children:t.bullets.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:262",className:"flex items-start gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/Report.tsx:263",className:"w-4 h-4 shrink-0 mt-0.5",style:{color:f}}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:264",className:"text-sm text-foreground/80 leading-relaxed font-medium",children:m})]},p))})]}),t.example&&g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:273",className:"rounded-xl p-4 mb-6 border",style:{backgroundColor:`${f}08`,borderColor:`${f}20`},children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:277",className:"flex items-center gap-2 mb-2",children:[g.jsx(dI,{"data-loc":"client/src/pages/Report.tsx:278",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/Report.tsx:279",className:"text-base font-bold text-foreground",children:"Industry Example"})]}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:281",className:"text-base text-foreground
357/80 leading-relaxed italic font-medium",children:t.example})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:288",className:"mt-5 bg-emerald-50/50 rounded-xl p-4 border border-emerald/10",children:g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:289",className:"text-base text-foreground leading-relaxed font-bold",children:t.urgency})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:295",className:"mt-5 bg-amber-50/80 border border-amber-200/60 rounded-lg px-4 py-3 flex items-start gap-2.5",children:[g.jsx(qf,{"data-loc":"client/src/pages/Report.tsx:296",className:"w-4 h-4 text-amber-600 shrink-0 mt-0.5"}),g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:297",className:"text-sm text-amber-800 leading-relaxed",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:298",className:"font-bold",children:"Disclaimer:"})," Numbers shown are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service."]})]})]})})]})});function xhe(){const[,e]=lo(),{robertEnabled:t,toggleRobert:n}=nc(),{language:r,t:a}=na(),[s,l]=N.useState(null),[c,f]=N.useState(null),[d,m]=N.useState(null),[p,y]=N.useState(null);N.useEffect(()=>{const S=sessionStorage.getItem("dreamsBusinessScore"),x=sessionStorage.getItem("dreamsBusinessData");if(S&&x){const O=JSON.parse(x),R=JSON.parse(S);f(O),m(R),l(Uw(O,R))}else{const O=gm(vl);f(vl),m(O),l(Uw(vl,O))}},[]),N.useEffect(()=>{if(!c)return;const S=sessionStorage.getItem("dreamsWebhookSent");if(!c.business.email||S)return;sessionStorage.setItem("dreamsWebhookSent","true");const x=localStorage.getItem("refid")||"",O=JSON.stringify({first_name:c.business.contactName.split(" ")[0]||"",last_name:c.business.contactName.split(" ").slice(1).join(" ")||"",contactName:c.business.contactName,email:c.business.email,phone:c.business.phone,companyName:c.business.companyName,title:c.business.title,website:c.assets.websiteUrl||c.business.website||"",industry:c.business.industry,annualRevenue:String(c.business.annualRevenue),numberOfEmployees:String(c.business.numberOfEmployees),yearsInBusiness:String(c.business.yearsInBusiness),buildingSqFt:String(c.business.buildingSqFt),salesType:c.business.salesType,refid:x,assessmentData:JSON.stringify(c)}),R="https://services.leadconnectorhq.com/hooks/WdqvS18nNZ9DbUSVTiI5/webhook-trigger/95a813d7-8791-474a-8595-947435af1345",j="https://uxspxjomvowsiyrervow.supabase.co/functions/v1/manus-webhook";fetch(R,{method:"POST",headers:{"Content-Type":"application/json"},body:O,keepalive:!0}).catch(()=>{});const M=sessionStorage.getItem("dreamsBusinessScore"),T=c.business.numberOfEmployees||c.assets?.numberOfEmployees||50,C=c.business.buildingSqFt||1e4,E=(c.expenses?.monthlyEnergyBill||0)*12,P=c.assets?.monthlyAdvertisingSpend||0,k=c.money?.totalAnnualPayrollAndSubs||0,z=T*750,B=Math.round(E*.4)+Math.round(C*.8),U=T*800+Math.round((c.expenses?.annualHealthPremiums||0)*.3),F=T*2400+P*12*10,K=c.money?.paysOver20kFederalTax?Math.round(k*.1):0,Q=Math.round((c.money?.numberOfTippedEmployees||0)*(c.money?.averageTipsPerEmployee||0)*12*.0765),I=K+Q,L=(c.security?.numberOfPCs||0)*300,q=Math.round((c.security?.corporateLifeCoverage||0)*.05),Z=c.debt?.desiredFunding||0,ie=JSON.stringify({first_name:c.business.contactName.split(" ")[0]||"",last_name:c.business.contactName.split(" ").slice(1).join(" ")||"",contactName:c.business.contactName,email:c.business.email,phone:c.business.phone,companyName:c.business.companyName,title:c.business.title,website:c.assets.websiteUrl||c.business.website||"",industry:c.business.industry,annualRevenue:String(c.business.annualRevenue),numberOfEmployees:String(c.business.numberOfEmployees),yearsInBusiness:String(c.business.yearsInBusiness),buildingSqFt:String(c.business.buildingSqFt),salesType:c.business.salesType,refid:x,contact_id:`${c.business.email}-${Date.now()}`,entry_type:"score",agent_code:x||"DIRECT",retirement:z,energy:B,health_benefits:U,marketing:F,r_and_d:I,security_pc:L,"401k":z,insurance:q,funding:Z,assessmentData:JSON.stringify(c)});fetch(j,{method:"POST",headers:{"Content-Type":"application/json"},body:ie,keepalive:!0}
357).catch(()=>{}),M&&(JSON.parse(M),ghe(c).catch(()=>{}))},[c]),N.useEffect(()=>{if(!s)return;const S=s.sections.map(O=>document.getElementById(`section-${O.letter}`)).filter(Boolean),x=new IntersectionObserver(O=>{for(const R of O)if(R.isIntersecting){const j=R.target.id.replace("section-","");y(j)}},{threshold:.05,rootMargin:"-80px 0px -60% 0px"});return S.forEach(O=>x.observe(O)),()=>x.disconnect()},[s]);const b=N.useMemo(()=>s?p?s$(p,s.companyName,s.sections.find(S=>S.letter===p)?.amount||0):o$(s.companyName,s.totalValue):{message:"",subMessage:""},[p,s]),A=N.useCallback(async()=>{const S=document.getElementById("dreams-report-content");if(!S)return;const x=(await $X(async()=>{const{default:j}=await import("./html2pdf-YosF2VHu.js").then(M=>M.h);return{default:j}},[])).default,R=`${(s?.companyName||"DREAMS-Report").replace(/[^a-zA-Z0-9]/g,"_")}_DREAMS_Score_Report.pdf`;x().set({margin:[10,10,10,10],filename:R,image:{type:"jpeg",quality:.95},html2canvas:{scale:2,useCORS:!0,logging:!1,scrollY:0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait"},pagebreak:{mode:["avoid-all","css","legacy"]}}).from(S).save()},[s]);return!s||!c||!d?null:g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:479",className:"min-h-screen bg-secondary/30",children:[g.jsx("nav",{"data-loc":"client/src/pages/Report.tsx:481",className:"border-b border-border bg-white sticky top-0 z-50",children:g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:482",className:"container flex items-center justify-between h-16",children:[g.jsxs("button",{"data-loc":"client/src/pages/Report.tsx:483",onClick:()=>e("/dashboard"),className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[g.jsx(Xs,{"data-loc":"client/src/pages/Report.tsx:484",className:"w-5 h-5 text-foreground"}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:485",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:486",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/Report.tsx:487",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:489",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:490",className:"hidden sm:inline text-muted-foreground text-sm",children:a("Full Report")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:493",className:"flex items-center gap-3",children:[g.jsx(sc,{"data-loc":"client/src/pages/Report.tsx:494"}),g.jsx("button",{"data-loc":"client/src/pages/Report.tsx:495",onClick:n,className:`hidden md:flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-all border ${t?"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100":"bg-slate-100 text-slate-500 border-slate-200 hover:bg-slate-200"}`,title:a(t?"Turn off Robert AI Guide":"Turn on Robert AI Guide"),children:t?g.jsxs(g.Fragment,{children:[g.jsx($f,{"data-loc":"client/src/pages/Report.tsx:505",className:"w-3.5 h-3.5"})," ",a("Robert: On")]}):g.jsxs(g.Fragment,{children:[g.jsx(If,{"data-loc":"client/src/pages/Report.tsx:507",className:"w-3.5 h-3.5"})," ",a("Robert: Off")]})}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:510",variant:"outline",size:"sm",onClick:A,className:"hidden lg:flex border-border bg-white",children:[g.jsx(oR,{"data-loc":"client/src/pages/Report.tsx:511",className:"w-4 h-4 mr-2"}),a("Download PDF")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:514",variant:"outline",size:"sm",onClick:()=>window.print(),className:"hidden lg:flex border-border bg-white",children:[g.jsx(Uu,{"data-loc":"client/src/pages/Report.tsx:515",className:"w-4 h-4 mr-2"}),a("Print Report")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:518",size:"sm",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold",children:[g.jsx(Ln,{"data-loc":"client/src/pages/Report.tsx:519",className:"w-4 h-4 mr-1"}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:520",className:"hidden sm:inline",children:a("Edit Data")})]})]})]})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:526",id:"dreams-report-content",className:"container py-8 md:py-12 max-w-5xl mx-auto",children:[g.jsxs(Fe.div,{"data-loc":"client/src/pages/Report.tsx:528",initial:{opacity:0,y:20}
357,animate:{opacity:1,y:0},className:"clean-card rounded-2xl p-8 mb-8 border-t-4 border-t-emerald",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:533",className:"flex items-center gap-3 mb-4",children:[g.jsx(Us,{"data-loc":"client/src/pages/Report.tsx:534",className:"w-6 h-6 text-emerald"}),g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:535",className:"text-sm text-emerald font-medium",children:a("DREAMS Score — Personalized Business Report")})]}),g.jsx("h1",{"data-loc":"client/src/pages/Report.tsx:537",className:"text-3xl md:text-4xl font-extrabold mb-2 text-foreground",children:s.companyName}),g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:540",className:"text-muted-foreground text-lg",children:[s.industry," — ",s.employees.toLocaleString()," ",a("Employees")," — ",a("Prepared for")," ",s.contactName]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:544",className:"grid sm:grid-cols-3 gap-4 mt-8",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:545",className:"bg-emerald-50/50 rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:546",className:"text-sm text-muted-foreground mb-2",children:a("Total Est. Annual Savings")}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:547",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-emerald leading-tight whitespace-nowrap",children:g.jsx(K1,{"data-loc":"client/src/pages/Report.tsx:548",target:s.totalSavings})}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:550",className:"text-xs text-muted-foreground mt-2",children:a("From expense reduction, tax credits & optimization")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:552",className:"bg-amber/10 rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:553",className:"text-sm text-muted-foreground mb-2",children:a("Total Est. Increased Profit")}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:554",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-amber leading-tight whitespace-nowrap",children:g.jsx(K1,{"data-loc":"client/src/pages/Report.tsx:555",target:s.totalProfit})}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:557",className:"text-xs text-muted-foreground mt-2",children:a("From funding access, asset optimization & growth")})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:559",className:"bg-secondary rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:560",className:"text-sm text-muted-foreground mb-2",children:a("Total Potential Value")}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:561",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-foreground leading-tight whitespace-nowrap",children:g.jsx(K1,{"data-loc":"client/src/pages/Report.tsx:562",target:s.totalValue})}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:564",className:"text-xs text-muted-foreground mt-2",children:a("Combined savings + profit opportunities")})]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:570",className:"clean-card rounded-2xl p-6 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/Report.tsx:571",className:"text-xl font-extrabold mb-5 text-foreground",children:a("DREAMS Score Overview")}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:572",className:"space-y-3",children:s.sections.map(S=>{const x=Math.max(...s.sections.map(j=>j.amount)),O=x>0?S.amount/x*100:0,R=dn[S.letter]||"#10B981";return g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:578",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:579",className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${R}15`,color:R},children:S.letter}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:585",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:586",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:587",className:"text-base font-bold truncate text-foreground",children:a(S.title)}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:588",className:"font-mono text-lg font-extrabold ml-2",style:{color:R}
357,children:["$",S.amount.toLocaleString()]})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:592",className:"h-3 bg-secondary rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/Report.tsx:593",initial:{width:0},animate:{width:`${O}%`},transition:{duration:1,delay:.5},className:"h-full rounded-full",style:{backgroundColor:R}})}),S.serviceBlocks&&S.serviceBlocks.filter(j=>j.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:603",className:"flex flex-wrap gap-x-4 gap-y-1 mt-1.5",children:S.serviceBlocks.filter(j=>j.amount>0).map((j,M)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:605",className:"flex items-center gap-1",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:606",className:"w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:j.type==="profit"?"#10B981":j.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:610",className:"text-xs text-muted-foreground",children:[j.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:611",className:"text-xs font-bold font-mono",style:{color:j.type==="profit"?"#10B981":j.type==="funding"?"#3B82F6":"#EAB308"},children:["$",j.amount.toLocaleString()]})]},M))})]})]},S.letter)})})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:629",className:"clean-card rounded-2xl p-6 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/Report.tsx:630",className:"text-xl font-extrabold mb-4 text-foreground",children:a("Report Sections")}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:631",className:"grid sm:grid-cols-2 md:grid-cols-3 gap-3",children:s.sections.map(S=>{const x=dn[S.letter]||"#10B981";return g.jsxs("a",{"data-loc":"client/src/pages/Report.tsx:635",href:`#section-${S.letter}`,className:"flex items-center gap-3 p-3 rounded-xl hover:bg-secondary/50 transition-colors",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:640",className:"w-8 h-8 rounded-lg flex items-center justify-center text-xs font-bold shrink-0",style:{backgroundColor:`${x}15`,color:x},children:S.letter}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:646",className:"min-w-0",children:[g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:647",className:"text-base font-bold text-foreground truncate",children:a(S.title)}),g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:648",className:"text-sm font-mono font-extrabold",style:{color:x},children:["$",S.amount.toLocaleString()]})]})]},S.letter)})})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:659",className:"space-y-6 mb-12",children:s.sections.map((S,x)=>g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:661",id:`section-${S.letter}`,children:g.jsx(bhe,{"data-loc":"client/src/pages/Report.tsx:662",section:S,index:x,businessData:c})},S.letter))}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:668",className:"clean-card rounded-2xl p-6 md:p-8 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/Report.tsx:669",className:"text-2xl font-extrabold mb-6 text-foreground",children:a("Savings & Profit Summary")}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:670",className:"space-y-4",children:s.sections.map(S=>{const x=Math.max(...s.sections.map(j=>j.amount)),O=x>0?S.amount/x*100:0,R=dn[S.letter]||"#10B981";return g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:676",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:677",className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${R}15`,color:R},children:S.letter}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:683",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:684",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:685",className:"text-base font-bold truncate text-foreground",children:a(S.title)}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:686",className:"font-mono text-lg font-extrabold ml-2",style:{color:R}
357,children:["$",S.amount.toLocaleString()]})]}),g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:690",className:"h-3.5 bg-secondary rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/Report.tsx:691",initial:{width:0},animate:{width:`${O}%`},transition:{duration:1,delay:.5},className:"h-full rounded-full",style:{backgroundColor:R}})}),S.serviceBlocks&&S.serviceBlocks.filter(j=>j.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/Report.tsx:701",className:"flex flex-wrap gap-x-4 gap-y-1 mt-1.5",children:S.serviceBlocks.filter(j=>j.amount>0).map((j,M)=>g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:703",className:"flex items-center gap-1",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:704",className:"w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:j.type==="profit"?"#10B981":j.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:708",className:"text-xs text-muted-foreground",children:[j.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:709",className:"text-xs font-bold font-mono",style:{color:j.type==="profit"?"#10B981":j.type==="funding"?"#3B82F6":"#EAB308"},children:["$",j.amount.toLocaleString()]})]},M))})]})]},S.letter)})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:724",className:"mt-6 pt-4 border-t border-border flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:725",className:"text-xl font-extrabold text-foreground",children:a("Total Potential Value")}),g.jsxs("span",{"data-loc":"client/src/pages/Report.tsx:726",className:"text-3xl font-mono font-extrabold text-emerald",children:["$",s.totalValue.toLocaleString()]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:733",className:"clean-card rounded-2xl p-8 text-center border-emerald/20 bg-emerald-50/30 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/Report.tsx:734",className:"text-3xl font-extrabold mb-3 text-foreground",children:r==="es"?g.jsxs(g.Fragment,{children:[a("Ready to Unlock")," $",s.totalValue.toLocaleString()," ",a("in Value?")]}):g.jsxs(g.Fragment,{children:["Ready to Unlock $",s.totalValue.toLocaleString()," in Value?"]})}),g.jsx("p",{"data-loc":"client/src/pages/Report.tsx:737",className:"text-lg text-muted-foreground mb-6 max-w-2xl mx-auto font-medium",children:r==="es"?g.jsxs(g.Fragment,{children:[`El análisis DREAMS de ${s.companyName} ha identificado ${s.sections.length} `,a("areas of opportunity. Connect with our expert partners to start implementing these recommendations and turn potential savings into real results.")]}):g.jsxs(g.Fragment,{children:[s.companyName,"'s DREAMS Score analysis has identified ",s.sections.length," areas of opportunity. Connect with our expert partners to start implementing these recommendations and turn potential savings into real results."]})}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:740",className:"flex flex-wrap justify-center gap-4",children:[g.jsxs("a",{"data-loc":"client/src/pages/Report.tsx:741",href:"https://link.dreamsresources.com/widget/bookings/fundable360",className:"inline-flex items-center justify-center bg-emerald hover:bg-emerald-dark text-white font-bold px-8 py-2 rounded-md transition-colors",children:[g.jsx(EA,{"data-loc":"client/src/pages/Report.tsx:742",className:"w-4 h-4 mr-2"}),a("Book a Consultation")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:745",variant:"outline",onClick:A,className:"border-border bg-white",children:[g.jsx(oR,{"data-loc":"client/src/pages/Report.tsx:746",className:"w-4 h-4 mr-2"}),a("Download PDF")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:749",variant:"outline",onClick:()=>window.print(),className:"border-border bg-white",children:[g.jsx(Uu,{"data-loc":"client/src/pages/Report.tsx:750",className:"w-4 h-4 mr-2"}),a("Print Report")]}),g.jsxs(ot,{"data-loc":"client/src/pages/Report.tsx:753",variant:"outline",onClick:()=>e("/dashboard"),className:"border-border bg-white",children:[g.jsx(Xs,{"data-loc":"client/src/pages/Report.tsx:754",className:"w-4 h-4 mr-2"}),a("Back to Dashboard")]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:761",className:"bg-amber-50/80 border border-amber-200/60 rounded-xl p-5 mb-8 flex items-start gap-3",children:[g.jsx(qf,{"data-loc":"client/src/pages/Report.tsx:762",className:"w-5 h-5 text-amber-600 shrink-0 mt-0.5"}),g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:763",className:"text-sm text-amber-800 leading-relaxed",children:[g.jsx("span",{"data-loc":"client/src/pages/Report.tsx:764",className:"font-bold",children:a("Disclaimer:")})," ",a("All numbers shown throughout this report are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service. Contact us to schedule your free consultation.")]})]})]}),g.jsx("footer",{"data-loc":"client/src/pages/Report.tsx:770",className:"border-t border-border py-8 bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/Report.tsx:771",className:"container text-center",children:[g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:772",className:"text-sm text-muted-foreground",children:["Copyright © Dreams Business Resources ",new Date().getFullYear(),". ",a("All rights reserved.")]}),g.jsxs("p",{"data-loc":"client/src/pages/Report.tsx:775",className:"text-xs text-muted-foreground mt-2",children:[a("DREAMS Score Report — Prepared exclusively for")," ",s.companyName]})]})}),g.jsx(u2,{"data-loc":"client/src/pages/Report.tsx:782",message:b.message,subMessage:b.subMessage,position:"right"})]})}const whe={D:ni,R:Br,E:Hf,A:zf,M:Lf,S:tc},She={savings:"Savings",profit:"Profit",funding:"Funding"},Ahe=H.memo(function({section:t,index:n,assessmentData:r}){const[a,s]=N.useState(!0),{t:l}=na(),c=whe[t.letter]||ni,f=dn[t.letter]||"#10B981",d=N.useMemo(()=>t.letter!=="E"||!r?null:{companyName:r.business.companyName,monthlyPhoneCost:r.expenses.monthlyPhoneCost||0,monthlyInternetCost:r.expenses.monthlyInternetCost||0,monthlyCloudServicesCost:r.expenses.monthlyCloudServicesCost||0,monthlyITManagementCost:r.expenses.monthlyITManagementCost||0,numberOfDialers:r.expenses.numberOfDialers||0,monthlyDialerRevenue:r.expenses.monthlyDialerRevenue||0},[t.letter,r]);return g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:57",className:"clean-card rounded-2xl overflow-hidden",children:[g.jsxs("button",{"data-loc":"client/src/pages/SampleReport.tsx:61",onClick:()=>s(!a),className:"w-full flex items-start gap-4 p-6 md:p-8 hover:bg-secondary/30 transition-colors text-left",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:65",className:"w-14 h-14 roun
357ded-xl flex items-center justify-center shrink-0",style:{backgroundColor:`${f}15`},children:g.jsx(c,{"data-loc":"client/src/pages/SampleReport.tsx:69",className:"w-7 h-7",style:{color:f}})}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:71",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:72",className:"flex items-center justify-between flex-wrap gap-2",children:[g.jsxs("h2",{"data-loc":"client/src/pages/SampleReport.tsx:73",className:"text-2xl md:text-3xl font-extrabold text-foreground",children:[t.letter," — ",l(t.title)]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:76",className:"flex items-center gap-2",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:77",className:"text-xs px-2.5 py-1 rounded-full font-medium",style:{backgroundColor:`${f}15`,color:f},children:l(She[t.type])}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:83",className:"font-mono font-extrabold text-2xl md:text-3xl",style:{color:f},children:["$",t.amount.toLocaleString()]})]})]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:88",className:"text-base text-muted-foreground mt-1 font-semibold",children:t.summary}),t.serviceBlocks&&t.serviceBlocks.filter(m=>m.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:91",className:"flex flex-wrap gap-x-5 gap-y-1.5 mt-3",children:t.serviceBlocks.filter(m=>m.amount>0).map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:93",className:"flex items-center gap-1.5",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:94",className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:98",className:"text-sm text-muted-foreground font-medium",children:[m.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:99",className:"text-sm font-bold font-mono",style:{color:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"},children:["$",m.amount.toLocaleString()]})]},p))})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:110",className:"shrink-0 mt-1",children:a?g.jsx(jA,{"data-loc":"client/src/pages/SampleReport.tsx:112",className:"w-5 h-5 text-muted-foreground"}):g.jsx(Bf,{"data-loc":"client/src/pages/SampleReport.tsx:114",className:"w-5 h-5 text-muted-foreground"})})]}),a&&g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:120",className:"overflow-hidden",children:g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:123",className:"px-6 md:px-8 pb-6 md:pb-8 border-t border-border",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:125",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3 mt-6 mb-6",children:t.metrics.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:127",className:"bg-secondary/50 rounded-lg p-3",children:[g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:128",className:"text-xs text-muted-foreground leading-tight font-medium",children:m.label}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:129",className:"font-mono font-extrabold text-base md:text-lg mt-1 text-foreground",children:m.value})]},p))}),t.chartData&&t.chartData.length>0&&g.jsx(hL,{"data-loc":"client/src/pages/SampleReport.tsx:136",data:t.chartData,sectionType:t.type}),d&&g.jsx(mL,{"data-loc":"client/src/pages/SampleReport.tsx:144",data:d}),t.serviceBlocks&&t.serviceBlocks.length>0?g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:149",className:"space-y-6 mb-6",children:t.serviceBlocks.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:151",className:"rounded-xl border border-border/60 overflow-hidden",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:153",className:"flex items-center justify-between px-5 py-3 bg-secondary/40",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:154",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/SampleReport.tsx:155",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/SampleReport.tsx:156",className:"text-base font-bold text-foreground",children:m.serviceName})]}),m.amount>0&&g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:159",className:"font-mono font-extrabold text-lg",style:{color:m.type==="profit"?"#10B981":m.type==="funding"?"#3B82F6":"#EAB308"}
357,children:["$",m.amount.toLocaleString(),"/yr"]})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:165",className:"px-5 py-4 space-y-3",children:m.paragraphs.map((y,b)=>g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:167",className:"text-base leading-relaxed text-foreground/80 font-medium",children:y},b))}),m.cta&&g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:174",className:"px-5 pb-4",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:175",className:"bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-700 rounded-lg px-3 py-2 mb-3",children:g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:176",className:"text-amber-800 dark:text-amber-300 text-xs font-semibold text-center",children:l("This report does not have live links. Please contact your DREAMS representative to schedule appointments with service providers.")})}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:180",className:"flex items-center justify-between gap-3 bg-secondary/30 rounded-lg p-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:181",className:"flex items-start gap-2 flex-1 min-w-0",children:[g.jsx(Ln,{"data-loc":"client/src/pages/SampleReport.tsx:182",className:"w-4 h-4 shrink-0 mt-0.5",style:{color:f}}),g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:183",className:"text-sm text-foreground/80 font-medium",children:m.cta.text})]}),g.jsxs("a",{"data-loc":"client/src/pages/SampleReport.tsx:185",href:m.cta.buttonUrl,className:"inline-flex items-center gap-1.5 px-4 py-2 rounded-lg bg-emerald hover:bg-emerald-dark text-white font-bold text-sm transition-colors shadow-sm whitespace-nowrap shrink-0",children:[g.jsx(Ji,{"data-loc":"client/src/pages/SampleReport.tsx:189",className:"w-3 h-3"}),m.cta.buttonLabel]})]})]})]},p))}):t.noOpportunityMessage?g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:199",className:"rounded-xl border border-emerald/20 bg-emerald-50/30 p-5 mb-6",children:g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:200",className:"flex items-start gap-3",children:[g.jsx(On,{"data-loc":"client/src/pages/SampleReport.tsx:201",className:"w-5 h-5 text-emerald shrink-0 mt-0.5"}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:202",className:"text-base text-foreground/80 font-medium leading-relaxed",children:t.noOpportunityMessage})]})}):g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:207",className:"space-y-4 mb-6",children:t.paragraphs.map((m,p)=>g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:209",className:"text-base leading-relaxed text-foreground/80 font-medium",children:m},p))}),t.bullets.length>0&&g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:218",className:"mb-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:219",className:"flex items-center gap-2 mb-3",children:[g.jsx(hI,{"data-loc":"client/src/pages/SampleReport.tsx:220",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/SampleReport.tsx:221",className:"text-base font-bold text-foreground",children:l("Key Benefits")})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:223",className:"grid sm:grid-cols-2 gap-3",children:t.bullets.map((m,p)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:225",className:"flex items-start gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/SampleReport.tsx:226",className:"w-4 h-4 shrink-0 mt-0.5",style:{color:f}}),g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:227",className:"text-sm text-foreground/80 leading-relaxed font-medium",children:m})]},p))})]}),t.example&&g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:236",className:"rounded-xl p-4 mb-6 border",style:{backgroundColor:`${f}08`,borderColor:`${f}20`},children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:240",className:"flex items-center gap-2 mb-2",children:[g.jsx(dI,{"data-loc":"client/src/pages/SampleReport.tsx:241",className:"w-4 h-4",style:{color:f}}),g.jsx("h4",{"data-loc":"client/src/pages/SampleReport.tsx:242",className:"text-base font-bold text-foreground",children:l("Industry Example")})]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:244",className:"text-base text-foreground
357/80 leading-relaxed italic font-medium",children:t.example})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:251",className:"mt-5 bg-emerald-50/50 rounded-xl p-4 border border-emerald/10",children:g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:252",className:"text-base text-foreground leading-relaxed font-bold",children:t.urgency})}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:258",className:"mt-5 bg-amber-50/80 border border-amber-200/60 rounded-lg px-4 py-3 flex items-start gap-2.5",children:[g.jsx(qf,{"data-loc":"client/src/pages/SampleReport.tsx:259",className:"w-4 h-4 text-amber-600 shrink-0 mt-0.5"}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:260",className:"text-sm text-amber-800 leading-relaxed",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:261",className:"font-bold",children:l("Disclaimer:")})," ",l("Numbers shown are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service.")]})]})]})})]})});function Ohe(){const[,e]=lo(),{robertEnabled:t,toggleRobert:n}=nc(),{language:r,t:a}=na(),s=AI(),l=Ya.find(p=>p.id===s.id)||Ya[0],c=N.useMemo(()=>{const p=gm(l.assessmentData);return Uw(l.assessmentData,p)},[l.id]),[f,d]=N.useState(null);N.useEffect(()=>{if(!c)return;const p=c.sections.map(b=>document.getElementById(`section-${b.letter}`)).filter(Boolean),y=new IntersectionObserver(b=>{for(const A of b)if(A.isIntersecting){const S=A.target.id.replace("section-","");d(S)}},{threshold:.05,rootMargin:"-80px 0px -60% 0px"});return p.forEach(b=>y.observe(b)),()=>y.disconnect()},[c]);const m=N.useMemo(()=>f?s$(f,c.companyName,c.sections.find(p=>p.letter===f)?.amount||0):o$(c.companyName,c.totalValue),[f,c.companyName,c.totalValue,c.sections]);return g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:313",className:"min-h-screen bg-secondary/30",children:[g.jsx("nav",{"data-loc":"client/src/pages/SampleReport.tsx:315",className:"border-b border-border bg-white sticky top-0 z-50",children:g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:316",className:"container flex items-center justify-between h-16",children:[g.jsxs("button",{"data-loc":"client/src/pages/SampleReport.tsx:317",onClick:()=>e("/"),className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[g.jsx(Xs,{"data-loc":"client/src/pages/SampleReport.tsx:318",className:"w-5 h-5 text-foreground"}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:319",className:"flex items-center gap-2",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:320",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(Br,{"data-loc":"client/src/pages/SampleReport.tsx:321",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:323",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:324",className:"hidden sm:inline text-muted-foreground text-sm",children:a("Sample Report")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:327",className:"flex items-center gap-3",children:[g.jsx(sc,{"data-loc":"client/src/pages/SampleReport.tsx:328"}),g.jsx("button",{"data-loc":"client/src/pages/SampleReport.tsx:329",onClick:n,className:`hidden md:flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-all border ${t?"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100":"bg-slate-100 text-slate-500 border-slate-200 hover:bg-slate-200"}`,title:a(t?"Turn off Robert AI Guide":"Turn on Robert AI Guide"),children:t?g.jsxs(g.Fragment,{children:[g.jsx($f,{"data-loc":"client/src/pages/SampleReport.tsx:339",className:"w-3.5 h-3.5"})," ",a("Robert: On")]}):g.jsxs(g.Fragment,{children:[g.jsx(If,{"data-loc":"client/src/pages/SampleReport.tsx:341",className:"w-3.5 h-3.5"})," ",a("Robert: Off")]})}),g.jsxs(ot,{"data-loc":"client/src/pages/SampleReport.tsx:344",variant:"outline",size:"sm",onClick:()=>window.print(),className:"hidden lg:flex border-border bg-white",children:[g.jsx(Uu,{"data-loc":"client/src/pages/SampleReport.tsx:345",className:"w-4 h-4 mr-2"}),a("Print")]}),g.jsxs(ot,{"data-loc":"client/src/pages/SampleReport.tsx:348",size:"sm",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:349",className:"hidden sm:inline",children:a("Get Your Score")}),g.jsx(Ln,{"data-loc":"client/src/pages/SampleReport.tsx:350",className:"w-4 h-4 ml-1"})]})]})]})}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:356",className:"container py-8 md:py-12 max-w-5xl mx-auto",children:[g.jsxs(Fe.div,{"data-loc":"client/src/pages/SampleReport.tsx:358",initial:{opacity:0,y:20}
357,animate:{opacity:1,y:0},className:"clean-card rounded-2xl p-8 mb-8 border-t-4 border-t-emerald",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:363",className:"flex items-center gap-3 mb-4",children:[g.jsx(Us,{"data-loc":"client/src/pages/SampleReport.tsx:364",className:"w-6 h-6 text-emerald"}),g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:365",className:"text-sm text-emerald font-medium",children:a("DREAMS Score Report — Sample")})]}),g.jsx("h1",{"data-loc":"client/src/pages/SampleReport.tsx:367",className:"text-3xl md:text-4xl font-extrabold mb-2 text-foreground",children:l.companyName}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:368",className:"text-muted-foreground text-lg",children:[a(l.industry)," — ",l.employees," ",a(l.employees===1?"Employee":"Employees")," — ",l.contact,", ",l.title]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:372",className:"grid sm:grid-cols-3 gap-4 mt-8",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:373",className:"bg-emerald-50/50 rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:374",className:"text-sm text-muted-foreground mb-2",children:a("Total Est. Annual Savings")}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:375",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-emerald leading-tight whitespace-nowrap",children:["$",c.totalSavings.toLocaleString()]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:378",className:"text-xs text-muted-foreground mt-2",children:a("From expense reduction, tax credits & optimization")})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:380",className:"bg-amber/10 rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:381",className:"text-sm text-muted-foreground mb-2",children:a("Total Est. Increased Profit")}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:382",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-amber leading-tight whitespace-nowrap",children:["$",c.totalProfit.toLocaleString()]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:385",className:"text-xs text-muted-foreground mt-2",children:a("From funding access, asset optimization & growth")})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:387",className:"bg-secondary rounded-xl p-5 md:p-6 flex flex-col justify-between",children:[g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:388",className:"text-sm text-muted-foreground mb-2",children:a("Total Potential Value")}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:389",className:"text-xl sm:text-2xl md:text-2xl lg:text-3xl font-mono font-extrabold text-foreground leading-tight whitespace-nowrap",children:["$",c.totalValue.toLocaleString()]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:392",className:"text-xs text-muted-foreground mt-2",children:a("Combined savings + profit opportunities")})]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:398",className:"clean-card rounded-2xl p-6 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/SampleReport.tsx:399",className:"text-xl font-extrabold mb-5 text-foreground",children:a("DREAMS Score Overview")}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:400",className:"space-y-3",children:c.sections.map(p=>{const y=Math.max(...c.sections.map(S=>S.amount)),b=y>0?p.amount/y*100:0,A=dn[p.letter]||"#10B981";return g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:406",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:407",className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${A}15`,color:A},children:p.letter}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:413",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:414",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:415",className:"text-base font-bold truncate text-foreground",children:a(p.title)}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:416",className:"font-mono text-lg font-extrabold ml-2",style:{color:A}
357,children:["$",p.amount.toLocaleString()]})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:420",className:"h-3 bg-secondary rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/SampleReport.tsx:421",initial:{width:0},animate:{width:`${b}%`},transition:{duration:1,delay:.5},className:"h-full rounded-full",style:{backgroundColor:A}})}),p.serviceBlocks&&p.serviceBlocks.filter(S=>S.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:431",className:"flex flex-wrap gap-x-4 gap-y-1 mt-1.5",children:p.serviceBlocks.filter(S=>S.amount>0).map((S,x)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:433",className:"flex items-center gap-1",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:434",className:"w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:S.type==="profit"?"#10B981":S.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:438",className:"text-xs text-muted-foreground",children:[S.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:439",className:"text-xs font-bold font-mono",style:{color:S.type==="profit"?"#10B981":S.type==="funding"?"#3B82F6":"#EAB308"},children:["$",S.amount.toLocaleString()]})]},x))})]})]},p.letter)})})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:457",className:"space-y-6 mb-12",children:c.sections.map((p,y)=>g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:459",id:`section-${p.letter}`,children:g.jsx(Ahe,{"data-loc":"client/src/pages/SampleReport.tsx:460",section:p,index:y,assessmentData:l.assessmentData})},p.letter))}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:466",className:"clean-card rounded-2xl p-6 md:p-8 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/SampleReport.tsx:467",className:"text-2xl font-extrabold mb-6 text-foreground",children:a("Savings & Profit Summary")}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:468",className:"space-y-4",children:c.sections.map(p=>{const y=Math.max(...c.sections.map(S=>S.amount)),b=y>0?p.amount/y*100:0,A=dn[p.letter]||"#10B981";return g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:474",className:"flex items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:475",className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm font-bold shrink-0",style:{backgroundColor:`${A}15`,color:A},children:p.letter}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:481",className:"flex-1 min-w-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:482",className:"flex items-center justify-between mb-1",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:483",className:"text-base font-bold truncate text-foreground",children:a(p.title)}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:484",className:"font-mono text-lg font-extrabold ml-2",style:{color:A},children:["$",p.amount.toLocaleString()]})]}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:488",className:"h-3.5 bg-secondary rounded-full overflow-hidden",children:g.jsx(Fe.div,{"data-loc":"client/src/pages/SampleReport.tsx:489",initial:{width:0},animate:{width:`${b}%`},transition:{duration:1,delay:.5},className:"h-full rounded-full",style:{backgroundColor:A}})}),p.serviceBlocks&&p.serviceBlocks.filter(S=>S.amount>0).length>0&&g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:499",className:"flex flex-wrap gap-x-4 gap-y-1 mt-1.5",children:p.serviceBlocks.filter(S=>S.amount>0).map((S,x)=>g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:501",className:"flex items-center gap-1",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:502",className:"w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:S.type==="profit"?"#10B981":S.type==="funding"?"#3B82F6":"#EAB308"}}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:506",className:"text-xs text-muted-foreground",children:[S.serviceName,":"]}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:507",className:"text-xs font-bold font-mono",style:{color:S.type==="profit"?"#10B981":S.type==="funding"?"#3B82F6":"#EAB308"}
357,children:["$",S.amount.toLocaleString()]})]},x))})]})]},p.letter)})}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:522",className:"mt-6 pt-4 border-t border-border flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:523",className:"text-xl font-extrabold text-foreground",children:a("Total Potential Value")}),g.jsxs("span",{"data-loc":"client/src/pages/SampleReport.tsx:524",className:"text-3xl font-mono font-extrabold text-emerald",children:["$",c.totalValue.toLocaleString()]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:531",className:"bg-amber-50/80 border border-amber-200/60 rounded-xl p-5 mb-8 flex items-start gap-3",children:[g.jsx(qf,{"data-loc":"client/src/pages/SampleReport.tsx:532",className:"w-5 h-5 text-amber-600 shrink-0 mt-0.5"}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:533",className:"text-sm text-amber-800 leading-relaxed",children:[g.jsx("span",{"data-loc":"client/src/pages/SampleReport.tsx:534",className:"font-bold",children:a("Disclaimer:")})," ",a("All numbers shown throughout this report are estimated based on limited information and are not guaranteed. A complete, detailed estimate can be provided by an industry expert specialist as a complimentary, no-obligation service. Contact us to schedule your free consultation.")]})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:539",className:"clean-card rounded-2xl p-8 text-center border-emerald/20 bg-emerald-50/30 mb-8",children:[g.jsx("h2",{"data-loc":"client/src/pages/SampleReport.tsx:540",className:"text-3xl font-extrabold mb-3 text-foreground",children:r==="es"?g.jsxs(g.Fragment,{children:[a("Want Results Like")," ",l.companyName,"?"]}):g.jsxs(g.Fragment,{children:["Want Results Like ",l.companyName,"?"]})}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:541",className:"text-lg text-muted-foreground mb-6 max-w-xl mx-auto font-medium",children:a("Take the free DREAMS Score assessment and discover your business's hidden savings and profit opportunities in just 15 minutes.")}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:544",className:"flex flex-wrap justify-center gap-4",children:[g.jsxs(ot,{"data-loc":"client/src/pages/SampleReport.tsx:545",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-bold px-8",children:[a("Start My DREAMS Score"),g.jsx(Ln,{"data-loc":"client/src/pages/SampleReport.tsx:550",className:"w-4 h-4 ml-2"})]}),g.jsx(ot,{"data-loc":"client/src/pages/SampleReport.tsx:552",variant:"outline",onClick:()=>e("/"),className:"border-border bg-white",children:a("Back to Home")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:559",className:"mb-8",children:[g.jsx("h3",{"data-loc":"client/src/pages/SampleReport.tsx:560",className:"text-xl font-extrabold mb-4 text-foreground",children:a("Other Sample Reports")}),g.jsx("div",{"data-loc":"client/src/pages/SampleReport.tsx:561",className:"grid sm:grid-cols-2 md:grid-cols-3 gap-4",children:Ya.filter(p=>p.id!==l.id).map(p=>g.jsxs("button",{"data-loc":"client/src/pages/SampleReport.tsx:563",onClick:()=>e(`/sample-report/${p.id}`),className:"clean-card rounded-xl p-4 text-left hover:border-emerald/40 transition-all",children:[g.jsx("h4",{"data-loc":"client/src/pages/SampleReport.tsx:568",className:"font-bold text-base text-foreground",children:p.companyName}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:569",className:"text-sm text-muted-foreground mt-1",children:[a(p.industry)," — ",p.employees," ",a(p.employees===1?"Employee":"employees")]}),g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:570",className:"font-mono text-lg font-extrabold text-emerald mt-2",children:["$",(p.scores.totalSavings+p.scores.totalProfit).toLocaleString()]})]},p.id))})]})]}),g.jsx("footer",{"data-loc":"client/src/pages/SampleReport.tsx:580",className:"border-t border-border py-8 bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/SampleReport.tsx:581",className:"container text-center",children:[g.jsxs("p",{"data-loc":"client/src/pages/SampleReport.tsx:582",className:"text-sm text-muted-foreground",children:["Copyright © Dreams Business Resources ",new Date().getFullYear(),". ",a("All rights reserved.")]}),g.jsx("p",{"data-loc":"client/src/pages/SampleReport.tsx:585",className:"text-xs text-muted-foreground mt-2",children:a("This sample report is for demonstration purposes. Actual results vary based on business specifics.")})]})}),g.jsx(u2,{"data-loc":"client/src/pages/SampleReport.tsx:592",message:m.message,subMessage:m.subMessage,position:"right"})]})}const The="/manus-storage/ai_visibility_thumb_98b80ad4.jpg",jhe="/manus-storage/ai_visibility_video_af11cd42.mp4",Ehe=[{name:"ChatGPT",icon:"🤖"},{name:"Gemini",icon:"✦"},{name:"Grok",icon:"⚡"},{name:"Copilot",icon:"🧠"},{name:"Perplexity",icon:"🔍"}];function Che(){const[,e]=lo(),{t}=na(),[n,r]=N.useState(!1),[a,s]=N.useState(!1),[l,c]=N.useState(!1);N.useEffect(()=>{if(a||l)return;const m=setTimeout(()=>{a||c(!0)},15e3);return()=>clearTimeout(m)},[a,l]);const f=typeof window<"u"?localStorage.getItem("refid"):null,d=`https://dreamaio-tb28bqen.manus.space/report${f?`?refid=${encodeURIComponent(f)}`:""}`;return g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:49",className:"min-h-screen bg-background text-foreground",children:[g.jsx("nav",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:51",className:"fixed top-0 left-0 right-0 z-50 bg-white/90 backdrop-blur-lg border-b border-border",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:52",className:"container flex items-center justify-between h-16",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:53",className:"flex items-center gap-3 cursor-pointer",onClick:()=>e("/"),children:[g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:54",className:"w-10 h-10 rounded-xl bg-emerald flex items-center justify-center",children:g.jsx(lR,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:55",className:"w-5 h-5 text-white"})}),g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:57",children:[g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:58",className:"font-bold text-lg tracking-tight text-foreground",children:"AI Visibility"}),g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:59",className:"hidden sm:inline text-muted-foreground text-sm ml-1.5",children:t("Report")})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:62",className:"hidden md:flex items-center gap-8 text-sm font-medium",children:[g.jsx("a",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:63",href:"#video",className:"text-muted-foreground hover:text-foreground transition-colors",children:t("How It Works")}),g.jsx("a",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:64",href:"#report",className:"text-muted-foreground hover:text-foreground transition-colors",children:t("Get Report")}),g.jsx("a",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:65",href:"#next-steps",className:"text-muted-foreground hover:text-foreground transition-colors",children:t("Next Steps")})]}),g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:67",className:"flex items-center gap-2",children:[g.jsx(sc,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:68"}),g.jsxs(ot,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:69",onClick:()=>e("/assessment"),className:"bg-emerald hover:bg-emerald-dark text-white font-semibold px-3 sm:px-5 shadow-sm",children:[g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:73",className:"hidden sm:inline",children:"DREAMS Score"}),g.jsx(Ln,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:74",className:"w-4 h-4 sm:ml-1"})]})]})]})}),g.jsx("section",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:81",className:"pt-16 bg-gradient-to-b from-slate-50 to-white",children:g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:82",className:"container py-16 md:py-24",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:83",className:"max-w-4xl mx-auto text-center",children:[g.jsx(Fe.div,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:84",initial:{opacity:0,y:20}
357,animate:{opacity:1,y:0},transition:{duration:.6},children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:89",className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-orange-50 text-orange-700 text-sm font-medium mb-6",children:[g.jsx(mI,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:90",className:"w-4 h-4"}),t("Step 1 — Free Instant AI Analysis")]})}),g.jsxs(Fe.h1,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:94",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight leading-[1.1] mb-6 text-foreground",children:[t("Is Your Business")," ",g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:101",className:"text-orange-600",children:t("Invisible")})," ",t("to AI Search?")]}),g.jsx(Fe.p,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:104",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-8 max-w-3xl mx-auto",children:t("Your customers are asking ChatGPT, Gemini, and Grok who to trust. Get your free AI Visibility Score to see exactly how AI engines see your business — then unlock your full DREAMS Score to find hidden savings.")}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:112",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"flex flex-wrap justify-center gap-4",children:[g.jsxs(ot,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:118",size:"lg",onClick:()=>document.getElementById("report")?.scrollIntoView({behavior:"smooth"}),className:"bg-orange-600 hover:bg-orange-700 text-white font-bold text-base px-8 py-6 shadow-lg",children:[t("Get My Free AI Report"),g.jsx(Ln,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:124",className:"w-5 h-5 ml-2"})]}),g.jsxs(ot,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:126",size:"lg",variant:"outline",onClick:()=>r(!0),className:"border-orange-200 text-orange-700 hover:bg-orange-50 font-medium text-base px-8 py-6 bg-white",children:[g.jsx(eh,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:132",className:"w-5 h-5 mr-2"}),t("Watch Video")]})]}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:138",initial:{opacity:0}
357,animate:{opacity:1},transition:{duration:.6,delay:.5},className:"mt-12 flex items-center justify-center gap-6 flex-wrap",children:[g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:144",className:"text-xs text-muted-foreground uppercase tracking-wider font-medium",children:t("Analyzed across:")}),Ehe.map(m=>g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:146",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-white border border-border text-sm font-medium text-foreground shadow-sm",children:[g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:147",children:m.icon}),g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:148",children:m.name})]},m.name))]})]})})}),g.jsxs("section",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:157",id:"video",className:"py-16 md:py-20 bg-background",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:158",className:"container max-w-4xl",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:159",className:"text-center mb-10",children:[g.jsx("h2",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:160",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:t("See How It Works")}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:161",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t("Watch how the AI Visibility Score shows you exactly how AI engines see your business — in under a minute.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:165",className:"relative rounded-2xl overflow-hidden cursor-pointer group shadow-xl",onClick:()=>r(!0),children:[g.jsx("img",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:169",src:The,alt:"AI Visibility Score Explainer Video",className:"w-full aspect-video object-cover transition-transform duration-500 group-hover:scale-105"}),g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:174",className:"absolute inset-0 bg-black/30 flex items-center justify-center transition-colors group-hover:bg-black/20",children:g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:175",className:"w-20 h-20 rounded-full bg-orange-600 flex items-center justify-center shadow-2xl transition-transform group-hover:scale-110",children:g.jsx(eh,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:176",className:"w-8 h-8 text-white ml-1",fill:"currentColor"})})})]})]}),n&&g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:182",className:"fixed inset-0 z-50 bg-black/80 flex items-center justify-center p-4",onClick:()=>r(!1),children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:183",className:"relative w-full max-w-4xl aspect-video bg-black rounded-2xl overflow-hidden",onClick:m=>m.stopPropagation(),children:[g.jsx("video",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:184",src:jhe,controls:!0,autoPlay:!0,className:"w-full h-full object-cover"}),g.jsx("button",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:190",onClick:()=>r(!1),className:"absolute top-3 right-3 w-10 h-10 rounded-full bg-black/60 text-white flex items-center justify-center hover:bg-black/80 transition-colors text-lg",children:"×"})]})})]}),g.jsx("section",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:202",id:"report",className:"py-16 md:py-20 bg-slate-50",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:203",className:"container",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:204",className:"text-center mb-10",children:[g.jsxs("h2",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:205",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:[t("Get Your")," ",g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:206",className:"text-orange-600",children:t("Free AI Visibility Report")})]}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:208",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t("Fill out the form below and receive your live AI analysis in under a minute. See how visible your business is across all major AI search engines.")})]}),g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:214",className:"max-w-4xl mx-auto",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:215",className:"relative bg-white rounded-2xl shadow-xl border border-border overflow-hidden",children:[!a&&!l&&g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:217",className:"absolute inset-0 flex items-center justify-center bg-white z-10",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:218",className:"flex flex-col items-center gap-4",children:[g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:219",className:"w-12 h-12 border-4 border-orange-200 border-t-orange-600 rounded-full animate-spin"}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:220",className:"text-muted-foreground text-sm",children:t("Loading AI Visibility Report...")})]})}),l&&g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:225",className:"absolute inset-0 flex items-center justify-center bg-white z-10",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:226",className:"flex flex-col items-center gap-4 text-center px-6",children:[g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:227",className:"text-foreground font-semibold",children:t("Unable to load the report form")}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:228",className:"text-muted-foreground text-sm",children:t("The AI Visibility Report tool is temporarily unavailable.")}),g.jsx("a",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:229",href:"https://dreamaio-tb28bqen.manus.space/report",target:"_blank",rel:"noopener noreferrer",className:"text-orange-600 font-medium underline hover:text-orange-700",children:t("Open report in a 
357new tab instead")})]})}),g.jsx("iframe",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:240",src:d,title:"AI Visibility Report",className:"w-full border-0",style:{height:"900px",minHeight:"700px"},onLoad:()=>s(!0),onError:()=>c(!0),allow:"clipboard-write"})]})})]})}),g.jsx("section",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:255",id:"next-steps",className:"py-16 md:py-24 bg-background",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:256",className:"container",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:257",className:"text-center mb-16",children:[g.jsxs("h2",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:258",className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:[t("What's Next?")," ",g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:259",className:"text-emerald",children:t("Unlock More Savings")})]}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:261",className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t("Your AI Visibility Report is just the beginning. Take the next step to uncover even more profit opportunities for your business.")})]}),g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:266",className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[g.jsxs(Fe.div,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:268",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"clean-card p-8 hover:border-emerald/30 transition-all group",children:[g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:275",className:"w-14 h-14 rounded-xl bg-emerald/10 flex items-center justify-center mb-6",children:g.jsx(pI,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:276",className:"w-7 h-7 text-emerald"})}),g.jsx("h3",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:278",className:"text-xl font-bold mb-3 text-foreground",children:t("Take the DREAMS Score Assessment")}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:279",className:"text-muted-foreground leading-relaxed mb-6",children:t("Discover $50,000 – $500,000 in hidden savings across debt, retirement, expenses, assets, tax credits, and security. Our free 15-minute assessment reveals profit opportunities most advisors miss.")}),g.jsxs("ul",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:282",className:"space-y-2 mb-8 text-sm text-muted-foreground",children:[g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:283",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:283",className:"w-4 h-4 text-emerald shrink-0"})," ",t("Free — no cost, no obligation")]}),g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:284",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:284",className:"w-4 h-4 text-emerald shrink-0"})," ",t("15-minute assessment")]}),g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:285",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:285",className:"w-4 h-4 text-emerald shrink-0"})," ",t("Custom savings report")]})]}),g.jsxs(ot,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:287",onClick:()=>e("/assessment"),className:"w-full bg-emerald hover:bg-emerald-dark text-white font-bold py-6",children:[t("Start My DREAMS Score"),g.jsx(Ln,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:292",className:"w-5 h-5 ml-2"})]})]}),g.jsxs(Fe.div,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:297",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"clean-card p-8 hover:border-orange-200 transition-all group",children:[g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:304",className:"w-14 h-14 rounded-xl bg-orange-50 flex items-center justify-center mb-6",children:g.jsx(Ji,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:305",className:"w-7 h-7 text-orange-600"})}),g.jsx("h3",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:307",className:"text-xl font-bold mb-3 text-foreground",children:t("Book an AI Optimization Specialist")}),g.jsx("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:308",className:"text-muted-foreground leading-relaxed mb-6",children:t("Get a personalized consultation with an AI website optimization specialist. Learn exactly how to increase your visibility in AI search results and drive more qualified leads to your business.")}),g.jsxs("ul",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:311",className:"space-y-2 mb-8 text-sm text-muted-foreground",children:[g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:312",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:312",className:"w-4 h-4 text-orange-600 shrink-0"})," ",t("Free 15-minute Zoom consultation")]}),g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:313",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:313",className:"w-4 h-4 text-orange-600 shrink-0"})," ",t("Review your AI Visibility Report")]}),g.jsxs("li",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:314",className:"flex items-center gap-2",children:[g.jsx(On,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:314",className:"w-4 h-4 text-orange-600 shrink-0"})," ",t("Get actionable optimization steps")]})]}),g.jsx("a",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:316",href:"https://link.dreamsresources.com/widget/bookings/fundable360",target:"_blank",rel:"noopener noreferrer",children:g.jsxs(ot,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:321",className:"w-full bg-orange-600 hover:bg-orange-700 text-white font-bold py-6",children:[t("Book Free Consultation"),g.jsx(Ji,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:325",className:"w-5 h-5 ml-2"})]})})]})]})]})}),g.jsx("footer",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:334",className:"border-t border-border py-8 bg-white",children:g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:335",className:"container flex flex-col md:flex-row items-center justify-between gap-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:33
3576",className:"flex items-center gap-2 cursor-pointer",onClick:()=>e("/"),children:[g.jsx("div",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:337",className:"w-8 h-8 rounded-lg bg-emerald flex items-center justify-center",children:g.jsx(lR,{"data-loc":"client/src/pages/AIVisibilityReport.tsx:338",className:"w-4 h-4 text-white"})}),g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:340",className:"font-bold text-foreground",children:"DREAMS"}),g.jsx("span",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:341",className:"text-muted-foreground text-sm",children:t("for Business")})]}),g.jsxs("p",{"data-loc":"client/src/pages/AIVisibilityReport.tsx:343",className:"text-sm text-muted-foreground",children:["Copyright © Dreams Business Resources ",new Date().getFullYear(),". ",t("All rights reserved.")]})]})})]})}function Rhe(){return g.jsxs(kG,{"data-loc":"client/src/App.tsx:19",children:[g.jsx(Bi,{"data-loc":"client/src/App.tsx:20",path:"/",component:_X}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:21",path:"/ai-visibility",component:Che}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:22",path:"/assessment",component:PX}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:23",path:"/dashboard",component:DX}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:24",path:"/report",component:xhe}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:25",path:"/sample-report/:id",component:Ohe}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:26",path:"/404",component:yR}),g.jsx(Bi,{"data-loc":"client/src/App.tsx:27",component:yR})]})}function _he(){return g.jsx(IG,{"data-loc":"client/src/App.tsx:34",children:g.jsx(EH,{"data-loc":"client/src/App.tsx:35",defaultTheme:"light",children:g.jsx(qG,{"data-loc":"client/src/App.tsx:36",children:g.jsx($G,{"data-loc":"client/src/App.tsx:37",children:g.jsxs(GF,{"data-loc":"client/src/App.tsx:38",children:[g.jsx(rU,{"data-loc":"client/src/App.tsx:39"}),g.jsx(zG,{"data-loc":"client/src/App.tsx:40"}),g.jsx(Rhe,{"data-loc":"client/src/App.tsx:41"})]})})})})})}const Mhe=()=>{const e="https://manus.im",t="JvDToLjTCfSjjUaSvFbKCR",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",n),a.searchParams.set("state",r),a.searchParams.set("type","signIn"),a.toString()},em=new a7,gL=e=>{!(e instanceof Iu)||typeof window>"u"||!(e.message===z9)||(window.location.href=Mhe())};em.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;gL(t),console.error("[API Query Error]",t)}});em.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;gL(t),console.error("[API Mutation Error]",t)}});const Phe=Jk.createClient({links:[h9({url:"/api/trpc",transformer:li,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});K9.createRoot(document.getElementById("root")).render(g.jsx(Jk.Provider,{"data-loc":"client/src/main.tsx:56",client:Phe,queryClient:em,children:g.jsx(s7,{"data-loc":"client/src/main.tsx:57",client:em,children:g.jsx(_he,{"data-loc":"client/src/main.tsx:58"})})}));export{hp as c,mt as g};

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.