Files
Arbejd.com-react/dist/assets/index-CsUgS6kN.js
2026-03-23 07:49:45 +01:00

12 lines
547 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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 N of g.addedNodes)N.tagName==="LINK"&&N.rel==="modulepreload"&&c(N)}).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 Dc={exports:{}},bn={};var Xh;function ax(){if(Xh)return bn;Xh=1;var d=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(c,h,g){var N=null;if(g!==void 0&&(N=""+g),h.key!==void 0&&(N=""+h.key),"key"in h){g={};for(var H in h)H!=="key"&&(g[H]=h[H])}else g=h;return h=g.ref,{$$typeof:d,type:c,key:N,ref:h!==void 0?h:null,props:g}}return bn.Fragment=i,bn.jsx=o,bn.jsxs=o,bn}var Zh;function lx(){return Zh||(Zh=1,Dc.exports=ax()),Dc.exports}var a=lx(),Tc={exports:{}},ge={};var Fh;function sx(){if(Fh)return ge;Fh=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"),N=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),j=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),V=Symbol.iterator;function q(f){return f===null||typeof f!="object"?null:(f=V&&f[V]||f["@@iterator"],typeof f=="function"?f:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q=Object.assign,me={};function re(f,S,U){this.props=f,this.context=S,this.refs=me,this.updater=U||G}re.prototype.isReactComponent={},re.prototype.setState=function(f,S){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,S,"setState")},re.prototype.forceUpdate=function(f){this.updater.enqueueForceUpdate(this,f,"forceUpdate")};function oe(){}oe.prototype=re.prototype;function X(f,S,U){this.props=f,this.context=S,this.refs=me,this.updater=U||G}var se=X.prototype=new oe;se.constructor=X,Q(se,re.prototype),se.isPureReactComponent=!0;var ne=Array.isArray;function Z(){}var W={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function P(f,S,U){var Y=U.ref;return{$$typeof:d,type:f,key:S,ref:Y!==void 0?Y:null,props:U}}function te(f,S){return P(f.type,S,f.props)}function ue(f){return typeof f=="object"&&f!==null&&f.$$typeof===d}function fe(f){var S={"=":"=0",":":"=2"};return"$"+f.replace(/[=:]/g,function(U){return S[U]})}var Ee=/\/+/g;function we(f,S){return typeof f=="object"&&f!==null&&f.key!=null?fe(""+f.key):S.toString(36)}function ae(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(S){f.status==="pending"&&(f.status="fulfilled",f.value=S)},function(S){f.status==="pending"&&(f.status="rejected",f.reason=S)})),f.status){case"fulfilled":return f.value;case"rejected":throw f.reason}}throw f}function b(f,S,U,Y,ce){var ie=typeof f;(ie==="undefined"||ie==="boolean")&&(f=null);var Se=!1;if(f===null)Se=!0;else switch(ie){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(f.$$typeof){case d:case i:Se=!0;break;case C:return Se=f._init,b(Se(f._payload),S,U,Y,ce)}}if(Se)return ce=ce(f),Se=Y===""?"."+we(f,0):Y,ne(ce)?(U="",Se!=null&&(U=Se.replace(Ee,"$&/")+"/"),b(ce,S,U,"",function(Ea){return Ea})):ce!=null&&(ue(ce)&&(ce=te(ce,U+(ce.key==null||f&&f.key===ce.key?"":(""+ce.key).replace(Ee,"$&/")+"/")+Se)),S.push(ce)),1;Se=0;var at=Y===""?".":Y+":";if(ne(f))for(var Ge=0;Ge<f.length;Ge++)Y=f[Ge],ie=at+we(Y,Ge),Se+=b(Y,S,U,ie,ce);else if(Ge=q(f),typeof Ge=="function")for(f=Ge.call(f),Ge=0;!(Y=f.next()).done;)Y=Y.value,ie=at+we(Y,Ge++),Se+=b(Y,S,U,ie,ce);else if(ie==="object"){if(typeof f.then=="function")return b(ae(f),S,U,Y,ce);throw S=String(f),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.")}return Se}function L(f,S,U){if(f==null)return f;var Y=[],ce=0;return b(f,Y,"","",function(ie){return S.call(U,ie,ce++)}),Y}function y(f){if(f._status===-1){var S=f._result;S=S(),S.then(function(U){(f._status===0||f._status===-1)&&(f._status=1,f._result=U)},function(U){(f._status===0||f._status===-1)&&(f._status=2,f._result=U)}),f._status===-1&&(f._status=0,f._result=S)}if(f._status===1)return f._result.default;throw f._result}var J=typeof reportError=="function"?reportError:function(f){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var S=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(S))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",f);return}console.error(f)},$={map:L,forEach:function(f,S,U){L(f,function(){S.apply(this,arguments)},U)},count:function(f){var S=0;return L(f,function(){S++}),S},toArray:function(f){return L(f,function(S){return S})||[]},only:function(f){if(!ue(f))throw Error("React.Children.only expected to receive a single React element child.");return f}};return ge.Activity=w,ge.Children=$,ge.Component=re,ge.Fragment=o,ge.Profiler=h,ge.PureComponent=X,ge.StrictMode=c,ge.Suspense=E,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,ge.__COMPILER_RUNTIME={__proto__:null,c:function(f){return W.H.useMemoCache(f)}},ge.cache=function(f){return function(){return f.apply(null,arguments)}},ge.cacheSignal=function(){return null},ge.cloneElement=function(f,S,U){if(f==null)throw Error("The argument must be a React element, but you passed "+f+".");var Y=Q({},f.props),ce=f.key;if(S!=null)for(ie in S.key!==void 0&&(ce=""+S.key),S)!F.call(S,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&S.ref===void 0||(Y[ie]=S[ie]);var ie=arguments.length-2;if(ie===1)Y.children=U;else if(1<ie){for(var Se=Array(ie),at=0;at<ie;at++)Se[at]=arguments[at+2];Y.children=Se}return P(f.type,ce,Y)},ge.createContext=function(f){return f={$$typeof:N,_currentValue:f,_currentValue2:f,_threadCount:0,Provider:null,Consumer:null},f.Provider=f,f.Consumer={$$typeof:g,_context:f},f},ge.createElement=function(f,S,U){var Y,ce={},ie=null;if(S!=null)for(Y in S.key!==void 0&&(ie=""+S.key),S)F.call(S,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(ce[Y]=S[Y]);var Se=arguments.length-2;if(Se===1)ce.children=U;else if(1<Se){for(var at=Array(Se),Ge=0;Ge<Se;Ge++)at[Ge]=arguments[Ge+2];ce.children=at}if(f&&f.defaultProps)for(Y in Se=f.defaultProps,Se)ce[Y]===void 0&&(ce[Y]=Se[Y]);return P(f,ie,ce)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(f){return{$$typeof:H,render:f}},ge.isValidElement=ue,ge.lazy=function(f){return{$$typeof:C,_payload:{_status:-1,_result:f},_init:y}},ge.memo=function(f,S){return{$$typeof:j,type:f,compare:S===void 0?null:S}},ge.startTransition=function(f){var S=W.T,U={};W.T=U;try{var Y=f(),ce=W.S;ce!==null&&ce(U,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(Z,J)}catch(ie){J(ie)}finally{S!==null&&U.types!==null&&(S.types=U.types),W.T=S}},ge.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},ge.use=function(f){return W.H.use(f)},ge.useActionState=function(f,S,U){return W.H.useActionState(f,S,U)},ge.useCallback=function(f,S){return W.H.useCallback(f,S)},ge.useContext=function(f){return W.H.useContext(f)},ge.useDebugValue=function(){},ge.useDeferredValue=function(f,S){return W.H.useDeferredValue(f,S)},ge.useEffect=function(f,S){return W.H.useEffect(f,S)},ge.useEffectEvent=function(f){return W.H.useEffectEvent(f)},ge.useId=function(){return W.H.useId()},ge.useImperativeHandle=function(f,S,U){return W.H.useImperativeHandle(f,S,U)},ge.useInsertionEffect=function(f,S){return W.H.useInsertionEffect(f,S)},ge.useLayoutEffect=function(f,S){return W.H.useLayoutEffect(f,S)},ge.useMemo=function(f,S){return W.H.useMemo(f,S)},ge.useOptimistic=function(f,S){return W.H.useOptimistic(f,S)},ge.useReducer=function(f,S,U){return W.H.useReducer(f,S,U)},ge.useRef=function(f){return W.H.useRef(f)},ge.useState=function(f){return W.H.useState(f)},ge.useSyncExternalStore=function(f,S,U){return W.H.useSyncExternalStore(f,S,U)},ge.useTransition=function(){return W.H.useTransition()},ge.version="19.2.4",ge}var $h;function td(){return $h||($h=1,Tc.exports=sx()),Tc.exports}var p=td(),Mc={exports:{}},vn={},Ec={exports:{}},Lc={};var Ih;function nx(){return Ih||(Ih=1,(function(d){function i(b,L){var y=b.length;b.push(L);e:for(;0<y;){var J=y-1>>>1,$=b[J];if(0<h($,L))b[J]=L,b[y]=$,y=J;else break e}}function o(b){return b.length===0?null:b[0]}function c(b){if(b.length===0)return null;var L=b[0],y=b.pop();if(y!==L){b[0]=y;e:for(var J=0,$=b.length,f=$>>>1;J<f;){var S=2*(J+1)-1,U=b[S],Y=S+1,ce=b[Y];if(0>h(U,y))Y<$&&0>h(ce,U)?(b[J]=ce,b[Y]=y,J=Y):(b[J]=U,b[S]=y,J=S);else if(Y<$&&0>h(ce,y))b[J]=ce,b[Y]=y,J=Y;else break e}}return L}function h(b,L){var y=b.sortIndex-L.sortIndex;return y!==0?y:b.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 N=Date,H=N.now();d.unstable_now=function(){return N.now()-H}}var E=[],j=[],C=1,w=null,V=3,q=!1,G=!1,Q=!1,me=!1,re=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function se(b){for(var L=o(j);L!==null;){if(L.callback===null)c(j);else if(L.startTime<=b)c(j),L.sortIndex=L.expirationTime,i(E,L);else break;L=o(j)}}function ne(b){if(Q=!1,se(b),!G)if(o(E)!==null)G=!0,Z||(Z=!0,fe());else{var L=o(j);L!==null&&ae(ne,L.startTime-b)}}var Z=!1,W=-1,F=5,P=-1;function te(){return me?!0:!(d.unstable_now()-P<F)}function ue(){if(me=!1,Z){var b=d.unstable_now();P=b;var L=!0;try{e:{G=!1,Q&&(Q=!1,oe(W),W=-1),q=!0;var y=V;try{t:{for(se(b),w=o(E);w!==null&&!(w.expirationTime>b&&te());){var J=w.callback;if(typeof J=="function"){w.callback=null,V=w.priorityLevel;var $=J(w.expirationTime<=b);if(b=d.unstable_now(),typeof $=="function"){w.callback=$,se(b),L=!0;break t}w===o(E)&&c(E),se(b)}else c(E);w=o(E)}if(w!==null)L=!0;else{var f=o(j);f!==null&&ae(ne,f.startTime-b),L=!1}}break e}finally{w=null,V=y,q=!1}L=void 0}}finally{L?fe():Z=!1}}}var fe;if(typeof X=="function")fe=function(){X(ue)};else if(typeof MessageChannel<"u"){var Ee=new MessageChannel,we=Ee.port2;Ee.port1.onmessage=ue,fe=function(){we.postMessage(null)}}else fe=function(){re(ue,0)};function ae(b,L){W=re(function(){b(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(b){b.callback=null},d.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<b?Math.floor(1e3/b):5},d.unstable_getCurrentPriorityLevel=function(){return V},d.unstable_next=function(b){switch(V){case 1:case 2:case 3:var L=3;break;default:L=V}var y=V;V=L;try{return b()}finally{V=y}},d.unstable_requestPaint=function(){me=!0},d.unstable_runWithPriority=function(b,L){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var y=V;V=b;try{return L()}finally{V=y}},d.unstable_scheduleCallback=function(b,L,y){var J=d.unstable_now();switch(typeof y=="object"&&y!==null?(y=y.delay,y=typeof y=="number"&&0<y?J+y:J):y=J,b){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=y+$,b={id:C++,callback:L,priorityLevel:b,startTime:y,expirationTime:$,sortIndex:-1},y>J?(b.sortIndex=y,i(j,b),o(E)===null&&b===o(j)&&(Q?(oe(W),W=-1):Q=!0,ae(ne,y-J))):(b.sortIndex=$,i(E,b),G||q||(G=!0,Z||(Z=!0,fe()))),b},d.unstable_shouldYield=te,d.unstable_wrapCallback=function(b){var L=V;return function(){var y=V;V=L;try{return b.apply(this,arguments)}finally{V=y}}}})(Lc)),Lc}var Ph;function ix(){return Ph||(Ph=1,Ec.exports=nx()),Ec.exports}var Oc={exports:{}},ht={};var ef;function rx(){if(ef)return ht;ef=1;var d=td();function i(E){var j="https://react.dev/errors/"+E;if(1<arguments.length){j+="?args[]="+encodeURIComponent(arguments[1]);for(var C=2;C<arguments.length;C++)j+="&args[]="+encodeURIComponent(arguments[C])}return"Minified React error #"+E+"; 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(E,j,C){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:w==null?null:""+w,children:E,containerInfo:j,implementation:C}}var N=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function H(E,j){if(E==="font")return"";if(typeof j=="string")return j==="use-credentials"?j:""}return ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,ht.createPortal=function(E,j){var C=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(E,j,null,C)},ht.flushSync=function(E){var j=N.T,C=c.p;try{if(N.T=null,c.p=2,E)return E()}finally{N.T=j,c.p=C,c.d.f()}},ht.preconnect=function(E,j){typeof E=="string"&&(j?(j=j.crossOrigin,j=typeof j=="string"?j==="use-credentials"?j:"":void 0):j=null,c.d.C(E,j))},ht.prefetchDNS=function(E){typeof E=="string"&&c.d.D(E)},ht.preinit=function(E,j){if(typeof E=="string"&&j&&typeof j.as=="string"){var C=j.as,w=H(C,j.crossOrigin),V=typeof j.integrity=="string"?j.integrity:void 0,q=typeof j.fetchPriority=="string"?j.fetchPriority:void 0;C==="style"?c.d.S(E,typeof j.precedence=="string"?j.precedence:void 0,{crossOrigin:w,integrity:V,fetchPriority:q}):C==="script"&&c.d.X(E,{crossOrigin:w,integrity:V,fetchPriority:q,nonce:typeof j.nonce=="string"?j.nonce:void 0})}},ht.preinitModule=function(E,j){if(typeof E=="string")if(typeof j=="object"&&j!==null){if(j.as==null||j.as==="script"){var C=H(j.as,j.crossOrigin);c.d.M(E,{crossOrigin:C,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0})}}else j==null&&c.d.M(E)},ht.preload=function(E,j){if(typeof E=="string"&&typeof j=="object"&&j!==null&&typeof j.as=="string"){var C=j.as,w=H(C,j.crossOrigin);c.d.L(E,C,{crossOrigin:w,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})}},ht.preloadModule=function(E,j){if(typeof E=="string")if(j){var C=H(j.as,j.crossOrigin);c.d.m(E,{as:typeof j.as=="string"&&j.as!=="script"?j.as:void 0,crossOrigin:C,integrity:typeof j.integrity=="string"?j.integrity:void 0})}else c.d.m(E)},ht.requestFormReset=function(E){c.d.r(E)},ht.unstable_batchedUpdates=function(E,j){return E(j)},ht.useFormState=function(E,j,C){return N.H.useFormState(E,j,C)},ht.useFormStatus=function(){return N.H.useHostTransitionStatus()},ht.version="19.2.4",ht}var tf;function ox(){if(tf)return Oc.exports;tf=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(),Oc.exports=rx(),Oc.exports}var af;function cx(){if(af)return vn;af=1;var d=ix(),i=td(),o=ox();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 N(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 H(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 E(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 E(n),e;if(r===s)return E(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 C(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=C(e),t!==null)return t;e=e.sibling}return null}var w=Object.assign,V=Symbol.for("react.element"),q=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),X=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),ue=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var Ee=Symbol.for("react.client.reference");function we(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ee?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Q:return"Fragment";case re:return"Profiler";case me:return"StrictMode";case ne:return"Suspense";case Z:return"SuspenseList";case P:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case X:return e.displayName||"Context";case oe:return(e._context.displayName||"Context")+".Consumer";case se:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:we(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}var ae=Array.isArray,b=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,y={pending:!1,data:null,method:null,action:null},J=[],$=-1;function f(e){return{current:e}}function S(e){0>$||(e.current=J[$],J[$]=null,$--)}function U(e,t){$++,J[$]=e.current,e.current=t}var Y=f(null),ce=f(null),ie=f(null),Se=f(null);function at(e,t){switch(U(ie,t),U(ce,e),U(Y,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ph(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=ph(t),e=bh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}S(Y),U(Y,e)}function Ge(){S(Y),S(ce),S(ie)}function Ea(e){e.memoizedState!==null&&U(Se,e);var t=Y.current,l=bh(t,e.type);t!==l&&(U(ce,e),U(Y,l))}function La(e){ce.current===e&&(S(Y),S(ce)),Se.current===e&&(S(Se),fn._currentValue=y)}var rl,ea;function Zt(e){if(rl===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);rl=t&&t[1]||"",ea=-1<l.stack.indexOf(`
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+rl+e+ea}var Lt=!1;function ua(e,t){if(!e||Lt)return"";Lt=!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(T){var D=T}Reflect.construct(e,[],B)}else{try{B.call()}catch(T){D=T}e.call(B.prototype)}}else{try{throw Error()}catch(T){D=T}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(T){if(T&&D&&typeof T.stack=="string")return[T.stack,D.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(`
`),z=m.split(`
`);for(n=s=0;s<x.length&&!x[s].includes("DetermineComponentFrameRoot");)s++;for(;n<z.length&&!z[n].includes("DetermineComponentFrameRoot");)n++;if(s===x.length||n===z.length)for(s=x.length-1,n=z.length-1;1<=s&&0<=n&&x[s]!==z[n];)n--;for(;1<=s&&0<=n;s--,n--)if(x[s]!==z[n]){if(s!==1||n!==1)do if(s--,n--,0>n||x[s]!==z[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{Lt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Zt(l):""}function pr(e,t){switch(e.tag){case 26:case 27:case 5:return Zt(e.type);case 16:return Zt("Lazy");case 13:return e.child!==t&&t!==null?Zt("Suspense Fallback"):Zt("Suspense");case 19:return Zt("SuspenseList");case 0:case 15:return ua(e.type,!1);case 11:return ua(e.type.render,!1);case 1:return ua(e.type,!0);case 31:return Zt("Activity");default:return""}}function Ns(e){try{var t="",l=null;do t+=pr(e,l),l=e,e=e.return;while(e);return t}catch(s){return`
Error generating stack: `+s.message+`
`+s.stack}}var Ul=Object.prototype.hasOwnProperty,Rl=d.unstable_scheduleCallback,ws=d.unstable_cancelCallback,Ln=d.unstable_shouldYield,ol=d.unstable_requestPaint,ft=d.unstable_now,On=d.unstable_getCurrentPriorityLevel,Un=d.unstable_ImmediatePriority,Ss=d.unstable_UserBlockingPriority,Vl=d.unstable_NormalPriority,Rn=d.unstable_LowPriority,Vn=d.unstable_IdlePriority,Bn=d.log,br=d.unstable_setDisableYieldValue,Ve=null,lt=null;function Ot(e){if(typeof Bn=="function"&&br(e),lt&&typeof lt.setStrictMode=="function")try{lt.setStrictMode(Ve,e)}catch{}}var gt=Math.clz32?Math.clz32:Hn,vr=Math.log,cl=Math.LN2;function Hn(e){return e>>>=0,e===0?32:31-(vr(e)/cl|0)|0}var dl=256,ul=262144,ml=4194304;function Ft(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 hl(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=Ft(s):(u&=m,u!==0?n=Ft(u):l||(l=m&~e,l!==0&&(n=Ft(l))))):(m=s&~r,m!==0?n=Ft(m):u!==0?n=Ft(u):l||(l=s&~e,l!==0&&(n=Ft(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 fl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function jr(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 _s(){var e=ml;return ml<<=1,(ml&62914560)===0&&(ml=4194304),e}function As(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function ta(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ma(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,z=e.hiddenUpdates;for(l=u&~l;0<l;){var O=31-gt(l),B=1<<O;m[O]=0,x[O]=-1;var D=z[O];if(D!==null)for(z[O]=null,O=0;O<D.length;O++){var T=D[O];T!==null&&(T.lane&=-536870913)}l&=~B}s!==0&&qn(e,s,0),r!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=r&~(u&~t))}function qn(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-gt(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|l&261930}function Gn(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var s=31-gt(l),n=1<<s;n&t|e[s]&t&&(e[s]|=t),l&=~n}}function Jn(e,t){var l=t&-t;return l=(l&42)!==0?1:St(l),(l&(e.suspendedLanes|t))!==0?0:l}function St(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 zs(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Yn(){var e=L.p;return e!==0?e:(e=window.event,e===void 0?32:qh(e.type))}function yr(e,t){var l=L.p;try{return L.p=e,t()}finally{L.p=l}}var Ut=Math.random().toString(36).slice(2),Pe="__reactFiber$"+Ut,mt="__reactProps$"+Ut,Oa="__reactContainer$"+Ut,Cs="__reactEvents$"+Ut,A="__reactListeners$"+Ut,De="__reactHandles$"+Ut,st="__reactResources$"+Ut,ha="__reactMarker$"+Ut;function gl(e){delete e[Pe],delete e[mt],delete e[Cs],delete e[A],delete e[De]}function aa(e){var t=e[Pe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Oa]||l[Pe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Sh(e);e!==null;){if(l=e[Pe])return l;e=Sh(e)}return t}e=l,l=e.parentNode}return null}function la(e){if(e=e[Pe]||e[Oa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function fa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Bl(e){var t=e[st];return t||(t=e[st]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function nt(e){e[ha]=!0}var nd=new Set,id={};function xl(e,t){Hl(e,t),Hl(e+"Capture",t)}function Hl(e,t){for(id[e]=t,e=0;e<t.length;e++)nd.add(t[e])}var Kf=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]*$"),rd={},od={};function Xf(e){return Ul.call(od,e)?!0:Ul.call(rd,e)?!1:Kf.test(e)?od[e]=!0:(rd[e]=!0,!1)}function Qn(e,t,l){if(Xf(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 Wn(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 ga(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 Rt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cd(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 kr(e){if(!e._valueTracker){var t=cd(e)?"checked":"value";e._valueTracker=Zf(e,t,""+e[t])}}function dd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),s="";return e&&(s=cd(e)?e.checked?"true":"false":e.value),e=s,e!==l?(t.setValue(e),!0):!1}function Kn(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 Ff=/[\n"\\]/g;function Vt(e){return e.replace(Ff,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Nr(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=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?wr(e,u,Rt(t)):l!=null?wr(e,u,Rt(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=""+Rt(m):e.removeAttribute("name")}function ud(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)){kr(e);return}l=l!=null?""+Rt(l):"",t=t!=null?""+Rt(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),kr(e)}function wr(e,t,l){t==="number"&&Kn(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ql(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=""+Rt(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 md(e,t,l){if(t!=null&&(t=""+Rt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Rt(l):""}function hd(e,t,l,s){if(t==null){if(s!=null){if(l!=null)throw Error(c(92));if(ae(s)){if(1<s.length)throw Error(c(93));s=s[0]}l=s}l==null&&(l=""),t=l}l=Rt(t),e.defaultValue=l,s=e.textContent,s===l&&s!==""&&s!==null&&(e.value=s),kr(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 $f=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 fd(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||$f.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function gd(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&&fd(e,n,s)}else for(var r in t)t.hasOwnProperty(r)&&fd(e,r,t[r])}function Sr(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 If=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"]]),Pf=/^[\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 Xn(e){return Pf.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function xa(){}var _r=null;function Ar(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jl=null,Yl=null;function xd(e){var t=la(e);if(t&&(e=t.stateNode)){var l=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Nr(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="'+Vt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var s=l[t];if(s!==e&&s.form===e.form){var n=s[mt]||null;if(!n)throw Error(c(90));Nr(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&&dd(s)}break e;case"textarea":md(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&ql(e,!!l.multiple,t,!1)}}}var zr=!1;function pd(e,t,l){if(zr)return e(t,l);zr=!0;try{var s=e(t);return s}finally{if(zr=!1,(Jl!==null||Yl!==null)&&(Oi(),Jl&&(t=Jl,e=Yl,Yl=Jl=null,xd(t),e)))for(t=0;t<e.length;t++)xd(e[t])}}function Ds(e,t){var l=e.stateNode;if(l===null)return null;var s=l[mt]||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 pa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Cr=!1;if(pa)try{var Ts={};Object.defineProperty(Ts,"passive",{get:function(){Cr=!0}}),window.addEventListener("test",Ts,Ts),window.removeEventListener("test",Ts,Ts)}catch{Cr=!1}var Ua=null,Dr=null,Zn=null;function bd(){if(Zn)return Zn;var e,t=Dr,l=t.length,s,n="value"in Ua?Ua.value:Ua.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 Zn=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 $n(){return!0}function vd(){return!1}function pt(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)?$n:vd,this.isPropagationStopped=vd,this}return w(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=$n)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){},isPersistent:$n}),t}var pl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},In=pt(pl),Ms=w({},pl,{view:0,detail:0}),e0=pt(Ms),Tr,Mr,Es,Pn=w({},Ms,{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!==Es&&(Es&&e.type==="mousemove"?(Tr=e.screenX-Es.screenX,Mr=e.screenY-Es.screenY):Mr=Tr=0,Es=e),Tr)},movementY:function(e){return"movementY"in e?e.movementY:Mr}}),jd=pt(Pn),t0=w({},Pn,{dataTransfer:0}),a0=pt(t0),l0=w({},Ms,{relatedTarget:0}),Er=pt(l0),s0=w({},pl,{animationName:0,elapsedTime:0,pseudoElement:0}),n0=pt(s0),i0=w({},pl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),r0=pt(i0),o0=w({},pl,{data:0}),yd=pt(o0),c0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},d0={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"},u0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function m0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=u0[e])?!!t[e]:!1}function Lr(){return m0}var h0=w({},Ms,{key:function(e){if(e.key){var t=c0[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"?d0[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}}),f0=pt(h0),g0=w({},Pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kd=pt(g0),x0=w({},Ms,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lr}),p0=pt(x0),b0=w({},pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),v0=pt(b0),j0=w({},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=pt(j0),k0=w({},pl,{newState:0,oldState:0}),N0=pt(k0),w0=[9,13,27,32],Or=pa&&"CompositionEvent"in window,Ls=null;pa&&"documentMode"in document&&(Ls=document.documentMode);var S0=pa&&"TextEvent"in window&&!Ls,Nd=pa&&(!Or||Ls&&8<Ls&&11>=Ls),wd=" ",Sd=!1;function _d(e,t){switch(e){case"keyup":return w0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ql=!1;function _0(e,t){switch(e){case"compositionend":return Ad(t);case"keypress":return t.which!==32?null:(Sd=!0,wd);case"textInput":return e=t.data,e===wd&&Sd?null:e;default:return null}}function A0(e,t){if(Ql)return e==="compositionend"||!Or&&_d(e,t)?(e=bd(),Zn=Dr=Ua=null,Ql=!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 z0={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 zd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!z0[e.type]:t==="textarea"}function Cd(e,t,l,s){Jl?Yl?Yl.push(s):Yl=[s]:Jl=s,t=Gi(t,"onChange"),0<t.length&&(l=new In("onChange","change",null,l,s),e.push({event:l,listeners:t}))}var Os=null,Us=null;function C0(e){uh(e,0)}function ei(e){var t=fa(e);if(dd(t))return e}function Dd(e,t){if(e==="change")return t}var Td=!1;if(pa){var Ur;if(pa){var Rr="oninput"in document;if(!Rr){var Md=document.createElement("div");Md.setAttribute("oninput","return;"),Rr=typeof Md.oninput=="function"}Ur=Rr}else Ur=!1;Td=Ur&&(!document.documentMode||9<document.documentMode)}function Ed(){Os&&(Os.detachEvent("onpropertychange",Ld),Us=Os=null)}function Ld(e){if(e.propertyName==="value"&&ei(Us)){var t=[];Cd(t,Us,e,Ar(e)),pd(C0,t)}}function D0(e,t,l){e==="focusin"?(Ed(),Os=t,Us=l,Os.attachEvent("onpropertychange",Ld)):e==="focusout"&&Ed()}function T0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ei(Us)}function M0(e,t){if(e==="click")return ei(t)}function E0(e,t){if(e==="input"||e==="change")return ei(t)}function L0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:L0;function Rs(e,t){if(_t(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(!Ul.call(t,n)||!_t(e[n],t[n]))return!1}return!0}function Od(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ud(e,t){var l=Od(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=Od(l)}}function Rd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kn(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=Kn(e.document)}return t}function Vr(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 O0=pa&&"documentMode"in document&&11>=document.documentMode,Wl=null,Br=null,Vs=null,Hr=!1;function Bd(e,t,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Hr||Wl==null||Wl!==Kn(s)||(s=Wl,"selectionStart"in s&&Vr(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}),Vs&&Rs(Vs,s)||(Vs=s,s=Gi(Br,"onSelect"),0<s.length&&(t=new In("onSelect","select",null,t,l),e.push({event:t,listeners:s}),t.target=Wl)))}function bl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Kl={animationend:bl("Animation","AnimationEnd"),animationiteration:bl("Animation","AnimationIteration"),animationstart:bl("Animation","AnimationStart"),transitionrun:bl("Transition","TransitionRun"),transitionstart:bl("Transition","TransitionStart"),transitioncancel:bl("Transition","TransitionCancel"),transitionend:bl("Transition","TransitionEnd")},qr={},Hd={};pa&&(Hd=document.createElement("div").style,"AnimationEvent"in window||(delete Kl.animationend.animation,delete Kl.animationiteration.animation,delete Kl.animationstart.animation),"TransitionEvent"in window||delete Kl.transitionend.transition);function vl(e){if(qr[e])return qr[e];if(!Kl[e])return e;var t=Kl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Hd)return qr[e]=t[l];return e}var qd=vl("animationend"),Gd=vl("animationiteration"),Jd=vl("animationstart"),U0=vl("transitionrun"),R0=vl("transitionstart"),V0=vl("transitioncancel"),Yd=vl("transitionend"),Qd=new Map,Gr="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(" ");Gr.push("scrollEnd");function $t(e,t){Qd.set(e,t),xl(t,[e])}var ti=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)},Bt=[],Xl=0,Jr=0;function ai(){for(var e=Xl,t=Jr=Xl=0;t<e;){var l=Bt[t];Bt[t++]=null;var s=Bt[t];Bt[t++]=null;var n=Bt[t];Bt[t++]=null;var r=Bt[t];if(Bt[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&&Wd(l,n,r)}}function li(e,t,l,s){Bt[Xl++]=e,Bt[Xl++]=t,Bt[Xl++]=l,Bt[Xl++]=s,Jr|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Yr(e,t,l,s){return li(e,t,l,s),si(e)}function jl(e,t){return li(e,null,null,t),si(e)}function Wd(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-gt(l),e=r.hiddenUpdates,s=e[n],s===null?e[n]=[t]:s.push(t),t.lane=l|536870912),r):null}function si(e){if(50<rn)throw rn=0,ec=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zl={};function B0(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 At(e,t,l,s){return new B0(e,t,l,s)}function Qr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ba(e,t){var l=e.alternate;return l===null?(l=At(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 Kd(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 ni(e,t,l,s,n,r){var u=0;if(s=e,typeof e=="function")Qr(e)&&(u=1);else if(typeof e=="string")u=Yg(e,l,Y.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case P:return e=At(31,l,t,n),e.elementType=P,e.lanes=r,e;case Q:return yl(l.children,n,r,t);case me:u=8,n|=24;break;case re:return e=At(12,l,t,n|2),e.elementType=re,e.lanes=r,e;case ne:return e=At(13,l,t,n),e.elementType=ne,e.lanes=r,e;case Z:return e=At(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 oe:u=9;break e;case se:u=11;break e;case W:u=14;break e;case F:u=16,s=null;break e}u=29,l=Error(c(130,e===null?"null":typeof e,"")),s=null}return t=At(u,l,t,n),t.elementType=e,t.type=s,t.lanes=r,t}function yl(e,t,l,s){return e=At(7,e,s,t),e.lanes=l,e}function Wr(e,t,l){return e=At(6,e,null,t),e.lanes=l,e}function Xd(e){var t=At(18,null,null,0);return t.stateNode=e,t}function Kr(e,t,l){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Zd=new WeakMap;function Ht(e,t){if(typeof e=="object"&&e!==null){var l=Zd.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ns(t)},Zd.set(e,t),t)}return{value:e,source:t,stack:Ns(t)}}var Fl=[],$l=0,ii=null,Bs=0,qt=[],Gt=0,Ra=null,sa=1,na="";function va(e,t){Fl[$l++]=Bs,Fl[$l++]=ii,ii=e,Bs=t}function Fd(e,t,l){qt[Gt++]=sa,qt[Gt++]=na,qt[Gt++]=Ra,Ra=e;var s=sa;e=na;var n=32-gt(s)-1;s&=~(1<<n),l+=1;var r=32-gt(t)+n;if(30<r){var u=n-n%5;r=(s&(1<<u)-1).toString(32),s>>=u,n-=u,sa=1<<32-gt(t)+n|l<<n|s,na=r+e}else sa=1<<r|l<<n|s,na=e}function Xr(e){e.return!==null&&(va(e,1),Fd(e,1,0))}function Zr(e){for(;e===ii;)ii=Fl[--$l],Fl[$l]=null,Bs=Fl[--$l],Fl[$l]=null;for(;e===Ra;)Ra=qt[--Gt],qt[Gt]=null,na=qt[--Gt],qt[Gt]=null,sa=qt[--Gt],qt[Gt]=null}function $d(e,t){qt[Gt++]=sa,qt[Gt++]=na,qt[Gt++]=Ra,sa=t.id,na=t.overflow,Ra=e}var ot=null,Be=null,Ne=!1,Va=null,Jt=!1,Fr=Error(c(519));function Ba(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Hs(Ht(t,e)),Fr}function Id(e){var t=e.stateNode,l=e.type,s=e.memoizedProps;switch(t[Pe]=e,t[mt]=s,l){case"dialog":je("cancel",t),je("close",t);break;case"iframe":case"object":case"embed":je("load",t);break;case"video":case"audio":for(l=0;l<cn.length;l++)je(cn[l],t);break;case"source":je("error",t);break;case"img":case"image":case"link":je("error",t),je("load",t);break;case"details":je("toggle",t);break;case"input":je("invalid",t),ud(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":je("invalid",t);break;case"textarea":je("invalid",t),hd(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||gh(t.textContent,l)?(s.popover!=null&&(je("beforetoggle",t),je("toggle",t)),s.onScroll!=null&&je("scroll",t),s.onScrollEnd!=null&&je("scrollend",t),s.onClick!=null&&(t.onclick=xa),t=!0):t=!1,t||Ba(e,!0)}function Pd(e){for(ot=e.return;ot;)switch(ot.tag){case 5:case 31:case 13:Jt=!1;return;case 27:case 3:Jt=!0;return;default:ot=ot.return}}function Il(e){if(e!==ot)return!1;if(!Ne)return Pd(e),Ne=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||gc(e.type,e.memoizedProps)),l=!l),l&&Be&&Ba(e),Pd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Be=wh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Be=wh(e)}else t===27?(t=Be,Pa(e.type)?(e=jc,jc=null,Be=e):Be=t):Be=ot?Qt(e.stateNode.nextSibling):null;return!0}function kl(){Be=ot=null,Ne=!1}function $r(){var e=Va;return e!==null&&(yt===null?yt=e:yt.push.apply(yt,e),Va=null),e}function Hs(e){Va===null?Va=[e]:Va.push(e)}var Ir=f(null),Nl=null,ja=null;function Ha(e,t,l){U(Ir,t._currentValue),t._currentValue=l}function ya(e){e._currentValue=Ir.current,S(Ir)}function Pr(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 eo(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),Pr(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),Pr(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 Pl(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;_t(n.pendingProps.value,u.value)||(e!==null?e.push(m):e=[m])}}else if(n===Se.current){if(u=n.alternate,u===null)throw Error(c(387));u.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(fn):e=[fn])}n=n.return}e!==null&&eo(t,e,l,s),t.flags|=262144}function ri(e){for(e=e.firstContext;e!==null;){if(!_t(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function wl(e){Nl=e,ja=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return eu(Nl,e)}function oi(e,t){return Nl===null&&wl(e),eu(e,t)}function eu(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},ja===null){if(e===null)throw Error(c(308));ja=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ja=ja.next=t;return l}var H0=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()})}},q0=d.unstable_scheduleCallback,G0=d.unstable_NormalPriority,Xe={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function to(){return{controller:new H0,data:new Map,refCount:0}}function qs(e){e.refCount--,e.refCount===0&&q0(G0,function(){e.controller.abort()})}var Gs=null,ao=0,es=0,ts=null;function J0(e,t){if(Gs===null){var l=Gs=[];ao=0,es=ic(),ts={status:"pending",value:void 0,then:function(s){l.push(s)}}}return ao++,t.then(tu,tu),t}function tu(){if(--ao===0&&Gs!==null){ts!==null&&(ts.status="fulfilled");var e=Gs;Gs=null,es=0,ts=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Y0(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 au=b.S;b.S=function(e,t){Bm=ft(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&J0(e,t),au!==null&&au(e,t)};var Sl=f(null);function lo(){var e=Sl.current;return e!==null?e:Re.pooledCache}function ci(e,t){t===null?U(Sl,Sl.current):U(Sl,t.pool)}function lu(){var e=lo();return e===null?null:{parent:Xe._currentValue,pool:e}}var as=Error(c(460)),so=Error(c(474)),di=Error(c(542)),ui={then:function(){}};function su(e){return e=e.status,e==="fulfilled"||e==="rejected"}function nu(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(xa,xa),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ru(e),e;default:if(typeof t.status=="string")t.then(xa,xa);else{if(e=Re,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,ru(e),e}throw Al=t,as}}function _l(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Al=l,as):l}}var Al=null;function iu(){if(Al===null)throw Error(c(459));var e=Al;return Al=null,e}function ru(e){if(e===as||e===di)throw Error(c(483))}var ls=null,Js=0;function mi(e){var t=Js;return Js+=1,ls===null&&(ls=[]),nu(ls,e,t)}function Ys(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function hi(e,t){throw t.$$typeof===V?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ou(e){function t(k,v){if(e){var _=k.deletions;_===null?(k.deletions=[v],k.flags|=16):_.push(v)}}function l(k,v){if(!e)return null;for(;v!==null;)t(k,v),v=v.sibling;return null}function s(k){for(var v=new Map;k!==null;)k.key!==null?v.set(k.key,k):v.set(k.index,k),k=k.sibling;return v}function n(k,v){return k=ba(k,v),k.index=0,k.sibling=null,k}function r(k,v,_){return k.index=_,e?(_=k.alternate,_!==null?(_=_.index,_<v?(k.flags|=67108866,v):_):(k.flags|=67108866,v)):(k.flags|=1048576,v)}function u(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function m(k,v,_,R){return v===null||v.tag!==6?(v=Wr(_,k.mode,R),v.return=k,v):(v=n(v,_),v.return=k,v)}function x(k,v,_,R){var le=_.type;return le===Q?O(k,v,_.props.children,R,_.key):v!==null&&(v.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===F&&_l(le)===v.type)?(v=n(v,_.props),Ys(v,_),v.return=k,v):(v=ni(_.type,_.key,_.props,null,k.mode,R),Ys(v,_),v.return=k,v)}function z(k,v,_,R){return v===null||v.tag!==4||v.stateNode.containerInfo!==_.containerInfo||v.stateNode.implementation!==_.implementation?(v=Kr(_,k.mode,R),v.return=k,v):(v=n(v,_.children||[]),v.return=k,v)}function O(k,v,_,R,le){return v===null||v.tag!==7?(v=yl(_,k.mode,R,le),v.return=k,v):(v=n(v,_),v.return=k,v)}function B(k,v,_){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Wr(""+v,k.mode,_),v.return=k,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case q:return _=ni(v.type,v.key,v.props,null,k.mode,_),Ys(_,v),_.return=k,_;case G:return v=Kr(v,k.mode,_),v.return=k,v;case F:return v=_l(v),B(k,v,_)}if(ae(v)||fe(v))return v=yl(v,k.mode,_,null),v.return=k,v;if(typeof v.then=="function")return B(k,mi(v),_);if(v.$$typeof===X)return B(k,oi(k,v),_);hi(k,v)}return null}function D(k,v,_,R){var le=v!==null?v.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return le!==null?null:m(k,v,""+_,R);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case q:return _.key===le?x(k,v,_,R):null;case G:return _.key===le?z(k,v,_,R):null;case F:return _=_l(_),D(k,v,_,R)}if(ae(_)||fe(_))return le!==null?null:O(k,v,_,R,null);if(typeof _.then=="function")return D(k,v,mi(_),R);if(_.$$typeof===X)return D(k,v,oi(k,_),R);hi(k,_)}return null}function T(k,v,_,R,le){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return k=k.get(_)||null,m(v,k,""+R,le);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case q:return k=k.get(R.key===null?_:R.key)||null,x(v,k,R,le);case G:return k=k.get(R.key===null?_:R.key)||null,z(v,k,R,le);case F:return R=_l(R),T(k,v,_,R,le)}if(ae(R)||fe(R))return k=k.get(_)||null,O(v,k,R,le,null);if(typeof R.then=="function")return T(k,v,_,mi(R),le);if(R.$$typeof===X)return T(k,v,_,oi(v,R),le);hi(v,R)}return null}function I(k,v,_,R){for(var le=null,_e=null,ee=v,be=v=0,ke=null;ee!==null&&be<_.length;be++){ee.index>be?(ke=ee,ee=null):ke=ee.sibling;var Ae=D(k,ee,_[be],R);if(Ae===null){ee===null&&(ee=ke);break}e&&ee&&Ae.alternate===null&&t(k,ee),v=r(Ae,v,be),_e===null?le=Ae:_e.sibling=Ae,_e=Ae,ee=ke}if(be===_.length)return l(k,ee),Ne&&va(k,be),le;if(ee===null){for(;be<_.length;be++)ee=B(k,_[be],R),ee!==null&&(v=r(ee,v,be),_e===null?le=ee:_e.sibling=ee,_e=ee);return Ne&&va(k,be),le}for(ee=s(ee);be<_.length;be++)ke=T(ee,k,be,_[be],R),ke!==null&&(e&&ke.alternate!==null&&ee.delete(ke.key===null?be:ke.key),v=r(ke,v,be),_e===null?le=ke:_e.sibling=ke,_e=ke);return e&&ee.forEach(function(sl){return t(k,sl)}),Ne&&va(k,be),le}function de(k,v,_,R){if(_==null)throw Error(c(151));for(var le=null,_e=null,ee=v,be=v=0,ke=null,Ae=_.next();ee!==null&&!Ae.done;be++,Ae=_.next()){ee.index>be?(ke=ee,ee=null):ke=ee.sibling;var sl=D(k,ee,Ae.value,R);if(sl===null){ee===null&&(ee=ke);break}e&&ee&&sl.alternate===null&&t(k,ee),v=r(sl,v,be),_e===null?le=sl:_e.sibling=sl,_e=sl,ee=ke}if(Ae.done)return l(k,ee),Ne&&va(k,be),le;if(ee===null){for(;!Ae.done;be++,Ae=_.next())Ae=B(k,Ae.value,R),Ae!==null&&(v=r(Ae,v,be),_e===null?le=Ae:_e.sibling=Ae,_e=Ae);return Ne&&va(k,be),le}for(ee=s(ee);!Ae.done;be++,Ae=_.next())Ae=T(ee,k,be,Ae.value,R),Ae!==null&&(e&&Ae.alternate!==null&&ee.delete(Ae.key===null?be:Ae.key),v=r(Ae,v,be),_e===null?le=Ae:_e.sibling=Ae,_e=Ae);return e&&ee.forEach(function(tx){return t(k,tx)}),Ne&&va(k,be),le}function Ue(k,v,_,R){if(typeof _=="object"&&_!==null&&_.type===Q&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case q:e:{for(var le=_.key;v!==null;){if(v.key===le){if(le=_.type,le===Q){if(v.tag===7){l(k,v.sibling),R=n(v,_.props.children),R.return=k,k=R;break e}}else if(v.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===F&&_l(le)===v.type){l(k,v.sibling),R=n(v,_.props),Ys(R,_),R.return=k,k=R;break e}l(k,v);break}else t(k,v);v=v.sibling}_.type===Q?(R=yl(_.props.children,k.mode,R,_.key),R.return=k,k=R):(R=ni(_.type,_.key,_.props,null,k.mode,R),Ys(R,_),R.return=k,k=R)}return u(k);case G:e:{for(le=_.key;v!==null;){if(v.key===le)if(v.tag===4&&v.stateNode.containerInfo===_.containerInfo&&v.stateNode.implementation===_.implementation){l(k,v.sibling),R=n(v,_.children||[]),R.return=k,k=R;break e}else{l(k,v);break}else t(k,v);v=v.sibling}R=Kr(_,k.mode,R),R.return=k,k=R}return u(k);case F:return _=_l(_),Ue(k,v,_,R)}if(ae(_))return I(k,v,_,R);if(fe(_)){if(le=fe(_),typeof le!="function")throw Error(c(150));return _=le.call(_),de(k,v,_,R)}if(typeof _.then=="function")return Ue(k,v,mi(_),R);if(_.$$typeof===X)return Ue(k,v,oi(k,_),R);hi(k,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,v!==null&&v.tag===6?(l(k,v.sibling),R=n(v,_),R.return=k,k=R):(l(k,v),R=Wr(_,k.mode,R),R.return=k,k=R),u(k)):l(k,v)}return function(k,v,_,R){try{Js=0;var le=Ue(k,v,_,R);return ls=null,le}catch(ee){if(ee===as||ee===di)throw ee;var _e=At(29,ee,null,k.mode);return _e.lanes=R,_e.return=k,_e}}}var zl=ou(!0),cu=ou(!1),qa=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function io(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 Ga(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ja(e,t,l){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ce&2)!==0){var n=s.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),s.pending=t,t=si(e),Wd(e,null,l),t}return li(e,s,t,l),si(e)}function Qs(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,Gn(e,l)}}function ro(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 oo=!1;function Ws(){if(oo){var e=ts;if(e!==null)throw e}}function Ks(e,t,l,s){oo=!1;var n=e.updateQueue;qa=!1;var r=n.firstBaseUpdate,u=n.lastBaseUpdate,m=n.shared.pending;if(m!==null){n.shared.pending=null;var x=m,z=x.next;x.next=null,u===null?r=z:u.next=z,u=x;var O=e.alternate;O!==null&&(O=O.updateQueue,m=O.lastBaseUpdate,m!==u&&(m===null?O.firstBaseUpdate=z:m.next=z,O.lastBaseUpdate=x))}if(r!==null){var B=n.baseState;u=0,O=z=x=null,m=r;do{var D=m.lane&-536870913,T=D!==m.lane;if(T?(ye&D)===D:(s&D)===D){D!==0&&D===es&&(oo=!0),O!==null&&(O=O.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var I=e,de=m;D=t;var Ue=l;switch(de.tag){case 1:if(I=de.payload,typeof I=="function"){B=I.call(Ue,B,D);break e}B=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=de.payload,D=typeof I=="function"?I.call(Ue,B,D):I,D==null)break e;B=w({},B,D);break e;case 2:qa=!0}}D=m.callback,D!==null&&(e.flags|=64,T&&(e.flags|=8192),T=n.callbacks,T===null?n.callbacks=[D]:T.push(D))}else T={lane:D,tag:m.tag,payload:m.payload,callback:m.callback,next:null},O===null?(z=O=T,x=B):O=O.next=T,u|=D;if(m=m.next,m===null){if(m=n.shared.pending,m===null)break;T=m,m=T.next,T.next=null,n.lastBaseUpdate=T,n.shared.pending=null}}while(!0);O===null&&(x=B),n.baseState=x,n.firstBaseUpdate=z,n.lastBaseUpdate=O,r===null&&(n.shared.lanes=0),Xa|=u,e.lanes=u,e.memoizedState=B}}function du(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function uu(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)du(l[e],t)}var ss=f(null),fi=f(0);function mu(e,t){e=Da,U(fi,e),U(ss,t),Da=e|t.baseLanes}function co(){U(fi,Da),U(ss,ss.current)}function uo(){Da=fi.current,S(ss),S(fi)}var zt=f(null),Yt=null;function Ya(e){var t=e.alternate;U(We,We.current&1),U(zt,e),Yt===null&&(t===null||ss.current!==null||t.memoizedState!==null)&&(Yt=e)}function mo(e){U(We,We.current),U(zt,e),Yt===null&&(Yt=e)}function hu(e){e.tag===22?(U(We,We.current),U(zt,e),Yt===null&&(Yt=e)):Qa()}function Qa(){U(We,We.current),U(zt,zt.current)}function Ct(e){S(zt),Yt===e&&(Yt=null),S(We)}var We=f(0);function gi(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||bc(l)||vc(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 ka=0,pe=null,Le=null,Ze=null,xi=!1,ns=!1,Cl=!1,pi=0,Xs=0,is=null,Q0=0;function Je(){throw Error(c(321))}function ho(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!_t(e[l],t[l]))return!1;return!0}function fo(e,t,l,s,n,r){return ka=r,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,b.H=e===null||e.memoizedState===null?Fu:Co,Cl=!1,r=l(s,n),Cl=!1,ns&&(r=gu(t,l,s,n)),fu(e),r}function fu(e){b.H=$s;var t=Le!==null&&Le.next!==null;if(ka=0,Ze=Le=pe=null,xi=!1,Xs=0,is=null,t)throw Error(c(300));e===null||Fe||(e=e.dependencies,e!==null&&ri(e)&&(Fe=!0))}function gu(e,t,l,s){pe=e;var n=0;do{if(ns&&(is=null),Xs=0,ns=!1,25<=n)throw Error(c(301));if(n+=1,Ze=Le=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}b.H=$u,r=t(l,s)}while(ns);return r}function W0(){var e=b.H,t=e.useState()[0];return t=typeof t.then=="function"?Zs(t):t,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&&(pe.flags|=1024),t}function go(){var e=pi!==0;return pi=0,e}function xo(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function po(e){if(xi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xi=!1}ka=0,Ze=Le=pe=null,ns=!1,Xs=pi=0,is=null}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?pe.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Ke(){if(Le===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=Ze===null?pe.memoizedState:Ze.next;if(t!==null)Ze=t,Le=e;else{if(e===null)throw pe.alternate===null?Error(c(467)):Error(c(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},Ze===null?pe.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function bi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Zs(e){var t=Xs;return Xs+=1,is===null&&(is=[]),e=nu(is,e,t),t=pe,(Ze===null?t.memoizedState:Ze.next)===null&&(t=t.alternate,b.H=t===null||t.memoizedState===null?Fu:Co),e}function vi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Zs(e);if(e.$$typeof===X)return ct(e)}throw Error(c(438,String(e)))}function bo(e){var t=null,l=pe.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var s=pe.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=bi(),pe.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]=te;return t.index++,l}function Na(e,t){return typeof t=="function"?t(e):t}function ji(e){var t=Ke();return vo(t,Le,e)}function vo(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,z=t,O=!1;do{var B=z.lane&-536870913;if(B!==z.lane?(ye&B)===B:(ka&B)===B){var D=z.revertLane;if(D===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),B===es&&(O=!0);else if((ka&D)===D){z=z.next,D===es&&(O=!0);continue}else B={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=B,u=r):x=x.next=B,pe.lanes|=D,Xa|=D;B=z.action,Cl&&l(r,B),r=z.hasEagerState?z.eagerState:l(r,B)}else D={lane:B,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=D,u=r):x=x.next=D,pe.lanes|=B,Xa|=B;z=z.next}while(z!==null&&z!==t);if(x===null?u=r:x.next=m,!_t(r,e.memoizedState)&&(Fe=!0,O&&(l=ts,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 jo(e){var t=Ke(),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);_t(r,t.memoizedState)||(Fe=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),l.lastRenderedState=r}return[r,s]}function xu(e,t,l){var s=pe,n=Ke(),r=Ne;if(r){if(l===void 0)throw Error(c(407));l=l()}else l=t();var u=!_t((Le||n).memoizedState,l);if(u&&(n.memoizedState=l,Fe=!0),n=n.queue,No(vu.bind(null,s,n,e),[e]),n.getSnapshot!==t||u||Ze!==null&&Ze.memoizedState.tag&1){if(s.flags|=2048,rs(9,{destroy:void 0},bu.bind(null,s,n,l,t),null),Re===null)throw Error(c(349));r||(ka&127)!==0||pu(s,t,l)}return l}function pu(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=pe.updateQueue,t===null?(t=bi(),pe.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function bu(e,t,l,s){t.value=l,t.getSnapshot=s,ju(t)&&yu(e)}function vu(e,t,l){return l(function(){ju(t)&&yu(e)})}function ju(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!_t(e,l)}catch{return!0}}function yu(e){var t=jl(e,2);t!==null&&kt(t,e,2)}function yo(e){var t=xt();if(typeof e=="function"){var l=e;if(e=l(),Cl){Ot(!0);try{l()}finally{Ot(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:e},t}function ku(e,t,l,s){return e.baseState=l,vo(e,Le,typeof s=="function"?s:Na)}function K0(e,t,l,s,n){if(Ni(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)}};b.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=b.T,u={};b.T=u;try{var m=l(n,s),x=b.S;x!==null&&x(u,m),wu(e,t,m)}catch(z){ko(e,t,z)}finally{r!==null&&u.types!==null&&(r.types=u.types),b.T=r}}else try{r=l(n,s),wu(e,t,r)}catch(z){ko(e,t,z)}}function wu(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){Su(e,t,s)},function(s){return ko(e,t,s)}):Su(e,t,l)}function Su(e,t,l){t.status="fulfilled",t.value=l,_u(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 ko(e,t,l){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=l,_u(t),t=t.next;while(t!==s)}e.action=null}function _u(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Au(e,t){return t}function zu(e,t){if(Ne){var l=Re.formState;if(l!==null){e:{var s=pe;if(Ne){if(Be){t:{for(var n=Be,r=Jt;n.nodeType!==8;){if(!r){n=null;break t}if(n=Qt(n.nextSibling),n===null){n=null;break t}}r=n.data,n=r==="F!"||r==="F"?n:null}if(n){Be=Qt(n.nextSibling),s=n.data==="F!";break e}}Ba(s)}s=!1}s&&(t=l[0])}}return l=xt(),l.memoizedState=l.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:t},l.queue=s,l=Ku.bind(null,pe,s),s.dispatch=l,s=yo(!1),r=zo.bind(null,pe,!1,s.queue),s=xt(),n={state:t,dispatch:null,action:e,pending:null},s.queue=n,l=K0.bind(null,pe,n,r,l),n.dispatch=l,s.memoizedState=e,[t,l,!1]}function Cu(e){var t=Ke();return Du(t,Le,e)}function Du(e,t,l){if(t=vo(e,t,Au)[0],e=ji(Na)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=Zs(t)}catch(u){throw u===as?di:u}else s=t;t=Ke();var n=t.queue,r=n.dispatch;return l!==t.memoizedState&&(pe.flags|=2048,rs(9,{destroy:void 0},X0.bind(null,n,l),null)),[s,r,e]}function X0(e,t){e.action=t}function Tu(e){var t=Ke(),l=Le;if(l!==null)return Du(t,l,e);Ke(),t=t.memoizedState,l=Ke();var s=l.queue.dispatch;return l.memoizedState=e,[t,s,!1]}function rs(e,t,l,s){return e={tag:e,create:l,deps:s,inst:t,next:null},t=pe.updateQueue,t===null&&(t=bi(),pe.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 Mu(){return Ke().memoizedState}function yi(e,t,l,s){var n=xt();pe.flags|=e,n.memoizedState=rs(1|t,{destroy:void 0},l,s===void 0?null:s)}function ki(e,t,l,s){var n=Ke();s=s===void 0?null:s;var r=n.memoizedState.inst;Le!==null&&s!==null&&ho(s,Le.memoizedState.deps)?n.memoizedState=rs(t,r,l,s):(pe.flags|=e,n.memoizedState=rs(1|t,r,l,s))}function Eu(e,t){yi(8390656,8,e,t)}function No(e,t){ki(2048,8,e,t)}function Z0(e){pe.flags|=4;var t=pe.updateQueue;if(t===null)t=bi(),pe.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Lu(e){var t=Ke().memoizedState;return Z0({ref:t,nextImpl:e}),function(){if((Ce&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Ou(e,t){return ki(4,2,e,t)}function Uu(e,t){return ki(4,4,e,t)}function Ru(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 Vu(e,t,l){l=l!=null?l.concat([e]):null,ki(4,4,Ru.bind(null,t,e),l)}function wo(){}function Bu(e,t){var l=Ke();t=t===void 0?null:t;var s=l.memoizedState;return t!==null&&ho(t,s[1])?s[0]:(l.memoizedState=[e,t],e)}function Hu(e,t){var l=Ke();t=t===void 0?null:t;var s=l.memoizedState;if(t!==null&&ho(t,s[1]))return s[0];if(s=e(),Cl){Ot(!0);try{e()}finally{Ot(!1)}}return l.memoizedState=[s,t],s}function So(e,t,l){return l===void 0||(ka&1073741824)!==0&&(ye&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=qm(),pe.lanes|=e,Xa|=e,l)}function qu(e,t,l,s){return _t(l,t)?l:ss.current!==null?(e=So(e,l,s),_t(e,t)||(Fe=!0),e):(ka&42)===0||(ka&1073741824)!==0&&(ye&261930)===0?(Fe=!0,e.memoizedState=l):(e=qm(),pe.lanes|=e,Xa|=e,t)}function Gu(e,t,l,s,n){var r=L.p;L.p=r!==0&&8>r?r:8;var u=b.T,m={};b.T=m,zo(e,!1,t,l);try{var x=n(),z=b.S;if(z!==null&&z(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var O=Y0(x,s);Fs(e,t,O,Mt(e))}else Fs(e,t,s,Mt(e))}catch(B){Fs(e,t,{then:function(){},status:"rejected",reason:B},Mt())}finally{L.p=r,u!==null&&m.types!==null&&(u.types=m.types),b.T=u}}function F0(){}function _o(e,t,l,s){if(e.tag!==5)throw Error(c(476));var n=Ju(e).queue;Gu(e,n,t,y,l===null?F0:function(){return Yu(e),l(s)})}function Ju(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:y,baseState:y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:y},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 Yu(e){var t=Ju(e);t.next===null&&(t=e.alternate.memoizedState),Fs(e,t.next.queue,{},Mt())}function Ao(){return ct(fn)}function Qu(){return Ke().memoizedState}function Wu(){return Ke().memoizedState}function $0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Mt();e=Ga(l);var s=Ja(t,e,l);s!==null&&(kt(s,t,l),Qs(s,t,l)),t={cache:to()},e.payload=t;return}t=t.return}}function I0(e,t,l){var s=Mt();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ni(e)?Xu(t,l):(l=Yr(e,t,l,s),l!==null&&(kt(l,e,s),Zu(l,t,s)))}function Ku(e,t,l){var s=Mt();Fs(e,t,l,s)}function Fs(e,t,l,s){var n={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ni(e))Xu(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,_t(m,u))return li(e,t,n,0),Re===null&&ai(),!1}catch{}if(l=Yr(e,t,n,s),l!==null)return kt(l,e,s),Zu(l,t,s),!0}return!1}function zo(e,t,l,s){if(s={lane:2,revertLane:ic(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Ni(e)){if(t)throw Error(c(479))}else t=Yr(e,l,s,2),t!==null&&kt(t,e,2)}function Ni(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Xu(e,t){ns=xi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Zu(e,t,l){if((l&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,Gn(e,l)}}var $s={readContext:ct,use:vi,useCallback:Je,useContext:Je,useEffect:Je,useImperativeHandle:Je,useLayoutEffect:Je,useInsertionEffect:Je,useMemo:Je,useReducer:Je,useRef:Je,useState:Je,useDebugValue:Je,useDeferredValue:Je,useTransition:Je,useSyncExternalStore:Je,useId:Je,useHostTransitionStatus:Je,useFormState:Je,useActionState:Je,useOptimistic:Je,useMemoCache:Je,useCacheRefresh:Je};$s.useEffectEvent=Je;var Fu={readContext:ct,use:vi,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Eu,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,yi(4194308,4,Ru.bind(null,t,e),l)},useLayoutEffect:function(e,t){return yi(4194308,4,e,t)},useInsertionEffect:function(e,t){yi(4,2,e,t)},useMemo:function(e,t){var l=xt();t=t===void 0?null:t;var s=e();if(Cl){Ot(!0);try{e()}finally{Ot(!1)}}return l.memoizedState=[s,t],s},useReducer:function(e,t,l){var s=xt();if(l!==void 0){var n=l(t);if(Cl){Ot(!0);try{l(t)}finally{Ot(!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=I0.bind(null,pe,e),[s.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:function(e){e=yo(e);var t=e.queue,l=Ku.bind(null,pe,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:wo,useDeferredValue:function(e,t){var l=xt();return So(l,e,t)},useTransition:function(){var e=yo(!1);return e=Gu.bind(null,pe,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var s=pe,n=xt();if(Ne){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Re===null)throw Error(c(349));(ye&127)!==0||pu(s,t,l)}n.memoizedState=l;var r={value:l,getSnapshot:t};return n.queue=r,Eu(vu.bind(null,s,r,e),[e]),s.flags|=2048,rs(9,{destroy:void 0},bu.bind(null,s,r,l,t),null),l},useId:function(){var e=xt(),t=Re.identifierPrefix;if(Ne){var l=na,s=sa;l=(s&~(1<<32-gt(s)-1)).toString(32)+l,t="_"+t+"R_"+l,l=pi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Q0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ao,useFormState:zu,useActionState:zu,useOptimistic:function(e){var t=xt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=zo.bind(null,pe,!0,l),l.dispatch=t,[e,t]},useMemoCache:bo,useCacheRefresh:function(){return xt().memoizedState=$0.bind(null,pe)},useEffectEvent:function(e){var t=xt(),l={impl:e};return t.memoizedState=l,function(){if((Ce&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},Co={readContext:ct,use:vi,useCallback:Bu,useContext:ct,useEffect:No,useImperativeHandle:Vu,useInsertionEffect:Ou,useLayoutEffect:Uu,useMemo:Hu,useReducer:ji,useRef:Mu,useState:function(){return ji(Na)},useDebugValue:wo,useDeferredValue:function(e,t){var l=Ke();return qu(l,Le.memoizedState,e,t)},useTransition:function(){var e=ji(Na)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:Zs(e),t]},useSyncExternalStore:xu,useId:Qu,useHostTransitionStatus:Ao,useFormState:Cu,useActionState:Cu,useOptimistic:function(e,t){var l=Ke();return ku(l,Le,e,t)},useMemoCache:bo,useCacheRefresh:Wu};Co.useEffectEvent=Lu;var $u={readContext:ct,use:vi,useCallback:Bu,useContext:ct,useEffect:No,useImperativeHandle:Vu,useInsertionEffect:Ou,useLayoutEffect:Uu,useMemo:Hu,useReducer:jo,useRef:Mu,useState:function(){return jo(Na)},useDebugValue:wo,useDeferredValue:function(e,t){var l=Ke();return Le===null?So(l,e,t):qu(l,Le.memoizedState,e,t)},useTransition:function(){var e=jo(Na)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:Zs(e),t]},useSyncExternalStore:xu,useId:Qu,useHostTransitionStatus:Ao,useFormState:Tu,useActionState:Tu,useOptimistic:function(e,t){var l=Ke();return Le!==null?ku(l,Le,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:bo,useCacheRefresh:Wu};$u.useEffectEvent=Lu;function Do(e,t,l,s){t=e.memoizedState,l=l(s,t),l=l==null?t:w({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var To={enqueueSetState:function(e,t,l){e=e._reactInternals;var s=Mt(),n=Ga(s);n.payload=t,l!=null&&(n.callback=l),t=Ja(e,n,s),t!==null&&(kt(t,e,s),Qs(t,e,s))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var s=Mt(),n=Ga(s);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=Ja(e,n,s),t!==null&&(kt(t,e,s),Qs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Mt(),s=Ga(l);s.tag=2,t!=null&&(s.callback=t),t=Ja(e,s,l),t!==null&&(kt(t,e,l),Qs(t,e,l))}};function Iu(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?!Rs(l,s)||!Rs(n,r):!0}function Pu(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&&To.enqueueReplaceState(t,t.state,null)}function Dl(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=w({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function em(e){ti(e)}function tm(e){console.error(e)}function am(e){ti(e)}function wi(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function lm(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 Mo(e,t,l){return l=Ga(l),l.tag=3,l.payload={element:null},l.callback=function(){wi(e,t)},l}function sm(e){return e=Ga(e),e.tag=3,e}function nm(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(){lm(t,l,s)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){lm(t,l,s),typeof n!="function"&&(Za===null?Za=new Set([this]):Za.add(this));var m=s.stack;this.componentDidCatch(s.value,{componentStack:m!==null?m:""})})}function P0(e,t,l,s,n){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=l.alternate,t!==null&&Pl(t,l,n,!0),l=zt.current,l!==null){switch(l.tag){case 31:case 13:return Yt===null?Ui():l.alternate===null&&Ye===0&&(Ye=3),l.flags&=-257,l.flags|=65536,l.lanes=n,s===ui?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([s]):t.add(s),lc(e,s,n)),!1;case 22:return l.flags|=65536,s===ui?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)),lc(e,s,n)),!1}throw Error(c(435,l.tag))}return lc(e,s,n),Ui(),!1}if(Ne)return t=zt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,s!==Fr&&(e=Error(c(422),{cause:s}),Hs(Ht(e,l)))):(s!==Fr&&(t=Error(c(423),{cause:s}),Hs(Ht(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,s=Ht(s,l),n=Mo(e.stateNode,s,n),ro(e,n),Ye!==4&&(Ye=2)),!1;var r=Error(c(520),{cause:s});if(r=Ht(r,l),nn===null?nn=[r]:nn.push(r),Ye!==4&&(Ye=2),t===null)return!0;s=Ht(s,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=Mo(l.stateNode,s,e),ro(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"&&(Za===null||!Za.has(r))))return l.flags|=65536,n&=-n,l.lanes|=n,n=sm(n),nm(n,e,l,s),ro(l,n),!1}l=l.return}while(l!==null);return!1}var Eo=Error(c(461)),Fe=!1;function dt(e,t,l,s){t.child=e===null?cu(t,null,l,s):zl(t,e.child,l,s)}function im(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 wl(t),s=fo(e,t,l,u,r,n),m=go(),e!==null&&!Fe?(xo(e,t,n),wa(e,t,n)):(Ne&&m&&Xr(t),t.flags|=1,dt(e,t,s,n),t.child)}function rm(e,t,l,s,n){if(e===null){var r=l.type;return typeof r=="function"&&!Qr(r)&&r.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=r,om(e,t,r,s,n)):(e=ni(l.type,null,s,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!qo(e,n)){var u=r.memoizedProps;if(l=l.compare,l=l!==null?l:Rs,l(u,s)&&e.ref===t.ref)return wa(e,t,n)}return t.flags|=1,e=ba(r,s),e.ref=t.ref,e.return=t,t.child=e}function om(e,t,l,s,n){if(e!==null){var r=e.memoizedProps;if(Rs(r,s)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=s=r,qo(e,n))(e.flags&131072)!==0&&(Fe=!0);else return t.lanes=e.lanes,wa(e,t,n)}return Lo(e,t,l,s,n)}function cm(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 dm(e,t,r,l,s)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ci(t,r!==null?r.cachePool:null),r!==null?mu(t,r):co(),hu(t);else return s=t.lanes=536870912,dm(e,t,r!==null?r.baseLanes|l:l,l,s)}else r!==null?(ci(t,r.cachePool),mu(t,r),Qa(),t.memoizedState=null):(e!==null&&ci(t,null),co(),Qa());return dt(e,t,n,l),t.child}function Is(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dm(e,t,l,s,n){var r=lo();return r=r===null?null:{parent:Xe._currentValue,pool:r},t.memoizedState={baseLanes:l,cachePool:r},e!==null&&ci(t,null),co(),hu(t),e!==null&&Pl(e,t,s,!0),t.childLanes=n,null}function Si(e,t){return t=Ai({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function um(e,t,l){return zl(t,e.child,null,l),e=Si(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function eg(e,t,l){var s=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ne){if(s.mode==="hidden")return e=Si(t,s),t.lanes=536870912,Is(null,e);if(mo(t),(e=Be)?(e=Nh(e,Jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:sa,overflow:na}:null,retryLane:536870912,hydrationErrors:null},l=Xd(e),l.return=t,t.child=l,ot=t,Be=null)):e=null,e===null)throw Ba(t);return t.lanes=536870912,null}return Si(t,s)}var r=e.memoizedState;if(r!==null){var u=r.dehydrated;if(mo(t),n)if(t.flags&256)t.flags&=-257,t=um(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(Fe||Pl(e,t,l,!1),n=(l&e.childLanes)!==0,Fe||n){if(s=Re,s!==null&&(u=Jn(s,l),u!==0&&u!==r.retryLane))throw r.retryLane=u,jl(e,u),kt(s,e,u),Eo;Ui(),t=um(e,t,l)}else e=r.treeContext,Be=Qt(u.nextSibling),ot=t,Ne=!0,Va=null,Jt=!1,e!==null&&$d(t,e),t=Si(t,s),t.flags|=4096;return t}return e=ba(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function _i(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 Lo(e,t,l,s,n){return wl(t),l=fo(e,t,l,s,void 0,n),s=go(),e!==null&&!Fe?(xo(e,t,n),wa(e,t,n)):(Ne&&s&&Xr(t),t.flags|=1,dt(e,t,l,n),t.child)}function mm(e,t,l,s,n,r){return wl(t),t.updateQueue=null,l=gu(t,s,l,n),fu(e),s=go(),e!==null&&!Fe?(xo(e,t,r),wa(e,t,r)):(Ne&&s&&Xr(t),t.flags|=1,dt(e,t,l,r),t.child)}function hm(e,t,l,s,n){if(wl(t),t.stateNode===null){var r=Zl,u=l.contextType;typeof u=="object"&&u!==null&&(r=ct(u)),r=new l(s,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=To,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=s,r.state=t.memoizedState,r.refs={},no(t),u=l.contextType,r.context=typeof u=="object"&&u!==null?ct(u):Zl,r.state=t.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(Do(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&&To.enqueueReplaceState(r,r.state,null),Ks(t,s,r,n),Ws(),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=Dl(l,m);r.props=x;var z=r.context,O=l.contextType;u=Zl,typeof O=="object"&&O!==null&&(u=ct(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||z!==u)&&Pu(t,r,s,u),qa=!1;var D=t.memoizedState;r.state=D,Ks(t,s,r,n),Ws(),z=t.memoizedState,m||D!==z||qa?(typeof B=="function"&&(Do(t,l,B,s),z=t.memoizedState),(x=qa||Iu(t,l,x,s,D,z,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=z),r.props=s,r.state=z,r.context=u,s=x):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{r=t.stateNode,io(e,t),u=t.memoizedProps,O=Dl(l,u),r.props=O,B=t.pendingProps,D=r.context,z=l.contextType,x=Zl,typeof z=="object"&&z!==null&&(x=ct(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(u!==B||D!==x)&&Pu(t,r,s,x),qa=!1,D=t.memoizedState,r.state=D,Ks(t,s,r,n),Ws();var T=t.memoizedState;u!==B||D!==T||qa||e!==null&&e.dependencies!==null&&ri(e.dependencies)?(typeof m=="function"&&(Do(t,l,m,s),T=t.memoizedState),(O=qa||Iu(t,l,O,s,D,T,x)||e!==null&&e.dependencies!==null&&ri(e.dependencies))?(z||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(s,T,x),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(s,T,x)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=T),r.props=s,r.state=T,r.context=x,s=O):(typeof r.componentDidUpdate!="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),s=!1)}return r=s,_i(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=zl(t,e.child,null,n),t.child=zl(t,null,l,n)):dt(e,t,l,n),t.memoizedState=r.state,e=t.child):e=wa(e,t,n),e}function fm(e,t,l,s){return kl(),t.flags|=256,dt(e,t,l,s),t.child}var Oo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Uo(e){return{baseLanes:e,cachePool:lu()}}function Ro(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Tt),e}function gm(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:(We.current&2)!==0),u&&(n=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ne){if(n?Ya(t):Qa(),(e=Be)?(e=Nh(e,Jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:sa,overflow:na}:null,retryLane:536870912,hydrationErrors:null},l=Xd(e),l.return=t,t.child=l,ot=t,Be=null)):e=null,e===null)throw Ba(t);return vc(e)?t.lanes=32:t.lanes=536870912,null}var m=s.children;return s=s.fallback,n?(Qa(),n=t.mode,m=Ai({mode:"hidden",children:m},n),s=yl(s,n,l,null),m.return=t,s.return=t,m.sibling=s,t.child=m,s=t.child,s.memoizedState=Uo(l),s.childLanes=Ro(e,u,l),t.memoizedState=Oo,Is(null,s)):(Ya(t),Vo(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(r)t.flags&256?(Ya(t),t.flags&=-257,t=Bo(e,t,l)):t.memoizedState!==null?(Qa(),t.child=e.child,t.flags|=128,t=null):(Qa(),m=s.fallback,n=t.mode,s=Ai({mode:"visible",children:s.children},n),m=yl(m,n,l,null),m.flags|=2,s.return=t,m.return=t,s.sibling=m,t.child=s,zl(t,e.child,null,l),s=t.child,s.memoizedState=Uo(l),s.childLanes=Ro(e,u,l),t.memoizedState=Oo,t=Is(null,s));else if(Ya(t),vc(m)){if(u=m.nextSibling&&m.nextSibling.dataset,u)var z=u.dgst;u=z,s=Error(c(419)),s.stack="",s.digest=u,Hs({value:s,source:null,stack:null}),t=Bo(e,t,l)}else if(Fe||Pl(e,t,l,!1),u=(l&e.childLanes)!==0,Fe||u){if(u=Re,u!==null&&(s=Jn(u,l),s!==0&&s!==x.retryLane))throw x.retryLane=s,jl(e,s),kt(u,e,s),Eo;bc(m)||Ui(),t=Bo(e,t,l)}else bc(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,Be=Qt(m.nextSibling),ot=t,Ne=!0,Va=null,Jt=!1,e!==null&&$d(t,e),t=Vo(t,s.children),t.flags|=4096);return t}return n?(Qa(),m=s.fallback,n=t.mode,x=e.child,z=x.sibling,s=ba(x,{mode:"hidden",children:s.children}),s.subtreeFlags=x.subtreeFlags&65011712,z!==null?m=ba(z,m):(m=yl(m,n,l,null),m.flags|=2),m.return=t,s.return=t,s.sibling=m,t.child=s,Is(null,s),s=t.child,m=e.child.memoizedState,m===null?m=Uo(l):(n=m.cachePool,n!==null?(x=Xe._currentValue,n=n.parent!==x?{parent:x,pool:x}:n):n=lu(),m={baseLanes:m.baseLanes|l,cachePool:n}),s.memoizedState=m,s.childLanes=Ro(e,u,l),t.memoizedState=Oo,Is(e.child,s)):(Ya(t),l=e.child,e=l.sibling,l=ba(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 Vo(e,t){return t=Ai({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ai(e,t){return e=At(22,e,null,t),e.lanes=0,e}function Bo(e,t,l){return zl(t,e.child,null,l),e=Vo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xm(e,t,l){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Pr(e.return,t,l)}function Ho(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 pm(e,t,l){var s=t.pendingProps,n=s.revealOrder,r=s.tail;s=s.children;var u=We.current,m=(u&2)!==0;if(m?(u=u&1|2,t.flags|=128):u&=1,U(We,u),dt(e,t,s,l),s=Ne?Bs:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xm(e,l,t);else if(e.tag===19)xm(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&&gi(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Ho(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&&gi(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Ho(t,!0,l,null,r,s);break;case"together":Ho(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function wa(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Xa|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Pl(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=ba(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=ba(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function qo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ri(e)))}function tg(e,t,l){switch(t.tag){case 3:at(t,t.stateNode.containerInfo),Ha(t,Xe,e.memoizedState.cache),kl();break;case 27:case 5:Ea(t);break;case 4:at(t,t.stateNode.containerInfo);break;case 10:Ha(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,mo(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Ya(t),t.flags|=128,null):(l&t.child.childLanes)!==0?gm(e,t,l):(Ya(t),e=wa(e,t,l),e!==null?e.sibling:null);Ya(t);break;case 19:var n=(e.flags&128)!==0;if(s=(l&t.childLanes)!==0,s||(Pl(e,t,l,!1),s=(l&t.childLanes)!==0),n){if(s)return pm(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),U(We,We.current),s)break;return null;case 22:return t.lanes=0,cm(e,t,l,t.pendingProps);case 24:Ha(t,Xe,e.memoizedState.cache)}return wa(e,t,l)}function bm(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Fe=!0;else{if(!qo(e,l)&&(t.flags&128)===0)return Fe=!1,tg(e,t,l);Fe=(e.flags&131072)!==0}else Fe=!1,Ne&&(t.flags&1048576)!==0&&Fd(t,Bs,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=_l(t.elementType),t.type=e,typeof e=="function")Qr(e)?(s=Dl(e,s),t.tag=1,t=hm(null,t,e,s,l)):(t.tag=0,t=Lo(null,t,e,s,l));else{if(e!=null){var n=e.$$typeof;if(n===se){t.tag=11,t=im(null,t,e,s,l);break e}else if(n===W){t.tag=14,t=rm(null,t,e,s,l);break e}}throw t=we(e)||e,Error(c(306,t,""))}}return t;case 0:return Lo(e,t,t.type,t.pendingProps,l);case 1:return s=t.type,n=Dl(s,t.pendingProps),hm(e,t,s,n,l);case 3:e:{if(at(t,t.stateNode.containerInfo),e===null)throw Error(c(387));s=t.pendingProps;var r=t.memoizedState;n=r.element,io(e,t),Ks(t,s,null,l);var u=t.memoizedState;if(s=u.cache,Ha(t,Xe,s),s!==r.cache&&eo(t,[Xe],l,!0),Ws(),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=fm(e,t,s,l);break e}else if(s!==n){n=Ht(Error(c(424)),t),Hs(n),t=fm(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,Be=Qt(e.firstChild),ot=t,Ne=!0,Va=null,Jt=!0,l=cu(t,null,s,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(kl(),s===n){t=wa(e,t,l);break e}dt(e,t,s,l)}t=t.child}return t;case 26:return _i(e,t),e===null?(l=Ch(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ne||(l=t.type,e=t.pendingProps,s=Ji(ie.current).createElement(l),s[Pe]=t,s[mt]=e,ut(s,l,e),nt(s),t.stateNode=s):t.memoizedState=Ch(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ea(t),e===null&&Ne&&(s=t.stateNode=_h(t.type,t.pendingProps,ie.current),ot=t,Jt=!0,n=Be,Pa(t.type)?(jc=n,Be=Qt(s.firstChild)):Be=n),dt(e,t,t.pendingProps.children,l),_i(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ne&&((n=s=Be)&&(s=Tg(s,t.type,t.pendingProps,Jt),s!==null?(t.stateNode=s,ot=t,Be=Qt(s.firstChild),Jt=!1,n=!0):n=!1),n||Ba(t)),Ea(t),n=t.type,r=t.pendingProps,u=e!==null?e.memoizedProps:null,s=r.children,gc(n,r)?s=null:u!==null&&gc(n,u)&&(t.flags|=32),t.memoizedState!==null&&(n=fo(e,t,W0,null,null,l),fn._currentValue=n),_i(e,t),dt(e,t,s,l),t.child;case 6:return e===null&&Ne&&((e=l=Be)&&(l=Mg(l,t.pendingProps,Jt),l!==null?(t.stateNode=l,ot=t,Be=null,e=!0):e=!1),e||Ba(t)),null;case 13:return gm(e,t,l);case 4:return at(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=zl(t,null,s,l):dt(e,t,s,l),t.child;case 11:return im(e,t,t.type,t.pendingProps,l);case 7:return dt(e,t,t.pendingProps,l),t.child;case 8:return dt(e,t,t.pendingProps.children,l),t.child;case 12:return dt(e,t,t.pendingProps.children,l),t.child;case 10:return s=t.pendingProps,Ha(t,t.type,s.value),dt(e,t,s.children,l),t.child;case 9:return n=t.type._context,s=t.pendingProps.children,wl(t),n=ct(n),s=s(n),t.flags|=1,dt(e,t,s,l),t.child;case 14:return rm(e,t,t.type,t.pendingProps,l);case 15:return om(e,t,t.type,t.pendingProps,l);case 19:return pm(e,t,l);case 31:return eg(e,t,l);case 22:return cm(e,t,l,t.pendingProps);case 24:return wl(t),s=ct(Xe),e===null?(n=lo(),n===null&&(n=Re,r=to(),n.pooledCache=r,r.refCount++,r!==null&&(n.pooledCacheLanes|=l),n=r),t.memoizedState={parent:s,cache:n},no(t),Ha(t,Xe,n)):((e.lanes&l)!==0&&(io(e,t),Ks(t,null,null,l),Ws()),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),Ha(t,Xe,s)):(s=r.cache,Ha(t,Xe,s),s!==n.cache&&eo(t,[Xe],l,!0))),dt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function Sa(e){e.flags|=4}function Go(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(Qm())e.flags|=8192;else throw Al=ui,so}else e.flags&=-16777217}function vm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Lh(t))if(Qm())e.flags|=8192;else throw Al=ui,so}function zi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?_s():536870912,e.lanes|=t,us|=t)}function Ps(e,t){if(!Ne)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 He(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 ag(e,t,l){var s=t.pendingProps;switch(Zr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return He(t),null;case 3:return l=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),ya(Xe),Ge(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Il(t)?Sa(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,$r())),He(t),null;case 26:var n=t.type,r=t.memoizedState;return e===null?(Sa(t),r!==null?(He(t),vm(t,r)):(He(t),Go(t,n,null,s,l))):r?r!==e.memoizedState?(Sa(t),He(t),vm(t,r)):(He(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Sa(t),He(t),Go(t,n,e,s,l)),null;case 27:if(La(t),l=ie.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Sa(t);else{if(!s){if(t.stateNode===null)throw Error(c(166));return He(t),null}e=Y.current,Il(t)?Id(t):(e=_h(n,s,l),t.stateNode=e,Sa(t))}return He(t),null;case 5:if(La(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Sa(t);else{if(!s){if(t.stateNode===null)throw Error(c(166));return He(t),null}if(r=Y.current,Il(t))Id(t);else{var u=Ji(ie.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[Pe]=t,r[mt]=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(ut(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&&Sa(t)}}return He(t),Go(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Sa(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(c(166));if(e=ie.current,Il(t)){if(e=t.stateNode,l=t.memoizedProps,s=null,n=ot,n!==null)switch(n.tag){case 27:case 5:s=n.memoizedProps}e[Pe]=t,e=!!(e.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||gh(e.nodeValue,l)),e||Ba(t,!0)}else e=Ji(e).createTextNode(s),e[Pe]=t,t.stateNode=e}return He(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(s=Il(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[Pe]=t}else kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),e=!1}else l=$r(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(c(558))}return He(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Il(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[Pe]=t}else kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),n=!1}else n=$r(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(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),zi(t,t.updateQueue),He(t),null);case 4:return Ge(),e===null&&dc(t.stateNode.containerInfo),He(t),null;case 10:return ya(t.type),He(t),null;case 19:if(S(We),s=t.memoizedState,s===null)return He(t),null;if(n=(t.flags&128)!==0,r=s.rendering,r===null)if(n)Ps(s,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=gi(e),r!==null){for(t.flags|=128,Ps(s,!1),e=r.updateQueue,t.updateQueue=e,zi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Kd(l,e),l=l.sibling;return U(We,We.current&1|2),Ne&&va(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&ft()>Ei&&(t.flags|=128,n=!0,Ps(s,!1),t.lanes=4194304)}else{if(!n)if(e=gi(r),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,zi(t,e),Ps(s,!0),s.tail===null&&s.tailMode==="hidden"&&!r.alternate&&!Ne)return He(t),null}else 2*ft()-s.renderingStartTime>Ei&&l!==536870912&&(t.flags|=128,n=!0,Ps(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=ft(),e.sibling=null,l=We.current,U(We,n?l&1|2:l&1),Ne&&va(t,s.treeForkCount),e):(He(t),null);case 22:case 23:return Ct(t),uo(),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&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),l=t.updateQueue,l!==null&&zi(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&&S(Sl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ya(Xe),He(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function lg(e,t){switch(Zr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ya(Xe),Ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return La(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(c(340));kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return S(We),null;case 4:return Ge(),null;case 10:return ya(t.type),null;case 22:case 23:return Ct(t),uo(),e!==null&&S(Sl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ya(Xe),null;case 25:return null;default:return null}}function jm(e,t){switch(Zr(t),t.tag){case 3:ya(Xe),Ge();break;case 26:case 27:case 5:La(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:S(We);break;case 10:ya(t.type);break;case 22:case 23:Ct(t),uo(),e!==null&&S(Sl);break;case 24:ya(Xe)}}function en(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){Me(t,t.return,m)}}function Wa(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,z=m;try{z()}catch(O){Me(n,x,O)}}}s=s.next}while(s!==r)}}catch(O){Me(t,t.return,O)}}function ym(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{uu(t,l)}catch(s){Me(e,e.return,s)}}}function km(e,t,l){l.props=Dl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(s){Me(e,t,s)}}function tn(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){Me(e,t,n)}}function ia(e,t){var l=e.ref,s=e.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(n){Me(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){Me(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){Me(e,e.return,n)}}function Jo(e,t,l){try{var s=e.stateNode;Sg(s,e.type,l,t),s[mt]=t}catch(n){Me(e,e.return,n)}}function wm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pa(e.type)||e.tag===4}function Yo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wm(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&&Pa(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 Qo(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=xa));else if(s!==4&&(s===27&&Pa(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Qo(e,t,l),e=e.sibling;e!==null;)Qo(e,t,l),e=e.sibling}function Ci(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&&Pa(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ci(e,t,l),e=e.sibling;e!==null;)Ci(e,t,l),e=e.sibling}function Sm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var s=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ut(t,s,l),t[Pe]=e,t[mt]=l}catch(r){Me(e,e.return,r)}}var _a=!1,$e=!1,Wo=!1,_m=typeof WeakSet=="function"?WeakSet:Set,it=null;function sg(e,t){if(e=e.containerInfo,hc=Fi,e=Vd(e),Vr(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,z=0,O=0,B=e,D=null;t:for(;;){for(var T;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),(T=B.firstChild)!==null;)D=B,B=T;for(;;){if(B===e)break t;if(D===l&&++z===n&&(m=u),D===r&&++O===s&&(x=u),(T=B.nextSibling)!==null)break;B=D,D=B.parentNode}B=T}l=m===-1||x===-1?null:{start:m,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(fc={focusedElem:e,selectionRange:l},Fi=!1,it=t;it!==null;)if(t=it,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,it=e;else for(;it!==null;){switch(t=it,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 I=Dl(l.type,n);e=s.getSnapshotBeforeUpdate(I,r),s.__reactInternalSnapshotBeforeUpdate=e}catch(de){Me(l,l.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)pc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":pc(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,it=e;break}it=t.return}}function Am(e,t,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:za(e,l),s&4&&en(5,l);break;case 1:if(za(e,l),s&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(u){Me(l,l.return,u)}else{var n=Dl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(u){Me(l,l.return,u)}}s&64&&ym(l),s&512&&tn(l,l.return);break;case 3:if(za(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{uu(e,t)}catch(u){Me(l,l.return,u)}}break;case 27:t===null&&s&4&&Sm(l);case 26:case 5:za(e,l),t===null&&s&4&&Nm(l),s&512&&tn(l,l.return);break;case 12:za(e,l);break;case 31:za(e,l),s&4&&Dm(e,l);break;case 13:za(e,l),s&4&&Tm(e,l),s&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=hg.bind(null,l),Eg(e,l))));break;case 22:if(s=l.memoizedState!==null||_a,!s){t=t!==null&&t.memoizedState!==null||$e,n=_a;var r=$e;_a=s,($e=t)&&!r?Ca(e,l,(l.subtreeFlags&8772)!==0):za(e,l),_a=n,$e=r}break;case 30:break;default:za(e,l)}}function zm(e){var t=e.alternate;t!==null&&(e.alternate=null,zm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&gl(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 qe=null,bt=!1;function Aa(e,t,l){for(l=l.child;l!==null;)Cm(e,t,l),l=l.sibling}function Cm(e,t,l){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(Ve,l)}catch{}switch(l.tag){case 26:$e||ia(l,t),Aa(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:$e||ia(l,t);var s=qe,n=bt;Pa(l.type)&&(qe=l.stateNode,bt=!1),Aa(e,t,l),un(l.stateNode),qe=s,bt=n;break;case 5:$e||ia(l,t);case 6:if(s=qe,n=bt,qe=null,Aa(e,t,l),qe=s,bt=n,qe!==null)if(bt)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(l.stateNode)}catch(r){Me(l,t,r)}else try{qe.removeChild(l.stateNode)}catch(r){Me(l,t,r)}break;case 18:qe!==null&&(bt?(e=qe,yh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),vs(e)):yh(qe,l.stateNode));break;case 4:s=qe,n=bt,qe=l.stateNode.containerInfo,bt=!0,Aa(e,t,l),qe=s,bt=n;break;case 0:case 11:case 14:case 15:Wa(2,l,t),$e||Wa(4,l,t),Aa(e,t,l);break;case 1:$e||(ia(l,t),s=l.stateNode,typeof s.componentWillUnmount=="function"&&km(l,t,s)),Aa(e,t,l);break;case 21:Aa(e,t,l);break;case 22:$e=(s=$e)||l.memoizedState!==null,Aa(e,t,l),$e=s;break;default:Aa(e,t,l)}}function Dm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{vs(e)}catch(l){Me(t,t.return,l)}}}function Tm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{vs(e)}catch(l){Me(t,t.return,l)}}function ng(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new _m),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new _m),t;default:throw Error(c(435,e.tag))}}function Di(e,t){var l=ng(e);t.forEach(function(s){if(!l.has(s)){l.add(s);var n=fg.bind(null,e,s);s.then(n,n)}})}function vt(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(Pa(m.type)){qe=m.stateNode,bt=!1;break e}break;case 5:qe=m.stateNode,bt=!1;break e;case 3:case 4:qe=m.stateNode.containerInfo,bt=!0;break e}m=m.return}if(qe===null)throw Error(c(160));Cm(r,u,n),qe=null,bt=!1,r=n.alternate,r!==null&&(r.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Mm(t,e),t=t.sibling}var It=null;function Mm(e,t){var l=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vt(t,e),jt(e),s&4&&(Wa(3,e,e.return),en(3,e),Wa(5,e,e.return));break;case 1:vt(t,e),jt(e),s&512&&($e||l===null||ia(l,l.return)),s&64&&_a&&(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=It;if(vt(t,e),jt(e),s&512&&($e||l===null||ia(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[ha]||r[Pe]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=n.createElement(s),n.head.insertBefore(r,n.querySelector("head > title"))),ut(r,s,l),r[Pe]=e,nt(r),s=r;break e;case"link":var u=Mh("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),ut(r,s,l),n.head.appendChild(r);break;case"meta":if(u=Mh("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),ut(r,s,l),n.head.appendChild(r);break;default:throw Error(c(468,s))}r[Pe]=e,nt(r),s=r}e.stateNode=s}else Eh(n,e.type,e.stateNode);else e.stateNode=Th(n,s,e.memoizedProps);else r!==s?(r===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):r.count--,s===null?Eh(n,e.type,e.stateNode):Th(n,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Jo(e,e.memoizedProps,l.memoizedProps)}break;case 27:vt(t,e),jt(e),s&512&&($e||l===null||ia(l,l.return)),l!==null&&s&4&&Jo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(vt(t,e),jt(e),s&512&&($e||l===null||ia(l,l.return)),e.flags&32){n=e.stateNode;try{Gl(n,"")}catch(I){Me(e,e.return,I)}}s&4&&e.stateNode!=null&&(n=e.memoizedProps,Jo(e,n,l!==null?l.memoizedProps:n)),s&1024&&(Wo=!0);break;case 6:if(vt(t,e),jt(e),s&4){if(e.stateNode===null)throw Error(c(162));s=e.memoizedProps,l=e.stateNode;try{l.nodeValue=s}catch(I){Me(e,e.return,I)}}break;case 3:if(Wi=null,n=It,It=Yi(t.containerInfo),vt(t,e),It=n,jt(e),s&4&&l!==null&&l.memoizedState.isDehydrated)try{vs(t.containerInfo)}catch(I){Me(e,e.return,I)}Wo&&(Wo=!1,Em(e));break;case 4:s=It,It=Yi(e.stateNode.containerInfo),vt(t,e),jt(e),It=s;break;case 12:vt(t,e),jt(e);break;case 31:vt(t,e),jt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Di(e,s)));break;case 13:vt(t,e),jt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Mi=ft()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Di(e,s)));break;case 22:n=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,z=_a,O=$e;if(_a=z||n,$e=O||x,vt(t,e),$e=O,_a=z,jt(e),s&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||x||_a||$e||Tl(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,D=B!=null&&B.hasOwnProperty("display")?B.display:null;m.style.display=D==null||typeof D=="boolean"?"":(""+D).trim()}}catch(I){Me(x,x.return,I)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=n?"":x.memoizedProps}catch(I){Me(x,x.return,I)}}}else if(t.tag===18){if(l===null){x=t;try{var T=x.stateNode;n?kh(T,!0):kh(x.stateNode,!1)}catch(I){Me(x,x.return,I)}}}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,Di(e,l))));break;case 19:vt(t,e),jt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Di(e,s)));break;case 30:break;case 21:break;default:vt(t,e),jt(e)}}function jt(e){var t=e.flags;if(t&2){try{for(var l,s=e.return;s!==null;){if(wm(s)){l=s;break}s=s.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,r=Yo(e);Ci(e,r,n);break;case 5:var u=l.stateNode;l.flags&32&&(Gl(u,""),l.flags&=-33);var m=Yo(e);Ci(e,m,u);break;case 3:case 4:var x=l.stateNode.containerInfo,z=Yo(e);Qo(e,z,x);break;default:throw Error(c(161))}}catch(O){Me(e,e.return,O)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Em(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Em(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function za(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Am(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Wa(4,t,t.return),Tl(t);break;case 1:ia(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&km(t,t.return,l),Tl(t);break;case 27:un(t.stateNode);case 26:case 5:ia(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function Ca(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:Ca(n,r,l),en(4,r);break;case 1:if(Ca(n,r,l),s=r,n=s.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(z){Me(s,s.return,z)}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++)du(x[n],m)}catch(z){Me(s,s.return,z)}}l&&u&64&&ym(r),tn(r,r.return);break;case 27:Sm(r);case 26:case 5:Ca(n,r,l),l&&s===null&&u&4&&Nm(r),tn(r,r.return);break;case 12:Ca(n,r,l);break;case 31:Ca(n,r,l),l&&u&4&&Dm(n,r);break;case 13:Ca(n,r,l),l&&u&4&&Tm(n,r);break;case 22:r.memoizedState===null&&Ca(n,r,l),tn(r,r.return);break;case 30:break;default:Ca(n,r,l)}t=t.sibling}}function Ko(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&&qs(l))}function Xo(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&qs(e))}function Pt(e,t,l,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Lm(e,t,l,s),t=t.sibling}function Lm(e,t,l,s){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Pt(e,t,l,s),n&2048&&en(9,t);break;case 1:Pt(e,t,l,s);break;case 3:Pt(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&&qs(e)));break;case 12:if(n&2048){Pt(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){Me(t,t.return,x)}}else Pt(e,t,l,s);break;case 31:Pt(e,t,l,s);break;case 13:Pt(e,t,l,s);break;case 23:break;case 22:r=t.stateNode,u=t.alternate,t.memoizedState!==null?r._visibility&2?Pt(e,t,l,s):an(e,t):r._visibility&2?Pt(e,t,l,s):(r._visibility|=2,os(e,t,l,s,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ko(u,t);break;case 24:Pt(e,t,l,s),n&2048&&Xo(t.alternate,t);break;default:Pt(e,t,l,s)}}function os(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,z=u.flags;switch(u.tag){case 0:case 11:case 15:os(r,u,m,x,n),en(8,u);break;case 23:break;case 22:var O=u.stateNode;u.memoizedState!==null?O._visibility&2?os(r,u,m,x,n):an(r,u):(O._visibility|=2,os(r,u,m,x,n)),n&&z&2048&&Ko(u.alternate,u);break;case 24:os(r,u,m,x,n),n&&z&2048&&Xo(u.alternate,u);break;default:os(r,u,m,x,n)}t=t.sibling}}function an(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:an(l,s),n&2048&&Ko(s.alternate,s);break;case 24:an(l,s),n&2048&&Xo(s.alternate,s);break;default:an(l,s)}t=t.sibling}}var ln=8192;function cs(e,t,l){if(e.subtreeFlags&ln)for(e=e.child;e!==null;)Om(e,t,l),e=e.sibling}function Om(e,t,l){switch(e.tag){case 26:cs(e,t,l),e.flags&ln&&e.memoizedState!==null&&Qg(l,It,e.memoizedState,e.memoizedProps);break;case 5:cs(e,t,l);break;case 3:case 4:var s=It;It=Yi(e.stateNode.containerInfo),cs(e,t,l),It=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=ln,ln=16777216,cs(e,t,l),ln=s):cs(e,t,l));break;default:cs(e,t,l)}}function Um(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 sn(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];it=s,Vm(s,e)}Um(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rm(e),e=e.sibling}function Rm(e){switch(e.tag){case 0:case 11:case 15:sn(e),e.flags&2048&&Wa(9,e,e.return);break;case 3:sn(e);break;case 12:sn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ti(e)):sn(e);break;default:sn(e)}}function Ti(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];it=s,Vm(s,e)}Um(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Wa(8,t,t.return),Ti(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Ti(t));break;default:Ti(t)}e=e.sibling}}function Vm(e,t){for(;it!==null;){var l=it;switch(l.tag){case 0:case 11:case 15:Wa(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:qs(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,it=s;else e:for(l=e;it!==null;){s=it;var n=s.sibling,r=s.return;if(zm(s),s===l){it=null;break e}if(n!==null){n.return=r,it=n;break e}it=r}}}var ig={getCacheForType:function(e){var t=ct(Xe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return ct(Xe).controller.signal}},rg=typeof WeakMap=="function"?WeakMap:Map,Ce=0,Re=null,ve=null,ye=0,Te=0,Dt=null,Ka=!1,ds=!1,Zo=!1,Da=0,Ye=0,Xa=0,Ml=0,Fo=0,Tt=0,us=0,nn=null,yt=null,$o=!1,Mi=0,Bm=0,Ei=1/0,Li=null,Za=null,et=0,Fa=null,ms=null,Ta=0,Io=0,Po=null,Hm=null,rn=0,ec=null;function Mt(){return(Ce&2)!==0&&ye!==0?ye&-ye:b.T!==null?ic():Yn()}function qm(){if(Tt===0)if((ye&536870912)===0||Ne){var e=ul;ul<<=1,(ul&3932160)===0&&(ul=262144),Tt=e}else Tt=536870912;return e=zt.current,e!==null&&(e.flags|=32),Tt}function kt(e,t,l){(e===Re&&(Te===2||Te===9)||e.cancelPendingCommit!==null)&&(hs(e,0),$a(e,ye,Tt,!1)),ta(e,l),((Ce&2)===0||e!==Re)&&(e===Re&&((Ce&2)===0&&(Ml|=l),Ye===4&&$a(e,ye,Tt,!1)),ra(e))}function Gm(e,t,l){if((Ce&6)!==0)throw Error(c(327));var s=!l&&(t&127)===0&&(t&e.expiredLanes)===0||fl(e,t),n=s?dg(e,t):ac(e,t,!0),r=s;do{if(n===0){ds&&!s&&$a(e,t,0,!1);break}else{if(l=e.current.alternate,r&&!og(l)){n=ac(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=nn;var x=m.current.memoizedState.isDehydrated;if(x&&(hs(m,u).flags|=256),u=ac(m,u,!1),u!==2){if(Zo&&!x){m.errorRecoveryDisabledLanes|=r,Ml|=r,n=4;break e}r=yt,yt=n,r!==null&&(yt===null?yt=r:yt.push.apply(yt,r))}n=u}if(r=!1,n!==2)continue}}if(n===1){hs(e,0),$a(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:$a(s,t,Tt,!Ka);break e;case 2:yt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=Mi+300-ft(),10<n)){if($a(s,t,Tt,!Ka),hl(s,0,!0)!==0)break e;Ta=t,s.timeoutHandle=vh(Jm.bind(null,s,l,yt,Li,$o,t,Tt,Ml,us,Ka,r,"Throttled",-0,0),n);break e}Jm(s,l,yt,Li,$o,t,Tt,Ml,us,Ka,r,null,-0,0)}}break}while(!0);ra(e)}function Jm(e,t,l,s,n,r,u,m,x,z,O,B,D,T){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:xa},Om(t,r,B);var I=(r&62914560)===r?Mi-ft():(r&4194048)===r?Bm-ft():0;if(I=Wg(B,I),I!==null){Ta=r,e.cancelPendingCommit=I($m.bind(null,e,t,r,l,s,n,u,m,x,O,B,null,D,T)),$a(e,r,u,!z);return}}$m(e,t,r,l,s,n,u,m,x)}function og(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(!_t(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 $a(e,t,l,s){t&=~Fo,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var n=t;0<n;){var r=31-gt(n),u=1<<r;s[r]=-1,n&=~u}l!==0&&qn(e,l,t)}function Oi(){return(Ce&6)===0?(on(0),!1):!0}function tc(){if(ve!==null){if(Te===0)var e=ve.return;else e=ve,ja=Nl=null,po(e),ls=null,Js=0,e=ve;for(;e!==null;)jm(e.alternate,e),e=e.return;ve=null}}function hs(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,zg(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Ta=0,tc(),Re=e,ve=l=ba(e.current,null),ye=t,Te=0,Dt=null,Ka=!1,ds=fl(e,t),Zo=!1,us=Tt=Fo=Ml=Xa=Ye=0,yt=nn=null,$o=!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-gt(s),r=1<<n;t|=e[n],s&=~r}return Da=t,ai(),l}function Ym(e,t){pe=null,b.H=$s,t===as||t===di?(t=iu(),Te=3):t===so?(t=iu(),Te=4):Te=t===Eo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,ve===null&&(Ye=1,wi(e,Ht(t,e.current)))}function Qm(){var e=zt.current;return e===null?!0:(ye&4194048)===ye?Yt===null:(ye&62914560)===ye||(ye&536870912)!==0?e===Yt:!1}function Wm(){var e=b.H;return b.H=$s,e===null?$s:e}function Km(){var e=b.A;return b.A=ig,e}function Ui(){Ye=4,Ka||(ye&4194048)!==ye&&zt.current!==null||(ds=!0),(Xa&134217727)===0&&(Ml&134217727)===0||Re===null||$a(Re,ye,Tt,!1)}function ac(e,t,l){var s=Ce;Ce|=2;var n=Wm(),r=Km();(Re!==e||ye!==t)&&(Li=null,hs(e,t)),t=!1;var u=Ye;e:do try{if(Te!==0&&ve!==null){var m=ve,x=Dt;switch(Te){case 8:tc(),u=6;break e;case 3:case 2:case 9:case 6:zt.current===null&&(t=!0);var z=Te;if(Te=0,Dt=null,fs(e,m,x,z),l&&ds){u=0;break e}break;default:z=Te,Te=0,Dt=null,fs(e,m,x,z)}}cg(),u=Ye;break}catch(O){Ym(e,O)}while(!0);return t&&e.shellSuspendCounter++,ja=Nl=null,Ce=s,b.H=n,b.A=r,ve===null&&(Re=null,ye=0,ai()),u}function cg(){for(;ve!==null;)Xm(ve)}function dg(e,t){var l=Ce;Ce|=2;var s=Wm(),n=Km();Re!==e||ye!==t?(Li=null,Ei=ft()+500,hs(e,t)):ds=fl(e,t);e:do try{if(Te!==0&&ve!==null){t=ve;var r=Dt;t:switch(Te){case 1:Te=0,Dt=null,fs(e,t,r,1);break;case 2:case 9:if(su(r)){Te=0,Dt=null,Zm(t);break}t=function(){Te!==2&&Te!==9||Re!==e||(Te=7),ra(e)},r.then(t,t);break e;case 3:Te=7;break e;case 4:Te=5;break e;case 7:su(r)?(Te=0,Dt=null,Zm(t)):(Te=0,Dt=null,fs(e,t,r,7));break;case 5:var u=null;switch(ve.tag){case 26:u=ve.memoizedState;case 5:case 27:var m=ve;if(u?Lh(u):m.stateNode.complete){Te=0,Dt=null;var x=m.sibling;if(x!==null)ve=x;else{var z=m.return;z!==null?(ve=z,Ri(z)):ve=null}break t}}Te=0,Dt=null,fs(e,t,r,5);break;case 6:Te=0,Dt=null,fs(e,t,r,6);break;case 8:tc(),Ye=6;break e;default:throw Error(c(462))}}ug();break}catch(O){Ym(e,O)}while(!0);return ja=Nl=null,b.H=s,b.A=n,Ce=l,ve!==null?0:(Re=null,ye=0,ai(),Ye)}function ug(){for(;ve!==null&&!Ln();)Xm(ve)}function Xm(e){var t=bm(e.alternate,e,Da);e.memoizedProps=e.pendingProps,t===null?Ri(e):ve=t}function Zm(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=mm(l,t,t.pendingProps,t.type,void 0,ye);break;case 11:t=mm(l,t,t.pendingProps,t.type.render,t.ref,ye);break;case 5:po(t);default:jm(l,t),t=ve=Kd(t,Da),t=bm(l,t,Da)}e.memoizedProps=e.pendingProps,t===null?Ri(e):ve=t}function fs(e,t,l,s){ja=Nl=null,po(t),ls=null,Js=0;var n=t.return;try{if(P0(e,n,t,l,ye)){Ye=1,wi(e,Ht(l,e.current)),ve=null;return}}catch(r){if(n!==null)throw ve=n,r;Ye=1,wi(e,Ht(l,e.current)),ve=null;return}t.flags&32768?(Ne||s===1?e=!0:ds||(ye&536870912)!==0?e=!1:(Ka=e=!0,(s===2||s===9||s===3||s===6)&&(s=zt.current,s!==null&&s.tag===13&&(s.flags|=16384))),Fm(t,e)):Ri(t)}function Ri(e){var t=e;do{if((t.flags&32768)!==0){Fm(t,Ka);return}e=t.return;var l=ag(t.alternate,t,Da);if(l!==null){ve=l;return}if(t=t.sibling,t!==null){ve=t;return}ve=t=e}while(t!==null);Ye===0&&(Ye=5)}function Fm(e,t){do{var l=lg(e.alternate,e);if(l!==null){l.flags&=32767,ve=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ve=e;return}ve=e=l}while(e!==null);Ye=6,ve=null}function $m(e,t,l,s,n,r,u,m,x){e.cancelPendingCommit=null;do Vi();while(et!==0);if((Ce&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(r=t.lanes|t.childLanes,r|=Jr,ma(e,l,r,u,m,x),e===Re&&(ve=Re=null,ye=0),ms=t,Fa=e,Ta=l,Io=r,Po=n,Hm=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,gg(Vl,function(){return ah(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=b.T,b.T=null,n=L.p,L.p=2,u=Ce,Ce|=4;try{sg(e,t,l)}finally{Ce=u,L.p=n,b.T=s}}et=1,Im(),Pm(),eh()}}function Im(){if(et===1){et=0;var e=Fa,t=ms,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=b.T,b.T=null;var s=L.p;L.p=2;var n=Ce;Ce|=4;try{Mm(t,e);var r=fc,u=Vd(e.containerInfo),m=r.focusedElem,x=r.selectionRange;if(u!==m&&m&&m.ownerDocument&&Rd(m.ownerDocument.documentElement,m)){if(x!==null&&Vr(m)){var z=x.start,O=x.end;if(O===void 0&&(O=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(O,m.value.length);else{var B=m.ownerDocument||document,D=B&&B.defaultView||window;if(D.getSelection){var T=D.getSelection(),I=m.textContent.length,de=Math.min(x.start,I),Ue=x.end===void 0?de:Math.min(x.end,I);!T.extend&&de>Ue&&(u=Ue,Ue=de,de=u);var k=Ud(m,de),v=Ud(m,Ue);if(k&&v&&(T.rangeCount!==1||T.anchorNode!==k.node||T.anchorOffset!==k.offset||T.focusNode!==v.node||T.focusOffset!==v.offset)){var _=B.createRange();_.setStart(k.node,k.offset),T.removeAllRanges(),de>Ue?(T.addRange(_),T.extend(v.node,v.offset)):(_.setEnd(v.node,v.offset),T.addRange(_))}}}}for(B=[],T=m;T=T.parentNode;)T.nodeType===1&&B.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<B.length;m++){var R=B[m];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}Fi=!!hc,fc=hc=null}finally{Ce=n,L.p=s,b.T=l}}e.current=t,et=2}}function Pm(){if(et===2){et=0;var e=Fa,t=ms,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=b.T,b.T=null;var s=L.p;L.p=2;var n=Ce;Ce|=4;try{Am(e,t.alternate,t)}finally{Ce=n,L.p=s,b.T=l}}et=3}}function eh(){if(et===4||et===3){et=0,ol();var e=Fa,t=ms,l=Ta,s=Hm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?et=5:(et=0,ms=Fa=null,th(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Za=null),zs(l),t=t.stateNode,lt&&typeof lt.onCommitFiberRoot=="function")try{lt.onCommitFiberRoot(Ve,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=b.T,n=L.p,L.p=2,b.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{b.T=t,L.p=n}}(Ta&3)!==0&&Vi(),ra(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===ec?rn++:(rn=0,ec=e):rn=0,on(0)}}function th(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,qs(t)))}function Vi(){return Im(),Pm(),eh(),ah()}function ah(){if(et!==5)return!1;var e=Fa,t=Io;Io=0;var l=zs(Ta),s=b.T,n=L.p;try{L.p=32>l?32:l,b.T=null,l=Po,Po=null;var r=Fa,u=Ta;if(et=0,ms=Fa=null,Ta=0,(Ce&6)!==0)throw Error(c(331));var m=Ce;if(Ce|=4,Rm(r.current),Lm(r,r.current,u,l),Ce=m,on(0,!1),lt&&typeof lt.onPostCommitFiberRoot=="function")try{lt.onPostCommitFiberRoot(Ve,r)}catch{}return!0}finally{L.p=n,b.T=s,th(e,t)}}function lh(e,t,l){t=Ht(l,t),t=Mo(e.stateNode,t,2),e=Ja(e,t,2),e!==null&&(ta(e,2),ra(e))}function Me(e,t,l){if(e.tag===3)lh(e,e,l);else for(;t!==null;){if(t.tag===3){lh(t,e,l);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Za===null||!Za.has(s))){e=Ht(l,e),l=sm(2),s=Ja(t,l,2),s!==null&&(nm(l,s,t,e),ta(s,2),ra(s));break}}t=t.return}}function lc(e,t,l){var s=e.pingCache;if(s===null){s=e.pingCache=new rg;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)||(Zo=!0,n.add(l),e=mg.bind(null,e,t,l),t.then(e,e))}function mg(e,t,l){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Re===e&&(ye&l)===l&&(Ye===4||Ye===3&&(ye&62914560)===ye&&300>ft()-Mi?(Ce&2)===0&&hs(e,0):Fo|=l,us===ye&&(us=0)),ra(e)}function sh(e,t){t===0&&(t=_s()),e=jl(e,t),e!==null&&(ta(e,t),ra(e))}function hg(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),sh(e,l)}function fg(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),sh(e,l)}function gg(e,t){return Rl(e,t)}var Bi=null,gs=null,sc=!1,Hi=!1,nc=!1,Ia=0;function ra(e){e!==gs&&e.next===null&&(gs===null?Bi=gs=e:gs=gs.next=e),Hi=!0,sc||(sc=!0,pg())}function on(e,t){if(!nc&&Hi){nc=!0;do for(var l=!1,s=Bi;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-gt(42|e)+1)-1,r&=n&~(u&~m),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(l=!0,oh(s,r))}else r=ye,r=hl(s,s===Re?r:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(r&3)===0||fl(s,r)||(l=!0,oh(s,r));s=s.next}while(l);nc=!1}}function xg(){nh()}function nh(){Hi=sc=!1;var e=0;Ia!==0&&Ag()&&(e=Ia);for(var t=ft(),l=null,s=Bi;s!==null;){var n=s.next,r=ih(s,t);r===0?(s.next=null,l===null?Bi=n:l.next=n,n===null&&(gs=l)):(l=s,(e!==0||(r&3)!==0)&&(Hi=!0)),s=n}et!==0&&et!==5||on(e),Ia!==0&&(Ia=0)}function ih(e,t){for(var l=e.suspendedLanes,s=e.pingedLanes,n=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var u=31-gt(r),m=1<<u,x=n[u];x===-1?((m&l)===0||(m&s)!==0)&&(n[u]=jr(m,t)):x<=t&&(e.expiredLanes|=m),r&=~m}if(t=Re,l=ye,l=hl(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,l===0||e===t&&(Te===2||Te===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&ws(s),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||fl(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(s!==null&&ws(s),zs(l)){case 2:case 8:l=Ss;break;case 32:l=Vl;break;case 268435456:l=Vn;break;default:l=Vl}return s=rh.bind(null,e),l=Rl(l,s),e.callbackPriority=t,e.callbackNode=l,t}return s!==null&&s!==null&&ws(s),e.callbackPriority=2,e.callbackNode=null,2}function rh(e,t){if(et!==0&&et!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Vi()&&e.callbackNode!==l)return null;var s=ye;return s=hl(e,e===Re?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(Gm(e,s,t),ih(e,ft()),e.callbackNode!=null&&e.callbackNode===l?rh.bind(null,e):null)}function oh(e,t){if(Vi())return null;Gm(e,t,!0)}function pg(){Cg(function(){(Ce&6)!==0?Rl(Un,xg):nh()})}function ic(){if(Ia===0){var e=es;e===0&&(e=dl,dl<<=1,(dl&261888)===0&&(dl=256)),Ia=e}return Ia}function ch(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Xn(""+e)}function dh(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 bg(e,t,l,s,n){if(t==="submit"&&l&&l.stateNode===n){var r=ch((n[mt]||null).action),u=s.submitter;u&&(t=(t=u[mt]||null)?ch(t.formAction):u.getAttribute("formAction"),t!==null&&(r=t,u=null));var m=new In("action","action",null,s,n);e.push({event:m,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ia!==0){var x=u?dh(n,u):new FormData(n);_o(l,{pending:!0,data:x,method:n.method,action:r},null,x)}}else typeof r=="function"&&(m.preventDefault(),x=u?dh(n,u):new FormData(n),_o(l,{pending:!0,data:x,method:n.method,action:r},r,x))},currentTarget:n}]})}}for(var rc=0;rc<Gr.length;rc++){var oc=Gr[rc],vg=oc.toLowerCase(),jg=oc[0].toUpperCase()+oc.slice(1);$t(vg,"on"+jg)}$t(qd,"onAnimationEnd"),$t(Gd,"onAnimationIteration"),$t(Jd,"onAnimationStart"),$t("dblclick","onDoubleClick"),$t("focusin","onFocus"),$t("focusout","onBlur"),$t(U0,"onTransitionRun"),$t(R0,"onTransitionStart"),$t(V0,"onTransitionCancel"),$t(Yd,"onTransitionEnd"),Hl("onMouseEnter",["mouseout","mouseover"]),Hl("onMouseLeave",["mouseout","mouseover"]),Hl("onPointerEnter",["pointerout","pointerover"]),Hl("onPointerLeave",["pointerout","pointerover"]),xl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xl("onBeforeInput",["compositionend","keypress","textInput","paste"]),xl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cn="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(cn));function uh(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,z=m.currentTarget;if(m=m.listener,x!==r&&n.isPropagationStopped())break e;r=m,n.currentTarget=z;try{r(n)}catch(O){ti(O)}n.currentTarget=null,r=x}else for(u=0;u<s.length;u++){if(m=s[u],x=m.instance,z=m.currentTarget,m=m.listener,x!==r&&n.isPropagationStopped())break e;r=m,n.currentTarget=z;try{r(n)}catch(O){ti(O)}n.currentTarget=null,r=x}}}}function je(e,t){var l=t[Cs];l===void 0&&(l=t[Cs]=new Set);var s=e+"__bubble";l.has(s)||(mh(t,e,2,!1),l.add(s))}function cc(e,t,l){var s=0;t&&(s|=4),mh(l,e,s,t)}var qi="_reactListening"+Math.random().toString(36).slice(2);function dc(e){if(!e[qi]){e[qi]=!0,nd.forEach(function(l){l!=="selectionchange"&&(yg.has(l)||cc(l,!1,e),cc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qi]||(t[qi]=!0,cc("selectionchange",!1,t))}}function mh(e,t,l,s){switch(qh(t)){case 2:var n=Zg;break;case 8:n=Fg;break;default:n=Sc}l=n.bind(null,t,l,e),n=void 0,!Cr||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 uc(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=aa(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}pd(function(){var z=r,O=Ar(l),B=[];e:{var D=Qd.get(e);if(D!==void 0){var T=In,I=e;switch(e){case"keypress":if(Fn(l)===0)break e;case"keydown":case"keyup":T=f0;break;case"focusin":I="focus",T=Er;break;case"focusout":I="blur",T=Er;break;case"beforeblur":case"afterblur":T=Er;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":T=jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=a0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=p0;break;case qd:case Gd:case Jd:T=n0;break;case Yd:T=v0;break;case"scroll":case"scrollend":T=e0;break;case"wheel":T=y0;break;case"copy":case"cut":case"paste":T=r0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=kd;break;case"toggle":case"beforetoggle":T=N0}var de=(t&4)!==0,Ue=!de&&(e==="scroll"||e==="scrollend"),k=de?D!==null?D+"Capture":null:D;de=[];for(var v=z,_;v!==null;){var R=v;if(_=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||_===null||k===null||(R=Ds(v,k),R!=null&&de.push(dn(v,R,_))),Ue)break;v=v.return}0<de.length&&(D=new T(D,I,null,l,O),B.push({event:D,listeners:de}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",D&&l!==_r&&(I=l.relatedTarget||l.fromElement)&&(aa(I)||I[Oa]))break e;if((T||D)&&(D=O.window===O?O:(D=O.ownerDocument)?D.defaultView||D.parentWindow:window,T?(I=l.relatedTarget||l.toElement,T=z,I=I?aa(I):null,I!==null&&(Ue=g(I),de=I.tag,I!==Ue||de!==5&&de!==27&&de!==6)&&(I=null)):(T=null,I=z),T!==I)){if(de=jd,R="onMouseLeave",k="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(de=kd,R="onPointerLeave",k="onPointerEnter",v="pointer"),Ue=T==null?D:fa(T),_=I==null?D:fa(I),D=new de(R,v+"leave",T,l,O),D.target=Ue,D.relatedTarget=_,R=null,aa(O)===z&&(de=new de(k,v+"enter",I,l,O),de.target=_,de.relatedTarget=Ue,R=de),Ue=R,T&&I)t:{for(de=kg,k=T,v=I,_=0,R=k;R;R=de(R))_++;R=0;for(var le=v;le;le=de(le))R++;for(;0<_-R;)k=de(k),_--;for(;0<R-_;)v=de(v),R--;for(;_--;){if(k===v||v!==null&&k===v.alternate){de=k;break t}k=de(k),v=de(v)}de=null}else de=null;T!==null&&hh(B,D,T,de,!1),I!==null&&Ue!==null&&hh(B,Ue,I,de,!0)}}e:{if(D=z?fa(z):window,T=D.nodeName&&D.nodeName.toLowerCase(),T==="select"||T==="input"&&D.type==="file")var _e=Dd;else if(zd(D))if(Td)_e=E0;else{_e=T0;var ee=D0}else T=D.nodeName,!T||T.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?z&&Sr(z.elementType)&&(_e=Dd):_e=M0;if(_e&&(_e=_e(e,z))){Cd(B,_e,l,O);break e}ee&&ee(e,D,z),e==="focusout"&&z&&D.type==="number"&&z.memoizedProps.value!=null&&wr(D,"number",D.value)}switch(ee=z?fa(z):window,e){case"focusin":(zd(ee)||ee.contentEditable==="true")&&(Wl=ee,Br=z,Vs=null);break;case"focusout":Vs=Br=Wl=null;break;case"mousedown":Hr=!0;break;case"contextmenu":case"mouseup":case"dragend":Hr=!1,Bd(B,l,O);break;case"selectionchange":if(O0)break;case"keydown":case"keyup":Bd(B,l,O)}var be;if(Or)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else Ql?_d(e,l)&&(ke="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ke="onCompositionStart");ke&&(Nd&&l.locale!=="ko"&&(Ql||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&Ql&&(be=bd()):(Ua=O,Dr="value"in Ua?Ua.value:Ua.textContent,Ql=!0)),ee=Gi(z,ke),0<ee.length&&(ke=new yd(ke,e,null,l,O),B.push({event:ke,listeners:ee}),be?ke.data=be:(be=Ad(l),be!==null&&(ke.data=be)))),(be=S0?_0(e,l):A0(e,l))&&(ke=Gi(z,"onBeforeInput"),0<ke.length&&(ee=new yd("onBeforeInput","beforeinput",null,l,O),B.push({event:ee,listeners:ke}),ee.data=be)),bg(B,e,z,l,O)}uh(B,t)})}function dn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Gi(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=Ds(e,l),n!=null&&s.unshift(dn(e,n,r)),n=Ds(e,t),n!=null&&s.push(dn(e,n,r))),e.tag===3)return s;e=e.return}return[]}function kg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function hh(e,t,l,s,n){for(var r=t._reactName,u=[];l!==null&&l!==s;){var m=l,x=m.alternate,z=m.stateNode;if(m=m.tag,x!==null&&x===s)break;m!==5&&m!==26&&m!==27||z===null||(x=z,n?(z=Ds(l,r),z!=null&&u.unshift(dn(l,z,x))):n||(z=Ds(l,r),z!=null&&u.push(dn(l,z,x)))),l=l.return}u.length!==0&&e.push({event:t,listeners:u})}var Ng=/\r\n?/g,wg=/\u0000|\uFFFD/g;function fh(e){return(typeof e=="string"?e:""+e).replace(Ng,`
`).replace(wg,"")}function gh(e,t){return t=fh(t),fh(e)===t}function Oe(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":Wn(e,"class",s);break;case"tabIndex":Wn(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Wn(e,l,s);break;case"style":gd(e,s,r);break;case"data":if(t!=="object"){Wn(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=Xn(""+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"&&Oe(e,t,"name",n.name,n,null),Oe(e,t,"formEncType",n.formEncType,n,null),Oe(e,t,"formMethod",n.formMethod,n,null),Oe(e,t,"formTarget",n.formTarget,n,null)):(Oe(e,t,"encType",n.encType,n,null),Oe(e,t,"method",n.method,n,null),Oe(e,t,"target",n.target,n,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(l);break}s=Xn(""+s),e.setAttribute(l,s);break;case"onClick":s!=null&&(e.onclick=xa);break;case"onScroll":s!=null&&je("scroll",e);break;case"onScrollEnd":s!=null&&je("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=Xn(""+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":je("beforetoggle",e),je("toggle",e),Qn(e,"popover",s);break;case"xlinkActuate":ga(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ga(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ga(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ga(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ga(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ga(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ga(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ga(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ga(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Qn(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=If.get(l)||l,Qn(e,l,s))}}function mc(e,t,l,s,n,r){switch(l){case"style":gd(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&&je("scroll",e);break;case"onScrollEnd":s!=null&&je("scrollend",e);break;case"onClick":s!=null&&(e.onclick=xa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!id.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[mt]||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,""):Qn(e,l,s)}}}function ut(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",e),je("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:Oe(e,t,r,u,l,null)}}n&&Oe(e,t,"srcSet",l.srcSet,l,null),s&&Oe(e,t,"src",l.src,l,null);return;case"input":je("invalid",e);var m=r=u=n=null,x=null,z=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":z=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:Oe(e,t,s,O,l,null)}}ud(e,r,m,x,z,u,n,!1);return;case"select":je("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:Oe(e,t,n,m,l,null)}t=r,l=u,e.multiple=!!s,t!=null?ql(e,!!s,t,!1):l!=null&&ql(e,!!s,l,!0);return;case"textarea":je("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:Oe(e,t,u,m,l,null)}hd(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":Oe(e,t,x,s,l,null));return;case"dialog":je("beforetoggle",e),je("toggle",e),je("cancel",e),je("close",e);break;case"iframe":case"object":je("load",e);break;case"video":case"audio":for(s=0;s<cn.length;s++)je(cn[s],e);break;case"image":je("error",e),je("load",e);break;case"details":je("toggle",e);break;case"embed":case"source":case"link":je("error",e),je("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(z in l)if(l.hasOwnProperty(z)&&(s=l[z],s!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Oe(e,t,z,s,l,null)}return;default:if(Sr(t)){for(O in l)l.hasOwnProperty(O)&&(s=l[O],s!==void 0&&mc(e,t,O,s,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(s=l[m],s!=null&&Oe(e,t,m,s,l,null))}function Sg(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,z=null,O=null;for(T in l){var B=l[T];if(l.hasOwnProperty(T)&&B!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":x=B;default:s.hasOwnProperty(T)||Oe(e,t,T,null,s,B)}}for(var D in s){var T=s[D];if(B=l[D],s.hasOwnProperty(D)&&(T!=null||B!=null))switch(D){case"type":r=T;break;case"name":n=T;break;case"checked":z=T;break;case"defaultChecked":O=T;break;case"value":u=T;break;case"defaultValue":m=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(c(137,t));break;default:T!==B&&Oe(e,t,D,T,s,B)}}Nr(e,u,m,x,z,O,r,n);return;case"select":T=u=m=D=null;for(r in l)if(x=l[r],l.hasOwnProperty(r)&&x!=null)switch(r){case"value":break;case"multiple":T=x;default:s.hasOwnProperty(r)||Oe(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":D=r;break;case"defaultValue":m=r;break;case"multiple":u=r;default:r!==x&&Oe(e,t,n,r,s,x)}t=m,l=u,s=T,D!=null?ql(e,!!l,D,!1):!!s!=!!l&&(t!=null?ql(e,!!l,t,!0):ql(e,!!l,l?[]:"",!1));return;case"textarea":T=D=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:Oe(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":D=n;break;case"defaultValue":T=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==r&&Oe(e,t,u,n,s,r)}md(e,D,T);return;case"option":for(var I in l)D=l[I],l.hasOwnProperty(I)&&D!=null&&!s.hasOwnProperty(I)&&(I==="selected"?e.selected=!1:Oe(e,t,I,null,s,D));for(x in s)D=s[x],T=l[x],s.hasOwnProperty(x)&&D!==T&&(D!=null||T!=null)&&(x==="selected"?e.selected=D&&typeof D!="function"&&typeof D!="symbol":Oe(e,t,x,D,s,T));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 de in l)D=l[de],l.hasOwnProperty(de)&&D!=null&&!s.hasOwnProperty(de)&&Oe(e,t,de,null,s,D);for(z in s)if(D=s[z],T=l[z],s.hasOwnProperty(z)&&D!==T&&(D!=null||T!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(c(137,t));break;default:Oe(e,t,z,D,s,T)}return;default:if(Sr(t)){for(var Ue in l)D=l[Ue],l.hasOwnProperty(Ue)&&D!==void 0&&!s.hasOwnProperty(Ue)&&mc(e,t,Ue,void 0,s,D);for(O in s)D=s[O],T=l[O],!s.hasOwnProperty(O)||D===T||D===void 0&&T===void 0||mc(e,t,O,D,s,T);return}}for(var k in l)D=l[k],l.hasOwnProperty(k)&&D!=null&&!s.hasOwnProperty(k)&&Oe(e,t,k,null,s,D);for(B in s)D=s[B],T=l[B],!s.hasOwnProperty(B)||D===T||D==null&&T==null||Oe(e,t,B,D,s,T)}function xh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _g(){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&&xh(u)){for(u=0,m=n.responseEnd,s+=1;s<l.length;s++){var x=l[s],z=x.startTime;if(z>m)break;var O=x.transferSize,B=x.initiatorType;O&&xh(B)&&(x=x.responseEnd,u+=O*(x<m?1:(m-z)/(x-z)))}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 hc=null,fc=null;function Ji(e){return e.nodeType===9?e:e.ownerDocument}function ph(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 bh(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 gc(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 xc=null;function Ag(){var e=window.event;return e&&e.type==="popstate"?e===xc?!1:(xc=e,!0):(xc=null,!1)}var vh=typeof setTimeout=="function"?setTimeout:void 0,zg=typeof clearTimeout=="function"?clearTimeout:void 0,jh=typeof Promise=="function"?Promise:void 0,Cg=typeof queueMicrotask=="function"?queueMicrotask:typeof jh<"u"?function(e){return jh.resolve(null).then(e).catch(Dg)}:vh;function Dg(e){setTimeout(function(){throw e})}function Pa(e){return e==="head"}function yh(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),vs(t);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")un(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,un(l);for(var r=l.firstChild;r;){var u=r.nextSibling,m=r.nodeName;r[ha]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=u}}else l==="body"&&un(e.ownerDocument.body);l=n}while(l);vs(t)}function kh(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 pc(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":pc(l),gl(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Tg(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[ha])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=Qt(e.nextSibling),e===null)break}return null}function Mg(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Qt(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=Qt(e.nextSibling),e===null))return null;return e}function bc(e){return e.data==="$?"||e.data==="$~"}function vc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Eg(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 Qt(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 jc=null;function wh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Qt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Sh(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 _h(e,t,l){switch(t=Ji(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 un(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);gl(e)}var Wt=new Map,Ah=new Set;function Yi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ma=L.d;L.d={f:Lg,r:Og,D:Ug,C:Rg,L:Vg,m:Bg,X:qg,S:Hg,M:Gg};function Lg(){var e=Ma.f(),t=Oi();return e||t}function Og(e){var t=la(e);t!==null&&t.tag===5&&t.type==="form"?Yu(t):Ma.r(e)}var xs=typeof document>"u"?null:document;function zh(e,t,l){var s=xs;if(s&&typeof t=="string"&&t){var n=Vt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Ah.has(n)||(Ah.add(n),e={rel:e,crossOrigin:l,href:t},s.querySelector(n)===null&&(t=s.createElement("link"),ut(t,"link",e),nt(t),s.head.appendChild(t)))}}function Ug(e){Ma.D(e),zh("dns-prefetch",e,null)}function Rg(e,t){Ma.C(e,t),zh("preconnect",e,t)}function Vg(e,t,l){Ma.L(e,t,l);var s=xs;if(s&&e&&t){var n='link[rel="preload"][as="'+Vt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Vt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Vt(l.imageSizes)+'"]')):n+='[href="'+Vt(e)+'"]';var r=n;switch(t){case"style":r=ps(e);break;case"script":r=bs(e)}Wt.has(r)||(e=w({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Wt.set(r,e),s.querySelector(n)!==null||t==="style"&&s.querySelector(mn(r))||t==="script"&&s.querySelector(hn(r))||(t=s.createElement("link"),ut(t,"link",e),nt(t),s.head.appendChild(t)))}}function Bg(e,t){Ma.m(e,t);var l=xs;if(l&&e){var s=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Vt(s)+'"][href="'+Vt(e)+'"]',r=n;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=bs(e)}if(!Wt.has(r)&&(e=w({rel:"modulepreload",href:e},t),Wt.set(r,e),l.querySelector(n)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(hn(r)))return}s=l.createElement("link"),ut(s,"link",e),nt(s),l.head.appendChild(s)}}}function Hg(e,t,l){Ma.S(e,t,l);var s=xs;if(s&&e){var n=Bl(s).hoistableStyles,r=ps(e);t=t||"default";var u=n.get(r);if(!u){var m={loading:0,preload:null};if(u=s.querySelector(mn(r)))m.loading=5;else{e=w({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Wt.get(r))&&yc(e,l);var x=u=s.createElement("link");nt(x),ut(x,"link",e),x._p=new Promise(function(z,O){x.onload=z,x.onerror=O}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Qi(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:m},n.set(r,u)}}}function qg(e,t){Ma.X(e,t);var l=xs;if(l&&e){var s=Bl(l).hoistableScripts,n=bs(e),r=s.get(n);r||(r=l.querySelector(hn(n)),r||(e=w({src:e,async:!0},t),(t=Wt.get(n))&&kc(e,t),r=l.createElement("script"),nt(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(n,r))}}function Gg(e,t){Ma.M(e,t);var l=xs;if(l&&e){var s=Bl(l).hoistableScripts,n=bs(e),r=s.get(n);r||(r=l.querySelector(hn(n)),r||(e=w({src:e,async:!0,type:"module"},t),(t=Wt.get(n))&&kc(e,t),r=l.createElement("script"),nt(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(n,r))}}function Ch(e,t,l,s){var n=(n=ie.current)?Yi(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=ps(l.href),l=Bl(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=ps(l.href);var r=Bl(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(mn(e)))&&!r._p&&(u.instance=r,u.state.loading=5),Wt.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},Wt.set(e,l),r||Jg(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=bs(l),l=Bl(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 ps(e){return'href="'+Vt(e)+'"'}function mn(e){return'link[rel="stylesheet"]['+e+"]"}function Dh(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function Jg(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}),ut(t,"link",l),nt(t),e.head.appendChild(t))}function bs(e){return'[src="'+Vt(e)+'"]'}function hn(e){return"script[async]"+e}function Th(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Vt(l.href)+'"]');if(s)return t.instance=s,nt(s),s;var n=w({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),nt(s),ut(s,"style",n),Qi(s,l.precedence,e),t.instance=s;case"stylesheet":n=ps(l.href);var r=e.querySelector(mn(n));if(r)return t.state.loading|=4,t.instance=r,nt(r),r;s=Dh(l),(n=Wt.get(n))&&yc(s,n),r=(e.ownerDocument||e).createElement("link"),nt(r);var u=r;return u._p=new Promise(function(m,x){u.onload=m,u.onerror=x}),ut(r,"link",s),t.state.loading|=4,Qi(r,l.precedence,e),t.instance=r;case"script":return r=bs(l.src),(n=e.querySelector(hn(r)))?(t.instance=n,nt(n),n):(s=l,(n=Wt.get(r))&&(s=w({},l),kc(s,n)),e=e.ownerDocument||e,n=e.createElement("script"),nt(n),ut(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,Qi(s,l.precedence,e));return t.instance}function Qi(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 yc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function kc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Wi=null;function Mh(e,t,l){if(Wi===null){var s=new Map,n=Wi=new Map;n.set(l,s)}else n=Wi,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[ha]||r[Pe]||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 Eh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Yg(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 Lh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Qg(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=ps(s.href),r=t.querySelector(mn(n));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ki.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=r,nt(r);return}r=t.ownerDocument||t,s=Dh(s),(n=Wt.get(n))&&yc(s,n),r=r.createElement("link"),nt(r);var u=r;u._p=new Promise(function(m,x){u.onload=m,u.onerror=x}),ut(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=Ki.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Nc=0;function Wg(e,t){return e.stylesheets&&e.count===0&&Zi(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var s=setTimeout(function(){if(e.stylesheets&&Zi(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&Nc===0&&(Nc=62500*_g());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zi(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>Nc?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(n)}}:null}function Ki(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xi=null;function Zi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xi=new Map,t.forEach(Kg,e),Xi=null,Ki.call(e))}function Kg(e,t){if(!(t.state.loading&4)){var l=Xi.get(e);if(l)var s=l.get(null);else{l=new Map,Xi.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=Ki.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 fn={$$typeof:X,Provider:null,Consumer:null,_currentValue:y,_currentValue2:y,_threadCount:0};function Xg(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=As(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=As(0),this.hiddenUpdates=As(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 Oh(e,t,l,s,n,r,u,m,x,z,O,B){return e=new Xg(e,t,l,u,x,z,O,B,m),t=1,r===!0&&(t|=24),r=At(3,null,null,t),e.current=r,r.stateNode=e,t=to(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:s,isDehydrated:l,cache:t},no(r),e}function Uh(e){return e?(e=Zl,e):Zl}function Rh(e,t,l,s,n,r){n=Uh(n),s.context===null?s.context=n:s.pendingContext=n,s=Ga(t),s.payload={element:l},r=r===void 0?null:r,r!==null&&(s.callback=r),l=Ja(e,s,t),l!==null&&(kt(l,e,t),Qs(l,e,t))}function Vh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function wc(e,t){Vh(e,t),(e=e.alternate)&&Vh(e,t)}function Bh(e){if(e.tag===13||e.tag===31){var t=jl(e,67108864);t!==null&&kt(t,e,67108864),wc(e,67108864)}}function Hh(e){if(e.tag===13||e.tag===31){var t=Mt();t=St(t);var l=jl(e,t);l!==null&&kt(l,e,t),wc(e,t)}}var Fi=!0;function Zg(e,t,l,s){var n=b.T;b.T=null;var r=L.p;try{L.p=2,Sc(e,t,l,s)}finally{L.p=r,b.T=n}}function Fg(e,t,l,s){var n=b.T;b.T=null;var r=L.p;try{L.p=8,Sc(e,t,l,s)}finally{L.p=r,b.T=n}}function Sc(e,t,l,s){if(Fi){var n=_c(s);if(n===null)uc(e,t,s,$i,l),Gh(e,s);else if(Ig(n,e,t,l,s))s.stopPropagation();else if(Gh(e,s),t&4&&-1<$g.indexOf(e)){for(;n!==null;){var r=la(n);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var u=Ft(r.pendingLanes);if(u!==0){var m=r;for(m.pendingLanes|=2,m.entangledLanes|=2;u;){var x=1<<31-gt(u);m.entanglements[1]|=x,u&=~x}ra(r),(Ce&6)===0&&(Ei=ft()+500,on(0))}}break;case 31:case 13:m=jl(r,2),m!==null&&kt(m,r,2),Oi(),wc(r,2)}if(r=_c(s),r===null&&uc(e,t,s,$i,l),r===n)break;n=r}n!==null&&s.stopPropagation()}else uc(e,t,s,null,l)}}function _c(e){return e=Ar(e),Ac(e)}var $i=null;function Ac(e){if($i=null,e=aa(e),e!==null){var t=g(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=N(t),e!==null)return e;e=null}else if(l===31){if(e=H(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 $i=e,null}function qh(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(On()){case Un:return 2;case Ss:return 8;case Vl:case Rn:return 32;case Vn:return 268435456;default:return 32}default:return 32}}var zc=!1,el=null,tl=null,al=null,gn=new Map,xn=new Map,ll=[],$g="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 Gh(e,t){switch(e){case"focusin":case"focusout":el=null;break;case"dragenter":case"dragleave":tl=null;break;case"mouseover":case"mouseout":al=null;break;case"pointerover":case"pointerout":gn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(t.pointerId)}}function pn(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=la(t),t!==null&&Bh(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Ig(e,t,l,s,n){switch(t){case"focusin":return el=pn(el,e,t,l,s,n),!0;case"dragenter":return tl=pn(tl,e,t,l,s,n),!0;case"mouseover":return al=pn(al,e,t,l,s,n),!0;case"pointerover":var r=n.pointerId;return gn.set(r,pn(gn.get(r)||null,e,t,l,s,n)),!0;case"gotpointercapture":return r=n.pointerId,xn.set(r,pn(xn.get(r)||null,e,t,l,s,n)),!0}return!1}function Jh(e){var t=aa(e.target);if(t!==null){var l=g(t);if(l!==null){if(t=l.tag,t===13){if(t=N(l),t!==null){e.blockedOn=t,yr(e.priority,function(){Hh(l)});return}}else if(t===31){if(t=H(l),t!==null){e.blockedOn=t,yr(e.priority,function(){Hh(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 Ii(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=_c(e.nativeEvent);if(l===null){l=e.nativeEvent;var s=new l.constructor(l.type,l);_r=s,l.target.dispatchEvent(s),_r=null}else return t=la(l),t!==null&&Bh(t),e.blockedOn=l,!1;t.shift()}return!0}function Yh(e,t,l){Ii(e)&&l.delete(t)}function Pg(){zc=!1,el!==null&&Ii(el)&&(el=null),tl!==null&&Ii(tl)&&(tl=null),al!==null&&Ii(al)&&(al=null),gn.forEach(Yh),xn.forEach(Yh)}function Pi(e,t){e.blockedOn===t&&(e.blockedOn=null,zc||(zc=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Pg)))}var er=null;function Qh(e){er!==e&&(er=e,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){er===e&&(er=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(Ac(s||l)===null)continue;break}var r=la(l);r!==null&&(e.splice(t,3),t-=3,_o(r,{pending:!0,data:n,method:l.method,action:s},s,n))}}))}function vs(e){function t(x){return Pi(x,e)}el!==null&&Pi(el,e),tl!==null&&Pi(tl,e),al!==null&&Pi(al,e),gn.forEach(t),xn.forEach(t);for(var l=0;l<ll.length;l++){var s=ll[l];s.blockedOn===e&&(s.blockedOn=null)}for(;0<ll.length&&(l=ll[0],l.blockedOn===null);)Jh(l),l.blockedOn===null&&ll.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[mt]||null;if(typeof r=="function")u||Qh(l);else if(u){var m=null;if(r&&r.hasAttribute("formAction")){if(n=r,u=r[mt]||null)m=u.formAction;else if(Ac(n)!==null)continue}else m=u.action;typeof m=="function"?l[s+1]=m:(l.splice(s,3),s-=3),Qh(l)}}}function Wh(){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 Cc(e){this._internalRoot=e}tr.prototype.render=Cc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,s=Mt();Rh(l,s,e,t,null,null)},tr.prototype.unmount=Cc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rh(e.current,2,null,e,null,null),Oi(),t[Oa]=null}};function tr(e){this._internalRoot=e}tr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Yn();e={blockedOn:null,target:e,priority:t};for(var l=0;l<ll.length&&t!==0&&t<ll[l].priority;l++);ll.splice(l,0,e),l===0&&Jh(e)}};var Kh=i.version;if(Kh!=="19.2.4")throw Error(c(527,Kh,"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?C(e):null,e=e===null?null:e.stateNode,e};var ex={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ar=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ar.isDisabled&&ar.supportsFiber)try{Ve=ar.inject(ex),lt=ar}catch{}}return vn.createRoot=function(e,t){if(!h(e))throw Error(c(299));var l=!1,s="",n=em,r=tm,u=am;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=Oh(e,1,!1,null,null,l,s,null,n,r,u,Wh),e[Oa]=t.current,dc(e),new Cc(t)},vn.hydrateRoot=function(e,t,l){if(!h(e))throw Error(c(299));var s=!1,n="",r=em,u=tm,m=am,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=Oh(e,1,!0,t,l??null,s,n,x,r,u,m,Wh),t.context=Uh(null),l=t.current,s=Mt(),s=St(s),n=Ga(s),n.callback=null,Ja(l,n,s),l=s,t.current.lanes=l,ta(t,l),ra(t),e[Oa]=t.current,dc(e),new tr(t)},vn.version="19.2.4",vn}var lf;function dx(){if(lf)return Mc.exports;lf=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(),Mc.exports=cx(),Mc.exports}var ux=dx();class mx{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 hx extends mx{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 fx{authId="id";authToken="token";authEmail="email";runOutDate="runOutDate";authTokenSubject=new hx(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 ks=new fx;const _f=(...d)=>d.filter((i,o,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===o).join(" ").trim();const gx=d=>d.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const xx=d=>d.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,o,c)=>c?c.toUpperCase():o.toLowerCase());const sf=d=>{const i=xx(d);return i.charAt(0).toUpperCase()+i.slice(1)};var px={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 bx=d=>{for(const i in d)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};const vx=p.forwardRef(({color:d="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:h="",children:g,iconNode:N,...H},E)=>p.createElement("svg",{ref:E,...px,width:i,height:i,stroke:d,strokeWidth:c?Number(o)*24/Number(i):o,className:_f("lucide",h),...!g&&!bx(H)&&{"aria-hidden":"true"},...H},[...N.map(([j,C])=>p.createElement(j,C)),...Array.isArray(g)?g:[g]]));const K=(d,i)=>{const o=p.forwardRef(({className:c,...h},g)=>p.createElement(vx,{ref:g,iconNode:i,className:_f(`lucide-${gx(sf(d))}`,`lucide-${d}`,c),...h}));return o.displayName=sf(d),o};const jx=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Dn=K("arrow-left",jx);const yx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],El=K("arrow-right",yx);const kx=[["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"}]],Nx=K("arrow-up-down",kx);const wx=[["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"}]],Yc=K("badge-check",wx);const Sx=[["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"}]],_x=K("bolt",Sx);const Ax=[["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"}]],zx=K("bookmark",Ax);const Cx=[["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"}]],Af=K("bot",Cx);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"}]],Qc=K("briefcase-business",Dx);const Tx=[["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"}]],cr=K("briefcase",Tx);const Mx=[["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"}]],or=K("calendar-days",Mx);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"}]],Wc=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"}]],yn=K("chevron-down",Hx);const qx=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Gx=K("chevron-left",qx);const Jx=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Yx=K("chevron-right",Jx);const Qx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],tt=K("circle-check",Qx);const Wx=[["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"}]],Kx=K("circle-pause",Wx);const Xx=[["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"}]],Zx=K("circle-play",Xx);const Fx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],$x=K("circle-plus",Fx);const Ix=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],Px=K("circle-stop",Ix);const ep=[["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"}]],tp=K("circle-user",ep);const ap=[["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"}]],lp=K("clipboard-list",ap);const sp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],Kc=K("clock-3",sp);const np=[["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"}]],Xc=K("code-xml",np);const ip=[["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"}]],Zc=K("crown",ip);const rp=[["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"}]],op=K("ellipsis",rp);const cp=[["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"}]],dp=K("file-plus-corner",cp);const up=[["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"}]],Fc=K("file-text",up);const mp=[["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"}]],zf=K("funnel",mp);const hp=[["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"}]],fp=K("gamepad-2",hp);const gp=[["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"}]],xp=K("gift",gp);const pp=[["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"}]],Sn=K("globe",pp);const bp=[["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"}]],$c=K("graduation-cap",bp);const vp=[["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"}]],Cf=K("grid-3x3",vp);const jp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],yp=K("info",jp);const kp=[["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"}]],Ic=K("laptop",kp);const Np=[["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"}]],wp=K("layout-grid",Np);const Sp=[["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"}]],Df=K("layout-panel-top",Sp);const _p=[["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"}]],Ap=K("lightbulb",_p);const zp=[["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"}]],Cp=K("link-2",zp);const Dp=[["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"}]],Tf=K("lock-keyhole",Dp);const Tp=[["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"}]],Mp=K("log-out",Tp);const Ep=[["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"}]],fr=K("mail",Ep);const Lp=[["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"}]],_n=K("map-pin",Lp);const Op=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Up=K("menu",Op);const Rp=[["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"}]],Mf=K("message-circle",Rp);const Vp=[["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"}]],Bp=K("mic",Vp);const Hp=[["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"}]],qp=K("monitor",Hp);const Gp=[["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"}]],Jp=K("moon",Gp);const Yp=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],Qp=K("move-right",Yp);const Wp=[["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"}]],Kp=K("paperclip",Wp);const Xp=[["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"}]],Zp=K("pen-line",Xp);const Fp=[["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"}]],$p=K("phone",Fp);const Ip=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Pp=K("plus",Ip);const eb=[["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"}]],tb=K("presentation",eb);const ab=[["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"}]],lb=K("radar",ab);const sb=[["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"}]],nb=K("radio",sb);const ib=[["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"}]],rb=K("rocket",ib);const ob=[["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"}]],Pc=K("route",ob);const cb=[["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"}]],db=K("save",cb);const ub=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dr=K("search",ub);const mb=[["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"}]],hb=K("send",mb);const fb=[["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"}]],Ef=K("settings",fb);const gb=[["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"}]],xb=K("shield",gb);const pb=[["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"}]],bb=K("smile",pb);const vb=[["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"}]],Tn=K("sparkles",vb);const jb=[["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"}]],Lf=K("square-pen",jb);const yb=[["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"}]],ur=K("star",yb);const kb=[["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"}]],Nb=K("sun",kb);const wb=[["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"}]],Mn=K("target",wb);const Sb=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],nf=K("trending-up",Sb);const _b=[["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"}]],Of=K("trophy",_b);const Ab=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],il=K("user-round",Ab);const zb=[["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"}]],rf=K("user",zb);const Cb=[["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"}]],Db=K("users",Cb);const Tb=[["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"}]],Mb=K("wand-sparkles",Tb);const Eb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],An=K("x",Eb);function js({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 Lb({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(js,{icon:a.jsx(fr,{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 Ob({email:d,loading:i,onChangeEmail:o,onChangePassword:c,onChangeRememberMe:h,onForgotPassword:g,onRegister:N,onSubmit:H,password:E,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:H,children:[a.jsx(js,{icon:a.jsx(fr,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:d,onChange:C=>o(C.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(Tf,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"password",placeholder:"••••••••",value:E,onChange:C=>c(C.target.value),required:!0})]})]}),a.jsxs("label",{className:"check-row",children:[a.jsx("input",{type:"checkbox",checked:j,onChange:C=>h(C.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:N,children:"Opret bruger"})]})]})}function Ub({email:d,firstName:i,lastName:o,loading:c,locationQuery:h,locationSuggestions:g,onBackToLogin:N,onChangeEmail:H,onChangeFirstName:E,onChangeLastName:j,onChangeLocationQuery:C,onChangePassword:w,onSelectLocation:V,onSubmit:q,password:G}){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:q,children:[a.jsx(js,{icon:a.jsx(rf,{size:16,strokeWidth:1.8}),label:"Fornavn",type:"text",placeholder:"Lasse",value:i,onChange:Q=>E(Q.target.value),required:!0}),a.jsx(js,{icon:a.jsx(rf,{size:16,strokeWidth:1.8}),label:"Efternavn",type:"text",placeholder:"Hansen",value:o,onChange:Q=>j(Q.target.value),required:!0}),a.jsx(js,{icon:a.jsx(fr,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:d,onChange:Q=>H(Q.target.value),required:!0}),a.jsx(js,{icon:a.jsx(Tf,{size:16,strokeWidth:1.8}),label:"Adgangskode",type:"password",placeholder:"Skab en staerk kode",value:G,onChange:Q=>w(Q.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(_n,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"text",placeholder:"Soeg by eller adresse",value:h,onChange:Q=>C(Q.target.value),autoComplete:"off",required:!0})]}),g.length>0?a.jsx("div",{className:"location-suggestions",children:g.map(Q=>a.jsx("button",{type:"button",className:"location-suggestion-item",onClick:()=>{V(Q.placeId,Q.description)},children:Q.description},Q.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:N,children:"Log ind"})]})]})}class Ll{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 Ll(c)}set(i,o){const c=new URLSearchParams(this.searchParams);return c.set(i,String(o)),new Ll(c)}toString(){return this.searchParams.toString()}}function lr(d,i){if(!i)return d;const o=new URL(d);if(i instanceof Ll){const c=i.toString();return c&&new URLSearchParams(c).forEach((g,N)=>o.searchParams.append(N,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 sr(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 nr(d){const i=typeof window>"u"?null:window.localStorage.getItem("token");return{...i?{Authorization:`Bearer ${i}`}:{},...d??{}}}class Rb{async get(i,o){const c=await fetch(lr(i,o?.params),{method:"GET",headers:nr(o?.headers)});return sr(c,o?.responseType)}async post(i,o,c){const h=await fetch(lr(i,c?.params),{method:"POST",headers:{"Content-Type":"application/json",...nr(c?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return sr(h)}async put(i,o,c){const h=await fetch(lr(i,c?.params),{method:"PUT",headers:{"Content-Type":"application/json",...nr(c?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return sr(h)}async delete(i,o){const c=await fetch(lr(i,o?.params),{method:"DELETE",headers:nr(o?.headers)});return sr(c)}}const Qe=new Rb,M={backendApi:"https://api.arbejd.com/",backendApiV2:"https://api2.arbejd.com/api/"};class Vb{http;constructor(i=Qe){this.http=i}login(i,o){let c=M.backendApi+"api/1.1.0/candidate/login",h={email:i,password:o};return this.http.post(c,h)}forgotPassword(i){let o=M.backendApi+"api/1.1.0/candidate/resetPassword/"+i.toLowerCase();return this.http.get(o)}}class Ol{constructor(i=Qe,o=ks){this.http=i,this.localStorageService=o}closeAccount(i){let o=M.backendApi+"api/1.1.0/candidate/"+i.toLowerCase();return this.http.delete(o)}accountRetention(i){let o=M.backendApi+"api/1.1.0/candidate/"+i+"/account-retention/";return this.http.get(o)}getCandidatesQualifications(){let i=M.backendApi+"api/1.1.0/candidate/skill/";return this.http.get(i)}getCandidatesCertifications(){let i=M.backendApi+"api/1.1.0/candidate/certificate/";return this.http.get(i)}getCandidatesLanguages(){let i=M.backendApi+"api/1.1.0/candidate/language/";return this.http.get(i)}getCandidatesDriverLicenses(){let i=M.backendApi+"api/1.1.0/candidate/driversLicense/";return this.http.get(i)}changePassword(i,o){let c=M.backendApi+"api/1.1.0/candidate/resetPassword",h={key:i,password:o};return this.http.post(c,h)}getCandidatesEducations(){let i=M.backendApiV2+"1.0.0/client/candidate_education";return this.http.get(i)}updateExperience(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate";return this.http.post(o,i)}updateCandidate(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate";return this.http.get(i)}getCvSuggestion(){let i=M.backendApiV2+"1.0.0/client/suggestion";return this.http.get(i)}saveExperience(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate_experience/"+i;return this.http.delete(o)}getCandidatesExperiences(){let i=M.backendApiV2+"1.0.0/client/candidate_experience";return this.http.get(i)}getJobAgentFilters(){let i=M.backendApiV2+"1.0.0/client/job_agent_filter";return this.http.get(i)}updateJobAgentFilter(i){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+i.id,c=i;return this.http.put(o,c)}removeJobAgentFilter(i){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+i;return this.http.delete(o)}updateCandidateJobSeeker(i){let o=M.backendApiV2+"1.0.0/client/candidate/update_job_seeker/"+i.id;return this.http.put(o,i)}updateCvUploadProfileText(i,o,c){let h=M.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=M.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=M.backendApiV2+"1.0.0/client/candidate/update_profile_text";return this.http.put(o,i)}}function Uc(d,i){const o=d[i];return typeof o=="string"?o:null}class Bb{authService;candidateService;constructor(i=new Vb,o=new Ol){this.authService=i,this.candidateService=o}async login(i,o,c){const g=await this.authService.login(i,o)??{},N=Uc(g,"token");if(!N)return{ok:!1,message:"Login fejlede: token mangler i svaret fra serveren."};const H={id:Uc(g,"id")??"",token:N,email:Uc(g,"email")??i,runOutDate:"forever"};return await ks.setAuthData(H,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 Uf{constructor(i=Qe){this.http=i}searchPlaces(i){const o=M.backendApiV2+"client/google_maps/1.0.0/get_places?query="+encodeURIComponent(i);return this.http.get(o)}getPlaceDetails(i){const o=M.backendApiV2+"client/google_maps/1.0.0/get_place_details?place_id="+encodeURIComponent(i);return this.http.get(o)}}function Hb(d){const i=p.useMemo(()=>new Bb,[]),o=p.useMemo(()=>new Uf,[]),[c,h]=p.useState(""),[g,N]=p.useState(!1),[H,E]=p.useState(""),[j,C]=p.useState(""),[w,V]=p.useState(""),[q,G]=p.useState(""),[Q,me]=p.useState(""),[re,oe]=p.useState(""),[X,se]=p.useState([]),[ne,Z]=p.useState(null),[W,F]=p.useState(""),[P,te]=p.useState(!1),[ue,fe]=p.useState(null),[Ee,we]=p.useState("login");function ae(S){fe(null),we(S)}async function b(S){const U=S.trim();if(U.length<3){se([]);return}try{const ce=((await o.searchPlaces(U)).predictions??[]).filter(ie=>typeof ie.place_id=="string"&&typeof ie.description=="string").map(ie=>({description:ie.description,placeId:ie.place_id}));se(ce)}catch{se([])}}function L(S){const U=S.match(/\b(\d{4})\b/);if(!U)return null;const Y=U[1],ie=S.slice(S.indexOf(Y)+Y.length).trim().split(",")[0]?.trim()||"";return ie?{cityName:ie,zip:Y}:null}async function y(S,U){let Y=U;try{const ie=await o.getPlaceDetails(S);typeof ie.result?.formatted_address=="string"&&ie.result.formatted_address.trim()&&(Y=ie.result.formatted_address.trim())}catch{}const ce=L(Y)??L(U);if(oe(Y),se([]),!ce){Z(null);return}Z({cityName:ce.cityName,description:Y,zip:ce.zip})}async function J(S){S.preventDefault(),N(!0),fe(null);try{const U=await i.login(H.trim(),j,P);fe(U),U.ok&&d?.()}catch(U){const Y=U instanceof Error?U.message:"Login mislykkedes.";fe({ok:!1,message:Y})}finally{N(!1)}}async function $(S){S.preventDefault(),N(!0),fe(null);try{if(!ne){fe({ok:!1,message:"Vaelg en lokation fra listen (med postnummer)."});return}const U=await i.register({email:q.trim(),firstName:w.trim(),lastName:Q.trim(),password:W,subscribe:!0,zip:ne.zip,zipName:ne.cityName});fe(U),U.ok&&we("login")}catch(U){const Y=U instanceof Error?U.message:"Oprettelse mislykkedes.";fe({ok:!1,message:Y})}finally{N(!1)}}async function f(S){S.preventDefault(),N(!0),fe(null);try{const U=await i.forgotPassword(c.trim());fe(U)}catch(U){const Y=U instanceof Error?U.message:"Kunne ikke sende nulstillingslink.";fe({ok:!1,message:Y})}finally{N(!1)}}return{forgotEmail:c,handleForgotSubmit:f,handleLoginSubmit:J,handleRegisterSubmit:$,loading:g,loginEmail:H,loginPassword:j,registerFirstName:w,registerEmail:q,registerLastName:Q,registerLocationQuery:re,registerLocationSuggestions:X,registerPassword:W,rememberMe:P,result:ue,setForgotEmail:h,setLoginEmail:E,setLoginPassword:C,setRegisterEmail:G,setRegisterFirstName:V,setRegisterLastName:me,setRegisterLocationQuery:S=>{oe(S),Z(null),b(S)},setRegisterPassword:F,setRememberMe:te,selectRegisterLocation:y,switchView:ae,view:Ee}}function qb({onAuthenticated:d}){const{forgotEmail:i,handleForgotSubmit:o,handleLoginSubmit:c,handleRegisterSubmit:h,loading:g,loginEmail:N,loginPassword:H,registerFirstName:E,registerEmail:j,registerLastName:C,registerLocationQuery:w,registerLocationSuggestions:V,registerPassword:q,rememberMe:G,result:Q,setForgotEmail:me,setLoginEmail:re,setLoginPassword:oe,setRegisterEmail:X,setRegisterFirstName:se,setRegisterLastName:ne,setRegisterLocationQuery:Z,setRegisterPassword:W,setRememberMe:F,selectRegisterLocation:P,switchView:te,view:ue}=Hb(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:[ue==="login"?a.jsx(Ob,{email:N,loading:g,onChangeEmail:re,onChangePassword:oe,onChangeRememberMe:F,onForgotPassword:()=>te("forgot"),onRegister:()=>te("register"),onSubmit:c,password:H,rememberMe:G}):null,ue==="register"?a.jsx(Ub,{email:j,firstName:E,lastName:C,loading:g,locationQuery:w,locationSuggestions:V,onBackToLogin:()=>te("login"),onChangeEmail:X,onChangeFirstName:se,onChangeLastName:ne,onChangeLocationQuery:Z,onChangePassword:W,onSelectLocation:P,onSubmit:h,password:q}):null,ue==="forgot"?a.jsx(Lb,{email:i,loading:g,onBackToLogin:()=>te("login"),onChangeEmail:me,onSubmit:o}):null,Q?a.jsx("p",{className:Q.ok?"status success":"status error",children:Q.message}):null]},ue)]})}class Rf{constructor(i=Qe){this.http=i}listEscoByParent(i){let o=M.backendApiV2+"1.0.0/client/esco";return i&&(o+="/"+i),this.http.get(o)}listAllEscos(){let i=M.backendApiV2+"1.0.0/client/esco";return this.http.get(i)}}class Gb{constructor(i=Qe){this.http=i}addEscoToJobAgent(i){let o=M.backendApiV2+"1.0.0/client/job_agent_filter",c={esco_id:i};return this.http.post(o,c)}removeJobAgentFilter(i){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+i;return this.http.delete(o)}}class gr{constructor(i=Qe){this.http=i}getPaymentOverview(){let i=M.backendApiV2+"client/end_user_subscription/1.0.0/payment_overview";return this.http.get(i)}getSubscriptionProducts(){let i=M.backendApiV2+"client/end_user_subscription/1.0.0/get_products";return this.http.get(i)}deactivateAutoRenew(){let i=M.backendApiV2+"client/end_user_subscription/1.0.0/deactivate_auto_renew";return this.http.put(i,{})}activateAutoRenew(){let i=M.backendApiV2+"client/end_user_subscription/1.0.0/activate_auto_renew";return this.http.put(i,{})}redeemCode(i){let o=M.backendApiV2+"client/candidate_redeem_code/v1";return this.http.post(o,{code:i})}}class Vf{constructor(i=new Ol,o=new gr,c=new Gb,h=new Rf){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(N=>N.escoId));return o.filter(N=>!g.has(N.id)).filter(N=>N.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 N of g.items)c.push({...N,improvementType:g.type});return c.sort((g,N)=>N.jobChanceIncrease-g.jobChanceIncrease),{...o,improvements:c}})}}class Jb{constructor(i=Qe){this.http=i}saveJobFilter(i){let o=M.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.post(o,i)}getJobFilter(){let i=M.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.get(i)}resetJobFilter(){let i=M.backendApiV2+"1.0.0/client/candidate_search_filter/reset_job_filter";return this.http.put(i,{})}}class ad{http;constructor(i=Qe){this.http=i}getSearchWords(){let i=M.backendApiV2+"1.0.0/client/candidate_search/list_search_words";return this.http.get(i)}getJobs(i,o,c){let h=M.backendApi+"api/1.1.0/jobs/all/"+o+"/"+c;return this.http.post(h,i)}getJobsV2(i,o,c,h){let g=M.backendApiV2+"1.0.0/client/candidate_search/v2/"+i+"/"+o+"/"+c,N=new Ll;return h.length>0&&h.forEach(H=>{N=N.append("terms",H)}),this.http.get(g,{params:N})}getSavedJobs(i,o){let c=M.backendApi+"api/1.1.0/candidate/jobs/saved";return this.http.get(c)}getSavedJobsV2(i,o){let c=M.backendApiV2+"1.0.0/client/job/bookmarked_jobs/"+i+"/"+o;return this.http.get(c)}getAppliedJobs(i,o){let c=M.backendApi+"api/1.1.0/applications/candidate/";return this.http.get(c)}getAppliedJobsV2(i,o){let c=M.backendApiV2+"1.0.0/client/job/applied_jobs/"+i+"/"+o;return this.http.get(c)}payWithStripe(i,o){const c=M.backendApiV2+"1.0.0/client/payment/create-payment-intent",h={paymentMethodId:i,amount:o};return this.http.post(c,h)}bookmarkJob(i){let o=M.backendApi+"api/1.1.0/candidate/jobs/"+i+"/jobnet/updateSavedStatus",c={saved:!0};return this.http.post(o,c)}unbookmarkJob(i){let o=M.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=M.backendApiV2+"1.0.0/client/job/bookmark/"+i,g={job_type:c,save:o};return this.http.post(h,g)}getJobNetJobDetail(i){let o=M.backendApiV2+"1.0.0/client/job/detail/star/"+i;return this.http.get(o)}getJobDetail(i){let o=M.backendApi+"api/1.1.0/jobs/"+i;return this.http.get(o)}getOccupationCategorizations(){let i=M.backendApiV2+"1.0.0/client/ds_tree";return this.http.get(i)}getJobSummary(i){let o=M.backendApi+"api/1.1.0/jobs/"+i+"/summary";return this.http.get(o)}applyJob(i){let o=M.backendApi+"api/1.1.0/applications/job/"+i,c={jobPostingId:i};return this.http.post(o,c)}undoApplyJob(i){let o=M.backendApi+"api/1.1.0/applications/"+i;return this.http.delete(o)}toggleApplyJobnetjob(i,o){let c=M.backendApiV2+"1.0.0/client/job/detail/star/apply/"+i,h={apply:o};return this.http.put(c,h)}}const Rc={escoIds:[],workTypePermanent:!1,workTypePartTime:!1,workDistance:50,partTimeHours:null,distanceCenterName:"",latitude:null,longitude:null};function Ie(d){return typeof d=="string"?d:""}function Nn(d){return typeof d=="object"&&d!==null?d:null}function Vc(d,i){if(!d)return[];const o=d[i];return Array.isArray(o)?o:[]}function Bc(d){if(Array.isArray(d))return d;const i=Nn(d);if(!i)return[];const o=Vc(i,"searchList");if(o.length>0)return o;const c=Nn(i.data),h=Vc(c,"searchList");if(h.length>0)return h;const g=Vc(i,"items");return g.length>0?g:[]}function of(d,i){if(!d)return null;const o=d[i];return typeof o=="number"?o:null}function Yb(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=Yb(c);h.length>0&&i.add(h)}return Array.from(i)}function Wb(d,i){return{id:Ie(d.id),title:Ie(d.title),companyName:Ie(d.companyName),occupationName:Ie(d.occupationName),descriptionIntro:Ie(d.descriptionIntro),address:Ie(d.address),time:Ie(d.time),applicationDeadline:d.applicationDeadline instanceof Date?d.applicationDeadline.toISOString():Ie(String(d.applicationDeadline??"")),candidateDistance:typeof d.candidateDistance=="number"?d.candidateDistance:null,logoUrl:Ie(d.logoUrl),companyLogoImage:Ie(d.companyLogoImage),fromJobnet:!!d.fromJobnet,isSaved:!!d.saved,matchPercent:i}}function cf(d){return{id:Ie(d.id),title:Ie(d.title),companyName:Ie(d.companyName),occupationName:Ie(d.occupationName),descriptionIntro:Ie(d.descriptionIntro),address:Ie(d.address),time:Ie(d.time),applicationDeadline:d.applicationDeadline instanceof Date?d.applicationDeadline.toISOString():Ie(String(d.applicationDeadline??"")),candidateDistance:typeof d.candidateDistance=="number"?d.candidateDistance:null,logoUrl:Ie(d.logoUrl),companyLogoImage:Ie(d.companyLogoImage),isActive:typeof d.isActive=="boolean"?d.isActive:void 0,fromJobnet:!!d.fromJobnet,isSaved:!0}}class xr{constructor(i=new ad,o=new Jb,c=new Uf,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}:{...Rc}}catch{return{...Rc}}}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(),{...Rc}}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 Bc(c).map(g=>cf(g))}if(i==="sogte"){const c=await this.jobService.getAppliedJobsV2(0,100);return Bc(c).map(g=>cf(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,N=120,H=new Set,E=[];let j=[];const C=(i??[]).map(w=>w.trim()).filter(w=>w.length>0);if(C.length>0)j=C;else try{j=(await this.jobService.getSearchWords()).filter(V=>typeof V=="string"&&V.trim().length>0)}catch{j=[]}for(let w=0;w<g&&E.length<N;w+=1){const V=await this.jobService.getJobsV2(c,h,20,j),q=Nn(V),G=Bc(V);for(const oe of G){const X=Nn(oe);if(!X)continue;const se=Nn(X.jobPosting);if(!se)continue;const ne=se;if(!ne.id||H.has(ne.id))continue;H.add(ne.id);const Z=typeof X.total=="number"?X.total:0;E.push(Wb(ne,Math.round(Z*100)))}const Q=of(q,"nextLevel"),me=of(q,"nextOffset");if(G.length===0)break;Q===null||me===null?h+=20:(c=Q,h=me)}return E}}const Kb="/assets/appicon-8UAfw_Cw.png",Xb=[{key:"dashboard",label:"Dashboard",icon:wp},{key:"jobs",label:"Jobs",icon:cr},{key:"cv",label:"CV",icon:Fc},{key:"messages",label:"Beskeder",icon:Mf,badge:"3"}],Zb=[{key:"agents",label:"Jobagenter",icon:lb,dot:!0},{key:"ai-agent",label:"AI-agent",icon:Af,accent:!0},{key:"simulator",label:"Simulator",icon:fp},{key:"subscription",label:"Abonnement",icon:Zc}];function ca({active:d="dashboard",onNavigate:i}){const[o,c]=p.useState(!1);p.useEffect(()=>{c(!1)},[d]),p.useEffect(()=>{if(!o)return;function g(H){H.key==="Escape"&&c(!1)}const N=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",g),()=>{document.body.style.overflow=N,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(An,{size:18,strokeWidth:1.9}):a.jsx(Up,{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:Kb,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:[Xb.map(g=>{const N=g.icon,H=g.key===d;return a.jsxs("button",{type:"button",className:H?"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(N,{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"}),Zb.map(g=>{const N=g.icon,H=g.key===d;return a.jsxs("button",{type:"button",className:H?"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(N,{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(Tn,{size:19,strokeWidth:1.8}),a.jsx("h4",{children:"Pro-medlemskab"}),a.jsx("p",{children:"Faa ubegrænsede simuleringer"})]})]})]})}function da({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(Nb,{size:15,strokeWidth:1.8}):a.jsx(Jp,{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(yn,{size:15,strokeWidth:1.8})]}),a.jsxs("div",{className:"dash-profile-menu",children:[a.jsxs("button",{type:"button",children:[a.jsx(tp,{size:16,strokeWidth:1.8})," Profil"]}),a.jsxs("button",{type:"button",children:[a.jsx(Ef,{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(Mp,{size:16,strokeWidth:1.8})," Log ud"]})]})]})]})}const Fb={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function $b(d){return d.trim().slice(0,1).toUpperCase()||"A"}function Ib(d){return Math.max(68,98-d*4)}function Pb(d,i){const o=i.trim().toLowerCase();return o?d.filter(c=>c.preferedLabelDa.toLowerCase().includes(o)).slice(0,8):[]}function ev({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=p.useMemo(()=>new Vf,[]),N=p.useMemo(()=>new xr,[]),[H,E]=p.useState("Lasse"),[j,C]=p.useState(void 0),[w,V]=p.useState(Fb),[q,G]=p.useState([]),[Q,me]=p.useState(!0),[re,oe]=p.useState(""),[X,se]=p.useState(""),[ne,Z]=p.useState(""),[W,F]=p.useState(""),[P,te]=p.useState(""),[ue,fe]=p.useState(25);p.useEffect(()=>{let y=!0;async function J(){me(!0);const[$,f,S]=await Promise.all([g.getCandidateProfile(),g.loadInitialData(),N.getTabItems("jobs")]);y&&(E($.name),C($.imageUrl),V(f),G(S),me(!1))}return J(),()=>{y=!1}},[g,N]);async function Ee(){const y=await g.loadInitialData();V(y)}async function we(){const y=X.trim()||re.trim()||ne.trim(),J=g.getEscoSuggestions(y,w.escos,w.jobAgentFilters)[0]||Pb(w.escos,y)[0];J&&(await g.addEscoToFilter(J.id),await Ee(),oe(""),se(""),Z(""),F(""),te(""),fe(25))}async function ae(y){await g.setFilterVisibility(y,!y.visible),await Ee()}const b=w.jobAgentFilters,L=(q.length>0?q:[]).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(ca,{active:"agents",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar ai-agent-main",children:[a.jsx(da,{name:H,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(Af,{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:re,onChange:y=>oe(y.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:y=>se(y.target.value),placeholder:"F.eks. React, TypeScript, Tailwind"})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Arbejdsomrade"}),a.jsxs("select",{value:ne,onChange:y=>Z(y.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:W,onChange:y=>F(y.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(_n,{size:16,strokeWidth:1.8}),a.jsx("input",{value:P,onChange:y=>te(y.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:[ue," km"]})]}),a.jsx("input",{type:"range",min:0,max:100,value:ue,onChange:y=>fe(Number(y.target.value))})]})]}),a.jsx("div",{className:"ai-create-actions",children:a.jsxs("button",{type:"button",onClick:()=>{we()},children:[a.jsx(db,{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:[b.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen aktive agenter endnu."}):null,b.map((y,J)=>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 ${J%2===0?"teal":"indigo"}`,children:J%2===0?a.jsx(qp,{size:16,strokeWidth:1.8}):a.jsx(Lf,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:y.escoName}),a.jsx("p",{children:y.isCalculated?"Aktiv siden i går":"Aktiv"})]})]}),a.jsx("button",{type:"button",className:y.visible?"ai-toggle on":"ai-toggle",onClick:()=>{ae(y)},children:a.jsx("span",{})})]}),a.jsxs("div",{className:"ai-tags",children:[a.jsx("span",{children:y.escoName}),a.jsx("span",{children:P||"København"}),a.jsxs("span",{children:[ue," km"]})]})]},y.id))]})]}),a.jsxs("section",{className:"ai-jobs-section",children:[a.jsxs("div",{className:"ai-jobs-head",children:[a.jsxs("h3",{children:[a.jsx(Tn,{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:[Q?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,!Q&&L.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen jobanbefalinger fundet endnu."}):null,L.map((y,J)=>a.jsxs("article",{className:"ai-job-card",role:"button",tabIndex:0,onClick:()=>o(y.id,y.fromJobnet,"agents"),onKeyDown:$=>{($.key==="Enter"||$.key===" ")&&($.preventDefault(),o(y.id,y.fromJobnet,"agents"))},children:[a.jsx("div",{className:`ai-job-rail ${J%3===2?"indigo":"teal"}`}),a.jsxs("div",{className:"ai-job-top",children:[y.companyLogoImage||y.logoUrl?a.jsx("img",{src:y.companyLogoImage||y.logoUrl,alt:y.companyName,className:"ai-company-logo"}):a.jsx("div",{className:"ai-company-logo-fallback",children:$b(y.companyName)}),a.jsxs("div",{className:"ai-match-col",children:[a.jsxs("div",{className:"ai-match-pill",children:[a.jsx(Mn,{size:13,strokeWidth:1.8})," ",Ib(J),"% Match"]}),a.jsxs("small",{children:["Via: ",b[0]?.escoName||"Jobagent"]})]})]}),a.jsxs("div",{className:"ai-job-title-wrap",children:[a.jsx("h4",{children:y.title}),a.jsxs("p",{children:[y.companyName," • ",y.address||"Lokation"]})]}),a.jsxs("div",{className:"ai-job-tags",children:[a.jsx("span",{children:y.occupationName||"Frontend"}),a.jsx("span",{children:y.fromJobnet?"Jobnet":"Arbejd.com"}),a.jsx("span",{children:y.candidateDistance!=null?`${Math.round(y.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:$=>{$.stopPropagation(),o(y.id,y.fromJobnet,"agents")},children:["Læs mere ",a.jsx(El,{size:14,strokeWidth:1.8})]})]})]},y.id))]})]})]})]})}const tv={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function df(){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 av(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 lv(d){return d==="education"?$c:d==="language"?Sn:d==="driversLicense"?Wc:d==="certificate"?Yc:d==="qualification"?Mn:ur}function sv(d){return d==="education"?"blue":d==="language"?"emerald":d==="driversLicense"?"orange":d==="certificate"?"rose":d==="qualification"?"indigo":"slate"}function nv({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=p.useMemo(()=>new Vf,[]),[g,N]=p.useState("Lasse"),[H,E]=p.useState(void 0),[j,C]=p.useState(tv),[w,V]=p.useState(!0),[q,G]=p.useState("");p.useEffect(()=>{let X=!0;async function se(){V(!0);const[ne,Z]=await Promise.all([h.getCandidateProfile(),h.loadInitialData()]);if(!X)return;N(ne.name),E(ne.imageUrl),C(Z);const W=Z.jobAgentFilters[0]?.escoName||df()[1];G(F=>F||W),V(!1)}return se(),()=>{X=!1}},[h]);const Q=j.jobAgentFilters.length>0?j.jobAgentFilters.map(X=>X.escoName):df(),me=j.jobAgentFilters.find(X=>X.escoName===q)||j.jobAgentFilters[0],re=(me?j.cvSuggestions.find(X=>X.escoId===me.escoId)?.improvements:j.cvSuggestions[0]?.improvements)||[],oe=re.length>0?re:[{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(ca,{active:"ai-agent",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar career-main",children:[a.jsx(da,{name:g,imageUrl:H,onLogout:d,theme:c,onToggleTheme:o,actions:a.jsxs("div",{className:"career-status-pill",children:[a.jsx(tt,{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(Mb,{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($x,{size:16,strokeWidth:1.8})," Tilføj ny agent"]})]}),a.jsx("div",{className:"career-agents-list custom-scrollbar",children:Q.map(X=>a.jsxs("button",{type:"button",className:q===X?"active":"",onClick:()=>G(X),children:[a.jsx("span",{children:X}),q===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:q||"Ministerialbetjent"})]}),a.jsxs("button",{type:"button",children:[a.jsx(zf,{size:14,strokeWidth:1.8})," Filtrer"]})]}),w?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,a.jsx("div",{className:"career-cards custom-scrollbar",children:oe.map((X,se)=>{const ne=lv(X.improvementType||"qualification"),Z=av(X.jobChanceIncrease||0),W=sv(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(Tn,{size:16,strokeWidth:1.8})}),a.jsxs("div",{className:"career-card-content",children:[a.jsx("div",{className:`career-card-icon ${W}`,children:a.jsx(ne,{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(Of,{size:13,strokeWidth:1.8}):Z.kind==="neutral"?a.jsx(Mn,{size:13,strokeWidth:1.8}):a.jsx(xb,{size:13,strokeWidth:1.8}),Z.text]})]})]},`${X.name}-${se}`)})})]})]})]})]})}class iv{constructor(i=Qe){this.http=i}generateApplication(i,o,c,h){let g=M.backendApiV2+"1.0.0/client/ai_handler/create_my_application",N={isStar:i,jobId:o,language:c,userInput:h};return this.http.post(g,N)}listGeneratedJobApplications(i){let o=M.backendApiV2+"1.0.0/client/ai_handler/list_created_job_application/"+i;return this.http.get(o)}listPredefinedUserInput(){let i=M.backendApiV2+"1.0.0/client/ai_handler/list_predefined_user_input";return this.http.get(i)}getJobApplication(i){let o=M.backendApiV2+"1.0.0/client/ai_handler/"+i;return this.http.get(o)}updateMyCvDescriptions(i){let o=M.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=M.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=M.backendApiV2+"1.0.0/client/ai_handler/get_my_cv_descriptions";return this.http.get(i)}submitJobApplicationRating(i,o,c){let h=M.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=M.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=M.backendApiV2+"1.0.0/client/ai_handler/application_examination/"+encodeURIComponent(i);return this.http.get(o)}getApplicationExaminationByJobApplicationId(i){const o=M.backendApiV2+"1.0.0/client/ai_handler/application_examination_by_job_application/"+i;return this.http.get(o)}}class rv{constructor(i=Qe){this.http=i}searchForCertification(i){let o=encodeURIComponent(i),c=M.backendApiV2+`1.0.0/client/certificate?search_text=${o}`;return this.http.get(c)}saveCertification(i){let o=M.backendApiV2+"1.0.0/client/candidate_certificate",c={qualification_id:i};return this.http.post(o,c)}updateCertification(i){let o=M.backendApiV2+"1.0.0/client/candidate_certificate/"+i.id,c=i;return this.http.put(o,c)}removeCertification(i){let o=M.backendApiV2+"1.0.0/client/candidate_certificate/"+i;return this.http.delete(o)}addUnknownCertificate(i){let o=M.backendApiV2+"1.0.0/client/certificate",c={certificate_name:i};return this.http.post(o,c)}}class ov{constructor(i=Qe){this.http=i}sendMyCvToEmail(){let i=M.backendApi+"api/1.1.0/candidate/sendPdf",o={};return this.http.post(i,o)}getMyCv(){let i=M.backendApiV2+"1.0.0/client/candidate/pdf";return this.http.get(i,{responseType:"blob"})}getMyCvV2(i){let o=M.backendApiV2+"1.0.0/client/candidate/pdf_url?language="+i;return this.http.get(o)}generateCv(i){let o=M.backendApiV2+"1.0.0/client/candidate/generateCv",c={language:i};return this.http.post(o,c)}}class cv{constructor(i=Qe,o=ks){this.http=i,this.localStorageService=o}uploadCv(i,o){const c=M.backendApiV2+"1.0.0/client/cv_upload";return this.http.post(c,i,{headers:{Authorization:`Bearer ${o}`}})}getCvUploadData(){let i=M.backendApiV2+"1.0.0/client/cv_upload/get_upload_cv";return this.http.get(i)}setProfileTextToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/profile_text_is_done/"+i,c={};return this.http.put(o,c)}setExperienceToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/experience_is_done/"+i,c={};return this.http.put(o,c)}setEducationToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/education_is_done/"+i,c={};return this.http.put(o,c)}setQualificationToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/qualification_is_done/"+i,c={};return this.http.put(o,c)}setCertificateToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/certificate_is_done/"+i,c={};return this.http.put(o,c)}setLanguageToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/language_is_done/"+i,c={};return this.http.put(o,c)}setDriversLicenseToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/drivers_license_is_done/"+i,c={};return this.http.put(o,c)}setCvUploadToDone(i){let o=M.backendApiV2+"1.0.0/client/cv_upload/cv_is_done/"+i,c={};return this.http.put(o,c)}}class dv{constructor(i=Qe){this.http=i}getAllDriverLicenses(){let i=M.backendApi+"api/1.1.0/driversLicenses";return this.http.get(i)}updateDriverLicense(i,o){let c=M.backendApi+"api/1.1.0/candidate/driversLicense/"+i,h={};return this.http.put(c,h)}removeLanguage(i){let o=M.backendApiV2+"1.0.0/client/candidate_drivers_license/"+i;return this.http.delete(o)}saveDriverLicense(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate_drivers_license",h={level:i,drivers_license_id:o};return this.http.post(c,h)}}class uv{constructor(i=Qe){this.http=i}searchForEducations(i){let o=M.backendApi+"api/1.1.0/educations/search/"+i;return this.http.get(o)}searchForSchools(i){let o=M.backendApi+"api/1.1.0/institutions/search/"+i;return this.http.get(o)}saveEducation(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate_education/"+i;return this.http.delete(o)}updateEducation(i,o,c){let h=M.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=M.backendApi+"api/1.1.0/educations/suggestions/occupation/"+i;return this.http.get(o)}saveUnknownEducation(i){let o=M.backendApiV2+"1.0.0/client/education/save_unknown_education",c={education_name:i};return this.http.post(o,c)}saveEducationV2(i,o){let c=M.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 mv{constructor(i=Qe){this.http=i}getAllLanguages(){let i=M.backendApi+"api/1.1.0/languages";return this.http.get(i)}saveLanguage(i,o){let c=M.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=M.backendApiV2+"1.0.0/client/candidate_language/"+i,g={level:o};return this.http.put(h,g)}removeLanguage(i){let o=M.backendApiV2+"1.0.0/client/candidate_language/"+i;return this.http.delete(o)}saveLanguageV2(i,o){let c=M.backendApiV2+"1.0.0/client/candidate_language",h={language_id:o,level:i};return this.http.post(c,h)}}class hv{constructor(i=Qe){this.http=i}searchForQualification(i){let o=M.backendApi+"api/1.1.0/qualifications/type/3/search/"+i;return this.http.get(o)}updateQualification(i,o){let c=M.backendApiV2+"1.0.0/client/candidate_qualification/"+i,h={level:o};return this.http.put(c,h)}saveQualification(i){let o=M.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=M.backendApiV2+"1.0.0/client/candidate_qualification/"+i;return this.http.delete(o)}getQualificationsOccupationSuggestions(i,o){let c=M.backendApi+"api/1.1.0/qualifications/type/"+o+"/suggestions/occupation/"+i;return this.http.get(c)}addUnknownQualification(i){let o=M.backendApi+"api/1.1.0/qualifications/type/3/fromCandidate",c={name:i,type:3};return this.http.post(o,c)}saveQualificationV2(i){let o=M.backendApiV2+"1.0.0/client/candidate_qualification",c={level:i.level,qualification_id:i.qualification_id};return this.http.post(o,c)}}class fv{constructor(i=Qe){this.http=i}addUnknownOccupation(i){let o=M.backendApi+"api/1.1.0/occupations/fromCandidate",c={name:i};return this.http.post(o,c)}}class gv{constructor(i=Qe){this.http=i}saveUnknownInstitution(i){let o=M.backendApiV2+"1.0.0/client/institution/save_unknown_institution",c={institution_name:i};return this.http.post(o,c)}}class xv{constructor(i=new Ol,o=new ov,c=new cv,h=new gr,g=new iv,N=new uv,H=new hv,E=new rv,j=new mv,C=new dv,w=new Rf,V=new fv,q=new gv,G=ks){this.candidateService=i,this.cvService=o,this.cvUploadService=c,this.subscriptionService=h,this.aiHandlerService=g,this.educationService=N,this.qualificationService=H,this.certificationService=E,this.languageService=j,this.driverLicenseService=C,this.escoService=w,this.occupationService=V,this.institutionService=q,this.localStorageService=G}escosCache=null;async getSnapshot(){const[i,o,c,h,g,N,H,E,j,C]=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:N.status==="fulfilled"?N.value:[],driverLicenses:H.status==="fulfilled"?H.value:[],paymentOverview:E.status==="fulfilled"?E.value:null,cvUploadData:j.status==="fulfilled"?j.value:null,aiGeneratedCVDescription:C.status==="fulfilled"&&C.value?.id?C.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 pv={candidate:null,experiences:[],educations:[],skills:[],certifications:[],languages:[],driverLicenses:[],paymentOverview:null,cvUploadData:null,aiGeneratedCVDescription:null},bv=[{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."}],vv=[{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#."}],jv=["HTML","CSS","JavaScript","TypeScript","React","Vue.js","Frontend Udvikling","Backend Udvikling","Node.js","Agile/Scrum","UI/UX Design","Salg","Projektledelse","Kundeservice","SEO"];function zn(d){if(!d)return null;const i=d instanceof Date?d:new Date(d);return Number.isNaN(i.getTime())?null:i}function uf(d){const i=zn(d);return i?new Intl.DateTimeFormat("da-DK",{month:"short",year:"numeric"}).format(i):"Ukendt"}function mf(d,i,o){const c=uf(d),h=o?"Nu":uf(i);return`${c} - ${h}`}function yv(d){const i=zn(d);return i?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(i):"Ikke angivet"}function kv(d){const i=zn(d);if(!i)return"";const o=i.getFullYear(),c=String(i.getMonth()+1).padStart(2,"0"),h=String(i.getDate()).padStart(2,"0");return`${o}-${c}-${h}`}function hf(d){return[...d].sort((i,o)=>{const c=zn(i.fromDate)?.getTime()??0;return(zn(o.fromDate)?.getTime()??0)-c})}function Nv(d){return d.qualification?.name||"Kvalifikation"}function wv(d){return d.qualification?.name||d.levelName||"Certificering"}function Sv(d){return d.driversLicense?.name||d.levelName||"Korekort"}function _v(d){return d.levelName||"Niveau ukendt"}function Av({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=p.useMemo(()=>new xv,[]),[g,N]=p.useState("standard"),[H,E]=p.useState(pv),[j,C]=p.useState(!0),[w,V]=p.useState(!1),[q,G]=p.useState("menu"),[Q,me]=p.useState(""),[re,oe]=p.useState(""),[X,se]=p.useState(""),[ne,Z]=p.useState(""),[W,F]=p.useState(!1),[P,te]=p.useState(""),[ue,fe]=p.useState(""),[Ee,we]=p.useState([]),[ae,b]=p.useState(""),[L,y]=p.useState(""),[J,$]=p.useState(""),[f,S]=p.useState(""),[U,Y]=p.useState(""),[ce,ie]=p.useState(""),[Se,at]=p.useState(""),[Ge,Ea]=p.useState(""),[La,rl]=p.useState(!1),[ea,Zt]=p.useState(()=>new Date().getFullYear()),[Lt,ua]=p.useState(()=>new Date().getMonth()),[pr,Ns]=p.useState(""),[Ul,Rl]=p.useState(""),[ws,Ln]=p.useState(""),[ol,ft]=p.useState(null),[On,Un]=p.useState(""),[Ss,Vl]=p.useState(""),[Rn,Vn]=p.useState(""),[Bn,br]=p.useState("");p.useEffect(()=>{let A=!0;return h.getSnapshot().then(De=>{A&&E(De)}).finally(()=>{A&&C(!1)}),()=>{A=!1}},[h]),p.useEffect(()=>{if(!w)return;const A=document.body.style.overflow;document.body.style.overflow="hidden";const De=st=>{st.key==="Escape"&&V(!1)};return window.addEventListener("keydown",De),()=>{document.body.style.overflow=A,window.removeEventListener("keydown",De)}},[w]),p.useEffect(()=>()=>{ol&&URL.revokeObjectURL(ol)},[ol]),p.useEffect(()=>{if(!La)return;const A=De=>{De.target?.closest(".cv-birthday-picker")||rl(!1)};return document.addEventListener("click",A),()=>document.removeEventListener("click",A)},[La]);const Ve=H.candidate,lt=Ve?.address,Ot=Ve?.firstName?.trim()||Ve?.name?.trim()||"Lasse",gt=Ve?.firstName||"Lasse",vr=Ve?.lastName||"Hansen",cl=Ve?.imageUrl||Ve?.image||"",Hn=H.experiences.length>0?hf(H.experiences):[],dl=H.educations.length>0?hf(H.educations):[],ul=H.skills,ml=H.languages,Ft=H.certifications,hl=H.driverLicenses,fl=ml.length>0?ml.map(A=>({id:A.id,name:A.language?.name||"Sprog",level:_v(A)})):[{id:"da",name:"Dansk",level:"Modersmal"},{id:"en",name:"Engelsk",level:"Flydende"}],jr=q==="experience"?!!(Q.trim()&&re.trim()&&X):q==="personal"?!!(ae.trim()&&L.trim()&&J.trim()):q==="language"?!!(On.trim()&&Ss.trim()):q==="driverLicense"?!!Rn.trim():q==="certification"?!!Bn.trim():!0,_s=jv.filter(A=>!Ee.includes(A)&&A.toLowerCase().includes(ue.toLowerCase())),As=()=>{V(!0),G("menu")},ta=()=>{V(!1),G("menu")},ma=A=>{G(A)},qn=A=>{we(De=>De.filter(st=>st!==A))},Gn=A=>{we(De=>De.includes(A)?De:[...De,A]),fe("")};p.useEffect(()=>{!Ve||w||(b(Ve.firstName||""),y(Ve.lastName||""),$(Ve.email||""),S(Ve.phoneNumber||""),Y(kv(Ve.birthday)),ie(Ve.gender||""),at(lt?.zip||""),Ea(lt?.zipName||lt?.additionalCityName||""),Ns(Ve.personalDescription||""),Rl(cl||""),Ln(""))},[Ve,lt,w,cl]);const Jn=A=>{const De=A.target.files?.[0];if(!De)return;ol&&URL.revokeObjectURL(ol);const st=URL.createObjectURL(De);ft(st),Rl(st),Ln(De.name)},St=U?new Date(`${U}T00:00:00`):null,zs=St?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(St):"Vælg dato",Yn=new Intl.DateTimeFormat("da-DK",{month:"long"}).format(new Date(ea,Lt,1)),Ut=(new Date(ea,Lt,1).getDay()+6)%7,Pe=new Date(ea,Lt+1,0).getDate(),mt=Array.from({length:Ut+Pe},(A,De)=>De<Ut?null:De-Ut+1),Oa=()=>{St&&(Zt(St.getFullYear()),ua(St.getMonth())),rl(!0)},Cs=A=>{const De=String(Lt+1).padStart(2,"0"),st=String(A).padStart(2,"0");Y(`${ea}-${De}-${st}`),rl(!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(ca,{active:"cv",onNavigate:i}),a.jsxs("main",{className:`dash-main custom-scrollbar cv-page ${g==="reference"?"cv-design-reference":""}`,children:[a.jsx(da,{name:Ot,imageUrl:cl||void 0,onLogout:d,theme:c,onToggleTheme:o,actions:a.jsxs("button",{type:"button",className:"cv-design-toggle",onClick:()=>N(A=>A==="standard"?"reference":"standard"),children:[g==="reference"?a.jsx(Cf,{size:16,strokeWidth:1.8}):a.jsx(Df,{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",onClick:As,children:[a.jsx(Zp,{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:cl?a.jsx("img",{src:cl,alt:Ot,className:"cv-avatar"}):a.jsx("div",{className:"cv-avatar cv-avatar-fallback",children:Ot.slice(0,1).toUpperCase()})}),a.jsxs("div",{className:"cv-section-head",children:[a.jsx(il,{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:gt})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Efternavn"}),a.jsx("strong",{children:vr})]}),a.jsxs("div",{children:[a.jsx("span",{children:"E-mail"}),a.jsx("strong",{children:Ve?.email||"lasse@eksempel.dk"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Telefon"}),a.jsx("strong",{children:Ve?.phoneNumber||"+45 12 34 56 78"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Fodselsdato"}),a.jsx("strong",{children:yv(Ve?.birthday)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kon"}),a.jsx("strong",{children:Ve?.gender||"Mand"})]})]})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(ur,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Kvalifikationer"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(ul.length>0?ul.map(Nv):["HTML & CSS","Tailwind CSS","JavaScript","React","UI/UX Design"]).slice(0,12).map(A=>a.jsx("span",{className:"cv-chip",children:A},A))})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(Sn,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Sprog"})]}),a.jsx("div",{className:"cv-language-list",children:fl.map(A=>a.jsxs("div",{children:[a.jsx("strong",{children:A.name}),a.jsx("span",{children:A.level})]},A.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(Yc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Certificeringer"})]}),a.jsxs("ul",{className:"cv-list",children:[(Ft.length>0?Ft:[]).slice(0,4).map(A=>a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8})," ",wv(A)]},A.id)),Ft.length===0?a.jsxs(a.Fragment,{children:[a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8})," AWS Certified Developer"]}),a.jsxs("li",{children:[a.jsx(tt,{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(Wc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Korekort"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(hl.length>0?hl.map(Sv):["B (Almindelig bil)","A (Motorcykel)"]).map(A=>a.jsx("span",{className:"cv-chip",children:A},A))})]})]})]}),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(cr,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Erhvervserfaring"})]}),a.jsx("div",{className:"cv-timeline",children:(Hn.length>0?Hn:bv).map((A,De)=>{const st="occupation"in A?A.occupation?.name||"Stilling":A.title,ha="companyName"in A?A.companyName:A.company,gl="comments"in A?A.comments:A.description,aa="fromDate"in A?A.fromDate:A.from,la="toDate"in A?A.toDate:A.to,fa="isCurrent"in A?!!A.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(Fc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:st}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:ha}),a.jsx("span",{children:mf(aa,la,fa)})]}),a.jsx("p",{children:gl||"Ingen beskrivelse."})]})]},"id"in A?String(A.id):`exp-${De}`)})})]}),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($c,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Uddannelse"})]}),a.jsx("div",{className:"cv-timeline",children:(dl.length>0?dl:vv).map((A,De)=>{const st="education"in A?A.education?.name||"Uddannelse":A.title,ha="institution"in A?A.institution?.name||"Institution":A.school,gl="comments"in A?A.comments:A.description,aa="fromDate"in A?A.fromDate:A.from,la="toDate"in A?A.toDate:A.to,fa="isCurrent"in A?!!A.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(Fc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:st}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:ha}),a.jsx("span",{children:mf(aa,la,fa)})]}),a.jsx("p",{children:gl||"Ingen beskrivelse."})]})]},"id"in A?String(A.id):`edu-${De}`)})})]})]})]})]}),w?a.jsx("div",{className:"cv-modal-overlay",onClick:ta,role:"presentation",children:a.jsxs("div",{className:"cv-modal",onClick:A=>A.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":"Rediger CV",children:[a.jsxs("div",{className:"cv-modal-header",children:[a.jsxs("div",{className:"cv-modal-title-wrap",children:[q!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:()=>G("menu"),"aria-label":"Tilbage",children:a.jsx(Dn,{size:18,strokeWidth:1.8})}):null,a.jsxs("h2",{children:[q==="menu"&&"Tilføj til CV",q==="experience"&&"Tilføj Erhvervserfaring",q==="education"&&"Tilføj Uddannelse",q==="personal"&&"Opdater Personlige Oplysninger",q==="skills"&&"Tilføj Kvalifikationer",q==="language"&&"Tilføj Sprog",q==="driverLicense"&&"Tilføj Kørekort",q==="certification"&&"Tilføj Certifikat"]})]}),a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:ta,"aria-label":"Luk",children:a.jsx(An,{size:18,strokeWidth:1.8})})]}),a.jsxs("div",{className:"cv-modal-body custom-scrollbar",children:[q==="menu"?a.jsxs("div",{className:"cv-wizard-grid",children:[a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-cyan",onClick:()=>ma("personal"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(il,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Personlige oplysninger"}),a.jsx("p",{children:"Opdater kontaktinfo, billede og grundlæggende detaljer."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-teal",onClick:()=>ma("experience"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(cr,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Erhvervserfaring"}),a.jsx("p",{children:"Tilføj tidligere eller nuværende jobs og ansvarsområder."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-indigo",onClick:()=>ma("education"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx($c,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Uddannelse"}),a.jsx("p",{children:"Tilføj skoler, universiteter og studieretninger."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-amber",onClick:()=>ma("skills"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(ur,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Kvalifikationer"}),a.jsx("p",{children:"Fremhæv dine faglige færdigheder og kompetencer."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-cyan",onClick:()=>ma("language"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(Sn,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Sprog"}),a.jsx("p",{children:"Tilføj sprog og dit niveau."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-indigo",onClick:()=>ma("driverLicense"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(Wc,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Kørekort"}),a.jsx("p",{children:"Tilføj de kørekortkategorier du har."})]}),a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-teal",onClick:()=>ma("certification"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(Yc,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Certifikater"}),a.jsx("p",{children:"Tilføj relevante certificeringer."})]})]}):null,q==="personal"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:A=>A.preventDefault(),children:[a.jsxs("div",{className:"cv-upload-wrap",children:[a.jsx("div",{className:"cv-upload-preview",children:Ul?a.jsx("img",{src:Ul,alt:"Profil"}):a.jsx(il,{size:30,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-upload-meta",children:[a.jsxs("label",{className:"cv-upload-btn",children:[a.jsx("input",{type:"file",accept:"image/*",onChange:Jn}),"Upload billede"]}),a.jsx("small",{children:ws||"PNG/JPG op til 5MB"})]})]}),a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Fornavn *"}),a.jsx("input",{value:ae,onChange:A=>b(A.target.value),placeholder:"Fornavn"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Efternavn *"}),a.jsx("input",{value:L,onChange:A=>y(A.target.value),placeholder:"Efternavn"})]})]}),a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"E-mail *"}),a.jsx("input",{type:"email",value:J,onChange:A=>$(A.target.value),placeholder:"mail@eksempel.dk"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Telefon"}),a.jsx("input",{value:f,onChange:A=>S(A.target.value),placeholder:"+45 12 34 56 78"})]})]}),a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Fødselsdato"}),a.jsxs("div",{className:"cv-birthday-picker",children:[a.jsxs("button",{type:"button",className:"cv-birthday-trigger",onClick:Oa,children:[a.jsx(or,{size:16,strokeWidth:1.8}),a.jsx("span",{children:zs})]}),La?a.jsxs("div",{className:"cv-birthday-popover",children:[a.jsxs("div",{className:"cv-birthday-header",children:[a.jsx("button",{type:"button",onClick:()=>{if(Lt===0){ua(11),Zt(A=>A-1);return}ua(A=>A-1)},children:a.jsx(Gx,{size:16,strokeWidth:1.8})}),a.jsxs("strong",{children:[Yn," ",ea]}),a.jsx("button",{type:"button",onClick:()=>{if(Lt===11){ua(0),Zt(A=>A+1);return}ua(A=>A+1)},children:a.jsx(Yx,{size:16,strokeWidth:1.8})})]}),a.jsxs("div",{className:"cv-birthday-weekdays",children:[a.jsx("span",{children:"Ma"}),a.jsx("span",{children:"Ti"}),a.jsx("span",{children:"On"}),a.jsx("span",{children:"To"}),a.jsx("span",{children:"Fr"}),a.jsx("span",{children:"Lø"}),a.jsx("span",{children:"Sø"})]}),a.jsx("div",{className:"cv-birthday-days",children:mt.map((A,De)=>{if(!A)return a.jsx("span",{className:"cv-birthday-empty"},`empty-${De}`);const st=St?St.getFullYear()===ea&&St.getMonth()===Lt&&St.getDate()===A:!1;return a.jsx("button",{type:"button",className:st?"is-selected":"",onClick:()=>Cs(A),children:A},`${ea}-${Lt}-${A}`)})})]}):null]})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Køn"}),a.jsx("input",{value:ce,onChange:A=>ie(A.target.value),placeholder:"F.eks. Mand/Kvinde/Andet"})]})]}),a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Postnummer"}),a.jsx("input",{value:Se,onChange:A=>at(A.target.value),placeholder:"F.eks. 2100"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"By"}),a.jsx("input",{value:Ge,onChange:A=>Ea(A.target.value),placeholder:"F.eks. København Ø"})]})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Personlig beskrivelse"}),a.jsx("textarea",{rows:4,value:pr,onChange:A=>Ns(A.target.value),placeholder:"Kort beskrivelse af dig selv..."})]})]}):null,q==="experience"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:A=>A.preventDefault(),children:[a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Stillingstitel *"}),a.jsx("input",{value:Q,onChange:A=>me(A.target.value),placeholder:"F.eks. Frontend Udvikler"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Virksomhed *"}),a.jsx("input",{value:re,onChange:A=>oe(A.target.value),placeholder:"F.eks. Arbejd.com"})]})]}),a.jsxs("div",{className:"cv-wizard-grid-2",children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Startdato *"}),a.jsxs("div",{className:"cv-field-icon-wrap",children:[a.jsx(or,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"month",value:X,onChange:A=>se(A.target.value)})]})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Slutdato"}),a.jsxs("div",{className:"cv-field-icon-wrap",children:[a.jsx(or,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"month",value:ne,onChange:A=>Z(A.target.value),disabled:W})]})]})]}),a.jsxs("label",{className:"cv-wizard-checkbox",children:[a.jsx("input",{type:"checkbox",checked:W,onChange:A=>{F(A.target.checked),A.target.checked&&Z("")}}),a.jsx("span",{children:"Jeg arbejder her stadig"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Beskrivelse"}),a.jsx("textarea",{rows:4,value:P,onChange:A=>te(A.target.value),placeholder:"Beskriv dine primære opgaver og resultater..."})]}),a.jsxs("div",{className:"cv-field",children:[a.jsx("span",{children:"Faerdigheder (ESCO)"}),a.jsx("div",{className:"cv-skill-pills",children:Ee.map(A=>a.jsxs("span",{className:"cv-skill-pill",children:[A,a.jsx("button",{type:"button",onClick:()=>qn(A),"aria-label":`Fjern ${A}`,children:a.jsx(An,{size:12,strokeWidth:2})})]},A))}),a.jsxs("div",{className:"cv-skill-search",children:[a.jsx(dr,{size:16,strokeWidth:1.8}),a.jsx("input",{value:ue,onChange:A=>fe(A.target.value),placeholder:"Søg færdigheder (f.eks. JavaScript, Salg...)"})]}),ue.trim().length>0?a.jsx("div",{className:"cv-skill-dropdown custom-scrollbar",children:_s.length>0?_s.map(A=>a.jsx("button",{type:"button",onClick:()=>Gn(A),children:A},A)):a.jsx("span",{className:"cv-skill-empty",children:"Ingen resultater fundet."})}):null]})]}):null,q==="education"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Uddannelsesformularen bliver tilfoejet i naeste iteration."}):null,q==="skills"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Kvalifikationsformularen bliver tilfoejet i naeste iteration."}):null,q==="language"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:A=>A.preventDefault(),children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Sprog *"}),a.jsx("input",{value:On,onChange:A=>Un(A.target.value),placeholder:"F.eks. Engelsk"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Niveau *"}),a.jsx("input",{value:Ss,onChange:A=>Vl(A.target.value),placeholder:"F.eks. Flydende"})]})]}):null,q==="driverLicense"?a.jsx("form",{className:"cv-wizard-form",onSubmit:A=>A.preventDefault(),children:a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Kørekortkategori *"}),a.jsx("input",{value:Rn,onChange:A=>Vn(A.target.value),placeholder:"F.eks. B (Almindelig bil)"})]})}):null,q==="certification"?a.jsx("form",{className:"cv-wizard-form",onSubmit:A=>A.preventDefault(),children:a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Certifikat *"}),a.jsx("input",{value:Bn,onChange:A=>br(A.target.value),placeholder:"F.eks. AWS Certified Developer"})]})}):null]}),a.jsxs("div",{className:"cv-modal-footer",children:[a.jsx("button",{type:"button",className:"cv-modal-cancel",onClick:ta,children:"Annuller"}),q!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-save",disabled:!jr,onClick:ta,children:"Gem aendringer"}):null]})]})}):null]})}class zv{constructor(i=Qe){this.http=i}getNotificationSetting(){const i=M.backendApiV2+"2.0.0/client/notification/settings";return this.http.get(i)}createNotificationSetting(i){const o=M.backendApiV2+"2.0.0/client/notification/settings";return this.http.post(o,i)}updateNotificationSetting(i,o){const c=M.backendApiV2+"2.0.0/client/notification/settings/"+i;return this.http.put(c,o)}deleteNotificationSetting(i){const o=M.backendApiV2+"2.0.0/client/notification/settings/"+i;return this.http.delete(o)}getNewNotificationCount(){let i=M.backendApiV2+"1.0.0/client/notification/unseen_notifications";return this.http.get(i)}getNotifications(i,o){let c=M.backendApiV2+"1.0.0/client/notification/"+i+"/"+o;return this.http.get(c)}notificationSeenByUser(i){let o=M.backendApiV2+"1.0.0/client/notification/seen_by_user/"+i,c={};return this.http.put(o,c)}}class ld{constructor(i=Qe,o=ks){this.http=i,this.localStorage=o}listSimulationPersonalities(){let i=M.backendApiV2+"client/simulation/1.0.0/list_simulation_personalities",o=new Ll().set("language","da");return this.http.get(i,{params:o})}getInterviewEvaluation(i){const o=M.backendApiV2+`client/simulation/1.0.0/interview_evaluation/${i}`;return this.http.get(o)}listInterviews(i=20,o=0){const c=M.backendApiV2+"client/job_simulator/1.0.0/list_interviews",h=new Ll().set("limit",i.toString()).set("offset",o.toString());return this.http.get(c,{params:h})}submitEvaluationRating(i,o,c){const h=M.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=M.backendApiV2+"client/simulation/1.0.0/interview_rating",g={interview_id:i,rating:o,rating_text:c};return this.http.post(h,g)}}class Cv{constructor(i=Qe){this.http=i}chatMessageThreads=[];getChatMessages(){let i=M.backendApi+"api/1.1.0/chatMessages/forCandidate/";return this.http.get(i)}sendMessage(i){let o=M.backendApi+"api/1.1.0/chatMessages/"+i.threadId+"/fromCandidate";return this.http.post(o,i)}markThreadRead(i){let o=M.backendApi+"api/1.1.0/chatMessages/markRead/"+i;return this.http.get(o)}}class Dv{constructor(i=Qe){this.http=i}getUnreadMessages(){let i=M.backendApi+"api/1.1.0/chatMessages/getUnreadCount";return this.http.get(i)}}function ir(d){if(!d)return 0;const o=(d instanceof Date?d:new Date(d)).getTime();return Number.isNaN(o)?0:o}function Hc(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 Bf{constructor(i=new Cv,o=new Dv,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=>Hc(g,o.id));c.sort((g,N)=>ir(g.timeSent)-ir(N.timeSent));const h=o.latestMessage?Hc(o.latestMessage,o.id):c[c.length-1]??Hc(void 0,o.id);return{...o,allMessages:c,latestMessage:h}}).sort((o,c)=>ir(c.latestMessage?.timeSent)-ir(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 Cn(d){return typeof d=="object"&&d!==null?d:null}function Xt(d){return typeof d=="string"?d:""}function Tv(d){return typeof d=="number"?d:null}function Mv(d){const i=Cn(d);if(!i)return null;const c=Cn(i.jobPosting)??i,h=Xt(c.id);return h?{id:h,title:Xt(c.title),companyName:Xt(c.companyName),address:Xt(c.address),applicationDeadline:Xt(c.applicationDeadline),candidateDistance:Tv(c.candidateDistance),fromJobnet:!!c.fromJobnet,logoUrl:Xt(c.logoUrl),companyLogoImage:Xt(c.companyLogoImage)}:null}function Ev(d){const i=Cn(d);return(Array.isArray(i?.interviews)?i.interviews:[]).map(c=>{const h=Cn(c);if(!h)return null;const g=Xt(h.id);return g?{id:g,jobName:Xt(h.job_name)||"Interview",companyName:Xt(h.company_name)||null,interviewDate:Xt(h.interview_date)||null,recommendation:Xt(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 Lv(d){const i=Cn(d);return i?Array.isArray(i.searchList)?i.searchList:[]:[]}class Ov{constructor(i=new Ol,o=new zv,c=new ad,h=new gr,g=new ld,N=new Bf){this.candidateService=i,this.notificationService=o,this.jobService=c,this.subscriptionService=h,this.simulationService=g,this.messagesViewModel=N}async loadInitialData(){const[i,o,c,h,g,N]=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:N.status==="fulfilled"?Ev(N.value):[]}}async loadBestJobs(){const i=await this.jobService.getJobsV2(10,0,5,[]);return Lv(i).map(c=>Mv(c)).filter(c=>!!c).slice(0,5)}}const Uv={bestJobs:[],candidate:null,evaluations:[],messages:[],notifications:[],subscription:null};function ff(d){return d.trim().slice(0,1).toUpperCase()||"A"}function Rv({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=p.useMemo(()=>new Ov,[]),[N,H]=p.useState(Uv),[E,j]=p.useState(!0);p.useEffect(()=>{let V=!0;return g.loadInitialData().then(q=>{V&&H(q)}).finally(()=>{V&&j(!1)}),()=>{V=!1}},[g]);const C=N.candidate?.firstName?.trim()||N.candidate?.name?.trim()||"Lasse",w=N.candidate?.imageUrl||N.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(ca,{active:"dashboard",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(da,{name:C,imageUrl:w||void 0,onLogout:d,theme:h,onToggleTheme:c}),a.jsxs("div",{className:"dash-welcome",children:[a.jsxs("h1",{children:["Velkommen tilbage ",C," ",a.jsx("span",{children:"👋"})]}),a.jsx("p",{children:"Her er, hvad der sker med din jobsøgning i dag."})]}),E?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:(N.bestJobs.length>0?N.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(V=>a.jsxs("div",{className:"dash-job-item",role:"button",tabIndex:0,onClick:()=>o(V.id,!!V.fromJobnet,"dashboard"),onKeyDown:q=>{(q.key==="Enter"||q.key===" ")&&(q.preventDefault(),o(V.id,!!V.fromJobnet,"dashboard"))},children:[a.jsxs("div",{className:"dash-job-left",children:[a.jsx("div",{className:"dash-company-chip",children:ff(V.companyName)}),a.jsxs("div",{children:[a.jsx("h4",{children:V.title}),a.jsxs("p",{children:[V.companyName," • ",V.address||"Lokation ikke angivet"]})]})]}),a.jsx("button",{type:"button",className:"dash-job-arrow-btn","aria-label":"Se job",onClick:q=>{q.stopPropagation(),o(V.id,!!V.fromJobnet,"dashboard")},children:a.jsx(El,{size:16,strokeWidth:1.8})})]},V.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:[(N.messages.length>0?N.messages:[]).slice(0,5).map(V=>a.jsxs("div",{className:"dash-message-item",children:[a.jsx("div",{className:"dash-avatar",children:ff(V.companyName||"A")}),a.jsxs("div",{children:[a.jsx("h4",{children:V.companyName||"Samtale"}),a.jsx("p",{children:V.latestMessage?.text||"Ingen besked endnu"})]})]},V.id)),N.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(Pp,{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(Xc,{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(Db,{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(tb,{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(Xc,{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(Mf,{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(Tn,{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(_x,{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(Nx,{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(dp,{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(Lf,{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(Cp,{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(Ef,{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(_n,{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(Ic,{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(_n,{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 En(){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 Vv="/assets/screen1-DC5nwwU7.png",Bv="/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 Hv=["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 qv(){const[d,i]=p.useState(!1),[o,c]=p.useState(!1),[h,g]=p.useState(!1),[N,H]=p.useState(!1),[E,j]=p.useState(!1);return p.useEffect(()=>{if(!d)return;const C=document.body.style.overflow;document.body.style.overflow="hidden";function w(V){V.key==="Escape"&&i(!1)}return window.addEventListener("keydown",w),()=>{document.body.style.overflow=C,window.removeEventListener("keydown",w)}},[d]),p.useEffect(()=>{function C(){window.innerWidth>990&&(i(!1),j(!1),H(!1))}return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[]),p.useEffect(()=>{function C(w){const V=w.target;V?.closest(".homepage-how-dropdown")||g(!1),V?.closest(".homepage-tips-dropdown")||c(!1)}return document.addEventListener("click",C),()=>document.removeEventListener("click",C)},[]),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(C=>!C),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(C=>!C),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(C=>{const w=!C;return w||(j(!1),H(!1)),w})},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.jsxs("div",{className:"homepage-nav-popup-group",children:[a.jsxs("button",{type:"button",className:"homepage-nav-popup-group-trigger",onClick:()=>{j(C=>!C),H(!1)},"aria-expanded":E,children:["Sådan virker det",a.jsx(he,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${E?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:E?"homepage-nav-popup-submenu open":"homepage-nav-popup-submenu",children:[a.jsx("a",{href:"#",onClick:()=>i(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>i(!1),children:"Nyhedsbrev"})]})]}),a.jsxs("div",{className:"homepage-nav-popup-group",children:[a.jsxs("button",{type:"button",className:"homepage-nav-popup-group-trigger",onClick:()=>{H(C=>!C),j(!1)},"aria-expanded":N,children:["Tips og tricks",a.jsx(he,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${N?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:N?"homepage-nav-popup-submenu open":"homepage-nav-popup-submenu",children:[a.jsx("a",{href:"/stories",onClick:()=>i(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>i(!1),children:"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:Hv.map((C,w)=>a.jsx("img",{src:C,alt:`Virksomhedslogo ${w+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"},`${C}-${w}`))})]})}),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.55] 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 shrink-0 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 isolate",style:{WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:[a.jsx("img",{src:Vv,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 shrink-0 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 isolate",style:{WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:[a.jsx("img",{src:Bv,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:"Smart 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:"Målrettede 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:"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:"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(En,{})]})}function wn(d){return d instanceof Date?d.toISOString():typeof d=="string"?d:""}function gf(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:wn(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:wn(d.datePosted),employmentDate:wn(d.employmentDate),startAsSoonAsPossible:typeof d.startAsSoonAsPossible=="boolean"?d.startAsSoonAsPossible:null,numberOfPositions:typeof d.numberOfPositions=="number"?d.numberOfPositions:null}}function xf(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:wn(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:wn(i.fromDate),startAsSoonAsPossible:null,numberOfPositions:typeof i.numberOfPositions=="number"?i.numberOfPositions:null}}class Gv{constructor(i=new ad){this.jobService=i}async getDetail(i,o){if(o)try{const c=await this.jobService.getJobNetJobDetail(i);return gf(c)}catch{const c=await this.jobService.getJobDetail(i);return xf(i,c)}try{const c=await this.jobService.getJobDetail(i);return xf(i,c)}catch{const c=await this.jobService.getJobNetJobDetail(i);return gf(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 Jv(d){return d.trim().slice(0,1).toUpperCase()||"A"}function qc(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 Yv(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(),H=h.value.trim().toLowerCase();if(g.startsWith("on")){c.removeAttribute(h.name);continue}if((g==="href"||g==="src")&&H.startsWith("javascript:")){c.removeAttribute(h.name);continue}(g==="style"||g==="srcdoc")&&c.removeAttribute(h.name)}return o.body.innerHTML}function Qv(d){return d.isFullTime===!0?"Fuldtid":d.isFullTime===!1?"Deltid":d.workTimes.length>0?"Fleksibel arbejdstid":"Ikke oplyst"}function Wv({fromJobnet:d,jobId:i,onBack:o,onLogout:c,onNavigate:h,onToggleTheme:g,theme:N}){const H=p.useMemo(()=>new Gv,[]),E=p.useMemo(()=>new xr,[]),[j,C]=p.useState({name:"Lasse"}),[w,V]=p.useState(null),[q,G]=p.useState(!0),[Q,me]=p.useState(""),[re,oe]=p.useState(!1),[X,se]=p.useState(!1),[ne,Z]=p.useState(!1),[W,F]=p.useState(!1);p.useEffect(()=>{let fe=!0;async function Ee(){G(!0),me("");const[we,ae]=await Promise.allSettled([E.getCandidateProfile(),H.getDetail(i,d)]);fe&&(we.status==="fulfilled"&&C(we.value),ae.status==="fulfilled"?(V(ae.value),oe(!!ae.value.isSaved),se(!!ae.value.isApplied)):(V(null),me("Kunne ikke hente jobdetaljer. Proev igen.")),G(!1))}return Ee(),()=>{fe=!1}},[H,d,i,E]);async function P(){if(!(!w||ne)){Z(!0);try{await H.toggleBookmark(w.id,w.fromJobnet,!re),oe(fe=>!fe)}finally{Z(!1)}}}async function te(){if(!(!w||X||W)){F(!0);try{await H.markAsApplied(w.id,w.fromJobnet),se(!0)}finally{F(!1)}}}const ue=p.useMemo(()=>Yv(w?.description??""),[w?.description]);return a.jsxs("section",{className:`dash-root ${N==="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(ca,{active:"jobs",onNavigate:h}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(da,{name:j.name,imageUrl:j.imageUrl,onLogout:c,theme:N,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(Dn,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til jobs"})]})}),q?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobdetaljer..."}):null,!q&&Q?a.jsx("p",{className:"dash-loading",children:Q}):null,!q&&w?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"job-detail-header",children:[a.jsx("div",{className:"job-detail-logo-wrap",children:w.logoUrl?a.jsx("img",{src:w.logoUrl,alt:w.companyName,className:"job-detail-logo-image"}):a.jsx("div",{className:"job-detail-logo-fallback",children:Jv(w.companyName)})}),a.jsxs("div",{className:"job-detail-heading",children:[a.jsx("h1",{children:w.title||"Jobdetaljer"}),a.jsxs("div",{className:"job-detail-meta",children:[a.jsxs("span",{children:[a.jsx(Qc,{size:14,strokeWidth:1.8})," ",w.companyName||"Virksomhed"]}),a.jsxs("span",{children:[a.jsx(_n,{size:14,strokeWidth:1.8})," ",w.address||"Lokation ikke angivet"]}),a.jsxs("span",{children:[a.jsx(Kc,{size:14,strokeWidth:1.8})," ",Qv(w)]})]})]})]}),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"}),ue?a.jsx("div",{className:"job-detail-rich-html",dangerouslySetInnerHTML:{__html:ue}}):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:qc(w.applicationDeadline)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Opslået"}),a.jsx("strong",{children:qc(w.datePosted)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Startdato"}),a.jsx("strong",{children:qc(w.employmentDate)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stillinger"}),a.jsx("strong",{children:w.numberOfPositions??"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kontaktperson"}),a.jsx("strong",{children:w.contactName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kilde"}),a.jsx("strong",{children:w.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(Tn,{size:16,strokeWidth:1.8})," Generer ansøgning"]}),a.jsx(El,{size:14,strokeWidth:1.8})]}),a.jsxs("button",{type:"button",className:"job-detail-action-secondary",children:[a.jsxs("span",{children:[a.jsx(rb,{size:16,strokeWidth:1.8})," Simuler jobsamtale"]}),a.jsx(El,{size:14,strokeWidth:1.8})]}),a.jsx("div",{className:"job-detail-action-divider"}),a.jsxs("button",{type:"button",className:"job-detail-text-action",onClick:()=>{P()},disabled:ne,children:[a.jsx(zx,{size:16,strokeWidth:1.8}),re?"Fjern fra gemte jobs":"Gem job"]}),a.jsxs("button",{type:"button",className:"job-detail-text-action",children:[a.jsx(fr,{size:16,strokeWidth:1.8}),"Del via email"]}),w.websiteUrl?a.jsxs("a",{href:w.websiteUrl,target:"_blank",rel:"noreferrer",className:"job-detail-text-action link",children:[a.jsx(Sn,{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:()=>{te()},disabled:X||W,children:[a.jsx(tt,{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:w.hiringCompanyName||w.companyName||"Ukendt"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stilling"}),a.jsx("strong",{children:w.occupationName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Website"}),a.jsx("strong",{children:w.websiteUrl||"Ikke angivet"})]})]})]})]})]})]}):null]})]})}const pf=[2,4,6,8,10,12,24],Kv=[{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 Xv(d){return d.trim().slice(0,1).toUpperCase()||"A"}function bf(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 Zv(d){return d.companyLogoImage||d.logoUrl||""}function vf({item:d}){const[i,o]=p.useState(!1),c=Zv(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:Xv(d.companyName)})}function Fv(d){return d.workTypePartTime?"deltid":"fast"}function $v({onLogout:d,onNavigate:i,onOpenJobDetail:o,onToggleTheme:c,theme:h}){const g=p.useMemo(()=>new xr,[]),[N,H]=p.useState({name:"Lasse"}),[E,j]=p.useState(""),[C,w]=p.useState("sidebar"),[V,q]=p.useState("fast"),[G,Q]=p.useState(15),[me,re]=p.useState(24),[oe,X]=p.useState(["Frontend-udvikler","UX/UI Designer"]),[se,ne]=p.useState(""),[Z,W]=p.useState([]),[F,P]=p.useState(!0),[te,ue]=p.useState(6),fe=p.useCallback(async()=>{try{const f=await g.getTabItems("jobs");W(f),ue(6)}catch{W([]),ue(6)}},[g]);p.useEffect(()=>{let f=!0;async function S(){try{const U=await g.getSavedFilter();if(!f)return;q(Fv(U)),Q(U.workDistance??15),re(U.partTimeHours??24),j(U.distanceCenterName??"")}catch{}if(await fe(),f){const U=await g.getCandidateProfile();f&&H(U),P(!1)}}return S(),()=>{f=!1}},[fe,g]);async function Ee(){const f={escoIds:[],workTypePermanent:V==="fast",workTypePartTime:V==="deltid",workDistance:G,partTimeHours:V==="deltid"?me:null,distanceCenterName:E,latitude:null,longitude:null};P(!0);try{const S=await g.applyFiltersAndGetJobs(f,{searchText:E,desiredTitles:oe});W(S),ue(6)}catch{W([]),ue(6)}P(!1)}const we=Z.length>0?Z:Kv,ae=we.slice(0,Math.min(te,we.length)),b=te<we.length;function L(){w(f=>f==="sidebar"?"top":"sidebar")}function y(f){X(S=>S.filter(U=>U!==f))}function J(f){const S=f.trim();S&&(X(U=>U.includes(S)?U:[...U,S]),ne(""))}function $(){ue(f=>Math.min(f+6,we.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(ca,{active:"jobs",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(da,{name:N.name,imageUrl:N.imageUrl,onLogout:d,theme:h,onToggleTheme:c,actions:a.jsxs("button",{type:"button",className:"jobs-layout-toggle",onClick:L,children:[C==="sidebar"?a.jsx(Df,{size:16,strokeWidth:1.8}):a.jsx(Cf,{size:16,strokeWidth:1.8}),a.jsx("span",{children:C==="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."})]}),C==="sidebar"?a.jsxs("div",{className:"jobs-grid",children:[a.jsxs("aside",{className:"jobs-filter dash-card",children:[a.jsxs("h2",{children:[a.jsx(Qc,{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(dr,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Frontend Udvikler...",value:E,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:[oe.map(f=>a.jsxs("span",{className:"jobs-title-chip",children:[f,a.jsx("button",{type:"button",onClick:()=>y(f),"aria-label":`Fjern ${f}`,children:a.jsx(An,{size:12,strokeWidth:2})})]},f)),a.jsx("input",{type:"text",value:se,onChange:f=>ne(f.target.value),onKeyDown:f=>{f.key==="Enter"&&(f.preventDefault(),J(se))},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:()=>J("Frontend-udvikler"),children:[a.jsx("span",{children:"Frontend-udvikler"}),a.jsx(tt,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>J("UX/UI Designer"),children:[a.jsx("span",{children:"UX/UI Designer"}),a.jsx(tt,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("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:V==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("fast"),children:"Fast (Fuldtid)"}),a.jsx("button",{type:"button",className:V==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("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:[G," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:G,onChange:f=>Q(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:pf.map(f=>a.jsx("button",{type:"button",className:me===f?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>re(f),children:f},f))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn",onClick:()=>{Ee()},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"]})]}),F?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards",children:ae.map(f=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(f.id,f.fromJobnet,"jobs"),onKeyDown:S=>{(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),o(f.id,f.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(vf,{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(Ic,{size:15,strokeWidth:1.8}):a.jsx(Pc,{size:15,strokeWidth:1.8}),a.jsx("span",{children:bf(f)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:S=>{S.stopPropagation(),o(f.id,f.fromJobnet,"jobs")},children:a.jsx(El,{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:$,disabled:!b,children:b?"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(Qc,{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(dr,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Lunar, React...",value:E,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:V==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("fast"),children:"Fast"}),a.jsx("button",{type:"button",className:V==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("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:[G," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:G,onChange:f=>Q(Number(f.target.value))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn jobs-top-apply",onClick:()=>{Ee()},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:[oe.map(f=>a.jsxs("span",{className:"jobs-title-chip",children:[f,a.jsx("button",{type:"button",onClick:()=>y(f),"aria-label":`Fjern ${f}`,children:a.jsx(An,{size:12,strokeWidth:2})})]},f)),a.jsx("input",{type:"text",value:se,onChange:f=>ne(f.target.value),onKeyDown:f=>{f.key==="Enter"&&(f.preventDefault(),J(se))},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:()=>J("Frontend-udvikler"),children:[a.jsx("span",{children:"Frontend-udvikler"}),a.jsx(tt,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>J("UX/UI Designer"),children:[a.jsx("span",{children:"UX/UI Designer"}),a.jsx(tt,{size:16,strokeWidth:1.8})]}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>J("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:pf.map(f=>a.jsx("button",{type:"button",className:me===f?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>re(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"]})]}),F?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards jobs-cards-top",children:ae.map(f=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(f.id,f.fromJobnet,"jobs"),onKeyDown:S=>{(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),o(f.id,f.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(vf,{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(Ic,{size:15,strokeWidth:1.8}):a.jsx(Pc,{size:15,strokeWidth:1.8}),a.jsx("span",{children:bf(f)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:S=>{S.stopPropagation(),o(f.id,f.fromJobnet,"jobs")},children:a.jsx(El,{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:$,disabled:!b,children:b?"Indlaes flere jobs":"Alle jobs er vist"})})]})]})]})]})}function mr(d){if(!d)return 0;const o=(d instanceof Date?d:new Date(d)).getTime();return Number.isNaN(o)?0:o}function Hf(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 Iv(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?Hf(i):h===1?"I går":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short"}).format(i)}function Pv(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 kn(d){return!d.fromCandidate&&!d.seen}function jf(d){return d.allMessages.filter(kn).length}function jn(d){return d.companyLogoUrl||d.companyLogo||""}function e1(d){return{...d,allMessages:[...d.allMessages??[]].sort((i,o)=>mr(i.timeSent)-mr(o.timeSent))}}function yf(){const d=new Date,i=new Date(d.getTime()-600*1e3),o=new Date(d.getTime()-7200*1e3),c=(N,H,E,j,C)=>({threadId:N,text:H,fromCandidate:E,timeSent:j,seen:C}),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 t1({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=p.useMemo(()=>new Bf,[]),[g,N]=p.useState("Lasse"),[H,E]=p.useState(void 0),[j,C]=p.useState([]),[w,V]=p.useState(!0),[q,G]=p.useState(""),[Q,me]=p.useState("all"),[re,oe]=p.useState(""),[X,se]=p.useState(""),[ne,Z]=p.useState(()=>typeof window<"u"?window.innerWidth<=1e3:!1),[W,F]=p.useState("threads");p.useEffect(()=>{let b=!0;async function L(){V(!0);try{const y=await h.getCandidateProfile();b&&(N(y.name),E(y.imageUrl));const J=await h.getThreads();if(!b)return;const $=(J.length>0?J:yf()).map(e1);C($),oe($[0]?.id||"")}catch{if(!b)return;const y=yf();C(y),oe(y[0]?.id||"")}finally{b&&V(!1)}}return L(),()=>{b=!1}},[h]),p.useEffect(()=>{function b(){const L=window.innerWidth<=1e3;Z(L),L?re||F("threads"):F("chat")}return b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[re]);const P=p.useMemo(()=>{const b=q.trim().toLowerCase();return j.filter(L=>Q==="unread"&&jf(L)===0||Q==="companies"&&L.isFromSupport?!1:b?L.companyName.toLowerCase().includes(b)||(L.latestMessage?.text||"").toLowerCase().includes(b):!0)},[Q,q,j]),te=p.useMemo(()=>j.find(b=>b.id===re)||P[0],[re,P,j]),ue=p.useMemo(()=>[...te?.allMessages||[]].sort((b,L)=>mr(b.timeSent)-mr(L.timeSent)),[te]);async function fe(b){oe(b.id),ne&&F("chat");const L=[...b.allMessages].reverse().find(y=>kn(y));L?.id&&(h.markThreadReadByMessageId(L.id),C(y=>y.map(J=>J.id!==b.id?J:{...J,allMessages:J.allMessages.map($=>kn($)?{...$,seen:new Date}:$)})))}function Ee(){F("threads")}async function we(){const b=j.flatMap(L=>L.allMessages).filter(L=>kn(L)&&!!L.id);await Promise.all(b.map(L=>h.markThreadReadByMessageId(L.id))),C(L=>L.map(y=>({...y,allMessages:y.allMessages.map(J=>kn(J)?{...J,seen:new Date}:J)})))}async function ae(){const b=X.trim();if(!te||!b)return;const L={threadId:te.id,text:b,fromCandidate:!0,timeSent:new Date};se(""),C(y=>y.map(J=>{if(J.id!==te.id)return J;const $=[...J.allMessages,L];return{...J,allMessages:$,latestMessage:L}}));try{const y=await h.sendMessage(te.id,b);C(J=>J.map($=>{if($.id!==te.id)return $;const S=[...$.allMessages.filter(U=>U!==L),y];return{...$,allMessages:S,latestMessage:y}}))}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(ca,{active:"messages",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar msg-main",children:[a.jsx(da,{name:g,imageUrl:H,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:()=>{we()},children:[a.jsx(Rx,{size:16,strokeWidth:1.8})," Marker alle som læst"]})]}),a.jsxs("div",{className:`msg-layout ${ne&&W==="chat"?"mobile-chat":"mobile-threads"}`,children:[!ne||W==="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(dr,{size:16,strokeWidth:1.8}),a.jsx("input",{value:q,onChange:b=>G(b.target.value),type:"text",placeholder:"Søg i beskeder..."})]}),a.jsxs("div",{className:"msg-filter-row",children:[a.jsx("button",{type:"button",className:Q==="all"?"active":"",onClick:()=>me("all"),children:"Alle"}),a.jsx("button",{type:"button",className:Q==="unread"?"active":"",onClick:()=>me("unread"),children:"Ulæste"}),a.jsx("button",{type:"button",className:Q==="companies"?"active":"",onClick:()=>me("companies"),children:"Virksomheder"})]})]}),a.jsxs("div",{className:"msg-thread-list custom-scrollbar",children:[w?a.jsx("p",{className:"dash-loading",children:"Indlaeser beskeder..."}):null,!w&&P.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen tråde fundet."}):null,P.map(b=>{const L=jf(b),y=te?.id===b.id,J=jn(b);return a.jsxs("button",{type:"button",className:y?"msg-thread-item active":"msg-thread-item",onClick:()=>{fe(b)},children:[a.jsxs("div",{className:"msg-thread-avatar-wrap",children:[J?a.jsx("img",{src:J,alt:b.companyName,className:"msg-thread-avatar"}):a.jsx("div",{className:"msg-thread-avatar-fallback",children:b.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:b.companyName}),a.jsx("span",{children:Iv(b.latestMessage?.timeSent)})]}),a.jsx("p",{className:L>0?"unread":"",children:b.latestMessage?.text||"Ingen beskeder endnu"}),a.jsx("small",{children:b.title||"Stilling"})]}),L>0?a.jsx("div",{className:"msg-thread-unread",children:L}):null]},b.id)})]})]}):null,!ne||W==="chat"?a.jsxs("section",{className:"msg-chat",children:[a.jsx("div",{className:"msg-chat-head",children:te?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"msg-chat-company",children:[ne?a.jsx("button",{type:"button",className:"msg-mobile-back-btn",onClick:Ee,"aria-label":"Tilbage til beskeder",children:a.jsx(Dn,{size:16,strokeWidth:1.9})}):null,jn(te)?a.jsx("img",{src:jn(te),alt:te.companyName,className:"msg-chat-avatar"}):a.jsx("div",{className:"msg-chat-avatar-fallback",children:te.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{children:[a.jsx("h2",{children:te.companyName}),a.jsx("p",{children:te.title||"Rekruttering"})]})]}),a.jsxs("div",{className:"msg-chat-actions",children:[a.jsx("button",{type:"button","aria-label":"Ring",children:a.jsx($p,{size:16,strokeWidth:1.8})}),a.jsx("button",{type:"button","aria-label":"Info",children:a.jsx(yp,{size:16,strokeWidth:1.8})})]})]}):a.jsx("h2",{children:"Vælg en samtale"})}),a.jsx("div",{className:"msg-chat-body custom-scrollbar",children:ue.map((b,L)=>{const y=b.timeSent instanceof Date?b.timeSent:new Date(b.timeSent),J=L>0?ue[L-1]:void 0,$=J?.timeSent instanceof Date?J.timeSent:J?.timeSent?new Date(J.timeSent):void 0,f=!$||y.toDateString()!==$.toDateString();return a.jsxs("div",{children:[f?a.jsx("div",{className:"msg-day-sep",children:Pv(y)}):null,a.jsxs("div",{className:b.fromCandidate?"msg-bubble-row mine":"msg-bubble-row",children:[b.fromCandidate?null:jn(te)?a.jsx("img",{src:jn(te),alt:te.companyName,className:"msg-mini-avatar"}):a.jsx("div",{className:"msg-mini-avatar msg-mini-avatar-fallback",children:te.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{className:"msg-bubble-wrap",children:[a.jsx("span",{className:"msg-time",children:Hf(b.timeSent)}),a.jsx("div",{className:b.fromCandidate?"msg-bubble mine":"msg-bubble",children:b.text})]})]})]},`${b.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(Kp,{size:18,strokeWidth:1.8})}),a.jsx("textarea",{rows:1,value:X,onChange:b=>se(b.target.value),onKeyDown:b=>{b.key==="Enter"&&!b.shiftKey&&(b.preventDefault(),ae())},placeholder:"Skriv din besked her..."}),a.jsx("button",{type:"button","aria-label":"Emoji",children:a.jsx(bb,{size:18,strokeWidth:1.8})}),a.jsxs("button",{type:"button",className:"msg-send-btn",onClick:()=>{ae()},children:["Send ",a.jsx(hb,{size:15,strokeWidth:1.8})]})]})})]}):null]})]})]})}function xe({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function a1({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 ze({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(xe,{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(xe,{icon:"solar:check-read-linear",className:"text-sm text-white",style:{strokeWidth:2}})}),a.jsx("span",{children:d})]})}function l1(){const i=p.useMemo(()=>window.location.pathname,[]).includes("virksomhed")?"companies":"jobseekers",[o,c]=p.useState(i),[h,g]=p.useState(!1),[N,H]=p.useState(!1),[E,j]=p.useState(!1);p.useEffect(()=>{if(!h)return;const w=document.body.style.overflow;document.body.style.overflow="hidden";function V(q){q.key==="Escape"&&g(!1)}return window.addEventListener("keydown",V),()=>{document.body.style.overflow=w,window.removeEventListener("keydown",V)}},[h]),p.useEffect(()=>{function w(){window.innerWidth>990&&g(!1)}return window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)},[]),p.useEffect(()=>{function w(V){const q=V.target;q?.closest(".pricing-how-dropdown")||j(!1),q?.closest(".pricing-tips-dropdown")||H(!1)}return document.addEventListener("click",w),()=>document.removeEventListener("click",w)},[]);const C=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(a1,{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(w=>!w),H(!1)},"aria-expanded":E,children:["Sådan virker det",a.jsx(xe,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${E?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:E?"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:()=>{H(w=>!w),j(!1)},"aria-expanded":N,children:["Tips og tricks",a.jsx(xe,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${N?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:N?"pricing-tips-menu open":"pricing-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>H(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>H(!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(w=>!w),children:a.jsx(xe,{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:C?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:C?"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 ${C?"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 ${C?"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 ${C?"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"})]}),C?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(xe,{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]}),C?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(ze,{children:"Gratis oprettelse"}),a.jsx(ze,{children:"Adgang til over 20.000 jobopslag"}),a.jsx(ze,{children:"Ansøg med ét klik"}),a.jsx(ze,{children:"Søgefiltre der passer til din profil"}),a.jsx(ze,{children:"Chat support"}),a.jsx(ze,{children:"Dashboard med overblik over søgte stillinger, igangværende samtaler med virksomheder og din profil"}),a.jsx(ze,{children:"Notifikationer med matches"}),a.jsx(ze,{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(xe,{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(ze,{dark:!0,children:"Upload dit CV - Systemet strukturerer automatisk dine erfaringer, uddannelse og kompetencer"}),a.jsx(ze,{dark:!0,children:"Optimer dit CV - Få intelligente forslag til forbedringer fra formulering og layout til synliggørelse af dine styrker."}),a.jsx(ze,{dark:!0,children:"Download et professionelt CV - Ét klik og du har et klart, overskueligt og arbejdsgiver-klart CV i hånden"}),a.jsx(ze,{dark:!0,children:"Karriereagent - Få personlige anbefalinger til opkvalificering, videreuddannelse og skræddersyede jobveje"}),a.jsx(ze,{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(ze,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(ze,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(ze,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(ze,{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(ze,{small:!0,dark:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(ze,{small:!0,dark:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(ze,{small:!0,dark:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(ze,{small:!0,dark:!0,circle:!0,children:"Job simulatoren træn til din jobsamtale"}),a.jsx(ze,{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(xe,{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(xe,{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(ze,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(ze,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(ze,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(ze,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(ze,{dark:!0,children:"Gratis annonceoprettelse"}),a.jsx(ze,{dark:!0,children:"Ubegrænset antal annoncer"}),a.jsx(ze,{dark:!0,children:"Fuld adgang til kandidater og ansøgere"}),a.jsx(ze,{dark:!0,children:"Chat support"}),a.jsx(ze,{dark:!0,children:"SaaS-løsning til sortering, screening og match"}),a.jsx(ze,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(xe,{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(En,{})]})}function oa({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?"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 ed(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 hr=[{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."}],n1=[{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."}],i1={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 r1(){const d=p.useMemo(()=>window.location.pathname,[]),[i,o]=p.useState(d==="/academy"?"academy":"dict"),[c,h]=p.useState(""),[g,N]=p.useState(!1),[H,E]=p.useState(!1),[j,C]=p.useState(!1);p.useEffect(()=>{if(!g)return;const G=document.body.style.overflow;document.body.style.overflow="hidden";function Q(me){me.key==="Escape"&&N(!1)}return window.addEventListener("keydown",Q),()=>{document.body.style.overflow=G,window.removeEventListener("keydown",Q)}},[g]),p.useEffect(()=>{function G(){window.innerWidth>990&&N(!1)}return window.addEventListener("resize",G),()=>window.removeEventListener("resize",G)},[]),p.useEffect(()=>{function G(Q){const me=Q.target;me?.closest(".job-how-dropdown")||C(!1),me?.closest(".job-tips-dropdown")||E(!1)}return document.addEventListener("click",G),()=>document.removeEventListener("click",G)},[]);const w=i==="dict",V=c.trim().toLowerCase(),q=p.useMemo(()=>V?hr.filter(G=>G.title.toLowerCase().includes(V)):hr,[V]);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(s1,{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:()=>{C(G=>!G),E(!1)},"aria-expanded":j,children:["Sådan virker det",a.jsx(oa,{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:()=>C(!1),children:"For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>C(!1),children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",onClick:()=>C(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>C(!1),children:"FAQ"}),a.jsx("a",{href:"#",onClick:()=>C(!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:()=>{E(G=>!G),C(!1)},"aria-expanded":H,children:["Tips og tricks",a.jsx(oa,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${H?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:H?"job-tips-menu open":"job-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>E(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",className:"active",onClick:()=>E(!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:()=>N(G=>!G),children:a.jsx(oa,{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:()=>N(!1),children:"Priser"}),a.jsx("a",{href:"#",onClick:()=>N(!1),children:"Sådan virker det: For virksomheder"}),a.jsx("a",{href:"#",onClick:()=>N(!1),children:"Sådan virker det: For jobsøgere"}),a.jsx("a",{href:"#",onClick:()=>N(!1),children:"Sådan virker det: FAQ"}),a.jsx("a",{href:"#",onClick:()=>N(!1),children:"Sådan virker det: Nyhedsbrev"}),a.jsx("a",{href:"/stories",onClick:()=>N(!1),children:"Tips og tricks: Stories"}),a.jsx("a",{href:"/jobordbogen",onClick:()=>N(!1),children:"Tips og tricks: Jobordbogen"}),a.jsx("a",{href:"#",onClick:()=>N(!1),children:"Log ind"}),a.jsx("a",{href:"#",className:"job-nav-popup-cta",onClick:()=>N(!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(oa,{icon:w?"solar:notebook-bookmark-linear":"solar:videocamera-record-linear",className:`text-base ${w?"text-teal-600":"text-indigo-600"}`,style:{strokeWidth:1.5}}),w?"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:w?"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:w?"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 ${w?"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 ${w?"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 ${w?"translate-x-0":"translate-x-full"}`})]}),w&&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(oa,{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:G=>h(G.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(oa,{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:`${w?"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:q.map(G=>{const Q=i1[G.accent];return a.jsxs("a",{href:`/jobordbogen/${ed(G.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 ${Q.card}`,children:a.jsx(oa,{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 ${Q.hover}`,children:G.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:G.body}),a.jsxs("div",{className:`mt-auto flex items-center gap-2 text-sm font-medium transition-colors ${Q.card.split(" ").at(-1)} ${Q.hoverStrong}`,children:["Se definitionen",a.jsx(oa,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},G.title)})}),q.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:`${w?"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:n1.map(G=>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:G.image,alt:G.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 ${G.color==="teal"?"group-hover:bg-teal-500 group-hover:border-teal-400":G.color==="indigo"?"group-hover:bg-indigo-500 group-hover:border-indigo-400":G.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(oa,{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:G.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 ${G.color==="teal"?"text-teal-700 bg-teal-100/80 border-teal-200/50":G.color==="indigo"?"text-indigo-700 bg-indigo-100/80 border-indigo-200/50":G.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:G.badge}),a.jsxs("span",{className:"flex items-center gap-1 text-sm text-gray-500 font-medium",children:[a.jsx(oa,{icon:"solar:eye-linear"})," ",G.views]})]}),a.jsx("h3",{className:`text-2xl font-medium text-gray-900 mb-3 transition-colors cursor-pointer tracking-tight ${G.color==="teal"?"group-hover:text-teal-600":G.color==="indigo"?"group-hover:text-indigo-600":G.color==="amber"?"group-hover:text-amber-600":"group-hover:text-rose-600"}`,children:G.title}),a.jsx("p",{className:"text-gray-600 font-normal leading-relaxed text-base flex-1",children:G.body})]})]},G.title))})})]})]}),a.jsx(En,{})]})}function nl({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function o1(){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 c1(){const i=p.useMemo(()=>window.location.pathname,[]).split("/").filter(Boolean).at(-1)??"",o=p.useMemo(()=>hr.find(C=>ed(C.title)===i)??null,[i]),c=p.useMemo(()=>hr.filter(C=>C.title!==o?.title).slice(0,3),[o?.title]),[h,g]=p.useState(!1),[N,H]=p.useState(!1),[E,j]=p.useState(!1);return p.useEffect(()=>{if(!h)return;const C=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=C}},[h]),p.useEffect(()=>{function C(){window.innerWidth>990&&g(!1)}return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[]),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(o1,{}),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(C=>!C),H(!1)},"aria-expanded":E,children:["Sådan virker det",a.jsx(nl,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${E?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:E?"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:()=>{H(C=>!C),j(!1)},"aria-expanded":N,children:["Tips og tricks",a.jsx(nl,{icon:"solar:alt-arrow-down-linear",className:`text-base transition-transform ${N?"rotate-180":""}`,style:{strokeWidth:1.5}})]}),a.jsxs("div",{className:N?"job-tips-menu open":"job-tips-menu",children:[a.jsx("a",{href:"/stories",onClick:()=>H(!1),children:"Stories"}),a.jsx("a",{href:"/jobordbogen",className:"active",onClick:()=>H(!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(C=>!C),children:a.jsx(nl,{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(nl,{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(nl,{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(nl,{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(C=>a.jsxs("a",{href:`/jobordbogen/${ed(C.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(nl,{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:C.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:C.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(nl,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},C.title))})]})]})]}),a.jsx(En,{})]}):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 Kt({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function d1({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 u1=[{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 m1(){const[d,i]=p.useState(!1),[o,c]=p.useState(!1),[h,g]=p.useState(!1);return p.useEffect(()=>{if(!d)return;const N=document.body.style.overflow;document.body.style.overflow="hidden";function H(E){E.key==="Escape"&&i(!1)}return window.addEventListener("keydown",H),()=>{document.body.style.overflow=N,window.removeEventListener("keydown",H)}},[d]),p.useEffect(()=>{function N(){window.innerWidth>990&&i(!1)}return window.addEventListener("resize",N),()=>window.removeEventListener("resize",N)},[]),p.useEffect(()=>{function N(H){const E=H.target;E?.closest(".stories-how-dropdown")||g(!1),E?.closest(".stories-tips-dropdown")||c(!1)}return document.addEventListener("click",N),()=>document.removeEventListener("click",N)},[]),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(d1,{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(N=>!N),c(!1)},"aria-expanded":h,children:["Sådan virker det",a.jsx(Kt,{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(N=>!N),g(!1)},"aria-expanded":o,children:["Tips og tricks",a.jsx(Kt,{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(N=>!N),children:a.jsx(Kt,{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(Kt,{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(Kt,{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(Kt,{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(Kt,{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(Kt,{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(Kt,{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:u1.map((N,H)=>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:N.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(Kt,{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 ${N.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(Kt,{icon:"solar:magnifer-linear",className:"text-lg text-indigo-500",style:{strokeWidth:1.5}}),N.audience]}),a.jsxs("div",{className:"flex items-center gap-3 text-sm text-gray-600 font-normal",children:[a.jsx(Kt,{icon:"solar:clapperboard-play-linear",className:"text-lg text-cyan-500",style:{strokeWidth:1.5}}),N.episodes]})]})]})]},`${N.image}-${H}`))})})]}),a.jsx(En,{})]})}function Nt({className:d,icon:i,style:o}){return a.jsx("iconify-icon",{className:d,icon:i,style:o})}function h1(){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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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(Nt,{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 qf(d){return typeof d=="object"&&d!==null?d:null}function wt(d){return typeof d=="string"?d:""}function Gc(d){return typeof d=="number"?d:null}function Jc(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 f1(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 g1(d,i){const o=qf(d);if(!o)return null;const c=wt(o.id)||wt(o.interview_id)||`interview-${i}`,h=wt(o.job_name)||wt(o.job_title)||wt(o.title)||"Interview",g=wt(o.company_name)||wt(o.companyName)||"Ukendt virksomhed",N=wt(o.interview_date)||wt(o.created_at)||wt(o.updated_at)||wt(o.date),H=Jc(o.is_completed)??Jc(o.completed)??Jc(o.status)??!0,E=Gc(o.duration_minutes)??Gc(o.duration)??Gc(o.length_minutes),j=wt(o.personality_name)||wt(o.simulation_personality_name)||wt(o.personality)||"Professionel";return{id:c,title:h,companyName:g,dateLabel:f1(N),completed:H,durationMinutes:E,personality:j}}class x1{constructor(i=new xr,o=new ld){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=qf(o);return(Array.isArray(c?.interviews)?c.interviews:Array.isArray(o)?o:[]).map((g,N)=>g1(g,N)).filter(g=>!!g)}catch{return[]}}}const p1=[{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 b1(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 v1(d){return`${d.title||"Stilling"}${d.companyName?` · ${d.companyName}`:""}`}function j1({onLogout:d,onNavigate:i,onOpenEvaluation:o,onToggleTheme:c,theme:h}){const g=p.useMemo(()=>new x1,[]),[N,H]=p.useState("Lasse"),[E,j]=p.useState(void 0),[C,w]=p.useState([]),[V,q]=p.useState([]),[G,Q]=p.useState([]),[me,re]=p.useState(!0),[oe,X]=p.useState(""),[se,ne]=p.useState(""),[Z,W]=p.useState("Dansk"),[F,P]=p.useState("15"),[te,ue]=p.useState(!1);p.useEffect(()=>{let y=!0;async function J(){re(!0);const[$,f,S,U]=await Promise.all([g.getCandidateProfile(),g.getJobs(),g.getInterviews(),g.getPersonalities()]);y&&(H($.name),j($.imageUrl),w(f),q(S.map(b1)),Q(U.map(Y=>({id:Y.id,name:Y.name}))),f.length>0&&X(Y=>Y||f[0].id),U.length>0&&ne(Y=>Y||String(U[0].id)),re(!1))}return J(),()=>{y=!1}},[g]);const fe=V.length>0?V:p1,Ee={id:"fallback-job",title:"Senior Frontend-udvikler",companyName:"Lunar"},we=C.length>0?C:[Ee],ae=we.find(y=>y.id===oe)||we[0],b=G.find(y=>String(y.id)===se)?.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 ${ae.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(ca,{active:"simulator",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-main",children:[a.jsx(da,{name:N,imageUrl:E,onLogout:d,theme:h,onToggleTheme:c,actions:te?a.jsxs("button",{type:"button",className:"sim-leave-btn",onClick:()=>ue(!1),children:[a.jsx(Dn,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Forlad simulering"})]}):void 0}),te?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(il,{size:18,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h3",{children:"Sarah (AI Interviewer)"}),a.jsxs("p",{children:[a.jsx(nb,{size:12,strokeWidth:1.8})," Venter på dit svar..."]})]})]}),a.jsx("button",{type:"button",className:"sim-live-more-btn",children:a.jsx(op,{size:16,strokeWidth:1.8})})]}),a.jsx("div",{className:"sim-live-chat-scroll custom-scrollbar",children:L.map(y=>a.jsxs("div",{className:y.sender==="ai"?"sim-live-msg-row ai":"sim-live-msg-row me",children:[a.jsx("div",{className:y.sender==="ai"?"sim-live-msg-avatar ai":"sim-live-msg-avatar me",children:y.sender==="ai"?a.jsx(il,{size:13,strokeWidth:1.8}):E?a.jsx("img",{src:E,alt:N}):a.jsx("span",{children:N.slice(0,1).toUpperCase()})}),a.jsx("div",{className:y.sender==="ai"?"sim-live-msg-bubble ai":"sim-live-msg-bubble me",children:a.jsx("p",{children:y.text})})]},y.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((y,J)=>a.jsx("span",{style:{animationDelay:`${J*.14}s`}},`wave-${J}`))}),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(Bp,{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:[ae.title||"Senior Frontend-udvikler"," @ ",ae.companyName||"Lunar"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Samtaletype"}),a.jsxs("p",{children:[a.jsx(Xc,{size:14,strokeWidth:1.8})," Teknisk Dybde"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Interviewer stil"}),a.jsxs("p",{children:[a.jsx(il,{size:14,strokeWidth:1.8})," ",b]})]}),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(Ap,{size:15,strokeWidth:1.8})," Live Coach"]}),a.jsxs("div",{className:"sim-live-coach-list",children:[a.jsxs("div",{children:[a.jsx(tt,{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(Mn,{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(Kx,{size:16,strokeWidth:1.8})," Sæt på pause"]}),a.jsxs("button",{type:"button",className:"stop",children:[a.jsx(Px,{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(tt,{size:16,strokeWidth:1.8})," Personaliserede interviewsporgsmal"]}),a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8})," Ojeblikkelig AI-feedback pa dine svar"]}),a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8})," Detaljeret evaluering efter interviewet"]}),a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8})," Gem og gennemga tidligere interviews"]})]}),a.jsxs("button",{type:"button",className:"sim-start-btn",onClick:()=>ue(!0),children:[a.jsx(Zx,{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(cr,{size:16,strokeWidth:1.8}),a.jsx("select",{value:oe,onChange:y=>X(y.target.value),children:we.map(y=>a.jsx("option",{value:y.id,children:v1(y)},y.id))}),a.jsx(yn,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Personlighed (AI)",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(il,{size:16,strokeWidth:1.8}),a.jsx("select",{value:se,onChange:y=>ne(y.target.value),children:(G.length>0?G:[{id:1,name:"Professionel & Grundig"}]).map(y=>a.jsx("option",{value:String(y.id),children:y.name},y.id))}),a.jsx(yn,{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(Sn,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:Z,onChange:y=>W(y.target.value),children:[a.jsx("option",{children:"Dansk"}),a.jsx("option",{children:"Engelsk"})]}),a.jsx(yn,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Varighed",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(Kc,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:F,onChange:y=>P(y.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(yn,{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(zf,{size:15,strokeWidth:1.8})," Filtrer"]})]}),me?a.jsx("p",{className:"dash-loading",children:"Indlaeser simuleringer..."}):null,a.jsx("section",{className:"sim-history-grid",children:fe.map(y=>a.jsxs("article",{className:y.completed?"sim-card done":"sim-card draft",children:[a.jsxs("div",{className:"sim-card-head",children:[a.jsxs("div",{children:[a.jsx("h3",{children:y.title}),a.jsx("p",{children:y.companyName})]}),a.jsx("span",{className:y.completed?"sim-status done":"sim-status draft",children:y.completed?"Faerdig":"Ikke faerdig"})]}),a.jsxs("div",{className:"sim-tags",children:[a.jsxs("span",{children:[a.jsx(Kc,{size:13,strokeWidth:1.8})," ",y.durationMinutes," min"]}),a.jsxs("span",{children:[a.jsx(il,{size:13,strokeWidth:1.8})," ",y.personality]})]}),a.jsxs("div",{className:"sim-card-foot",children:[a.jsx("small",{children:y.dateLabel}),y.completed?a.jsxs("button",{type:"button",className:"sim-link-btn",onClick:()=>o({interviewId:y.id,title:y.title,companyName:y.companyName,dateLabel:y.dateLabel}),children:["Se evaluering ",a.jsx(El,{size:14,strokeWidth:1.8})]}):null]})]},y.id))})]})]})]})}function ys(d){return typeof d=="object"&&d!==null?d:null}function sd(d){return typeof d=="string"?d:""}function y1(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 kf(d){return Array.isArray(d)?d.map(i=>sd(i).trim()).filter(Boolean):[]}function rt(d,i){if(!d)return"";for(const o of i){const c=sd(d[o]).trim();if(c)return c}return""}function rr(d,i){if(!d)return null;for(const o of i){const c=y1(d[o]);if(c!==null)return c}return null}function k1(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 Nf(d,i){return d===null?i:Math.max(0,Math.min(10,Math.round(d)))}const Gf=[{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."}],Jf=["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."],Yf=["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."],Et={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:Jf,recommendations:Yf,suggestions:Gf};function N1(d,i){const o=ys(d);if(!o)return null;const c=rt(o,["title","heading","name","subject"]),h=rt(o,["behavior","adfaerd","observation","issue"]),g=rt(o,["effect","impact","consequence"]),N=rt(o,["next_step","nextStep","recommendation","suggestion"]);return!c&&!h&&!g&&!N?null:{id:sd(o.id)||String(i+1),title:c||`Forbedringspunkt ${i+1}`,behavior:h||"Ingen detaljer tilgaengelige.",effect:g||"Ingen detaljer tilgaengelige.",nextStep:N||"Ingen detaljer tilgaengelige."}}function w1(d){const i=[d?.suggestions,d?.improvements,d?.improvement_points,d?.feedback_points,ys(d?.evaluation)?.suggestions,ys(d?.evaluation)?.improvements];for(const o of i){if(!Array.isArray(o))continue;const c=o.map((h,g)=>N1(h,g)).filter(h=>!!h);if(c.length>0)return c}return Gf}function wf(d,i,o){for(const h of i){const g=kf(d?.[h]);if(g.length>0)return g}const c=ys(d?.evaluation);for(const h of i){const g=kf(c?.[h]);if(g.length>0)return g}return o}class S1{constructor(i=new ld){this.simulationService=i}async getEvaluation(i,o){try{const c=await this.simulationService.getInterviewEvaluation(i),h=ys(c),g=ys(h?.evaluation),N=rt(h,["company_name","companyName"])||rt(g,["company_name","companyName"])||o?.companyName||Et.companyName,H=rt(h,["job_title","job_name","title"])||rt(g,["job_title","job_name","title"])||o?.title||Et.interviewTitle,E=rt(h,["interview_date","created_at","date"])||rt(g,["interview_date","created_at","date"]),j=k1(E)||o?.dateLabel||Et.dateLabel,C=rt(h,["interviewer_evaluation_lead","lead"])||rt(g,["interviewer_evaluation_lead","lead"])||Et.interviewerEvaluationLead,w=rt(h,["interviewer_evaluation","summary","feedback"])||rt(g,["interviewer_evaluation","summary","feedback"])||Et.interviewerEvaluationBody,V=rt(h,["evaluation_title","interviewer_title"])||rt(g,["evaluation_title","interviewer_title"])||Et.interviewerEvaluationTitle,q=rt(h,["label","evaluation_label"])||rt(g,["label","evaluation_label"])||Et.evaluationLabel,G=Nf(rr(h,["candidate_score","self_score","self_rating"])??rr(g,["candidate_score","self_score","self_rating"]),Et.selfScore),Q=Nf(rr(h,["interviewer_score","score","interviewer_rating"])??rr(g,["interviewer_score","score","interviewer_rating"]),Et.interviewerScore);return{companyName:N,dateLabel:j,evaluationLabel:q,interviewerEvaluationBody:w,interviewerEvaluationLead:C,interviewerEvaluationTitle:V,interviewerScore:Q,interviewTitle:H,recommendations:wf(h,["recommendations","constructive_recommendations","next_steps"],Yf),selfScore:G,strengths:wf(h,["strengths","highlights"],Jf),suggestions:w1(h)}}catch{return{...Et,companyName:o?.companyName||Et.companyName,interviewTitle:o?.title||Et.interviewTitle,dateLabel:o?.dateLabel||Et.dateLabel}}}async submitRating(i,o,c){await this.simulationService.submitEvaluationRating(i,o,c)}}function Qf(d,i){return i-d}function _1(d,i){const o=Qf(d,i);return o>0?`Gab: +${o} point`:o<0?`Gab: ${o} point`:"Gab: 0 point"}function A1(d,i){const o=Qf(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 z1(d){return d||"Nyligt"}function C1({interviewSelection:d,onBack:i,onLogout:o,onNavigate:c,onToggleTheme:h,theme:g}){const N=p.useMemo(()=>new S1,[]),[H]=p.useState("Lasse"),[E]=p.useState(void 0),[j,C]=p.useState(null),[w,V]=p.useState(!0),[q,G]=p.useState(0),[Q,me]=p.useState(""),[re,oe]=p.useState(!1),[X,se]=p.useState("");p.useEffect(()=>{let F=!0;async function P(){V(!0);const te=await N.getEvaluation(d.interviewId,{companyName:d.companyName,dateLabel:d.dateLabel,title:d.title});F&&(C(te),V(!1))}return P(),()=>{F=!1}},[d.companyName,d.dateLabel,d.interviewId,d.title,N]);async function ne(){if(!(!q||re)){oe(!0),se("");try{await N.submitRating(d.interviewId,q,Q.trim()),se("Tak. Din feedback er sendt.")}catch{se("Kunne ikke sende feedback lige nu. Prov igen.")}finally{oe(!1)}}}const Z=j,W=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(ca,{active:"simulator",onNavigate:c}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-eval-main",children:[a.jsx(da,{name:H,imageUrl:E,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(Dn,{size:14,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til Simulator"})]}),a.jsxs("div",{className:"sim-eval-label",children:[a.jsx(lp,{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})," ",z1(Z?.dateLabel??d.dateLabel)]})]})]}),w?a.jsx("p",{className:"dash-loading",children:"Indlaeser evaluering..."}):null,!w&&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(Of,{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(Mn,{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(nf,{size:13,strokeWidth:1.8})," ",_1(Z.selfScore,Z.interviewerScore)]}),a.jsx("p",{children:A1(Z.selfScore,Z.interviewerScore)})]})]})]}),a.jsxs("section",{className:"sim-eval-improvements",children:[a.jsxs("div",{className:"sim-eval-section-title",children:[a.jsx(nf,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Hvordan kan du blive bedre?"})]}),a.jsx("div",{className:"sim-eval-improvement-list",children:W.map((F,P)=>a.jsxs("article",{className:"sim-eval-improvement-card",children:[a.jsx("div",{className:"sim-eval-improvement-index",children:P+1}),a.jsxs("div",{className:"sim-eval-improvement-content",children:[a.jsx("h3",{children:F.title}),a.jsxs("div",{className:"sim-eval-improvement-grid",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Adfaerd"}),a.jsx("p",{children:F.behavior})]}),a.jsxs("div",{className:"impact",children:[a.jsx("small",{children:"Effekt"}),a.jsx("p",{children:F.effect})]}),a.jsxs("div",{className:"next",children:[a.jsx("small",{children:"Naeste gang"}),a.jsx("p",{children:F.nextStep})]})]})]})]},F.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(tt,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Dine styrker"})]}),a.jsx("ul",{children:Z.strengths.map((F,P)=>a.jsxs("li",{children:[a.jsx(tt,{size:17,strokeWidth:1.8}),a.jsx("span",{children:F})]},`strength-${P}`))})]}),a.jsxs("article",{className:"sim-eval-list-card recommendations",children:[a.jsxs("div",{className:"sim-eval-card-title",children:[a.jsx(Pc,{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((F,P)=>a.jsxs("li",{children:[a.jsx("div",{children:a.jsx(Qp,{size:13,strokeWidth:2})}),a.jsx("span",{children:F})]},`recommendation-${P}`))})]})]}),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((F,P)=>{const te=P+1,ue=te<=q;return a.jsx("button",{type:"button","aria-label":`Vaelg ${te} stjerner`,className:ue?"selected":"",onClick:()=>G(te),children:a.jsx(ur,{size:27,fill:ue?"currentColor":"none",strokeWidth:1.8})},`star-${te}`)})}),a.jsx("textarea",{value:Q,onChange:F=>me(F.target.value),rows:3,placeholder:"Kommentar (valgfrit)"}),a.jsx("button",{type:"button",onClick:()=>{ne()},disabled:re||q===0,children:re?"Sender...":"Send feedback"}),X?a.jsx("div",{className:"sim-eval-submit-status",children:X}):null]})]})]}):null]})]})]})}class D1{constructor(i=new Ol,o=new gr){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 Sf=["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 Wf(d){if(!d)return null;const i=d instanceof Date?d:new Date(d);return Number.isNaN(i.getTime())?null:i}function T1(d){const i=Wf(d);return i?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"2-digit",year:"numeric"}).format(i):"Ukendt dato"}function M1(d){if(!d)return!1;const i=Wf(d.activeToDate);return i?i.getTime()>Date.now():!1}function E1(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 L1({onLogout:d,onNavigate:i,onToggleTheme:o,theme:c}){const h=p.useMemo(()=>new D1,[]),[g,N]=p.useState("Lasse"),[H,E]=p.useState(void 0),[j,C]=p.useState(null),[w,V]=p.useState(null),[q,G]=p.useState(!0),[Q,me]=p.useState("90"),[re,oe]=p.useState(!1),[X,se]=p.useState(""),[ne,Z]=p.useState(""),[W,F]=p.useState(!1),[P,te]=p.useState(null);p.useEffect(()=>{let ae=!0;async function b(){G(!0);const[L,y]=await Promise.all([h.getCandidateProfile(),h.getSnapshot()]);ae&&(N(L.name),E(L.imageUrl),C(y.paymentOverview),V(y.products),G(!1))}return b(),()=>{ae=!1}},[h]);const ue=p.useMemo(()=>E1(w),[w]),fe=M1(j),Ee=P??fe;async function we(){const ae=X.trim();if(!(!ae||W)){Z(""),F(!0);try{await h.redeemCode(ae),Z("Koden blev indløst. Opdaterer abonnement...");const b=await h.getSnapshot();C(b.paymentOverview),V(b.products),se("")}catch{Z("Kunne ikke indløse kode. Prøv igen.")}finally{F(!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(ca,{active:"subscription",onNavigate:i}),a.jsxs("main",{className:"dash-main custom-scrollbar sub-main",children:[a.jsx(da,{name:g,imageUrl:H,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(Zc,{size:15,strokeWidth:1.8})," Abonnement"]}),a.jsx("button",{type:"button",className:"sub-toggle-btn",onClick:()=>te(ae=>ae===null?!fe:!ae),children:Ee?'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(Zc,{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:ae=>se(ae.target.value),placeholder:"Indtast kode her..."}),a.jsx("button",{type:"button",onClick:()=>{we()},disabled:W,children:W?"Indløser...":"Indløs"})]}),ne?a.jsx("small",{children:ne}):null]}),q?a.jsx("p",{className:"dash-loading",children:"Indlaeser abonnement..."}):null,!q&&!Ee?a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"sub-plan-grid",children:["30","90","365"].map(ae=>{const b=ue[ae],L=Q===ae,y=ae==="90",J=ae==="365";return a.jsxs("label",{className:["sub-plan-card",L?"selected":"",y?"popular":"",J?"yearly":""].join(" ").trim(),children:[y?a.jsx("div",{className:"sub-popular-badge",children:"Mest populær"}):null,a.jsx("input",{type:"radio",name:"pricing-plan",checked:L,onChange:()=>me(ae)}),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:b.title}),b.savings?a.jsx("span",{children:b.savings}):null]}),a.jsx("div",{className:"sub-price",children:b.priceText}),a.jsx("p",{className:"sub-price-daily",children:b.dailyText}),J?a.jsxs("div",{className:"sub-gift-box",children:[a.jsx(xp,{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:Sf.map($=>a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8}),a.jsx("span",{children:$})]},`${ae}-${$}`))})]})]},ae)})}),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:re,onChange:ae=>oe(ae.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:!re,children:"Gå til betaling"})]})]})]}):null,!q&&Ee?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:Sf.map(ae=>a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8}),a.jsx("span",{children:ae})]},`active-${ae}`))})}),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(tt,{size:34,strokeWidth:1.8})}),a.jsx("h3",{children:"Dit abonnement er aktivt"}),a.jsxs("strong",{children:[ue[Q].priceText," for ",ue[Q].title]}),a.jsx("p",{children:ue[Q].dailyText}),a.jsxs("div",{className:"sub-renew-pill",children:[a.jsx(or,{size:16,strokeWidth:1.8}),"Fornyes d. ",T1(j?.renewDate)]})]}),a.jsx("button",{type:"button",className:"sub-manage-link",children:"Administrer betalingsoplysninger"})]})]})]})]}):null]})]})]})}function O1(){const d=p.useMemo(()=>window.location.pathname==="/home",[]),i=p.useMemo(()=>window.location.pathname==="/pricing"||window.location.pathname==="/priser",[]),o=p.useMemo(()=>window.location.pathname==="/stories",[]),c=p.useMemo(()=>window.location.pathname==="/newsletter",[]),h=p.useMemo(()=>window.location.pathname.startsWith("/jobordbogen/")&&window.location.pathname!=="/jobordbogen/",[]),g=p.useMemo(()=>window.location.pathname==="/jobordbogen"||window.location.pathname==="/academy",[]),N=p.useMemo(()=>!!window.localStorage.getItem("token"),[]),H=p.useMemo(()=>window.localStorage.getItem("theme")==="dark"?"dark":"light",[]),[E,j]=p.useState(N),[C,w]=p.useState(H),[V,q]=p.useState("dashboard"),[G,Q]=p.useState(null),[me,re]=p.useState(null);function oe(P){(P==="dashboard"||P==="jobs"||P==="cv"||P==="messages"||P==="agents"||P==="ai-agent"||P==="simulator"||P==="subscription")&&q(P)}function X(P,te,ue="jobs"){Q({id:P,fromJobnet:te,returnPage:ue}),q("job-detail")}function se(){q(G?.returnPage??"jobs")}function ne(P){re(P),q("simulator-evaluation")}function Z(){q("simulator")}async function W(){await ks.clearCredentials(),q("dashboard"),Q(null),re(null),j(!1)}function F(){w(P=>{const te=P==="light"?"dark":"light";return window.localStorage.setItem("theme",te),te})}return d?a.jsx(qv,{}):i?a.jsx(l1,{}):o?a.jsx(m1,{}):c?a.jsx(h1,{}):h?a.jsx(c1,{}):g?a.jsx(r1,{}):E?V==="jobs"?a.jsx($v,{onLogout:W,onNavigate:oe,onOpenJobDetail:X,theme:C,onToggleTheme:F}):V==="cv"?a.jsx(Av,{onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):V==="messages"?a.jsx(t1,{onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):V==="agents"?a.jsx(ev,{onLogout:W,onNavigate:oe,onOpenJobDetail:X,theme:C,onToggleTheme:F}):V==="ai-agent"?a.jsx(nv,{onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):V==="simulator"?a.jsx(j1,{onLogout:W,onNavigate:oe,onOpenEvaluation:ne,theme:C,onToggleTheme:F}):V==="simulator-evaluation"&&me?a.jsx(C1,{interviewSelection:me,onBack:Z,onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):V==="subscription"?a.jsx(L1,{onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):V==="job-detail"&&G?a.jsx(Wv,{jobId:G.id,fromJobnet:G.fromJobnet,onBack:se,onLogout:W,onNavigate:oe,theme:C,onToggleTheme:F}):a.jsx(Rv,{onLogout:W,onNavigate:oe,onOpenJobDetail:X,theme:C,onToggleTheme:F}):a.jsx(qb,{onAuthenticated:()=>j(!0)})}ux.createRoot(document.getElementById("root")).render(a.jsx(p.StrictMode,{children:a.jsx(O1,{})}));