1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/not-found-DZs5KGmS.js","assets/circle-alert-CNXQ8KsC.js","assets/Home-CIAKBsIg.js","assets/index-Bu7-Bio1.js","assets/cpu-CB5VGiPt.js","assets/file-text-C3ll5EY6.js","assets/brain-PIaOL4K9.js","assets/database-CLH4lSjT.js","assets/target-BbQaKfaD.js","assets/mic-Bq4AI9jC.js","assets/activity-D3CRii8U.js","assets/zap-CW4C-Uqa.js","assets/circle-check-big-DcSsoaNT.js","assets/video-BBz2fUKM.js","assets/triangle-alert-BWe58qeV.js","assets/scan-line-BXnRgg4f.js","assets/ghost-CvnpW6_B.js","assets/clock-BkjiDvX2.js","assets/users-AE7S44G3.js","assets/panels-top-left-B6ecBYCq.js","assets/palette-Ct3RwQk2.js","assets/circle-minus-3GdyjIA6.js","assets/briefcase-DFRGPIBF.js","assets/lightbulb-Cmd7rwaB.js","assets/globe-B3tj7fW7.js","assets/lock-_fdzsSws.js","assets/chart-column-CdZSqhvD.js","assets/message-square-BypBajBh.js","assets/Footer-B8v9xLU0.js","assets/search-BuY2JP9k.js","assets/trending-up-D3UN1Dn5.js","assets/star-BFRZUlCF.js","assets/rocket-CmfXwRtH.js","assets/award-CjpjboeH.js","assets/SchemaMarkup-xB7D_gA0.js","assets/Blog-OLLx85we.js","assets/useBrand-CDBa197G.js","assets/badge-CS9gyIpY.js","assets/tabs-Bhn1j3TD.js","assets/usePageMeta-Cbzeuh4x.js","assets/pen-tool-DBCEUE9y.js","assets/BlogPost-Any6zlHf.js","assets/chevron-left-Dh-VLrmr.js","assets/calendar-DH5xIkkW.js","assets/Tools-ClJ-uRtQ.js","assets/image_1771635367912-DoJKJBUX.js","assets/map-pin-BYzVKcHE.js","assets/Features-Cm9vecKW.js","assets/accordion-BEL3fAJx.js","assets/chart-no-axes-column-increasing-BYmk3Uwc.js","assets/layers-B88yL5lY.js","assets/refresh-cw-BrQt-cBk.js","assets/Pricing-CBzIY4_e.js","assets/Contact-BmvI-EJS.js","assets/ResumeBuilder-P8xZ-gcN.js","assets/download-CfIlLzo1.js","assets/Academy-DmMzAys7.js","assets/external-link-BPHhn5Fl.js","assets/Podcasts-CvOeTEeH.js","assets/AIInRecruitment-CgM7CRVk.js","assets/bot-BCx_opdx.js","assets/eye-CbjkNEbZ.js","assets/ResumeMistakes-BJKqNlD-.js","assets/circle-check-B3nqtVnB.js","assets/circle-x-v6dnRi74.js","assets/BehavioralInterviewQuestions-DT_e-gkN.js","assets/HiddenJobMarket-DV_sn52G.js","assets/network-C6fxOqRy.js","assets/SalaryNegotiation-LJppAXUb.js","assets/WorkLifeBalance-BQnazPNp.js","assets/timer-xJgURxZV.js","assets/AIResumeBuilder-D5oetB5a.js","assets/StrategicJobSearchSuccess-Cpgk0Fuk.js","assets/ATSFormatting2026-moS73ALd.js","assets/AIJobSearchSystem-yTEGtkhK.js","assets/AIInterviewScoring-DI6xPhtr.js","assets/CoverLetterData-5mOPh7Cv.js","assets/HiddenJobSeekerTax-lDPXdRPx.js","assets/trending-down-BPj7dGku.js","assets/AIHiringDoubleStandard-dMN1QOyG.js","assets/shield-alert-CBnaBGWR.js","assets/AIDoopLoop-D55bJsKQ.js","assets/AlgorithmicFirewall-D_mwYIYT.js","assets/AutoApplyEpidemic-HVVWr-iC.js","assets/BestJobSearchTools2026-BSVFggx9.js","assets/JobApplicationTracker2026-gqgKtGcb.js","assets/kanban-CnzTsJbd.js","assets/HireOnixVsJobscan-DghbxMlR.js","assets/NegotiationSecrets-euunWF8z.js","assets/HireOnixVsTeal-BjQZXm7D.js","assets/HireOnixVsResumeIo-Dh0npDy-.js","assets/HireOnixVsKickresume-BbZ5LhHy.js","assets/HireOnixVsRezi-D_PdkfNK.js","assets/BotsScreeningBots-DUqXUH6x.js","assets/EnterpriseHiringFirewall-C8vTTXlz.js","assets/EcosystemFix-50xLZwBS.js","assets/ATSThreatLevel-LfuqdwUn.js","assets/TwoColumnResumeKiller-Bu6ecPF_.js","assets/file-warning-Cv7REPbA.js","assets/TFIDFResumeOptimization-CCKfsr3G.js","assets/CareerCoachSubscriptionTrap-_hRf28Xm.js","assets/FormattingAnomalies-M59iu8GQ.js","assets/bug-M-KwDSi1.js","assets/AIVideoInterviewMicroexpression-CyJEXNOZ.js","assets/SemanticKeywordStuffingPenalty-CQmrmlD8.js","assets/AlgorithmicGhosting-BYm8FS_c.js","assets/JobBoardBlackHole-CFB-N1rP.js","assets/LegacyResumeBuilders-BEE4BESa.js","assets/AdminTickets-J0N6UfDl.js","assets/AboutPage-DF3wIuqR.js","assets/TrustSecurity-Bu2VET7W.js","assets/InvestorOnePager-Bqtd7Edh.js","assets/Feedback-6n7SNe7V.js","assets/useQuery-CS58plXW.js","assets/Downloads-tElLmCqB.js","assets/Glossary-BwRmDpPj.js","assets/OGPreview-CyCaNBt6.js"])))=>i.map(i=>d[i]); 2var Sp=e=>{throw TypeError(e)};var Dl=(e,t,n)=>t.has(e)||Sp("Cannot "+n);var R=(e,t,n)=>(Dl(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n
vendor: 5,024 bytes, lines 2-10
2)=>t.has(e)?Sp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(Dl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(Dl(e,t,"access private method"),n);var hi=(e,t,n,r)=>({set _(o){G(e,t,o,n)},get _(){return R(e,t,r)}});function YS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var yL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gg={exports:{}},Xa={},Qg={exports:{}},Q={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var Xs=Symbol.for("react.element"),XS=Symbol.for("react.portal"),qS=Symbol.for("react.fragment"),ZS=Symbol.for("react.strict_mode"),JS=Symbol.for("react.profiler"),eC=Symbol.for("react.provider"),tC=Symbol.for("react.context"),nC=Symbol.for("react.forward_ref"),rC=Symbol.for("react.suspense"),oC=Symbol.for("react.memo"),sC=Symbol.for("react.lazy"),Cp=Symbol.iterator;function iC(e){return e===null||typeof e!="object"?null:(e=Cp&&e[Cp]||e["@@iterator"],typeof e=="function"?e:null)}var Yg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xg=Object.assign,qg={};function Mo(e,t,n){this.props=e,this.context=t,this.refs=qg,this.updater=n||Yg}Mo.prototype.isReactComponent={};Mo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Mo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zg(){}Zg.prototype=Mo.prototype;function id(e,t,n){this.props=e,this.context=t,this.refs=qg,this.updater=n||Yg}var ad=id.prototype=new Zg;ad.constructor=id;Xg(ad,Mo.prototype);ad.isPureReactComponent=!0;var Ep=Array.isArray,Jg=Object.prototype.hasOwnProperty,ld={current:null},ev={key:!0,ref:!0,__self:!0,__source:!0};function tv(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Jg.call(t,r)&&!ev.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Xs,type:e,key:s,ref:i,props:o,_owner:ld.current}}function aC(e,t){return{$$typeof:Xs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ud(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xs}function lC(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Pp=/\/+/g;function jl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lC(""+e.key):t.toString(36)}function Hi(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Xs:case XS:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+jl(i,0):r,Ep(o)?(n="",e!=null&&(n=e.replace(Pp,"$&/")+"/"),Hi(o,t,n,"",function(u){return u})):o!=null&&(ud(o)&&(o=aC(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Pp,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Ep(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+jl(s,a);i+=Hi(s,t,n,l,o)}else if(l=iC(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+jl(s,a++),i+=Hi(s,t,n,l,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}
vendor: 4,955 bytes, lines 10-26
10function mi(e,t,n){if(e==null)return e;var r=[],o=0;return Hi(e,r,"","",function(s){return t.call(n,s,o++)}),r}function uC(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ge={current:null},Ki={transition:null},cC={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:Ki,ReactCurrentOwner:ld};function nv(){throw Error("act(...) is not supported in production builds of React.")}Q.Children={map:mi,forEach:function(e,t,n){mi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mi(e,function(){t++}),t},toArray:function(e){return mi(e,function(t){return t})||[]},only:function(e){if(!ud(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=Mo;Q.Fragment=qS;Q.Profiler=JS;Q.PureComponent=id;Q.StrictMode=ZS;Q.Suspense=rC;Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cC;Q.act=nv;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Xg({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=ld.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Jg.call(t,l)&&!ev.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Xs,type:e.type,key:o,ref:s,props:r,_owner:i}};Q.createContext=function(e){return e={$$typeof:tC,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:eC,_context:e},e.Consumer=e};Q.createElement=tv;Q.createFactory=function(e){var t=tv.bind(null,e);return t.type=e,t};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:nC,render:e}};Q.isValidElement=ud;Q.lazy=function(e){return{$$typeof:sC,_payload:{_status:-1,_result:e},_init:uC}};Q.memo=function(e,t){return{$$typeof:oC,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=Ki.transition;Ki.transition={};try{e()}finally{Ki.transition=t}};Q.unstable_act=nv;Q.useCallback=function(e,t){return Ge.current.useCallback(e,t)};Q.useContext=function(e){return Ge.current.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e){return Ge.current.useDeferredValue(e)};Q.useEffect=function(e,t){return Ge.current.useEffect(e,t)};Q.useId=function(){return Ge.current.useId()};Q.useImperativeHandle=function(e,t,n){return Ge.current.useImperativeHandle(e,t,n)};Q.useInsertionEffect=function(e,t){return Ge.current.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return Ge.current.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return Ge.current.useMemo(e,t)};Q.useReducer=function(e,t,n){return Ge.current.useReducer(e,t,n)};Q.useRef=function(e){return Ge.current.useRef(e)};Q.useState=function(e){return Ge.current.useState(e)};Q.useSyncExternalStore=function(e,t,n){return Ge.current.useSyncExternalStore(e,t,n)};Q.useTransition=function(){return Ge.current.useTransition()};Q.version="18.3.1";Qg.exports=Q;var p=Qg.exports;const wn=Kg(p),rv=YS({__proto__:null,default:wn},[p]);/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var dC=p,fC=Symbol.for("react.element"),pC=Symbol.for("react.fragment"),hC=Object.prototype.hasOwnProperty,mC=dC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gC={key:!0,ref:!0,__self:!0,__source:!0};function ov(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)hC.call(t,r)&&!gC.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:fC,type:e,key:s,ref:i,props:o,_owner:mC.current}}Xa.Fragment=pC;Xa.jsx=ov;Xa.jsxs=ov;Gg.exports=Xa;var h=Gg.exports,sv={exports:{}},ct={},iv={exports:{}},av={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */(function(e){function t(k,_){var j=k.length;k.push(_);e:for(;0<j;){var U=j-1>>>1,X=k[U];if(0<o(X,_))k[U]=_,k[j]=X,j=U;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var _=k[0],j=k.pop();if(j!==_){k[0]=j;e:for(var U=0,X=k.length,Ve=X>>>1;U<Ve;){var Re=2*(U+1)-1,gn=k[Re],ze=Re+1,Xe=k[ze];if(0>o(gn,j))ze<X&&0>
vendor: 10,287 bytes, lines 26-35
26o(Xe,gn)?(k[U]=Xe,k[ze]=j,U=ze):(k[U]=gn,k[Re]=j,U=Re);else if(ze<X&&0>o(Xe,j))k[U]=Xe,k[ze]=j,U=ze;else break e}}return _}function o(k,_){var j=k.sortIndex-_.sortIndex;return j!==0?j:k.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],u=[],c=1,d=null,f=3,y=!1,x=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(k){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=k)r(u),_.sortIndex=_.expirationTime,t(l,_);else break;_=n(u)}}function C(k){if(v=!1,w(k),!x)if(n(l)!==null)x=!0,W(E);else{var _=n(u);_!==null&&$(C,_.startTime-k)}}function E(k,_){x=!1,v&&(v=!1,m(P),P=-1),y=!0;var j=f;try{for(w(_),d=n(l);d!==null&&(!(d.expirationTime>_)||k&&!V());){var U=d.callback;if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var X=U(d.expirationTime<=_);_=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(l)&&r(l),w(_)}else r(l);d=n(l)}if(d!==null)var Ve=!0;else{var Re=n(u);Re!==null&&$(C,Re.startTime-_),Ve=!1}return Ve}finally{d=null,f=j,y=!1}}var b=!1,T=null,P=-1,A=5,N=-1;function V(){return!(e.unstable_now()-N<A)}function O(){if(T!==null){var k=e.unstable_now();N=k;var _=!0;try{_=T(!0,k)}finally{_?H():(b=!1,T=null)}}else b=!1}var H;if(typeof g=="function")H=function(){g(O)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,Y=D.port2;D.port1.onmessage=O,H=function(){Y.postMessage(null)}}else H=function(){S(O,0)};function W(k){T=k,b||(b=!0,H())}function $(k,_){P=S(function(){k(e.unstable_now())},_)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){x||y||(x=!0,W(E))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var _=3;break;default:_=f}var j=f;f=_;try{return k()}finally{f=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,_){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var j=f;f=k;try{return _()}finally{f=j}},e.unstable_scheduleCallback=function(k,_,j){var U=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?U+j:U):j=U,k){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=j+X,k={id:c++,callback:_,priorityLevel:k,startTime:j,expirationTime:X,sortIndex:-1},j>U?(k.sortIndex=j,t(u,k),n(l)===null&&k===n(u)&&(v?(m(P),P=-1):v=!0,$(C,j-U))):(k.sortIndex=X,t(l,k),x||y||(x=!0,W(E))),k},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(k){var _=f;return function(){var j=f;f=_;try{return k.apply(this,arguments)}finally{f=j}}}})(av);iv.exports=av;var vC=iv.exports;/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var yC=p,lt=vC;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var lv=new Set,Ss={};function kr(e,t){xo(e,t),xo(e+"Capture",t)}function xo(e,t){for(Ss[e]=t,e=0;e<t.length;e++)lv.add(t[e])}var an=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lu=Object.prototype.hasOwnProperty,xC=/^[: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]*$/,bp={},Tp={};function wC(e){return Lu.call(Tp,e)?!0:Lu.call(bp,e)?!1:xC.test(e)?Tp[e]=!0:(bp[e]=!0,!1)}function SC(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function CC(e,t,n,r){if(t===null||typeof t>"u"||SC(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Qe(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_e[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var cd=/[\-:]([a-z])/g;function dd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cd,dd);_e[t]=new Qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cd,dd);_e[t]=new Qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cd,dd);_e[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function fd(e,t,n,r){var o=_e.hasOwnProperty(t)?_e[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(CC(t,n,o,r)&&(n=null),r||o===null?wC(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var hn=yC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gi=Symbol.for("react.element"),Lr=Symbol.for("react.portal"),Ir=Symbol.for("react.fragment"),pd=Symbol.for("react.strict_mode"),Iu=Symbol.for("react.profiler"),uv=Symbol.for("react.provider"),cv=Symbol.for("react.context"),hd=Symbol.for("react.forward_ref"),Fu=Symbol.for("react.suspense"),Vu=Symbol.for("react.suspense_list"),md=Symbol.for("react.memo"),Pn=Symbol.for("react.lazy"),dv=Symbol.for("react.offscreen"),kp=Symbol.iterator;function $o(e){return e===null||typeof e!="object"?null:(e=kp&&e[kp]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Object.assign,Ol;function Jo(e){if(Ol===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ol=t&&t[1]||""}return` 35`+Ol+e}var Ll=!1;function Il(e,t){if(!e||Ll)return"";Ll=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,898 bytes, lines 35-38
35catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 36`),s=r.stack.split(` 37`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=` 38`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Ll=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jo(e):""}function EC(e){switch(e.tag){case 5:return Jo(e.type);case 16:return Jo("Lazy");case 13:return Jo("Suspense");case 19:return Jo("SuspenseList");case 0:case 2:case 15:return e=Il(e.type,!1),e;case 11:return e=Il(e.type.render,!1),e;case 1:return e=Il(e.type,!0),e;default:return""}}function zu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ir:return"Fragment";case Lr:return"Portal";case Iu:return"Profiler";case pd:return"StrictMode";case Fu:return"Suspense";case Vu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cv:return(e.displayName||"Context")+".Consumer";case uv:return(e._context.displayName||"Context")+".Provider";case hd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case md:return t=e.displayName||null,t!==null?t:zu(e.type)||"Memo";case Pn:t=e._payload,e=e._init;try{return zu(e(t))}catch{}}return null}function PC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return zu(t);case 8:return t===pd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Hn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bC(e){var t=fv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vi(e){e._valueTracker||(e._valueTracker=bC(e))}function pv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function da(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Bu(e,t){var n=t.checked;return fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _p(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Hn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hv(e,t){t=t.checked,t!=null&&fd(e,"checked",t,!1)}function $u(e,t){hv(e,t);var n=Hn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Uu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Uu(e,t.type,Hn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Rp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Uu(e,t,n){(t!=="number"||da(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var es=Array.isArray;function Jr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Hn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Wu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return fe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ap(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(es(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Hn(n)}}function mv(e,t){var n=Hn(t.value),r=Hn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Mp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}
vendor: 8,192 bytes, line 38
38function gv(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Hu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yi,vv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yi=yi||document.createElement("div"),yi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ls={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},TC=["Webkit","ms","Moz","O"];Object.keys(ls).forEach(function(e){TC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ls[t]=ls[e]})});function yv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ls.hasOwnProperty(e)&&ls[e]?(""+t).trim():t+"px"}function xv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=yv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var kC=fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ku(e,t){if(t){if(kC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Gu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qu=null;function gd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yu=null,eo=null,to=null;function Np(e){if(e=Js(e)){if(typeof Yu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=tl(t),Yu(e.stateNode,e.type,t))}}function wv(e){eo?to?to.push(e):to=[e]:eo=e}function Sv(){if(eo){var e=eo,t=to;if(to=eo=null,Np(e),t)for(e=0;e<t.length;e++)Np(t[e])}}function Cv(e,t){return e(t)}function Ev(){}var Fl=!1;function Pv(e,t,n){if(Fl)return e(t,n);Fl=!0;try{return Cv(e,t,n)}finally{Fl=!1,(eo!==null||to!==null)&&(Ev(),Sv())}}function Es(e,t){var n=e.stateNode;if(n===null)return null;var r=tl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var Xu=!1;if(an)try{var Uo={};Object.defineProperty(Uo,"passive",{get:function(){Xu=!0}}),window.addEventListener("test",Uo,Uo),window.removeEventListener("test",Uo,Uo)}catch{Xu=!1}function _C(e,t,n,r,o,s,i,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var us=!1,fa=null,pa=!1,qu=null,RC={onError:function(e){us=!0,fa=e}};function AC(e,t,n,r,o,s,i,a,l){us=!1,fa=null,_C.apply(RC,arguments)}function MC(e,t,n,r,o,s,i,a,l){if(AC.apply(this,arguments),us){if(us){var u=fa;us=!1,fa=null}else throw Error(M(198));pa||(pa=!0,qu=u)}}function _r(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function bv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Dp(e){if(_r(e)!==e)throw Error(M(188))}function NC(e){var t=e.alternate;if(!t){if(t=_r(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return Dp(o),e;if(s===r)return Dp(o),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Tv(e){return e=NC(e),e!==null?kv(e):null}function kv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=kv(e);if(t!==null)return t;e=e.sibling}return null}var _v=lt.unstable_scheduleCallback,jp=lt.unstable_cancelCallback,DC=lt.unstable_shouldYield,jC=lt.unstable_requestPaint,ve=lt.unstable_now,OC=lt.unstable_getCurrentPriorityLevel,vd=lt.unstable_ImmediatePriority,Rv=lt.unstable_UserBlockingPriority,ha=lt.unstable_NormalPriority,LC=lt.unstable_LowPriority,Av=lt.unstable_IdlePriority,qa=null,Ut=null;function IC(e){if(Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(qa,e,void 0,(e.current.flags&128)===128)}catch{}}var At=Math.clz32?Math.clz32:zC,FC=Math.log,VC=Math.LN2;function zC(e){return e>>>=0,e===0?32:31-(FC(e)/VC|0)|0}var xi=64,wi=4194304;function ts(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ma(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=ts(a):(s&=i,s!==0&&(r=ts(s)))}else i=n&~o,i!==0?r=ts(i):s!==0&&(r=ts(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-At(t),o=1<<n,r|=e[n],t&=~o;return r}function BC(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $C(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-At(s),a=1<<i,l=o[i];l===-1?(!(a&n)||a&r)&&(o[i]=BC(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Zu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Mv(){var e=xi;return xi<<=1,!(xi&4194240)&&(xi=64),e}function Vl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 2,493 bytes, line 38
38function qs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-At(t),e[t]=n}function UC(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-At(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function yd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-At(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function Nv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Dv,xd,jv,Ov,Lv,Ju=!1,Si=[],On=null,Ln=null,In=null,Ps=new Map,bs=new Map,Tn=[],WC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Op(e,t){switch(e){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Ln=null;break;case"mouseover":case"mouseout":In=null;break;case"pointerover":case"pointerout":Ps.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bs.delete(t.pointerId)}}function Wo(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Js(t),t!==null&&xd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function HC(e,t,n,r,o){switch(t){case"focusin":return On=Wo(On,e,t,n,r,o),!0;case"dragenter":return Ln=Wo(Ln,e,t,n,r,o),!0;case"mouseover":return In=Wo(In,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return Ps.set(s,Wo(Ps.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,bs.set(s,Wo(bs.get(s)||null,e,t,n,r,o)),!0}return!1}function Iv(e){var t=lr(e.target);if(t!==null){var n=_r(t);if(n!==null){if(t=n.tag,t===13){if(t=bv(n),t!==null){e.blockedOn=t,Lv(e.priority,function(){jv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ec(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Qu=r,n.target.dispatchEvent(r),Qu=null}else return t=Js(n),t!==null&&xd(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 11,995 bytes, line 38
38function Lp(e,t,n){Gi(e)&&n.delete(t)}function KC(){Ju=!1,On!==null&&Gi(On)&&(On=null),Ln!==null&&Gi(Ln)&&(Ln=null),In!==null&&Gi(In)&&(In=null),Ps.forEach(Lp),bs.forEach(Lp)}function Ho(e,t){e.blockedOn===t&&(e.blockedOn=null,Ju||(Ju=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,KC)))}function Ts(e){function t(o){return Ho(o,e)}if(0<Si.length){Ho(Si[0],e);for(var n=1;n<Si.length;n++){var r=Si[n];r.blockedOn===e&&(r.blockedOn=null)}}for(On!==null&&Ho(On,e),Ln!==null&&Ho(Ln,e),In!==null&&Ho(In,e),Ps.forEach(t),bs.forEach(t),n=0;n<Tn.length;n++)r=Tn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Tn.length&&(n=Tn[0],n.blockedOn===null);)Iv(n),n.blockedOn===null&&Tn.shift()}var no=hn.ReactCurrentBatchConfig,ga=!0;function GC(e,t,n,r){var o=te,s=no.transition;no.transition=null;try{te=1,wd(e,t,n,r)}finally{te=o,no.transition=s}}function QC(e,t,n,r){var o=te,s=no.transition;no.transition=null;try{te=4,wd(e,t,n,r)}finally{te=o,no.transition=s}}function wd(e,t,n,r){if(ga){var o=ec(e,t,n,r);if(o===null)Yl(e,t,r,va,n),Op(e,r);else if(HC(o,e,t,n,r))r.stopPropagation();else if(Op(e,r),t&4&&-1<WC.indexOf(e)){for(;o!==null;){var s=Js(o);if(s!==null&&Dv(s),s=ec(e,t,n,r),s===null&&Yl(e,t,r,va,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Yl(e,t,r,null,n)}}var va=null;function ec(e,t,n,r){if(va=null,e=gd(r),e=lr(e),e!==null)if(t=_r(e),t===null)e=null;else if(n=t.tag,n===13){if(e=bv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return va=e,null}function Fv(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(OC()){case vd:return 1;case Rv:return 4;case ha:case LC:return 16;case Av:return 536870912;default:return 16}default:return 16}}var Dn=null,Sd=null,Qi=null;function Vv(){if(Qi)return Qi;var e,t=Sd,n=t.length,r,o="value"in Dn?Dn.value:Dn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return Qi=o.slice(e,1<r?1-r:void 0)}function Yi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ci(){return!0}function Ip(){return!1}function dt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ci:Ip,this.isPropagationStopped=Ip,this}return fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ci)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var No={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cd=dt(No),Zs=fe({},No,{view:0,detail:0}),YC=dt(Zs),zl,Bl,Ko,Za=fe({},Zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ed,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ko&&(Ko&&e.type==="mousemove"?(zl=e.screenX-Ko.screenX,Bl=e.screenY-Ko.screenY):Bl=zl=0,Ko=e),zl)},movementY:function(e){return"movementY"in e?e.movementY:Bl}}),Fp=dt(Za),XC=fe({},Za,{dataTransfer:0}),qC=dt(XC),ZC=fe({},Zs,{relatedTarget:0}),$l=dt(ZC),JC=fe({},No,{animationName:0,elapsedTime:0,pseudoElement:0}),eE=dt(JC),tE=fe({},No,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),nE=dt(tE),rE=fe({},No,{data:0}),Vp=dt(rE),oE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sE={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"},iE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function aE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=iE[e])?!!t[e]:!1}function Ed(){return aE}var lE=fe({},Zs,{key:function(e){if(e.key){var t=oE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Yi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ed,charCode:function(e){return e.type==="keypress"?Yi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uE=dt(lE),cE=fe({},Za,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zp=dt(cE),dE=fe({},Zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ed}),fE=dt(dE),pE=fe({},No,{propertyName:0,elapsedTime:0,pseudoElement:0}),hE=dt(pE),mE=fe({},Za,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),gE=dt(mE),vE=[9,13,27,32],Pd=an&&"CompositionEvent"in window,cs=null;an&&"documentMode"in document&&(cs=document.documentMode);var yE=an&&"TextEvent"in window&&!cs,zv=an&&(!Pd||cs&&8<cs&&11>=cs),Bp=" ",$p=!1;function Bv(e,t){switch(e){case"keyup":return vE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $v(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fr=!1;function xE(e,t){switch(e){case"compositionend":return $v(t);case"keypress":return t.which!==32?null:($p=!0,Bp);case"textInput":return e=t.data,e===Bp&&$p?null:e;default:return null}}function wE(e,t){if(Fr)return e==="compositionend"||!Pd&&Bv(e,t)?(e=Vv(),Qi=Sd=Dn=null,Fr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zv&&t.locale!=="ko"?null:t.data;default:return null}}var SE={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 Up(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SE[e.type]:t==="textarea"}function Uv(e,t,n,r){wv(r),t=ya(t,"onChange"),0<t.length&&(n=new Cd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ds=null,ks=null;function CE(e){ey(e,0)}function Ja(e){var t=Br(e);if(pv(t))return e}function EE(e,t){if(e==="change")return t}var Wv=!1;if(an){var Ul;if(an){var Wl="oninput"in document;if(!Wl){var Wp=document.createElement("div");Wp.setAttribute("oninput","return;"),Wl=typeof Wp.oninput=="function"}Ul=Wl}else Ul=!1;Wv=Ul&&(!document.documentMode||9<document.documentMode)}function Hp(){ds&&(ds.detachEvent("onpropertychange",Hv),ks=ds=null)}function Hv(e){if(e.propertyName==="value"&&Ja(ks)){var t=[];Uv(t,ks,e,gd(e)),Pv(CE,t)}}function PE(e,t,n){e==="focusin"?(Hp(),ds=t,ks=n,ds.attachEvent("onpropertychange",Hv)):e==="focusout"&&Hp()}function bE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ja(ks)}function TE(e,t){if(e==="click")return Ja(t)}function kE(e,t){if(e==="input"||e==="change")return Ja(t)}function _E(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nt=typeof Object.is=="function"?Object.is:_E;function _s(e,t){if(Nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Lu.call(t,o)||!Nt(e[o],t[o]))return!1}return!0}function Kp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gp(e,t){var n=Kp(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Kp(n)}}function Kv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gv(){for(var e=window,t=da();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=da(e.document)}return t}function bd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function RE(e){var t=Gv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Kv(n.ownerDocument.documentElement,n)){if(r!==null&&bd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Gp(n,s);var i=Gp(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var AE=an&&"documentMode"in document&&11>=document.documentMode,Vr=null,tc=null,fs=null,nc=!1;function Qp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nc||Vr==null||Vr!==da(r)||(r=Vr,"selectionStart"in r&&bd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 3,150 bytes, line 38
38sNode:r.focusNode,focusOffset:r.focusOffset}),fs&&_s(fs,r)||(fs=r,r=ya(tc,"onSelect"),0<r.length&&(t=new Cd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Vr)))}function Ei(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zr={animationend:Ei("Animation","AnimationEnd"),animationiteration:Ei("Animation","AnimationIteration"),animationstart:Ei("Animation","AnimationStart"),transitionend:Ei("Transition","TransitionEnd")},Hl={},Qv={};an&&(Qv=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);function el(e){if(Hl[e])return Hl[e];if(!zr[e])return e;var t=zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Qv)return Hl[e]=t[n];return e}var Yv=el("animationend"),Xv=el("animationiteration"),qv=el("animationstart"),Zv=el("transitionend"),Jv=new Map,Yp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Jn(e,t){Jv.set(e,t),kr(t,[e])}for(var Kl=0;Kl<Yp.length;Kl++){var Gl=Yp[Kl],ME=Gl.toLowerCase(),NE=Gl[0].toUpperCase()+Gl.slice(1);Jn(ME,"on"+NE)}Jn(Yv,"onAnimationEnd");Jn(Xv,"onAnimationIteration");Jn(qv,"onAnimationStart");Jn("dblclick","onDoubleClick");Jn("focusin","onFocus");Jn("focusout","onBlur");Jn(Zv,"onTransitionEnd");xo("onMouseEnter",["mouseout","mouseover"]);xo("onMouseLeave",["mouseout","mouseover"]);xo("onPointerEnter",["pointerout","pointerover"]);xo("onPointerLeave",["pointerout","pointerover"]);kr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));kr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));kr("onBeforeInput",["compositionend","keypress","textInput","paste"]);kr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));kr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));kr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ns="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(" "),DE=new Set("cancel close invalid load scroll toggle".split(" ").concat(ns));function Xp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,MC(r,t,void 0,e),e.currentTarget=null}
vendor: 5,164 bytes, line 38
38function ey(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;Xp(o,a,u),s=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;Xp(o,a,u),s=l}}}if(pa)throw e=qu,pa=!1,qu=null,e}function se(e,t){var n=t[ac];n===void 0&&(n=t[ac]=new Set);var r=e+"__bubble";n.has(r)||(ty(t,e,2,!1),n.add(r))}function Ql(e,t,n){var r=0;t&&(r|=4),ty(n,e,r,t)}var Pi="_reactListening"+Math.random().toString(36).slice(2);function Rs(e){if(!e[Pi]){e[Pi]=!0,lv.forEach(function(n){n!=="selectionchange"&&(DE.has(n)||Ql(n,!1,e),Ql(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Pi]||(t[Pi]=!0,Ql("selectionchange",!1,t))}}function ty(e,t,n,r){switch(Fv(t)){case 1:var o=GC;break;case 4:o=QC;break;default:o=wd}n=o.bind(null,t,n,e),o=void 0,!Xu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Yl(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=lr(a),i===null)return;if(l=i.tag,l===5||l===6){r=s=i;continue e}a=a.parentNode}}r=r.return}Pv(function(){var u=s,c=gd(n),d=[];e:{var f=Jv.get(e);if(f!==void 0){var y=Cd,x=e;switch(e){case"keypress":if(Yi(n)===0)break e;case"keydown":case"keyup":y=uE;break;case"focusin":x="focus",y=$l;break;case"focusout":x="blur",y=$l;break;case"beforeblur":case"afterblur":y=$l;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Fp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=qC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=fE;break;case Yv:case Xv:case qv:y=eE;break;case Zv:y=hE;break;case"scroll":y=YC;break;case"wheel":y=gE;break;case"copy":case"cut":case"paste":y=nE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=zp}var v=(t&4)!==0,S=!v&&e==="scroll",m=v?f!==null?f+"Capture":null:f;v=[];for(var g=u,w;g!==null;){w=g;var C=w.stateNode;if(w.tag===5&&C!==null&&(w=C,m!==null&&(C=Es(g,m),C!=null&&v.push(As(g,C,w)))),S)break;g=g.return}0<v.length&&(f=new y(f,x,null,n,c),d.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",f&&n!==Qu&&(x=n.relatedTarget||n.fromElement)&&(lr(x)||x[ln]))break e;if((y||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,y?(x=n.relatedTarget||n.toElement,y=u,x=x?lr(x):null,x!==null&&(S=_r(x),x!==S||x.tag!==5&&x.tag!==6)&&(x=null)):(y=null,x=u),y!==x)){if(v=Fp,C="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=zp,C="onPointerLeave",m="onPointerEnter",g="pointer"),S=y==null?f:Br(y),w=x==null?f:Br(x),f=new v(C,g+"leave",y,n,c),f.target=S,f.relatedTarget=w,C=null,lr(c)===u&&(v=new v(m,g+"enter",x,n,c),v.target=w,v.relatedTarget=S,C=v),S=C,y&&x)t:{for(v=y,m=x,g=0,w=v;w;w=Nr(w))g++;for(w=0,C=m;C;C=Nr(C))w++;for(;0<g-w;)v=Nr(v),g--;for(;0<w-g;)m=Nr(m),w--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=Nr(v),m=Nr(m)}v=null}else v=null;y!==null&&qp(d,f,y,v,!1),x!==null&&S!==null&&qp(d,S,x,v,!0)}}e:{if(f=u?Br(u):window,y=f.nodeName&&f.nodeName.toLowerCase(),y==="select"||y==="input"&&f.type==="file")var E=EE;else if(Up(f))if(Wv)E=kE;else{E=bE;var b=PE}else(y=f.nodeName)&&y.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=TE);if(E&&(E=E(e,u))){Uv(d,E,n,c);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&Uu(f,"number",f.value)}switch(b=u?Br(u):window,e){case"focusin":(Up(b)||b.contentEditable==="true")&&(Vr=b,tc=u,fs=null);break;case"focusout":fs=tc=Vr=null;break;case"mousedown":nc=!0;break;case"contextmenu":case"mouseup":case"dragend":nc=!1,Qp(d,n,c);break;case"selectionchange":if(AE)break;case"keydown":case"keyup":Qp(d,n,c)}var T;if(Pd)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Fr?Bv(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(zv&&n.locale!=="ko"&&(Fr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Fr&&(T=Vv()):(Dn=c,Sd="value"in Dn?Dn.value:Dn.textContent,Fr=!0)),b=ya(u,P),0<b.length&&(P=new Vp(P,e,null,n,c),d.push({event:P,listeners:b}),T?P.data=T:(T=$v(n),T!==null&&(P.data=T)))),(T=yE?xE(e,n):wE(e,n))&&
vendor: 4,183 bytes, lines 38-39
38(u=ya(u,"onBeforeInput"),0<u.length&&(c=new Vp("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}ey(d,t)})}function As(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ya(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=Es(e,n),s!=null&&r.unshift(As(e,s,o)),s=Es(e,t),s!=null&&r.push(As(e,s,o))),e=e.return}return r}function Nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function qp(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Es(n,s),l!=null&&i.unshift(As(n,l,a))):o||(l=Es(n,s),l!=null&&i.push(As(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var jE=/\r\n?/g,OE=/\u0000|\uFFFD/g;function Zp(e){return(typeof e=="string"?e:""+e).replace(jE,` 39`).replace(OE,"")}function bi(e,t,n){if(t=Zp(t),Zp(e)!==t&&n)throw Error(M(425))}function xa(){}var rc=null,oc=null;function sc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ic=typeof setTimeout=="function"?setTimeout:void 0,LE=typeof clearTimeout=="function"?clearTimeout:void 0,Jp=typeof Promise=="function"?Promise:void 0,IE=typeof queueMicrotask=="function"?queueMicrotask:typeof Jp<"u"?function(e){return Jp.resolve(null).then(e).catch(FE)}:ic;function FE(e){setTimeout(function(){throw e})}function Xl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ts(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ts(t)}function Fn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function eh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Do=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Do,Ms="__reactProps$"+Do,ln="__reactContainer$"+Do,ac="__reactEvents$"+Do,VE="__reactListeners$"+Do,zE="__reactHandles$"+Do;function lr(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ln]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=eh(e);e!==null;){if(n=e[Bt])return n;e=eh(e)}return t}e=n,n=e.parentNode}return null}function Js(e){return e=e[Bt]||e[ln],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Br(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function tl(e){return e[Ms]||null}var lc=[],$r=-1;function er(e){return{current:e}}function ie(e){0>$r||(e.current=lc[$r],lc[$r]=null,$r--)}function re(e,t){$r++,lc[$r]=e.current,e.current=t}var Kn={},Fe=er(Kn),Je=er(!1),xr=Kn;function wo(e,t){var n=e.type.contextTypes;if(!n)return Kn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function et(e){return e=e.childContextTypes,e!=null}function wa(){ie(Je),ie(Fe)}function th(e,t,n){if(Fe.current!==Kn)throw Error(M(168));re(Fe,t),re(Je,n)}function ny(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,PC(e)||"Unknown",o));return fe({},n,r)}function Sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,xr=Fe.current,re(Fe,e),re(Je,Je.current),!0}function nh(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=ny(e,t,xr),r.__reactInternalMemoizedMergedChildContext=e,ie(Je),ie(Fe),re(Fe,e)):ie(Je),re(Je,n)}var Jt=null,nl=!1,ql=!1;function ry(e){Jt===null?Jt=[e]:Jt.push(e)}function BE(e){nl=!0,ry(e)}function tr(){if(!ql&&Jt!==null){ql=!0;var e=0,t=te;try{var n=Jt;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}
vendor: 14,694 bytes, line 39
39Jt=null,nl=!1}catch(o){throw Jt!==null&&(Jt=Jt.slice(e+1)),_v(vd,tr),o}finally{te=t,ql=!1}}return null}var Ur=[],Wr=0,Ca=null,Ea=0,gt=[],vt=0,wr=null,en=1,tn="";function or(e,t){Ur[Wr++]=Ea,Ur[Wr++]=Ca,Ca=e,Ea=t}function oy(e,t,n){gt[vt++]=en,gt[vt++]=tn,gt[vt++]=wr,wr=e;var r=en;e=tn;var o=32-At(r)-1;r&=~(1<<o),n+=1;var s=32-At(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,en=1<<32-At(t)+o|n<<o|r,tn=s+e}else en=1<<s|n<<o|r,tn=e}function Td(e){e.return!==null&&(or(e,1),oy(e,1,0))}function kd(e){for(;e===Ca;)Ca=Ur[--Wr],Ur[Wr]=null,Ea=Ur[--Wr],Ur[Wr]=null;for(;e===wr;)wr=gt[--vt],gt[vt]=null,tn=gt[--vt],gt[vt]=null,en=gt[--vt],gt[vt]=null}var it=null,st=null,le=!1,Rt=null;function sy(e,t){var n=yt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function rh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,it=e,st=Fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,it=e,st=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=wr!==null?{id:en,overflow:tn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,it=e,st=null,!0):!1;default:return!1}}function uc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function cc(e){if(le){var t=st;if(t){var n=t;if(!rh(e,t)){if(uc(e))throw Error(M(418));t=Fn(n.nextSibling);var r=it;t&&rh(e,t)?sy(r,n):(e.flags=e.flags&-4097|2,le=!1,it=e)}}else{if(uc(e))throw Error(M(418));e.flags=e.flags&-4097|2,le=!1,it=e}}}function oh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;it=e}function Ti(e){if(e!==it)return!1;if(!le)return oh(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!sc(e.type,e.memoizedProps)),t&&(t=st)){if(uc(e))throw iy(),Error(M(418));for(;t;)sy(e,t),t=Fn(t.nextSibling)}if(oh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){st=Fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}st=null}}else st=it?Fn(e.stateNode.nextSibling):null;return!0}function iy(){for(var e=st;e;)e=Fn(e.nextSibling)}function So(){st=it=null,le=!1}function _d(e){Rt===null?Rt=[e]:Rt.push(e)}var $E=hn.ReactCurrentBatchConfig;function Go(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function ki(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sh(e){var t=e._init;return t(e._payload)}function ay(e){function t(m,g){if(e){var w=m.deletions;w===null?(m.deletions=[g],m.flags|=16):w.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function o(m,g){return m=$n(m,g),m.index=0,m.sibling=null,m}function s(m,g,w){return m.index=w,e?(w=m.alternate,w!==null?(w=w.index,w<g?(m.flags|=2,g):w):(m.flags|=2,g)):(m.flags|=1048576,g)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,w,C){return g===null||g.tag!==6?(g=ou(w,m.mode,C),g.return=m,g):(g=o(g,w),g.return=m,g)}function l(m,g,w,C){var E=w.type;return E===Ir?c(m,g,w.props.children,C,w.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Pn&&sh(E)===g.type)?(C=o(g,w.props),C.ref=Go(m,g,w),C.return=m,C):(C=na(w.type,w.key,w.props,null,m.mode,C),C.ref=Go(m,g,w),C.return=m,C)}function u(m,g,w,C){return g===null||g.tag!==4||g.stateNode.containerInfo!==w.containerInfo||g.stateNode.implementation!==w.implementation?(g=su(w,m.mode,C),g.return=m,g):(g=o(g,w.children||[]),g.return=m,g)}function c(m,g,w,C,E){return g===null||g.tag!==7?(g=vr(w,m.mode,C,E),g.return=m,g):(g=o(g,w),g.return=m,g)}function d(m,g,w){if(typeof g=="string"&&g!==""||typeof g=="number")return g=ou(""+g,m.mode,w),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case gi:return w=na(g.type,g.key,g.props,null,m.mode,w),w.ref=Go(m,null,g),w.return=m,w;case Lr:return g=su(g,m.mode,w),g.return=m,g;case Pn:var C=g._init;return d(m,C(g._payload),w)}if(es(g)||$o(g))return g=vr(g,m.mode,w,null),g.return=m,g;ki(m,g)}return null}function f(m,g,w,C){var E=g!==null?g.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return E!==null?null:a(m,g,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case gi:return w.key===E?l(m,g,w,C):null;case Lr:return w.key===E?u(m,g,w,C):null;case Pn:return E=w._init,f(m,g,E(w._payload),C)}if(es(w)||$o(w))return E!==null?null:c(m,g,w,C,null);ki(m,w)}return null}function y(m,g,w,C,E){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(w)||null,a(g,m,""+C,E);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case gi:return m=m.get(C.key===null?w:C.key)||null,l(g,m,C,E);case Lr:return m=m.get(C.key===null?w:C.key)||null,u(g,m,C,E);case Pn:var b=C._init;return y(m,g,w,b(C._payload),E)}if(es(C)||$o(C))return m=m.get(w)||null,c(g,m,C,E,null);ki(g,C)}return null}function x(m,g,w,C){for(var E=null,b=null,T=g,P=g=0,A=null;T!==null&&P<w.length;P++){T.index>P?(A=T,T=null):A=T.sibling;var N=f(m,T,w[P],C);if(N===null){T===null&&(T=A);break}e&&T&&N.alternate===null&&t(m,T),g=s(N,g,P),b===null?E=N:b.sibling=N,b=N,T=A}if(P===w.length)return n(m,T),le&&or(m,P),E;if(T===null){for(;P<w.length;P++)T=d(m,w[P],C),T!==null&&(g=s(T,g,P),b===null?E=T:b.sibling=T,b=T);return le&&or(m,P),E}for(T=r(m,T);P<w.length;P++)A=y(T,m,P,w[P],C),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?P:A.key),g=s(A,g,P),b===null?E=A:b.sibling=A,b=A);return e&&T.forEach(function(V){return t(m,V)}),le&&or(m,P),E}function v(m,g,w,C){var E=$o(w);if(typeof E!="function")throw Error(M(150));if(w=E.call(w),w==null)throw Error(M(151));for(var b=E=null,T=g,P=g=0,A=null,N=w.next();T!==null&&!N.done;P++,N=w.next()){T.index>P?(A=T,T=null):A=T.sibling;var V=f(m,T,N.value,C);if(V===null){T===null&&(T=A);break}e&&T&&V.alternate===null&&t(m,T),g=s(V,g,P),b===null?E=V:b.sibling=V,b=V,T=A}if(N.done)return n(m,T),le&&or(m,P),E;if(T===null){for(;!N.done;P++,N=w.next())N=d(m,N.value,C),N!==null&&(g=s(N,g,P),b===null?E=N:b.sibling=N,b=N);return le&&or(m,P),E}for(T=r(m,T);!N.done;P++,N=w.next())N=y(T,m,P,N.value,C),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?P:N.key),g=s(N,g,P),b===null?E=N:b.sibling=N,b=N);return e&&T.forEach(function(O){return t(m,O)}),le&&or(m,P),E}function S(m,g,w,C){if(typeof w=="object"&&w!==null&&w.type===Ir&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case gi:e:{for(var E=w.key,b=g;b!==null;){if(b.key===E){if(E=w.type,E===Ir){if(b.tag===7){n(m,b.sibling),g=o(b,w.props.children),g.return=m,m=g;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Pn&&sh(E)===b.type){n(m,b.sibling),g=o(b,w.props),g.ref=Go(m,b,w),g.return=m,m=g;break e}n(m,b);break}else t(m,b);b=b.sibling}w.type===Ir?(g=vr(w.props.children,m.mode,C,w.key),g.return=m,m=g):(C=na(w.type,w.key,w.props,null,m.mode,C),C.ref=Go(m,g,w),C.return=m,m=C)}return i(m);case Lr:e:{for(b=w.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===w.containerInfo&&g.stateNode.implementation===w.implementation){n(m,g.sibling),g=o(g,w.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=su(w,m.mode,C),g.return=m,m=g}return i(m);case Pn:return b=w._init,S(m,g,b(w._payload),C)}if(es(w))return x(m,g,w,C);if($o(w))return v(m,g,w,C);ki(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,w),g.return=m,m=g):(n(m,g),g=ou(w,m.mode,C),g.return=m,m=g),i(m)):n(m,g)}return S}var Co=ay(!0),ly=ay(!1),Pa=er(null),ba=null,Hr=null,Rd=null;function Ad(){Rd=Hr=ba=null}function Md(e){var t=Pa.current;ie(Pa),e._currentValue=t}function dc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ro(e,t){ba=e,Rd=Hr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ze=!0),e.firstContext=null)}function St(e){var t=e._currentValue;if(Rd!==e)if(e={context:e,memoizedValue:t,next:null},Hr===null){if(ba===null)throw Error(M(308));Hr=e,ba.dependencies={lanes:0,firstContext:e}}else Hr=Hr.next=e;return t}var ur=null;function Nd(e){ur===null?ur=[e]:ur.push(e)}function uy(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Nd(t)):(n.next=o.next,o.next=n),t.interleaved=n,un(e,r)}function un(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var bn=!1;function Dd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,un(e,n)}return o=r.interleaved,o===null?(t.next=t,Nd(r)):(t.next=o.next,o.next=t),r.interleaved=t,un(e,n)}function Xi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yd(e,n)}}function ih(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ta(e,t,n,r){var o=e.updateQueue;bn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,i===null?s=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==i&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var d=o.baseState;i=0,c=u=l=null,a=s;do{var f=a.lane,y=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(f=t,y=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(y,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,f=typeof x=="function"?x.call(y,d,f):x,f==null)break e;d=fe({},d,f);break e;case 2:bn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else y={eventTime:y,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=y,l=d):c=c.next=y,i|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Cr|=i,e.lanes=i,e.memoizedState=d}}function ah(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(M(191,o));o.call(r)}}}var ei={},Wt=er(ei),Ns=er(ei),Ds=er(ei);function cr(e){if(e===ei)throw Error(M(174));return e}function jd(e,t){switch(re(Ds,t),re(Ns,e),re(Wt,ei),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Hu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Hu(t,e)}ie(Wt),re(Wt,t)}function Eo(){ie(Wt),ie(Ns),ie(Ds)}function dy(e){cr(Ds.current);var t=cr(Wt.current),n=Hu(t,e.type);t!==n&&(re(Ns,e),re(Wt,n))}function Od(e){Ns.current===e&&(ie(Wt),ie(Ns))}var ue=er(0);function ka(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Zl=[];function Ld(){for(var e=0;e<Zl.length;e++)Zl[e]._workInProgressVersionPrimary=null;Zl.length=0}var qi=hn.ReactCurrentDispatcher,Jl=hn.ReactCurrentBatchConfig,Sr=0,de=null,Se=null,Ee=null,_a=!1,ps=!1,js=0,UE=0;function Me(){throw Error(M(321))}function Id(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nt(e[n],t[n]))return!1;return!0}function Fd(e,t,n,r,o,s){if(Sr=s,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,qi.current=e===null||e.memoizedState===null?GE:QE,e=n(r,o),ps){s=0;do{if(ps=!1,js=0,25<=s)throw Error(M(301));s+=1,Ee=Se=null,t.updateQueue=null,qi.current=YE,e=n(r,o)}while(ps)}if(qi.current=Ra,t=Se!==null&&Se.next!==null,Sr=0,Ee=Se=de=null,_a=!1,t)throw Error(M(300));return e}function Vd(){var e=js!==0;return js=0,e}function It(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?de.memoizedState=Ee=e:Ee=Ee.next=e,Ee}function Ct(){if(Se===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=Ee===null?de.memoizedState:Ee.next;if(t!==null)Ee=t,Se=e;else{if(e===null)throw Error(M(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Ee===null?de.memoizedState=Ee=e:Ee=Ee.next=e}return Ee}function Os(e,t){return typeof t=="function"?t(e):t}function eu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Se,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;
vendor: 4,528 bytes, line 39
39o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,l=null,u=s;do{var c=u.lane;if((Sr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,i=r):l=l.next=d,de.lanes|=c,Cr|=c}u=u.next}while(u!==null&&u!==s);l===null?i=r:l.next=a,Nt(r,t.memoizedState)||(Ze=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,de.lanes|=s,Cr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function tu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Nt(s,t.memoizedState)||(Ze=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function fy(){}function py(e,t){var n=de,r=Ct(),o=t(),s=!Nt(r.memoizedState,o);if(s&&(r.memoizedState=o,Ze=!0),r=r.queue,zd(gy.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ee!==null&&Ee.memoizedState.tag&1){if(n.flags|=2048,Ls(9,my.bind(null,n,r,o,t),void 0,null),Pe===null)throw Error(M(349));Sr&30||hy(n,t,o)}return o}function hy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function my(e,t,n,r){t.value=n,t.getSnapshot=r,vy(t)&&yy(e)}function gy(e,t,n){return n(function(){vy(t)&&yy(e)})}function vy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Nt(e,n)}catch{return!0}}function yy(e){var t=un(e,1);t!==null&&Mt(t,e,1,-1)}function lh(e){var t=It();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:e},t.queue=e,e=e.dispatch=KE.bind(null,de,e),[t.memoizedState,e]}function Ls(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function xy(){return Ct().memoizedState}function Zi(e,t,n,r){var o=It();de.flags|=e,o.memoizedState=Ls(1|t,n,void 0,r===void 0?null:r)}function rl(e,t,n,r){var o=Ct();r=r===void 0?null:r;var s=void 0;if(Se!==null){var i=Se.memoizedState;if(s=i.destroy,r!==null&&Id(r,i.deps)){o.memoizedState=Ls(t,n,s,r);return}}de.flags|=e,o.memoizedState=Ls(1|t,n,s,r)}function uh(e,t){return Zi(8390656,8,e,t)}function zd(e,t){return rl(2048,8,e,t)}function wy(e,t){return rl(4,2,e,t)}function Sy(e,t){return rl(4,4,e,t)}function Cy(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ey(e,t,n){return n=n!=null?n.concat([e]):null,rl(4,4,Cy.bind(null,t,e),n)}function Bd(){}function Py(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Id(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function by(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Id(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ty(e,t,n){return Sr&21?(Nt(n,t)||(n=Mv(),de.lanes|=n,Cr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ze=!0),e.memoizedState=n)}function WE(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Jl.transition;Jl.transition={};try{e(!1),t()}finally{te=n,Jl.transition=r}}function ky(){return Ct().memoizedState}function HE(e,t,n){var r=Bn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_y(e))Ry(t,n);else if(n=uy(e,t,n,r),n!==null){var o=He();Mt(n,e,r,o),Ay(n,t,r)}}function KE(e,t,n){var r=Bn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_y(e))Ry(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,Nt(a,i)){var l=t.interleaved;l===null?(o.next=o,Nd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=uy(e,t,o,r),n!==null&&(o=He(),Mt(n,e,r,o),Ay(n,t,r))}}function _y(e){var t=e.alternate;return e===de||t!==null&&t===de}function Ry(e,t){ps=_a=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}
vendor: 8,517 bytes, lines 39-41
39function Ay(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yd(e,n)}}var Ra={readContext:St,useCallback:Me,useContext:Me,useEffect:Me,useImperativeHandle:Me,useInsertionEffect:Me,useLayoutEffect:Me,useMemo:Me,useReducer:Me,useRef:Me,useState:Me,useDebugValue:Me,useDeferredValue:Me,useTransition:Me,useMutableSource:Me,useSyncExternalStore:Me,useId:Me,unstable_isNewReconciler:!1},GE={readContext:St,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:St,useEffect:uh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Zi(4194308,4,Cy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Zi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zi(4,2,e,t)},useMemo:function(e,t){var n=It();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=It();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=HE.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:lh,useDebugValue:Bd,useDeferredValue:function(e){return It().memoizedState=e},useTransition:function(){var e=lh(!1),t=e[0];return e=WE.bind(null,e[1]),It().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,o=It();if(le){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Pe===null)throw Error(M(349));Sr&30||hy(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,uh(gy.bind(null,r,s,e),[e]),r.flags|=2048,Ls(9,my.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=It(),t=Pe.identifierPrefix;if(le){var n=tn,r=en;n=(r&~(1<<32-At(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=js++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=UE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},QE={readContext:St,useCallback:Py,useContext:St,useEffect:zd,useImperativeHandle:Ey,useInsertionEffect:wy,useLayoutEffect:Sy,useMemo:by,useReducer:eu,useRef:xy,useState:function(){return eu(Os)},useDebugValue:Bd,useDeferredValue:function(e){var t=Ct();return Ty(t,Se.memoizedState,e)},useTransition:function(){var e=eu(Os)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:fy,useSyncExternalStore:py,useId:ky,unstable_isNewReconciler:!1},YE={readContext:St,useCallback:Py,useContext:St,useEffect:zd,useImperativeHandle:Ey,useInsertionEffect:wy,useLayoutEffect:Sy,useMemo:by,useReducer:tu,useRef:xy,useState:function(){return tu(Os)},useDebugValue:Bd,useDeferredValue:function(e){var t=Ct();return Se===null?t.memoizedState=e:Ty(t,Se.memoizedState,e)},useTransition:function(){var e=tu(Os)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:fy,useSyncExternalStore:py,useId:ky,unstable_isNewReconciler:!1};function bt(e,t){if(e&&e.defaultProps){t=fe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function fc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:fe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return(e=e._reactInternals)?_r(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=Bn(e),s=rn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Vn(e,s,o),t!==null&&(Mt(t,e,o,r),Xi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=Bn(e),s=rn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Vn(e,s,o),t!==null&&(Mt(t,e,o,r),Xi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Bn(e),o=rn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Vn(e,o,r),t!==null&&(Mt(t,e,r,n),Xi(t,e,r))}};function ch(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!_s(n,r)||!_s(o,s):!0}function My(e,t,n){var r=!1,o=Kn,s=t.contextType;return typeof s=="object"&&s!==null?s=St(s):(o=et(t)?xr:Fe.current,r=t.contextTypes,s=(r=r!=null)?wo(e,o):Kn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function dh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ol.enqueueReplaceState(t,t.state,null)}function pc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Dd(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=St(s):(s=et(t)?xr:Fe.current,o.context=wo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(fc(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ol.enqueueReplaceState(o,o.state,null),Ta(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Po(e,t){try{var n="",r=t;do n+=EC(r),r=r.return;while(r);var o=n}catch(s){o=` 40Error generating stack: `+s.message+` 41`+s.stack}return{value:e,source:t,stack:o,digest:null}}function nu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function hc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var XE=typeof WeakMap=="function"?WeakMap:Map;function Ny(e,t,n){n=rn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ma||(Ma=!0,Pc=r),hc(e,t)},n}function Dy(e,t,n){n=rn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){hc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){hc(e,t),typeof r!="function"&&(zn===null?zn=new Set([this]):zn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function fh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new XE;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=cP.bind(null,e,t,n),t.then(e,e))}function ph(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hh(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=rn(-1,1),t.tag=2,Vn(n,t,1))),n.lanes|=1),e)}var qE=hn.ReactCurrentOwner,Ze=!1;function Ue(e,t,n,r){t.child=e===null?ly(t,null,n,r):Co(t,e.child,n,r)}function mh(e,t,n,r,o){n=n.render;var s=t.ref;return ro(t,o),r=Fd(e,t,n,r,s,o),n=Vd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cn(e,t,o)):(le&&n&&Td(t),t.flags|=1,Ue(e,t,r,o),t.child)}function gh(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!Yd(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,jy(e,t,s,r,o)):(e=na(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:_s,n(i,r)&&e.ref===t.ref)return cn(e,t,o)}return t.flags|=1,e=$n(s,r),e.ref=t.ref,e.return=t,t.child=e}function jy(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(_s(s,r)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Ze=!0);else return t.lanes=e.lanes,cn(e,t,o)}return mc(e,t,n,r,o)}function Oy(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(Gr,rt),rt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(Gr,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,re(Gr,rt),rt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,re(Gr,rt),rt|=r;return Ue(e,t,o,n),t.child}function Ly(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 8,359 bytes, line 41
41function mc(e,t,n,r,o){var s=et(n)?xr:Fe.current;return s=wo(t,s),ro(t,o),n=Fd(e,t,n,r,s,o),r=Vd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cn(e,t,o)):(le&&r&&Td(t),t.flags|=1,Ue(e,t,n,o),t.child)}function vh(e,t,n,r,o){if(et(n)){var s=!0;Sa(t)}else s=!1;if(ro(t,o),t.stateNode===null)Ji(e,t),My(t,n,r),pc(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=St(u):(u=et(n)?xr:Fe.current,u=wo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==u)&&dh(t,i,r,u),bn=!1;var f=t.memoizedState;i.state=f,Ta(t,r,i,o),l=t.memoizedState,a!==r||f!==l||Je.current||bn?(typeof c=="function"&&(fc(t,n,c,r),l=t.memoizedState),(a=bn||ch(t,n,a,r,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,cy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:bt(t.type,a),i.props=u,d=t.pendingProps,f=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=St(l):(l=et(n)?xr:Fe.current,l=wo(t,l));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==d||f!==l)&&dh(t,i,r,l),bn=!1,f=t.memoizedState,i.state=f,Ta(t,r,i,o);var x=t.memoizedState;a!==d||f!==x||Je.current||bn?(typeof y=="function"&&(fc(t,n,y,r),x=t.memoizedState),(u=bn||ch(t,n,u,r,f,x,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,x,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,x,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),i.props=r,i.state=x,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return gc(e,t,n,r,s,o)}function gc(e,t,n,r,o,s){Ly(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&nh(t,n,!1),cn(e,t,s);r=t.stateNode,qE.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Co(t,e.child,null,s),t.child=Co(t,null,a,s)):Ue(e,t,a,s),t.memoizedState=r.state,o&&nh(t,n,!0),t.child}function Iy(e){var t=e.stateNode;t.pendingContext?th(e,t.pendingContext,t.pendingContext!==t.context):t.context&&th(e,t.context,!1),jd(e,t.containerInfo)}function yh(e,t,n,r,o){return So(),_d(o),t.flags|=256,Ue(e,t,n,r),t.child}var vc={dehydrated:null,treeContext:null,retryLane:0};function yc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fy(e,t,n){var r=t.pendingProps,o=ue.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),re(ue,o&1),e===null)return cc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=al(i,r,0,null),e=vr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=yc(n),t.memoizedState=vc,e):$d(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return ZE(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=$n(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=$n(a,s):(s=vr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?yc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=vc,r}return s=e.child,e=s.sibling,r=$n(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function $d(e,t){return t=al({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function _i(e,t,n,r){return r!==null&&_d(r),Co(t,e.child,null,n),e=$d(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ZE(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=nu(Error(M(422))),_i(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=al({mode:"visible",children:r.children},o,0,null),s=vr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Co(t,e.child,null,i),t.child.memoizedState=yc(i),t.memoizedState=vc,s);if(!(t.mode&1))return _i(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=nu(s,r,void 0),_i(e,t,i,r)}if(a=(i&e.childLanes)!==0,Ze||a){if(r=Pe,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,un(e,o),Mt(r,e,o,-1))}return Qd(),r=nu(Error(M(421))),_i(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=dP.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,st=Fn(o.nextSibling),it=t,le=!0,Rt=null,e!==null&&(gt[vt++]=en,gt[vt++]=tn,gt[vt++]=wr,en=e.id,tn=e.overflow,wr=t),t=$d(t,r.children),t.flags|=4096,t)}function xh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),dc(e.return,t,n)}function ru(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Vy(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Ue(e,t,r.children,n),r=ue.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xh(e,n,t);else if(e.tag===19)xh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(re(ue,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ka(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ru(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ka(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ru(t,!0,n,null,s);break;case"together":ru(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ji(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Cr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=$n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}
vendor: 4,565 bytes, line 41
41function JE(e,t,n){switch(t.tag){case 3:Iy(t),So();break;case 5:dy(t);break;case 1:et(t.type)&&Sa(t);break;case 4:jd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(Pa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ue,ue.current&1),t.flags|=128,null):n&t.child.childLanes?Fy(e,t,n):(re(ue,ue.current&1),e=cn(e,t,n),e!==null?e.sibling:null);re(ue,ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Vy(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ue,ue.current),r)break;return null;case 22:case 23:return t.lanes=0,Oy(e,t,n)}return cn(e,t,n)}var zy,xc,By,$y;zy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};xc=function(){};By=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,cr(Wt.current);var s=null;switch(n){case"input":o=Bu(e,o),r=Bu(e,r),s=[];break;case"select":o=fe({},o,{value:void 0}),r=fe({},r,{value:void 0}),s=[];break;case"textarea":o=Wu(e,o),r=Wu(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xa)}Ku(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ss.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ss.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};$y=function(e,t,n,r){n!==r&&(t.flags|=4)};function Qo(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function eP(e,t,n){var r=t.pendingProps;switch(kd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return et(t.type)&&wa(),Ne(t),null;case 3:return r=t.stateNode,Eo(),ie(Je),ie(Fe),Ld(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ti(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Rt!==null&&(kc(Rt),Rt=null))),xc(e,t),Ne(t),null;case 5:Od(t);var o=cr(Ds.current);if(n=t.type,e!==null&&t.stateNode!=null)By(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ne(t),null}if(e=cr(Wt.current),Ti(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Bt]=t,r[Ms]=s,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(o=0;o<ns.length;o++)se(ns[o],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":_p(r,s),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},se("invalid",r);break;case"textarea":Ap(r,s),se("invalid",r)}Ku(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];
vendor: 28,864 bytes, line 41
41i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&bi(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&bi(r.textContent,a,e),o=["children",""+a]):Ss.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&se("scroll",r)}switch(n){case"input":vi(r),Rp(r,s,!0);break;case"textarea":vi(r),Mp(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=xa)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gv(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Bt]=t,e[Ms]=r,zy(e,t,!1,!1),t.stateNode=e;e:{switch(i=Gu(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;o<ns.length;o++)se(ns[o],e);o=r;break;case"source":se("error",e),o=r;break;case"img":case"image":case"link":se("error",e),se("load",e),o=r;break;case"details":se("toggle",e),o=r;break;case"input":_p(e,r),o=Bu(e,r),se("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=fe({},r,{value:void 0}),se("invalid",e);break;case"textarea":Ap(e,r),o=Wu(e,r),se("invalid",e);break;default:o=r}Ku(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?xv(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&vv(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Cs(e,l):typeof l=="number"&&Cs(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Ss.hasOwnProperty(s)?l!=null&&s==="onScroll"&&se("scroll",e):l!=null&&fd(e,s,l,i))}switch(n){case"input":vi(e),Rp(e,r,!1);break;case"textarea":vi(e),Mp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Hn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Jr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Jr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=xa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ne(t),null;case 6:if(e&&t.stateNode!=null)$y(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=cr(Ds.current),cr(Wt.current),Ti(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bt]=t,(s=r.nodeValue!==n)&&(e=it,e!==null))switch(e.tag){case 3:bi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bi(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bt]=t,t.stateNode=r}return Ne(t),null;case 13:if(ie(ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&st!==null&&t.mode&1&&!(t.flags&128))iy(),So(),t.flags|=98560,s=!1;else if(s=Ti(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[Bt]=t}else So(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ne(t),s=!1}else Rt!==null&&(kc(Rt),Rt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ue.current&1?Ce===0&&(Ce=3):Qd())),t.updateQueue!==null&&(t.flags|=4),Ne(t),null);case 4:return Eo(),xc(e,t),e===null&&Rs(t.stateNode.containerInfo),Ne(t),null;case 10:return Md(t.type._context),Ne(t),null;case 17:return et(t.type)&&wa(),Ne(t),null;case 19:if(ie(ue),s=t.memoizedState,s===null)return Ne(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Qo(s,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=ka(e),i!==null){for(t.flags|=128,Qo(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(ue,ue.current&1|2),t.child}e=e.sibling}s.tail!==null&&ve()>bo&&(t.flags|=128,r=!0,Qo(s,!1),t.lanes=4194304)}else{if(!r)if(e=ka(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Qo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!le)return Ne(t),null}else 2*ve()-s.renderingStartTime>bo&&n!==1073741824&&(t.flags|=128,r=!0,Qo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ve(),t.sibling=null,n=ue.current,re(ue,r?n&1|2:n&1),t):(Ne(t),null);case 22:case 23:return Gd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rt&1073741824&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function tP(e,t){switch(kd(t),t.tag){case 1:return et(t.type)&&wa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eo(),ie(Je),ie(Fe),Ld(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Od(t),null;case 13:if(ie(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));So()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ue),null;case 4:return Eo(),null;case 10:return Md(t.type._context),null;case 22:case 23:return Gd(),null;case 24:return null;default:return null}}var Ri=!1,Oe=!1,nP=typeof WeakSet=="function"?WeakSet:Set,L=null;function Kr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function wc(e,t,n){try{n()}catch(r){me(e,t,r)}}var wh=!1;function rP(e,t){if(rc=ga,e=Gv(),bd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(a=i+o),d!==s||r!==0&&d.nodeType!==3||(l=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)f=d,d=y;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=i),f===s&&++c===r&&(l=i),(y=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(oc={focusedElem:e,selectionRange:n},ga=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,S=x.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:bt(t.type,v),S);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(C){me(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return x=wh,wh=!1,x}function hs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&wc(t,n,s)}o=o.next}while(o!==r)}}function sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Sc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Uy(e){var t=e.alternate;t!==null&&(e.alternate=null,Uy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[Ms],delete t[ac],delete t[VE],delete t[zE])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Wy(e){return e.tag===5||e.tag===3||e.tag===4}function Sh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xa));else if(r!==4&&(e=e.child,e!==null))for(Cc(e,t,n),e=e.sibling;e!==null;)Cc(e,t,n),e=e.sibling}function Ec(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ec(e,t,n),e=e.sibling;e!==null;)Ec(e,t,n),e=e.sibling}var be=null,_t=!1;function vn(e,t,n){for(n=n.child;n!==null;)Hy(e,t,n),n=n.sibling}function Hy(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(qa,n)}catch{}switch(n.tag){case 5:Oe||Kr(n,t);case 6:var r=be,o=_t;be=null,vn(e,t,n),be=r,_t=o,be!==null&&(_t?(e=be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):be.removeChild(n.stateNode));break;case 18:be!==null&&(_t?(e=be,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),Ts(e)):Xl(be,n.stateNode));break;case 4:r=be,o=_t,be=n.stateNode.containerInfo,_t=!0,vn(e,t,n),be=r,_t=o;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&wc(n,t,i),o=o.next}while(o!==r)}vn(e,t,n);break;case 1:if(!Oe&&(Kr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){me(n,t,a)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,vn(e,t,n),Oe=r):vn(e,t,n);break;default:vn(e,t,n)}}function Ch(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new nP),t.forEach(function(r){var o=fP.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:be=a.stateNode,_t=!1;break e;case 3:be=a.stateNode.containerInfo,_t=!0;break e;case 4:be=a.stateNode.containerInfo,_t=!0;break e}a=a.return}if(be===null)throw Error(M(160));Hy(s,i,o),be=null,_t=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){me(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ky(t,e),t=t.sibling}function Ky(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),Lt(e),r&4){try{hs(3,e,e.return),sl(3,e)}catch(v){me(e,e.return,v)}try{hs(5,e,e.return)}catch(v){me(e,e.return,v)}}break;case 1:Et(t,e),Lt(e),r&512&&n!==null&&Kr(n,n.return);break;case 5:if(Et(t,e),Lt(e),r&512&&n!==null&&Kr(n,n.return),e.flags&32){var o=e.stateNode;try{Cs(o,"")}catch(v){me(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&hv(o,s),Gu(a,i);var u=Gu(a,s);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?xv(o,d):c==="dangerouslySetInnerHTML"?vv(o,d):c==="children"?Cs(o,d):fd(o,c,d,u)}switch(a){case"input":$u(o,s);break;case"textarea":mv(o,s);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var y=s.value;y!=null?Jr(o,!!s.multiple,y,!1):f!==!!s.multiple&&(s.defaultValue!=null?Jr(o,!!s.multiple,s.defaultValue,!0):Jr(o,!!s.multiple,s.multiple?[]:"",!1))}o[Ms]=s}catch(v){me(e,e.return,v)}}break;case 6:if(Et(t,e),Lt(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(v){me(e,e.return,v)}}break;case 3:if(Et(t,e),Lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ts(t.containerInfo)}catch(v){me(e,e.return,v)}break;case 4:Et(t,e),Lt(e);break;case 13:Et(t,e),Lt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(Hd=ve())),r&4&&Ch(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Oe=(u=Oe)||c,Et(t,e),Oe=u):Et(t,e),Lt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(L=e,c=e.child;c!==null;){for(d=L=c;L!==null;){switch(f=L,y=f.child,f.tag){case 0:case 11:case 14:case 15:hs(4,f,f.return);break;case 1:Kr(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){me(r,n,v)}}break;case 5:Kr(f,f.return);break;case 22:if(f.memoizedState!==null){Ph(d);continue}}y!==null?(y.return=f,L=y):Ph(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=yv("display",i))}catch(v){me(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){me(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Et(t,e),Lt(e),r&4&&Ch(e);break;case 21:break;default:Et(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Wy(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Cs(o,""),r.flags&=-33);var s=Sh(e);Ec(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Sh(e);Cc(e,a,i);break;default:throw Error(M(161))}}catch(l){me(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function oP(e,t,n){L=e,Gy(e)}function Gy(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var o=L,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Ri;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Oe;a=Ri;var u=Oe;if(Ri=i,(Oe=l)&&!u)for(L=o;L!==null;)i=L,l=i.child,i.tag===22&&i.memoizedState!==null?bh(o):l!==null?(l.return=i,L=l):bh(o);for(;s!==null;)L=s,Gy(s),s=s.sibling;L=o,Ri=a,Oe=u}Eh(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,L=s):Eh(e)}}function Eh(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Oe||sl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Oe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:bt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&ah(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ah(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Ts(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Oe||t.flags&512&&Sc(t)}catch(f){me(t,t.return,f)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Ph(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function bh(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{sl(4,t)}catch(l){me(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){me(t,o,l)}}var s=t.return;try{Sc(t)}catch(l){me(t,s,l)}break;case 5:var i=t.return;try{Sc(t)}catch(l){me(t,i,l)}}}catch(l){me(t,t.return,l)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var sP=Math.ceil,Aa=hn.ReactCurrentDispatcher,Ud=hn.ReactCurrentOwner,xt=hn.ReactCurrentBatchConfig,q=0,Pe=null,xe=null,ke=0,rt=0,Gr=er(0),Ce=0,Is=null,Cr=0,il=0,Wd=0,ms=null,qe=null,Hd=0,bo=1/0,Zt=null,Ma=!1,Pc=null,zn=null,Ai=!1,jn=null,Na=0,gs=0,bc=null,ea=-1,ta=0;function He(){return q&6?ve():ea!==-1?ea:ea=ve()}function Bn(e){return e.mode&1?q&2&&ke!==0?ke&-ke:$E.transition!==null?(ta===0&&(ta=Mv()),ta):(e=te,e!==0||(e=window.event,e=e===void 0?16:Fv(e.type)),e):1}function Mt(e,t,n,r){if(50<gs)throw gs=0,bc=null,Error(M(185));qs(e,n,r),(!(q&2)||e!==Pe)&&(e===Pe&&(!(q&2)&&(il|=n),Ce===4&&kn(e,ke)),tt(e,r),n===1&&q===0&&!(t.mode&1)&&(bo=ve()+500,nl&&tr()))}function tt(e,t){var n=e.callbackNode;$C(e,t);var r=ma(e,e===Pe?ke:0);if(r===0)n!==null&&jp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&jp(n),t===1)e.tag===0?BE(Th.bind(null,e)):ry(Th.bind(null,e)),IE(function(){!(q&6)&&tr()}),n=null;else{switch(Nv(r)){case 1:n=vd;break;case 4:n=Rv;break;case 16:n=ha;break;case 536870912:n=Av;break;default:n=ha}n=t0(n,Qy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Qy(e,t){if(ea=-1,ta=0,q&6)throw Error(M(327));var n=e.callbackNode;if(oo()&&e.callbackNode!==n)return null;var r=ma(e,e===Pe?ke:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Da(e,r);else{t=r;var o=q;q|=2;var s=Xy();(Pe!==e||ke!==t)&&(Zt=null,bo=ve()+500,gr(e,t));do try{lP();break}catch(a){Yy(e,a)}while(!0);Ad(),Aa.current=s,q=o,xe!==null?t=0:(Pe=null,ke=0,t=Ce)}if(t!==0){if(t===2&&(o=Zu(e),o!==0&&(r=o,t=Tc(e,o))),t===1)throw n=Is,gr(e,0),kn(e,r),tt(e,ve()),n;if(t===6)kn(e,r);else{if(o=e.current.alternate,!(r&30)&&!iP(o)&&(t=Da(e,r),t===2&&(s=Zu(e),s!==0&&(r=s,t=Tc(e,s))),t===1))throw n=Is,gr(e,0),kn(e,r),tt(e,ve()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:sr(e,qe,Zt);break;case 3:if(kn(e,r),(r&130023424)===r&&(t=Hd+500-ve(),10<t)){if(ma(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ic(sr.bind(null,e,qe,Zt),t);break}sr(e,qe,Zt);break;case 4:if(kn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-At(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sP(r/1960))-r,10<r){e.timeoutHandle=ic(sr.bind(null,e,qe,Zt),r);break}sr(e,qe,Zt);break;case 5:sr(e,qe,Zt);break;default:throw Error(M(329))}}}return tt(e,ve()),e.callbackNode===n?Qy.bind(null,e):null}function Tc(e,t){var n=ms;return e.current.memoizedState.isDehydrated&&(gr(e,t).flags|=256),e=Da(e,t),e!==2&&(t=qe,qe=n,t!==null&&kc(t)),e}function kc(e){qe===null?qe=e:qe.push.apply(qe,e)}function iP(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!Nt(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function kn(e,t){for(t&=~Wd,t&=~il,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-At(t),r=1<<n;e[n]=-1,t&=~r}}function Th(e){if(q&6)throw Error(M(327));oo();var t=ma(e,0);if(!(t&1))return tt(e,ve()),null;var n=Da(e,t);if(e.tag!==0&&n===2){var r=Zu(e);r!==0&&(t=r,n=Tc(e,r))}if(n===1)throw n=Is,gr(e,0),kn(e,t),tt(e,ve()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,sr(e,qe,Zt),tt(e,ve()),null}function Kd(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(bo=ve()+500,nl&&tr())}}function Er(e){jn!==null&&jn.tag===0&&!(q&6)&&oo();var t=q;q|=1;var n=xt.transition,r=te;try{if(xt.transition=null,te=1,e)return e()}finally{te=r,xt.transition=n,q=t,!(q&6)&&tr()}}function Gd(){rt=Gr.current,ie(Gr)}function gr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,LE(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(kd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&wa();break;case 3:Eo(),ie(Je),ie(Fe),Ld();break;case 5:Od(r);break;case 4:Eo();break;case 13:ie(ue);break;case 19:ie(ue);break;case 10:Md(r.type._context);break;case 22:case 23:Gd()}n=n.return}if(Pe=e,xe=e=$n(e.current,null),ke=rt=t,Ce=0,Is=null,Wd=il=Cr=0,qe=ms=null,ur!==null){for(t=0;t<ur.length;t++)if(n=ur[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}ur=null}return e}function Yy(e,t){do{var n=xe;try{if(Ad(),qi.current=Ra,_a){for(var r=de.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}_a=!1}if(Sr=0,Ee=Se=de=null,ps=!1,js=0,Ud.current=null,n===null||n.return===null){Ce=1,Is=t,xe=null;break}e:{var s=e,i=n.return,a=n,l=t;if(t=ke,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var y=ph(i);if(y!==null){y.flags&=-257,hh(y,i,a,s,t),y.mode&1&&fh(s,u,t),t=y,l=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(l),t.updateQueue=v}else x.add(l);break e}else{if(!(t&1)){fh(s,u,t),Qd();break e}l=Error(M(426))}}else if(le&&a.mode&1){var S=ph(i);if(S!==null){!(S.flags&65536)&&(S.flags|=256),hh(S,i,a,s,t),_d(Po(l,a));break e}}s=l=Po(l,a),Ce!==4&&(Ce=2),ms===null?ms=[s]:ms.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=Ny(s,l,t);ih(s,m);break e;case 1:a=l;var g=s.type,w=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(zn===null||!zn.has(w)))){s.flags|=65536,t&=-t,s.lanes|=t;var C=Dy(s,a,t);ih(s,C);break e}}s=s.return}while(s!==null)}Zy(n)}catch(E){t=E,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function Xy(){var e=Aa.current;return Aa.current=Ra,e===null?Ra:e}function Qd(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),Pe===null||!(Cr&268435455)&&!(il&268435455)||kn(Pe,ke)}function Da(e,t){var n=q;q|=2;var r=Xy();(Pe!==e||ke!==t)&&(Zt=null,gr(e,t));do try{aP();break}catch(o){Yy(e,o)}while(!0);if(Ad(),q=n,Aa.current=r,xe!==null)throw Error(M(261));return Pe=null,ke=0,Ce}function aP(){for(;xe!==null;)qy(xe)}function lP(){for(;xe!==null&&!DC();)qy(xe)}function qy(e){var t=e0(e.alternate,e,rt);e.memoizedProps=e.pendingProps,t===null?Zy(e):xe=t,Ud.current=null}function Zy(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=tP(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,xe=null;return}}else if(n=eP(n,t,rt),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Ce===0&&(Ce=5)}function sr(e,t,n){var r=te,o=xt.transition;try{xt.transition=null,te=1,uP(e,t,n,r)}finally{xt.transition=o,te=r}return null}function uP(e,t,n,r){do oo();while(jn!==null);if(q&6)throw Error(M(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(UC(e,s),e===Pe&&(xe=Pe=null,ke=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ai||(Ai=!0,t0(ha,function(){return oo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=xt.transition,xt.transition=null;var i=te;te=1;var a=q;q|=4,Ud.current=null,rP(e,n),Ky(n,e),RE(oc),ga=!!rc,oc=rc=null,e.current=n,oP(n),jC(),q=a,te=i,xt.transition=s}else e.current=n;if(Ai&&(Ai=!1,jn=e,Na=o),s=e.pendingLanes,s===0&&(zn=null),IC(n.stateNode),tt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ma)throw Ma=!1,e=Pc,Pc=null,e;return Na&1&&e.tag!==0&&oo(),s=e.pendingLanes,s&1?e===bc?gs++:(gs=0,bc=e):gs=0,tr(),null}function oo(){if(jn!==null){var e=Nv(Na),t=xt.transition,n=te;try{if(xt.transition=null,te=16>e?16:e,jn===null)var r=!1;else{if(e=jn,jn=null,Na=0,q&6)throw Error(M(331));var o=q;for(q|=4,L=e.current;L!==null;){var s=L,i=s.child;if(L.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(L=u;L!==null;){var c=L;switch(c.tag){case 0:case 11:case 15:hs(8,c,s)}var d=c.child;if(d!==null)d.return=c,L=d;else for(;L!==null;){c=L;var f=c.sibling,y=c.return;if(Uy(c),c===u){L=null;break}if(f!==null){f.return=y,L=f;break}L=y}}}var x=s.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}L=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,L=i;else e:for(;L!==null;){if(s=L,s.flags&2048)switch(s.tag){case 0:case 11:case 15:hs(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,L=m;break e}L=s.return}}var g=e.current;for(L=g;L!==null;){i=L;var w=i.child;if(i.subtreeFlags&2064&&w!==null)w.return=i,L=w;else e:for(i=g;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:sl(9,a)}}catch(E){me(a,a.return,E)}if(a===i){L=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,L=C;break e}L=a.return}}if(q=o,tr(),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(qa,e)}catch{}r=!0}return r}finally{te=n,xt.transition=t}}return!1}function kh(e,t,n){t=Po(n,t),t=Ny(e,t,1),e=Vn(e,t,1),t=He(),e!==null&&(qs(e,1,t),tt(e,t))}function me(e,t,n){if(e.tag===3)kh(e,e,n);else for(;t!==null;){if(t.tag===3){kh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(zn===null||!zn.has(r))){e=Po(n,e),e=Dy(t,e,1),t=Vn(t,e,1),e=He(),t!==null&&(qs(t,1,e),tt(t,e));break}}t=t.return}}function cP(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(ke&n)===n&&(Ce===4||Ce===3&&(ke&130023424)===ke&&500>ve()-Hd?gr(e,0):Wd|=n),tt(e,t)}function Jy(e,t){t===0&&(e.mode&1?(t=wi,wi<<=1,!(wi&130023424)&&(wi=4194304)):t=1);var n=He();e=un(e,t),e!==null&&(qs(e,t,n),tt(e,n))}function dP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jy(e,n)}function fP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Jy(e,n)}var e0;e0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Ze=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ze=!1,JE(e,t,n);Ze=!!(e.flags&131072)}else Ze=!1,le&&t.flags&1048576&&oy(t,Ea,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ji(e,t),e=t.pendingProps;var o=wo(t,Fe.current);ro(t,n),o=Fd(null,t,r,e,o,n);var s=Vd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,et(r)?(s=!0,Sa(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Dd(t),o.updater=ol,t.stateNode=o,o._reactInternals=t,pc(t,r,e,n),t=gc(null,t,r,!0,s,n)):(t.tag=0,le&&s&&Td(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ji(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=hP(r),e=bt(r,e),o){case 0:t=mc(null,t,r,e,n);break e;case 1:t=vh(null,t,r,e,n);break e;case 11:t=mh(null,t,r,e,n);break e;case 14:t=gh(null,t,r,bt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),mc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),vh(e,t,r,o,n);case 3:e:{if(Iy(t),e===null)throw Error(M(387));
vendor: 12,677 bytes, line 41
41r=t.pendingProps,s=t.memoizedState,o=s.element,cy(e,t),Ta(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=Po(Error(M(423)),t),t=yh(e,t,r,n,o);break e}else if(r!==o){o=Po(Error(M(424)),t),t=yh(e,t,r,n,o);break e}else for(st=Fn(t.stateNode.containerInfo.firstChild),it=t,le=!0,Rt=null,n=ly(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(So(),r===o){t=cn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return dy(t),e===null&&cc(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,sc(r,o)?i=null:s!==null&&sc(r,s)&&(t.flags|=32),Ly(e,t),Ue(e,t,i,n),t.child;case 6:return e===null&&cc(t),null;case 13:return Fy(e,t,n);case 4:return jd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Co(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),mh(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,re(Pa,r._currentValue),r._currentValue=i,s!==null)if(Nt(s.value,i)){if(s.children===o.children&&!Je.current){t=cn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=rn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),dc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(M(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),dc(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ro(t,n),o=St(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=bt(r,t.pendingProps),o=bt(r.type,o),gh(e,t,r,o,n);case 15:return jy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bt(r,o),Ji(e,t),t.tag=1,et(r)?(e=!0,Sa(t)):e=!1,ro(t,n),My(t,r,o),pc(t,r,o,n),gc(null,t,r,!0,e,n);case 19:return Vy(e,t,n);case 22:return Oy(e,t,n)}throw Error(M(156,t.tag))};function t0(e,t){return _v(e,t)}function pP(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yt(e,t,n,r){return new pP(e,t,n,r)}function Yd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hP(e){if(typeof e=="function")return Yd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hd)return 11;if(e===md)return 14}return 2}function $n(e,t){var n=e.alternate;return n===null?(n=yt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function na(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")Yd(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ir:return vr(n.children,o,s,t);case pd:i=8,o|=8;break;case Iu:return e=yt(12,n,t,o|2),e.elementType=Iu,e.lanes=s,e;case Fu:return e=yt(13,n,t,o),e.elementType=Fu,e.lanes=s,e;case Vu:return e=yt(19,n,t,o),e.elementType=Vu,e.lanes=s,e;case dv:return al(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uv:i=10;break e;case cv:i=9;break e;case hd:i=11;break e;case md:i=14;break e;case Pn:i=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=yt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function vr(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function al(e,t,n,r){return e=yt(22,e,r,t),e.elementType=dv,e.lanes=n,e.stateNode={isHidden:!1},e}function ou(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function su(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mP(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Xd(e,t,n,r,o,s,i,a,l){return e=new mP(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dd(s),e}function gP(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Lr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function n0(e){if(!e)return Kn;e=e._reactInternals;e:{if(_r(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(et(n))return ny(e,n,t)}return t}function r0(e,t,n,r,o,s,i,a,l){return e=Xd(n,r,!0,e,o,s,i,a,l),e.context=n0(null),n=e.current,r=He(),o=Bn(n),s=rn(r,o),s.callback=t??null,Vn(n,s,o),e.current.lanes=o,qs(e,o,r),tt(e,r),e}function ll(e,t,n,r){var o=t.current,s=He(),i=Bn(o);return n=n0(n),t.context===null?t.context=n:t.pendingContext=n,t=rn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vn(o,t,i),e!==null&&(Mt(e,o,i,s),Xi(e,o,i)),i}function ja(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function _h(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function qd(e,t){_h(e,t),(e=e.alternate)&&_h(e,t)}function vP(){return null}var o0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Zd(e){this._internalRoot=e}ul.prototype.render=Zd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));ll(e,t,null,null)};ul.prototype.unmount=Zd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Er(function(){ll(null,e,null,null)}),t[ln]=null}};function ul(e){this._internalRoot=e}ul.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ov();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tn.length&&t!==0&&t<Tn[n].priority;n++);Tn.splice(n,0,e),n===0&&Iv(e)}};function Jd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function cl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Rh(){}function yP(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=ja(i);s.call(u)}}var i=r0(t,r,e,0,null,!1,!1,"",Rh);return e._reactRootContainer=i,e[ln]=i.current,Rs(e.nodeType===8?e.parentNode:e),Er(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=ja(l);a.call(u)}}var l=Xd(e,0,!1,null,null,!1,!1,"",Rh);return e._reactRootContainer=l,e[ln]=l.current,Rs(e.nodeType===8?e.parentNode:e),Er(function(){ll(t,l,n,r)}),l}function dl(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=ja(i);a.call(l)}}ll(t,i,e,o)}else i=yP(n,t,e,o,r);return ja(i)}Dv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ts(t.pendingLanes);n!==0&&(yd(t,n|1),tt(t,ve()),!(q&6)&&(bo=ve()+500,tr()))}break;case 13:Er(function(){var r=un(e,1);if(r!==null){var o=He();Mt(r,e,1,o)}}),qd(e,1)}};xd=function(e){if(e.tag===13){var t=un(e,134217728);if(t!==null){var n=He();Mt(t,e,134217728,n)}qd(e,134217728)}};jv=function(e){if(e.tag===13){var t=Bn(e),n=un(e,t);if(n!==null){var r=He();Mt(n,e,t,r)}qd(e,t)}};Ov=function(){return te};Lv=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Yu=function(e,t,n){switch(t){case"input":if($u(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=tl(r);if(!o)throw Error(M(90));pv(r),$u(r,o)}}}break;case"textarea":mv(e,n);break;case"select":t=n.value,t!=null&&Jr(e,!!n.multiple,t,!1)}};Cv=Kd;Ev=Er;var xP={usingClientEntryPoint:!1,Events:[Js,Br,tl,wv,Sv,Kd]},Yo={findFiberByHostInstance:lr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},wP={bundleType:Yo.bundleType,version:Yo.version,rendererPackageName:Yo.rendererPackageName,rendererConfig:Yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:hn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Tv(e),e===null?null:e.stateNode},findFiberByHostInstance:Yo.findFiberByHostInstance||vP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mi.isDisabled&&Mi.supportsFiber)try{qa=Mi.inject(wP),Ut=Mi}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xP;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jd(t))throw Error(M(200));return gP(e,t,null,n)};ct.createRoot=function(e,t){if(!Jd(e))throw Error(M(299));var n=!1,r="",o=o0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Xd(e,1,!1,null,null,n,!1,r,o),e[ln]=t.current,Rs(e.nodeType===8?e.parentNode:e),new Zd(t)};ct.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Tv(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return Er(e)};ct.hydrate=function(e,t,n){if(!cl(t))throw Error(M(200));return dl(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!Jd(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=o0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=r0(t,null,e,1,n??null,o,!1,s,i),e[ln]=t.current,Rs(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ul(t)};ct.render=function(e,t,n){if(!cl(t))throw Error(M(200));return dl(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!cl(e))throw Error(M(40));return e._reactRootContainer?(Er(function(){dl(null,null,e,!1,function(){e._reactRootContainer=null,e[ln]=null})}),!0):!1};ct.unstable_batchedUpdates=Kd;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!cl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return dl(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function s0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s0)}catch(e){console.error(e)}}
41s0(),sv.exports=ct;var ti=sv.exports;const SP=Kg(ti);var i0,Ah=ti;i0=Ah.createRoot,Ah.hydrateRoot;const CP="modulepreload",EP=function(e){return"/"+e},Mh={},F=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=EP(l),l in Mh)return;Mh[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":CP,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((f,y)=>{d.addEventListener("load",f),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};function PP(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,o,s,i=[],a="",l=e.split("/");for(l[0]||l.shift();o=l.shift();)n=o[0],n==="*"?(i.push(n),a+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=o.indexOf("?",1),s=o.indexOf(".",1),i.push(o.substring(1,~r?r:~s?s:o.length)),a+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(a+=(~r?"?":"")+"\\"+o.substring(s))):a+="/"+o;return{keys:i,pattern:new RegExp("^"+a+(t?"(?=$|/)":"/?$"),"i")}}var a0={exports:{}},l0={};/** 42 * @license React 43 * use-sync-external-store-shim.production.min.js 44 * 45 * Copyright (c) Facebook, Inc. and its affiliates. 46 * 47 * This source code is licensed under the MIT license found in the 48 * LICENSE file in the root directory of this source tree. 49 */var To=p;function bP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var TP=typeof Object.is=="function"?Object.is:bP,kP=To.useState,_P=To.useEffect,RP=To.useLayoutEffect,AP=To.useDebugValue;function MP(e,t){var n=t(),r=kP({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return RP(function(){o.value=n,o.getSnapshot=t,iu(o)&&s({inst:o})},[e,n,t]),_P(function(){return iu(o)&&s({inst:o}),e(function(){iu(o)&&s({inst:o})})},[e]),AP(n),n}function iu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!TP(e,n)}catch{return!0}}function NP(e,t){return t()}var DP=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?NP:MP;l0.useSyncExternalStore=To.useSyncExternalStore!==void 0?To.useSyncExternalStore:DP;a0.exports=l0;var jP=a0.exports;const OP=rv.useInsertionEffect,LP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",IP=LP?p.useLayoutEffect:p.useEffect,FP=OP||IP,u0=e=>{const t=p.useRef([e,(...n)=>t[0](...n)]).current;return FP(()=>{t[0]=e}),t[1]},VP="popstate",ef="pushState",tf="replaceState",zP="hashchange",Nh=[VP,ef,tf,zP],BP=e=>{for(const t of Nh)addEventListener(t,e);return()=>{for(const t of Nh)removeEventListener(t,e)}},c0=(e,t)=>jP.useSyncExternalStore(BP,e,t),$P=()=>location.search,UP=({ssrSearch:e=""}={})=>c0($P,()=>e),Dh=()=>location.pathname,WP=({ssrPath:e}={})=>c0(Dh,e?()=>e:Dh),HP=(e,{replace:t=!1,state:n=null}={})=>history[t?tf:ef](n,"",e),KP=(e={})=>[WP(e),HP],jh=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[jh]>"u"){for(const e of[ef,tf]){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,jh,{value:!0})}const GP=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",d0=(e="")=>e==="/"?"":e,QP=(e,t)=>e[0]==="~"?e.slice(1):d0(t)+e,YP=(e="",t)=>GP(Oh(d0(e)),Oh(t)),Oh=e=>{try{return decodeURI(e)}catch{return e}},f0={hook:KP,searchHook:UP,parser:PP,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},p0=p.createContext(f0),jo=()=>p.useContext(p0),h0={},m0=p.createContext(h0),XP=()=>p.useContext(m0),fl=e=>{const[t,n]=e.hook(e);return[YP(e.base,t),u0((r,o)=>n(QP(r,e.base),o))]},ni=()=>fl(jo()),nf=(e,t,n,r)=>{const{pattern:o,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),i=o.exec(n)||[],[a,...l]=i;return a!==void 0?[!0,(()=>{const u=s!==!1?Object.fromEntries(s.map((d,f)=>[d,l[f]])):i.groups;let c={...l};return u&&Object.assign(c,u),c})(),...r?[a]:[]]:[!1,null]},xL=e=>nf(jo().parser,e,ni()[0]),qP=({children:e,...t})=>{var c,d;const n=jo(),r=t.hook?f0:n;let o=r;const[s,i]=((c=t.ssrPath)==null?void 0:c.split("?"))??[];i&&(t.ssrSearch=i,t.ssrPath=s),t.hrefs=t.hrefs??((d=t.hook)==null?void 0:d.hrefs);let a=p.useRef({}),l=a.current,u=l;for(let f in r){const y=f==="base"?r[f]+(t[f]||""):t[f]||r[f];l===u&&y!==u[f]&&(a.current=u={...u}),u[f]=y,y!==r[f]&&(o=u)}return p.createElement(p0.Provider,{value:o,children:e})},Lh=({children:e,component:t},n)=>t?p.createElement(t,{params:n}):typeof e=="function"?e(n):e,ZP=e=>{let t=p.useRef(h0),n=t.current;for(const r in e)e[r]!==n[r]&&(n=e);return Object.keys(e).length===0&&(n=e),t.current=n},I=({path:e,nest:t,match:n,...r})=>{const o=jo(),[s]=fl(o),[i,a,l]=n??nf(o.parser,e,s,t),u=ZP({...XP(),...a}
49);if(!i)return null;const c=l?p.createElement(qP,{base:l},Lh(r,u)):Lh(r,u);return p.createElement(m0.Provider,{value:u,children:c})},Be=p.forwardRef((e,t)=>{const n=jo(),[r,o]=fl(n),{to:s="",href:i=s,onClick:a,asChild:l,children:u,className:c,replace:d,state:f,...y}=e,x=u0(S=>{S.ctrlKey||S.metaKey||S.altKey||S.shiftKey||S.button!==0||(a==null||a(S),S.defaultPrevented||(S.preventDefault(),o(i,e)))}),v=n.hrefs(i[0]==="~"?i.slice(1):n.base+i,n);return l&&p.isValidElement(u)?p.cloneElement(u,{onClick:x,href:v}):p.createElement("a",{...y,onClick:x,href:v,className:c!=null&&c.call?c(r===i):c,children:u,ref:t})}),g0=e=>Array.isArray(e)?e.flatMap(t=>g0(t&&t.type===p.Fragment?t.props.children:t)):[e],JP=({children:e,location:t})=>{const n=jo(),[r]=fl(n);for(const o of g0(e)){let s=0;if(p.isValidElement(o)&&(s=nf(n.parser,o.props.path,t||r,o.props.nest))[0])return p.cloneElement(o,{match:s})}return null};var pl=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(){}},hl=typeof window>"u"||"Deno"in globalThis;function Tt(){}function eb(e,t){return typeof e=="function"?e(t):e}function tb(e){return typeof e=="number"&&e>=0&&e!==1/0}function nb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ih(e,t){return typeof e=="function"?e(t):e}function rb(e,t){return typeof e=="function"?e(t):e}function Fh(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==rf(i,t.options))return!1}else if(!Vs(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Vh(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Fs(t.options.mutationKey)!==Fs(s))return!1}else if(!Vs(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function rf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fs)(e)}function Fs(e){return JSON.stringify(e,(t,n)=>_c(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Vs(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vs(e[n],t[n])):!1}function v0(e,t){if(e===t)return e;const n=zh(e)&&zh(t);if(n||_c(e)&&_c(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{};let l=0;for(let u=0;u<i;u++){const c=n?u:s[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=v0(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return o===i&&l===o?e:a}return t}function wL(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 zh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _c(e){if(!Bh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Bh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Bh(e){return Object.prototype.toString.call(e)==="[object Object]"}function ob(e){return new Promise(t=>{setTimeout(t,e)})}function sb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?v0(e,t):t}function ib(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function ab(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var of=Symbol();function y0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===of?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var fr,_n,uo,Fg,lb=(Fg=class extends pl{constructor(){super();J(this,fr);J(this,_n);J(this,uo);G(this,uo,t=>{if(!hl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,_n)||this.setEventListener(R(this,uo))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,_n))==null||t.call(this),G(this,_n,void 0))}setEventListener(t){var n;G(this,uo,t),(n=R(this,_n))==null||n.call(this),G(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,fr)!==t&&(G(this,fr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 18,984 bytes, line 49
49this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,fr)=="boolean"?R(this,fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fr=new WeakMap,_n=new WeakMap,uo=new WeakMap,Fg),x0=new lb,co,Rn,fo,Vg,ub=(Vg=class extends pl{constructor(){super();J(this,co,!0);J(this,Rn);J(this,fo);G(this,fo,t=>{if(!hl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){R(this,Rn)||this.setEventListener(R(this,fo))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Rn))==null||t.call(this),G(this,Rn,void 0))}setEventListener(t){var n;G(this,fo,t),(n=R(this,Rn))==null||n.call(this),G(this,Rn,t(this.setOnline.bind(this)))}setOnline(t){R(this,co)!==t&&(G(this,co,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,co)}},co=new WeakMap,Rn=new WeakMap,fo=new WeakMap,Vg),Oa=new ub;function cb(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function db(e){return Math.min(1e3*2**e,3e4)}function w0(e){return(e??"online")==="online"?Oa.isOnline():!0}var S0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function au(e){return e instanceof S0}function C0(e){let t=!1,n=0,r=!1,o;const s=cb(),i=v=>{var S;r||(f(new S0(v)),(S=e.abort)==null||S.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>x0.isFocused()&&(e.networkMode==="always"||Oa.isOnline())&&e.canRun(),c=()=>w0(e.networkMode)&&e.canRun(),d=v=>{var S;r||(r=!0,(S=e.onSuccess)==null||S.call(e,v),o==null||o(),s.resolve(v))},f=v=>{var S;r||(r=!0,(S=e.onError)==null||S.call(e,v),o==null||o(),s.reject(v))},y=()=>new Promise(v=>{var S;o=m=>{(r||u())&&v(m)},(S=e.onPause)==null||S.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),x=()=>{if(r)return;let v;const S=n===0?e.initialPromise:void 0;try{v=S??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(d).catch(m=>{var b;if(r)return;const g=e.retry??(hl?0:3),w=e.retryDelay??db,C=typeof w=="function"?w(n,m):w,E=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!E){f(m);return}n++,(b=e.onFail)==null||b.call(e,n,m),ob(C).then(()=>u()?void 0:y()).then(()=>{t?f(m):x()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():y().then(x),s)}}function fb(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=a=>setTimeout(a,0);const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var We=fb(),pr,zg,E0=(zg=class{constructor(){J(this,pr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tb(this.gcTime)&&G(this,pr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(hl?1/0:5*60*1e3))}clearGcTimeout(){R(this,pr)&&(clearTimeout(R(this,pr)),G(this,pr,void 0))}},pr=new WeakMap,zg),po,ho,mt,De,Qs,hr,kt,qt,Bg,pb=(Bg=class extends E0{constructor(t){super();J(this,kt);J(this,po);J(this,ho);J(this,mt);J(this,De);J(this,Qs);J(this,hr);G(this,hr,!1),G(this,Qs,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,mt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,po,mb(this.options)),this.state=t.state??R(this,po),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,De))==null?void 0:t.promise}setOptions(t){this.options={...R(this,Qs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,mt).remove(this)}setData(t,n){const r=sb(this.state.data,t,this.options);return Ae(this,kt,qt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ae(this,kt,qt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=R(this,De))==null?void 0:r.promise;return(o=R(this,De))==null||o.cancel(t),n?n.then(Tt).catch(Tt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,po))}isActive(){return this.observers.some(t=>rb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===of||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!nb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,De))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,De))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,De)&&(R(this,hr)?R(this,De).cancel({revert:!0}):R(this,De).cancelRetry()),this.scheduleGc()),R(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,kt,qt).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,De))return R(this,De).continueRetry(),R(this,De).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(G(this,hr,!0),r.signal)})},s=()=>{const d=y0(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return o(f),G(this,hr,!1),this.options.persister?this.options.persister(d,f,this):d(f)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(i),(l=this.options.behavior)==null||l.onFetch(i,this),G(this,ho,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=i.fetchOptions)==null?void 0:u.meta))&&Ae(this,kt,qt).call(this,{type:"fetch",meta:(c=i.fetchOptions)==null?void 0:c.meta});const a=d=>{var f,y,x,v;au(d)&&d.silent||Ae(this,kt,qt).call(this,{type:"error",error:d}),au(d)||((y=(f=R(this,mt).config).onError)==null||y.call(f,d,this),(v=(x=R(this,mt).config).onSettled)==null||v.call(x,this.state.data,d,this)),this.scheduleGc()};return G(this,De,C0({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,y,x,v;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(S){a(S);return}(y=(f=R(this,mt).config).onSuccess)==null||y.call(f,d,this),(v=(x=R(this,mt).config).onSettled)==null||v.call(x,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{Ae(this,kt,qt).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{Ae(this,kt,qt).call(this,{type:"pause"})},onContinue:()=>{Ae(this,kt,qt).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),R(this,De).start()}},po=new WeakMap,ho=new WeakMap,mt=new WeakMap,De=new WeakMap,Qs=new WeakMap,hr=new WeakMap,kt=new WeakSet,qt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...hb(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return au(o)&&o.revert&&R(this,ho)?{...R(this,ho),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,mt).notify({query:this,type:"updated",action:t})})},Bg);function hb(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:w0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mb(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 Ft,$g,gb=($g=class extends pl{constructor(t={}){super();J(this,Ft);this.config=t,G(this,Ft,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??rf(o,n);let i=this.get(s);return i||(i=new pb({cache:this,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){R(this,Ft).has(t.queryHash)||(R(this,Ft).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Ft).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Ft).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Ft).get(t)}getAll(){return[...R(this,Ft).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Fh(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Fh(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ft=new WeakMap,$g),Vt,$e,mr,zt,Sn,Ug,vb=(Ug=class extends E0{constructor(t){super();J(this,zt);J(this,Vt);J(this,$e);J(this,mr);this.mutationId=t.mutationId,G(this,$e,t.mutationCache),G(this,Vt,[]),this.state=t.state||yb(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Vt).includes(t)||(R(this,Vt).push(t),this.clearGcTimeout(),R(this,$e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Vt,R(this,Vt).filter(n=>n!==t)),this.scheduleGc(),R(this,$e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Vt).length||(this.state.status==="pending"?this.scheduleGc():R(this,$e).remove(this))}continue(){var t;return((t=R(this,mr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,i,a,l,u,c,d,f,y,x,v,S,m,g,w,C,E,b,T;G(this,mr,C0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,A)=>{Ae(this,zt,Sn).call(this,{type:"failed",failureCount:P,error:A})},onPause:()=>{Ae(this,zt,Sn).call(this,{type:"pause"})},onContinue:()=>{Ae(this,zt,Sn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,$e).canRun(this)}));const n=this.state.status==="pending",r=!R(this,mr).canStart();try{if(!n){Ae(this,zt,Sn).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(o=R(this,$e).config).onMutate)==null?void 0:s.call(o,t,this));const A=await((a=(i=this.options).onMutate)==null?void 0:a.call(i,t));A!==this.state.context&&Ae(this,zt,Sn).call(this,{type:"pending",context:A,variables:t,isPaused:r})}const P=await R(this,mr).start();return await((u=(l=R(this,$e).config).onSuccess)==null?void 0:u.call(l,P,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,P,t,this.state.context)),await((y=(f=R(this,$e).config).onSettled)==null?void 0:y.call(f,P,null,this.state.variables,this.state.context,this)),await((v=(x=this.options).onSettled)==null?void 0:v.call(x,P,null,t,this.state.context)),Ae(this,zt,Sn).call(this,{type:"success",data:P}),P}catch(P){try{throw await((m=(S=R(this,$e).config).onError)==null?void 0:m.call(S,P,t,this.state.context,this)),await((w=(g=this.options).onError)==null?void 0:w.call(g,P,t,this.state.context)),await((E=(C=R(this,$e).config).onSettled)==null?void 0:E.call(C,void 0,P,this.state.variables,this.state.context,this)),await((T=(b=this.options).onSettled)==null?void 0:T.call(b,void 0,P,t,this.state.context)),P}finally{Ae(this,zt,Sn).call(this,{type:"error",error:P})}}finally{R(this,$e).runNext(this)}}},Vt=new WeakMap,$e=new WeakMap,mr=new WeakMap,zt=new WeakSet,Sn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),We.batch(()=>{R(this,Vt).forEach(r=>{r.onMutationUpdate(t)}),R(this,$e).notify({mutation:this,type:"updated",action:t})})},Ug);function yb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var nt,Ys,Wg,xb=(Wg=class extends pl{constructor(t={}){super();J(this,nt);J(this,Ys);this.config=t,G(this,nt,new Map),G(this,Ys,Date.now())}build(t,n,r){const o=new vb({mutationCache:this,mutationId:++hi(this,Ys)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=Ni(t),r=R(this,nt).get(n)??[];r.push(t),R(this,nt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Ni(t);if(R(this,nt).has(n)){const o=(r=R(this,nt).get(n))==null?void 0:r.filter(s=>s!==t);o&&(o.length===0?R(this,nt).delete(n):R(this,nt).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=R(this,nt).get(Ni(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=R(this,nt).get(Ni(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...R(this,nt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Vh(n,r))}findAll(t={}){return this.getAll().filter(n=>Vh(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Tt))))}},nt=new WeakMap,Ys=new WeakMap,Wg);function Ni(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function $h(e){return{onFetch:(t,n)=>{var c,d,f,y,x;const r=t.options,o=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,s=((y=t.state.data)==null?void 0:y.pages)||[],i=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const S=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},m=y0(t.options,t.fetchOptions),g=async(w,C,E)=>{if(v)return Promise.reject();if(C==null&&w.pages.length)return Promise.resolve(w);const b={queryKey:t.queryKey,pageParam:C,direction:E?"backward":"forward",meta:t.options.meta};S(b);const T=await m(b),{maxPages:P}=t.options,A=E?ab:ib;return{pages:A(w.pages,T,P),pageParams:A(w.pageParams,C,P)}};if(o&&s.length){const w=o==="backward",C=w?wb:Uh,E={pages:s,pageParams:i},b=C(r,E);a=await g(E,b,w)}else{const w=e??s.length;do{const C=l===0?i[0]??r.initialPageParam:Uh(r,a);if(l>0&&C==null)break;a=await g(a,C),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>{var v,S;return(S=(v=t.options).persister)==null?void 0:S.call(v,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Uh(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 wb(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var pe,An,Mn,mo,go,Nn,vo,yo,Hg,Sb=(Hg=class{constructor(e={}){J(this,pe);J(this,An);J(this,Mn);J(this,mo);J(this,go);J(this,Nn);J(this,vo);J(this,yo);G(this,pe,e.queryCache||new gb),G(this,An,e.mutationCache||new xb),G(this,Mn,e.defaultOptions||{}),G(this,mo,new Map),G(this,go,new Map),G(this,Nn,0)}mount(){hi(this,Nn)._++,R(this,Nn)===1&&(G(this,vo,x0.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,pe).onFocus())})),G(this,yo,Oa.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,pe).onOnline())})))}unmount(){var e,t;hi(this,Nn)._--,R(this,Nn)===0&&((e=R(this,vo))==null||e.call(this),G(this,vo,void 0),(t=R(this,yo))==null||t.call(this),G(this,yo,void 0))}isFetching(e){return R(this,pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=R(this,pe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Ih(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return R(this,pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=R(this,pe).get(r.queryHash),s=o==null?void 0:o.state.data,i=eb(t,s);if(i!==void 0)return R(this,pe).build(this,r).setData(i,{...n,manual:!0})}
49setQueriesData(e,t,n){return We.batch(()=>R(this,pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,pe);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,pe),r={type:"active",...e};return We.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=We.batch(()=>R(this,pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Tt).catch(Tt)}invalidateQueries(e={},t={}){return We.batch(()=>{if(R(this,pe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=We.batch(()=>R(this,pe).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Tt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Tt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,pe).build(this,t);return n.isStaleByTime(Ih(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Tt).catch(Tt)}fetchInfiniteQuery(e){return e.behavior=$h(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Tt).catch(Tt)}ensureInfiniteQueryData(e){return e.behavior=$h(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Oa.isOnline()?R(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,pe)}getMutationCache(){return R(this,An)}getDefaultOptions(){return R(this,Mn)}setDefaultOptions(e){G(this,Mn,e)}setQueryDefaults(e,t){R(this,mo).set(Fs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,mo).values()];let n={};return t.forEach(r=>{Vs(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){R(this,go).set(Fs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,go).values()];let n={};return t.forEach(r=>{Vs(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Mn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=rf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===of&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Mn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,pe).clear(),R(this,An).clear()}},pe=new WeakMap,An=new WeakMap,Mn=new WeakMap,mo=new WeakMap,go=new WeakMap,Nn=new WeakMap,vo=new WeakMap,yo=new WeakMap,Hg),P0=p.createContext(void 0),SL=e=>{const t=p.useContext(P0);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Cb=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(P0.Provider,{value:e,children:t}));async function b0(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}async function CL(e,t,n){const r=await fetch(t,{method:e,headers:n?{"Content-Type":"application/json"}:{},body:n?JSON.stringify(n):void 0,credentials:"include"});return await b0(r),r}const Eb=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t[0],{credentials:"include"});return e==="returnNull"&&n.status===401?null:(await b0(n),await n.json())},Pb=new Sb({defaultOptions:{queries:{queryFn:Eb({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),bb=1,Tb=1e6;let lu=0;function kb(){return lu=(lu+1)%Number.MAX_SAFE_INTEGER,lu.toString()}const uu=new Map,Wh=e=>{if(uu.has(e))return;const t=setTimeout(()=>{uu.delete(e),vs({type:"REMOVE_TOAST",toastId:e})},Tb);uu.set(e,t)},_b=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,bb)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
49return n?Wh(n):e.toasts.forEach(r=>{Wh(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ra=[];let oa={toasts:[]};function vs(e){oa=_b(oa,e),ra.forEach(t=>{t(oa)})}function Rb({...e}){const t=kb(),n=o=>vs({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>vs({type:"DISMISS_TOAST",toastId:t});return vs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Ab(){const[e,t]=p.useState(oa);return p.useEffect(()=>(ra.push(t),()=>{const n=ra.indexOf(t);n>-1&&ra.splice(n,1)}),[e]),{...e,toast:Rb,dismiss:n=>vs({type:"DISMISS_TOAST",toastId:n})}}function B(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Mb(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ml(...e){return t=>e.forEach(n=>Mb(n,t))}function we(...e){return p.useCallback(ml(...e),e)}function Nb(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:f,children:y,...x}=d,v=(f==null?void 0:f[e][l])||a,S=p.useMemo(()=>x,Object.values(x));return h.jsx(v.Provider,{value:S,children:y})}function c(d,f){const y=(f==null?void 0:f[e][l])||a,x=p.useContext(y);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,c]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Db(o,...t)]}function Db(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Pr=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),s=o.find(Ob);if(s){const i=s.props.children,a=o.map(l=>l===s?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:l);return h.jsx(Rc,{...r,ref:t,children:p.isValidElement(i)?p.cloneElement(i,void 0,a):null})}return h.jsx(Rc,{...r,ref:t,children:n})});Pr.displayName="Slot";var Rc=p.forwardRef((e,t)=>{const{children:n,...r}=e;if(p.isValidElement(n)){const o=Ib(n);return p.cloneElement(n,{...Lb(r,n.props),ref:t?ml(t,o):o})}return p.Children.count(n)>1?p.Children.only(null):null});Rc.displayName="SlotClone";var jb=({children:e})=>h.jsx(h.Fragment,{children:e});function Ob(e){return p.isValidElement(e)&&e.type===jb}function Lb(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{s(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Ib(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function sf(e){const t=e+"CollectionProvider",[n,r]=Nb(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:x,children:v}=y,S=wn.useRef(null),m=wn.useRef(new Map).current;return h.jsx(o,{scope:x,itemMap:m,collectionRef:S,children:v})};i.displayName=t;const a=e+"CollectionSlot",l=wn.forwardRef((y,x)=>{const{scope:v,children:S}=y,m=s(a,v),g=we(x,m.collectionRef);return h.jsx(Pr,{ref:g,children:S})});l.displayName=a;const u=e+"CollectionItemSlot",c="data-radix-collection-item",d=wn.forwardRef((y,x)=>{const{scope:v,children:S,...m}=y,g=wn.useRef(null),w=we(x,g),C=s(u,v);return wn.useEffect(()=>(C.itemMap.set(g,{ref:g,...m}),()=>void C.itemMap.delete(g))),h.jsx(Pr,{[c]:"",ref:w,children:S})});d.displayName=u;function f(y){const x=s(e+"CollectionConsumer",y);return wn.useCallback(()=>{const S=x.collectionRef.current;if(!S)return[];const m=Array.from(S.querySelectorAll(`[${c}]`));return Array.from(x.itemMap.values()).sort((C,E)=>m.indexOf(C.ref.current)-m.indexOf(E.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:l,ItemSlot:d},f,r]}function Fb(e,t){const n=p.createContext(t),r=s=>{const{children:i,...a}=s,l=p.useMemo(()=>a,Object.values(a));return h.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function o(s){const i=p.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function ri(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),l=n.length;n=[...n,i];const u=d=>{var m;const{scope:f,children:y,...x}=d,v=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,S=p.useMemo(()=>x,Object.values(x));return h.jsx(v.Provider,{value:S,children:y})};u.displayName=s+"Provider";function c(d,f){var v;const y=((v=f==null?void 0:f[e])==null?void 0:v[l])||a,x=p.useContext(y);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,c]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Vb(o,...t)]}function Vb(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var zb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ee=zb.reduce((e,t)=>
vendor: 4,232 bytes, line 49
49{const n=p.forwardRef((r,o)=>{const{asChild:s,...i}=r,a=s?Pr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(a,{...i,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function af(e,t){e&&ti.flushSync(()=>e.dispatchEvent(t))}function Ke(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Bb(e,t=globalThis==null?void 0:globalThis.document){const n=Ke(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var $b="DismissableLayer",Ac="dismissableLayer.update",Ub="dismissableLayer.pointerDownOutside",Wb="dismissableLayer.focusOutside",Hh,T0=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gl=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=p.useContext(T0),[c,d]=p.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=p.useState({}),x=we(t,T=>d(T)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(S),g=c?v.indexOf(c):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,C=g>=m,E=Kb(T=>{const P=T.target,A=[...u.branches].some(N=>N.contains(P));!C||A||(o==null||o(T),i==null||i(T),T.defaultPrevented||a==null||a())},f),b=Gb(T=>{const P=T.target;[...u.branches].some(N=>N.contains(P))||(s==null||s(T),i==null||i(T),T.defaultPrevented||a==null||a())},f);return Bb(T=>{g===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),p.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Hh=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Kh(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Hh)}},[c,f,n,u]),p.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Kh())},[c,u]),p.useEffect(()=>{const T=()=>y({});return document.addEventListener(Ac,T),()=>document.removeEventListener(Ac,T)},[]),h.jsx(ee.div,{...l,ref:x,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:B(e.onFocusCapture,b.onFocusCapture),onBlurCapture:B(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:B(e.onPointerDownCapture,E.onPointerDownCapture)})});gl.displayName=$b;var Hb="DismissableLayerBranch",k0=p.forwardRef((e,t)=>{const n=p.useContext(T0),r=p.useRef(null),o=we(t,r);return p.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),h.jsx(ee.div,{...e,ref:o})});k0.displayName=Hb;function Kb(e,t=globalThis==null?void 0:globalThis.document){const n=Ke(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){_0(Ub,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Gb(e,t=globalThis==null?void 0:globalThis.document){const n=Ke(e),r=p.useRef(!1);return p.useEffect(()=>{const o=s=>{s.target&&!r.current&&_0(Wb,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Kh(){const e=new CustomEvent(Ac);document.dispatchEvent(e)}function _0(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?af(o,s):o.dispatchEvent(s)}var Qb=gl,Yb=k0,Gn=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Xb="Portal",vl=p.forwardRef((e,t)=>
49{var a;const{container:n,...r}=e,[o,s]=p.useState(!1);Gn(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?SP.createPortal(h.jsx(ee.div,{...r,ref:t}),i):null});vl.displayName=Xb;function qb(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var mn=e=>{const{present:t,children:n}=e,r=Zb(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),s=we(r.ref,Jb(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:s}):null};mn.displayName="Presence";function Zb(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),s=p.useRef("none"),i=e?"mounted":"unmounted",[a,l]=qb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Di(r.current);s.current=a==="mounted"?u:"none"},[a]),Gn(()=>{const u=r.current,c=o.current;if(c!==e){const f=s.current,y=Di(u);e?l("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Gn(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=y=>{const v=Di(r.current).includes(y.animationName);if(y.target===t&&v&&(l("ANIMATION_END"),!o.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},f=y=>{y.target===t&&(s.current=Di(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Di(e){return(e==null?void 0:e.animationName)||"none"}function Jb(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function oi({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=eT({defaultProp:t,onChange:n}),s=e!==void 0,i=s?e:r,a=Ke(n),l=p.useCallback(u=>{if(s){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else o(u)},[s,e,o,a]);return[i,l]}function eT({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),s=Ke(t);return p.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}var tT="VisuallyHidden",lf=p.forwardRef((e,t)=>h.jsx(ee.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));lf.displayName=tT;var uf="ToastProvider",[cf,nT,rT]=sf("Toast"),[R0,EL]=ri("Toast",[rT]),[oT,yl]=R0(uf),A0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,l]=p.useState(null),[u,c]=p.useState(0),d=p.useRef(!1),f=p.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${uf}\`. Expected non-empty \`string\`.`),h.jsx(cf.Provider,{scope:t,children:h.jsx(oT,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:p.useCallback(()=>c(y=>y+1),[]),onToastRemove:p.useCallback(()=>c(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:i})})};A0.displayName=uf;var M0="ToastViewport",sT=["F8"],Mc="toast.viewportPause",Nc="toast.viewportResume",N0=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=sT,label:o="Notifications ({hotkey})",...s}=e,i=yl(M0,n),a=nT(n),l=p.useRef(null),u=p.useRef(null),c=p.useRef(null),d=p.useRef(null),f=we(t,d,i.onViewportChange),y=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=i.toastCount>0;p.useEffect(()=>{const S=m=>{var w;r.length!==0&&r.every(C=>m[C]||m.code===C)&&((w=d.current)==null||w.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),p.useEffect(()=>{const S=l.current,m=d.current;if(x&&S&&m){const g=()=>{if(!i.isClosePausedRef.current){const b=new CustomEvent(Mc);m.dispatchEvent(b),i.isClosePausedRef.current=!0}},w=()=>
49{if(i.isClosePausedRef.current){const b=new CustomEvent(Nc);m.dispatchEvent(b),i.isClosePausedRef.current=!1}},C=b=>{!S.contains(b.relatedTarget)&&w()},E=()=>{S.contains(document.activeElement)||w()};return S.addEventListener("focusin",g),S.addEventListener("focusout",C),S.addEventListener("pointermove",g),S.addEventListener("pointerleave",E),window.addEventListener("blur",g),window.addEventListener("focus",w),()=>{S.removeEventListener("focusin",g),S.removeEventListener("focusout",C),S.removeEventListener("pointermove",g),S.removeEventListener("pointerleave",E),window.removeEventListener("blur",g),window.removeEventListener("focus",w)}}},[x,i.isClosePausedRef]);const v=p.useCallback(({tabbingDirection:S})=>{const g=a().map(w=>{const C=w.ref.current,E=[C,...yT(C)];return S==="forwards"?E:E.reverse()});return(S==="forwards"?g.reverse():g).flat()},[a]);return p.useEffect(()=>{const S=d.current;if(S){const m=g=>{var E,b,T;const w=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!w){const P=document.activeElement,A=g.shiftKey;if(g.target===S&&A){(E=u.current)==null||E.focus();return}const O=v({tabbingDirection:A?"backwards":"forwards"}),H=O.findIndex(D=>D===P);cu(O.slice(H+1))?g.preventDefault():A?(b=u.current)==null||b.focus():(T=c.current)==null||T.focus()}};return S.addEventListener("keydown",m),()=>S.removeEventListener("keydown",m)}},[a,v]),h.jsxs(Yb,{ref:l,role:"region","aria-label":o.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&h.jsx(Dc,{ref:u,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"forwards"});cu(S)}}),h.jsx(cf.Slot,{scope:n,children:h.jsx(ee.ol,{tabIndex:-1,...s,ref:f})}),x&&h.jsx(Dc,{ref:c,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"backwards"});cu(S)}})]})});N0.displayName=M0;var D0="ToastFocusProxy",Dc=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=yl(D0,n);return h.jsx(lf,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Dc.displayName=D0;var xl="Toast",iT="toast.swipeStart",aT="toast.swipeMove",lT="toast.swipeCancel",uT="toast.swipeEnd",j0=p.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a=!0,l]=oi({prop:r,defaultProp:o,onChange:s});return h.jsx(mn,{present:n||a,children:h.jsx(fT,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Ke(e.onPause),onResume:Ke(e.onResume),onSwipeStart:B(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:B(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:B(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:B(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});j0.displayName=xl;var[cT,dT]=R0(xl,{onClose(){}}),fT=p.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:y,...x}=e,v=yl(xl,n),[S,m]=p.useState(null),g=we(t,D=>m(D)),w=p.useRef(null),C=p.useRef(null),E=o||v.duration,b=p.useRef(0),T=p.useRef(E),P=p.useRef(0),{onToastAdd:A,onToastRemove:N}=v,V=Ke(()=>{var Y;(S==null?void 0:S.contains(document.activeElement))&&((Y=v.viewport)==null||Y.focus()),i()}),O=p.useCallback(D=>
49{!D||D===1/0||(window.clearTimeout(P.current),b.current=new Date().getTime(),P.current=window.setTimeout(V,D))},[V]);p.useEffect(()=>{const D=v.viewport;if(D){const Y=()=>{O(T.current),u==null||u()},W=()=>{const $=new Date().getTime()-b.current;T.current=T.current-$,window.clearTimeout(P.current),l==null||l()};return D.addEventListener(Mc,W),D.addEventListener(Nc,Y),()=>{D.removeEventListener(Mc,W),D.removeEventListener(Nc,Y)}}},[v.viewport,E,l,u,O]),p.useEffect(()=>{s&&!v.isClosePausedRef.current&&O(E)},[s,E,v.isClosePausedRef,O]),p.useEffect(()=>(A(),()=>N()),[A,N]);const H=p.useMemo(()=>S?B0(S):null,[S]);return v.viewport?h.jsxs(h.Fragment,{children:[H&&h.jsx(pT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),h.jsx(cT,{scope:n,onClose:V,children:ti.createPortal(h.jsx(cf.ItemSlot,{scope:n,children:h.jsx(Qb,{asChild:!0,onEscapeKeyDown:B(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||V(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:h.jsx(ee.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:B(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:B(e.onPointerDown,D=>{D.button===0&&(w.current={x:D.clientX,y:D.clientY})}),onPointerMove:B(e.onPointerMove,D=>{if(!w.current)return;const Y=D.clientX-w.current.x,W=D.clientY-w.current.y,$=!!C.current,k=["left","right"].includes(v.swipeDirection),_=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,j=k?_(0,Y):0,U=k?0:_(0,W),X=D.pointerType==="touch"?10:2,Ve={x:j,y:U},Re={originalEvent:D,delta:Ve};$?(C.current=Ve,ji(aT,d,Re,{discrete:!1})):Gh(Ve,v.swipeDirection,X)?(C.current=Ve,ji(iT,c,Re,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(Y)>X||Math.abs(W)>X)&&(w.current=null)}),onPointerUp:B(e.onPointerUp,D=>{const Y=C.current,W=D.target;if(W.hasPointerCapture(D.pointerId)&&W.releasePointerCapture(D.pointerId),C.current=null,w.current=null,Y){const $=D.currentTarget,k={originalEvent:D,delta:Y};Gh(Y,v.swipeDirection,v.swipeThreshold)?ji(uT,y,k,{discrete:!0}):ji(lT,f,k,{discrete:!0}),$.addEventListener("click",_=>_.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),pT=e=>{const{__scopeToast:t,children:n,...r}=e,o=yl(xl,t),[s,i]=p.useState(!1),[a,l]=p.useState(!1);return gT(()=>i(!0)),p.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:h.jsx(vl,{asChild:!0,children:h.jsx(lf,{...r,children:s&&h.jsxs(h.Fragment,{children:[o.label," ",n]})})})},hT="ToastTitle",O0=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.jsx(ee.div,{...r,ref:t})});O0.displayName=hT;var mT="ToastDescription",L0=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.jsx(ee.div,{...r,ref:t})});L0.displayName=mT;var I0="ToastAction",F0=p.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?h.jsx(z0,{altText:n,asChild:!0,children:h.jsx(df,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${I0}\`. Expected non-empty \`string\`.`),null)});F0.displayName=I0;var V0="ToastClose",df=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=dT(V0,n);return h.jsx(z0,{asChild:!0,children:h.jsx(ee.button,{type:"button",...r,ref:t,onClick:B(e.onClick,o.onClose)})})});df.displayName=V0;var z0=p.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return h.jsx(ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function B0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),vT(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...B0(r))}}),t}function ji(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?af(o,s):o.dispatchEvent(s)}var Gh=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function gT(e=()=>{}){const t=Ke(e);Gn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}
vendor: 7,050 bytes, lines 49-129
49function vT(e){return e.nodeType===e.ELEMENT_NODE}function yT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function cu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var xT=A0,$0=N0,U0=j0,W0=O0,H0=L0,K0=F0,G0=df;function Q0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Q0(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function wT(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Q0(e))&&(r&&(r+=" "),r+=t);return r}const Qh=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Yh=wT,ff=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Yh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const f=Qh(c)||Qh(d);return o[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...y}=c;return Object.entries(y).every(x=>{let[v,S]=x;return Array.isArray(S)?S.includes({...s,...a}[v]):{...s,...a}[v]===S})?[...u,d,f]:u},[]);return Yh(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 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 ST=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Y0=(...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 CT={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 ET=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>p.createElement("svg",{ref:l,...CT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Y0("lucide",o),...a},[...i.map(([u,c])=>p.createElement(u,c)),...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 ae=(e,t)=>{const n=p.forwardRef(({className:r,...o},s)=>p.createElement(ET,{ref:s,iconNode:t,className:Y0(`lucide-${ST(e)}`,r),...o}));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 Xh=ae("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 qh=ae("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"}]]);/** 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 PT=ae("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 Oi=ae("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 bT=ae("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 TT=ae("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 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 Zh=ae("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/** 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 kT=ae("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"}]]);/** 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 _T=ae("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 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 RT=ae("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/** 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 AT=ae("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"}]]);/** 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 MT=ae("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}
129],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/** 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 NT=ae("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 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 DT=ae("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 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 jT=ae("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 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 Jh=ae("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 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 em=ae("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 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 OT=ae("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 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 LT=ae("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 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 tm=ae("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",key:"oel41y"}]]);/** 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 IT=ae("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"}]]);/** 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 nm=ae("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 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 FT=ae("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/** 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 rm=ae("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** 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 si=ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,590 bytes, line 194
194],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function X0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=X0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function VT(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=X0(e))&&(r&&(r+=" "),r+=t);return r}const pf="-",zT=e=>{const t=$T(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(pf);return a[0]===""&&a.length!==1&&a.shift(),q0(a,t)||BT(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},q0=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?q0(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(pf);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},om=/^\[(.+)\]$/,BT=e=>{if(om.test(e)){const t=om.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},$T=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return WT(Object.entries(e.classGroups),n).forEach(([s,i])=>{jc(i,r,s,t)}),r},jc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:sm(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(UT(o)){jc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{jc(i,sm(t,s),n,r)})})},sm=(e,t)=>{let n=e;return t.split(pf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},UT=e=>e.isThemeGetter,WT=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,HT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Z0="!",KT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const l=[];let u=0,c=0,d;for(let S=0;S<a.length;S++){let m=a[S];if(u===0){if(m===o&&(r||a.slice(S,S+s)===t)){l.push(a.slice(c,S)),c=S+s;continue}if(m==="/"){d=S;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),y=f.startsWith(Z0),x=y?f.substring(1):f,v=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:i}):i},GT=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},QT=e=>({cache:HT(e.cacheSize),parseClassName:KT(e),...zT(e)}),YT=/\s+/,XT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(YT);let a="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:y}=n(u);let x=!!y,v=r(x?f.substring(0,y):f);if(!v){if(!x){a=u+(a.length>0?" "+a:a);continue}if(v=r(f),!v){a=u+(a.length>0?" "+a:a);continue}x=!1}const S=GT(c).join(":"),m=d?S+Z0:S,g=m+v;if(s.includes(g))continue;s.push(g);const w=o(v,x);for(let C=0;C<w.length;++C){const E=w[C];s.push(m+E)}a=u+(a.length>0?" "+a:a)}return a};function qT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=J0(t))&&(r&&(r+=" "),r+=n);return r}const J0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=J0(e[r]))&&(n&&(n+=" "),n+=t);return n};function ZT(e,...t){let n,r,o,s=i;function i(l){const u=t.reduce((c,d)=>d(c),e());return n=QT(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=XT(l,n);return o(l,c),c}return function(){return s(qT.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ex=/^\[(?:([a-z-]+):)?(.+)\]$/i,JT=/^\d+\/\d+$/,ek=new Set(["px","full","screen"]),tk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nk=/\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$/,rk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ok=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xt=e=>so(e)||ek.has(e)||JT.test(e),yn=e=>Oo(e,"length",pk),so=e=>!!e&&!Number.isNaN(Number(e)),du=e=>Oo(e,"number",so),Xo=e=>!!e&&Number.isInteger(Number(e)),ik=e=>e.endsWith("%")&&so(e.slice(0,-1)),K=e=>ex.test(e),xn=e=>tk.test(e),ak=new Set(["length","size","percentage"]),lk=e=>Oo(e,ak,tx),uk=e=>Oo(e,"position",tx),ck=new Set(["image","url"]),dk=e=>Oo(e,ck,mk),fk=e=>Oo(e,"",hk),qo=()=>!0,Oo=(e,t,n)=>{const r=ex.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},pk=e=>nk.test(e)&&!rk.test(e),tx=()=>!1,hk=e=>ok.test(e),mk=e=>sk.test(e),gk=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),s=oe("borderRadius"),i=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),y=oe("gradientColorStops"),x=oe("gradientColorStopPositions"),v=oe("inset"),S=oe("margin"),m=oe("opacity"),g=oe("padding"),w=oe("saturate"),C=oe("scale"),E=oe("sepia"),b=oe("skew"),T=oe("space"),P=oe("translate"),A=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",K,t],O=()=>[K,t],H=()=>["",Xt,yn],D=()=>["auto",so,K],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",K],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[so,K];return{cacheSize:500,separator:":",theme:{colors:[qo],spacing:[Xt,yn],blur:["none","",xn,K],brightness:U(),borderColor:[e],borderRadius:["none","","full",xn,K],borderSpacing:O(),borderWidth:H(),contrast:U(),grayscale:_(),hueRotate:U(),invert:_(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[ik,yn],inset:V(),margin:V(),opacity:U(),padding:O(),saturate:U(),scale:U(),sepia:_(),skew:U(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[xn]}],"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"],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:[...Y(),K]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Xo,K]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",Xo,K]}],"grid-cols":[{"grid-cols":[qo]}],"col-start-end":[{col:["auto",{span:["full",Xo,K]},K]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[qo]}],"row-start-end":[{row:["auto",{span:[Xo,K]},K]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[xn]},xn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xn,yn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",du]}],"font-family":[{font:[qo]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",so,du]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xt,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xt,yn]}],"underline-offset":[{"underline-offset":["auto",Xt,K]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),uk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},dk]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}
vendor: 4,231 bytes, line 194
194],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Xt,K]}],"outline-w":[{outline:[Xt,yn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Xt,yn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xn,fk]}],"shadow-color":[{shadow:[qo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...$(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",xn,K]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Xo,K]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",
194K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xt,yn,du]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},vk=ZT(gk);function Z(...e){return vk(VT(e))}const yk=xT,nx=p.forwardRef(({className:e,...t},n)=>h.jsx($0,{ref:n,className:Z("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));nx.displayName=$0.displayName;const xk=ff("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),rx=p.forwardRef(({className:e,variant:t,...n},r)=>h.jsx(U0,{ref:r,className:Z(xk({variant:t}),e),...n}));rx.displayName=U0.displayName;const wk=p.forwardRef(({className:e,...t},n)=>h.jsx(K0,{ref:n,className:Z("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wk.displayName=K0.displayName;const ox=p.forwardRef(({className:e,...t},n)=>h.jsx(G0,{ref:n,className:Z("absolute right-2 top-2 rounded-md p-1 text-foreground
194/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:h.jsx(si,{className:"h-4 w-4"})}));ox.displayName=G0.displayName;const sx=p.forwardRef(({className:e,...t},n)=>h.jsx(W0,{ref:n,className:Z("text-sm font-semibold",e),...t}));sx.displayName=W0.displayName;const ix=p.forwardRef(({className:e,...t},n)=>h.jsx(H0,{ref:n,className:Z("text-sm opacity-90",e),...t}));ix.displayName=H0.displayName;function Sk(){const{toasts:e}=Ab();return h.jsxs(yk,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return h.jsxs(rx,{...s,children:[h.jsxs("div",{className:"grid gap-1",children:[n&&h.jsx(sx,{children:n}),r&&h.jsx(ix,{children:r})]}),o,h.jsx(ox,{})]},t)}),h.jsx(nx,{})]})}function Ck(){const[e]=ni();return p.useEffect(()=>{const t="https://hireonix.ai",n=e==="/"?t:`${t}${e}`;let r=document.querySelector('link[rel="canonical"]');r||(r=document.createElement("link"),r.rel="canonical",document.head.appendChild(r)),r.href=n},[e]),null}const Ek=ff("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ye=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?Pr:"button";return h.jsx(i,{className:Z(Ek({variant:t,size:n,className:e})),ref:s,...o})});ye.displayName="Button";function Pk(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}function wl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Oc=e=>Array.isArray(e);function ax(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}function zs(e){return typeof e=="string"||Array.isArray(e)}function im(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function hf(e,t,n,r){if(typeof t=="function"){const[o,s]=im(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=im(r);t=t(n!==void 0?n:e.custom,o,s)}return t}function Sl(e,t,n){const r=e.getProps();return hf(r,t,n!==void 0?n:r.custom,e)}const mf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gf=["initial",...mf],ii=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rr=new Set(ii),on=e=>e*1e3,sn=e=>e/1e3,bk={type:"spring",stiffness:500,damping:25,restSpeed:10},Tk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kk={type:"keyframes",duration:.8},_k={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Rk=(e,{keyframes:t})=>t.length>2?kk:Rr.has(e)?e.startsWith("scale")?Tk(t[1]):bk:_k;function vf(e,t){return e?e[t]||e.default||e:void 0}const Ak={skipAnimations:!1,useManualTiming:!1},Mk=e=>e!==null;function Cl(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(Mk),s=t&&n!=="loop"&&t%2===1?0:o.length-1;return!s||r===void 0?o[s]:r}const Ie=e=>e;let Lc=Ie;function Nk(e){let t=new Set,n=new Set,r=!1,o=!1;const s=new WeakSet;let i={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(i)}const l={schedule:(u,c=!1,d=!1)=>{const y=d&&r?t:n;return c&&s.add(u),y.has(u)||y.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(i=u,r){o=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,o&&(o=!1,l.process(u))}};return l}const Li=["read","resolveKeyframes","update","preRender","render","postRender"],Dk=40;function lx(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=Li.reduce((m,g)=>(m[g]=Nk(s),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=i,y=()=>{const m=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(m-o.timestamp,Dk),1),o.timestamp=m,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(y))},x=()=>{n=!0,r=!0,o.isProcessing||e(y)};return{schedule:Li.reduce((m,g)=>{const w=i[g];return m[g]=(C,E=!1,b=!1)=>(n||x(),w.schedule(C,E,b)),m},{}),cancel:m=>{for(let g=0;g<Li.length;g++)i[Li[g]].cancel(m)},state:o,steps:i}}const{schedule:ne,cancel:Qn,state:Te,steps:fu}=lx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ie,!0),ux=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jk=1e-7,Ok=12;function Lk(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=ux(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>jk&&++a<Ok);return i}function ai(e,t,n,r){if(e===t&&n===r)return Ie;const o=s=>Lk(s,0,1,e,n);return s=>s===0||s===1?s:ux(o(s),t,r)}const cx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,dx=e=>t=>1-e(1-t),fx=ai(.33,1.53,.69,.99),yf=dx(fx),px=cx(yf),hx=e=>(e*=2)<1?.5*yf(e):.5*(2-Math.pow(2,-10*(e-1))),xf=e=>1-Math.sin(Math.acos(e)),mx=dx(xf),gx=cx(xf),vx=e=>/^0[^.\s]+$/u.test(e);function Ik(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||vx(e):!0}const yx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),xx=e=>t=>typeof t=="string"&&t.startsWith(e),wx=xx("--"),Fk=xx("var(--"),wf=e=>Fk(e)?Vk.test(e.split("/*")[0].trim()):!1,Vk=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,zk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bk(e){const t=zk.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function Sx(e,t,n=1){const[r,o]=Bk(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return yx(i)?parseFloat(i):i}return wf(o)?Sx(o,t,n+1):o}const dn=(e,t,n)=>n>t?t:n<e?e:n,Lo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Bs={...Lo,transform:e=>dn(0,1,e)},Ii={...Lo,default:1},li=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Cn=li("deg"),Ht=li("%"),z=li("px"),$k=li("vh"),Uk=li("vw"),am={...Ht,parse:e=>Ht.parse(e)/100,transform:e=>Ht.transform(e*100)},Wk=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),lm=e=>e===Lo||e===z,um=(e,t)=>
vendor: 8,627 bytes, line 194
194parseFloat(e.split(", ")[t]),cm=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return um(o[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?um(s[1],e):0}},Hk=new Set(["x","y","z"]),Kk=ii.filter(e=>!Hk.has(e));function Gk(e){const t=[];return Kk.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ko={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:cm(4,13),y:cm(5,14)};ko.translateX=ko.x;ko.translateY=ko.y;const Cx=e=>t=>t.test(e),Qk={test:e=>e==="auto",parse:e=>e},Ex=[Lo,z,Ht,Cn,Uk,$k,Qk],dm=e=>Ex.find(Cx(e)),yr=new Set;let Ic=!1,Fc=!1;function Px(){if(Fc){const e=Array.from(yr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=Gk(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Fc=!1,Ic=!1,yr.forEach(e=>e.complete()),yr.clear()}function bx(){yr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Fc=!0)})}function Yk(){bx(),Px()}class Sf{constructor(t,n,r,o,s,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(yr.add(this),Ic||(Ic=!0,ne.read(bx),ne.resolveKeyframes(Px))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const i=o==null?void 0:o.get(),a=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&i===void 0&&o.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),yr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,yr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ys=e=>Math.round(e*1e5)/1e5,Cf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xk(e){return e==null}const qk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ef=(e,t)=>n=>!!(typeof n=="string"&&qk.test(n)&&n.startsWith(e)||t&&!Xk(n)&&Object.prototype.hasOwnProperty.call(n,t)),Tx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(Cf);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Zk=e=>dn(0,255,e),pu={...Lo,transform:e=>Math.round(Zk(e))},dr={test:Ef("rgb","red"),parse:Tx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pu.transform(e)+", "+pu.transform(t)+", "+pu.transform(n)+", "+ys(Bs.transform(r))+")"};function Jk(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Vc={test:Ef("#"),parse:Jk,transform:dr.transform},Qr={test:Ef("hsl","hue"),parse:Tx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ht.transform(ys(t))+", "+Ht.transform(ys(n))+", "+ys(Bs.transform(r))+")"},je={test:e=>dr.test(e)||Vc.test(e)||Qr.test(e),parse:e=>dr.test(e)?dr.parse(e):Qr.test(e)?Qr.parse(e):Vc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?dr.transform(e):Qr.transform(e)},e_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function t_(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Cf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(e_))===null||n===void 0?void 0:n.length)||0)>0}const kx="number",_x="color",n_="var",r_="var(",fm="${}",o_=/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 $s(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace(o_,l=>(je.test(l)?(r.color.push(s),o.push(_x),n.push(je.parse(l))):l.startsWith(r_)?(r.var.push(s),o.push(n_),n.push(l)):(r.number.push(s),o.push(kx),n.push(parseFloat(l))),++s,fm)).split(fm);return{values:n,split:a,indexes:r,types:o}}function Rx(e){return $s(e).values}function Ax(e){const{split:t,types:n}=$s(e),r=t.length;return o=>{let s="";for(let i=0;i<r;i++)if(s+=t[i],o[i]!==void 0){const a=n[i];a===kx?s+=ys(o[i]):a===_x?s+=je.transform(o[i]):s+=o[i]}return s}}const s_=e=>typeof e=="number"?0:e;function i_(e){const t=Rx(e);return Ax(e)(t.map(s_))}const Yn={test:t_,parse:Rx,createTransformer:Ax,getAnimatableNone:i_},a_=new Set(["brightness","contrast","saturate","opacity"]);function l_(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Cf)||[];if(!r)return e;const o=n.replace(r,"");let s=a_.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const u_=/\b([a-z-]*)\(.*?\)/gu,zc={...Yn,getAnimatableNone:e=>{const t=e.match(u_);return t?t.map(l_).join(" "):e}},c_={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,backgroundPositionX:z,backgroundPositionY:z},d_={rotate:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:Ii,scaleX:Ii,scaleY:Ii,scaleZ:Ii,skew:Cn,skewX:Cn,skewY:Cn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Bs,originX:am,originY:am,originZ:z},pm={...Lo,transform:Math.round},Pf={...c_,...d_,zIndex:pm,size:z,fillOpacity:Bs,strokeOpacity:Bs,numOctaves:pm},f_={...Pf,color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,filter:zc,WebkitFilter:zc},bf=e=>f_[e];function Mx(e,t){let n=bf(e);return n!==zc&&(n=Yn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const p_=new Set(["auto","none","0"]);function h_(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!p_.has(s)&&$s(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=Mx(n,o)}class Nx extends Sf{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),wf(u))){const c=Sx(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Wk.has(r)||t.length!==2)return;const[o,s]=t,i=dm(o),a=dm(s);if(i!==a)if(lm(i)&&lm(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)Ik(t[o])&&r.push(o);r.length&&h_(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=ko[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const s=n.getValue(r);s&&s.jump(this.measuredOrigin,!1);const i=o.length-1,a=o[i];o[i]=ko[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEac
194h(([l,u])=>{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Tf(e){return typeof e=="function"}let sa;function m_(){sa=void 0}const Kt={now:()=>(sa===void 0&&Kt.set(Te.isProcessing||Ak.useManualTiming?Te.timestamp:performance.now()),sa),set:e=>{sa=e,queueMicrotask(m_)}},hm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Yn.test(e)||e==="0")&&!e.startsWith("url("));function g_(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 v_(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=hm(o,t),a=hm(s,t);return!i||!a?!1:g_(e)||(n==="spring"||Tf(n))&&r}const y_=40;class Dx{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Kt.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>y_?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Yk(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Kt.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:s,delay:i,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!v_(t,r,o,s))if(i)this.options.duration=0;else{l==null||l(Cl(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const _o=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},jx=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;
vendor: 4,658 bytes, line 194
194s++)r+=e(_o(0,o-1,s))+", ";return`linear(${r.substring(0,r.length-2)})`};function Ox(e,t){return t?e*(1e3/t):0}const x_=5;function Lx(e,t,n){const r=Math.max(t-x_,0);return Ox(n-e(r),t-r)}const he={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},hu=.001;function w_({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:r=he.mass}){let o,s,i=1-t;i=dn(he.minDamping,he.maxDamping,i),e=dn(he.minDuration,he.maxDuration,sn(e)),i<1?(o=u=>{const c=u*i,d=c*e,f=c-n,y=Bc(u,i),x=Math.exp(-d);return hu-f/y*x},s=u=>{const d=u*i*e,f=d*n+n,y=Math.pow(i,2)*Math.pow(u,2)*e,x=Math.exp(-d),v=Bc(Math.pow(u,2),i);return(-o(u)+hu>0?-1:1)*((f-y)*x)/v}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-hu+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=C_(o,s,a);if(e=on(e),isNaN(l))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const S_=12;function C_(e,t,n){let r=n;for(let o=1;o<S_;o++)r=r-e(r)/t(r);return r}function Bc(e,t){return e*Math.sqrt(1-t*t)}const $c=2e4;function Ix(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$c;)t+=n,r=e.next(t);return t>=$c?1/0:t}const E_=["duration","bounce"],P_=["stiffness","damping","mass"];function mm(e,t){return t.some(n=>e[n]!==void 0)}function b_(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!mm(e,P_)&&mm(e,E_))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*dn(.05,1,1-e.bounce)*Math.sqrt(o);t={...t,mass:he.mass,stiffness:o,damping:s}}else{const n=w_(e);t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function Fx(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:y}=b_({...n,velocity:-sn(n.velocity||0)}),x=f||0,v=u/(2*Math.sqrt(l*c)),S=i-s,m=sn(Math.sqrt(l/c)),g=Math.abs(S)<5;r||(r=g?he.restSpeed.granular:he.restSpeed.default),o||(o=g?he.restDelta.granular:he.restDelta.default);let w;if(v<1){const E=Bc(m,v);w=b=>{const T=Math.exp(-v*m*b);return i-T*((x+v*m*S)/E*Math.sin(E*b)+S*Math.cos(E*b))}}else if(v===1)w=E=>i-Math.exp(-m*E)*(S+(x+m*S)*E);else{const E=m*Math.sqrt(v*v-1);w=b=>{const T=Math.exp(-v*m*b),P=Math.min(E*b,300);return i-T*((x+v*m*S)*Math.sinh(P)+E*S*Math.cosh(P))/E}}const C={calculatedDuration:y&&d||null,next:E=>{const b=w(E);if(y)a.done=E>=d;else{let T=0;v<1&&(T=E===0?on(x):Lx(w,E,b));const P=Math.abs(T)<=r,A=Math.abs(i-b)<=o;a.done=P&&A}return a.value=a.done?i:b,a},toString:()=>{const E=Math.min(Ix(C),$c),b=jx(T=>C.next(E*T).value,E,30);return E+"ms "+b}};return C}function gm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},y=P=>a!==void 0&&P<a||l!==void 0&&P>l,x=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let v=n*t;const S=d+v,m=i===void 0?S:i(S);m!==S&&(v=m-d);const g=P=>-v*Math.exp(-P/r),w=P=>m+g(P),C=P=>{const A=g(P),N=w(P);f.done=Math.abs(A)<=u,f.value=f.done?m:N};let E,b;const T=P=>{y(f.value)&&(E=P,b=Fx({keyframes:[f.value,x(f.value)],velocity:Lx(w,P,f.value),damping:o,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let A=!1;return!b&&E===void 0&&(A=!0,C(P),T(P)),E!==void 0&&P>=E?b.next(P-E):(!A&&C(P),f)}}}const T_=ai(.42,0,1,1),k_=ai(0,0,.58,1),Vx=ai(.42,0,.58,1),__=e=>Array.isArray(e)&&typeof e[0]!="number",kf=e=>Array.isArray(e)&&typeof e[0]=="number",vm={linear:Ie,easeIn:T_,easeInOut:Vx,easeOut:k_,circIn:xf,circInOut:gx,circOut:mx,backIn:yf,backInOut:px,backOut:fx,anticipate:hx},ym=e=>{if(kf(e)){Lc(e.length===4);const[t,n,r,o]=e;return ai(t,n,r,o)}else if(typeof e=="string")return Lc(vm[e]!==void 0),vm[e];return e},R_=(e,t)=>n=>t(e(n)),Un=(...e)=>e.reduce(R_),ce=(e,t,n)=>e+(t-e)*n;function mu(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 A_({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=mu(l,a,e+1/3),s=mu(l,a,e),i=mu(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function La(e,t){return n=>n>0?t:e}
vendor: 4,575 bytes, line 194
194const gu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},M_=[Vc,dr,Qr],N_=e=>M_.find(t=>t.test(e));function xm(e){const t=N_(e);if(!t)return!1;let n=t.parse(e);return t===Qr&&(n=A_(n)),n}const wm=(e,t)=>{const n=xm(e),r=xm(t);if(!n||!r)return La(e,t);const o={...n};return s=>(o.red=gu(n.red,r.red,s),o.green=gu(n.green,r.green,s),o.blue=gu(n.blue,r.blue,s),o.alpha=ce(n.alpha,r.alpha,s),dr.transform(o))},Uc=new Set(["none","hidden"]);function D_(e,t){return Uc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function j_(e,t){return n=>ce(e,t,n)}function _f(e){return typeof e=="number"?j_:typeof e=="string"?wf(e)?La:je.test(e)?wm:I_:Array.isArray(e)?zx:typeof e=="object"?je.test(e)?wm:O_:La}function zx(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>_f(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function O_(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=_f(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function L_(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],a=e.indexes[i][o[i]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[s]=l,o[i]++}return r}const I_=(e,t)=>{const n=Yn.createTransformer(t),r=$s(e),o=$s(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Uc.has(e)&&!o.values.length||Uc.has(t)&&!r.values.length?D_(e,t):Un(zx(L_(r,o),o.values),n):La(e,t)};function Bx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ce(e,t,n):_f(e)(e,t)}function F_(e,t,n){const r=[],o=n||Bx,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||Ie:t;a=Un(l,a)}r.push(a)}return r}function V_(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(Lc(s===t.length),s===1)return()=>t[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=F_(t,r,o),a=i.length,l=u=>{let c=0;if(a>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const d=_o(e[c],e[c+1],u);return i[c](d)};return n?u=>l(dn(e[0],e[s-1],u)):l}function z_(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=_o(0,t,r);e.push(ce(n,1,o))}}function B_(e){const t=[0];return z_(t,e.length-1),t}function $_(e,t){return e.map(n=>n*t)}function U_(e,t){return e.map(()=>t||Vx).splice(0,e.length-1)}function Ia({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=__(r)?r.map(ym):ym(r),s={done:!1,value:t[0]},i=$_(n&&n.length===t.length?n:B_(t),e),a=V_(i,t,{ease:Array.isArray(o)?o:U_(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const W_=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ne.update(t,!0),stop:()=>Qn(t),now:()=>Te.isProcessing?Te.timestamp:Kt.now()}},H_={decay:gm,inertia:gm,tween:Ia,keyframes:Ia,spring:Fx},K_=e=>e/100;class Rf extends Dx{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:s}=this.options,i=(o==null?void 0:o.KeyframeResolver)||Sf,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new i(s,a,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=this.options,a=Tf(n)?n:H_[n]||Ia;let l,u;a!==Ia&&typeof t[0]!="number"&&(l=Un(K_,Bx(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-i})),c.calculatedDuration===null&&(c.calculatedDuration=Ix(c));const{calculatedDuration:d}=c,f=d+o,y=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:y}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:o,generator:s,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return s.next(0);const{delay:f,repeat:y,repeatType:x,repeatDelay:v,onUpdate:S}
vendor: 61,755 bytes, line 194
194=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const m=this.currentTime-f*(this.speed>=0?1:-1),g=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let w=this.currentTime,C=s;if(y){const P=Math.min(this.currentTime,c)/d;let A=Math.floor(P),N=P%1;!N&&P>=1&&(N=1),N===1&&A--,A=Math.min(A,y+1),!!(A%2)&&(x==="reverse"?(N=1-N,v&&(N-=v/d)):x==="mirror"&&(C=i)),w=dn(0,1,N)*d}const E=g?{done:!1,value:l[0]}:C.next(w);a&&(E.value=a(E.value));let{done:b}=E;!g&&u!==null&&(b=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return T&&o!==void 0&&(E.value=Cl(l,this.options,o)),S&&S(E.value),T&&this.finish(),E}get duration(){const{resolved:t}=this;return t?sn(t.calculatedDuration):0}get time(){return sn(this.currentTime)}set time(t){t=on(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=sn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=W_,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const G_=new Set(["opacity","clipPath","filter","transform"]);function Af(e){let t;return()=>(t===void 0&&(t=e()),t)}const Q_={linearEasing:void 0};function Y_(e,t){const n=Af(e);return()=>{var r;return(r=Q_[t])!==null&&r!==void 0?r:n()}}const Fa=Y_(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function $x(e){return!!(typeof e=="function"&&Fa()||!e||typeof e=="string"&&(e in Wc||Fa())||kf(e)||Array.isArray(e)&&e.every($x))}const rs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rs([0,.65,.55,1]),circOut:rs([.55,0,1,.45]),backIn:rs([.31,.01,.66,-.59]),backOut:rs([.33,1.53,.69,.99])};function Ux(e,t){if(e)return typeof e=="function"&&Fa()?jx(e,t):kf(e)?rs(e):Array.isArray(e)?e.map(n=>Ux(n,t)||Wc.easeOut):Wc[e]}function X_(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=Ux(a,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"})}function Sm(e,t){e.timeline=t,e.onfinish=null}const q_=Af(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Va=10,Z_=2e4;function J_(e){return Tf(e.type)||e.type==="spring"||!$x(e.ease)}function eR(e,t){const n=new Rf({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let s=0;for(;!r.done&&s<Z_;)r=n.sample(s),o.push(r.value),s+=Va;return{times:void 0,keyframes:o,duration:s-Va,ease:"linear"}}const Wx={anticipate:hx,backInOut:px,circInOut:gx};function tR(e){return e in Wx}class Cm extends Dx{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:s}=this.options;this.resolver=new Nx(s,(i,a)=>this.onKeyframesResolved(i,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:o=300,times:s,ease:i,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof i=="string"&&Fa()&&tR(i)&&(i=Wx[i]),J_(this.options)){const{onComplete:f,onUpdate:y,motionValue:x,element:v,...S}=this.options,m=eR(t,S);t=m.keyframes,t.length===1&&(t[1]=t[0]),o=m.duration,s=m.times,i=m.ease,a="keyframes"}const d=X_(l.owner.current,u,t,{...this.options,duration:o,times:s,ease:i});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(Sm(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(Cl(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:o,times:s,type:a,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return sn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return sn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=on(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Ie;const{animation:r}=n;Sm(r,t)}return Ie}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:s,ease:i,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...y}=this.options,x=new Rf({...y,keyframes:r,duration:o,type:s,ease:i,times:a,isGenerator:!0}),v=on(this.time);u.setWithVelocity(x.sample(v-Va).value,x.sample(v).value,Va)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:s,damping:i,type:a}=t;return q_()&&r&&G_.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&s!=="mirror"&&i!==0&&a!=="inertia"}}const nR=Af(()=>window.ScrollTimeline!==void 0);class rR{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>nR()&&o.attachTimeline?o.attachTimeline(t):n(o));return()=>{r.forEach((o,s)=>{o&&o(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function oR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Mf=(e,t,n,r={},o,s)=>i=>{const a=vf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-on(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};oR(a)||(c={...c,...Rk(e,c)}),c.duration&&(c.duration=on(c.duration)),c.repeatDelay&&(c.repeatDelay=on(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!s&&t.get()!==void 0){const f=Cl(c.keyframes,a);if(f!==void 0)return ne.update(()=>{c.onUpdate(f),c.onComplete()}),new rR([])}return!s&&Cm.supports(c)?new Cm(c):new Rf(c)},sR=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),iR=e=>Oc(e)?e[e.length-1]||0:e;function Nf(e,t){e.indexOf(t)===-1&&e.push(t)}function Df(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class jf{constructor(){this.subscriptions=[]}add(t){return Nf(this.subscriptions,t),()=>Df(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Em=30,aR=e=>!isNaN(parseFloat(e));class lR{constructor(t,n={}){this.version="11.13.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const s=Kt.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Kt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=aR(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 jf);const r=this.events[t].add(n);return t==="change"?()=>{r(),ne.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,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}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()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Kt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Em)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Em);return Ox(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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Us(e,t){return new lR(e,t)}function uR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Us(n))}function cR(e,t){const n=Sl(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=iR(s[i]);uR(e,i,a)}}const Of=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),dR="framerAppearId",Hx="data-"+Of(dR);function Kx(e){return e.props[Hx]}const Le=e=>!!(e&&e.getVelocity);function fR(e){return!!(Le(e)&&e.add)}function Hc(e,t){const n=e.getValue("willChange");if(fR(n))return n.add(t)}function pR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Gx(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var s;let{transition:i=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(i=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const f=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),y=l[d];if(y===void 0||c&&pR(c,d))continue;const x={delay:n,...vf(i||{},d)};let v=!1;if(window.MotionHandoffAnimation){const m=Kx(e);if(m){const g=window.MotionHandoffAnimation(m,d,ne);g!==null&&(x.startTime=g,v=!0)}}Hc(e,d),f.start(Mf(d,f,y,e.shouldReduceMotion&&Rr.has(d)?{type:!1}:x,e,v));const S=f.animation;S&&u.push(S)}return a&&Promise.all(u).then(()=>{ne.update(()=>{a&&cR(e,a)})}),u}function Kc(e,t,n={}){var r;const o=Sl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(s=n.transitionOverride);const i=o?()=>Promise.all(Gx(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return hR(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[i,a]:[a,i];return u().then(()=>c())}else return Promise.all([i(),a(n.delay)])}function hR(e,t,n=0,r=0,o=1,s){const i=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(mR).forEach((u,c)=>{u.notify("AnimationStart",t),i.push(Kc(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(i)}function mR(e,t){return e.sortNodePosition(t)}function gR(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Kc(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Kc(e,t,n);else{const o=typeof t=="function"?Sl(e,t,n.custom):t;r=Promise.all(Gx(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const vR=gf.length;function Qx(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Qx(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<vR;n++){const r=gf[n],o=e.props[r];(zs(o)||o===!1)&&(t[r]=o)}return t}const yR=[...mf].reverse(),xR=mf.length;function wR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>gR(e,n,r)))}function SR(e){let t=wR(e),n=Pm(),r=!0;const o=l=>(u,c)=>{var d;const f=Sl(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:y,transitionEnd:x,...v}=f;u={...u,...v,...x}}return u};function s(l){t=l(e)}function i(l){const{props:u}=e,c=Qx(e.parent)||{},d=[],f=new Set;let y={},x=1/0;for(let S=0;S<xR;S++){const m=yR[S],g=n[m],w=u[m]!==void 0?u[m]:c[m],C=zs(w),E=m===l?g.isActive:null;E===!1&&(x=S);let b=w===c[m]&&w!==u[m]&&C;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...y},!g.isActive&&E===null||!w&&!g.prevProp||wl(w)||typeof w=="boolean")continue;const T=CR(g.prevProp,w);let P=T||m===l&&g.isActive&&!b&&C||S>x&&C,A=!1;const N=Array.isArray(w)?w:[w];let V=N.reduce(o(m),{});E===!1&&(V={});const{prevResolvedValues:O={}}=g,H={...O,...V},D=$=>{P=!0,f.has($)&&(A=!0,f.delete($)),g.needsAnimating[$]=!0;const k=e.getValue($);k&&(k.liveStyle=!1)};for(const $ in H){const k=V[$],_=O[$];if(y.hasOwnProperty($))continue;let j=!1;Oc(k)&&Oc(_)?j=!ax(k,_):j=k!==_,j?k!=null?D($):f.add($):k!==void 0&&f.has($)?D($):g.protectedKeys[$]=!0}g.prevProp=w,g.prevResolvedValues=V,g.isActive&&(y={...y,...V}),r&&e.blockInitialAnimation&&(P=!1),P&&(!(b&&T)||A)&&d.push(...N.map($=>({animation:$,options:{type:m}})))}if(f.size){const S={};f.forEach(m=>{const g=e.getBaseTarget(m),w=e.getValue(m);w&&(w.liveStyle=!0),S[m]=g??null}),d.push({animation:S})}let v=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var y;return(y=f.animationState)===null||y===void 0?void 0:y.setActive(l,u)}),n[l].isActive=u;const d=i(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:i,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Pm(),r=!0}}}function CR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ax(t,e):!1}function rr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pm(){return{animate:rr(!0),whileInView:rr(),whileHover:rr(),whileTap:rr(),whileDrag:rr(),whileFocus:rr(),exit:rr()}}class nr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ER extends nr{constructor(t){super(t),t.animationState||(t.animationState=SR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();wl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let PR=0;class bR extends nr{constructor(){super(...arguments),this.id=PR++}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 o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const TR={animation:{Feature:ER},exit:{Feature:bR}};function kR(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const s=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const Pt={x:!1,y:!1};function Yx(){return Pt.x||Pt.y}function bm(e){return t=>{t.pointerType==="touch"||Yx()||e(t)}}function _R(e,t,n={}){const r=new AbortController,o={passive:!0,...n,signal:r.signal},s=bm(i=>{const{target:a}=i,l=t(i);if(!l||!a)return;const u=bm(c=>{l(c),a.removeEventListener("pointerleave",u)});a.addEventListener("pointerleave",u,o)});return kR(e).forEach(i=>{i.addEventListener("pointerenter",s,o)}),()=>r.abort()}function RR(e){return e==="x"||e==="y"?Pt[e]?null:(Pt[e]=!0,()=>{Pt[e]=!1}):Pt.x||Pt.y?null:(Pt.x=Pt.y=!0,()=>{Pt.x=Pt.y=!1})}const Xx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ui(e){return{point:{x:e.pageX,y:e.pageY}}}const AR=e=>t=>Xx(t)&&e(t,ui(t));function nn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Wn(e,t,n,r){return nn(e,t,AR(n),r)}const Tm=(e,t)=>Math.abs(e-t);function MR(e,t){const n=Tm(e.x,t.x),r=Tm(e.y,t.y);return Math.sqrt(n**2+r**2)}class qx{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=yu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,y=MR(d.offset,{x:0,y:0})>=3;if(!f&&!y)return;const{point:x}=d,{timestamp:v}=Te;this.history.push({...x,timestamp:v});const{onStart:S,onMove:m}=this.handlers;f||(S&&S(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=vu(f,this.transformPagePoint),ne.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:y,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=yu(d.type==="pointercancel"?this.lastMoveEventInfo:vu(f,this.transformPagePoint),this.history);this.startEvent&&y&&y(d,S),x&&x(d,S)},!Xx(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const i=ui(t),a=vu(i,this.transformPagePoint),{point:l}=a,{timestamp:u}=Te;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,yu(a,this.history)),this.removeListeners=Un(Wn(this.contextWindow,"pointermove",this.handlePointerMove),Wn(this.contextWindow,"pointerup",this.handlePointerUp),Wn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Qn(this.updatePoint)}}function vu(e,t){return t?{point:t(e.point)}:e}function km(e,t){return{x:e.x-t.x,y:e.y-t.y}}function yu({point:e},t){return{point:e,delta:km(e,Zx(t)),offset:km(e,NR(t)),velocity:DR(t,.1)}}function NR(e){return e[0]}function Zx(e){return e[e.length-1]}function DR(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Zx(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>on(t)));)n--;if(!r)return{x:0,y:0};const s=sn(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Yr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Jx=1e-4,jR=1-Jx,OR=1+Jx,ew=.01,LR=0-ew,IR=0+ew;function ut(e){return e.max-e.min}function FR(e,t,n){return Math.abs(e-t)<=n}function _m(e,t,n,r=.5){e.origin=r,e.originPoint=ce(t.min,t.max,e.origin),e.scale=ut(n)/ut(t),e.translate=ce(n.min,n.max,e.origin)-e.originPoint,(e.scale>=jR&&e.scale<=OR||isNaN(e.scale))&&(e.scale=1),(e.translate>=LR&&e.translate<=IR||isNaN(e.translate))&&(e.translate=0)}function xs(e,t,n,r){_m(e.x,t.x,n.x,r?r.originX:void 0),_m(e.y,t.y,n.y,r?r.originY:void 0)}function Rm(e,t,n){e.min=n.min+t.min,e.max=e.min+ut(t)}function VR(e,t,n){Rm(e.x,t.x,n.x),Rm(e.y,t.y,n.y)}function Am(e,t,n){e.min=t.min-n.min,e.max=e.min+ut(t)}function ws(e,t,n){Am(e.x,t.x,n.x),Am(e.y,t.y,n.y)}function zR(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ce(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ce(n,e,r.max):Math.min(e,n)),e}function Mm(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 BR(e,{top:t,left:n,bottom:r,right:o}){return{x:Mm(e.x,n,o),y:Mm(e.y,t,r)}}function Nm(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 $R(e,t){return{x:Nm(e.x,t.x),y:Nm(e.y,t.y)}}function UR(e,t){let n=.5;const r=ut(e),o=ut(t);return o>r?n=_o(t.min,t.max-r,e.min):r>o&&(n=_o(e.min,e.max-o,t.min)),dn(0,1,n)}function WR(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 Gc=.35;function HR(e=Gc){return e===!1?e=0:e===!0&&(e=Gc),{x:Dm(e,"left","right"),y:Dm(e,"top","bottom")}}function Dm(e,t,n){return{min:jm(e,t),max:jm(e,n)}}function jm(e,t){return typeof e=="number"?e:e[t]||0}const Om=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xr=()=>({x:Om(),y:Om()}),Lm=()=>({min:0,max:0}),ge=()=>({x:Lm(),y:Lm()});function ht(e){return[e("x"),e("y")]}function tw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function KR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function GR(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 xu(e){return e===void 0||e===1}function Qc({scale:e,scaleX:t,scaleY:n}){return!xu(e)||!xu(t)||!xu(n)}function ir(e){return Qc(e)||nw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function nw(e){return Im(e.x)||Im(e.y)}function Im(e){return e&&e!=="0%"}function za(e,t,n){const r=e-n,o=t*r;return n+o}function Fm(e,t,n,r,o){return o!==void 0&&(e=za(e,o,r)),za(e,n,r)+t}function Yc(e,t=0,n=1,r,o){e.min=Fm(e.min,t,n,r,o),e.max=Fm(e.max,t,n,r,o)}function rw(e,{x:t,y:n}){Yc(e.x,t.translate,t.scale,t.originPoint),Yc(e.y,n.translate,n.scale,n.originPoint)}const Vm=.999999999999,zm=1.0000000000001;function QR(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Zr(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,rw(e,i)),r&&ir(s.latestValues)&&Zr(e,s.latestValues))}t.x<zm&&t.x>Vm&&(t.x=1),t.y<zm&&t.y>Vm&&(t.y=1)}function qr(e,t){e.min=e.min+t,e.max=e.max+t}function Bm(e,t,n,r,o=.5){const s=ce(e.min,e.max,o);Yc(e,t,n,s,r)}function Zr(e,t){Bm(e.x,t.x,t.scaleX,t.scale,t.originX),Bm(e.y,t.y,t.scaleY,t.scale,t.originY)}function ow(e,t){return tw(GR(e.getBoundingClientRect(),t))}function YR(e,t,n){const r=ow(e,n),{scroll:o}=t;return o&&(qr(r.x,o.offset.x),qr(r.y,o.offset.y)),r}const sw=({current:e})=>e?e.ownerDocument.defaultView:null,XR=new WeakMap;class qR{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=ge(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ui(c).point)},s=(c,d)=>{const{drag:f,dragPropagation:y,onDragStart:x}=this.getProps();if(f&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=RR(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ht(S=>{let m=this.getAxisMotionValue(S).get()||0;if(Ht.test(m)){const{projection:g}=this.visualElement;if(g&&g.layout){const w=g.layout.layoutBox[S];w&&(m=ut(w)*(parseFloat(m)/100))}}this.originPoint[S]=m}),x&&ne.postRender(()=>x(c,d)),Hc(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},i=(c,d)=>{const{dragPropagation:f,dragDirectionLock:y,onDirectionLock:x,onDrag:v}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:S}=d;if(y&&this.currentDirection===null){this.currentDirection=ZR(S),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",d.point,S),this.updateAxis("y",d.point,S),this.visualElement.render(),v&&v(c,d)},a=(c,d)=>this.stop(c,d),l=()=>ht(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new qx(t,{onSessionStart:o,onStart:s,onMove:i,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:sw(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&ne.postRender(()=>s(t,n))}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:o}=this.getProps();if(!r||!Fi(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=zR(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&Yr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=BR(o.layoutBox,n):this.constraints=!1,this.elastic=HR(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&ht(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=WR(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Yr(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=YR(r,o.root,this.visualElement.getTransformPagePoint());let i=$R(o.layout.layoutBox,s);if(n){const a=n(KR(i));this.hasMutatedConstraints=!!a,a&&(i=tw(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ht(c=>{if(!Fi(c,n,this.currentDirection))return;let d=l&&l[c]||{};i&&(d={min:0,max:0});const f=o?200:1e6,y=o?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Hc(this.visualElement,t),r.start(Mf(t,r,0,n,this.visualElement,!1))}stopAnimation(){ht(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ht(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ht(n=>{const{drag:r}=this.getProps();if(!Fi(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n];s.set(t[n]-ce(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Yr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ht(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=UR({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ht(i=>{if(!Fi(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];a.set(ce(l,u,o[i]))})}addListeners(){if(!this.visualElement.current)return;XR.set(this.visualElement,this);const t=this.visualElement.current,n=Wn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Yr(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ne.read(r);const i=nn(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ht(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{i(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=Gc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function Fi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ZR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class JR extends nr{constructor(t){super(t),this.removeGroupControls=Ie,this.removeListeners=Ie,this.controls=new qR(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ie}unmount(){this.removeGroupControls(),this.removeListeners()}}const $m=e=>(t,n)=>{e&&ne.postRender(()=>e(t,n))};class eA extends nr{constructor(){super(...arguments),this.removePointerDownListener=Ie}onPointerDown(t){this.session=new qx(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:$m(t),onStart:$m(n),onMove:r,onEnd:(s,i)=>{delete this.session,o&&ne.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=Wn(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 El=p.createContext(null);function tA(){const e=p.useContext(El);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=p.useId();p.useEffect(()=>r(o),[]);const s=p.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,s]:[!0]}const Lf=p.createContext({}),iw=p.createContext({}),ia={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Um(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Zo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=Um(e,t.target.x),r=Um(e,t.target.y);return`${n}% ${r}%`}},nA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Yn.parse(e);if(o.length>5)return r;const s=Yn.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const u=ce(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=u),typeof o[3+i]=="number"&&(o[3+i]/=u),s(o)}},Ba={};function rA(e){Object.assign(Ba,e)}const{schedule:If,cancel:PL}=lx(queueMicrotask,!1);class oA extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;rA(sA),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),ia.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,i=r.projection;return i&&(i.isPresent=s,o||t.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||ne.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),If.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function aw(e){const[t,n]=tA(),r=p.useContext(Lf);return h.jsx(oA,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(iw),isPresent:t,safeToRemove:n})}const sA={borderRadius:{...Zo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zo,borderTopRightRadius:Zo,borderBottomLeftRadius:Zo,borderBottomRightRadius:Zo,boxShadow:nA},lw=["TopLeft","TopRight","BottomLeft","BottomRight"],iA=lw.length,Wm=e=>typeof e=="string"?parseFloat(e):e,Hm=e=>typeof e=="number"||z.test(e);function aA(e,t,n,r,o,s){o?(e.opacity=ce(0,n.opacity!==void 0?n.opacity:1,lA(r)),e.opacityExit=ce(t.opacity!==void 0?t.opacity:1,0,uA(r))):s&&(e.opacity=ce(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<iA;i++){const a=`border${lw[i]}Radius`;let l=Km(t,a),u=Km(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Hm(l)===Hm(u)?(e[a]=Math.max(ce(Wm(l),Wm(u),r),0),(Ht.test(u)||Ht.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ce(t.rotate||0,n.rotate||0,r))}function Km(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const lA=uw(0,.5,mx),uA=uw(.5,.95,Ie);function uw(e,t,n){return r=>r<e?0:r>t?1:n(_o(e,t,r))}function Gm(e,t){e.min=t.min,e.max=t.max}function pt(e,t){Gm(e.x,t.x),Gm(e.y,t.y)}function Qm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ym(e,t,n,r,o){return e-=t,e=za(e,1/n,r),o!==void 0&&(e=za(e,1/o,r)),e}function cA(e,t=0,n=1,r=.5,o,s=e,i=e){if(Ht.test(t)&&(t=parseFloat(t),t=ce(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=ce(s.min,s.max,r);e===s&&(a-=t),e.min=Ym(e.min,t,n,a,o),e.max=Ym(e.max,t,n,a,o)}function Xm(e,t,[n,r,o],s,i){cA(e,t[n],t[r],t[o],t.scale,s,i)}const dA=["x","scaleX","originX"],fA=["y","scaleY","originY"];function qm(e,t,n,r){Xm(e.x,t,dA,n?n.x:void 0,r?r.x:void 0),Xm(e.y,t,fA,n?n.y:void 0,r?r.y:void 0)}function Zm(e){return e.translate===0&&e.scale===1}function cw(e){return Zm(e.x)&&Zm(e.y)}function Jm(e,t){return e.min===t.min&&e.max===t.max}function pA(e,t){return Jm(e.x,t.x)&&Jm(e.y,t.y)}function eg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function dw(e,t){return eg(e.x,t.x)&&eg(e.y,t.y)}function tg(e){return ut(e.x)/ut(e.y)}function ng(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class hA{constructor(){this.members=[]}add(t){Nf(this.members,t),t.scheduleRender()}remove(t){if(Df(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(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];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,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!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 mA(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:y,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),y&&(r+=`skewX(${y}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const gA=(e,t)=>e.depth-t.depth;class vA{constructor(){this.children=[],this.isDirty=!1}add(t){Nf(this.children,t),this.isDirty=!0}remove(t){Df(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gA),this.isDirty=!1,this.children.forEach(t)}}function aa(e){const t=Le(e)?e.get():e;return sR(t)?t.toValue():t}function yA(e,t){const n=Kt.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Qn(r),e(s-t))};return ne.read(r,!0),()=>Qn(r)}function xA(e){return e instanceof SVGElement&&e.tagName!=="svg"}function wA(e,t,n){const r=Le(e)?e:Us(e);return r.start(Mf("",r,t,n)),r.animation}const ar={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},os=typeof window<"u"&&window.MotionDebug!==void 0,wu=["","X","Y","Z"],SA={visibility:"hidden"},rg=1e3;let CA=0;function Su(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function fw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Kx(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ne,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&fw(r)}function pw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t==null?void 0:t()){this.id=CA++,this.animationId=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,os&&(ar.totalNodes=ar.resolvedTargetDeltas=ar.recalculatedProjection=0),this.nodes.forEach(bA),this.nodes.forEach(AA),this.nodes.forEach(MA),this.nodes.forEach(TA),os&&window.MotionDebug.record(ar)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new vA)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new jf),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=xA(i),this.instance=i;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=yA(f,250),ia.hasAnimatedSinceResize&&(ia.hasAnimatedSinceResize=!1,this.nodes.forEach(sg))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:y,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||LA,{onLayoutAnimationStart:S,onLayoutAnimationComplete:m}=c.getProps(),g=!this.targetLayout||!dw(this.targetLayout,x)||y,w=!f&&y;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const C={...vf(v,"layout"),onPlay:S,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||sg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Qn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(NA),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(og);return}this.isUpdating||this.nodes.forEach(_A),this.isUpdating=!1,this.nodes.forEach(RA),this.nodes.forEach(EA),this.nodes.forEach(PA),this.clearAllSnapshots();const a=Kt.now();Te.delta=dn(0,1e3/60,a-Te.timestamp),Te.timestamp=a,Te.isProcessing=!0,fu.update.process(Te),fu.preRender.process(Te),fu.render.process(Te),Te.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,If.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(kA),this.sharedNodes.forEach(DA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!cw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;i&&(a||ir(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),IA(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var i;const{visualElement:a}=this.options;if(!a)return ge();const l=a.measureViewportBox();if(!(((i=this.scroll)===null||i===void 0?void 0:i.wasRoot)||this.path.some(FA))){const{scroll:c}=this.root;c&&(qr(l.x,c.offset.x),qr(l.y,c.offset.y))}return l}removeElementScroll(i){var a;const l=ge();if(pt(l,i),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&pt(l,i),qr(l.x,d.offset.x),qr(l.y,d.offset.y))}return l}applyTransform(i,a=!1){const l=ge();pt(l,i);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Zr(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),ir(c.latestValues)&&Zr(l,c.latestValues)}return ir(this.latestValues)&&Zr(l,this.latestValues),l}removeTransform(i){const a=ge();pt(a,i);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!ir(u.latestValues))continue;Qc(u.latestValues)&&u.updateSnapshot();const c=ge(),d=u.measurePageBox();pt(c,d),qm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return ir(this.latestValues)&&qm(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==Te.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(i||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Te.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),ws(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),pt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),VR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):pt(this.target,this.layout.layoutBox),rw(this.target,this.targetDelta)):pt(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=ge(),this.relativeTargetOrigin=ge(),ws(this.relativeTargetOrigin,this.target,y.target),pt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}os&&ar.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Qc(this.parent.latestValues)||nw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var i;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Te.timestamp&&(u=!1),u)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;pt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,y=this.treeScale.y;QR(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=ge());const{target:x}=a;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Qm(this.prevProjectionDelta.x,this.projectionDelta.x),Qm(this.prevProjectionDelta.y,this.projectionDelta.y)),xs(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==y||!ng(this.projectionDelta.x,this.prevProjectionDelta.x)||!ng(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),os&&ar.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xr(),this.projectionDelta=Xr(),this.projectionDeltaWithTransform=Xr()}setAnimationOrigin(i,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Xr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=ge(),y=l?l.source:void 0,x=this.layout?this.layout.source:void 0,v=y!==x,S=this.getStack(),m=!S||S.members.length<=1,g=!!(v&&!m&&this.options.crossfade===!0&&!this.path.some(OA));this.animationProgress=0;let w;this.mixTargetDelta=C=>{const E=C/1e3;ig(d.x,i.x,E),ig(d.y,i.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ws(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jA(this.relativeTarget,this.relativeTargetOrigin,f,E),w&&pA(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ge()),pt(w,this.relativeTarget)),v&&(this.animationValues=c,aA(c,u,this.latestValues,E,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Qn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ne.update(()=>{ia.hasAnimatedSinceResize=!0,this.currentAnimation=wA(0,rg,{...i,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=i;if(!(!a||!l||!u)){if(this!==i&&this.layout&&u&&hw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ge();const d=ut(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const f=ut(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+f}pt(a,l),Zr(a,c),xs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new hA),this.sharedNodes.get(i).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:a}=this.options;return a?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:a}=this.options;return a?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Su("z",i,u,this.animationValues);for(let c=0;c<wu.length;c++)Su(`rotate${wu[c]}`,i,u,this.animationValues),Su(`skew${wu[c]}`,i,u,this.animationValues);i.render();for(const c in u)i.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);i.scheduleRender()}getProjectionStyles(i){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return SA;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=aa(i==null?void 0:i.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=aa(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!ir(this.latestValues)&&(v.transform=c?c({},""):"none",this.hasProjected=!1),v}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=mA(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));const{x:y,y:x}=this.projectionDelta;u.transformOrigin=`${y.origin*100}% ${x.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const v in Ba){if(f[v]===void 0)continue;const{correct:S,applyTo:m}=Ba[v],g=u.transform==="none"?f[v]:S(f[v],d);if(m){const w=m.length;for(let C=0;C<w;C++)u[m[C]]=g}else u[v]=g}return this.options.layoutId&&(u.pointerEvents=d===this?aa(i==null?void 0:i.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(og),this.root.sharedNodes.clear()}}}function EA(e){e.updateLayout()}function PA(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,i=n.source!==e.layout.source;s==="size"?ht(d=>{const f=i?n.measuredBox[d]:n.layoutBox[d],y=ut(f);f.min=r[d].min,f.max=f.min+y}):hw(s,n.layoutBox,r)&&ht(d=>{const f=i?n.measuredBox[d]:n.layoutBox[d],y=ut(r[d]);f.max=f.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+y)});const a=Xr();xs(a,r,n.layoutBox);const l=Xr();i?xs(l,e.applyTransform(o,!0),n.measuredBox):xs(l,r,n.layoutBox);const u=!cw(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:y}=d;if(f&&y){const x=ge();ws(x,n.layoutBox,f.layoutBox);const v=ge();ws(v,r,y.layoutBox),dw(x,v)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function bA(e){os&&ar.totalNodes++,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 TA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function kA(e){e.clearSnapshot()}function og(e){e.clearMeasurements()}function _A(e){e.isLayoutDirty=!1}function RA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AA(e){e.resolveTargetDelta()}function MA(e){e.calcProjection()}
194function NA(e){e.resetSkewAndRotation()}function DA(e){e.removeLeadSnapshot()}function ig(e,t,n){e.translate=ce(t.translate,0,n),e.scale=ce(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ag(e,t,n,r){e.min=ce(t.min,n.min,r),e.max=ce(t.max,n.max,r)}function jA(e,t,n,r){ag(e.x,t.x,n.x,r),ag(e.y,t.y,n.y,r)}function OA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const LA={duration:.45,ease:[.4,0,.1,1]},lg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ug=lg("applewebkit/")&&!lg("chrome/")?Math.round:Ie;function cg(e){e.min=ug(e.min),e.max=ug(e.max)}function IA(e){cg(e.x),cg(e.y)}function hw(e,t,n){return e==="position"||e==="preserve-aspect"&&!FR(tg(t),tg(n),.2)}function FA(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const VA=pw({attachResizeListener:(e,t)=>nn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Cu={current:void 0},mw=pw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Cu.current){const e=new VA({});e.mount(window),e.setOptions({layoutScroll:!0}),Cu.current=e}return Cu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zA={pan:{Feature:eA},drag:{Feature:JR,ProjectionNode:mw,MeasureLayout:aw}};function dg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n);const o=r[n?"onHoverStart":"onHoverEnd"];o&&ne.postRender(()=>o(t,ui(t)))}class BA extends nr{mount(){const{current:t,props:n}=this.node;t&&(this.unmount=_R(t,r=>(dg(this.node,r,!0),o=>dg(this.node,o,!1)),{passive:!n.onHoverStart&&!n.onHoverEnd}))}unmount(){}}class $A extends nr{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=Un(nn(this.node.current,"focus",()=>this.onFocus()),nn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const gw=(e,t)=>t?e===t?!0:gw(e,t.parentElement):!1;function Eu(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ui(n))}class UA extends nr{constructor(){super(...arguments),this.removeStartListeners=Ie,this.removeEndListeners=Ie,this.removeAccessibleListeners=Ie,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Wn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!gw(this.node.current,a.target)?c:u;f&&ne.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),i=Wn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Un(s,i),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const i=a=>{a.key!=="Enter"||!this.checkPressEnd()||Eu("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&ne.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=nn(this.node.current,"keyup",i),Eu("down",(a,l)=>{this.startPress(a,l)})},n=nn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Eu("cancel",(s,i)=>this.cancelPress(s,i))},o=nn(this.node.current,"blur",r);this.removeAccessibleListeners=Un(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&ne.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Yx()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ne.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Wn(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=nn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Un(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Xc=new WeakMap,Pu=new WeakMap,WA=e=>{const t=Xc.get(e.target);t&&t(e)},HA=e=>{e.forEach(WA)};function KA({root:e,...t}){const n=e||document;Pu.has(n)||Pu.set(n,{});const r=Pu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(HA,{root:e,...t})),r[o]}function GA(e,t,n){const r=KA(t);return Xc.set(e,n),r.observe(e),()=>{Xc.delete(e),r.unobserve(e)}}const QA={some:0,all:1};class YA extends nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:QA[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return GA(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(XA(t,n))&&this.startObserver()}unmount(){}}function XA({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const qA={inView:{Feature:YA},tap:{Feature:UA},focus:{Feature:$A},hover:{Feature:BA}},ZA={layout:{ProjectionNode:mw,MeasureLayout:aw}},Ff=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pl=p.createContext({}),Vf=typeof window<"u",vw=Vf?p.useLayoutEffect:p.useEffect,yw=p.createContext({strict:!1});function JA(e,t,n,r,o){var s,i;const{visualElement:a}=p.useContext(Pl),l=p.useContext(yw),u=p.useContext(El),c=p.useContext(Ff).reducedMotion,d=p.useRef();r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.
vendor: 17,794 bytes, line 194
194initial===!1:!1,reducedMotionConfig:c}));const f=d.current,y=p.useContext(iw);f&&!f.projection&&o&&(f.type==="html"||f.type==="svg")&&eM(d.current,n,o,y);const x=p.useRef(!1);p.useInsertionEffect(()=>{f&&x.current&&f.update(n,u)});const v=n[Hx],S=p.useRef(!!v&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,v))&&((i=window.MotionHasOptimisedAnimation)===null||i===void 0?void 0:i.call(window,v)));return vw(()=>{f&&(x.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),If.render(f.render),S.current&&f.animationState&&f.animationState.animateChanges())}),p.useEffect(()=>{f&&(!S.current&&f.animationState&&f.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,v)}),S.current=!1))}),f}function eM(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:xw(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&Yr(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function xw(e){if(e)return e.options.allowProjection!==!1?e.projection:xw(e.parent)}function tM(e,t,n){return p.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Yr(n)&&(n.current=r))},[t])}function bl(e){return wl(e.animate)||gf.some(t=>zs(e[t]))}function ww(e){return!!(bl(e)||e.variants)}function nM(e,t){if(bl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||zs(n)?n:void 0,animate:zs(r)?r:void 0}}return e.inherit!==!1?t:{}}function rM(e){const{initial:t,animate:n}=nM(e,p.useContext(Pl));return p.useMemo(()=>({initial:t,animate:n}),[fg(t),fg(n)])}function fg(e){return Array.isArray(e)?e.join(" "):e}const pg={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"]},Ro={};for(const e in pg)Ro[e]={isEnabled:t=>pg[e].some(n=>!!t[n])};function oM(e){for(const t in e)Ro[t]={...Ro[t],...e[t]}}const sM=Symbol.for("motionComponentSymbol");function iM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&oM(e);function s(a,l){let u;const c={...p.useContext(Ff),...a,layoutId:aM(a)},{isStatic:d}=c,f=rM(a),y=r(a,d);if(!d&&Vf){lM();const x=uM(c);u=x.MeasureLayout,f.visualElement=JA(o,y,c,t,x.ProjectionNode)}return h.jsxs(Pl.Provider,{value:f,children:[u&&f.visualElement?h.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,tM(y,f.visualElement,l),y,d,f.visualElement)]})}const i=p.forwardRef(s);return i[sM]=o,i}function aM({layoutId:e}){const t=p.useContext(Lf).id;return t&&e!==void 0?t+"-"+e:e}function lM(e,t){p.useContext(yw).strict}function uM(e){const{drag:t,layout:n}=Ro;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const cM=["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 zf(e){return typeof e!="string"||e.includes("-")?!1:!!(cM.indexOf(e)>-1||/[A-Z]/u.test(e))}function Sw(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Cw=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 Ew(e,t,n,r){Sw(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Cw.has(o)?o:Of(o),t.attrs[o])}function Pw(e,{layout:t,layoutId:n}){return Rr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ba[e]||e==="opacity")}function Bf(e,t,n){var r;const{style:o}=e,s={};for(const i in o)(Le(o[i])||t.style&&Le(t.style[i])||Pw(i,e)||((r=n==null?void 0:n.getValue(i))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[i]=o[i]);return s}function bw(e,t,n){const r=Bf(e,t,n);for(const o in e)if(Le(e[o])||Le(t[o])){const s=ii.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}function $f(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}function dM({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const i={latestValues:fM(r,o,s,e),renderState:t()};return n&&(i.mount=a=>n(r,a,i)),i}const Tw=e=>(t,n)=>{const r=p.useContext(Pl),o=p.useContext(El),s=()=>dM(e,t,r,o);return n?s():$f(s)};function fM(e,t,n,r){const o={},s=r(e,{});for(const f in s)o[f]=aa(s[f]);let{initial:i,animate:a}=e;const l=bl(e),u=ww(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||i===!1;const d=c?a:i;if(d&&typeof d!="boolean"&&!wl(d)){const f=Array.isArray(d)?d:[d];for(let y=0;y<f.length;y++){const x=hf(e,f[y]);if(x){const{transitionEnd:v,transition:S,...m}=x;for(const g in m){let w=m[g];if(Array.isArray(w)){const C=c?w.length-1:0;w=w[C]}w!==null&&(o[g]=w)}for(const g in v)o[g]=v[g]}}}return o}const Uf=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),kw=()=>({...Uf(),attrs:{}}),_w=(e,t)=>t&&typeof e=="number"?t.transform(e):e,pM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},hM=ii.length;function mM(e,t,n){let r="",o=!0;for(let s=0;s<hM;s++){const i=ii[s],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(i.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=_w(a,Pf[i]);if(!l){o=!1;const c=pM[i]||i;r+=`${c}(${u}) `}n&&(t[i]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Wf(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const u=t[l];if(Rr.has(l)){i=!0;continue}else if(wx(l)){o[l]=u;continue}else{const c=_w(u,Pf[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(i||n?r.transform=mM(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}function hg(e,t,n){return typeof e=="string"?e:z.transform(t+n*e)}function gM(e,t,n){const r=hg(t,e.x,e.width),o=hg(n,e.y,e.height);return`${r} ${o}`}const vM={offset:"stroke-dashoffset",array:"stroke-dasharray"},yM={offset:"strokeDashoffset",array:"strokeDasharray"};function xM(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?vM:yM;e[s.offset]=z.transform(-r);const i=z.transform(t),a=z.transform(n);e[s.array]=`${i} ${a}`}function Hf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:i,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(Wf(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:y,dimensions:x}=e;f.transform&&(x&&(y.transform=f.transform),delete f.transform),x&&(o!==void 0||s!==void 0||y.transform)&&(y.transformOrigin=gM(x,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&xM(f,i,a,l,!1)}const Kf=e=>typeof e=="string"&&e.toLowerCase()==="svg",wM={useVisualState:Tw({scrapeMotionValuesFromProps:bw,createRenderState:kw,onMount:(e,t,{renderState:n,latestValues:r})=>{ne.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ne.render(()=>{Hf(n,r,Kf(t.tagName),e.transformTemplate),Ew(t,n)})}})},SM={useVisualState:Tw({scrapeMotionValuesFromProps:Bf,createRenderState:Uf})};function Rw(e,t,n){for(const r in t)!Le(t[r])&&!Pw(r,n)&&(e[r]=t[r])}function CM({transformTemplate:e},t){return p.useMemo(()=>{const n=Uf();return Wf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function EM(e,t){const n=e.style||{},r={};return Rw(r,n,e),Object.assign(r,CM(e,t)),r}function PM(e,t){const n={},r=EM(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const bM=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 $a(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||bM.has(e)}let Aw=e=>!$a(e);function TM(e){e&&(Aw=t=>t.startsWith("on")?!$a(t):e(t))}try{TM(require("@emotion/is-prop-valid").default)}catch{}function kM(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Aw(o)||n===!0&&$a(o)||!t&&!$a(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function _M(e,t,n,r){const o=p.useMemo(()=>{const s=kw();return Hf(s,t,Kf(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Rw(s,e.style,e),o.style={...s,...o.style}}return o}function RM(e=!1){return(n,r,o,{latestValues:s},i)=>{const l=(zf(n)?_M:PM)(r,s,i,n),u=kM(r,typeof n=="string",e),c=n!==p.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=p.useMemo(()=>Le(d)?d.get():d,[d]);return p.createElement(n,{...c,children:f})}}function AM(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const i={...zf(r)?wM:SM,preloadedFeatures:e,useRender:RM(o),createVisualElement:t,Component:r};return iM(i)}}const qc={current:null},Mw={current:!1};function MM(){if(Mw.current=!0,!!Vf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qc.current=e.matches;e.addListener(t),t()}else qc.current=!1}function NM(e,t,n){for(const r in t){const o=t[r],s=n[r];if(Le(o))e.addValue(r,o);else if(Le(s))e.addValue(r,Us(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,Us(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const mg=new WeakMap,DM=[...Ex,je,Yn],jM=e=>DM.find(Cx(e)),gg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class OM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:s,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Sf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Kt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,ne.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=bl(n),this.isVariantNode=ww(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const y=d[f];l[f]!==void 0&&Le(y)&&y.set(l[f],!1)}}mount(t){this.current=t,mg.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)),Mw.current||MM(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:qc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){mg.delete(this.current),this.projection&&this.projection.unmount(),Qn(this.notifyUpdate),Qn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Rr.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ne.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s(),i&&i(),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 Ro){const n=Ro[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(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):ge()}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<gg.length;r++){const o=gg[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=NM(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=Us(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(yx(o)||vx(o))?o=parseFloat(o):!jM(o)&&Yn.test(n)&&(o=Mx(t,n)),this.setBaseTarget(t,Le(o)?o.get():o)),Le(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const i=hf(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);i&&(o=i[t])}if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Le(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new jf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Nw extends OM{constructor(){super(...arguments),this.KeyframeResolver=Nx}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;Le(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function LM(e){return window.getComputedStyle(e)}class IM extends Nw{constructor(){super(...arguments),this.type="html",this.renderInstance=Sw}readValueFromInstance(t,n){if(Rr.has(n)){const r=bf(n);return r&&r.default||0}else{const r=LM(t),o=(wx(n)?r.getPropertyValue(n):r[n])||0;
194return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ow(t,n)}build(t,n,r){Wf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Bf(t,n,r)}}class FM extends Nw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Rr.has(n)){const r=bf(n);return r&&r.default||0}return n=Cw.has(n)?n:Of(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return bw(t,n,r)}build(t,n,r){Hf(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){Ew(t,n,r,o)}mount(t){this.isSVGTag=Kf(t.tagName),super.mount(t)}}const VM=(e,t)=>zf(e)?new FM(t):new IM(t,{allowProjection:e!==p.Fragment}),zM=AM({...TR,...qA,...zA,...ZA},VM),BM=Pk(zM);class $M extends p.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function UM({children:e,isPresent:t}){const n=p.useId(),r=p.useRef(null),o=p.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=p.useContext(Ff);return p.useInsertionEffect(()=>{const{width:i,height:a,top:l,left:u}=o.current;if(t||!r.current||!i||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` 195 [data-motion-pop-id="${n}"] { 196 position: absolute !important; 197 width: ${i}px !important; 198 height: ${a}px !important; 199 top: ${l}px !important; 200 left: ${u}px !important; 201 } 202 `),()=>{document.head.removeChild(c)}},[t]),h.jsx($M,{isPresent:t,childRef:r,sizeRef:o,children:p.cloneElement(e,{ref:r})})}const WM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:i})=>{const a=$f(HM),l=p.useId(),u=p.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),c=p.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:u,register:d=>(a.set(d,!1),()=>a.delete(d))}),s?[Math.random(),u]:[n,u]);return p.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),p.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),i==="popLayout"&&(e=h.jsx(UM,{isPresent:n,children:e})),h.jsx(El.Provider,{value:c,children:e})};function HM(){return new Map}const Vi=e=>e.key||"";function vg(e){const t=[];return p.Children.forEach(e,n=>{p.isValidElement(n)&&t.push(n)}),t}const KM=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:i="sync"})=>{const a=p.useMemo(()=>vg(e),[e]),l=a.map(Vi),u=p.useRef(!0),c=p.useRef(a),d=$f(()=>new Map),[f,y]=p.useState(a),[x,v]=p.useState(a);vw(()=>{u.current=!1,c.current=a;for(let g=0;g<x.length;g++){const w=Vi(x[g]);l.includes(w)?d.delete(w):d.get(w)!==!0&&d.set(w,!1)}},[x,l.length,l.join("-")]);const S=[];if(a!==f){let g=[...a];for(let w=0;w<x.length;w++){const C=x[w],E=Vi(C);l.includes(E)||(g.splice(w,0,C),S.push(C))}i==="wait"&&S.length&&(g=S),v(vg(g)),y(a);return}const{forceRender:m}=p.useContext(Lf);return h.jsx(h.Fragment,{children:x.map(g=>{const w=Vi(g),C=a===x||l.includes(w),E=()=>{if(d.has(w))d.set(w,!0);else return;let b=!0;d.forEach(T=>{T||(b=!1)}),b&&(m==null||m(),v(c.current),o&&o())};return h.jsx(WM,{isPresent:C,initial:!u.current||r?void 0:!1,custom:C?void 0:n,presenceAffectsLayout:s,mode:i,onExitComplete:C?void 0:E,children:g},w)})})};var GM=p.createContext(void 0);function Dw(e){const t=p.useContext(GM);return e||t||"ltr"}var bu=0;function jw(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yg()),document.body.insertAdjacentElement("beforeend",e[1]??yg()),bu++,()=>{bu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),bu--}},[])}function yg(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,187 bytes, line 202
202style.position="fixed",e.style.pointerEvents="none",e}var Tu="focusScope.autoFocusOnMount",ku="focusScope.autoFocusOnUnmount",xg={bubbles:!1,cancelable:!0},QM="FocusScope",Gf=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=p.useState(null),u=Ke(o),c=Ke(s),d=p.useRef(null),f=we(t,v=>l(v)),y=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(y.paused||!a)return;const C=w.target;a.contains(C)?d.current=C:En(d.current,{select:!0})},S=function(w){if(y.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||En(d.current,{select:!0}))},m=function(w){if(document.activeElement===document.body)for(const E of w)E.removedNodes.length>0&&En(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",S);const g=new MutationObserver(m);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",S),g.disconnect()}}},[r,a,y.paused]),p.useEffect(()=>{if(a){Sg.add(y);const v=document.activeElement;if(!a.contains(v)){const m=new CustomEvent(Tu,xg);a.addEventListener(Tu,u),a.dispatchEvent(m),m.defaultPrevented||(YM(e2(Ow(a)),{select:!0}),document.activeElement===v&&En(a))}return()=>{a.removeEventListener(Tu,u),setTimeout(()=>{const m=new CustomEvent(ku,xg);a.addEventListener(ku,c),a.dispatchEvent(m),m.defaultPrevented||En(v??document.body,{select:!0}),a.removeEventListener(ku,c),Sg.remove(y)},0)}}},[a,u,c,y]);const x=p.useCallback(v=>{if(!n&&!r||y.paused)return;const S=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(S&&m){const g=v.currentTarget,[w,C]=XM(g);w&&C?!v.shiftKey&&m===C?(v.preventDefault(),n&&En(w,{select:!0})):v.shiftKey&&m===w&&(v.preventDefault(),n&&En(C,{select:!0})):m===g&&v.preventDefault()}},[n,r,y.paused]);return h.jsx(ee.div,{tabIndex:-1,...i,ref:f,onKeyDown:x})});Gf.displayName=QM;function YM(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(En(r,{select:t}),document.activeElement!==n)return}function XM(e){const t=Ow(e),n=wg(t,e),r=wg(t.reverse(),e);return[n,r]}function Ow(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function wg(e,t){for(const n of e)if(!qM(n,{upTo:t}))return n}function qM(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ZM(e){return e instanceof HTMLInputElement&&"select"in e}function En(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ZM(e)&&t&&e.select()}}var Sg=JM();function JM(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Cg(e,t),e.unshift(t)},remove(t){var n;e=Cg(e,t),(n=e[0])==null||n.resume()}}}function Cg(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function e2(e){return e.filter(t=>t.tagName!=="A")}var t2=rv.useId||(()=>{}),n2=0;function io(e){const[t,n]=p.useState(t2());return Gn(()=>{e||n(r=>r??String(n2++))},[e]),e||(t?`radix-${t}`:"")}const r2=["top","right","bottom","left"],Xn=Math.min,ot=Math.max,Ua=Math.round,zi=Math.floor,Gt=e=>({x:e,y:e}),o2={left:"right",right:"left",bottom:"top",top:"bottom"},s2={start:"end",end:"start"};function Zc(e,t,n){return ot(e,Xn(t,n))}function fn(e,t){return typeof e=="function"?e(t):e}function pn(e){return e.split("-")[0]}function Io(e){return e.split("-")[1]}function Qf(e){return e==="x"?"y":"x"}function Yf(e){return e==="y"?"height":"width"}function qn(e){return["top","bottom"].includes(pn(e))?"y":"x"}function Xf(e){return Qf(qn(e))}function i2(e,t,n){n===void 0&&(n=!1);const r=Io(e),o=Xf(e),s=Yf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Wa(i)),[i,Wa(i)]}function a2(e){const t=Wa(e);return[Jc(e),t,Jc(t)]}
vendor: 4,401 bytes, line 202
202function Jc(e){return e.replace(/start|end/g,t=>s2[t])}function l2(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function u2(e,t,n,r){const o=Io(e);let s=l2(pn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Jc)))),s}function Wa(e){return e.replace(/left|right|bottom|top/g,t=>o2[t])}function c2(e){return{top:0,right:0,bottom:0,left:0,...e}}function Lw(e){return typeof e!="number"?c2(e):{top:e,right:e,bottom:e,left:e}}function Ha(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Eg(e,t,n){let{reference:r,floating:o}=e;const s=qn(t),i=Xf(t),a=Yf(i),l=pn(t),u=s==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let y;switch(l){case"top":y={x:c,y:r.y-o.height};break;case"bottom":y={x:c,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:d};break;case"left":y={x:r.x-o.width,y:d};break;default:y={x:r.x,y:r.y}}switch(Io(t)){case"start":y[i]-=f*(n&&u?-1:1);break;case"end":y[i]+=f*(n&&u?-1:1);break}return y}const d2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=Eg(u,r,l),f=r,y={},x=0;for(let v=0;v<a.length;v++){const{name:S,fn:m}=a[v],{x:g,y:w,data:C,reset:E}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:y,rects:u,platform:i,elements:{reference:e,floating:t}});c=g??c,d=w??d,y={...y,[S]:{...y[S],...C}},E&&x<=50&&(x++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:d}=Eg(u,f,l)),v=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:y}};async function Ws(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:y=0}=fn(t,e),x=Lw(y),S=a[f?d==="floating"?"reference":"floating":d],m=Ha(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(S)))==null||n?S:S.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Ha(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(m.top-E.top+x.top)/C.y,bottom:(E.bottom-m.bottom+x.bottom)/C.y,left:(m.left-E.left+x.left)/C.x,right:(E.right-m.right+x.right)/C.x}}const f2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=fn(e,t)||{};if(u==null)return{};const d=Lw(c),f={x:n,y:r},y=Xf(o),x=Yf(y),v=await i.getDimensions(u),S=y==="y",m=S?"top":"left",g=S?"bottom":"right",w=S?"clientHeight":"clientWidth",C=s.reference[x]+s.reference[y]-f[y]-s.floating[x],E=f[y]-s.reference[y],b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=b?b[w]:0;(!T||!await(i.isElement==null?void 0:i.isElement(b)))&&(T=a.floating[w]||s.floating[x]);const P=C/2-E/2,A=T/2-v[x]/2-1,N=Xn(d[m],A),V=Xn(d[g],A),O=N,H=T-v[x]-V,D=T/2-v[x]/2+P,Y=Zc(O,D,H),W=!l.arrow&&Io(o)!=null&&D!==Y&&s.reference[x]/2-(D<O?N:V)-v[x]/2<0,$=W?D<O?D-O:D-H:0;return{[y]:f[y]+$,data:{[y]:Y,centerOffset:D-Y-$,...W&&{alignmentOffset:$}},reset:W}}}),p2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...S}=fn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=pn(o),g=qn(a),w=pn(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=f||(w||!v?[Wa(a)]:a2(a)),b=x!=="none";!f&&b&&E.push(...u2(a,v,x,C));
vendor: 5,110 bytes, line 202
202const T=[a,...E],P=await Ws(t,S),A=[];let N=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&A.push(P[m]),d){const D=i2(o,i,C);A.push(P[D[0]],P[D[1]])}if(N=[...N,{placement:o,overflows:A}],!A.every(D=>D<=0)){var V,O;const D=(((V=s.flip)==null?void 0:V.index)||0)+1,Y=T[D];if(Y)return{data:{index:D,overflows:N},reset:{placement:Y}};let W=(O=N.filter($=>$.overflows[0]<=0).sort(($,k)=>$.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!W)switch(y){case"bestFit":{var H;const $=(H=N.filter(k=>{if(b){const _=qn(k.placement);return _===g||_==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(_=>_>0).reduce((_,j)=>_+j,0)]).sort((k,_)=>k[1]-_[1])[0])==null?void 0:H[0];$&&(W=$);break}case"initialPlacement":W=a;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function Pg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bg(e){return r2.some(t=>e[t]>=0)}const h2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=fn(e,t);switch(r){case"referenceHidden":{const s=await Ws(t,{...o,elementContext:"reference"}),i=Pg(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:bg(i)}}}case"escaped":{const s=await Ws(t,{...o,altBoundary:!0}),i=Pg(s,n.floating);return{data:{escapedOffsets:i,escaped:bg(i)}}}default:return{}}}}};async function m2(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=pn(n),a=Io(n),l=qn(n)==="y",u=["left","top"].includes(i)?-1:1,c=s&&l?-1:1,d=fn(t,e);let{mainAxis:f,crossAxis:y,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof x=="number"&&(y=a==="end"?x*-1:x),l?{x:y*c,y:f*u}:{x:f*u,y:y*c}}const g2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await m2(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},v2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:S=>{let{x:m,y:g}=S;return{x:m,y:g}}},...l}=fn(e,t),u={x:n,y:r},c=await Ws(t,l),d=qn(pn(o)),f=Qf(d);let y=u[f],x=u[d];if(s){const S=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=y+c[S],w=y-c[m];y=Zc(g,y,w)}if(i){const S=d==="y"?"top":"left",m=d==="y"?"bottom":"right",g=x+c[S],w=x-c[m];x=Zc(g,x,w)}const v=a.fn({...t,[f]:y,[d]:x});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[f]:s,[d]:i}}}}}},y2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=fn(e,t),c={x:n,y:r},d=qn(o),f=Qf(d);let y=c[f],x=c[d];const v=fn(a,t),S=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=f==="y"?"height":"width",C=s.reference[f]-s.floating[w]+S.mainAxis,E=s.reference[f]+s.reference[w]-S.mainAxis;y<C?y=C:y>E&&(y=E)}if(u){var m,g;const w=f==="y"?"width":"height",C=["top","left"].includes(pn(o)),E=s.reference[d]-s.floating[w]+(C&&((m=i.offset)==null?void 0:m[d])||0)+(C?0:S.crossAxis),b=s.reference[d]+s.reference[w]+(C?0:((g=i.offset)==null?void 0:g[d])||0)-(C?S.crossAxis:0);x<E?x=E:x>b&&(x=b)}return{[f]:y,[d]:x}}}},x2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=fn(e,t),c=await Ws(t,u),d=pn(o),f=Io(o),y=qn(o)==="y",{width:x,height:v}=s.floating;let S,m;d==="top"||d==="bottom"?(S=d,m=f===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,S=f==="end"?"top":"bottom");const g=v-c.top-c.bottom,w=x-c.left-c.right,C=Xn(v-c[S],g),E=Xn(x-c[m],w),b=!t.middlewareData.shift;let T=C,P=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=g),b&&!f){const N=ot(c.left,0),V=ot(c.right,0),O=ot(c.top,0),H=ot(c.bottom,0);y?P=x-2*(N!==0||V!==0?N+V:ot(c.left,c.right)):T=v-2*(O!==0||H!==0?O+H:ot(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:T});const A=await i.getDimensions(a.floating);return x!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Tl(){return typeof window<"u"}function Fo(e){return Iw(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(Iw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Iw(e){return Tl()?e instanceof Node||e instanceof at(e).Node:!1}function Dt(e){return Tl()?e instanceof Element||e instanceof at(e).Element:!1}function Qt(e){return Tl()?e instanceof HTMLElement||e instanceof at(e).HTMLElement:!1}function Tg(e){return!Tl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}function ci(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=jt(e);
vendor: 6,183 bytes, line 202
202return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function w2(e){return["table","td","th"].includes(Fo(e))}function kl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function qf(e){const t=Zf(),n=Dt(e)?jt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function S2(e){let t=Zn(e);for(;Qt(t)&&!Ao(t);){if(qf(t))return t;if(kl(t))return null;t=Zn(t)}return null}function Zf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ao(e){return["html","body","#document"].includes(Fo(e))}function jt(e){return at(e).getComputedStyle(e)}function _l(e){return Dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zn(e){if(Fo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tg(e)&&e.host||Yt(e);return Tg(t)?t.host:t}function Fw(e){const t=Zn(e);return Ao(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qt(t)&&ci(t)?t:Fw(t)}function Hs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Fw(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=at(o);if(s){const a=ed(i);return t.concat(i,i.visualViewport||[],ci(o)?o:[],a&&n?Hs(a):[])}return t.concat(o,Hs(o,[],n))}function ed(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vw(e){const t=jt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Qt(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Ua(n)!==s||Ua(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Jf(e){return Dt(e)?e:e.contextElement}function ao(e){const t=Jf(e);if(!Qt(t))return Gt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Vw(t);let i=(s?Ua(n.width):n.width)/r,a=(s?Ua(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const C2=Gt(0);function zw(e){const t=at(e);return!Zf()||!t.visualViewport?C2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function E2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==at(e)?!1:t}function br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Jf(e);let i=Gt(1);t&&(r?Dt(r)&&(i=ao(r)):i=ao(e));const a=E2(s,n,r)?zw(s):Gt(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(s){const f=at(s),y=r&&Dt(r)?at(r):r;let x=f,v=ed(x);for(;v&&r&&y!==x;){const S=ao(v),m=v.getBoundingClientRect(),g=jt(v),w=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*S.x,C=m.top+(v.clientTop+parseFloat(g.paddingTop))*S.y;l*=S.x,u*=S.y,c*=S.x,d*=S.y,l+=w,u+=C,x=at(v),v=ed(x)}}return Ha({width:c,height:d,x:l,y:u})}function ep(e,t){const n=_l(e).scrollLeft;return t?t.left+n:br(Yt(e)).left+n}function Bw(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:ep(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function P2(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Yt(r),a=t?kl(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=Gt(1);const c=Gt(0),d=Qt(r);if((d||!d&&!s)&&((Fo(r)!=="body"||ci(i))&&(l=_l(r)),Qt(r))){const y=br(r);u=ao(r),c.x=y.x+r.clientLeft,c.y=y.y+r.clientTop}const f=i&&!d&&!s?Bw(i,l,!0):Gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function b2(e){return Array.from(e.getClientRects())}function T2(e){const t=Yt(e),n=_l(e),r=e.ownerDocument.body,o=ot(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ot(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+ep(e);const a=-n.scrollTop;return jt(r).direction==="rtl"&&(i+=ot(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function k2(e,t){const n=at(e),r=Yt(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const u=Zf();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}function _2(e,t){const n=br(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Qt(e)?ao(e):Gt(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function kg(e,t,n){let r;if(t==="viewport")r=k2(e,n);else if(t==="document")r=T2(Yt(e));else if(Dt(t))r=_2(t,n);else{const o=zw(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ha(r)}function $w(e,t){const n=Zn(e);return n===t||!Dt(n)||Ao(n)?!1:jt(n).position==="fixed"||$w(n,t)}function R2(e,t){const n=t.get(e);if(n)return n;let r=Hs(e,[],!1).filter(a=>Dt(a)&&Fo(a)!=="body"),o=null;const s=jt(e).position==="fixed";let i=s?Zn(e):e;for(;Dt(i)&&!Ao(i);){const a=jt(i),l=qf(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ci(i)&&!l&&$w(e,i))?r=r.filter(c=>c!==i):o=a,i=Zn(i)}return t.set(e,r),r}function A2(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kl(t)?[]:R2(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,c)=>{const d=kg(t,c,o);return u.top=ot(d.top,u.top),u.right=Xn(d.right,u.right),u.bottom=Xn(d.bottom,u.bottom),u.left=ot(d.left,u.left),u},kg(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function M2(e){const{width:t,height:n}=Vw(e);return{width:t,height:n}}function N2(e,t,n){const r=Qt(t),o=Yt(t),s=n==="fixed",i=br(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Gt(0);if(r||!r&&!s)if((Fo(t)!=="body"||ci(o))&&(a=_l(t)),r){const f=br(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&(l.x=ep(o));const u=o&&!r&&!s?Bw(o,a):Gt(0),c=i.left+a.scrollLeft-l.x-u.x,d=i.top+a.scrollTop-l.y-u.y;return{x:c,y:d,width:i.width,height:i.height}}function _u(e){return jt(e).position==="static"}function _g(e,t){if(!Qt(e)||jt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Yt(e)===n&&(n=n.ownerDocument.body),n}function Uw(e,t){const n=at(e);
vendor: 12,681 bytes, line 202
202if(kl(e))return n;if(!Qt(e)){let o=Zn(e);for(;o&&!Ao(o);){if(Dt(o)&&!_u(o))return o;o=Zn(o)}return n}let r=_g(e,t);for(;r&&w2(r)&&_u(r);)r=_g(r,t);return r&&Ao(r)&&_u(r)&&!qf(r)?n:r||S2(e)||n}const D2=async function(e){const t=this.getOffsetParent||Uw,n=this.getDimensions,r=await n(e.floating);return{reference:N2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function j2(e){return jt(e).direction==="rtl"}const O2={convertOffsetParentRelativeRectToViewportRelativeRect:P2,getDocumentElement:Yt,getClippingRect:A2,getOffsetParent:Uw,getElementRects:D2,getClientRects:b2,getDimensions:M2,getScale:ao,isElement:Dt,isRTL:j2};function L2(e,t){let n=null,r;const o=Yt(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;const y=zi(c),x=zi(o.clientWidth-(u+d)),v=zi(o.clientHeight-(c+f)),S=zi(u),g={rootMargin:-y+"px "+-x+"px "+-v+"px "+-S+"px",threshold:ot(0,Xn(1,l))||1};let w=!0;function C(E){const b=E[0].intersectionRatio;if(b!==l){if(!w)return i();b?i(!1,b):r=setTimeout(()=>{i(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(C,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,g)}n.observe(e)}return i(!0),s}function I2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Jf(e),c=o||s?[...u?Hs(u):[],...Hs(t)]:[];c.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const d=u&&a?L2(u,n):null;let f=-1,y=null;i&&(y=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=y)==null||w.observe(t)})),n()}),u&&!l&&y.observe(u),y.observe(t));let x,v=l?br(e):null;l&&S();function S(){const m=br(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,x=requestAnimationFrame(S)}return n(),()=>{var m;c.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),d==null||d(),(m=y)==null||m.disconnect(),y=null,l&&cancelAnimationFrame(x)}}const F2=g2,V2=v2,z2=p2,B2=x2,$2=h2,Rg=f2,U2=y2,W2=(e,t,n)=>{const r=new Map,o={platform:O2,...n},s={...o.platform,_c:r};return d2(e,t,{...o,platform:s})};var la=typeof document<"u"?p.useLayoutEffect:p.useEffect;function Ka(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,o;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(!Ka(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Ka(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ww(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ag(e,t){const n=Ww(e);return Math.round(t*n)/n}function Ru(e){const t=p.useRef(e);return la(()=>{t.current=e}),t}function H2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,y]=p.useState(r);Ka(f,r)||y(r);const[x,v]=p.useState(null),[S,m]=p.useState(null),g=p.useCallback(k=>{k!==b.current&&(b.current=k,v(k))},[]),w=p.useCallback(k=>{k!==T.current&&(T.current=k,m(k))},[]),C=s||x,E=i||S,b=p.useRef(null),T=p.useRef(null),P=p.useRef(c),A=l!=null,N=Ru(l),V=Ru(o),O=Ru(u),H=p.useCallback(()=>{if(!b.current||!T.current)return;const k={placement:t,strategy:n,middleware:f};V.current&&(k.platform=V.current),W2(b.current,T.current,k).then(_=>{const j={..._,isPositioned:O.current!==!1};D.current&&!Ka(P.current,j)&&(P.current=j,ti.flushSync(()=>{d(j)}))})},[f,t,n,V,O]);la(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const D=p.useRef(!1);la(()=>(D.current=!0,()=>{D.current=!1}),[]),la(()=>{if(C&&(b.current=C),E&&(T.current=E),C&&E){if(N.current)return N.current(C,E,H);H()}},[C,E,H,N,A]);const Y=p.useMemo(()=>({reference:b,floating:T,setReference:g,setFloating:w}),[g,w]),W=p.useMemo(()=>({reference:C,floating:E}),[C,E]),$=p.useMemo(()=>{const k={position:n,left:0,top:0};if(!W.floating)return k;const _=Ag(W.floating,c.x),j=Ag(W.floating,c.y);return a?{...k,transform:"translate("+_+"px, "+j+"px)",...Ww(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:j}},[n,a,W.floating,c.x,c.y]);return p.useMemo(()=>({...c,update:H,refs:Y,elements:W,floatingStyles:$}),[c,H,Y,W,$])}const K2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Rg({element:r.current,padding:o}).fn(n):{}:r?Rg({element:r,padding:o}).fn(n):{}}}},G2=(e,t)=>({...F2(e),options:[e,t]}),Q2=(e,t)=>({...V2(e),options:[e,t]}),Y2=(e,t)=>({...U2(e),options:[e,t]}),X2=(e,t)=>({...z2(e),options:[e,t]}),q2=(e,t)=>({...B2(e),options:[e,t]}),Z2=(e,t)=>({...$2(e),options:[e,t]}),J2=(e,t)=>({...K2(e),options:[e,t]});var eN="Arrow",Hw=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return h.jsx(ee.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});Hw.displayName=eN;var tN=Hw;function nN(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:f,children:y,...x}=d,v=(f==null?void 0:f[e][l])||a,S=p.useMemo(()=>x,Object.values(x));return h.jsx(v.Provider,{value:S,children:y})}function c(d,f){const y=(f==null?void 0:f[e][l])||a,x=p.useContext(y);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,c]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,rN(o,...t)]}function rN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Kw(e){const[t,n]=p.useState(void 0);return Gn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var tp="Popper",[Gw,Qw]=nN(tp),[oN,Yw]=Gw(tp),Xw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return h.jsx(oN,{scope:t,anchor:r,onAnchorChange:o,children:n})};Xw.displayName=tp;var qw="PopperAnchor",Zw=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Yw(qw,n),i=p.useRef(null),a=we(t,i);return p.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:h.jsx(ee.div,{...o,ref:a})});Zw.displayName=qw;var np="PopperContent",[sN,iN]=Gw(np),Jw=p.forwardRef((e,t)=>{var Xe,Vo,ft,zo,yp,xp;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:y="optimized",onPlaced:x,...v}=e,S=Yw(np,n),[m,g]=p.useState(null),w=we(t,Bo=>g(Bo)),[C,E]=p.useState(null),b=Kw(C),T=(b==null?void 0:b.width)??0,P=(b==null?void 0:b.height)??0,A=r+(s!=="center"?"-"+s:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},V=Array.isArray(u)?u:[u],O=V.length>0,H={padding:N,boundary:V.filter(lN),altBoundary:O},{refs:D,floatingStyles:Y,placement:W,isPositioned:$,middlewareData:k}=H2({strategy:"fixed",placement:A,whileElementsMounted:(...Bo)=>I2(...Bo,{animationFrame:y==="always"}),elements:{reference:S.anchor},middleware:[G2({mainAxis:o+P,alignmentAxis:i}),l&&Q2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Y2():void 0,...H}),l&&X2({...H}),q2({...H,apply:({elements:Bo,rects:wp,availableWidth:HS,availableHeight:KS})=>{const{width:GS,height:QS}=wp.reference,pi=Bo.floating.style;pi.setProperty("--radix-popper-available-width",`${HS}px`),pi.setProperty("--radix-popper-available-height",`${KS}px`),pi.setProperty("--radix-popper-anchor-width",`${GS}px`),pi.setProperty("--radix-popper-anchor-height",`${QS}px`)}}),C&&J2({element:C,padding:a}),uN({arrowWidth:T,arrowHeight:P}),f&&Z2({strategy:"referenceHidden",...H})]}),[_,j]=n1(W),U=Ke(x);Gn(()=>{$&&(U==null||U())},[$,U]);const X=(Xe=k.arrow)==null?void 0:Xe.x,Ve=(Vo=k.arrow)==null?void 0:Vo.y,Re=((ft=k.arrow)==null?void 0:ft.centerOffset)!==0,[gn,ze]=p.useState();return Gn(()=>{m&&ze(window.getComputedStyle(m).zIndex)},[m]),h.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:$?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:gn,"--radix-popper-transform-origin":[(zo=k.transformOrigin)==null?void 0:zo.x,(yp=k.transformOrigin)==null?void 0:yp.y].join(" "),...((xp=k.hide)==null?void 0:xp.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(sN,{scope:n,placedSide:_,onArrowChange:E,arrowX:X,arrowY:Ve,shouldHideArrow:Re,children:h.jsx(ee.div,{"data-side":_,"data-align":j,...v,ref:w,style:{...v.style,animation:$?void 0:"none"}})})})});Jw.displayName=np;var e1="PopperArrow",aN={top:"bottom",right:"left",bottom:"top",left:"right"},t1=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=iN(e1,r),i=aN[s.placedSide];return h.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]: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:h.jsx(tN,{...o,ref:n,style:{...o.style,display:"block"}})})});t1.displayName=e1;function lN(e){return e!==null}var uN=e=>({name:"transformOrigin",options:e,fn(t){var S,m,g;const{placement:n,rects:r,middlewareData:o}=t,i=((S=o.arrow)==null?void 0:S.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,c]=n1(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,y=(((g=o.arrow)==null?void 0:g.y)??0)+l/2;let x="",v="";return u==="bottom"?(x=i?d:`${f}px`,v=`${-l}px`):u==="top"?(x=i?d:`${f}px`,v=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,v=i?d:`${y}px`):u==="left"&&(x=`${r.floating.width+l}px`,v=i?d:`${y}px`),{data:{x,y:v}}}});function n1(e){const[t,n="center"]=e.split("-");return[t,n]}var cN=Xw,dN=Zw,fN=Jw,pN=t1;function hN(e,t=[]){let n=[];function r(s,i){const a=p.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:f,children:y,...x}=d,v=(f==null?void 0:f[e][l])||a,S=p.useMemo(()=>x,Object.values(x));return h.jsx(v.Provider,{value:S,children:y})}function c(d,f){const y=(f==null?void 0:f[e][l])||a,x=p.useContext(y);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,c]}const o=()=>{const s=n.map(i=>p.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,mN(o,...t)]}function mN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Au="rovingFocusGroup.onEntryFocus",gN={bubbles:!1,cancelable:!0},Rl="RovingFocusGroup",[td,r1,vN]=sf(Rl),[yN,o1]=hN(Rl,[vN]),[xN,wN]=yN(Rl),s1=p.forwardRef((e,t)=>h.jsx(td.Provider,{scope:e.__scopeRovingFocusGroup,children:h.jsx(td.Slot,{scope:e.__scopeRovingFocusGroup,children:h.jsx(SN,{...e,ref:t})})}));s1.displayName=Rl;var SN=p.forwardRef((e,t)=>
vendor: 9,909 bytes, lines 202-217
202{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,f=p.useRef(null),y=we(t,f),x=Dw(s),[v=null,S]=oi({prop:i,defaultProp:a,onChange:l}),[m,g]=p.useState(!1),w=Ke(u),C=r1(n),E=p.useRef(!1),[b,T]=p.useState(0);return p.useEffect(()=>{const P=f.current;if(P)return P.addEventListener(Au,w),()=>P.removeEventListener(Au,w)},[w]),h.jsx(xN,{scope:n,orientation:r,dir:x,loop:o,currentTabStopId:v,onItemFocus:p.useCallback(P=>S(P),[S]),onItemShiftTab:p.useCallback(()=>g(!0),[]),onFocusableItemAdd:p.useCallback(()=>T(P=>P+1),[]),onFocusableItemRemove:p.useCallback(()=>T(P=>P-1),[]),children:h.jsx(ee.div,{tabIndex:m||b===0?-1:0,"data-orientation":r,...d,ref:y,style:{outline:"none",...e.style},onMouseDown:B(e.onMouseDown,()=>{E.current=!0}),onFocus:B(e.onFocus,P=>{const A=!E.current;if(P.target===P.currentTarget&&A&&!m){const N=new CustomEvent(Au,gN);if(P.currentTarget.dispatchEvent(N),!N.defaultPrevented){const V=C().filter(W=>W.focusable),O=V.find(W=>W.active),H=V.find(W=>W.id===v),Y=[O,H,...V].filter(Boolean).map(W=>W.ref.current);l1(Y,c)}}E.current=!1}),onBlur:B(e.onBlur,()=>g(!1))})})}),i1="RovingFocusGroupItem",a1=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,...i}=e,a=io(),l=s||a,u=wN(i1,n),c=u.currentTabStopId===l,d=r1(n),{onFocusableItemAdd:f,onFocusableItemRemove:y}=u;return p.useEffect(()=>{if(r)return f(),()=>y()},[r,f,y]),h.jsx(td.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:h.jsx(ee.span,{tabIndex:c?0:-1,"data-orientation":u.orientation,...i,ref:t,onMouseDown:B(e.onMouseDown,x=>{r?u.onItemFocus(l):x.preventDefault()}),onFocus:B(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:B(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const v=PN(x,u.orientation,u.dir);if(v!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let m=d().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const g=m.indexOf(x.currentTarget);m=u.loop?bN(m,g+1):m.slice(g+1)}setTimeout(()=>l1(m))}})})})});a1.displayName=i1;var CN={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function EN(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function PN(e,t,n){const r=EN(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return CN[r]}function l1(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function bN(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var TN=s1,kN=a1,_N=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Dr=new WeakMap,Bi=new WeakMap,$i={},Mu=0,u1=function(e){return e&&(e.host||u1(e.parentNode))},RN=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=u1(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},AN=function(e,t,n,r){var o=RN(t,Array.isArray(e)?e:[e]);$i[n]||($i[n]=new WeakMap);var s=$i[n],i=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))c(f);else try{var y=f.getAttribute(r),x=y!==null&&y!=="false",v=(Dr.get(f)||0)+1,S=(s.get(f)||0)+1;Dr.set(f,v),s.set(f,S),i.push(f),v===1&&x&&Bi.set(f,!0),S===1&&f.setAttribute(n,"true"),x||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return c(t),a.clear(),Mu++,function(){i.forEach(function(d){var f=Dr.get(d)-1,y=s.get(d)-1;Dr.set(d,f),s.set(d,y),f||(Bi.has(d)||d.removeAttribute(r),Bi.delete(d)),y||d.removeAttribute(n)}),Mu--,Mu||(Dr=new WeakMap,Dr=new WeakMap,Bi=new WeakMap,$i={})}},c1=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=_N(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),AN(r,o,n,"aria-hidden")):function(){return null}},$t=function(){return $t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},$t.apply(this,arguments)};function d1(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function MN(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var ua="right-scroll-bar-position",ca="width-before-scroll-bar",NN="with-scroll-bars-hidden",DN="--removed-body-scroll-bar-size";function Nu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jN(e,t){var n=p.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var ON=typeof window<"u"?p.useLayoutEffect:p.useEffect,Mg=new WeakMap;function LN(e,t){var n=jN(null,function(r){return e.forEach(function(o){return Nu(o,r)})});return ON(function(){var r=Mg.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Nu(a,null)}),s.forEach(function(a){o.has(a)||Nu(a,i)})}Mg.set(n,e)},[e]),n}function IN(e){return e}function FN(e,t){t===void 0&&(t=IN);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var c=i;i=[],c.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){i.push(c),u()},filter:function(c){return i=i.filter(c),n}}}};return o}function VN(e){e===void 0&&(e={});var t=FN(null);return t.options=$t({async:!0,ssr:!1},e),t}var f1=function(e){var t=e.sideCar,n=d1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return p.createElement(r,$t({},n))};f1.isSideCarExport=!0;function zN(e,t){return e.useMedium(t),f1}var p1=VN(),Du=function(){},Al=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:Du,onWheelCapture:Du,onTouchMoveCapture:Du}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,y=e.noIsolation,x=e.inert,v=e.allowPinchZoom,S=e.as,m=S===void 0?"div":S,g=e.gapMode,w=d1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,E=LN([n,t]),b=$t($t({},w),o);return p.createElement(p.Fragment,null,c&&p.createElement(C,{sideCar:p1,removeScrollBar:u,shards:d,noIsolation:y,inert:x,setCallbacks:s,allowPinchZoom:!!v,lockRef:n,gapMode:g}),i?p.cloneElement(p.Children.only(a),$t($t({},b),{ref:E})):p.createElement(m,$t({},b,{className:l,ref:E}),a))});Al.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Al.classNames={fullWidth:ca,zeroRight:ua};var BN=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $N(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=BN();return t&&e.setAttribute("nonce",t),e}function UN(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function WN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var HN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=$N())&&(UN(t,n),WN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},KN=function(){var e=HN();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},h1=function(){var e=KN(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},GN={left:0,top:0,right:0,gap:0},ju=function(e){return parseInt(e||"",10)||0},QN=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ju(n),ju(r),ju(o)]},YN=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return GN;var t=QN(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},XN=h1(),lo="data-scroll-locked",qN=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` 203 .`.concat(NN,` { 204 overflow: hidden `).concat(r,`; 205 padding-right: `).concat(a,"px ").concat(r,`; 206 } 207 body[`).concat(lo,`] { 208 overflow: hidden `).concat(r,`; 209 overscroll-behavior: contain; 210 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 211 padding-left: `.concat(o,`px; 212 padding-top: `).concat(s,`px; 213 padding-right: `).concat(i,`px; 214 margin-left:0; 215 margin-top:0; 216 margin-right: `).concat(a,"px ").concat(r,`; 217 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
217")].filter(Boolean).join(""),` 218 } 219 220 .`).concat(ua,` { 221 right: `).concat(a,"px ").concat(r,`; 222 } 223 224 .`).concat(ca,` { 225 margin-right: `).concat(a,"px ").concat(r,`; 226 } 227 228 .`).concat(ua," .").concat(ua,` { 229 right: 0 `).concat(r,`; 230 } 231 232 .`).concat(ca," .").concat(ca,` { 233 margin-right: 0 `).concat(r,`; 234 } 235 236 body[`).concat(lo,`] { 237 `).concat(DN,": ").concat(a,`px; 238 } 239`)},Ng=function(){var e=parseInt(document.body.getAttribute(lo)||"0",10);return isFinite(e)?e:0},ZN=function(){p.useEffect(function(){return document.body.setAttribute(lo,(Ng()+1).toString()),function(){var e=Ng()-1;e<=0?document.body.removeAttribute(lo):document.body.setAttribute(lo,e.toString())}},[])},JN=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ZN();var s=p.useMemo(function(){return YN(o)},[o]);return p.createElement(XN,{styles:qN(s,!t,o,n?"":"!important")})},nd=!1;if(typeof window<"u")try{var Ui=Object.defineProperty({},"passive",{get:function(){return nd=!0,!0}});window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{nd=!1}var jr=nd?{passive:!1}:!1,eD=function(e){return e.tagName==="TEXTAREA"},m1=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!eD(e)&&n[t]==="visible")},tD=function(e){return m1(e,"overflowY")},nD=function(e){return m1(e,"overflowX")},Dg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=g1(e,r);if(o){var s=v1(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},rD=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},oD=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},g1=function(e,t){return e==="v"?tD(t):nD(t)},v1=function(e,t){return e==="v"?rD(t):oD(t)},sD=function(e,t){return e==="h"&&t==="rtl"?-1:1},iD=function(e,t,n,r,o){var s=sD(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),u=!1,c=i>0,d=0,f=0;do{var y=v1(e,a),x=y[0],v=y[1],S=y[2],m=v-S-s*x;(x||m)&&g1(e,a)&&(d+=m,f+=x),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(Math.abs(d)<1||!o)||!c&&(Math.abs(f)<1||!o))&&(u=!0),u},Wi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},jg=function(e){return[e.deltaX,e.deltaY]},Og=function(e){return e&&"current"in e?e.current:e},aD=function(e,t){return e[0]===t[0]&&e[1]===t[1]},lD=function(e){return` 240 .block-interactivity-`.concat(e,` {pointer-events: none;} 241 .allow-interactivity-`).concat(e,` {pointer-events: all;} 242`)},uD=0,Or=[];function cD(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(uD++)[0],s=p.useState(h1)[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=MN([e.lockRef.current],(e.shards||[]).map(Og),!0).filter(Boolean);return v.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(v,S){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var m=Wi(v),g=n.current,w="deltaX"in v?v.deltaX:g[0]-m[0],C="deltaY"in v?v.deltaY:g[1]-m[1],E,b=v.target,T=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&T==="h"&&b.type==="range")return!1;var P=Dg(T,b);if(!P)return!0;if(P?E=T:(E=T==="v"?"h":"v",P=Dg(T,b)),!P)return!1;if(!r.current&&"changedTouches"in v&&(w||C)&&(r.current=E),!E)return!0;var A=r.current||E;return iD(A,S,v,A==="h"?w:C,!0)},[]),l=p.useCallback(function(v){var S=v;if(!(!Or.length||Or[Or.length-1]!==s)){var m="deltaY"in S?jg(S):Wi(S),g=t.current.filter(function(E){return E.name===S.type&&(E.target===S.target||S.target===E.shadowParent)&&aD(E.delta,m)})[0];if(g&&g.should){S.cancelable&&S.preventDefault();return}
vendor: 15,469 bytes, line 242
242if(!g){var w=(i.current.shards||[]).map(Og).filter(Boolean).filter(function(E){return E.contains(S.target)}),C=w.length>0?a(S,w[0]):!i.current.noIsolation;C&&S.cancelable&&S.preventDefault()}}},[]),u=p.useCallback(function(v,S,m,g){var w={name:v,delta:S,target:m,should:g,shadowParent:dD(m)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),c=p.useCallback(function(v){n.current=Wi(v),r.current=void 0},[]),d=p.useCallback(function(v){u(v.type,jg(v),v.target,a(v,e.lockRef.current))},[]),f=p.useCallback(function(v){u(v.type,Wi(v),v.target,a(v,e.lockRef.current))},[]);p.useEffect(function(){return Or.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,jr),document.addEventListener("touchmove",l,jr),document.addEventListener("touchstart",c,jr),function(){Or=Or.filter(function(v){return v!==s}),document.removeEventListener("wheel",l,jr),document.removeEventListener("touchmove",l,jr),document.removeEventListener("touchstart",c,jr)}},[]);var y=e.removeScrollBar,x=e.inert;return p.createElement(p.Fragment,null,x?p.createElement(s,{styles:lD(o)}):null,y?p.createElement(JN,{gapMode:e.gapMode}):null)}function dD(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const fD=zN(p1,cD);var rp=p.forwardRef(function(e,t){return p.createElement(Al,$t({},e,{ref:t,sideCar:fD}))});rp.classNames=Al.classNames;var rd=["Enter"," "],pD=["ArrowDown","PageUp","Home"],y1=["ArrowUp","PageDown","End"],hD=[...pD,...y1],mD={ltr:[...rd,"ArrowRight"],rtl:[...rd,"ArrowLeft"]},gD={ltr:["ArrowLeft"],rtl:["ArrowRight"]},di="Menu",[Ks,vD,yD]=sf(di),[Ar,x1]=ri(di,[yD,Qw,o1]),Ml=Qw(),w1=o1(),[xD,Mr]=Ar(di),[wD,fi]=Ar(di),S1=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:s,modal:i=!0}=e,a=Ml(t),[l,u]=p.useState(null),c=p.useRef(!1),d=Ke(s),f=Dw(o);return p.useEffect(()=>{const y=()=>{c.current=!0,document.addEventListener("pointerdown",x,{capture:!0,once:!0}),document.addEventListener("pointermove",x,{capture:!0,once:!0})},x=()=>c.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",x,{capture:!0}),document.removeEventListener("pointermove",x,{capture:!0})}},[]),h.jsx(cN,{...a,children:h.jsx(xD,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:u,children:h.jsx(wD,{scope:t,onClose:p.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:c,dir:f,modal:i,children:r})})})};S1.displayName=di;var SD="MenuAnchor",op=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Ml(n);return h.jsx(dN,{...o,...r,ref:t})});op.displayName=SD;var sp="MenuPortal",[CD,C1]=Ar(sp,{forceMount:void 0}),E1=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,s=Mr(sp,t);return h.jsx(CD,{scope:t,forceMount:n,children:h.jsx(mn,{present:n||s.open,children:h.jsx(vl,{asChild:!0,container:o,children:r})})})};E1.displayName=sp;var wt="MenuContent",[ED,ip]=Ar(wt),P1=p.forwardRef((e,t)=>{const n=C1(wt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=Mr(wt,e.__scopeMenu),i=fi(wt,e.__scopeMenu);return h.jsx(Ks.Provider,{scope:e.__scopeMenu,children:h.jsx(mn,{present:r||s.open,children:h.jsx(Ks.Slot,{scope:e.__scopeMenu,children:i.modal?h.jsx(PD,{...o,ref:t}):h.jsx(bD,{...o,ref:t})})})})}),PD=p.forwardRef((e,t)=>{const n=Mr(wt,e.__scopeMenu),r=p.useRef(null),o=we(t,r);return p.useEffect(()=>{const s=r.current;if(s)return c1(s)},[]),h.jsx(ap,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:B(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),bD=p.forwardRef((e,t)=>{const n=Mr(wt,e.__scopeMenu);return h.jsx(ap,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ap=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,onDismiss:y,disableOutsideScroll:x,...v}=e,S=Mr(wt,n),m=fi(wt,n),g=Ml(n),w=w1(n),C=vD(n),[E,b]=p.useState(null),T=p.useRef(null),P=we(t,T,S.onContentChange),A=p.useRef(0),N=p.useRef(""),V=p.useRef(0),O=p.useRef(null),H=p.useRef("right"),D=p.useRef(0),Y=x?rp:p.Fragment,W=x?{as:Pr,allowPinchZoom:!0}:void 0,$=_=>{var Xe,Vo;const j=N.current+_,U=C().filter(ft=>!ft.disabled),X=document.activeElement,Ve=(Xe=U.find(ft=>ft.ref.current===X))==null?void 0:Xe.textValue,Re=U.map(ft=>ft.textValue),gn=ID(Re,j,Ve),ze=(Vo=U.find(ft=>ft.textValue===gn))==null?void 0:Vo.ref.current;(function ft(zo){N.current=zo,window.clearTimeout(A.current),zo!==""&&(A.current=window.setTimeout(()=>ft(""),1e3))})(j),ze&&setTimeout(()=>ze.focus())};p.useEffect(()=>()=>window.clearTimeout(A.current),[]),jw();const k=p.useCallback(_=>{var U,X;return H.current===((U=O.current)==null?void 0:U.side)&&VD(_,(X=O.current)==null?void 0:X.area)},[]);return h.jsx(ED,{scope:n,searchRef:N,onItemEnter:p.useCallback(_=>{k(_)&&_.preventDefault()},[k]),onItemLeave:p.useCallback(_=>{var j;k(_)||((j=T.current)==null||j.focus(),b(null))},[k]),onTriggerLeave:p.useCallback(_=>{k(_)&&_.preventDefault()},[k]),pointerGraceTimerRef:V,onPointerGraceIntentChange:p.useCallback(_=>{O.current=_},[]),children:h.jsx(Y,{...W,children:h.jsx(Gf,{asChild:!0,trapped:o,onMountAutoFocus:B(s,_=>{var j;_.preventDefault(),(j=T.current)==null||j.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:h.jsx(gl,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,onDismiss:y,children:h.jsx(TN,{asChild:!0,...w,dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:b,onEntryFocus:B(l,_=>{m.isUsingKeyboardRef.current||_.preventDefault()}),preventScrollOnEntryFocus:!0,children:h.jsx(fN,{role:"menu","aria-orientation":"vertical","data-state":z1(S.open),"data-radix-menu-content":"",dir:m.dir,...g,...v,ref:P,style:{outline:"none",...v.style},onKeyDown:B(v.onKeyDown,_=>{const U=_.target.closest("[data-radix-menu-content]")===_.currentTarget,X=_.ctrlKey||_.altKey||_.metaKey,Ve=_.key.length===1;U&&(_.key==="Tab"&&_.preventDefault(),!X&&Ve&&$(_.key));const Re=T.current;if(_.target!==Re||!hD.includes(_.key))return;_.preventDefault();const ze=C().filter(Xe=>!Xe.disabled).map(Xe=>Xe.ref.current);y1.includes(_.key)&&ze.reverse(),OD(ze)}),onBlur:B(e.onBlur,_=>{_.currentTarget.contains(_.target)||(window.clearTimeout(A.current),N.current="")}),onPointerMove:B(e.onPointerMove,Gs(_=>{const j=_.target,U=D.current!==_.clientX;if(_.currentTarget.contains(j)&&U){const X=_.clientX>D.current?"right":"left";H.current=X,D.current=_.clientX}}))})})})})})})});P1.displayName=wt;var TD="MenuGroup",lp=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ee.div,{role:"group",...r,ref:t})});lp.displayName=TD;var kD="MenuLabel",b1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ee.div,{...r,ref:t})});b1.displayName=kD;var Ga="MenuItem",Lg="menu.itemSelect",Nl=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,s=p.useRef(null),i=fi(Ga,e.__scopeMenu),a=ip(Ga,e.__scopeMenu),l=we(t,s),u=p.useRef(!1),c=()=>{const d=s.current;if(!n&&d){const f=new CustomEvent(Lg,{bubbles:!0,cancelable:!0});d.addEventListener(Lg,y=>r==null?void 0:r(y),{once:!0}),af(d,f),f.defaultPrevented?u.current=!1:i.onClose()}};return h.jsx(T1,{...o,ref:l,disabled:n,onClick:B(e.onClick,c),onPointerDown:d=>{var f;(f=e.onPointerDown)==null||f.call(e,d),u.current=!0},onPointerUp:B(e.onPointerUp,d=>{var f;u.current||(f=d.currentTarget)==null||f.click()}),onKeyDown:B(e.onKeyDown,d=>{const f=a.searchRef.current!=="";n||f&&d.key===" "||rd.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});Nl.displayName=Ga;var T1=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...s}=e,i=ip(Ga,n),a=w1(n),l=p.useRef(null),u=we(t,l),[c,d]=p.useState(!1),[f,y]=p.useState("");return p.useEffect(()=>{const x=l.current;x&&y((x.textContent??"").trim())},[s.children]),h.jsx(Ks.ItemSlot,{scope:n,disabled:r,textValue:o??f,children:h.jsx(kN,{asChild:!0,...a,focusable:!r,children:h.jsx(ee.div,{role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:u,onPointerMove:B(e.onPointerMove,Gs(x=>{r?i.onItemLeave(x):(i.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:B(e.onPointerLeave,Gs(x=>i.onItemLeave(x))),onFocus:B(e.onFocus,()=>d(!0)),onBlur:B(e.onBlur,()=>d(!1))})})})}),_D="MenuCheckboxItem",k1=p.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return h.jsx(N1,{scope:e.__scopeMenu,checked:n,children:h.jsx(Nl,{role:"menuitemcheckbox","aria-checked":Qa(n)?"mixed":n,...o,ref:t,"data-state":cp(n),onSelect:B(o.onSelect,()=>r==null?void 0:r(Qa(n)?!0:!n),{checkForDefaultPrevented:!1})})})});k1.displayName=_D;var _1="MenuRadioGroup",[RD,AD]=Ar(_1,{value:void 0,onValueChange:()=>{}}),R1=p.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,s=Ke(r);return h.jsx(RD,{scope:e.__scopeMenu,value:n,onValueChange:s,children:h.jsx(lp,{...o,ref:t})})});R1.displayName=_1;var A1="MenuRadioItem",M1=p.forwardRef((e,t)=>{const{value:n,...r}=e,o=AD(A1,e.__scopeMenu),s=n===o.value;return h.jsx(N1,{scope:e.__scopeMenu,checked:s,children:h.jsx(Nl,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":cp(s),onSelect:B(r.onSelect,()=>{var i;return(i=o.onValueChange)==null?void 0:i.call(o,n)},{checkForDefaultPrevented:!1})})})});M1.displayName=A1;var up="MenuItemIndicator",[N1,MD]=Ar(up,{checked:!1}),D1=p.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,s=MD(up,n);return h.jsx(mn,{present:r||Qa(s.checked)||s.checked===!0,children:h.jsx(ee.span,{...o,ref:t,"data-state":cp(s.checked)})})});D1.displayName=up;var ND="MenuSeparator",j1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ee.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});j1.displayName=ND;var DD="MenuArrow",O1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Ml(n);return h.jsx(pN,{...o,...r,ref:t})});O1.displayName=DD;var jD="MenuSub",[TL,L1]=Ar(jD),ss="MenuSubTrigger",I1=p.forwardRef((e,t)=>{const n=Mr(ss,e.__scopeMenu),r=fi(ss,e.__scopeMenu),o=L1(ss,e.__scopeMenu),s=ip(ss,e.__scopeMenu),i=p.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=s,u={__scopeMenu:e.__scopeMenu},c=p.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return p.useEffect(()=>c,[c]),p.useEffect(()=>{const d=a.current;return()=>{window.clearTimeout(d),l(null)}},[a,l]),h.jsx(op,{asChild:!0,...u,children:h.jsx(T1,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":z1(n.open),...e,ref:ml(t,o.onTriggerChange),onClick:d=>{var f;(f=e.onClick)==null||f.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:B(e.onPointerMove,Gs(d=>{s.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!i.current&&(s.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:B(e.onPointerLeave,Gs(d=>{var y,x;c();const f=(y=n.content)==null?void 0:y.getBoundingClientRect();if(f){const v=(x=n.content)==null?void 0:x.dataset.side,S=v==="right",m=S?-5:5,g=f[S?"left":"right"],w=f[S?"right":"left"];s.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:g,y:f.top},{x:w,y:f.top},{x:w,y:f.bottom},{x:g,y:f.bottom}],side:v}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(d),d.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:B(e.onKeyDown,d=>{var y;const f=s.searchRef.current!=="";e.disabled||f&&d.key===" "||mD[r.dir].includes(d.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),d.preventDefault())})})})});I1.displayName=ss;var F1="MenuSubContent",V1=p.forwardRef((e,t)=>{const n=C1(wt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=Mr(wt,e.__scopeMenu),i=fi(wt,e.__scopeMenu),a=L1(F1,e.__scopeMenu),l=p.useRef(null),u=we(t,l);return h.jsx(Ks.Provider,{scope:e.__scopeMenu,children:h.jsx(mn,{present:r||s.open,children:h.jsx(Ks.Slot,{scope:e.__scopeMenu,children:h.jsx(ap,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:c=>{var d;i.isUsingKeyboardRef.current&&((d=l.current)==null||d.focus()),c.preventDefault()},onCloseAutoFocus:c=>c.preventDefault(),onFocusOutside:B(e.onFocusOutside,c=>{c.target!==a.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:B(e.onEscapeKeyDown,c=>{i.onClose(),c.preventDefault()}),onKeyDown:B(e.onKeyDown,c=>{var y;const d=c.currentTarget.contains(c.target),f=gD[i.dir].includes(c.key);d&&f&&(s.onOpenChange(!1),(y=a.trigger)==null||y.focus(),c.preventDefault())})})})})})});V1.displayName=F1;function z1(e){return e?"open":"closed"}function Qa(e){return e==="indeterminate"}function cp(e){return Qa(e)?"indeterminate":e?"checked":"unchecked"}function OD(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function LD(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function ID(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=LD(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const l=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function FD(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s].x,l=t[s].y,u=t[i].x,c=t[i].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function VD(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return FD(n,t)}function Gs(e){return t=>t.pointerType==="mouse"?e(t):void 0}var zD=S1,BD=op,$D=E1,UD=P1,WD=lp,HD=b1,KD=Nl,GD=k1,QD=R1,YD=M1,XD=D1,qD=j1,ZD=O1,JD=I1,ej=V1,dp="DropdownMenu",[tj,kL]=ri(dp,[x1]),Ye=x1(),[nj,B1]=tj(dp),$1=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:s,onOpenChange:i,modal:a=!0}=e,l=Ye(t),u=p.useRef(null),[c=!1,d]=oi({prop:o,defaultProp:s,onChange:i});return h.jsx(nj,{scope:t,triggerId:io(),triggerRef:u,contentId:io(),open:c,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(f=>!f),[d]),modal:a,children:h.jsx(zD,{...l,open:c,onOpenChange:d,dir:r,modal:a,children:n})})};$1.displayName=dp;var U1="DropdownMenuTrigger",W1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,s=B1(U1,n),i=Ye(n);return h.jsx(BD,{asChild:!0,...i,children:h.jsx(ee.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:ml(t,s.triggerRef),onPointerDown:B(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(s.onOpenToggle(),s.open||a.preventDefault())}),onKeyDown:B(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&s.onOpenToggle(),a.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});W1.displayName=U1;var rj="DropdownMenuPortal",H1=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ye(t);return h.jsx($D,{...r,...n})};H1.displayName=rj;var K1="DropdownMenuContent",G1=p.forwardRef((e,t)=>
242{const{__scopeDropdownMenu:n,...r}=e,o=B1(K1,n),s=Ye(n),i=p.useRef(!1);return h.jsx(UD,{id:o.contentId,"aria-labelledby":o.triggerId,...s,...r,ref:t,onCloseAutoFocus:B(e.onCloseAutoFocus,a=>{var l;i.current||(l=o.triggerRef.current)==null||l.focus(),i.current=!1,a.preventDefault()}),onInteractOutside:B(e.onInteractOutside,a=>{const l=a.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,c=l.button===2||u;(!o.modal||c)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});G1.displayName=K1;var oj="DropdownMenuGroup",sj=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(WD,{...o,...r,ref:t})});sj.displayName=oj;var ij="DropdownMenuLabel",Q1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(HD,{...o,...r,ref:t})});Q1.displayName=ij;var aj="DropdownMenuItem",Y1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(KD,{...o,...r,ref:t})});Y1.displayName=aj;var lj="DropdownMenuCheckboxItem",X1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(GD,{...o,...r,ref:t})});X1.displayName=lj;var uj="DropdownMenuRadioGroup",cj=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(QD,{...o,...r,ref:t})});cj.displayName=uj;var dj="DropdownMenuRadioItem",q1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(YD,{...o,...r,ref:t})});q1.displayName=dj;var fj="DropdownMenuItemIndicator",Z1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(XD,{...o,...r,ref:t})});Z1.displayName=fj;var pj="DropdownMenuSeparator",J1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(qD,{...o,...r,ref:t})});J1.displayName=pj;var hj="DropdownMenuArrow",mj=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(ZD,{...o,...r,ref:t})});mj.displayName=hj;var gj="DropdownMenuSubTrigger",eS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(JD,{...o,...r,ref:t})});eS.displayName=gj;var vj="DropdownMenuSubContent",tS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return h.jsx(ej,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tS.displayName=vj;var yj=$1,xj=W1,wj=H1,nS=G1,rS=Q1,oS=Y1,sS=X1,iS=q1,aS=Z1,lS=J1,uS=eS,cS=tS;const Sj=yj,Cj=xj,Ej=p.forwardRef(({className:e,inset:t,children:n,...r},o)=>h.jsxs(uS,{ref:o,className:Z("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,h.jsx(bT,{className:"ml-auto h-4 w-4"})]}));Ej.displayName=uS.displayName;const Pj=p.forwardRef(({className:e,...t},n)=>h.jsx(cS,{ref:n,className:Z("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Pj.displayName=cS.displayName;const dS=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>h.jsx(wj,{children:h.jsx(nS,{ref:r,sideOffset:t,className:Z("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
242de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));dS.displayName=nS.displayName;const od=p.forwardRef(({className:e,inset:t,...n},r)=>h.jsx(oS,{ref:r,className:Z("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...n}));od.displayName=oS.displayName;const bj=p.forwardRef(({className:e,children:t,checked:n,...r},o)=>h.jsxs(sS,{ref:o,className:Z("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[h.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:h.jsx(aS,{children:h.jsx(PT,{className:"h-4 w-4"})})}),t]}));bj.displayName=sS.displayName;const Tj=p.forwardRef(({className:e,children:t,...n},r)=>h.jsxs(iS,{ref:r,className:Z("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[h.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:h.jsx(aS,{children:h.jsx(TT,{className:"h-2 w-2 fill-current"})})}),t]}));Tj.displayName=iS.displayName;const kj=p.forwardRef(({className:e,inset:t,...n},r)=>h.jsx(rS,{ref:r,className:Z("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));kj.displayName=rS.displayName;const _j=p.forwardRef(({className:e,...t},n)=>h.jsx(lS,{ref:n,className:Z("-mx-1 my-1 h-px bg-muted",e),...t}));_j.displayName=lS.displayName;const Rj="/assets/hireonix_logo_nobg-5IsKX1wY.png";function Aj({toggleTheme:e,theme:t}){const[n,r]=p.useState(!1),[o,s]=p.useState(!1),[i]=ni(),a=p.useRef(null),l=f=>i===f||f!=="/"&&i.startsWith(`${f}/`),u=f=>f.some(l);p.useEffect(()=>{const f=()=>s(window.scrollY>20);return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),p.useEffect(()=>r(!1),[i]),p.useEffect(()=>{if(!n)return;const f=y=>{var x;y.key==="Escape"&&(r(!1),(x=a.current)==null||x.focus())};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[n]);const c=[{label:"Product",links:[{href:"/features",label:"Features"},{href:"/tools",label:"Tools"}]},{label:"Learn",links:[{href:"/academy",label:"Academy"},{href:"/podcasts",label:"Podcasts"},{href:"/blog",label:"Blog"},{href:"/glossary",label:"Glossary"}]},{label:"Company",links:[{href:"/about",label:"About"},{href:"/trust-security",label:"Trust & Security"},{href:"/contact",label:"Contact"},{href:"/feedback",label:"Feedback"}]}],d=f=>`flex min-h-11 items-center gap-3 rounded-xl px-3 py-2.5 text-sm font-semibold transition-colors ${l(f)?"bg-purple-100 text-purple-800 dark:bg-purple-800/60 dark:text-white":"text-slate-700 hover:bg-purple-50 dark:text-slate-200 dark:hover:bg-purple-900/40"}`;return h.jsxs(h.Fragment,{children:[h.jsx("header",{className:`fixed w-full top-0 z-50 backdrop-blur-xl transition-all duration-300 ${n?"bg-white dark:bg-slate-900 shadow-[0_4px_30px_rgba(124,58,237,0.1)]":o?"bg-white/85 dark:bg-slate-900/90 shadow-[0_4px_30px_rgba(124,58,237,0.1)] border-b border-white/30 dark:border-purple-500/20":"bg-white/60 dark:bg-slate-900/60 border-b border-transparent"}`,children:h.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"flex justify-between items-center h-20",children:[h.jsx("div",{className:"flex items-center",children:h.jsx(Be,{href:"/","aria-label":"HireOnix.ai home",children:h.jsx("img",{src:Rj,alt:"HireOnixâ¢.ai",className:"h-16 md:h-20"})})}),h.jsxs("div",{className:"hidden lg:flex items-center gap-2",children:[h.jsxs("nav",{"aria-label":"Main navigation",className:"flex items-center gap-1",children:[c.map(f=>h.jsxs(Sj,{children:[h.jsx(Cj,{asChild:!0,children:h.jsxs("button",{type:"button",className:`inline-flex min-h-10 items-center gap-1 rounded-full px-3 text-sm font-semibold transition-colors ${u(f.links.map(y=>y.href))?"bg-purple-100 text-purple-800 dark:bg-purple-800/60 dark:text-white":"text-slate-700 hover:bg-purple-50 dark:text-slate-200 dark:hover:bg-purple-900/40"}`,children:[f.label,h.jsx(Oi,{"aria-hidden":"true",className:"h-4 w-4"})]})}),h.jsxs(dS,{align:"start",className:"min-w-48",children:[f.links.map(y=>h.jsx(od,{asChild:!0,children:h.jsx(Be,{href:y.href,"aria-current":l(y.href)?"page":void 0,className:"min-h-10 cursor-pointer",children:y.label})},y.href)),f.label==="Product"&&h.jsx(od,{asChild:!0,children:h.jsx("a",{href:"https://app.hireonix.ai/scanner",target:"_blank",rel:"noopener noreferrer",className:"min-h-10 cursor-pointer",children:"Free resume scanner"})})]})]},f.label)),h.jsx(Be,{href:"/pricing","aria-current":l("/pricing")?"page":void 0,className:`inline-flex min-h-10 items-center rounded-full px-3 text-sm font-semibold transition-colors ${l("/pricing")?"bg-purple-100 text-purple-800 dark:bg-purple-800/60 dark:text-white":"text-slate-700 hover:bg-purple-50 dark:text-slate-200 dark:hover:bg-purple-900/40"}`,children:"Pricing"})]}),h.jsx(ye,{variant:"ghost",size:"icon",onClick:e,"aria-label":`Switch to ${t==="dark"?"light":"dark"} mode`,children:t==="dark"?h.jsx(nm,{className:"h-5 w-5"}):h.jsx(em,{className:"h-5 w-5"})}),h.jsx("a",{href:"https://app.hireonix.ai/auth",target:"_blank",rel:"noopener noreferrer",children:h.jsx(ye,{className:"rounded-full bg-gradient-to-r from-purple-600 to-blue-500 px-5 text-sm font-semibold text-white hover:shadow-lg hover:shadow-
242purple-500/25",children:"Get Started Free"})})]}),h.jsxs("div",{className:"flex items-center gap-2 lg:hidden",children:[h.jsx(ye,{variant:"ghost",size:"icon",onClick:e,"aria-label":"Toggle theme",children:t==="dark"?h.jsx(nm,{className:"h-5 w-5"}):h.jsx(em,{className:"h-5 w-5"})}),h.jsx(ye,{ref:a,variant:"ghost",size:"icon",onClick:()=>r(f=>!f),"aria-label":n?"Close navigation menu":"Open navigation menu","aria-expanded":n,"aria-controls":"mobile-navigation",children:n?h.jsx(si,{className:"h-6 w-6"}):h.jsx(jT,{className:"h-6 w-6"})})]})]}),h.jsx(KM,{children:n&&h.jsx(BM.nav,{id:"mobile-navigation","aria-label":"Main navigation",className:"lg:hidden max-h-[calc(100dvh-11rem)] overflow-y-auto overscroll-contain border-t border-purple-100 bg-white py-3 dark:border-purple-800 dark:bg-slate-900",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.18},children:h.jsxs("div",{className:"flex flex-col gap-1 px-2 pb-2",children:[h.jsxs(Be,{href:"/","aria-current":l("/")?"page":void 0,onClick:()=>r(!1),className:d("/"),children:[h.jsx(AT,{className:"h-4 w-4","aria-hidden":"true"})," Home"]}),h.jsxs(Be,{href:"/pricing","aria-current":l("/pricing")?"page":void 0,onClick:()=>r(!1),className:d("/pricing"),children:[h.jsx(kT,{className:"h-4 w-4","aria-hidden":"true"})," Pricing"]}),h.jsxs("div",{className:"mt-1 space-y-1",children:[h.jsxs("details",{className:"group rounded-xl border border-purple-100 dark:border-purple-800",open:u(c[0].links.map(f=>f.href))||void 0,children:[h.jsxs("summary",{className:"flex min-h-11 cursor-pointer list-none items-center justify-between rounded-xl px-3 text-sm font-semibold text-slate-800 hover:bg-purple-50 dark:text-slate-100 dark:hover:bg-purple-900/40",children:[h.jsxs("span",{className:"flex items-center gap-3",children:[h.jsx(rm,{className:"h-4 w-4","aria-hidden":"true"})," Product"]}),h.jsx(Oi,{className:"h-4 w-4 transition-transform group-open:rotate-180","aria-hidden":"true"})]}),h.jsxs("div",{className:"space-y-1 px-2 pb-2 pl-9",children:[h.jsxs(Be,{href:"/features","aria-current":l("/features")?"page":void 0,onClick:()=>r(!1),className:d("/features"),children:[h.jsx(IT,{className:"h-4 w-4","aria-hidden":"true"})," Features"]}),h.jsxs(Be,{href:"/tools","aria-current":l("/tools")?"page":void 0,onClick:()=>r(!1),className:d("/tools"),children:[h.jsx(rm,{className:"h-4 w-4","aria-hidden":"true"})," Tools"]}),h.jsxs("a",{href:"https://app.hireonix.ai/scanner",target:"_blank",rel:"noopener noreferrer",className:"flex min-h-11 items-center gap-3 rounded-xl px-3 py-2.5 text-sm font-semibold text-slate-700 transition-colors hover:bg-purple-50 dark:text-slate-200 dark:hover:bg-purple-900/40",children:[h.jsx(Xh,{className:"h-4 w-4","aria-hidden":"true"})," Free resume scanner"]})]})]}),h.jsxs("details",{className:"group rounded-xl border border-purple-100 dark:border-purple-800",open:u(c[1].links.map(f=>f.href))||void 0,children:[h.jsxs("summary",{className:"flex min-h-11 cursor-pointer list-none items-center justify-between rounded-xl px-3 text-sm font-semibold text-slate-800 hover:bg-purple-50 dark:text-slate-100 dark:hover:bg-purple-900/40",children:[h.jsxs("span",{className:"flex items-center gap-3",children:[h.jsx(qh,{className:"h-4 w-4","aria-hidden":"true"})," Learn"]}),h.jsx(Oi,{className:"h-4 w-4 transition-transform group-open:rotate-180","aria-hidden":"true"})]}),h.jsxs("div",{className:"space-y-1 px-2 pb-2 pl-9",children:[h.jsxs(Be,{href:"/academy","aria-current":l("/academy")?"page":void 0,onClick:()=>r(!1),className:d("/academy"),children:[h.jsx(_T,{className:"h-4 w-4","aria-hidden":"true"})," Academy"]}),h.jsxs(Be,{href:"/podcasts","aria-current":l("/podcasts")?"page":void 0,onClick:()=>r(!1),className:d("/podcasts"),children:[h.jsx(RT,{className:"h-4 w-4","aria-hidden":"true"})," Podcasts"]}),h.jsxs(Be,{href:"/blog","aria-current":l("/blog")?"page":void 0,onClick:()=>r(!1),className:d("/blog"),children:[h.jsx(qh,{className:"h-4 w-4","aria-hidden":"true"})," Blog"]}),h.jsxs(Be,{href:"/glossary","aria-current":l("/glossary")?"page":void 0,onClick:()=>r(!1),className:d("/glossary"),children:[h.jsx(MT,{className:"h-4 w-4","aria-hidden":"true"})," Glossary"]})]})]}),h.jsxs("details",{className:"group rounded-xl border border-purple-100 dar
242k:border-purple-800",open:u(c[2].links.map(f=>f.href))||void 0,children:[h.jsxs("summary",{className:"flex min-h-11 cursor-pointer list-none items-center justify-between rounded-xl px-3 text-sm font-semibold text-slate-800 hover:bg-purple-50 dark:text-slate-100 dark:hover:bg-purple-900/40",children:[h.jsxs("span",{className:"flex items-center gap-3",children:[h.jsx(tm,{className:"h-4 w-4","aria-hidden":"true"})," Help & company"]}),h.jsx(Oi,{className:"h-4 w-4 transition-transform group-open:rotate-180","aria-hidden":"true"})]}),h.jsxs("div",{className:"space-y-1 px-2 pb-2 pl-9",children:[h.jsx(Be,{href:"/about","aria-current":l("/about")?"page":void 0,onClick:()=>r(!1),className:d("/about"),children:"About"}),h.jsxs(Be,{href:"/trust-security","aria-current":l("/trust-security")?"page":void 0,onClick:()=>r(!1),className:d("/trust-security"),children:[h.jsx(tm,{className:"h-4 w-4","aria-hidden":"true"})," Trust & Security"]}),h.jsxs(Be,{href:"/contact","aria-current":l("/contact")?"page":void 0,onClick:()=>r(!1),className:d("/contact"),children:[h.jsx(DT,{className:"h-4 w-4","aria-hidden":"true"})," Contact"]}),h.jsxs(Be,{href:"/feedback","aria-current":l("/feedback")?"page":void 0,onClick:()=>r(!1),className:d("/feedback"),children:[h.jsx(FT,{className:"h-4 w-4","aria-hidden":"true"})," Feedback"]})]})]})]}),h.jsx("a",{href:"https://app.hireonix.ai/auth",target:"_blank",rel:"noopener noreferrer",className:"mt-2",children:h.jsx(ye,{className:"w-full min-h-11 rounded-full bg-gradient-to-r from-purple-600 to-blue-500 text-base font-semibold text-white shadow-lg shadow-purple-500/25",children:"Get Started Free"})})]})})})]})}),h.jsxs("div",{className:"fixed bottom-0 left-0 right-0 z-40 md:hidden bg-white/95 dark:bg-slate-900/95 backdrop-blur-xl border-t border-purple-100 dark:border-purple-800/50 px-4 py-3 shadow-[0_-4px_20px_rgba(124,58,237,0.12)]",children:[h.jsx("a",{href:"https://app.hireonix.ai/auth",target:"_blank",rel:"noopener noreferrer",children:h.jsxs(ye,{className:"w-full bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white font-bold text-sm rounded-full shadow-lg shadow-purple-500/30 py-5",children:["Get Started Free â $35.99 USD Lifetime Access",h.jsx(Xh,{className:"ml-2 w-4 h-4"})]})}),h.jsx("p",{className:"text-center text-[10px] text-purple-400 dark:text-purple-500 mt-1.5",children:"No subscriptions · $35.99 USD lifetime access"})]})]})}const sd=p.forwardRef(({className:e,type:t,...n},r)=>h.jsx("input",{type:t,className:Z("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
242ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));sd.displayName="Input";const fp=p.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Z("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));fp.displayName="Card";const Mj=p.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Z("flex flex-col space-y-1.5 p-6",e),...t}));Mj.displayName="CardHeader";const Nj=p.forwardRef(({className:e,...t},n)=>h.jsx("h3",{ref:n,className:Z("text-2xl font-semibold leading-none tracking-tight",e),...t}));Nj.displayName="CardTitle";const Dj=p.forwardRef(({className:e,...t},n)=>h.jsx("p",{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));Dj.displayName="CardDescription";const jj=p.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Z("p-6 pt-0",e),...t}));jj.displayName="CardContent";const Oj=p.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Z("flex items-center p-6 pt-0",e),...t}));Oj.displayName="CardFooter";const fS=p.forwardRef(({className:e,...t},n)=>h.jsx("textarea",{className:Z("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
242ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));fS.displayName="Textarea";const Lj=({text:e,isUser:t})=>{if(t)return h.jsx("span",{children:e});const n=r=>r.split(` 243`).map((o,s)=>{var a;if(/^\d+\.\s/.test(o)){const u=o.replace(/^\d+\.\s/,"").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>");return h.jsxs("div",{className:"mb-2",children:[h.jsx("span",{className:"font-medium text-purple-700",children:(a=o.match(/^\d+\./))==null?void 0:a[0]})," ",h.jsx("span",{dangerouslySetInnerHTML:{__html:u}})]},s)}if(/^[â¢Â·-]\s/.test(o)){const u=o.replace(/^[â¢Â·-]\s/,"").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>");return h.jsxs("div",{className:"mb-1 ml-3",children:[h.jsx("span",{className:"text-purple-600",children:"â¢"})," ",h.jsx("span",{dangerouslySetInnerHTML:{__html:u}})]},s)}const i=o.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>");return o.trim()===""?h.jsx("br",{},s):h.jsx("div",{className:"mb-1",dangerouslySetInnerHTML:{__html:i}},s)});return h.jsx("div",{className:"space-y-1",children:n(e)})};function Ij(){const[e,t]=p.useState(!1),[n,r]=p.useState([{id:"1",text:"Hey, I'm Onix, your AI career companion. Ask me about checking resume parsing, tailoring applications, interview practice, or navigating your search. How can I help?",isUser:!1,timestamp:new Date}]),[o,s]=p.useState(""),[i,a]=p.useState(!1),[l,u]=p.useState(!1),[c,d]=p.useState({email:"",message:""}),[f,y]=p.useState(!1),[x,v]=p.useState([]),S=p.useRef(null),m=p.useRef(null),g=()=>{var P;(P=S.current)==null||P.scrollIntoView({behavior:"smooth"})};p.useEffect(()=>{g()},[n]),p.useEffect(()=>{e&&m.current&&m.current.focus()},[e]),p.useEffect(()=>{e&&x.length===0&&w()},[e]);const w=async()=>{try{const A=await(await fetch("/api/chat/quick-replies")).json();v(A.quickReplies||[])}catch(P){console.error("Failed to fetch quick replies:",P)}},C=async P=>{if(!P.trim()||i)return;const A={id:Date.now().toString(),text:P.trim(),isUser:!0,timestamp:new Date};r(N=>[...N,A]),s(""),a(!0);try{const V=await(await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:P.trim()})})).json(),O={id:(Date.now()+1).toString(),text:V.response,isUser:!1,timestamp:new Date};r(H=>[...H,O]),V.requiresTicket&&setTimeout(()=>{u(!0)},1e3)}catch{const V={id:(Date.now()+1).toString(),text:"I'm having trouble connecting right now. Would you like to leave your contact info so we can help you?",isUser:!1,timestamp:new Date};r(O=>[...O,V]),u(!0)}finally{a(!1)}},E=P=>{P.preventDefault(),C(o)},b=P=>{C(P)},T=async()=>{if(!(!c.email||!c.message))try{if((await fetch("/api/tickets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c.email,message:c.message,pageUrl:window.location.href})})).ok){y(!0),u(!1);const A={id:Date.now().toString(),text:"Thank you! We've received your message and will get back to you soon at "+c.email,isUser:!1,timestamp:new Date};r(N=>[...N,A]),d({email:"",message:""})}}catch(P){console.error("Failed to submit ticket:",P)}};return e?h.jsx("div",{className:"fixed bottom-6 right-6 z-50",children:h.jsxs(fp,{className:"w-80 h-[400px] flex flex-col bg-white shadow-2xl border-0 overflow-hidden",children:[h.jsxs("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white p-4 flex items-center justify-between",children:[h.jsxs("div",{className:"flex items-center space-x-2",children:[h.jsx("div",{className:"h-8 w-8 bg-white/20 rounded-full flex items-center justify-center",children:h.jsx(Jh,{className:"h-4 w-4"})}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-semibold text-sm",children:"Onix"}),h.jsx("p",{className:"text-xs opacity-90",children:"Your AI Career Companion"})]})]}),h.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>t(!1),className:"text-white hover:bg-white/20 h-8 w-8 p-0",children:h.jsx(si,{className:"h-4 w-4"})})]}),h.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-3 bg-gray-50 min-h-0",children:[n.length>0?n.map(P=>h.jsx("div",{className:`flex ${P.isUser?"justify-end":"justify-start"}`,children:h.jsx("div",{className:`max-w-[75%] p-3 rounded-lg text-sm leading-relaxed ${P.isUser?"bg-gradient-to-r from-purple-600 to-blue-600 text-white":"bg-white border border-gray-200 shadow-sm text-gray-900"}
243`,style:{wordWrap:"break-word",color:P.isUser?"#ffffff":"#111827"},children:h.jsx(Lj,{text:P.text,isUser:P.isUser})})},P.id)):h.jsx("div",{className:"flex justify-start",children:h.jsx("div",{className:"bg-white border border-gray-200 shadow-sm p-3 rounded-lg text-sm text-gray-900",style:{color:"#111827"},children:"Hey, I'm Onix, your AI career companion. Ask me about checking resume parsing, tailoring applications, interview practice, or navigating your search. How can I help?"})}),i&&h.jsx("div",{className:"flex justify-start",children:h.jsx("div",{className:"bg-white border shadow-sm p-3 rounded-lg",children:h.jsx(NT,{className:"h-4 w-4 animate-spin"})})}),!l&&x.length>0&&n.length<=3&&h.jsxs("div",{className:"space-y-2",children:[h.jsx("p",{className:"text-xs text-gray-500",children:"Quick questions:"}),h.jsx("div",{className:"flex flex-wrap gap-1",children:x.slice(0,3).map((P,A)=>h.jsx(ye,{variant:"outline",size:"sm",className:"text-xs h-7",onClick:()=>b(P),children:P},A))})]}),l&&!f&&h.jsxs("div",{className:"bg-white p-3 rounded-lg border shadow-sm space-y-3",children:[h.jsx("p",{className:"text-sm font-medium",children:"Get personalized help"}),h.jsx(sd,{placeholder:"Your email",type:"email",value:c.email,onChange:P=>d(A=>({...A,email:P.target.value})),className:"text-sm"}),h.jsx(fS,{placeholder:"How can we help you?",value:c.message,onChange:P=>d(A=>({...A,message:P.target.value})),className:"text-sm h-20 resize-none"}),h.jsxs("div",{className:"flex gap-2",children:[h.jsx(ye,{size:"sm",onClick:T,disabled:!c.email||!c.message,className:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700",children:"Send"}),h.jsx(ye,{size:"sm",variant:"outline",onClick:()=>u(!1),children:"Cancel"})]})]}),h.jsx("div",{ref:S})]}),!l&&h.jsx("div",{className:"p-4 border-t bg-white",children:h.jsxs("form",{onSubmit:E,className:"flex gap-2",children:[h.jsx(sd,{ref:m,value:o,onChange:P=>s(P.target.value),placeholder:"Type your message...",disabled:i,className:"flex-1 text-sm"}),h.jsx(ye,{type:"submit",size:"sm",disabled:!o.trim()||i,className:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700",children:h.jsx(OT,{className:"h-4 w-4"})})]})})]})}):h.jsx("div",{className:"fixed bottom-6 right-6 z-50",children:h.jsx(ye,{onClick:()=>t(!0),className:"h-14 w-14 rounded-full bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105",children:h.jsx(Jh,{className:"h-6 w-6 text-white"})})})}var pp="Dialog",[pS,_L]=ri(pp),[Fj,Ot]=pS(pp),hS=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=p.useRef(null),l=p.useRef(null),[u=!1,c]=oi({prop:r,defaultProp:o,onChange:s});return h.jsx(Fj,{scope:t,triggerRef:a,contentRef:l,contentId:io(),titleId:io(),descriptionId:io(),open:u,onOpenChange:c,onOpenToggle:p.useCallback(()=>c(d=>!d),[c]),modal:i,children:n})};hS.displayName=pp;var mS="DialogTrigger",gS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(mS,n),s=we(t,o.triggerRef);return h.jsx(ee.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":gp(o.open),...r,ref:s,onClick:B(e.onClick,o.onOpenToggle)})});gS.displayName=mS;var hp="DialogPortal",[Vj,vS]=pS(hp,{forceMount:void 0}),yS=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ot(hp,t);return h.jsx(Vj,{scope:t,forceMount:n,children:p.Children.map(r,i=>h.jsx(mn,{present:n||s.open,children:h.jsx(vl,{asChild:!0,container:o,children:i})}))})};yS.displayName=hp;var Ya="DialogOverlay",xS=p.forwardRef((e,t)=>{const n=vS(Ya,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ot(Ya,e.__scopeDialog);return s.modal?h.jsx(mn,{present:r||s.open,children:h.jsx(zj,{...o,ref:t})}):null});xS.displayName=Ya;var zj=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(Ya,n);return h.jsx(rp,{as:Pr,allowPinchZoom:!0,shards:[o.contentRef],children:h.jsx(ee.div,{"data-state":gp(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Tr="DialogContent",wS=p.forwardRef((e,t)=>
vendor: 4,384 bytes, lines 243-247
243{const n=vS(Tr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ot(Tr,e.__scopeDialog);return h.jsx(mn,{present:r||s.open,children:s.modal?h.jsx(Bj,{...o,ref:t}):h.jsx($j,{...o,ref:t})})});wS.displayName=Tr;var Bj=p.forwardRef((e,t)=>{const n=Ot(Tr,e.__scopeDialog),r=p.useRef(null),o=we(t,n.contentRef,r);return p.useEffect(()=>{const s=r.current;if(s)return c1(s)},[]),h.jsx(SS,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:B(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),(i=n.triggerRef.current)==null||i.focus()}),onPointerDownOutside:B(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:B(e.onFocusOutside,s=>s.preventDefault())})}),$j=p.forwardRef((e,t)=>{const n=Ot(Tr,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return h.jsx(SS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(i))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),SS=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Ot(Tr,n),l=p.useRef(null),u=we(t,l);return jw(),h.jsxs(h.Fragment,{children:[h.jsx(Gf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:h.jsx(gl,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":gp(a.open),...i,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(Uj,{titleId:a.titleId}),h.jsx(Hj,{contentRef:l,descriptionId:a.descriptionId})]})]})}),mp="DialogTitle",CS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(mp,n);return h.jsx(ee.h2,{id:o.titleId,...r,ref:t})});CS.displayName=mp;var ES="DialogDescription",PS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(ES,n);return h.jsx(ee.p,{id:o.descriptionId,...r,ref:t})});PS.displayName=ES;var bS="DialogClose",TS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(bS,n);return h.jsx(ee.button,{type:"button",...r,ref:t,onClick:B(e.onClick,()=>o.onOpenChange(!1))})});TS.displayName=bS;function gp(e){return e?"open":"closed"}var kS="DialogTitleWarning",[RL,_S]=Fb(kS,{contentName:Tr,titleName:mp,docsSlug:"dialog"}),Uj=({titleId:e})=>{const t=_S(kS),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 244 245If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 246 247For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Wj="DialogDescriptionWarning",Hj=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${_S(Wj).contentName}}.`;return p.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Kj=hS,Gj=gS,Qj=yS,RS=xS,AS=wS,MS=CS,NS=PS,Yj=TS;const Xj=Kj,qj=Gj,Zj=Qj,DS=p.forwardRef(({className:e,...t},n)=>h.jsx(RS,{ref:n,className:Z("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));DS.displayName=RS.displayName;const jS=p.forwardRef(({className:e,children:t,...n},r)=>h.jsxs(Zj,{children:[h.jsx(DS,{}),h.jsxs(AS,{ref:r,className:Z("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
247nded-lg",e),...n,children:[t,h.jsxs(Yj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[h.jsx(si,{className:"h-4 w-4"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));jS.displayName=AS.displayName;const OS=({className:e,...t})=>h.jsx("div",{className:Z("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});OS.displayName="DialogHeader";const LS=p.forwardRef(({className:e,...t},n)=>h.jsx(MS,{ref:n,className:Z("text-lg font-semibold leading-none tracking-tight",e),...t}));LS.displayName=MS.displayName;const IS=p.forwardRef(({className:e,...t},n)=>h.jsx(NS,{ref:n,className:Z("text-sm text-muted-foreground",e),...t}));IS.displayName=NS.displayName;function Jj(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var vp="Switch",[eO,AL]=ri(vp),[tO,nO]=eO(vp),FS=p.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:u,form:c,...d}=e,[f,y]=p.useState(null),x=we(t,w=>y(w)),v=p.useRef(!1),S=f?c||!!f.closest("form"):!0,[m=!1,g]=oi({prop:o,defaultProp:s,onChange:u});return h.jsxs(tO,{scope:n,checked:m,disabled:a,children:[h.jsx(ee.button,{type:"button",role:"switch","aria-checked":m,"aria-required":i,"data-state":BS(m),"data-disabled":a?"":void 0,disabled:a,value:l,...d,ref:x,onClick:B(e.onClick,w=>{g(C=>!C),S&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),S&&h.jsx(rO,{control:f,bubbles:!v.current,name:r,value:l,checked:m,required:i,disabled:a,form:c,style:{transform:"translateX(-100%)"}})]})});FS.displayName=vp;var VS="SwitchThumb",zS=p.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=nO(VS,n);return h.jsx(ee.span,{"data-state":BS(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});zS.displayName=VS;var rO=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,s=p.useRef(null),i=Jj(n),a=Kw(t);return p.useEffect(()=>{const l=s.current,u=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(u,"checked").set;if(i!==n&&d){const f=new Event("click",{bubbles:r});d.call(l,n),l.dispatchEvent(f)}},[i,n,r]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:s,style:{...e.style,...a,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function BS(e){return e?"checked":"unchecked"}var $S=FS,oO=zS;const is=p.forwardRef(({className:e,...t},n)=>h.jsx($S,{className:Z("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:h.jsx(oO,{className:Z("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));is.displayName=$S.displayName;var sO="Label",US=p.forwardRef((e,t)=>h.jsx(ee.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));US.displayName=sO;var WS=US;const iO=ff("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),as=p.forwardRef(({className:e,...t},n)=>h.jsx(WS,{ref:n,className:Z(iO(),e),...t}));as.displayName=WS.displayName;function Ou(e,t){if(document.getElementById(e))return;const n=document.createElement("script");n.id=e,n.async=!0,n.src=t,document.head.appendChild(n)}function aO(){var e;(e=window.dataLayer)==null||e.push(["consent","update",{analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"}])}function Ig(e,t){if(e){const n=window.dataLayer??(window.dataLayer=[]),r=(...o)=>n.push(o);r("consent","default",{analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"}),r("consent","update",{analytics_storage:"granted",ad_storage:t?"granted":"denied",ad_user_data:t?"granted":"denied",ad_personalization:t?"granted":"denied"}),document.getElementById("hireonix-ga")||(r("js",new Date),r("config","G-6FV173BN9B"),Ou("hireonix-ga","https://www.googletagmanager.com/gtag/js?i
247d=G-6FV173BN9B")),t&&!document.getElementById("hireonix-gtm")&&(n.push({"gtm.start":Date.now(),event:"gtm.js"}),Ou("hireonix-gtm","https://www.googletagmanager.com/gtm.js?id=GTM-WRL6MPBC"))}if(t&&!document.getElementById("hireonix-linkedin")){window._linkedin_partner_id="8970380";const n=window._linkedin_data_partner_ids??(window._linkedin_data_partner_ids=[]);n.includes(window._linkedin_partner_id)||n.push(window._linkedin_partner_id);const r=[],o=Object.assign((...s)=>{r.push(s)},{q:r});window.lintrk??(window.lintrk=o),Ou("hireonix-linkedin","https://snap.licdn.com/li.lms-analytics/insight.min.js")}}function lO(){const[e,t]=p.useState(!1),[n,r]=p.useState(!1),[o,s]=p.useState(!1),[i,a]=p.useState({necessary:!0,analytics:!1,marketing:!1,preferences:!1});p.useEffect(()=>{const f=localStorage.getItem("hireonix-cookie-consent");if(f)try{const y=JSON.parse(f);if(typeof y!="object"||y===null)throw new Error("Invalid cookie preferences");const x=y,v={necessary:!0,analytics:x.analytics===!0,marketing:x.marketing===!0,preferences:x.preferences===!0};a(v),Ig(v.analytics,v.marketing),s(!0)}catch(y){console.warn("Failed to parse cookie preferences:",y);const x=setTimeout(()=>t(!0),2e3);return()=>clearTimeout(x)}else{const y=setTimeout(()=>t(!0),2e3);return()=>clearTimeout(y)}},[]);const l=f=>{const y=!f.analytics&&!!document.getElementById("hireonix-ga")||!f.marketing&&(!!document.getElementById("hireonix-gtm")||!!document.getElementById("hireonix-linkedin"));if(localStorage.setItem("hireonix-cookie-consent",JSON.stringify(f)),y){aO(),window.location.reload();return}a(f),t(!1),r(!1),s(!0),Ig(f.analytics===!0,f.marketing===!0)},u=()=>{l({necessary:!0,analytics:!0,marketing:!0,preferences:!0})},c=()=>{l({necessary:!0,analytics:!1,marketing:!1,preferences:!1})},d=(f,y)=>{a(x=>({...x,[f]:f==="necessary"?!0:y}))};return e?h.jsx(h.Fragment,{children:h.jsx("div",{className:"fixed bottom-4 left-4 right-4 z-50 max-w-md mx-auto",children:h.jsx(fp,{className:"bg-white/95 backdrop-blur-sm border border-gray-200 shadow-lg",children:h.jsxs("div",{className:"p-4 sm:p-6",children:[h.jsxs("div",{className:"flex items-start space-x-3 mb-2 sm:mb-4",children:[h.jsx(Zh,{className:"h-6 w-6 text-purple-600 mt-1 flex-shrink-0"}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Cookie Preferences"}),h.jsx("p",{className:"text-xs sm:text-sm text-gray-600 mb-2 sm:mb-4",children:"We use cookies to enhance your experience, analyze site usage, and provide personalized content. You can customize your preferences or accept all cookies."})]}),h.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t(!1),s(!0)},"aria-label":"Dismiss cookie notice",className:"p-1 h-6 w-6",children:h.jsx(si,{className:"h-4 w-4"})})]}),h.jsxs("div",{className:"grid grid-cols-2 sm:flex gap-2",children:[h.jsx(ye,{onClick:u,className:"flex-1 bg-purple-600 hover:bg-purple-700",size:"sm",children:"Accept All"}),h.jsx(ye,{variant:"outline",onClick:c,className:"flex-1",size:"sm",children:"Necessary Only"}),h.jsxs(Xj,{open:n,onOpenChange:r,children:[h.jsx(qj,{asChild:!0,children:h.jsxs(ye,{variant:"outline",size:"sm",className:"col-span-2 sm:col-span-1 flex w-full items-center justify-center gap-1",children:[h.jsx(LT,{className:"h-3 w-3"}),"Customize"]})}),h.jsxs(jS,{className:"sm:max-w-md",children:[h.jsxs(OS,{children:[h.jsx(LS,{children:"Cookie Settings"}),h.jsx(IS,{children:"Choose which cookies you'd like to allow. Necessary cookies are required for the site to function."})]}),h.jsxs("div",{className:"space-y-6 py-4",children:[h.jsxs("div",{className:"space-y-4",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx(as,{className:"font-medium",children:"Necessary Cookies"}),h.jsx("p",{className:"text-xs text-gray-500",children:"Required for basic site functionality and security"})]}),h.jsx(is,{checked:i.necessary,disabled:!0,onCheckedChange:f=>d("necessary",f)})]}),h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx(as,{className:"font-medium",children:"Analytics Co
247okies"}),h.jsx("p",{className:"text-xs text-gray-500",children:"Help us understand how visitors use our site"})]}),h.jsx(is,{checked:i.analytics,onCheckedChange:f=>d("analytics",f)})]}),h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx(as,{className:"font-medium",children:"Marketing Cookies"}),h.jsx("p",{className:"text-xs text-gray-500",children:"Used to show you relevant ads and content"})]}),h.jsx(is,{checked:i.marketing,onCheckedChange:f=>d("marketing",f)})]}),h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx(as,{className:"font-medium",children:"Preference Cookies"}),h.jsx("p",{className:"text-xs text-gray-500",children:"Remember your settings and personalize your experience"})]}),h.jsx(is,{checked:i.preferences,onCheckedChange:f=>d("preferences",f)})]})]}),h.jsxs("div",{className:"flex gap-2",children:[h.jsx(ye,{onClick:()=>l(i),className:"flex-1",children:"Save Preferences"}),h.jsx(ye,{variant:"outline",onClick:()=>r(!1),className:"flex-1",children:"Cancel"})]})]})]})]})]}),h.jsxs("p",{className:"text-xs text-gray-500 mt-3 text-center",children:["Read our"," ",h.jsx("a",{href:"/privacypolicy",className:"text-purple-600 hover:underline",children:"Privacy Policy"})," ","and"," ",h.jsx("a",{href:"/terms",className:"text-purple-600 hover:underline",children:"Terms of Service"})]})]})})})}):o?h.jsxs(ye,{variant:"outline",size:"sm",onClick:()=>{t(!0),r(!0)},className:"fixed bottom-24 left-4 z-40 gap-1.5 bg-white shadow-md sm:bottom-4",children:[h.jsx(Zh,{className:"h-3.5 w-3.5"}),"Cookie settings"]}):null}function uO(){const[e]=ni();return p.useEffect(()=>{window.scrollTo(0,0)},[e]),null}const cO=p.lazy(()=>F(()=>import("./not-found-DZs5KGmS.js"),__vite__mapDeps([0,1]))),dO=p.lazy(()=>F(()=>import("./Home-CIAKBsIg.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]))),fO=p.lazy(()=>F(()=>import("./Blog-OLLx85we.js"),__vite__mapDeps([35,36,37,38,34,39,28,40,30,32,31,17,29]))),pO=p.lazy(()=>F(()=>import("./BlogPost-Any6zlHf.js"),__vite__mapDeps([41,36,34,42,43,17,1,30,8,26,18,33,11]))),hO=p.lazy(()=>F(()=>import("./Tools-ClJ-uRtQ.js"),__vite__mapDeps([44,45,38,37,28,11,30,31,27,22,40,19,43,12,46,17,26]))),mO=p.lazy(()=>F(()=>import("./Features-Cm9vecKW.js"),__vite__mapDeps([47,45,37,38,48,28,4,6,5,7,8,9,10,11,30,12,43,18,49,24,50,51,25]))),gO=p.lazy(()=>F(()=>import("./Pricing-CBzIY4_e.js"),__vite__mapDeps([52,37,48,28,34,39,18,25]))),vO=p.lazy(()=>F(()=>import("./Contact-BmvI-EJS.js"),__vite__mapDeps([53,37,28,17]))),yO=p.lazy(()=>F(()=>import("./ResumeBuilder-P8xZ-gcN.js"),__vite__mapDeps([54,38,28,11,49,55,5]))),xO=p.lazy(()=>F(()=>import("./Academy-DmMzAys7.js"),__vite__mapDeps([56,37,33,30,18,31,17,57]))),wO=p.lazy(()=>F(()=>import("./Podcasts-CvOeTEeH.js"),__vite__mapDeps([58,37,38,3,28,9,31,55,17,5,18,8]))),SO=p.lazy(()=>F(()=>import("./AIInRecruitment-CgM7CRVk.js"),__vite__mapDeps([59,37,34,42,43,17,60,61,14,30]))),CO=p.lazy(()=>F(()=>import("./ResumeMistakes-BJKqNlD-.js"),__vite__mapDeps([62,37,34,42,43,17,14,5,63,64]))),EO=p.lazy(()=>F(()=>import("./BehavioralInterviewQuestions-DT_e-gkN.js"),__vite__mapDeps([65,37,34,42,43,17,31,27,8]))),PO=p.lazy(()=>F(()=>import("./HiddenJobMarket-DV_sn52G.js"),__vite__mapDeps([66,37,34,42,43,17,61,67,30,18]))),bO=p.lazy(()=>F(()=>import("./SalaryNegotiation-LJppAXUb.js"),__vite__mapDeps([68,37,34,42,43,17,8,30]))),TO=p.lazy(()=>F(()=>import("./WorkLifeBalance-BQnazPNp.js"),__vite__mapDeps([69,37,34,42,43,17,70,6]))),kO=p.lazy(()=>F(()=>import("./AIResumeBuilder-D5oetB5a.js"),__vite__mapDeps([71,37,34,42,43,17,63,8,11,64]))),_O=p.lazy(()=>F(()=>import("./StrategicJobSearchSuccess-Cpgk0Fuk.js"),__vite__mapDeps([72,37,34,42,43,17,8,30,18,70,26]))),RO=p.lazy(()=>F(()=>import("./ATSFormatting2026-moS73ALd.js"),__vite__mapDeps([73,37,34,42,43,17,63,60,14,5]))),AO=p.lazy(()=>F(()=>import("./AIJobSearchSystem-yTEGtkhK.js"),__vite__mapDeps([74,37,34,42,43,17,11,8,26,70]))),MO=p.lazy(()=>F(()=>import("./AIInterviewScoring-DI6xPhtr.js"),__vite__mapDeps([75,37,34,42,43,17,8,11,9]))),NO=p.lazy(()=>F(()=>import("./CoverLetterData-5mOPh7Cv.js"),__vite__mapDeps([76,37,34,42,43,17,18,60,70]))),DO=p.lazy(()=>F(()=>import("./HiddenJobSeekerTax-lDPXdRPx.js"),__vite__mapDeps([77,37,34,42,43,17,78]))),jO=p.lazy(()=>F(()=>import("./AIHiringDoubleStandard-dMN1QOyG.js"),__vite__mapDeps([79,37,34,42,43,17,61,80]))),OO=p.lazy(()=>F(()=>import("./AIDoopLoop-D55bJsKQ.js"),__vite__mapDeps([81,37,34,42,43,17,78,14,51]))),LO=p.lazy(()=>F(()=>import("./AlgorithmicFirewall-D_mwYIYT.js"),__vite__mapDeps([82,37,34,42,43,17,24,11,8]))),IO=p.lazy(()=>F(()=>import("./AutoApplyEpidemic-HVVWr-iC.js"),__vite__mapDeps([83,37,34,42,43,17,64,63,78,14,8,11]))),FO=p.lazy(()=>F(()=>import("./BestJobSearchTools2026-BSVFggx9.js"),__vite__mapDeps([84,37,34,42,43,17,29,26,11,27]))),VO=p.lazy(()=>F(()=>import("./JobApplicationTracker2026-gqgKtGcb.js"),__vite__mapDeps([85,37,34,42,43,17,1,86,30,12]))),zO=p.lazy(()=>F(()=>import("./HireOnixVsJobscan-DghbxMlR.js"),__vite__mapDeps([87,37,34,42,43,17,12,64,11]))),BO=p.lazy(()=>F(()=>import("./NegotiationSecrets-euunWF8z.js"),__vite__mapDeps([88,37,34,42,43,17,6,8,30,11]))),$O=p.lazy(()=>F(()=>import("./HireOnixVsTeal-BjQZXm7D.js"),__vite__mapDeps([89,37,34,42,43,17,12,64,86]))),UO=p.lazy(()=>F(()=>import("./HireOnixVsResumeIo-Dh0npDy-.js"),__vite__mapDeps([90,37,34,42,43,17,12,64,5]))),WO=p.lazy(()=>F(()=>import("./HireOnixVsKickresume-BbZ5LhHy.js"),__vite__mapDeps([91,37,34,42,43,17,12,64,20]))),HO=p.lazy(()=>F(()=>import("./HireOnixVsRezi-D_PdkfNK.js"),__vite__mapDeps([92,37,34,42,43,17,12,64,6]))),KO=p.lazy(()=>F(()=>import("./BotsScreeningBots-DUqXUH6x.js"),__vite__mapDeps([93,37,34,42,43,17,14,26,4,67,25]))),GO=p.lazy(()=>F(()=>import("./EnterpriseHiringFirewall-C8vTTXlz.js"),__vite__mapDeps([94,37,34,42,43,17,14,26,8,4]))),QO=p.lazy(()=>F(()=>import("./EcosystemFix-50xLZwBS.js"),__vite__mapDeps([95,37,34,42,43,17,11,64,12,14,18,6,8]))),YO=p.lazy(()=>F(()=>import("./ATSThreatLevel-LfuqdwUn.js"),__vite__mapDeps([96,37,34,42,43,17,63,14,78,80,15]))),XO=p.lazy(()=>F(()=>import("./TwoColumnResumeKiller-Bu6ecPF_.js"),__vite__mapDeps([97,37,34,42,43,17,63,19,14,98,15]))),qO=p.lazy(()=>F(()=>import("./TFIDFResumeOptimization-CCKfsr3G.js"),__vite__mapDeps([99,37,34,42,43,17,63,6,30,11,8]))),ZO=p.lazy(()=>F(()=>import("./CareerCoachSubscriptionTrap-_hRf28Xm.js"),__vite__mapDeps([100,37,34,42,43,17,11]))),JO=p.lazy(()=>F(()=>import("./FormattingAnomalies-M59iu8GQ.js"),__vite__mapDeps([101,37,34,42,43,17,63,102,98,15]))),eL=p.lazy(()=>F(()=>import("./AIVideoInterviewMicroexpression-CyJEXNOZ.js"),__vite__mapDeps([103,37,34,42,43,17,63,13,9,61,10]))),tL=p.lazy(()=>F(()=>import("./SemanticKeywordStuffingPenalty-CQmrmlD8.js"),__vite__mapDeps([104,37,34,42,43,17,63,6,14,80]))),nL=p.lazy(()=>F(()=>import("./AlgorithmicGhosting-BYm8FS_c.js"),__vite__mapDeps([105,37,34,42,43,17,63,16,1,78]))),rL=p.lazy(()=>F(()=>import("./JobBoardBlackHole-CFB-N1rP.js"),__vite__mapDeps([106,37,34,42,43,17,63,50,78,18,46])
247)),oL=p.lazy(()=>F(()=>import("./LegacyResumeBuilders-BEE4BESa.js"),__vite__mapDeps([107,37,34,42,43,17,14,5,51,32]))),sL=p.lazy(()=>F(()=>import("./AdminTickets-J0N6UfDl.js"),__vite__mapDeps([108,37,43,57]))),iL=p.lazy(()=>F(()=>import("./AboutPage-DF3wIuqR.js"),__vite__mapDeps([109,37,34,6,24,30,8,23,32,33,18,46]))),aL=p.lazy(()=>F(()=>import("./TrustSecurity-Bu2VET7W.js"),__vite__mapDeps([110,37,28,12,25,24,14]))),lL=p.lazy(()=>F(()=>import("./PrivacyPolicy-DKzQde_p.js"),[])),uL=p.lazy(()=>F(()=>import("./TermsOfService-DmAuq_iC.js"),[])),cL=p.lazy(()=>F(()=>import("./InvestorOnePager-Bqtd7Edh.js"),__vite__mapDeps([111,55]))),dL=p.lazy(()=>F(()=>import("./Feedback-6n7SNe7V.js"),__vite__mapDeps([112,37,113,28,12,29,27,23,102,17,26,30,61,31]))),fL=p.lazy(()=>F(()=>import("./Downloads-tElLmCqB.js"),__vite__mapDeps([114,113,28,63,55]))),pL=p.lazy(()=>F(()=>import("./Glossary-BwRmDpPj.js"),__vite__mapDeps([115,37,38,28,34,39,29,21,63,64]))),hL=p.lazy(()=>F(()=>import("./OGPreview-CyCaNBt6.js"),__vite__mapDeps([116,6,5,7,8,9,10])));function mL(){return h.jsxs(JP,{children:[h.jsx(I,{path:"/",component:dO}),h.jsx(I,{path:"/og-preview",component:hL}),h.jsx(I,{path:"/tools",component:hO}),h.jsx(I,{path:"/features",component:mO}),h.jsx(I,{path:"/pricing",component:gO}),h.jsx(I,{path:"/contact",component:vO}),h.jsx(I,{path:"/resume-builder",component:yO}),h.jsx(I,{path:"/academy",component:xO}),h.jsx(I,{path:"/podcasts",component:wO}),h.jsx(I,{path:"/blog",component:fO}),h.jsx(I,{path:"/blog/ai-in-recruitment-job-seekers-guide",component:SO}),h.jsx(I,{path:"/blog/resume-mistakes-costing-interviews",component:CO}),h.jsx(I,{path:"/blog/prepare-behavioral-interview-questions",component:EO}),h.jsx(I,{path:"/blog/hidden-job-market-unadvertised-opportunities",component:PO}),h.jsx(I,{path:"/blog/negotiating-salary-step-by-step-guide",component:bO}),h.jsx(I,{path:"/blog/work-life-balance-remote-environment",component:TO}),h.jsx(I,{path:"/blog/ai-resume-builders-worth-it-guide",component:kO}),h.jsx(I,{path:"/blog/strategic-job-search-success",component:_O}),h.jsx(I,{path:"/blog/ats-formatting-resume-2026",component:RO}),h.jsx(I,{path:"/blog/ai-job-search-system-built",component:AO}),h.jsx(I,{path:"/blog/ai-interview-scoring-star-method-2026",component:MO}),h.jsx(I,{path:"/blog/do-recruiters-read-cover-letters-data",component:NO}),h.jsx(I,{path:"/blog/hidden-job-seeker-tax-2026",component:DO}),h.jsx(I,{path:"/blog/ai-hiring-double-standard-2026",component:jO}),h.jsx(I,{path:"/blog/ai-doom-loop-hiring-2026",component:OO}),h.jsx(I,{path:"/blog/algorithmic-firewall-hiring-2026",component:LO}),h.jsx(I,{path:"/blog/auto-apply-bot-epidemic-400-resumes",component:IO}),h.jsx(I,{path:"/blog/best-job-search-tools-2026",component:FO}),h.jsx(I,{path:"/blog/job-application-tracker-2026",component:VO}),h.jsx(I,{path:"/blog/hireonix-vs-jobscan-ats-2026",component:zO}),h.jsx(I,{path:"/blog/why-your-best-argument-is-no-negotiation-secrets",component:BO}),h.jsx(I,{path:"/blog/hireonix-vs-teal-job-tracker-2026",component:$O}),h.jsx(I,{path:"/blog/hireonix-vs-resume-io-2026",component:UO}),h.jsx(I,{path:"/blog/hireonix-vs-kickresume-2026",component:WO}),h.jsx(I,{path:"/blog/hireonix-vs-rezi-ai-resume-2026",component:HO}),h.jsx(I,{path:"/blog/bots-screening-bots-architectural-shield",component:KO}),h.jsx(I,{path:"/blog/enterprise-hiring-firewall-failure",component:GO}),h.jsx(I,{path:"/blog/fixing-the-hiring-ecosystem-b2c-b2b",component:QO}),h.jsx(I,{path:"/blog/ats-threat-level-guide",component:YO}),h.jsx(I,{path:"/blog/two-column-resume-ats-killer",component:XO}),h.jsx(I,{path:"/blog/tf-idf-semantic-resume-optimization",component:qO}),h.jsx(I,{path:"/blog/career-saas-subscription-trap",component:ZO}),h.jsx(I,{path:"/blog/resume-formatting-anomalies-ats",component:JO}),h.jsx(I,{path:"/blog/ai-video-interview-microexpression",component:eL}),h.jsx(I,{path:"/blog/semantic-keyword-stuffing-penalty",component:tL}),h.jsx(I,{path:"/blog/algorithmic-ghosting-explained",component:nL}),h.jsx(I,{path:"/blog/job-board-black-hole-easy-apply",component:rL}),h.jsx(I,{path:"/blog/legacy-resume-builders-failing-candidates",component:oL}),h.jsx(I,{path:"/blog/:slug",component:pO}),h.jsx(I,{path:"/about",component:iL}),h.jsx(I,{path:"/admin/tickets",component:sL}),h.jsx(I,{path:"/trust-security",component:aL}),h.jsx(I,{path:"/privacypolicy",component:lL}),h.jsx(I,{path:"/terms",component:uL}),h.jsx(I,{path:"/investor",component:cL}),h.jsx(I,{path:"/feedback",component:dL}),h.jsx(I,{path:"/downloads",component:fL}),h.jsx(I,{path:"/glossary",component:pL}),h.jsx(I,{component:cO})]})}function gL(){const[e,t]=p.useState("light");p.useEffect(()=>{const s=localStorage.getItem("theme");s&&(t(s),document.documentElement.classList.toggle("dark",s==="dark"))},[]);const n=()=>{const s=e==="light"?"dark":"light";t(s),document.documentElement.classList.toggle("dark",s==="dark"),localStorage.setItem("theme",s)},[r]=ni(),o=r==="/og-preview";return h.jsxs(Cb,{client:Pb,children:[h.jsx(uO,{}),h.jsx(Ck,{}),h.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[!
247o&&h.jsx(Aj,{toggleTheme:n,theme:e}),h.jsx("div",{className:o?"":"pt-20",children:h.jsx(p.Suspense,{fallback:h.jsx("div",{role:"status",className:"flex min-h-[50vh] items-center justify-center text-sm text-muted-foreground",children:"Loading pageâ¦"}),children:h.jsx(mL,{})})}),!o&&h.jsx(Sk,{}),!o&&h.jsx(Ij,{}),!o&&h.jsx(lO,{})]})]})}i0(document.getElementById("root")).render(h.jsx(gL,{}));export{SL as $,Xh as A,ye as B,fp as C,kT as D,ff as E,RT as F,_T as G,AT as H,sd as I,o1 as J,TN as K,Be as L,DT as M,kN as N,NT as O,ee as P,pl as Q,wn as R,IT as S,fS as T,wL as U,Fs as V,rm as W,si as X,yb as Y,We as Z,F as _,jj as a,FT as a0,OT as a1,CL as a2,Pb as a3,cb as a4,rb as a5,Ih as a6,Tt as a7,hl as a8,tb as a9,nb as aa,x0 as ab,hb as ac,sb as ad,MT as ae,Rj as af,yL as ag,Kg as ah,PT as b,ae as c,KM as d,Oi as e,tm as f,qh as g,Mj as h,Nj as i,h as j,Dj as k,Oj as l,BM as m,ri as n,oi as o,io as p,B as q,p as r,mn as s,we as t,xL as u,Gn as v,sf as w,Dw as x,Z as y,Ab as z};
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.