12 lines
532 KiB
JavaScript
12 lines
532 KiB
JavaScript
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))c(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const y of g.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&c(y)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerPolicy&&(g.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?g.credentials="include":h.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function c(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();var Po={exports:{}},Ys={};var Ch;function tx(){if(Ch)return Ys;Ch=1;var d=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(c,h,g){var y=null;if(g!==void 0&&(y=""+g),h.key!==void 0&&(y=""+h.key),"key"in h){g={};for(var V in h)V!=="key"&&(g[V]=h[V])}else g=h;return h=g.ref,{$$typeof:d,type:c,key:y,ref:h!==void 0?h:null,props:g}}return Ys.Fragment=i,Ys.jsx=o,Ys.jsxs=o,Ys}var Th;function ax(){return Th||(Th=1,Po.exports=tx()),Po.exports}var a=ax(),ec={exports:{}},fe={};var Mh;function lx(){if(Mh)return fe;Mh=1;var d=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),y=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),j=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),H=Symbol.iterator;function Y(f){return f===null||typeof f!="object"?null:(f=H&&f[H]||f["@@iterator"],typeof f=="function"?f:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J=Object.assign,oe={};function ie(f,_,R){this.props=f,this.context=_,this.refs=oe,this.updater=R||q}ie.prototype.isReactComponent={},ie.prototype.setState=function(f,_){if(typeof f!="object"&&typeof f!="function"&&f!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,f,_,"setState")},ie.prototype.forceUpdate=function(f){this.updater.enqueueForceUpdate(this,f,"forceUpdate")};function ne(){}ne.prototype=ie.prototype;function X(f,_,R){this.props=f,this.context=_,this.refs=oe,this.updater=R||q}var te=X.prototype=new ne;te.constructor=X,J(te,ie.prototype),te.isPureReactComponent=!0;var ae=Array.isArray;function Z(){}var D={H:null,A:null,T:null,S:null},W=Object.prototype.hasOwnProperty;function $(f,_,R){var Q=R.ref;return{$$typeof:d,type:f,key:_,ref:Q!==void 0?Q:null,props:R}}function P(f,_){return $(f.type,_,f.props)}function ce(f){return typeof f=="object"&&f!==null&&f.$$typeof===d}function me(f){var _={"=":"=0",":":"=2"};return"$"+f.replace(/[=:]/g,function(R){return _[R]})}var De=/\/+/g;function Ne(f,_){return typeof f=="object"&&f!==null&&f.key!=null?me(""+f.key):_.toString(36)}function se(f){switch(f.status){case"fulfilled":return f.value;case"rejected":throw f.reason;default:switch(typeof f.status=="string"?f.then(Z,Z):(f.status="pending",f.then(function(_){f.status==="pending"&&(f.status="fulfilled",f.value=_)},function(_){f.status==="pending"&&(f.status="rejected",f.reason=_)})),f.status){case"fulfilled":return f.value;case"rejected":throw f.reason}}throw f}function p(f,_,R,Q,ue){var de=typeof f;(de==="undefined"||de==="boolean")&&(f=null);var ze=!1;if(f===null)ze=!0;else switch(de){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(f.$$typeof){case d:case i:ze=!0;break;case T:return ze=f._init,p(ze(f._payload),_,R,Q,ue)}}if(ze)return ue=ue(f),ze=Q===""?"."+Ne(f,0):Q,ae(ue)?(R="",ze!=null&&(R=ze.replace(De,"$&/")+"/"),p(ue,_,R,"",function($l){return $l})):ue!=null&&(ce(ue)&&(ue=P(ue,R+(ue.key==null||f&&f.key===ue.key?"":(""+ue.key).replace(De,"$&/")+"/")+ze)),_.push(ue)),1;ze=0;var rt=Q===""?".":Q+":";if(ae(f))for(var Ge=0;Ge<f.length;Ge++)Q=f[Ge],de=rt+Ne(Q,Ge),ze+=p(Q,_,R,de,ue);else if(Ge=Y(f),typeof Ge=="function")for(f=Ge.call(f),Ge=0;!(Q=f.next()).done;)Q=Q.value,de=rt+Ne(Q,Ge++),ze+=p(Q,_,R,de,ue);else if(de==="object"){if(typeof f.then=="function")return p(se(f),_,R,Q,ue);throw _=String(f),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return ze}function L(f,_,R){if(f==null)return f;var Q=[],ue=0;return p(f,Q,"","",function(de){return _.call(R,de,ue++)}),Q}function k(f){if(f._status===-1){var _=f._result;_=_(),_.then(function(R){(f._status===0||f._status===-1)&&(f._status=1,f._result=R)},function(R){(f._status===0||f._status===-1)&&(f._status=2,f._result=R)}),f._status===-1&&(f._status=0,f._result=_)}if(f._status===1)return f._result.default;throw f._result}var G=typeof reportError=="function"?reportError:function(f){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f),error:f});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",f);return}console.error(f)},I={map:L,forEach:function(f,_,R){L(f,function(){_.apply(this,arguments)},R)},count:function(f){var _=0;return L(f,function(){_++}),_},toArray:function(f){return L(f,function(_){return _})||[]},only:function(f){if(!ce(f))throw Error("React.Children.only expected to receive a single React element child.");return f}};return fe.Activity=S,fe.Children=I,fe.Component=ie,fe.Fragment=o,fe.Profiler=h,fe.PureComponent=X,fe.StrictMode=c,fe.Suspense=M,fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,fe.__COMPILER_RUNTIME={__proto__:null,c:function(f){return D.H.useMemoCache(f)}},fe.cache=function(f){return function(){return f.apply(null,arguments)}},fe.cacheSignal=function(){return null},fe.cloneElement=function(f,_,R){if(f==null)throw Error("The argument must be a React element, but you passed "+f+".");var Q=J({},f.props),ue=f.key;if(_!=null)for(de in _.key!==void 0&&(ue=""+_.key),_)!W.call(_,de)||de==="key"||de==="__self"||de==="__source"||de==="ref"&&_.ref===void 0||(Q[de]=_[de]);var de=arguments.length-2;if(de===1)Q.children=R;else if(1<de){for(var ze=Array(de),rt=0;rt<de;rt++)ze[rt]=arguments[rt+2];Q.children=ze}return $(f.type,ue,Q)},fe.createContext=function(f){return f={$$typeof:y,_currentValue:f,_currentValue2:f,_threadCount:0,Provider:null,Consumer:null},f.Provider=f,f.Consumer={$$typeof:g,_context:f},f},fe.createElement=function(f,_,R){var Q,ue={},de=null;if(_!=null)for(Q in _.key!==void 0&&(de=""+_.key),_)W.call(_,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(ue[Q]=_[Q]);var ze=arguments.length-2;if(ze===1)ue.children=R;else if(1<ze){for(var rt=Array(ze),Ge=0;Ge<ze;Ge++)rt[Ge]=arguments[Ge+2];ue.children=rt}if(f&&f.defaultProps)for(Q in ze=f.defaultProps,ze)ue[Q]===void 0&&(ue[Q]=ze[Q]);return $(f,de,ue)},fe.createRef=function(){return{current:null}},fe.forwardRef=function(f){return{$$typeof:V,render:f}},fe.isValidElement=ce,fe.lazy=function(f){return{$$typeof:T,_payload:{_status:-1,_result:f},_init:k}},fe.memo=function(f,_){return{$$typeof:j,type:f,compare:_===void 0?null:_}},fe.startTransition=function(f){var _=D.T,R={};D.T=R;try{var Q=f(),ue=D.S;ue!==null&&ue(R,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(Z,G)}catch(de){G(de)}finally{_!==null&&R.types!==null&&(_.types=R.types),D.T=_}},fe.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},fe.use=function(f){return D.H.use(f)},fe.useActionState=function(f,_,R){return D.H.useActionState(f,_,R)},fe.useCallback=function(f,_){return D.H.useCallback(f,_)},fe.useContext=function(f){return D.H.useContext(f)},fe.useDebugValue=function(){},fe.useDeferredValue=function(f,_){return D.H.useDeferredValue(f,_)},fe.useEffect=function(f,_){return D.H.useEffect(f,_)},fe.useEffectEvent=function(f){return D.H.useEffectEvent(f)},fe.useId=function(){return D.H.useId()},fe.useImperativeHandle=function(f,_,R){return D.H.useImperativeHandle(f,_,R)},fe.useInsertionEffect=function(f,_){return D.H.useInsertionEffect(f,_)},fe.useLayoutEffect=function(f,_){return D.H.useLayoutEffect(f,_)},fe.useMemo=function(f,_){return D.H.useMemo(f,_)},fe.useOptimistic=function(f,_){return D.H.useOptimistic(f,_)},fe.useReducer=function(f,_,R){return D.H.useReducer(f,_,R)},fe.useRef=function(f){return D.H.useRef(f)},fe.useState=function(f){return D.H.useState(f)},fe.useSyncExternalStore=function(f,_,R){return D.H.useSyncExternalStore(f,_,R)},fe.useTransition=function(){return D.H.useTransition()},fe.version="19.2.4",fe}var Eh;function Nc(){return Eh||(Eh=1,ec.exports=lx()),ec.exports}var v=Nc(),tc={exports:{}},Qs={},ac={exports:{}},lc={};var Lh;function sx(){return Lh||(Lh=1,(function(d){function i(p,L){var k=p.length;p.push(L);e:for(;0<k;){var G=k-1>>>1,I=p[G];if(0<h(I,L))p[G]=L,p[k]=I,k=G;else break e}}function o(p){return p.length===0?null:p[0]}function c(p){if(p.length===0)return null;var L=p[0],k=p.pop();if(k!==L){p[0]=k;e:for(var G=0,I=p.length,f=I>>>1;G<f;){var _=2*(G+1)-1,R=p[_],Q=_+1,ue=p[Q];if(0>h(R,k))Q<I&&0>h(ue,R)?(p[G]=ue,p[Q]=k,G=Q):(p[G]=R,p[_]=k,G=_);else if(Q<I&&0>h(ue,k))p[G]=ue,p[Q]=k,G=Q;else break e}}return L}function h(p,L){var k=p.sortIndex-L.sortIndex;return k!==0?k:p.id-L.id}if(d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var g=performance;d.unstable_now=function(){return g.now()}}else{var y=Date,V=y.now();d.unstable_now=function(){return y.now()-V}}var M=[],j=[],T=1,S=null,H=3,Y=!1,q=!1,J=!1,oe=!1,ie=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function te(p){for(var L=o(j);L!==null;){if(L.callback===null)c(j);else if(L.startTime<=p)c(j),L.sortIndex=L.expirationTime,i(M,L);else break;L=o(j)}}function ae(p){if(J=!1,te(p),!q)if(o(M)!==null)q=!0,Z||(Z=!0,me());else{var L=o(j);L!==null&&se(ae,L.startTime-p)}}var Z=!1,D=-1,W=5,$=-1;function P(){return oe?!0:!(d.unstable_now()-$<W)}function ce(){if(oe=!1,Z){var p=d.unstable_now();$=p;var L=!0;try{e:{q=!1,J&&(J=!1,ne(D),D=-1),Y=!0;var k=H;try{t:{for(te(p),S=o(M);S!==null&&!(S.expirationTime>p&&P());){var G=S.callback;if(typeof G=="function"){S.callback=null,H=S.priorityLevel;var I=G(S.expirationTime<=p);if(p=d.unstable_now(),typeof I=="function"){S.callback=I,te(p),L=!0;break t}S===o(M)&&c(M),te(p)}else c(M);S=o(M)}if(S!==null)L=!0;else{var f=o(j);f!==null&&se(ae,f.startTime-p),L=!1}}break e}finally{S=null,H=k,Y=!1}L=void 0}}finally{L?me():Z=!1}}}var me;if(typeof X=="function")me=function(){X(ce)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,Ne=De.port2;De.port1.onmessage=ce,me=function(){Ne.postMessage(null)}}else me=function(){ie(ce,0)};function se(p,L){D=ie(function(){p(d.unstable_now())},L)}d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(p){p.callback=null},d.unstable_forceFrameRate=function(p){0>p||125<p?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<p?Math.floor(1e3/p):5},d.unstable_getCurrentPriorityLevel=function(){return H},d.unstable_next=function(p){switch(H){case 1:case 2:case 3:var L=3;break;default:L=H}var k=H;H=L;try{return p()}finally{H=k}},d.unstable_requestPaint=function(){oe=!0},d.unstable_runWithPriority=function(p,L){switch(p){case 1:case 2:case 3:case 4:case 5:break;default:p=3}var k=H;H=p;try{return L()}finally{H=k}},d.unstable_scheduleCallback=function(p,L,k){var G=d.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?G+k:G):k=G,p){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=k+I,p={id:T++,callback:L,priorityLevel:p,startTime:k,expirationTime:I,sortIndex:-1},k>G?(p.sortIndex=k,i(j,p),o(M)===null&&p===o(j)&&(J?(ne(D),D=-1):J=!0,se(ae,k-G))):(p.sortIndex=I,i(M,p),q||Y||(q=!0,Z||(Z=!0,me()))),p},d.unstable_shouldYield=P,d.unstable_wrapCallback=function(p){var L=H;return function(){var k=H;H=L;try{return p.apply(this,arguments)}finally{H=k}}}})(lc)),lc}var Oh;function nx(){return Oh||(Oh=1,ac.exports=sx()),ac.exports}var sc={exports:{}},it={};var Uh;function ix(){if(Uh)return it;Uh=1;var d=Nc();function i(M){var j="https://react.dev/errors/"+M;if(1<arguments.length){j+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)j+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+M+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var c={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},h=Symbol.for("react.portal");function g(M,j,T){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:S==null?null:""+S,children:M,containerInfo:j,implementation:T}}var y=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function V(M,j){if(M==="font")return"";if(typeof j=="string")return j==="use-credentials"?j:""}return it.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,it.createPortal=function(M,j){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!j||j.nodeType!==1&&j.nodeType!==9&&j.nodeType!==11)throw Error(i(299));return g(M,j,null,T)},it.flushSync=function(M){var j=y.T,T=c.p;try{if(y.T=null,c.p=2,M)return M()}finally{y.T=j,c.p=T,c.d.f()}},it.preconnect=function(M,j){typeof M=="string"&&(j?(j=j.crossOrigin,j=typeof j=="string"?j==="use-credentials"?j:"":void 0):j=null,c.d.C(M,j))},it.prefetchDNS=function(M){typeof M=="string"&&c.d.D(M)},it.preinit=function(M,j){if(typeof M=="string"&&j&&typeof j.as=="string"){var T=j.as,S=V(T,j.crossOrigin),H=typeof j.integrity=="string"?j.integrity:void 0,Y=typeof j.fetchPriority=="string"?j.fetchPriority:void 0;T==="style"?c.d.S(M,typeof j.precedence=="string"?j.precedence:void 0,{crossOrigin:S,integrity:H,fetchPriority:Y}):T==="script"&&c.d.X(M,{crossOrigin:S,integrity:H,fetchPriority:Y,nonce:typeof j.nonce=="string"?j.nonce:void 0})}},it.preinitModule=function(M,j){if(typeof M=="string")if(typeof j=="object"&&j!==null){if(j.as==null||j.as==="script"){var T=V(j.as,j.crossOrigin);c.d.M(M,{crossOrigin:T,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0})}}else j==null&&c.d.M(M)},it.preload=function(M,j){if(typeof M=="string"&&typeof j=="object"&&j!==null&&typeof j.as=="string"){var T=j.as,S=V(T,j.crossOrigin);c.d.L(M,T,{crossOrigin:S,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,type:typeof j.type=="string"?j.type:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0,referrerPolicy:typeof j.referrerPolicy=="string"?j.referrerPolicy:void 0,imageSrcSet:typeof j.imageSrcSet=="string"?j.imageSrcSet:void 0,imageSizes:typeof j.imageSizes=="string"?j.imageSizes:void 0,media:typeof j.media=="string"?j.media:void 0})}},it.preloadModule=function(M,j){if(typeof M=="string")if(j){var T=V(j.as,j.crossOrigin);c.d.m(M,{as:typeof j.as=="string"&&j.as!=="script"?j.as:void 0,crossOrigin:T,integrity:typeof j.integrity=="string"?j.integrity:void 0})}else c.d.m(M)},it.requestFormReset=function(M){c.d.r(M)},it.unstable_batchedUpdates=function(M,j){return M(j)},it.useFormState=function(M,j,T){return y.H.useFormState(M,j,T)},it.useFormStatus=function(){return y.H.useHostTransitionStatus()},it.version="19.2.4",it}var Rh;function rx(){if(Rh)return sc.exports;Rh=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(i){console.error(i)}}return d(),sc.exports=ix(),sc.exports}var Vh;function ox(){if(Vh)return Qs;Vh=1;var d=nx(),i=Nc(),o=rx();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}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."}function h(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function g(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function y(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 V(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function M(e){if(g(e)!==e)throw Error(c(188))}function j(e){var t=e.alternate;if(!t){if(t=g(e),t===null)throw Error(c(188));return t!==e?null:e}for(var l=e,s=t;;){var n=l.return;if(n===null)break;var r=n.alternate;if(r===null){if(s=n.return,s!==null){l=s;continue}break}if(n.child===r.child){for(r=n.child;r;){if(r===l)return M(n),e;if(r===s)return M(n),t;r=r.sibling}throw Error(c(188))}if(l.return!==s.return)l=n,s=r;else{for(var u=!1,m=n.child;m;){if(m===l){u=!0,l=n,s=r;break}if(m===s){u=!0,s=n,l=r;break}m=m.sibling}if(!u){for(m=r.child;m;){if(m===l){u=!0,l=r,s=n;break}if(m===s){u=!0,s=r,l=n;break}m=m.sibling}if(!u)throw Error(c(189))}}if(l.alternate!==s)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?e:t}function T(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=T(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,H=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),oe=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),ne=Symbol.for("react.consumer"),X=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),P=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function me(e){return e===null||typeof e!="object"?null:(e=ce&&e[ce]||e["@@iterator"],typeof e=="function"?e:null)}var De=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===De?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case J:return"Fragment";case ie:return"Profiler";case oe:return"StrictMode";case ae:return"Suspense";case Z:return"SuspenseList";case $:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case X:return e.displayName||"Context";case ne:return(e._context.displayName||"Context")+".Consumer";case te:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case D:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var se=Array.isArray,p=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},G=[],I=-1;function f(e){return{current:e}}function _(e){0>I||(e.current=G[I],G[I]=null,I--)}function R(e,t){I++,G[I]=e.current,e.current=t}var Q=f(null),ue=f(null),de=f(null),ze=f(null);function rt(e,t){switch(R(de,t),R(ue,e),R(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Pm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Pm(t),e=eh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}_(Q),R(Q,e)}function Ge(){_(Q),_(ue),_(de)}function $l(e){e.memoizedState!==null&&R(ze,e);var t=Q.current,l=eh(t,e.type);t!==l&&(R(ue,e),R(Q,l))}function an(e){ue.current===e&&(_(Q),_(ue)),ze.current===e&&(_(ze),Hs._currentValue=k)}var Li,Dc;function qa(e){if(Li===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Li=t&&t[1]||"",Dc=-1<l.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+Li+e+Dc}var Oi=!1;function Ui(e,t){if(!e||Oi)return"";Oi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(C){var z=C}Reflect.construct(e,[],B)}else{try{B.call()}catch(C){z=C}e.call(B.prototype)}}else{try{throw Error()}catch(C){z=C}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(C){if(C&&z&&typeof C.stack=="string")return[C.stack,z.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=s.DetermineComponentFrameRoot(),u=r[0],m=r[1];if(u&&m){var x=u.split(`
|
||
`),A=m.split(`
|
||
`);for(n=s=0;s<x.length&&!x[s].includes("DetermineComponentFrameRoot");)s++;for(;n<A.length&&!A[n].includes("DetermineComponentFrameRoot");)n++;if(s===x.length||n===A.length)for(s=x.length-1,n=A.length-1;1<=s&&0<=n&&x[s]!==A[n];)n--;for(;1<=s&&0<=n;s--,n--)if(x[s]!==A[n]){if(s!==1||n!==1)do if(s--,n--,0>n||x[s]!==A[n]){var O=`
|
||
`+x[s].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),O}while(1<=s&&0<=n);break}}}finally{Oi=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?qa(l):""}function Mf(e,t){switch(e.tag){case 26:case 27:case 5:return qa(e.type);case 16:return qa("Lazy");case 13:return e.child!==t&&t!==null?qa("Suspense Fallback"):qa("Suspense");case 19:return qa("SuspenseList");case 0:case 15:return Ui(e.type,!1);case 11:return Ui(e.type.render,!1);case 1:return Ui(e.type,!0);case 31:return qa("Activity");default:return""}}function Cc(e){try{var t="",l=null;do t+=Mf(e,l),l=e,e=e.return;while(e);return t}catch(s){return`
|
||
Error generating stack: `+s.message+`
|
||
`+s.stack}}var Ri=Object.prototype.hasOwnProperty,Vi=d.unstable_scheduleCallback,Bi=d.unstable_cancelCallback,Ef=d.unstable_shouldYield,Lf=d.unstable_requestPaint,bt=d.unstable_now,Of=d.unstable_getCurrentPriorityLevel,Tc=d.unstable_ImmediatePriority,Mc=d.unstable_UserBlockingPriority,ln=d.unstable_NormalPriority,Uf=d.unstable_LowPriority,Ec=d.unstable_IdlePriority,Rf=d.log,Vf=d.unstable_setDisableYieldValue,Il=null,vt=null;function ga(e){if(typeof Rf=="function"&&Vf(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(Il,e)}catch{}}var yt=Math.clz32?Math.clz32:qf,Bf=Math.log,Hf=Math.LN2;function qf(e){return e>>>=0,e===0?32:31-(Bf(e)/Hf|0)|0}var sn=256,nn=262144,rn=4194304;function Ga(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function on(e,t,l){var s=e.pendingLanes;if(s===0)return 0;var n=0,r=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var m=s&134217727;return m!==0?(s=m&~r,s!==0?n=Ga(s):(u&=m,u!==0?n=Ga(u):l||(l=m&~e,l!==0&&(n=Ga(l))))):(m=s&~r,m!==0?n=Ga(m):u!==0?n=Ga(u):l||(l=s&~e,l!==0&&(n=Ga(l)))),n===0?0:t!==0&&t!==n&&(t&r)===0&&(r=n&-n,l=t&-t,r>=l||r===32&&(l&4194048)!==0)?t:n}function Pl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Gf(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Lc(){var e=rn;return rn<<=1,(rn&62914560)===0&&(rn=4194304),e}function Hi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function es(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Jf(e,t,l,s,n,r){var u=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var m=e.entanglements,x=e.expirationTimes,A=e.hiddenUpdates;for(l=u&~l;0<l;){var O=31-yt(l),B=1<<O;m[O]=0,x[O]=-1;var z=A[O];if(z!==null)for(A[O]=null,O=0;O<z.length;O++){var C=z[O];C!==null&&(C.lane&=-536870913)}l&=~B}s!==0&&Oc(e,s,0),r!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=r&~(u&~t))}function Oc(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-yt(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|l&261930}function Uc(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var s=31-yt(l),n=1<<s;n&t|e[s]&t&&(e[s]|=t),l&=~n}}function Rc(e,t){var l=t&-t;return l=(l&42)!==0?1:qi(l),(l&(e.suspendedLanes|t))!==0?0:l}function qi(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Gi(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Vc(){var e=L.p;return e!==0?e:(e=window.event,e===void 0?32:Nh(e.type))}function Bc(e,t){var l=L.p;try{return L.p=e,t()}finally{L.p=l}}var xa=Math.random().toString(36).slice(2),tt="__reactFiber$"+xa,ct="__reactProps$"+xa,cl="__reactContainer$"+xa,Ji="__reactEvents$"+xa,Yf="__reactListeners$"+xa,Qf="__reactHandles$"+xa,Hc="__reactResources$"+xa,ts="__reactMarker$"+xa;function Yi(e){delete e[tt],delete e[ct],delete e[Ji],delete e[Yf],delete e[Qf]}function dl(e){var t=e[tt];if(t)return t;for(var l=e.parentNode;l;){if(t=l[cl]||l[tt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=rh(e);e!==null;){if(l=e[tt])return l;e=rh(e)}return t}e=l,l=e.parentNode}return null}function ul(e){if(e=e[tt]||e[cl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function as(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function ml(e){var t=e[Hc];return t||(t=e[Hc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ie(e){e[ts]=!0}var qc=new Set,Gc={};function Ja(e,t){hl(e,t),hl(e+"Capture",t)}function hl(e,t){for(Gc[e]=t,e=0;e<t.length;e++)qc.add(t[e])}var Xf=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Jc={},Yc={};function Kf(e){return Ri.call(Yc,e)?!0:Ri.call(Jc,e)?!1:Xf.test(e)?Yc[e]=!0:(Jc[e]=!0,!1)}function cn(e,t,l){if(Kf(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function dn(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function $t(e,t,l,s){if(s===null)e.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+s)}}function Dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zf(e,t,l){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var n=s.get,r=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(u){l=""+u,r.call(this,u)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(u){l=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qi(e){if(!e._valueTracker){var t=Qc(e)?"checked":"value";e._valueTracker=Zf(e,t,""+e[t])}}function Xc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),s="";return e&&(s=Qc(e)?e.checked?"true":"false":e.value),e=s,e!==l?(t.setValue(e),!0):!1}function un(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}}var Wf=/[\n"\\]/g;function Ct(e){return e.replace(Wf,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Xi(e,t,l,s,n,r,u,m){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.type=u:e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Dt(t)):e.value!==""+Dt(t)&&(e.value=""+Dt(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Ki(e,u,Dt(t)):l!=null?Ki(e,u,Dt(l)):s!=null&&e.removeAttribute("value"),n==null&&r!=null&&(e.defaultChecked=!!r),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Dt(m):e.removeAttribute("name")}function Kc(e,t,l,s,n,r,u,m){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||l!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){Qi(e);return}l=l!=null?""+Dt(l):"",t=t!=null?""+Dt(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}s=s??n,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=m?e.checked:!!s,e.defaultChecked=!!s,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.name=u),Qi(e)}function Ki(e,t,l){t==="number"&&un(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function fl(e,t,l,s){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&s&&(e[l].defaultSelected=!0)}else{for(l=""+Dt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,s&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Zc(e,t,l){if(t!=null&&(t=""+Dt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Dt(l):""}function Wc(e,t,l,s){if(t==null){if(s!=null){if(l!=null)throw Error(c(92));if(se(s)){if(1<s.length)throw Error(c(93));s=s[0]}l=s}l==null&&(l=""),t=l}l=Dt(t),e.defaultValue=l,s=e.textContent,s===l&&s!==""&&s!==null&&(e.value=s),Qi(e)}function gl(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Ff=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Fc(e,t,l){var s=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,l):typeof l!="number"||l===0||Ff.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function $c(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,l!=null){for(var s in l)!l.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var n in t)s=t[n],t.hasOwnProperty(n)&&l[n]!==s&&Fc(e,n,s)}else for(var r in t)t.hasOwnProperty(r)&&Fc(e,r,t[r])}function Zi(e){if(e.indexOf("-")===-1)return!1;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 $f=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),If=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function mn(e){return If.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function It(){}var Wi=null;function Fi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xl=null,pl=null;function Ic(e){var t=ul(e);if(t&&(e=t.stateNode)){var l=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(Xi(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Ct(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var s=l[t];if(s!==e&&s.form===e.form){var n=s[ct]||null;if(!n)throw Error(c(90));Xi(s,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)s=l[t],s.form===e.form&&Xc(s)}break e;case"textarea":Zc(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&fl(e,!!l.multiple,t,!1)}}}var $i=!1;function Pc(e,t,l){if($i)return e(t,l);$i=!0;try{var s=e(t);return s}finally{if($i=!1,(xl!==null||pl!==null)&&(Pn(),xl&&(t=xl,e=pl,pl=xl=null,Ic(t),e)))for(t=0;t<e.length;t++)Ic(e[t])}}function ls(e,t){var l=e.stateNode;if(l===null)return null;var s=l[ct]||null;if(s===null)return null;l=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(c(231,t,typeof l));return l}var Pt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ii=!1;if(Pt)try{var ss={};Object.defineProperty(ss,"passive",{get:function(){Ii=!0}}),window.addEventListener("test",ss,ss),window.removeEventListener("test",ss,ss)}catch{Ii=!1}var pa=null,Pi=null,hn=null;function ed(){if(hn)return hn;var e,t=Pi,l=t.length,s,n="value"in pa?pa.value:pa.textContent,r=n.length;for(e=0;e<l&&t[e]===n[e];e++);var u=l-e;for(s=1;s<=u&&t[l-s]===n[r-s];s++);return hn=n.slice(e,1<s?1-s:void 0)}function fn(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 gn(){return!0}function td(){return!1}function dt(e){function t(l,s,n,r,u){this._reactName=l,this._targetInst=n,this.type=s,this.nativeEvent=r,this.target=u,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(r):r[m]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?gn:td,this.isPropagationStopped=td,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=gn)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=gn)},persist:function(){},isPersistent:gn}),t}var Ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xn=dt(Ya),ns=S({},Ya,{view:0,detail:0}),Pf=dt(ns),er,tr,is,pn=S({},ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lr,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!==is&&(is&&e.type==="mousemove"?(er=e.screenX-is.screenX,tr=e.screenY-is.screenY):tr=er=0,is=e),er)},movementY:function(e){return"movementY"in e?e.movementY:tr}}),ad=dt(pn),e0=S({},pn,{dataTransfer:0}),t0=dt(e0),a0=S({},ns,{relatedTarget:0}),ar=dt(a0),l0=S({},Ya,{animationName:0,elapsedTime:0,pseudoElement:0}),s0=dt(l0),n0=S({},Ya,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),i0=dt(n0),r0=S({},Ya,{data:0}),ld=dt(r0),o0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},c0={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"},d0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=d0[e])?!!t[e]:!1}function lr(){return u0}var m0=S({},ns,{key:function(e){if(e.key){var t=o0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=fn(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?c0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lr,charCode:function(e){return e.type==="keypress"?fn(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?fn(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),h0=dt(m0),f0=S({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sd=dt(f0),g0=S({},ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lr}),x0=dt(g0),p0=S({},Ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),b0=dt(p0),v0=S({},pn,{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}),y0=dt(v0),j0=S({},Ya,{newState:0,oldState:0}),k0=dt(j0),N0=[9,13,27,32],sr=Pt&&"CompositionEvent"in window,rs=null;Pt&&"documentMode"in document&&(rs=document.documentMode);var w0=Pt&&"TextEvent"in window&&!rs,nd=Pt&&(!sr||rs&&8<rs&&11>=rs),id=" ",rd=!1;function od(e,t){switch(e){case"keyup":return N0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bl=!1;function S0(e,t){switch(e){case"compositionend":return cd(t);case"keypress":return t.which!==32?null:(rd=!0,id);case"textInput":return e=t.data,e===id&&rd?null:e;default:return null}}function _0(e,t){if(bl)return e==="compositionend"||!sr&&od(e,t)?(e=ed(),hn=Pi=pa=null,bl=!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 nd&&t.locale!=="ko"?null:t.data;default:return null}}var A0={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 dd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!A0[e.type]:t==="textarea"}function ud(e,t,l,s){xl?pl?pl.push(s):pl=[s]:xl=s,t=ii(t,"onChange"),0<t.length&&(l=new xn("onChange","change",null,l,s),e.push({event:l,listeners:t}))}var os=null,cs=null;function z0(e){Km(e,0)}function bn(e){var t=as(e);if(Xc(t))return e}function md(e,t){if(e==="change")return t}var hd=!1;if(Pt){var nr;if(Pt){var ir="oninput"in document;if(!ir){var fd=document.createElement("div");fd.setAttribute("oninput","return;"),ir=typeof fd.oninput=="function"}nr=ir}else nr=!1;hd=nr&&(!document.documentMode||9<document.documentMode)}function gd(){os&&(os.detachEvent("onpropertychange",xd),cs=os=null)}function xd(e){if(e.propertyName==="value"&&bn(cs)){var t=[];ud(t,cs,e,Fi(e)),Pc(z0,t)}}function D0(e,t,l){e==="focusin"?(gd(),os=t,cs=l,os.attachEvent("onpropertychange",xd)):e==="focusout"&&gd()}function C0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bn(cs)}function T0(e,t){if(e==="click")return bn(t)}function M0(e,t){if(e==="input"||e==="change")return bn(t)}function E0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:E0;function ds(e,t){if(jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),s=Object.keys(t);if(l.length!==s.length)return!1;for(s=0;s<l.length;s++){var n=l[s];if(!Ri.call(t,n)||!jt(e[n],t[n]))return!1}return!0}function pd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bd(e,t){var l=pd(e);e=0;for(var s;l;){if(l.nodeType===3){if(s=e+l.textContent.length,e<=t&&s>=t)return{node:l,offset:t-e};e=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=pd(l)}}function vd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=un(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=un(e.document)}return t}function rr(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")}var L0=Pt&&"documentMode"in document&&11>=document.documentMode,vl=null,or=null,us=null,cr=!1;function jd(e,t,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;cr||vl==null||vl!==un(s)||(s=vl,"selectionStart"in s&&rr(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),us&&ds(us,s)||(us=s,s=ii(or,"onSelect"),0<s.length&&(t=new xn("onSelect","select",null,t,l),e.push({event:t,listeners:s}),t.target=vl)))}function Qa(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var yl={animationend:Qa("Animation","AnimationEnd"),animationiteration:Qa("Animation","AnimationIteration"),animationstart:Qa("Animation","AnimationStart"),transitionrun:Qa("Transition","TransitionRun"),transitionstart:Qa("Transition","TransitionStart"),transitioncancel:Qa("Transition","TransitionCancel"),transitionend:Qa("Transition","TransitionEnd")},dr={},kd={};Pt&&(kd=document.createElement("div").style,"AnimationEvent"in window||(delete yl.animationend.animation,delete yl.animationiteration.animation,delete yl.animationstart.animation),"TransitionEvent"in window||delete yl.transitionend.transition);function Xa(e){if(dr[e])return dr[e];if(!yl[e])return e;var t=yl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in kd)return dr[e]=t[l];return e}var Nd=Xa("animationend"),wd=Xa("animationiteration"),Sd=Xa("animationstart"),O0=Xa("transitionrun"),U0=Xa("transitionstart"),R0=Xa("transitioncancel"),_d=Xa("transitionend"),Ad=new Map,ur="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ur.push("scrollEnd");function qt(e,t){Ad.set(e,t),Ja(t,[e])}var vn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Tt=[],jl=0,mr=0;function yn(){for(var e=jl,t=mr=jl=0;t<e;){var l=Tt[t];Tt[t++]=null;var s=Tt[t];Tt[t++]=null;var n=Tt[t];Tt[t++]=null;var r=Tt[t];if(Tt[t++]=null,s!==null&&n!==null){var u=s.pending;u===null?n.next=n:(n.next=u.next,u.next=n),s.pending=n}r!==0&&zd(l,n,r)}}function jn(e,t,l,s){Tt[jl++]=e,Tt[jl++]=t,Tt[jl++]=l,Tt[jl++]=s,mr|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function hr(e,t,l,s){return jn(e,t,l,s),kn(e)}function Ka(e,t){return jn(e,null,null,t),kn(e)}function zd(e,t,l){e.lanes|=l;var s=e.alternate;s!==null&&(s.lanes|=l);for(var n=!1,r=e.return;r!==null;)r.childLanes|=l,s=r.alternate,s!==null&&(s.childLanes|=l),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(n=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,n&&t!==null&&(n=31-yt(l),e=r.hiddenUpdates,s=e[n],s===null?e[n]=[t]:s.push(t),t.lane=l|536870912),r):null}function kn(e){if(50<Es)throw Es=0,No=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var kl={};function V0(e,t,l,s){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kt(e,t,l,s){return new V0(e,t,l,s)}function fr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ea(e,t){var l=e.alternate;return l===null?(l=kt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Dd(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Nn(e,t,l,s,n,r){var u=0;if(s=e,typeof e=="function")fr(e)&&(u=1);else if(typeof e=="string")u=Jg(e,l,Q.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case $:return e=kt(31,l,t,n),e.elementType=$,e.lanes=r,e;case J:return Za(l.children,n,r,t);case oe:u=8,n|=24;break;case ie:return e=kt(12,l,t,n|2),e.elementType=ie,e.lanes=r,e;case ae:return e=kt(13,l,t,n),e.elementType=ae,e.lanes=r,e;case Z:return e=kt(19,l,t,n),e.elementType=Z,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case X:u=10;break e;case ne:u=9;break e;case te:u=11;break e;case D:u=14;break e;case W:u=16,s=null;break e}u=29,l=Error(c(130,e===null?"null":typeof e,"")),s=null}return t=kt(u,l,t,n),t.elementType=e,t.type=s,t.lanes=r,t}function Za(e,t,l,s){return e=kt(7,e,s,t),e.lanes=l,e}function gr(e,t,l){return e=kt(6,e,null,t),e.lanes=l,e}function Cd(e){var t=kt(18,null,null,0);return t.stateNode=e,t}function xr(e,t,l){return t=kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Td=new WeakMap;function Mt(e,t){if(typeof e=="object"&&e!==null){var l=Td.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Cc(t)},Td.set(e,t),t)}return{value:e,source:t,stack:Cc(t)}}var Nl=[],wl=0,wn=null,ms=0,Et=[],Lt=0,ba=null,Yt=1,Qt="";function ta(e,t){Nl[wl++]=ms,Nl[wl++]=wn,wn=e,ms=t}function Md(e,t,l){Et[Lt++]=Yt,Et[Lt++]=Qt,Et[Lt++]=ba,ba=e;var s=Yt;e=Qt;var n=32-yt(s)-1;s&=~(1<<n),l+=1;var r=32-yt(t)+n;if(30<r){var u=n-n%5;r=(s&(1<<u)-1).toString(32),s>>=u,n-=u,Yt=1<<32-yt(t)+n|l<<n|s,Qt=r+e}else Yt=1<<r|l<<n|s,Qt=e}function pr(e){e.return!==null&&(ta(e,1),Md(e,1,0))}function br(e){for(;e===wn;)wn=Nl[--wl],Nl[wl]=null,ms=Nl[--wl],Nl[wl]=null;for(;e===ba;)ba=Et[--Lt],Et[Lt]=null,Qt=Et[--Lt],Et[Lt]=null,Yt=Et[--Lt],Et[Lt]=null}function Ed(e,t){Et[Lt++]=Yt,Et[Lt++]=Qt,Et[Lt++]=ba,Yt=t.id,Qt=t.overflow,ba=e}var at=null,Ue=null,ke=!1,va=null,Ot=!1,vr=Error(c(519));function ya(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hs(Mt(t,e)),vr}function Ld(e){var t=e.stateNode,l=e.type,s=e.memoizedProps;switch(t[tt]=e,t[ct]=s,l){case"dialog":ve("cancel",t),ve("close",t);break;case"iframe":case"object":case"embed":ve("load",t);break;case"video":case"audio":for(l=0;l<Os.length;l++)ve(Os[l],t);break;case"source":ve("error",t);break;case"img":case"image":case"link":ve("error",t),ve("load",t);break;case"details":ve("toggle",t);break;case"input":ve("invalid",t),Kc(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ve("invalid",t);break;case"textarea":ve("invalid",t),Wc(t,s.value,s.defaultValue,s.children)}l=s.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||s.suppressHydrationWarning===!0||$m(t.textContent,l)?(s.popover!=null&&(ve("beforetoggle",t),ve("toggle",t)),s.onScroll!=null&&ve("scroll",t),s.onScrollEnd!=null&&ve("scrollend",t),s.onClick!=null&&(t.onclick=It),t=!0):t=!1,t||ya(e,!0)}function Od(e){for(at=e.return;at;)switch(at.tag){case 5:case 31:case 13:Ot=!1;return;case 27:case 3:Ot=!0;return;default:at=at.return}}function Sl(e){if(e!==at)return!1;if(!ke)return Od(e),ke=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Vo(e.type,e.memoizedProps)),l=!l),l&&Ue&&ya(e),Od(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ue=ih(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ue=ih(e)}else t===27?(t=Ue,La(e.type)?(e=Jo,Jo=null,Ue=e):Ue=t):Ue=at?Rt(e.stateNode.nextSibling):null;return!0}function Wa(){Ue=at=null,ke=!1}function yr(){var e=va;return e!==null&&(ft===null?ft=e:ft.push.apply(ft,e),va=null),e}function hs(e){va===null?va=[e]:va.push(e)}var jr=f(null),Fa=null,aa=null;function ja(e,t,l){R(jr,t._currentValue),t._currentValue=l}function la(e){e._currentValue=jr.current,_(jr)}function kr(e,t,l){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===l)break;e=e.return}}function Nr(e,t,l,s){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var r=n.dependencies;if(r!==null){var u=n.child;r=r.firstContext;e:for(;r!==null;){var m=r;r=n;for(var x=0;x<t.length;x++)if(m.context===t[x]){r.lanes|=l,m=r.alternate,m!==null&&(m.lanes|=l),kr(r.return,l,e),s||(u=null);break e}r=m.next}}else if(n.tag===18){if(u=n.return,u===null)throw Error(c(341));u.lanes|=l,r=u.alternate,r!==null&&(r.lanes|=l),kr(u,l,e),u=null}else u=n.child;if(u!==null)u.return=n;else for(u=n;u!==null;){if(u===e){u=null;break}if(n=u.sibling,n!==null){n.return=u.return,u=n;break}u=u.return}n=u}}function _l(e,t,l,s){e=null;for(var n=t,r=!1;n!==null;){if(!r){if((n.flags&524288)!==0)r=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var u=n.alternate;if(u===null)throw Error(c(387));if(u=u.memoizedProps,u!==null){var m=n.type;jt(n.pendingProps.value,u.value)||(e!==null?e.push(m):e=[m])}}else if(n===ze.current){if(u=n.alternate,u===null)throw Error(c(387));u.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Hs):e=[Hs])}n=n.return}e!==null&&Nr(t,e,l,s),t.flags|=262144}function Sn(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $a(e){Fa=e,aa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function lt(e){return Ud(Fa,e)}function _n(e,t){return Fa===null&&$a(e),Ud(e,t)}function Ud(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},aa===null){if(e===null)throw Error(c(308));aa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else aa=aa.next=t;return l}var B0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},H0=d.unstable_scheduleCallback,q0=d.unstable_NormalPriority,Qe={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wr(){return{controller:new B0,data:new Map,refCount:0}}function fs(e){e.refCount--,e.refCount===0&&H0(q0,function(){e.controller.abort()})}var gs=null,Sr=0,Al=0,zl=null;function G0(e,t){if(gs===null){var l=gs=[];Sr=0,Al=Do(),zl={status:"pending",value:void 0,then:function(s){l.push(s)}}}return Sr++,t.then(Rd,Rd),t}function Rd(){if(--Sr===0&&gs!==null){zl!==null&&(zl.status="fulfilled");var e=gs;gs=null,Al=0,zl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function J0(e,t){var l=[],s={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(s.status="rejected",s.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),s}var Vd=p.S;p.S=function(e,t){jm=bt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&G0(e,t),Vd!==null&&Vd(e,t)};var Ia=f(null);function _r(){var e=Ia.current;return e!==null?e:Oe.pooledCache}function An(e,t){t===null?R(Ia,Ia.current):R(Ia,t.pool)}function Bd(){var e=_r();return e===null?null:{parent:Qe._currentValue,pool:e}}var Dl=Error(c(460)),Ar=Error(c(474)),zn=Error(c(542)),Dn={then:function(){}};function Hd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function qd(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(It,It),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Jd(e),e;default:if(typeof t.status=="string")t.then(It,It);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=s}},function(s){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Jd(e),e}throw el=t,Dl}}function Pa(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(el=l,Dl):l}}var el=null;function Gd(){if(el===null)throw Error(c(459));var e=el;return el=null,e}function Jd(e){if(e===Dl||e===zn)throw Error(c(483))}var Cl=null,xs=0;function Cn(e){var t=xs;return xs+=1,Cl===null&&(Cl=[]),qd(Cl,e,t)}function ps(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Tn(e,t){throw t.$$typeof===H?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Yd(e){function t(N,b){if(e){var w=N.deletions;w===null?(N.deletions=[b],N.flags|=16):w.push(b)}}function l(N,b){if(!e)return null;for(;b!==null;)t(N,b),b=b.sibling;return null}function s(N){for(var b=new Map;N!==null;)N.key!==null?b.set(N.key,N):b.set(N.index,N),N=N.sibling;return b}function n(N,b){return N=ea(N,b),N.index=0,N.sibling=null,N}function r(N,b,w){return N.index=w,e?(w=N.alternate,w!==null?(w=w.index,w<b?(N.flags|=67108866,b):w):(N.flags|=67108866,b)):(N.flags|=1048576,b)}function u(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function m(N,b,w,U){return b===null||b.tag!==6?(b=gr(w,N.mode,U),b.return=N,b):(b=n(b,w),b.return=N,b)}function x(N,b,w,U){var le=w.type;return le===J?O(N,b,w.props.children,U,w.key):b!==null&&(b.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===W&&Pa(le)===b.type)?(b=n(b,w.props),ps(b,w),b.return=N,b):(b=Nn(w.type,w.key,w.props,null,N.mode,U),ps(b,w),b.return=N,b)}function A(N,b,w,U){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=xr(w,N.mode,U),b.return=N,b):(b=n(b,w.children||[]),b.return=N,b)}function O(N,b,w,U,le){return b===null||b.tag!==7?(b=Za(w,N.mode,U,le),b.return=N,b):(b=n(b,w),b.return=N,b)}function B(N,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=gr(""+b,N.mode,w),b.return=N,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Y:return w=Nn(b.type,b.key,b.props,null,N.mode,w),ps(w,b),w.return=N,w;case q:return b=xr(b,N.mode,w),b.return=N,b;case W:return b=Pa(b),B(N,b,w)}if(se(b)||me(b))return b=Za(b,N.mode,w,null),b.return=N,b;if(typeof b.then=="function")return B(N,Cn(b),w);if(b.$$typeof===X)return B(N,_n(N,b),w);Tn(N,b)}return null}function z(N,b,w,U){var le=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return le!==null?null:m(N,b,""+w,U);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Y:return w.key===le?x(N,b,w,U):null;case q:return w.key===le?A(N,b,w,U):null;case W:return w=Pa(w),z(N,b,w,U)}if(se(w)||me(w))return le!==null?null:O(N,b,w,U,null);if(typeof w.then=="function")return z(N,b,Cn(w),U);if(w.$$typeof===X)return z(N,b,_n(N,w),U);Tn(N,w)}return null}function C(N,b,w,U,le){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return N=N.get(w)||null,m(b,N,""+U,le);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Y:return N=N.get(U.key===null?w:U.key)||null,x(b,N,U,le);case q:return N=N.get(U.key===null?w:U.key)||null,A(b,N,U,le);case W:return U=Pa(U),C(N,b,w,U,le)}if(se(U)||me(U))return N=N.get(w)||null,O(b,N,U,le,null);if(typeof U.then=="function")return C(N,b,w,Cn(U),le);if(U.$$typeof===X)return C(N,b,w,_n(b,U),le);Tn(b,U)}return null}function F(N,b,w,U){for(var le=null,we=null,ee=b,pe=b=0,je=null;ee!==null&&pe<w.length;pe++){ee.index>pe?(je=ee,ee=null):je=ee.sibling;var Se=z(N,ee,w[pe],U);if(Se===null){ee===null&&(ee=je);break}e&&ee&&Se.alternate===null&&t(N,ee),b=r(Se,b,pe),we===null?le=Se:we.sibling=Se,we=Se,ee=je}if(pe===w.length)return l(N,ee),ke&&ta(N,pe),le;if(ee===null){for(;pe<w.length;pe++)ee=B(N,w[pe],U),ee!==null&&(b=r(ee,b,pe),we===null?le=ee:we.sibling=ee,we=ee);return ke&&ta(N,pe),le}for(ee=s(ee);pe<w.length;pe++)je=C(ee,N,pe,w[pe],U),je!==null&&(e&&je.alternate!==null&&ee.delete(je.key===null?pe:je.key),b=r(je,b,pe),we===null?le=je:we.sibling=je,we=je);return e&&ee.forEach(function(Ba){return t(N,Ba)}),ke&&ta(N,pe),le}function re(N,b,w,U){if(w==null)throw Error(c(151));for(var le=null,we=null,ee=b,pe=b=0,je=null,Se=w.next();ee!==null&&!Se.done;pe++,Se=w.next()){ee.index>pe?(je=ee,ee=null):je=ee.sibling;var Ba=z(N,ee,Se.value,U);if(Ba===null){ee===null&&(ee=je);break}e&&ee&&Ba.alternate===null&&t(N,ee),b=r(Ba,b,pe),we===null?le=Ba:we.sibling=Ba,we=Ba,ee=je}if(Se.done)return l(N,ee),ke&&ta(N,pe),le;if(ee===null){for(;!Se.done;pe++,Se=w.next())Se=B(N,Se.value,U),Se!==null&&(b=r(Se,b,pe),we===null?le=Se:we.sibling=Se,we=Se);return ke&&ta(N,pe),le}for(ee=s(ee);!Se.done;pe++,Se=w.next())Se=C(ee,N,pe,Se.value,U),Se!==null&&(e&&Se.alternate!==null&&ee.delete(Se.key===null?pe:Se.key),b=r(Se,b,pe),we===null?le=Se:we.sibling=Se,we=Se);return e&&ee.forEach(function(ex){return t(N,ex)}),ke&&ta(N,pe),le}function Le(N,b,w,U){if(typeof w=="object"&&w!==null&&w.type===J&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Y:e:{for(var le=w.key;b!==null;){if(b.key===le){if(le=w.type,le===J){if(b.tag===7){l(N,b.sibling),U=n(b,w.props.children),U.return=N,N=U;break e}}else if(b.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===W&&Pa(le)===b.type){l(N,b.sibling),U=n(b,w.props),ps(U,w),U.return=N,N=U;break e}l(N,b);break}else t(N,b);b=b.sibling}w.type===J?(U=Za(w.props.children,N.mode,U,w.key),U.return=N,N=U):(U=Nn(w.type,w.key,w.props,null,N.mode,U),ps(U,w),U.return=N,N=U)}return u(N);case q:e:{for(le=w.key;b!==null;){if(b.key===le)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){l(N,b.sibling),U=n(b,w.children||[]),U.return=N,N=U;break e}else{l(N,b);break}else t(N,b);b=b.sibling}U=xr(w,N.mode,U),U.return=N,N=U}return u(N);case W:return w=Pa(w),Le(N,b,w,U)}if(se(w))return F(N,b,w,U);if(me(w)){if(le=me(w),typeof le!="function")throw Error(c(150));return w=le.call(w),re(N,b,w,U)}if(typeof w.then=="function")return Le(N,b,Cn(w),U);if(w.$$typeof===X)return Le(N,b,_n(N,w),U);Tn(N,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,b!==null&&b.tag===6?(l(N,b.sibling),U=n(b,w),U.return=N,N=U):(l(N,b),U=gr(w,N.mode,U),U.return=N,N=U),u(N)):l(N,b)}return function(N,b,w,U){try{xs=0;var le=Le(N,b,w,U);return Cl=null,le}catch(ee){if(ee===Dl||ee===zn)throw ee;var we=kt(29,ee,null,N.mode);return we.lanes=U,we.return=N,we}}}var tl=Yd(!0),Qd=Yd(!1),ka=!1;function zr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Na(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function wa(e,t,l){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ae&2)!==0){var n=s.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),s.pending=t,t=kn(e),zd(e,null,l),t}return jn(e,s,t,l),kn(e)}function bs(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,Uc(e,l)}}function Cr(e,t){var l=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var n=null,r=null;if(l=l.firstBaseUpdate,l!==null){do{var u={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};r===null?n=r=u:r=r.next=u,l=l.next}while(l!==null);r===null?n=r=t:r=r.next=t}else n=r=t;l={baseState:s.baseState,firstBaseUpdate:n,lastBaseUpdate:r,shared:s.shared,callbacks:s.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Tr=!1;function vs(){if(Tr){var e=zl;if(e!==null)throw e}}function ys(e,t,l,s){Tr=!1;var n=e.updateQueue;ka=!1;var r=n.firstBaseUpdate,u=n.lastBaseUpdate,m=n.shared.pending;if(m!==null){n.shared.pending=null;var x=m,A=x.next;x.next=null,u===null?r=A:u.next=A,u=x;var O=e.alternate;O!==null&&(O=O.updateQueue,m=O.lastBaseUpdate,m!==u&&(m===null?O.firstBaseUpdate=A:m.next=A,O.lastBaseUpdate=x))}if(r!==null){var B=n.baseState;u=0,O=A=x=null,m=r;do{var z=m.lane&-536870913,C=z!==m.lane;if(C?(ye&z)===z:(s&z)===z){z!==0&&z===Al&&(Tr=!0),O!==null&&(O=O.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var F=e,re=m;z=t;var Le=l;switch(re.tag){case 1:if(F=re.payload,typeof F=="function"){B=F.call(Le,B,z);break e}B=F;break e;case 3:F.flags=F.flags&-65537|128;case 0:if(F=re.payload,z=typeof F=="function"?F.call(Le,B,z):F,z==null)break e;B=S({},B,z);break e;case 2:ka=!0}}z=m.callback,z!==null&&(e.flags|=64,C&&(e.flags|=8192),C=n.callbacks,C===null?n.callbacks=[z]:C.push(z))}else C={lane:z,tag:m.tag,payload:m.payload,callback:m.callback,next:null},O===null?(A=O=C,x=B):O=O.next=C,u|=z;if(m=m.next,m===null){if(m=n.shared.pending,m===null)break;C=m,m=C.next,C.next=null,n.lastBaseUpdate=C,n.shared.pending=null}}while(!0);O===null&&(x=B),n.baseState=x,n.firstBaseUpdate=A,n.lastBaseUpdate=O,r===null&&(n.shared.lanes=0),Da|=u,e.lanes=u,e.memoizedState=B}}function Xd(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Kd(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Xd(l[e],t)}var Tl=f(null),Mn=f(0);function Zd(e,t){e=ma,R(Mn,e),R(Tl,t),ma=e|t.baseLanes}function Mr(){R(Mn,ma),R(Tl,Tl.current)}function Er(){ma=Mn.current,_(Tl),_(Mn)}var Nt=f(null),Ut=null;function Sa(e){var t=e.alternate;R(Je,Je.current&1),R(Nt,e),Ut===null&&(t===null||Tl.current!==null||t.memoizedState!==null)&&(Ut=e)}function Lr(e){R(Je,Je.current),R(Nt,e),Ut===null&&(Ut=e)}function Wd(e){e.tag===22?(R(Je,Je.current),R(Nt,e),Ut===null&&(Ut=e)):_a()}function _a(){R(Je,Je.current),R(Nt,Nt.current)}function wt(e){_(Nt),Ut===e&&(Ut=null),_(Je)}var Je=f(0);function En(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||qo(l)||Go(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 sa=0,xe=null,Me=null,Xe=null,Ln=!1,Ml=!1,al=!1,On=0,js=0,El=null,Y0=0;function Be(){throw Error(c(321))}function Or(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!jt(e[l],t[l]))return!1;return!0}function Ur(e,t,l,s,n,r){return sa=r,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,p.H=e===null||e.memoizedState===null?Mu:$r,al=!1,r=l(s,n),al=!1,Ml&&(r=$d(t,l,s,n)),Fd(e),r}function Fd(e){p.H=ws;var t=Me!==null&&Me.next!==null;if(sa=0,Xe=Me=xe=null,Ln=!1,js=0,El=null,t)throw Error(c(300));e===null||Ke||(e=e.dependencies,e!==null&&Sn(e)&&(Ke=!0))}function $d(e,t,l,s){xe=e;var n=0;do{if(Ml&&(El=null),js=0,Ml=!1,25<=n)throw Error(c(301));if(n+=1,Xe=Me=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}p.H=Eu,r=t(l,s)}while(Ml);return r}function Q0(){var e=p.H,t=e.useState()[0];return t=typeof t.then=="function"?ks(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(xe.flags|=1024),t}function Rr(){var e=On!==0;return On=0,e}function Vr(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Br(e){if(Ln){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ln=!1}sa=0,Xe=Me=xe=null,Ml=!1,js=On=0,El=null}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?xe.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Ye(){if(Me===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Xe===null?xe.memoizedState:Xe.next;if(t!==null)Xe=t,Me=e;else{if(e===null)throw xe.alternate===null?Error(c(467)):Error(c(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Xe===null?xe.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Un(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ks(e){var t=js;return js+=1,El===null&&(El=[]),e=qd(El,e,t),t=xe,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,p.H=t===null||t.memoizedState===null?Mu:$r),e}function Rn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ks(e);if(e.$$typeof===X)return lt(e)}throw Error(c(438,String(e)))}function Hr(e){var t=null,l=xe.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var s=xe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Un(),xe.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),s=0;s<e;s++)l[s]=P;return t.index++,l}function na(e,t){return typeof t=="function"?t(e):t}function Vn(e){var t=Ye();return qr(t,Me,e)}function qr(e,t,l){var s=e.queue;if(s===null)throw Error(c(311));s.lastRenderedReducer=l;var n=e.baseQueue,r=s.pending;if(r!==null){if(n!==null){var u=n.next;n.next=r.next,r.next=u}t.baseQueue=n=r,s.pending=null}if(r=e.baseState,n===null)e.memoizedState=r;else{t=n.next;var m=u=null,x=null,A=t,O=!1;do{var B=A.lane&-536870913;if(B!==A.lane?(ye&B)===B:(sa&B)===B){var z=A.revertLane;if(z===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),B===Al&&(O=!0);else if((sa&z)===z){A=A.next,z===Al&&(O=!0);continue}else B={lane:0,revertLane:A.revertLane,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},x===null?(m=x=B,u=r):x=x.next=B,xe.lanes|=z,Da|=z;B=A.action,al&&l(r,B),r=A.hasEagerState?A.eagerState:l(r,B)}else z={lane:B,revertLane:A.revertLane,gesture:A.gesture,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},x===null?(m=x=z,u=r):x=x.next=z,xe.lanes|=B,Da|=B;A=A.next}while(A!==null&&A!==t);if(x===null?u=r:x.next=m,!jt(r,e.memoizedState)&&(Ke=!0,O&&(l=zl,l!==null)))throw l;e.memoizedState=r,e.baseState=u,e.baseQueue=x,s.lastRenderedState=r}return n===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function Gr(e){var t=Ye(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var s=l.dispatch,n=l.pending,r=t.memoizedState;if(n!==null){l.pending=null;var u=n=n.next;do r=e(r,u.action),u=u.next;while(u!==n);jt(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),l.lastRenderedState=r}return[r,s]}function Id(e,t,l){var s=xe,n=Ye(),r=ke;if(r){if(l===void 0)throw Error(c(407));l=l()}else l=t();var u=!jt((Me||n).memoizedState,l);if(u&&(n.memoizedState=l,Ke=!0),n=n.queue,Qr(tu.bind(null,s,n,e),[e]),n.getSnapshot!==t||u||Xe!==null&&Xe.memoizedState.tag&1){if(s.flags|=2048,Ll(9,{destroy:void 0},eu.bind(null,s,n,l,t),null),Oe===null)throw Error(c(349));r||(sa&127)!==0||Pd(s,t,l)}return l}function Pd(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=xe.updateQueue,t===null?(t=Un(),xe.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function eu(e,t,l,s){t.value=l,t.getSnapshot=s,au(t)&&lu(e)}function tu(e,t,l){return l(function(){au(t)&&lu(e)})}function au(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!jt(e,l)}catch{return!0}}function lu(e){var t=Ka(e,2);t!==null&>(t,e,2)}function Jr(e){var t=ot();if(typeof e=="function"){var l=e;if(e=l(),al){ga(!0);try{l()}finally{ga(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:e},t}function su(e,t,l,s){return e.baseState=l,qr(e,Me,typeof s=="function"?s:na)}function X0(e,t,l,s,n){if(qn(e))throw Error(c(485));if(e=t.action,e!==null){var r={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){r.listeners.push(u)}};p.T!==null?l(!0):r.isTransition=!1,s(r),l=t.pending,l===null?(r.next=t.pending=r,nu(t,r)):(r.next=l.next,t.pending=l.next=r)}}function nu(e,t){var l=t.action,s=t.payload,n=e.state;if(t.isTransition){var r=p.T,u={};p.T=u;try{var m=l(n,s),x=p.S;x!==null&&x(u,m),iu(e,t,m)}catch(A){Yr(e,t,A)}finally{r!==null&&u.types!==null&&(r.types=u.types),p.T=r}}else try{r=l(n,s),iu(e,t,r)}catch(A){Yr(e,t,A)}}function iu(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){ru(e,t,s)},function(s){return Yr(e,t,s)}):ru(e,t,l)}function ru(e,t,l){t.status="fulfilled",t.value=l,ou(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,nu(e,l)))}function Yr(e,t,l){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=l,ou(t),t=t.next;while(t!==s)}e.action=null}function ou(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cu(e,t){return t}function du(e,t){if(ke){var l=Oe.formState;if(l!==null){e:{var s=xe;if(ke){if(Ue){t:{for(var n=Ue,r=Ot;n.nodeType!==8;){if(!r){n=null;break t}if(n=Rt(n.nextSibling),n===null){n=null;break t}}r=n.data,n=r==="F!"||r==="F"?n:null}if(n){Ue=Rt(n.nextSibling),s=n.data==="F!";break e}}ya(s)}s=!1}s&&(t=l[0])}}return l=ot(),l.memoizedState=l.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cu,lastRenderedState:t},l.queue=s,l=Du.bind(null,xe,s),s.dispatch=l,s=Jr(!1),r=Fr.bind(null,xe,!1,s.queue),s=ot(),n={state:t,dispatch:null,action:e,pending:null},s.queue=n,l=X0.bind(null,xe,n,r,l),n.dispatch=l,s.memoizedState=e,[t,l,!1]}function uu(e){var t=Ye();return mu(t,Me,e)}function mu(e,t,l){if(t=qr(e,t,cu)[0],e=Vn(na)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=ks(t)}catch(u){throw u===Dl?zn:u}else s=t;t=Ye();var n=t.queue,r=n.dispatch;return l!==t.memoizedState&&(xe.flags|=2048,Ll(9,{destroy:void 0},K0.bind(null,n,l),null)),[s,r,e]}function K0(e,t){e.action=t}function hu(e){var t=Ye(),l=Me;if(l!==null)return mu(t,l,e);Ye(),t=t.memoizedState,l=Ye();var s=l.queue.dispatch;return l.memoizedState=e,[t,s,!1]}function Ll(e,t,l,s){return e={tag:e,create:l,deps:s,inst:t,next:null},t=xe.updateQueue,t===null&&(t=Un(),xe.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(s=l.next,l.next=e,e.next=s,t.lastEffect=e),e}function fu(){return Ye().memoizedState}function Bn(e,t,l,s){var n=ot();xe.flags|=e,n.memoizedState=Ll(1|t,{destroy:void 0},l,s===void 0?null:s)}function Hn(e,t,l,s){var n=Ye();s=s===void 0?null:s;var r=n.memoizedState.inst;Me!==null&&s!==null&&Or(s,Me.memoizedState.deps)?n.memoizedState=Ll(t,r,l,s):(xe.flags|=e,n.memoizedState=Ll(1|t,r,l,s))}function gu(e,t){Bn(8390656,8,e,t)}function Qr(e,t){Hn(2048,8,e,t)}function Z0(e){xe.flags|=4;var t=xe.updateQueue;if(t===null)t=Un(),xe.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function xu(e){var t=Ye().memoizedState;return Z0({ref:t,nextImpl:e}),function(){if((Ae&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function pu(e,t){return Hn(4,2,e,t)}function bu(e,t){return Hn(4,4,e,t)}function vu(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function yu(e,t,l){l=l!=null?l.concat([e]):null,Hn(4,4,vu.bind(null,t,e),l)}function Xr(){}function ju(e,t){var l=Ye();t=t===void 0?null:t;var s=l.memoizedState;return t!==null&&Or(t,s[1])?s[0]:(l.memoizedState=[e,t],e)}function ku(e,t){var l=Ye();t=t===void 0?null:t;var s=l.memoizedState;if(t!==null&&Or(t,s[1]))return s[0];if(s=e(),al){ga(!0);try{e()}finally{ga(!1)}}return l.memoizedState=[s,t],s}function Kr(e,t,l){return l===void 0||(sa&1073741824)!==0&&(ye&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Nm(),xe.lanes|=e,Da|=e,l)}function Nu(e,t,l,s){return jt(l,t)?l:Tl.current!==null?(e=Kr(e,l,s),jt(e,t)||(Ke=!0),e):(sa&42)===0||(sa&1073741824)!==0&&(ye&261930)===0?(Ke=!0,e.memoizedState=l):(e=Nm(),xe.lanes|=e,Da|=e,t)}function wu(e,t,l,s,n){var r=L.p;L.p=r!==0&&8>r?r:8;var u=p.T,m={};p.T=m,Fr(e,!1,t,l);try{var x=n(),A=p.S;if(A!==null&&A(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var O=J0(x,s);Ns(e,t,O,At(e))}else Ns(e,t,s,At(e))}catch(B){Ns(e,t,{then:function(){},status:"rejected",reason:B},At())}finally{L.p=r,u!==null&&m.types!==null&&(u.types=m.types),p.T=u}}function W0(){}function Zr(e,t,l,s){if(e.tag!==5)throw Error(c(476));var n=Su(e).queue;wu(e,n,t,k,l===null?W0:function(){return _u(e),l(s)})}function Su(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:k},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function _u(e){var t=Su(e);t.next===null&&(t=e.alternate.memoizedState),Ns(e,t.next.queue,{},At())}function Wr(){return lt(Hs)}function Au(){return Ye().memoizedState}function zu(){return Ye().memoizedState}function F0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=At();e=Na(l);var s=wa(t,e,l);s!==null&&(gt(s,t,l),bs(s,t,l)),t={cache:wr()},e.payload=t;return}t=t.return}}function $0(e,t,l){var s=At();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},qn(e)?Cu(t,l):(l=hr(e,t,l,s),l!==null&&(gt(l,e,s),Tu(l,t,s)))}function Du(e,t,l){var s=At();Ns(e,t,l,s)}function Ns(e,t,l,s){var n={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(qn(e))Cu(t,n);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var u=t.lastRenderedState,m=r(u,l);if(n.hasEagerState=!0,n.eagerState=m,jt(m,u))return jn(e,t,n,0),Oe===null&&yn(),!1}catch{}if(l=hr(e,t,n,s),l!==null)return gt(l,e,s),Tu(l,t,s),!0}return!1}function Fr(e,t,l,s){if(s={lane:2,revertLane:Do(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},qn(e)){if(t)throw Error(c(479))}else t=hr(e,l,s,2),t!==null&>(t,e,2)}function qn(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function Cu(e,t){Ml=Ln=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Tu(e,t,l){if((l&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,Uc(e,l)}}var ws={readContext:lt,use:Rn,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be};ws.useEffectEvent=Be;var Mu={readContext:lt,use:Rn,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:gu,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Bn(4194308,4,vu.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Bn(4194308,4,e,t)},useInsertionEffect:function(e,t){Bn(4,2,e,t)},useMemo:function(e,t){var l=ot();t=t===void 0?null:t;var s=e();if(al){ga(!0);try{e()}finally{ga(!1)}}return l.memoizedState=[s,t],s},useReducer:function(e,t,l){var s=ot();if(l!==void 0){var n=l(t);if(al){ga(!0);try{l(t)}finally{ga(!1)}}}else n=t;return s.memoizedState=s.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},s.queue=e,e=e.dispatch=$0.bind(null,xe,e),[s.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:function(e){e=Jr(e);var t=e.queue,l=Du.bind(null,xe,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Xr,useDeferredValue:function(e,t){var l=ot();return Kr(l,e,t)},useTransition:function(){var e=Jr(!1);return e=wu.bind(null,xe,e.queue,!0,!1),ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var s=xe,n=ot();if(ke){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Oe===null)throw Error(c(349));(ye&127)!==0||Pd(s,t,l)}n.memoizedState=l;var r={value:l,getSnapshot:t};return n.queue=r,gu(tu.bind(null,s,r,e),[e]),s.flags|=2048,Ll(9,{destroy:void 0},eu.bind(null,s,r,l,t),null),l},useId:function(){var e=ot(),t=Oe.identifierPrefix;if(ke){var l=Qt,s=Yt;l=(s&~(1<<32-yt(s)-1)).toString(32)+l,t="_"+t+"R_"+l,l=On++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Y0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Wr,useFormState:du,useActionState:du,useOptimistic:function(e){var t=ot();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Fr.bind(null,xe,!0,l),l.dispatch=t,[e,t]},useMemoCache:Hr,useCacheRefresh:function(){return ot().memoizedState=F0.bind(null,xe)},useEffectEvent:function(e){var t=ot(),l={impl:e};return t.memoizedState=l,function(){if((Ae&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},$r={readContext:lt,use:Rn,useCallback:ju,useContext:lt,useEffect:Qr,useImperativeHandle:yu,useInsertionEffect:pu,useLayoutEffect:bu,useMemo:ku,useReducer:Vn,useRef:fu,useState:function(){return Vn(na)},useDebugValue:Xr,useDeferredValue:function(e,t){var l=Ye();return Nu(l,Me.memoizedState,e,t)},useTransition:function(){var e=Vn(na)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:ks(e),t]},useSyncExternalStore:Id,useId:Au,useHostTransitionStatus:Wr,useFormState:uu,useActionState:uu,useOptimistic:function(e,t){var l=Ye();return su(l,Me,e,t)},useMemoCache:Hr,useCacheRefresh:zu};$r.useEffectEvent=xu;var Eu={readContext:lt,use:Rn,useCallback:ju,useContext:lt,useEffect:Qr,useImperativeHandle:yu,useInsertionEffect:pu,useLayoutEffect:bu,useMemo:ku,useReducer:Gr,useRef:fu,useState:function(){return Gr(na)},useDebugValue:Xr,useDeferredValue:function(e,t){var l=Ye();return Me===null?Kr(l,e,t):Nu(l,Me.memoizedState,e,t)},useTransition:function(){var e=Gr(na)[0],t=Ye().memoizedState;return[typeof e=="boolean"?e:ks(e),t]},useSyncExternalStore:Id,useId:Au,useHostTransitionStatus:Wr,useFormState:hu,useActionState:hu,useOptimistic:function(e,t){var l=Ye();return Me!==null?su(l,Me,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Hr,useCacheRefresh:zu};Eu.useEffectEvent=xu;function Ir(e,t,l,s){t=e.memoizedState,l=l(s,t),l=l==null?t:S({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Pr={enqueueSetState:function(e,t,l){e=e._reactInternals;var s=At(),n=Na(s);n.payload=t,l!=null&&(n.callback=l),t=wa(e,n,s),t!==null&&(gt(t,e,s),bs(t,e,s))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var s=At(),n=Na(s);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=wa(e,n,s),t!==null&&(gt(t,e,s),bs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=At(),s=Na(l);s.tag=2,t!=null&&(s.callback=t),t=wa(e,s,l),t!==null&&(gt(t,e,l),bs(t,e,l))}};function Lu(e,t,l,s,n,r,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,r,u):t.prototype&&t.prototype.isPureReactComponent?!ds(l,s)||!ds(n,r):!0}function Ou(e,t,l,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,s),t.state!==e&&Pr.enqueueReplaceState(t,t.state,null)}function ll(e,t){var l=t;if("ref"in t){l={};for(var s in t)s!=="ref"&&(l[s]=t[s])}if(e=e.defaultProps){l===t&&(l=S({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function Uu(e){vn(e)}function Ru(e){console.error(e)}function Vu(e){vn(e)}function Gn(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function Bu(e,t,l){try{var s=e.onCaughtError;s(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function eo(e,t,l){return l=Na(l),l.tag=3,l.payload={element:null},l.callback=function(){Gn(e,t)},l}function Hu(e){return e=Na(e),e.tag=3,e}function qu(e,t,l,s){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var r=s.value;e.payload=function(){return n(r)},e.callback=function(){Bu(t,l,s)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){Bu(t,l,s),typeof n!="function"&&(Ca===null?Ca=new Set([this]):Ca.add(this));var m=s.stack;this.componentDidCatch(s.value,{componentStack:m!==null?m:""})})}function I0(e,t,l,s,n){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=l.alternate,t!==null&&_l(t,l,n,!0),l=Nt.current,l!==null){switch(l.tag){case 31:case 13:return Ut===null?ei():l.alternate===null&&He===0&&(He=3),l.flags&=-257,l.flags|=65536,l.lanes=n,s===Dn?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([s]):t.add(s),_o(e,s,n)),!1;case 22:return l.flags|=65536,s===Dn?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([s]):l.add(s)),_o(e,s,n)),!1}throw Error(c(435,l.tag))}return _o(e,s,n),ei(),!1}if(ke)return t=Nt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,s!==vr&&(e=Error(c(422),{cause:s}),hs(Mt(e,l)))):(s!==vr&&(t=Error(c(423),{cause:s}),hs(Mt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,s=Mt(s,l),n=eo(e.stateNode,s,n),Cr(e,n),He!==4&&(He=2)),!1;var r=Error(c(520),{cause:s});if(r=Mt(r,l),Ms===null?Ms=[r]:Ms.push(r),He!==4&&(He=2),t===null)return!0;s=Mt(s,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=eo(l.stateNode,s,e),Cr(l,e),!1;case 1:if(t=l.type,r=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ca===null||!Ca.has(r))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Hu(n),qu(n,e,l,s),Cr(l,n),!1}l=l.return}while(l!==null);return!1}var to=Error(c(461)),Ke=!1;function st(e,t,l,s){t.child=e===null?Qd(t,null,l,s):tl(t,e.child,l,s)}function Gu(e,t,l,s,n){l=l.render;var r=t.ref;if("ref"in s){var u={};for(var m in s)m!=="ref"&&(u[m]=s[m])}else u=s;return $a(t),s=Ur(e,t,l,u,r,n),m=Rr(),e!==null&&!Ke?(Vr(e,t,n),ia(e,t,n)):(ke&&m&&pr(t),t.flags|=1,st(e,t,s,n),t.child)}function Ju(e,t,l,s,n){if(e===null){var r=l.type;return typeof r=="function"&&!fr(r)&&r.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=r,Yu(e,t,r,s,n)):(e=Nn(l.type,null,s,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!co(e,n)){var u=r.memoizedProps;if(l=l.compare,l=l!==null?l:ds,l(u,s)&&e.ref===t.ref)return ia(e,t,n)}return t.flags|=1,e=ea(r,s),e.ref=t.ref,e.return=t,t.child=e}function Yu(e,t,l,s,n){if(e!==null){var r=e.memoizedProps;if(ds(r,s)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=s=r,co(e,n))(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,ia(e,t,n)}return ao(e,t,l,s,n)}function Qu(e,t,l,s){var n=s.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|l:l,e!==null){for(s=t.child=e.child,n=0;s!==null;)n=n|s.lanes|s.childLanes,s=s.sibling;s=n&~r}else s=0,t.child=null;return Xu(e,t,r,l,s)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&An(t,r!==null?r.cachePool:null),r!==null?Zd(t,r):Mr(),Wd(t);else return s=t.lanes=536870912,Xu(e,t,r!==null?r.baseLanes|l:l,l,s)}else r!==null?(An(t,r.cachePool),Zd(t,r),_a(),t.memoizedState=null):(e!==null&&An(t,null),Mr(),_a());return st(e,t,n,l),t.child}function Ss(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Xu(e,t,l,s,n){var r=_r();return r=r===null?null:{parent:Qe._currentValue,pool:r},t.memoizedState={baseLanes:l,cachePool:r},e!==null&&An(t,null),Mr(),Wd(t),e!==null&&_l(e,t,s,!0),t.childLanes=n,null}function Jn(e,t){return t=Qn({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ku(e,t,l){return tl(t,e.child,null,l),e=Jn(t,t.pendingProps),e.flags|=2,wt(t),t.memoizedState=null,e}function P0(e,t,l){var s=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ke){if(s.mode==="hidden")return e=Jn(t,s),t.lanes=536870912,Ss(null,e);if(Lr(t),(e=Ue)?(e=nh(e,Ot),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ba!==null?{id:Yt,overflow:Qt}:null,retryLane:536870912,hydrationErrors:null},l=Cd(e),l.return=t,t.child=l,at=t,Ue=null)):e=null,e===null)throw ya(t);return t.lanes=536870912,null}return Jn(t,s)}var r=e.memoizedState;if(r!==null){var u=r.dehydrated;if(Lr(t),n)if(t.flags&256)t.flags&=-257,t=Ku(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(Ke||_l(e,t,l,!1),n=(l&e.childLanes)!==0,Ke||n){if(s=Oe,s!==null&&(u=Rc(s,l),u!==0&&u!==r.retryLane))throw r.retryLane=u,Ka(e,u),gt(s,e,u),to;ei(),t=Ku(e,t,l)}else e=r.treeContext,Ue=Rt(u.nextSibling),at=t,ke=!0,va=null,Ot=!1,e!==null&&Ed(t,e),t=Jn(t,s),t.flags|=4096;return t}return e=ea(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Yn(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function ao(e,t,l,s,n){return $a(t),l=Ur(e,t,l,s,void 0,n),s=Rr(),e!==null&&!Ke?(Vr(e,t,n),ia(e,t,n)):(ke&&s&&pr(t),t.flags|=1,st(e,t,l,n),t.child)}function Zu(e,t,l,s,n,r){return $a(t),t.updateQueue=null,l=$d(t,s,l,n),Fd(e),s=Rr(),e!==null&&!Ke?(Vr(e,t,r),ia(e,t,r)):(ke&&s&&pr(t),t.flags|=1,st(e,t,l,r),t.child)}function Wu(e,t,l,s,n){if($a(t),t.stateNode===null){var r=kl,u=l.contextType;typeof u=="object"&&u!==null&&(r=lt(u)),r=new l(s,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Pr,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=s,r.state=t.memoizedState,r.refs={},zr(t),u=l.contextType,r.context=typeof u=="object"&&u!==null?lt(u):kl,r.state=t.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(Ir(t,l,u,s),r.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(u=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),u!==r.state&&Pr.enqueueReplaceState(r,r.state,null),ys(t,s,r,n),vs(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){r=t.stateNode;var m=t.memoizedProps,x=ll(l,m);r.props=x;var A=r.context,O=l.contextType;u=kl,typeof O=="object"&&O!==null&&(u=lt(O));var B=l.getDerivedStateFromProps;O=typeof B=="function"||typeof r.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,O||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m||A!==u)&&Ou(t,r,s,u),ka=!1;var z=t.memoizedState;r.state=z,ys(t,s,r,n),vs(),A=t.memoizedState,m||z!==A||ka?(typeof B=="function"&&(Ir(t,l,B,s),A=t.memoizedState),(x=ka||Lu(t,l,x,s,z,A,u))?(O||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=A),r.props=s,r.state=A,r.context=u,s=x):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{r=t.stateNode,Dr(e,t),u=t.memoizedProps,O=ll(l,u),r.props=O,B=t.pendingProps,z=r.context,A=l.contextType,x=kl,typeof A=="object"&&A!==null&&(x=lt(A)),m=l.getDerivedStateFromProps,(A=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(u!==B||z!==x)&&Ou(t,r,s,x),ka=!1,z=t.memoizedState,r.state=z,ys(t,s,r,n),vs();var C=t.memoizedState;u!==B||z!==C||ka||e!==null&&e.dependencies!==null&&Sn(e.dependencies)?(typeof m=="function"&&(Ir(t,l,m,s),C=t.memoizedState),(O=ka||Lu(t,l,O,s,z,C,x)||e!==null&&e.dependencies!==null&&Sn(e.dependencies))?(A||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(s,C,x),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(s,C,x)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||u===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=C),r.props=s,r.state=C,r.context=x,s=O):(typeof r.componentDidUpdate!="function"||u===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),s=!1)}return r=s,Yn(e,t),s=(t.flags&128)!==0,r||s?(r=t.stateNode,l=s&&typeof l.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&s?(t.child=tl(t,e.child,null,n),t.child=tl(t,null,l,n)):st(e,t,l,n),t.memoizedState=r.state,e=t.child):e=ia(e,t,n),e}function Fu(e,t,l,s){return Wa(),t.flags|=256,st(e,t,l,s),t.child}var lo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function so(e){return{baseLanes:e,cachePool:Bd()}}function no(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=_t),e}function $u(e,t,l){var s=t.pendingProps,n=!1,r=(t.flags&128)!==0,u;if((u=r)||(u=e!==null&&e.memoizedState===null?!1:(Je.current&2)!==0),u&&(n=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(ke){if(n?Sa(t):_a(),(e=Ue)?(e=nh(e,Ot),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ba!==null?{id:Yt,overflow:Qt}:null,retryLane:536870912,hydrationErrors:null},l=Cd(e),l.return=t,t.child=l,at=t,Ue=null)):e=null,e===null)throw ya(t);return Go(e)?t.lanes=32:t.lanes=536870912,null}var m=s.children;return s=s.fallback,n?(_a(),n=t.mode,m=Qn({mode:"hidden",children:m},n),s=Za(s,n,l,null),m.return=t,s.return=t,m.sibling=s,t.child=m,s=t.child,s.memoizedState=so(l),s.childLanes=no(e,u,l),t.memoizedState=lo,Ss(null,s)):(Sa(t),io(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(r)t.flags&256?(Sa(t),t.flags&=-257,t=ro(e,t,l)):t.memoizedState!==null?(_a(),t.child=e.child,t.flags|=128,t=null):(_a(),m=s.fallback,n=t.mode,s=Qn({mode:"visible",children:s.children},n),m=Za(m,n,l,null),m.flags|=2,s.return=t,m.return=t,s.sibling=m,t.child=s,tl(t,e.child,null,l),s=t.child,s.memoizedState=so(l),s.childLanes=no(e,u,l),t.memoizedState=lo,t=Ss(null,s));else if(Sa(t),Go(m)){if(u=m.nextSibling&&m.nextSibling.dataset,u)var A=u.dgst;u=A,s=Error(c(419)),s.stack="",s.digest=u,hs({value:s,source:null,stack:null}),t=ro(e,t,l)}else if(Ke||_l(e,t,l,!1),u=(l&e.childLanes)!==0,Ke||u){if(u=Oe,u!==null&&(s=Rc(u,l),s!==0&&s!==x.retryLane))throw x.retryLane=s,Ka(e,s),gt(u,e,s),to;qo(m)||ei(),t=ro(e,t,l)}else qo(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,Ue=Rt(m.nextSibling),at=t,ke=!0,va=null,Ot=!1,e!==null&&Ed(t,e),t=io(t,s.children),t.flags|=4096);return t}return n?(_a(),m=s.fallback,n=t.mode,x=e.child,A=x.sibling,s=ea(x,{mode:"hidden",children:s.children}),s.subtreeFlags=x.subtreeFlags&65011712,A!==null?m=ea(A,m):(m=Za(m,n,l,null),m.flags|=2),m.return=t,s.return=t,s.sibling=m,t.child=s,Ss(null,s),s=t.child,m=e.child.memoizedState,m===null?m=so(l):(n=m.cachePool,n!==null?(x=Qe._currentValue,n=n.parent!==x?{parent:x,pool:x}:n):n=Bd(),m={baseLanes:m.baseLanes|l,cachePool:n}),s.memoizedState=m,s.childLanes=no(e,u,l),t.memoizedState=lo,Ss(e.child,s)):(Sa(t),l=e.child,e=l.sibling,l=ea(l,{mode:"visible",children:s.children}),l.return=t,l.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=l,t.memoizedState=null,l)}function io(e,t){return t=Qn({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Qn(e,t){return e=kt(22,e,null,t),e.lanes=0,e}function ro(e,t,l){return tl(t,e.child,null,l),e=io(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Iu(e,t,l){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),kr(e.return,t,l)}function oo(e,t,l,s,n,r){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:n,treeForkCount:r}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=s,u.tail=l,u.tailMode=n,u.treeForkCount=r)}function Pu(e,t,l){var s=t.pendingProps,n=s.revealOrder,r=s.tail;s=s.children;var u=Je.current,m=(u&2)!==0;if(m?(u=u&1|2,t.flags|=128):u&=1,R(Je,u),st(e,t,s,l),s=ke?ms:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Iu(e,l,t);else if(e.tag===19)Iu(e,l,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}switch(n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&En(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),oo(t,!1,n,l,r,s);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&En(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}oo(t,!0,l,null,r,s);break;case"together":oo(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function ia(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Da|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(_l(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=ea(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=ea(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function co(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Sn(e)))}function eg(e,t,l){switch(t.tag){case 3:rt(t,t.stateNode.containerInfo),ja(t,Qe,e.memoizedState.cache),Wa();break;case 27:case 5:$l(t);break;case 4:rt(t,t.stateNode.containerInfo);break;case 10:ja(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Lr(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Sa(t),t.flags|=128,null):(l&t.child.childLanes)!==0?$u(e,t,l):(Sa(t),e=ia(e,t,l),e!==null?e.sibling:null);Sa(t);break;case 19:var n=(e.flags&128)!==0;if(s=(l&t.childLanes)!==0,s||(_l(e,t,l,!1),s=(l&t.childLanes)!==0),n){if(s)return Pu(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),R(Je,Je.current),s)break;return null;case 22:return t.lanes=0,Qu(e,t,l,t.pendingProps);case 24:ja(t,Qe,e.memoizedState.cache)}return ia(e,t,l)}function em(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ke=!0;else{if(!co(e,l)&&(t.flags&128)===0)return Ke=!1,eg(e,t,l);Ke=(e.flags&131072)!==0}else Ke=!1,ke&&(t.flags&1048576)!==0&&Md(t,ms,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=Pa(t.elementType),t.type=e,typeof e=="function")fr(e)?(s=ll(e,s),t.tag=1,t=Wu(null,t,e,s,l)):(t.tag=0,t=ao(null,t,e,s,l));else{if(e!=null){var n=e.$$typeof;if(n===te){t.tag=11,t=Gu(null,t,e,s,l);break e}else if(n===D){t.tag=14,t=Ju(null,t,e,s,l);break e}}throw t=Ne(e)||e,Error(c(306,t,""))}}return t;case 0:return ao(e,t,t.type,t.pendingProps,l);case 1:return s=t.type,n=ll(s,t.pendingProps),Wu(e,t,s,n,l);case 3:e:{if(rt(t,t.stateNode.containerInfo),e===null)throw Error(c(387));s=t.pendingProps;var r=t.memoizedState;n=r.element,Dr(e,t),ys(t,s,null,l);var u=t.memoizedState;if(s=u.cache,ja(t,Qe,s),s!==r.cache&&Nr(t,[Qe],l,!0),vs(),s=u.element,r.isDehydrated)if(r={element:s,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=Fu(e,t,s,l);break e}else if(s!==n){n=Mt(Error(c(424)),t),hs(n),t=Fu(e,t,s,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ue=Rt(e.firstChild),at=t,ke=!0,va=null,Ot=!0,l=Qd(t,null,s,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Wa(),s===n){t=ia(e,t,l);break e}st(e,t,s,l)}t=t.child}return t;case 26:return Yn(e,t),e===null?(l=uh(t.type,null,t.pendingProps,null))?t.memoizedState=l:ke||(l=t.type,e=t.pendingProps,s=ri(de.current).createElement(l),s[tt]=t,s[ct]=e,nt(s,l,e),Ie(s),t.stateNode=s):t.memoizedState=uh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return $l(t),e===null&&ke&&(s=t.stateNode=oh(t.type,t.pendingProps,de.current),at=t,Ot=!0,n=Ue,La(t.type)?(Jo=n,Ue=Rt(s.firstChild)):Ue=n),st(e,t,t.pendingProps.children,l),Yn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ke&&((n=s=Ue)&&(s=Cg(s,t.type,t.pendingProps,Ot),s!==null?(t.stateNode=s,at=t,Ue=Rt(s.firstChild),Ot=!1,n=!0):n=!1),n||ya(t)),$l(t),n=t.type,r=t.pendingProps,u=e!==null?e.memoizedProps:null,s=r.children,Vo(n,r)?s=null:u!==null&&Vo(n,u)&&(t.flags|=32),t.memoizedState!==null&&(n=Ur(e,t,Q0,null,null,l),Hs._currentValue=n),Yn(e,t),st(e,t,s,l),t.child;case 6:return e===null&&ke&&((e=l=Ue)&&(l=Tg(l,t.pendingProps,Ot),l!==null?(t.stateNode=l,at=t,Ue=null,e=!0):e=!1),e||ya(t)),null;case 13:return $u(e,t,l);case 4:return rt(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=tl(t,null,s,l):st(e,t,s,l),t.child;case 11:return Gu(e,t,t.type,t.pendingProps,l);case 7:return st(e,t,t.pendingProps,l),t.child;case 8:return st(e,t,t.pendingProps.children,l),t.child;case 12:return st(e,t,t.pendingProps.children,l),t.child;case 10:return s=t.pendingProps,ja(t,t.type,s.value),st(e,t,s.children,l),t.child;case 9:return n=t.type._context,s=t.pendingProps.children,$a(t),n=lt(n),s=s(n),t.flags|=1,st(e,t,s,l),t.child;case 14:return Ju(e,t,t.type,t.pendingProps,l);case 15:return Yu(e,t,t.type,t.pendingProps,l);case 19:return Pu(e,t,l);case 31:return P0(e,t,l);case 22:return Qu(e,t,l,t.pendingProps);case 24:return $a(t),s=lt(Qe),e===null?(n=_r(),n===null&&(n=Oe,r=wr(),n.pooledCache=r,r.refCount++,r!==null&&(n.pooledCacheLanes|=l),n=r),t.memoizedState={parent:s,cache:n},zr(t),ja(t,Qe,n)):((e.lanes&l)!==0&&(Dr(e,t),ys(t,null,null,l),vs()),n=e.memoizedState,r=t.memoizedState,n.parent!==s?(n={parent:s,cache:s},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ja(t,Qe,s)):(s=r.cache,ja(t,Qe,s),s!==n.cache&&Nr(t,[Qe],l,!0))),st(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function ra(e){e.flags|=4}function uo(e,t,l,s,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Am())e.flags|=8192;else throw el=Dn,Ar}else e.flags&=-16777217}function tm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!xh(t))if(Am())e.flags|=8192;else throw el=Dn,Ar}function Xn(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Lc():536870912,e.lanes|=t,Vl|=t)}function _s(e,t){if(!ke)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,s=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,s|=n.subtreeFlags&65011712,s|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,s|=n.subtreeFlags,s|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=s,e.childLanes=l,t}function tg(e,t,l){var s=t.pendingProps;switch(br(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return Re(t),null;case 3:return l=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),la(Qe),Ge(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Sl(t)?ra(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,yr())),Re(t),null;case 26:var n=t.type,r=t.memoizedState;return e===null?(ra(t),r!==null?(Re(t),tm(t,r)):(Re(t),uo(t,n,null,s,l))):r?r!==e.memoizedState?(ra(t),Re(t),tm(t,r)):(Re(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&ra(t),Re(t),uo(t,n,e,s,l)),null;case 27:if(an(t),l=de.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ra(t);else{if(!s){if(t.stateNode===null)throw Error(c(166));return Re(t),null}e=Q.current,Sl(t)?Ld(t):(e=oh(n,s,l),t.stateNode=e,ra(t))}return Re(t),null;case 5:if(an(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ra(t);else{if(!s){if(t.stateNode===null)throw Error(c(166));return Re(t),null}if(r=Q.current,Sl(t))Ld(t);else{var u=ri(de.current);switch(r){case 1:r=u.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:r=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":r=u.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":r=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":r=u.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof s.is=="string"?u.createElement("select",{is:s.is}):u.createElement("select"),s.multiple?r.multiple=!0:s.size&&(r.size=s.size);break;default:r=typeof s.is=="string"?u.createElement(n,{is:s.is}):u.createElement(n)}}r[tt]=t,r[ct]=s;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)r.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=r;e:switch(nt(r,n,s),n){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&ra(t)}}return Re(t),uo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&ra(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(c(166));if(e=de.current,Sl(t)){if(e=t.stateNode,l=t.memoizedProps,s=null,n=at,n!==null)switch(n.tag){case 27:case 5:s=n.memoizedProps}e[tt]=t,e=!!(e.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||$m(e.nodeValue,l)),e||ya(t,!0)}else e=ri(e).createTextNode(s),e[tt]=t,t.stateNode=e}return Re(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(s=Sl(t),l!==null){if(e===null){if(!s)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[tt]=t}else Wa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Re(t),e=!1}else l=yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(wt(t),t):(wt(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Re(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Sl(t),s!==null&&s.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[tt]=t}else Wa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Re(t),n=!1}else n=yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(wt(t),t):(wt(t),null)}return wt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=s!==null,e=e!==null&&e.memoizedState!==null,l&&(s=t.child,n=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(n=s.alternate.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==n&&(s.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Xn(t,t.updateQueue),Re(t),null);case 4:return Ge(),e===null&&Eo(t.stateNode.containerInfo),Re(t),null;case 10:return la(t.type),Re(t),null;case 19:if(_(Je),s=t.memoizedState,s===null)return Re(t),null;if(n=(t.flags&128)!==0,r=s.rendering,r===null)if(n)_s(s,!1);else{if(He!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=En(e),r!==null){for(t.flags|=128,_s(s,!1),e=r.updateQueue,t.updateQueue=e,Xn(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Dd(l,e),l=l.sibling;return R(Je,Je.current&1|2),ke&&ta(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&bt()>$n&&(t.flags|=128,n=!0,_s(s,!1),t.lanes=4194304)}else{if(!n)if(e=En(r),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Xn(t,e),_s(s,!0),s.tail===null&&s.tailMode==="hidden"&&!r.alternate&&!ke)return Re(t),null}else 2*bt()-s.renderingStartTime>$n&&l!==536870912&&(t.flags|=128,n=!0,_s(s,!1),t.lanes=4194304);s.isBackwards?(r.sibling=t.child,t.child=r):(e=s.last,e!==null?e.sibling=r:t.child=r,s.last=r)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=bt(),e.sibling=null,l=Je.current,R(Je,n?l&1|2:l&1),ke&&ta(t,s.treeForkCount),e):(Re(t),null);case 22:case 23:return wt(t),Er(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(l&536870912)!==0&&(t.flags&128)===0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),l=t.updateQueue,l!==null&&Xn(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==l&&(t.flags|=2048),e!==null&&_(Ia),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),la(Qe),Re(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function ag(e,t){switch(br(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return la(Qe),Ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return an(t),null;case 31:if(t.memoizedState!==null){if(wt(t),t.alternate===null)throw Error(c(340));Wa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(wt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));Wa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return _(Je),null;case 4:return Ge(),null;case 10:return la(t.type),null;case 22:case 23:return wt(t),Er(),e!==null&&_(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return la(Qe),null;case 25:return null;default:return null}}function am(e,t){switch(br(t),t.tag){case 3:la(Qe),Ge();break;case 26:case 27:case 5:an(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&wt(t);break;case 13:wt(t);break;case 19:_(Je);break;case 10:la(t.type);break;case 22:case 23:wt(t),Er(),e!==null&&_(Ia);break;case 24:la(Qe)}}function As(e,t){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var n=s.next;l=n;do{if((l.tag&e)===e){s=void 0;var r=l.create,u=l.inst;s=r(),u.destroy=s}l=l.next}while(l!==n)}}catch(m){Te(t,t.return,m)}}function Aa(e,t,l){try{var s=t.updateQueue,n=s!==null?s.lastEffect:null;if(n!==null){var r=n.next;s=r;do{if((s.tag&e)===e){var u=s.inst,m=u.destroy;if(m!==void 0){u.destroy=void 0,n=t;var x=l,A=m;try{A()}catch(O){Te(n,x,O)}}}s=s.next}while(s!==r)}}catch(O){Te(t,t.return,O)}}function lm(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Kd(t,l)}catch(s){Te(e,e.return,s)}}}function sm(e,t,l){l.props=ll(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(s){Te(e,t,s)}}function zs(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof l=="function"?e.refCleanup=l(s):l.current=s}}catch(n){Te(e,t,n)}}function Xt(e,t){var l=e.ref,s=e.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(n){Te(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Te(e,t,n)}else l.current=null}function nm(e){var t=e.type,l=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&s.focus();break e;case"img":l.src?s.src=l.src:l.srcSet&&(s.srcset=l.srcSet)}}catch(n){Te(e,e.return,n)}}function mo(e,t,l){try{var s=e.stateNode;wg(s,e.type,l,t),s[ct]=t}catch(n){Te(e,e.return,n)}}function im(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&La(e.type)||e.tag===4}function ho(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||im(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.tag===27&&La(e.type)||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 fo(e,t,l){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=It));else if(s!==4&&(s===27&&La(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(fo(e,t,l),e=e.sibling;e!==null;)fo(e,t,l),e=e.sibling}function Kn(e,t,l){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(s!==4&&(s===27&&La(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Kn(e,t,l),e=e.sibling;e!==null;)Kn(e,t,l),e=e.sibling}function rm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var s=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);nt(t,s,l),t[tt]=e,t[ct]=l}catch(r){Te(e,e.return,r)}}var oa=!1,Ze=!1,go=!1,om=typeof WeakSet=="function"?WeakSet:Set,Pe=null;function lg(e,t){if(e=e.containerInfo,Uo=fi,e=yd(e),rr(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var n=s.anchorOffset,r=s.focusNode;s=s.focusOffset;try{l.nodeType,r.nodeType}catch{l=null;break e}var u=0,m=-1,x=-1,A=0,O=0,B=e,z=null;t:for(;;){for(var C;B!==l||n!==0&&B.nodeType!==3||(m=u+n),B!==r||s!==0&&B.nodeType!==3||(x=u+s),B.nodeType===3&&(u+=B.nodeValue.length),(C=B.firstChild)!==null;)z=B,B=C;for(;;){if(B===e)break t;if(z===l&&++A===n&&(m=u),z===r&&++O===s&&(x=u),(C=B.nextSibling)!==null)break;B=z,z=B.parentNode}B=C}l=m===-1||x===-1?null:{start:m,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ro={focusedElem:e,selectionRange:l},fi=!1,Pe=t;Pe!==null;)if(t=Pe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Pe=e;else for(;Pe!==null;){switch(t=Pe,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&r!==null){e=void 0,l=t,n=r.memoizedProps,r=r.memoizedState,s=l.stateNode;try{var F=ll(l.type,n);e=s.getSnapshotBeforeUpdate(F,r),s.__reactInternalSnapshotBeforeUpdate=e}catch(re){Te(l,l.return,re)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Ho(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ho(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,Pe=e;break}Pe=t.return}}function cm(e,t,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:da(e,l),s&4&&As(5,l);break;case 1:if(da(e,l),s&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(u){Te(l,l.return,u)}else{var n=ll(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(u){Te(l,l.return,u)}}s&64&&lm(l),s&512&&zs(l,l.return);break;case 3:if(da(e,l),s&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Kd(e,t)}catch(u){Te(l,l.return,u)}}break;case 27:t===null&&s&4&&rm(l);case 26:case 5:da(e,l),t===null&&s&4&&nm(l),s&512&&zs(l,l.return);break;case 12:da(e,l);break;case 31:da(e,l),s&4&&mm(e,l);break;case 13:da(e,l),s&4&&hm(e,l),s&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=mg.bind(null,l),Mg(e,l))));break;case 22:if(s=l.memoizedState!==null||oa,!s){t=t!==null&&t.memoizedState!==null||Ze,n=oa;var r=Ze;oa=s,(Ze=t)&&!r?ua(e,l,(l.subtreeFlags&8772)!==0):da(e,l),oa=n,Ze=r}break;case 30:break;default:da(e,l)}}function dm(e){var t=e.alternate;t!==null&&(e.alternate=null,dm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Yi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,ut=!1;function ca(e,t,l){for(l=l.child;l!==null;)um(e,t,l),l=l.sibling}function um(e,t,l){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Il,l)}catch{}switch(l.tag){case 26:Ze||Xt(l,t),ca(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ze||Xt(l,t);var s=Ve,n=ut;La(l.type)&&(Ve=l.stateNode,ut=!1),ca(e,t,l),Rs(l.stateNode),Ve=s,ut=n;break;case 5:Ze||Xt(l,t);case 6:if(s=Ve,n=ut,Ve=null,ca(e,t,l),Ve=s,ut=n,Ve!==null)if(ut)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(l.stateNode)}catch(r){Te(l,t,r)}else try{Ve.removeChild(l.stateNode)}catch(r){Te(l,t,r)}break;case 18:Ve!==null&&(ut?(e=Ve,lh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Xl(e)):lh(Ve,l.stateNode));break;case 4:s=Ve,n=ut,Ve=l.stateNode.containerInfo,ut=!0,ca(e,t,l),Ve=s,ut=n;break;case 0:case 11:case 14:case 15:Aa(2,l,t),Ze||Aa(4,l,t),ca(e,t,l);break;case 1:Ze||(Xt(l,t),s=l.stateNode,typeof s.componentWillUnmount=="function"&&sm(l,t,s)),ca(e,t,l);break;case 21:ca(e,t,l);break;case 22:Ze=(s=Ze)||l.memoizedState!==null,ca(e,t,l),Ze=s;break;default:ca(e,t,l)}}function mm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xl(e)}catch(l){Te(t,t.return,l)}}}function hm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xl(e)}catch(l){Te(t,t.return,l)}}function sg(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new om),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new om),t;default:throw Error(c(435,e.tag))}}function Zn(e,t){var l=sg(e);t.forEach(function(s){if(!l.has(s)){l.add(s);var n=hg.bind(null,e,s);s.then(n,n)}})}function mt(e,t){var l=t.deletions;if(l!==null)for(var s=0;s<l.length;s++){var n=l[s],r=e,u=t,m=u;e:for(;m!==null;){switch(m.tag){case 27:if(La(m.type)){Ve=m.stateNode,ut=!1;break e}break;case 5:Ve=m.stateNode,ut=!1;break e;case 3:case 4:Ve=m.stateNode.containerInfo,ut=!0;break e}m=m.return}if(Ve===null)throw Error(c(160));um(r,u,n),Ve=null,ut=!1,r=n.alternate,r!==null&&(r.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)fm(t,e),t=t.sibling}var Gt=null;function fm(e,t){var l=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:mt(t,e),ht(e),s&4&&(Aa(3,e,e.return),As(3,e),Aa(5,e,e.return));break;case 1:mt(t,e),ht(e),s&512&&(Ze||l===null||Xt(l,l.return)),s&64&&oa&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?s:l.concat(s))));break;case 26:var n=Gt;if(mt(t,e),ht(e),s&512&&(Ze||l===null||Xt(l,l.return)),s&4){var r=l!==null?l.memoizedState:null;if(s=e.memoizedState,l===null)if(s===null)if(e.stateNode===null){e:{s=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(s){case"title":r=n.getElementsByTagName("title")[0],(!r||r[ts]||r[tt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=n.createElement(s),n.head.insertBefore(r,n.querySelector("head > title"))),nt(r,s,l),r[tt]=e,Ie(r),s=r;break e;case"link":var u=fh("link","href",n).get(s+(l.href||""));if(u){for(var m=0;m<u.length;m++)if(r=u[m],r.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&r.getAttribute("rel")===(l.rel==null?null:l.rel)&&r.getAttribute("title")===(l.title==null?null:l.title)&&r.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(m,1);break t}}r=n.createElement(s),nt(r,s,l),n.head.appendChild(r);break;case"meta":if(u=fh("meta","content",n).get(s+(l.content||""))){for(m=0;m<u.length;m++)if(r=u[m],r.getAttribute("content")===(l.content==null?null:""+l.content)&&r.getAttribute("name")===(l.name==null?null:l.name)&&r.getAttribute("property")===(l.property==null?null:l.property)&&r.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&r.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(m,1);break t}}r=n.createElement(s),nt(r,s,l),n.head.appendChild(r);break;default:throw Error(c(468,s))}r[tt]=e,Ie(r),s=r}e.stateNode=s}else gh(n,e.type,e.stateNode);else e.stateNode=hh(n,s,e.memoizedProps);else r!==s?(r===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):r.count--,s===null?gh(n,e.type,e.stateNode):hh(n,s,e.memoizedProps)):s===null&&e.stateNode!==null&&mo(e,e.memoizedProps,l.memoizedProps)}break;case 27:mt(t,e),ht(e),s&512&&(Ze||l===null||Xt(l,l.return)),l!==null&&s&4&&mo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(mt(t,e),ht(e),s&512&&(Ze||l===null||Xt(l,l.return)),e.flags&32){n=e.stateNode;try{gl(n,"")}catch(F){Te(e,e.return,F)}}s&4&&e.stateNode!=null&&(n=e.memoizedProps,mo(e,n,l!==null?l.memoizedProps:n)),s&1024&&(go=!0);break;case 6:if(mt(t,e),ht(e),s&4){if(e.stateNode===null)throw Error(c(162));s=e.memoizedProps,l=e.stateNode;try{l.nodeValue=s}catch(F){Te(e,e.return,F)}}break;case 3:if(di=null,n=Gt,Gt=oi(t.containerInfo),mt(t,e),Gt=n,ht(e),s&4&&l!==null&&l.memoizedState.isDehydrated)try{Xl(t.containerInfo)}catch(F){Te(e,e.return,F)}go&&(go=!1,gm(e));break;case 4:s=Gt,Gt=oi(e.stateNode.containerInfo),mt(t,e),ht(e),Gt=s;break;case 12:mt(t,e),ht(e);break;case 31:mt(t,e),ht(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Zn(e,s)));break;case 13:mt(t,e),ht(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Fn=bt()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Zn(e,s)));break;case 22:n=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,A=oa,O=Ze;if(oa=A||n,Ze=O||x,mt(t,e),Ze=O,oa=A,ht(e),s&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||x||oa||Ze||sl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{if(r=x.stateNode,n)u=r.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{m=x.stateNode;var B=x.memoizedProps.style,z=B!=null&&B.hasOwnProperty("display")?B.display:null;m.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(F){Te(x,x.return,F)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=n?"":x.memoizedProps}catch(F){Te(x,x.return,F)}}}else if(t.tag===18){if(l===null){x=t;try{var C=x.stateNode;n?sh(C,!0):sh(x.stateNode,!1)}catch(F){Te(x,x.return,F)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(l=s.retryQueue,l!==null&&(s.retryQueue=null,Zn(e,l))));break;case 19:mt(t,e),ht(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Zn(e,s)));break;case 30:break;case 21:break;default:mt(t,e),ht(e)}}function ht(e){var t=e.flags;if(t&2){try{for(var l,s=e.return;s!==null;){if(im(s)){l=s;break}s=s.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,r=ho(e);Kn(e,r,n);break;case 5:var u=l.stateNode;l.flags&32&&(gl(u,""),l.flags&=-33);var m=ho(e);Kn(e,m,u);break;case 3:case 4:var x=l.stateNode.containerInfo,A=ho(e);fo(e,A,x);break;default:throw Error(c(161))}}catch(O){Te(e,e.return,O)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;gm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function da(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cm(e,t.alternate,t),t=t.sibling}function sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Aa(4,t,t.return),sl(t);break;case 1:Xt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&sm(t,t.return,l),sl(t);break;case 27:Rs(t.stateNode);case 26:case 5:Xt(t,t.return),sl(t);break;case 22:t.memoizedState===null&&sl(t);break;case 30:sl(t);break;default:sl(t)}e=e.sibling}}function ua(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,n=e,r=t,u=r.flags;switch(r.tag){case 0:case 11:case 15:ua(n,r,l),As(4,r);break;case 1:if(ua(n,r,l),s=r,n=s.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(A){Te(s,s.return,A)}if(s=r,n=s.updateQueue,n!==null){var m=s.stateNode;try{var x=n.shared.hiddenCallbacks;if(x!==null)for(n.shared.hiddenCallbacks=null,n=0;n<x.length;n++)Xd(x[n],m)}catch(A){Te(s,s.return,A)}}l&&u&64&&lm(r),zs(r,r.return);break;case 27:rm(r);case 26:case 5:ua(n,r,l),l&&s===null&&u&4&&nm(r),zs(r,r.return);break;case 12:ua(n,r,l);break;case 31:ua(n,r,l),l&&u&4&&mm(n,r);break;case 13:ua(n,r,l),l&&u&4&&hm(n,r);break;case 22:r.memoizedState===null&&ua(n,r,l),zs(r,r.return);break;case 30:break;default:ua(n,r,l)}t=t.sibling}}function xo(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&fs(l))}function po(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&fs(e))}function Jt(e,t,l,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)xm(e,t,l,s),t=t.sibling}function xm(e,t,l,s){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t,l,s),n&2048&&As(9,t);break;case 1:Jt(e,t,l,s);break;case 3:Jt(e,t,l,s),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&fs(e)));break;case 12:if(n&2048){Jt(e,t,l,s),e=t.stateNode;try{var r=t.memoizedProps,u=r.id,m=r.onPostCommit;typeof m=="function"&&m(u,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(x){Te(t,t.return,x)}}else Jt(e,t,l,s);break;case 31:Jt(e,t,l,s);break;case 13:Jt(e,t,l,s);break;case 23:break;case 22:r=t.stateNode,u=t.alternate,t.memoizedState!==null?r._visibility&2?Jt(e,t,l,s):Ds(e,t):r._visibility&2?Jt(e,t,l,s):(r._visibility|=2,Ol(e,t,l,s,(t.subtreeFlags&10256)!==0||!1)),n&2048&&xo(u,t);break;case 24:Jt(e,t,l,s),n&2048&&po(t.alternate,t);break;default:Jt(e,t,l,s)}}function Ol(e,t,l,s,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,u=t,m=l,x=s,A=u.flags;switch(u.tag){case 0:case 11:case 15:Ol(r,u,m,x,n),As(8,u);break;case 23:break;case 22:var O=u.stateNode;u.memoizedState!==null?O._visibility&2?Ol(r,u,m,x,n):Ds(r,u):(O._visibility|=2,Ol(r,u,m,x,n)),n&&A&2048&&xo(u.alternate,u);break;case 24:Ol(r,u,m,x,n),n&&A&2048&&po(u.alternate,u);break;default:Ol(r,u,m,x,n)}t=t.sibling}}function Ds(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,s=t,n=s.flags;switch(s.tag){case 22:Ds(l,s),n&2048&&xo(s.alternate,s);break;case 24:Ds(l,s),n&2048&&po(s.alternate,s);break;default:Ds(l,s)}t=t.sibling}}var Cs=8192;function Ul(e,t,l){if(e.subtreeFlags&Cs)for(e=e.child;e!==null;)pm(e,t,l),e=e.sibling}function pm(e,t,l){switch(e.tag){case 26:Ul(e,t,l),e.flags&Cs&&e.memoizedState!==null&&Yg(l,Gt,e.memoizedState,e.memoizedProps);break;case 5:Ul(e,t,l);break;case 3:case 4:var s=Gt;Gt=oi(e.stateNode.containerInfo),Ul(e,t,l),Gt=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=Cs,Cs=16777216,Ul(e,t,l),Cs=s):Ul(e,t,l));break;default:Ul(e,t,l)}}function bm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ts(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var s=t[l];Pe=s,ym(s,e)}bm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vm(e),e=e.sibling}function vm(e){switch(e.tag){case 0:case 11:case 15:Ts(e),e.flags&2048&&Aa(9,e,e.return);break;case 3:Ts(e);break;case 12:Ts(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wn(e)):Ts(e);break;default:Ts(e)}}function Wn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var s=t[l];Pe=s,ym(s,e)}bm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Aa(8,t,t.return),Wn(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Wn(t));break;default:Wn(t)}e=e.sibling}}function ym(e,t){for(;Pe!==null;){var l=Pe;switch(l.tag){case 0:case 11:case 15:Aa(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var s=l.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:fs(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,Pe=s;else e:for(l=e;Pe!==null;){s=Pe;var n=s.sibling,r=s.return;if(dm(s),s===l){Pe=null;break e}if(n!==null){n.return=r,Pe=n;break e}Pe=r}}}var ng={getCacheForType:function(e){var t=lt(Qe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return lt(Qe).controller.signal}},ig=typeof WeakMap=="function"?WeakMap:Map,Ae=0,Oe=null,be=null,ye=0,Ce=0,St=null,za=!1,Rl=!1,bo=!1,ma=0,He=0,Da=0,nl=0,vo=0,_t=0,Vl=0,Ms=null,ft=null,yo=!1,Fn=0,jm=0,$n=1/0,In=null,Ca=null,Fe=0,Ta=null,Bl=null,ha=0,jo=0,ko=null,km=null,Es=0,No=null;function At(){return(Ae&2)!==0&&ye!==0?ye&-ye:p.T!==null?Do():Vc()}function Nm(){if(_t===0)if((ye&536870912)===0||ke){var e=nn;nn<<=1,(nn&3932160)===0&&(nn=262144),_t=e}else _t=536870912;return e=Nt.current,e!==null&&(e.flags|=32),_t}function gt(e,t,l){(e===Oe&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(Hl(e,0),Ma(e,ye,_t,!1)),es(e,l),((Ae&2)===0||e!==Oe)&&(e===Oe&&((Ae&2)===0&&(nl|=l),He===4&&Ma(e,ye,_t,!1)),Kt(e))}function wm(e,t,l){if((Ae&6)!==0)throw Error(c(327));var s=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Pl(e,t),n=s?cg(e,t):So(e,t,!0),r=s;do{if(n===0){Rl&&!s&&Ma(e,t,0,!1);break}else{if(l=e.current.alternate,r&&!rg(l)){n=So(e,t,!1),r=!1;continue}if(n===2){if(r=t,e.errorRecoveryDisabledLanes&r)var u=0;else u=e.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){t=u;e:{var m=e;n=Ms;var x=m.current.memoizedState.isDehydrated;if(x&&(Hl(m,u).flags|=256),u=So(m,u,!1),u!==2){if(bo&&!x){m.errorRecoveryDisabledLanes|=r,nl|=r,n=4;break e}r=ft,ft=n,r!==null&&(ft===null?ft=r:ft.push.apply(ft,r))}n=u}if(r=!1,n!==2)continue}}if(n===1){Hl(e,0),Ma(e,t,0,!0);break}e:{switch(s=e,r=n,r){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Ma(s,t,_t,!za);break e;case 2:ft=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=Fn+300-bt(),10<n)){if(Ma(s,t,_t,!za),on(s,0,!0)!==0)break e;ha=t,s.timeoutHandle=th(Sm.bind(null,s,l,ft,In,yo,t,_t,nl,Vl,za,r,"Throttled",-0,0),n);break e}Sm(s,l,ft,In,yo,t,_t,nl,Vl,za,r,null,-0,0)}}break}while(!0);Kt(e)}function Sm(e,t,l,s,n,r,u,m,x,A,O,B,z,C){if(e.timeoutHandle=-1,B=t.subtreeFlags,B&8192||(B&16785408)===16785408){B={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:It},pm(t,r,B);var F=(r&62914560)===r?Fn-bt():(r&4194048)===r?jm-bt():0;if(F=Qg(B,F),F!==null){ha=r,e.cancelPendingCommit=F(Em.bind(null,e,t,r,l,s,n,u,m,x,O,B,null,z,C)),Ma(e,r,u,!A);return}}Em(e,t,r,l,s,n,u,m,x)}function rg(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var s=0;s<l.length;s++){var n=l[s],r=n.getSnapshot;n=n.value;try{if(!jt(r(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Ma(e,t,l,s){t&=~vo,t&=~nl,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var n=t;0<n;){var r=31-yt(n),u=1<<r;s[r]=-1,n&=~u}l!==0&&Oc(e,l,t)}function Pn(){return(Ae&6)===0?(Ls(0),!1):!0}function wo(){if(be!==null){if(Ce===0)var e=be.return;else e=be,aa=Fa=null,Br(e),Cl=null,xs=0,e=be;for(;e!==null;)am(e.alternate,e),e=e.return;be=null}}function Hl(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Ag(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),ha=0,wo(),Oe=e,be=l=ea(e.current,null),ye=t,Ce=0,St=null,za=!1,Rl=Pl(e,t),bo=!1,Vl=_t=vo=nl=Da=He=0,ft=Ms=null,yo=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var n=31-yt(s),r=1<<n;t|=e[n],s&=~r}return ma=t,yn(),l}function _m(e,t){xe=null,p.H=ws,t===Dl||t===zn?(t=Gd(),Ce=3):t===Ar?(t=Gd(),Ce=4):Ce=t===to?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,St=t,be===null&&(He=1,Gn(e,Mt(t,e.current)))}function Am(){var e=Nt.current;return e===null?!0:(ye&4194048)===ye?Ut===null:(ye&62914560)===ye||(ye&536870912)!==0?e===Ut:!1}function zm(){var e=p.H;return p.H=ws,e===null?ws:e}function Dm(){var e=p.A;return p.A=ng,e}function ei(){He=4,za||(ye&4194048)!==ye&&Nt.current!==null||(Rl=!0),(Da&134217727)===0&&(nl&134217727)===0||Oe===null||Ma(Oe,ye,_t,!1)}function So(e,t,l){var s=Ae;Ae|=2;var n=zm(),r=Dm();(Oe!==e||ye!==t)&&(In=null,Hl(e,t)),t=!1;var u=He;e:do try{if(Ce!==0&&be!==null){var m=be,x=St;switch(Ce){case 8:wo(),u=6;break e;case 3:case 2:case 9:case 6:Nt.current===null&&(t=!0);var A=Ce;if(Ce=0,St=null,ql(e,m,x,A),l&&Rl){u=0;break e}break;default:A=Ce,Ce=0,St=null,ql(e,m,x,A)}}og(),u=He;break}catch(O){_m(e,O)}while(!0);return t&&e.shellSuspendCounter++,aa=Fa=null,Ae=s,p.H=n,p.A=r,be===null&&(Oe=null,ye=0,yn()),u}function og(){for(;be!==null;)Cm(be)}function cg(e,t){var l=Ae;Ae|=2;var s=zm(),n=Dm();Oe!==e||ye!==t?(In=null,$n=bt()+500,Hl(e,t)):Rl=Pl(e,t);e:do try{if(Ce!==0&&be!==null){t=be;var r=St;t:switch(Ce){case 1:Ce=0,St=null,ql(e,t,r,1);break;case 2:case 9:if(Hd(r)){Ce=0,St=null,Tm(t);break}t=function(){Ce!==2&&Ce!==9||Oe!==e||(Ce=7),Kt(e)},r.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:Hd(r)?(Ce=0,St=null,Tm(t)):(Ce=0,St=null,ql(e,t,r,7));break;case 5:var u=null;switch(be.tag){case 26:u=be.memoizedState;case 5:case 27:var m=be;if(u?xh(u):m.stateNode.complete){Ce=0,St=null;var x=m.sibling;if(x!==null)be=x;else{var A=m.return;A!==null?(be=A,ti(A)):be=null}break t}}Ce=0,St=null,ql(e,t,r,5);break;case 6:Ce=0,St=null,ql(e,t,r,6);break;case 8:wo(),He=6;break e;default:throw Error(c(462))}}dg();break}catch(O){_m(e,O)}while(!0);return aa=Fa=null,p.H=s,p.A=n,Ae=l,be!==null?0:(Oe=null,ye=0,yn(),He)}function dg(){for(;be!==null&&!Ef();)Cm(be)}function Cm(e){var t=em(e.alternate,e,ma);e.memoizedProps=e.pendingProps,t===null?ti(e):be=t}function Tm(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Zu(l,t,t.pendingProps,t.type,void 0,ye);break;case 11:t=Zu(l,t,t.pendingProps,t.type.render,t.ref,ye);break;case 5:Br(t);default:am(l,t),t=be=Dd(t,ma),t=em(l,t,ma)}e.memoizedProps=e.pendingProps,t===null?ti(e):be=t}function ql(e,t,l,s){aa=Fa=null,Br(t),Cl=null,xs=0;var n=t.return;try{if(I0(e,n,t,l,ye)){He=1,Gn(e,Mt(l,e.current)),be=null;return}}catch(r){if(n!==null)throw be=n,r;He=1,Gn(e,Mt(l,e.current)),be=null;return}t.flags&32768?(ke||s===1?e=!0:Rl||(ye&536870912)!==0?e=!1:(za=e=!0,(s===2||s===9||s===3||s===6)&&(s=Nt.current,s!==null&&s.tag===13&&(s.flags|=16384))),Mm(t,e)):ti(t)}function ti(e){var t=e;do{if((t.flags&32768)!==0){Mm(t,za);return}e=t.return;var l=tg(t.alternate,t,ma);if(l!==null){be=l;return}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);He===0&&(He=5)}function Mm(e,t){do{var l=ag(e.alternate,e);if(l!==null){l.flags&=32767,be=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){be=e;return}be=e=l}while(e!==null);He=6,be=null}function Em(e,t,l,s,n,r,u,m,x){e.cancelPendingCommit=null;do ai();while(Fe!==0);if((Ae&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(r=t.lanes|t.childLanes,r|=mr,Jf(e,l,r,u,m,x),e===Oe&&(be=Oe=null,ye=0),Bl=t,Ta=e,ha=l,jo=r,ko=n,km=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,fg(ln,function(){return Vm(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=p.T,p.T=null,n=L.p,L.p=2,u=Ae,Ae|=4;try{lg(e,t,l)}finally{Ae=u,L.p=n,p.T=s}}Fe=1,Lm(),Om(),Um()}}function Lm(){if(Fe===1){Fe=0;var e=Ta,t=Bl,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=p.T,p.T=null;var s=L.p;L.p=2;var n=Ae;Ae|=4;try{fm(t,e);var r=Ro,u=yd(e.containerInfo),m=r.focusedElem,x=r.selectionRange;if(u!==m&&m&&m.ownerDocument&&vd(m.ownerDocument.documentElement,m)){if(x!==null&&rr(m)){var A=x.start,O=x.end;if(O===void 0&&(O=A),"selectionStart"in m)m.selectionStart=A,m.selectionEnd=Math.min(O,m.value.length);else{var B=m.ownerDocument||document,z=B&&B.defaultView||window;if(z.getSelection){var C=z.getSelection(),F=m.textContent.length,re=Math.min(x.start,F),Le=x.end===void 0?re:Math.min(x.end,F);!C.extend&&re>Le&&(u=Le,Le=re,re=u);var N=bd(m,re),b=bd(m,Le);if(N&&b&&(C.rangeCount!==1||C.anchorNode!==N.node||C.anchorOffset!==N.offset||C.focusNode!==b.node||C.focusOffset!==b.offset)){var w=B.createRange();w.setStart(N.node,N.offset),C.removeAllRanges(),re>Le?(C.addRange(w),C.extend(b.node,b.offset)):(w.setEnd(b.node,b.offset),C.addRange(w))}}}}for(B=[],C=m;C=C.parentNode;)C.nodeType===1&&B.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<B.length;m++){var U=B[m];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}fi=!!Uo,Ro=Uo=null}finally{Ae=n,L.p=s,p.T=l}}e.current=t,Fe=2}}function Om(){if(Fe===2){Fe=0;var e=Ta,t=Bl,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=p.T,p.T=null;var s=L.p;L.p=2;var n=Ae;Ae|=4;try{cm(e,t.alternate,t)}finally{Ae=n,L.p=s,p.T=l}}Fe=3}}function Um(){if(Fe===4||Fe===3){Fe=0,Lf();var e=Ta,t=Bl,l=ha,s=km;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Fe=5:(Fe=0,Bl=Ta=null,Rm(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Ca=null),Gi(l),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Il,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=p.T,n=L.p,L.p=2,p.T=null;try{for(var r=e.onRecoverableError,u=0;u<s.length;u++){var m=s[u];r(m.value,{componentStack:m.stack})}}finally{p.T=t,L.p=n}}(ha&3)!==0&&ai(),Kt(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===No?Es++:(Es=0,No=e):Es=0,Ls(0)}}function Rm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,fs(t)))}function ai(){return Lm(),Om(),Um(),Vm()}function Vm(){if(Fe!==5)return!1;var e=Ta,t=jo;jo=0;var l=Gi(ha),s=p.T,n=L.p;try{L.p=32>l?32:l,p.T=null,l=ko,ko=null;var r=Ta,u=ha;if(Fe=0,Bl=Ta=null,ha=0,(Ae&6)!==0)throw Error(c(331));var m=Ae;if(Ae|=4,vm(r.current),xm(r,r.current,u,l),Ae=m,Ls(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Il,r)}catch{}return!0}finally{L.p=n,p.T=s,Rm(e,t)}}function Bm(e,t,l){t=Mt(l,t),t=eo(e.stateNode,t,2),e=wa(e,t,2),e!==null&&(es(e,2),Kt(e))}function Te(e,t,l){if(e.tag===3)Bm(e,e,l);else for(;t!==null;){if(t.tag===3){Bm(t,e,l);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Ca===null||!Ca.has(s))){e=Mt(l,e),l=Hu(2),s=wa(t,l,2),s!==null&&(qu(l,s,t,e),es(s,2),Kt(s));break}}t=t.return}}function _o(e,t,l){var s=e.pingCache;if(s===null){s=e.pingCache=new ig;var n=new Set;s.set(t,n)}else n=s.get(t),n===void 0&&(n=new Set,s.set(t,n));n.has(l)||(bo=!0,n.add(l),e=ug.bind(null,e,t,l),t.then(e,e))}function ug(e,t,l){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Oe===e&&(ye&l)===l&&(He===4||He===3&&(ye&62914560)===ye&&300>bt()-Fn?(Ae&2)===0&&Hl(e,0):vo|=l,Vl===ye&&(Vl=0)),Kt(e)}function Hm(e,t){t===0&&(t=Lc()),e=Ka(e,t),e!==null&&(es(e,t),Kt(e))}function mg(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Hm(e,l)}function hg(e,t){var l=0;switch(e.tag){case 31:case 13:var s=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(c(314))}s!==null&&s.delete(t),Hm(e,l)}function fg(e,t){return Vi(e,t)}var li=null,Gl=null,Ao=!1,si=!1,zo=!1,Ea=0;function Kt(e){e!==Gl&&e.next===null&&(Gl===null?li=Gl=e:Gl=Gl.next=e),si=!0,Ao||(Ao=!0,xg())}function Ls(e,t){if(!zo&&si){zo=!0;do for(var l=!1,s=li;s!==null;){if(e!==0){var n=s.pendingLanes;if(n===0)var r=0;else{var u=s.suspendedLanes,m=s.pingedLanes;r=(1<<31-yt(42|e)+1)-1,r&=n&~(u&~m),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(l=!0,Ym(s,r))}else r=ye,r=on(s,s===Oe?r:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(r&3)===0||Pl(s,r)||(l=!0,Ym(s,r));s=s.next}while(l);zo=!1}}function gg(){qm()}function qm(){si=Ao=!1;var e=0;Ea!==0&&_g()&&(e=Ea);for(var t=bt(),l=null,s=li;s!==null;){var n=s.next,r=Gm(s,t);r===0?(s.next=null,l===null?li=n:l.next=n,n===null&&(Gl=l)):(l=s,(e!==0||(r&3)!==0)&&(si=!0)),s=n}Fe!==0&&Fe!==5||Ls(e),Ea!==0&&(Ea=0)}function Gm(e,t){for(var l=e.suspendedLanes,s=e.pingedLanes,n=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var u=31-yt(r),m=1<<u,x=n[u];x===-1?((m&l)===0||(m&s)!==0)&&(n[u]=Gf(m,t)):x<=t&&(e.expiredLanes|=m),r&=~m}if(t=Oe,l=ye,l=on(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,l===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&Bi(s),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Pl(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(s!==null&&Bi(s),Gi(l)){case 2:case 8:l=Mc;break;case 32:l=ln;break;case 268435456:l=Ec;break;default:l=ln}return s=Jm.bind(null,e),l=Vi(l,s),e.callbackPriority=t,e.callbackNode=l,t}return s!==null&&s!==null&&Bi(s),e.callbackPriority=2,e.callbackNode=null,2}function Jm(e,t){if(Fe!==0&&Fe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(ai()&&e.callbackNode!==l)return null;var s=ye;return s=on(e,e===Oe?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(wm(e,s,t),Gm(e,bt()),e.callbackNode!=null&&e.callbackNode===l?Jm.bind(null,e):null)}function Ym(e,t){if(ai())return null;wm(e,t,!0)}function xg(){zg(function(){(Ae&6)!==0?Vi(Tc,gg):qm()})}function Do(){if(Ea===0){var e=Al;e===0&&(e=sn,sn<<=1,(sn&261888)===0&&(sn=256)),Ea=e}return Ea}function Qm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:mn(""+e)}function Xm(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function pg(e,t,l,s,n){if(t==="submit"&&l&&l.stateNode===n){var r=Qm((n[ct]||null).action),u=s.submitter;u&&(t=(t=u[ct]||null)?Qm(t.formAction):u.getAttribute("formAction"),t!==null&&(r=t,u=null));var m=new xn("action","action",null,s,n);e.push({event:m,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ea!==0){var x=u?Xm(n,u):new FormData(n);Zr(l,{pending:!0,data:x,method:n.method,action:r},null,x)}}else typeof r=="function"&&(m.preventDefault(),x=u?Xm(n,u):new FormData(n),Zr(l,{pending:!0,data:x,method:n.method,action:r},r,x))},currentTarget:n}]})}}for(var Co=0;Co<ur.length;Co++){var To=ur[Co],bg=To.toLowerCase(),vg=To[0].toUpperCase()+To.slice(1);qt(bg,"on"+vg)}qt(Nd,"onAnimationEnd"),qt(wd,"onAnimationIteration"),qt(Sd,"onAnimationStart"),qt("dblclick","onDoubleClick"),qt("focusin","onFocus"),qt("focusout","onBlur"),qt(O0,"onTransitionRun"),qt(U0,"onTransitionStart"),qt(R0,"onTransitionCancel"),qt(_d,"onTransitionEnd"),hl("onMouseEnter",["mouseout","mouseover"]),hl("onMouseLeave",["mouseout","mouseover"]),hl("onPointerEnter",["pointerout","pointerover"]),hl("onPointerLeave",["pointerout","pointerover"]),Ja("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ja("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ja("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ja("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ja("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ja("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Os="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(" "),yg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Os));function Km(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var s=e[l],n=s.event;s=s.listeners;e:{var r=void 0;if(t)for(var u=s.length-1;0<=u;u--){var m=s[u],x=m.instance,A=m.currentTarget;if(m=m.listener,x!==r&&n.isPropagationStopped())break e;r=m,n.currentTarget=A;try{r(n)}catch(O){vn(O)}n.currentTarget=null,r=x}else for(u=0;u<s.length;u++){if(m=s[u],x=m.instance,A=m.currentTarget,m=m.listener,x!==r&&n.isPropagationStopped())break e;r=m,n.currentTarget=A;try{r(n)}catch(O){vn(O)}n.currentTarget=null,r=x}}}}function ve(e,t){var l=t[Ji];l===void 0&&(l=t[Ji]=new Set);var s=e+"__bubble";l.has(s)||(Zm(t,e,2,!1),l.add(s))}function Mo(e,t,l){var s=0;t&&(s|=4),Zm(l,e,s,t)}var ni="_reactListening"+Math.random().toString(36).slice(2);function Eo(e){if(!e[ni]){e[ni]=!0,qc.forEach(function(l){l!=="selectionchange"&&(yg.has(l)||Mo(l,!1,e),Mo(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ni]||(t[ni]=!0,Mo("selectionchange",!1,t))}}function Zm(e,t,l,s){switch(Nh(t)){case 2:var n=Zg;break;case 8:n=Wg;break;default:n=Zo}l=n.bind(null,t,l,e),n=void 0,!Ii||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),s?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function Lo(e,t,l,s,n){var r=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var u=s.tag;if(u===3||u===4){var m=s.stateNode.containerInfo;if(m===n)break;if(u===4)for(u=s.return;u!==null;){var x=u.tag;if((x===3||x===4)&&u.stateNode.containerInfo===n)return;u=u.return}for(;m!==null;){if(u=dl(m),u===null)return;if(x=u.tag,x===5||x===6||x===26||x===27){s=r=u;continue e}m=m.parentNode}}s=s.return}Pc(function(){var A=r,O=Fi(l),B=[];e:{var z=Ad.get(e);if(z!==void 0){var C=xn,F=e;switch(e){case"keypress":if(fn(l)===0)break e;case"keydown":case"keyup":C=h0;break;case"focusin":F="focus",C=ar;break;case"focusout":F="blur",C=ar;break;case"beforeblur":case"afterblur":C=ar;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=t0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=x0;break;case Nd:case wd:case Sd:C=s0;break;case _d:C=b0;break;case"scroll":case"scrollend":C=Pf;break;case"wheel":C=y0;break;case"copy":case"cut":case"paste":C=i0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=sd;break;case"toggle":case"beforetoggle":C=k0}var re=(t&4)!==0,Le=!re&&(e==="scroll"||e==="scrollend"),N=re?z!==null?z+"Capture":null:z;re=[];for(var b=A,w;b!==null;){var U=b;if(w=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||w===null||N===null||(U=ls(b,N),U!=null&&re.push(Us(b,U,w))),Le)break;b=b.return}0<re.length&&(z=new C(z,F,null,l,O),B.push({event:z,listeners:re}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",C=e==="mouseout"||e==="pointerout",z&&l!==Wi&&(F=l.relatedTarget||l.fromElement)&&(dl(F)||F[cl]))break e;if((C||z)&&(z=O.window===O?O:(z=O.ownerDocument)?z.defaultView||z.parentWindow:window,C?(F=l.relatedTarget||l.toElement,C=A,F=F?dl(F):null,F!==null&&(Le=g(F),re=F.tag,F!==Le||re!==5&&re!==27&&re!==6)&&(F=null)):(C=null,F=A),C!==F)){if(re=ad,U="onMouseLeave",N="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(re=sd,U="onPointerLeave",N="onPointerEnter",b="pointer"),Le=C==null?z:as(C),w=F==null?z:as(F),z=new re(U,b+"leave",C,l,O),z.target=Le,z.relatedTarget=w,U=null,dl(O)===A&&(re=new re(N,b+"enter",F,l,O),re.target=w,re.relatedTarget=Le,U=re),Le=U,C&&F)t:{for(re=jg,N=C,b=F,w=0,U=N;U;U=re(U))w++;U=0;for(var le=b;le;le=re(le))U++;for(;0<w-U;)N=re(N),w--;for(;0<U-w;)b=re(b),U--;for(;w--;){if(N===b||b!==null&&N===b.alternate){re=N;break t}N=re(N),b=re(b)}re=null}else re=null;C!==null&&Wm(B,z,C,re,!1),F!==null&&Le!==null&&Wm(B,Le,F,re,!0)}}e:{if(z=A?as(A):window,C=z.nodeName&&z.nodeName.toLowerCase(),C==="select"||C==="input"&&z.type==="file")var we=md;else if(dd(z))if(hd)we=M0;else{we=C0;var ee=D0}else C=z.nodeName,!C||C.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?A&&Zi(A.elementType)&&(we=md):we=T0;if(we&&(we=we(e,A))){ud(B,we,l,O);break e}ee&&ee(e,z,A),e==="focusout"&&A&&z.type==="number"&&A.memoizedProps.value!=null&&Ki(z,"number",z.value)}switch(ee=A?as(A):window,e){case"focusin":(dd(ee)||ee.contentEditable==="true")&&(vl=ee,or=A,us=null);break;case"focusout":us=or=vl=null;break;case"mousedown":cr=!0;break;case"contextmenu":case"mouseup":case"dragend":cr=!1,jd(B,l,O);break;case"selectionchange":if(L0)break;case"keydown":case"keyup":jd(B,l,O)}var pe;if(sr)e:{switch(e){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else bl?od(e,l)&&(je="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(je="onCompositionStart");je&&(nd&&l.locale!=="ko"&&(bl||je!=="onCompositionStart"?je==="onCompositionEnd"&&bl&&(pe=ed()):(pa=O,Pi="value"in pa?pa.value:pa.textContent,bl=!0)),ee=ii(A,je),0<ee.length&&(je=new ld(je,e,null,l,O),B.push({event:je,listeners:ee}),pe?je.data=pe:(pe=cd(l),pe!==null&&(je.data=pe)))),(pe=w0?S0(e,l):_0(e,l))&&(je=ii(A,"onBeforeInput"),0<je.length&&(ee=new ld("onBeforeInput","beforeinput",null,l,O),B.push({event:ee,listeners:je}),ee.data=pe)),pg(B,e,A,l,O)}Km(B,t)})}function Us(e,t,l){return{instance:e,listener:t,currentTarget:l}}function ii(e,t){for(var l=t+"Capture",s=[];e!==null;){var n=e,r=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||r===null||(n=ls(e,l),n!=null&&s.unshift(Us(e,n,r)),n=ls(e,t),n!=null&&s.push(Us(e,n,r))),e.tag===3)return s;e=e.return}return[]}function jg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Wm(e,t,l,s,n){for(var r=t._reactName,u=[];l!==null&&l!==s;){var m=l,x=m.alternate,A=m.stateNode;if(m=m.tag,x!==null&&x===s)break;m!==5&&m!==26&&m!==27||A===null||(x=A,n?(A=ls(l,r),A!=null&&u.unshift(Us(l,A,x))):n||(A=ls(l,r),A!=null&&u.push(Us(l,A,x)))),l=l.return}u.length!==0&&e.push({event:t,listeners:u})}var kg=/\r\n?/g,Ng=/\u0000|\uFFFD/g;function Fm(e){return(typeof e=="string"?e:""+e).replace(kg,`
|
||
`).replace(Ng,"")}function $m(e,t){return t=Fm(t),Fm(e)===t}function Ee(e,t,l,s,n,r){switch(l){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||gl(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&gl(e,""+s);break;case"className":dn(e,"class",s);break;case"tabIndex":dn(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":dn(e,l,s);break;case"style":$c(e,s,r);break;case"data":if(t!=="object"){dn(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(l);break}s=mn(""+s),e.setAttribute(l,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(l==="formAction"?(t!=="input"&&Ee(e,t,"name",n.name,n,null),Ee(e,t,"formEncType",n.formEncType,n,null),Ee(e,t,"formMethod",n.formMethod,n,null),Ee(e,t,"formTarget",n.formTarget,n,null)):(Ee(e,t,"encType",n.encType,n,null),Ee(e,t,"method",n.method,n,null),Ee(e,t,"target",n.target,n,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(l);break}s=mn(""+s),e.setAttribute(l,s);break;case"onClick":s!=null&&(e.onclick=It);break;case"onScroll":s!=null&&ve("scroll",e);break;case"onScrollEnd":s!=null&&ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(c(61));if(l=s.__html,l!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}l=mn(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(l,""+s):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":s===!0?e.setAttribute(l,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(l,s):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(l,s):e.removeAttribute(l);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(l):e.setAttribute(l,s);break;case"popover":ve("beforetoggle",e),ve("toggle",e),cn(e,"popover",s);break;case"xlinkActuate":$t(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":$t(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":$t(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":$t(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":$t(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":$t(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":$t(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":$t(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":$t(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":cn(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=$f.get(l)||l,cn(e,l,s))}}function Oo(e,t,l,s,n,r){switch(l){case"style":$c(e,s,r);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(c(61));if(l=s.__html,l!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof s=="string"?gl(e,s):(typeof s=="number"||typeof s=="bigint")&&gl(e,""+s);break;case"onScroll":s!=null&&ve("scroll",e);break;case"onScrollEnd":s!=null&&ve("scrollend",e);break;case"onClick":s!=null&&(e.onclick=It);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Gc.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),r=e[ct]||null,r=r!=null?r[l]:null,typeof r=="function"&&e.removeEventListener(t,r,n),typeof s=="function")){typeof r!="function"&&r!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,s,n);break e}l in e?e[l]=s:s===!0?e.setAttribute(l,""):cn(e,l,s)}}}function nt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ve("error",e),ve("load",e);var s=!1,n=!1,r;for(r in l)if(l.hasOwnProperty(r)){var u=l[r];if(u!=null)switch(r){case"src":s=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ee(e,t,r,u,l,null)}}n&&Ee(e,t,"srcSet",l.srcSet,l,null),s&&Ee(e,t,"src",l.src,l,null);return;case"input":ve("invalid",e);var m=r=u=n=null,x=null,A=null;for(s in l)if(l.hasOwnProperty(s)){var O=l[s];if(O!=null)switch(s){case"name":n=O;break;case"type":u=O;break;case"checked":x=O;break;case"defaultChecked":A=O;break;case"value":r=O;break;case"defaultValue":m=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(c(137,t));break;default:Ee(e,t,s,O,l,null)}}Kc(e,r,m,x,A,u,n,!1);return;case"select":ve("invalid",e),s=u=r=null;for(n in l)if(l.hasOwnProperty(n)&&(m=l[n],m!=null))switch(n){case"value":r=m;break;case"defaultValue":u=m;break;case"multiple":s=m;default:Ee(e,t,n,m,l,null)}t=r,l=u,e.multiple=!!s,t!=null?fl(e,!!s,t,!1):l!=null&&fl(e,!!s,l,!0);return;case"textarea":ve("invalid",e),r=n=s=null;for(u in l)if(l.hasOwnProperty(u)&&(m=l[u],m!=null))switch(u){case"value":s=m;break;case"defaultValue":n=m;break;case"children":r=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(c(91));break;default:Ee(e,t,u,m,l,null)}Wc(e,s,n,r);return;case"option":for(x in l)l.hasOwnProperty(x)&&(s=l[x],s!=null)&&(x==="selected"?e.selected=s&&typeof s!="function"&&typeof s!="symbol":Ee(e,t,x,s,l,null));return;case"dialog":ve("beforetoggle",e),ve("toggle",e),ve("cancel",e),ve("close",e);break;case"iframe":case"object":ve("load",e);break;case"video":case"audio":for(s=0;s<Os.length;s++)ve(Os[s],e);break;case"image":ve("error",e),ve("load",e);break;case"details":ve("toggle",e);break;case"embed":case"source":case"link":ve("error",e),ve("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in l)if(l.hasOwnProperty(A)&&(s=l[A],s!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ee(e,t,A,s,l,null)}return;default:if(Zi(t)){for(O in l)l.hasOwnProperty(O)&&(s=l[O],s!==void 0&&Oo(e,t,O,s,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(s=l[m],s!=null&&Ee(e,t,m,s,l,null))}function wg(e,t,l,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,r=null,u=null,m=null,x=null,A=null,O=null;for(C in l){var B=l[C];if(l.hasOwnProperty(C)&&B!=null)switch(C){case"checked":break;case"value":break;case"defaultValue":x=B;default:s.hasOwnProperty(C)||Ee(e,t,C,null,s,B)}}for(var z in s){var C=s[z];if(B=l[z],s.hasOwnProperty(z)&&(C!=null||B!=null))switch(z){case"type":r=C;break;case"name":n=C;break;case"checked":A=C;break;case"defaultChecked":O=C;break;case"value":u=C;break;case"defaultValue":m=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(c(137,t));break;default:C!==B&&Ee(e,t,z,C,s,B)}}Xi(e,u,m,x,A,O,r,n);return;case"select":C=u=m=z=null;for(r in l)if(x=l[r],l.hasOwnProperty(r)&&x!=null)switch(r){case"value":break;case"multiple":C=x;default:s.hasOwnProperty(r)||Ee(e,t,r,null,s,x)}for(n in s)if(r=s[n],x=l[n],s.hasOwnProperty(n)&&(r!=null||x!=null))switch(n){case"value":z=r;break;case"defaultValue":m=r;break;case"multiple":u=r;default:r!==x&&Ee(e,t,n,r,s,x)}t=m,l=u,s=C,z!=null?fl(e,!!l,z,!1):!!s!=!!l&&(t!=null?fl(e,!!l,t,!0):fl(e,!!l,l?[]:"",!1));return;case"textarea":C=z=null;for(m in l)if(n=l[m],l.hasOwnProperty(m)&&n!=null&&!s.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Ee(e,t,m,null,s,n)}for(u in s)if(n=s[u],r=l[u],s.hasOwnProperty(u)&&(n!=null||r!=null))switch(u){case"value":z=n;break;case"defaultValue":C=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==r&&Ee(e,t,u,n,s,r)}Zc(e,z,C);return;case"option":for(var F in l)z=l[F],l.hasOwnProperty(F)&&z!=null&&!s.hasOwnProperty(F)&&(F==="selected"?e.selected=!1:Ee(e,t,F,null,s,z));for(x in s)z=s[x],C=l[x],s.hasOwnProperty(x)&&z!==C&&(z!=null||C!=null)&&(x==="selected"?e.selected=z&&typeof z!="function"&&typeof z!="symbol":Ee(e,t,x,z,s,C));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var re in l)z=l[re],l.hasOwnProperty(re)&&z!=null&&!s.hasOwnProperty(re)&&Ee(e,t,re,null,s,z);for(A in s)if(z=s[A],C=l[A],s.hasOwnProperty(A)&&z!==C&&(z!=null||C!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,t));break;default:Ee(e,t,A,z,s,C)}return;default:if(Zi(t)){for(var Le in l)z=l[Le],l.hasOwnProperty(Le)&&z!==void 0&&!s.hasOwnProperty(Le)&&Oo(e,t,Le,void 0,s,z);for(O in s)z=s[O],C=l[O],!s.hasOwnProperty(O)||z===C||z===void 0&&C===void 0||Oo(e,t,O,z,s,C);return}}for(var N in l)z=l[N],l.hasOwnProperty(N)&&z!=null&&!s.hasOwnProperty(N)&&Ee(e,t,N,null,s,z);for(B in s)z=s[B],C=l[B],!s.hasOwnProperty(B)||z===C||z==null&&C==null||Ee(e,t,B,z,s,C)}function Im(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),s=0;s<l.length;s++){var n=l[s],r=n.transferSize,u=n.initiatorType,m=n.duration;if(r&&m&&Im(u)){for(u=0,m=n.responseEnd,s+=1;s<l.length;s++){var x=l[s],A=x.startTime;if(A>m)break;var O=x.transferSize,B=x.initiatorType;O&&Im(B)&&(x=x.responseEnd,u+=O*(x<m?1:(m-A)/(x-A)))}if(--s,t+=8*(r+u)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Uo=null,Ro=null;function ri(e){return e.nodeType===9?e:e.ownerDocument}function Pm(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function eh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Vo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Bo=null;function _g(){var e=window.event;return e&&e.type==="popstate"?e===Bo?!1:(Bo=e,!0):(Bo=null,!1)}var th=typeof setTimeout=="function"?setTimeout:void 0,Ag=typeof clearTimeout=="function"?clearTimeout:void 0,ah=typeof Promise=="function"?Promise:void 0,zg=typeof queueMicrotask=="function"?queueMicrotask:typeof ah<"u"?function(e){return ah.resolve(null).then(e).catch(Dg)}:th;function Dg(e){setTimeout(function(){throw e})}function La(e){return e==="head"}function lh(e,t){var l=t,s=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(s===0){e.removeChild(n),Xl(t);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")Rs(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Rs(l);for(var r=l.firstChild;r;){var u=r.nextSibling,m=r.nodeName;r[ts]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=u}}else l==="body"&&Rs(e.ownerDocument.body);l=n}while(l);Xl(t)}function sh(e,t){var l=e;e=0;do{var s=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=s}while(l)}function Ho(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ho(l),Yi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Cg(e,t,l,s){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[ts])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=Rt(e.nextSibling),e===null)break}return null}function Tg(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Rt(e.nextSibling),e===null))return null;return e}function nh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Rt(e.nextSibling),e===null))return null;return e}function qo(e){return e.data==="$?"||e.data==="$~"}function Go(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Mg(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var s=function(){t(),l.removeEventListener("DOMContentLoaded",s)};l.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Rt(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Jo=null;function ih(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Rt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function rh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function oh(e,t,l){switch(t=ri(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Rs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Yi(e)}var Vt=new Map,ch=new Set;function oi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var fa=L.d;L.d={f:Eg,r:Lg,D:Og,C:Ug,L:Rg,m:Vg,X:Hg,S:Bg,M:qg};function Eg(){var e=fa.f(),t=Pn();return e||t}function Lg(e){var t=ul(e);t!==null&&t.tag===5&&t.type==="form"?_u(t):fa.r(e)}var Jl=typeof document>"u"?null:document;function dh(e,t,l){var s=Jl;if(s&&typeof t=="string"&&t){var n=Ct(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),ch.has(n)||(ch.add(n),e={rel:e,crossOrigin:l,href:t},s.querySelector(n)===null&&(t=s.createElement("link"),nt(t,"link",e),Ie(t),s.head.appendChild(t)))}}function Og(e){fa.D(e),dh("dns-prefetch",e,null)}function Ug(e,t){fa.C(e,t),dh("preconnect",e,t)}function Rg(e,t,l){fa.L(e,t,l);var s=Jl;if(s&&e&&t){var n='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Ct(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Ct(l.imageSizes)+'"]')):n+='[href="'+Ct(e)+'"]';var r=n;switch(t){case"style":r=Yl(e);break;case"script":r=Ql(e)}Vt.has(r)||(e=S({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Vt.set(r,e),s.querySelector(n)!==null||t==="style"&&s.querySelector(Vs(r))||t==="script"&&s.querySelector(Bs(r))||(t=s.createElement("link"),nt(t,"link",e),Ie(t),s.head.appendChild(t)))}}function Vg(e,t){fa.m(e,t);var l=Jl;if(l&&e){var s=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Ct(s)+'"][href="'+Ct(e)+'"]',r=n;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ql(e)}if(!Vt.has(r)&&(e=S({rel:"modulepreload",href:e},t),Vt.set(r,e),l.querySelector(n)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Bs(r)))return}s=l.createElement("link"),nt(s,"link",e),Ie(s),l.head.appendChild(s)}}}function Bg(e,t,l){fa.S(e,t,l);var s=Jl;if(s&&e){var n=ml(s).hoistableStyles,r=Yl(e);t=t||"default";var u=n.get(r);if(!u){var m={loading:0,preload:null};if(u=s.querySelector(Vs(r)))m.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Vt.get(r))&&Yo(e,l);var x=u=s.createElement("link");Ie(x),nt(x,"link",e),x._p=new Promise(function(A,O){x.onload=A,x.onerror=O}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,ci(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:m},n.set(r,u)}}}function Hg(e,t){fa.X(e,t);var l=Jl;if(l&&e){var s=ml(l).hoistableScripts,n=Ql(e),r=s.get(n);r||(r=l.querySelector(Bs(n)),r||(e=S({src:e,async:!0},t),(t=Vt.get(n))&&Qo(e,t),r=l.createElement("script"),Ie(r),nt(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(n,r))}}function qg(e,t){fa.M(e,t);var l=Jl;if(l&&e){var s=ml(l).hoistableScripts,n=Ql(e),r=s.get(n);r||(r=l.querySelector(Bs(n)),r||(e=S({src:e,async:!0,type:"module"},t),(t=Vt.get(n))&&Qo(e,t),r=l.createElement("script"),Ie(r),nt(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(n,r))}}function uh(e,t,l,s){var n=(n=de.current)?oi(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Yl(l.href),l=ml(n).hoistableStyles,s=l.get(t),s||(s={type:"style",instance:null,count:0,state:null},l.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Yl(l.href);var r=ml(n).hoistableStyles,u=r.get(e);if(u||(n=n.ownerDocument||n,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,u),(r=n.querySelector(Vs(e)))&&!r._p&&(u.instance=r,u.state.loading=5),Vt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Vt.set(e,l),r||Gg(n,e,l,u.state))),t&&s===null)throw Error(c(528,""));return u}if(t&&s!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ql(l),l=ml(n).hoistableScripts,s=l.get(t),s||(s={type:"script",instance:null,count:0,state:null},l.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function Yl(e){return'href="'+Ct(e)+'"'}function Vs(e){return'link[rel="stylesheet"]['+e+"]"}function mh(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function Gg(e,t,l,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),nt(t,"link",l),Ie(t),e.head.appendChild(t))}function Ql(e){return'[src="'+Ct(e)+'"]'}function Bs(e){return"script[async]"+e}function hh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Ct(l.href)+'"]');if(s)return t.instance=s,Ie(s),s;var n=S({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),Ie(s),nt(s,"style",n),ci(s,l.precedence,e),t.instance=s;case"stylesheet":n=Yl(l.href);var r=e.querySelector(Vs(n));if(r)return t.state.loading|=4,t.instance=r,Ie(r),r;s=mh(l),(n=Vt.get(n))&&Yo(s,n),r=(e.ownerDocument||e).createElement("link"),Ie(r);var u=r;return u._p=new Promise(function(m,x){u.onload=m,u.onerror=x}),nt(r,"link",s),t.state.loading|=4,ci(r,l.precedence,e),t.instance=r;case"script":return r=Ql(l.src),(n=e.querySelector(Bs(r)))?(t.instance=n,Ie(n),n):(s=l,(n=Vt.get(r))&&(s=S({},l),Qo(s,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ie(n),nt(n,"link",s),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,ci(s,l.precedence,e));return t.instance}function ci(e,t,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=s.length?s[s.length-1]:null,r=n,u=0;u<s.length;u++){var m=s[u];if(m.dataset.precedence===t)r=m;else if(r!==n)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Yo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Qo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var di=null;function fh(e,t,l){if(di===null){var s=new Map,n=di=new Map;n.set(l,s)}else n=di,s=n.get(l),s||(s=new Map,n.set(l,s));if(s.has(e))return s;for(s.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var r=l[n];if(!(r[ts]||r[tt]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var u=r.getAttribute(t)||"";u=e+u;var m=s.get(u);m?m.push(r):s.set(u,[r])}}return s}function gh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Jg(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function xh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Yg(e,t,l,s){if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Yl(s.href),r=t.querySelector(Vs(n));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ui.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=r,Ie(r);return}r=t.ownerDocument||t,s=mh(s),(n=Vt.get(n))&&Yo(s,n),r=r.createElement("link"),Ie(r);var u=r;u._p=new Promise(function(m,x){u.onload=m,u.onerror=x}),nt(r,"link",s),l.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=ui.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Xo=0;function Qg(e,t){return e.stylesheets&&e.count===0&&hi(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var s=setTimeout(function(){if(e.stylesheets&&hi(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&Xo===0&&(Xo=62500*Sg());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&hi(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>Xo?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(n)}}:null}function ui(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)hi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var mi=null;function hi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,mi=new Map,t.forEach(Xg,e),mi=null,ui.call(e))}function Xg(e,t){if(!(t.state.loading&4)){var l=mi.get(e);if(l)var s=l.get(null);else{l=new Map,mi.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<n.length;r++){var u=n[r];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(l.set(u.dataset.precedence,u),s=u)}s&&l.set(null,s)}n=t.instance,u=n.getAttribute("data-precedence"),r=l.get(u)||s,r===s&&l.set(null,n),l.set(u,n),this.count++,s=ui.bind(this),n.addEventListener("load",s),n.addEventListener("error",s),r?r.parentNode.insertBefore(n,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Hs={$$typeof:X,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function Kg(e,t,l,s,n,r,u,m,x){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Hi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hi(0),this.hiddenUpdates=Hi(null),this.identifierPrefix=s,this.onUncaughtError=n,this.onCaughtError=r,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function ph(e,t,l,s,n,r,u,m,x,A,O,B){return e=new Kg(e,t,l,u,x,A,O,B,m),t=1,r===!0&&(t|=24),r=kt(3,null,null,t),e.current=r,r.stateNode=e,t=wr(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:s,isDehydrated:l,cache:t},zr(r),e}function bh(e){return e?(e=kl,e):kl}function vh(e,t,l,s,n,r){n=bh(n),s.context===null?s.context=n:s.pendingContext=n,s=Na(t),s.payload={element:l},r=r===void 0?null:r,r!==null&&(s.callback=r),l=wa(e,s,t),l!==null&&(gt(l,e,t),bs(l,e,t))}function yh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Ko(e,t){yh(e,t),(e=e.alternate)&&yh(e,t)}function jh(e){if(e.tag===13||e.tag===31){var t=Ka(e,67108864);t!==null&>(t,e,67108864),Ko(e,67108864)}}function kh(e){if(e.tag===13||e.tag===31){var t=At();t=qi(t);var l=Ka(e,t);l!==null&>(l,e,t),Ko(e,t)}}var fi=!0;function Zg(e,t,l,s){var n=p.T;p.T=null;var r=L.p;try{L.p=2,Zo(e,t,l,s)}finally{L.p=r,p.T=n}}function Wg(e,t,l,s){var n=p.T;p.T=null;var r=L.p;try{L.p=8,Zo(e,t,l,s)}finally{L.p=r,p.T=n}}function Zo(e,t,l,s){if(fi){var n=Wo(s);if(n===null)Lo(e,t,s,gi,l),wh(e,s);else if($g(n,e,t,l,s))s.stopPropagation();else if(wh(e,s),t&4&&-1<Fg.indexOf(e)){for(;n!==null;){var r=ul(n);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var u=Ga(r.pendingLanes);if(u!==0){var m=r;for(m.pendingLanes|=2,m.entangledLanes|=2;u;){var x=1<<31-yt(u);m.entanglements[1]|=x,u&=~x}Kt(r),(Ae&6)===0&&($n=bt()+500,Ls(0))}}break;case 31:case 13:m=Ka(r,2),m!==null&>(m,r,2),Pn(),Ko(r,2)}if(r=Wo(s),r===null&&Lo(e,t,s,gi,l),r===n)break;n=r}n!==null&&s.stopPropagation()}else Lo(e,t,s,null,l)}}function Wo(e){return e=Fi(e),Fo(e)}var gi=null;function Fo(e){if(gi=null,e=dl(e),e!==null){var t=g(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=y(t),e!==null)return e;e=null}else if(l===31){if(e=V(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return gi=e,null}function Nh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Of()){case Tc:return 2;case Mc:return 8;case ln:case Uf:return 32;case Ec:return 268435456;default:return 32}default:return 32}}var $o=!1,Oa=null,Ua=null,Ra=null,qs=new Map,Gs=new Map,Va=[],Fg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function wh(e,t){switch(e){case"focusin":case"focusout":Oa=null;break;case"dragenter":case"dragleave":Ua=null;break;case"mouseover":case"mouseout":Ra=null;break;case"pointerover":case"pointerout":qs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gs.delete(t.pointerId)}}function Js(e,t,l,s,n,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:l,eventSystemFlags:s,nativeEvent:r,targetContainers:[n]},t!==null&&(t=ul(t),t!==null&&jh(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function $g(e,t,l,s,n){switch(t){case"focusin":return Oa=Js(Oa,e,t,l,s,n),!0;case"dragenter":return Ua=Js(Ua,e,t,l,s,n),!0;case"mouseover":return Ra=Js(Ra,e,t,l,s,n),!0;case"pointerover":var r=n.pointerId;return qs.set(r,Js(qs.get(r)||null,e,t,l,s,n)),!0;case"gotpointercapture":return r=n.pointerId,Gs.set(r,Js(Gs.get(r)||null,e,t,l,s,n)),!0}return!1}function Sh(e){var t=dl(e.target);if(t!==null){var l=g(t);if(l!==null){if(t=l.tag,t===13){if(t=y(l),t!==null){e.blockedOn=t,Bc(e.priority,function(){kh(l)});return}}else if(t===31){if(t=V(l),t!==null){e.blockedOn=t,Bc(e.priority,function(){kh(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Wo(e.nativeEvent);if(l===null){l=e.nativeEvent;var s=new l.constructor(l.type,l);Wi=s,l.target.dispatchEvent(s),Wi=null}else return t=ul(l),t!==null&&jh(t),e.blockedOn=l,!1;t.shift()}return!0}function _h(e,t,l){xi(e)&&l.delete(t)}function Ig(){$o=!1,Oa!==null&&xi(Oa)&&(Oa=null),Ua!==null&&xi(Ua)&&(Ua=null),Ra!==null&&xi(Ra)&&(Ra=null),qs.forEach(_h),Gs.forEach(_h)}function pi(e,t){e.blockedOn===t&&(e.blockedOn=null,$o||($o=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Ig)))}var bi=null;function Ah(e){bi!==e&&(bi=e,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){bi===e&&(bi=null);for(var t=0;t<e.length;t+=3){var l=e[t],s=e[t+1],n=e[t+2];if(typeof s!="function"){if(Fo(s||l)===null)continue;break}var r=ul(l);r!==null&&(e.splice(t,3),t-=3,Zr(r,{pending:!0,data:n,method:l.method,action:s},s,n))}}))}function Xl(e){function t(x){return pi(x,e)}Oa!==null&&pi(Oa,e),Ua!==null&&pi(Ua,e),Ra!==null&&pi(Ra,e),qs.forEach(t),Gs.forEach(t);for(var l=0;l<Va.length;l++){var s=Va[l];s.blockedOn===e&&(s.blockedOn=null)}for(;0<Va.length&&(l=Va[0],l.blockedOn===null);)Sh(l),l.blockedOn===null&&Va.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var n=l[s],r=l[s+1],u=n[ct]||null;if(typeof r=="function")u||Ah(l);else if(u){var m=null;if(r&&r.hasAttribute("formAction")){if(n=r,u=r[ct]||null)m=u.formAction;else if(Fo(n)!==null)continue}else m=u.action;typeof m=="function"?l[s+1]=m:(l.splice(s,3),s-=3),Ah(l)}}}function zh(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(u){return n=u})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),s||setTimeout(l,20)}function l(){if(!s&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Io(e){this._internalRoot=e}vi.prototype.render=Io.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,s=At();vh(l,s,e,t,null,null)},vi.prototype.unmount=Io.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;vh(e.current,2,null,e,null,null),Pn(),t[cl]=null}};function vi(e){this._internalRoot=e}vi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vc();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Va.length&&t!==0&&t<Va[l].priority;l++);Va.splice(l,0,e),l===0&&Sh(e)}};var Dh=i.version;if(Dh!=="19.2.4")throw Error(c(527,Dh,"19.2.4"));L.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=j(t),e=e!==null?T(e):null,e=e===null?null:e.stateNode,e};var Pg={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yi.isDisabled&&yi.supportsFiber)try{Il=yi.inject(Pg),vt=yi}catch{}}return Qs.createRoot=function(e,t){if(!h(e))throw Error(c(299));var l=!1,s="",n=Uu,r=Ru,u=Vu;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=ph(e,1,!1,null,null,l,s,null,n,r,u,zh),e[cl]=t.current,Eo(e),new Io(t)},Qs.hydrateRoot=function(e,t,l){if(!h(e))throw Error(c(299));var s=!1,n="",r=Uu,u=Ru,m=Vu,x=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(r=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),t=ph(e,1,!0,t,l??null,s,n,x,r,u,m,zh),t.context=bh(null),l=t.current,s=At(),s=qi(s),n=Na(s),n.callback=null,wa(l,n,s),l=s,t.current.lanes=l,es(t,l),Kt(t),e[cl]=t.current,Eo(e),new vi(t)},Qs.version="19.2.4",Qs}var Bh;function cx(){if(Bh)return tc.exports;Bh=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(i){console.error(i)}}return d(),tc.exports=ox(),tc.exports}var dx=cx();class ux{observers=new Set;next(i){this.observers.forEach(o=>o(i))}asObservable(){return{subscribe:i=>(this.observers.add(i),{unsubscribe:()=>this.observers.delete(i)})}}}class mx extends ux{currentValue;constructor(i){super(),this.currentValue=i}next(i){this.currentValue=i,super.next(i)}get value(){return this.currentValue}asObservable(){return{subscribe:i=>(i(this.currentValue),super.asObservable().subscribe(i))}}}class hx{authId="id";authToken="token";authEmail="email";runOutDate="runOutDate";authTokenSubject=new mx(null);constructor(){}async loadAuthTokenFromStorage(){const i=window.localStorage.getItem(this.authToken);this.authTokenSubject.next(i)}async setAuthData(i,o){if(await this.setPreference(this.authId,i.id),await this.setPreference(this.authToken,i.token),await this.setPreference(this.authEmail,i.email),o)await this.setPreference(this.runOutDate,"forever");else{const c=new Date,h=new Date(c);h.setDate(c.getDate()+1);const g=h.toISOString();await this.setPreference(this.runOutDate,g)}}async setPreference(i,o){window.localStorage.setItem(i,o)}async getCandidateId(){return window.localStorage.getItem(this.authId)}async getCandidateEmail(){return window.localStorage.getItem(this.authEmail)}async getAuthToken(){return window.localStorage.getItem(this.authToken)}getAuthTokenNoneAsync(){return this.authTokenSubject.value}async getRunOutDate(){return window.localStorage.getItem(this.runOutDate)}async clearCredentials(){window.localStorage.removeItem(this.authId),window.localStorage.removeItem(this.authToken),window.localStorage.removeItem(this.runOutDate)}async getAuth(){let i=await this.getCandidateId(),o=await this.getAuthToken(),c=await this.getCandidateEmail(),h=await this.getRunOutDate();return i&&o&&c&&h?{id:i,token:o,email:c,runOutDate:h}:null}getAuthTokenWithoutWindow(){const i=this.getAuthTokenNoneAsync();return i||""}getAuthWithoutWindow(){const i=this.getAuthTokenNoneAsync();return i?{id:"",token:i,email:"",runOutDate:"forever"}:null}}const Fl=new hx;const of=(...d)=>d.filter((i,o,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===o).join(" ").trim();const fx=d=>d.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const gx=d=>d.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,o,c)=>c?c.toUpperCase():o.toLowerCase());const Hh=d=>{const i=gx(d);return i.charAt(0).toUpperCase()+i.slice(1)};var xx={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"};const px=d=>{for(const i in d)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};const bx=v.forwardRef(({color:d="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:h="",children:g,iconNode:y,...V},M)=>v.createElement("svg",{ref:M,...xx,width:i,height:i,stroke:d,strokeWidth:c?Number(o)*24/Number(i):o,className:of("lucide",h),...!g&&!px(V)&&{"aria-hidden":"true"},...V},[...y.map(([j,T])=>v.createElement(j,T)),...Array.isArray(g)?g:[g]]));const K=(d,i)=>{const o=v.forwardRef(({className:c,...h},g)=>v.createElement(bx,{ref:g,iconNode:i,className:of(`lucide-${fx(Hh(d))}`,`lucide-${d}`,c),...h}));return o.displayName=Hh(d),o};const vx=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Di=K("arrow-left",vx);const yx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],il=K("arrow-right",yx);const jx=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],kx=K("arrow-up-down",jx);const Nx=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],cf=K("badge-check",Nx);const wx=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],Sx=K("bolt",wx);const _x=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],Ax=K("bookmark",_x);const zx=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],df=K("bot",zx);const Dx=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],hc=K("briefcase-business",Dx);const Cx=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],wc=K("briefcase",Cx);const Tx=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],Mx=K("calendar-days",Tx);const Ex=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Lx=K("calendar",Ex);const Ox=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],uf=K("car",Ox);const Ux=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],Rx=K("check-check",Ux);const Vx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Bx=K("check",Vx);const Hx=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ks=K("chevron-down",Hx);const qx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$e=K("circle-check",qx);const Gx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],Jx=K("circle-pause",Gx);const Yx=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Qx=K("circle-play",Yx);const Xx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],Kx=K("circle-plus",Xx);const Zx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],Wx=K("circle-stop",Zx);const Fx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],$x=K("circle-user",Fx);const Ix=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Px=K("clipboard-list",Ix);const ep=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],fc=K("clock-3",ep);const tp=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],gc=K("code-xml",tp);const ap=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],xc=K("crown",ap);const lp=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],sp=K("ellipsis",lp);const np=[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35",key:"17jvcc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 19h6",key:"bvotb8"}],["path",{d:"M17 16v6",key:"18yu1i"}]],ip=K("file-plus-corner",np);const rp=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],pc=K("file-text",rp);const op=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],mf=K("funnel",op);const cp=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],dp=K("gamepad-2",cp);const up=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]],mp=K("gift",up);const hp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Ci=K("globe",hp);const fp=[["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"}]],hf=K("graduation-cap",fp);const gp=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],ff=K("grid-3x3",gp);const xp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],pp=K("info",xp);const bp=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],bc=K("laptop",bp);const vp=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],yp=K("layout-grid",vp);const jp=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]],gf=K("layout-panel-top",jp);const kp=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Np=K("lightbulb",kp);const wp=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Sp=K("link-2",wp);const _p=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],xf=K("lock-keyhole",_p);const Ap=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],zp=K("log-out",Ap);const Dp=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ti=K("mail",Dp);const Cp=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],$s=K("map-pin",Cp);const Tp=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Mp=K("menu",Tp);const Ep=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],pf=K("message-circle",Ep);const Lp=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Op=K("mic",Lp);const Up=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Rp=K("monitor",Up);const Vp=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Bp=K("moon",Vp);const Hp=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],qp=K("move-right",Hp);const Gp=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Jp=K("paperclip",Gp);const Yp=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Qp=K("pen-line",Yp);const Xp=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Kp=K("phone",Xp);const Zp=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Wp=K("plus",Zp);const Fp=[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]],$p=K("presentation",Fp);const Ip=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],Pp=K("radar",Ip);const eb=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],tb=K("radio",eb);const ab=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],lb=K("rocket",ab);const sb=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],vc=K("route",sb);const nb=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],ib=K("save",nb);const rb=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],yc=K("search",rb);const ob=[["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"}]],cb=K("send",ob);const db=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],bf=K("settings",db);const ub=[["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"}]],mb=K("shield",ub);const hb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],fb=K("smile",hb);const gb=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Ps=K("sparkles",gb);const xb=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],vf=K("square-pen",xb);const pb=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Sc=K("star",pb);const bb=[["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"}]],vb=K("sun",bb);const yb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],en=K("target",yb);const jb=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],qh=K("trending-up",jb);const kb=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],yf=K("trophy",kb);const Nb=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Kl=K("user-round",Nb);const wb=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Gh=K("user",wb);const Sb=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],_b=K("users",Sb);const Ab=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],zb=K("wand-sparkles",Ab);const Db=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],jc=K("x",Db);function Zl({icon:d,label:i,...o}){return a.jsxs("label",{className:"auth-field",children:[a.jsx("span",{children:i}),a.jsxs("div",{className:"auth-input-wrap",children:[a.jsx("span",{className:"auth-input-icon","aria-hidden":!0,children:d}),a.jsx("input",{...o})]})]})}function Cb({email:d,loading:i,onBackToLogin:o,onChangeEmail:c,onSubmit:h}){return a.jsxs("div",{className:"auth-view view-enter",children:[a.jsxs("div",{className:"auth-head",children:[a.jsx("button",{className:"link-btn back-link",type:"button",onClick:o,children:"Tilbage"}),a.jsx("h1",{children:"Glemt kodeord?"}),a.jsx("p",{children:"Indtast din e-mail, sa sender vi instruktioner til at nulstille din kode."})]}),a.jsxs("form",{className:"auth-form",onSubmit:h,children:[a.jsx(Zl,{icon:a.jsx(Ti,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:d,onChange:g=>c(g.target.value),required:!0}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:i,children:i?"Sender...":"Send nulstillingslink"})]})]})}function Tb({email:d,loading:i,onChangeEmail:o,onChangePassword:c,onChangeRememberMe:h,onForgotPassword:g,onRegister:y,onSubmit:V,password:M,rememberMe:j}){return a.jsxs("div",{className:"auth-view view-enter",children:[a.jsxs("div",{className:"auth-head auth-head-center",children:[a.jsx("h1",{children:"Velkommen tilbage"}),a.jsx("p",{children:"Indtast dine oplysninger for at logge ind pa din konto."})]}),a.jsxs("form",{className:"auth-form",onSubmit:V,children:[a.jsx(Zl,{icon:a.jsx(Ti,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:d,onChange:T=>o(T.target.value),required:!0}),a.jsxs("label",{className:"auth-field",children:[a.jsxs("div",{className:"auth-field-row",children:[a.jsx("span",{children:"Adgangskode"}),a.jsx("button",{className:"link-btn",type:"button",onClick:g,children:"Glemt adgangskode?"})]}),a.jsxs("div",{className:"auth-input-wrap",children:[a.jsx("span",{className:"auth-input-icon","aria-hidden":!0,children:a.jsx(xf,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"password",placeholder:"••••••••",value:M,onChange:T=>c(T.target.value),required:!0})]})]}),a.jsxs("label",{className:"check-row",children:[a.jsx("input",{type:"checkbox",checked:j,onChange:T=>h(T.target.checked)}),a.jsx("span",{children:"Husk mig i 30 dage"})]}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:i,children:i?"Logger ind...":"Log ind"})]}),a.jsxs("p",{className:"auth-foot",children:["Har du ikke en konto?",a.jsx("button",{className:"link-btn",type:"button",onClick:y,children:"Opret bruger"})]})]})}function Mb({email:d,firstName:i,lastName:o,loading:c,locationQuery:h,locationSuggestions:g,onBackToLogin:y,onChangeEmail:V,onChangeFirstName:M,onChangeLastName:j,onChangeLocationQuery:T,onChangePassword:S,onSelectLocation:H,onSubmit:Y,password:q}){return a.jsxs("div",{className:"auth-view view-enter",children:[a.jsxs("div",{className:"auth-head auth-head-center",children:[a.jsx("h1",{children:"Opret konto"}),a.jsx("p",{children:"Start din karriere-rejse med os i dag."})]}),a.jsxs("form",{className:"auth-form",onSubmit:Y,children:[a.jsx(Zl,{icon:a.jsx(Gh,{size:16,strokeWidth:1.8}),label:"Fornavn",type:"text",placeholder:"Lasse",value:i,onChange:J=>M(J.target.value),required:!0}),a.jsx(Zl,{icon:a.jsx(Gh,{size:16,strokeWidth:1.8}),label:"Efternavn",type:"text",placeholder:"Hansen",value:o,onChange:J=>j(J.target.value),required:!0}),a.jsx(Zl,{icon:a.jsx(Ti,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:d,onChange:J=>V(J.target.value),required:!0}),a.jsx(Zl,{icon:a.jsx(xf,{size:16,strokeWidth:1.8}),label:"Adgangskode",type:"password",placeholder:"Skab en staerk kode",value:q,onChange:J=>S(J.target.value),required:!0,minLength:8}),a.jsxs("label",{className:"auth-field",children:[a.jsx("span",{children:"Lokation"}),a.jsxs("div",{className:"auth-input-wrap",children:[a.jsx("span",{className:"auth-input-icon","aria-hidden":!0,children:a.jsx($s,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"text",placeholder:"Soeg by eller adresse",value:h,onChange:J=>T(J.target.value),autoComplete:"off",required:!0})]}),g.length>0?a.jsx("div",{className:"location-suggestions",children:g.map(J=>a.jsx("button",{type:"button",className:"location-suggestion-item",onClick:()=>{H(J.placeId,J.description)},children:J.description},J.placeId))}):null]}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:c,children:c?"Opretter...":"Opret bruger"})]}),a.jsxs("p",{className:"auth-foot",children:["Har du allerede en konto?",a.jsx("button",{className:"link-btn",type:"button",onClick:y,children:"Log ind"})]})]})}class rl{searchParams;constructor(i){this.searchParams=i?new URLSearchParams(i):new URLSearchParams}append(i,o){const c=new URLSearchParams(this.searchParams);return c.append(i,String(o)),new rl(c)}set(i,o){const c=new URLSearchParams(this.searchParams);return c.set(i,String(o)),new rl(c)}toString(){return this.searchParams.toString()}}function ji(d,i){if(!i)return d;const o=new URL(d);if(i instanceof rl){const c=i.toString();return c&&new URLSearchParams(c).forEach((g,y)=>o.searchParams.append(y,g)),o.toString()}return Object.entries(i).forEach(([c,h])=>{if(Array.isArray(h)){h.forEach(g=>o.searchParams.append(c,String(g)));return}o.searchParams.set(c,String(h))}),o.toString()}async function ki(d,i="json"){if(!d.ok){const o=await d.text();throw new Error(o||`HTTP ${d.status}`)}if(d.status!==204)return i==="blob"?await d.blob():await d.json()}function Ni(d){const i=typeof window>"u"?null:window.localStorage.getItem("token");return{...i?{Authorization:`Bearer ${i}`}:{},...d??{}}}class Eb{async get(i,o){const c=await fetch(ji(i,o?.params),{method:"GET",headers:Ni(o?.headers)});return ki(c,o?.responseType)}async post(i,o,c){const h=await fetch(ji(i,c?.params),{method:"POST",headers:{"Content-Type":"application/json",...Ni(c?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return ki(h)}async put(i,o,c){const h=await fetch(ji(i,c?.params),{method:"PUT",headers:{"Content-Type":"application/json",...Ni(c?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return ki(h)}async delete(i,o){const c=await fetch(ji(i,o?.params),{method:"DELETE",headers:Ni(o?.headers)});return ki(c)}}const qe=new Eb,E={backendApi:"https://api.arbejd.com/",backendApiV2:"https://api2.arbejd.com/api/"};class Lb{http;constructor(i=qe){this.http=i}login(i,o){let c=E.backendApi+"api/1.1.0/candidate/login",h={email:i,password:o};return this.http.post(c,h)}forgotPassword(i){let o=E.backendApi+"api/1.1.0/candidate/resetPassword/"+i.toLowerCase();return this.http.get(o)}}class ol{constructor(i=qe,o=Fl){this.http=i,this.localStorageService=o}closeAccount(i){let o=E.backendApi+"api/1.1.0/candidate/"+i.toLowerCase();return this.http.delete(o)}accountRetention(i){let o=E.backendApi+"api/1.1.0/candidate/"+i+"/account-retention/";return this.http.get(o)}getCandidatesQualifications(){let i=E.backendApi+"api/1.1.0/candidate/skill/";return this.http.get(i)}getCandidatesCertifications(){let i=E.backendApi+"api/1.1.0/candidate/certificate/";return this.http.get(i)}getCandidatesLanguages(){let i=E.backendApi+"api/1.1.0/candidate/language/";return this.http.get(i)}getCandidatesDriverLicenses(){let i=E.backendApi+"api/1.1.0/candidate/driversLicense/";return this.http.get(i)}changePassword(i,o){let c=E.backendApi+"api/1.1.0/candidate/resetPassword",h={key:i,password:o};return this.http.post(c,h)}getCandidatesEducations(){let i=E.backendApiV2+"1.0.0/client/candidate_education";return this.http.get(i)}updateExperience(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_experience/"+i.id,h={comments:i.comments,company_name:i.companyName,is_current:i.isCurrent,from_date:i.fromDate,to_date:i.toDate,language:o};return this.http.put(c,h)}createAccountV2(i){let o=E.backendApiV2+"1.0.0/client/candidate";return this.http.post(o,i)}updateCandidate(i,o){let c=E.backendApiV2+"1.0.0/client/candidate/v2/"+i.id,h={...i};i.birthday&&(i.birthday=new Date(i.birthday)),i.birthday instanceof Date&&(h.birthday=i.birthday.toISOString());let g={language:o,candidate:h};return this.http.put(c,g)}getCandidate(){let i=E.backendApiV2+"1.0.0/client/candidate";return this.http.get(i)}getCvSuggestion(){let i=E.backendApiV2+"1.0.0/client/suggestion";return this.http.get(i)}saveExperience(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_experience",h={comments:i.comments,company_name:i.companyName,is_current:i.isCurrent,esco_id:i.occupation.id,from_date:i.fromDate,to_date:i.toDate,language:o};return this.http.post(c,h)}removeExperience(i){let o=E.backendApiV2+"1.0.0/client/candidate_experience/"+i;return this.http.delete(o)}getCandidatesExperiences(){let i=E.backendApiV2+"1.0.0/client/candidate_experience";return this.http.get(i)}getJobAgentFilters(){let i=E.backendApiV2+"1.0.0/client/job_agent_filter";return this.http.get(i)}updateJobAgentFilter(i){let o=E.backendApiV2+"1.0.0/client/job_agent_filter/"+i.id,c=i;return this.http.put(o,c)}removeJobAgentFilter(i){let o=E.backendApiV2+"1.0.0/client/job_agent_filter/"+i;return this.http.delete(o)}updateCandidateJobSeeker(i){let o=E.backendApiV2+"1.0.0/client/candidate/update_job_seeker/"+i.id;return this.http.put(o,i)}updateCvUploadProfileText(i,o,c){let h=E.backendApiV2+"1.0.0/client/candidate/update_cv_upload_profile/"+i,g={description:o,language:c};return this.http.put(h,g)}saveExperienceV2(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_experience",h={comments:i.comments,company_name:i.companyName,is_current:i.isCurrent,esco_id:i.escoId,from_date:i.fromDate,to_date:i.toDate,language:o};return this.http.post(c,h)}updateProfileText(i){let o=E.backendApiV2+"1.0.0/client/candidate/update_profile_text";return this.http.put(o,i)}}function nc(d,i){const o=d[i];return typeof o=="string"?o:null}class Ob{authService;candidateService;constructor(i=new Lb,o=new ol){this.authService=i,this.candidateService=o}async login(i,o,c){const g=await this.authService.login(i,o)??{},y=nc(g,"token");if(!y)return{ok:!1,message:"Login fejlede: token mangler i svaret fra serveren."};const V={id:nc(g,"id")??"",token:y,email:nc(g,"email")??i,runOutDate:"forever"};return await Fl.setAuthData(V,c),{ok:!0,message:"Du er nu logget ind."}}async forgotPassword(i){return await this.authService.forgotPassword(i),{ok:!0,message:"Anmodning om nulstilling af kodeord er sendt."}}async register(i){const o=Number.parseInt(i.zip,10);if(Number.isNaN(o))return{ok:!1,message:"Postnummer skal være et tal."};const c={email:i.email,password:i.password,zip:o,zipName:i.zipName,awsUrl:"",latitude:0,longitude:0,firstName:i.firstName,lastName:i.lastName,subscribe:i.subscribe};return await this.candidateService.createAccountV2(c),{ok:!0,message:"Kontoen er oprettet."}}}class jf{constructor(i=qe){this.http=i}searchPlaces(i){const o=E.backendApiV2+"client/google_maps/1.0.0/get_places?query="+encodeURIComponent(i);return this.http.get(o)}getPlaceDetails(i){const o=E.backendApiV2+"client/google_maps/1.0.0/get_place_details?place_id="+encodeURIComponent(i);return this.http.get(o)}}function Ub(d){const i=v.useMemo(()=>new Ob,[]),o=v.useMemo(()=>new jf,[]),[c,h]=v.useState(""),[g,y]=v.useState(!1),[V,M]=v.useState(""),[j,T]=v.useState(""),[S,H]=v.useState(""),[Y,q]=v.useState(""),[J,oe]=v.useState(""),[ie,ne]=v.useState(""),[X,te]=v.useState([]),[ae,Z]=v.useState(null),[D,W]=v.useState(""),[$,P]=v.useState(!1),[ce,me]=v.useState(null),[De,Ne]=v.useState("login");function se(_){me(null),Ne(_)}async function p(_){const R=_.trim();if(R.length<3){te([]);return}try{const ue=((await o.searchPlaces(R)).predictions??[]).filter(de=>typeof de.place_id=="string"&&typeof de.description=="string").map(de=>({description:de.description,placeId:de.place_id}));te(ue)}catch{te([])}}function L(_){const R=_.match(/\b(\d{4})\b/);if(!R)return null;const Q=R[1],de=_.slice(_.indexOf(Q)+Q.length).trim().split(",")[0]?.trim()||"";return de?{cityName:de,zip:Q}:null}async function k(_,R){let Q=R;try{const de=await o.getPlaceDetails(_);typeof de.result?.formatted_address=="string"&&de.result.formatted_address.trim()&&(Q=de.result.formatted_address.trim())}catch{}const ue=L(Q)??L(R);if(ne(Q),te([]),!ue){Z(null);return}Z({cityName:ue.cityName,description:Q,zip:ue.zip})}async function G(_){_.preventDefault(),y(!0),me(null);try{const R=await i.login(V.trim(),j,$);me(R),R.ok&&d?.()}catch(R){const Q=R instanceof Error?R.message:"Login mislykkedes.";me({ok:!1,message:Q})}finally{y(!1)}}async function I(_){_.preventDefault(),y(!0),me(null);try{if(!ae){me({ok:!1,message:"Vaelg en lokation fra listen (med postnummer)."});return}const R=await i.register({email:Y.trim(),firstName:S.trim(),lastName:J.trim(),password:D,subscribe:!0,zip:ae.zip,zipName:ae.cityName});me(R),R.ok&&Ne("login")}catch(R){const Q=R instanceof Error?R.message:"Oprettelse mislykkedes.";me({ok:!1,message:Q})}finally{y(!1)}}async function f(_){_.preventDefault(),y(!0),me(null);try{const R=await i.forgotPassword(c.trim());me(R)}catch(R){const Q=R instanceof Error?R.message:"Kunne ikke sende nulstillingslink.";me({ok:!1,message:Q})}finally{y(!1)}}return{forgotEmail:c,handleForgotSubmit:f,handleLoginSubmit:G,handleRegisterSubmit:I,loading:g,loginEmail:V,loginPassword:j,registerFirstName:S,registerEmail:Y,registerLastName:J,registerLocationQuery:ie,registerLocationSuggestions:X,registerPassword:D,rememberMe:$,result:ce,setForgotEmail:h,setLoginEmail:M,setLoginPassword:T,setRegisterEmail:q,setRegisterFirstName:H,setRegisterLastName:oe,setRegisterLocationQuery:_=>{ne(_),Z(null),p(_)},setRegisterPassword:W,setRememberMe:P,selectRegisterLocation:k,switchView:se,view:De}}function Rb({onAuthenticated:d}){const{forgotEmail:i,handleForgotSubmit:o,handleLoginSubmit:c,handleRegisterSubmit:h,loading:g,loginEmail:y,loginPassword:V,registerFirstName:M,registerEmail:j,registerLastName:T,registerLocationQuery:S,registerLocationSuggestions:H,registerPassword:Y,rememberMe:q,result:J,setForgotEmail:oe,setLoginEmail:ie,setLoginPassword:ne,setRegisterEmail:X,setRegisterFirstName:te,setRegisterLastName:ae,setRegisterLocationQuery:Z,setRegisterPassword:D,setRememberMe:W,selectRegisterLocation:$,switchView:P,view:ce}=Ub(d);return a.jsxs("main",{className:"auth-page",children:[a.jsx("div",{className:"orb orb-1"}),a.jsx("div",{className:"orb orb-2"}),a.jsx("div",{className:"orb orb-3"}),a.jsxs("div",{className:"auth-logo-wrap",children:[a.jsx("div",{className:"auth-logo-dot",children:"A"}),a.jsx("span",{className:"auth-logo-text",children:"ARBEJD"})]}),a.jsxs("section",{className:"auth-card",children:[ce==="login"?a.jsx(Tb,{email:y,loading:g,onChangeEmail:ie,onChangePassword:ne,onChangeRememberMe:W,onForgotPassword:()=>P("forgot"),onRegister:()=>P("register"),onSubmit:c,password:V,rememberMe:q}):null,ce==="register"?a.jsx(Mb,{email:j,firstName:M,lastName:T,loading:g,locationQuery:S,locationSuggestions:H,onBackToLogin:()=>P("login"),onChangeEmail:X,onChangeFirstName:te,onChangeLastName:ae,onChangeLocationQuery:Z,onChangePassword:D,onSelectLocation:$,onSubmit:h,password:Y}):null,ce==="forgot"?a.jsx(Cb,{email:i,loading:g,onBackToLogin:()=>P("login"),onChangeEmail:oe,onSubmit:o}):null,J?a.jsx("p",{className:J.ok?"status success":"status error",children:J.message}):null]},ce)]})}class kf{constructor(i=qe){this.http=i}listEscoByParent(i){let o=E.backendApiV2+"1.0.0/client/esco";return i&&(o+="/"+i),this.http.get(o)}listAllEscos(){let i=E.backendApiV2+"1.0.0/client/esco";return this.http.get(i)}}class Vb{constructor(i=qe){this.http=i}addEscoToJobAgent(i){let o=E.backendApiV2+"1.0.0/client/job_agent_filter",c={esco_id:i};return this.http.post(o,c)}removeJobAgentFilter(i){let o=E.backendApiV2+"1.0.0/client/job_agent_filter/"+i;return this.http.delete(o)}}class Mi{constructor(i=qe){this.http=i}getPaymentOverview(){let i=E.backendApiV2+"client/end_user_subscription/1.0.0/payment_overview";return this.http.get(i)}getSubscriptionProducts(){let i=E.backendApiV2+"client/end_user_subscription/1.0.0/get_products";return this.http.get(i)}deactivateAutoRenew(){let i=E.backendApiV2+"client/end_user_subscription/1.0.0/deactivate_auto_renew";return this.http.put(i,{})}activateAutoRenew(){let i=E.backendApiV2+"client/end_user_subscription/1.0.0/activate_auto_renew";return this.http.put(i,{})}redeemCode(i){let o=E.backendApiV2+"client/candidate_redeem_code/v1";return this.http.post(o,{code:i})}}class Nf{constructor(i=new ol,o=new Mi,c=new Vb,h=new kf){this.candidateService=i,this.subscriptionService=o,this.jobAgentService=c,this.escoService=h}async loadInitialData(){const[i,o,c,h]=await Promise.allSettled([this.subscriptionService.getPaymentOverview(),this.candidateService.getJobAgentFilters(),this.candidateService.getCvSuggestion(),this.escoService.listAllEscos()]);return{paymentOverview:i.status==="fulfilled"?i.value:null,jobAgentFilters:o.status==="fulfilled"?o.value:[],cvSuggestions:c.status==="fulfilled"?this.withImprovements(c.value):[],escos:h.status==="fulfilled"?h.value:[]}}async getCandidateProfile(){try{const i=await this.candidateService.getCandidate(),o=i.firstName?.trim()||i.name?.trim()||"Lasse",c=i.imageUrl||i.image||void 0;return{name:o,imageUrl:c}}catch{return{name:"Lasse"}}}async addEscoToFilter(i){await this.jobAgentService.addEscoToJobAgent(i)}async removeFilter(i){await this.jobAgentService.removeJobAgentFilter(i)}async setFilterVisibility(i,o){await this.candidateService.updateJobAgentFilter({...i,visible:o})}getEscoSuggestions(i,o,c){const h=i.trim().toLowerCase();if(!h)return[];const g=new Set(c.map(y=>y.escoId));return o.filter(y=>!g.has(y.id)).filter(y=>y.preferedLabelDa.toLowerCase().includes(h)).slice(0,10)}getSuggestionText(i){return i>=0&&i<50?"Et godt første skridt mod flere relevante job.":i>=50&&i<100?"Kan styrke dine chancer i ansøgningsbunken.":i>=100&&i<150?"Ofte efterspurgt og forbedrer dine jobmuligheder markant.":i>=150&&i<200?"Et klart plus som gør dig mere attraktiv for arbejdsgivere.":i>=200?"En afgørende faktor der åbner langt flere jobmuligheder.":"Forbedrer din profil til kommende jobmatch."}withImprovements(i){return i.map(o=>{const c=[],h=[{items:o.jobImprovementSuggestion.educations??[],type:"education"},{items:o.jobImprovementSuggestion.languages??[],type:"language"},{items:o.jobImprovementSuggestion.driversLicenses??[],type:"driversLicense"},{items:o.jobImprovementSuggestion.qualifications??[],type:"qualification"},{items:o.jobImprovementSuggestion.certificates??[],type:"certificate"}];for(const g of h)for(const y of g.items)c.push({...y,improvementType:g.type});return c.sort((g,y)=>y.jobChanceIncrease-g.jobChanceIncrease),{...o,improvements:c}})}}class Bb{constructor(i=qe){this.http=i}saveJobFilter(i){let o=E.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.post(o,i)}getJobFilter(){let i=E.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.get(i)}resetJobFilter(){let i=E.backendApiV2+"1.0.0/client/candidate_search_filter/reset_job_filter";return this.http.put(i,{})}}class _c{http;constructor(i=qe){this.http=i}getSearchWords(){let i=E.backendApiV2+"1.0.0/client/candidate_search/list_search_words";return this.http.get(i)}getJobs(i,o,c){let h=E.backendApi+"api/1.1.0/jobs/all/"+o+"/"+c;return this.http.post(h,i)}getJobsV2(i,o,c,h){let g=E.backendApiV2+"1.0.0/client/candidate_search/v2/"+i+"/"+o+"/"+c,y=new rl;return h.length>0&&h.forEach(V=>{y=y.append("terms",V)}),this.http.get(g,{params:y})}getSavedJobs(i,o){let c=E.backendApi+"api/1.1.0/candidate/jobs/saved";return this.http.get(c)}getSavedJobsV2(i,o){let c=E.backendApiV2+"1.0.0/client/job/bookmarked_jobs/"+i+"/"+o;return this.http.get(c)}getAppliedJobs(i,o){let c=E.backendApi+"api/1.1.0/applications/candidate/";return this.http.get(c)}getAppliedJobsV2(i,o){let c=E.backendApiV2+"1.0.0/client/job/applied_jobs/"+i+"/"+o;return this.http.get(c)}payWithStripe(i,o){const c=E.backendApiV2+"1.0.0/client/payment/create-payment-intent",h={paymentMethodId:i,amount:o};return this.http.post(c,h)}bookmarkJob(i){let o=E.backendApi+"api/1.1.0/candidate/jobs/"+i+"/jobnet/updateSavedStatus",c={saved:!0};return this.http.post(o,c)}unbookmarkJob(i){let o=E.backendApi+"api/1.1.0/candidate/jobs/"+i+"/jobnet/updateSavedStatus",c={saved:!1};return this.http.post(o,c)}bookmarkJobV2(i,o,c){let h=E.backendApiV2+"1.0.0/client/job/bookmark/"+i,g={job_type:c,save:o};return this.http.post(h,g)}getJobNetJobDetail(i){let o=E.backendApiV2+"1.0.0/client/job/detail/star/"+i;return this.http.get(o)}getJobDetail(i){let o=E.backendApi+"api/1.1.0/jobs/"+i;return this.http.get(o)}getOccupationCategorizations(){let i=E.backendApiV2+"1.0.0/client/ds_tree";return this.http.get(i)}getJobSummary(i){let o=E.backendApi+"api/1.1.0/jobs/"+i+"/summary";return this.http.get(o)}applyJob(i){let o=E.backendApi+"api/1.1.0/applications/job/"+i,c={jobPostingId:i};return this.http.post(o,c)}undoApplyJob(i){let o=E.backendApi+"api/1.1.0/applications/"+i;return this.http.delete(o)}toggleApplyJobnetjob(i,o){let c=E.backendApiV2+"1.0.0/client/job/detail/star/apply/"+i,h={apply:o};return this.http.put(c,h)}}const ic={escoIds:[],workTypePermanent:!1,workTypePartTime:!1,workDistance:50,partTimeHours:null,distanceCenterName:"",latitude:null,longitude:null};function We(d){return typeof d=="string"?d:""}function Ws(d){return typeof d=="object"&&d!==null?d:null}function rc(d,i){if(!d)return[];const o=d[i];return Array.isArray(o)?o:[]}function oc(d){if(Array.isArray(d))return d;const i=Ws(d);if(!i)return[];const o=rc(i,"searchList");if(o.length>0)return o;const c=Ws(i.data),h=rc(c,"searchList");if(h.length>0)return h;const g=rc(i,"items");return g.length>0?g:[]}function Jh(d,i){if(!d)return null;const o=d[i];return typeof o=="number"?o:null}function Hb(d){return d.trim()}function qb(d){if(!d)return[];const i=new Set,o=d.searchText?.trim();o&&o.length>0&&i.add(o);for(const c of d.desiredTitles??[]){const h=Hb(c);h.length>0&&i.add(h)}return Array.from(i)}function Gb(d,i){return{id:We(d.id),title:We(d.title),companyName:We(d.companyName),occupationName:We(d.occupationName),descriptionIntro:We(d.descriptionIntro),address:We(d.address),time:We(d.time),applicationDeadline:d.applicationDeadline instanceof Date?d.applicationDeadline.toISOString():We(String(d.applicationDeadline??"")),candidateDistance:typeof d.candidateDistance=="number"?d.candidateDistance:null,logoUrl:We(d.logoUrl),companyLogoImage:We(d.companyLogoImage),fromJobnet:!!d.fromJobnet,isSaved:!!d.saved,matchPercent:i}}function Yh(d){return{id:We(d.id),title:We(d.title),companyName:We(d.companyName),occupationName:We(d.occupationName),descriptionIntro:We(d.descriptionIntro),address:We(d.address),time:We(d.time),applicationDeadline:d.applicationDeadline instanceof Date?d.applicationDeadline.toISOString():We(String(d.applicationDeadline??"")),candidateDistance:typeof d.candidateDistance=="number"?d.candidateDistance:null,logoUrl:We(d.logoUrl),companyLogoImage:We(d.companyLogoImage),isActive:typeof d.isActive=="boolean"?d.isActive:void 0,fromJobnet:!!d.fromJobnet,isSaved:!0}}class Ei{constructor(i=new _c,o=new Bb,c=new jf,h=new ol){this.jobService=i,this.filterService=o,this.placesService=c,this.candidateService=h}async getCandidateProfile(){try{const i=await this.candidateService.getCandidate(),o=i.firstName?.trim()||i.name?.trim()||"Lasse",c=i.imageUrl||i.image||void 0;return{name:o,imageUrl:c}}catch{return{name:"Lasse"}}}async getOccupationOptions(){const i=await this.jobService.getOccupationCategorizations(),o=[];for(const c of i)for(const h of c.subAreas)for(const g of h.occupations)typeof g.id=="number"&&typeof g.name=="string"&&g.name.trim().length>0&&o.push({id:g.id,name:g.name});return o.sort((c,h)=>c.name.localeCompare(h.name,"da"))}async getJobSearchWords(){return(await this.jobService.getSearchWords()).filter(o=>typeof o=="string"&&o.trim().length>0)}async getSavedFilter(){try{const i=await this.filterService.getJobFilter(),o=i?.candidateSearchFilter;return o?{escoIds:i.escoIds??[],workTypePermanent:!!o.workTypePermanent,workTypePartTime:!!o.workTypePartTime,workDistance:o.workDistance??o.defaultDistance??50,partTimeHours:o.partTimeHours??null,distanceCenterName:o.distanceCenterName??o.defaultCenterName??"",latitude:o.latitude??null,longitude:o.longitude??null}:{...ic}}catch{return{...ic}}}async saveFilter(i){const o=i.workTypePartTime&&i.partTimeHours&&i.partTimeHours>0&&i.partTimeHours<=37?i.partTimeHours:null,c={escoIds:i.escoIds,candidateSearchFilter:{workTimeDay:!1,workTimeEvening:!1,workTimeNight:!1,workTimeWeekend:!1,workTypePermanent:i.workTypePermanent,workTypeFreelance:!1,workTypePartTime:i.workTypePartTime,workTypeSubstitute:!1,workTypeTemporary:!1,workDistance:i.workDistance,partTimeHours:o,distanceCenterName:i.distanceCenterName,latitude:i.latitude,longitude:i.longitude}};await this.filterService.saveJobFilter(c)}async resetFilter(){return await this.filterService.resetJobFilter(),{...ic}}async searchPlaceSuggestions(i){const o=i.trim();return o.length<3?[]:((await this.placesService.searchPlaces(o)).predictions??[]).filter(h=>typeof h.place_id=="string"&&typeof h.description=="string").map(h=>({placeId:h.place_id,description:h.description}))}async getPlaceSelection(i){const c=(await this.placesService.getPlaceDetails(i)).result;return!c||typeof c.formatted_address!="string"?null:{description:c.formatted_address,latitude:typeof c.geometry?.location?.lat=="number"?c.geometry.location.lat:null,longitude:typeof c.geometry?.location?.lng=="number"?c.geometry.location.lng:null}}async getTabItems(i,o){if(i==="gemte"){const c=await this.jobService.getSavedJobsV2(0,100);return oc(c).map(g=>Yh(g))}if(i==="sogte"){const c=await this.jobService.getAppliedJobsV2(0,100);return oc(c).map(g=>Yh(g))}return this.getJobsFeedItems(o?[o]:void 0)}async applyFiltersAndGetJobs(i,o){await this.saveFilter(i);const c=qb(o);return this.getJobsFeedItems(c)}async toggleBookmark(i,o){const c=i.fromJobnet?"star":"arbejd.com";await this.jobService.bookmarkJobV2(i.id,o,c)}async getJobsFeedItems(i){let c=10,h=0;const g=12,y=120,V=new Set,M=[];let j=[];const T=(i??[]).map(S=>S.trim()).filter(S=>S.length>0);if(T.length>0)j=T;else try{j=(await this.jobService.getSearchWords()).filter(H=>typeof H=="string"&&H.trim().length>0)}catch{j=[]}for(let S=0;S<g&&M.length<y;S+=1){const H=await this.jobService.getJobsV2(c,h,20,j),Y=Ws(H),q=oc(H);for(const ne of q){const X=Ws(ne);if(!X)continue;const te=Ws(X.jobPosting);if(!te)continue;const ae=te;if(!ae.id||V.has(ae.id))continue;V.add(ae.id);const Z=typeof X.total=="number"?X.total:0;M.push(Gb(ae,Math.round(Z*100)))}const J=Jh(Y,"nextLevel"),oe=Jh(Y,"nextOffset");if(q.length===0)break;J===null||oe===null?h+=20:(c=J,h=oe)}return M}}const Jb="/assets/appicon-8UAfw_Cw.png",Yb=[{key:"dashboard",label:"Dashboard",icon:yp},{key:"jobs",label:"Jobs",icon:wc},{key:"cv",label:"CV",icon:pc},{key:"messages",label:"Beskeder",icon:pf,badge:"3"}],Qb=[{key:"agents",label:"Jobagenter",icon:Pp,dot:!0},{key:"ai-agent",label:"AI-agent",icon:df,accent:!0},{key:"simulator",label:"Simulator",icon:dp},{key:"subscription",label:"Abonnement",icon:xc}];function Wt({active:d="dashboard",onNavigate:i}){const[o,c]=v.useState(!1);v.useEffect(()=>{c(!1)},[d]),v.useEffect(()=>{if(!o)return;function g(V){V.key==="Escape"&&c(!1)}const y=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",g),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",g)}},[o]);function h(g){i?.(g),c(!1)}return a.jsxs(a.Fragment,{children:[a.jsx("button",{type:"button",className:"dash-mobile-menu-btn","aria-label":o?"Luk menu":"Aabn menu","aria-expanded":o,onClick:()=>c(g=>!g),children:o?a.jsx(jc,{size:18,strokeWidth:1.9}):a.jsx(Mp,{size:18,strokeWidth:1.9})}),a.jsx("button",{type:"button",className:`dash-mobile-overlay ${o?"open":""}`,"aria-label":"Luk menu",onClick:()=>c(!1)}),a.jsxs("aside",{className:`dash-sidebar ${o?"open":""}`,children:[a.jsxs("div",{className:"dash-logo-row",children:[a.jsx("img",{src:Jb,alt:"Arbejd logo",className:"dash-logo-mark"}),a.jsxs("span",{className:"dash-logo-text",children:["ARBEJD",a.jsx("span",{className:"dash-logo-domain",children:".com"})]})]}),a.jsxs("nav",{className:"dash-nav",children:[Yb.map(g=>{const y=g.icon,V=g.key===d;return a.jsxs("button",{type:"button",className:V?"dash-nav-item active":"dash-nav-item",onClick:()=>h(g.key),children:[a.jsx("span",{className:g.accent?"dash-nav-icon accent":"dash-nav-icon",children:a.jsx(y,{size:19,strokeWidth:1.7})}),a.jsx("span",{className:"dash-nav-label",children:g.label}),g.badge?a.jsx("span",{className:"dash-nav-badge",children:g.badge}):null]},g.key)}),a.jsx("div",{className:"dash-nav-divider"}),Qb.map(g=>{const y=g.icon,V=g.key===d;return a.jsxs("button",{type:"button",className:V?"dash-nav-item active":"dash-nav-item",onClick:()=>h(g.key),children:[a.jsx("span",{className:g.accent?"dash-nav-icon accent":"dash-nav-icon",children:a.jsx(y,{size:19,strokeWidth:1.7})}),a.jsx("span",{className:"dash-nav-label",children:g.label}),g.dot?a.jsx("span",{className:"dash-nav-dot"}):null]},g.key)})]}),a.jsxs("div",{className:"dash-sidebar-pro",children:[a.jsx("div",{className:"dash-sidebar-pro-glow"}),a.jsx(Ps,{size:19,strokeWidth:1.8}),a.jsx("h4",{children:"Pro-medlemskab"}),a.jsx("p",{children:"Faa ubegrænsede simuleringer"})]})]})]})}function Ft({actions:d,imageUrl:i,name:o,onLogout:c,onToggleTheme:h,theme:g="light"}){return a.jsxs("header",{className:"dash-topbar",children:[a.jsx("a",{href:"/home",className:"dash-home-btn",children:"HomePage"}),h?a.jsxs("button",{type:"button",className:"dash-theme-btn",onClick:h,children:[g==="dark"?a.jsx(vb,{size:15,strokeWidth:1.8}):a.jsx(Bp,{size:15,strokeWidth:1.8}),a.jsx("span",{children:g==="dark"?"Light":"Dark"})]}):null,d?a.jsx("div",{className:"dash-topbar-actions",children:d}):null,a.jsxs("div",{className:"dash-profile-wrap",children:[a.jsxs("button",{className:"dash-profile-btn",type:"button",children:[i?a.jsx("img",{src:i,alt:o,className:"dash-profile-avatar"}):a.jsx("div",{className:"dash-profile-avatar dash-profile-avatar-fallback",children:o.slice(0,1).toUpperCase()}),a.jsx("span",{children:o}),a.jsx(Ks,{size:15,strokeWidth:1.8})]}),a.jsxs("div",{className:"dash-profile-menu",children:[a.jsxs("button",{type:"button",children:[a.jsx($x,{size:16,strokeWidth:1.8})," Profil"]}),a.jsxs("button",{type:"button",children:[a.jsx(bf,{size:16,strokeWidth:1.8})," Indstillinger"]}),a.jsx("div",{className:"dash-profile-divider"}),a.jsxs("button",{type:"button",className:"danger",onClick:c,children:[a.jsx(zp,{size:16,strokeWidth:1.8})," Log ud"]})]})]})]})}const Xb={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function Kb(d){return d.trim().slice(0,1).toUpperCase()||"A"}function Zb(d){return Math.max(68,98-d*4)}function Wb(d,i){const o=i.trim().toLowerCase();return o?d.filter(c=>c.preferedLabelDa.toLowerCase().includes(o)).slice(0,8):[]}function Fb({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=v.useMemo(()=>new Nf,[]),y=v.useMemo(()=>new Ei,[]),[V,M]=v.useState("Lasse"),[j,T]=v.useState(void 0),[S,H]=v.useState(Xb),[Y,q]=v.useState([]),[J,oe]=v.useState(!0),[ie,ne]=v.useState(""),[X,te]=v.useState(""),[ae,Z]=v.useState(""),[D,W]=v.useState(""),[$,P]=v.useState(""),[ce,me]=v.useState(25);v.useEffect(()=>{let k=!0;async function G(){oe(!0);const[I,f,_]=await Promise.all([g.getCandidateProfile(),g.loadInitialData(),y.getTabItems("jobs")]);k&&(M(I.name),T(I.imageUrl),H(f),q(_),oe(!1))}return G(),()=>{k=!1}},[g,y]);async function De(){const k=await g.loadInitialData();H(k)}async function Ne(){const k=X.trim()||ie.trim()||ae.trim(),G=g.getEscoSuggestions(k,S.escos,S.jobAgentFilters)[0]||Wb(S.escos,k)[0];G&&(await g.addEscoToFilter(G.id),await De(),ne(""),te(""),Z(""),W(""),P(""),me(25))}async function se(k){await g.setFilterVisibility(k,!k.visible),await De()}const p=S.jobAgentFilters,L=(Y.length>0?Y:[]).slice(0,6);return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"agents",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar ai-agent-main",children:[a.jsx(Ft,{name:V,imageUrl:j,onLogout:d,theme:h,onToggleTheme:c}),a.jsxs("div",{className:"ai-head",children:[a.jsx("h1",{children:"Jobagenter"}),a.jsx("p",{children:"Saet din jobsogning pa autopilot. Lad agenter overvage og matche dig med de perfekte jobs."})]}),a.jsxs("section",{className:"ai-create-card",children:[a.jsxs("div",{className:"ai-create-title",children:[a.jsx("div",{className:"ai-create-icon",children:a.jsx(df,{size:20,strokeWidth:1.8})}),a.jsx("h2",{children:"Opret ny jobagent"})]}),a.jsxs("div",{className:"ai-form-grid",children:[a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Agentens navn"}),a.jsx("input",{value:ie,onChange:k=>ne(k.target.value),placeholder:"F.eks. Frontend Udvikler CPH"})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Sogetekst / Nogleord"}),a.jsx("input",{value:X,onChange:k=>te(k.target.value),placeholder:"F.eks. React, TypeScript, Tailwind"})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Arbejdsomrade"}),a.jsxs("select",{value:ae,onChange:k=>Z(k.target.value),children:[a.jsx("option",{value:"",children:"Vaelg branche"}),a.jsx("option",{value:"IT & Udvikling",children:"IT & Udvikling"}),a.jsx("option",{value:"Design & UX",children:"Design & UX"}),a.jsx("option",{value:"Salg & Marketing",children:"Salg & Marketing"}),a.jsx("option",{value:"HR & Ledelse",children:"HR & Ledelse"})]})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Arbejdstype"}),a.jsxs("select",{value:D,onChange:k=>W(k.target.value),children:[a.jsx("option",{value:"",children:"Vaelg type"}),a.jsx("option",{value:"Fuldtid",children:"Fuldtid"}),a.jsx("option",{value:"Deltid",children:"Deltid"}),a.jsx("option",{value:"Freelance",children:"Freelance / Konsulent"}),a.jsx("option",{value:"Studiejob",children:"Studiejob"})]})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Arbejdssted"}),a.jsxs("div",{className:"ai-location-wrap",children:[a.jsx($s,{size:16,strokeWidth:1.8}),a.jsx("input",{value:$,onChange:k=>P(k.target.value),placeholder:"By eller postnummer"})]})]}),a.jsxs("div",{className:"ai-field ai-distance-field",children:[a.jsxs("div",{className:"ai-distance-head",children:[a.jsx("label",{children:"Maks. distance"}),a.jsxs("span",{children:[ce," km"]})]}),a.jsx("input",{type:"range",min:0,max:100,value:ce,onChange:k=>me(Number(k.target.value))})]})]}),a.jsx("div",{className:"ai-create-actions",children:a.jsxs("button",{type:"button",onClick:()=>{Ne()},children:[a.jsx(ib,{size:16,strokeWidth:1.8})," Gem jobagent"]})})]}),a.jsxs("section",{className:"ai-agents-section",children:[a.jsx("h3",{children:"Dine aktive agenter"}),a.jsxs("div",{className:"ai-agents-row custom-scrollbar",children:[p.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen aktive agenter endnu."}):null,p.map((k,G)=>a.jsxs("article",{className:"ai-agent-chip-card",children:[a.jsxs("div",{className:"ai-agent-card-head",children:[a.jsxs("div",{className:"ai-agent-chip-left",children:[a.jsx("div",{className:`ai-agent-mini-icon ${G%2===0?"teal":"indigo"}`,children:G%2===0?a.jsx(Rp,{size:16,strokeWidth:1.8}):a.jsx(vf,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:k.escoName}),a.jsx("p",{children:k.isCalculated?"Aktiv siden i går":"Aktiv"})]})]}),a.jsx("button",{type:"button",className:k.visible?"ai-toggle on":"ai-toggle",onClick:()=>{se(k)},children:a.jsx("span",{})})]}),a.jsxs("div",{className:"ai-tags",children:[a.jsx("span",{children:k.escoName}),a.jsx("span",{children:$||"København"}),a.jsxs("span",{children:[ce," km"]})]})]},k.id))]})]}),a.jsxs("section",{className:"ai-jobs-section",children:[a.jsxs("div",{className:"ai-jobs-head",children:[a.jsxs("h3",{children:[a.jsx(Ps,{size:16,strokeWidth:1.8})," Anbefalede jobs til dig"]}),a.jsx("span",{children:"Opdateret for 5 min siden"})]}),a.jsxs("div",{className:"ai-jobs-grid",children:[J?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,!J&&L.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen jobanbefalinger fundet endnu."}):null,L.map((k,G)=>a.jsxs("article",{className:"ai-job-card",role:"button",tabIndex:0,onClick:()=>o(k.id,k.fromJobnet,"agents"),onKeyDown:I=>{(I.key==="Enter"||I.key===" ")&&(I.preventDefault(),o(k.id,k.fromJobnet,"agents"))},children:[a.jsx("div",{className:`ai-job-rail ${G%3===2?"indigo":"teal"}`}),a.jsxs("div",{className:"ai-job-top",children:[k.companyLogoImage||k.logoUrl?a.jsx("img",{src:k.companyLogoImage||k.logoUrl,alt:k.companyName,className:"ai-company-logo"}):a.jsx("div",{className:"ai-company-logo-fallback",children:Kb(k.companyName)}),a.jsxs("div",{className:"ai-match-col",children:[a.jsxs("div",{className:"ai-match-pill",children:[a.jsx(en,{size:13,strokeWidth:1.8})," ",Zb(G),"% Match"]}),a.jsxs("small",{children:["Via: ",p[0]?.escoName||"Jobagent"]})]})]}),a.jsxs("div",{className:"ai-job-title-wrap",children:[a.jsx("h4",{children:k.title}),a.jsxs("p",{children:[k.companyName," • ",k.address||"Lokation"]})]}),a.jsxs("div",{className:"ai-job-tags",children:[a.jsx("span",{children:k.occupationName||"Frontend"}),a.jsx("span",{children:k.fromJobnet?"Jobnet":"Arbejd.com"}),a.jsx("span",{children:k.candidateDistance!=null?`${Math.round(k.candidateDistance)} km`:"Remote"})]}),a.jsxs("div",{className:"ai-job-bottom",children:[a.jsx("span",{children:"Slået op for nyligt"}),a.jsxs("button",{type:"button",onClick:I=>{I.stopPropagation(),o(k.id,k.fromJobnet,"agents")},children:["Læs mere ",a.jsx(il,{size:14,strokeWidth:1.8})]})]})]},k.id))]})]})]})]})}const $b={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function Qh(){return["Diamantskærer","Ministerialbetjent","Kiropraktor","System Developer","Senior Software Developer","Founder and Developer","Senior .Net Developer","Freelance Programmer","Støberichef","Softwareudvikler, frontend","CSR-ansvarlig","Lagerchef inden for råstof","Ios developer","Kokkeelev","IT-kvalitetsmedarbejder","Efterretningsofficer"]}function Ib(d){return d>=70?{text:"Kan styrke dine chancer i ansøgningsbunken",kind:"strong"}:d>=40?{text:"Ofte efterspurgt – forbedrer dine jobmuligheder markant",kind:"neutral"}:{text:"Et godt første skridt mod flere relevante job",kind:"soft"}}function Pb(d){return d==="education"?hf:d==="language"?Ci:d==="driversLicense"?uf:d==="certificate"?cf:d==="qualification"?en:Sc}function ev(d){return d==="education"?"blue":d==="language"?"emerald":d==="driversLicense"?"orange":d==="certificate"?"rose":d==="qualification"?"indigo":"slate"}function tv({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=v.useMemo(()=>new Nf,[]),[g,y]=v.useState("Lasse"),[V,M]=v.useState(void 0),[j,T]=v.useState($b),[S,H]=v.useState(!0),[Y,q]=v.useState("");v.useEffect(()=>{let X=!0;async function te(){H(!0);const[ae,Z]=await Promise.all([h.getCandidateProfile(),h.loadInitialData()]);if(!X)return;y(ae.name),M(ae.imageUrl),T(Z);const D=Z.jobAgentFilters[0]?.escoName||Qh()[1];q(W=>W||D),H(!1)}return te(),()=>{X=!1}},[h]);const J=j.jobAgentFilters.length>0?j.jobAgentFilters.map(X=>X.escoName):Qh(),oe=j.jobAgentFilters.find(X=>X.escoName===Y)||j.jobAgentFilters[0],ie=(oe?j.cvSuggestions.find(X=>X.escoId===oe.escoId)?.improvements:j.cvSuggestions[0]?.improvements)||[],ne=ie.length>0?ie:[{name:"Grundkursus i sikkerhed og beredskab",jobChanceIncrease:78,improvementType:"education"},{name:"Service og kommunikation i offentlige institutioner",jobChanceIncrease:52,improvementType:"qualification"},{name:"Dansk (Flydende)",jobChanceIncrease:65,improvementType:"language"},{name:"B - Almindelig bil",jobChanceIncrease:34,improvementType:"driversLicense"},{name:"Konflikthåndtering",jobChanceIncrease:72,improvementType:"qualification"},{name:"Førstehjælpsbevis",jobChanceIncrease:44,improvementType:"certificate"},{name:"Sikkerhedsgodkendelse (PET)",jobChanceIncrease:81,improvementType:"certificate"}];return a.jsxs("section",{className:`dash-root ${c==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"ai-agent",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar career-main",children:[a.jsx(Ft,{name:g,imageUrl:V,onLogout:d,theme:c,onToggleTheme:o,actions:a.jsxs("div",{className:"career-status-pill",children:[a.jsx($e,{size:15,strokeWidth:1.8}),"CV analyseret"]})}),a.jsxs("div",{className:"career-head",children:[a.jsxs("div",{className:"career-head-title-row",children:[a.jsx("div",{className:"career-head-icon",children:a.jsx(zb,{size:19,strokeWidth:1.8})}),a.jsx("h1",{children:"Karriereagent"})]}),a.jsx("p",{className:"career-head-kicker",children:"Din Karriereagent Foreslår"}),a.jsx("p",{className:"career-head-desc",children:"Boost din profil ved hjælp af kunstig intelligens. Forslagene er udvalgt til din profil ud fra analyser af over 100.000+ jobopslag og dit nuværende CV."})]}),a.jsxs("div",{className:"career-grid",children:[a.jsxs("aside",{className:"career-agents-col",children:[a.jsxs("div",{className:"career-agents-head",children:[a.jsx("h2",{children:"Mine agenter"}),a.jsxs("button",{type:"button",children:[a.jsx(Kx,{size:16,strokeWidth:1.8})," Tilføj ny agent"]})]}),a.jsx("div",{className:"career-agents-list custom-scrollbar",children:J.map(X=>a.jsxs("button",{type:"button",className:Y===X?"active":"",onClick:()=>q(X),children:[a.jsx("span",{children:X}),Y===X?a.jsx("i",{}):null]},X))})]}),a.jsxs("section",{className:"career-reco-col",children:[a.jsxs("div",{className:"career-reco-head",children:[a.jsxs("h2",{children:["Viser anbefalinger for",a.jsx("span",{children:Y||"Ministerialbetjent"})]}),a.jsxs("button",{type:"button",children:[a.jsx(mf,{size:14,strokeWidth:1.8})," Filtrer"]})]}),S?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,a.jsx("div",{className:"career-cards custom-scrollbar",children:ne.map((X,te)=>{const ae=Pb(X.improvementType||"qualification"),Z=Ib(X.jobChanceIncrease||0),D=ev(X.improvementType||"qualification");return a.jsxs("article",{className:"career-card",children:[a.jsx("div",{className:"career-card-glow"}),a.jsx("div",{className:"career-card-wand",children:a.jsx(Ps,{size:16,strokeWidth:1.8})}),a.jsxs("div",{className:"career-card-content",children:[a.jsx("div",{className:`career-card-icon ${D}`,children:a.jsx(ae,{size:18,strokeWidth:1.8})}),a.jsx("h3",{children:X.shortName||X.name}),a.jsxs("p",{className:`tone ${Z.kind}`,children:[Z.kind==="strong"?a.jsx(yf,{size:13,strokeWidth:1.8}):Z.kind==="neutral"?a.jsx(en,{size:13,strokeWidth:1.8}):a.jsx(mb,{size:13,strokeWidth:1.8}),Z.text]})]})]},`${X.name}-${te}`)})})]})]})]})]})}class av{constructor(i=qe){this.http=i}generateApplication(i,o,c,h){let g=E.backendApiV2+"1.0.0/client/ai_handler/create_my_application",y={isStar:i,jobId:o,language:c,userInput:h};return this.http.post(g,y)}listGeneratedJobApplications(i){let o=E.backendApiV2+"1.0.0/client/ai_handler/list_created_job_application/"+i;return this.http.get(o)}listPredefinedUserInput(){let i=E.backendApiV2+"1.0.0/client/ai_handler/list_predefined_user_input";return this.http.get(i)}getJobApplication(i){let o=E.backendApiV2+"1.0.0/client/ai_handler/"+i;return this.http.get(o)}updateMyCvDescriptions(i){let o=E.backendApiV2+"1.0.0/client/ai_handler/update_my_cv_descriptions",c={language:i};return this.http.post(o,c)}updateStatesOnMyCvDescription(i,o,c){let h=E.backendApiV2+"1.0.0/client/ai_handler/update_states_on_my_cv_descriptions/"+i,g={state:o,subState:c};return this.http.put(h,g)}getMyCvDescriptions(){let i=E.backendApiV2+"1.0.0/client/ai_handler/get_my_cv_descriptions";return this.http.get(i)}submitJobApplicationRating(i,o,c){let h=E.backendApiV2+"1.0.0/client/ai_handler/job_application_rating",g={ai_generated_job_application_id:i,rating:o,rating_text:c};return this.http.post(h,g)}startApplicationExamination(i){const o=E.backendApiV2+"1.0.0/client/ai_handler/create_application_examination",c={ai_generated_job_application_id:i};return this.http.post(o,c)}getApplicationExamination(i){const o=E.backendApiV2+"1.0.0/client/ai_handler/application_examination/"+encodeURIComponent(i);return this.http.get(o)}getApplicationExaminationByJobApplicationId(i){const o=E.backendApiV2+"1.0.0/client/ai_handler/application_examination_by_job_application/"+i;return this.http.get(o)}}class lv{constructor(i=qe){this.http=i}searchForCertification(i){let o=encodeURIComponent(i),c=E.backendApiV2+`1.0.0/client/certificate?search_text=${o}`;return this.http.get(c)}saveCertification(i){let o=E.backendApiV2+"1.0.0/client/candidate_certificate",c={qualification_id:i};return this.http.post(o,c)}updateCertification(i){let o=E.backendApiV2+"1.0.0/client/candidate_certificate/"+i.id,c=i;return this.http.put(o,c)}removeCertification(i){let o=E.backendApiV2+"1.0.0/client/candidate_certificate/"+i;return this.http.delete(o)}addUnknownCertificate(i){let o=E.backendApiV2+"1.0.0/client/certificate",c={certificate_name:i};return this.http.post(o,c)}}class sv{constructor(i=qe){this.http=i}sendMyCvToEmail(){let i=E.backendApi+"api/1.1.0/candidate/sendPdf",o={};return this.http.post(i,o)}getMyCv(){let i=E.backendApiV2+"1.0.0/client/candidate/pdf";return this.http.get(i,{responseType:"blob"})}getMyCvV2(i){let o=E.backendApiV2+"1.0.0/client/candidate/pdf_url?language="+i;return this.http.get(o)}generateCv(i){let o=E.backendApiV2+"1.0.0/client/candidate/generateCv",c={language:i};return this.http.post(o,c)}}class nv{constructor(i=qe,o=Fl){this.http=i,this.localStorageService=o}uploadCv(i,o){const c=E.backendApiV2+"1.0.0/client/cv_upload";return this.http.post(c,i,{headers:{Authorization:`Bearer ${o}`}})}getCvUploadData(){let i=E.backendApiV2+"1.0.0/client/cv_upload/get_upload_cv";return this.http.get(i)}setProfileTextToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/profile_text_is_done/"+i,c={};return this.http.put(o,c)}setExperienceToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/experience_is_done/"+i,c={};return this.http.put(o,c)}setEducationToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/education_is_done/"+i,c={};return this.http.put(o,c)}setQualificationToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/qualification_is_done/"+i,c={};return this.http.put(o,c)}setCertificateToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/certificate_is_done/"+i,c={};return this.http.put(o,c)}setLanguageToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/language_is_done/"+i,c={};return this.http.put(o,c)}setDriversLicenseToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/drivers_license_is_done/"+i,c={};return this.http.put(o,c)}setCvUploadToDone(i){let o=E.backendApiV2+"1.0.0/client/cv_upload/cv_is_done/"+i,c={};return this.http.put(o,c)}}class iv{constructor(i=qe){this.http=i}getAllDriverLicenses(){let i=E.backendApi+"api/1.1.0/driversLicenses";return this.http.get(i)}updateDriverLicense(i,o){let c=E.backendApi+"api/1.1.0/candidate/driversLicense/"+i,h={};return this.http.put(c,h)}removeLanguage(i){let o=E.backendApiV2+"1.0.0/client/candidate_drivers_license/"+i;return this.http.delete(o)}saveDriverLicense(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_drivers_license",h={level:o,drivers_license_id:i.id};return this.http.post(c,h)}saveDriverLicenseV2(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_drivers_license",h={level:i,drivers_license_id:o};return this.http.post(c,h)}}class rv{constructor(i=qe){this.http=i}searchForEducations(i){let o=E.backendApi+"api/1.1.0/educations/search/"+i;return this.http.get(o)}searchForSchools(i){let o=E.backendApi+"api/1.1.0/institutions/search/"+i;return this.http.get(o)}saveEducation(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_education",h={comments:i.comments,education_disced_15:i.education.disced15,from_date:i.fromDate,to_date:i.toDate,institution_number:i.institution?.instNumber,is_current:i.isCurrent,language:o};return this.http.post(c,h)}removeEducation(i){let o=E.backendApiV2+"1.0.0/client/candidate_education/"+i;return this.http.delete(o)}updateEducation(i,o,c){let h=E.backendApiV2+"1.0.0/client/candidate_education/"+i,g={comments:o.comments,from_date:o.fromDate,to_date:o.toDate,is_current:o.isCurrent,language:c};return this.http.put(h,g)}getEducationOccupationSuggestions(i){let o=E.backendApi+"api/1.1.0/educations/suggestions/occupation/"+i;return this.http.get(o)}saveUnknownEducation(i){let o=E.backendApiV2+"1.0.0/client/education/save_unknown_education",c={education_name:i};return this.http.post(o,c)}saveEducationV2(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_education",h={comments:i.comments,education_disced_15:i.education_disced_15,from_date:i.from_date,to_date:i.to_date,institution_number:i.institution_number,is_current:i.is_current,language:o};return this.http.post(c,h)}}class ov{constructor(i=qe){this.http=i}getAllLanguages(){let i=E.backendApi+"api/1.1.0/languages";return this.http.get(i)}saveLanguage(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_language",h={language_id:o.id,level:i};return this.http.post(c,h)}updateLanguage(i,o,c){let h=E.backendApiV2+"1.0.0/client/candidate_language/"+i,g={level:o};return this.http.put(h,g)}removeLanguage(i){let o=E.backendApiV2+"1.0.0/client/candidate_language/"+i;return this.http.delete(o)}saveLanguageV2(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_language",h={language_id:o,level:i};return this.http.post(c,h)}}class cv{constructor(i=qe){this.http=i}searchForQualification(i){let o=E.backendApi+"api/1.1.0/qualifications/type/3/search/"+i;return this.http.get(o)}updateQualification(i,o){let c=E.backendApiV2+"1.0.0/client/candidate_qualification/"+i,h={level:o};return this.http.put(c,h)}saveQualification(i){let o=E.backendApiV2+"1.0.0/client/candidate_qualification",c={level:i.level,qualification_id:i.qualification.id};return this.http.post(o,c)}removeQualification(i){let o=E.backendApiV2+"1.0.0/client/candidate_qualification/"+i;return this.http.delete(o)}getQualificationsOccupationSuggestions(i,o){let c=E.backendApi+"api/1.1.0/qualifications/type/"+o+"/suggestions/occupation/"+i;return this.http.get(c)}addUnknownQualification(i){let o=E.backendApi+"api/1.1.0/qualifications/type/3/fromCandidate",c={name:i,type:3};return this.http.post(o,c)}saveQualificationV2(i){let o=E.backendApiV2+"1.0.0/client/candidate_qualification",c={level:i.level,qualification_id:i.qualification_id};return this.http.post(o,c)}}class dv{constructor(i=qe){this.http=i}addUnknownOccupation(i){let o=E.backendApi+"api/1.1.0/occupations/fromCandidate",c={name:i};return this.http.post(o,c)}}class uv{constructor(i=qe){this.http=i}saveUnknownInstitution(i){let o=E.backendApiV2+"1.0.0/client/institution/save_unknown_institution",c={institution_name:i};return this.http.post(o,c)}}class mv{constructor(i=new ol,o=new sv,c=new nv,h=new Mi,g=new av,y=new rv,V=new cv,M=new lv,j=new ov,T=new iv,S=new kf,H=new dv,Y=new uv,q=Fl){this.candidateService=i,this.cvService=o,this.cvUploadService=c,this.subscriptionService=h,this.aiHandlerService=g,this.educationService=y,this.qualificationService=V,this.certificationService=M,this.languageService=j,this.driverLicenseService=T,this.escoService=S,this.occupationService=H,this.institutionService=Y,this.localStorageService=q}escosCache=null;async getSnapshot(){const[i,o,c,h,g,y,V,M,j,T]=await Promise.allSettled([this.candidateService.getCandidate(),this.candidateService.getCandidatesExperiences(),this.candidateService.getCandidatesEducations(),this.candidateService.getCandidatesQualifications(),this.candidateService.getCandidatesCertifications(),this.candidateService.getCandidatesLanguages(),this.candidateService.getCandidatesDriverLicenses(),this.subscriptionService.getPaymentOverview(),this.cvUploadService.getCvUploadData(),this.aiHandlerService.getMyCvDescriptions()]);return{candidate:i.status==="fulfilled"?i.value:null,experiences:o.status==="fulfilled"?o.value:[],educations:c.status==="fulfilled"?c.value:[],skills:h.status==="fulfilled"?h.value:[],certifications:g.status==="fulfilled"?g.value:[],languages:y.status==="fulfilled"?y.value:[],driverLicenses:V.status==="fulfilled"?V.value:[],paymentOverview:M.status==="fulfilled"?M.value:null,cvUploadData:j.status==="fulfilled"?j.value:null,aiGeneratedCVDescription:T.status==="fulfilled"&&T.value?.id?T.value:null}}async setActiveSeeker(i,o,c){const h={...i,isActive:o};return this.candidateService.updateCandidate(h,c)}async updateCandidate(i,o){return this.candidateService.updateCandidate(i,o)}async generateCv(i){await this.cvService.generateCv(i)}async getCvDownloadUrl(i){return(await this.cvService.getMyCvV2(i)).url}async uploadCv(i,o){const c=await this.localStorageService.getAuthToken();if(!c)throw new Error("No auth token found.");await this.cvUploadService.uploadCv({base_64_cv_file:i,cv_file_type:o},c)}async optimizeCv(i){await this.aiHandlerService.updateMyCvDescriptions(i)}async updateExperience(i,o){await this.candidateService.updateExperience(i,o)}async updateEducation(i,o){const c={comments:i.comments,education:i.education,institution:i.institution,fromDate:new Date(i.fromDate),toDate:new Date(i.toDate),isCurrent:i.isCurrent};await this.educationService.updateEducation(i.id,c,o)}async updateCertification(i){await this.certificationService.updateCertification(i)}async updateLanguage(i){const o={id:i.language.id,isO639:i.language.isO639,name:i.language.name,ownName:i.language.ownName,priority:i.language.priority};await this.languageService.updateLanguage(i.id,i.level,o)}async removeExperience(i){await this.candidateService.removeExperience(i)}async removeEducation(i){await this.educationService.removeEducation(i)}async removeQualification(i){await this.qualificationService.removeQualification(i)}async removeCertification(i){await this.certificationService.removeCertification(i)}async removeLanguage(i){await this.languageService.removeLanguage(i)}async removeDriverLicense(i){await this.driverLicenseService.removeLanguage(i)}async getEscoSuggestions(i,o=25){this.escosCache||(this.escosCache=await this.escoService.listAllEscos());const c=i.trim().toLowerCase();return c?this.escosCache.filter(h=>h.preferedLabelDa.toLowerCase().includes(c)).slice(0,o):this.escosCache.slice(0,o)}async getLanguageOptions(){return(await this.languageService.getAllLanguages()).allLanguages??[]}async getDriverLicenseOptions(){return this.driverLicenseService.getAllDriverLicenses()}async createExperience(i,o){let c=i.escoId??null;if(!c&&i.occupationName?.trim()&&(c=(await this.occupationService.addUnknownOccupation(i.occupationName.trim())).id),!c)throw new Error("Vælg eller opret en stilling først.");await this.candidateService.saveExperienceV2({companyName:i.companyName,comments:i.comments,fromDate:i.fromDate,toDate:i.toDate,isCurrent:i.isCurrent,escoId:c},o)}async createEducation(i,o){let c=i.educationDisced15??null;if(!c&&i.educationName?.trim()&&(c=(await this.educationService.saveUnknownEducation(i.educationName)).disced15),!c)throw new Error("Vælg eller opret en uddannelse først.");let h=i.institutionNumber;!h&&i.institutionName?.trim()&&(h=(await this.institutionService.saveUnknownInstitution(i.institutionName.trim())).inst_number),await this.educationService.saveEducationV2({comments:i.comments,institution_number:h,from_date:i.fromDate,to_date:i.toDate,education_disced_15:c,is_current:i.isCurrent},o)}async createCertification(i){let o=i.certificateId??null;if(!o&&i.certificateName?.trim()&&(o=(await this.certificationService.addUnknownCertificate(i.certificateName.trim())).certificate_id),!o)throw new Error("Vælg eller opret et certifikat først.");await this.certificationService.saveCertification(o)}async createLanguage(i,o){await this.languageService.saveLanguageV2(o,i)}async getQualificationSuggestions(i){const o=i.trim();return o?this.qualificationService.searchForQualification(o):[]}async createQualification(i){let o=i.qualificationId?.trim()||"";if(!o&&i.qualificationName?.trim()&&(o=(await this.qualificationService.addUnknownQualification(i.qualificationName.trim())).id),!o)throw new Error("Vælg eller opret en kvalifikation først.");await this.qualificationService.saveQualificationV2({qualification_id:o,level:i.level})}async getEducationSuggestions(i){const o=i.trim();return o?this.educationService.searchForEducations(o):[]}async getSchoolSuggestions(i){const o=i.trim();return o?this.educationService.searchForSchools(o):[]}async getCertificationSuggestions(i){const o=i.trim();return o?this.certificationService.searchForCertification(o):[]}async createDriverLicense(i,o){await this.driverLicenseService.saveDriverLicenseV2(o,i)}}const hv={candidate:null,experiences:[],educations:[],skills:[],certifications:[],languages:[],driverLicenses:[],paymentOverview:null,cvUploadData:null,aiGeneratedCVDescription:null},fv=[{id:"e1",title:"Senior Frontend-udvikler",company:"Lunar",from:"2020-08-01",to:null,description:"Udvikling og vedligeholdelse af core-features i bankens app samt performance-optimering."},{id:"e2",title:"Web-udvikler",company:"Trustpilot",from:"2017-01-01",to:"2020-07-01",description:"Udviklede dashboards og analysevaerktojer i taet samarbejde med UX-teamet."}],gv=[{id:"ed1",title:"Cand.it i Webudvikling",school:"IT-Universitetet i Kobenhavn",from:"2013-08-01",to:"2015-06-01",description:"Specialisering i webteknologier, databaser og brugercentreret design."},{id:"ed2",title:"Datamatiker",school:"KEA - Kobenhavns Erhvervsakademi",from:"2010-08-01",to:"2013-06-01",description:"Softwarekonstruktion, systemarkitektur og programmering i Java og C#."}];function _i(d){if(!d)return null;const i=d instanceof Date?d:new Date(d);return Number.isNaN(i.getTime())?null:i}function Xh(d){const i=_i(d);return i?new Intl.DateTimeFormat("da-DK",{month:"short",year:"numeric"}).format(i):"Ukendt"}function Kh(d,i,o){const c=Xh(d),h=o?"Nu":Xh(i);return`${c} - ${h}`}function xv(d){const i=_i(d);return i?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(i):"Ikke angivet"}function Zh(d){return[...d].sort((i,o)=>{const c=_i(i.fromDate)?.getTime()??0;return(_i(o.fromDate)?.getTime()??0)-c})}function pv(d){return d.qualification?.name||"Kvalifikation"}function bv(d){return d.qualification?.name||d.levelName||"Certificering"}function vv(d){return d.driversLicense?.name||d.levelName||"Korekort"}function yv(d){return d.levelName||"Niveau ukendt"}function jv({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=v.useMemo(()=>new mv,[]),[g,y]=v.useState("standard"),[V,M]=v.useState(hv),[j,T]=v.useState(!0);v.useEffect(()=>{let D=!0;return h.getSnapshot().then(W=>{D&&M(W)}).finally(()=>{D&&T(!1)}),()=>{D=!1}},[h]);const S=V.candidate,H=S?.firstName?.trim()||S?.name?.trim()||"Lasse",Y=S?.firstName||"Lasse",q=S?.lastName||"Hansen",J=S?.imageUrl||S?.image||"",oe=V.experiences.length>0?Zh(V.experiences):[],ie=V.educations.length>0?Zh(V.educations):[],ne=V.skills,X=V.languages,te=V.certifications,ae=V.driverLicenses,Z=X.length>0?X.map(D=>({id:D.id,name:D.language?.name||"Sprog",level:yv(D)})):[{id:"da",name:"Dansk",level:"Modersmal"},{id:"en",name:"Engelsk",level:"Flydende"}];return a.jsxs("section",{className:`dash-root ${c==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"cv",onNavigate:i}),a.jsxs("main",{className:`dash-main custom-scrollbar cv-page ${g==="reference"?"cv-design-reference":""}`,children:[a.jsx(Ft,{name:H,imageUrl:J||void 0,onLogout:d,theme:c,onToggleTheme:o,actions:a.jsxs("button",{type:"button",className:"cv-design-toggle",onClick:()=>y(D=>D==="standard"?"reference":"standard"),children:[g==="reference"?a.jsx(ff,{size:16,strokeWidth:1.8}):a.jsx(gf,{size:16,strokeWidth:1.8}),a.jsx("span",{children:g==="reference"?"Skift til standard design":"Skift til reference design"})]})}),a.jsxs("div",{className:"cv-head",children:[a.jsx("div",{children:a.jsx("h1",{children:"Dit CV"})}),a.jsxs("button",{type:"button",className:"cv-edit-btn",children:[a.jsx(Qp,{size:16,strokeWidth:1.8})," Rediger CV"]})]}),j?a.jsx("p",{className:"dash-loading",children:"Indlaeser CV..."}):null,a.jsxs("div",{className:"cv-layout",children:[a.jsxs("div",{className:"cv-left",children:[a.jsxs("article",{className:"cv-card",children:[a.jsx("div",{className:"cv-avatar-wrap",children:J?a.jsx("img",{src:J,alt:H,className:"cv-avatar"}):a.jsx("div",{className:"cv-avatar cv-avatar-fallback",children:H.slice(0,1).toUpperCase()})}),a.jsxs("div",{className:"cv-section-head",children:[a.jsx(Kl,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Personlige oplysninger"})]}),a.jsxs("div",{className:"cv-personal-list",children:[a.jsxs("div",{children:[a.jsx("span",{children:"Fornavn"}),a.jsx("strong",{children:Y})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Efternavn"}),a.jsx("strong",{children:q})]}),a.jsxs("div",{children:[a.jsx("span",{children:"E-mail"}),a.jsx("strong",{children:S?.email||"lasse@eksempel.dk"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Telefon"}),a.jsx("strong",{children:S?.phoneNumber||"+45 12 34 56 78"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Fodselsdato"}),a.jsx("strong",{children:xv(S?.birthday)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kon"}),a.jsx("strong",{children:S?.gender||"Mand"})]})]})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(Sc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Kvalifikationer"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(ne.length>0?ne.map(pv):["HTML & CSS","Tailwind CSS","JavaScript","React","UI/UX Design"]).slice(0,12).map(D=>a.jsx("span",{className:"cv-chip",children:D},D))})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(Ci,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Sprog"})]}),a.jsx("div",{className:"cv-language-list",children:Z.map(D=>a.jsxs("div",{children:[a.jsx("strong",{children:D.name}),a.jsx("span",{children:D.level})]},D.id))})]}),a.jsxs("div",{className:"cv-mini-grid",children:[a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(cf,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Certificeringer"})]}),a.jsxs("ul",{className:"cv-list",children:[(te.length>0?te:[]).slice(0,4).map(D=>a.jsxs("li",{children:[a.jsx($e,{size:15,strokeWidth:1.8})," ",bv(D)]},D.id)),te.length===0?a.jsxs(a.Fragment,{children:[a.jsxs("li",{children:[a.jsx($e,{size:15,strokeWidth:1.8})," AWS Certified Developer"]}),a.jsxs("li",{children:[a.jsx($e,{size:15,strokeWidth:1.8})," Certificeret Scrum Master"]})]}):null]})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(uf,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Korekort"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(ae.length>0?ae.map(vv):["B (Almindelig bil)","A (Motorcykel)"]).map(D=>a.jsx("span",{className:"cv-chip",children:D},D))})]})]})]}),a.jsxs("div",{className:"cv-right",children:[a.jsxs("section",{children:[a.jsxs("div",{className:"cv-timeline-head",children:[a.jsx("div",{className:"cv-timeline-icon",children:a.jsx(wc,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Erhvervserfaring"})]}),a.jsx("div",{className:"cv-timeline",children:(oe.length>0?oe:fv).map((D,W)=>{const $="occupation"in D?D.occupation?.name||"Stilling":D.title,P="companyName"in D?D.companyName:D.company,ce="comments"in D?D.comments:D.description,me="fromDate"in D?D.fromDate:D.from,De="toDate"in D?D.toDate:D.to,Ne="isCurrent"in D?!!D.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(pc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:$}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:P}),a.jsx("span",{children:Kh(me,De,Ne)})]}),a.jsx("p",{children:ce||"Ingen beskrivelse."})]})]},"id"in D?String(D.id):`exp-${W}`)})})]}),a.jsx("div",{className:"cv-divider"}),a.jsxs("section",{children:[a.jsxs("div",{className:"cv-timeline-head",children:[a.jsx("div",{className:"cv-timeline-icon",children:a.jsx(hf,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Uddannelse"})]}),a.jsx("div",{className:"cv-timeline",children:(ie.length>0?ie:gv).map((D,W)=>{const $="education"in D?D.education?.name||"Uddannelse":D.title,P="institution"in D?D.institution?.name||"Institution":D.school,ce="comments"in D?D.comments:D.description,me="fromDate"in D?D.fromDate:D.from,De="toDate"in D?D.toDate:D.to,Ne="isCurrent"in D?!!D.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(pc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:$}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:P}),a.jsx("span",{children:Kh(me,De,Ne)})]}),a.jsx("p",{children:ce||"Ingen beskrivelse."})]})]},"id"in D?String(D.id):`edu-${W}`)})})]})]})]})]})]})}class kv{constructor(i=qe){this.http=i}getNotificationSetting(){const i=E.backendApiV2+"2.0.0/client/notification/settings";return this.http.get(i)}createNotificationSetting(i){const o=E.backendApiV2+"2.0.0/client/notification/settings";return this.http.post(o,i)}updateNotificationSetting(i,o){const c=E.backendApiV2+"2.0.0/client/notification/settings/"+i;return this.http.put(c,o)}deleteNotificationSetting(i){const o=E.backendApiV2+"2.0.0/client/notification/settings/"+i;return this.http.delete(o)}getNewNotificationCount(){let i=E.backendApiV2+"1.0.0/client/notification/unseen_notifications";return this.http.get(i)}getNotifications(i,o){let c=E.backendApiV2+"1.0.0/client/notification/"+i+"/"+o;return this.http.get(c)}notificationSeenByUser(i){let o=E.backendApiV2+"1.0.0/client/notification/seen_by_user/"+i,c={};return this.http.put(o,c)}}class Ac{constructor(i=qe,o=Fl){this.http=i,this.localStorage=o}listSimulationPersonalities(){let i=E.backendApiV2+"client/simulation/1.0.0/list_simulation_personalities",o=new rl().set("language","da");return this.http.get(i,{params:o})}getInterviewEvaluation(i){const o=E.backendApiV2+`client/simulation/1.0.0/interview_evaluation/${i}`;return this.http.get(o)}listInterviews(i=20,o=0){const c=E.backendApiV2+"client/job_simulator/1.0.0/list_interviews",h=new rl().set("limit",i.toString()).set("offset",o.toString());return this.http.get(c,{params:h})}submitEvaluationRating(i,o,c){const h=E.backendApiV2+"client/simulation/1.0.0/evaluation_rating",g={interview_id:i,rating:o,rating_text:c};return this.http.post(h,g)}submitInterviewRating(i,o,c){const h=E.backendApiV2+"client/simulation/1.0.0/interview_rating",g={interview_id:i,rating:o,rating_text:c};return this.http.post(h,g)}}class Nv{constructor(i=qe){this.http=i}chatMessageThreads=[];getChatMessages(){let i=E.backendApi+"api/1.1.0/chatMessages/forCandidate/";return this.http.get(i)}sendMessage(i){let o=E.backendApi+"api/1.1.0/chatMessages/"+i.threadId+"/fromCandidate";return this.http.post(o,i)}markThreadRead(i){let o=E.backendApi+"api/1.1.0/chatMessages/markRead/"+i;return this.http.get(o)}}class wv{constructor(i=qe){this.http=i}getUnreadMessages(){let i=E.backendApi+"api/1.1.0/chatMessages/getUnreadCount";return this.http.get(i)}}function wi(d){if(!d)return 0;const o=(d instanceof Date?d:new Date(d)).getTime();return Number.isNaN(o)?0:o}function cc(d,i){const o=d?.timeSent?new Date(d.timeSent):new Date,c=d?.seen?new Date(d.seen):void 0;return{id:d?.id,threadId:d?.threadId??i,timeSent:o,fromCandidate:!!d?.fromCandidate,text:d?.text??"",seen:c}}class wf{constructor(i=new Nv,o=new wv,c=new ol){this.chatMessagesService=i,this.messageService=o,this.candidateService=c}async getCandidateProfile(){try{const i=await this.candidateService.getCandidate(),o=i.firstName?.trim()||i.name?.trim()||"Lasse",c=i.imageUrl||i.image||void 0;return{name:o,imageUrl:c}}catch{return{name:"Lasse"}}}async getThreads(){return(await this.chatMessagesService.getChatMessages()??[]).map(o=>{const c=(o.allMessages??[]).map(g=>cc(g,o.id));c.sort((g,y)=>wi(g.timeSent)-wi(y.timeSent));const h=o.latestMessage?cc(o.latestMessage,o.id):c[c.length-1]??cc(void 0,o.id);return{...o,allMessages:c,latestMessage:h}}).sort((o,c)=>wi(c.latestMessage?.timeSent)-wi(o.latestMessage?.timeSent))}async getUnreadCount(){const i=await this.messageService.getUnreadMessages();return Number(i?.unreadCount??0)}async sendMessage(i,o){const c={threadId:i,text:o.trim(),fromCandidate:!0,timeSent:new Date};return this.chatMessagesService.sendMessage(c)}async markThreadReadByMessageId(i){i&&await this.chatMessagesService.markThreadRead(i)}}function Is(d){return typeof d=="object"&&d!==null?d:null}function Ht(d){return typeof d=="string"?d:""}function Sv(d){return typeof d=="number"?d:null}function _v(d){const i=Is(d);if(!i)return null;const c=Is(i.jobPosting)??i,h=Ht(c.id);return h?{id:h,title:Ht(c.title),companyName:Ht(c.companyName),address:Ht(c.address),applicationDeadline:Ht(c.applicationDeadline),candidateDistance:Sv(c.candidateDistance),fromJobnet:!!c.fromJobnet,logoUrl:Ht(c.logoUrl),companyLogoImage:Ht(c.companyLogoImage)}:null}function Av(d){const i=Is(d);return(Array.isArray(i?.interviews)?i.interviews:[]).map(c=>{const h=Is(c);if(!h)return null;const g=Ht(h.id);return g?{id:g,jobName:Ht(h.job_name)||"Interview",companyName:Ht(h.company_name)||null,interviewDate:Ht(h.interview_date)||null,recommendation:Ht(h.recommendation)||null,isCompleted:!!h.is_completed}:null}).filter(c=>!!c).sort((c,h)=>{const g=c.interviewDate?new Date(c.interviewDate).getTime():0;return(h.interviewDate?new Date(h.interviewDate).getTime():0)-g}).slice(0,5)}function zv(d){const i=Is(d);return i?Array.isArray(i.searchList)?i.searchList:[]:[]}class Dv{constructor(i=new ol,o=new kv,c=new _c,h=new Mi,g=new Ac,y=new wf){this.candidateService=i,this.notificationService=o,this.jobService=c,this.subscriptionService=h,this.simulationService=g,this.messagesViewModel=y}async loadInitialData(){const[i,o,c,h,g,y]=await Promise.allSettled([this.candidateService.getCandidate(),this.notificationService.getNotifications(0,5),this.messagesViewModel.getThreads(),this.loadBestJobs(),this.subscriptionService.getPaymentOverview(),this.simulationService.listInterviews(5,0)]);return{candidate:i.status==="fulfilled"?i.value:null,notifications:o.status==="fulfilled"?o.value.slice(0,5):[],messages:c.status==="fulfilled"?c.value.slice(0,5):[],bestJobs:h.status==="fulfilled"?h.value:[],subscription:g.status==="fulfilled"?g.value:null,evaluations:y.status==="fulfilled"?Av(y.value):[]}}async loadBestJobs(){const i=await this.jobService.getJobsV2(10,0,5,[]);return zv(i).map(c=>_v(c)).filter(c=>!!c).slice(0,5)}}const Cv={bestJobs:[],candidate:null,evaluations:[],messages:[],notifications:[],subscription:null};function Wh(d){return d.trim().slice(0,1).toUpperCase()||"A"}function Tv({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=v.useMemo(()=>new Dv,[]),[y,V]=v.useState(Cv),[M,j]=v.useState(!0);v.useEffect(()=>{let H=!0;return g.loadInitialData().then(Y=>{H&&V(Y)}).finally(()=>{H&&j(!1)}),()=>{H=!1}},[g]);const T=y.candidate?.firstName?.trim()||y.candidate?.name?.trim()||"Lasse",S=y.candidate?.imageUrl||y.candidate?.image||"";return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"dashboard",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(Ft,{name:T,imageUrl:S||void 0,onLogout:d,theme:h,onToggleTheme:c}),a.jsxs("div",{className:"dash-welcome",children:[a.jsxs("h1",{children:["Velkommen tilbage ",T," ",a.jsx("span",{children:"👋"})]}),a.jsx("p",{children:"Her er, hvad der sker med din jobsøgning i dag."})]}),M?a.jsx("p",{className:"dash-loading",children:"Indlaeser dashboard..."}):null,a.jsxs("div",{className:"dash-grid",children:[a.jsxs("div",{className:"dash-grid-main",children:[a.jsxs("article",{className:"dash-card",children:[a.jsx("div",{className:"dash-card-head",children:a.jsx("h2",{children:"Anbefalet til dig"})}),a.jsx("div",{className:"dash-job-list",children:(y.bestJobs.length>0?y.bestJobs:[{id:"d1",title:"Senior Frontend-udvikler",companyName:"Lunar",address:"Kobenhavn, DK",applicationDeadline:"",candidateDistance:null,fromJobnet:!1,logoUrl:"",companyLogoImage:""},{id:"d2",title:"React-udvikler",companyName:"Pleo",address:"Remote",applicationDeadline:"",candidateDistance:null,fromJobnet:!1,logoUrl:"",companyLogoImage:""}]).slice(0,5).map(H=>a.jsxs("div",{className:"dash-job-item",role:"button",tabIndex:0,onClick:()=>o(H.id,!!H.fromJobnet,"dashboard"),onKeyDown:Y=>{(Y.key==="Enter"||Y.key===" ")&&(Y.preventDefault(),o(H.id,!!H.fromJobnet,"dashboard"))},children:[a.jsxs("div",{className:"dash-job-left",children:[a.jsx("div",{className:"dash-company-chip",children:Wh(H.companyName)}),a.jsxs("div",{children:[a.jsx("h4",{children:H.title}),a.jsxs("p",{children:[H.companyName," • ",H.address||"Lokation ikke angivet"]})]})]}),a.jsx("button",{type:"button",className:"dash-job-arrow-btn","aria-label":"Se job",onClick:Y=>{Y.stopPropagation(),o(H.id,!!H.fromJobnet,"dashboard")},children:a.jsx(il,{size:16,strokeWidth:1.8})})]},H.id))})]}),a.jsxs("div",{className:"dash-split-grid",children:[a.jsxs("article",{className:"dash-card",children:[a.jsx("h3",{children:"Seneste beskeder"}),a.jsxs("div",{className:"dash-message-list",children:[(y.messages.length>0?y.messages:[]).slice(0,5).map(H=>a.jsxs("div",{className:"dash-message-item",children:[a.jsx("div",{className:"dash-avatar",children:Wh(H.companyName||"A")}),a.jsxs("div",{children:[a.jsx("h4",{children:H.companyName||"Samtale"}),a.jsx("p",{children:H.latestMessage?.text||"Ingen besked endnu"})]})]},H.id)),y.messages.length===0?a.jsx("p",{className:"dash-muted",children:"Ingen beskeder endnu."}):null]})]}),a.jsxs("article",{className:"dash-card",children:[a.jsxs("div",{className:"dash-card-head dash-card-head-inline",children:[a.jsx("h3",{children:"Seneste simuleringer"}),a.jsx("button",{type:"button",className:"dash-icon-btn",children:a.jsx(Wp,{size:16,strokeWidth:1.8})})]}),a.jsxs("div",{className:"dash-sim-list",children:[a.jsxs("div",{className:"dash-sim-item",children:[a.jsxs("div",{className:"dash-sim-left",children:[a.jsx("span",{className:"dash-sim-icon teal",children:a.jsx(gc,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:"Teknisk samtale"}),a.jsx("p",{children:"Frontend-fokus"})]})]}),a.jsxs("div",{className:"dash-sim-right",children:[a.jsx("strong",{children:"92/100"}),a.jsx("div",{className:"dash-progress",children:a.jsx("span",{style:{width:"92%"}})})]})]}),a.jsxs("div",{className:"dash-sim-item",children:[a.jsxs("div",{className:"dash-sim-left",children:[a.jsx("span",{className:"dash-sim-icon purple",children:a.jsx(_b,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:"Kulturelt match"}),a.jsx("p",{children:"Lunar Bank"})]})]}),a.jsxs("div",{className:"dash-sim-right",children:[a.jsx("strong",{children:"88/100"}),a.jsx("div",{className:"dash-progress",children:a.jsx("span",{style:{width:"88%"}})})]})]}),a.jsxs("div",{className:"dash-sim-item",children:[a.jsxs("div",{className:"dash-sim-left",children:[a.jsx("span",{className:"dash-sim-icon amber",children:a.jsx($p,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:"Systemdesign"}),a.jsx("p",{children:"Arkitektur"})]})]}),a.jsxs("div",{className:"dash-sim-right",children:[a.jsx("strong",{className:"warn",children:"65/100"}),a.jsx("div",{className:"dash-progress",children:a.jsx("span",{className:"warn",style:{width:"65%"}})})]})]}),a.jsxs("div",{className:"dash-sim-item",children:[a.jsxs("div",{className:"dash-sim-left",children:[a.jsx("span",{className:"dash-sim-icon blue",children:a.jsx(gc,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:"Live-kodning"}),a.jsx("p",{children:"React.js"})]})]}),a.jsxs("div",{className:"dash-sim-right",children:[a.jsx("strong",{children:"95/100"}),a.jsx("div",{className:"dash-progress",children:a.jsx("span",{style:{width:"95%"}})})]})]}),a.jsxs("div",{className:"dash-sim-item",children:[a.jsxs("div",{className:"dash-sim-left",children:[a.jsx("span",{className:"dash-sim-icon gray",children:a.jsx(pf,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:"HR-screening"}),a.jsx("p",{children:"Generelt"})]})]}),a.jsxs("div",{className:"dash-sim-right",children:[a.jsx("strong",{className:"na",children:"N/A"}),a.jsx("div",{className:"dash-progress"})]})]})]})]})]})]}),a.jsxs("div",{className:"dash-grid-side",children:[a.jsxs("article",{className:"dash-card dash-ai-card dash-ai-card-group",children:[a.jsx("div",{className:"dash-ai-peel"}),a.jsxs("div",{className:"dash-ai-content",children:[a.jsxs("div",{className:"dash-ai-head",children:[a.jsx(Ps,{size:22,strokeWidth:1.8}),a.jsx("h3",{children:"AI-indsigter til dit CV"})]}),a.jsx("p",{children:"Vi analyserede dit seneste CV op imod dine målroller."}),a.jsxs("ul",{className:"dash-ai-list",children:[a.jsxs("li",{className:"dash-ai-item",children:[a.jsx("span",{className:"dash-ai-item-icon",children:a.jsx(Sx,{size:13,strokeWidth:2})}),a.jsxs("div",{children:[a.jsx("strong",{children:"Kvantificer dine resultater"}),a.jsx("small",{children:'Tilføj tal til din rolle hos TechCorp (f.eks. \\"Forbedrede loadhastighed med 40%\\").'})]})]}),a.jsxs("li",{className:"dash-ai-item",children:[a.jsx("span",{className:"dash-ai-item-icon",children:a.jsx(kx,{size:13,strokeWidth:2})}),a.jsxs("div",{children:[a.jsx("strong",{children:"Omorganiser dine færdigheder"}),a.jsx("small",{children:"Flyt React & TypeScript til toppen baseret på aktive Jobagenter."})]})]}),a.jsxs("li",{className:"dash-ai-item",children:[a.jsx("span",{className:"dash-ai-item-icon",children:a.jsx(ip,{size:13,strokeWidth:2})}),a.jsxs("div",{children:[a.jsx("strong",{children:"Tilføj manglende nøgleord"}),a.jsx("small",{children:'Inkluder \\"Tailwind CSS\\" for at matche 85% af dine anbefalede jobs.'})]})]}),a.jsxs("li",{className:"dash-ai-item dash-ai-xl-only",children:[a.jsx("span",{className:"dash-ai-item-icon",children:a.jsx(vf,{size:13,strokeWidth:2})}),a.jsxs("div",{children:[a.jsx("strong",{children:"Omskriv dit resumé"}),a.jsx("small",{children:"Gør din målsætning mere handlingsorienteret."})]})]}),a.jsxs("li",{className:"dash-ai-item dash-ai-xl-only",children:[a.jsx("span",{className:"dash-ai-item-icon",children:a.jsx(Sp,{size:13,strokeWidth:2})}),a.jsxs("div",{children:[a.jsx("strong",{children:"Opdater porteføljelink"}),a.jsx("small",{children:"Dit GitHub-link gav en 404-fejl i vores test."})]})]})]}),a.jsx("button",{type:"button",children:"Anvend alle ændringer"})]})]}),a.jsxs("article",{className:"dash-card",children:[a.jsxs("div",{className:"dash-card-head dash-card-head-inline",children:[a.jsx("h3",{children:"Aktive Jobagenter"}),a.jsx("button",{type:"button",className:"dash-icon-btn",children:a.jsx(bf,{size:16,strokeWidth:1.8})})]}),a.jsxs("div",{className:"dash-agent-list",children:[a.jsxs("div",{className:"dash-agent-item",children:[a.jsxs("div",{children:[a.jsx("span",{children:"Frontend-udvikler"}),a.jsxs("small",{children:[a.jsx($s,{size:13,strokeWidth:1.8})," Kobenhavn"]})]}),a.jsxs("label",{className:"dash-switch",children:[a.jsx("input",{type:"checkbox",defaultChecked:!0}),a.jsx("span",{})]})]}),a.jsxs("div",{className:"dash-agent-item",children:[a.jsxs("div",{children:[a.jsx("span",{children:"React-udvikler"}),a.jsxs("small",{children:[a.jsx(bc,{size:13,strokeWidth:1.8})," Remote (EU)"]})]}),a.jsxs("label",{className:"dash-switch",children:[a.jsx("input",{type:"checkbox",defaultChecked:!0}),a.jsx("span",{})]})]}),a.jsxs("div",{className:"dash-agent-item muted",children:[a.jsxs("div",{children:[a.jsx("span",{children:"UI/UX-designer"}),a.jsxs("small",{children:[a.jsx($s,{size:13,strokeWidth:1.8})," Aarhus"]})]}),a.jsxs("label",{className:"dash-switch",children:[a.jsx("input",{type:"checkbox"}),a.jsx("span",{})]})]})]}),a.jsx("button",{type:"button",className:"dash-outline-btn",children:"Opret ny agent"})]})]})]})]})]})}function tn(){return a.jsx("footer",{className:"bg-white/60 backdrop-blur-xl border-t border-white/80 mt-10 pt-16 pb-12 relative z-10 shadow-[0_-10px_40px_rgba(0,0,0,0.02)]",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-10 mb-16",children:[a.jsxs("div",{className:"col-span-2 lg:col-span-2",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-2 mb-6 group outline-none inline-flex",children:[a.jsxs("svg",{viewBox:"0 0 100 100",className:"w-8 h-8 rounded-lg shadow-sm transition-transform group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"siteFooterLogoBg",x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:"siteFooterLogoFg",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:"url(#siteFooterLogoBg)"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:"url(#siteFooterLogoFg)"})]}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed max-w-xs mb-6 drop-shadow-sm",children:"Danmarks nye, intelligente jobportal, der bringer virksomheder og talent sammen gennem avanceret AI-teknologi."})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900 mb-5",children:"Sådan virker det"}),a.jsxs("ul",{className:"space-y-3",children:[a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"For virksomheder"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"For jobsøgere"})}),a.jsx("li",{children:a.jsx("a",{href:"/pricing",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Priser"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"FAQ"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Nyhedsbrev"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900 mb-5",children:"Opret dig"}),a.jsxs("ul",{className:"space-y-3",children:[a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Opret virksomhed"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Opret jobsøger"})}),a.jsx("li",{children:a.jsxs("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal flex items-center gap-2",children:["Download app ",a.jsx("span",{className:"px-2 py-0.5 bg-gradient-to-r from-gray-100 to-gray-50 border border-gray-200 text-xs font-medium text-gray-600 rounded",children:"Snart"})]})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900 mb-5",children:"Om Arbejd.com"}),a.jsxs("ul",{className:"space-y-3",children:[a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Vores mission"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Presse"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Kontakt"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Gratis hjælp"})}),a.jsx("li",{children:a.jsx("a",{href:"/stories",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Stories"})}),a.jsx("li",{children:a.jsx("a",{href:"/jobordbogen",className:"text-base text-gray-500 hover:text-gray-900 transition-colors font-normal",children:"Jobordbogen"})})]})]})]}),a.jsxs("div",{className:"pt-8 border-t border-gray-200/60 flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsx("p",{className:"text-sm text-gray-400 font-normal",children:"© 2026 Arbejd.com. Alle rettigheder forbeholdes."}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("a",{href:"#",className:"text-sm text-gray-400 hover:text-gray-900 transition-colors font-normal",children:"Privatlivspolitik"}),a.jsx("a",{href:"#",className:"text-sm text-gray-400 hover:text-gray-900 transition-colors font-normal",children:"Handelsbetingelser"}),a.jsx("a",{href:"#",className:"text-sm text-gray-400 hover:text-gray-900 transition-colors font-normal",children:"Cookies"})]})]})]})})}const Mv="/assets/screen1-DC5nwwU7.png",Ev="/assets/screen2-BZb_brya.png";function he({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}const Lv=["https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/60939fdba79df07cd812c88d_gws-logo-300x137.png","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b30145fcb24b0fbeed48_horse.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b30482be352ae620de93_St%C3%A6rmose.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b303b480060b735069de_plast-line.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b30019b62383f496b96e_DKM.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/608fa2bec9c901a64c864a6e_29a1c682_logo.jpeg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b302fde5303d3b057be1_JPD.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b300089747750fea09bd_find%20job%20abroad.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b302bd1bed78e2c84ebe_Midtfjord.svg"];function Ov(){const[d,i]=v.useState(!1),[o,c]=v.useState(!1),[h,g]=v.useState(!1);return v.useEffect(()=>{if(!d)return;const y=document.body.style.overflow;document.body.style.overflow="hidden";function V(M){M.key==="Escape"&&i(!1)}return window.addEventListener("keydown",V),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",V)}},[d]),v.useEffect(()=>{function y(){window.innerWidth>990&&i(!1)}return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[]),v.useEffect(()=>{function y(V){const M=V.target;M?.closest(".homepage-how-dropdown")||g(!1),M?.closest(".homepage-tips-dropdown")||c(!1)}return document.addEventListener("click",y),()=>document.removeEventListener("click",y)},[]),a.jsxs("div",{className:"homepage-react-root scroll-smooth bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar",children:[a.jsx("div",{className:"fixed top-[-15%] left-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-br from-teal-400/30 to-emerald-300/10 blur-[140px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-15%] right-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-tl from-indigo-500/20 to-purple-400/10 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[20%] right-[15%] w-[40vw] h-[40vw] rounded-full bg-gradient-to-tr from-cyan-400/20 to-blue-300/10 blur-[130px] pointer-events-none z-0"}),a.jsxs("nav",{className:"homepage-nav fixed top-0 inset-x-0 z-50 h-16 bg-white/20 backdrop-blur-2xl border-b border-white/50 shadow-[0_4px_30px_rgba(0,0,0,0.03)] flex items-center justify-between px-6 lg:px-12 transition-all",children:[a.jsxs("a",{href:"#",className:"flex items-center gap-2 group outline-none",children:[a.jsxs("svg",{viewBox:"0 0 100 100",className:"w-8 h-8 rounded-lg shadow-[0_4px_15px_rgba(49,103,201,0.2)] group-hover:shadow-[0_6px_20px_rgba(49,103,201,0.3)] transition-all group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"navLogoBg",x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:"navLogoFg",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:"url(#navLogoBg)"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:"url(#navLogoFg)"})]}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsxs("div",{className:"homepage-nav-links",children:[a.jsx("a",{href:"/pricing",className:"text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Priser"}),a.jsxs("div",{className:"homepage-how-dropdown",children:[a.jsxs("button",{type:"button",className:"homepage-how-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{g(y=>!y),c(!1)},"aria-expanded":h,children:["Sådan virker det",a.jsx(he,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${h?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:h?"homepage-how-menu open":"homepage-how-menu",children:[a.jsx("a",{href:"#",onClick:()=>g(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>g(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"homepage-tips-dropdown",children:[a.jsxs("button",{type:"button",className:"homepage-tips-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{c(y=>!y),g(!1)},"aria-expanded":o,children:["Tips og tricks",a.jsx(he,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${o?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:o?"homepage-tips-menu open":"homepage-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>c(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>c(!1),children:"Jobordbogen"})]})]})]}),a.jsxs("div",{className:"homepage-nav-actions",children:[a.jsx("a",{href:"#",className:"hidden sm:block text-base font-normal text-gray-700 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Log ind"}),a.jsx("a",{href:"#",className:"text-base font-normal text-white bg-gradient-to-r from-gray-900 to-gray-800 hover:from-gray-800 hover:to-gray-700 px-5 py-2.5 rounded-full transition-all shadow-[0_4px_15px_rgba(0,0,0,0.1)] outline-none border border-gray-700",children:"Opret dig"})]}),a.jsx("button",{type:"button",className:"homepage-nav-hamburger","aria-expanded":d,"aria-label":d?"Luk menu":"Åbn menu",onClick:()=>i(y=>!y),children:a.jsx(he,{icon:d?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),a.jsxs("div",{className:d?"homepage-nav-popup open":"homepage-nav-popup",children:[a.jsx("a",{href:"/pricing",onClick:()=>i(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: FAQ"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: Nyhedsbrev"}),a.jsx("a",{href:"/stories",onClick:()=>i(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>i(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"homepage-nav-popup-cta",onClick:()=>i(!1),children:"Opret dig"})]})]}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"relative pt-24 pb-32 px-6 lg:px-12 max-w-7xl mx-auto flex flex-col items-center text-center",children:[a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-4xl aspect-[2/1] bg-gradient-to-tr from-white/40 via-white/10 to-teal-50/30 backdrop-blur-3xl border border-white/60 rounded-[3rem] shadow-[0_8px_40px_rgba(0,0,0,0.06)] -z-10 animate-float-slow"}),a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-white/60 to-white/30 backdrop-blur-xl border border-white/80 text-teal-800 text-sm font-medium uppercase tracking-wider mb-8 shadow-[0_4px_20px_rgba(20,184,166,0.1)]",children:[a.jsx(he,{icon:"solar:magic-stick-3-linear",className:"text-base",style:{strokeWidth:1.5}}),"Fremtidens rekruttering"]}),a.jsxs("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-medium tracking-tight text-gradient mb-8 leading-tight max-w-4xl drop-shadow-sm",children:["Arbejd, Danmarks",a.jsx("br",{}),"Nye Jobportal"]}),a.jsx("p",{className:"text-xl md:text-2xl text-gray-600 mb-10 max-w-2xl font-normal leading-relaxed drop-shadow-sm",children:"Opdag drømmejobbet med kraften fra AI. Vi matcher dine færdigheder med de perfekte muligheder og hjælper dig hele vejen til samtalen."}),a.jsxs("button",{type:"button",className:"group relative inline-flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white rounded-full font-normal text-lg overflow-hidden shadow-[0_8px_25px_rgba(17,24,39,0.25)] hover:shadow-[0_12px_35px_rgba(17,24,39,0.35)] transition-all outline-none border border-gray-700 hover:-translate-y-0.5",children:[a.jsx("span",{className:"relative z-10",children:"Udforsk Arbejd.com"}),a.jsx(he,{icon:"solar:arrow-right-linear",className:"text-xl group-hover:translate-x-1 transition-transform relative z-10",style:{strokeWidth:1.5}})]})]}),a.jsx("section",{className:"py-12 border-y border-white/40 bg-gradient-to-r from-white/10 via-white/30 to-white/10 backdrop-blur-xl shadow-[0_4px_30px_rgba(0,0,0,0.02)]",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-12",children:[a.jsx("p",{className:"text-center text-sm font-medium text-gray-500 uppercase tracking-widest mb-8 drop-shadow-sm",children:"Stoles på af innovative virksomheder"}),a.jsx("div",{className:"flex flex-wrap justify-center items-center gap-8 md:gap-16 opacity-60 grayscale hover:grayscale-0 transition-all duration-500",children:Lv.map((y,V)=>a.jsx("img",{src:y,alt:`Virksomhedslogo ${V+1}`,className:"h-8 md:h-10 w-auto object-contain transition-transform duration-300 hover:scale-105",loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"},`${y}-${V}`))})]})}),a.jsx("section",{className:"py-32 px-6 lg:px-12 max-w-7xl mx-auto",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[a.jsxs("div",{className:"relative w-full md:w-[112%] lg:w-[118%] md:-ml-[6%] lg:-ml-[9%] h-[660px] sm:h-[730px] md:h-[800px] lg:h-[860px] flex items-center justify-center overflow-visible",children:[a.jsx("div",{className:"absolute top-1/4 left-[10%] w-24 h-24 rounded-full bg-gradient-to-tr from-white/40 via-white/10 to-teal-50/30 backdrop-blur-xl border border-white/60 shadow-[0_8px_40px_rgba(0,0,0,0.06)] z-0 animate-float-ambient-home"}),a.jsx("div",{className:"absolute bottom-1/5 right-[10%] w-32 h-32 rounded-[2rem] rotate-12 bg-gradient-to-tr from-white/40 via-white/10 to-indigo-50/30 backdrop-blur-xl border border-white/60 shadow-[0_8px_40px_rgba(0,0,0,0.06)] z-0 animate-float-ambient-home [animation-delay:2s]"}),a.jsxs("div",{className:"relative flex items-center justify-center w-full max-w-5xl mx-auto transform scale-[0.65] sm:scale-75 md:scale-90 lg:scale-100 -space-x-12 sm:-space-x-16 md:-space-x-20",children:[a.jsxs("div",{className:"homepage-glass-glare relative w-[320px] h-[680px] sm:w-[360px] sm:h-[740px] rounded-[3.5rem] p-3 bg-gradient-to-br from-white/40 to-white/10 backdrop-blur-3xl border border-white/50 shadow-[0_30px_60px_rgba(0,0,0,0.15),inset_0_0_20px_rgba(255,255,255,0.6)] animate-float-1-home z-20",children:[a.jsx("div",{className:"absolute -left-[2px] top-28 w-1 h-8 bg-white/40 border border-white/50 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -left-[2px] top-40 w-1 h-14 bg-white/40 border border-white/50 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -left-[2px] top-56 w-1 h-14 bg-white/40 border border-white/50 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -right-[2px] top-44 w-1 h-20 bg-white/40 border border-white/50 rounded-r-md shadow-sm"}),a.jsxs("div",{className:"relative w-full h-full rounded-[2.8rem] bg-white overflow-hidden shadow-[inset_0_0_10px_rgba(255,255,255,0.1)] border border-white/60 isolate",children:[a.jsx("img",{src:Mv,alt:"App UI Design 1",className:"absolute inset-0 w-full h-full object-cover z-0"}),a.jsxs("div",{className:"absolute top-2.5 left-1/2 -translate-x-1/2 w-[100px] h-[30px] bg-black rounded-full z-50 shadow-[0_4px_10px_rgba(0,0,0,0.3)] flex items-center justify-between px-3",children:[a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-gray-800 flex items-center justify-center",children:a.jsx("div",{className:"w-1 h-1 rounded-full bg-indigo-500 blur-[1px]"})}),a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-gray-800"})]}),a.jsxs("div",{className:"absolute top-0 inset-x-0 h-12 flex items-center justify-between px-6 pt-1 z-40 text-[0.65rem] font-medium text-white/95",children:[a.jsx("span",{children:"9:41"}),a.jsxs("div",{className:"flex items-center gap-1.5 drop-shadow-md",children:[a.jsx(he,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(he,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(he,{icon:"solar:battery-charge-linear",className:"text-sm",style:{strokeWidth:1.5}})]})]}),a.jsx("div",{className:"absolute bottom-1.5 left-1/2 -translate-x-1/2 w-1/3 h-[4px] bg-white/90 rounded-full z-50 shadow-sm"})]})]}),a.jsxs("div",{className:"homepage-glass-glare relative w-[320px] h-[680px] sm:w-[360px] sm:h-[740px] rounded-[3.5rem] p-3 bg-gradient-to-br from-white/30 to-white/5 backdrop-blur-2xl border border-white/40 shadow-[0_20px_50px_rgba(0,0,0,0.1),inset_0_0_20px_rgba(255,255,255,0.4)] animate-float-2-home z-10",children:[a.jsx("div",{className:"absolute -left-[2px] top-28 w-1 h-8 bg-white/30 border border-white/40 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -left-[2px] top-40 w-1 h-14 bg-white/30 border border-white/40 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -left-[2px] top-56 w-1 h-14 bg-white/30 border border-white/40 rounded-l-md shadow-sm"}),a.jsx("div",{className:"absolute -right-[2px] top-44 w-1 h-20 bg-white/30 border border-white/40 rounded-r-md shadow-sm"}),a.jsxs("div",{className:"relative w-full h-full rounded-[2.8rem] bg-white overflow-hidden shadow-[inset_0_0_10px_rgba(255,255,255,0.1)] border border-white/60 isolate",children:[a.jsx("img",{src:Ev,alt:"App UI Design 2",className:"absolute inset-0 w-full h-full object-cover z-0"}),a.jsxs("div",{className:"absolute top-2.5 left-1/2 -translate-x-1/2 w-[100px] h-[30px] bg-black rounded-full z-50 shadow-[0_4px_10px_rgba(0,0,0,0.3)] flex items-center justify-between px-3",children:[a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-gray-800 flex items-center justify-center",children:a.jsx("div",{className:"w-1 h-1 rounded-full bg-teal-400 blur-[1px]"})}),a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-gray-800"})]}),a.jsxs("div",{className:"absolute top-0 inset-x-0 h-12 flex items-center justify-between px-6 pt-1 z-40 text-[0.65rem] font-medium text-white/95",children:[a.jsx("span",{children:"9:41"}),a.jsxs("div",{className:"flex items-center gap-1.5 drop-shadow-md",children:[a.jsx(he,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(he,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(he,{icon:"solar:battery-charge-linear",className:"text-sm",style:{strokeWidth:1.5}})]})]}),a.jsx("div",{className:"absolute bottom-1.5 left-1/2 -translate-x-1/2 w-1/3 h-[4px] bg-white/90 rounded-full z-50 shadow-sm"})]})]})]})]}),a.jsxs("div",{className:"flex flex-col justify-center",children:[a.jsxs("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-6",children:["En intelligent genvej",a.jsx("br",{}),"til dit næste job"]}),a.jsx("p",{className:"text-lg text-gray-600 mb-10 font-normal leading-relaxed drop-shadow-sm",children:"Arbejd.com kombinerer det nyeste inden for kunstig intelligens med et intuitivt design, der gør din jobsøgning hurtigere, skarpere og mere succesfuld."}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"group flex items-start gap-5 p-5 bg-gradient-to-br from-white/50 to-white/10 backdrop-blur-2xl border border-white/60 rounded-2xl shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(20,184,166,0.08)] hover:border-teal-200/60 transition-all cursor-default",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-teal-50 to-white border border-teal-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform",children:a.jsx(he,{icon:"solar:document-text-linear",className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-medium text-gray-900 tracking-tight mb-1",children:"AI-understøttet CV-optimering"}),a.jsx("p",{className:"text-base text-gray-600 font-normal",children:"Få skræddersyet dit CV til præcis den stilling du søger, så du altid står skarpest muligt."})]})]}),a.jsxs("div",{className:"group flex items-start gap-5 p-5 bg-gradient-to-br from-white/50 to-white/10 backdrop-blur-2xl border border-white/60 rounded-2xl shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(99,102,241,0.08)] hover:border-indigo-200/60 transition-all cursor-default",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-indigo-50 to-white border border-indigo-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform",children:a.jsx(he,{icon:"solar:pen-new-square-linear",className:"text-2xl text-indigo-600",style:{strokeWidth:1.5}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-medium text-gray-900 tracking-tight mb-1",children:"AI Ansøgninger"}),a.jsx("p",{className:"text-base text-gray-600 font-normal",children:"Generer målrettede og personlige ansøgninger, der fanger arbejdsgiverens opmærksomhed."})]})]}),a.jsxs("div",{className:"group flex items-start gap-5 p-5 bg-gradient-to-br from-white/50 to-white/10 backdrop-blur-2xl border border-white/60 rounded-2xl shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(6,182,212,0.08)] hover:border-cyan-200/60 transition-all cursor-default",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-cyan-50 to-white border border-cyan-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform",children:a.jsx(he,{icon:"solar:gamepad-linear",className:"text-2xl text-cyan-600",style:{strokeWidth:1.5}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-medium text-gray-900 tracking-tight mb-1",children:"AI-interview Simulator"}),a.jsx("p",{className:"text-base text-gray-600 font-normal",children:"Øv dig til samtalen med vores AI. Få øjeblikkelig feedback og personlige anbefalinger."})]})]}),a.jsxs("div",{className:"group flex items-start gap-5 p-5 bg-gradient-to-br from-white/50 to-white/10 backdrop-blur-2xl border border-white/60 rounded-2xl shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(245,158,11,0.08)] hover:border-amber-200/60 transition-all cursor-default",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-amber-50 to-white border border-amber-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform",children:a.jsx(he,{icon:"solar:radar-linear",className:"text-2xl text-amber-600",style:{strokeWidth:1.5}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-medium text-gray-900 tracking-tight mb-1",children:"AI-agenter søger for dig"}),a.jsx("p",{className:"text-base text-gray-600 font-normal",children:"Lad vores intelligente agenter overvåge markedet og finde det perfekte match til din profil."})]})]})]})]})]})}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative",children:[a.jsxs("div",{className:"text-center mb-16 relative z-10",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Succeshistorier"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Se hvordan andre har brugt Arbejd til at lande drømmejobbet og starte næste kapitel i deres career."})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 relative z-10",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl overflow-hidden shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all group",children:[a.jsxs("div",{className:"aspect-video bg-gray-100 relative overflow-hidden",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800&q=80",alt:"Team",className:"w-full h-full object-cover opacity-80 group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/40 to-transparent flex items-center justify-center",children:a.jsx("button",{type:"button",className:"w-14 h-14 rounded-full bg-white/30 backdrop-blur-md border border-white/60 shadow-xl flex items-center justify-center text-white hover:scale-110 hover:bg-white/50 transition-all outline-none",children:a.jsx(he,{icon:"solar:play-linear",className:"text-2xl ml-1",style:{strokeWidth:1.5}})})})]}),a.jsxs("div",{className:"p-6 relative",children:[a.jsx("p",{className:"text-base text-gray-700 italic mb-6 leading-relaxed",children:'"Simulatoren var en gamechanger. Jeg var super nervøs for min samtale, men feedbacken gav mig roen til at performe 100%."'}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:"https://i.pravatar.cc/150?img=32",alt:"Sofie",className:"w-10 h-10 rounded-full border-2 border-white shadow-sm"}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900",children:"Sofie Jensen"}),a.jsx("p",{className:"text-sm text-teal-600 font-normal",children:"Landed job som Marketing Manager"})]})]})]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl overflow-hidden shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all group",children:[a.jsxs("div",{className:"aspect-video bg-gray-100 relative overflow-hidden",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&q=80",alt:"Meeting",className:"w-full h-full object-cover opacity-80 group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/40 to-transparent flex items-center justify-center",children:a.jsx("button",{type:"button",className:"w-14 h-14 rounded-full bg-white/30 backdrop-blur-md border border-white/60 shadow-xl flex items-center justify-center text-white hover:scale-110 hover:bg-white/50 transition-all outline-none",children:a.jsx(he,{icon:"solar:play-linear",className:"text-2xl ml-1",style:{strokeWidth:1.5}})})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("p",{className:"text-base text-gray-700 italic mb-6 leading-relaxed",children:'"AI-ansøgningerne sparede mig timevis af arbejde. Det ramte den professionelle tone perfekt fra første forsøg."'}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:"https://i.pravatar.cc/150?img=12",alt:"Mikkel",className:"w-10 h-10 rounded-full border-2 border-white shadow-sm"}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900",children:"Mikkel Larsen"}),a.jsx("p",{className:"text-sm text-indigo-600 font-normal",children:"Landed job som Frontend Udvikler"})]})]})]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl overflow-hidden shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all group md:col-span-2 lg:col-span-1",children:[a.jsxs("div",{className:"aspect-video bg-gray-100 relative overflow-hidden",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80",alt:"Success",className:"w-full h-full object-cover opacity-80 group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/40 to-transparent flex items-center justify-center",children:a.jsx("button",{type:"button",className:"w-14 h-14 rounded-full bg-white/30 backdrop-blur-md border border-white/60 shadow-xl flex items-center justify-center text-white hover:scale-110 hover:bg-white/50 transition-all outline-none",children:a.jsx(he,{icon:"solar:play-linear",className:"text-2xl ml-1",style:{strokeWidth:1.5}})})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("p",{className:"text-base text-gray-700 italic mb-6 leading-relaxed",children:'"Agenten fandt et job jeg aldrig selv ville have søgt på. Det viste sig at være det helt rigtige match for mig."'}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:"https://i.pravatar.cc/150?img=47",alt:"Amalie",className:"w-10 h-10 rounded-full border-2 border-white shadow-sm"}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-base font-medium text-gray-900",children:"Amalie Nielsen"}),a.jsx("p",{className:"text-sm text-cyan-600 font-normal",children:"Landed job som Projektleder"})]})]})]})]})]})]}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative",children:[a.jsxs("div",{className:"text-center mb-16 relative z-10",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Mød holdet bag"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Passionerede mennesker der brænder for at revolutionere måden, vi finder arbejde på."})]}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 max-w-5xl mx-auto relative z-10",children:[a.jsxs("div",{className:"bg-gradient-to-b from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl p-6 text-center shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:-translate-y-1 hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all duration-300",children:[a.jsx("div",{className:"w-24 h-24 mx-auto mb-4 rounded-full p-1 bg-gradient-to-tr from-teal-400 to-emerald-300 shadow-md",children:a.jsx("img",{src:"https://i.pravatar.cc/150?img=11",alt:"Lasse Nielsen",className:"w-full h-full rounded-full border-2 border-white object-cover"})}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight",children:"Lasse Nielsen"}),a.jsx("p",{className:"text-base text-teal-600 font-normal mb-6",children:"CEO & Founder"}),a.jsxs("div",{className:"flex items-center justify-center gap-3",children:[a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx("span",{className:"text-sm font-medium",children:"in"})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:camera-linear",className:"text-base",style:{strokeWidth:1.5}})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:letter-linear",className:"text-base",style:{strokeWidth:1.5}})})]})]}),a.jsxs("div",{className:"bg-gradient-to-b from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl p-6 text-center shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:-translate-y-1 hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all duration-300",children:[a.jsx("div",{className:"w-24 h-24 mx-auto mb-4 rounded-full p-1 bg-gradient-to-tr from-indigo-400 to-purple-300 shadow-md",children:a.jsx("img",{src:"https://i.pravatar.cc/150?img=5",alt:"Emma",className:"w-full h-full rounded-full border-2 border-white object-cover"})}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight",children:"Emma Schmidt"}),a.jsx("p",{className:"text-base text-indigo-600 font-normal mb-6",children:"Head of AI"}),a.jsxs("div",{className:"flex items-center justify-center gap-3",children:[a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx("span",{className:"text-sm font-medium",children:"in"})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:camera-linear",className:"text-base",style:{strokeWidth:1.5}})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:letter-linear",className:"text-base",style:{strokeWidth:1.5}})})]})]}),a.jsxs("div",{className:"bg-gradient-to-b from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl p-6 text-center shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:-translate-y-1 hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all duration-300 sm:col-span-2 lg:col-span-1",children:[a.jsx("div",{className:"w-24 h-24 mx-auto mb-4 rounded-full p-1 bg-gradient-to-tr from-cyan-400 to-blue-300 shadow-md",children:a.jsx("img",{src:"https://i.pravatar.cc/150?img=60",alt:"Christian",className:"w-full h-full rounded-full border-2 border-white object-cover"})}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight",children:"Christian Berg"}),a.jsx("p",{className:"text-base text-cyan-600 font-normal mb-6",children:"Lead Designer"}),a.jsxs("div",{className:"flex items-center justify-center gap-3",children:[a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx("span",{className:"text-sm font-medium",children:"in"})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:camera-linear",className:"text-base",style:{strokeWidth:1.5}})}),a.jsx("a",{href:"#",className:"w-8 h-8 rounded-full bg-white/50 backdrop-blur-sm border border-white flex items-center justify-center text-gray-500 hover:text-gray-900 hover:bg-white transition-all shadow-sm outline-none",children:a.jsx(he,{icon:"solar:letter-linear",className:"text-base",style:{strokeWidth:1.5}})})]})]})]})]}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative",children:[a.jsxs("div",{className:"text-center mb-16 relative z-10",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Gennemsigtige priser"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Vælg den plan, der passer bedst til din karriererejse. Start din rejse i dag."})]}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 max-w-6xl mx-auto relative z-10 items-stretch",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/10 backdrop-blur-3xl border border-white/60 rounded-[2rem] p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden",children:[a.jsx("h3",{className:"text-2xl font-medium text-gray-900 tracking-tight mb-2",children:"30 dage"}),a.jsx("p",{className:"text-base text-gray-600 mb-6",children:"Perfekt til at komme hurtigt i gang."}),a.jsx("div",{className:"mb-8",children:a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"49 kr"})}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1",children:[a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Download et professionelt CV - Klar til brug med et enkelt klik"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Karriereagent med personlige anbefalinger"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Øget synlighed – bliv fundet af virksomheder"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Lad systemet lave din ansøgning for dig"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Optimer dit CV med intelligente forslag"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Job simulatoren – træn til din næste jobsamtale"})]})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-white/60 backdrop-blur-md border border-white hover:bg-white/90 text-gray-900 font-medium text-base transition-colors shadow-sm outline-none mt-auto",children:"Vælg 30 dage"})]}),a.jsxs("div",{className:"bg-gradient-to-br from-gray-900 to-gray-800 backdrop-blur-3xl border border-gray-700/50 rounded-[2rem] p-8 shadow-[0_20px_50px_rgba(0,0,0,0.2)] flex flex-col relative overflow-hidden transform lg:-translate-y-4",children:[a.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-teal-400 via-cyan-400 to-indigo-400"}),a.jsx("div",{className:"absolute top-[-20%] right-[-20%] w-[60%] h-[60%] bg-gradient-to-bl from-teal-500/30 to-cyan-500/10 blur-[60px] rounded-full pointer-events-none"}),a.jsxs("div",{className:"flex justify-between items-start mb-2 relative z-10",children:[a.jsx("h3",{className:"text-2xl font-medium text-white tracking-tight drop-shadow-md",children:"90 dage"}),a.jsx("span",{className:"px-3 py-1.5 text-xs font-medium text-teal-900 bg-gradient-to-r from-teal-300 to-emerald-300 rounded-lg uppercase tracking-wider shadow-[0_0_15px_rgba(45,212,191,0.3)]",children:"Mest populær"})]}),a.jsx("p",{className:"text-base text-gray-400 mb-6 relative z-10",children:"Ideelt til den dedikerede jobsøgende."}),a.jsx("div",{className:"mb-8 relative z-10",children:a.jsx("span",{className:"text-5xl font-medium text-white tracking-tight drop-shadow-md",children:"129 kr"})}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1 relative z-10",children:[a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Download et professionelt CV - Klar til brug med et enkelt klik"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Karriereagent med personlige anbefalinger"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Øget synlighed – bliv fundet af virksomheder"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Lad systemet lave din ansøgning for dig"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Optimer dit CV med intelligente forslag"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-300 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-400 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Job simulatoren – træn til din næste jobsamtale"})]})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-gradient-to-r from-white to-gray-100 text-gray-900 font-medium text-base hover:from-gray-50 hover:to-white transition-all shadow-[0_4px_15px_rgba(255,255,255,0.1)] outline-none relative z-10 mt-auto",children:"Vælg 90 dage"})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/10 backdrop-blur-3xl border border-white/60 rounded-[2rem] p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden",children:[a.jsx("h3",{className:"text-2xl font-medium text-gray-900 tracking-tight mb-2",children:"365 dage"}),a.jsx("p",{className:"text-base text-gray-600 mb-6",children:"Det bedste langsigtede valg til din karriere."}),a.jsxs("div",{className:"mb-5 relative",children:[a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"249 kr"}),a.jsx("span",{className:"block text-sm text-teal-600 font-medium mt-1",children:"Svarer til 0.68 kr. pr. dag"})]}),a.jsxs("div",{className:"mb-6 p-4 rounded-xl bg-gradient-to-br from-teal-50/80 to-emerald-50/80 border border-teal-200/50 shadow-sm relative overflow-hidden",children:[a.jsx("div",{className:"absolute -right-3 -top-3 text-teal-500/10",children:a.jsx(he,{icon:"solar:gift-bold",className:"text-7xl"})}),a.jsxs("h4",{className:"text-sm font-medium text-teal-900 mb-1 relative z-10 flex items-center gap-2",children:[a.jsx(he,{icon:"solar:gift-linear",className:"text-base text-teal-600",style:{strokeWidth:1.5}}),"Giv en gave"]}),a.jsx("p",{className:"text-xs text-teal-800 relative z-10 leading-snug",children:"Få en gratis 3-måneders Premium-kode med i købet til en ven."})]}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1",children:[a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Download et professionelt CV - Klar til brug med et enkelt klik"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Karriereagent med personlige anbefalinger"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Øget synlighed – bliv fundet af virksomheder"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Lad systemet lave din ansøgning for dig"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Optimer dit CV med intelligente forslag"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-sm text-gray-700 leading-snug",children:[a.jsx(he,{icon:"solar:check-circle-linear",className:"text-lg text-teal-500 flex-shrink-0 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:"Job simulatoren – træn til din næste jobsamtale"})]})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-white/60 backdrop-blur-md border border-white hover:bg-white/90 text-gray-900 font-medium text-base transition-colors shadow-sm outline-none mt-auto",children:"Vælg 365 dage"})]})]})]}),a.jsx("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsxs("div",{className:"bg-gradient-to-br from-teal-400/20 via-indigo-400/10 to-purple-400/20 backdrop-blur-3xl border border-white/60 rounded-[3rem] p-10 md:p-16 text-center shadow-[0_20px_60px_rgba(0,0,0,0.05)] relative overflow-hidden group",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-white/60 to-white/20 z-0"}),a.jsx("div",{className:"absolute top-0 right-0 w-[40%] h-[100%] bg-gradient-to-l from-white/40 to-transparent skew-x-12 translate-x-[150%] group-hover:translate-x-[-250%] transition-transform duration-1000 z-0"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto flex flex-col items-center",children:[a.jsx(he,{icon:"solar:rocket-linear",className:"text-5xl text-teal-600 mb-6 drop-shadow-sm",style:{strokeWidth:1.5}}),a.jsxs("h2",{className:"text-3xl md:text-5xl font-medium tracking-tight text-gradient-subtle mb-6 leading-tight drop-shadow-sm",children:["Klar til at tage styringen",a.jsx("br",{}),"over din karriere?"]}),a.jsx("p",{className:"text-xl text-gray-700 mb-10 font-normal leading-relaxed drop-shadow-sm",children:"Lad ikke de bedste muligheder gå til andre. Tilslut dig tusindvis af ambitiøse jobsøgere, der allerede bruger fremtidens værktøjer på Arbejd.com. Din næste store chance venter."}),a.jsxs("button",{type:"button",className:"inline-flex items-center gap-2 px-8 py-4 bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 border border-gray-700 hover:border-gray-600 text-white rounded-full font-normal text-lg transition-all shadow-[0_8px_25px_rgba(17,24,39,0.2)] outline-none hover:-translate-y-0.5",children:["Tilmeld dig Arbejd.com i dag",a.jsx(he,{icon:"solar:arrow-right-linear",className:"text-xl",style:{strokeWidth:1.5}})]})]})]})})]}),a.jsx(tn,{})]})}function Fs(d){return d instanceof Date?d.toISOString():typeof d=="string"?d:""}function Fh(d){const i=[d.road,d.houseNum,d.zip,d.zipName].filter(o=>typeof o=="string"&&o.trim().length>0).join(" ");return{id:d.id,title:d.title??"Job",companyName:d.hiringCompanyName??"Ukendt virksomhed",occupationName:d.occupation?.name??"",address:i||d.zipName||"Ukendt adresse",description:d.description??"",applicationDeadline:Fs(d.applicationDeadline),websiteUrl:d.applicationUrl||d.hiringCompanyUrl||"",logoUrl:d.logoUrl||"",fromJobnet:!0,isSaved:!1,isApplied:!!d.applied,isFullTime:typeof d.isFullTime=="boolean"?d.isFullTime:null,workTimes:Array.isArray(d.workTimes)?d.workTimes:[],contactName:d.contactName??"",hiringCompanyName:d.hiringCompanyName??"",datePosted:Fs(d.datePosted),employmentDate:Fs(d.employmentDate),startAsSoonAsPossible:typeof d.startAsSoonAsPossible=="boolean"?d.startAsSoonAsPossible:null,numberOfPositions:typeof d.numberOfPositions=="number"?d.numberOfPositions:null}}function $h(d,i){return{id:d,title:i.title??"Job",companyName:i.companyName??"Ukendt virksomhed",occupationName:i.position??"",address:"",description:[i.descriptionIntro,i.descriptionPosition,i.descriptionOffer].filter(o=>typeof o=="string"&&o.trim().length>0).join(`
|
||
|
||
`),applicationDeadline:Fs(i.applicationDeadline),websiteUrl:i.website??"",logoUrl:"",fromJobnet:!1,isSaved:!1,isApplied:!!i.appliedJob,isFullTime:null,workTimes:Array.isArray(i.workTimes)?i.workTimes:[],contactName:"",hiringCompanyName:i.companyName??"",datePosted:"",employmentDate:Fs(i.fromDate),startAsSoonAsPossible:null,numberOfPositions:typeof i.numberOfPositions=="number"?i.numberOfPositions:null}}class Uv{constructor(i=new _c){this.jobService=i}async getDetail(i,o){if(o)try{const c=await this.jobService.getJobNetJobDetail(i);return Fh(c)}catch{const c=await this.jobService.getJobDetail(i);return $h(i,c)}try{const c=await this.jobService.getJobDetail(i);return $h(i,c)}catch{const c=await this.jobService.getJobNetJobDetail(i);return Fh(c)}}async toggleBookmark(i,o,c){const h=o?"star":"arbejd.com";await this.jobService.bookmarkJobV2(i,c,h)}async markAsApplied(i,o){if(o){await this.jobService.toggleApplyJobnetjob(i,!0);return}await this.jobService.applyJob(i)}}function Rv(d){return d.trim().slice(0,1).toUpperCase()||"A"}function dc(d){if(!d)return"Ikke angivet";const i=new Date(d);return Number.isNaN(i.getTime())?d:new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(i)}function Vv(d){if(!d.trim())return"";if(typeof window>"u")return d;const o=new DOMParser().parseFromString(d,"text/html");o.querySelectorAll("script, style, iframe, object, embed, link, meta").forEach(c=>c.remove());for(const c of Array.from(o.body.querySelectorAll("*")))for(const h of Array.from(c.attributes)){const g=h.name.toLowerCase(),V=h.value.trim().toLowerCase();if(g.startsWith("on")){c.removeAttribute(h.name);continue}if((g==="href"||g==="src")&&V.startsWith("javascript:")){c.removeAttribute(h.name);continue}(g==="style"||g==="srcdoc")&&c.removeAttribute(h.name)}return o.body.innerHTML}function Bv(d){return d.isFullTime===!0?"Fuldtid":d.isFullTime===!1?"Deltid":d.workTimes.length>0?"Fleksibel arbejdstid":"Ikke oplyst"}function Hv({fromJobnet:d,jobId:i,onBack:o,onLogout:c,onNavigate:h,onToggleTheme:g,theme:y}){const V=v.useMemo(()=>new Uv,[]),M=v.useMemo(()=>new Ei,[]),[j,T]=v.useState({name:"Lasse"}),[S,H]=v.useState(null),[Y,q]=v.useState(!0),[J,oe]=v.useState(""),[ie,ne]=v.useState(!1),[X,te]=v.useState(!1),[ae,Z]=v.useState(!1),[D,W]=v.useState(!1);v.useEffect(()=>{let me=!0;async function De(){q(!0),oe("");const[Ne,se]=await Promise.allSettled([M.getCandidateProfile(),V.getDetail(i,d)]);me&&(Ne.status==="fulfilled"&&T(Ne.value),se.status==="fulfilled"?(H(se.value),ne(!!se.value.isSaved),te(!!se.value.isApplied)):(H(null),oe("Kunne ikke hente jobdetaljer. Proev igen.")),q(!1))}return De(),()=>{me=!1}},[V,d,i,M]);async function $(){if(!(!S||ae)){Z(!0);try{await V.toggleBookmark(S.id,S.fromJobnet,!ie),ne(me=>!me)}finally{Z(!1)}}}async function P(){if(!(!S||X||D)){W(!0);try{await V.markAsApplied(S.id,S.fromJobnet),te(!0)}finally{W(!1)}}}const ce=v.useMemo(()=>Vv(S?.description??""),[S?.description]);return a.jsxs("section",{className:`dash-root ${y==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"jobs",onNavigate:h}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(Ft,{name:j.name,imageUrl:j.imageUrl,onLogout:c,theme:y,onToggleTheme:g}),a.jsx("div",{className:"job-detail-back-row",children:a.jsxs("button",{type:"button",className:"job-detail-back-btn",onClick:o,children:[a.jsx(Di,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til jobs"})]})}),Y?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobdetaljer..."}):null,!Y&&J?a.jsx("p",{className:"dash-loading",children:J}):null,!Y&&S?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"job-detail-header",children:[a.jsx("div",{className:"job-detail-logo-wrap",children:S.logoUrl?a.jsx("img",{src:S.logoUrl,alt:S.companyName,className:"job-detail-logo-image"}):a.jsx("div",{className:"job-detail-logo-fallback",children:Rv(S.companyName)})}),a.jsxs("div",{className:"job-detail-heading",children:[a.jsx("h1",{children:S.title||"Jobdetaljer"}),a.jsxs("div",{className:"job-detail-meta",children:[a.jsxs("span",{children:[a.jsx(hc,{size:14,strokeWidth:1.8})," ",S.companyName||"Virksomhed"]}),a.jsxs("span",{children:[a.jsx($s,{size:14,strokeWidth:1.8})," ",S.address||"Lokation ikke angivet"]}),a.jsxs("span",{children:[a.jsx(fc,{size:14,strokeWidth:1.8})," ",Bv(S)]})]})]})]}),a.jsxs("div",{className:"job-detail-grid",children:[a.jsxs("section",{className:"job-detail-main-card dash-card",children:[a.jsxs("div",{className:"job-detail-section",children:[a.jsx("h2",{children:"Om rollen"}),ce?a.jsx("div",{className:"job-detail-rich-html",dangerouslySetInnerHTML:{__html:ce}}):a.jsx("p",{children:"Ingen jobbeskrivelse er tilgaengelig endnu."})]}),a.jsxs("div",{className:"job-detail-section",children:[a.jsx("h3",{children:"Jobinformation"}),a.jsxs("div",{className:"job-detail-info-grid",children:[a.jsxs("div",{children:[a.jsx("span",{children:"Ansøgningsfrist"}),a.jsx("strong",{children:dc(S.applicationDeadline)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Opslået"}),a.jsx("strong",{children:dc(S.datePosted)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Startdato"}),a.jsx("strong",{children:dc(S.employmentDate)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stillinger"}),a.jsx("strong",{children:S.numberOfPositions??"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kontaktperson"}),a.jsx("strong",{children:S.contactName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kilde"}),a.jsx("strong",{children:S.fromJobnet?"Jobnet":"Arbejd.com"})]})]})]})]}),a.jsxs("aside",{className:"job-detail-side-col",children:[a.jsxs("article",{className:"dash-card job-detail-actions-card",children:[a.jsx("h2",{children:"Handlinger"}),a.jsxs("button",{type:"button",className:"job-detail-action-primary",children:[a.jsxs("span",{children:[a.jsx(Ps,{size:16,strokeWidth:1.8})," Generer ansøgning"]}),a.jsx(il,{size:14,strokeWidth:1.8})]}),a.jsxs("button",{type:"button",className:"job-detail-action-secondary",children:[a.jsxs("span",{children:[a.jsx(lb,{size:16,strokeWidth:1.8})," Simuler jobsamtale"]}),a.jsx(il,{size:14,strokeWidth:1.8})]}),a.jsx("div",{className:"job-detail-action-divider"}),a.jsxs("button",{type:"button",className:"job-detail-text-action",onClick:()=>{$()},disabled:ae,children:[a.jsx(Ax,{size:16,strokeWidth:1.8}),ie?"Fjern fra gemte jobs":"Gem job"]}),a.jsxs("button",{type:"button",className:"job-detail-text-action",children:[a.jsx(Ti,{size:16,strokeWidth:1.8}),"Del via email"]}),S.websiteUrl?a.jsxs("a",{href:S.websiteUrl,target:"_blank",rel:"noreferrer",className:"job-detail-text-action link",children:[a.jsx(Ci,{size:16,strokeWidth:1.8}),"Åbn på nettet"]}):null,a.jsxs("button",{type:"button",className:X?"job-detail-text-action success is-done":"job-detail-text-action success",onClick:()=>{P()},disabled:X||D,children:[a.jsx($e,{size:16,strokeWidth:1.8}),X?"Markeret som søgt":"Marker som søgt"]})]}),a.jsxs("article",{className:"dash-card job-detail-company-card",children:[a.jsx("h3",{children:"Om virksomheden"}),a.jsxs("div",{className:"job-detail-company-list",children:[a.jsxs("div",{children:[a.jsx("span",{children:"Virksomhed"}),a.jsx("strong",{children:S.hiringCompanyName||S.companyName||"Ukendt"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stilling"}),a.jsx("strong",{children:S.occupationName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Website"}),a.jsx("strong",{children:S.websiteUrl||"Ikke angivet"})]})]})]})]})]})]}):null]})]})}const Ih=[2,4,6,8,10,12,24],qv=[{id:"job-1",title:"Senior Frontend-udvikler",companyName:"Lunar",occupationName:"Frontend",descriptionIntro:"Vi søger en erfaren frontend-udvikler til at lede vores nye team.",address:"Kobenhavn",time:"",applicationDeadline:"",candidateDistance:5,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:98},{id:"job-2",title:"UX/UI Designer (Deltid)",companyName:"Pleo",occupationName:"Design",descriptionIntro:"Hjælp os med at skabe brugervenlige flows for vores expense management platform.",address:"Kobenhavn",time:"",applicationDeadline:"",candidateDistance:12,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:95},{id:"job-3",title:"React-udvikler",companyName:"Zendesk",occupationName:"Frontend",descriptionIntro:"Bliv en del af vores kerne-team i Kobenhavn og byg software i topklasse.",address:"Kobenhavn",time:"",applicationDeadline:"",candidateDistance:2,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:89},{id:"job-4",title:"Full Stack Web-udvikler",companyName:"Trustpilot",occupationName:"Full stack",descriptionIntro:"Vi leder efter en passioneret Full Stack Developer (Node.js/React).",address:"Remote",time:"",applicationDeadline:"",candidateDistance:null,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:85},{id:"job-5",title:"Frontend-arkitekt",companyName:"Novo Nordisk",occupationName:"Frontend",descriptionIntro:"Vær med til at designe arkitekturen for interne medicinske data-platforme.",address:"Bagsvaerd",time:"",applicationDeadline:"",candidateDistance:18,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:72},{id:"job-6",title:"Product Designer",companyName:"Podimo",occupationName:"Design",descriptionIntro:"Vi mangler en skarp Product Designer til at forme fremtidens lytteoplevelse.",address:"Kobenhavn",time:"",applicationDeadline:"",candidateDistance:3,logoUrl:"",companyLogoImage:"",fromJobnet:!1,isSaved:!1,matchPercent:68}];function Gv(d){return d.trim().slice(0,1).toUpperCase()||"A"}function Ph(d){return d.address.toLowerCase().includes("remote")?"Remote":typeof d.candidateDistance=="number"?`${Math.max(0,Math.round(d.candidateDistance))} km vaek`:d.address||"Lokation ikke angivet"}function Jv(d){return d.companyLogoImage||d.logoUrl||""}function ef({item:d}){const[i,o]=v.useState(!1),c=Jv(d);return c.length>0&&!i?a.jsx("div",{className:"jobs-card-logo jobs-card-logo-image-wrap",children:a.jsx("img",{src:c,alt:d.companyName||"Virksomhed",className:"jobs-card-logo-image",onError:()=>o(!0)})}):a.jsx("div",{className:"jobs-card-logo",children:Gv(d.companyName)})}function Yv(d){return d.workTypePartTime?"deltid":"fast"}function Qv({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=v.useMemo(()=>new Ei,[]),[y,V]=v.useState({name:"Lasse"}),[M,j]=v.useState(""),[T,S]=v.useState("sidebar"),[H,Y]=v.useState("fast"),[q,J]=v.useState(15),[oe,ie]=v.useState(24),[ne,X]=v.useState(["Frontend-udvikler","UX/UI Designer"]),[te,ae]=v.useState(""),[Z,D]=v.useState([]),[W,$]=v.useState(!0),[P,ce]=v.useState(6),me=v.useCallback(async()=>{try{const f=await g.getTabItems("jobs");D(f),ce(6)}catch{D([]),ce(6)}},[g]);v.useEffect(()=>{let f=!0;async function _(){try{const R=await g.getSavedFilter();if(!f)return;Y(Yv(R)),J(R.workDistance??15),ie(R.partTimeHours??24),j(R.distanceCenterName??"")}catch{}if(await me(),f){const R=await g.getCandidateProfile();f&&V(R),$(!1)}}return _(),()=>{f=!1}},[me,g]);async function De(){const f={escoIds:[],workTypePermanent:H==="fast",workTypePartTime:H==="deltid",workDistance:q,partTimeHours:H==="deltid"?oe:null,distanceCenterName:M,latitude:null,longitude:null};$(!0);try{const _=await g.applyFiltersAndGetJobs(f,{searchText:M,desiredTitles:ne});D(_),ce(6)}catch{D([]),ce(6)}$(!1)}const Ne=Z.length>0?Z:qv,se=Ne.slice(0,Math.min(P,Ne.length)),p=P<Ne.length;function L(){S(f=>f==="sidebar"?"top":"sidebar")}function k(f){X(_=>_.filter(R=>R!==f))}function G(f){const _=f.trim();_&&(X(R=>R.includes(_)?R:[...R,_]),ae(""))}function I(){ce(f=>Math.min(f+6,Ne.length))}return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"jobs",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(Ft,{name:y.name,imageUrl:y.imageUrl,onLogout:d,theme:h,onToggleTheme:c,actions:a.jsxs("button",{type:"button",className:"jobs-layout-toggle",onClick:L,children:[T==="sidebar"?a.jsx(gf,{size:16,strokeWidth:1.8}):a.jsx(ff,{size:16,strokeWidth:1.8}),a.jsx("span",{children:T==="sidebar"?"Top-layout":"Side-layout"})]})}),a.jsxs("div",{className:"jobs-page-head",children:[a.jsx("h1",{children:"Find dit naeste job"}),a.jsx("p",{children:"Sog og filtrer for at finde det perfekte match til din profil."})]}),T==="sidebar"?a.jsxs("div",{className:"jobs-grid",children:[a.jsxs("aside",{className:"jobs-filter dash-card",children:[a.jsxs("h2",{children:[a.jsx(hc,{size:18,strokeWidth:1.8})," Filtre"]}),a.jsxs("div",{className:"jobs-filter-block",children:[a.jsx("label",{children:"Sog jobtitel eller virksomhed"}),a.jsxs("div",{className:"jobs-search-wrap",children:[a.jsx(yc,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Frontend Udvikler...",value:M,onChange:f=>j(f.target.value)})]})]}),a.jsxs("div",{className:"jobs-filter-block",children:[a.jsx("label",{children:"Onskede jobtitler"}),a.jsxs("div",{className:"jobs-title-picker",children:[a.jsxs("div",{className:"jobs-title-input-wrap",children:[ne.map(f=>a.jsxs("span",{className:"jobs-title-chip",children:[f,a.jsx("button",{type:"button",onClick:()=>k(f),"aria-label":`Fjern ${f}`,children:a.jsx(jc,{size:12,strokeWidth:2})})]},f)),a.jsx("input",{type:"text",value:te,onChange:f=>ae(f.target.value),onKeyDown:f=>{f.key==="Enter"&&(f.preventDefault(),G(te))},placeholder:"Sog og tilfoj flere jobtitler..."})]}),a.jsxs("div",{className:"jobs-title-suggestions",children:[a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>G("Frontend-udvikler"),children:[a.jsx("span",{children:"Frontend-udvikler"}),a.jsx($e,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>G("UX/UI Designer"),children:[a.jsx("span",{children:"UX/UI Designer"}),a.jsx($e,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Product Manager"),children:a.jsx("span",{children:"Product Manager"})})]})]})]}),a.jsx("div",{className:"jobs-separator"}),a.jsxs("div",{className:"jobs-filter-block",children:[a.jsx("label",{children:"Ansaettelsestype"}),a.jsxs("div",{className:"jobs-radio-grid",children:[a.jsx("button",{type:"button",className:H==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>Y("fast"),children:"Fast (Fuldtid)"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>Y("deltid"),children:"Deltid"})]})]}),a.jsxs("div",{className:"jobs-filter-block jobs-range-block",children:[a.jsxs("div",{className:"jobs-range-head",children:[a.jsx("label",{children:"Maks. afstand"}),a.jsxs("span",{children:[q," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:q,onChange:f=>J(Number(f.target.value))}),a.jsxs("div",{className:"jobs-range-labels",children:[a.jsx("span",{children:"0 km"}),a.jsx("span",{children:"50+ km"})]})]}),a.jsx("div",{className:"jobs-separator"}),a.jsxs("div",{className:"jobs-filter-block",children:[a.jsx("label",{children:"Timer (ved deltid)"}),a.jsx("p",{children:"Vaelg onsket timeantal pr. uge"}),a.jsx("div",{className:"jobs-hours-grid",children:Ih.map(f=>a.jsx("button",{type:"button",className:oe===f?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>ie(f),children:f},f))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn",onClick:()=>{De()},children:"Opdater resultater"})]}),a.jsxs("section",{className:"jobs-content",children:[a.jsxs("div",{className:"jobs-content-head",children:[a.jsx("h2",{children:"Seneste jobs"}),a.jsxs("span",{children:["Viser ",Z.length>0?Z.length:142," resultater"]})]}),W?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards",children:se.map(f=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(f.id,f.fromJobnet,"jobs"),onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),o(f.id,f.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(ef,{item:f})}),a.jsxs("div",{className:"jobs-card-title",children:[a.jsx("h3",{children:f.title||"Stilling"}),a.jsx("p",{children:f.companyName||"Virksomhed"})]}),a.jsx("p",{className:"jobs-card-description",children:f.descriptionIntro||"Beskrivelse er ikke tilgaengelig endnu."}),a.jsxs("div",{className:"jobs-card-bottom",children:[a.jsxs("div",{className:"jobs-card-distance",children:[f.address.toLowerCase().includes("remote")?a.jsx(bc,{size:15,strokeWidth:1.8}):a.jsx(vc,{size:15,strokeWidth:1.8}),a.jsx("span",{children:Ph(f)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:_=>{_.stopPropagation(),o(f.id,f.fromJobnet,"jobs")},children:a.jsx(il,{size:16,strokeWidth:1.8})})]})]},f.id))}),a.jsx("div",{className:"jobs-load-more-wrap",children:a.jsx("button",{type:"button",className:"jobs-load-more",onClick:I,disabled:!p,children:p?"Indlaes flere jobs":"Alle jobs er vist"})})]})]}):a.jsxs("section",{className:"jobs-top-layout",children:[a.jsxs("div",{className:"jobs-top-filters dash-card",children:[a.jsxs("div",{className:"jobs-top-filter-title",children:[a.jsx(hc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Filtre"})]}),a.jsxs("div",{className:"jobs-top-controls",children:[a.jsxs("div",{className:"jobs-filter-block no-margin",children:[a.jsx("label",{children:"Sog noegleord eller virksomhed"}),a.jsxs("div",{className:"jobs-search-wrap",children:[a.jsx(yc,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Lunar, React...",value:M,onChange:f=>j(f.target.value)})]})]}),a.jsxs("div",{className:"jobs-filter-block no-margin",children:[a.jsx("label",{children:"Ansaettelsestype"}),a.jsxs("div",{className:"jobs-radio-grid",children:[a.jsx("button",{type:"button",className:H==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>Y("fast"),children:"Fast"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>Y("deltid"),children:"Deltid"})]})]}),a.jsxs("div",{className:"jobs-filter-block no-margin jobs-top-range",children:[a.jsxs("div",{className:"jobs-range-head",children:[a.jsx("label",{children:"Maks. afstand"}),a.jsxs("span",{children:[q," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:q,onChange:f=>J(Number(f.target.value))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn jobs-top-apply",onClick:()=>{De()},children:"Opdater resultater"})]}),a.jsxs("div",{className:"jobs-filter-block no-margin",children:[a.jsx("label",{children:"Onskede jobtitler"}),a.jsxs("div",{className:"jobs-title-picker",children:[a.jsxs("div",{className:"jobs-title-input-wrap",children:[ne.map(f=>a.jsxs("span",{className:"jobs-title-chip",children:[f,a.jsx("button",{type:"button",onClick:()=>k(f),"aria-label":`Fjern ${f}`,children:a.jsx(jc,{size:12,strokeWidth:2})})]},f)),a.jsx("input",{type:"text",value:te,onChange:f=>ae(f.target.value),onKeyDown:f=>{f.key==="Enter"&&(f.preventDefault(),G(te))},placeholder:"Sog og tilfoj flere jobtitler..."})]}),a.jsxs("div",{className:"jobs-title-suggestions",children:[a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>G("Frontend-udvikler"),children:[a.jsx("span",{children:"Frontend-udvikler"}),a.jsx($e,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>G("UX/UI Designer"),children:[a.jsx("span",{children:"UX/UI Designer"}),a.jsx($e,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>G("Product Manager"),children:a.jsx("span",{children:"Product Manager"})})]})]})]}),a.jsx("div",{className:"jobs-separator top-margin"}),a.jsxs("div",{className:"jobs-hours-row",children:[a.jsxs("div",{children:[a.jsx("label",{children:"Timer (ved deltid)"}),a.jsx("p",{children:"Vaelg onsket timeantal pr. uge"})]}),a.jsx("div",{className:"jobs-hours-grid",children:Ih.map(f=>a.jsx("button",{type:"button",className:oe===f?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>ie(f),children:f},f))})]})]}),a.jsxs("section",{className:"jobs-content",children:[a.jsxs("div",{className:"jobs-content-head",children:[a.jsx("h2",{children:"Seneste jobs"}),a.jsxs("span",{children:["Viser ",Z.length>0?Z.length:142," resultater"]})]}),W?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards jobs-cards-top",children:se.map(f=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(f.id,f.fromJobnet,"jobs"),onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),o(f.id,f.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(ef,{item:f})}),a.jsxs("div",{className:"jobs-card-title",children:[a.jsx("h3",{children:f.title||"Stilling"}),a.jsx("p",{children:f.companyName||"Virksomhed"})]}),a.jsx("p",{className:"jobs-card-description",children:f.descriptionIntro||"Beskrivelse er ikke tilgaengelig endnu."}),a.jsxs("div",{className:"jobs-card-bottom",children:[a.jsxs("div",{className:"jobs-card-distance",children:[f.address.toLowerCase().includes("remote")?a.jsx(bc,{size:15,strokeWidth:1.8}):a.jsx(vc,{size:15,strokeWidth:1.8}),a.jsx("span",{children:Ph(f)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:_=>{_.stopPropagation(),o(f.id,f.fromJobnet,"jobs")},children:a.jsx(il,{size:16,strokeWidth:1.8})})]})]},f.id))}),a.jsx("div",{className:"jobs-load-more-wrap",children:a.jsx("button",{type:"button",className:"jobs-load-more",onClick:I,disabled:!p,children:p?"Indlaes flere jobs":"Alle jobs er vist"})})]})]})]})]})}function Ai(d){if(!d)return 0;const o=(d instanceof Date?d:new Date(d)).getTime();return Number.isNaN(o)?0:o}function Sf(d){if(!d)return"--:--";const i=d instanceof Date?d:new Date(d);return Number.isNaN(i.getTime())?"--:--":new Intl.DateTimeFormat("da-DK",{hour:"2-digit",minute:"2-digit"}).format(i)}function Xv(d){if(!d)return"";const i=d instanceof Date?d:new Date(d);if(Number.isNaN(i.getTime()))return"";const o=new Date,c=1440*60*1e3,h=Math.floor((new Date(o.getFullYear(),o.getMonth(),o.getDate()).getTime()-new Date(i.getFullYear(),i.getMonth(),i.getDate()).getTime())/c);return h===0?Sf(i):h===1?"I går":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short"}).format(i)}function Kv(d){const i=new Date,o=new Date(d.getFullYear(),d.getMonth(),d.getDate()),c=new Date(i.getFullYear(),i.getMonth(),i.getDate()),h=Math.floor((c.getTime()-o.getTime())/(1440*60*1e3));return h===0?"I dag":h===1?"I går":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short"}).format(d)}function Zs(d){return!d.fromCandidate&&!d.seen}function tf(d){return d.allMessages.filter(Zs).length}function Xs(d){return d.companyLogoUrl||d.companyLogo||""}function Zv(d){return{...d,allMessages:[...d.allMessages??[]].sort((i,o)=>Ai(i.timeSent)-Ai(o.timeSent))}}function af(){const d=new Date,i=new Date(d.getTime()-600*1e3),o=new Date(d.getTime()-7200*1e3),c=(y,V,M,j,T)=>({threadId:y,text:V,fromCandidate:M,timeSent:j,seen:T}),h=[c("thread-techcorp","Hej Lasse! Mange tak for din ansøgning.",!1,o),c("thread-techcorp","Mange tak, det lyder rigtig spændende.",!0,new Date(o.getTime()+1200*1e3),new Date(o.getTime()+1800*1e3)),c("thread-techcorp","Vi vil gerne invitere dig til samtale.",!1,i)],g=[c("thread-lunar","Mange tak for din opdaterede portefølje.",!1,new Date(d.getTime()-1560*60*1e3),new Date(d.getTime()-1500*60*1e3))];return[{id:"thread-techcorp",companyLogo:"",companyLogoUrl:"https://i.pravatar.cc/150?img=33",companyName:"TechCorp A/S",candidateFirstName:"Lasse",candidateLastName:"Hansen",candidateImage:"https://i.pravatar.cc/150?img=11",allMessages:h,latestMessage:h[h.length-1],title:"Frontend Udvikler",messagesLoaded:!0,jobPostingId:"job-1",jobPosting:void 0,isFromSupport:!1},{id:"thread-lunar",companyLogo:"",companyLogoUrl:"https://i.pravatar.cc/150?img=12",companyName:"Lunar Bank",candidateFirstName:"Lasse",candidateLastName:"Hansen",candidateImage:"https://i.pravatar.cc/150?img=11",allMessages:g,latestMessage:g[g.length-1],title:"Senior UX Designer",messagesLoaded:!0,jobPostingId:"job-2",jobPosting:void 0,isFromSupport:!1}]}function Wv({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=v.useMemo(()=>new wf,[]),[g,y]=v.useState("Lasse"),[V,M]=v.useState(void 0),[j,T]=v.useState([]),[S,H]=v.useState(!0),[Y,q]=v.useState(""),[J,oe]=v.useState("all"),[ie,ne]=v.useState(""),[X,te]=v.useState(""),[ae,Z]=v.useState(()=>typeof window<"u"?window.innerWidth<=1e3:!1),[D,W]=v.useState("threads");v.useEffect(()=>{let p=!0;async function L(){H(!0);try{const k=await h.getCandidateProfile();p&&(y(k.name),M(k.imageUrl));const G=await h.getThreads();if(!p)return;const I=(G.length>0?G:af()).map(Zv);T(I),ne(I[0]?.id||"")}catch{if(!p)return;const k=af();T(k),ne(k[0]?.id||"")}finally{p&&H(!1)}}return L(),()=>{p=!1}},[h]),v.useEffect(()=>{function p(){const L=window.innerWidth<=1e3;Z(L),L?ie||W("threads"):W("chat")}return p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[ie]);const $=v.useMemo(()=>{const p=Y.trim().toLowerCase();return j.filter(L=>J==="unread"&&tf(L)===0||J==="companies"&&L.isFromSupport?!1:p?L.companyName.toLowerCase().includes(p)||(L.latestMessage?.text||"").toLowerCase().includes(p):!0)},[J,Y,j]),P=v.useMemo(()=>j.find(p=>p.id===ie)||$[0],[ie,$,j]),ce=v.useMemo(()=>[...P?.allMessages||[]].sort((p,L)=>Ai(p.timeSent)-Ai(L.timeSent)),[P]);async function me(p){ne(p.id),ae&&W("chat");const L=[...p.allMessages].reverse().find(k=>Zs(k));L?.id&&(h.markThreadReadByMessageId(L.id),T(k=>k.map(G=>G.id!==p.id?G:{...G,allMessages:G.allMessages.map(I=>Zs(I)?{...I,seen:new Date}:I)})))}function De(){W("threads")}async function Ne(){const p=j.flatMap(L=>L.allMessages).filter(L=>Zs(L)&&!!L.id);await Promise.all(p.map(L=>h.markThreadReadByMessageId(L.id))),T(L=>L.map(k=>({...k,allMessages:k.allMessages.map(G=>Zs(G)?{...G,seen:new Date}:G)})))}async function se(){const p=X.trim();if(!P||!p)return;const L={threadId:P.id,text:p,fromCandidate:!0,timeSent:new Date};te(""),T(k=>k.map(G=>{if(G.id!==P.id)return G;const I=[...G.allMessages,L];return{...G,allMessages:I,latestMessage:L}}));try{const k=await h.sendMessage(P.id,p);T(G=>G.map(I=>{if(I.id!==P.id)return I;const _=[...I.allMessages.filter(R=>R!==L),k];return{...I,allMessages:_,latestMessage:k}}))}catch{}}return a.jsxs("section",{className:`dash-root ${c==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"messages",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar msg-main",children:[a.jsx(Ft,{name:g,imageUrl:V,onLogout:d,theme:c,onToggleTheme:o}),a.jsxs("div",{className:"msg-head",children:[a.jsxs("div",{children:[a.jsx("h1",{children:"Beskeder"}),a.jsx("p",{children:"Kommuniker med virksomheder og hold styr på dine ansøgninger."})]}),a.jsxs("button",{type:"button",className:"msg-mark-btn",onClick:()=>{Ne()},children:[a.jsx(Rx,{size:16,strokeWidth:1.8})," Marker alle som læst"]})]}),a.jsxs("div",{className:`msg-layout ${ae&&D==="chat"?"mobile-chat":"mobile-threads"}`,children:[!ae||D==="threads"?a.jsxs("section",{className:"msg-threads",children:[a.jsxs("div",{className:"msg-threads-head",children:[a.jsxs("div",{className:"msg-search-wrap",children:[a.jsx(yc,{size:16,strokeWidth:1.8}),a.jsx("input",{value:Y,onChange:p=>q(p.target.value),type:"text",placeholder:"Søg i beskeder..."})]}),a.jsxs("div",{className:"msg-filter-row",children:[a.jsx("button",{type:"button",className:J==="all"?"active":"",onClick:()=>oe("all"),children:"Alle"}),a.jsx("button",{type:"button",className:J==="unread"?"active":"",onClick:()=>oe("unread"),children:"Ulæste"}),a.jsx("button",{type:"button",className:J==="companies"?"active":"",onClick:()=>oe("companies"),children:"Virksomheder"})]})]}),a.jsxs("div",{className:"msg-thread-list custom-scrollbar",children:[S?a.jsx("p",{className:"dash-loading",children:"Indlaeser beskeder..."}):null,!S&&$.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen tråde fundet."}):null,$.map(p=>{const L=tf(p),k=P?.id===p.id,G=Xs(p);return a.jsxs("button",{type:"button",className:k?"msg-thread-item active":"msg-thread-item",onClick:()=>{me(p)},children:[a.jsxs("div",{className:"msg-thread-avatar-wrap",children:[G?a.jsx("img",{src:G,alt:p.companyName,className:"msg-thread-avatar"}):a.jsx("div",{className:"msg-thread-avatar-fallback",children:p.companyName.slice(0,1).toUpperCase()}),a.jsx("span",{className:"msg-thread-online"})]}),a.jsxs("div",{className:"msg-thread-content",children:[a.jsxs("div",{className:"msg-thread-row",children:[a.jsx("h3",{children:p.companyName}),a.jsx("span",{children:Xv(p.latestMessage?.timeSent)})]}),a.jsx("p",{className:L>0?"unread":"",children:p.latestMessage?.text||"Ingen beskeder endnu"}),a.jsx("small",{children:p.title||"Stilling"})]}),L>0?a.jsx("div",{className:"msg-thread-unread",children:L}):null]},p.id)})]})]}):null,!ae||D==="chat"?a.jsxs("section",{className:"msg-chat",children:[a.jsx("div",{className:"msg-chat-head",children:P?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"msg-chat-company",children:[ae?a.jsx("button",{type:"button",className:"msg-mobile-back-btn",onClick:De,"aria-label":"Tilbage til beskeder",children:a.jsx(Di,{size:16,strokeWidth:1.9})}):null,Xs(P)?a.jsx("img",{src:Xs(P),alt:P.companyName,className:"msg-chat-avatar"}):a.jsx("div",{className:"msg-chat-avatar-fallback",children:P.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{children:[a.jsx("h2",{children:P.companyName}),a.jsx("p",{children:P.title||"Rekruttering"})]})]}),a.jsxs("div",{className:"msg-chat-actions",children:[a.jsx("button",{type:"button","aria-label":"Ring",children:a.jsx(Kp,{size:16,strokeWidth:1.8})}),a.jsx("button",{type:"button","aria-label":"Info",children:a.jsx(pp,{size:16,strokeWidth:1.8})})]})]}):a.jsx("h2",{children:"Vælg en samtale"})}),a.jsx("div",{className:"msg-chat-body custom-scrollbar",children:ce.map((p,L)=>{const k=p.timeSent instanceof Date?p.timeSent:new Date(p.timeSent),G=L>0?ce[L-1]:void 0,I=G?.timeSent instanceof Date?G.timeSent:G?.timeSent?new Date(G.timeSent):void 0,f=!I||k.toDateString()!==I.toDateString();return a.jsxs("div",{children:[f?a.jsx("div",{className:"msg-day-sep",children:Kv(k)}):null,a.jsxs("div",{className:p.fromCandidate?"msg-bubble-row mine":"msg-bubble-row",children:[p.fromCandidate?null:Xs(P)?a.jsx("img",{src:Xs(P),alt:P.companyName,className:"msg-mini-avatar"}):a.jsx("div",{className:"msg-mini-avatar msg-mini-avatar-fallback",children:P.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{className:"msg-bubble-wrap",children:[a.jsx("span",{className:"msg-time",children:Sf(p.timeSent)}),a.jsx("div",{className:p.fromCandidate?"msg-bubble mine":"msg-bubble",children:p.text})]})]})]},`${p.threadId}-${L}`)})}),a.jsx("div",{className:"msg-input-area",children:a.jsxs("div",{className:"msg-input-wrap",children:[a.jsx("button",{type:"button","aria-label":"Vedhæft",children:a.jsx(Jp,{size:18,strokeWidth:1.8})}),a.jsx("textarea",{rows:1,value:X,onChange:p=>te(p.target.value),onKeyDown:p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),se())},placeholder:"Skriv din besked her..."}),a.jsx("button",{type:"button","aria-label":"Emoji",children:a.jsx(fb,{size:18,strokeWidth:1.8})}),a.jsxs("button",{type:"button",className:"msg-send-btn",onClick:()=>{se()},children:["Send ",a.jsx(cb,{size:15,strokeWidth:1.8})]})]})})]}):null]})]})]})}function ge({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function Fv({nav:d=!0}){const i=d?"nav":"footer";return a.jsxs("svg",{viewBox:"0 0 100 100",className:d?"w-8 h-8 rounded-lg shadow-[0_4px_15px_rgba(49,103,201,0.2)] group-hover:shadow-[0_6px_20px_rgba(49,103,201,0.3)] transition-all group-hover:scale-105":"w-8 h-8 rounded-lg shadow-sm transition-transform group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${i}LogoBg`,x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:`${i}LogoFg`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:`url(#${i}LogoBg)`}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:`url(#${i}LogoFg)`})]})}function _e({children:d,dark:i=!1,small:o=!1,circle:c=!1}){const h=o?"flex items-start gap-3 text-sm leading-snug":"flex items-start gap-3 text-base leading-snug";return c?a.jsxs("li",{className:`${h} ${i?"text-gray-300":"text-gray-700"}`,children:[a.jsx(ge,{icon:"solar:check-circle-linear",className:`text-lg ${i?"text-teal-400":"text-teal-500"} flex-shrink-0 mt-0.5`,style:{strokeWidth:1.5}}),a.jsx("span",{children:d})]}):a.jsxs("li",{className:`${h} ${i?"text-gray-300":"text-gray-700"}`,children:[a.jsx("div",{className:`w-6 h-6 rounded-full ${i?"bg-white/20 border border-white/30 backdrop-blur-sm":"bg-teal-500"} flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm`,children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-white",style:{strokeWidth:2}})}),a.jsx("span",{children:d})]})}function $v(){const i=v.useMemo(()=>window.location.pathname,[]).includes("virksomhed")?"companies":"jobseekers",[o,c]=v.useState(i),[h,g]=v.useState(!1),[y,V]=v.useState(!1),[M,j]=v.useState(!1);v.useEffect(()=>{if(!h)return;const S=document.body.style.overflow;document.body.style.overflow="hidden";function H(Y){Y.key==="Escape"&&g(!1)}return window.addEventListener("keydown",H),()=>{document.body.style.overflow=S,window.removeEventListener("keydown",H)}},[h]),v.useEffect(()=>{function S(){window.innerWidth>990&&g(!1)}return window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)},[]),v.useEffect(()=>{function S(H){const Y=H.target;Y?.closest(".pricing-how-dropdown")||j(!1),Y?.closest(".pricing-tips-dropdown")||V(!1)}return document.addEventListener("click",S),()=>document.removeEventListener("click",S)},[]);const T=o==="jobseekers";return a.jsxs("div",{className:"pricing-react-root scroll-smooth bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar",children:[a.jsx("div",{className:"fixed top-[-15%] left-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-br from-teal-400/30 to-emerald-300/10 blur-[140px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-15%] right-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-tl from-indigo-500/20 to-purple-400/10 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[20%] right-[15%] w-[40vw] h-[40vw] rounded-full bg-gradient-to-tr from-cyan-400/20 to-blue-300/10 blur-[130px] pointer-events-none z-0"}),a.jsxs("nav",{className:"pricing-nav fixed top-0 inset-x-0 z-50 h-16 bg-white/20 backdrop-blur-2xl border-b border-white/50 shadow-[0_4px_30px_rgba(0,0,0,0.03)] flex items-center justify-between px-6 lg:px-12 transition-all",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-2 group outline-none",children:[a.jsx(Fv,{nav:!0}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsxs("div",{className:"pricing-nav-links",children:[a.jsx("a",{href:"/pricing",className:"text-base font-normal text-gray-900 transition-colors outline-none drop-shadow-sm border-b border-gray-900 pb-0.5",children:"Priser"}),a.jsxs("div",{className:"pricing-how-dropdown",children:[a.jsxs("button",{type:"button",className:"pricing-how-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{j(S=>!S),V(!1)},"aria-expanded":M,children:["Sådan virker det",a.jsx(ge,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${M?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:M?"pricing-how-menu open":"pricing-how-menu",children:[a.jsx("a",{href:"#",onClick:()=>j(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>j(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"pricing-tips-dropdown",children:[a.jsxs("button",{type:"button",className:"pricing-tips-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{V(S=>!S),j(!1)},"aria-expanded":y,children:["Tips og tricks",a.jsx(ge,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${y?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:y?"pricing-tips-menu open":"pricing-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>V(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>V(!1),children:"Jobordbogen"})]})]})]}),a.jsxs("div",{className:"pricing-nav-actions",children:[a.jsx("a",{href:"#",className:"hidden sm:block text-base font-normal text-gray-700 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Log ind"}),a.jsx("a",{href:"#",className:"text-base font-normal text-white bg-gradient-to-r from-gray-900 to-gray-800 hover:from-gray-800 hover:to-gray-700 px-5 py-2.5 rounded-full transition-all shadow-[0_4px_15px_rgba(0,0,0,0.1)] outline-none border border-gray-700",children:"Opret dig"})]}),a.jsx("button",{type:"button",className:"pricing-nav-hamburger","aria-expanded":h,"aria-label":h?"Luk menu":"Åbn menu",onClick:()=>g(S=>!S),children:a.jsx(ge,{icon:h?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),a.jsxs("div",{className:h?"pricing-nav-popup open":"pricing-nav-popup",children:[a.jsx("a",{href:"/pricing",onClick:()=>g(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Sådan virker det: For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Sådan virker det: For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Sådan virker det: FAQ"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Sådan virker det: Nyhedsbrev"}),a.jsx("a",{href:"/stories",onClick:()=>g(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>g(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"pricing-nav-popup-cta",onClick:()=>g(!1),children:"Opret dig"})]})]}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"relative pt-24 pb-16 px-6 lg:px-12 max-w-7xl mx-auto flex flex-col items-center text-center",children:[a.jsx("h1",{className:"text-5xl md:text-6xl font-medium tracking-tight text-gradient mb-6 leading-tight max-w-4xl drop-shadow-sm",children:T?a.jsxs(a.Fragment,{children:["Match med spændende",a.jsx("br",{}),"virksomheder"]}):a.jsxs(a.Fragment,{children:["Opret et ubegrænset",a.jsx("br",{}),"antal annoncer"]})}),a.jsx("p",{className:"text-lg md:text-xl text-gray-600 mb-10 max-w-3xl font-normal leading-relaxed drop-shadow-sm",children:T?"Lad jobbet finde dig. Det tager to minutter at oprette en profil på Arbejd.com, hvor du får adgang til vores machine learning algoritme, der dagligt matcher dig med de mest relevante stillinger i dit område.":"Det er gratis at oprette annoncer på Arbejd.com. Match med de bedste kandidater i Danmark og start samtalen når du er klar."}),a.jsxs("div",{className:`inline-flex p-1.5 bg-white/40 backdrop-blur-xl border border-white/80 rounded-full shadow-[0_4px_20px_rgba(0,0,0,0.03)] relative ${T?"mb-12":"mb-4"}`,children:[a.jsx("button",{type:"button",className:`relative z-10 px-8 py-3 text-sm md:text-base font-medium rounded-full transition-all outline-none ${T?"text-gray-500 hover:text-gray-900":"text-gray-900 bg-white shadow-sm border border-gray-100"}`,onClick:()=>c("companies"),children:"For virksomheder"}),a.jsx("button",{type:"button",className:`relative z-10 px-8 py-3 text-sm md:text-base font-medium rounded-full transition-all outline-none ${T?"text-gray-900 bg-white shadow-sm border border-gray-100":"text-gray-500 hover:text-gray-900"}`,onClick:()=>c("jobseekers"),children:"For jobsøgere"})]}),T?a.jsxs("div",{className:"w-full max-w-2xl mx-auto flex items-center justify-center gap-4 p-4 rounded-2xl bg-gradient-to-r from-teal-50/80 to-indigo-50/80 border border-white shadow-sm backdrop-blur-md",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-white shadow-sm flex items-center justify-center flex-shrink-0 border border-teal-100",children:a.jsx(ge,{icon:"solar:star-fall-minimalistic-linear",className:"text-xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsxs("p",{className:"text-base text-gray-700 text-left leading-snug",children:[a.jsx("span",{className:"font-medium text-gray-900",children:"Kom i gang koster ikke noget."})," Prøv appen gratis, og opgrader når du er klar til at udnytte vores premium funktioner."]})]}):null]}),T?a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"py-12 px-6 lg:px-12 max-w-6xl mx-auto relative z-10",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 items-stretch",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-3xl border border-white/90 rounded-[2.5rem] p-10 shadow-[0_8px_40px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden transition-transform hover:-translate-y-1 duration-300",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 bg-gray-100/80 border border-gray-200 text-gray-600 text-xs font-medium rounded-lg uppercase tracking-wider mb-4",children:"Jobsøgende"}),a.jsx("h3",{className:"text-3xl font-medium text-gray-900 tracking-tight mb-2",children:"Gratis"}),a.jsxs("div",{className:"flex items-baseline gap-1 mt-4",children:[a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"0 kr"}),a.jsx("span",{className:"text-lg text-gray-500 font-normal",children:"/måneden"})]})]}),a.jsxs("ul",{className:"space-y-4 mb-10 flex-1 mt-6",children:[a.jsx(_e,{children:"Gratis oprettelse"}),a.jsx(_e,{children:"Adgang til over 20.000 jobopslag"}),a.jsx(_e,{children:"Ansøg med ét klik"}),a.jsx(_e,{children:"Søgefiltre der passer til din profil"}),a.jsx(_e,{children:"Chat support"}),a.jsx(_e,{children:"Dashboard med overblik over søgte stillinger, igangværende samtaler med virksomheder og din profil"}),a.jsx(_e,{children:"Notifikationer med matches"}),a.jsx(_e,{children:"Øget synlighed – bliv fundet af virksomheder"})]}),a.jsx("button",{type:"button",className:"w-full py-4 rounded-2xl bg-gray-100 hover:bg-gray-200 text-gray-900 font-medium text-lg transition-colors shadow-sm border border-gray-200/50 outline-none mt-auto",children:"Opret Gratis"})]}),a.jsxs("div",{className:"bg-gradient-to-br from-gray-900 to-gray-800 backdrop-blur-3xl border border-gray-700/80 rounded-[2.5rem] p-10 shadow-[0_20px_50px_rgba(0,0,0,0.2)] flex flex-col relative overflow-hidden transition-transform hover:-translate-y-1 duration-300 md:-translate-y-4",children:[a.jsx("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-gradient-to-r from-teal-400 via-cyan-400 to-indigo-400"}),a.jsx("div",{className:"absolute top-[-20%] right-[-20%] w-[60%] h-[60%] bg-gradient-to-bl from-teal-500/20 to-cyan-500/10 blur-[60px] rounded-full pointer-events-none"}),a.jsxs("div",{className:"mb-6 relative z-10",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 bg-gradient-to-r from-teal-300 to-emerald-300 text-teal-900 text-xs font-medium rounded-lg uppercase tracking-wider mb-4 shadow-[0_0_15px_rgba(45,212,191,0.2)]",children:"Jobsøgende"}),a.jsx("h3",{className:"text-3xl font-medium text-white tracking-tight mb-2",children:"Premium"}),a.jsxs("div",{className:"flex items-baseline gap-1 mt-4",children:[a.jsx("span",{className:"text-5xl font-medium text-white tracking-tight drop-shadow-md",children:"49 kr"}),a.jsx("span",{className:"text-lg text-gray-400 font-normal",children:"/måneden"})]})]}),a.jsxs("ul",{className:"space-y-4 mb-10 flex-1 mt-6 relative z-10",children:[a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-300 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-white/20 border border-white/30 backdrop-blur-sm flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-white",style:{strokeWidth:2}})}),a.jsx("span",{className:"text-white font-medium",children:"Alt fra Gratis versionen"})]}),a.jsx(_e,{dark:!0,children:"Upload dit CV - Systemet strukturerer automatisk dine erfaringer, uddannelse og kompetencer"}),a.jsx(_e,{dark:!0,children:"Optimer dit CV - Få intelligente forslag til forbedringer – fra formulering og layout til synliggørelse af dine styrker."}),a.jsx(_e,{dark:!0,children:"Download et professionelt CV - Ét klik – og du har et klart, overskueligt og arbejdsgiver-klart CV i hånden"}),a.jsx(_e,{dark:!0,children:"Karriereagent - Få personlige anbefalinger til opkvalificering, videreuddannelse og skræddersyede jobveje"}),a.jsx(_e,{dark:!0,children:"Systemet genererer både CV og ansøgning til din jobsøgning – klar til brug og tilpasning."})]}),a.jsx("button",{type:"button",className:"w-full py-4 rounded-2xl bg-gradient-to-r from-white to-gray-100 text-gray-900 font-medium text-lg hover:from-gray-50 hover:to-white transition-all shadow-[0_4px_20px_rgba(255,255,255,0.15)] outline-none relative z-10 mt-auto hover:-translate-y-0.5",children:"Opret Premium"})]})]})}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative z-10",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Længere forløb"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Få alle fordelene fra Premium som engangsbetaling og spar penge på den lange bane."})]}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 max-w-6xl mx-auto relative z-10 items-stretch",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/10 backdrop-blur-3xl border border-white/60 rounded-[2rem] p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden hover:-translate-y-1 transition-transform duration-300",children:[a.jsx("h3",{className:"text-2xl font-medium text-gray-900 tracking-tight mb-2",children:"30 dage"}),a.jsx("p",{className:"text-base text-gray-600 mb-6",children:"Perfekt til at komme hurtigt i gang."}),a.jsx("div",{className:"mb-8",children:a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"49 kr"})}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1",children:[a.jsx(_e,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(_e,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(_e,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(_e,{small:!0,circle:!0,children:"Job simulatoren – træn til din jobsamtale"})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-white/60 backdrop-blur-md border border-white hover:bg-white/90 text-gray-900 font-medium text-base transition-colors shadow-sm outline-none mt-auto",children:"Vælg 30 dage"})]}),a.jsxs("div",{className:"bg-gradient-to-br from-gray-900 to-gray-800 backdrop-blur-3xl border border-gray-700/50 rounded-[2rem] p-8 shadow-[0_20px_50px_rgba(0,0,0,0.2)] flex flex-col relative overflow-hidden transform hover:-translate-y-2 transition-transform duration-300",children:[a.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-teal-400 via-cyan-400 to-indigo-400"}),a.jsx("div",{className:"absolute top-[-20%] right-[-20%] w-[60%] h-[60%] bg-gradient-to-bl from-teal-500/30 to-cyan-500/10 blur-[60px] rounded-full pointer-events-none"}),a.jsxs("div",{className:"flex justify-between items-start mb-2 relative z-10",children:[a.jsx("h3",{className:"text-2xl font-medium text-white tracking-tight drop-shadow-md",children:"90 dage"}),a.jsx("span",{className:"px-3 py-1.5 text-xs font-medium text-teal-900 bg-gradient-to-r from-teal-300 to-emerald-300 rounded-lg uppercase tracking-wider shadow-[0_0_15px_rgba(45,212,191,0.3)]",children:"Mest populær"})]}),a.jsx("p",{className:"text-base text-gray-400 mb-6 relative z-10",children:"Ideelt til den dedikerede jobsøgende."}),a.jsx("div",{className:"mb-8 relative z-10",children:a.jsx("span",{className:"text-5xl font-medium text-white tracking-tight drop-shadow-md",children:"129 kr"})}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1 relative z-10",children:[a.jsx(_e,{small:!0,dark:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(_e,{small:!0,dark:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(_e,{small:!0,dark:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(_e,{small:!0,dark:!0,circle:!0,children:"Job simulatoren – træn til din jobsamtale"}),a.jsx(_e,{small:!0,dark:!0,circle:!0,children:"Spar 18 kr. i forhold til 30 dage"})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-gradient-to-r from-white to-gray-100 text-gray-900 font-medium text-base hover:from-gray-50 hover:to-white transition-all shadow-[0_4px_15px_rgba(255,255,255,0.1)] outline-none relative z-10 mt-auto",children:"Vælg 90 dage"})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/10 backdrop-blur-3xl border border-white/60 rounded-[2rem] p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden hover:-translate-y-1 transition-transform duration-300",children:[a.jsx("h3",{className:"text-2xl font-medium text-gray-900 tracking-tight mb-2",children:"365 dage"}),a.jsx("p",{className:"text-base text-gray-600 mb-6",children:"Det bedste langsigtede valg til din karriere."}),a.jsxs("div",{className:"mb-5 relative",children:[a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"249 kr"}),a.jsx("span",{className:"block text-sm text-teal-600 font-medium mt-1",children:"Svarer til 0.68 kr. pr. dag"})]}),a.jsxs("div",{className:"mb-6 p-4 rounded-xl bg-gradient-to-br from-teal-50/80 to-emerald-50/80 border border-teal-200/50 shadow-sm relative overflow-hidden",children:[a.jsx("div",{className:"absolute -right-3 -top-3 text-teal-500/10",children:a.jsx(ge,{icon:"solar:gift-bold",className:"text-7xl"})}),a.jsxs("h4",{className:"text-sm font-medium text-teal-900 mb-1 relative z-10 flex items-center gap-2",children:[a.jsx(ge,{icon:"solar:gift-linear",className:"text-base text-teal-600",style:{strokeWidth:1.5}}),"Giv en gave"]}),a.jsx("p",{className:"text-xs text-teal-800 relative z-10 leading-snug",children:"Få en gratis 3-måneders Premium-kode med i købet til en ven."})]}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1",children:[a.jsx(_e,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(_e,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(_e,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(_e,{small:!0,circle:!0,children:"Job simulatoren – træn til din jobsamtale"})]}),a.jsx("button",{type:"button",className:"w-full py-3 rounded-xl bg-white/60 backdrop-blur-md border border-white hover:bg-white/90 text-gray-900 font-medium text-base transition-colors shadow-sm outline-none mt-auto",children:"Vælg 365 dage"})]})]})]}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative z-10",children:[a.jsx("div",{className:"text-center mb-16",children:a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"En ny måde at finde jobs på"})}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:[a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-teal-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-teal-50 to-white border border-teal-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:bolt-linear",className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Hurtig oprettelse"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Opret en profil i vores app på ingen tid gennem en intuitiv profil-oprettelse."})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-indigo-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-indigo-50 to-white border border-indigo-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:bolt-circle-linear",className:"text-2xl text-indigo-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Ledige stillinger i hele DK"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Appen giver dig adgang til over 20.000 ledige stillinger i hele Danmark."})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-blue-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-blue-50 to-white border border-blue-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:hand-shake-linear",className:"text-2xl text-blue-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"1-1 match"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Vores algoritme matcher & giver dig forslag baseret på dine jobønsker & profil."})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-cyan-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-cyan-50 to-white border border-cyan-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:pointer-linear",className:"text-2xl text-cyan-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Ansøg med et klik"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Spar tid på CV & lange skriv - med Arbejd.com ansøger du kun med kun ét klik."})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-amber-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-amber-50 to-white border border-amber-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:lock-password-linear",className:"text-2xl text-amber-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Ingen begrænsning"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Få direkte adgang til alle virksomheder & ansøg deres ledige stillinger."})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-purple-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-purple-50 to-white border border-purple-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:chat-round-line-linear",className:"text-2xl text-purple-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Henvendelser"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Få uopfordrede henvendelser fra virksomheder som matcher din profil."})]})]})]}),a.jsx("section",{className:"pb-24 pt-12 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-teal-50 group-hover:text-teal-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:box-minimalistic-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"Produktet"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Effektiviser din jobsøgning"})]}),a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-indigo-50 group-hover:text-indigo-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:question-circle-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"FAQ"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Oftest stillede spørgsmål"})]}),a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-amber-50 group-hover:text-amber-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:letter-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"Kontakt"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Start samtalen i dag"})]})]})})]}):a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"py-12 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 items-stretch",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-3xl border border-white/90 rounded-[2.5rem] p-8 shadow-[0_8px_40px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden transition-transform hover:-translate-y-1 duration-300",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 bg-gray-100/80 border border-gray-200 text-gray-600 text-xs font-medium rounded-lg uppercase tracking-wider mb-4",children:"Gratis"}),a.jsx("h3",{className:"text-3xl font-medium text-gray-900 tracking-tight mb-4",children:"Standard"}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed min-h-[4.5rem]",children:"Opret annoncer enkeltvist. Du har gratis adgang til alle funktioner og du betaler først 995,- når du vil kontakte ansøgere"})]}),a.jsxs("ul",{className:"space-y-4 mb-10 flex-1 mt-2",children:[a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Gratis annonceoprettelse"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Ubegrænset antal annoncer"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Adgang til anonymiserede kandidater og ansøgere"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Chat support"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"SaaS-løsning til sortering, screening og match"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"SaaS-løsning til afslag- og beskedsystem"})]})]}),a.jsxs("div",{className:"mt-auto",children:[a.jsx("button",{type:"button",className:"w-full py-4 rounded-2xl bg-gray-100 hover:bg-gray-200 text-gray-900 font-medium text-lg transition-colors shadow-sm border border-gray-200/50 outline-none",children:"Opret Gratis"}),a.jsx("p",{className:"text-xs text-center text-gray-500 mt-3",children:"Kræver ikke kreditkort."})]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-gray-900 to-gray-800 backdrop-blur-3xl border border-gray-700/80 rounded-[2.5rem] p-8 shadow-[0_20px_50px_rgba(0,0,0,0.2)] flex flex-col relative overflow-hidden transition-transform hover:-translate-y-1 duration-300 md:-translate-y-4",children:[a.jsx("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-gradient-to-r from-teal-400 via-cyan-400 to-indigo-400"}),a.jsx("div",{className:"absolute top-[-20%] right-[-20%] w-[60%] h-[60%] bg-gradient-to-bl from-teal-500/20 to-cyan-500/10 blur-[60px] rounded-full pointer-events-none"}),a.jsxs("div",{className:"mb-6 relative z-10",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 bg-gradient-to-r from-teal-300 to-emerald-300 text-teal-900 text-xs font-medium rounded-lg uppercase tracking-wider mb-4 shadow-[0_0_15px_rgba(45,212,191,0.2)]",children:"DKK 995"}),a.jsx("h3",{className:"text-3xl font-medium text-white tracking-tight mb-4",children:"Fuld Adgang"}),a.jsx("p",{className:"text-base text-gray-300 leading-relaxed min-h-[4.5rem]",children:"Opret annoncer enkeltvist. Det er gratis, og du betaler først 995,- når du vil kontakte ansøgere"})]}),a.jsxs("ul",{className:"space-y-4 mb-10 flex-1 mt-2 relative z-10",children:[a.jsx(_e,{dark:!0,children:"Gratis annonceoprettelse"}),a.jsx(_e,{dark:!0,children:"Ubegrænset antal annoncer"}),a.jsx(_e,{dark:!0,children:"Fuld adgang til kandidater og ansøgere"}),a.jsx(_e,{dark:!0,children:"Chat support"}),a.jsx(_e,{dark:!0,children:"SaaS-løsning til sortering, screening og match"}),a.jsx(_e,{dark:!0,children:"SaaS-løsning til afslag- og beskedsystem"})]}),a.jsxs("div",{className:"mt-auto relative z-10",children:[a.jsx("button",{type:"button",className:"w-full py-4 rounded-2xl bg-gradient-to-r from-white to-gray-100 text-gray-900 font-medium text-lg hover:from-gray-50 hover:to-white transition-all shadow-[0_4px_20px_rgba(255,255,255,0.15)] outline-none hover:-translate-y-0.5",children:"Opret Gratis"}),a.jsx("p",{className:"text-xs text-center text-gray-400 mt-3",children:"Kræver ikke kreditkort."})]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-3xl border border-white/90 rounded-[2.5rem] p-8 shadow-[0_8px_40px_rgba(0,0,0,0.04)] flex flex-col relative overflow-hidden transition-transform hover:-translate-y-1 duration-300",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("span",{className:"inline-block px-3 py-1.5 bg-gray-100/80 border border-gray-200 text-gray-600 text-xs font-medium rounded-lg uppercase tracking-wider mb-4",children:"Tilpasset"}),a.jsx("h3",{className:"text-3xl font-medium text-gray-900 tracking-tight mb-4",children:"Enterprise"}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed min-h-[4.5rem]",children:"Få en skræddersyet plan til din virksomhed, vikar- eller rekrutteringsbureau"})]}),a.jsxs("ul",{className:"space-y-4 mb-10 flex-1 mt-2",children:[a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Gratis annonceoprettelse"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Ubegrænset antal annoncer"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Adgang til anonymiserede kandidater og ansøgere"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Chat support"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"Dedikeret assistance"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"SaaS-løsning til sortering, screening og match"})]}),a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700 leading-snug",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0 mt-0.5 shadow-sm",children:a.jsx(ge,{icon:"solar:check-read-linear",className:"text-sm text-purple-600",style:{strokeWidth:2}})}),a.jsx("span",{children:"SaaS-løsning til afslag- og beskedsystem"})]})]}),a.jsx("div",{className:"mt-auto",children:a.jsx("button",{type:"button",className:"w-full py-4 rounded-2xl bg-white hover:bg-gray-50 text-gray-900 font-medium text-lg transition-colors shadow-sm border border-gray-200 outline-none",children:"Kontakt os"})})]})]})}),a.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative z-10 mt-12",children:[a.jsx("div",{className:"text-center mb-16",children:a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Designet til din virksomhed"})}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:[a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-teal-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-teal-50 to-white border border-teal-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:wallet-money-linear",className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Gratis oprettelse"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Hurtig og ubegrænset gratis oprettelse af jobannoncer"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-indigo-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-indigo-50 to-white border border-indigo-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:bolt-linear",className:"text-2xl text-indigo-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Effektivt"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Reducer rekrutteringsudgifter med op til 90%"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-blue-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-blue-50 to-white border border-blue-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:hand-shake-linear",className:"text-2xl text-blue-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"1-1 match"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Systematiserer, sorterer og matcher op med dine krav"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-cyan-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-cyan-50 to-white border border-cyan-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:pointer-linear",className:"text-2xl text-cyan-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Beslut med et klik"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Træf beslutningerne hurtigt og effektivt"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-amber-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-amber-50 to-white border border-amber-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:lock-unlocked-linear",className:"text-2xl text-amber-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Ingen begrænsninger"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Direkte adgang til ansøgerne og kandidaterne"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-purple-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-purple-50 to-white border border-purple-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:chat-round-line-linear",className:"text-2xl text-purple-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Dialog"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Gå i dialog med kandidaterne med det samme"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-emerald-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-emerald-50 to-white border border-emerald-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:close-circle-linear",className:"text-2xl text-emerald-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Afslå med et klik"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Afslag og samtale invitationer sendes med et enkelt klik"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-rose-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-rose-50 to-white border border-rose-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:wad-of-money-linear",className:"text-2xl text-rose-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Nem betaling"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Betal kun hvis I ønsker adgang til kontaktoplysninger"})]}),a.jsxs("div",{className:"p-8 bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-xl border border-white/80 rounded-3xl shadow-[0_4px_20px_rgba(0,0,0,0.02)] hover:shadow-[0_8px_30px_rgba(0,0,0,0.06)] hover:border-fuchsia-200/50 transition-all group",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-to-br from-fuchsia-50 to-white border border-fuchsia-100/50 shadow-sm flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:a.jsx(ge,{icon:"solar:network-linear",className:"text-2xl text-fuchsia-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2 tracking-tight",children:"Spar tid"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:"Ingen manuel screeningsproces"})]})]})]}),a.jsx("section",{className:"pb-24 pt-12 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-teal-50 group-hover:text-teal-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:box-minimalistic-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"Produktet"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Effektiviser din rekruttering"})]}),a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-indigo-50 group-hover:text-indigo-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:question-circle-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"FAQ"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Oftest stillede spørgsmål"})]}),a.jsxs("a",{href:"#",className:"flex flex-col items-center text-center p-8 bg-white/40 backdrop-blur-xl border border-white/80 rounded-3xl hover:bg-white/60 transition-colors group outline-none",children:[a.jsx("div",{className:"w-14 h-14 bg-gray-100 rounded-full flex items-center justify-center mb-4 group-hover:bg-amber-50 group-hover:text-amber-600 transition-colors text-gray-700",children:a.jsx(ge,{icon:"solar:letter-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-1",children:"Kontakt"}),a.jsx("p",{className:"text-sm text-gray-500 font-normal",children:"Få hjælp til at vælge en løsning"})]})]})})]})]}),a.jsx(tn,{})]})}function Zt({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function Iv({nav:d=!0}){const i=d?"jobNav":"jobFooter";return a.jsxs("svg",{viewBox:"0 0 100 100",className:d?"w-8 h-8 rounded-lg shadow-[0_4px_15px_rgba(49,103,201,0.2)] group-hover:shadow-[0_6px_20px_rgba(49,103,201,0.3)] transition-all group-hover:scale-105":"w-8 h-8 rounded-lg shadow-sm transition-transform group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${i}Bg`,x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:`${i}Fg`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:`url(#${i}Bg)`}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:`url(#${i}Fg)`})]})}function kc(d){return d.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/æ/g,"ae").replace(/ø/g,"oe").replace(/å/g,"aa").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const zi=[{accent:"teal",title:"2-ugers reglen",body:"For at opnå retten til dagpenge skal du melde dig ind i en A-kasse inden for to uger af, at du afslutter din uddannelse. Når du har meldt dig ind i en A-kasse er der en obligatorisk karensmåned, hvilket betyder at du først får udbetalt dagpenge en måned efter at din uddannelse slutter."},{accent:"indigo",title:"Afslag",body:"Et afslag fra en arbejdsgiver er et klart svar på, at du ikke får det job, du har søgt. Afslag er en naturlig del af livet som jobsøgende, uanset hvor uønsket det kan være. Måske har du sendt en motiveret ansøgning, du har måske endda været til samtale og følt, at kemien var perfekt."},{accent:"amber",title:"Agil",body:"Et af de seneste års store buzzwords i erhvervslivet har været udtrykket “agil”, hvilket i sin essens betyder smidighed. Ordet har forskellige betydninger hvor det bruges, f.eks. har “agil ledelse” og “agil systemudvikling” forskellige karakteristika."},{accent:"rose",title:"A-kasse",body:"En arbejdsløshedskasse eller a-kasse, som det oftest kaldes i folkemunde, er en organisation der sikrer dig økonomisk i tilfælde af arbejdsløshed. A-kasser er ofte tilknyttet bestemte faggrupper eller brancher, men der findes også tværfaglige a-kasser. Det er som udgangspunkt frivilligt at være medlem af en a-kasse."},{accent:"emerald",title:"Anciennitet",body:"Anciennitet er et udtryk for, hvor længe du har været ansat på en arbejdsplads eller i en bestemt branche. Høj anciennitet kan ofte medføre bedre vilkår, højere løn og længere opsigelsesvarsler, afhængigt af din kontrakt eller overenskomst."},{accent:"cyan",title:"ATP",body:"ATP står for Arbejdsmarkedets Tillægspension og er en lovpligtig pensionsordning for næsten alle lønmodtagere i Danmark. Både du og din arbejdsgiver betaler til ordningen, og pengene bliver udbetalt, når du når folkepensionsalderen."},{accent:"violet",title:"Bruttoløn",body:"Bruttoløn er den løn, du har tjent før skat, arbejdsmarkedsbidrag og pension er trukket fra. Det er oftest dette beløb, der tales om, når du forhandler løn til en jobsamtale, modsat nettoløn, som er det, du reelt får udbetalt på kontoen."},{accent:"fuchsia",title:"Dagpenge",body:"Dagpenge er en økonomisk ydelse, du kan få som forsikret ledig i en a-kasse. Det er et økonomisk sikkerhedsnet for dig, som står uden arbejde, indtil du finder dit næste job. Der er særlige krav, du skal opfylde for at være berettiget til at modtage dagpenge."},{accent:"orange",title:"Elevatortale",body:"En elevatortale er en kort, præcis præsentation af dig selv, dine kernekompetencer og hvad du søger. Tanken bag begrebet er, at du skal kunne levere dit budskab og skabe interesse på den tid, det tager at køre en tur i en elevator."},{accent:"sky",title:"Fagforening",body:"En organisation der varetager lønmodtagernes interesser på arbejdsmarkedet. En fagforening kan hjælpe dig med rådgivning omkring løn, kontrakter, arbejdsmiljø og ved eventuelle konflikter på din arbejdsplads."},{accent:"pink",title:"Feriepenge",body:"Som lønmodtager optjener du automatisk retten til betalt ferie. For hver måned du er ansat, optjener du 2,08 dages ferie. Feriepengene udbetales typisk, når du afholder ferie, eller når du fratræder en stilling."},{accent:"lime",title:"Funktionær",body:"En lønmodtager, der typisk udfører kontorarbejde, handelsarbejde eller klinisk arbejde. Som funktionær er du dækket af funktionærloven, som sikrer dig særlige rettigheder i forhold til opsigelsesvarsler, løn under sygdom og fratrædelsesgodtgørelse."},{accent:"teal",title:"Akkord",body:"En akkordløn er en aflønning, som afhænger af din præsterede produktionsmængde og ikke den anvendte arbejdstid. Du bliver lønnet efter resultat, ofte kombineret med en grundtimeløn."},{accent:"indigo",title:"Aktivering",body:"Aktivering giver dig som jobsøgende muligheder for at udvikle kompetencer og få erhvervserfaring. Forløbet sker gennem jobcenteret med fx virksomhedspraktik, løntilskud eller opkvalificering."},{accent:"amber",title:"Ambitiøs",body:"At være ambitiøs handler om at arbejde målrettet mod det, du ønsker at opnå, fx dit drømmejob. Det handler om vedholdenhed, udvikling og høje standarder i din jobsøgning."},{accent:"rose",title:"Analytisk",body:"At være analytisk betyder at tænke systematisk, logisk og grundigt i arbejdsopgaver. Kompetencen kan trænes og er værdifuld i mange roller."},{accent:"emerald",title:"Ansættelsesdato",body:"Ansættelsesdatoen er den dag, hvor du officielt anses som ansat. Løn, pension og øvrige vilkår træder typisk i kraft fra denne dato."},{accent:"cyan",title:"Ansøgningsfrist",body:"Ansøgningsfristen er den sidste dato for indsendelse af ansøgning til et jobopslag. Efter fristen bliver ansøgninger som udgangspunkt ikke taget i betragtning."},{accent:"violet",title:"Ansvarsområder",body:"Ansvarsområder er de opgaver, du forventes at levere på i en stilling. En klar afstemning af ansvar skaber tryghed og bedre samarbejde."},{accent:"fuchsia",title:"Arbejdsforhold",body:"Arbejdsforhold dækker de samlede vilkår på en arbejdsplads, fx arbejdsmiljø, arbejdstid og aflønning. Gode arbejdsforhold giver trivsel og fair rammer."},{accent:"orange",title:"Arbejdsgiver",body:"En arbejdsgiver er den virksomhed eller person, der ansætter dig, udbetaler løn og fordeler opgaver. Det er også arbejdsgiveren, der udbyder stillinger."},{accent:"sky",title:"Arbejdsløs",body:"Når du står uden job, er du arbejdsløs eller ledig. Begrebet bruges også samfundsøkonomisk om personer uden beskæftigelse, som står til rådighed for arbejdsmarkedet."},{accent:"pink",title:"Arbejdsmiljø",body:"Arbejdsmiljø beskriver de fysiske, sociale og psykiske forhold på en arbejdsplads. Et godt arbejdsmiljø handler om trivsel, tryghed og ordentlige rammer."},{accent:"lime",title:"Arbejdsskade",body:"En arbejdsskade er en skade eller sygdom, som opstår pga. dit arbejde eller arbejdsmiljø. Det kan være både fysiske og psykiske skader."},{accent:"teal",title:"Arbejdsskade-forsikring",body:"Arbejdsskadeforsikring er lovpligtig for erhvervsdrivende og dækker arbejdsskader og erhvervssygdomme. Forsikringen beskytter ansatte ved arbejdsrelaterede skader."},{accent:"indigo",title:"Arbejdstager",body:"En arbejdstager er en person, der sælger sin arbejdskraft og er ansat eller søger ansættelse. Modsætningen er selvstændigt erhvervsdrivende."},{accent:"amber",title:"Arbejdsudbud",body:"Arbejdsudbud er det samlede antal timer, befolkningen ønsker at arbejde for en given løn. Det handler ikke om antallet af ledige stillinger."},{accent:"rose",title:"Arbejdsvilkår",body:"Arbejdsvilkår omfatter løn, arbejdsmiljø, tid og de generelle betingelser, du arbejder under. Ændringer i vilkår skal varsles korrekt."},{accent:"emerald",title:"Bachelor",body:"En bachelor er en mellemlang videregående uddannelse. Universitetsbachelor tager normalt 3 år og professionsbachelor 3,5-4 år afhængigt af uddannelsen."},{accent:"cyan",title:"Barselsvikariat",body:"Et barselsvikariat er en midlertidig stilling, hvor du dækker en ansat under barsel. Det kan være en vej ind i senere fastansættelse."},{accent:"violet",title:"Bortvisning",body:"Bortvisning er arbejdsgivers mest alvorlige sanktion, hvor ansættelsen ophører med øjeblikkelig virkning ved grov misligholdelse."},{accent:"fuchsia",title:"Brancheområde",body:"Et brancheområde er en bred kategori med flere forskellige jobfunktioner. Ét område kan rumme mange roller og kompetenceprofiler."},{accent:"orange",title:"Certifikat",body:"Et certifikat dokumenterer konkrete kompetencer opnået gennem kursus, træning eller uddannelse. Det kan være krav i bestemte jobfunktioner."},{accent:"sky",title:"Coach",body:"En coach hjælper med professionel eller personlig udvikling gennem sparring, struktur og målretning. Coaching kan støtte både karriere og trivsel."},{accent:"pink",title:"CSR",body:"CSR står for Corporate Social Responsibility og handler om virksomhedens sociale, miljømæssige og etiske ansvar i samfundet."},{accent:"lime",title:"CV",body:"Et CV er en oversigt over dine erfaringer, kompetencer og uddannelse. Det giver arbejdsgiver et hurtigt billede af, om du matcher stillingen."},{accent:"lime",title:"CVR-nummer",body:"Et CVR-nummer er virksomhedens unikke identifikationsnummer i Det Centrale Virksomhedsregister. Det bruges ved bl.a. fakturering og kontakt med myndigheder."},{accent:"teal",title:"Deltid",body:"Deltid betyder normalt under 30 timer om ugen. Deltidsansatte har som udgangspunkt ret til vilkår på niveau med sammenlignelige fuldtidsansatte."},{accent:"indigo",title:"Detaljeorienteret",body:"At være detaljeorienteret betyder at arbejde grundigt, kvalitetssikre og have fokus på præcision. Det er en efterspurgt kompetence i mange jobtyper."},{accent:"amber",title:"Dynamisk",body:"Dynamisk beskriver en fleksibel, omstillingsparat og handlekraftig arbejdsstil eller arbejdsplads. Forandring er typisk en naturlig del af hverdagen."},{accent:"rose",title:"Efteruddannelses-rettigheder",body:"Efteruddannelsesrettigheder afhænger af overenskomst og ansættelsesforhold. Mange ansatte har ret til selvvalgt uddannelse med løn i en given periode."},{accent:"emerald",title:"Engageret",body:"At være engageret betyder at vise ægte interesse og ansvar i arbejdet. Engagement er vigtigt i ansøgninger, samtaler og daglig opgaveløsning."},{accent:"cyan",title:"Faglært",body:"Faglært betyder, at du har en relevant uddannelse inden for et fagområde. Betegnelsen bruges ofte i håndværk, service, handel og industri."},{accent:"violet",title:"Faglige kompetencer",body:"Faglige kompetencer er konkrete evner opnået gennem uddannelse, arbejde eller praksis. De viser, hvad du kan levere i en specifik rolle."},{accent:"fuchsia",title:"Feriedagpenge",body:"Feriedagpenge kan udbetales via A-kasse, hvis du ikke har ferie med løn eller feriepenge. Der gælder særlige krav og frister for at få dem."},{accent:"orange",title:"Ferieloven",body:"Ferieloven fastsætter regler for optjening og afholdelse af ferie samt feriebetaling. Som lønmodtager har du som minimum ret til 25 feriedage om året."},{accent:"orange",title:"Fleksjob",body:"Fleksjob er en ansættelsesordning for personer med varigt nedsat arbejdsevne. Jobbet tilpasses den enkeltes skånebehov og kapacitet."},{accent:"sky",title:"Forlængelse og optjening af dagpengeperiode",body:"Dagpengeperioden kan i visse tilfælde forlænges eller genoptjenes gennem arbejde. Reglerne afhænger af løntimer, periode og tidligere dagpengeret."},{accent:"pink",title:"Forstå din lønseddel",body:"Lønsedlen viser bl.a. løn, pension, AM-bidrag, skat og eventuelle tillæg eller fradrag. At forstå felterne giver bedre overblik over din økonomi."},{accent:"lime",title:"Freelance",body:"Freelancearbejde er selvstændigt opgavebaseret arbejde uden traditionel ansættelse. Du styrer typisk selv vilkår, pris og samarbejdsaftaler."},{accent:"teal",title:"Frivilligt arbejde",body:"Frivilligt arbejde er ulønnet indsats af fri vilje til gavn for andre. Det kan give social værdi, netværk og erfaring."},{accent:"indigo",title:"G-dage",body:"G-dage er arbejdsgivers kompensation i de første ledighedsdage efter opsigelse eller hjemsendelse. Der gælder særlige betingelser og frister."},{accent:"amber",title:"Gode samarbejdsevner",body:"Gode samarbejdsevner handler om kommunikation, lytning, feedback og evnen til at arbejde konstruktivt med andre."},{accent:"rose",title:"Grundløn",body:"Grundløn er den faste løn før tillæg, overtid og bonus. Den fastsættes via overenskomst eller individuel lønforhandling."},{accent:"emerald",title:"Headhunter",body:"En headhunter rekrutterer kandidater til stillinger, ofte uden at kandidaterne aktivt har søgt jobbet. Processen foregår typisk diskret."},{accent:"cyan",title:"Jobafklaringsforløb",body:"Et jobafklaringsforløb gives til sygemeldte, som ikke længere kan få sygedagpenge. Målet er at støtte tilbagevenden til job eller uddannelse."},{accent:"violet",title:"Jobagent",body:"En jobagent sender automatisk besked om nye jobopslag, der matcher dine kriterier. Det gør jobsøgning hurtigere og mere målrettet."},{accent:"fuchsia",title:"Jobannonce",body:"En jobannonce beskriver stilling, krav og kontaktinfo. Den er ofte første møde mellem arbejdsgiver og jobsøger."},{accent:"orange",title:"Jobbank",body:"En jobbank er en digital platform med ledige stillinger og søgefiltre. Den hjælper jobsøgere med at finde relevante job hurtigere."},{accent:"sky",title:"Jobcenter",body:"Jobcenteret er din kommunale base som ledig og hjælper med plan, aktivering, opfølgning og vejledning i jobsøgning."},{accent:"pink",title:"Jobsøgningsstrategi",body:"En jobsøgningsstrategi er din plan for hvordan du arbejder struktureret og målrettet med at finde det rigtige job."},{accent:"lime",title:"Kandidatgrad",body:"En kandidatgrad er en videregående universitetsuddannelse på typisk 2 år efter en relevant bachelor."},{accent:"teal",title:"Karens",body:"Karens betyder perioder uden dagpengeudbetaling, selv når du ellers er berettiget. Reglerne afhænger af din konkrete dagpengesituation."},{accent:"indigo",title:"Dagpengeregler",body:"Dagpengereglerne beskriver krav til medlemskab, jobsøgning, rådighed, registrering på Jobnet og beskæftigelse for at kunne modtage dagpenge."},{accent:"indigo",title:"Kreativ",body:"At være kreativ handler om at skabe nye idéer og løsninger. Det er en central kompetence i innovation, udvikling og forandring."},{accent:"amber",title:"Kurser for ledige",body:"Ledige kan i visse tilfælde få bevilget jobrettede kurser, fx 6-ugers forløb, der styrker mulighederne for ansættelse."},{accent:"rose",title:"Ledig som selvstændig",body:"Selvstændige kan under bestemte regler få dagpenge, hvis virksomheden ophører eller drives som bibeskæftigelse med rådighed for arbejdsmarkedet."},{accent:"emerald",title:"Lønmodtagerens Garantifond",body:"Garantifonden kan dække løn, feriepenge og pension, hvis en arbejdsgiver går konkurs eller bliver insolvent."},{accent:"cyan",title:"Lønsikring",body:"Lønsikring er en ekstra forsikring, der kan supplere dagpenge ved ledighed og dække en større del af din tidligere løn."},{accent:"violet",title:"Løntilskud",body:"Løntilskud er en ordning, hvor det offentlige giver tilskud til løn i en periode for at hjælpe ledige tættere på ordinær ansættelse."},{accent:"fuchsia",title:"Målrettet",body:"Målrettethed er evnen til at arbejde fokuseret mod et konkret mål over tid. Det er en stærk egenskab i både jobsøgning og arbejde."},{accent:"orange",title:"Metodefaglige kompetencer",body:"Metodefaglige kompetencer kan bruges på tværs af brancher, fx struktur, salg, kommunikation eller projektstyring."},{accent:"sky",title:"Motiveret ansøgning",body:"En motiveret ansøgning forklarer hvorfor netop du passer til stillingen, og hvorfor jobbet giver mening for dig."},{accent:"pink",title:"Networking",body:"Networking er at opbygge og vedligeholde professionelle relationer, som kan skabe viden, muligheder og samarbejde over tid."},{accent:"lime",title:"Nyledig",body:"Som nyledig skal du hurtigt registrere dig på Jobnet, kontakte A-kasse/jobcenter og oprette CV for at sikre rettigheder og støtte."},{accent:"teal",title:"Offshore arbejde",body:"Offshore arbejde foregår væk fra land, fx på platforme eller havvind. Det kræver ofte særlige certifikater og helbredsgodkendelse."},{accent:"indigo",title:"Opsigelse",body:"Opsigelse er afslutning af ansættelse fra medarbejder eller arbejdsgiver. Regler, formkrav og varsler afhænger af kontrakt og lovgrundlag."},{accent:"amber",title:"Opsigelsesvarsel",body:"Opsigelsesvarsel er perioden fra opsigelse til fratrædelse. Længden afhænger af ansættelsesforhold, anciennitet og aftale."},{accent:"rose",title:"Personlige kompetencer",body:"Personlige kompetencer beskriver hvordan du arbejder og samarbejder, fx om du er struktureret, selvstændig, kreativ eller analytisk."},{accent:"emerald",title:"Personlighedstest",body:"Personlighedstests bruges ofte i rekruttering til at vurdere adfærd, præferencer og match til rolle og arbejdsmiljø."},{accent:"cyan",title:"Rekruttering",body:"Rekruttering er processen med at finde, vurdere og ansætte kandidater til en stilling. Den kan være intern, ekstern eller via bureau."},{accent:"violet",title:"Skattekort",body:"Skattekort (hovedkort, bikort, frikort) styrer hvordan din indkomst beskattes. Korrekt brug er vigtig for at undgå restskat."},{accent:"fuchsia",title:"Søgnehelligdage",body:"Søgnehelligdage er helligdage på hverdage. Regler for løn og arbejde afhænger af ansættelsesform og overenskomst."},{accent:"orange",title:"Strategisk",body:"At være strategisk betyder at kunne planlægge, prioritere og handle med blik for langsigtede mål og konsekvenser."},{accent:"sky",title:"Struktureret",body:"Struktureret arbejde betyder orden, systematik og klare processer. Det skaber forudsigelighed og højere kvalitet i opgaveløsning."},{accent:"pink",title:"SU-klip",body:"SU-klip er antallet af månedlige SU-udbetalinger, du kan modtage under videregående uddannelse. Ét klip svarer til én måneds SU."},{accent:"lime",title:"Supplerende dagpenge",body:"Ved deltidsarbejde kan du i visse tilfælde få supplerende dagpenge for resterende timer op til dit forsikringsniveau."},{accent:"teal",title:"SU vs. studiejob",body:"Når du har studiejob, skal du holde øje med fribeløbet for at undgå tilbagebetaling af SU. Beløbsgrænser afhænger af din situation."},{accent:"indigo",title:"Tidsbegrænset stilling",body:"En tidsbegrænset stilling har en kendt slutdato eller opgaveafgrænsning. Ansættelsen skal have en saglig begrundelse."},{accent:"amber",title:"Timelønnet",body:"Timelønnede aflønnes efter faktisk arbejdstid. Regler om ferie, pension og varsler afhænger af overenskomst og ansættelsesforhold."},{accent:"rose",title:"Ufaglært",body:"Ufaglært betyder at du ikke har en formel erhvervsuddannelse inden for faget. Betegnelsen bruges stadig i flere brancher."},{accent:"emerald",title:"Ungarbejder",body:"Ungarbejdere er under 18 år og omfattet af særlige regler for arbejdstid, opgavetyper og sikkerhed på arbejdspladsen."},{accent:"cyan",title:"Uopfordret ansøgning",body:"En uopfordret ansøgning sendes uden aktivt jobopslag. Den kan skabe muligheder ved at vise motivation og initiativ."},{accent:"violet",title:"Videoansøgning",body:"En videoansøgning er en kort præsentationsvideo som supplement til CV/ansøgning. Den giver arbejdsgiver et hurtigt personligt indtryk."},{accent:"fuchsia",title:"Vikar",body:"En vikar er midlertidigt ansat, enten direkte eller via bureau. Vikarer har som udgangspunkt ret til vilkår på niveau med fastansatte i tilsvarende roller."},{accent:"orange",title:"Vikarbureau",body:"Et vikarbureau matcher virksomheder og midlertidige medarbejdere. Bureauet håndterer ofte kontraktforhold og dele af administrationen."},{accent:"sky",title:"Vikar regler i fh.t. dagpenge",body:"Vikararbejde kan kombineres med dagpenge efter særlige regler. Fuldtid og deltid påvirker dagpenge forskelligt."},{accent:"pink",title:"Virksomhedspraktik",body:"Virksomhedspraktik er et afklarings- og opkvalificeringsforløb gennem jobcenteret, som kan styrke vejen til ordinært job."}],Pv=[{badge:"Jobsamtalen",color:"teal",duration:"05:42",image:"https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?auto=format&fit=crop&w=1000&q=80",title:"Den perfekte elevatortale",views:"1.2k visninger",body:"Lær hvordan du præsenterer dig selv professionelt og fængende på under et minut. Skab det absolut bedste førstehåndsindtryk til samtalen."},{badge:"CV & Ansøgning",color:"indigo",duration:"08:15",image:"https://images.unsplash.com/photo-1586281380349-632531db7ed4?auto=format&fit=crop&w=1000&q=80",title:"Opbygning af det moderne CV",views:"3.4k visninger",body:"Få styr på de elementer arbejdsgiverne reelt kigger efter. Gør dit CV overskueligt og målrettet fremtidens digitale arbejdsmarked."},{badge:"Lønforhandling",color:"amber",duration:"12:30",image:"https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1000&q=80",title:"Få den løn du fortjener",views:"2.8k visninger",body:"Hvordan forbereder du dig bedst til lønforhandlingen? Lær strategier til at kende din markedsværdi og få de bedste argumenter klar."},{badge:"Netværk",color:"rose",duration:"09:18",image:"https://images.unsplash.com/photo-1611162617474-5b21e879e113?auto=format&fit=crop&w=1000&q=80",title:"Brug LinkedIn effektivt",views:"4.1k visninger",body:"Lær at opbygge en stærk profil, skabe indhold der bliver set, og række ud til relevante profiler i din branche på den rigtige måde."}],e1={teal:{card:"bg-teal-50/50 border-teal-100/50 text-teal-600",hover:"group-hover:text-teal-600",hoverStrong:"group-hover:text-teal-700"},indigo:{card:"bg-indigo-50/50 border-indigo-100/50 text-indigo-600",hover:"group-hover:text-indigo-600",hoverStrong:"group-hover:text-indigo-700"},amber:{card:"bg-amber-50/50 border-amber-100/50 text-amber-600",hover:"group-hover:text-amber-600",hoverStrong:"group-hover:text-amber-700"},rose:{card:"bg-rose-50/50 border-rose-100/50 text-rose-600",hover:"group-hover:text-rose-600",hoverStrong:"group-hover:text-rose-700"},emerald:{card:"bg-emerald-50/50 border-emerald-100/50 text-emerald-600",hover:"group-hover:text-emerald-600",hoverStrong:"group-hover:text-emerald-700"},cyan:{card:"bg-cyan-50/50 border-cyan-100/50 text-cyan-600",hover:"group-hover:text-cyan-600",hoverStrong:"group-hover:text-cyan-700"},violet:{card:"bg-violet-50/50 border-violet-100/50 text-violet-600",hover:"group-hover:text-violet-600",hoverStrong:"group-hover:text-violet-700"},fuchsia:{card:"bg-fuchsia-50/50 border-fuchsia-100/50 text-fuchsia-600",hover:"group-hover:text-fuchsia-600",hoverStrong:"group-hover:text-fuchsia-700"},orange:{card:"bg-orange-50/50 border-orange-100/50 text-orange-600",hover:"group-hover:text-orange-600",hoverStrong:"group-hover:text-orange-700"},sky:{card:"bg-sky-50/50 border-sky-100/50 text-sky-600",hover:"group-hover:text-sky-600",hoverStrong:"group-hover:text-sky-700"},pink:{card:"bg-pink-50/50 border-pink-100/50 text-pink-600",hover:"group-hover:text-pink-600",hoverStrong:"group-hover:text-pink-700"},lime:{card:"bg-lime-50/50 border-lime-100/50 text-lime-600",hover:"group-hover:text-lime-600",hoverStrong:"group-hover:text-lime-700"}};function t1(){const d=v.useMemo(()=>window.location.pathname,[]),[i,o]=v.useState(d==="/academy"?"academy":"dict"),[c,h]=v.useState(""),[g,y]=v.useState(!1),[V,M]=v.useState(!1),[j,T]=v.useState(!1);v.useEffect(()=>{if(!g)return;const q=document.body.style.overflow;document.body.style.overflow="hidden";function J(oe){oe.key==="Escape"&&y(!1)}return window.addEventListener("keydown",J),()=>{document.body.style.overflow=q,window.removeEventListener("keydown",J)}},[g]),v.useEffect(()=>{function q(){window.innerWidth>990&&y(!1)}return window.addEventListener("resize",q),()=>window.removeEventListener("resize",q)},[]),v.useEffect(()=>{function q(J){const oe=J.target;oe?.closest(".job-how-dropdown")||T(!1),oe?.closest(".job-tips-dropdown")||M(!1)}return document.addEventListener("click",q),()=>document.removeEventListener("click",q)},[]);const S=i==="dict",H=c.trim().toLowerCase(),Y=v.useMemo(()=>H?zi.filter(q=>q.title.toLowerCase().includes(H)):zi,[H]);return a.jsxs("div",{className:"job-react-root scroll-smooth bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar",children:[a.jsx("div",{className:"fixed top-[-15%] left-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-br from-teal-400/30 to-emerald-300/10 blur-[140px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-15%] right-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-tl from-indigo-500/20 to-purple-400/10 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[20%] right-[15%] w-[40vw] h-[40vw] rounded-full bg-gradient-to-tr from-cyan-400/20 to-blue-300/10 blur-[130px] pointer-events-none z-0"}),a.jsxs("nav",{className:"fixed top-0 inset-x-0 z-50 h-16 bg-white/20 backdrop-blur-2xl border-b border-white/50 shadow-[0_4px_30px_rgba(0,0,0,0.03)] flex items-center justify-between px-6 lg:px-12 transition-all",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-2 group outline-none",children:[a.jsx(Iv,{nav:!0}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsxs("div",{className:"job-nav-links",children:[a.jsx("a",{href:"/pricing",className:"text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Priser"}),a.jsxs("div",{className:"job-how-dropdown",children:[a.jsxs("button",{type:"button",className:"job-how-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{T(q=>!q),M(!1)},"aria-expanded":j,children:["Sådan virker det",a.jsx(Zt,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${j?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:j?"job-how-menu open":"job-how-menu",children:[a.jsx("a",{href:"#",onClick:()=>T(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>T(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>T(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>T(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>T(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"job-tips-dropdown",children:[a.jsxs("button",{type:"button",className:"job-tips-trigger text-base font-normal text-gray-900 transition-colors outline-none drop-shadow-sm border-b-2 border-teal-500 pb-0.5",onClick:()=>{M(q=>!q),T(!1)},"aria-expanded":V,children:["Tips og tricks",a.jsx(Zt,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${V?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:V?"job-tips-menu open":"job-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>M(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",className:"active",onClick:()=>M(!1),children:"Jobordbogen"})]})]})]}),a.jsxs("div",{className:"job-nav-actions",children:[a.jsx("a",{href:"#",className:"hidden sm:block text-base font-normal text-gray-700 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Log ind"}),a.jsx("a",{href:"#",className:"text-base font-normal text-white bg-gradient-to-r from-gray-900 to-gray-800 hover:from-gray-800 hover:to-gray-700 px-5 py-2.5 rounded-full transition-all shadow-[0_4px_15px_rgba(0,0,0,0.1)] outline-none border border-gray-700",children:"Opret dig"})]}),a.jsx("button",{type:"button",className:"job-nav-hamburger","aria-expanded":g,"aria-label":g?"Luk menu":"Åbn menu",onClick:()=>y(q=>!q),children:a.jsx(Zt,{icon:g?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),a.jsxs("div",{className:g?"job-nav-popup open":"job-nav-popup",children:[a.jsx("a",{href:"/pricing",onClick:()=>y(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>y(!1),children:"Sådan virker det: For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>y(!1),children:"Sådan virker det: For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>y(!1),children:"Sådan virker det: FAQ"}),a.jsx("a",{href:"#",onClick:()=>y(!1),children:"Sådan virker det: Nyhedsbrev"}),a.jsx("a",{href:"/stories",onClick:()=>y(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>y(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>y(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"job-nav-popup-cta",onClick:()=>y(!1),children:"Opret dig"})]})]}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"relative pt-24 pb-12 px-6 lg:px-12 max-w-7xl mx-auto flex flex-col items-center text-center",children:[a.jsxs("div",{className:"hidden md:flex absolute top-20 left-[10%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[-3deg] animate-float-slow z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-teal-400"}),"Jobsøgning"]}),a.jsxs("div",{className:"hidden md:flex absolute top-40 right-[10%] lg:right-[15%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[4deg] animate-float-medium z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-indigo-400"}),"A-kasse"]}),a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-4xl aspect-[2/1] bg-gradient-to-tr from-white/40 via-white/10 to-teal-50/30 backdrop-blur-3xl border border-white/60 rounded-[3rem] shadow-[0_8px_40px_rgba(0,0,0,0.06)] -z-10 animate-float-slow"}),a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-white/80 to-white/40 backdrop-blur-xl border border-white/80 text-gray-800 text-xs font-medium uppercase tracking-wider mb-8 shadow-sm relative z-30 transition-all",children:[a.jsx(Zt,{icon:S?"solar:notebook-bookmark-linear":"solar:videocamera-record-linear",className:`text-base ${S?"text-teal-600":"text-indigo-600"}`,style:{strokeWidth:1.5}}),S?"Opslagsværk":"Videokurser"]}),a.jsx("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-medium tracking-tight text-gradient mb-8 leading-tight max-w-4xl drop-shadow-sm relative z-30 transition-all",children:S?"Jobordbogen":"Arbejd Academy"}),a.jsx("p",{className:"text-xl md:text-2xl text-gray-600 max-w-3xl font-normal leading-relaxed drop-shadow-sm relative z-30 transition-all min-h-[5rem]",children:S?"Du er ikke alene – det er en jungle at finde rundt i jobsøgning. Vi har sammensat en handy ordbog med de mest almindelige begreber du vil støde på.":"Lær alt du behøver for at lande drømmejobhandlinger."}),a.jsxs("div",{className:"relative flex items-center p-1.5 mt-12 bg-white/50 backdrop-blur-2xl border border-gray-200/60 rounded-full w-max mx-auto shadow-inner z-30",children:[a.jsx("button",{type:"button",className:`relative w-36 sm:w-44 py-2.5 text-sm font-medium rounded-full transition-colors duration-300 z-10 outline-none ${S?"text-gray-900":"text-gray-500 hover:text-gray-800"}`,onClick:()=>o("dict"),children:"Jobordbogen"}),a.jsx("button",{type:"button",className:`relative w-36 sm:w-44 py-2.5 text-sm font-medium rounded-full transition-colors duration-300 z-10 outline-none ${S?"text-gray-500 hover:text-gray-800":"text-gray-900"}`,onClick:()=>o("academy"),children:"Academy"}),a.jsx("div",{className:`absolute top-1.5 left-1.5 bottom-1.5 w-36 sm:w-44 bg-white rounded-full shadow-[0_2px_15px_rgba(0,0,0,0.06)] border border-gray-100 transition-transform duration-400 ease-[cubic-bezier(0.4,0,0.2,1)] z-0 ${S?"translate-x-0":"translate-x-full"}`})]}),S&&a.jsx("div",{className:"w-full max-w-2xl mt-8 relative z-30",children:a.jsxs("div",{className:"flex items-center gap-3 px-5 py-3 rounded-full bg-gradient-to-r from-white/80 to-white/40 backdrop-blur-xl border border-white/80 shadow-[0_8px_24px_rgba(0,0,0,0.04)]",children:[a.jsx(Zt,{icon:"solar:magnifer-linear",className:"text-xl text-teal-600 flex-shrink-0",style:{strokeWidth:1.5}}),a.jsx("input",{type:"search",value:c,onChange:q=>h(q.target.value),placeholder:"Søg i begreber (fx A-kasse)",className:"w-full bg-transparent text-base text-gray-800 placeholder:text-gray-500 outline-none","aria-label":"Søg i Jobordbogen"}),c&&a.jsx("button",{type:"button",onClick:()=>h(""),className:"text-gray-400 hover:text-gray-700 transition-colors outline-none","aria-label":"Ryd søgning",children:a.jsx(Zt,{icon:"solar:close-circle-linear",className:"text-xl",style:{strokeWidth:1.8}})})]})})]}),a.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-12 relative z-20 pb-24",children:[a.jsxs("div",{className:`${S?"opacity-100":"opacity-0 hidden"} transition-opacity duration-500 ease-in-out`,children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:Y.map(q=>{const J=e1[q.accent];return a.jsxs("a",{href:`/jobordbogen/${kc(q.title)}`,className:"group flex flex-col p-8 bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-2xl border border-white/80 rounded-3xl shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] hover:-translate-y-1 transition-all duration-300 outline-none",children:[a.jsx("div",{className:`w-12 h-12 rounded-2xl border flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300 ${J.card}`,children:a.jsx(Zt,{icon:"solar:document-text-linear",className:"text-2xl",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:`text-xl font-medium text-gray-900 tracking-tight mb-3 transition-colors ${J.hover}`,children:q.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:q.body}),a.jsxs("div",{className:`mt-auto flex items-center gap-2 text-sm font-medium transition-colors ${J.card.split(" ").at(-1)} ${J.hoverStrong}`,children:["Se definitionen",a.jsx(Zt,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},q.title)})}),Y.length===0&&a.jsx("div",{className:"mt-8 p-8 rounded-3xl bg-gradient-to-r from-white/70 to-white/40 backdrop-blur-xl border border-white/80 text-center text-gray-600",children:"Ingen begreber matcher din søgning."})]}),a.jsx("div",{className:`${S?"opacity-0 hidden":"opacity-100"} transition-opacity duration-500 ease-in-out`,children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:Pv.map(q=>a.jsxs("div",{className:"group relative flex flex-col bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-2xl border border-white/80 rounded-[2.5rem] p-5 shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_20px_50px_rgba(0,0,0,0.08)] transition-all duration-500",children:[a.jsxs("div",{className:"relative w-full aspect-video rounded-3xl overflow-hidden bg-gray-900 mb-6 shadow-inner cursor-pointer",children:[a.jsx("img",{src:q.image,alt:q.title,className:"object-cover w-full h-full opacity-70 group-hover:opacity-90 group-hover:scale-105 transition-all duration-700 ease-out"}),a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("div",{className:`w-20 h-20 rounded-full bg-white/20 backdrop-blur-md border border-white/50 flex items-center justify-center text-white shadow-[0_8px_32px_rgba(0,0,0,0.2)] group-hover:scale-110 transition-all duration-300 ${q.color==="teal"?"group-hover:bg-teal-500 group-hover:border-teal-400":q.color==="indigo"?"group-hover:bg-indigo-500 group-hover:border-indigo-400":q.color==="amber"?"group-hover:bg-amber-500 group-hover:border-amber-400":"group-hover:bg-rose-500 group-hover:border-rose-400"}`,children:a.jsx(Zt,{icon:"solar:play-bold",className:"text-3xl ml-1 drop-shadow-md"})})}),a.jsx("div",{className:"absolute bottom-4 right-4 px-3 py-1 bg-gray-900/60 backdrop-blur-md rounded-lg text-white text-xs font-medium tracking-wide border border-white/20",children:q.duration})]}),a.jsxs("div",{className:"px-3 pb-3 flex-1 flex flex-col",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("span",{className:`px-3 py-1 text-xs font-semibold rounded-full border ${q.color==="teal"?"text-teal-700 bg-teal-100/80 border-teal-200/50":q.color==="indigo"?"text-indigo-700 bg-indigo-100/80 border-indigo-200/50":q.color==="amber"?"text-amber-700 bg-amber-100/80 border-amber-200/50":"text-rose-700 bg-rose-100/80 border-rose-200/50"}`,children:q.badge}),a.jsxs("span",{className:"flex items-center gap-1 text-sm text-gray-500 font-medium",children:[a.jsx(Zt,{icon:"solar:eye-linear"})," ",q.views]})]}),a.jsx("h3",{className:`text-2xl font-medium text-gray-900 mb-3 transition-colors cursor-pointer tracking-tight ${q.color==="teal"?"group-hover:text-teal-600":q.color==="indigo"?"group-hover:text-indigo-600":q.color==="amber"?"group-hover:text-amber-600":"group-hover:text-rose-600"}`,children:q.title}),a.jsx("p",{className:"text-gray-600 font-normal leading-relaxed text-base flex-1",children:q.body})]})]},q.title))})})]})]}),a.jsx(tn,{})]})}function Ha({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function a1(){return a.jsxs("svg",{viewBox:"0 0 100 100",className:"w-8 h-8 rounded-lg shadow-[0_4px_15px_rgba(49,103,201,0.2)] group-hover:shadow-[0_6px_20px_rgba(49,103,201,0.3)] transition-all group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"jobEntryNavBg",x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:"jobEntryNavFg",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:"url(#jobEntryNavBg)"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:"url(#jobEntryNavFg)"})]})}function l1(){const i=v.useMemo(()=>window.location.pathname,[]).split("/").filter(Boolean).at(-1)??"",o=v.useMemo(()=>zi.find(T=>kc(T.title)===i)??null,[i]),c=v.useMemo(()=>zi.filter(T=>T.title!==o?.title).slice(0,3),[o?.title]),[h,g]=v.useState(!1),[y,V]=v.useState(!1),[M,j]=v.useState(!1);return v.useEffect(()=>{if(!h)return;const T=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=T}},[h]),v.useEffect(()=>{function T(){window.innerWidth>990&&g(!1)}return window.addEventListener("resize",T),()=>window.removeEventListener("resize",T)},[]),o?a.jsxs("div",{className:"job-react-root scroll-smooth bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar",children:[a.jsx("div",{className:"fixed top-[-15%] left-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-br from-teal-400/30 to-emerald-300/10 blur-[140px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-15%] right-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-tl from-indigo-500/20 to-purple-400/10 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[20%] right-[15%] w-[40vw] h-[40vw] rounded-full bg-gradient-to-tr from-cyan-400/20 to-blue-300/10 blur-[130px] pointer-events-none z-0"}),a.jsxs("nav",{className:"fixed top-0 inset-x-0 z-50 h-16 bg-white/20 backdrop-blur-2xl border-b border-white/50 shadow-[0_4px_30px_rgba(0,0,0,0.03)] flex items-center justify-between px-6 lg:px-12 transition-all",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-2 group outline-none",children:[a.jsx(a1,{}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsxs("div",{className:"job-nav-links",children:[a.jsx("a",{href:"/pricing",className:"text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Priser"}),a.jsxs("div",{className:"job-how-dropdown",children:[a.jsxs("button",{type:"button",className:"job-how-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{j(T=>!T),V(!1)},"aria-expanded":M,children:["Sådan virker det",a.jsx(Ha,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${M?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:M?"job-how-menu open":"job-how-menu",children:[a.jsx("a",{href:"#",onClick:()=>j(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>j(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>j(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"job-tips-dropdown",children:[a.jsxs("button",{type:"button",className:"job-tips-trigger text-base font-normal text-gray-900 transition-colors outline-none drop-shadow-sm border-b-2 border-teal-500 pb-0.5",onClick:()=>{V(T=>!T),j(!1)},"aria-expanded":y,children:["Tips og tricks",a.jsx(Ha,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${y?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:y?"job-tips-menu open":"job-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>V(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",className:"active",onClick:()=>V(!1),children:"Jobordbogen"})]})]})]}),a.jsxs("div",{className:"job-nav-actions",children:[a.jsx("a",{href:"#",className:"hidden sm:block text-base font-normal text-gray-700 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Log ind"}),a.jsx("a",{href:"#",className:"text-base font-normal text-white bg-gradient-to-r from-gray-900 to-gray-800 hover:from-gray-800 hover:to-gray-700 px-5 py-2.5 rounded-full transition-all shadow-[0_4px_15px_rgba(0,0,0,0.1)] outline-none border border-gray-700",children:"Opret dig"})]}),a.jsx("button",{type:"button",className:"job-nav-hamburger","aria-expanded":h,"aria-label":h?"Luk menu":"Åbn menu",onClick:()=>g(T=>!T),children:a.jsx(Ha,{icon:h?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),a.jsxs("div",{className:h?"job-nav-popup open":"job-nav-popup",children:[a.jsx("a",{href:"/pricing",onClick:()=>g(!1),children:"Priser"}),a.jsx("a",{href:"/stories",onClick:()=>g(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>g(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"job-nav-popup-cta",onClick:()=>g(!1),children:"Opret dig"})]})]}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"relative pt-24 pb-12 px-6 lg:px-12 max-w-7xl mx-auto flex flex-col items-center text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-white/80 to-white/40 backdrop-blur-xl border border-white/80 text-gray-800 text-xs font-medium uppercase tracking-wider mb-8 shadow-sm relative z-30 transition-all",children:[a.jsx(Ha,{icon:"solar:document-text-linear",className:"text-base text-teal-600",style:{strokeWidth:1.5}}),"Definition"]}),a.jsx("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-medium tracking-tight text-gradient mb-8 leading-tight max-w-4xl drop-shadow-sm relative z-30 transition-all",children:o.title}),a.jsx("p",{className:"text-xl md:text-2xl text-gray-600 max-w-3xl font-normal leading-relaxed drop-shadow-sm relative z-30 transition-all min-h-[5rem]",children:"Hvad betyder det?"})]}),a.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-12 relative z-20 pb-24",children:[a.jsxs("button",{type:"button",onClick:()=>window.location.assign("/jobordbogen"),className:"mb-10 inline-flex items-center gap-2 px-5 py-2.5 bg-white/60 backdrop-blur-md border border-gray-200/60 shadow-sm rounded-full text-sm font-medium text-gray-600 hover:text-gray-900 hover:shadow-md transition-all outline-none",children:[a.jsx(Ha,{icon:"solar:arrow-left-linear",className:"text-lg"}),"Tilbage til oversigten"]}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 xl:gap-20 items-center",children:[a.jsxs("div",{className:"flex flex-col",children:[a.jsx("div",{className:"text-base text-gray-600 font-normal leading-relaxed space-y-6",children:a.jsx("p",{children:o.body})}),a.jsxs("div",{className:"mt-12 flex flex-col sm:flex-row items-start sm:items-center gap-5 p-6 bg-gradient-to-r from-white/80 to-white/40 backdrop-blur-xl border border-white/80 rounded-[2rem] shadow-[0_8px_30px_rgba(0,0,0,0.03)]",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:"https://ui-avatars.com/api/?name=Magnus+Villumsen&background=0d9488&color=fff&size=150",alt:"Magnus",className:"w-16 h-16 rounded-full shadow-md object-cover"}),a.jsx("div",{className:"absolute bottom-0 right-0 w-4 h-4 rounded-full bg-green-400 border-2 border-white"})]}),a.jsxs("div",{className:"flex-1",children:[a.jsx("div",{className:"text-xs font-semibold text-teal-600 uppercase tracking-wider mb-1",children:"Defineret af Arbejd.coms"}),a.jsx("h4",{className:"text-xl font-medium tracking-tight text-gray-900",children:"Magnus Villumsen"}),a.jsx("div",{className:"text-sm font-medium text-gray-500",children:"Content Creator"})]}),a.jsxs("div",{className:"sm:text-right mt-4 sm:mt-0 pt-4 sm:pt-0 border-t sm:border-t-0 border-gray-100 sm:border-l sm:pl-5 w-full sm:w-auto",children:[a.jsx("div",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider mb-1",children:"Sidst opdateret"}),a.jsx("div",{className:"text-sm font-medium text-gray-800",children:"March 7, 2026"})]})]})]}),a.jsxs("div",{className:"relative w-full aspect-square md:aspect-[4/3] rounded-[3rem] bg-gradient-to-br from-teal-500/5 to-indigo-500/5 backdrop-blur-3xl border border-white/60 shadow-[0_8px_40px_rgba(0,0,0,0.04)] flex items-center justify-center overflow-hidden",children:[a.jsx("div",{className:"absolute w-3/4 h-3/4 bg-teal-400/20 blur-[80px] rounded-full top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"}),a.jsx("div",{className:"absolute w-1/2 h-1/2 bg-indigo-400/10 blur-[60px] rounded-full top-1/4 right-1/4"}),a.jsx("div",{className:"relative z-10 w-32 h-32 rounded-[2rem] bg-gradient-to-tr from-white/80 to-white/30 backdrop-blur-xl border border-white/80 shadow-[0_20px_40px_rgba(0,0,0,0.1)] flex items-center justify-center animate-float-medium",children:a.jsx(Ha,{icon:"solar:user-id-linear",className:"text-6xl text-teal-600",style:{strokeWidth:1.5}})})]})]}),a.jsxs("div",{className:"mt-24 border-t border-gray-200/50 pt-16",children:[a.jsx("h2",{className:"text-3xl font-medium tracking-tight text-gray-900 mb-10",children:"Relaterede begreber"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(T=>a.jsxs("a",{href:`/jobordbogen/${kc(T.title)}`,className:"group flex flex-col p-8 bg-gradient-to-br from-white/80 to-white/40 backdrop-blur-2xl border border-white/80 rounded-3xl shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] hover:-translate-y-1 transition-all duration-300 outline-none",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-teal-50/50 border border-teal-100/50 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300",children:a.jsx(Ha,{icon:"solar:document-text-linear",className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight mb-3 group-hover:text-teal-600 transition-colors",children:T.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:T.body}),a.jsxs("div",{className:"mt-auto flex items-center gap-2 text-sm font-medium text-teal-600 group-hover:text-teal-700 transition-colors",children:["Se definitionen",a.jsx(Ha,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},T.title))})]})]})]}),a.jsx(tn,{})]}):a.jsxs("div",{className:"job-react-root min-h-screen bg-[#f8fafc] flex flex-col items-center justify-center px-6 text-center",children:[a.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-3",children:"Begrebet blev ikke fundet"}),a.jsx("a",{href:"/jobordbogen",className:"text-teal-600 hover:text-teal-700",children:"Tilbage til Jobordbogen"})]})}function Bt({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function s1({nav:d=!0}){const i=d?"storiesNav":"storiesFooter";return a.jsxs("svg",{viewBox:"0 0 100 100",className:d?"w-8 h-8 rounded-lg shadow-[0_4px_15px_rgba(49,103,201,0.2)] group-hover:shadow-[0_6px_20px_rgba(49,103,201,0.3)] transition-all group-hover:scale-105":"w-8 h-8 rounded-lg shadow-sm transition-transform group-hover:scale-105",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${i}Bg`,x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:`${i}Fg`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:`url(#${i}Bg)`}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:`url(#${i}Fg)`})]})}const n1=[{image:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=600&q=80",audience:"For jobansøgere",episodes:"2 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=600&q=80",audience:"For jobansøgere",episodes:"8 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=600&q=80",audience:"For jobansøgere",episodes:"4 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1552664730-d307ca884978?w=600&q=80",audience:"For virksomheder",episodes:"4 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1557804506-669a67965ba0?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1543269664-56d74c658cce?w=600&q=80",audience:"For virksomheder",episodes:"5 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"}];function i1(){const[d,i]=v.useState(!1),[o,c]=v.useState(!1),[h,g]=v.useState(!1);return v.useEffect(()=>{if(!d)return;const y=document.body.style.overflow;document.body.style.overflow="hidden";function V(M){M.key==="Escape"&&i(!1)}return window.addEventListener("keydown",V),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",V)}},[d]),v.useEffect(()=>{function y(){window.innerWidth>990&&i(!1)}return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[]),v.useEffect(()=>{function y(V){const M=V.target;M?.closest(".stories-how-dropdown")||g(!1),M?.closest(".stories-tips-dropdown")||c(!1)}return document.addEventListener("click",y),()=>document.removeEventListener("click",y)},[]),a.jsxs("div",{className:"stories-react-root scroll-smooth bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar",children:[a.jsx("div",{className:"fixed top-[-15%] left-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-br from-teal-400/30 to-emerald-300/10 blur-[140px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-15%] right-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-tl from-indigo-500/20 to-purple-400/10 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[20%] right-[15%] w-[40vw] h-[40vw] rounded-full bg-gradient-to-tr from-cyan-400/20 to-blue-300/10 blur-[130px] pointer-events-none z-0"}),a.jsxs("nav",{className:"stories-nav fixed top-0 inset-x-0 z-50 h-16 bg-white/20 backdrop-blur-2xl border-b border-white/50 shadow-[0_4px_30px_rgba(0,0,0,0.03)] flex items-center justify-between px-6 lg:px-12 transition-all",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-2 group outline-none",children:[a.jsx(s1,{nav:!0}),a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase",children:"ARBEJD"})]}),a.jsxs("div",{className:"stories-nav-links",children:[a.jsx("a",{href:"/pricing",className:"text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Priser"}),a.jsxs("div",{className:"stories-how-dropdown",children:[a.jsxs("button",{type:"button",className:"stories-how-trigger text-base font-normal text-gray-600 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",onClick:()=>{g(y=>!y),c(!1)},"aria-expanded":h,children:["Sådan virker det",a.jsx(Bt,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${h?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:h?"stories-how-menu open":"stories-how-menu",children:[a.jsx("a",{href:"#",onClick:()=>g(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>g(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>g(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"stories-tips-dropdown",children:[a.jsxs("button",{type:"button",className:"stories-tips-trigger text-base font-normal text-gray-900 transition-colors outline-none drop-shadow-sm border-b-2 border-teal-500 pb-0.5",onClick:()=>{c(y=>!y),g(!1)},"aria-expanded":o,children:["Tips og tricks",a.jsx(Bt,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${o?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:o?"stories-tips-menu open":"stories-tips-menu",children:[a.jsx("a",{href:"/stories",className:"active",onClick:()=>c(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>c(!1),children:"Jobordbogen"})]})]})]}),a.jsxs("div",{className:"stories-nav-actions",children:[a.jsx("a",{href:"#",className:"hidden sm:block text-base font-normal text-gray-700 hover:text-gray-900 transition-colors outline-none drop-shadow-sm",children:"Log ind"}),a.jsx("a",{href:"#",className:"text-base font-normal text-white bg-gradient-to-r from-gray-900 to-gray-800 hover:from-gray-800 hover:to-gray-700 px-5 py-2.5 rounded-full transition-all shadow-[0_4px_15px_rgba(0,0,0,0.1)] outline-none border border-gray-700",children:"Opret dig"})]}),a.jsx("button",{type:"button",className:"stories-nav-hamburger","aria-expanded":d,"aria-label":d?"Luk menu":"Åbn menu",onClick:()=>i(y=>!y),children:a.jsx(Bt,{icon:d?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),a.jsxs("div",{className:d?"stories-nav-popup open":"stories-nav-popup",children:[a.jsx("a",{href:"/pricing",onClick:()=>i(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: FAQ"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Sådan virker det: Nyhedsbrev"}),a.jsx("a",{href:"/stories",onClick:()=>i(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>i(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"stories-nav-popup-cta",onClick:()=>i(!1),children:"Opret dig"})]})]}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"relative pt-24 pb-20 px-6 lg:px-12 max-w-7xl mx-auto flex flex-col items-center text-center min-h-[500px]",children:[a.jsxs("div",{className:"hidden md:flex absolute top-20 left-[10%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[-3deg] animate-float-slow z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-teal-400"}),"Byggebranchen"]}),a.jsxs("div",{className:"hidden md:flex absolute top-40 right-[10%] lg:right-[15%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[4deg] animate-float-medium z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-indigo-400"}),"Milennials"]}),a.jsxs("div",{className:"hidden lg:flex absolute top-32 right-[32%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[-6deg] animate-float-slow z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-amber-400"}),"Ledelse"]}),a.jsxs("div",{className:"hidden md:flex absolute bottom-12 left-[18%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[5deg] animate-float-fast z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-rose-400"}),"IT & Tech"]}),a.jsxs("div",{className:"hidden lg:flex absolute top-52 left-[25%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[8deg] animate-float-fast z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-blue-400"}),"Iværksætteri"]}),a.jsxs("div",{className:"hidden md:flex absolute bottom-24 right-[12%] px-5 py-2.5 rounded-full bg-white/60 backdrop-blur-xl border border-white/80 shadow-[0_8px_20px_rgba(0,0,0,0.04)] text-sm text-gray-800 font-medium rotate-[-2deg] animate-float-medium z-20 items-center gap-2",children:[a.jsx("span",{className:"w-2 h-2 rounded-full bg-emerald-400"}),"Gen Z"]}),a.jsx("div",{className:"absolute top-1/3 left-[5%] w-14 h-14 rounded-2xl bg-gradient-to-br from-white/80 to-white/30 backdrop-blur-xl border border-white shadow-xl flex items-center justify-center animate-float-fast z-20 rotate-[-10deg]",children:a.jsx(Bt,{icon:"solar:chat-round-dots-linear",className:"text-3xl text-blue-500",style:{strokeWidth:1.5}})}),a.jsx("div",{className:"absolute bottom-16 right-[5%] w-14 h-14 rounded-2xl bg-gradient-to-br from-white/80 to-white/30 backdrop-blur-xl border border-white shadow-xl flex items-center justify-center animate-float-medium z-20 rotate-[15deg]",children:a.jsx(Bt,{icon:"solar:bolt-linear",className:"text-3xl text-amber-500",style:{strokeWidth:1.5}})}),a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-4xl aspect-[2/1] bg-gradient-to-tr from-white/40 via-white/10 to-teal-50/30 backdrop-blur-3xl border border-white/60 rounded-[3rem] shadow-[0_8px_40px_rgba(0,0,0,0.06)] -z-10 animate-float-slow"}),a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-white/80 to-white/40 backdrop-blur-xl border border-white/80 text-gray-800 text-xs font-medium uppercase tracking-wider mb-8 shadow-sm relative z-30",children:[a.jsx(Bt,{icon:"solar:play-linear",className:"text-base text-teal-600",style:{strokeWidth:1.5}}),"Nye korte og inspirerende videoer hver uge"]}),a.jsx("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-medium tracking-tight text-gradient mb-8 leading-tight max-w-4xl drop-shadow-sm relative z-30",children:"Succeshistorier"}),a.jsx("p",{className:"text-xl md:text-2xl text-gray-600 max-w-3xl font-normal leading-relaxed drop-shadow-sm relative z-30",children:"Få klar besked fra mennesker der har stået i samme situation som dig. I snack-sized videoer guider vi dig i jagten på dit drømmejob eller din virksomheds talentfulde nye profil."})]}),a.jsx("section",{className:"max-w-6xl mx-auto px-6 lg:px-12 relative z-20 pb-24 border-b border-white/40",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"group relative aspect-video rounded-3xl overflow-hidden shadow-[0_15px_40px_rgba(0,0,0,0.12)] cursor-pointer",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1556761175-5973dc0f32d7?w=1000&q=80",alt:"Man behind title",className:"absolute inset-0 w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-700"}),a.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/90 via-gray-900/40 to-transparent flex flex-col justify-end p-8",children:[a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:a.jsx("button",{type:"button",className:"w-16 h-16 rounded-full bg-white/20 backdrop-blur-md border border-white/40 shadow-2xl flex items-center justify-center text-white group-hover:bg-white/40 group-hover:scale-110 transition-all outline-none",children:a.jsx(Bt,{icon:"solar:play-linear",className:"text-3xl ml-1",style:{strokeWidth:1.5}})})}),a.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-white tracking-tight leading-snug drop-shadow-lg max-w-md relative z-10",children:'"Which things about a resume can catch your attention?"'})]})]}),a.jsxs("div",{className:"group relative aspect-video rounded-3xl overflow-hidden shadow-[0_15px_40px_rgba(0,0,0,0.12)] cursor-pointer",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1000&q=80",alt:"Woman behind title",className:"absolute inset-0 w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-700"}),a.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/90 via-gray-900/40 to-transparent flex flex-col justify-end p-8",children:[a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:a.jsx("button",{type:"button",className:"w-16 h-16 rounded-full bg-white/20 backdrop-blur-md border border-white/40 shadow-2xl flex items-center justify-center text-white group-hover:bg-white/40 group-hover:scale-110 transition-all outline-none",children:a.jsx(Bt,{icon:"solar:play-linear",className:"text-3xl ml-1",style:{strokeWidth:1.5}})})}),a.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-white tracking-tight leading-snug drop-shadow-lg max-w-md relative z-10",children:'"What do you wish to see in a motivated application?"'})]})]})]})}),a.jsxs("section",{className:"pt-24 pb-12 px-6 lg:px-12 max-w-7xl mx-auto text-center relative z-10",children:[a.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-gradient-to-br from-amber-50 to-amber-100/50 border border-amber-200/50 shadow-sm mb-6",children:a.jsx(Bt,{icon:"solar:bolt-linear",className:"text-3xl text-amber-500",style:{strokeWidth:1.5}})}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Autentiske råd"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Snack-sized videoer direkte fra inspirerende arbejdsgivere og jobsøgende Danmark over"})]}),a.jsx("section",{className:"pb-32 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:n1.map((y,V)=>a.jsxs("div",{className:"bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-2xl border border-white/60 rounded-3xl overflow-hidden shadow-[0_8px_30px_rgba(0,0,0,0.04)] hover:shadow-[0_15px_40px_rgba(0,0,0,0.08)] transition-all group flex flex-col",children:[a.jsxs("div",{className:"aspect-video bg-gray-100 relative overflow-hidden",children:[a.jsx("img",{src:y.image,alt:"Video cover",className:"w-full h-full object-cover opacity-90 group-hover:scale-105 transition-transform duration-700"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/50 to-transparent flex items-center justify-center",children:a.jsx("button",{type:"button",className:"w-12 h-12 rounded-full bg-white/30 backdrop-blur-md border border-white/60 shadow-xl flex items-center justify-center text-white hover:scale-110 hover:bg-white/50 transition-all outline-none",children:a.jsx(Bt,{icon:"solar:play-linear",className:"text-xl ml-1",style:{strokeWidth:1.5}})})})]}),a.jsxs("div",{className:"p-6 relative flex flex-col flex-1",children:[a.jsx("div",{className:"mb-3",children:a.jsx("span",{className:`px-2.5 py-1 text-[10px] font-medium rounded-full uppercase tracking-widest border ${y.tone==="teal"?"text-teal-700 bg-teal-100/80 border-teal-200/50":"text-amber-700 bg-amber-100/80 border-amber-200/50"}`,children:"Helt ny serie"})}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight mb-6",children:"The motivated application"}),a.jsxs("div",{className:"mt-auto space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-3 text-sm text-gray-600 font-normal",children:[a.jsx(Bt,{icon:"solar:magnifer-linear",className:"text-lg text-indigo-500",style:{strokeWidth:1.5}}),y.audience]}),a.jsxs("div",{className:"flex items-center gap-3 text-sm text-gray-600 font-normal",children:[a.jsx(Bt,{icon:"solar:clapperboard-play-linear",className:"text-lg text-cyan-500",style:{strokeWidth:1.5}}),y.episodes]})]})]})]},`${y.image}-${V}`))})})]}),a.jsx(tn,{})]})}function xt({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function r1(){return a.jsxs("div",{className:"newsletter-react-root bg-[#f8fafc] relative min-h-screen text-gray-600 selection:bg-teal-100 selection:text-teal-900 overflow-x-hidden flex flex-col font-normal custom-scrollbar scroll-smooth",children:[a.jsx("div",{className:"fixed top-[-10%] left-[-10%] w-[70vw] h-[70vw] rounded-full bg-gradient-to-br from-teal-400/20 to-emerald-300/10 blur-[150px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed top-[40%] right-[-10%] w-[60vw] h-[60vw] rounded-full bg-gradient-to-tl from-indigo-500/10 to-purple-400/5 blur-[160px] pointer-events-none z-0"}),a.jsx("div",{className:"fixed bottom-[-10%] left-[15%] w-[50vw] h-[50vw] rounded-full bg-gradient-to-tr from-cyan-400/10 to-blue-300/10 blur-[140px] pointer-events-none z-0"}),a.jsxs("main",{className:"w-full max-w-3xl mx-auto pt-10 md:pt-16 pb-20 px-4 sm:px-6 relative z-10 flex flex-col items-center",children:[a.jsxs("header",{className:"w-full bg-gradient-to-r from-white/70 to-white/40 backdrop-blur-2xl border border-white/80 rounded-3xl p-6 md:px-8 flex items-center justify-between shadow-[0_8px_30px_rgba(0,0,0,0.03)] mb-8 transition-all hover:shadow-[0_12px_40px_rgba(0,0,0,0.05)]",children:[a.jsxs("a",{href:"/home",className:"flex items-center gap-3 group outline-none",children:[a.jsxs("svg",{viewBox:"0 0 100 100",className:"w-10 h-10 rounded-xl shadow-[0_4px_15px_rgba(49,103,201,0.15)] group-hover:scale-105 transition-transform duration-500",children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:"newsletterLogoBg",x1:"0%",y1:"100%",x2:"100%",y2:"0%",children:[a.jsx("stop",{offset:"0%",stopColor:"#1A9A75"}),a.jsx("stop",{offset:"100%",stopColor:"#3167C9"})]}),a.jsxs("linearGradient",{id:"newsletterLogoFg",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[a.jsx("stop",{offset:"0%",stopColor:"#6ACEEB"}),a.jsx("stop",{offset:"100%",stopColor:"#46D3B6"})]})]}),a.jsx("rect",{width:"100",height:"100",fill:"url(#newsletterLogoBg)"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 60 15 L 72 15 L 72 85 L 60 85 L 60 72.98 A 28 28 0 1 1 60 27.02 Z M 44 34 A 16 16 0 1 0 44 66 A 16 16 0 1 0 44 34 Z",fill:"url(#newsletterLogoFg)"})]}),a.jsxs("div",{className:"flex flex-col",children:[a.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900 uppercase leading-none",children:"ARBEJD"}),a.jsx("span",{className:"text-xs text-gray-500 font-medium tracking-wide uppercase mt-1",children:"Produkt Nyt"})]})]}),a.jsxs("div",{className:"text-right flex flex-col items-end",children:[a.jsx("span",{className:"text-sm font-medium text-teal-700 bg-teal-50/50 px-3 py-1 rounded-full border border-teal-100/50 mb-1 backdrop-blur-sm",children:"Opdatering #42"}),a.jsx("span",{className:"text-xs text-gray-400 font-normal tracking-wide",children:"24. Oktober 2026"})]})]}),a.jsxs("article",{className:"w-full bg-gradient-to-br from-white/60 to-white/20 backdrop-blur-3xl border border-white/80 rounded-[2.5rem] shadow-[0_15px_50px_rgba(0,0,0,0.06)] overflow-hidden flex flex-col group animate-float-slow",children:[a.jsxs("div",{className:"w-full aspect-[16/9] sm:aspect-[21/9] bg-gray-100 relative overflow-hidden",children:[a.jsx("img",{src:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1200",alt:"Team working on new features",className:"w-full h-full object-cover opacity-90 group-hover:scale-105 transition-transform duration-1000 ease-out"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/60 via-gray-900/20 to-transparent"}),a.jsxs("div",{className:"absolute top-6 left-6 inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-white/20 backdrop-blur-xl border border-white/40 text-white text-xs font-medium uppercase tracking-wider shadow-lg",children:[a.jsx(xt,{icon:"solar:rocket-linear",style:{strokeWidth:1.5}})," Stor Lancering"]}),a.jsx("div",{className:"absolute bottom-6 left-6 md:left-10 right-6",children:a.jsx("h1",{className:"text-2xl md:text-4xl font-medium tracking-tight text-white mb-2 drop-shadow-md",children:"Introduktion af Samtale-Simulatoren"})})]}),a.jsxs("div",{className:"p-6 md:p-10 relative",children:[a.jsx("div",{className:"absolute top-0 left-0 w-full h-px bg-gradient-to-r from-transparent via-white/80 to-transparent"}),a.jsx("p",{className:"text-base md:text-lg text-gray-600 font-normal leading-relaxed mb-8 drop-shadow-sm",children:"Vi har netop lanceret en af vores mest efterspurgte funktioner på platformen. Træn dine fremtidige jobsamtaler i et trygt miljø med vores nye AI-drevne simulator, der automatisk tilpasser sig din branche, erfaring og det specifikke jobopslag. Få direkte, konstruktiv feedback og forbedr dine chancer markant."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 items-start sm:items-center",children:[a.jsxs("a",{href:"#",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white rounded-full font-normal text-base w-full sm:w-auto shadow-[0_8px_25px_rgba(17,24,39,0.2)] hover:shadow-[0_12px_30px_rgba(17,24,39,0.3)] transition-all outline-none border border-gray-700 hover:-translate-y-0.5 group/btn",children:[a.jsx("span",{children:"Prøv Simulatoren"}),a.jsx(xt,{icon:"solar:arrow-right-linear",className:"text-lg group-hover/btn:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]}),a.jsx("a",{href:"#",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-white/50 backdrop-blur-md border border-white/80 text-gray-700 rounded-full font-normal text-base w-full sm:w-auto hover:bg-white/80 transition-all outline-none shadow-sm",children:"Se release notes"})]})]})]}),a.jsx("div",{className:"w-24 h-px bg-gradient-to-r from-transparent via-gray-300 to-transparent my-12"}),a.jsxs("section",{className:"w-full",children:[a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between mb-6 px-2 gap-4",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-medium tracking-tight text-gradient-subtle mb-1",children:"Seneste Nyt & Indhold"}),a.jsx("p",{className:"text-base text-gray-500 font-normal",children:"Hvad vi har bygget og skrevet til dig i denne uge"})]}),a.jsxs("a",{href:"#",className:"text-sm font-medium text-teal-600 hover:text-teal-800 flex items-center gap-1 transition-colors outline-none bg-teal-50/50 px-4 py-2 rounded-full border border-teal-100/50 backdrop-blur-sm",children:["Se alle opdateringer ",a.jsx(xt,{icon:"solar:alt-arrow-right-linear"})]})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl border border-white/80 rounded-[2rem] p-5 md:p-6 flex flex-col md:flex-row items-start md:items-center gap-5 md:gap-6 shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(20,184,166,0.08)] hover:border-teal-200/60 transition-all cursor-pointer group animate-float-medium",children:[a.jsxs("div",{className:"w-16 h-16 rounded-2xl bg-gradient-to-br from-indigo-50 to-white border border-indigo-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform duration-300 relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-indigo-500/10 to-transparent"}),a.jsx(xt,{icon:"solar:layers-linear",className:"text-2xl text-indigo-700",style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx("span",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Ny Funktion"}),a.jsx("span",{className:"w-1 h-1 rounded-full bg-gray-300"}),a.jsx("span",{className:"text-xs text-gray-500 flex items-center gap-1",children:"Rullet ud i dag"})]}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight mb-2 group-hover:text-teal-700 transition-colors",children:"Avancerede Filtre til Løn & Fleksibilitet"}),a.jsx("p",{className:"text-sm text-gray-600 mb-3 line-clamp-2 md:line-clamp-none",children:"Nu kan du præcisere din søgning endnu mere. Find de jobs, der matcher dine specifikke krav til lønpakke og antal hjemmearbejdsdage direkte i oversigten."}),a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsx("span",{className:"px-2.5 py-1 rounded-lg border border-gray-200 bg-white/50 text-xs text-gray-600",children:"Platform"}),a.jsx("span",{className:"px-2.5 py-1 rounded-lg border border-gray-200 bg-white/50 text-xs text-gray-600",children:"Søgning"})]})]}),a.jsxs("div",{className:"flex flex-row md:flex-col items-center md:items-end justify-between w-full md:w-auto mt-4 md:mt-0 gap-4 md:gap-3",children:[a.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-gradient-to-r from-teal-50 to-emerald-50 border border-teal-100/80 text-teal-700 text-sm font-medium shadow-sm",children:[a.jsx(xt,{icon:"solar:star-linear",style:{strokeWidth:1.5}})," Nyhed"]}),a.jsx("div",{className:"w-10 h-10 rounded-full border border-gray-200 flex items-center justify-center text-gray-400 group-hover:bg-gray-900 group-hover:text-white group-hover:border-gray-900 transition-all",children:a.jsx(xt,{icon:"solar:arrow-right-linear",className:"text-xl",style:{strokeWidth:1.5}})})]})]}),a.jsxs("div",{className:"bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl border border-white/80 rounded-[2rem] p-5 md:p-6 flex flex-col md:flex-row items-start md:items-center gap-5 md:gap-6 shadow-[0_8px_30px_rgba(0,0,0,0.03)] hover:shadow-[0_12px_40px_rgba(59,130,246,0.08)] hover:border-blue-200/60 transition-all cursor-pointer group",children:[a.jsxs("div",{className:"w-16 h-16 rounded-2xl bg-gradient-to-br from-blue-50 to-white border border-blue-100/50 shadow-sm flex items-center justify-center flex-shrink-0 group-hover:scale-105 transition-transform duration-300 relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-blue-500/10 to-transparent"}),a.jsx(xt,{icon:"solar:document-text-linear",className:"text-2xl text-blue-700",style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx("span",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Ny Artikel"}),a.jsx("span",{className:"w-1 h-1 rounded-full bg-gray-300"}),a.jsxs("span",{className:"text-xs text-gray-500 flex items-center gap-1",children:[a.jsx(xt,{icon:"solar:clock-circle-linear"})," 4 min læsetid"]})]}),a.jsx("h3",{className:"text-xl font-medium text-gray-900 tracking-tight mb-2 group-hover:text-blue-700 transition-colors",children:"Guide: Det perfekte CV i 2026"}),a.jsx("p",{className:"text-sm text-gray-600 mb-3 line-clamp-2 md:line-clamp-none",children:"Vores rekrutteringseksperter har samlet de vigtigste trends for i år. Lær hvordan du bedst fremhæver dine kompetencer og fanger virksomhedernes opmærksomhed."}),a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsx("span",{className:"px-2.5 py-1 rounded-lg border border-gray-200 bg-white/50 text-xs text-gray-600",children:"Karriere"}),a.jsx("span",{className:"px-2.5 py-1 rounded-lg border border-gray-200 bg-white/50 text-xs text-gray-600",children:"Tips & Tricks"})]})]}),a.jsxs("div",{className:"flex flex-row md:flex-col items-center md:items-end justify-between w-full md:w-auto mt-4 md:mt-0 gap-4 md:gap-3",children:[a.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-gradient-to-r from-blue-50 to-cyan-50 border border-blue-100/80 text-blue-700 text-sm font-medium shadow-sm",children:[a.jsx(xt,{icon:"solar:book-linear",style:{strokeWidth:1.5}})," Læs nu"]}),a.jsx("div",{className:"w-10 h-10 rounded-full border border-gray-200 flex items-center justify-center text-gray-400 group-hover:bg-gray-900 group-hover:text-white group-hover:border-gray-900 transition-all",children:a.jsx(xt,{icon:"solar:arrow-right-linear",className:"text-xl",style:{strokeWidth:1.5}})})]})]})]})]}),a.jsx("div",{className:"w-24 h-px bg-gradient-to-r from-transparent via-gray-300 to-transparent my-12"}),a.jsxs("section",{className:"w-full bg-gradient-to-br from-amber-50/60 to-white/30 backdrop-blur-3xl border border-amber-100/60 rounded-[2rem] p-6 md:p-8 flex flex-col md:flex-row gap-6 md:gap-8 items-center shadow-[0_10px_40px_rgba(245,158,11,0.05)] relative overflow-hidden group",children:[a.jsx("div",{className:"absolute -right-20 -top-20 w-64 h-64 bg-amber-300/10 rounded-full blur-[40px] pointer-events-none group-hover:bg-amber-300/20 transition-colors duration-700"}),a.jsx("div",{className:"w-20 h-20 rounded-[1.5rem] bg-gradient-to-br from-amber-100 to-white border border-amber-200/50 shadow-sm flex items-center justify-center flex-shrink-0 z-10 group-hover:rotate-6 transition-transform duration-500",children:a.jsx(xt,{icon:"solar:lightbulb-bolt-linear",className:"text-4xl text-amber-500",style:{strokeWidth:1.5}})}),a.jsxs("div",{className:"flex-1 z-10 text-center md:text-left",children:[a.jsx("span",{className:"text-xs font-medium uppercase tracking-widest text-amber-600 mb-2 block",children:"Ugens Tip"}),a.jsx("h3",{className:"text-2xl font-medium tracking-tight text-gray-900 mb-3",children:"Få mest ud af de nye filtre"}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed mb-5",children:"Vidste du, at du nu kan gemme dine nye præferencer for løn og fleksibilitet? Gå til dine profilindstillinger og sæt dem som standard, så din AI-agent udelukkende præsenterer dig for relevante virksomheder fremadrettet."}),a.jsxs("button",{type:"button",className:"inline-flex items-center gap-2 px-5 py-2.5 bg-white/60 backdrop-blur-md border border-amber-200/50 hover:bg-white text-amber-800 rounded-xl font-medium text-sm transition-all shadow-sm outline-none hover:shadow-md",children:["Gå til indstillinger ",a.jsx(xt,{icon:"solar:alt-arrow-right-linear",className:"text-base"})]})]})]}),a.jsxs("footer",{className:"w-full mt-16 pt-10 border-t border-gray-200/50 text-center flex flex-col items-center relative z-10",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[a.jsx("a",{href:"#",className:"w-12 h-12 rounded-2xl bg-white/50 backdrop-blur-xl border border-white/80 shadow-[0_4px_15px_rgba(0,0,0,0.02)] flex items-center justify-center text-gray-400 hover:text-gray-900 hover:bg-white hover:shadow-[0_8px_20px_rgba(0,0,0,0.06)] transition-all outline-none hover:-translate-y-1",children:a.jsx("span",{className:"text-base font-medium",children:"in"})}),a.jsx("a",{href:"#",className:"w-12 h-12 rounded-2xl bg-white/50 backdrop-blur-xl border border-white/80 shadow-[0_4px_15px_rgba(0,0,0,0.02)] flex items-center justify-center text-gray-400 hover:text-gray-900 hover:bg-white hover:shadow-[0_8px_20px_rgba(0,0,0,0.06)] transition-all outline-none hover:-translate-y-1",children:a.jsx(xt,{icon:"solar:camera-linear",className:"text-xl",style:{strokeWidth:1.5}})}),a.jsx("a",{href:"#",className:"w-12 h-12 rounded-2xl bg-white/50 backdrop-blur-xl border border-white/80 shadow-[0_4px_15px_rgba(0,0,0,0.02)] flex items-center justify-center text-gray-400 hover:text-gray-900 hover:bg-white hover:shadow-[0_8px_20px_rgba(0,0,0,0.06)] transition-all outline-none hover:-translate-y-1",children:a.jsx(xt,{icon:"solar:global-linear",className:"text-xl",style:{strokeWidth:1.5}})})]}),a.jsx("p",{className:"text-sm text-gray-500 font-normal mb-6 max-w-sm drop-shadow-sm",children:"Du modtager denne email fordi du ønsker at supercharge din karriere med Arbejd.com."}),a.jsxs("div",{className:"flex flex-wrap justify-center items-center gap-x-6 gap-y-2 text-xs font-medium text-gray-400 bg-white/40 backdrop-blur-md px-6 py-3 rounded-full border border-white/60",children:[a.jsx("a",{href:"#",className:"hover:text-gray-900 transition-colors outline-none",children:"Min Profil"}),a.jsx("span",{className:"text-gray-300",children:"•"}),a.jsx("a",{href:"#",className:"hover:text-gray-900 transition-colors outline-none",children:"Indstillinger"}),a.jsx("span",{className:"text-gray-300",children:"•"}),a.jsx("a",{href:"#",className:"hover:text-red-500 transition-colors outline-none",children:"Afmeld nyhedsbrev"})]}),a.jsx("div",{className:"mt-8 text-xs text-gray-400 font-normal",children:"© 2026 Arbejd.com. Fremtidens rekruttering."})]})]})]})}function _f(d){return typeof d=="object"&&d!==null?d:null}function pt(d){return typeof d=="string"?d:""}function uc(d){return typeof d=="number"?d:null}function mc(d){if(typeof d=="boolean")return d;if(typeof d=="string"){const i=d.toLowerCase();if(i==="completed"||i==="done"||i==="true")return!0;if(i==="incomplete"||i==="pending"||i==="false")return!1}return null}function o1(d){if(!d)return"";const i=new Date(d);return Number.isNaN(i.getTime())?"":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(i)}function c1(d,i){const o=_f(d);if(!o)return null;const c=pt(o.id)||pt(o.interview_id)||`interview-${i}`,h=pt(o.job_name)||pt(o.job_title)||pt(o.title)||"Interview",g=pt(o.company_name)||pt(o.companyName)||"Ukendt virksomhed",y=pt(o.interview_date)||pt(o.created_at)||pt(o.updated_at)||pt(o.date),V=mc(o.is_completed)??mc(o.completed)??mc(o.status)??!0,M=uc(o.duration_minutes)??uc(o.duration)??uc(o.length_minutes),j=pt(o.personality_name)||pt(o.simulation_personality_name)||pt(o.personality)||"Professionel";return{id:c,title:h,companyName:g,dateLabel:o1(y),completed:V,durationMinutes:M,personality:j}}class d1{constructor(i=new Ei,o=new Ac){this.jobsViewModel=i,this.simulationService=o}async getCandidateProfile(){return this.jobsViewModel.getCandidateProfile()}async getJobs(){try{return await this.jobsViewModel.getTabItems("jobs")}catch{return[]}}async getPersonalities(){try{const i=await this.simulationService.listSimulationPersonalities();return Array.isArray(i)?i:[]}catch{return[]}}async getInterviews(i=12){try{const o=await this.simulationService.listInterviews(i,0),c=_f(o);return(Array.isArray(c?.interviews)?c.interviews:Array.isArray(o)?o:[]).map((g,y)=>c1(g,y)).filter(g=>!!g)}catch{return[]}}}const u1=[{id:"sim-1",title:"Senior Frontend-udvikler",companyName:"Lunar",completed:!0,durationMinutes:15,personality:"Professionel",dateLabel:"12. okt 2023"},{id:"sim-2",title:"Fullstack Developer",companyName:"Pleo",completed:!1,durationMinutes:20,personality:"Afslappet",dateLabel:"10. okt 2023"},{id:"sim-3",title:"UX Designer",companyName:"Trustpilot",completed:!0,durationMinutes:10,personality:"Sarkastisk",dateLabel:"05. okt 2023"},{id:"sim-4",title:"Product Manager",companyName:"Danske Bank",completed:!0,durationMinutes:5,personality:"Stress-test",dateLabel:"01. okt 2023"}];function m1(d){return{id:d.id,title:d.title,companyName:d.companyName,completed:d.completed,durationMinutes:d.durationMinutes??15,personality:d.personality||"Professionel",dateLabel:d.dateLabel||"Nyligt"}}function h1(d){return`${d.title||"Stilling"}${d.companyName?` · ${d.companyName}`:""}`}function f1({onLogout:d,onNavigate:i,onOpenEvaluation:o,onToggleTheme:c,theme:h}){const g=v.useMemo(()=>new d1,[]),[y,V]=v.useState("Lasse"),[M,j]=v.useState(void 0),[T,S]=v.useState([]),[H,Y]=v.useState([]),[q,J]=v.useState([]),[oe,ie]=v.useState(!0),[ne,X]=v.useState(""),[te,ae]=v.useState(""),[Z,D]=v.useState("Dansk"),[W,$]=v.useState("15"),[P,ce]=v.useState(!1);v.useEffect(()=>{let k=!0;async function G(){ie(!0);const[I,f,_,R]=await Promise.all([g.getCandidateProfile(),g.getJobs(),g.getInterviews(),g.getPersonalities()]);k&&(V(I.name),j(I.imageUrl),S(f),Y(_.map(m1)),J(R.map(Q=>({id:Q.id,name:Q.name}))),f.length>0&&X(Q=>Q||f[0].id),R.length>0&&ae(Q=>Q||String(R[0].id)),ie(!1))}return G(),()=>{k=!1}},[g]);const me=H.length>0?H:u1,De={id:"fallback-job",title:"Senior Frontend-udvikler",companyName:"Lunar"},Ne=T.length>0?T:[De],se=Ne.find(k=>k.id===ne)||Ne[0],p=q.find(k=>String(k.id)===te)?.name||"Professionel & Grundig",L=[{id:"ai-1",sender:"ai",text:`Hej Lasse, og velkommen til! Vi er rigtig glade for at have dig til samtalen omkring rollen som ${se.title||"Senior Frontend-udvikler"}. Kan du fortælle om et nyligt projekt, hvor din erfaring med React gjorde en stor forskel for slutresultatet?`},{id:"me-1",sender:"me",text:"I mit seneste projekt migrerede vi en stor dashboard-løsning til Next.js. Jeg implementerede virtualisering og strammere state management med Zustand, hvilket reducerede load-tid med over 60%."},{id:"ai-2",sender:"ai",text:"Det lyder som en rigtig solid forbedring. Når du nævner Zustand frem for Redux, hvad var overvejelserne bag det valg i jeres use-case?"}];return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"simulator",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-main",children:[a.jsx(Ft,{name:y,imageUrl:M,onLogout:d,theme:h,onToggleTheme:c,actions:P?a.jsxs("button",{type:"button",className:"sim-leave-btn",onClick:()=>ce(!1),children:[a.jsx(Di,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Forlad simulering"})]}):void 0}),P?a.jsxs("div",{className:"sim-live-wrap",children:[a.jsxs("div",{className:"sim-live-head",children:[a.jsx("h1",{children:"Live Jobsamtale"}),a.jsx("p",{children:"Du er i øjeblikket i en simuleret teknisk samtale. Brug mikrofonen til at svare."})]}),a.jsxs("div",{className:"sim-live-grid",children:[a.jsxs("section",{className:"sim-live-chat-card",children:[a.jsxs("div",{className:"sim-live-chat-head",children:[a.jsxs("div",{className:"sim-live-ai-row",children:[a.jsx("div",{className:"sim-live-ai-avatar",children:a.jsx(Kl,{size:18,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h3",{children:"Sarah (AI Interviewer)"}),a.jsxs("p",{children:[a.jsx(tb,{size:12,strokeWidth:1.8})," Venter på dit svar..."]})]})]}),a.jsx("button",{type:"button",className:"sim-live-more-btn",children:a.jsx(sp,{size:16,strokeWidth:1.8})})]}),a.jsx("div",{className:"sim-live-chat-scroll custom-scrollbar",children:L.map(k=>a.jsxs("div",{className:k.sender==="ai"?"sim-live-msg-row ai":"sim-live-msg-row me",children:[a.jsx("div",{className:k.sender==="ai"?"sim-live-msg-avatar ai":"sim-live-msg-avatar me",children:k.sender==="ai"?a.jsx(Kl,{size:13,strokeWidth:1.8}):M?a.jsx("img",{src:M,alt:y}):a.jsx("span",{children:y.slice(0,1).toUpperCase()})}),a.jsx("div",{className:k.sender==="ai"?"sim-live-msg-bubble ai":"sim-live-msg-bubble me",children:a.jsx("p",{children:k.text})})]},k.id))}),a.jsxs("div",{className:"sim-live-voice",children:[a.jsxs("div",{className:"sim-live-time-row",children:[a.jsxs("div",{className:"sim-live-time",children:[a.jsx("small",{children:"Tid gået"}),a.jsx("strong",{children:"04:23"})]}),a.jsx("div",{className:"sim-live-wave",children:Array.from({length:7}).map((k,G)=>a.jsx("span",{style:{animationDelay:`${G*.14}s`}},`wave-${G}`))}),a.jsxs("div",{className:"sim-live-time",children:[a.jsx("small",{children:"Tilbage"}),a.jsx("strong",{children:"10:37"})]})]}),a.jsx("button",{type:"button",className:"sim-live-mic-btn",children:a.jsx(Op,{size:22,strokeWidth:1.8})}),a.jsx("p",{children:"Optager dit svar..."})]})]}),a.jsxs("aside",{className:"sim-live-side custom-scrollbar",children:[a.jsxs("article",{className:"sim-live-side-card",children:[a.jsx("h2",{children:"Session Status"}),a.jsxs("div",{className:"sim-live-side-list",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Stilling"}),a.jsxs("p",{children:[se.title||"Senior Frontend-udvikler"," @ ",se.companyName||"Lunar"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Samtaletype"}),a.jsxs("p",{children:[a.jsx(gc,{size:14,strokeWidth:1.8})," Teknisk Dybde"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Interviewer stil"}),a.jsxs("p",{children:[a.jsx(Kl,{size:14,strokeWidth:1.8})," ",p]})]}),a.jsxs("div",{children:[a.jsxs("div",{className:"sim-live-progress-head",children:[a.jsx("small",{children:"Fremgang"}),a.jsx("strong",{children:"Spørgsmål 2 af 5"})]}),a.jsx("div",{className:"sim-live-progress-track",children:a.jsx("span",{})})]})]})]}),a.jsxs("article",{className:"sim-live-coach-card",children:[a.jsxs("h2",{children:[a.jsx(Np,{size:15,strokeWidth:1.8})," Live Coach"]}),a.jsxs("div",{className:"sim-live-coach-list",children:[a.jsxs("div",{children:[a.jsx($e,{size:14,strokeWidth:1.8}),a.jsxs("div",{children:[a.jsx("strong",{children:"Godt brug af STAR-metoden"}),a.jsx("p",{children:"Dit forrige svar beskrev situationen og resultatet meget tydeligt."})]})]}),a.jsxs("div",{children:[a.jsx(en,{size:14,strokeWidth:1.8}),a.jsxs("div",{children:[a.jsx("strong",{children:"Næste skridt"}),a.jsx("p",{children:"Uddyb hvorfor Zustand var bedre end Redux i jeres specifikke use-case."})]})]})]})]}),a.jsx("article",{className:"sim-live-side-card",children:a.jsxs("div",{className:"sim-live-actions",children:[a.jsxs("button",{type:"button",children:[a.jsx(Jx,{size:16,strokeWidth:1.8})," Sæt på pause"]}),a.jsxs("button",{type:"button",className:"stop",children:[a.jsx(Wx,{size:16,strokeWidth:1.8})," Afslut & Få Feedback"]})]})})]})]})]}):a.jsxs("div",{className:"sim-wrap",children:[a.jsxs("section",{className:"sim-hero-card",children:[a.jsx("div",{className:"sim-hero-glow"}),a.jsxs("div",{className:"sim-hero-left",children:[a.jsx("h1",{children:"Job Interview Simulator"}),a.jsx("p",{children:"Ov dig pa jobsamtaler med vores AI-drevne simulator. Du far skraeddersyede sporgsmal baseret pa den jobtype, du soger, og modtager detaljeret feedback pa dine svar."}),a.jsxs("ul",{className:"sim-benefits",children:[a.jsxs("li",{children:[a.jsx($e,{size:16,strokeWidth:1.8})," Personaliserede interviewsporgsmal"]}),a.jsxs("li",{children:[a.jsx($e,{size:16,strokeWidth:1.8})," Ojeblikkelig AI-feedback pa dine svar"]}),a.jsxs("li",{children:[a.jsx($e,{size:16,strokeWidth:1.8})," Detaljeret evaluering efter interviewet"]}),a.jsxs("li",{children:[a.jsx($e,{size:16,strokeWidth:1.8})," Gem og gennemga tidligere interviews"]})]}),a.jsxs("button",{type:"button",className:"sim-start-btn",onClick:()=>ce(!0),children:[a.jsx(Qx,{size:18,strokeWidth:1.8}),"Start ny simulering"]})]}),a.jsxs("div",{className:"sim-config-card",children:[a.jsxs("div",{className:"sim-config-head",children:[a.jsx("h3",{children:"Simuleringsindstillinger"}),a.jsx("p",{children:"Vaelg dine praeferencer for start"})]}),a.jsxs("label",{children:["Gemt job",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(wc,{size:16,strokeWidth:1.8}),a.jsx("select",{value:ne,onChange:k=>X(k.target.value),children:Ne.map(k=>a.jsx("option",{value:k.id,children:h1(k)},k.id))}),a.jsx(Ks,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Personlighed (AI)",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(Kl,{size:16,strokeWidth:1.8}),a.jsx("select",{value:te,onChange:k=>ae(k.target.value),children:(q.length>0?q:[{id:1,name:"Professionel & Grundig"}]).map(k=>a.jsx("option",{value:String(k.id),children:k.name},k.id))}),a.jsx(Ks,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("div",{className:"sim-mini-grid",children:[a.jsxs("label",{children:["Sprog",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(Ci,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:Z,onChange:k=>D(k.target.value),children:[a.jsx("option",{children:"Dansk"}),a.jsx("option",{children:"Engelsk"})]}),a.jsx(Ks,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Varighed",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(fc,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:W,onChange:k=>$(k.target.value),children:[a.jsx("option",{value:"5",children:"5 min"}),a.jsx("option",{value:"10",children:"10 min"}),a.jsx("option",{value:"15",children:"15 min"}),a.jsx("option",{value:"20",children:"20 min"})]}),a.jsx(Ks,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]})]})]})]}),a.jsxs("div",{className:"sim-history-head",children:[a.jsx("h2",{children:"Tidligere simuleringer"}),a.jsxs("button",{type:"button",children:[a.jsx(mf,{size:15,strokeWidth:1.8})," Filtrer"]})]}),oe?a.jsx("p",{className:"dash-loading",children:"Indlaeser simuleringer..."}):null,a.jsx("section",{className:"sim-history-grid",children:me.map(k=>a.jsxs("article",{className:k.completed?"sim-card done":"sim-card draft",children:[a.jsxs("div",{className:"sim-card-head",children:[a.jsxs("div",{children:[a.jsx("h3",{children:k.title}),a.jsx("p",{children:k.companyName})]}),a.jsx("span",{className:k.completed?"sim-status done":"sim-status draft",children:k.completed?"Faerdig":"Ikke faerdig"})]}),a.jsxs("div",{className:"sim-tags",children:[a.jsxs("span",{children:[a.jsx(fc,{size:13,strokeWidth:1.8})," ",k.durationMinutes," min"]}),a.jsxs("span",{children:[a.jsx(Kl,{size:13,strokeWidth:1.8})," ",k.personality]})]}),a.jsxs("div",{className:"sim-card-foot",children:[a.jsx("small",{children:k.dateLabel}),k.completed?a.jsxs("button",{type:"button",className:"sim-link-btn",onClick:()=>o({interviewId:k.id,title:k.title,companyName:k.companyName,dateLabel:k.dateLabel}),children:["Se evaluering ",a.jsx(il,{size:14,strokeWidth:1.8})]}):null]})]},k.id))})]})]})]})}function Wl(d){return typeof d=="object"&&d!==null?d:null}function zc(d){return typeof d=="string"?d:""}function g1(d){if(typeof d=="number"&&Number.isFinite(d))return d;if(typeof d=="string"){const i=Number(d);return Number.isFinite(i)?i:null}return null}function lf(d){return Array.isArray(d)?d.map(i=>zc(i).trim()).filter(Boolean):[]}function et(d,i){if(!d)return"";for(const o of i){const c=zc(d[o]).trim();if(c)return c}return""}function Si(d,i){if(!d)return null;for(const o of i){const c=g1(d[o]);if(c!==null)return c}return null}function x1(d){if(!d)return"";const i=new Date(d);return Number.isNaN(i.getTime())?d:new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(i)}function sf(d,i){return d===null?i:Math.max(0,Math.min(10,Math.round(d)))}const Af=[{id:"1",title:"Mere struktur og korthed i dine svar",behavior:"Du gav nogle svar, der blev lange og gentagende i stedet for fokuserede pa kernen.",effect:"Det kan gore det svaerere for intervieweren hurtigt at vurdere din erfaring og beslutninger.",nextStep:"Svar i 3 trin: pointe, konkret eksempel, resultat. Sigt efter 30-60 sekunder pr. svar."},{id:"2",title:"Flere konkrete eksempler pa performance i service",behavior:"Du fortalte om ansvar, men gav fa konkrete scenarier med handling og resultat.",effect:"Uden konkrete cases bliver niveau og paalidelighed svaerere at validere.",nextStep:"Forbered 2-3 STAR-historier med tydelig situation, handling og maelbart resultat."},{id:"3",title:"Gor din motivation mere maelrettet virksomheden",behavior:"Motivationen var positiv, men ikke altid koblet direkte til virksomhedens drift og behov.",effect:"Du kan fremsta generelt motiveret i stedet for specifikt relevant for rollen.",nextStep:"Naevn 2-3 konkrete grunde til, at netop deres setup matcher din erfaring."},{id:"4",title:"Konkretiser kvalitet og sikkerhed i praksis",behavior:"Du naevnte standarder og certificeringer, men beskrev fa daglige rutiner.",effect:"Det reducerer tydeligheden omkring, hvordan du arbejder sikkert i travle perioder.",nextStep:"Beskriv faste rutiner for kontrol, logning og hurtig korrektion under pres."}],zf=["Du viser relevant erfaring for rollen og kommunikerer ro under pres.","Du arbejder struktureret med kvalitet og timing i service.","Du har en moden team-tilgang med fokus pa samarbejde.","Du kobler dine svar til konkrete arbejdsrutiner og drift.","Du fremstar stabil og ansvarlig i hektiske situationer."],Df=["Forbered 3 korte STAR-historier med maelbare resultater.","Lav en 60-sekunders pitch af din profil og vaerdiskabelse.","Research virksomheden i 10-15 minutter inden samtalen.","Forbered 4-5 konkrete spoergsmaal om rolle og forventninger.","Afslut svar med resultat, sa din effekt bliver tydelig."],zt={companyName:"Ukendt virksomhed",dateLabel:"Nyligt",evaluationLabel:"Interview Feedback",interviewerEvaluationTitle:"Interviewer evaluering",interviewerEvaluationLead:"Du er godt med. Din praestation viste styrker der matcher stillingen.",interviewerEvaluationBody:"Du viste relevante kompetencer og en stabil tilgang under pres. Du kan staerke dit indtryk yderligere ved at svare mere struktureret og bruge flere konkrete resultateksempler.",interviewTitle:"Stilling",interviewerScore:8,selfScore:5,strengths:zf,recommendations:Df,suggestions:Af};function p1(d,i){const o=Wl(d);if(!o)return null;const c=et(o,["title","heading","name","subject"]),h=et(o,["behavior","adfaerd","observation","issue"]),g=et(o,["effect","impact","consequence"]),y=et(o,["next_step","nextStep","recommendation","suggestion"]);return!c&&!h&&!g&&!y?null:{id:zc(o.id)||String(i+1),title:c||`Forbedringspunkt ${i+1}`,behavior:h||"Ingen detaljer tilgaengelige.",effect:g||"Ingen detaljer tilgaengelige.",nextStep:y||"Ingen detaljer tilgaengelige."}}function b1(d){const i=[d?.suggestions,d?.improvements,d?.improvement_points,d?.feedback_points,Wl(d?.evaluation)?.suggestions,Wl(d?.evaluation)?.improvements];for(const o of i){if(!Array.isArray(o))continue;const c=o.map((h,g)=>p1(h,g)).filter(h=>!!h);if(c.length>0)return c}return Af}function nf(d,i,o){for(const h of i){const g=lf(d?.[h]);if(g.length>0)return g}const c=Wl(d?.evaluation);for(const h of i){const g=lf(c?.[h]);if(g.length>0)return g}return o}class v1{constructor(i=new Ac){this.simulationService=i}async getEvaluation(i,o){try{const c=await this.simulationService.getInterviewEvaluation(i),h=Wl(c),g=Wl(h?.evaluation),y=et(h,["company_name","companyName"])||et(g,["company_name","companyName"])||o?.companyName||zt.companyName,V=et(h,["job_title","job_name","title"])||et(g,["job_title","job_name","title"])||o?.title||zt.interviewTitle,M=et(h,["interview_date","created_at","date"])||et(g,["interview_date","created_at","date"]),j=x1(M)||o?.dateLabel||zt.dateLabel,T=et(h,["interviewer_evaluation_lead","lead"])||et(g,["interviewer_evaluation_lead","lead"])||zt.interviewerEvaluationLead,S=et(h,["interviewer_evaluation","summary","feedback"])||et(g,["interviewer_evaluation","summary","feedback"])||zt.interviewerEvaluationBody,H=et(h,["evaluation_title","interviewer_title"])||et(g,["evaluation_title","interviewer_title"])||zt.interviewerEvaluationTitle,Y=et(h,["label","evaluation_label"])||et(g,["label","evaluation_label"])||zt.evaluationLabel,q=sf(Si(h,["candidate_score","self_score","self_rating"])??Si(g,["candidate_score","self_score","self_rating"]),zt.selfScore),J=sf(Si(h,["interviewer_score","score","interviewer_rating"])??Si(g,["interviewer_score","score","interviewer_rating"]),zt.interviewerScore);return{companyName:y,dateLabel:j,evaluationLabel:Y,interviewerEvaluationBody:S,interviewerEvaluationLead:T,interviewerEvaluationTitle:H,interviewerScore:J,interviewTitle:V,recommendations:nf(h,["recommendations","constructive_recommendations","next_steps"],Df),selfScore:q,strengths:nf(h,["strengths","highlights"],zf),suggestions:b1(h)}}catch{return{...zt,companyName:o?.companyName||zt.companyName,interviewTitle:o?.title||zt.interviewTitle,dateLabel:o?.dateLabel||zt.dateLabel}}}async submitRating(i,o,c){await this.simulationService.submitEvaluationRating(i,o,c)}}function Cf(d,i){return i-d}function y1(d,i){const o=Cf(d,i);return o>0?`Gab: +${o} point`:o<0?`Gab: ${o} point`:"Gab: 0 point"}function j1(d,i){const o=Cf(d,i);return o>0?"Du undervurderede dig selv i forhold til interviewerens vurdering.":o<0?"Du vurderede dig selv hojere end intervieweren gjorde i denne session.":"Din selvvurdering matcher interviewerens vurdering godt."}function k1(d){return d||"Nyligt"}function N1({interviewSelection:d,onBack:i,onLogout:o,onNavigate:c,onToggleTheme:h,theme:g}){const y=v.useMemo(()=>new v1,[]),[V]=v.useState("Lasse"),[M]=v.useState(void 0),[j,T]=v.useState(null),[S,H]=v.useState(!0),[Y,q]=v.useState(0),[J,oe]=v.useState(""),[ie,ne]=v.useState(!1),[X,te]=v.useState("");v.useEffect(()=>{let W=!0;async function $(){H(!0);const P=await y.getEvaluation(d.interviewId,{companyName:d.companyName,dateLabel:d.dateLabel,title:d.title});W&&(T(P),H(!1))}return $(),()=>{W=!1}},[d.companyName,d.dateLabel,d.interviewId,d.title,y]);async function ae(){if(!(!Y||ie)){ne(!0),te("");try{await y.submitRating(d.interviewId,Y,J.trim()),te("Tak. Din feedback er sendt.")}catch{te("Kunne ikke sende feedback lige nu. Prov igen.")}finally{ne(!1)}}}const Z=j,D=Z?.suggestions??[];return a.jsxs("section",{className:`dash-root ${g==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"simulator",onNavigate:c}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-eval-main",children:[a.jsx(Ft,{name:V,imageUrl:M,onLogout:o,theme:g,onToggleTheme:h}),a.jsxs("div",{className:"sim-eval-wrap",children:[a.jsxs("header",{className:"sim-eval-head",children:[a.jsxs("button",{type:"button",className:"sim-eval-back-btn sim-eval-back-inline",onClick:()=>c("simulator"),children:[a.jsx(Di,{size:14,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til Simulator"})]}),a.jsxs("div",{className:"sim-eval-label",children:[a.jsx(Px,{size:14,strokeWidth:1.8}),a.jsx("span",{children:Z?.evaluationLabel??"Interview Feedback"})]}),a.jsx("h1",{children:"Evalueringsfeedback"}),a.jsxs("div",{className:"sim-eval-meta",children:[a.jsx("strong",{children:Z?.companyName??d.companyName}),a.jsx("span",{}),a.jsx("p",{children:Z?.interviewTitle??d.title}),a.jsx("span",{}),a.jsxs("small",{children:[a.jsx(Lx,{size:14,strokeWidth:1.8})," ",k1(Z?.dateLabel??d.dateLabel)]})]})]}),S?a.jsx("p",{className:"dash-loading",children:"Indlaeser evaluering..."}):null,!S&&Z?a.jsxs(a.Fragment,{children:[a.jsxs("section",{className:"sim-eval-overview-card",children:[a.jsxs("div",{className:"sim-eval-overview-text",children:[a.jsxs("div",{className:"sim-eval-overview-title",children:[a.jsx(yf,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:Z.interviewerEvaluationTitle})]}),a.jsx("p",{className:"lead",children:Z.interviewerEvaluationLead}),a.jsx("p",{children:Z.interviewerEvaluationBody})]}),a.jsxs("aside",{className:"sim-eval-score-card",children:[a.jsxs("div",{className:"sim-eval-score-head",children:[a.jsx("h3",{children:"Performance vurdering"}),a.jsx(en,{size:16,strokeWidth:1.8})]}),a.jsxs("div",{className:"sim-eval-score-rows",children:[a.jsxs("div",{children:[a.jsx("span",{children:"Din udfyldelse"}),a.jsxs("strong",{children:[Z.selfScore,"/10"]})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Interviewers vurdering"}),a.jsxs("strong",{className:"good",children:[Z.interviewerScore,"/10"]})]})]}),a.jsxs("div",{className:"sim-eval-gap-block",children:[a.jsxs("span",{children:[a.jsx(qh,{size:13,strokeWidth:1.8})," ",y1(Z.selfScore,Z.interviewerScore)]}),a.jsx("p",{children:j1(Z.selfScore,Z.interviewerScore)})]})]})]}),a.jsxs("section",{className:"sim-eval-improvements",children:[a.jsxs("div",{className:"sim-eval-section-title",children:[a.jsx(qh,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Hvordan kan du blive bedre?"})]}),a.jsx("div",{className:"sim-eval-improvement-list",children:D.map((W,$)=>a.jsxs("article",{className:"sim-eval-improvement-card",children:[a.jsx("div",{className:"sim-eval-improvement-index",children:$+1}),a.jsxs("div",{className:"sim-eval-improvement-content",children:[a.jsx("h3",{children:W.title}),a.jsxs("div",{className:"sim-eval-improvement-grid",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Adfaerd"}),a.jsx("p",{children:W.behavior})]}),a.jsxs("div",{className:"impact",children:[a.jsx("small",{children:"Effekt"}),a.jsx("p",{children:W.effect})]}),a.jsxs("div",{className:"next",children:[a.jsx("small",{children:"Naeste gang"}),a.jsx("p",{children:W.nextStep})]})]})]})]},W.id))})]}),a.jsxs("section",{className:"sim-eval-split-grid",children:[a.jsxs("article",{className:"sim-eval-list-card",children:[a.jsxs("div",{className:"sim-eval-card-title",children:[a.jsx($e,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Dine styrker"})]}),a.jsx("ul",{children:Z.strengths.map((W,$)=>a.jsxs("li",{children:[a.jsx($e,{size:17,strokeWidth:1.8}),a.jsx("span",{children:W})]},`strength-${$}`))})]}),a.jsxs("article",{className:"sim-eval-list-card recommendations",children:[a.jsxs("div",{className:"sim-eval-card-title",children:[a.jsx(vc,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Konstruktiv anbefaling"})]}),a.jsx("p",{className:"hint",children:"Fokuser pa disse handlinger for at staerke din naeste samtale."}),a.jsx("ul",{children:Z.recommendations.map((W,$)=>a.jsxs("li",{children:[a.jsx("div",{children:a.jsx(qp,{size:13,strokeWidth:2})}),a.jsx("span",{children:W})]},`recommendation-${$}`))})]})]}),a.jsxs("section",{className:"sim-eval-rating-card",children:[a.jsx("p",{children:"Husk: Hvert interview er en laeringsmulighed. Bliv ved med at ove."}),a.jsxs("div",{className:"sim-eval-rating-box",children:[a.jsx("h3",{children:"Bedom denne evaluering"}),a.jsx("small",{children:"Din feedback hjaelper os med at forbedre oplevelsen."}),a.jsx("div",{className:"sim-eval-stars",children:Array.from({length:5}).map((W,$)=>{const P=$+1,ce=P<=Y;return a.jsx("button",{type:"button","aria-label":`Vaelg ${P} stjerner`,className:ce?"selected":"",onClick:()=>q(P),children:a.jsx(Sc,{size:27,fill:ce?"currentColor":"none",strokeWidth:1.8})},`star-${P}`)})}),a.jsx("textarea",{value:J,onChange:W=>oe(W.target.value),rows:3,placeholder:"Kommentar (valgfrit)"}),a.jsx("button",{type:"button",onClick:()=>{ae()},disabled:ie||Y===0,children:ie?"Sender...":"Send feedback"}),X?a.jsx("div",{className:"sim-eval-submit-status",children:X}):null]})]})]}):null]})]})]})}class w1{constructor(i=new ol,o=new Mi){this.candidateService=i,this.subscriptionService=o}async getCandidateProfile(){try{const i=await this.candidateService.getCandidate();return{name:i.firstName?.trim()||i.name?.trim()||"Lasse",imageUrl:i.imageUrl||i.image||void 0}}catch{return{name:"Lasse"}}}async getSnapshot(){const[i,o]=await Promise.allSettled([this.subscriptionService.getPaymentOverview(),this.subscriptionService.getSubscriptionProducts()]);return{paymentOverview:i.status==="fulfilled"?i.value:null,products:o.status==="fulfilled"?o.value:null}}async redeemCode(i){await this.subscriptionService.redeemCode(i)}}const rf=["Download et professionelt CV - Klar til brug med et enkelt klik","Karriereagent med personlige anbefalinger","Øget synlighed – bliv fundet af virksomheder","Lad systemet lave din ansøgning for dig","Optimer dit CV med intelligente forslag","Job simulatoren – træn til din næste jobsamtale"];function Tf(d){if(!d)return null;const i=d instanceof Date?d:new Date(d);return Number.isNaN(i.getTime())?null:i}function S1(d){const i=Tf(d);return i?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"2-digit",year:"numeric"}).format(i):"Ukendt dato"}function _1(d){if(!d)return!1;const i=Tf(d.activeToDate);return i?i.getTime()>Date.now():!1}function A1(d){const i=d?.premium_30?.price??49,o=d?.premium_90?.price??99,c=d?.premium_365?.price??249;return{30:{title:"30 dage",priceText:`${i} kr.`,dailyText:"Svarer til 1.63 kr. pr. dag",description:"Månedlig adgang til alle premium-funktioner"},90:{title:"90 dage",priceText:`${o} kr.`,dailyText:"Svarer til 1.10 kr. pr. dag",savings:"Spar 33%",description:"Mest populære valg med ekstra besparelse"},365:{title:"365 dage",priceText:`${c} kr.`,dailyText:"Svarer til 0.68 kr. pr. dag",savings:"Spar 58%",description:"Inkluderer gavekode til 3 måneders premium"}}}function z1({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=v.useMemo(()=>new w1,[]),[g,y]=v.useState("Lasse"),[V,M]=v.useState(void 0),[j,T]=v.useState(null),[S,H]=v.useState(null),[Y,q]=v.useState(!0),[J,oe]=v.useState("90"),[ie,ne]=v.useState(!1),[X,te]=v.useState(""),[ae,Z]=v.useState(""),[D,W]=v.useState(!1),[$,P]=v.useState(null);v.useEffect(()=>{let se=!0;async function p(){q(!0);const[L,k]=await Promise.all([h.getCandidateProfile(),h.getSnapshot()]);se&&(y(L.name),M(L.imageUrl),T(k.paymentOverview),H(k.products),q(!1))}return p(),()=>{se=!1}},[h]);const ce=v.useMemo(()=>A1(S),[S]),me=_1(j),De=$??me;async function Ne(){const se=X.trim();if(!(!se||D)){Z(""),W(!0);try{await h.redeemCode(se),Z("Koden blev indløst. Opdaterer abonnement...");const p=await h.getSnapshot();T(p.paymentOverview),H(p.products),te("")}catch{Z("Kunne ikke indløse kode. Prøv igen.")}finally{W(!1)}}}return a.jsxs("section",{className:`dash-root ${c==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(Wt,{active:"subscription",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar sub-main",children:[a.jsx(Ft,{name:g,imageUrl:V,onLogout:d,theme:c,onToggleTheme:o,actions:a.jsxs("div",{className:"sub-top-actions",children:[a.jsxs("div",{className:"sub-crumb-pill",children:[a.jsx(xc,{size:15,strokeWidth:1.8})," Abonnement"]}),a.jsx("button",{type:"button",className:"sub-toggle-btn",onClick:()=>P(se=>se===null?!me:!se),children:De?'Vis "Unsubscribed" state':'Vis "Subscribed" state'})]})}),a.jsxs("div",{className:"sub-head",children:[a.jsxs("div",{className:"sub-head-title-row",children:[a.jsx("div",{className:"sub-head-icon",children:a.jsx(xc,{size:18,strokeWidth:1.8})}),a.jsx("h1",{children:"Dit Abonnement"})]}),a.jsx("p",{children:"Administrer dit medlemskab og lås op for alle de intelligente værktøjer, der gør din jobsøgning nemmere."})]}),a.jsxs("div",{className:"sub-wrap",children:[a.jsxs("section",{className:"sub-redeem-card",children:[a.jsxs("div",{className:"sub-redeem-head",children:[a.jsx("span",{children:"🎟️"}),a.jsx("h2",{children:"Indløs kode"})]}),a.jsx("p",{children:"Har du en rabatkode eller gavekode? Indtast den her og få den aktiveret med det samme"}),a.jsxs("div",{className:"sub-redeem-row",children:[a.jsx("input",{type:"text",value:X,onChange:se=>te(se.target.value),placeholder:"Indtast kode her..."}),a.jsx("button",{type:"button",onClick:()=>{Ne()},disabled:D,children:D?"Indløser...":"Indløs"})]}),ae?a.jsx("small",{children:ae}):null]}),Y?a.jsx("p",{className:"dash-loading",children:"Indlaeser abonnement..."}):null,!Y&&!De?a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"sub-plan-grid",children:["30","90","365"].map(se=>{const p=ce[se],L=J===se,k=se==="90",G=se==="365";return a.jsxs("label",{className:["sub-plan-card",L?"selected":"",k?"popular":"",G?"yearly":""].join(" ").trim(),children:[k?a.jsx("div",{className:"sub-popular-badge",children:"Mest populær"}):null,a.jsx("input",{type:"radio",name:"pricing-plan",checked:L,onChange:()=>oe(se)}),a.jsx("div",{className:"sub-radio-indicator",children:a.jsx("i",{})}),a.jsxs("div",{className:"sub-plan-content",children:[a.jsxs("div",{className:"sub-plan-title-row",children:[a.jsx("h3",{children:p.title}),p.savings?a.jsx("span",{children:p.savings}):null]}),a.jsx("div",{className:"sub-price",children:p.priceText}),a.jsx("p",{className:"sub-price-daily",children:p.dailyText}),G?a.jsxs("div",{className:"sub-gift-box",children:[a.jsx(mp,{size:17,strokeWidth:1.8}),a.jsxs("div",{children:[a.jsx("strong",{children:"Giv en gave"}),a.jsx("small",{children:"Få en gratis 3-måneders Premium-kode med i købet til en ven."})]})]}):null,a.jsx("div",{className:"sub-divider"}),a.jsx("ul",{children:rf.map(I=>a.jsxs("li",{children:[a.jsx($e,{size:15,strokeWidth:1.8}),a.jsx("span",{children:I})]},`${se}-${I}`))})]})]},se)})}),a.jsxs("section",{className:"sub-checkout-card",children:[a.jsxs("div",{children:[a.jsx("h3",{children:"Klar til at opgradere?"}),a.jsx("p",{children:"Vælg en plan ovenfor og få adgang til alle Premium-funktioner med det samme."})]}),a.jsxs("div",{className:"sub-checkout-actions",children:[a.jsxs("label",{children:[a.jsx("input",{type:"checkbox",checked:ie,onChange:se=>ne(se.target.checked)}),a.jsx("span",{className:"sub-checkbox",children:a.jsx(Bx,{size:13,strokeWidth:2.2})}),a.jsx("span",{children:"Jeg accepterer handelsbetingelser"})]}),a.jsx("button",{type:"button",disabled:!ie,children:"Gå til betaling"})]})]})]}):null,!Y&&De?a.jsxs("div",{className:"sub-active-wrap",children:[a.jsxs("section",{className:"sub-gift-alert",children:[a.jsx("div",{className:"sub-gift-glow"}),a.jsx("div",{className:"sub-gift-icon",children:"🎁"}),a.jsxs("div",{children:[a.jsx("h2",{children:"Din gave venter!"}),a.jsx("p",{children:"Klik på gaven nedenfor for at se indholdet"})]}),a.jsx("button",{type:"button",children:"Åbn gave"})]}),a.jsxs("section",{className:"sub-active-card",children:[a.jsxs("div",{className:"sub-active-head",children:[a.jsx("span",{children:"👑"}),a.jsx("h2",{children:"Premium abonnement"})]}),a.jsxs("div",{className:"sub-active-grid",children:[a.jsx("div",{className:"sub-active-features",children:a.jsx("ul",{children:rf.map(se=>a.jsxs("li",{children:[a.jsx($e,{size:16,strokeWidth:1.8}),a.jsx("span",{children:se})]},`active-${se}`))})}),a.jsxs("div",{className:"sub-active-status-col",children:[a.jsxs("div",{className:"sub-active-status-box",children:[a.jsx("div",{className:"sub-active-check",children:a.jsx($e,{size:34,strokeWidth:1.8})}),a.jsx("h3",{children:"Dit abonnement er aktivt"}),a.jsxs("strong",{children:[ce[J].priceText," for ",ce[J].title]}),a.jsx("p",{children:ce[J].dailyText}),a.jsxs("div",{className:"sub-renew-pill",children:[a.jsx(Mx,{size:16,strokeWidth:1.8}),"Fornyes d. ",S1(j?.renewDate)]})]}),a.jsx("button",{type:"button",className:"sub-manage-link",children:"Administrer betalingsoplysninger"})]})]})]})]}):null]})]})]})}function D1(){const d=v.useMemo(()=>window.location.pathname==="/home",[]),i=v.useMemo(()=>window.location.pathname==="/pricing"||window.location.pathname==="/priser",[]),o=v.useMemo(()=>window.location.pathname==="/stories",[]),c=v.useMemo(()=>window.location.pathname==="/newsletter",[]),h=v.useMemo(()=>window.location.pathname.startsWith("/jobordbogen/")&&window.location.pathname!=="/jobordbogen/",[]),g=v.useMemo(()=>window.location.pathname==="/jobordbogen"||window.location.pathname==="/academy",[]),y=v.useMemo(()=>!!window.localStorage.getItem("token"),[]),V=v.useMemo(()=>window.localStorage.getItem("theme")==="dark"?"dark":"light",[]),[M,j]=v.useState(y),[T,S]=v.useState(V),[H,Y]=v.useState("dashboard"),[q,J]=v.useState(null),[oe,ie]=v.useState(null);function ne($){($==="dashboard"||$==="jobs"||$==="cv"||$==="messages"||$==="agents"||$==="ai-agent"||$==="simulator"||$==="subscription")&&Y($)}function X($,P,ce="jobs"){J({id:$,fromJobnet:P,returnPage:ce}),Y("job-detail")}function te(){Y(q?.returnPage??"jobs")}function ae($){ie($),Y("simulator-evaluation")}function Z(){Y("simulator")}async function D(){await Fl.clearCredentials(),Y("dashboard"),J(null),ie(null),j(!1)}function W(){S($=>{const P=$==="light"?"dark":"light";return window.localStorage.setItem("theme",P),P})}return d?a.jsx(Ov,{}):i?a.jsx($v,{}):o?a.jsx(i1,{}):c?a.jsx(r1,{}):h?a.jsx(l1,{}):g?a.jsx(t1,{}):M?H==="jobs"?a.jsx(Qv,{onLogout:D,onNavigate:ne,onOpenJobDetail:X,theme:T,onToggleTheme:W}):H==="cv"?a.jsx(jv,{onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):H==="messages"?a.jsx(Wv,{onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):H==="agents"?a.jsx(Fb,{onLogout:D,onNavigate:ne,onOpenJobDetail:X,theme:T,onToggleTheme:W}):H==="ai-agent"?a.jsx(tv,{onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):H==="simulator"?a.jsx(f1,{onLogout:D,onNavigate:ne,onOpenEvaluation:ae,theme:T,onToggleTheme:W}):H==="simulator-evaluation"&&oe?a.jsx(N1,{interviewSelection:oe,onBack:Z,onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):H==="subscription"?a.jsx(z1,{onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):H==="job-detail"&&q?a.jsx(Hv,{jobId:q.id,fromJobnet:q.fromJobnet,onBack:te,onLogout:D,onNavigate:ne,theme:T,onToggleTheme:W}):a.jsx(Tv,{onLogout:D,onNavigate:ne,onOpenJobDetail:X,theme:T,onToggleTheme:W}):a.jsx(Rb,{onAuthenticated:()=>j(!0)})}dx.createRoot(document.getElementById("root")).render(a.jsx(v.StrictMode,{children:a.jsx(D1,{})}));
|