Files
Arbejd.com-react/dist/assets/index-BVCTZizG.js
2026-03-13 00:37:38 +01:00

19 lines
575 KiB
JavaScript
Raw 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 n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))d(h);new MutationObserver(h=>{for(const f of h)if(f.type==="childList")for(const D of f.addedNodes)D.tagName==="LINK"&&D.rel==="modulepreload"&&d(D)}).observe(document,{childList:!0,subtree:!0});function o(h){const f={};return h.integrity&&(f.integrity=h.integrity),h.referrerPolicy&&(f.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?f.credentials="include":h.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function d(h){if(h.ep)return;h.ep=!0;const f=o(h);fetch(h.href,f)}})();var Ec={exports:{}},ji={};var Ih;function gx(){if(Ih)return ji;Ih=1;var c=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(d,h,f){var D=null;if(f!==void 0&&(D=""+f),h.key!==void 0&&(D=""+h.key),"key"in h){f={};for(var B in h)B!=="key"&&(f[B]=h[B])}else f=h;return h=f.ref,{$$typeof:c,type:d,key:D,ref:h!==void 0?h:null,props:f}}return ji.Fragment=n,ji.jsx=o,ji.jsxs=o,ji}var Ph;function fx(){return Ph||(Ph=1,Ec.exports=gx()),Ec.exports}var a=fx(),Lc={exports:{}},fe={};var e0;function xx(){if(e0)return fe;e0=1;var c=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),D=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),k=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),H=Symbol.iterator;function R(g){return g===null||typeof g!="object"?null:(g=H&&g[H]||g["@@iterator"],typeof g=="function"?g:null)}var te={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,me={};function oe(g,N,O){this.props=g,this.context=N,this.refs=me,this.updater=O||te}oe.prototype.isReactComponent={},oe.prototype.setState=function(g,N){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,N,"setState")},oe.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function ge(){}ge.prototype=oe.prototype;function W(g,N,O){this.props=g,this.context=N,this.refs=me,this.updater=O||te}var ne=W.prototype=new ge;ne.constructor=W,Y(ne,oe.prototype),ne.isPureReactComponent=!0;var P=Array.isArray;function Q(){}var X={H:null,A:null,T:null,S:null},ae=Object.prototype.hasOwnProperty;function he(g,N,O){var J=O.ref;return{$$typeof:c,type:g,key:N,ref:J!==void 0?J:null,props:O}}function F(g,N){return he(g.type,N,g.props)}function le(g){return typeof g=="object"&&g!==null&&g.$$typeof===c}function I(g){var N={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(O){return N[O]})}var Se=/\/+/g;function Ne(g,N){return typeof g=="object"&&g!==null&&g.key!=null?I(""+g.key):N.toString(36)}function se(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(Q,Q):(g.status="pending",g.then(function(N){g.status==="pending"&&(g.status="fulfilled",g.value=N)},function(N){g.status==="pending"&&(g.status="rejected",g.reason=N)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function p(g,N,O,J,de){var ce=typeof g;(ce==="undefined"||ce==="boolean")&&(g=null);var _e=!1;if(g===null)_e=!0;else switch(ce){case"bigint":case"string":case"number":_e=!0;break;case"object":switch(g.$$typeof){case c:case n:_e=!0;break;case G:return _e=g._init,p(_e(g._payload),N,O,J,de)}}if(_e)return de=de(g),_e=J===""?"."+Ne(g,0):J,P(de)?(O="",_e!=null&&(O=_e.replace(Se,"$&/")+"/"),p(de,N,O,"",function(Ca){return Ca})):de!=null&&(le(de)&&(de=F(de,O+(de.key==null||g&&g.key===de.key?"":(""+de.key).replace(Se,"$&/")+"/")+_e)),N.push(de)),1;_e=0;var at=J===""?".":J+":";if(P(g))for(var Ge=0;Ge<g.length;Ge++)J=g[Ge],ce=at+Ne(J,Ge),_e+=p(J,N,O,ce,de);else if(Ge=R(g),typeof Ge=="function")for(g=Ge.call(g),Ge=0;!(J=g.next()).done;)J=J.value,ce=at+Ne(J,Ge++),_e+=p(J,N,O,ce,de);else if(ce==="object"){if(typeof g.then=="function")return p(se(g),N,O,J,de);throw N=String(g),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return _e}function C(g,N,O){if(g==null)return g;var J=[],de=0;return p(g,J,"","",function(ce){return N.call(O,ce,de++)}),J}function j(g){if(g._status===-1){var N=g._result;N=N(),N.then(function(O){(g._status===0||g._status===-1)&&(g._status=1,g._result=O)},function(O){(g._status===0||g._status===-1)&&(g._status=2,g._result=O)}),g._status===-1&&(g._status=0,g._result=N)}if(g._status===1)return g._result.default;throw g._result}var q=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)},Z={map:C,forEach:function(g,N,O){C(g,function(){N.apply(this,arguments)},O)},count:function(g){var N=0;return C(g,function(){N++}),N},toArray:function(g){return C(g,function(N){return N})||[]},only:function(g){if(!le(g))throw Error("React.Children.only expected to receive a single React element child.");return g}};return fe.Activity=E,fe.Children=Z,fe.Component=oe,fe.Fragment=o,fe.Profiler=h,fe.PureComponent=W,fe.StrictMode=d,fe.Suspense=z,fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,fe.__COMPILER_RUNTIME={__proto__:null,c:function(g){return X.H.useMemoCache(g)}},fe.cache=function(g){return function(){return g.apply(null,arguments)}},fe.cacheSignal=function(){return null},fe.cloneElement=function(g,N,O){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var J=Y({},g.props),de=g.key;if(N!=null)for(ce in N.key!==void 0&&(de=""+N.key),N)!ae.call(N,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&N.ref===void 0||(J[ce]=N[ce]);var ce=arguments.length-2;if(ce===1)J.children=O;else if(1<ce){for(var _e=Array(ce),at=0;at<ce;at++)_e[at]=arguments[at+2];J.children=_e}return he(g.type,de,J)},fe.createContext=function(g){return g={$$typeof:D,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:f,_context:g},g},fe.createElement=function(g,N,O){var J,de={},ce=null;if(N!=null)for(J in N.key!==void 0&&(ce=""+N.key),N)ae.call(N,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(de[J]=N[J]);var _e=arguments.length-2;if(_e===1)de.children=O;else if(1<_e){for(var at=Array(_e),Ge=0;Ge<_e;Ge++)at[Ge]=arguments[Ge+2];de.children=at}if(g&&g.defaultProps)for(J in _e=g.defaultProps,_e)de[J]===void 0&&(de[J]=_e[J]);return he(g,ce,de)},fe.createRef=function(){return{current:null}},fe.forwardRef=function(g){return{$$typeof:B,render:g}},fe.isValidElement=le,fe.lazy=function(g){return{$$typeof:G,_payload:{_status:-1,_result:g},_init:j}},fe.memo=function(g,N){return{$$typeof:k,type:g,compare:N===void 0?null:N}},fe.startTransition=function(g){var N=X.T,O={};X.T=O;try{var J=g(),de=X.S;de!==null&&de(O,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(Q,q)}catch(ce){q(ce)}finally{N!==null&&O.types!==null&&(N.types=O.types),X.T=N}},fe.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},fe.use=function(g){return X.H.use(g)},fe.useActionState=function(g,N,O){return X.H.useActionState(g,N,O)},fe.useCallback=function(g,N){return X.H.useCallback(g,N)},fe.useContext=function(g){return X.H.useContext(g)},fe.useDebugValue=function(){},fe.useDeferredValue=function(g,N){return X.H.useDeferredValue(g,N)},fe.useEffect=function(g,N){return X.H.useEffect(g,N)},fe.useEffectEvent=function(g){return X.H.useEffectEvent(g)},fe.useId=function(){return X.H.useId()},fe.useImperativeHandle=function(g,N,O){return X.H.useImperativeHandle(g,N,O)},fe.useInsertionEffect=function(g,N){return X.H.useInsertionEffect(g,N)},fe.useLayoutEffect=function(g,N){return X.H.useLayoutEffect(g,N)},fe.useMemo=function(g,N){return X.H.useMemo(g,N)},fe.useOptimistic=function(g,N){return X.H.useOptimistic(g,N)},fe.useReducer=function(g,N,O){return X.H.useReducer(g,N,O)},fe.useRef=function(g){return X.H.useRef(g)},fe.useState=function(g){return X.H.useState(g)},fe.useSyncExternalStore=function(g,N,O){return X.H.useSyncExternalStore(g,N,O)},fe.useTransition=function(){return X.H.useTransition()},fe.version="19.2.4",fe}var t0;function id(){return t0||(t0=1,Lc.exports=xx()),Lc.exports}var v=id(),Oc={exports:{}},yi={},Uc={exports:{}},Vc={};var a0;function px(){return a0||(a0=1,(function(c){function n(p,C){var j=p.length;p.push(C);e:for(;0<j;){var q=j-1>>>1,Z=p[q];if(0<h(Z,C))p[q]=C,p[j]=Z,j=q;else break e}}function o(p){return p.length===0?null:p[0]}function d(p){if(p.length===0)return null;var C=p[0],j=p.pop();if(j!==C){p[0]=j;e:for(var q=0,Z=p.length,g=Z>>>1;q<g;){var N=2*(q+1)-1,O=p[N],J=N+1,de=p[J];if(0>h(O,j))J<Z&&0>h(de,O)?(p[q]=de,p[J]=j,q=J):(p[q]=O,p[N]=j,q=N);else if(J<Z&&0>h(de,j))p[q]=de,p[J]=j,q=J;else break e}}return C}function h(p,C){var j=p.sortIndex-C.sortIndex;return j!==0?j:p.id-C.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;c.unstable_now=function(){return f.now()}}else{var D=Date,B=D.now();c.unstable_now=function(){return D.now()-B}}var z=[],k=[],G=1,E=null,H=3,R=!1,te=!1,Y=!1,me=!1,oe=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function ne(p){for(var C=o(k);C!==null;){if(C.callback===null)d(k);else if(C.startTime<=p)d(k),C.sortIndex=C.expirationTime,n(z,C);else break;C=o(k)}}function P(p){if(Y=!1,ne(p),!te)if(o(z)!==null)te=!0,Q||(Q=!0,I());else{var C=o(k);C!==null&&se(P,C.startTime-p)}}var Q=!1,X=-1,ae=5,he=-1;function F(){return me?!0:!(c.unstable_now()-he<ae)}function le(){if(me=!1,Q){var p=c.unstable_now();he=p;var C=!0;try{e:{te=!1,Y&&(Y=!1,ge(X),X=-1),R=!0;var j=H;try{t:{for(ne(p),E=o(z);E!==null&&!(E.expirationTime>p&&F());){var q=E.callback;if(typeof q=="function"){E.callback=null,H=E.priorityLevel;var Z=q(E.expirationTime<=p);if(p=c.unstable_now(),typeof Z=="function"){E.callback=Z,ne(p),C=!0;break t}E===o(z)&&d(z),ne(p)}else d(z);E=o(z)}if(E!==null)C=!0;else{var g=o(k);g!==null&&se(P,g.startTime-p),C=!1}}break e}finally{E=null,H=j,R=!1}C=void 0}}finally{C?I():Q=!1}}}var I;if(typeof W=="function")I=function(){W(le)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,Ne=Se.port2;Se.port1.onmessage=le,I=function(){Ne.postMessage(null)}}else I=function(){oe(le,0)};function se(p,C){X=oe(function(){p(c.unstable_now())},C)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(p){p.callback=null},c.unstable_forceFrameRate=function(p){0>p||125<p?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<p?Math.floor(1e3/p):5},c.unstable_getCurrentPriorityLevel=function(){return H},c.unstable_next=function(p){switch(H){case 1:case 2:case 3:var C=3;break;default:C=H}var j=H;H=C;try{return p()}finally{H=j}},c.unstable_requestPaint=function(){me=!0},c.unstable_runWithPriority=function(p,C){switch(p){case 1:case 2:case 3:case 4:case 5:break;default:p=3}var j=H;H=p;try{return C()}finally{H=j}},c.unstable_scheduleCallback=function(p,C,j){var q=c.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?q+j:q):j=q,p){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=j+Z,p={id:G++,callback:C,priorityLevel:p,startTime:j,expirationTime:Z,sortIndex:-1},j>q?(p.sortIndex=j,n(k,p),o(z)===null&&p===o(k)&&(Y?(ge(X),X=-1):Y=!0,se(P,j-q))):(p.sortIndex=Z,n(z,p),te||R||(te=!0,Q||(Q=!0,I()))),p},c.unstable_shouldYield=F,c.unstable_wrapCallback=function(p){var C=H;return function(){var j=H;H=C;try{return p.apply(this,arguments)}finally{H=j}}}})(Vc)),Vc}var l0;function bx(){return l0||(l0=1,Uc.exports=px()),Uc.exports}var Rc={exports:{}},ht={};var s0;function vx(){if(s0)return ht;s0=1;var c=id();function n(z){var k="https://react.dev/errors/"+z;if(1<arguments.length){k+="?args[]="+encodeURIComponent(arguments[1]);for(var G=2;G<arguments.length;G++)k+="&args[]="+encodeURIComponent(arguments[G])}return"Minified React error #"+z+"; visit "+k+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var d={d:{f:o,r:function(){throw Error(n(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 f(z,k,G){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:E==null?null:""+E,children:z,containerInfo:k,implementation:G}}var D=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function B(z,k){if(z==="font")return"";if(typeof k=="string")return k==="use-credentials"?k:""}return ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,ht.createPortal=function(z,k){var G=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!k||k.nodeType!==1&&k.nodeType!==9&&k.nodeType!==11)throw Error(n(299));return f(z,k,null,G)},ht.flushSync=function(z){var k=D.T,G=d.p;try{if(D.T=null,d.p=2,z)return z()}finally{D.T=k,d.p=G,d.d.f()}},ht.preconnect=function(z,k){typeof z=="string"&&(k?(k=k.crossOrigin,k=typeof k=="string"?k==="use-credentials"?k:"":void 0):k=null,d.d.C(z,k))},ht.prefetchDNS=function(z){typeof z=="string"&&d.d.D(z)},ht.preinit=function(z,k){if(typeof z=="string"&&k&&typeof k.as=="string"){var G=k.as,E=B(G,k.crossOrigin),H=typeof k.integrity=="string"?k.integrity:void 0,R=typeof k.fetchPriority=="string"?k.fetchPriority:void 0;G==="style"?d.d.S(z,typeof k.precedence=="string"?k.precedence:void 0,{crossOrigin:E,integrity:H,fetchPriority:R}):G==="script"&&d.d.X(z,{crossOrigin:E,integrity:H,fetchPriority:R,nonce:typeof k.nonce=="string"?k.nonce:void 0})}},ht.preinitModule=function(z,k){if(typeof z=="string")if(typeof k=="object"&&k!==null){if(k.as==null||k.as==="script"){var G=B(k.as,k.crossOrigin);d.d.M(z,{crossOrigin:G,integrity:typeof k.integrity=="string"?k.integrity:void 0,nonce:typeof k.nonce=="string"?k.nonce:void 0})}}else k==null&&d.d.M(z)},ht.preload=function(z,k){if(typeof z=="string"&&typeof k=="object"&&k!==null&&typeof k.as=="string"){var G=k.as,E=B(G,k.crossOrigin);d.d.L(z,G,{crossOrigin:E,integrity:typeof k.integrity=="string"?k.integrity:void 0,nonce:typeof k.nonce=="string"?k.nonce:void 0,type:typeof k.type=="string"?k.type:void 0,fetchPriority:typeof k.fetchPriority=="string"?k.fetchPriority:void 0,referrerPolicy:typeof k.referrerPolicy=="string"?k.referrerPolicy:void 0,imageSrcSet:typeof k.imageSrcSet=="string"?k.imageSrcSet:void 0,imageSizes:typeof k.imageSizes=="string"?k.imageSizes:void 0,media:typeof k.media=="string"?k.media:void 0})}},ht.preloadModule=function(z,k){if(typeof z=="string")if(k){var G=B(k.as,k.crossOrigin);d.d.m(z,{as:typeof k.as=="string"&&k.as!=="script"?k.as:void 0,crossOrigin:G,integrity:typeof k.integrity=="string"?k.integrity:void 0})}else d.d.m(z)},ht.requestFormReset=function(z){d.d.r(z)},ht.unstable_batchedUpdates=function(z,k){return z(k)},ht.useFormState=function(z,k,G){return D.H.useFormState(z,k,G)},ht.useFormStatus=function(){return D.H.useHostTransitionStatus()},ht.version="19.2.4",ht}var i0;function jx(){if(i0)return Rc.exports;i0=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(n){console.error(n)}}return c(),Rc.exports=vx(),Rc.exports}var n0;function yx(){if(n0)return yi;n0=1;var c=bx(),n=id(),o=jx();function d(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 f(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 D(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 B(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 z(e){if(f(e)!==e)throw Error(d(188))}function k(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(d(188));return t!==e?null:e}for(var l=e,s=t;;){var i=l.return;if(i===null)break;var r=i.alternate;if(r===null){if(s=i.return,s!==null){l=s;continue}break}if(i.child===r.child){for(r=i.child;r;){if(r===l)return z(i),e;if(r===s)return z(i),t;r=r.sibling}throw Error(d(188))}if(l.return!==s.return)l=i,s=r;else{for(var u=!1,m=i.child;m;){if(m===l){u=!0,l=i,s=r;break}if(m===s){u=!0,s=i,l=r;break}m=m.sibling}if(!u){for(m=r.child;m;){if(m===l){u=!0,l=r,s=i;break}if(m===s){u=!0,s=r,l=i;break}m=m.sibling}if(!u)throw Error(d(189))}}if(l.alternate!==s)throw Error(d(190))}if(l.tag!==3)throw Error(d(188));return l.stateNode.current===l?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}var E=Object.assign,H=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),te=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),ge=Symbol.for("react.consumer"),W=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=le&&e[le]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Y:return"Fragment";case oe:return"Profiler";case me:return"StrictMode";case P:return"Suspense";case Q:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case te:return"Portal";case W:return e.displayName||"Context";case ge:return(e._context.displayName||"Context")+".Consumer";case ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case ae:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var se=Array.isArray,p=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j={pending:!1,data:null,method:null,action:null},q=[],Z=-1;function g(e){return{current:e}}function N(e){0>Z||(e.current=q[Z],q[Z]=null,Z--)}function O(e,t){Z++,q[Z]=e.current,e.current=t}var J=g(null),de=g(null),ce=g(null),_e=g(null);function at(e,t){switch(O(ce,t),O(de,e),O(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=yh(t),e=kh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N(J),O(J,e)}function Ge(){N(J),N(de),N(ce)}function Ca(e){e.memoizedState!==null&&O(_e,e);var t=J.current,l=kh(t,e.type);t!==l&&(O(de,e),O(J,l))}function Ea(e){de.current===e&&(N(J),N(de)),_e.current===e&&(N(_e),xi._currentValue=j)}var rl,Pt;function Xt(e){if(rl===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);rl=t&&t[1]||"",Pt=-1<l.stack.indexOf(`
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+rl+e+Pt}var Lt=!1;function ca(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 V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(T){var A=T}Reflect.construct(e,[],V)}else{try{V.call()}catch(T){A=T}e.call(V.prototype)}}else{try{throw Error()}catch(T){A=T}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(T){if(T&&A&&typeof T.stack=="string")return[T.stack,A.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");i&&i.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(`
`),_=m.split(`
`);for(i=s=0;s<x.length&&!x[s].includes("DetermineComponentFrameRoot");)s++;for(;i<_.length&&!_[i].includes("DetermineComponentFrameRoot");)i++;if(s===x.length||i===_.length)for(s=x.length-1,i=_.length-1;1<=s&&0<=i&&x[s]!==_[i];)i--;for(;1<=s&&0<=i;s--,i--)if(x[s]!==_[i]){if(s!==1||i!==1)do if(s--,i--,0>i||x[s]!==_[i]){var L=`
`+x[s].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=s&&0<=i);break}}}finally{Lt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Xt(l):""}function jr(e,t){switch(e.tag){case 26:case 27:case 5:return Xt(e.type);case 16:return Xt("Lazy");case 13:return e.child!==t&&t!==null?Xt("Suspense Fallback"):Xt("Suspense");case 19:return Xt("SuspenseList");case 0:case 15:return ca(e.type,!1);case 11:return ca(e.type.render,!1);case 1:return ca(e.type,!0);case 31:return Xt("Activity");default:return""}}function _s(e){try{var t="",l=null;do t+=jr(e,l),l=e,e=e.return;while(e);return t}catch(s){return`
Error generating stack: `+s.message+`
`+s.stack}}var Rl=Object.prototype.hasOwnProperty,Hl=c.unstable_scheduleCallback,As=c.unstable_cancelCallback,Ui=c.unstable_shouldYield,ol=c.unstable_requestPaint,gt=c.unstable_now,Vi=c.unstable_getCurrentPriorityLevel,Ri=c.unstable_ImmediatePriority,zs=c.unstable_UserBlockingPriority,Bl=c.unstable_NormalPriority,Hi=c.unstable_LowPriority,Bi=c.unstable_IdlePriority,qi=c.log,yr=c.unstable_setDisableYieldValue,Re=null,lt=null;function Ot(e){if(typeof qi=="function"&&yr(e),lt&&typeof lt.setStrictMode=="function")try{lt.setStrictMode(Re,e)}catch{}}var ft=Math.clz32?Math.clz32:Gi,kr=Math.log,cl=Math.LN2;function Gi(e){return e>>>=0,e===0?32:31-(kr(e)/cl|0)|0}var dl=256,ul=262144,ml=4194304;function Zt(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 i=0,r=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var m=s&134217727;return m!==0?(s=m&~r,s!==0?i=Zt(s):(u&=m,u!==0?i=Zt(u):l||(l=m&~e,l!==0&&(i=Zt(l))))):(m=s&~r,m!==0?i=Zt(m):u!==0?i=Zt(u):l||(l=s&~e,l!==0&&(i=Zt(l)))),i===0?0:t!==0&&t!==i&&(t&r)===0&&(r=i&-i,l=t&-t,r>=l||r===32&&(l&4194048)!==0)?t:i}function gl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Nr(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 Ds(){var e=ml;return ml<<=1,(ml&62914560)===0&&(ml=4194304),e}function Ts(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function ea(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function da(e,t,l,s,i,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,_=e.hiddenUpdates;for(l=u&~l;0<l;){var L=31-ft(l),V=1<<L;m[L]=0,x[L]=-1;var A=_[L];if(A!==null)for(_[L]=null,L=0;L<A.length;L++){var T=A[L];T!==null&&(T.lane&=-536870913)}l&=~V}s!==0&&Ji(e,s,0),r!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=r&~(u&~t))}function Ji(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-ft(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|l&261930}function Yi(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var s=31-ft(l),i=1<<s;i&t|e[s]&t&&(e[s]|=t),l&=~i}}function Ki(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 Ms(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Wi(){var e=C.p;return e!==0?e:(e=window.event,e===void 0?32:Kh(e.type))}function wr(e,t){var l=C.p;try{return C.p=e,t()}finally{C.p=l}}var Ut=Math.random().toString(36).slice(2),Pe="__reactFiber$"+Ut,mt="__reactProps$"+Ut,La="__reactContainer$"+Ut,Cs="__reactEvents$"+Ut,S="__reactListeners$"+Ut,Me="__reactHandles$"+Ut,st="__reactResources$"+Ut,ua="__reactMarker$"+Ut;function fl(e){delete e[Pe],delete e[mt],delete e[Cs],delete e[S],delete e[Me]}function ta(e){var t=e[Pe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[La]||l[Pe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Dh(e);e!==null;){if(l=e[Pe])return l;e=Dh(e)}return t}e=l,l=e.parentNode}return null}function aa(e){if(e=e[Pe]||e[La]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ma(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(d(33))}function ql(e){var t=e[st];return t||(t=e[st]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function it(e){e[ua]=!0}var cd=new Set,dd={};function xl(e,t){Gl(e,t),Gl(e+"Capture",t)}function Gl(e,t){for(dd[e]=t,e=0;e<t.length;e++)cd.add(t[e])}var sg=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]*$"),ud={},md={};function ig(e){return Rl.call(md,e)?!0:Rl.call(ud,e)?!1:sg.test(e)?md[e]=!0:(ud[e]=!0,!1)}function Qi(e,t,l){if(ig(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 Xi(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 ha(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 Vt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ng(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 i=s.get,r=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.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 Sr(e){if(!e._valueTracker){var t=hd(e)?"checked":"value";e._valueTracker=ng(e,t,""+e[t])}}function gd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),s="";return e&&(s=hd(e)?e.checked?"true":"false":e.value),e=s,e!==l?(t.setValue(e),!0):!1}function Zi(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 rg=/[\n"\\]/g;function Rt(e){return e.replace(rg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function _r(e,t,l,s,i,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=""+Vt(t)):e.value!==""+Vt(t)&&(e.value=""+Vt(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Ar(e,u,Vt(t)):l!=null?Ar(e,u,Vt(l)):s!=null&&e.removeAttribute("value"),i==null&&r!=null&&(e.defaultChecked=!!r),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Vt(m):e.removeAttribute("name")}function fd(e,t,l,s,i,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)){Sr(e);return}l=l!=null?""+Vt(l):"",t=t!=null?""+Vt(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}s=s??i,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),Sr(e)}function Ar(e,t,l){t==="number"&&Zi(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Jl(e,t,l,s){if(e=e.options,t){t={};for(var i=0;i<l.length;i++)t["$"+l[i]]=!0;for(l=0;l<e.length;l++)i=t.hasOwnProperty("$"+e[l].value),e[l].selected!==i&&(e[l].selected=i),i&&s&&(e[l].defaultSelected=!0)}else{for(l=""+Vt(l),t=null,i=0;i<e.length;i++){if(e[i].value===l){e[i].selected=!0,s&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function xd(e,t,l){if(t!=null&&(t=""+Vt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Vt(l):""}function pd(e,t,l,s){if(t==null){if(s!=null){if(l!=null)throw Error(d(92));if(se(s)){if(1<s.length)throw Error(d(93));s=s[0]}l=s}l==null&&(l=""),t=l}l=Vt(t),e.defaultValue=l,s=e.textContent,s===l&&s!==""&&s!==null&&(e.value=s),Sr(e)}function Yl(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var og=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 bd(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||og.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function vd(e,t,l){if(t!=null&&typeof t!="object")throw Error(d(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 i in t)s=t[i],t.hasOwnProperty(i)&&l[i]!==s&&bd(e,i,s)}else for(var r in t)t.hasOwnProperty(r)&&bd(e,r,t[r])}function zr(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 cg=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"]]),dg=/^[\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 Fi(e){return dg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ga(){}var Dr=null;function Tr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kl=null,Wl=null;function jd(e){var t=aa(e);if(t&&(e=t.stateNode)){var l=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(_r(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="'+Rt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var s=l[t];if(s!==e&&s.form===e.form){var i=s[mt]||null;if(!i)throw Error(d(90));_r(s,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<l.length;t++)s=l[t],s.form===e.form&&gd(s)}break e;case"textarea":xd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Jl(e,!!l.multiple,t,!1)}}}var Mr=!1;function yd(e,t,l){if(Mr)return e(t,l);Mr=!0;try{var s=e(t);return s}finally{if(Mr=!1,(Kl!==null||Wl!==null)&&(Rn(),Kl&&(t=Kl,e=Wl,Wl=Kl=null,jd(t),e)))for(t=0;t<e.length;t++)jd(e[t])}}function Es(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(d(231,t,typeof l));return l}var fa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Cr=!1;if(fa)try{var Ls={};Object.defineProperty(Ls,"passive",{get:function(){Cr=!0}}),window.addEventListener("test",Ls,Ls),window.removeEventListener("test",Ls,Ls)}catch{Cr=!1}var Oa=null,Er=null,$i=null;function kd(){if($i)return $i;var e,t=Er,l=t.length,s,i="value"in Oa?Oa.value:Oa.textContent,r=i.length;for(e=0;e<l&&t[e]===i[e];e++);var u=l-e;for(s=1;s<=u&&t[l-s]===i[r-s];s++);return $i=i.slice(e,1<s?1-s:void 0)}function Ii(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 Pi(){return!0}function Nd(){return!1}function pt(e){function t(l,s,i,r,u){this._reactName=l,this._targetInst=i,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)?Pi:Nd,this.isPropagationStopped=Nd,this}return E(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=Pi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Pi)},persist:function(){},isPersistent:Pi}),t}var pl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},en=pt(pl),Os=E({},pl,{view:0,detail:0}),ug=pt(Os),Lr,Or,Us,tn=E({},Os,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vr,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!==Us&&(Us&&e.type==="mousemove"?(Lr=e.screenX-Us.screenX,Or=e.screenY-Us.screenY):Or=Lr=0,Us=e),Lr)},movementY:function(e){return"movementY"in e?e.movementY:Or}}),wd=pt(tn),mg=E({},tn,{dataTransfer:0}),hg=pt(mg),gg=E({},Os,{relatedTarget:0}),Ur=pt(gg),fg=E({},pl,{animationName:0,elapsedTime:0,pseudoElement:0}),xg=pt(fg),pg=E({},pl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bg=pt(pg),vg=E({},pl,{data:0}),Sd=pt(vg),jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yg={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"},kg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ng(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kg[e])?!!t[e]:!1}function Vr(){return Ng}var wg=E({},Os,{key:function(e){if(e.key){var t=jg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vr,charCode:function(e){return e.type==="keypress"?Ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sg=pt(wg),_g=E({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_d=pt(_g),Ag=E({},Os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vr}),zg=pt(Ag),Dg=E({},pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tg=pt(Dg),Mg=E({},tn,{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}),Cg=pt(Mg),Eg=E({},pl,{newState:0,oldState:0}),Lg=pt(Eg),Og=[9,13,27,32],Rr=fa&&"CompositionEvent"in window,Vs=null;fa&&"documentMode"in document&&(Vs=document.documentMode);var Ug=fa&&"TextEvent"in window&&!Vs,Ad=fa&&(!Rr||Vs&&8<Vs&&11>=Vs),zd=" ",Dd=!1;function Td(e,t){switch(e){case"keyup":return Og.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Md(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ql=!1;function Vg(e,t){switch(e){case"compositionend":return Md(t);case"keypress":return t.which!==32?null:(Dd=!0,zd);case"textInput":return e=t.data,e===zd&&Dd?null:e;default:return null}}function Rg(e,t){if(Ql)return e==="compositionend"||!Rr&&Td(e,t)?(e=kd(),$i=Er=Oa=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 Ad&&t.locale!=="ko"?null:t.data;default:return null}}var Hg={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 Cd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Hg[e.type]:t==="textarea"}function Ed(e,t,l,s){Kl?Wl?Wl.push(s):Wl=[s]:Kl=s,t=Kn(t,"onChange"),0<t.length&&(l=new en("onChange","change",null,l,s),e.push({event:l,listeners:t}))}var Rs=null,Hs=null;function Bg(e){fh(e,0)}function an(e){var t=ma(e);if(gd(t))return e}function Ld(e,t){if(e==="change")return t}var Od=!1;if(fa){var Hr;if(fa){var Br="oninput"in document;if(!Br){var Ud=document.createElement("div");Ud.setAttribute("oninput","return;"),Br=typeof Ud.oninput=="function"}Hr=Br}else Hr=!1;Od=Hr&&(!document.documentMode||9<document.documentMode)}function Vd(){Rs&&(Rs.detachEvent("onpropertychange",Rd),Hs=Rs=null)}function Rd(e){if(e.propertyName==="value"&&an(Hs)){var t=[];Ed(t,Hs,e,Tr(e)),yd(Bg,t)}}function qg(e,t,l){e==="focusin"?(Vd(),Rs=t,Hs=l,Rs.attachEvent("onpropertychange",Rd)):e==="focusout"&&Vd()}function Gg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return an(Hs)}function Jg(e,t){if(e==="click")return an(t)}function Yg(e,t){if(e==="input"||e==="change")return an(t)}function Kg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:Kg;function Bs(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 i=l[s];if(!Rl.call(t,i)||!_t(e[i],t[i]))return!1}return!0}function Hd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bd(e,t){var l=Hd(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=Hd(l)}}function qd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Zi(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=Zi(e.document)}return t}function qr(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 Wg=fa&&"documentMode"in document&&11>=document.documentMode,Xl=null,Gr=null,qs=null,Jr=!1;function Jd(e,t,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Jr||Xl==null||Xl!==Zi(s)||(s=Xl,"selectionStart"in s&&qr(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}),qs&&Bs(qs,s)||(qs=s,s=Kn(Gr,"onSelect"),0<s.length&&(t=new en("onSelect","select",null,t,l),e.push({event:t,listeners:s}),t.target=Xl)))}function bl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Zl={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")},Yr={},Yd={};fa&&(Yd=document.createElement("div").style,"AnimationEvent"in window||(delete Zl.animationend.animation,delete Zl.animationiteration.animation,delete Zl.animationstart.animation),"TransitionEvent"in window||delete Zl.transitionend.transition);function vl(e){if(Yr[e])return Yr[e];if(!Zl[e])return e;var t=Zl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Yd)return Yr[e]=t[l];return e}var Kd=vl("animationend"),Wd=vl("animationiteration"),Qd=vl("animationstart"),Qg=vl("transitionrun"),Xg=vl("transitionstart"),Zg=vl("transitioncancel"),Xd=vl("transitionend"),Zd=new Map,Kr="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(" ");Kr.push("scrollEnd");function Ft(e,t){Zd.set(e,t),xl(t,[e])}var ln=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)},Ht=[],Fl=0,Wr=0;function sn(){for(var e=Fl,t=Wr=Fl=0;t<e;){var l=Ht[t];Ht[t++]=null;var s=Ht[t];Ht[t++]=null;var i=Ht[t];Ht[t++]=null;var r=Ht[t];if(Ht[t++]=null,s!==null&&i!==null){var u=s.pending;u===null?i.next=i:(i.next=u.next,u.next=i),s.pending=i}r!==0&&Fd(l,i,r)}}function nn(e,t,l,s){Ht[Fl++]=e,Ht[Fl++]=t,Ht[Fl++]=l,Ht[Fl++]=s,Wr|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Qr(e,t,l,s){return nn(e,t,l,s),rn(e)}function jl(e,t){return nn(e,null,null,t),rn(e)}function Fd(e,t,l){e.lanes|=l;var s=e.alternate;s!==null&&(s.lanes|=l);for(var i=!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||(i=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,i&&t!==null&&(i=31-ft(l),e=r.hiddenUpdates,s=e[i],s===null?e[i]=[t]:s.push(t),t.lane=l|536870912),r):null}function rn(e){if(50<ci)throw ci=0,lc=null,Error(d(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var $l={};function Fg(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 Fg(e,t,l,s)}function Xr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xa(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 $d(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 on(e,t,l,s,i,r){var u=0;if(s=e,typeof e=="function")Xr(e)&&(u=1);else if(typeof e=="string")u=ax(e,l,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case he:return e=At(31,l,t,i),e.elementType=he,e.lanes=r,e;case Y:return yl(l.children,i,r,t);case me:u=8,i|=24;break;case oe:return e=At(12,l,t,i|2),e.elementType=oe,e.lanes=r,e;case P:return e=At(13,l,t,i),e.elementType=P,e.lanes=r,e;case Q:return e=At(19,l,t,i),e.elementType=Q,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W:u=10;break e;case ge:u=9;break e;case ne:u=11;break e;case X:u=14;break e;case ae:u=16,s=null;break e}u=29,l=Error(d(130,e===null?"null":typeof e,"")),s=null}return t=At(u,l,t,i),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 Zr(e,t,l){return e=At(6,e,null,t),e.lanes=l,e}function Id(e){var t=At(18,null,null,0);return t.stateNode=e,t}function Fr(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 Pd=new WeakMap;function Bt(e,t){if(typeof e=="object"&&e!==null){var l=Pd.get(e);return l!==void 0?l:(t={value:e,source:t,stack:_s(t)},Pd.set(e,t),t)}return{value:e,source:t,stack:_s(t)}}var Il=[],Pl=0,cn=null,Gs=0,qt=[],Gt=0,Ua=null,la=1,sa="";function pa(e,t){Il[Pl++]=Gs,Il[Pl++]=cn,cn=e,Gs=t}function eu(e,t,l){qt[Gt++]=la,qt[Gt++]=sa,qt[Gt++]=Ua,Ua=e;var s=la;e=sa;var i=32-ft(s)-1;s&=~(1<<i),l+=1;var r=32-ft(t)+i;if(30<r){var u=i-i%5;r=(s&(1<<u)-1).toString(32),s>>=u,i-=u,la=1<<32-ft(t)+i|l<<i|s,sa=r+e}else la=1<<r|l<<i|s,sa=e}function $r(e){e.return!==null&&(pa(e,1),eu(e,1,0))}function Ir(e){for(;e===cn;)cn=Il[--Pl],Il[Pl]=null,Gs=Il[--Pl],Il[Pl]=null;for(;e===Ua;)Ua=qt[--Gt],qt[Gt]=null,sa=qt[--Gt],qt[Gt]=null,la=qt[--Gt],qt[Gt]=null}function tu(e,t){qt[Gt++]=la,qt[Gt++]=sa,qt[Gt++]=Ua,la=t.id,sa=t.overflow,Ua=e}var ot=null,He=null,we=!1,Va=null,Jt=!1,Pr=Error(d(519));function Ra(e){var t=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Js(Bt(t,e)),Pr}function au(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<ui.length;l++)je(ui[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),fd(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),pd(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||vh(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=ga),t=!0):t=!1,t||Ra(e,!0)}function lu(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 es(e){if(e!==ot)return!1;if(!we)return lu(e),we=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||bc(e.type,e.memoizedProps)),l=!l),l&&He&&Ra(e),lu(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));He=zh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));He=zh(e)}else t===27?(t=He,Ia(e.type)?(e=Nc,Nc=null,He=e):He=t):He=ot?Kt(e.stateNode.nextSibling):null;return!0}function kl(){He=ot=null,we=!1}function eo(){var e=Va;return e!==null&&(yt===null?yt=e:yt.push.apply(yt,e),Va=null),e}function Js(e){Va===null?Va=[e]:Va.push(e)}var to=g(null),Nl=null,ba=null;function Ha(e,t,l){O(to,t._currentValue),t._currentValue=l}function va(e){e._currentValue=to.current,N(to)}function ao(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 lo(e,t,l,s){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var r=i.dependencies;if(r!==null){var u=i.child;r=r.firstContext;e:for(;r!==null;){var m=r;r=i;for(var x=0;x<t.length;x++)if(m.context===t[x]){r.lanes|=l,m=r.alternate,m!==null&&(m.lanes|=l),ao(r.return,l,e),s||(u=null);break e}r=m.next}}else if(i.tag===18){if(u=i.return,u===null)throw Error(d(341));u.lanes|=l,r=u.alternate,r!==null&&(r.lanes|=l),ao(u,l,e),u=null}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}}function ts(e,t,l,s){e=null;for(var i=t,r=!1;i!==null;){if(!r){if((i.flags&524288)!==0)r=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var u=i.alternate;if(u===null)throw Error(d(387));if(u=u.memoizedProps,u!==null){var m=i.type;_t(i.pendingProps.value,u.value)||(e!==null?e.push(m):e=[m])}}else if(i===_e.current){if(u=i.alternate,u===null)throw Error(d(387));u.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(xi):e=[xi])}i=i.return}e!==null&&lo(t,e,l,s),t.flags|=262144}function dn(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,ba=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return su(Nl,e)}function un(e,t){return Nl===null&&wl(e),su(e,t)}function su(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},ba===null){if(e===null)throw Error(d(308));ba=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ba=ba.next=t;return l}var $g=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()})}},Ig=c.unstable_scheduleCallback,Pg=c.unstable_NormalPriority,Xe={$$typeof:W,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function so(){return{controller:new $g,data:new Map,refCount:0}}function Ys(e){e.refCount--,e.refCount===0&&Ig(Pg,function(){e.controller.abort()})}var Ks=null,io=0,as=0,ls=null;function ef(e,t){if(Ks===null){var l=Ks=[];io=0,as=cc(),ls={status:"pending",value:void 0,then:function(s){l.push(s)}}}return io++,t.then(iu,iu),t}function iu(){if(--io===0&&Ks!==null){ls!==null&&(ls.status="fulfilled");var e=Ks;Ks=null,as=0,ls=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function tf(e,t){var l=[],s={status:"pending",value:null,reason:null,then:function(i){l.push(i)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var i=0;i<l.length;i++)(0,l[i])(t)},function(i){for(s.status="rejected",s.reason=i,i=0;i<l.length;i++)(0,l[i])(void 0)}),s}var nu=p.S;p.S=function(e,t){Jm=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&ef(e,t),nu!==null&&nu(e,t)};var Sl=g(null);function no(){var e=Sl.current;return e!==null?e:Ve.pooledCache}function mn(e,t){t===null?O(Sl,Sl.current):O(Sl,t.pool)}function ru(){var e=no();return e===null?null:{parent:Xe._currentValue,pool:e}}var ss=Error(d(460)),ro=Error(d(474)),hn=Error(d(542)),gn={then:function(){}};function ou(e){return e=e.status,e==="fulfilled"||e==="rejected"}function cu(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(ga,ga),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,uu(e),e;default:if(typeof t.status=="string")t.then(ga,ga);else{if(e=Ve,e!==null&&100<e.shellSuspendCounter)throw Error(d(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=s}},function(s){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,uu(e),e}throw Al=t,ss}}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,ss):l}}var Al=null;function du(){if(Al===null)throw Error(d(459));var e=Al;return Al=null,e}function uu(e){if(e===ss||e===hn)throw Error(d(483))}var is=null,Ws=0;function fn(e){var t=Ws;return Ws+=1,is===null&&(is=[]),cu(is,e,t)}function Qs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xn(e,t){throw t.$$typeof===H?Error(d(525)):(e=Object.prototype.toString.call(t),Error(d(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function mu(e){function t(y,b){if(e){var w=y.deletions;w===null?(y.deletions=[b],y.flags|=16):w.push(b)}}function l(y,b){if(!e)return null;for(;b!==null;)t(y,b),b=b.sibling;return null}function s(y){for(var b=new Map;y!==null;)y.key!==null?b.set(y.key,y):b.set(y.index,y),y=y.sibling;return b}function i(y,b){return y=xa(y,b),y.index=0,y.sibling=null,y}function r(y,b,w){return y.index=w,e?(w=y.alternate,w!==null?(w=w.index,w<b?(y.flags|=67108866,b):w):(y.flags|=67108866,b)):(y.flags|=1048576,b)}function u(y){return e&&y.alternate===null&&(y.flags|=67108866),y}function m(y,b,w,U){return b===null||b.tag!==6?(b=Zr(w,y.mode,U),b.return=y,b):(b=i(b,w),b.return=y,b)}function x(y,b,w,U){var re=w.type;return re===Y?L(y,b,w.props.children,U,w.key):b!==null&&(b.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===ae&&_l(re)===b.type)?(b=i(b,w.props),Qs(b,w),b.return=y,b):(b=on(w.type,w.key,w.props,null,y.mode,U),Qs(b,w),b.return=y,b)}function _(y,b,w,U){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=Fr(w,y.mode,U),b.return=y,b):(b=i(b,w.children||[]),b.return=y,b)}function L(y,b,w,U,re){return b===null||b.tag!==7?(b=yl(w,y.mode,U,re),b.return=y,b):(b=i(b,w),b.return=y,b)}function V(y,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Zr(""+b,y.mode,w),b.return=y,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case R:return w=on(b.type,b.key,b.props,null,y.mode,w),Qs(w,b),w.return=y,w;case te:return b=Fr(b,y.mode,w),b.return=y,b;case ae:return b=_l(b),V(y,b,w)}if(se(b)||I(b))return b=yl(b,y.mode,w,null),b.return=y,b;if(typeof b.then=="function")return V(y,fn(b),w);if(b.$$typeof===W)return V(y,un(y,b),w);xn(y,b)}return null}function A(y,b,w,U){var re=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return re!==null?null:m(y,b,""+w,U);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case R:return w.key===re?x(y,b,w,U):null;case te:return w.key===re?_(y,b,w,U):null;case ae:return w=_l(w),A(y,b,w,U)}if(se(w)||I(w))return re!==null?null:L(y,b,w,U,null);if(typeof w.then=="function")return A(y,b,fn(w),U);if(w.$$typeof===W)return A(y,b,un(y,w),U);xn(y,w)}return null}function T(y,b,w,U,re){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return y=y.get(w)||null,m(b,y,""+U,re);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case R:return y=y.get(U.key===null?w:U.key)||null,x(b,y,U,re);case te:return y=y.get(U.key===null?w:U.key)||null,_(b,y,U,re);case ae:return U=_l(U),T(y,b,w,U,re)}if(se(U)||I(U))return y=y.get(w)||null,L(b,y,U,re,null);if(typeof U.then=="function")return T(y,b,w,fn(U),re);if(U.$$typeof===W)return T(y,b,w,un(b,U),re);xn(b,U)}return null}function $(y,b,w,U){for(var re=null,Ae=null,ee=b,pe=b=0,ke=null;ee!==null&&pe<w.length;pe++){ee.index>pe?(ke=ee,ee=null):ke=ee.sibling;var ze=A(y,ee,w[pe],U);if(ze===null){ee===null&&(ee=ke);break}e&&ee&&ze.alternate===null&&t(y,ee),b=r(ze,b,pe),Ae===null?re=ze:Ae.sibling=ze,Ae=ze,ee=ke}if(pe===w.length)return l(y,ee),we&&pa(y,pe),re;if(ee===null){for(;pe<w.length;pe++)ee=V(y,w[pe],U),ee!==null&&(b=r(ee,b,pe),Ae===null?re=ee:Ae.sibling=ee,Ae=ee);return we&&pa(y,pe),re}for(ee=s(ee);pe<w.length;pe++)ke=T(ee,y,pe,w[pe],U),ke!==null&&(e&&ke.alternate!==null&&ee.delete(ke.key===null?pe:ke.key),b=r(ke,b,pe),Ae===null?re=ke:Ae.sibling=ke,Ae=ke);return e&&ee.forEach(function(ll){return t(y,ll)}),we&&pa(y,pe),re}function ue(y,b,w,U){if(w==null)throw Error(d(151));for(var re=null,Ae=null,ee=b,pe=b=0,ke=null,ze=w.next();ee!==null&&!ze.done;pe++,ze=w.next()){ee.index>pe?(ke=ee,ee=null):ke=ee.sibling;var ll=A(y,ee,ze.value,U);if(ll===null){ee===null&&(ee=ke);break}e&&ee&&ll.alternate===null&&t(y,ee),b=r(ll,b,pe),Ae===null?re=ll:Ae.sibling=ll,Ae=ll,ee=ke}if(ze.done)return l(y,ee),we&&pa(y,pe),re;if(ee===null){for(;!ze.done;pe++,ze=w.next())ze=V(y,ze.value,U),ze!==null&&(b=r(ze,b,pe),Ae===null?re=ze:Ae.sibling=ze,Ae=ze);return we&&pa(y,pe),re}for(ee=s(ee);!ze.done;pe++,ze=w.next())ze=T(ee,y,pe,ze.value,U),ze!==null&&(e&&ze.alternate!==null&&ee.delete(ze.key===null?pe:ze.key),b=r(ze,b,pe),Ae===null?re=ze:Ae.sibling=ze,Ae=ze);return e&&ee.forEach(function(hx){return t(y,hx)}),we&&pa(y,pe),re}function Ue(y,b,w,U){if(typeof w=="object"&&w!==null&&w.type===Y&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case R:e:{for(var re=w.key;b!==null;){if(b.key===re){if(re=w.type,re===Y){if(b.tag===7){l(y,b.sibling),U=i(b,w.props.children),U.return=y,y=U;break e}}else if(b.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===ae&&_l(re)===b.type){l(y,b.sibling),U=i(b,w.props),Qs(U,w),U.return=y,y=U;break e}l(y,b);break}else t(y,b);b=b.sibling}w.type===Y?(U=yl(w.props.children,y.mode,U,w.key),U.return=y,y=U):(U=on(w.type,w.key,w.props,null,y.mode,U),Qs(U,w),U.return=y,y=U)}return u(y);case te:e:{for(re=w.key;b!==null;){if(b.key===re)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){l(y,b.sibling),U=i(b,w.children||[]),U.return=y,y=U;break e}else{l(y,b);break}else t(y,b);b=b.sibling}U=Fr(w,y.mode,U),U.return=y,y=U}return u(y);case ae:return w=_l(w),Ue(y,b,w,U)}if(se(w))return $(y,b,w,U);if(I(w)){if(re=I(w),typeof re!="function")throw Error(d(150));return w=re.call(w),ue(y,b,w,U)}if(typeof w.then=="function")return Ue(y,b,fn(w),U);if(w.$$typeof===W)return Ue(y,b,un(y,w),U);xn(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,b!==null&&b.tag===6?(l(y,b.sibling),U=i(b,w),U.return=y,y=U):(l(y,b),U=Zr(w,y.mode,U),U.return=y,y=U),u(y)):l(y,b)}return function(y,b,w,U){try{Ws=0;var re=Ue(y,b,w,U);return is=null,re}catch(ee){if(ee===ss||ee===hn)throw ee;var Ae=At(29,ee,null,y.mode);return Ae.lanes=U,Ae.return=y,Ae}}}var zl=mu(!0),hu=mu(!1),Ba=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function co(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 qa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ga(e,t,l){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Te&2)!==0){var i=s.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),s.pending=t,t=rn(e),Fd(e,null,l),t}return nn(e,s,t,l),rn(e)}function Xs(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,Yi(e,l)}}function uo(e,t){var l=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var i=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?i=r=u:r=r.next=u,l=l.next}while(l!==null);r===null?i=r=t:r=r.next=t}else i=r=t;l={baseState:s.baseState,firstBaseUpdate:i,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 mo=!1;function Zs(){if(mo){var e=ls;if(e!==null)throw e}}function Fs(e,t,l,s){mo=!1;var i=e.updateQueue;Ba=!1;var r=i.firstBaseUpdate,u=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var x=m,_=x.next;x.next=null,u===null?r=_:u.next=_,u=x;var L=e.alternate;L!==null&&(L=L.updateQueue,m=L.lastBaseUpdate,m!==u&&(m===null?L.firstBaseUpdate=_:m.next=_,L.lastBaseUpdate=x))}if(r!==null){var V=i.baseState;u=0,L=_=x=null,m=r;do{var A=m.lane&-536870913,T=A!==m.lane;if(T?(ye&A)===A:(s&A)===A){A!==0&&A===as&&(mo=!0),L!==null&&(L=L.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var $=e,ue=m;A=t;var Ue=l;switch(ue.tag){case 1:if($=ue.payload,typeof $=="function"){V=$.call(Ue,V,A);break e}V=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ue.payload,A=typeof $=="function"?$.call(Ue,V,A):$,A==null)break e;V=E({},V,A);break e;case 2:Ba=!0}}A=m.callback,A!==null&&(e.flags|=64,T&&(e.flags|=8192),T=i.callbacks,T===null?i.callbacks=[A]:T.push(A))}else T={lane:A,tag:m.tag,payload:m.payload,callback:m.callback,next:null},L===null?(_=L=T,x=V):L=L.next=T,u|=A;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;T=m,m=T.next,T.next=null,i.lastBaseUpdate=T,i.shared.pending=null}}while(!0);L===null&&(x=V),i.baseState=x,i.firstBaseUpdate=_,i.lastBaseUpdate=L,r===null&&(i.shared.lanes=0),Qa|=u,e.lanes=u,e.memoizedState=V}}function gu(e,t){if(typeof e!="function")throw Error(d(191,e));e.call(t)}function fu(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)gu(l[e],t)}var ns=g(null),pn=g(0);function xu(e,t){e=za,O(pn,e),O(ns,t),za=e|t.baseLanes}function ho(){O(pn,za),O(ns,ns.current)}function go(){za=pn.current,N(ns),N(pn)}var zt=g(null),Yt=null;function Ja(e){var t=e.alternate;O(We,We.current&1),O(zt,e),Yt===null&&(t===null||ns.current!==null||t.memoizedState!==null)&&(Yt=e)}function fo(e){O(We,We.current),O(zt,e),Yt===null&&(Yt=e)}function pu(e){e.tag===22?(O(We,We.current),O(zt,e),Yt===null&&(Yt=e)):Ya()}function Ya(){O(We,We.current),O(zt,zt.current)}function Dt(e){N(zt),Yt===e&&(Yt=null),N(We)}var We=g(0);function bn(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||yc(l)||kc(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 ja=0,xe=null,Le=null,Ze=null,vn=!1,rs=!1,Dl=!1,jn=0,$s=0,os=null,af=0;function Je(){throw Error(d(321))}function xo(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 po(e,t,l,s,i,r){return ja=r,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,p.H=e===null||e.memoizedState===null?em:Co,Dl=!1,r=l(s,i),Dl=!1,rs&&(r=vu(t,l,s,i)),bu(e),r}function bu(e){p.H=ei;var t=Le!==null&&Le.next!==null;if(ja=0,Ze=Le=xe=null,vn=!1,$s=0,os=null,t)throw Error(d(300));e===null||Fe||(e=e.dependencies,e!==null&&dn(e)&&(Fe=!0))}function vu(e,t,l,s){xe=e;var i=0;do{if(rs&&(os=null),$s=0,rs=!1,25<=i)throw Error(d(301));if(i+=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)}p.H=tm,r=t(l,s)}while(rs);return r}function lf(){var e=p.H,t=e.useState()[0];return t=typeof t.then=="function"?Is(t):t,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&&(xe.flags|=1024),t}function bo(){var e=jn!==0;return jn=0,e}function vo(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function jo(e){if(vn){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vn=!1}ja=0,Ze=Le=xe=null,rs=!1,$s=jn=0,os=null}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?xe.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Qe(){if(Le===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=Ze===null?xe.memoizedState:Ze.next;if(t!==null)Ze=t,Le=e;else{if(e===null)throw xe.alternate===null?Error(d(467)):Error(d(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},Ze===null?xe.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function yn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Is(e){var t=$s;return $s+=1,os===null&&(os=[]),e=cu(os,e,t),t=xe,(Ze===null?t.memoizedState:Ze.next)===null&&(t=t.alternate,p.H=t===null||t.memoizedState===null?em:Co),e}function kn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Is(e);if(e.$$typeof===W)return ct(e)}throw Error(d(438,String(e)))}function yo(e){var t=null,l=xe.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var s=xe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=yn(),xe.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),s=0;s<e;s++)l[s]=F;return t.index++,l}function ya(e,t){return typeof t=="function"?t(e):t}function Nn(e){var t=Qe();return ko(t,Le,e)}function ko(e,t,l){var s=e.queue;if(s===null)throw Error(d(311));s.lastRenderedReducer=l;var i=e.baseQueue,r=s.pending;if(r!==null){if(i!==null){var u=i.next;i.next=r.next,r.next=u}t.baseQueue=i=r,s.pending=null}if(r=e.baseState,i===null)e.memoizedState=r;else{t=i.next;var m=u=null,x=null,_=t,L=!1;do{var V=_.lane&-536870913;if(V!==_.lane?(ye&V)===V:(ja&V)===V){var A=_.revertLane;if(A===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),V===as&&(L=!0);else if((ja&A)===A){_=_.next,A===as&&(L=!0);continue}else V={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},x===null?(m=x=V,u=r):x=x.next=V,xe.lanes|=A,Qa|=A;V=_.action,Dl&&l(r,V),r=_.hasEagerState?_.eagerState:l(r,V)}else A={lane:V,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},x===null?(m=x=A,u=r):x=x.next=A,xe.lanes|=V,Qa|=V;_=_.next}while(_!==null&&_!==t);if(x===null?u=r:x.next=m,!_t(r,e.memoizedState)&&(Fe=!0,L&&(l=ls,l!==null)))throw l;e.memoizedState=r,e.baseState=u,e.baseQueue=x,s.lastRenderedState=r}return i===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function No(e){var t=Qe(),l=t.queue;if(l===null)throw Error(d(311));l.lastRenderedReducer=e;var s=l.dispatch,i=l.pending,r=t.memoizedState;if(i!==null){l.pending=null;var u=i=i.next;do r=e(r,u.action),u=u.next;while(u!==i);_t(r,t.memoizedState)||(Fe=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),l.lastRenderedState=r}return[r,s]}function ju(e,t,l){var s=xe,i=Qe(),r=we;if(r){if(l===void 0)throw Error(d(407));l=l()}else l=t();var u=!_t((Le||i).memoizedState,l);if(u&&(i.memoizedState=l,Fe=!0),i=i.queue,_o(Nu.bind(null,s,i,e),[e]),i.getSnapshot!==t||u||Ze!==null&&Ze.memoizedState.tag&1){if(s.flags|=2048,cs(9,{destroy:void 0},ku.bind(null,s,i,l,t),null),Ve===null)throw Error(d(349));r||(ja&127)!==0||yu(s,t,l)}return l}function yu(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=xe.updateQueue,t===null?(t=yn(),xe.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function ku(e,t,l,s){t.value=l,t.getSnapshot=s,wu(t)&&Su(e)}function Nu(e,t,l){return l(function(){wu(t)&&Su(e)})}function wu(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!_t(e,l)}catch{return!0}}function Su(e){var t=jl(e,2);t!==null&&kt(t,e,2)}function wo(e){var t=xt();if(typeof e=="function"){var l=e;if(e=l(),Dl){Ot(!0);try{l()}finally{Ot(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:e},t}function _u(e,t,l,s){return e.baseState=l,ko(e,Le,typeof s=="function"?s:ya)}function sf(e,t,l,s,i){if(_n(e))throw Error(d(485));if(e=t.action,e!==null){var r={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){r.listeners.push(u)}};p.T!==null?l(!0):r.isTransition=!1,s(r),l=t.pending,l===null?(r.next=t.pending=r,Au(t,r)):(r.next=l.next,t.pending=l.next=r)}}function Au(e,t){var l=t.action,s=t.payload,i=e.state;if(t.isTransition){var r=p.T,u={};p.T=u;try{var m=l(i,s),x=p.S;x!==null&&x(u,m),zu(e,t,m)}catch(_){So(e,t,_)}finally{r!==null&&u.types!==null&&(r.types=u.types),p.T=r}}else try{r=l(i,s),zu(e,t,r)}catch(_){So(e,t,_)}}function zu(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){Du(e,t,s)},function(s){return So(e,t,s)}):Du(e,t,l)}function Du(e,t,l){t.status="fulfilled",t.value=l,Tu(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Au(e,l)))}function So(e,t,l){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=l,Tu(t),t=t.next;while(t!==s)}e.action=null}function Tu(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mu(e,t){return t}function Cu(e,t){if(we){var l=Ve.formState;if(l!==null){e:{var s=xe;if(we){if(He){t:{for(var i=He,r=Jt;i.nodeType!==8;){if(!r){i=null;break t}if(i=Kt(i.nextSibling),i===null){i=null;break t}}r=i.data,i=r==="F!"||r==="F"?i:null}if(i){He=Kt(i.nextSibling),s=i.data==="F!";break e}}Ra(s)}s=!1}s&&(t=l[0])}}return l=xt(),l.memoizedState=l.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mu,lastRenderedState:t},l.queue=s,l=$u.bind(null,xe,s),s.dispatch=l,s=wo(!1),r=Mo.bind(null,xe,!1,s.queue),s=xt(),i={state:t,dispatch:null,action:e,pending:null},s.queue=i,l=sf.bind(null,xe,i,r,l),i.dispatch=l,s.memoizedState=e,[t,l,!1]}function Eu(e){var t=Qe();return Lu(t,Le,e)}function Lu(e,t,l){if(t=ko(e,t,Mu)[0],e=Nn(ya)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=Is(t)}catch(u){throw u===ss?hn:u}else s=t;t=Qe();var i=t.queue,r=i.dispatch;return l!==t.memoizedState&&(xe.flags|=2048,cs(9,{destroy:void 0},nf.bind(null,i,l),null)),[s,r,e]}function nf(e,t){e.action=t}function Ou(e){var t=Qe(),l=Le;if(l!==null)return Lu(t,l,e);Qe(),t=t.memoizedState,l=Qe();var s=l.queue.dispatch;return l.memoizedState=e,[t,s,!1]}function cs(e,t,l,s){return e={tag:e,create:l,deps:s,inst:t,next:null},t=xe.updateQueue,t===null&&(t=yn(),xe.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(s=l.next,l.next=e,e.next=s,t.lastEffect=e),e}function Uu(){return Qe().memoizedState}function wn(e,t,l,s){var i=xt();xe.flags|=e,i.memoizedState=cs(1|t,{destroy:void 0},l,s===void 0?null:s)}function Sn(e,t,l,s){var i=Qe();s=s===void 0?null:s;var r=i.memoizedState.inst;Le!==null&&s!==null&&xo(s,Le.memoizedState.deps)?i.memoizedState=cs(t,r,l,s):(xe.flags|=e,i.memoizedState=cs(1|t,r,l,s))}function Vu(e,t){wn(8390656,8,e,t)}function _o(e,t){Sn(2048,8,e,t)}function rf(e){xe.flags|=4;var t=xe.updateQueue;if(t===null)t=yn(),xe.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Ru(e){var t=Qe().memoizedState;return rf({ref:t,nextImpl:e}),function(){if((Te&2)!==0)throw Error(d(440));return t.impl.apply(void 0,arguments)}}function Hu(e,t){return Sn(4,2,e,t)}function Bu(e,t){return Sn(4,4,e,t)}function qu(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 Gu(e,t,l){l=l!=null?l.concat([e]):null,Sn(4,4,qu.bind(null,t,e),l)}function Ao(){}function Ju(e,t){var l=Qe();t=t===void 0?null:t;var s=l.memoizedState;return t!==null&&xo(t,s[1])?s[0]:(l.memoizedState=[e,t],e)}function Yu(e,t){var l=Qe();t=t===void 0?null:t;var s=l.memoizedState;if(t!==null&&xo(t,s[1]))return s[0];if(s=e(),Dl){Ot(!0);try{e()}finally{Ot(!1)}}return l.memoizedState=[s,t],s}function zo(e,t,l){return l===void 0||(ja&1073741824)!==0&&(ye&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Km(),xe.lanes|=e,Qa|=e,l)}function Ku(e,t,l,s){return _t(l,t)?l:ns.current!==null?(e=zo(e,l,s),_t(e,t)||(Fe=!0),e):(ja&42)===0||(ja&1073741824)!==0&&(ye&261930)===0?(Fe=!0,e.memoizedState=l):(e=Km(),xe.lanes|=e,Qa|=e,t)}function Wu(e,t,l,s,i){var r=C.p;C.p=r!==0&&8>r?r:8;var u=p.T,m={};p.T=m,Mo(e,!1,t,l);try{var x=i(),_=p.S;if(_!==null&&_(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var L=tf(x,s);Ps(e,t,L,Ct(e))}else Ps(e,t,s,Ct(e))}catch(V){Ps(e,t,{then:function(){},status:"rejected",reason:V},Ct())}finally{C.p=r,u!==null&&m.types!==null&&(u.types=m.types),p.T=u}}function of(){}function Do(e,t,l,s){if(e.tag!==5)throw Error(d(476));var i=Qu(e).queue;Wu(e,i,t,j,l===null?of:function(){return Xu(e),l(s)})}function Qu(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:j,baseState:j,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:j},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xu(e){var t=Qu(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},Ct())}function To(){return ct(xi)}function Zu(){return Qe().memoizedState}function Fu(){return Qe().memoizedState}function cf(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ct();e=qa(l);var s=Ga(t,e,l);s!==null&&(kt(s,t,l),Xs(s,t,l)),t={cache:so()},e.payload=t;return}t=t.return}}function df(e,t,l){var s=Ct();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_n(e)?Iu(t,l):(l=Qr(e,t,l,s),l!==null&&(kt(l,e,s),Pu(l,t,s)))}function $u(e,t,l){var s=Ct();Ps(e,t,l,s)}function Ps(e,t,l,s){var i={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(_n(e))Iu(t,i);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(i.hasEagerState=!0,i.eagerState=m,_t(m,u))return nn(e,t,i,0),Ve===null&&sn(),!1}catch{}if(l=Qr(e,t,i,s),l!==null)return kt(l,e,s),Pu(l,t,s),!0}return!1}function Mo(e,t,l,s){if(s={lane:2,revertLane:cc(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},_n(e)){if(t)throw Error(d(479))}else t=Qr(e,l,s,2),t!==null&&kt(t,e,2)}function _n(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function Iu(e,t){rs=vn=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Pu(e,t,l){if((l&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,Yi(e,l)}}var ei={readContext:ct,use:kn,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};ei.useEffectEvent=Je;var em={readContext:ct,use:kn,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Vu,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,wn(4194308,4,qu.bind(null,t,e),l)},useLayoutEffect:function(e,t){return wn(4194308,4,e,t)},useInsertionEffect:function(e,t){wn(4,2,e,t)},useMemo:function(e,t){var l=xt();t=t===void 0?null:t;var s=e();if(Dl){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 i=l(t);if(Dl){Ot(!0);try{l(t)}finally{Ot(!1)}}}else i=t;return s.memoizedState=s.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},s.queue=e,e=e.dispatch=df.bind(null,xe,e),[s.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:function(e){e=wo(e);var t=e.queue,l=$u.bind(null,xe,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Ao,useDeferredValue:function(e,t){var l=xt();return zo(l,e,t)},useTransition:function(){var e=wo(!1);return e=Wu.bind(null,xe,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var s=xe,i=xt();if(we){if(l===void 0)throw Error(d(407));l=l()}else{if(l=t(),Ve===null)throw Error(d(349));(ye&127)!==0||yu(s,t,l)}i.memoizedState=l;var r={value:l,getSnapshot:t};return i.queue=r,Vu(Nu.bind(null,s,r,e),[e]),s.flags|=2048,cs(9,{destroy:void 0},ku.bind(null,s,r,l,t),null),l},useId:function(){var e=xt(),t=Ve.identifierPrefix;if(we){var l=sa,s=la;l=(s&~(1<<32-ft(s)-1)).toString(32)+l,t="_"+t+"R_"+l,l=jn++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=af++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:To,useFormState:Cu,useActionState:Cu,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=Mo.bind(null,xe,!0,l),l.dispatch=t,[e,t]},useMemoCache:yo,useCacheRefresh:function(){return xt().memoizedState=cf.bind(null,xe)},useEffectEvent:function(e){var t=xt(),l={impl:e};return t.memoizedState=l,function(){if((Te&2)!==0)throw Error(d(440));return l.impl.apply(void 0,arguments)}}},Co={readContext:ct,use:kn,useCallback:Ju,useContext:ct,useEffect:_o,useImperativeHandle:Gu,useInsertionEffect:Hu,useLayoutEffect:Bu,useMemo:Yu,useReducer:Nn,useRef:Uu,useState:function(){return Nn(ya)},useDebugValue:Ao,useDeferredValue:function(e,t){var l=Qe();return Ku(l,Le.memoizedState,e,t)},useTransition:function(){var e=Nn(ya)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Is(e),t]},useSyncExternalStore:ju,useId:Zu,useHostTransitionStatus:To,useFormState:Eu,useActionState:Eu,useOptimistic:function(e,t){var l=Qe();return _u(l,Le,e,t)},useMemoCache:yo,useCacheRefresh:Fu};Co.useEffectEvent=Ru;var tm={readContext:ct,use:kn,useCallback:Ju,useContext:ct,useEffect:_o,useImperativeHandle:Gu,useInsertionEffect:Hu,useLayoutEffect:Bu,useMemo:Yu,useReducer:No,useRef:Uu,useState:function(){return No(ya)},useDebugValue:Ao,useDeferredValue:function(e,t){var l=Qe();return Le===null?zo(l,e,t):Ku(l,Le.memoizedState,e,t)},useTransition:function(){var e=No(ya)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Is(e),t]},useSyncExternalStore:ju,useId:Zu,useHostTransitionStatus:To,useFormState:Ou,useActionState:Ou,useOptimistic:function(e,t){var l=Qe();return Le!==null?_u(l,Le,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:yo,useCacheRefresh:Fu};tm.useEffectEvent=Ru;function Eo(e,t,l,s){t=e.memoizedState,l=l(s,t),l=l==null?t:E({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Lo={enqueueSetState:function(e,t,l){e=e._reactInternals;var s=Ct(),i=qa(s);i.payload=t,l!=null&&(i.callback=l),t=Ga(e,i,s),t!==null&&(kt(t,e,s),Xs(t,e,s))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var s=Ct(),i=qa(s);i.tag=1,i.payload=t,l!=null&&(i.callback=l),t=Ga(e,i,s),t!==null&&(kt(t,e,s),Xs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ct(),s=qa(l);s.tag=2,t!=null&&(s.callback=t),t=Ga(e,s,l),t!==null&&(kt(t,e,l),Xs(t,e,l))}};function am(e,t,l,s,i,r,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,r,u):t.prototype&&t.prototype.isPureReactComponent?!Bs(l,s)||!Bs(i,r):!0}function lm(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&&Lo.enqueueReplaceState(t,t.state,null)}function Tl(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=E({},l));for(var i in e)l[i]===void 0&&(l[i]=e[i])}return l}function sm(e){ln(e)}function im(e){console.error(e)}function nm(e){ln(e)}function An(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function rm(e,t,l){try{var s=e.onCaughtError;s(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Oo(e,t,l){return l=qa(l),l.tag=3,l.payload={element:null},l.callback=function(){An(e,t)},l}function om(e){return e=qa(e),e.tag=3,e}function cm(e,t,l,s){var i=l.type.getDerivedStateFromError;if(typeof i=="function"){var r=s.value;e.payload=function(){return i(r)},e.callback=function(){rm(t,l,s)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){rm(t,l,s),typeof i!="function"&&(Xa===null?Xa=new Set([this]):Xa.add(this));var m=s.stack;this.componentDidCatch(s.value,{componentStack:m!==null?m:""})})}function uf(e,t,l,s,i){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=l.alternate,t!==null&&ts(t,l,i,!0),l=zt.current,l!==null){switch(l.tag){case 31:case 13:return Yt===null?Hn():l.alternate===null&&Ye===0&&(Ye=3),l.flags&=-257,l.flags|=65536,l.lanes=i,s===gn?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([s]):t.add(s),nc(e,s,i)),!1;case 22:return l.flags|=65536,s===gn?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)),nc(e,s,i)),!1}throw Error(d(435,l.tag))}return nc(e,s,i),Hn(),!1}if(we)return t=zt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,s!==Pr&&(e=Error(d(422),{cause:s}),Js(Bt(e,l)))):(s!==Pr&&(t=Error(d(423),{cause:s}),Js(Bt(t,l))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,s=Bt(s,l),i=Oo(e.stateNode,s,i),uo(e,i),Ye!==4&&(Ye=2)),!1;var r=Error(d(520),{cause:s});if(r=Bt(r,l),oi===null?oi=[r]:oi.push(r),Ye!==4&&(Ye=2),t===null)return!0;s=Bt(s,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=i&-i,l.lanes|=e,e=Oo(l.stateNode,s,e),uo(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"&&(Xa===null||!Xa.has(r))))return l.flags|=65536,i&=-i,l.lanes|=i,i=om(i),cm(i,e,l,s),uo(l,i),!1}l=l.return}while(l!==null);return!1}var Uo=Error(d(461)),Fe=!1;function dt(e,t,l,s){t.child=e===null?hu(t,null,l,s):zl(t,e.child,l,s)}function dm(e,t,l,s,i){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=po(e,t,l,u,r,i),m=bo(),e!==null&&!Fe?(vo(e,t,i),ka(e,t,i)):(we&&m&&$r(t),t.flags|=1,dt(e,t,s,i),t.child)}function um(e,t,l,s,i){if(e===null){var r=l.type;return typeof r=="function"&&!Xr(r)&&r.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=r,mm(e,t,r,s,i)):(e=on(l.type,null,s,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!Yo(e,i)){var u=r.memoizedProps;if(l=l.compare,l=l!==null?l:Bs,l(u,s)&&e.ref===t.ref)return ka(e,t,i)}return t.flags|=1,e=xa(r,s),e.ref=t.ref,e.return=t,t.child=e}function mm(e,t,l,s,i){if(e!==null){var r=e.memoizedProps;if(Bs(r,s)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=s=r,Yo(e,i))(e.flags&131072)!==0&&(Fe=!0);else return t.lanes=e.lanes,ka(e,t,i)}return Vo(e,t,l,s,i)}function hm(e,t,l,s){var i=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,i=0;s!==null;)i=i|s.lanes|s.childLanes,s=s.sibling;s=i&~r}else s=0,t.child=null;return gm(e,t,r,l,s)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&mn(t,r!==null?r.cachePool:null),r!==null?xu(t,r):ho(),pu(t);else return s=t.lanes=536870912,gm(e,t,r!==null?r.baseLanes|l:l,l,s)}else r!==null?(mn(t,r.cachePool),xu(t,r),Ya(),t.memoizedState=null):(e!==null&&mn(t,null),ho(),Ya());return dt(e,t,i,l),t.child}function ti(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function gm(e,t,l,s,i){var r=no();return r=r===null?null:{parent:Xe._currentValue,pool:r},t.memoizedState={baseLanes:l,cachePool:r},e!==null&&mn(t,null),ho(),pu(t),e!==null&&ts(e,t,s,!0),t.childLanes=i,null}function zn(e,t){return t=Tn({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fm(e,t,l){return zl(t,e.child,null,l),e=zn(t,t.pendingProps),e.flags|=2,Dt(t),t.memoizedState=null,e}function mf(e,t,l){var s=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(we){if(s.mode==="hidden")return e=zn(t,s),t.lanes=536870912,ti(null,e);if(fo(t),(e=He)?(e=Ah(e,Jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ua!==null?{id:la,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},l=Id(e),l.return=t,t.child=l,ot=t,He=null)):e=null,e===null)throw Ra(t);return t.lanes=536870912,null}return zn(t,s)}var r=e.memoizedState;if(r!==null){var u=r.dehydrated;if(fo(t),i)if(t.flags&256)t.flags&=-257,t=fm(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(d(558));else if(Fe||ts(e,t,l,!1),i=(l&e.childLanes)!==0,Fe||i){if(s=Ve,s!==null&&(u=Ki(s,l),u!==0&&u!==r.retryLane))throw r.retryLane=u,jl(e,u),kt(s,e,u),Uo;Hn(),t=fm(e,t,l)}else e=r.treeContext,He=Kt(u.nextSibling),ot=t,we=!0,Va=null,Jt=!1,e!==null&&tu(t,e),t=zn(t,s),t.flags|=4096;return t}return e=xa(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Dn(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(d(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Vo(e,t,l,s,i){return wl(t),l=po(e,t,l,s,void 0,i),s=bo(),e!==null&&!Fe?(vo(e,t,i),ka(e,t,i)):(we&&s&&$r(t),t.flags|=1,dt(e,t,l,i),t.child)}function xm(e,t,l,s,i,r){return wl(t),t.updateQueue=null,l=vu(t,s,l,i),bu(e),s=bo(),e!==null&&!Fe?(vo(e,t,r),ka(e,t,r)):(we&&s&&$r(t),t.flags|=1,dt(e,t,l,r),t.child)}function pm(e,t,l,s,i){if(wl(t),t.stateNode===null){var r=$l,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=Lo,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=s,r.state=t.memoizedState,r.refs={},oo(t),u=l.contextType,r.context=typeof u=="object"&&u!==null?ct(u):$l,r.state=t.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(Eo(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&&Lo.enqueueReplaceState(r,r.state,null),Fs(t,s,r,i),Zs(),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=Tl(l,m);r.props=x;var _=r.context,L=l.contextType;u=$l,typeof L=="object"&&L!==null&&(u=ct(L));var V=l.getDerivedStateFromProps;L=typeof V=="function"||typeof r.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,L||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m||_!==u)&&lm(t,r,s,u),Ba=!1;var A=t.memoizedState;r.state=A,Fs(t,s,r,i),Zs(),_=t.memoizedState,m||A!==_||Ba?(typeof V=="function"&&(Eo(t,l,V,s),_=t.memoizedState),(x=Ba||am(t,l,x,s,A,_,u))?(L||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=_),r.props=s,r.state=_,r.context=u,s=x):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{r=t.stateNode,co(e,t),u=t.memoizedProps,L=Tl(l,u),r.props=L,V=t.pendingProps,A=r.context,_=l.contextType,x=$l,typeof _=="object"&&_!==null&&(x=ct(_)),m=l.getDerivedStateFromProps,(_=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(u!==V||A!==x)&&lm(t,r,s,x),Ba=!1,A=t.memoizedState,r.state=A,Fs(t,s,r,i),Zs();var T=t.memoizedState;u!==V||A!==T||Ba||e!==null&&e.dependencies!==null&&dn(e.dependencies)?(typeof m=="function"&&(Eo(t,l,m,s),T=t.memoizedState),(L=Ba||am(t,l,L,s,A,T,x)||e!==null&&e.dependencies!==null&&dn(e.dependencies))?(_||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&&A===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=T),r.props=s,r.state=T,r.context=x,s=L):(typeof r.componentDidUpdate!="function"||u===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),s=!1)}return r=s,Dn(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,i),t.child=zl(t,null,l,i)):dt(e,t,l,i),t.memoizedState=r.state,e=t.child):e=ka(e,t,i),e}function bm(e,t,l,s){return kl(),t.flags|=256,dt(e,t,l,s),t.child}var Ro={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ho(e){return{baseLanes:e,cachePool:ru()}}function Bo(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Mt),e}function vm(e,t,l){var s=t.pendingProps,i=!1,r=(t.flags&128)!==0,u;if((u=r)||(u=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),u&&(i=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(we){if(i?Ja(t):Ya(),(e=He)?(e=Ah(e,Jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ua!==null?{id:la,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},l=Id(e),l.return=t,t.child=l,ot=t,He=null)):e=null,e===null)throw Ra(t);return kc(e)?t.lanes=32:t.lanes=536870912,null}var m=s.children;return s=s.fallback,i?(Ya(),i=t.mode,m=Tn({mode:"hidden",children:m},i),s=yl(s,i,l,null),m.return=t,s.return=t,m.sibling=s,t.child=m,s=t.child,s.memoizedState=Ho(l),s.childLanes=Bo(e,u,l),t.memoizedState=Ro,ti(null,s)):(Ja(t),qo(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(r)t.flags&256?(Ja(t),t.flags&=-257,t=Go(e,t,l)):t.memoizedState!==null?(Ya(),t.child=e.child,t.flags|=128,t=null):(Ya(),m=s.fallback,i=t.mode,s=Tn({mode:"visible",children:s.children},i),m=yl(m,i,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=Ho(l),s.childLanes=Bo(e,u,l),t.memoizedState=Ro,t=ti(null,s));else if(Ja(t),kc(m)){if(u=m.nextSibling&&m.nextSibling.dataset,u)var _=u.dgst;u=_,s=Error(d(419)),s.stack="",s.digest=u,Js({value:s,source:null,stack:null}),t=Go(e,t,l)}else if(Fe||ts(e,t,l,!1),u=(l&e.childLanes)!==0,Fe||u){if(u=Ve,u!==null&&(s=Ki(u,l),s!==0&&s!==x.retryLane))throw x.retryLane=s,jl(e,s),kt(u,e,s),Uo;yc(m)||Hn(),t=Go(e,t,l)}else yc(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,He=Kt(m.nextSibling),ot=t,we=!0,Va=null,Jt=!1,e!==null&&tu(t,e),t=qo(t,s.children),t.flags|=4096);return t}return i?(Ya(),m=s.fallback,i=t.mode,x=e.child,_=x.sibling,s=xa(x,{mode:"hidden",children:s.children}),s.subtreeFlags=x.subtreeFlags&65011712,_!==null?m=xa(_,m):(m=yl(m,i,l,null),m.flags|=2),m.return=t,s.return=t,s.sibling=m,t.child=s,ti(null,s),s=t.child,m=e.child.memoizedState,m===null?m=Ho(l):(i=m.cachePool,i!==null?(x=Xe._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=ru(),m={baseLanes:m.baseLanes|l,cachePool:i}),s.memoizedState=m,s.childLanes=Bo(e,u,l),t.memoizedState=Ro,ti(e.child,s)):(Ja(t),l=e.child,e=l.sibling,l=xa(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 qo(e,t){return t=Tn({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Tn(e,t){return e=At(22,e,null,t),e.lanes=0,e}function Go(e,t,l){return zl(t,e.child,null,l),e=qo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jm(e,t,l){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),ao(e.return,t,l)}function Jo(e,t,l,s,i,r){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:i,treeForkCount:r}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=s,u.tail=l,u.tailMode=i,u.treeForkCount=r)}function ym(e,t,l){var s=t.pendingProps,i=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,O(We,u),dt(e,t,s,l),s=we?Gs:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&jm(e,l,t);else if(e.tag===19)jm(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(i){case"forwards":for(l=t.child,i=null;l!==null;)e=l.alternate,e!==null&&bn(e)===null&&(i=l),l=l.sibling;l=i,l===null?(i=t.child,t.child=null):(i=l.sibling,l.sibling=null),Jo(t,!1,i,l,r,s);break;case"backwards":case"unstable_legacy-backwards":for(l=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&bn(e)===null){t.child=i;break}e=i.sibling,i.sibling=l,l=i,i=e}Jo(t,!0,l,null,r,s);break;case"together":Jo(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function ka(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Qa|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ts(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(d(153));if(t.child!==null){for(e=t.child,l=xa(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=xa(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Yo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&dn(e)))}function hf(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:Ca(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,fo(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Ja(t),t.flags|=128,null):(l&t.child.childLanes)!==0?vm(e,t,l):(Ja(t),e=ka(e,t,l),e!==null?e.sibling:null);Ja(t);break;case 19:var i=(e.flags&128)!==0;if(s=(l&t.childLanes)!==0,s||(ts(e,t,l,!1),s=(l&t.childLanes)!==0),i){if(s)return ym(e,t,l);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(We,We.current),s)break;return null;case 22:return t.lanes=0,hm(e,t,l,t.pendingProps);case 24:Ha(t,Xe,e.memoizedState.cache)}return ka(e,t,l)}function km(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Fe=!0;else{if(!Yo(e,l)&&(t.flags&128)===0)return Fe=!1,hf(e,t,l);Fe=(e.flags&131072)!==0}else Fe=!1,we&&(t.flags&1048576)!==0&&eu(t,Gs,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")Xr(e)?(s=Tl(e,s),t.tag=1,t=pm(null,t,e,s,l)):(t.tag=0,t=Vo(null,t,e,s,l));else{if(e!=null){var i=e.$$typeof;if(i===ne){t.tag=11,t=dm(null,t,e,s,l);break e}else if(i===X){t.tag=14,t=um(null,t,e,s,l);break e}}throw t=Ne(e)||e,Error(d(306,t,""))}}return t;case 0:return Vo(e,t,t.type,t.pendingProps,l);case 1:return s=t.type,i=Tl(s,t.pendingProps),pm(e,t,s,i,l);case 3:e:{if(at(t,t.stateNode.containerInfo),e===null)throw Error(d(387));s=t.pendingProps;var r=t.memoizedState;i=r.element,co(e,t),Fs(t,s,null,l);var u=t.memoizedState;if(s=u.cache,Ha(t,Xe,s),s!==r.cache&&lo(t,[Xe],l,!0),Zs(),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=bm(e,t,s,l);break e}else if(s!==i){i=Bt(Error(d(424)),t),Js(i),t=bm(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,He=Kt(e.firstChild),ot=t,we=!0,Va=null,Jt=!0,l=hu(t,null,s,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(kl(),s===i){t=ka(e,t,l);break e}dt(e,t,s,l)}t=t.child}return t;case 26:return Dn(e,t),e===null?(l=Eh(t.type,null,t.pendingProps,null))?t.memoizedState=l:we||(l=t.type,e=t.pendingProps,s=Wn(ce.current).createElement(l),s[Pe]=t,s[mt]=e,ut(s,l,e),it(s),t.stateNode=s):t.memoizedState=Eh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ca(t),e===null&&we&&(s=t.stateNode=Th(t.type,t.pendingProps,ce.current),ot=t,Jt=!0,i=He,Ia(t.type)?(Nc=i,He=Kt(s.firstChild)):He=i),dt(e,t,t.pendingProps.children,l),Dn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&we&&((i=s=He)&&(s=Jf(s,t.type,t.pendingProps,Jt),s!==null?(t.stateNode=s,ot=t,He=Kt(s.firstChild),Jt=!1,i=!0):i=!1),i||Ra(t)),Ca(t),i=t.type,r=t.pendingProps,u=e!==null?e.memoizedProps:null,s=r.children,bc(i,r)?s=null:u!==null&&bc(i,u)&&(t.flags|=32),t.memoizedState!==null&&(i=po(e,t,lf,null,null,l),xi._currentValue=i),Dn(e,t),dt(e,t,s,l),t.child;case 6:return e===null&&we&&((e=l=He)&&(l=Yf(l,t.pendingProps,Jt),l!==null?(t.stateNode=l,ot=t,He=null,e=!0):e=!1),e||Ra(t)),null;case 13:return vm(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 dm(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 i=t.type._context,s=t.pendingProps.children,wl(t),i=ct(i),s=s(i),t.flags|=1,dt(e,t,s,l),t.child;case 14:return um(e,t,t.type,t.pendingProps,l);case 15:return mm(e,t,t.type,t.pendingProps,l);case 19:return ym(e,t,l);case 31:return mf(e,t,l);case 22:return hm(e,t,l,t.pendingProps);case 24:return wl(t),s=ct(Xe),e===null?(i=no(),i===null&&(i=Ve,r=so(),i.pooledCache=r,r.refCount++,r!==null&&(i.pooledCacheLanes|=l),i=r),t.memoizedState={parent:s,cache:i},oo(t),Ha(t,Xe,i)):((e.lanes&l)!==0&&(co(e,t),Fs(t,null,null,l),Zs()),i=e.memoizedState,r=t.memoizedState,i.parent!==s?(i={parent:s,cache:s},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Ha(t,Xe,s)):(s=r.cache,Ha(t,Xe,s),s!==i.cache&&lo(t,[Xe],l,!0))),dt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(d(156,t.tag))}function Na(e){e.flags|=4}function Ko(e,t,l,s,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Zm())e.flags|=8192;else throw Al=gn,ro}else e.flags&=-16777217}function Nm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Rh(t))if(Zm())e.flags|=8192;else throw Al=gn,ro}function Mn(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ds():536870912,e.lanes|=t,hs|=t)}function ai(e,t){if(!we)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 Be(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,s=0;if(t)for(var i=e.child;i!==null;)l|=i.lanes|i.childLanes,s|=i.subtreeFlags&65011712,s|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)l|=i.lanes|i.childLanes,s|=i.subtreeFlags,s|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=s,e.childLanes=l,t}function gf(e,t,l){var s=t.pendingProps;switch(Ir(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return Be(t),null;case 3:return l=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),va(Xe),Ge(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(es(t)?Na(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,eo())),Be(t),null;case 26:var i=t.type,r=t.memoizedState;return e===null?(Na(t),r!==null?(Be(t),Nm(t,r)):(Be(t),Ko(t,i,null,s,l))):r?r!==e.memoizedState?(Na(t),Be(t),Nm(t,r)):(Be(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Na(t),Be(t),Ko(t,i,e,s,l)),null;case 27:if(Ea(t),l=ce.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Na(t);else{if(!s){if(t.stateNode===null)throw Error(d(166));return Be(t),null}e=J.current,es(t)?au(t):(e=Th(i,s,l),t.stateNode=e,Na(t))}return Be(t),null;case 5:if(Ea(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Na(t);else{if(!s){if(t.stateNode===null)throw Error(d(166));return Be(t),null}if(r=J.current,es(t))au(t);else{var u=Wn(ce.current);switch(r){case 1:r=u.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:r=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":r=u.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":r=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);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(i,{is:s.is}):u.createElement(i)}}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,i,s),i){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Na(t)}}return Be(t),Ko(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Na(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(d(166));if(e=ce.current,es(t)){if(e=t.stateNode,l=t.memoizedProps,s=null,i=ot,i!==null)switch(i.tag){case 27:case 5:s=i.memoizedProps}e[Pe]=t,e=!!(e.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||vh(e.nodeValue,l)),e||Ra(t,!0)}else e=Wn(e).createTextNode(s),e[Pe]=t,t.stateNode=e}return Be(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(s=es(t),l!==null){if(e===null){if(!s)throw Error(d(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(557));e[Pe]=t}else kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=eo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Dt(t),t):(Dt(t),null);if((t.flags&128)!==0)throw Error(d(558))}return Be(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=es(t),s!==null&&s.dehydrated!==null){if(e===null){if(!i)throw Error(d(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(d(317));i[Pe]=t}else kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),i=!1}else i=eo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dt(t),t):(Dt(t),null)}return Dt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=s!==null,e=e!==null&&e.memoizedState!==null,l&&(s=t.child,i=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(i=s.alternate.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==i&&(s.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Mn(t,t.updateQueue),Be(t),null);case 4:return Ge(),e===null&&hc(t.stateNode.containerInfo),Be(t),null;case 10:return va(t.type),Be(t),null;case 19:if(N(We),s=t.memoizedState,s===null)return Be(t),null;if(i=(t.flags&128)!==0,r=s.rendering,r===null)if(i)ai(s,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=bn(e),r!==null){for(t.flags|=128,ai(s,!1),e=r.updateQueue,t.updateQueue=e,Mn(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)$d(l,e),l=l.sibling;return O(We,We.current&1|2),we&&pa(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&gt()>Un&&(t.flags|=128,i=!0,ai(s,!1),t.lanes=4194304)}else{if(!i)if(e=bn(r),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Mn(t,e),ai(s,!0),s.tail===null&&s.tailMode==="hidden"&&!r.alternate&&!we)return Be(t),null}else 2*gt()-s.renderingStartTime>Un&&l!==536870912&&(t.flags|=128,i=!0,ai(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=gt(),e.sibling=null,l=We.current,O(We,i?l&1|2:l&1),we&&pa(t,s.treeForkCount),e):(Be(t),null);case 22:case 23:return Dt(t),go(),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&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),l=t.updateQueue,l!==null&&Mn(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&&N(Sl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),va(Xe),Be(t),null;case 25:return null;case 30:return null}throw Error(d(156,t.tag))}function ff(e,t){switch(Ir(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return va(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 Ea(t),null;case 31:if(t.memoizedState!==null){if(Dt(t),t.alternate===null)throw Error(d(340));kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(d(340));kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(We),null;case 4:return Ge(),null;case 10:return va(t.type),null;case 22:case 23:return Dt(t),go(),e!==null&&N(Sl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return va(Xe),null;case 25:return null;default:return null}}function wm(e,t){switch(Ir(t),t.tag){case 3:va(Xe),Ge();break;case 26:case 27:case 5:Ea(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&Dt(t);break;case 13:Dt(t);break;case 19:N(We);break;case 10:va(t.type);break;case 22:case 23:Dt(t),go(),e!==null&&N(Sl);break;case 24:va(Xe)}}function li(e,t){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var i=s.next;l=i;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!==i)}}catch(m){Ee(t,t.return,m)}}function Ka(e,t,l){try{var s=t.updateQueue,i=s!==null?s.lastEffect:null;if(i!==null){var r=i.next;s=r;do{if((s.tag&e)===e){var u=s.inst,m=u.destroy;if(m!==void 0){u.destroy=void 0,i=t;var x=l,_=m;try{_()}catch(L){Ee(i,x,L)}}}s=s.next}while(s!==r)}}catch(L){Ee(t,t.return,L)}}function Sm(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{fu(t,l)}catch(s){Ee(e,e.return,s)}}}function _m(e,t,l){l.props=Tl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(s){Ee(e,t,s)}}function si(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(i){Ee(e,t,i)}}function ia(e,t){var l=e.ref,s=e.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(i){Ee(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Ee(e,t,i)}else l.current=null}function Am(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(i){Ee(e,e.return,i)}}function Wo(e,t,l){try{var s=e.stateNode;Vf(s,e.type,l,t),s[mt]=t}catch(i){Ee(e,e.return,i)}}function zm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ia(e.type)||e.tag===4}function Qo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zm(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&&Ia(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 Xo(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=ga));else if(s!==4&&(s===27&&Ia(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Xo(e,t,l),e=e.sibling;e!==null;)Xo(e,t,l),e=e.sibling}function Cn(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&&Ia(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Cn(e,t,l),e=e.sibling;e!==null;)Cn(e,t,l),e=e.sibling}function Dm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var s=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ut(t,s,l),t[Pe]=e,t[mt]=l}catch(r){Ee(e,e.return,r)}}var wa=!1,$e=!1,Zo=!1,Tm=typeof WeakSet=="function"?WeakSet:Set,nt=null;function xf(e,t){if(e=e.containerInfo,xc=Pn,e=Gd(e),qr(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 i=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,_=0,L=0,V=e,A=null;t:for(;;){for(var T;V!==l||i!==0&&V.nodeType!==3||(m=u+i),V!==r||s!==0&&V.nodeType!==3||(x=u+s),V.nodeType===3&&(u+=V.nodeValue.length),(T=V.firstChild)!==null;)A=V,V=T;for(;;){if(V===e)break t;if(A===l&&++_===i&&(m=u),A===r&&++L===s&&(x=u),(T=V.nextSibling)!==null)break;V=A,A=V.parentNode}V=T}l=m===-1||x===-1?null:{start:m,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(pc={focusedElem:e,selectionRange:l},Pn=!1,nt=t;nt!==null;)if(t=nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,nt=e;else for(;nt!==null;){switch(t=nt,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++)i=e[l],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&r!==null){e=void 0,l=t,i=r.memoizedProps,r=r.memoizedState,s=l.stateNode;try{var $=Tl(l.type,i);e=s.getSnapshotBeforeUpdate($,r),s.__reactInternalSnapshotBeforeUpdate=e}catch(ue){Ee(l,l.return,ue)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)jc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":jc(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(d(163))}if(e=t.sibling,e!==null){e.return=t.return,nt=e;break}nt=t.return}}function Mm(e,t,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:_a(e,l),s&4&&li(5,l);break;case 1:if(_a(e,l),s&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(u){Ee(l,l.return,u)}else{var i=Tl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(u){Ee(l,l.return,u)}}s&64&&Sm(l),s&512&&si(l,l.return);break;case 3:if(_a(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{fu(e,t)}catch(u){Ee(l,l.return,u)}}break;case 27:t===null&&s&4&&Dm(l);case 26:case 5:_a(e,l),t===null&&s&4&&Am(l),s&512&&si(l,l.return);break;case 12:_a(e,l);break;case 31:_a(e,l),s&4&&Lm(e,l);break;case 13:_a(e,l),s&4&&Om(e,l),s&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Sf.bind(null,l),Kf(e,l))));break;case 22:if(s=l.memoizedState!==null||wa,!s){t=t!==null&&t.memoizedState!==null||$e,i=wa;var r=$e;wa=s,($e=t)&&!r?Aa(e,l,(l.subtreeFlags&8772)!==0):_a(e,l),wa=i,$e=r}break;case 30:break;default:_a(e,l)}}function Cm(e){var t=e.alternate;t!==null&&(e.alternate=null,Cm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&fl(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 Sa(e,t,l){for(l=l.child;l!==null;)Em(e,t,l),l=l.sibling}function Em(e,t,l){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(Re,l)}catch{}switch(l.tag){case 26:$e||ia(l,t),Sa(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,i=bt;Ia(l.type)&&(qe=l.stateNode,bt=!1),Sa(e,t,l),hi(l.stateNode),qe=s,bt=i;break;case 5:$e||ia(l,t);case 6:if(s=qe,i=bt,qe=null,Sa(e,t,l),qe=s,bt=i,qe!==null)if(bt)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(l.stateNode)}catch(r){Ee(l,t,r)}else try{qe.removeChild(l.stateNode)}catch(r){Ee(l,t,r)}break;case 18:qe!==null&&(bt?(e=qe,Sh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),ys(e)):Sh(qe,l.stateNode));break;case 4:s=qe,i=bt,qe=l.stateNode.containerInfo,bt=!0,Sa(e,t,l),qe=s,bt=i;break;case 0:case 11:case 14:case 15:Ka(2,l,t),$e||Ka(4,l,t),Sa(e,t,l);break;case 1:$e||(ia(l,t),s=l.stateNode,typeof s.componentWillUnmount=="function"&&_m(l,t,s)),Sa(e,t,l);break;case 21:Sa(e,t,l);break;case 22:$e=(s=$e)||l.memoizedState!==null,Sa(e,t,l),$e=s;break;default:Sa(e,t,l)}}function Lm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ys(e)}catch(l){Ee(t,t.return,l)}}}function Om(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ys(e)}catch(l){Ee(t,t.return,l)}}function pf(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Tm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Tm),t;default:throw Error(d(435,e.tag))}}function En(e,t){var l=pf(e);t.forEach(function(s){if(!l.has(s)){l.add(s);var i=_f.bind(null,e,s);s.then(i,i)}})}function vt(e,t){var l=t.deletions;if(l!==null)for(var s=0;s<l.length;s++){var i=l[s],r=e,u=t,m=u;e:for(;m!==null;){switch(m.tag){case 27:if(Ia(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(d(160));Em(r,u,i),qe=null,bt=!1,r=i.alternate,r!==null&&(r.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Um(t,e),t=t.sibling}var $t=null;function Um(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&&(Ka(3,e,e.return),li(3,e),Ka(5,e,e.return));break;case 1:vt(t,e),jt(e),s&512&&($e||l===null||ia(l,l.return)),s&64&&wa&&(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 i=$t;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,i=i.ownerDocument||i;t:switch(s){case"title":r=i.getElementsByTagName("title")[0],(!r||r[ua]||r[Pe]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=i.createElement(s),i.head.insertBefore(r,i.querySelector("head > title"))),ut(r,s,l),r[Pe]=e,it(r),s=r;break e;case"link":var u=Uh("link","href",i).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=i.createElement(s),ut(r,s,l),i.head.appendChild(r);break;case"meta":if(u=Uh("meta","content",i).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=i.createElement(s),ut(r,s,l),i.head.appendChild(r);break;default:throw Error(d(468,s))}r[Pe]=e,it(r),s=r}e.stateNode=s}else Vh(i,e.type,e.stateNode);else e.stateNode=Oh(i,s,e.memoizedProps);else r!==s?(r===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):r.count--,s===null?Vh(i,e.type,e.stateNode):Oh(i,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Wo(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&&Wo(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){i=e.stateNode;try{Yl(i,"")}catch($){Ee(e,e.return,$)}}s&4&&e.stateNode!=null&&(i=e.memoizedProps,Wo(e,i,l!==null?l.memoizedProps:i)),s&1024&&(Zo=!0);break;case 6:if(vt(t,e),jt(e),s&4){if(e.stateNode===null)throw Error(d(162));s=e.memoizedProps,l=e.stateNode;try{l.nodeValue=s}catch($){Ee(e,e.return,$)}}break;case 3:if(Zn=null,i=$t,$t=Qn(t.containerInfo),vt(t,e),$t=i,jt(e),s&4&&l!==null&&l.memoizedState.isDehydrated)try{ys(t.containerInfo)}catch($){Ee(e,e.return,$)}Zo&&(Zo=!1,Vm(e));break;case 4:s=$t,$t=Qn(e.stateNode.containerInfo),vt(t,e),jt(e),$t=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,En(e,s)));break;case 13:vt(t,e),jt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(On=gt()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,En(e,s)));break;case 22:i=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,_=wa,L=$e;if(wa=_||i,$e=L||x,vt(t,e),$e=L,wa=_,jt(e),s&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(l===null||x||wa||$e||Ml(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{if(r=x.stateNode,i)u=r.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{m=x.stateNode;var V=x.memoizedProps.style,A=V!=null&&V.hasOwnProperty("display")?V.display:null;m.style.display=A==null||typeof A=="boolean"?"":(""+A).trim()}}catch($){Ee(x,x.return,$)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=i?"":x.memoizedProps}catch($){Ee(x,x.return,$)}}}else if(t.tag===18){if(l===null){x=t;try{var T=x.stateNode;i?_h(T,!0):_h(x.stateNode,!1)}catch($){Ee(x,x.return,$)}}}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,En(e,l))));break;case 19:vt(t,e),jt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,En(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(zm(s)){l=s;break}s=s.return}if(l==null)throw Error(d(160));switch(l.tag){case 27:var i=l.stateNode,r=Qo(e);Cn(e,r,i);break;case 5:var u=l.stateNode;l.flags&32&&(Yl(u,""),l.flags&=-33);var m=Qo(e);Cn(e,m,u);break;case 3:case 4:var x=l.stateNode.containerInfo,_=Qo(e);Xo(e,_,x);break;default:throw Error(d(161))}}catch(L){Ee(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Vm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function _a(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Mm(e,t.alternate,t),t=t.sibling}function Ml(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ka(4,t,t.return),Ml(t);break;case 1:ia(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&_m(t,t.return,l),Ml(t);break;case 27:hi(t.stateNode);case 26:case 5:ia(t,t.return),Ml(t);break;case 22:t.memoizedState===null&&Ml(t);break;case 30:Ml(t);break;default:Ml(t)}e=e.sibling}}function Aa(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,i=e,r=t,u=r.flags;switch(r.tag){case 0:case 11:case 15:Aa(i,r,l),li(4,r);break;case 1:if(Aa(i,r,l),s=r,i=s.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(_){Ee(s,s.return,_)}if(s=r,i=s.updateQueue,i!==null){var m=s.stateNode;try{var x=i.shared.hiddenCallbacks;if(x!==null)for(i.shared.hiddenCallbacks=null,i=0;i<x.length;i++)gu(x[i],m)}catch(_){Ee(s,s.return,_)}}l&&u&64&&Sm(r),si(r,r.return);break;case 27:Dm(r);case 26:case 5:Aa(i,r,l),l&&s===null&&u&4&&Am(r),si(r,r.return);break;case 12:Aa(i,r,l);break;case 31:Aa(i,r,l),l&&u&4&&Lm(i,r);break;case 13:Aa(i,r,l),l&&u&4&&Om(i,r);break;case 22:r.memoizedState===null&&Aa(i,r,l),si(r,r.return);break;case 30:break;default:Aa(i,r,l)}t=t.sibling}}function Fo(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&&Ys(l))}function $o(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ys(e))}function It(e,t,l,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Rm(e,t,l,s),t=t.sibling}function Rm(e,t,l,s){var i=t.flags;switch(t.tag){case 0:case 11:case 15:It(e,t,l,s),i&2048&&li(9,t);break;case 1:It(e,t,l,s);break;case 3:It(e,t,l,s),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ys(e)));break;case 12:if(i&2048){It(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){Ee(t,t.return,x)}}else It(e,t,l,s);break;case 31:It(e,t,l,s);break;case 13:It(e,t,l,s);break;case 23:break;case 22:r=t.stateNode,u=t.alternate,t.memoizedState!==null?r._visibility&2?It(e,t,l,s):ii(e,t):r._visibility&2?It(e,t,l,s):(r._visibility|=2,ds(e,t,l,s,(t.subtreeFlags&10256)!==0||!1)),i&2048&&Fo(u,t);break;case 24:It(e,t,l,s),i&2048&&$o(t.alternate,t);break;default:It(e,t,l,s)}}function ds(e,t,l,s,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,u=t,m=l,x=s,_=u.flags;switch(u.tag){case 0:case 11:case 15:ds(r,u,m,x,i),li(8,u);break;case 23:break;case 22:var L=u.stateNode;u.memoizedState!==null?L._visibility&2?ds(r,u,m,x,i):ii(r,u):(L._visibility|=2,ds(r,u,m,x,i)),i&&_&2048&&Fo(u.alternate,u);break;case 24:ds(r,u,m,x,i),i&&_&2048&&$o(u.alternate,u);break;default:ds(r,u,m,x,i)}t=t.sibling}}function ii(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,s=t,i=s.flags;switch(s.tag){case 22:ii(l,s),i&2048&&Fo(s.alternate,s);break;case 24:ii(l,s),i&2048&&$o(s.alternate,s);break;default:ii(l,s)}t=t.sibling}}var ni=8192;function us(e,t,l){if(e.subtreeFlags&ni)for(e=e.child;e!==null;)Hm(e,t,l),e=e.sibling}function Hm(e,t,l){switch(e.tag){case 26:us(e,t,l),e.flags&ni&&e.memoizedState!==null&&lx(l,$t,e.memoizedState,e.memoizedProps);break;case 5:us(e,t,l);break;case 3:case 4:var s=$t;$t=Qn(e.stateNode.containerInfo),us(e,t,l),$t=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=ni,ni=16777216,us(e,t,l),ni=s):us(e,t,l));break;default:us(e,t,l)}}function Bm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ri(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];nt=s,Gm(s,e)}Bm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qm(e),e=e.sibling}function qm(e){switch(e.tag){case 0:case 11:case 15:ri(e),e.flags&2048&&Ka(9,e,e.return);break;case 3:ri(e);break;case 12:ri(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ln(e)):ri(e);break;default:ri(e)}}function Ln(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];nt=s,Gm(s,e)}Bm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ka(8,t,t.return),Ln(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Ln(t));break;default:Ln(t)}e=e.sibling}}function Gm(e,t){for(;nt!==null;){var l=nt;switch(l.tag){case 0:case 11:case 15:Ka(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:Ys(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,nt=s;else e:for(l=e;nt!==null;){s=nt;var i=s.sibling,r=s.return;if(Cm(s),s===l){nt=null;break e}if(i!==null){i.return=r,nt=i;break e}nt=r}}}var bf={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}},vf=typeof WeakMap=="function"?WeakMap:Map,Te=0,Ve=null,ve=null,ye=0,Ce=0,Tt=null,Wa=!1,ms=!1,Io=!1,za=0,Ye=0,Qa=0,Cl=0,Po=0,Mt=0,hs=0,oi=null,yt=null,ec=!1,On=0,Jm=0,Un=1/0,Vn=null,Xa=null,et=0,Za=null,gs=null,Da=0,tc=0,ac=null,Ym=null,ci=0,lc=null;function Ct(){return(Te&2)!==0&&ye!==0?ye&-ye:p.T!==null?cc():Wi()}function Km(){if(Mt===0)if((ye&536870912)===0||we){var e=ul;ul<<=1,(ul&3932160)===0&&(ul=262144),Mt=e}else Mt=536870912;return e=zt.current,e!==null&&(e.flags|=32),Mt}function kt(e,t,l){(e===Ve&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(fs(e,0),Fa(e,ye,Mt,!1)),ea(e,l),((Te&2)===0||e!==Ve)&&(e===Ve&&((Te&2)===0&&(Cl|=l),Ye===4&&Fa(e,ye,Mt,!1)),na(e))}function Wm(e,t,l){if((Te&6)!==0)throw Error(d(327));var s=!l&&(t&127)===0&&(t&e.expiredLanes)===0||gl(e,t),i=s?kf(e,t):ic(e,t,!0),r=s;do{if(i===0){ms&&!s&&Fa(e,t,0,!1);break}else{if(l=e.current.alternate,r&&!jf(l)){i=ic(e,t,!1),r=!1;continue}if(i===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;i=oi;var x=m.current.memoizedState.isDehydrated;if(x&&(fs(m,u).flags|=256),u=ic(m,u,!1),u!==2){if(Io&&!x){m.errorRecoveryDisabledLanes|=r,Cl|=r,i=4;break e}r=yt,yt=i,r!==null&&(yt===null?yt=r:yt.push.apply(yt,r))}i=u}if(r=!1,i!==2)continue}}if(i===1){fs(e,0),Fa(e,t,0,!0);break}e:{switch(s=e,r=i,r){case 0:case 1:throw Error(d(345));case 4:if((t&4194048)!==t)break;case 6:Fa(s,t,Mt,!Wa);break e;case 2:yt=null;break;case 3:case 5:break;default:throw Error(d(329))}if((t&62914560)===t&&(i=On+300-gt(),10<i)){if(Fa(s,t,Mt,!Wa),hl(s,0,!0)!==0)break e;Da=t,s.timeoutHandle=Nh(Qm.bind(null,s,l,yt,Vn,ec,t,Mt,Cl,hs,Wa,r,"Throttled",-0,0),i);break e}Qm(s,l,yt,Vn,ec,t,Mt,Cl,hs,Wa,r,null,-0,0)}}break}while(!0);na(e)}function Qm(e,t,l,s,i,r,u,m,x,_,L,V,A,T){if(e.timeoutHandle=-1,V=t.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ga},Hm(t,r,V);var $=(r&62914560)===r?On-gt():(r&4194048)===r?Jm-gt():0;if($=sx(V,$),$!==null){Da=r,e.cancelPendingCommit=$(th.bind(null,e,t,r,l,s,i,u,m,x,L,V,null,A,T)),Fa(e,r,u,!_);return}}th(e,t,r,l,s,i,u,m,x)}function jf(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 i=l[s],r=i.getSnapshot;i=i.value;try{if(!_t(r(),i))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 Fa(e,t,l,s){t&=~Po,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var i=t;0<i;){var r=31-ft(i),u=1<<r;s[r]=-1,i&=~u}l!==0&&Ji(e,l,t)}function Rn(){return(Te&6)===0?(di(0),!1):!0}function sc(){if(ve!==null){if(Ce===0)var e=ve.return;else e=ve,ba=Nl=null,jo(e),is=null,Ws=0,e=ve;for(;e!==null;)wm(e.alternate,e),e=e.return;ve=null}}function fs(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Bf(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Da=0,sc(),Ve=e,ve=l=xa(e.current,null),ye=t,Ce=0,Tt=null,Wa=!1,ms=gl(e,t),Io=!1,hs=Mt=Po=Cl=Qa=Ye=0,yt=oi=null,ec=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var i=31-ft(s),r=1<<i;t|=e[i],s&=~r}return za=t,sn(),l}function Xm(e,t){xe=null,p.H=ei,t===ss||t===hn?(t=du(),Ce=3):t===ro?(t=du(),Ce=4):Ce=t===Uo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Tt=t,ve===null&&(Ye=1,An(e,Bt(t,e.current)))}function Zm(){var e=zt.current;return e===null?!0:(ye&4194048)===ye?Yt===null:(ye&62914560)===ye||(ye&536870912)!==0?e===Yt:!1}function Fm(){var e=p.H;return p.H=ei,e===null?ei:e}function $m(){var e=p.A;return p.A=bf,e}function Hn(){Ye=4,Wa||(ye&4194048)!==ye&&zt.current!==null||(ms=!0),(Qa&134217727)===0&&(Cl&134217727)===0||Ve===null||Fa(Ve,ye,Mt,!1)}function ic(e,t,l){var s=Te;Te|=2;var i=Fm(),r=$m();(Ve!==e||ye!==t)&&(Vn=null,fs(e,t)),t=!1;var u=Ye;e:do try{if(Ce!==0&&ve!==null){var m=ve,x=Tt;switch(Ce){case 8:sc(),u=6;break e;case 3:case 2:case 9:case 6:zt.current===null&&(t=!0);var _=Ce;if(Ce=0,Tt=null,xs(e,m,x,_),l&&ms){u=0;break e}break;default:_=Ce,Ce=0,Tt=null,xs(e,m,x,_)}}yf(),u=Ye;break}catch(L){Xm(e,L)}while(!0);return t&&e.shellSuspendCounter++,ba=Nl=null,Te=s,p.H=i,p.A=r,ve===null&&(Ve=null,ye=0,sn()),u}function yf(){for(;ve!==null;)Im(ve)}function kf(e,t){var l=Te;Te|=2;var s=Fm(),i=$m();Ve!==e||ye!==t?(Vn=null,Un=gt()+500,fs(e,t)):ms=gl(e,t);e:do try{if(Ce!==0&&ve!==null){t=ve;var r=Tt;t:switch(Ce){case 1:Ce=0,Tt=null,xs(e,t,r,1);break;case 2:case 9:if(ou(r)){Ce=0,Tt=null,Pm(t);break}t=function(){Ce!==2&&Ce!==9||Ve!==e||(Ce=7),na(e)},r.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:ou(r)?(Ce=0,Tt=null,Pm(t)):(Ce=0,Tt=null,xs(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?Rh(u):m.stateNode.complete){Ce=0,Tt=null;var x=m.sibling;if(x!==null)ve=x;else{var _=m.return;_!==null?(ve=_,Bn(_)):ve=null}break t}}Ce=0,Tt=null,xs(e,t,r,5);break;case 6:Ce=0,Tt=null,xs(e,t,r,6);break;case 8:sc(),Ye=6;break e;default:throw Error(d(462))}}Nf();break}catch(L){Xm(e,L)}while(!0);return ba=Nl=null,p.H=s,p.A=i,Te=l,ve!==null?0:(Ve=null,ye=0,sn(),Ye)}function Nf(){for(;ve!==null&&!Ui();)Im(ve)}function Im(e){var t=km(e.alternate,e,za);e.memoizedProps=e.pendingProps,t===null?Bn(e):ve=t}function Pm(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=xm(l,t,t.pendingProps,t.type,void 0,ye);break;case 11:t=xm(l,t,t.pendingProps,t.type.render,t.ref,ye);break;case 5:jo(t);default:wm(l,t),t=ve=$d(t,za),t=km(l,t,za)}e.memoizedProps=e.pendingProps,t===null?Bn(e):ve=t}function xs(e,t,l,s){ba=Nl=null,jo(t),is=null,Ws=0;var i=t.return;try{if(uf(e,i,t,l,ye)){Ye=1,An(e,Bt(l,e.current)),ve=null;return}}catch(r){if(i!==null)throw ve=i,r;Ye=1,An(e,Bt(l,e.current)),ve=null;return}t.flags&32768?(we||s===1?e=!0:ms||(ye&536870912)!==0?e=!1:(Wa=e=!0,(s===2||s===9||s===3||s===6)&&(s=zt.current,s!==null&&s.tag===13&&(s.flags|=16384))),eh(t,e)):Bn(t)}function Bn(e){var t=e;do{if((t.flags&32768)!==0){eh(t,Wa);return}e=t.return;var l=gf(t.alternate,t,za);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 eh(e,t){do{var l=ff(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 th(e,t,l,s,i,r,u,m,x){e.cancelPendingCommit=null;do qn();while(et!==0);if((Te&6)!==0)throw Error(d(327));if(t!==null){if(t===e.current)throw Error(d(177));if(r=t.lanes|t.childLanes,r|=Wr,da(e,l,r,u,m,x),e===Ve&&(ve=Ve=null,ye=0),gs=t,Za=e,Da=l,tc=r,ac=i,Ym=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Af(Bl,function(){return nh(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=p.T,p.T=null,i=C.p,C.p=2,u=Te,Te|=4;try{xf(e,t,l)}finally{Te=u,C.p=i,p.T=s}}et=1,ah(),lh(),sh()}}function ah(){if(et===1){et=0;var e=Za,t=gs,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=p.T,p.T=null;var s=C.p;C.p=2;var i=Te;Te|=4;try{Um(t,e);var r=pc,u=Gd(e.containerInfo),m=r.focusedElem,x=r.selectionRange;if(u!==m&&m&&m.ownerDocument&&qd(m.ownerDocument.documentElement,m)){if(x!==null&&qr(m)){var _=x.start,L=x.end;if(L===void 0&&(L=_),"selectionStart"in m)m.selectionStart=_,m.selectionEnd=Math.min(L,m.value.length);else{var V=m.ownerDocument||document,A=V&&V.defaultView||window;if(A.getSelection){var T=A.getSelection(),$=m.textContent.length,ue=Math.min(x.start,$),Ue=x.end===void 0?ue:Math.min(x.end,$);!T.extend&&ue>Ue&&(u=Ue,Ue=ue,ue=u);var y=Bd(m,ue),b=Bd(m,Ue);if(y&&b&&(T.rangeCount!==1||T.anchorNode!==y.node||T.anchorOffset!==y.offset||T.focusNode!==b.node||T.focusOffset!==b.offset)){var w=V.createRange();w.setStart(y.node,y.offset),T.removeAllRanges(),ue>Ue?(T.addRange(w),T.extend(b.node,b.offset)):(w.setEnd(b.node,b.offset),T.addRange(w))}}}}for(V=[],T=m;T=T.parentNode;)T.nodeType===1&&V.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<V.length;m++){var U=V[m];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}Pn=!!xc,pc=xc=null}finally{Te=i,C.p=s,p.T=l}}e.current=t,et=2}}function lh(){if(et===2){et=0;var e=Za,t=gs,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=p.T,p.T=null;var s=C.p;C.p=2;var i=Te;Te|=4;try{Mm(e,t.alternate,t)}finally{Te=i,C.p=s,p.T=l}}et=3}}function sh(){if(et===4||et===3){et=0,ol();var e=Za,t=gs,l=Da,s=Ym;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?et=5:(et=0,gs=Za=null,ih(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Xa=null),Ms(l),t=t.stateNode,lt&&typeof lt.onCommitFiberRoot=="function")try{lt.onCommitFiberRoot(Re,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=p.T,i=C.p,C.p=2,p.T=null;try{for(var r=e.onRecoverableError,u=0;u<s.length;u++){var m=s[u];r(m.value,{componentStack:m.stack})}}finally{p.T=t,C.p=i}}(Da&3)!==0&&qn(),na(e),i=e.pendingLanes,(l&261930)!==0&&(i&42)!==0?e===lc?ci++:(ci=0,lc=e):ci=0,di(0)}}function ih(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ys(t)))}function qn(){return ah(),lh(),sh(),nh()}function nh(){if(et!==5)return!1;var e=Za,t=tc;tc=0;var l=Ms(Da),s=p.T,i=C.p;try{C.p=32>l?32:l,p.T=null,l=ac,ac=null;var r=Za,u=Da;if(et=0,gs=Za=null,Da=0,(Te&6)!==0)throw Error(d(331));var m=Te;if(Te|=4,qm(r.current),Rm(r,r.current,u,l),Te=m,di(0,!1),lt&&typeof lt.onPostCommitFiberRoot=="function")try{lt.onPostCommitFiberRoot(Re,r)}catch{}return!0}finally{C.p=i,p.T=s,ih(e,t)}}function rh(e,t,l){t=Bt(l,t),t=Oo(e.stateNode,t,2),e=Ga(e,t,2),e!==null&&(ea(e,2),na(e))}function Ee(e,t,l){if(e.tag===3)rh(e,e,l);else for(;t!==null;){if(t.tag===3){rh(t,e,l);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Xa===null||!Xa.has(s))){e=Bt(l,e),l=om(2),s=Ga(t,l,2),s!==null&&(cm(l,s,t,e),ea(s,2),na(s));break}}t=t.return}}function nc(e,t,l){var s=e.pingCache;if(s===null){s=e.pingCache=new vf;var i=new Set;s.set(t,i)}else i=s.get(t),i===void 0&&(i=new Set,s.set(t,i));i.has(l)||(Io=!0,i.add(l),e=wf.bind(null,e,t,l),t.then(e,e))}function wf(e,t,l){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ve===e&&(ye&l)===l&&(Ye===4||Ye===3&&(ye&62914560)===ye&&300>gt()-On?(Te&2)===0&&fs(e,0):Po|=l,hs===ye&&(hs=0)),na(e)}function oh(e,t){t===0&&(t=Ds()),e=jl(e,t),e!==null&&(ea(e,t),na(e))}function Sf(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),oh(e,l)}function _f(e,t){var l=0;switch(e.tag){case 31:case 13:var s=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(d(314))}s!==null&&s.delete(t),oh(e,l)}function Af(e,t){return Hl(e,t)}var Gn=null,ps=null,rc=!1,Jn=!1,oc=!1,$a=0;function na(e){e!==ps&&e.next===null&&(ps===null?Gn=ps=e:ps=ps.next=e),Jn=!0,rc||(rc=!0,Df())}function di(e,t){if(!oc&&Jn){oc=!0;do for(var l=!1,s=Gn;s!==null;){if(e!==0){var i=s.pendingLanes;if(i===0)var r=0;else{var u=s.suspendedLanes,m=s.pingedLanes;r=(1<<31-ft(42|e)+1)-1,r&=i&~(u&~m),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(l=!0,mh(s,r))}else r=ye,r=hl(s,s===Ve?r:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(r&3)===0||gl(s,r)||(l=!0,mh(s,r));s=s.next}while(l);oc=!1}}function zf(){ch()}function ch(){Jn=rc=!1;var e=0;$a!==0&&Hf()&&(e=$a);for(var t=gt(),l=null,s=Gn;s!==null;){var i=s.next,r=dh(s,t);r===0?(s.next=null,l===null?Gn=i:l.next=i,i===null&&(ps=l)):(l=s,(e!==0||(r&3)!==0)&&(Jn=!0)),s=i}et!==0&&et!==5||di(e),$a!==0&&($a=0)}function dh(e,t){for(var l=e.suspendedLanes,s=e.pingedLanes,i=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var u=31-ft(r),m=1<<u,x=i[u];x===-1?((m&l)===0||(m&s)!==0)&&(i[u]=Nr(m,t)):x<=t&&(e.expiredLanes|=m),r&=~m}if(t=Ve,l=ye,l=hl(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,l===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&As(s),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||gl(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(s!==null&&As(s),Ms(l)){case 2:case 8:l=zs;break;case 32:l=Bl;break;case 268435456:l=Bi;break;default:l=Bl}return s=uh.bind(null,e),l=Hl(l,s),e.callbackPriority=t,e.callbackNode=l,t}return s!==null&&s!==null&&As(s),e.callbackPriority=2,e.callbackNode=null,2}function uh(e,t){if(et!==0&&et!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(qn()&&e.callbackNode!==l)return null;var s=ye;return s=hl(e,e===Ve?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(Wm(e,s,t),dh(e,gt()),e.callbackNode!=null&&e.callbackNode===l?uh.bind(null,e):null)}function mh(e,t){if(qn())return null;Wm(e,t,!0)}function Df(){qf(function(){(Te&6)!==0?Hl(Ri,zf):ch()})}function cc(){if($a===0){var e=as;e===0&&(e=dl,dl<<=1,(dl&261888)===0&&(dl=256)),$a=e}return $a}function hh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fi(""+e)}function gh(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 Tf(e,t,l,s,i){if(t==="submit"&&l&&l.stateNode===i){var r=hh((i[mt]||null).action),u=s.submitter;u&&(t=(t=u[mt]||null)?hh(t.formAction):u.getAttribute("formAction"),t!==null&&(r=t,u=null));var m=new en("action","action",null,s,i);e.push({event:m,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if($a!==0){var x=u?gh(i,u):new FormData(i);Do(l,{pending:!0,data:x,method:i.method,action:r},null,x)}}else typeof r=="function"&&(m.preventDefault(),x=u?gh(i,u):new FormData(i),Do(l,{pending:!0,data:x,method:i.method,action:r},r,x))},currentTarget:i}]})}}for(var dc=0;dc<Kr.length;dc++){var uc=Kr[dc],Mf=uc.toLowerCase(),Cf=uc[0].toUpperCase()+uc.slice(1);Ft(Mf,"on"+Cf)}Ft(Kd,"onAnimationEnd"),Ft(Wd,"onAnimationIteration"),Ft(Qd,"onAnimationStart"),Ft("dblclick","onDoubleClick"),Ft("focusin","onFocus"),Ft("focusout","onBlur"),Ft(Qg,"onTransitionRun"),Ft(Xg,"onTransitionStart"),Ft(Zg,"onTransitionCancel"),Ft(Xd,"onTransitionEnd"),Gl("onMouseEnter",["mouseout","mouseover"]),Gl("onMouseLeave",["mouseout","mouseover"]),Gl("onPointerEnter",["pointerout","pointerover"]),Gl("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 ui="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(" "),Ef=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ui));function fh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var s=e[l],i=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,_=m.currentTarget;if(m=m.listener,x!==r&&i.isPropagationStopped())break e;r=m,i.currentTarget=_;try{r(i)}catch(L){ln(L)}i.currentTarget=null,r=x}else for(u=0;u<s.length;u++){if(m=s[u],x=m.instance,_=m.currentTarget,m=m.listener,x!==r&&i.isPropagationStopped())break e;r=m,i.currentTarget=_;try{r(i)}catch(L){ln(L)}i.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)||(xh(t,e,2,!1),l.add(s))}function mc(e,t,l){var s=0;t&&(s|=4),xh(l,e,s,t)}var Yn="_reactListening"+Math.random().toString(36).slice(2);function hc(e){if(!e[Yn]){e[Yn]=!0,cd.forEach(function(l){l!=="selectionchange"&&(Ef.has(l)||mc(l,!1,e),mc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yn]||(t[Yn]=!0,mc("selectionchange",!1,t))}}function xh(e,t,l,s){switch(Kh(t)){case 2:var i=rx;break;case 8:i=ox;break;default:i=zc}l=i.bind(null,t,l,e),i=void 0,!Cr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),s?i!==void 0?e.addEventListener(t,l,{capture:!0,passive:i}):e.addEventListener(t,l,!0):i!==void 0?e.addEventListener(t,l,{passive:i}):e.addEventListener(t,l,!1)}function gc(e,t,l,s,i){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===i)break;if(u===4)for(u=s.return;u!==null;){var x=u.tag;if((x===3||x===4)&&u.stateNode.containerInfo===i)return;u=u.return}for(;m!==null;){if(u=ta(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}yd(function(){var _=r,L=Tr(l),V=[];e:{var A=Zd.get(e);if(A!==void 0){var T=en,$=e;switch(e){case"keypress":if(Ii(l)===0)break e;case"keydown":case"keyup":T=Sg;break;case"focusin":$="focus",T=Ur;break;case"focusout":$="blur",T=Ur;break;case"beforeblur":case"afterblur":T=Ur;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=wd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=hg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=zg;break;case Kd:case Wd:case Qd:T=xg;break;case Xd:T=Tg;break;case"scroll":case"scrollend":T=ug;break;case"wheel":T=Cg;break;case"copy":case"cut":case"paste":T=bg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=_d;break;case"toggle":case"beforetoggle":T=Lg}var ue=(t&4)!==0,Ue=!ue&&(e==="scroll"||e==="scrollend"),y=ue?A!==null?A+"Capture":null:A;ue=[];for(var b=_,w;b!==null;){var U=b;if(w=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||w===null||y===null||(U=Es(b,y),U!=null&&ue.push(mi(b,U,w))),Ue)break;b=b.return}0<ue.length&&(A=new T(A,$,null,l,L),V.push({event:A,listeners:ue}))}}if((t&7)===0){e:{if(A=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",A&&l!==Dr&&($=l.relatedTarget||l.fromElement)&&(ta($)||$[La]))break e;if((T||A)&&(A=L.window===L?L:(A=L.ownerDocument)?A.defaultView||A.parentWindow:window,T?($=l.relatedTarget||l.toElement,T=_,$=$?ta($):null,$!==null&&(Ue=f($),ue=$.tag,$!==Ue||ue!==5&&ue!==27&&ue!==6)&&($=null)):(T=null,$=_),T!==$)){if(ue=wd,U="onMouseLeave",y="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(ue=_d,U="onPointerLeave",y="onPointerEnter",b="pointer"),Ue=T==null?A:ma(T),w=$==null?A:ma($),A=new ue(U,b+"leave",T,l,L),A.target=Ue,A.relatedTarget=w,U=null,ta(L)===_&&(ue=new ue(y,b+"enter",$,l,L),ue.target=w,ue.relatedTarget=Ue,U=ue),Ue=U,T&&$)t:{for(ue=Lf,y=T,b=$,w=0,U=y;U;U=ue(U))w++;U=0;for(var re=b;re;re=ue(re))U++;for(;0<w-U;)y=ue(y),w--;for(;0<U-w;)b=ue(b),U--;for(;w--;){if(y===b||b!==null&&y===b.alternate){ue=y;break t}y=ue(y),b=ue(b)}ue=null}else ue=null;T!==null&&ph(V,A,T,ue,!1),$!==null&&Ue!==null&&ph(V,Ue,$,ue,!0)}}e:{if(A=_?ma(_):window,T=A.nodeName&&A.nodeName.toLowerCase(),T==="select"||T==="input"&&A.type==="file")var Ae=Ld;else if(Cd(A))if(Od)Ae=Yg;else{Ae=Gg;var ee=qg}else T=A.nodeName,!T||T.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?_&&zr(_.elementType)&&(Ae=Ld):Ae=Jg;if(Ae&&(Ae=Ae(e,_))){Ed(V,Ae,l,L);break e}ee&&ee(e,A,_),e==="focusout"&&_&&A.type==="number"&&_.memoizedProps.value!=null&&Ar(A,"number",A.value)}switch(ee=_?ma(_):window,e){case"focusin":(Cd(ee)||ee.contentEditable==="true")&&(Xl=ee,Gr=_,qs=null);break;case"focusout":qs=Gr=Xl=null;break;case"mousedown":Jr=!0;break;case"contextmenu":case"mouseup":case"dragend":Jr=!1,Jd(V,l,L);break;case"selectionchange":if(Wg)break;case"keydown":case"keyup":Jd(V,l,L)}var pe;if(Rr)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?Td(e,l)&&(ke="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ke="onCompositionStart");ke&&(Ad&&l.locale!=="ko"&&(Ql||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&Ql&&(pe=kd()):(Oa=L,Er="value"in Oa?Oa.value:Oa.textContent,Ql=!0)),ee=Kn(_,ke),0<ee.length&&(ke=new Sd(ke,e,null,l,L),V.push({event:ke,listeners:ee}),pe?ke.data=pe:(pe=Md(l),pe!==null&&(ke.data=pe)))),(pe=Ug?Vg(e,l):Rg(e,l))&&(ke=Kn(_,"onBeforeInput"),0<ke.length&&(ee=new Sd("onBeforeInput","beforeinput",null,l,L),V.push({event:ee,listeners:ke}),ee.data=pe)),Tf(V,e,_,l,L)}fh(V,t)})}function mi(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Kn(e,t){for(var l=t+"Capture",s=[];e!==null;){var i=e,r=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||r===null||(i=Es(e,l),i!=null&&s.unshift(mi(e,i,r)),i=Es(e,t),i!=null&&s.push(mi(e,i,r))),e.tag===3)return s;e=e.return}return[]}function Lf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ph(e,t,l,s,i){for(var r=t._reactName,u=[];l!==null&&l!==s;){var m=l,x=m.alternate,_=m.stateNode;if(m=m.tag,x!==null&&x===s)break;m!==5&&m!==26&&m!==27||_===null||(x=_,i?(_=Es(l,r),_!=null&&u.unshift(mi(l,_,x))):i||(_=Es(l,r),_!=null&&u.push(mi(l,_,x)))),l=l.return}u.length!==0&&e.push({event:t,listeners:u})}var Of=/\r\n?/g,Uf=/\u0000|\uFFFD/g;function bh(e){return(typeof e=="string"?e:""+e).replace(Of,`
`).replace(Uf,"")}function vh(e,t){return t=bh(t),bh(e)===t}function Oe(e,t,l,s,i,r){switch(l){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||Yl(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&Yl(e,""+s);break;case"className":Xi(e,"class",s);break;case"tabIndex":Xi(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Xi(e,l,s);break;case"style":vd(e,s,r);break;case"data":if(t!=="object"){Xi(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=Fi(""+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",i.name,i,null),Oe(e,t,"formEncType",i.formEncType,i,null),Oe(e,t,"formMethod",i.formMethod,i,null),Oe(e,t,"formTarget",i.formTarget,i,null)):(Oe(e,t,"encType",i.encType,i,null),Oe(e,t,"method",i.method,i,null),Oe(e,t,"target",i.target,i,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(l);break}s=Fi(""+s),e.setAttribute(l,s);break;case"onClick":s!=null&&(e.onclick=ga);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(d(61));if(l=s.__html,l!=null){if(i.children!=null)throw Error(d(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=Fi(""+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),Qi(e,"popover",s);break;case"xlinkActuate":ha(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ha(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ha(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ha(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ha(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ha(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ha(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ha(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ha(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Qi(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=cg.get(l)||l,Qi(e,l,s))}}function fc(e,t,l,s,i,r){switch(l){case"style":vd(e,s,r);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(d(61));if(l=s.__html,l!=null){if(i.children!=null)throw Error(d(60));e.innerHTML=l}}break;case"children":typeof s=="string"?Yl(e,s):(typeof s=="number"||typeof s=="bigint")&&Yl(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=ga);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(i=l.endsWith("Capture"),t=l.slice(2,i?l.length-7:void 0),r=e[mt]||null,r=r!=null?r[l]:null,typeof r=="function"&&e.removeEventListener(t,r,i),typeof s=="function")){typeof r!="function"&&r!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,s,i);break e}l in e?e[l]=s:s===!0?e.setAttribute(l,""):Qi(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,i=!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":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:Oe(e,t,r,u,l,null)}}i&&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=i=null,x=null,_=null;for(s in l)if(l.hasOwnProperty(s)){var L=l[s];if(L!=null)switch(s){case"name":i=L;break;case"type":u=L;break;case"checked":x=L;break;case"defaultChecked":_=L;break;case"value":r=L;break;case"defaultValue":m=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(d(137,t));break;default:Oe(e,t,s,L,l,null)}}fd(e,r,m,x,_,u,i,!1);return;case"select":je("invalid",e),s=u=r=null;for(i in l)if(l.hasOwnProperty(i)&&(m=l[i],m!=null))switch(i){case"value":r=m;break;case"defaultValue":u=m;break;case"multiple":s=m;default:Oe(e,t,i,m,l,null)}t=r,l=u,e.multiple=!!s,t!=null?Jl(e,!!s,t,!1):l!=null&&Jl(e,!!s,l,!0);return;case"textarea":je("invalid",e),r=i=s=null;for(u in l)if(l.hasOwnProperty(u)&&(m=l[u],m!=null))switch(u){case"value":s=m;break;case"defaultValue":i=m;break;case"children":r=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(d(91));break;default:Oe(e,t,u,m,l,null)}pd(e,s,i,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<ui.length;s++)je(ui[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(_ in l)if(l.hasOwnProperty(_)&&(s=l[_],s!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:Oe(e,t,_,s,l,null)}return;default:if(zr(t)){for(L in l)l.hasOwnProperty(L)&&(s=l[L],s!==void 0&&fc(e,t,L,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 Vf(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 i=null,r=null,u=null,m=null,x=null,_=null,L=null;for(T in l){var V=l[T];if(l.hasOwnProperty(T)&&V!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":x=V;default:s.hasOwnProperty(T)||Oe(e,t,T,null,s,V)}}for(var A in s){var T=s[A];if(V=l[A],s.hasOwnProperty(A)&&(T!=null||V!=null))switch(A){case"type":r=T;break;case"name":i=T;break;case"checked":_=T;break;case"defaultChecked":L=T;break;case"value":u=T;break;case"defaultValue":m=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(d(137,t));break;default:T!==V&&Oe(e,t,A,T,s,V)}}_r(e,u,m,x,_,L,r,i);return;case"select":T=u=m=A=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(i in s)if(r=s[i],x=l[i],s.hasOwnProperty(i)&&(r!=null||x!=null))switch(i){case"value":A=r;break;case"defaultValue":m=r;break;case"multiple":u=r;default:r!==x&&Oe(e,t,i,r,s,x)}t=m,l=u,s=T,A!=null?Jl(e,!!l,A,!1):!!s!=!!l&&(t!=null?Jl(e,!!l,t,!0):Jl(e,!!l,l?[]:"",!1));return;case"textarea":T=A=null;for(m in l)if(i=l[m],l.hasOwnProperty(m)&&i!=null&&!s.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Oe(e,t,m,null,s,i)}for(u in s)if(i=s[u],r=l[u],s.hasOwnProperty(u)&&(i!=null||r!=null))switch(u){case"value":A=i;break;case"defaultValue":T=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(d(91));break;default:i!==r&&Oe(e,t,u,i,s,r)}xd(e,A,T);return;case"option":for(var $ in l)A=l[$],l.hasOwnProperty($)&&A!=null&&!s.hasOwnProperty($)&&($==="selected"?e.selected=!1:Oe(e,t,$,null,s,A));for(x in s)A=s[x],T=l[x],s.hasOwnProperty(x)&&A!==T&&(A!=null||T!=null)&&(x==="selected"?e.selected=A&&typeof A!="function"&&typeof A!="symbol":Oe(e,t,x,A,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 ue in l)A=l[ue],l.hasOwnProperty(ue)&&A!=null&&!s.hasOwnProperty(ue)&&Oe(e,t,ue,null,s,A);for(_ in s)if(A=s[_],T=l[_],s.hasOwnProperty(_)&&A!==T&&(A!=null||T!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(d(137,t));break;default:Oe(e,t,_,A,s,T)}return;default:if(zr(t)){for(var Ue in l)A=l[Ue],l.hasOwnProperty(Ue)&&A!==void 0&&!s.hasOwnProperty(Ue)&&fc(e,t,Ue,void 0,s,A);for(L in s)A=s[L],T=l[L],!s.hasOwnProperty(L)||A===T||A===void 0&&T===void 0||fc(e,t,L,A,s,T);return}}for(var y in l)A=l[y],l.hasOwnProperty(y)&&A!=null&&!s.hasOwnProperty(y)&&Oe(e,t,y,null,s,A);for(V in s)A=s[V],T=l[V],!s.hasOwnProperty(V)||A===T||A==null&&T==null||Oe(e,t,V,A,s,T)}function jh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Rf(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),s=0;s<l.length;s++){var i=l[s],r=i.transferSize,u=i.initiatorType,m=i.duration;if(r&&m&&jh(u)){for(u=0,m=i.responseEnd,s+=1;s<l.length;s++){var x=l[s],_=x.startTime;if(_>m)break;var L=x.transferSize,V=x.initiatorType;L&&jh(V)&&(x=x.responseEnd,u+=L*(x<m?1:(m-_)/(x-_)))}if(--s,t+=8*(r+u)/(i.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 xc=null,pc=null;function Wn(e){return e.nodeType===9?e:e.ownerDocument}function yh(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 kh(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 bc(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 vc=null;function Hf(){var e=window.event;return e&&e.type==="popstate"?e===vc?!1:(vc=e,!0):(vc=null,!1)}var Nh=typeof setTimeout=="function"?setTimeout:void 0,Bf=typeof clearTimeout=="function"?clearTimeout:void 0,wh=typeof Promise=="function"?Promise:void 0,qf=typeof queueMicrotask=="function"?queueMicrotask:typeof wh<"u"?function(e){return wh.resolve(null).then(e).catch(Gf)}:Nh;function Gf(e){setTimeout(function(){throw e})}function Ia(e){return e==="head"}function Sh(e,t){var l=t,s=0;do{var i=l.nextSibling;if(e.removeChild(l),i&&i.nodeType===8)if(l=i.data,l==="/$"||l==="/&"){if(s===0){e.removeChild(i),ys(t);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")hi(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,hi(l);for(var r=l.firstChild;r;){var u=r.nextSibling,m=r.nodeName;r[ua]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=u}}else l==="body"&&hi(e.ownerDocument.body);l=i}while(l);ys(t)}function _h(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 jc(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":jc(l),fl(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Jf(e,t,l,s){for(;e.nodeType===1;){var i=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[ua])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!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=Kt(e.nextSibling),e===null)break}return null}function Yf(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Kt(e.nextSibling),e===null))return null;return e}function Ah(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Kt(e.nextSibling),e===null))return null;return e}function yc(e){return e.data==="$?"||e.data==="$~"}function kc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Kf(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 Kt(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 Nc=null;function zh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Kt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Dh(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 Th(e,t,l){switch(t=Wn(l),e){case"html":if(e=t.documentElement,!e)throw Error(d(452));return e;case"head":if(e=t.head,!e)throw Error(d(453));return e;case"body":if(e=t.body,!e)throw Error(d(454));return e;default:throw Error(d(451))}}function hi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);fl(e)}var Wt=new Map,Mh=new Set;function Qn(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ta=C.d;C.d={f:Wf,r:Qf,D:Xf,C:Zf,L:Ff,m:$f,X:Pf,S:If,M:ex};function Wf(){var e=Ta.f(),t=Rn();return e||t}function Qf(e){var t=aa(e);t!==null&&t.tag===5&&t.type==="form"?Xu(t):Ta.r(e)}var bs=typeof document>"u"?null:document;function Ch(e,t,l){var s=bs;if(s&&typeof t=="string"&&t){var i=Rt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),Mh.has(i)||(Mh.add(i),e={rel:e,crossOrigin:l,href:t},s.querySelector(i)===null&&(t=s.createElement("link"),ut(t,"link",e),it(t),s.head.appendChild(t)))}}function Xf(e){Ta.D(e),Ch("dns-prefetch",e,null)}function Zf(e,t){Ta.C(e,t),Ch("preconnect",e,t)}function Ff(e,t,l){Ta.L(e,t,l);var s=bs;if(s&&e&&t){var i='link[rel="preload"][as="'+Rt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+Rt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+Rt(l.imageSizes)+'"]')):i+='[href="'+Rt(e)+'"]';var r=i;switch(t){case"style":r=vs(e);break;case"script":r=js(e)}Wt.has(r)||(e=E({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Wt.set(r,e),s.querySelector(i)!==null||t==="style"&&s.querySelector(gi(r))||t==="script"&&s.querySelector(fi(r))||(t=s.createElement("link"),ut(t,"link",e),it(t),s.head.appendChild(t)))}}function $f(e,t){Ta.m(e,t);var l=bs;if(l&&e){var s=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+Rt(s)+'"][href="'+Rt(e)+'"]',r=i;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=js(e)}if(!Wt.has(r)&&(e=E({rel:"modulepreload",href:e},t),Wt.set(r,e),l.querySelector(i)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(fi(r)))return}s=l.createElement("link"),ut(s,"link",e),it(s),l.head.appendChild(s)}}}function If(e,t,l){Ta.S(e,t,l);var s=bs;if(s&&e){var i=ql(s).hoistableStyles,r=vs(e);t=t||"default";var u=i.get(r);if(!u){var m={loading:0,preload:null};if(u=s.querySelector(gi(r)))m.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Wt.get(r))&&wc(e,l);var x=u=s.createElement("link");it(x),ut(x,"link",e),x._p=new Promise(function(_,L){x.onload=_,x.onerror=L}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Xn(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:m},i.set(r,u)}}}function Pf(e,t){Ta.X(e,t);var l=bs;if(l&&e){var s=ql(l).hoistableScripts,i=js(e),r=s.get(i);r||(r=l.querySelector(fi(i)),r||(e=E({src:e,async:!0},t),(t=Wt.get(i))&&Sc(e,t),r=l.createElement("script"),it(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(i,r))}}function ex(e,t){Ta.M(e,t);var l=bs;if(l&&e){var s=ql(l).hoistableScripts,i=js(e),r=s.get(i);r||(r=l.querySelector(fi(i)),r||(e=E({src:e,async:!0,type:"module"},t),(t=Wt.get(i))&&Sc(e,t),r=l.createElement("script"),it(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},s.set(i,r))}}function Eh(e,t,l,s){var i=(i=ce.current)?Qn(i):null;if(!i)throw Error(d(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=vs(l.href),l=ql(i).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=vs(l.href);var r=ql(i).hoistableStyles,u=r.get(e);if(u||(i=i.ownerDocument||i,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,u),(r=i.querySelector(gi(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||tx(i,e,l,u.state))),t&&s===null)throw Error(d(528,""));return u}if(t&&s!==null)throw Error(d(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=js(l),l=ql(i).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(d(444,e))}}function vs(e){return'href="'+Rt(e)+'"'}function gi(e){return'link[rel="stylesheet"]['+e+"]"}function Lh(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function tx(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),it(t),e.head.appendChild(t))}function js(e){return'[src="'+Rt(e)+'"]'}function fi(e){return"script[async]"+e}function Oh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Rt(l.href)+'"]');if(s)return t.instance=s,it(s),s;var i=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),it(s),ut(s,"style",i),Xn(s,l.precedence,e),t.instance=s;case"stylesheet":i=vs(l.href);var r=e.querySelector(gi(i));if(r)return t.state.loading|=4,t.instance=r,it(r),r;s=Lh(l),(i=Wt.get(i))&&wc(s,i),r=(e.ownerDocument||e).createElement("link"),it(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,Xn(r,l.precedence,e),t.instance=r;case"script":return r=js(l.src),(i=e.querySelector(fi(r)))?(t.instance=i,it(i),i):(s=l,(i=Wt.get(r))&&(s=E({},l),Sc(s,i)),e=e.ownerDocument||e,i=e.createElement("script"),it(i),ut(i,"link",s),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(d(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,Xn(s,l.precedence,e));return t.instance}function Xn(e,t,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=s.length?s[s.length-1]:null,r=i,u=0;u<s.length;u++){var m=s[u];if(m.dataset.precedence===t)r=m;else if(r!==i)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function wc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Sc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Zn=null;function Uh(e,t,l){if(Zn===null){var s=new Map,i=Zn=new Map;i.set(l,s)}else i=Zn,s=i.get(l),s||(s=new Map,i.set(l,s));if(s.has(e))return s;for(s.set(e,null),l=l.getElementsByTagName(e),i=0;i<l.length;i++){var r=l[i];if(!(r[ua]||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 Vh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function ax(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 Rh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lx(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 i=vs(s.href),r=t.querySelector(gi(i));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Fn.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=r,it(r);return}r=t.ownerDocument||t,s=Lh(s),(i=Wt.get(i))&&wc(s,i),r=r.createElement("link"),it(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=Fn.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var _c=0;function sx(e,t){return e.stylesheets&&e.count===0&&In(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var s=setTimeout(function(){if(e.stylesheets&&In(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&_c===0&&(_c=62500*Rf());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&In(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>_c?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(i)}}:null}function Fn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)In(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var $n=null;function In(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,$n=new Map,t.forEach(ix,e),$n=null,Fn.call(e))}function ix(e,t){if(!(t.state.loading&4)){var l=$n.get(e);if(l)var s=l.get(null);else{l=new Map,$n.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<i.length;r++){var u=i[r];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(l.set(u.dataset.precedence,u),s=u)}s&&l.set(null,s)}i=t.instance,u=i.getAttribute("data-precedence"),r=l.get(u)||s,r===s&&l.set(null,i),l.set(u,i),this.count++,s=Fn.bind(this),i.addEventListener("load",s),i.addEventListener("error",s),r?r.parentNode.insertBefore(i,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var xi={$$typeof:W,Provider:null,Consumer:null,_currentValue:j,_currentValue2:j,_threadCount:0};function nx(e,t,l,s,i,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=Ts(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ts(0),this.hiddenUpdates=Ts(null),this.identifierPrefix=s,this.onUncaughtError=i,this.onCaughtError=r,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Hh(e,t,l,s,i,r,u,m,x,_,L,V){return e=new nx(e,t,l,u,x,_,L,V,m),t=1,r===!0&&(t|=24),r=At(3,null,null,t),e.current=r,r.stateNode=e,t=so(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:s,isDehydrated:l,cache:t},oo(r),e}function Bh(e){return e?(e=$l,e):$l}function qh(e,t,l,s,i,r){i=Bh(i),s.context===null?s.context=i:s.pendingContext=i,s=qa(t),s.payload={element:l},r=r===void 0?null:r,r!==null&&(s.callback=r),l=Ga(e,s,t),l!==null&&(kt(l,e,t),Xs(l,e,t))}function Gh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Ac(e,t){Gh(e,t),(e=e.alternate)&&Gh(e,t)}function Jh(e){if(e.tag===13||e.tag===31){var t=jl(e,67108864);t!==null&&kt(t,e,67108864),Ac(e,67108864)}}function Yh(e){if(e.tag===13||e.tag===31){var t=Ct();t=St(t);var l=jl(e,t);l!==null&&kt(l,e,t),Ac(e,t)}}var Pn=!0;function rx(e,t,l,s){var i=p.T;p.T=null;var r=C.p;try{C.p=2,zc(e,t,l,s)}finally{C.p=r,p.T=i}}function ox(e,t,l,s){var i=p.T;p.T=null;var r=C.p;try{C.p=8,zc(e,t,l,s)}finally{C.p=r,p.T=i}}function zc(e,t,l,s){if(Pn){var i=Dc(s);if(i===null)gc(e,t,s,er,l),Wh(e,s);else if(dx(i,e,t,l,s))s.stopPropagation();else if(Wh(e,s),t&4&&-1<cx.indexOf(e)){for(;i!==null;){var r=aa(i);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var u=Zt(r.pendingLanes);if(u!==0){var m=r;for(m.pendingLanes|=2,m.entangledLanes|=2;u;){var x=1<<31-ft(u);m.entanglements[1]|=x,u&=~x}na(r),(Te&6)===0&&(Un=gt()+500,di(0))}}break;case 31:case 13:m=jl(r,2),m!==null&&kt(m,r,2),Rn(),Ac(r,2)}if(r=Dc(s),r===null&&gc(e,t,s,er,l),r===i)break;i=r}i!==null&&s.stopPropagation()}else gc(e,t,s,null,l)}}function Dc(e){return e=Tr(e),Tc(e)}var er=null;function Tc(e){if(er=null,e=ta(e),e!==null){var t=f(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=D(t),e!==null)return e;e=null}else if(l===31){if(e=B(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 er=e,null}function Kh(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(Vi()){case Ri:return 2;case zs:return 8;case Bl:case Hi:return 32;case Bi:return 268435456;default:return 32}default:return 32}}var Mc=!1,Pa=null,el=null,tl=null,pi=new Map,bi=new Map,al=[],cx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Wh(e,t){switch(e){case"focusin":case"focusout":Pa=null;break;case"dragenter":case"dragleave":el=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bi.delete(t.pointerId)}}function vi(e,t,l,s,i,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:l,eventSystemFlags:s,nativeEvent:r,targetContainers:[i]},t!==null&&(t=aa(t),t!==null&&Jh(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function dx(e,t,l,s,i){switch(t){case"focusin":return Pa=vi(Pa,e,t,l,s,i),!0;case"dragenter":return el=vi(el,e,t,l,s,i),!0;case"mouseover":return tl=vi(tl,e,t,l,s,i),!0;case"pointerover":var r=i.pointerId;return pi.set(r,vi(pi.get(r)||null,e,t,l,s,i)),!0;case"gotpointercapture":return r=i.pointerId,bi.set(r,vi(bi.get(r)||null,e,t,l,s,i)),!0}return!1}function Qh(e){var t=ta(e.target);if(t!==null){var l=f(t);if(l!==null){if(t=l.tag,t===13){if(t=D(l),t!==null){e.blockedOn=t,wr(e.priority,function(){Yh(l)});return}}else if(t===31){if(t=B(l),t!==null){e.blockedOn=t,wr(e.priority,function(){Yh(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 tr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Dc(e.nativeEvent);if(l===null){l=e.nativeEvent;var s=new l.constructor(l.type,l);Dr=s,l.target.dispatchEvent(s),Dr=null}else return t=aa(l),t!==null&&Jh(t),e.blockedOn=l,!1;t.shift()}return!0}function Xh(e,t,l){tr(e)&&l.delete(t)}function ux(){Mc=!1,Pa!==null&&tr(Pa)&&(Pa=null),el!==null&&tr(el)&&(el=null),tl!==null&&tr(tl)&&(tl=null),pi.forEach(Xh),bi.forEach(Xh)}function ar(e,t){e.blockedOn===t&&(e.blockedOn=null,Mc||(Mc=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,ux)))}var lr=null;function Zh(e){lr!==e&&(lr=e,c.unstable_scheduleCallback(c.unstable_NormalPriority,function(){lr===e&&(lr=null);for(var t=0;t<e.length;t+=3){var l=e[t],s=e[t+1],i=e[t+2];if(typeof s!="function"){if(Tc(s||l)===null)continue;break}var r=aa(l);r!==null&&(e.splice(t,3),t-=3,Do(r,{pending:!0,data:i,method:l.method,action:s},s,i))}}))}function ys(e){function t(x){return ar(x,e)}Pa!==null&&ar(Pa,e),el!==null&&ar(el,e),tl!==null&&ar(tl,e),pi.forEach(t),bi.forEach(t);for(var l=0;l<al.length;l++){var s=al[l];s.blockedOn===e&&(s.blockedOn=null)}for(;0<al.length&&(l=al[0],l.blockedOn===null);)Qh(l),l.blockedOn===null&&al.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var i=l[s],r=l[s+1],u=i[mt]||null;if(typeof r=="function")u||Zh(l);else if(u){var m=null;if(r&&r.hasAttribute("formAction")){if(i=r,u=r[mt]||null)m=u.formAction;else if(Tc(i)!==null)continue}else m=u.action;typeof m=="function"?l[s+1]=m:(l.splice(s,3),s-=3),Zh(l)}}}function Fh(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(u){return i=u})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=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,i=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),i!==null&&(i(),i=null)}}}function Cc(e){this._internalRoot=e}sr.prototype.render=Cc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(d(409));var l=t.current,s=Ct();qh(l,s,e,t,null,null)},sr.prototype.unmount=Cc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qh(e.current,2,null,e,null,null),Rn(),t[La]=null}};function sr(e){this._internalRoot=e}sr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wi();e={blockedOn:null,target:e,priority:t};for(var l=0;l<al.length&&t!==0&&t<al[l].priority;l++);al.splice(l,0,e),l===0&&Qh(e)}};var $h=n.version;if($h!=="19.2.4")throw Error(d(527,$h,"19.2.4"));C.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(d(188)):(e=Object.keys(e).join(","),Error(d(268,e)));return e=k(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e};var mx={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ir=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ir.isDisabled&&ir.supportsFiber)try{Re=ir.inject(mx),lt=ir}catch{}}return yi.createRoot=function(e,t){if(!h(e))throw Error(d(299));var l=!1,s="",i=sm,r=im,u=nm;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Hh(e,1,!1,null,null,l,s,null,i,r,u,Fh),e[La]=t.current,hc(e),new Cc(t)},yi.hydrateRoot=function(e,t,l){if(!h(e))throw Error(d(299));var s=!1,i="",r=sm,u=im,m=nm,x=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(i=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=Hh(e,1,!0,t,l??null,s,i,x,r,u,m,Fh),t.context=Bh(null),l=t.current,s=Ct(),s=St(s),i=qa(s),i.callback=null,Ga(l,i,s),l=s,t.current.lanes=l,ea(t,l),na(t),e[La]=t.current,hc(e),new sr(t)},yi.version="19.2.4",yi}var r0;function kx(){if(r0)return Oc.exports;r0=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(n){console.error(n)}}return c(),Oc.exports=yx(),Oc.exports}var Nx=kx();class wx{observers=new Set;next(n){this.observers.forEach(o=>o(n))}asObservable(){return{subscribe:n=>(this.observers.add(n),{unsubscribe:()=>this.observers.delete(n)})}}}class Sx extends wx{currentValue;constructor(n){super(),this.currentValue=n}next(n){this.currentValue=n,super.next(n)}get value(){return this.currentValue}asObservable(){return{subscribe:n=>(n(this.currentValue),super.asObservable().subscribe(n))}}}class _x{authId="id";authToken="token";authEmail="email";runOutDate="runOutDate";authTokenSubject=new Sx(null);constructor(){}async loadAuthTokenFromStorage(){const n=window.localStorage.getItem(this.authToken);this.authTokenSubject.next(n)}async setAuthData(n,o){if(await this.setPreference(this.authId,n.id),await this.setPreference(this.authToken,n.token),await this.setPreference(this.authEmail,n.email),o)await this.setPreference(this.runOutDate,"forever");else{const d=new Date,h=new Date(d);h.setDate(d.getDate()+1);const f=h.toISOString();await this.setPreference(this.runOutDate,f)}}async setPreference(n,o){window.localStorage.setItem(n,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 n=await this.getCandidateId(),o=await this.getAuthToken(),d=await this.getCandidateEmail(),h=await this.getRunOutDate();return n&&o&&d&&h?{id:n,token:o,email:d,runOutDate:h}:null}getAuthTokenWithoutWindow(){const n=this.getAuthTokenNoneAsync();return n||""}getAuthWithoutWindow(){const n=this.getAuthTokenNoneAsync();return n?{id:"",token:n,email:"",runOutDate:"forever"}:null}}const Ss=new _x;const E0=(...c)=>c.filter((n,o,d)=>!!n&&n.trim()!==""&&d.indexOf(n)===o).join(" ").trim();const Ax=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const zx=c=>c.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,o,d)=>d?d.toUpperCase():o.toLowerCase());const o0=c=>{const n=zx(c);return n.charAt(0).toUpperCase()+n.slice(1)};var Dx={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 Tx=c=>{for(const n in c)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};const Mx=v.forwardRef(({color:c="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:d,className:h="",children:f,iconNode:D,...B},z)=>v.createElement("svg",{ref:z,...Dx,width:n,height:n,stroke:c,strokeWidth:d?Number(o)*24/Number(n):o,className:E0("lucide",h),...!f&&!Tx(B)&&{"aria-hidden":"true"},...B},[...D.map(([k,G])=>v.createElement(k,G)),...Array.isArray(f)?f:[f]]));const K=(c,n)=>{const o=v.forwardRef(({className:d,...h},f)=>v.createElement(Mx,{ref:f,iconNode:n,className:E0(`lucide-${Ax(o0(c))}`,`lucide-${c}`,d),...h}));return o.displayName=o0(c),o};const Cx=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ei=K("arrow-left",Cx);const Ex=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ol=K("arrow-right",Ex);const Lx=[["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"}]],Ox=K("arrow-up-down",Lx);const Ux=[["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"}]],Qc=K("badge-check",Ux);const Vx=[["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"}]],Rx=K("bolt",Vx);const Hx=[["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"}]],Bx=K("bookmark",Hx);const qx=[["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"}]],L0=K("bot",qx);const Gx=[["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"}]],Xc=K("briefcase-business",Gx);const Jx=[["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"}]],mr=K("briefcase",Jx);const Yx=[["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"}]],ur=K("calendar-days",Yx);const Kx=[["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"}]],Wx=K("calendar",Kx);const Qx=[["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"}]],Zc=K("car",Qx);const Xx=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],Zx=K("check-check",Xx);const Fx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$x=K("check",Fx);const Ix=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],wi=K("chevron-down",Ix);const Px=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ep=K("chevron-left",Px);const tp=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ap=K("chevron-right",tp);const lp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],tt=K("circle-check",lp);const sp=[["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"}]],ip=K("circle-pause",sp);const np=[["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"}]],rp=K("circle-play",np);const op=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],cp=K("circle-plus",op);const dp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],up=K("circle-stop",dp);const mp=[["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"}]],hp=K("circle-user",mp);const gp=[["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"}]],fp=K("clipboard-list",gp);const xp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],Fc=K("clock-3",xp);const pp=[["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"}]],$c=K("code-xml",pp);const bp=[["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"}]],Ic=K("crown",bp);const vp=[["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"}]],jp=K("ellipsis",vp);const yp=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],kp=K("facebook",yp);const Np=[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35",key:"17jvcc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 19h6",key:"bvotb8"}],["path",{d:"M17 16v6",key:"18yu1i"}]],wp=K("file-plus-corner",Np);const Sp=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Pc=K("file-text",Sp);const _p=[["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"}]],O0=K("funnel",_p);const Ap=[["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"}]],zp=K("gamepad-2",Ap);const Dp=[["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"}]],Tp=K("gift",Dp);const Mp=[["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"}]],zi=K("globe",Mp);const Cp=[["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"}]],ed=K("graduation-cap",Cp);const Ep=[["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"}]],U0=K("grid-3x3",Ep);const Lp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Op=K("info",Lp);const Up=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],Vp=K("instagram",Up);const Rp=[["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"}]],td=K("laptop",Rp);const Hp=[["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"}]],Bp=K("layout-grid",Hp);const qp=[["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"}]],V0=K("layout-panel-top",qp);const Gp=[["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"}]],Jp=K("lightbulb",Gp);const Yp=[["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"}]],Kp=K("link-2",Yp);const Wp=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],Qp=K("linkedin",Wp);const Xp=[["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"}]],R0=K("lock-keyhole",Xp);const Zp=[["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"}]],Fp=K("log-out",Zp);const $p=[["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"}]],pr=K("mail",$p);const Ip=[["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"}]],Di=K("map-pin",Ip);const Pp=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],eb=K("menu",Pp);const tb=[["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"}]],H0=K("message-circle",tb);const ab=[["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"}]],lb=K("mic",ab);const sb=[["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"}]],ib=K("monitor",sb);const nb=[["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"}]],rb=K("moon",nb);const ob=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],cb=K("move-right",ob);const db=[["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"}]],ub=K("paperclip",db);const mb=[["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"}]],hb=K("pen-line",mb);const gb=[["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"}]],fb=K("phone",gb);const xb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pb=K("plus",xb);const bb=[["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"}]],vb=K("presentation",bb);const jb=[["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"}]],yb=K("radar",jb);const kb=[["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",kb);const wb=[["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"}]],Sb=K("rocket",wb);const _b=[["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"}]],ad=K("route",_b);const Ab=[["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"}]],zb=K("save",Ab);const Db=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],hr=K("search",Db);const Tb=[["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"}]],Mb=K("send",Tb);const Cb=[["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"}]],B0=K("settings",Cb);const Eb=[["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"}]],Lb=K("shield",Eb);const Ob=[["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"}]],Ub=K("smile",Ob);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"}]],Li=K("sparkles",Vb);const Rb=[["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"}]],q0=K("square-pen",Rb);const Hb=[["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"}]],gr=K("star",Hb);const Bb=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],qb=K("sun",Bb);const Gb=[["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"}]],Oi=K("target",Gb);const Jb=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],c0=K("trending-up",Jb);const Yb=[["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"}]],G0=K("trophy",Yb);const Kb=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],sl=K("user-round",Kb);const Wb=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],d0=K("user",Wb);const Qb=[["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"}]],Xb=K("users",Qb);const Zb=[["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"}]],Fb=K("wand-sparkles",Zb);const $b=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ti=K("x",$b);function Ns({icon:c,label:n,...o}){return a.jsxs("label",{className:"auth-field",children:[a.jsx("span",{children:n}),a.jsxs("div",{className:"auth-input-wrap",children:[a.jsx("span",{className:"auth-input-icon","aria-hidden":!0,children:c}),a.jsx("input",{...o})]})]})}function Ib({email:c,loading:n,onBackToLogin:o,onChangeEmail:d,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(Ns,{icon:a.jsx(pr,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:c,onChange:f=>d(f.target.value),required:!0}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:n,children:n?"Sender...":"Send nulstillingslink"})]})]})}function Pb({email:c,loading:n,onChangeEmail:o,onChangePassword:d,onChangeRememberMe:h,onForgotPassword:f,onRegister:D,onSubmit:B,password:z,rememberMe:k}){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:B,children:[a.jsx(Ns,{icon:a.jsx(pr,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:c,onChange:G=>o(G.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:f,children:"Glemt adgangskode?"})]}),a.jsxs("div",{className:"auth-input-wrap",children:[a.jsx("span",{className:"auth-input-icon","aria-hidden":!0,children:a.jsx(R0,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"password",placeholder:"••••••••",value:z,onChange:G=>d(G.target.value),required:!0})]})]}),a.jsxs("label",{className:"check-row",children:[a.jsx("input",{type:"checkbox",checked:k,onChange:G=>h(G.target.checked)}),a.jsx("span",{children:"Husk mig i 30 dage"})]}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:n,children:n?"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:D,children:"Opret bruger"})]})]})}function ev({email:c,firstName:n,lastName:o,loading:d,locationQuery:h,locationSuggestions:f,onBackToLogin:D,onChangeEmail:B,onChangeFirstName:z,onChangeLastName:k,onChangeLocationQuery:G,onChangePassword:E,onSelectLocation:H,onSubmit:R,password:te}){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:R,children:[a.jsx(Ns,{icon:a.jsx(d0,{size:16,strokeWidth:1.8}),label:"Fornavn",type:"text",placeholder:"Lasse",value:n,onChange:Y=>z(Y.target.value),required:!0}),a.jsx(Ns,{icon:a.jsx(d0,{size:16,strokeWidth:1.8}),label:"Efternavn",type:"text",placeholder:"Hansen",value:o,onChange:Y=>k(Y.target.value),required:!0}),a.jsx(Ns,{icon:a.jsx(pr,{size:16,strokeWidth:1.8}),label:"E-mail",type:"email",placeholder:"navn@eksempel.dk",value:c,onChange:Y=>B(Y.target.value),required:!0}),a.jsx(Ns,{icon:a.jsx(R0,{size:16,strokeWidth:1.8}),label:"Adgangskode",type:"password",placeholder:"Skab en staerk kode",value:te,onChange:Y=>E(Y.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(Di,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"text",placeholder:"Soeg by eller adresse",value:h,onChange:Y=>G(Y.target.value),autoComplete:"off",required:!0})]}),f.length>0?a.jsx("div",{className:"location-suggestions",children:f.map(Y=>a.jsx("button",{type:"button",className:"location-suggestion-item",onClick:()=>{H(Y.placeId,Y.description)},children:Y.description},Y.placeId))}):null]}),a.jsx("button",{className:"submit-btn",type:"submit",disabled:d,children:d?"Opretter...":"Opret bruger"})]}),a.jsxs("p",{className:"auth-foot",children:["Har du allerede en konto?",a.jsx("button",{className:"link-btn",type:"button",onClick:D,children:"Log ind"})]})]})}class Ul{searchParams;constructor(n){this.searchParams=n?new URLSearchParams(n):new URLSearchParams}append(n,o){const d=new URLSearchParams(this.searchParams);return d.append(n,String(o)),new Ul(d)}set(n,o){const d=new URLSearchParams(this.searchParams);return d.set(n,String(o)),new Ul(d)}toString(){return this.searchParams.toString()}}function nr(c,n){if(!n)return c;const o=new URL(c);if(n instanceof Ul){const d=n.toString();return d&&new URLSearchParams(d).forEach((f,D)=>o.searchParams.append(D,f)),o.toString()}return Object.entries(n).forEach(([d,h])=>{if(Array.isArray(h)){h.forEach(f=>o.searchParams.append(d,String(f)));return}o.searchParams.set(d,String(h))}),o.toString()}async function rr(c,n="json"){if(!c.ok){const o=await c.text();throw new Error(o||`HTTP ${c.status}`)}if(c.status!==204)return n==="blob"?await c.blob():await c.json()}function or(c){const n=typeof window>"u"?null:window.localStorage.getItem("token");return{...n?{Authorization:`Bearer ${n}`}:{},...c??{}}}class tv{async get(n,o){const d=await fetch(nr(n,o?.params),{method:"GET",headers:or(o?.headers)});return rr(d,o?.responseType)}async post(n,o,d){const h=await fetch(nr(n,d?.params),{method:"POST",headers:{"Content-Type":"application/json",...or(d?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return rr(h)}async put(n,o,d){const h=await fetch(nr(n,d?.params),{method:"PUT",headers:{"Content-Type":"application/json",...or(d?.headers)},body:o===void 0?void 0:JSON.stringify(o)});return rr(h)}async delete(n,o){const d=await fetch(nr(n,o?.params),{method:"DELETE",headers:or(o?.headers)});return rr(d)}}const Ke=new tv,M={backendApi:"https://api.arbejd.com/",backendApiV2:"https://api2.arbejd.com/api/"};class av{http;constructor(n=Ke){this.http=n}login(n,o){let d=M.backendApi+"api/1.1.0/candidate/login",h={email:n,password:o};return this.http.post(d,h)}forgotPassword(n){let o=M.backendApi+"api/1.1.0/candidate/resetPassword/"+n.toLowerCase();return this.http.get(o)}}class Vl{constructor(n=Ke,o=Ss){this.http=n,this.localStorageService=o}closeAccount(n){let o=M.backendApi+"api/1.1.0/candidate/"+n.toLowerCase();return this.http.delete(o)}accountRetention(n){let o=M.backendApi+"api/1.1.0/candidate/"+n+"/account-retention/";return this.http.get(o)}getCandidatesQualifications(){let n=M.backendApi+"api/1.1.0/candidate/skill/";return this.http.get(n)}getCandidatesCertifications(){let n=M.backendApi+"api/1.1.0/candidate/certificate/";return this.http.get(n)}getCandidatesLanguages(){let n=M.backendApi+"api/1.1.0/candidate/language/";return this.http.get(n)}getCandidatesDriverLicenses(){let n=M.backendApi+"api/1.1.0/candidate/driversLicense/";return this.http.get(n)}changePassword(n,o){let d=M.backendApi+"api/1.1.0/candidate/resetPassword",h={key:n,password:o};return this.http.post(d,h)}getCandidatesEducations(){let n=M.backendApiV2+"1.0.0/client/candidate_education";return this.http.get(n)}updateExperience(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_experience/"+n.id,h={comments:n.comments,company_name:n.companyName,is_current:n.isCurrent,from_date:n.fromDate,to_date:n.toDate,language:o};return this.http.put(d,h)}createAccountV2(n){let o=M.backendApiV2+"1.0.0/client/candidate";return this.http.post(o,n)}updateCandidate(n,o){let d=M.backendApiV2+"1.0.0/client/candidate/v2/"+n.id,h={...n};n.birthday&&(n.birthday=new Date(n.birthday)),n.birthday instanceof Date&&(h.birthday=n.birthday.toISOString());let f={language:o,candidate:h};return this.http.put(d,f)}getCandidate(){let n=M.backendApiV2+"1.0.0/client/candidate";return this.http.get(n)}getCvSuggestion(){let n=M.backendApiV2+"1.0.0/client/suggestion";return this.http.get(n)}saveExperience(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_experience",h={comments:n.comments,company_name:n.companyName,is_current:n.isCurrent,esco_id:n.occupation.id,from_date:n.fromDate,to_date:n.toDate,language:o};return this.http.post(d,h)}removeExperience(n){let o=M.backendApiV2+"1.0.0/client/candidate_experience/"+n;return this.http.delete(o)}getCandidatesExperiences(){let n=M.backendApiV2+"1.0.0/client/candidate_experience";return this.http.get(n)}getJobAgentFilters(){let n=M.backendApiV2+"1.0.0/client/job_agent_filter";return this.http.get(n)}updateJobAgentFilter(n){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+n.id,d=n;return this.http.put(o,d)}removeJobAgentFilter(n){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+n;return this.http.delete(o)}updateCandidateJobSeeker(n){let o=M.backendApiV2+"1.0.0/client/candidate/update_job_seeker/"+n.id;return this.http.put(o,n)}updateCvUploadProfileText(n,o,d){let h=M.backendApiV2+"1.0.0/client/candidate/update_cv_upload_profile/"+n,f={description:o,language:d};return this.http.put(h,f)}saveExperienceV2(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_experience",h={comments:n.comments,company_name:n.companyName,is_current:n.isCurrent,esco_id:n.escoId,from_date:n.fromDate,to_date:n.toDate,language:o};return this.http.post(d,h)}updateProfileText(n){let o=M.backendApiV2+"1.0.0/client/candidate/update_profile_text";return this.http.put(o,n)}}function Hc(c,n){const o=c[n];return typeof o=="string"?o:null}class lv{authService;candidateService;constructor(n=new av,o=new Vl){this.authService=n,this.candidateService=o}async login(n,o,d){const f=await this.authService.login(n,o)??{},D=Hc(f,"token");if(!D)return{ok:!1,message:"Login fejlede: token mangler i svaret fra serveren."};const B={id:Hc(f,"id")??"",token:D,email:Hc(f,"email")??n,runOutDate:"forever"};return await Ss.setAuthData(B,d),{ok:!0,message:"Du er nu logget ind."}}async forgotPassword(n){return await this.authService.forgotPassword(n),{ok:!0,message:"Anmodning om nulstilling af kodeord er sendt."}}async register(n){const o=Number.parseInt(n.zip,10);if(Number.isNaN(o))return{ok:!1,message:"Postnummer skal være et tal."};const d={email:n.email,password:n.password,zip:o,zipName:n.zipName,awsUrl:"",latitude:0,longitude:0,firstName:n.firstName,lastName:n.lastName,subscribe:n.subscribe};return await this.candidateService.createAccountV2(d),{ok:!0,message:"Kontoen er oprettet."}}}class J0{constructor(n=Ke){this.http=n}searchPlaces(n){const o=M.backendApiV2+"client/google_maps/1.0.0/get_places?query="+encodeURIComponent(n);return this.http.get(o)}getPlaceDetails(n){const o=M.backendApiV2+"client/google_maps/1.0.0/get_place_details?place_id="+encodeURIComponent(n);return this.http.get(o)}}function sv(c){const n=v.useMemo(()=>new lv,[]),o=v.useMemo(()=>new J0,[]),[d,h]=v.useState(""),[f,D]=v.useState(!1),[B,z]=v.useState(""),[k,G]=v.useState(""),[E,H]=v.useState(""),[R,te]=v.useState(""),[Y,me]=v.useState(""),[oe,ge]=v.useState(""),[W,ne]=v.useState([]),[P,Q]=v.useState(null),[X,ae]=v.useState(""),[he,F]=v.useState(!1),[le,I]=v.useState(null),[Se,Ne]=v.useState("login");function se(N){I(null),Ne(N)}async function p(N){const O=N.trim();if(O.length<3){ne([]);return}try{const de=((await o.searchPlaces(O)).predictions??[]).filter(ce=>typeof ce.place_id=="string"&&typeof ce.description=="string").map(ce=>({description:ce.description,placeId:ce.place_id}));ne(de)}catch{ne([])}}function C(N){const O=N.match(/\b(\d{4})\b/);if(!O)return null;const J=O[1],ce=N.slice(N.indexOf(J)+J.length).trim().split(",")[0]?.trim()||"";return ce?{cityName:ce,zip:J}:null}async function j(N,O){let J=O;try{const ce=await o.getPlaceDetails(N);typeof ce.result?.formatted_address=="string"&&ce.result.formatted_address.trim()&&(J=ce.result.formatted_address.trim())}catch{}const de=C(J)??C(O);if(ge(J),ne([]),!de){Q(null);return}Q({cityName:de.cityName,description:J,zip:de.zip})}async function q(N){N.preventDefault(),D(!0),I(null);try{const O=await n.login(B.trim(),k,he);I(O),O.ok&&c?.()}catch(O){const J=O instanceof Error?O.message:"Login mislykkedes.";I({ok:!1,message:J})}finally{D(!1)}}async function Z(N){N.preventDefault(),D(!0),I(null);try{if(!P){I({ok:!1,message:"Vaelg en lokation fra listen (med postnummer)."});return}const O=await n.register({email:R.trim(),firstName:E.trim(),lastName:Y.trim(),password:X,subscribe:!0,zip:P.zip,zipName:P.cityName});I(O),O.ok&&Ne("login")}catch(O){const J=O instanceof Error?O.message:"Oprettelse mislykkedes.";I({ok:!1,message:J})}finally{D(!1)}}async function g(N){N.preventDefault(),D(!0),I(null);try{const O=await n.forgotPassword(d.trim());I(O)}catch(O){const J=O instanceof Error?O.message:"Kunne ikke sende nulstillingslink.";I({ok:!1,message:J})}finally{D(!1)}}return{forgotEmail:d,handleForgotSubmit:g,handleLoginSubmit:q,handleRegisterSubmit:Z,loading:f,loginEmail:B,loginPassword:k,registerFirstName:E,registerEmail:R,registerLastName:Y,registerLocationQuery:oe,registerLocationSuggestions:W,registerPassword:X,rememberMe:he,result:le,setForgotEmail:h,setLoginEmail:z,setLoginPassword:G,setRegisterEmail:te,setRegisterFirstName:H,setRegisterLastName:me,setRegisterLocationQuery:N=>{ge(N),Q(null),p(N)},setRegisterPassword:ae,setRememberMe:F,selectRegisterLocation:j,switchView:se,view:Se}}function iv({onAuthenticated:c}){const{forgotEmail:n,handleForgotSubmit:o,handleLoginSubmit:d,handleRegisterSubmit:h,loading:f,loginEmail:D,loginPassword:B,registerFirstName:z,registerEmail:k,registerLastName:G,registerLocationQuery:E,registerLocationSuggestions:H,registerPassword:R,rememberMe:te,result:Y,setForgotEmail:me,setLoginEmail:oe,setLoginPassword:ge,setRegisterEmail:W,setRegisterFirstName:ne,setRegisterLastName:P,setRegisterLocationQuery:Q,setRegisterPassword:X,setRememberMe:ae,selectRegisterLocation:he,switchView:F,view:le}=sv(c);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:[le==="login"?a.jsx(Pb,{email:D,loading:f,onChangeEmail:oe,onChangePassword:ge,onChangeRememberMe:ae,onForgotPassword:()=>F("forgot"),onRegister:()=>F("register"),onSubmit:d,password:B,rememberMe:te}):null,le==="register"?a.jsx(ev,{email:k,firstName:z,lastName:G,loading:f,locationQuery:E,locationSuggestions:H,onBackToLogin:()=>F("login"),onChangeEmail:W,onChangeFirstName:ne,onChangeLastName:P,onChangeLocationQuery:Q,onChangePassword:X,onSelectLocation:he,onSubmit:h,password:R}):null,le==="forgot"?a.jsx(Ib,{email:n,loading:f,onBackToLogin:()=>F("login"),onChangeEmail:me,onSubmit:o}):null,Y?a.jsx("p",{className:Y.ok?"status success":"status error",children:Y.message}):null]},le)]})}class Y0{constructor(n=Ke){this.http=n}listEscoByParent(n){let o=M.backendApiV2+"1.0.0/client/esco";return n&&(o+="/"+n),this.http.get(o)}listAllEscos(){let n=M.backendApiV2+"1.0.0/client/esco";return this.http.get(n)}}class nv{constructor(n=Ke){this.http=n}addEscoToJobAgent(n){let o=M.backendApiV2+"1.0.0/client/job_agent_filter",d={esco_id:n};return this.http.post(o,d)}removeJobAgentFilter(n){let o=M.backendApiV2+"1.0.0/client/job_agent_filter/"+n;return this.http.delete(o)}}class br{constructor(n=Ke){this.http=n}getPaymentOverview(){let n=M.backendApiV2+"client/end_user_subscription/1.0.0/payment_overview";return this.http.get(n)}getSubscriptionProducts(){let n=M.backendApiV2+"client/end_user_subscription/1.0.0/get_products";return this.http.get(n)}deactivateAutoRenew(){let n=M.backendApiV2+"client/end_user_subscription/1.0.0/deactivate_auto_renew";return this.http.put(n,{})}activateAutoRenew(){let n=M.backendApiV2+"client/end_user_subscription/1.0.0/activate_auto_renew";return this.http.put(n,{})}redeemCode(n){let o=M.backendApiV2+"client/candidate_redeem_code/v1";return this.http.post(o,{code:n})}}class K0{constructor(n=new Vl,o=new br,d=new nv,h=new Y0){this.candidateService=n,this.subscriptionService=o,this.jobAgentService=d,this.escoService=h}async loadInitialData(){const[n,o,d,h]=await Promise.allSettled([this.subscriptionService.getPaymentOverview(),this.candidateService.getJobAgentFilters(),this.candidateService.getCvSuggestion(),this.escoService.listAllEscos()]);return{paymentOverview:n.status==="fulfilled"?n.value:null,jobAgentFilters:o.status==="fulfilled"?o.value:[],cvSuggestions:d.status==="fulfilled"?this.withImprovements(d.value):[],escos:h.status==="fulfilled"?h.value:[]}}async getCandidateProfile(){try{const n=await this.candidateService.getCandidate(),o=n.firstName?.trim()||n.name?.trim()||"Lasse",d=n.imageUrl||n.image||void 0;return{name:o,imageUrl:d}}catch{return{name:"Lasse"}}}async addEscoToFilter(n){await this.jobAgentService.addEscoToJobAgent(n)}async removeFilter(n){await this.jobAgentService.removeJobAgentFilter(n)}async setFilterVisibility(n,o){await this.candidateService.updateJobAgentFilter({...n,visible:o})}getEscoSuggestions(n,o,d){const h=n.trim().toLowerCase();if(!h)return[];const f=new Set(d.map(D=>D.escoId));return o.filter(D=>!f.has(D.id)).filter(D=>D.preferedLabelDa.toLowerCase().includes(h)).slice(0,10)}getSuggestionText(n){return n>=0&&n<50?"Et godt første skridt mod flere relevante job.":n>=50&&n<100?"Kan styrke dine chancer i ansøgningsbunken.":n>=100&&n<150?"Ofte efterspurgt og forbedrer dine jobmuligheder markant.":n>=150&&n<200?"Et klart plus som gør dig mere attraktiv for arbejdsgivere.":n>=200?"En afgørende faktor der åbner langt flere jobmuligheder.":"Forbedrer din profil til kommende jobmatch."}withImprovements(n){return n.map(o=>{const d=[],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 f of h)for(const D of f.items)d.push({...D,improvementType:f.type});return d.sort((f,D)=>D.jobChanceIncrease-f.jobChanceIncrease),{...o,improvements:d}})}}class rv{constructor(n=Ke){this.http=n}saveJobFilter(n){let o=M.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.post(o,n)}getJobFilter(){let n=M.backendApiV2+"1.0.0/client/candidate_search_filter";return this.http.get(n)}resetJobFilter(){let n=M.backendApiV2+"1.0.0/client/candidate_search_filter/reset_job_filter";return this.http.put(n,{})}}class nd{http;constructor(n=Ke){this.http=n}getSearchWords(){let n=M.backendApiV2+"1.0.0/client/candidate_search/list_search_words";return this.http.get(n)}getJobs(n,o,d){let h=M.backendApi+"api/1.1.0/jobs/all/"+o+"/"+d;return this.http.post(h,n)}getJobsV2(n,o,d,h){let f=M.backendApiV2+"1.0.0/client/candidate_search/v2/"+n+"/"+o+"/"+d,D=new Ul;return h.length>0&&h.forEach(B=>{D=D.append("terms",B)}),this.http.get(f,{params:D})}getSavedJobs(n,o){let d=M.backendApi+"api/1.1.0/candidate/jobs/saved";return this.http.get(d)}getSavedJobsV2(n,o){let d=M.backendApiV2+"1.0.0/client/job/bookmarked_jobs/"+n+"/"+o;return this.http.get(d)}getAppliedJobs(n,o){let d=M.backendApi+"api/1.1.0/applications/candidate/";return this.http.get(d)}getAppliedJobsV2(n,o){let d=M.backendApiV2+"1.0.0/client/job/applied_jobs/"+n+"/"+o;return this.http.get(d)}payWithStripe(n,o){const d=M.backendApiV2+"1.0.0/client/payment/create-payment-intent",h={paymentMethodId:n,amount:o};return this.http.post(d,h)}bookmarkJob(n){let o=M.backendApi+"api/1.1.0/candidate/jobs/"+n+"/jobnet/updateSavedStatus",d={saved:!0};return this.http.post(o,d)}unbookmarkJob(n){let o=M.backendApi+"api/1.1.0/candidate/jobs/"+n+"/jobnet/updateSavedStatus",d={saved:!1};return this.http.post(o,d)}bookmarkJobV2(n,o,d){let h=M.backendApiV2+"1.0.0/client/job/bookmark/"+n,f={job_type:d,save:o};return this.http.post(h,f)}getJobNetJobDetail(n){let o=M.backendApiV2+"1.0.0/client/job/detail/star/"+n;return this.http.get(o)}getJobDetail(n){let o=M.backendApi+"api/1.1.0/jobs/"+n;return this.http.get(o)}getOccupationCategorizations(){let n=M.backendApiV2+"1.0.0/client/ds_tree";return this.http.get(n)}getJobSummary(n){let o=M.backendApi+"api/1.1.0/jobs/"+n+"/summary";return this.http.get(o)}applyJob(n){let o=M.backendApi+"api/1.1.0/applications/job/"+n,d={jobPostingId:n};return this.http.post(o,d)}undoApplyJob(n){let o=M.backendApi+"api/1.1.0/applications/"+n;return this.http.delete(o)}toggleApplyJobnetjob(n,o){let d=M.backendApiV2+"1.0.0/client/job/detail/star/apply/"+n,h={apply:o};return this.http.put(d,h)}}const Bc={escoIds:[],workTypePermanent:!1,workTypePartTime:!1,workDistance:50,partTimeHours:null,distanceCenterName:"",latitude:null,longitude:null};function Ie(c){return typeof c=="string"?c:""}function _i(c){return typeof c=="object"&&c!==null?c:null}function qc(c,n){if(!c)return[];const o=c[n];return Array.isArray(o)?o:[]}function Gc(c){if(Array.isArray(c))return c;const n=_i(c);if(!n)return[];const o=qc(n,"searchList");if(o.length>0)return o;const d=_i(n.data),h=qc(d,"searchList");if(h.length>0)return h;const f=qc(n,"items");return f.length>0?f:[]}function u0(c,n){if(!c)return null;const o=c[n];return typeof o=="number"?o:null}function ov(c){return c.trim()}function cv(c){if(!c)return[];const n=new Set,o=c.searchText?.trim();o&&o.length>0&&n.add(o);for(const d of c.desiredTitles??[]){const h=ov(d);h.length>0&&n.add(h)}return Array.from(n)}function dv(c,n){return{id:Ie(c.id),title:Ie(c.title),companyName:Ie(c.companyName),occupationName:Ie(c.occupationName),descriptionIntro:Ie(c.descriptionIntro),address:Ie(c.address),time:Ie(c.time),applicationDeadline:c.applicationDeadline instanceof Date?c.applicationDeadline.toISOString():Ie(String(c.applicationDeadline??"")),candidateDistance:typeof c.candidateDistance=="number"?c.candidateDistance:null,logoUrl:Ie(c.logoUrl),companyLogoImage:Ie(c.companyLogoImage),fromJobnet:!!c.fromJobnet,isSaved:!!c.saved,matchPercent:n}}function m0(c){return{id:Ie(c.id),title:Ie(c.title),companyName:Ie(c.companyName),occupationName:Ie(c.occupationName),descriptionIntro:Ie(c.descriptionIntro),address:Ie(c.address),time:Ie(c.time),applicationDeadline:c.applicationDeadline instanceof Date?c.applicationDeadline.toISOString():Ie(String(c.applicationDeadline??"")),candidateDistance:typeof c.candidateDistance=="number"?c.candidateDistance:null,logoUrl:Ie(c.logoUrl),companyLogoImage:Ie(c.companyLogoImage),isActive:typeof c.isActive=="boolean"?c.isActive:void 0,fromJobnet:!!c.fromJobnet,isSaved:!0}}class vr{constructor(n=new nd,o=new rv,d=new J0,h=new Vl){this.jobService=n,this.filterService=o,this.placesService=d,this.candidateService=h}async getCandidateProfile(){try{const n=await this.candidateService.getCandidate(),o=n.firstName?.trim()||n.name?.trim()||"Lasse",d=n.imageUrl||n.image||void 0;return{name:o,imageUrl:d}}catch{return{name:"Lasse"}}}async getOccupationOptions(){const n=await this.jobService.getOccupationCategorizations(),o=[];for(const d of n)for(const h of d.subAreas)for(const f of h.occupations)typeof f.id=="number"&&typeof f.name=="string"&&f.name.trim().length>0&&o.push({id:f.id,name:f.name});return o.sort((d,h)=>d.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 n=await this.filterService.getJobFilter(),o=n?.candidateSearchFilter;return o?{escoIds:n.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}:{...Bc}}catch{return{...Bc}}}async saveFilter(n){const o=n.workTypePartTime&&n.partTimeHours&&n.partTimeHours>0&&n.partTimeHours<=37?n.partTimeHours:null,d={escoIds:n.escoIds,candidateSearchFilter:{workTimeDay:!1,workTimeEvening:!1,workTimeNight:!1,workTimeWeekend:!1,workTypePermanent:n.workTypePermanent,workTypeFreelance:!1,workTypePartTime:n.workTypePartTime,workTypeSubstitute:!1,workTypeTemporary:!1,workDistance:n.workDistance,partTimeHours:o,distanceCenterName:n.distanceCenterName,latitude:n.latitude,longitude:n.longitude}};await this.filterService.saveJobFilter(d)}async resetFilter(){return await this.filterService.resetJobFilter(),{...Bc}}async searchPlaceSuggestions(n){const o=n.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(n){const d=(await this.placesService.getPlaceDetails(n)).result;return!d||typeof d.formatted_address!="string"?null:{description:d.formatted_address,latitude:typeof d.geometry?.location?.lat=="number"?d.geometry.location.lat:null,longitude:typeof d.geometry?.location?.lng=="number"?d.geometry.location.lng:null}}async getTabItems(n,o){if(n==="gemte"){const d=await this.jobService.getSavedJobsV2(0,100);return Gc(d).map(f=>m0(f))}if(n==="sogte"){const d=await this.jobService.getAppliedJobsV2(0,100);return Gc(d).map(f=>m0(f))}return this.getJobsFeedItems(o?[o]:void 0)}async applyFiltersAndGetJobs(n,o){await this.saveFilter(n);const d=cv(o);return this.getJobsFeedItems(d)}async toggleBookmark(n,o){const d=n.fromJobnet?"star":"arbejd.com";await this.jobService.bookmarkJobV2(n.id,o,d)}async getJobsFeedItems(n){let d=10,h=0;const f=12,D=120,B=new Set,z=[];let k=[];const G=(n??[]).map(E=>E.trim()).filter(E=>E.length>0);if(G.length>0)k=G;else try{k=(await this.jobService.getSearchWords()).filter(H=>typeof H=="string"&&H.trim().length>0)}catch{k=[]}for(let E=0;E<f&&z.length<D;E+=1){const H=await this.jobService.getJobsV2(d,h,20,k),R=_i(H),te=Gc(H);for(const ge of te){const W=_i(ge);if(!W)continue;const ne=_i(W.jobPosting);if(!ne)continue;const P=ne;if(!P.id||B.has(P.id))continue;B.add(P.id);const Q=typeof W.total=="number"?W.total:0;z.push(dv(P,Math.round(Q*100)))}const Y=u0(R,"nextLevel"),me=u0(R,"nextOffset");if(te.length===0)break;Y===null||me===null?h+=20:(d=Y,h=me)}return z}}const W0="/assets/appicon-8UAfw_Cw.png",uv=[{key:"dashboard",label:"Dashboard",icon:Bp},{key:"jobs",label:"Jobs",icon:mr},{key:"cv",label:"CV",icon:Pc},{key:"messages",label:"Beskeder",icon:H0,badge:"3"}],mv=[{key:"agents",label:"Jobagenter",icon:yb,dot:!0},{key:"ai-agent",label:"AI-agent",icon:L0,accent:!0},{key:"simulator",label:"Simulator",icon:zp},{key:"subscription",label:"Abonnement",icon:Ic}];function ra({active:c="dashboard",onNavigate:n}){const[o,d]=v.useState(!1);v.useEffect(()=>{d(!1)},[c]),v.useEffect(()=>{if(!o)return;function f(B){B.key==="Escape"&&d(!1)}const D=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",f),()=>{document.body.style.overflow=D,window.removeEventListener("keydown",f)}},[o]);function h(f){n?.(f),d(!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:()=>d(f=>!f),children:o?a.jsx(Ti,{size:18,strokeWidth:1.9}):a.jsx(eb,{size:18,strokeWidth:1.9})}),a.jsx("button",{type:"button",className:`dash-mobile-overlay ${o?"open":""}`,"aria-label":"Luk menu",onClick:()=>d(!1)}),a.jsxs("aside",{className:`dash-sidebar ${o?"open":""}`,children:[a.jsxs("div",{className:"dash-logo-row",children:[a.jsx("img",{src:W0,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:[uv.map(f=>{const D=f.icon,B=f.key===c;return a.jsxs("button",{type:"button",className:B?"dash-nav-item active":"dash-nav-item",onClick:()=>h(f.key),children:[a.jsx("span",{className:f.accent?"dash-nav-icon accent":"dash-nav-icon",children:a.jsx(D,{size:19,strokeWidth:1.7})}),a.jsx("span",{className:"dash-nav-label",children:f.label}),f.badge?a.jsx("span",{className:"dash-nav-badge",children:f.badge}):null]},f.key)}),a.jsx("div",{className:"dash-nav-divider"}),mv.map(f=>{const D=f.icon,B=f.key===c;return a.jsxs("button",{type:"button",className:B?"dash-nav-item active":"dash-nav-item",onClick:()=>h(f.key),children:[a.jsx("span",{className:f.accent?"dash-nav-icon accent":"dash-nav-icon",children:a.jsx(D,{size:19,strokeWidth:1.7})}),a.jsx("span",{className:"dash-nav-label",children:f.label}),f.dot?a.jsx("span",{className:"dash-nav-dot"}):null]},f.key)})]}),a.jsxs("div",{className:"dash-sidebar-pro",children:[a.jsx("div",{className:"dash-sidebar-pro-glow"}),a.jsx(Li,{size:19,strokeWidth:1.8}),a.jsx("h4",{children:"Pro-medlemskab"}),a.jsx("p",{children:"Faa ubegrænsede simuleringer"})]})]})]})}function oa({actions:c,imageUrl:n,name:o,onLogout:d,onToggleTheme:h,theme:f="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:[f==="dark"?a.jsx(qb,{size:15,strokeWidth:1.8}):a.jsx(rb,{size:15,strokeWidth:1.8}),a.jsx("span",{children:f==="dark"?"Light":"Dark"})]}):null,c?a.jsx("div",{className:"dash-topbar-actions",children:c}):null,a.jsxs("div",{className:"dash-profile-wrap",children:[a.jsxs("button",{className:"dash-profile-btn",type:"button",children:[n?a.jsx("img",{src:n,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(wi,{size:15,strokeWidth:1.8})]}),a.jsxs("div",{className:"dash-profile-menu",children:[a.jsxs("button",{type:"button",children:[a.jsx(hp,{size:16,strokeWidth:1.8})," Profil"]}),a.jsxs("button",{type:"button",children:[a.jsx(B0,{size:16,strokeWidth:1.8})," Indstillinger"]}),a.jsx("div",{className:"dash-profile-divider"}),a.jsxs("button",{type:"button",className:"danger",onClick:d,children:[a.jsx(Fp,{size:16,strokeWidth:1.8})," Log ud"]})]})]})]})}const hv={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function gv(c){return c.trim().slice(0,1).toUpperCase()||"A"}function fv(c){return Math.max(68,98-c*4)}function xv(c,n){const o=n.trim().toLowerCase();return o?c.filter(d=>d.preferedLabelDa.toLowerCase().includes(o)).slice(0,8):[]}function pv({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new K0,[]),D=v.useMemo(()=>new vr,[]),[B,z]=v.useState("Lasse"),[k,G]=v.useState(void 0),[E,H]=v.useState(hv),[R,te]=v.useState([]),[Y,me]=v.useState(!0),[oe,ge]=v.useState(""),[W,ne]=v.useState(""),[P,Q]=v.useState(""),[X,ae]=v.useState(""),[he,F]=v.useState(""),[le,I]=v.useState(25);v.useEffect(()=>{let j=!0;async function q(){me(!0);const[Z,g,N]=await Promise.all([f.getCandidateProfile(),f.loadInitialData(),D.getTabItems("jobs")]);j&&(z(Z.name),G(Z.imageUrl),H(g),te(N),me(!1))}return q(),()=>{j=!1}},[f,D]);async function Se(){const j=await f.loadInitialData();H(j)}async function Ne(){const j=W.trim()||oe.trim()||P.trim(),q=f.getEscoSuggestions(j,E.escos,E.jobAgentFilters)[0]||xv(E.escos,j)[0];q&&(await f.addEscoToFilter(q.id),await Se(),ge(""),ne(""),Q(""),ae(""),F(""),I(25))}async function se(j){await f.setFilterVisibility(j,!j.visible),await Se()}const p=E.jobAgentFilters,C=(R.length>0?R:[]).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(ra,{active:"agents",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar ai-agent-main",children:[a.jsx(oa,{name:B,imageUrl:k,onLogout:c,theme:h,onToggleTheme:d}),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(L0,{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:oe,onChange:j=>ge(j.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:W,onChange:j=>ne(j.target.value),placeholder:"F.eks. React, TypeScript, Tailwind"})]}),a.jsxs("div",{className:"ai-field",children:[a.jsx("label",{children:"Arbejdsomrade"}),a.jsxs("select",{value:P,onChange:j=>Q(j.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:X,onChange:j=>ae(j.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(Di,{size:16,strokeWidth:1.8}),a.jsx("input",{value:he,onChange:j=>F(j.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:[le," km"]})]}),a.jsx("input",{type:"range",min:0,max:100,value:le,onChange:j=>I(Number(j.target.value))})]})]}),a.jsx("div",{className:"ai-create-actions",children:a.jsxs("button",{type:"button",onClick:()=>{Ne()},children:[a.jsx(zb,{size:16,strokeWidth:1.8})," Gem jobagent"]})})]}),a.jsxs("section",{className:"ai-agents-section",children:[a.jsx("h3",{children:"Dine aktive agenter"}),a.jsxs("div",{className:"ai-agents-row custom-scrollbar",children:[p.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen aktive agenter endnu."}):null,p.map((j,q)=>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 ${q%2===0?"teal":"indigo"}`,children:q%2===0?a.jsx(ib,{size:16,strokeWidth:1.8}):a.jsx(q0,{size:16,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h4",{children:j.escoName}),a.jsx("p",{children:j.isCalculated?"Aktiv siden i går":"Aktiv"})]})]}),a.jsx("button",{type:"button",className:j.visible?"ai-toggle on":"ai-toggle",onClick:()=>{se(j)},children:a.jsx("span",{})})]}),a.jsxs("div",{className:"ai-tags",children:[a.jsx("span",{children:j.escoName}),a.jsx("span",{children:he||"København"}),a.jsxs("span",{children:[le," km"]})]})]},j.id))]})]}),a.jsxs("section",{className:"ai-jobs-section",children:[a.jsxs("div",{className:"ai-jobs-head",children:[a.jsxs("h3",{children:[a.jsx(Li,{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:[Y?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,!Y&&C.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen jobanbefalinger fundet endnu."}):null,C.map((j,q)=>a.jsxs("article",{className:"ai-job-card",role:"button",tabIndex:0,onClick:()=>o(j.id,j.fromJobnet,"agents"),onKeyDown:Z=>{(Z.key==="Enter"||Z.key===" ")&&(Z.preventDefault(),o(j.id,j.fromJobnet,"agents"))},children:[a.jsx("div",{className:`ai-job-rail ${q%3===2?"indigo":"teal"}`}),a.jsxs("div",{className:"ai-job-top",children:[j.companyLogoImage||j.logoUrl?a.jsx("img",{src:j.companyLogoImage||j.logoUrl,alt:j.companyName,className:"ai-company-logo"}):a.jsx("div",{className:"ai-company-logo-fallback",children:gv(j.companyName)}),a.jsxs("div",{className:"ai-match-col",children:[a.jsxs("div",{className:"ai-match-pill",children:[a.jsx(Oi,{size:13,strokeWidth:1.8})," ",fv(q),"% Match"]}),a.jsxs("small",{children:["Via: ",p[0]?.escoName||"Jobagent"]})]})]}),a.jsxs("div",{className:"ai-job-title-wrap",children:[a.jsx("h4",{children:j.title}),a.jsxs("p",{children:[j.companyName," • ",j.address||"Lokation"]})]}),a.jsxs("div",{className:"ai-job-tags",children:[a.jsx("span",{children:j.occupationName||"Frontend"}),a.jsx("span",{children:j.fromJobnet?"Jobnet":"Arbejd.com"}),a.jsx("span",{children:j.candidateDistance!=null?`${Math.round(j.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:Z=>{Z.stopPropagation(),o(j.id,j.fromJobnet,"agents")},children:["Læs mere ",a.jsx(Ol,{size:14,strokeWidth:1.8})]})]})]},j.id))]})]})]})]})}const bv={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function h0(){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 vv(c){return c>=70?{text:"Kan styrke dine chancer i ansøgningsbunken",kind:"strong"}:c>=40?{text:"Ofte efterspurgt forbedrer dine jobmuligheder markant",kind:"neutral"}:{text:"Et godt første skridt mod flere relevante job",kind:"soft"}}function jv(c){return c==="education"?ed:c==="language"?zi:c==="driversLicense"?Zc:c==="certificate"?Qc:c==="qualification"?Oi:gr}function yv(c){return c==="education"?"blue":c==="language"?"emerald":c==="driversLicense"?"orange":c==="certificate"?"rose":c==="qualification"?"indigo":"slate"}function kv({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new K0,[]),[f,D]=v.useState("Lasse"),[B,z]=v.useState(void 0),[k,G]=v.useState(bv),[E,H]=v.useState(!0),[R,te]=v.useState("");v.useEffect(()=>{let W=!0;async function ne(){H(!0);const[P,Q]=await Promise.all([h.getCandidateProfile(),h.loadInitialData()]);if(!W)return;D(P.name),z(P.imageUrl),G(Q);const X=Q.jobAgentFilters[0]?.escoName||h0()[1];te(ae=>ae||X),H(!1)}return ne(),()=>{W=!1}},[h]);const Y=k.jobAgentFilters.length>0?k.jobAgentFilters.map(W=>W.escoName):h0(),me=k.jobAgentFilters.find(W=>W.escoName===R)||k.jobAgentFilters[0],oe=(me?k.cvSuggestions.find(W=>W.escoId===me.escoId)?.improvements:k.cvSuggestions[0]?.improvements)||[],ge=oe.length>0?oe:[{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 ${d==="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(ra,{active:"ai-agent",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar career-main",children:[a.jsx(oa,{name:f,imageUrl:B,onLogout:c,theme:d,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(Fb,{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(cp,{size:16,strokeWidth:1.8})," Tilføj ny agent"]})]}),a.jsx("div",{className:"career-agents-list custom-scrollbar",children:Y.map(W=>a.jsxs("button",{type:"button",className:R===W?"active":"",onClick:()=>te(W),children:[a.jsx("span",{children:W}),R===W?a.jsx("i",{}):null]},W))})]}),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:R||"Ministerialbetjent"})]}),a.jsxs("button",{type:"button",children:[a.jsx(O0,{size:14,strokeWidth:1.8})," Filtrer"]})]}),E?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,a.jsx("div",{className:"career-cards custom-scrollbar",children:ge.map((W,ne)=>{const P=jv(W.improvementType||"qualification"),Q=vv(W.jobChanceIncrease||0),X=yv(W.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(Li,{size:16,strokeWidth:1.8})}),a.jsxs("div",{className:"career-card-content",children:[a.jsx("div",{className:`career-card-icon ${X}`,children:a.jsx(P,{size:18,strokeWidth:1.8})}),a.jsx("h3",{children:W.shortName||W.name}),a.jsxs("p",{className:`tone ${Q.kind}`,children:[Q.kind==="strong"?a.jsx(G0,{size:13,strokeWidth:1.8}):Q.kind==="neutral"?a.jsx(Oi,{size:13,strokeWidth:1.8}):a.jsx(Lb,{size:13,strokeWidth:1.8}),Q.text]})]})]},`${W.name}-${ne}`)})})]})]})]})]})}class Nv{constructor(n=Ke){this.http=n}generateApplication(n,o,d,h){let f=M.backendApiV2+"1.0.0/client/ai_handler/create_my_application",D={isStar:n,jobId:o,language:d,userInput:h};return this.http.post(f,D)}listGeneratedJobApplications(n){let o=M.backendApiV2+"1.0.0/client/ai_handler/list_created_job_application/"+n;return this.http.get(o)}listPredefinedUserInput(){let n=M.backendApiV2+"1.0.0/client/ai_handler/list_predefined_user_input";return this.http.get(n)}getJobApplication(n){let o=M.backendApiV2+"1.0.0/client/ai_handler/"+n;return this.http.get(o)}updateMyCvDescriptions(n){let o=M.backendApiV2+"1.0.0/client/ai_handler/update_my_cv_descriptions",d={language:n};return this.http.post(o,d)}updateStatesOnMyCvDescription(n,o,d){let h=M.backendApiV2+"1.0.0/client/ai_handler/update_states_on_my_cv_descriptions/"+n,f={state:o,subState:d};return this.http.put(h,f)}getMyCvDescriptions(){let n=M.backendApiV2+"1.0.0/client/ai_handler/get_my_cv_descriptions";return this.http.get(n)}submitJobApplicationRating(n,o,d){let h=M.backendApiV2+"1.0.0/client/ai_handler/job_application_rating",f={ai_generated_job_application_id:n,rating:o,rating_text:d};return this.http.post(h,f)}startApplicationExamination(n){const o=M.backendApiV2+"1.0.0/client/ai_handler/create_application_examination",d={ai_generated_job_application_id:n};return this.http.post(o,d)}getApplicationExamination(n){const o=M.backendApiV2+"1.0.0/client/ai_handler/application_examination/"+encodeURIComponent(n);return this.http.get(o)}getApplicationExaminationByJobApplicationId(n){const o=M.backendApiV2+"1.0.0/client/ai_handler/application_examination_by_job_application/"+n;return this.http.get(o)}}class wv{constructor(n=Ke){this.http=n}searchForCertification(n){let o=encodeURIComponent(n),d=M.backendApiV2+`1.0.0/client/certificate?search_text=${o}`;return this.http.get(d)}saveCertification(n){let o=M.backendApiV2+"1.0.0/client/candidate_certificate",d={qualification_id:n};return this.http.post(o,d)}updateCertification(n){let o=M.backendApiV2+"1.0.0/client/candidate_certificate/"+n.id,d=n;return this.http.put(o,d)}removeCertification(n){let o=M.backendApiV2+"1.0.0/client/candidate_certificate/"+n;return this.http.delete(o)}addUnknownCertificate(n){let o=M.backendApiV2+"1.0.0/client/certificate",d={certificate_name:n};return this.http.post(o,d)}}class Sv{constructor(n=Ke){this.http=n}sendMyCvToEmail(){let n=M.backendApi+"api/1.1.0/candidate/sendPdf",o={};return this.http.post(n,o)}getMyCv(){let n=M.backendApiV2+"1.0.0/client/candidate/pdf";return this.http.get(n,{responseType:"blob"})}getMyCvV2(n){let o=M.backendApiV2+"1.0.0/client/candidate/pdf_url?language="+n;return this.http.get(o)}generateCv(n){let o=M.backendApiV2+"1.0.0/client/candidate/generateCv",d={language:n};return this.http.post(o,d)}}class _v{constructor(n=Ke,o=Ss){this.http=n,this.localStorageService=o}uploadCv(n,o){const d=M.backendApiV2+"1.0.0/client/cv_upload";return this.http.post(d,n,{headers:{Authorization:`Bearer ${o}`}})}getCvUploadData(){let n=M.backendApiV2+"1.0.0/client/cv_upload/get_upload_cv";return this.http.get(n)}setProfileTextToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/profile_text_is_done/"+n,d={};return this.http.put(o,d)}setExperienceToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/experience_is_done/"+n,d={};return this.http.put(o,d)}setEducationToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/education_is_done/"+n,d={};return this.http.put(o,d)}setQualificationToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/qualification_is_done/"+n,d={};return this.http.put(o,d)}setCertificateToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/certificate_is_done/"+n,d={};return this.http.put(o,d)}setLanguageToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/language_is_done/"+n,d={};return this.http.put(o,d)}setDriversLicenseToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/drivers_license_is_done/"+n,d={};return this.http.put(o,d)}setCvUploadToDone(n){let o=M.backendApiV2+"1.0.0/client/cv_upload/cv_is_done/"+n,d={};return this.http.put(o,d)}}class Av{constructor(n=Ke){this.http=n}getAllDriverLicenses(){let n=M.backendApi+"api/1.1.0/driversLicenses";return this.http.get(n)}updateDriverLicense(n,o){let d=M.backendApi+"api/1.1.0/candidate/driversLicense/"+n,h={};return this.http.put(d,h)}removeLanguage(n){let o=M.backendApiV2+"1.0.0/client/candidate_drivers_license/"+n;return this.http.delete(o)}saveDriverLicense(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_drivers_license",h={level:o,drivers_license_id:n.id};return this.http.post(d,h)}saveDriverLicenseV2(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_drivers_license",h={level:n,drivers_license_id:o};return this.http.post(d,h)}}class zv{constructor(n=Ke){this.http=n}searchForEducations(n){let o=M.backendApi+"api/1.1.0/educations/search/"+n;return this.http.get(o)}searchForSchools(n){let o=M.backendApi+"api/1.1.0/institutions/search/"+n;return this.http.get(o)}saveEducation(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_education",h={comments:n.comments,education_disced_15:n.education.disced15,from_date:n.fromDate,to_date:n.toDate,institution_number:n.institution?.instNumber,is_current:n.isCurrent,language:o};return this.http.post(d,h)}removeEducation(n){let o=M.backendApiV2+"1.0.0/client/candidate_education/"+n;return this.http.delete(o)}updateEducation(n,o,d){let h=M.backendApiV2+"1.0.0/client/candidate_education/"+n,f={comments:o.comments,from_date:o.fromDate,to_date:o.toDate,is_current:o.isCurrent,language:d};return this.http.put(h,f)}getEducationOccupationSuggestions(n){let o=M.backendApi+"api/1.1.0/educations/suggestions/occupation/"+n;return this.http.get(o)}saveUnknownEducation(n){let o=M.backendApiV2+"1.0.0/client/education/save_unknown_education",d={education_name:n};return this.http.post(o,d)}saveEducationV2(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_education",h={comments:n.comments,education_disced_15:n.education_disced_15,from_date:n.from_date,to_date:n.to_date,institution_number:n.institution_number,is_current:n.is_current,language:o};return this.http.post(d,h)}}class Dv{constructor(n=Ke){this.http=n}getAllLanguages(){let n=M.backendApi+"api/1.1.0/languages";return this.http.get(n)}saveLanguage(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_language",h={language_id:o.id,level:n};return this.http.post(d,h)}updateLanguage(n,o,d){let h=M.backendApiV2+"1.0.0/client/candidate_language/"+n,f={level:o};return this.http.put(h,f)}removeLanguage(n){let o=M.backendApiV2+"1.0.0/client/candidate_language/"+n;return this.http.delete(o)}saveLanguageV2(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_language",h={language_id:o,level:n};return this.http.post(d,h)}}class Tv{constructor(n=Ke){this.http=n}searchForQualification(n){let o=M.backendApi+"api/1.1.0/qualifications/type/3/search/"+n;return this.http.get(o)}updateQualification(n,o){let d=M.backendApiV2+"1.0.0/client/candidate_qualification/"+n,h={level:o};return this.http.put(d,h)}saveQualification(n){let o=M.backendApiV2+"1.0.0/client/candidate_qualification",d={level:n.level,qualification_id:n.qualification.id};return this.http.post(o,d)}removeQualification(n){let o=M.backendApiV2+"1.0.0/client/candidate_qualification/"+n;return this.http.delete(o)}getQualificationsOccupationSuggestions(n,o){let d=M.backendApi+"api/1.1.0/qualifications/type/"+o+"/suggestions/occupation/"+n;return this.http.get(d)}addUnknownQualification(n){let o=M.backendApi+"api/1.1.0/qualifications/type/3/fromCandidate",d={name:n,type:3};return this.http.post(o,d)}saveQualificationV2(n){let o=M.backendApiV2+"1.0.0/client/candidate_qualification",d={level:n.level,qualification_id:n.qualification_id};return this.http.post(o,d)}}class Mv{constructor(n=Ke){this.http=n}addUnknownOccupation(n){let o=M.backendApi+"api/1.1.0/occupations/fromCandidate",d={name:n};return this.http.post(o,d)}}class Cv{constructor(n=Ke){this.http=n}saveUnknownInstitution(n){let o=M.backendApiV2+"1.0.0/client/institution/save_unknown_institution",d={institution_name:n};return this.http.post(o,d)}}class Ev{constructor(n=new Vl,o=new Sv,d=new _v,h=new br,f=new Nv,D=new zv,B=new Tv,z=new wv,k=new Dv,G=new Av,E=new Y0,H=new Mv,R=new Cv,te=Ss){this.candidateService=n,this.cvService=o,this.cvUploadService=d,this.subscriptionService=h,this.aiHandlerService=f,this.educationService=D,this.qualificationService=B,this.certificationService=z,this.languageService=k,this.driverLicenseService=G,this.escoService=E,this.occupationService=H,this.institutionService=R,this.localStorageService=te}escosCache=null;async getSnapshot(){const[n,o,d,h,f,D,B,z,k,G]=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:n.status==="fulfilled"?n.value:null,experiences:o.status==="fulfilled"?o.value:[],educations:d.status==="fulfilled"?d.value:[],skills:h.status==="fulfilled"?h.value:[],certifications:f.status==="fulfilled"?f.value:[],languages:D.status==="fulfilled"?D.value:[],driverLicenses:B.status==="fulfilled"?B.value:[],paymentOverview:z.status==="fulfilled"?z.value:null,cvUploadData:k.status==="fulfilled"?k.value:null,aiGeneratedCVDescription:G.status==="fulfilled"&&G.value?.id?G.value:null}}async setActiveSeeker(n,o,d){const h={...n,isActive:o};return this.candidateService.updateCandidate(h,d)}async updateCandidate(n,o){return this.candidateService.updateCandidate(n,o)}async generateCv(n){await this.cvService.generateCv(n)}async getCvDownloadUrl(n){return(await this.cvService.getMyCvV2(n)).url}async uploadCv(n,o){const d=await this.localStorageService.getAuthToken();if(!d)throw new Error("No auth token found.");await this.cvUploadService.uploadCv({base_64_cv_file:n,cv_file_type:o},d)}async optimizeCv(n){await this.aiHandlerService.updateMyCvDescriptions(n)}async updateExperience(n,o){await this.candidateService.updateExperience(n,o)}async updateEducation(n,o){const d={comments:n.comments,education:n.education,institution:n.institution,fromDate:new Date(n.fromDate),toDate:new Date(n.toDate),isCurrent:n.isCurrent};await this.educationService.updateEducation(n.id,d,o)}async updateCertification(n){await this.certificationService.updateCertification(n)}async updateLanguage(n){const o={id:n.language.id,isO639:n.language.isO639,name:n.language.name,ownName:n.language.ownName,priority:n.language.priority};await this.languageService.updateLanguage(n.id,n.level,o)}async removeExperience(n){await this.candidateService.removeExperience(n)}async removeEducation(n){await this.educationService.removeEducation(n)}async removeQualification(n){await this.qualificationService.removeQualification(n)}async removeCertification(n){await this.certificationService.removeCertification(n)}async removeLanguage(n){await this.languageService.removeLanguage(n)}async removeDriverLicense(n){await this.driverLicenseService.removeLanguage(n)}async getEscoSuggestions(n,o=25){this.escosCache||(this.escosCache=await this.escoService.listAllEscos());const d=n.trim().toLowerCase();return d?this.escosCache.filter(h=>h.preferedLabelDa.toLowerCase().includes(d)).slice(0,o):this.escosCache.slice(0,o)}async getLanguageOptions(){return(await this.languageService.getAllLanguages()).allLanguages??[]}async getDriverLicenseOptions(){return this.driverLicenseService.getAllDriverLicenses()}async createExperience(n,o){let d=n.escoId??null;if(!d&&n.occupationName?.trim()&&(d=(await this.occupationService.addUnknownOccupation(n.occupationName.trim())).id),!d)throw new Error("Vælg eller opret en stilling først.");await this.candidateService.saveExperienceV2({companyName:n.companyName,comments:n.comments,fromDate:n.fromDate,toDate:n.toDate,isCurrent:n.isCurrent,escoId:d},o)}async createEducation(n,o){let d=n.educationDisced15??null;if(!d&&n.educationName?.trim()&&(d=(await this.educationService.saveUnknownEducation(n.educationName)).disced15),!d)throw new Error("Vælg eller opret en uddannelse først.");let h=n.institutionNumber;!h&&n.institutionName?.trim()&&(h=(await this.institutionService.saveUnknownInstitution(n.institutionName.trim())).inst_number),await this.educationService.saveEducationV2({comments:n.comments,institution_number:h,from_date:n.fromDate,to_date:n.toDate,education_disced_15:d,is_current:n.isCurrent},o)}async createCertification(n){let o=n.certificateId??null;if(!o&&n.certificateName?.trim()&&(o=(await this.certificationService.addUnknownCertificate(n.certificateName.trim())).certificate_id),!o)throw new Error("Vælg eller opret et certifikat først.");await this.certificationService.saveCertification(o)}async createLanguage(n,o){await this.languageService.saveLanguageV2(o,n)}async getQualificationSuggestions(n){const o=n.trim();return o?this.qualificationService.searchForQualification(o):[]}async createQualification(n){let o=n.qualificationId?.trim()||"";if(!o&&n.qualificationName?.trim()&&(o=(await this.qualificationService.addUnknownQualification(n.qualificationName.trim())).id),!o)throw new Error("Vælg eller opret en kvalifikation først.");await this.qualificationService.saveQualificationV2({qualification_id:o,level:n.level})}async getEducationSuggestions(n){const o=n.trim();return o?this.educationService.searchForEducations(o):[]}async getSchoolSuggestions(n){const o=n.trim();return o?this.educationService.searchForSchools(o):[]}async getCertificationSuggestions(n){const o=n.trim();return o?this.certificationService.searchForCertification(o):[]}async createDriverLicense(n,o){await this.driverLicenseService.saveDriverLicenseV2(o,n)}}const Lv={candidate:null,experiences:[],educations:[],skills:[],certifications:[],languages:[],driverLicenses:[],paymentOverview:null,cvUploadData:null,aiGeneratedCVDescription:null},Ov=[{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."}],Uv=[{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#."}],Vv=["HTML","CSS","JavaScript","TypeScript","React","Vue.js","Frontend Udvikling","Backend Udvikling","Node.js","Agile/Scrum","UI/UX Design","Salg","Projektledelse","Kundeservice","SEO"];function Mi(c){if(!c)return null;const n=c instanceof Date?c:new Date(c);return Number.isNaN(n.getTime())?null:n}function g0(c){const n=Mi(c);return n?new Intl.DateTimeFormat("da-DK",{month:"short",year:"numeric"}).format(n):"Ukendt"}function f0(c,n,o){const d=g0(c),h=o?"Nu":g0(n);return`${d} - ${h}`}function Rv(c){const n=Mi(c);return n?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(n):"Ikke angivet"}function Hv(c){const n=Mi(c);if(!n)return"";const o=n.getFullYear(),d=String(n.getMonth()+1).padStart(2,"0"),h=String(n.getDate()).padStart(2,"0");return`${o}-${d}-${h}`}function x0(c){return[...c].sort((n,o)=>{const d=Mi(n.fromDate)?.getTime()??0;return(Mi(o.fromDate)?.getTime()??0)-d})}function Bv(c){return c.qualification?.name||"Kvalifikation"}function qv(c){return c.qualification?.name||c.levelName||"Certificering"}function Gv(c){return c.driversLicense?.name||c.levelName||"Korekort"}function Jv(c){return c.levelName||"Niveau ukendt"}function Yv({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new Ev,[]),[f,D]=v.useState("standard"),[B,z]=v.useState(Lv),[k,G]=v.useState(!0),[E,H]=v.useState(!1),[R,te]=v.useState("menu"),[Y,me]=v.useState(""),[oe,ge]=v.useState(""),[W,ne]=v.useState(""),[P,Q]=v.useState(""),[X,ae]=v.useState(!1),[he,F]=v.useState(""),[le,I]=v.useState(""),[Se,Ne]=v.useState([]),[se,p]=v.useState(""),[C,j]=v.useState(""),[q,Z]=v.useState(""),[g,N]=v.useState(""),[O,J]=v.useState(""),[de,ce]=v.useState(""),[_e,at]=v.useState(""),[Ge,Ca]=v.useState(""),[Ea,rl]=v.useState(!1),[Pt,Xt]=v.useState(()=>new Date().getFullYear()),[Lt,ca]=v.useState(()=>new Date().getMonth()),[jr,_s]=v.useState(""),[Rl,Hl]=v.useState(""),[As,Ui]=v.useState(""),[ol,gt]=v.useState(null),[Vi,Ri]=v.useState(""),[zs,Bl]=v.useState(""),[Hi,Bi]=v.useState(""),[qi,yr]=v.useState("");v.useEffect(()=>{let S=!0;return h.getSnapshot().then(Me=>{S&&z(Me)}).finally(()=>{S&&G(!1)}),()=>{S=!1}},[h]),v.useEffect(()=>{if(!E)return;const S=document.body.style.overflow;document.body.style.overflow="hidden";const Me=st=>{st.key==="Escape"&&H(!1)};return window.addEventListener("keydown",Me),()=>{document.body.style.overflow=S,window.removeEventListener("keydown",Me)}},[E]),v.useEffect(()=>()=>{ol&&URL.revokeObjectURL(ol)},[ol]),v.useEffect(()=>{if(!Ea)return;const S=Me=>{Me.target?.closest(".cv-birthday-picker")||rl(!1)};return document.addEventListener("click",S),()=>document.removeEventListener("click",S)},[Ea]);const Re=B.candidate,lt=Re?.address,Ot=Re?.firstName?.trim()||Re?.name?.trim()||"Lasse",ft=Re?.firstName||"Lasse",kr=Re?.lastName||"Hansen",cl=Re?.imageUrl||Re?.image||"",Gi=B.experiences.length>0?x0(B.experiences):[],dl=B.educations.length>0?x0(B.educations):[],ul=B.skills,ml=B.languages,Zt=B.certifications,hl=B.driverLicenses,gl=ml.length>0?ml.map(S=>({id:S.id,name:S.language?.name||"Sprog",level:Jv(S)})):[{id:"da",name:"Dansk",level:"Modersmal"},{id:"en",name:"Engelsk",level:"Flydende"}],Nr=R==="experience"?!!(Y.trim()&&oe.trim()&&W):R==="personal"?!!(se.trim()&&C.trim()&&q.trim()):R==="language"?!!(Vi.trim()&&zs.trim()):R==="driverLicense"?!!Hi.trim():R==="certification"?!!qi.trim():!0,Ds=Vv.filter(S=>!Se.includes(S)&&S.toLowerCase().includes(le.toLowerCase())),Ts=()=>{H(!0),te("menu")},ea=()=>{H(!1),te("menu")},da=S=>{te(S)},Ji=S=>{Ne(Me=>Me.filter(st=>st!==S))},Yi=S=>{Ne(Me=>Me.includes(S)?Me:[...Me,S]),I("")};v.useEffect(()=>{!Re||E||(p(Re.firstName||""),j(Re.lastName||""),Z(Re.email||""),N(Re.phoneNumber||""),J(Hv(Re.birthday)),ce(Re.gender||""),at(lt?.zip||""),Ca(lt?.zipName||lt?.additionalCityName||""),_s(Re.personalDescription||""),Hl(cl||""),Ui(""))},[Re,lt,E,cl]);const Ki=S=>{const Me=S.target.files?.[0];if(!Me)return;ol&&URL.revokeObjectURL(ol);const st=URL.createObjectURL(Me);gt(st),Hl(st),Ui(Me.name)},St=O?new Date(`${O}T00:00:00`):null,Ms=St?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(St):"Vælg dato",Wi=new Intl.DateTimeFormat("da-DK",{month:"long"}).format(new Date(Pt,Lt,1)),Ut=(new Date(Pt,Lt,1).getDay()+6)%7,Pe=new Date(Pt,Lt+1,0).getDate(),mt=Array.from({length:Ut+Pe},(S,Me)=>Me<Ut?null:Me-Ut+1),La=()=>{St&&(Xt(St.getFullYear()),ca(St.getMonth())),rl(!0)},Cs=S=>{const Me=String(Lt+1).padStart(2,"0"),st=String(S).padStart(2,"0");J(`${Pt}-${Me}-${st}`),rl(!1)};return a.jsxs("section",{className:`dash-root ${d==="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(ra,{active:"cv",onNavigate:n}),a.jsxs("main",{className:`dash-main custom-scrollbar cv-page ${f==="reference"?"cv-design-reference":""}`,children:[a.jsx(oa,{name:Ot,imageUrl:cl||void 0,onLogout:c,theme:d,onToggleTheme:o,actions:a.jsxs("button",{type:"button",className:"cv-design-toggle",onClick:()=>D(S=>S==="standard"?"reference":"standard"),children:[f==="reference"?a.jsx(U0,{size:16,strokeWidth:1.8}):a.jsx(V0,{size:16,strokeWidth:1.8}),a.jsx("span",{children:f==="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:Ts,children:[a.jsx(hb,{size:16,strokeWidth:1.8})," Rediger CV"]})]}),k?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(sl,{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:ft})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Efternavn"}),a.jsx("strong",{children:kr})]}),a.jsxs("div",{children:[a.jsx("span",{children:"E-mail"}),a.jsx("strong",{children:Re?.email||"lasse@eksempel.dk"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Telefon"}),a.jsx("strong",{children:Re?.phoneNumber||"+45 12 34 56 78"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Fodselsdato"}),a.jsx("strong",{children:Rv(Re?.birthday)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kon"}),a.jsx("strong",{children:Re?.gender||"Mand"})]})]})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(gr,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Kvalifikationer"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(ul.length>0?ul.map(Bv):["HTML & CSS","Tailwind CSS","JavaScript","React","UI/UX Design"]).slice(0,12).map(S=>a.jsx("span",{className:"cv-chip",children:S},S))})]}),a.jsxs("article",{className:"cv-card",children:[a.jsxs("div",{className:"cv-section-head",children:[a.jsx(zi,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Sprog"})]}),a.jsx("div",{className:"cv-language-list",children:gl.map(S=>a.jsxs("div",{children:[a.jsx("strong",{children:S.name}),a.jsx("span",{children:S.level})]},S.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(Qc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Certificeringer"})]}),a.jsxs("ul",{className:"cv-list",children:[(Zt.length>0?Zt:[]).slice(0,4).map(S=>a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8})," ",qv(S)]},S.id)),Zt.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(Zc,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Korekort"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(hl.length>0?hl.map(Gv):["B (Almindelig bil)","A (Motorcykel)"]).map(S=>a.jsx("span",{className:"cv-chip",children:S},S))})]})]})]}),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(mr,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Erhvervserfaring"})]}),a.jsx("div",{className:"cv-timeline",children:(Gi.length>0?Gi:Ov).map((S,Me)=>{const st="occupation"in S?S.occupation?.name||"Stilling":S.title,ua="companyName"in S?S.companyName:S.company,fl="comments"in S?S.comments:S.description,ta="fromDate"in S?S.fromDate:S.from,aa="toDate"in S?S.toDate:S.to,ma="isCurrent"in S?!!S.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(Pc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:st}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:ua}),a.jsx("span",{children:f0(ta,aa,ma)})]}),a.jsx("p",{children:fl||"Ingen beskrivelse."})]})]},"id"in S?String(S.id):`exp-${Me}`)})})]}),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(ed,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Uddannelse"})]}),a.jsx("div",{className:"cv-timeline",children:(dl.length>0?dl:Uv).map((S,Me)=>{const st="education"in S?S.education?.name||"Uddannelse":S.title,ua="institution"in S?S.institution?.name||"Institution":S.school,fl="comments"in S?S.comments:S.description,ta="fromDate"in S?S.fromDate:S.from,aa="toDate"in S?S.toDate:S.to,ma="isCurrent"in S?!!S.isCurrent:!1;return a.jsxs("article",{className:"cv-timeline-item",children:[a.jsx("div",{className:"cv-timeline-dot",children:a.jsx(Pc,{size:15,strokeWidth:1.8})}),a.jsxs("div",{className:"cv-timeline-card",children:[a.jsx("h3",{children:st}),a.jsxs("div",{className:"cv-meta",children:[a.jsx("strong",{children:ua}),a.jsx("span",{children:f0(ta,aa,ma)})]}),a.jsx("p",{children:fl||"Ingen beskrivelse."})]})]},"id"in S?String(S.id):`edu-${Me}`)})})]})]})]})]}),E?a.jsx("div",{className:"cv-modal-overlay",onClick:ea,role:"presentation",children:a.jsxs("div",{className:"cv-modal",onClick:S=>S.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:[R!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:()=>te("menu"),"aria-label":"Tilbage",children:a.jsx(Ei,{size:18,strokeWidth:1.8})}):null,a.jsxs("h2",{children:[R==="menu"&&"Tilføj til CV",R==="experience"&&"Tilføj Erhvervserfaring",R==="education"&&"Tilføj Uddannelse",R==="personal"&&"Opdater Personlige Oplysninger",R==="skills"&&"Tilføj Kvalifikationer",R==="language"&&"Tilføj Sprog",R==="driverLicense"&&"Tilføj Kørekort",R==="certification"&&"Tilføj Certifikat"]})]}),a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:ea,"aria-label":"Luk",children:a.jsx(Ti,{size:18,strokeWidth:1.8})})]}),a.jsxs("div",{className:"cv-modal-body custom-scrollbar",children:[R==="menu"?a.jsxs("div",{className:"cv-wizard-grid",children:[a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-cyan",onClick:()=>da("personal"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(sl,{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:()=>da("experience"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(mr,{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:()=>da("education"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(ed,{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:()=>da("skills"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(gr,{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:()=>da("language"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(zi,{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:()=>da("driverLicense"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(Zc,{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:()=>da("certification"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(Qc,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Certifikater"}),a.jsx("p",{children:"Tilføj relevante certificeringer."})]})]}):null,R==="personal"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:S=>S.preventDefault(),children:[a.jsxs("div",{className:"cv-upload-wrap",children:[a.jsx("div",{className:"cv-upload-preview",children:Rl?a.jsx("img",{src:Rl,alt:"Profil"}):a.jsx(sl,{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:Ki}),"Upload billede"]}),a.jsx("small",{children:As||"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:se,onChange:S=>p(S.target.value),placeholder:"Fornavn"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Efternavn *"}),a.jsx("input",{value:C,onChange:S=>j(S.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:q,onChange:S=>Z(S.target.value),placeholder:"mail@eksempel.dk"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Telefon"}),a.jsx("input",{value:g,onChange:S=>N(S.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:La,children:[a.jsx(ur,{size:16,strokeWidth:1.8}),a.jsx("span",{children:Ms})]}),Ea?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){ca(11),Xt(S=>S-1);return}ca(S=>S-1)},children:a.jsx(ep,{size:16,strokeWidth:1.8})}),a.jsxs("strong",{children:[Wi," ",Pt]}),a.jsx("button",{type:"button",onClick:()=>{if(Lt===11){ca(0),Xt(S=>S+1);return}ca(S=>S+1)},children:a.jsx(ap,{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((S,Me)=>{if(!S)return a.jsx("span",{className:"cv-birthday-empty"},`empty-${Me}`);const st=St?St.getFullYear()===Pt&&St.getMonth()===Lt&&St.getDate()===S:!1;return a.jsx("button",{type:"button",className:st?"is-selected":"",onClick:()=>Cs(S),children:S},`${Pt}-${Lt}-${S}`)})})]}):null]})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Køn"}),a.jsx("input",{value:de,onChange:S=>ce(S.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:_e,onChange:S=>at(S.target.value),placeholder:"F.eks. 2100"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"By"}),a.jsx("input",{value:Ge,onChange:S=>Ca(S.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:jr,onChange:S=>_s(S.target.value),placeholder:"Kort beskrivelse af dig selv..."})]})]}):null,R==="experience"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:S=>S.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:Y,onChange:S=>me(S.target.value),placeholder:"F.eks. Frontend Udvikler"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Virksomhed *"}),a.jsx("input",{value:oe,onChange:S=>ge(S.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(ur,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"month",value:W,onChange:S=>ne(S.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(ur,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"month",value:P,onChange:S=>Q(S.target.value),disabled:X})]})]})]}),a.jsxs("label",{className:"cv-wizard-checkbox",children:[a.jsx("input",{type:"checkbox",checked:X,onChange:S=>{ae(S.target.checked),S.target.checked&&Q("")}}),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:he,onChange:S=>F(S.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:Se.map(S=>a.jsxs("span",{className:"cv-skill-pill",children:[S,a.jsx("button",{type:"button",onClick:()=>Ji(S),"aria-label":`Fjern ${S}`,children:a.jsx(Ti,{size:12,strokeWidth:2})})]},S))}),a.jsxs("div",{className:"cv-skill-search",children:[a.jsx(hr,{size:16,strokeWidth:1.8}),a.jsx("input",{value:le,onChange:S=>I(S.target.value),placeholder:"Søg færdigheder (f.eks. JavaScript, Salg...)"})]}),le.trim().length>0?a.jsx("div",{className:"cv-skill-dropdown custom-scrollbar",children:Ds.length>0?Ds.map(S=>a.jsx("button",{type:"button",onClick:()=>Yi(S),children:S},S)):a.jsx("span",{className:"cv-skill-empty",children:"Ingen resultater fundet."})}):null]})]}):null,R==="education"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Uddannelsesformularen bliver tilfoejet i naeste iteration."}):null,R==="skills"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Kvalifikationsformularen bliver tilfoejet i naeste iteration."}):null,R==="language"?a.jsxs("form",{className:"cv-wizard-form",onSubmit:S=>S.preventDefault(),children:[a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Sprog *"}),a.jsx("input",{value:Vi,onChange:S=>Ri(S.target.value),placeholder:"F.eks. Engelsk"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Niveau *"}),a.jsx("input",{value:zs,onChange:S=>Bl(S.target.value),placeholder:"F.eks. Flydende"})]})]}):null,R==="driverLicense"?a.jsx("form",{className:"cv-wizard-form",onSubmit:S=>S.preventDefault(),children:a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Kørekortkategori *"}),a.jsx("input",{value:Hi,onChange:S=>Bi(S.target.value),placeholder:"F.eks. B (Almindelig bil)"})]})}):null,R==="certification"?a.jsx("form",{className:"cv-wizard-form",onSubmit:S=>S.preventDefault(),children:a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Certifikat *"}),a.jsx("input",{value:qi,onChange:S=>yr(S.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:ea,children:"Annuller"}),R!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-save",disabled:!Nr,onClick:ea,children:"Gem aendringer"}):null]})]})}):null]})}class Kv{constructor(n=Ke){this.http=n}getNotificationSetting(){const n=M.backendApiV2+"2.0.0/client/notification/settings";return this.http.get(n)}createNotificationSetting(n){const o=M.backendApiV2+"2.0.0/client/notification/settings";return this.http.post(o,n)}updateNotificationSetting(n,o){const d=M.backendApiV2+"2.0.0/client/notification/settings/"+n;return this.http.put(d,o)}deleteNotificationSetting(n){const o=M.backendApiV2+"2.0.0/client/notification/settings/"+n;return this.http.delete(o)}getNewNotificationCount(){let n=M.backendApiV2+"1.0.0/client/notification/unseen_notifications";return this.http.get(n)}getNotifications(n,o){let d=M.backendApiV2+"1.0.0/client/notification/"+n+"/"+o;return this.http.get(d)}notificationSeenByUser(n){let o=M.backendApiV2+"1.0.0/client/notification/seen_by_user/"+n,d={};return this.http.put(o,d)}}class rd{constructor(n=Ke,o=Ss){this.http=n,this.localStorage=o}listSimulationPersonalities(){let n=M.backendApiV2+"client/simulation/1.0.0/list_simulation_personalities",o=new Ul().set("language","da");return this.http.get(n,{params:o})}getInterviewEvaluation(n){const o=M.backendApiV2+`client/simulation/1.0.0/interview_evaluation/${n}`;return this.http.get(o)}listInterviews(n=20,o=0){const d=M.backendApiV2+"client/job_simulator/1.0.0/list_interviews",h=new Ul().set("limit",n.toString()).set("offset",o.toString());return this.http.get(d,{params:h})}submitEvaluationRating(n,o,d){const h=M.backendApiV2+"client/simulation/1.0.0/evaluation_rating",f={interview_id:n,rating:o,rating_text:d};return this.http.post(h,f)}submitInterviewRating(n,o,d){const h=M.backendApiV2+"client/simulation/1.0.0/interview_rating",f={interview_id:n,rating:o,rating_text:d};return this.http.post(h,f)}}class Wv{constructor(n=Ke){this.http=n}chatMessageThreads=[];getChatMessages(){let n=M.backendApi+"api/1.1.0/chatMessages/forCandidate/";return this.http.get(n)}sendMessage(n){let o=M.backendApi+"api/1.1.0/chatMessages/"+n.threadId+"/fromCandidate";return this.http.post(o,n)}markThreadRead(n){let o=M.backendApi+"api/1.1.0/chatMessages/markRead/"+n;return this.http.get(o)}}class Qv{constructor(n=Ke){this.http=n}getUnreadMessages(){let n=M.backendApi+"api/1.1.0/chatMessages/getUnreadCount";return this.http.get(n)}}function cr(c){if(!c)return 0;const o=(c instanceof Date?c:new Date(c)).getTime();return Number.isNaN(o)?0:o}function Jc(c,n){const o=c?.timeSent?new Date(c.timeSent):new Date,d=c?.seen?new Date(c.seen):void 0;return{id:c?.id,threadId:c?.threadId??n,timeSent:o,fromCandidate:!!c?.fromCandidate,text:c?.text??"",seen:d}}class Q0{constructor(n=new Wv,o=new Qv,d=new Vl){this.chatMessagesService=n,this.messageService=o,this.candidateService=d}async getCandidateProfile(){try{const n=await this.candidateService.getCandidate(),o=n.firstName?.trim()||n.name?.trim()||"Lasse",d=n.imageUrl||n.image||void 0;return{name:o,imageUrl:d}}catch{return{name:"Lasse"}}}async getThreads(){return(await this.chatMessagesService.getChatMessages()??[]).map(o=>{const d=(o.allMessages??[]).map(f=>Jc(f,o.id));d.sort((f,D)=>cr(f.timeSent)-cr(D.timeSent));const h=o.latestMessage?Jc(o.latestMessage,o.id):d[d.length-1]??Jc(void 0,o.id);return{...o,allMessages:d,latestMessage:h}}).sort((o,d)=>cr(d.latestMessage?.timeSent)-cr(o.latestMessage?.timeSent))}async getUnreadCount(){const n=await this.messageService.getUnreadMessages();return Number(n?.unreadCount??0)}async sendMessage(n,o){const d={threadId:n,text:o.trim(),fromCandidate:!0,timeSent:new Date};return this.chatMessagesService.sendMessage(d)}async markThreadReadByMessageId(n){n&&await this.chatMessagesService.markThreadRead(n)}}function Ci(c){return typeof c=="object"&&c!==null?c:null}function Qt(c){return typeof c=="string"?c:""}function Xv(c){return typeof c=="number"?c:null}function Zv(c){const n=Ci(c);if(!n)return null;const d=Ci(n.jobPosting)??n,h=Qt(d.id);return h?{id:h,title:Qt(d.title),companyName:Qt(d.companyName),address:Qt(d.address),applicationDeadline:Qt(d.applicationDeadline),candidateDistance:Xv(d.candidateDistance),fromJobnet:!!d.fromJobnet,logoUrl:Qt(d.logoUrl),companyLogoImage:Qt(d.companyLogoImage)}:null}function Fv(c){const n=Ci(c);return(Array.isArray(n?.interviews)?n.interviews:[]).map(d=>{const h=Ci(d);if(!h)return null;const f=Qt(h.id);return f?{id:f,jobName:Qt(h.job_name)||"Interview",companyName:Qt(h.company_name)||null,interviewDate:Qt(h.interview_date)||null,recommendation:Qt(h.recommendation)||null,isCompleted:!!h.is_completed}:null}).filter(d=>!!d).sort((d,h)=>{const f=d.interviewDate?new Date(d.interviewDate).getTime():0;return(h.interviewDate?new Date(h.interviewDate).getTime():0)-f}).slice(0,5)}function $v(c){const n=Ci(c);return n?Array.isArray(n.searchList)?n.searchList:[]:[]}class Iv{constructor(n=new Vl,o=new Kv,d=new nd,h=new br,f=new rd,D=new Q0){this.candidateService=n,this.notificationService=o,this.jobService=d,this.subscriptionService=h,this.simulationService=f,this.messagesViewModel=D}async loadInitialData(){const[n,o,d,h,f,D]=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:n.status==="fulfilled"?n.value:null,notifications:o.status==="fulfilled"?o.value.slice(0,5):[],messages:d.status==="fulfilled"?d.value.slice(0,5):[],bestJobs:h.status==="fulfilled"?h.value:[],subscription:f.status==="fulfilled"?f.value:null,evaluations:D.status==="fulfilled"?Fv(D.value):[]}}async loadBestJobs(){const n=await this.jobService.getJobsV2(10,0,5,[]);return $v(n).map(d=>Zv(d)).filter(d=>!!d).slice(0,5)}}const Pv={bestJobs:[],candidate:null,evaluations:[],messages:[],notifications:[],subscription:null};function p0(c){return c.trim().slice(0,1).toUpperCase()||"A"}function e1({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new Iv,[]),[D,B]=v.useState(Pv),[z,k]=v.useState(!0);v.useEffect(()=>{let H=!0;return f.loadInitialData().then(R=>{H&&B(R)}).finally(()=>{H&&k(!1)}),()=>{H=!1}},[f]);const G=D.candidate?.firstName?.trim()||D.candidate?.name?.trim()||"Lasse",E=D.candidate?.imageUrl||D.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(ra,{active:"dashboard",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(oa,{name:G,imageUrl:E||void 0,onLogout:c,theme:h,onToggleTheme:d}),a.jsxs("div",{className:"dash-welcome",children:[a.jsxs("h1",{children:["Velkommen tilbage ",G," ",a.jsx("span",{children:"👋"})]}),a.jsx("p",{children:"Her er, hvad der sker med din jobsøgning i dag."})]}),z?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:(D.bestJobs.length>0?D.bestJobs:[{id:"d1",title:"Senior Frontend-udvikler",companyName:"Lunar",address:"Kobenhavn, DK",applicationDeadline:"",candidateDistance:null,fromJobnet:!1,logoUrl:"",companyLogoImage:""},{id:"d2",title:"React-udvikler",companyName:"Pleo",address:"Remote",applicationDeadline:"",candidateDistance:null,fromJobnet:!1,logoUrl:"",companyLogoImage:""}]).slice(0,5).map(H=>a.jsxs("div",{className:"dash-job-item",role:"button",tabIndex:0,onClick:()=>o(H.id,!!H.fromJobnet,"dashboard"),onKeyDown:R=>{(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),o(H.id,!!H.fromJobnet,"dashboard"))},children:[a.jsxs("div",{className:"dash-job-left",children:[a.jsx("div",{className:"dash-company-chip",children:p0(H.companyName)}),a.jsxs("div",{children:[a.jsx("h4",{children:H.title}),a.jsxs("p",{children:[H.companyName," • ",H.address||"Lokation ikke angivet"]})]})]}),a.jsx("button",{type:"button",className:"dash-job-arrow-btn","aria-label":"Se job",onClick:R=>{R.stopPropagation(),o(H.id,!!H.fromJobnet,"dashboard")},children:a.jsx(Ol,{size:16,strokeWidth:1.8})})]},H.id))})]}),a.jsxs("div",{className:"dash-split-grid",children:[a.jsxs("article",{className:"dash-card",children:[a.jsx("h3",{children:"Seneste beskeder"}),a.jsxs("div",{className:"dash-message-list",children:[(D.messages.length>0?D.messages:[]).slice(0,5).map(H=>a.jsxs("div",{className:"dash-message-item",children:[a.jsx("div",{className:"dash-avatar",children:p0(H.companyName||"A")}),a.jsxs("div",{children:[a.jsx("h4",{children:H.companyName||"Samtale"}),a.jsx("p",{children:H.latestMessage?.text||"Ingen besked endnu"})]})]},H.id)),D.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(pb,{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($c,{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(Xb,{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(vb,{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($c,{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(H0,{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(Li,{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(Rx,{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(Ox,{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(wp,{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(q0,{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(Kp,{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(B0,{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(Di,{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(td,{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(Di,{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 il(){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.jsx("div",{className:"mb-16",children:a.jsxs("div",{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",{className:"flex items-center gap-3",children:[a.jsx("a",{href:"https://www.facebook.com/arbejd.com1/",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"w-10 h-10 rounded-xl bg-white/70 border border-white/90 text-gray-500 hover:text-gray-900 hover:bg-white transition-colors inline-flex items-center justify-center shadow-sm",children:a.jsx(kp,{size:18,strokeWidth:1.8})}),a.jsx("a",{href:"https://www.instagram.com/arbejd.com1/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"w-10 h-10 rounded-xl bg-white/70 border border-white/90 text-gray-500 hover:text-gray-900 hover:bg-white transition-colors inline-flex items-center justify-center shadow-sm",children:a.jsx(Vp,{size:18,strokeWidth:1.8})}),a.jsx("a",{href:"https://www.linkedin.com/company/arbejd-com/posts/?feedView=all",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"w-10 h-10 rounded-xl bg-white/70 border border-white/90 text-gray-500 hover:text-gray-900 hover:bg-white transition-colors inline-flex items-center justify-center shadow-sm",children:a.jsx(Qp,{size:18,strokeWidth:1.8})})]})]})}),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"})]})]})]})})}function nl({activeTab:c=null,activeHowItem:n=null,activeTipsItem:o=null}){const[d,h]=v.useState(!1);v.useEffect(()=>{if(!d)return;const z=document.body.style.overflow;document.body.style.overflow="hidden";function k(G){G.key==="Escape"&&h(!1)}return window.addEventListener("keydown",k),()=>{document.body.style.overflow=z,window.removeEventListener("keydown",k)}},[d]),v.useEffect(()=>{function z(){window.innerWidth>990&&h(!1)}return window.addEventListener("resize",z),()=>window.removeEventListener("resize",z)},[]);const f="text-base font-normal transition-colors outline-none drop-shadow-sm",D=`${f} text-gray-900`,B=`${f} text-gray-600 hover:text-gray-900`;return 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("img",{src:W0,alt:"Arbejd logo",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 object-cover"}),a.jsxs("span",{className:"text-xl font-normal tracking-tight text-gray-900",children:["ARBEJD",a.jsx("span",{className:"text-base",children:".com"})]})]}),a.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[a.jsx("a",{href:"/for-jobsogere",className:c==="how"||n==="jobseekers"?D:B,children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",className:c==="pricing"?D:B,children:"Priser"}),a.jsx("a",{href:"/kontakt",className:B,children:"Kontakt"})]}),a.jsxs("div",{className:"hidden md:flex items-center gap-4",children:[a.jsx("a",{href:"https://app.arbejd.com/",className:"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:"https://app.arbejd.com/welcome",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:"md:hidden w-10 h-10 rounded-full bg-white/60 border border-white/80 flex items-center justify-center","aria-expanded":d,"aria-label":d?"Luk menu":"Åbn menu",onClick:()=>h(z=>!z),children:a.jsx("iconify-icon",{icon:d?"solar:close-circle-linear":"solar:hamburger-menu-linear",className:"text-xl text-gray-800",style:{strokeWidth:1.8}})}),d?a.jsxs("div",{className:"md:hidden absolute top-full right-4 mt-2 w-[min(320px,calc(100vw-2rem))] rounded-2xl border border-white/80 bg-gradient-to-br from-white/92 to-white/70 backdrop-blur-2xl shadow-[0_20px_45px_rgba(0,0,0,0.1)] p-2 flex flex-col gap-1",children:[a.jsx("a",{href:"/for-jobsogere",className:"px-3 py-2.5 rounded-xl hover:bg-white text-gray-700",children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",className:"px-3 py-2.5 rounded-xl hover:bg-white text-gray-700",children:"Priser"}),a.jsx("a",{href:"/kontakt",className:"px-3 py-2.5 rounded-xl hover:bg-white text-gray-700",children:"Kontakt"}),a.jsx("a",{href:"https://app.arbejd.com/",className:"px-3 py-2.5 rounded-xl hover:bg-white text-gray-700",children:"Log ind"}),a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"px-3 py-2.5 rounded-xl bg-gray-900 text-white",children:"Opret dig"})]}):null]})}const ld="/assets/screen1-DC5nwwU7.png",X0="/assets/screen2-BZb_brya.png";function ie({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const t1=["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"],a1=Array.from({length:36},(c,n)=>{const o=Math.floor(n/9),d=n%9,h=Math.min(92,Math.max(6,10+o*22+n*13%9-4)),f=Math.min(96,Math.max(4,6+d*11+n*17%7-3));return{id:n,src:`https://i.pravatar.cc/60?img=${n%70+1}`,top:h,left:f,duration:5+n%5,delay:-(n%7)*.8}}),b0=["Elektriker","Kok","Tjener","Pædagog","SOSU-hjælper","Sygeplejerske","Murer","Tømrer","Lagermedarbejder","Butiksassistent","Rengøringsassistent","Chauffør","Kontorassistent","Receptionist","Mekaniker","Maler","VVS-montør","Bager"];function l1(){return 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.jsx(nl,{}),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(ie,{icon:"solar:magic-stick-3-linear",className:"text-base",style:{strokeWidth:1.5}}),"FREMTIDENS JOBSØGNING"]}),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.com",a.jsx("br",{}),"Din hurtigste vej til",a.jsx("br",{}),"dit næste job"]}),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:"CV, ansøgninger, jobmatch og interviewtræning samlet ét sted med din personlige AI-assistent."}),a.jsxs("a",{href:"https://app.arbejd.com",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(ie,{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:t1.map((c,n)=>a.jsx("img",{src:c,alt:`Virksomhedslogo ${n+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}-${n}`))})]})}),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-store"}),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-store [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-store 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:ld,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(ie,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{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:X0,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(ie,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[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:["Nu i App Store",a.jsx("br",{}),"og Google Play"]}),a.jsx("p",{className:"text-lg text-gray-600 mb-10 font-normal leading-relaxed drop-shadow-sm",children:"Du kan nu bruge Arbejd.com direkte fra mobilen. Download appen og få adgang til jobsøgning, CV og samtaletræning, uanset hvor du er."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[a.jsxs("a",{href:"https://apps.apple.com/dk/app/arbejd-com/id1466763785",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-3 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:[a.jsx(ie,{icon:"mdi:apple",className:"text-2xl"}),a.jsx("span",{className:"text-sm font-medium tracking-wide",children:"Download på App Store"})]}),a.jsxs("a",{href:"https://play.google.com/store/apps/details?id=arbejd.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-3 px-6 py-3.5 bg-white/70 backdrop-blur-xl text-gray-900 rounded-2xl border border-white/90 shadow-[0_8px_25px_rgba(15,23,42,0.08)] hover:bg-white transition-all outline-none",children:[a.jsx(ie,{icon:"mdi:google-play",className:"text-xl text-teal-600"}),a.jsx("span",{className:"text-sm font-medium tracking-wide",children:"Hent i Google Play"})]})]})]}),a.jsxs("div",{className:"relative w-full md:w-[112%] lg:w-[118%] md:-mr-[6%] lg:-mr-[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-black overflow-hidden shadow-[inset_0_0_10px_rgba(0,0,0,0.1)] border border-gray-800/50 isolate",style:{WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:[a.jsxs("div",{className:"absolute inset-0 bg-black overflow-y-auto homepage-no-scrollbar pb-16",children:[a.jsx("div",{className:"h-16 w-full"}),a.jsxs("div",{className:"flex gap-4 px-5 pb-4",children:[a.jsx("div",{className:"w-24 h-24 rounded-[1.4rem] bg-gradient-to-br from-indigo-500 to-teal-400 p-[1px] shrink-0 shadow-lg",children:a.jsx("div",{className:"w-full h-full bg-gray-900/20 backdrop-blur-sm rounded-[1.3rem] flex items-center justify-center",children:a.jsx(ie,{icon:"solar:case-minimalistic-linear",className:"text-4xl text-white drop-shadow-md",style:{strokeWidth:1.5}})})}),a.jsxs("div",{className:"flex flex-col pt-1 w-full",children:[a.jsx("h1",{className:"text-white text-xl tracking-tight font-medium leading-tight",children:"Arbejd.com"}),a.jsx("p",{className:"text-gray-400 text-xs mt-0.5",children:"Ansæt & find jobs"}),a.jsxs("div",{className:"mt-auto flex items-center justify-between",children:[a.jsx("button",{type:"button",className:"bg-blue-600 text-white text-sm font-medium rounded-full px-5 py-1.5",children:"HENT"}),a.jsx(ie,{icon:"solar:export-linear",className:"text-blue-500 text-xl",style:{strokeWidth:1.5}})]})]})]}),a.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-y border-gray-800/60 mt-2",children:[a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("span",{className:"text-gray-500 text-xs font-medium tracking-wide uppercase",children:"1.2K anmeld."}),a.jsx("span",{className:"text-gray-300 text-lg font-medium",children:"4.8"}),a.jsxs("div",{className:"flex text-gray-500 text-xs gap-0.5 mt-0.5",children:[a.jsx(ie,{icon:"solar:star-linear",className:"text-white",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:star-linear",className:"text-white",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:star-linear",className:"text-white",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:star-linear",className:"text-white",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:star-linear",className:"text-white",style:{strokeWidth:1.5}})]})]}),a.jsx("div",{className:"w-px h-8 bg-gray-800/60"}),a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("span",{className:"text-gray-500 text-xs font-medium tracking-wide uppercase",children:"Alder"}),a.jsx("span",{className:"text-gray-300 text-lg font-medium",children:"4+"}),a.jsx("span",{className:"text-gray-500 text-xs mt-1",children:"År"})]}),a.jsx("div",{className:"w-px h-8 bg-gray-800/60"}),a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("span",{className:"text-gray-500 text-xs font-medium tracking-wide uppercase",children:"Hitliste"}),a.jsx("span",{className:"text-gray-300 text-lg font-medium",children:"#1"}),a.jsx("span",{className:"text-gray-500 text-xs mt-1",children:"Erhverv"})]})]}),a.jsx("div",{className:"mt-5",children:a.jsxs("div",{className:"flex gap-3 overflow-x-auto px-5 pb-4 snap-x snap-mandatory homepage-no-scrollbar",children:[a.jsxs("div",{className:"w-48 h-[22rem] rounded-[1.5rem] bg-[#0a0a0a] border border-gray-800 shrink-0 snap-center relative overflow-hidden flex flex-col items-center pt-6 px-4",children:[a.jsx("div",{className:"w-full text-left text-white/90 text-sm font-medium mb-4",children:"Find jobs"}),a.jsx("div",{className:"w-full h-24 rounded-xl bg-gray-900 border border-gray-800 mb-3 relative overflow-hidden",children:a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-indigo-500/10 to-teal-500/10"})}),a.jsx("div",{className:"w-full h-12 rounded-lg bg-gray-900 border border-gray-800 mb-2"}),a.jsx("div",{className:"w-full h-12 rounded-lg bg-gray-900 border border-gray-800"})]}),a.jsxs("div",{className:"w-48 h-[22rem] rounded-[1.5rem] bg-[#0a0a0a] border border-gray-800 shrink-0 snap-center relative overflow-hidden flex flex-col items-center pt-6 px-4",children:[a.jsx("div",{className:"w-full text-left text-white/90 text-sm font-medium mb-4",children:"Håndter talent"}),a.jsxs("div",{className:"w-full h-16 rounded-xl bg-gray-900 border border-gray-800 mb-2 flex items-center px-3 gap-3",children:[a.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-800"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-gray-800"})]}),a.jsxs("div",{className:"w-full h-16 rounded-xl bg-gray-900 border border-gray-800 mb-2 flex items-center px-3 gap-3",children:[a.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-800"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-gray-800"})]}),a.jsxs("div",{className:"w-full h-16 rounded-xl bg-gray-900 border border-gray-800 mb-2 flex items-center px-3 gap-3",children:[a.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-800"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-gray-800"})]})]})]})}),a.jsxs("div",{className:"px-5 mt-2 pb-8",children:[a.jsx("h2",{className:"text-white text-sm font-medium mb-2",children:"Beskrivelse"}),a.jsx("p",{className:"text-gray-400 text-xs leading-relaxed font-normal",children:"Arbejd.com er den ultimative platform til at finde jobs og ansætte de bedste freelancere. Uanset om du vil fremme din karriere eller opbygge dit drømmehold, forbinder vi dig med de rigtige muligheder globalt."})]})]}),a.jsx("div",{className:"absolute top-0 inset-x-0 h-24 bg-gradient-to-b from-black/80 via-black/40 to-transparent z-10 pointer-events-none"}),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-xs 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(ie,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:battery-charge-linear",className:"text-sm",style:{strokeWidth:1.5}})]})]}),a.jsx("div",{className:"absolute bottom-0 inset-x-0 h-16 bg-gradient-to-t from-black/80 to-transparent z-10 pointer-events-none"}),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-store z-10",children:[a.jsx("div",{className:"absolute -right-[2px] top-32 w-1 h-24 bg-white/30 border border-white/40 rounded-r-md shadow-sm"}),a.jsx("div",{className:"absolute -right-[2px] top-64 w-1 h-12 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-[#121212] overflow-hidden shadow-[inset_0_0_10px_rgba(0,0,0,0.1)] border border-gray-800/50 isolate",style:{WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:[a.jsxs("div",{className:"absolute inset-0 bg-[#121212] overflow-y-auto homepage-no-scrollbar pb-16",children:[a.jsxs("div",{className:"flex items-center justify-between px-4 pt-14 pb-3 text-white/90",children:[a.jsx(ie,{icon:"solar:arrow-left-linear",className:"text-xl",style:{strokeWidth:1.5}}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx(ie,{icon:"solar:magnifer-linear",className:"text-xl",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:menu-dots-vertical-linear",className:"text-xl",style:{strokeWidth:1.5}})]})]}),a.jsxs("div",{className:"flex gap-5 px-5 pt-1 pb-5",children:[a.jsx("div",{className:"w-20 h-20 rounded-[1.2rem] bg-gradient-to-br from-indigo-500 to-teal-400 p-[1px] shrink-0 shadow-md",children:a.jsx("div",{className:"w-full h-full bg-gray-900/20 backdrop-blur-sm rounded-[1.1rem] flex items-center justify-center",children:a.jsx(ie,{icon:"solar:case-minimalistic-linear",className:"text-3xl text-white drop-shadow-md",style:{strokeWidth:1.5}})})}),a.jsxs("div",{className:"flex flex-col justify-center",children:[a.jsx("h1",{className:"text-white text-xl tracking-tight font-medium leading-tight",children:"Arbejd.com - Jobs"}),a.jsx("span",{className:"text-teal-400 text-sm font-normal mt-0.5",children:"Arbejd Inc."}),a.jsx("span",{className:"text-gray-400 text-xs mt-1",children:"Indeholder annoncer · Køb i appen"})]})]}),a.jsxs("div",{className:"flex items-center justify-center gap-6 px-5 py-2",children:[a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsxs("div",{className:"flex items-center gap-1 text-white text-sm font-medium",children:["4.8 ",a.jsx(ie,{icon:"solar:star-linear",className:"text-xs",style:{strokeWidth:1.5}})]}),a.jsx("span",{className:"text-gray-400 text-xs mt-0.5",children:"1M anmeldelser"})]}),a.jsx("div",{className:"w-px h-6 bg-gray-700/60"}),a.jsxs("div",{className:"flex flex-col items-center text-white text-sm font-medium",children:["10M+",a.jsx("span",{className:"text-gray-400 text-xs font-normal mt-0.5",children:"Downloads"})]}),a.jsx("div",{className:"w-px h-6 bg-gray-700/60"}),a.jsxs("div",{className:"flex flex-col items-center text-white text-sm font-medium",children:[a.jsx("div",{className:"border border-white/60 rounded-[3px] px-1 text-xs leading-tight mt-0.5",children:"E"}),a.jsx("span",{className:"text-gray-400 text-xs font-normal mt-0.5",children:"Alle"})]})]}),a.jsx("div",{className:"px-5 py-5",children:a.jsx("button",{type:"button",className:"w-full bg-[#01875F] text-white text-sm font-medium py-2.5 rounded-full transition-colors",children:"Installer"})}),a.jsx("div",{className:"mt-1",children:a.jsxs("div",{className:"flex gap-3 overflow-x-auto px-5 pb-4 snap-x snap-mandatory homepage-no-scrollbar",children:[a.jsxs("div",{className:"w-[140px] h-[260px] rounded-xl bg-[#1c1c1c] border border-white/5 shrink-0 snap-center relative overflow-hidden flex flex-col pt-5 px-3",children:[a.jsx("div",{className:"w-full text-left text-white/90 text-sm font-medium mb-4",children:"Udforsk"}),a.jsxs("div",{className:"flex gap-2 mb-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-[#2a2a2a]"}),a.jsx("div",{className:"flex-1 h-10 rounded-lg bg-[#2a2a2a]"})]}),a.jsx("div",{className:"w-full h-16 rounded-lg bg-[#2a2a2a] mb-2"}),a.jsx("div",{className:"w-full h-16 rounded-lg bg-[#2a2a2a]"})]}),a.jsxs("div",{className:"w-[140px] h-[260px] rounded-xl bg-[#1c1c1c] border border-white/5 shrink-0 snap-center relative overflow-hidden flex flex-col pt-5 px-3",children:[a.jsx("div",{className:"w-full text-left text-white/90 text-sm font-medium mb-4",children:"Beskeder"}),a.jsxs("div",{className:"w-full h-12 rounded-lg bg-[#2a2a2a] mb-2 flex items-center px-2 gap-2",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-[#3a3a3a]"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-[#3a3a3a]"})]}),a.jsxs("div",{className:"w-full h-12 rounded-lg bg-[#2a2a2a] mb-2 flex items-center px-2 gap-2",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-[#3a3a3a]"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-[#3a3a3a]"})]}),a.jsxs("div",{className:"w-full h-12 rounded-lg bg-[#2a2a2a] mb-2 flex items-center px-2 gap-2",children:[a.jsx("div",{className:"w-6 h-6 rounded-full bg-[#3a3a3a]"}),a.jsx("div",{className:"flex-1 h-2 rounded bg-[#3a3a3a]"})]})]})]})}),a.jsxs("div",{className:"px-5 mt-2 pb-8",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("h2",{className:"text-white text-sm font-medium",children:"Om denne app"}),a.jsx(ie,{icon:"solar:arrow-right-linear",className:"text-white text-lg",style:{strokeWidth:1.5}})]}),a.jsx("p",{className:"text-gray-400 text-xs leading-relaxed font-normal",children:"Kom i kontakt med tusindvis af fagfolk. Find fjernarbejde, freelanceopgaver og kontraktarbejde globalt på Arbejd.com."})]})]}),a.jsx("div",{className:"absolute top-0 inset-x-0 h-20 bg-gradient-to-b from-[#121212]/90 via-[#121212]/50 to-transparent z-10 pointer-events-none"}),a.jsx("div",{className:"absolute top-3.5 left-1/2 -translate-x-1/2 w-5 h-5 bg-[#0a0a0a] border border-black/80 rounded-full z-50 shadow-[inset_0_0_4px_rgba(0,0,0,0.8)] flex items-center justify-center",children:a.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-900 shadow-[inset_0_0_2px_rgba(255,255,255,0.1)] flex items-center justify-center",children:a.jsx("div",{className:"w-1 h-1 rounded-full bg-teal-500/30 blur-[0.5px]"})})}),a.jsxs("div",{className:"absolute top-0 inset-x-0 h-12 flex items-center justify-between px-6 pt-1 z-40 text-xs font-medium text-white/95",children:[a.jsx("span",{children:"10:00"}),a.jsxs("div",{className:"flex items-center gap-1.5 drop-shadow-md",children:[a.jsx(ie,{icon:"solar:wi-fi-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:cellular-network-linear",className:"text-xs",style:{strokeWidth:1.5}}),a.jsx(ie,{icon:"solar:battery-charge-linear",className:"text-sm",style:{strokeWidth:1.5}})]})]}),a.jsx("div",{className:"absolute bottom-0 inset-x-0 h-16 bg-gradient-to-t from-[#121212]/90 to-transparent z-10 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-2 left-1/2 -translate-x-1/2 w-1/4 h-[3px] bg-white/90 rounded-full z-50 shadow-sm"})]})]})]})]})]})}),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.jsx("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:"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.jsx("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:"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.jsx("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:"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"})]})]})]})})]})]}),null,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:"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 mb-10 relative z-10",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(ie,{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."]})]}),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.jsxs("div",{className:"mb-8 flex items-center gap-3",children:[a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"49 kr"}),a.jsx("span",{className:"inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-teal-50 text-teal-700 border border-teal-200",children:"1,63 kr/dag"})]}),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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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.jsxs("div",{className:"mb-8 relative z-10 flex items-center gap-3",children:[a.jsx("span",{className:"text-5xl font-medium text-white tracking-tight drop-shadow-md",children:"129 kr"}),a.jsx("span",{className:"inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-white/15 text-teal-200 border border-white/20",children:"1,43 kr/dag"})]}),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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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(ie,{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.jsxs("section",{className:"py-24 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40 relative",children:[a.jsx("div",{className:"max-w-5xl mx-auto text-center relative z-10 mb-10",children:a.jsx("h2",{className:"text-2xl md:text-4xl font-medium tracking-tight text-gradient-subtle leading-tight",children:"48.000 har allerede fundet deres job gennem Arbejd.com så hvorfor ikke lade jobbet finde dig? ✨"})}),a.jsx("div",{className:"max-w-5xl mx-auto relative",children:a.jsxs("div",{className:"relative h-[360px] sm:h-[420px] rounded-[2.5rem] bg-gradient-to-br from-white/65 to-white/20 border border-white/70 backdrop-blur-2xl shadow-[0_12px_40px_rgba(0,0,0,0.05)] overflow-visible",children:[a.jsx("div",{className:"absolute -top-20 -left-16 w-56 h-56 rounded-full bg-teal-300/25 blur-[70px] pointer-events-none"}),a.jsx("div",{className:"absolute -bottom-20 -right-16 w-64 h-64 rounded-full bg-indigo-300/20 blur-[80px] pointer-events-none"}),a1.map(c=>a.jsx("div",{className:"homepage-avatar-float group absolute w-[30px] h-[30px]",style:{top:`${c.top}%`,left:`${c.left}%`,animationDuration:`${c.duration}s`,animationDelay:`${c.delay}s`},children:a.jsxs("div",{className:"relative -translate-x-1/2 -translate-y-1/2",children:[a.jsx("div",{className:"w-[30px] h-[30px] rounded-full bg-white/45 backdrop-blur-xl border border-white/80 shadow-[0_8px_18px_rgba(15,23,42,0.12)] overflow-hidden transition-transform duration-300 group-hover:scale-[1.35] group-hover:z-30",children:a.jsx("img",{src:c.src,alt:`Profil ${c.id+1}`,className:"w-full h-full object-cover",loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"})}),a.jsxs("div",{className:`pointer-events-none absolute top-full mt-2 whitespace-nowrap rounded-xl border border-white/80 bg-white/75 backdrop-blur-xl px-3 py-1.5 text-[11px] font-medium text-gray-700 shadow-[0_10px_25px_rgba(15,23,42,0.12)] opacity-0 translate-y-1 transition-all duration-200 group-hover:opacity-100 group-hover:translate-y-0 ${c.left<18?"left-0":c.left>82?"right-0":"left-1/2 -translate-x-1/2"}`,children:["Fandt job: ",b0[c.id%b0.length]]})]})},c.id))]})})]}),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(ie,{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("a",{href:"https://app.arbejd.com",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(ie,{icon:"solar:arrow-right-linear",className:"text-xl",style:{strokeWidth:1.5}})]})]})]})})]}),a.jsx(il,{})]})}function Ai(c){return c instanceof Date?c.toISOString():typeof c=="string"?c:""}function v0(c){const n=[c.road,c.houseNum,c.zip,c.zipName].filter(o=>typeof o=="string"&&o.trim().length>0).join(" ");return{id:c.id,title:c.title??"Job",companyName:c.hiringCompanyName??"Ukendt virksomhed",occupationName:c.occupation?.name??"",address:n||c.zipName||"Ukendt adresse",description:c.description??"",applicationDeadline:Ai(c.applicationDeadline),websiteUrl:c.applicationUrl||c.hiringCompanyUrl||"",logoUrl:c.logoUrl||"",fromJobnet:!0,isSaved:!1,isApplied:!!c.applied,isFullTime:typeof c.isFullTime=="boolean"?c.isFullTime:null,workTimes:Array.isArray(c.workTimes)?c.workTimes:[],contactName:c.contactName??"",hiringCompanyName:c.hiringCompanyName??"",datePosted:Ai(c.datePosted),employmentDate:Ai(c.employmentDate),startAsSoonAsPossible:typeof c.startAsSoonAsPossible=="boolean"?c.startAsSoonAsPossible:null,numberOfPositions:typeof c.numberOfPositions=="number"?c.numberOfPositions:null}}function j0(c,n){return{id:c,title:n.title??"Job",companyName:n.companyName??"Ukendt virksomhed",occupationName:n.position??"",address:"",description:[n.descriptionIntro,n.descriptionPosition,n.descriptionOffer].filter(o=>typeof o=="string"&&o.trim().length>0).join(`
`),applicationDeadline:Ai(n.applicationDeadline),websiteUrl:n.website??"",logoUrl:"",fromJobnet:!1,isSaved:!1,isApplied:!!n.appliedJob,isFullTime:null,workTimes:Array.isArray(n.workTimes)?n.workTimes:[],contactName:"",hiringCompanyName:n.companyName??"",datePosted:"",employmentDate:Ai(n.fromDate),startAsSoonAsPossible:null,numberOfPositions:typeof n.numberOfPositions=="number"?n.numberOfPositions:null}}class s1{constructor(n=new nd){this.jobService=n}async getDetail(n,o){if(o)try{const d=await this.jobService.getJobNetJobDetail(n);return v0(d)}catch{const d=await this.jobService.getJobDetail(n);return j0(n,d)}try{const d=await this.jobService.getJobDetail(n);return j0(n,d)}catch{const d=await this.jobService.getJobNetJobDetail(n);return v0(d)}}async toggleBookmark(n,o,d){const h=o?"star":"arbejd.com";await this.jobService.bookmarkJobV2(n,d,h)}async markAsApplied(n,o){if(o){await this.jobService.toggleApplyJobnetjob(n,!0);return}await this.jobService.applyJob(n)}}function i1(c){return c.trim().slice(0,1).toUpperCase()||"A"}function Yc(c){if(!c)return"Ikke angivet";const n=new Date(c);return Number.isNaN(n.getTime())?c:new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(n)}function n1(c){if(!c.trim())return"";if(typeof window>"u")return c;const o=new DOMParser().parseFromString(c,"text/html");o.querySelectorAll("script, style, iframe, object, embed, link, meta").forEach(d=>d.remove());for(const d of Array.from(o.body.querySelectorAll("*")))for(const h of Array.from(d.attributes)){const f=h.name.toLowerCase(),B=h.value.trim().toLowerCase();if(f.startsWith("on")){d.removeAttribute(h.name);continue}if((f==="href"||f==="src")&&B.startsWith("javascript:")){d.removeAttribute(h.name);continue}(f==="style"||f==="srcdoc")&&d.removeAttribute(h.name)}return o.body.innerHTML}function r1(c){return c.isFullTime===!0?"Fuldtid":c.isFullTime===!1?"Deltid":c.workTimes.length>0?"Fleksibel arbejdstid":"Ikke oplyst"}function o1({fromJobnet:c,jobId:n,onBack:o,onLogout:d,onNavigate:h,onToggleTheme:f,theme:D}){const B=v.useMemo(()=>new s1,[]),z=v.useMemo(()=>new vr,[]),[k,G]=v.useState({name:"Lasse"}),[E,H]=v.useState(null),[R,te]=v.useState(!0),[Y,me]=v.useState(""),[oe,ge]=v.useState(!1),[W,ne]=v.useState(!1),[P,Q]=v.useState(!1),[X,ae]=v.useState(!1);v.useEffect(()=>{let I=!0;async function Se(){te(!0),me("");const[Ne,se]=await Promise.allSettled([z.getCandidateProfile(),B.getDetail(n,c)]);I&&(Ne.status==="fulfilled"&&G(Ne.value),se.status==="fulfilled"?(H(se.value),ge(!!se.value.isSaved),ne(!!se.value.isApplied)):(H(null),me("Kunne ikke hente jobdetaljer. Proev igen.")),te(!1))}return Se(),()=>{I=!1}},[B,c,n,z]);async function he(){if(!(!E||P)){Q(!0);try{await B.toggleBookmark(E.id,E.fromJobnet,!oe),ge(I=>!I)}finally{Q(!1)}}}async function F(){if(!(!E||W||X)){ae(!0);try{await B.markAsApplied(E.id,E.fromJobnet),ne(!0)}finally{ae(!1)}}}const le=v.useMemo(()=>n1(E?.description??""),[E?.description]);return a.jsxs("section",{className:`dash-root ${D==="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(ra,{active:"jobs",onNavigate:h}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(oa,{name:k.name,imageUrl:k.imageUrl,onLogout:d,theme:D,onToggleTheme:f}),a.jsx("div",{className:"job-detail-back-row",children:a.jsxs("button",{type:"button",className:"job-detail-back-btn",onClick:o,children:[a.jsx(Ei,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til jobs"})]})}),R?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobdetaljer..."}):null,!R&&Y?a.jsx("p",{className:"dash-loading",children:Y}):null,!R&&E?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"job-detail-header",children:[a.jsx("div",{className:"job-detail-logo-wrap",children:E.logoUrl?a.jsx("img",{src:E.logoUrl,alt:E.companyName,className:"job-detail-logo-image"}):a.jsx("div",{className:"job-detail-logo-fallback",children:i1(E.companyName)})}),a.jsxs("div",{className:"job-detail-heading",children:[a.jsx("h1",{children:E.title||"Jobdetaljer"}),a.jsxs("div",{className:"job-detail-meta",children:[a.jsxs("span",{children:[a.jsx(Xc,{size:14,strokeWidth:1.8})," ",E.companyName||"Virksomhed"]}),a.jsxs("span",{children:[a.jsx(Di,{size:14,strokeWidth:1.8})," ",E.address||"Lokation ikke angivet"]}),a.jsxs("span",{children:[a.jsx(Fc,{size:14,strokeWidth:1.8})," ",r1(E)]})]})]})]}),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"}),le?a.jsx("div",{className:"job-detail-rich-html",dangerouslySetInnerHTML:{__html:le}}):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:Yc(E.applicationDeadline)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Opslået"}),a.jsx("strong",{children:Yc(E.datePosted)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Startdato"}),a.jsx("strong",{children:Yc(E.employmentDate)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stillinger"}),a.jsx("strong",{children:E.numberOfPositions??"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kontaktperson"}),a.jsx("strong",{children:E.contactName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Kilde"}),a.jsx("strong",{children:E.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(Li,{size:16,strokeWidth:1.8})," Generer ansøgning"]}),a.jsx(Ol,{size:14,strokeWidth:1.8})]}),a.jsxs("button",{type:"button",className:"job-detail-action-secondary",children:[a.jsxs("span",{children:[a.jsx(Sb,{size:16,strokeWidth:1.8})," Simuler jobsamtale"]}),a.jsx(Ol,{size:14,strokeWidth:1.8})]}),a.jsx("div",{className:"job-detail-action-divider"}),a.jsxs("button",{type:"button",className:"job-detail-text-action",onClick:()=>{he()},disabled:P,children:[a.jsx(Bx,{size:16,strokeWidth:1.8}),oe?"Fjern fra gemte jobs":"Gem job"]}),a.jsxs("button",{type:"button",className:"job-detail-text-action",children:[a.jsx(pr,{size:16,strokeWidth:1.8}),"Del via email"]}),E.websiteUrl?a.jsxs("a",{href:E.websiteUrl,target:"_blank",rel:"noreferrer",className:"job-detail-text-action link",children:[a.jsx(zi,{size:16,strokeWidth:1.8}),"Åbn på nettet"]}):null,a.jsxs("button",{type:"button",className:W?"job-detail-text-action success is-done":"job-detail-text-action success",onClick:()=>{F()},disabled:W||X,children:[a.jsx(tt,{size:16,strokeWidth:1.8}),W?"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:E.hiringCompanyName||E.companyName||"Ukendt"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Stilling"}),a.jsx("strong",{children:E.occupationName||"Ikke angivet"})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Website"}),a.jsx("strong",{children:E.websiteUrl||"Ikke angivet"})]})]})]})]})]})]}):null]})]})}const y0=[2,4,6,8,10,12,24],c1=[{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 d1(c){return c.trim().slice(0,1).toUpperCase()||"A"}function k0(c){return c.address.toLowerCase().includes("remote")?"Remote":typeof c.candidateDistance=="number"?`${Math.max(0,Math.round(c.candidateDistance))} km vaek`:c.address||"Lokation ikke angivet"}function u1(c){return c.companyLogoImage||c.logoUrl||""}function N0({item:c}){const[n,o]=v.useState(!1),d=u1(c);return d.length>0&&!n?a.jsx("div",{className:"jobs-card-logo jobs-card-logo-image-wrap",children:a.jsx("img",{src:d,alt:c.companyName||"Virksomhed",className:"jobs-card-logo-image",onError:()=>o(!0)})}):a.jsx("div",{className:"jobs-card-logo",children:d1(c.companyName)})}function m1(c){return c.workTypePartTime?"deltid":"fast"}function h1({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new vr,[]),[D,B]=v.useState({name:"Lasse"}),[z,k]=v.useState(""),[G,E]=v.useState("sidebar"),[H,R]=v.useState("fast"),[te,Y]=v.useState(15),[me,oe]=v.useState(24),[ge,W]=v.useState(["Frontend-udvikler","UX/UI Designer"]),[ne,P]=v.useState(""),[Q,X]=v.useState([]),[ae,he]=v.useState(!0),[F,le]=v.useState(6),I=v.useCallback(async()=>{try{const g=await f.getTabItems("jobs");X(g),le(6)}catch{X([]),le(6)}},[f]);v.useEffect(()=>{let g=!0;async function N(){try{const O=await f.getSavedFilter();if(!g)return;R(m1(O)),Y(O.workDistance??15),oe(O.partTimeHours??24),k(O.distanceCenterName??"")}catch{}if(await I(),g){const O=await f.getCandidateProfile();g&&B(O),he(!1)}}return N(),()=>{g=!1}},[I,f]);async function Se(){const g={escoIds:[],workTypePermanent:H==="fast",workTypePartTime:H==="deltid",workDistance:te,partTimeHours:H==="deltid"?me:null,distanceCenterName:z,latitude:null,longitude:null};he(!0);try{const N=await f.applyFiltersAndGetJobs(g,{searchText:z,desiredTitles:ge});X(N),le(6)}catch{X([]),le(6)}he(!1)}const Ne=Q.length>0?Q:c1,se=Ne.slice(0,Math.min(F,Ne.length)),p=F<Ne.length;function C(){E(g=>g==="sidebar"?"top":"sidebar")}function j(g){W(N=>N.filter(O=>O!==g))}function q(g){const N=g.trim();N&&(W(O=>O.includes(N)?O:[...O,N]),P(""))}function Z(){le(g=>Math.min(g+6,Ne.length))}return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(ra,{active:"jobs",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar",children:[a.jsx(oa,{name:D.name,imageUrl:D.imageUrl,onLogout:c,theme:h,onToggleTheme:d,actions:a.jsxs("button",{type:"button",className:"jobs-layout-toggle",onClick:C,children:[G==="sidebar"?a.jsx(V0,{size:16,strokeWidth:1.8}):a.jsx(U0,{size:16,strokeWidth:1.8}),a.jsx("span",{children:G==="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."})]}),G==="sidebar"?a.jsxs("div",{className:"jobs-grid",children:[a.jsxs("aside",{className:"jobs-filter dash-card",children:[a.jsxs("h2",{children:[a.jsx(Xc,{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(hr,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Frontend Udvikler...",value:z,onChange:g=>k(g.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:[ge.map(g=>a.jsxs("span",{className:"jobs-title-chip",children:[g,a.jsx("button",{type:"button",onClick:()=>j(g),"aria-label":`Fjern ${g}`,children:a.jsx(Ti,{size:12,strokeWidth:2})})]},g)),a.jsx("input",{type:"text",value:ne,onChange:g=>P(g.target.value),onKeyDown:g=>{g.key==="Enter"&&(g.preventDefault(),q(ne))},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:()=>q("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:()=>q("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>q("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>q("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:()=>q("Product Manager"),children:a.jsx("span",{children:"Product Manager"})})]})]})]}),a.jsx("div",{className:"jobs-separator"}),a.jsxs("div",{className:"jobs-filter-block",children:[a.jsx("label",{children:"Ansaettelsestype"}),a.jsxs("div",{className:"jobs-radio-grid",children:[a.jsx("button",{type:"button",className:H==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>R("fast"),children:"Fast (Fuldtid)"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>R("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:[te," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:te,onChange:g=>Y(Number(g.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:y0.map(g=>a.jsx("button",{type:"button",className:me===g?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>oe(g),children:g},g))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn",onClick:()=>{Se()},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 ",Q.length>0?Q.length:142," resultater"]})]}),ae?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards",children:se.map(g=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(g.id,g.fromJobnet,"jobs"),onKeyDown:N=>{(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),o(g.id,g.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(N0,{item:g})}),a.jsxs("div",{className:"jobs-card-title",children:[a.jsx("h3",{children:g.title||"Stilling"}),a.jsx("p",{children:g.companyName||"Virksomhed"})]}),a.jsx("p",{className:"jobs-card-description",children:g.descriptionIntro||"Beskrivelse er ikke tilgaengelig endnu."}),a.jsxs("div",{className:"jobs-card-bottom",children:[a.jsxs("div",{className:"jobs-card-distance",children:[g.address.toLowerCase().includes("remote")?a.jsx(td,{size:15,strokeWidth:1.8}):a.jsx(ad,{size:15,strokeWidth:1.8}),a.jsx("span",{children:k0(g)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:N=>{N.stopPropagation(),o(g.id,g.fromJobnet,"jobs")},children:a.jsx(Ol,{size:16,strokeWidth:1.8})})]})]},g.id))}),a.jsx("div",{className:"jobs-load-more-wrap",children:a.jsx("button",{type:"button",className:"jobs-load-more",onClick:Z,disabled:!p,children:p?"Indlaes flere jobs":"Alle jobs er vist"})})]})]}):a.jsxs("section",{className:"jobs-top-layout",children:[a.jsxs("div",{className:"jobs-top-filters dash-card",children:[a.jsxs("div",{className:"jobs-top-filter-title",children:[a.jsx(Xc,{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(hr,{size:16,strokeWidth:1.8}),a.jsx("input",{type:"text",placeholder:"F.eks. Lunar, React...",value:z,onChange:g=>k(g.target.value)})]})]}),a.jsxs("div",{className:"jobs-filter-block no-margin",children:[a.jsx("label",{children:"Ansaettelsestype"}),a.jsxs("div",{className:"jobs-radio-grid",children:[a.jsx("button",{type:"button",className:H==="fast"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>R("fast"),children:"Fast"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>R("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:[te," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:te,onChange:g=>Y(Number(g.target.value))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn jobs-top-apply",onClick:()=>{Se()},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:[ge.map(g=>a.jsxs("span",{className:"jobs-title-chip",children:[g,a.jsx("button",{type:"button",onClick:()=>j(g),"aria-label":`Fjern ${g}`,children:a.jsx(Ti,{size:12,strokeWidth:2})})]},g)),a.jsx("input",{type:"text",value:ne,onChange:g=>P(g.target.value),onKeyDown:g=>{g.key==="Enter"&&(g.preventDefault(),q(ne))},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:()=>q("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:()=>q("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>q("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>q("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:()=>q("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:y0.map(g=>a.jsx("button",{type:"button",className:me===g?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>oe(g),children:g},g))})]})]}),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 ",Q.length>0?Q.length:142," resultater"]})]}),ae?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards jobs-cards-top",children:se.map(g=>a.jsxs("article",{className:"jobs-card",role:"button",tabIndex:0,onClick:()=>o(g.id,g.fromJobnet,"jobs"),onKeyDown:N=>{(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),o(g.id,g.fromJobnet,"jobs"))},children:[a.jsx("div",{className:"jobs-card-top",children:a.jsx(N0,{item:g})}),a.jsxs("div",{className:"jobs-card-title",children:[a.jsx("h3",{children:g.title||"Stilling"}),a.jsx("p",{children:g.companyName||"Virksomhed"})]}),a.jsx("p",{className:"jobs-card-description",children:g.descriptionIntro||"Beskrivelse er ikke tilgaengelig endnu."}),a.jsxs("div",{className:"jobs-card-bottom",children:[a.jsxs("div",{className:"jobs-card-distance",children:[g.address.toLowerCase().includes("remote")?a.jsx(td,{size:15,strokeWidth:1.8}):a.jsx(ad,{size:15,strokeWidth:1.8}),a.jsx("span",{children:k0(g)})]}),a.jsx("button",{type:"button",className:"jobs-card-arrow","aria-label":"Se job",onClick:N=>{N.stopPropagation(),o(g.id,g.fromJobnet,"jobs")},children:a.jsx(Ol,{size:16,strokeWidth:1.8})})]})]},g.id))}),a.jsx("div",{className:"jobs-load-more-wrap",children:a.jsx("button",{type:"button",className:"jobs-load-more",onClick:Z,disabled:!p,children:p?"Indlaes flere jobs":"Alle jobs er vist"})})]})]})]})]})}function fr(c){if(!c)return 0;const o=(c instanceof Date?c:new Date(c)).getTime();return Number.isNaN(o)?0:o}function Z0(c){if(!c)return"--:--";const n=c instanceof Date?c:new Date(c);return Number.isNaN(n.getTime())?"--:--":new Intl.DateTimeFormat("da-DK",{hour:"2-digit",minute:"2-digit"}).format(n)}function g1(c){if(!c)return"";const n=c instanceof Date?c:new Date(c);if(Number.isNaN(n.getTime()))return"";const o=new Date,d=1440*60*1e3,h=Math.floor((new Date(o.getFullYear(),o.getMonth(),o.getDate()).getTime()-new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime())/d);return h===0?Z0(n):h===1?"I går":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short"}).format(n)}function f1(c){const n=new Date,o=new Date(c.getFullYear(),c.getMonth(),c.getDate()),d=new Date(n.getFullYear(),n.getMonth(),n.getDate()),h=Math.floor((d.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(c)}function Si(c){return!c.fromCandidate&&!c.seen}function w0(c){return c.allMessages.filter(Si).length}function ki(c){return c.companyLogoUrl||c.companyLogo||""}function x1(c){return{...c,allMessages:[...c.allMessages??[]].sort((n,o)=>fr(n.timeSent)-fr(o.timeSent))}}function S0(){const c=new Date,n=new Date(c.getTime()-600*1e3),o=new Date(c.getTime()-7200*1e3),d=(D,B,z,k,G)=>({threadId:D,text:B,fromCandidate:z,timeSent:k,seen:G}),h=[d("thread-techcorp","Hej Lasse! Mange tak for din ansøgning.",!1,o),d("thread-techcorp","Mange tak, det lyder rigtig spændende.",!0,new Date(o.getTime()+1200*1e3),new Date(o.getTime()+1800*1e3)),d("thread-techcorp","Vi vil gerne invitere dig til samtale.",!1,n)],f=[d("thread-lunar","Mange tak for din opdaterede portefølje.",!1,new Date(c.getTime()-1560*60*1e3),new Date(c.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:f,latestMessage:f[f.length-1],title:"Senior UX Designer",messagesLoaded:!0,jobPostingId:"job-2",jobPosting:void 0,isFromSupport:!1}]}function p1({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new Q0,[]),[f,D]=v.useState("Lasse"),[B,z]=v.useState(void 0),[k,G]=v.useState([]),[E,H]=v.useState(!0),[R,te]=v.useState(""),[Y,me]=v.useState("all"),[oe,ge]=v.useState(""),[W,ne]=v.useState(""),[P,Q]=v.useState(()=>typeof window<"u"?window.innerWidth<=1e3:!1),[X,ae]=v.useState("threads");v.useEffect(()=>{let p=!0;async function C(){H(!0);try{const j=await h.getCandidateProfile();p&&(D(j.name),z(j.imageUrl));const q=await h.getThreads();if(!p)return;const Z=(q.length>0?q:S0()).map(x1);G(Z),ge(Z[0]?.id||"")}catch{if(!p)return;const j=S0();G(j),ge(j[0]?.id||"")}finally{p&&H(!1)}}return C(),()=>{p=!1}},[h]),v.useEffect(()=>{function p(){const C=window.innerWidth<=1e3;Q(C),C?oe||ae("threads"):ae("chat")}return p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[oe]);const he=v.useMemo(()=>{const p=R.trim().toLowerCase();return k.filter(C=>Y==="unread"&&w0(C)===0||Y==="companies"&&C.isFromSupport?!1:p?C.companyName.toLowerCase().includes(p)||(C.latestMessage?.text||"").toLowerCase().includes(p):!0)},[Y,R,k]),F=v.useMemo(()=>k.find(p=>p.id===oe)||he[0],[oe,he,k]),le=v.useMemo(()=>[...F?.allMessages||[]].sort((p,C)=>fr(p.timeSent)-fr(C.timeSent)),[F]);async function I(p){ge(p.id),P&&ae("chat");const C=[...p.allMessages].reverse().find(j=>Si(j));C?.id&&(h.markThreadReadByMessageId(C.id),G(j=>j.map(q=>q.id!==p.id?q:{...q,allMessages:q.allMessages.map(Z=>Si(Z)?{...Z,seen:new Date}:Z)})))}function Se(){ae("threads")}async function Ne(){const p=k.flatMap(C=>C.allMessages).filter(C=>Si(C)&&!!C.id);await Promise.all(p.map(C=>h.markThreadReadByMessageId(C.id))),G(C=>C.map(j=>({...j,allMessages:j.allMessages.map(q=>Si(q)?{...q,seen:new Date}:q)})))}async function se(){const p=W.trim();if(!F||!p)return;const C={threadId:F.id,text:p,fromCandidate:!0,timeSent:new Date};ne(""),G(j=>j.map(q=>{if(q.id!==F.id)return q;const Z=[...q.allMessages,C];return{...q,allMessages:Z,latestMessage:C}}));try{const j=await h.sendMessage(F.id,p);G(q=>q.map(Z=>{if(Z.id!==F.id)return Z;const N=[...Z.allMessages.filter(O=>O!==C),j];return{...Z,allMessages:N,latestMessage:j}}))}catch{}}return a.jsxs("section",{className:`dash-root ${d==="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(ra,{active:"messages",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar msg-main",children:[a.jsx(oa,{name:f,imageUrl:B,onLogout:c,theme:d,onToggleTheme:o}),a.jsxs("div",{className:"msg-head",children:[a.jsxs("div",{children:[a.jsx("h1",{children:"Beskeder"}),a.jsx("p",{children:"Kommuniker med virksomheder og hold styr på dine ansøgninger."})]}),a.jsxs("button",{type:"button",className:"msg-mark-btn",onClick:()=>{Ne()},children:[a.jsx(Zx,{size:16,strokeWidth:1.8})," Marker alle som læst"]})]}),a.jsxs("div",{className:`msg-layout ${P&&X==="chat"?"mobile-chat":"mobile-threads"}`,children:[!P||X==="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(hr,{size:16,strokeWidth:1.8}),a.jsx("input",{value:R,onChange:p=>te(p.target.value),type:"text",placeholder:"Søg i beskeder..."})]}),a.jsxs("div",{className:"msg-filter-row",children:[a.jsx("button",{type:"button",className:Y==="all"?"active":"",onClick:()=>me("all"),children:"Alle"}),a.jsx("button",{type:"button",className:Y==="unread"?"active":"",onClick:()=>me("unread"),children:"Ulæste"}),a.jsx("button",{type:"button",className:Y==="companies"?"active":"",onClick:()=>me("companies"),children:"Virksomheder"})]})]}),a.jsxs("div",{className:"msg-thread-list custom-scrollbar",children:[E?a.jsx("p",{className:"dash-loading",children:"Indlaeser beskeder..."}):null,!E&&he.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen tråde fundet."}):null,he.map(p=>{const C=w0(p),j=F?.id===p.id,q=ki(p);return a.jsxs("button",{type:"button",className:j?"msg-thread-item active":"msg-thread-item",onClick:()=>{I(p)},children:[a.jsxs("div",{className:"msg-thread-avatar-wrap",children:[q?a.jsx("img",{src:q,alt:p.companyName,className:"msg-thread-avatar"}):a.jsx("div",{className:"msg-thread-avatar-fallback",children:p.companyName.slice(0,1).toUpperCase()}),a.jsx("span",{className:"msg-thread-online"})]}),a.jsxs("div",{className:"msg-thread-content",children:[a.jsxs("div",{className:"msg-thread-row",children:[a.jsx("h3",{children:p.companyName}),a.jsx("span",{children:g1(p.latestMessage?.timeSent)})]}),a.jsx("p",{className:C>0?"unread":"",children:p.latestMessage?.text||"Ingen beskeder endnu"}),a.jsx("small",{children:p.title||"Stilling"})]}),C>0?a.jsx("div",{className:"msg-thread-unread",children:C}):null]},p.id)})]})]}):null,!P||X==="chat"?a.jsxs("section",{className:"msg-chat",children:[a.jsx("div",{className:"msg-chat-head",children:F?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"msg-chat-company",children:[P?a.jsx("button",{type:"button",className:"msg-mobile-back-btn",onClick:Se,"aria-label":"Tilbage til beskeder",children:a.jsx(Ei,{size:16,strokeWidth:1.9})}):null,ki(F)?a.jsx("img",{src:ki(F),alt:F.companyName,className:"msg-chat-avatar"}):a.jsx("div",{className:"msg-chat-avatar-fallback",children:F.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{children:[a.jsx("h2",{children:F.companyName}),a.jsx("p",{children:F.title||"Rekruttering"})]})]}),a.jsxs("div",{className:"msg-chat-actions",children:[a.jsx("button",{type:"button","aria-label":"Ring",children:a.jsx(fb,{size:16,strokeWidth:1.8})}),a.jsx("button",{type:"button","aria-label":"Info",children:a.jsx(Op,{size:16,strokeWidth:1.8})})]})]}):a.jsx("h2",{children:"Vælg en samtale"})}),a.jsx("div",{className:"msg-chat-body custom-scrollbar",children:le.map((p,C)=>{const j=p.timeSent instanceof Date?p.timeSent:new Date(p.timeSent),q=C>0?le[C-1]:void 0,Z=q?.timeSent instanceof Date?q.timeSent:q?.timeSent?new Date(q.timeSent):void 0,g=!Z||j.toDateString()!==Z.toDateString();return a.jsxs("div",{children:[g?a.jsx("div",{className:"msg-day-sep",children:f1(j)}):null,a.jsxs("div",{className:p.fromCandidate?"msg-bubble-row mine":"msg-bubble-row",children:[p.fromCandidate?null:ki(F)?a.jsx("img",{src:ki(F),alt:F.companyName,className:"msg-mini-avatar"}):a.jsx("div",{className:"msg-mini-avatar msg-mini-avatar-fallback",children:F.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{className:"msg-bubble-wrap",children:[a.jsx("span",{className:"msg-time",children:Z0(p.timeSent)}),a.jsx("div",{className:p.fromCandidate?"msg-bubble mine":"msg-bubble",children:p.text})]})]})]},`${p.threadId}-${C}`)})}),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(ub,{size:18,strokeWidth:1.8})}),a.jsx("textarea",{rows:1,value:W,onChange:p=>ne(p.target.value),onKeyDown:p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),se())},placeholder:"Skriv din besked her..."}),a.jsx("button",{type:"button","aria-label":"Emoji",children:a.jsx(Ub,{size:18,strokeWidth:1.8})}),a.jsxs("button",{type:"button",className:"msg-send-btn",onClick:()=>{se()},children:["Send ",a.jsx(Mb,{size:15,strokeWidth:1.8})]})]})})]}):null]})]})]})}function be({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function De({children:c,dark:n=!1,small:o=!1,circle:d=!1}){const h=o?"flex items-start gap-3 text-sm leading-snug":"flex items-start gap-3 text-base leading-snug";return d?a.jsxs("li",{className:`${h} ${n?"text-gray-300":"text-gray-700"}`,children:[a.jsx(be,{icon:"solar:check-circle-linear",className:`text-lg ${n?"text-teal-400":"text-teal-500"} flex-shrink-0 mt-0.5`,style:{strokeWidth:1.5}}),a.jsx("span",{children:c})]}):a.jsxs("li",{className:`${h} ${n?"text-gray-300":"text-gray-700"}`,children:[a.jsx("div",{className:`w-6 h-6 rounded-full ${n?"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(be,{icon:"solar:check-read-linear",className:"text-sm text-white",style:{strokeWidth:2}})}),a.jsx("span",{children:c})]})}function b1(){const[c]=v.useState("jobseekers"),n=c==="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.jsx(nl,{activeTab:"pricing",activeHowItem:n?"jobseekers":"companies"}),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:n?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:n?"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.jsx("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 ${n?"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 text-gray-900 bg-white shadow-sm border border-gray-100",children:"For jobsøgere"})}),n?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(be,{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]}),n?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(De,{children:"Gratis oprettelse"}),a.jsx(De,{children:"Adgang til over 20.000 jobopslag"}),a.jsx(De,{children:"Ansøg med ét klik"}),a.jsx(De,{children:"Søgefiltre der passer til din profil"}),a.jsx(De,{children:"Chat support"}),a.jsx(De,{children:"Dashboard med overblik over søgte stillinger, igangværende samtaler med virksomheder og din profil"}),a.jsx(De,{children:"Notifikationer med matches"}),a.jsx(De,{children:"Øget synlighed bliv fundet af virksomheder"})]}),a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(be,{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(De,{dark:!0,children:"Upload dit CV - Systemet strukturerer automatisk dine erfaringer, uddannelse og kompetencer"}),a.jsx(De,{dark:!0,children:"Optimer dit CV - Få intelligente forslag til forbedringer fra formulering og layout til synliggørelse af dine styrker."}),a.jsx(De,{dark:!0,children:"Download et professionelt CV - Ét klik og du har et klart, overskueligt og arbejdsgiver-klart CV i hånden"}),a.jsx(De,{dark:!0,children:"Karriereagent - Få personlige anbefalinger til opkvalificering, videreuddannelse og skræddersyede jobveje"}),a.jsx(De,{dark:!0,children:"Systemet genererer både CV og ansøgning til din jobsøgning klar til brug og tilpasning."})]}),a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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.jsxs("div",{className:"mb-8 flex items-center gap-3",children:[a.jsx("span",{className:"text-5xl font-medium text-gray-900 tracking-tight",children:"49 kr"}),a.jsx("span",{className:"inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-teal-50 text-teal-700 border border-teal-200",children:"1,63 kr/dag"})]}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1",children:[a.jsx(De,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(De,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(De,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(De,{small:!0,circle:!0,children:"Job simulatoren træn til din jobsamtale"})]}),a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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.jsxs("div",{className:"mb-8 relative z-10 flex items-center gap-3",children:[a.jsx("span",{className:"text-5xl font-medium text-white tracking-tight drop-shadow-md",children:"129 kr"}),a.jsx("span",{className:"inline-flex items-center px-2.5 py-1 rounded-full text-xs font-medium bg-white/15 text-teal-200 border border-white/20",children:"1,43 kr/dag"})]}),a.jsxs("ul",{className:"space-y-4 mb-8 flex-1 relative z-10",children:[a.jsx(De,{small:!0,dark:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(De,{small:!0,dark:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(De,{small:!0,dark:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(De,{small:!0,dark:!0,circle:!0,children:"Job simulatoren træn til din jobsamtale"}),a.jsx(De,{small:!0,dark:!0,circle:!0,children:"Spar 18 kr. i forhold til 30 dage"})]}),a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(be,{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(be,{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(De,{small:!0,circle:!0,children:"Fuld adgang til alle Premium funktioner"}),a.jsx(De,{small:!0,circle:!0,children:"Download et professionelt CV"}),a.jsx(De,{small:!0,circle:!0,children:"Karriereagent med personlige anbefalinger"}),a.jsx(De,{small:!0,circle:!0,children:"Job simulatoren træn til din jobsamtale"})]}),a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(De,{dark:!0,children:"Gratis annonceoprettelse"}),a.jsx(De,{dark:!0,children:"Ubegrænset antal annoncer"}),a.jsx(De,{dark:!0,children:"Fuld adgang til kandidater og ansøgere"}),a.jsx(De,{dark:!0,children:"Chat support"}),a.jsx(De,{dark:!0,children:"SaaS-løsning til sortering, screening og match"}),a.jsx(De,{dark:!0,children:"SaaS-løsning til afslag- og beskedsystem"})]}),a.jsxs("div",{className:"mt-auto relative z-10",children:[a.jsx("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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("a",{href:"https://app.arbejd.com",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 inline-flex items-center justify-center",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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(be,{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(il,{})]})}function El({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function sd(c){return c.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/æ/g,"ae").replace(/ø/g,"oe").replace(/å/g,"aa").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}const xr=[{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."}],v1=[{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."}],j1={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 y1(){const c=v.useMemo(()=>window.location.pathname,[]),[n,o]=v.useState(c==="/academy"?"academy":"dict"),[d,h]=v.useState(""),f=n==="dict",D=d.trim().toLowerCase(),B=v.useMemo(()=>D?xr.filter(z=>z.title.toLowerCase().includes(D)):xr,[D]);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.jsx(nl,{activeTab:"tips",activeTipsItem:"jobordbogen"}),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(El,{icon:f?"solar:notebook-bookmark-linear":"solar:videocamera-record-linear",className:`text-base ${f?"text-teal-600":"text-indigo-600"}`,style:{strokeWidth:1.5}}),f?"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:f?"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:f?"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 ${f?"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 ${f?"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 ${f?"translate-x-0":"translate-x-full"}`})]}),f&&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(El,{icon:"solar:magnifer-linear",className:"text-xl text-teal-600 flex-shrink-0",style:{strokeWidth:1.5}}),a.jsx("input",{type:"search",value:d,onChange:z=>h(z.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"}),d&&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(El,{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:`${f?"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:B.map(z=>{const k=j1[z.accent];return a.jsxs("a",{href:`/jobordbogen/${sd(z.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 ${k.card}`,children:a.jsx(El,{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 ${k.hover}`,children:z.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:z.body}),a.jsxs("div",{className:`mt-auto flex items-center gap-2 text-sm font-medium transition-colors ${k.card.split(" ").at(-1)} ${k.hoverStrong}`,children:["Se definitionen",a.jsx(El,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},z.title)})}),B.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:`${f?"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:v1.map(z=>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:z.image,alt:z.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 ${z.color==="teal"?"group-hover:bg-teal-500 group-hover:border-teal-400":z.color==="indigo"?"group-hover:bg-indigo-500 group-hover:border-indigo-400":z.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(El,{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:z.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 ${z.color==="teal"?"text-teal-700 bg-teal-100/80 border-teal-200/50":z.color==="indigo"?"text-indigo-700 bg-indigo-100/80 border-indigo-200/50":z.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:z.badge}),a.jsxs("span",{className:"flex items-center gap-1 text-sm text-gray-500 font-medium",children:[a.jsx(El,{icon:"solar:eye-linear"})," ",z.views]})]}),a.jsx("h3",{className:`text-2xl font-medium text-gray-900 mb-3 transition-colors cursor-pointer tracking-tight ${z.color==="teal"?"group-hover:text-teal-600":z.color==="indigo"?"group-hover:text-indigo-600":z.color==="amber"?"group-hover:text-amber-600":"group-hover:text-rose-600"}`,children:z.title}),a.jsx("p",{className:"text-gray-600 font-normal leading-relaxed text-base flex-1",children:z.body})]})]},z.title))})})]})]}),a.jsx(il,{})]})}function Ni({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function k1(){const n=v.useMemo(()=>window.location.pathname,[]).split("/").filter(Boolean).at(-1)??"",o=v.useMemo(()=>xr.find(h=>sd(h.title)===n)??null,[n]),d=v.useMemo(()=>xr.filter(h=>h.title!==o?.title).slice(0,3),[o?.title]);return 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.jsx(nl,{activeTab:"tips",activeTipsItem:"jobordbogen"}),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(Ni,{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(Ni,{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(Ni,{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:d.map(h=>a.jsxs("a",{href:`/jobordbogen/${sd(h.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(Ni,{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:h.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:h.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(Ni,{icon:"solar:arrow-right-linear",className:"text-lg group-hover:translate-x-1 transition-transform",style:{strokeWidth:1.5}})]})]},h.title))})]})]})]}),a.jsx(il,{})]}):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 Ma({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const N1=[{image:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=600&q=80",audience:"For jobansøgere",episodes:"2 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=600&q=80",audience:"For jobansøgere",episodes:"8 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=600&q=80",audience:"For jobansøgere",episodes:"4 Episoder",tone:"teal"},{image:"https://images.unsplash.com/photo-1552664730-d307ca884978?w=600&q=80",audience:"For virksomheder",episodes:"4 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1557804506-669a67965ba0?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1543269664-56d74c658cce?w=600&q=80",audience:"For virksomheder",episodes:"5 Episoder",tone:"amber"},{image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=600&q=80",audience:"For virksomheder",episodes:"3 Episoder",tone:"amber"}];function w1(){return 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.jsx(nl,{activeTab:"tips",activeTipsItem:"stories"}),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(Ma,{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(Ma,{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(Ma,{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(Ma,{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(Ma,{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(Ma,{icon:"solar:bolt-linear",className:"text-3xl text-amber-500",style:{strokeWidth:1.5}})}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Autentiske råd"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Snack-sized videoer direkte fra inspirerende arbejdsgivere og jobsøgende Danmark over"})]}),a.jsx("section",{className:"pb-32 px-6 lg:px-12 max-w-7xl mx-auto relative z-10",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:N1.map((c,n)=>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:c.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(Ma,{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 ${c.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(Ma,{icon:"solar:magnifer-linear",className:"text-lg text-indigo-500",style:{strokeWidth:1.5}}),c.audience]}),a.jsxs("div",{className:"flex items-center gap-3 text-sm text-gray-600 font-normal",children:[a.jsx(Ma,{icon:"solar:clapperboard-play-linear",className:"text-lg text-cyan-500",style:{strokeWidth:1.5}}),c.episodes]})]})]})]},`${c.image}-${n}`))})})]}),a.jsx(il,{})]})}function Nt({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function S1(){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 Ll({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const _1=["https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b30019b62383f496b96e_DKM.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b300089747750fea09bd_find%20job%20abroad.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b302bd1bed78e2c84ebe_Midtfjord.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b302fde5303d3b057be1_JPD.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/60939fdba79df07cd812c88d_gws-logo-300x137.png","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b303b480060b735069de_plast-line.svg","https://cdn.prod.website-files.com/5d4a8e9cc03a64b5d34a42b4/6086b30482be352ae620de93_St%C3%A6rmose.svg","https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=320&q=80","https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=320&q=80","https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=320&q=80"],A1=[{title:"Tømrer",count:"72 kandidater"},{title:"Pædagog",count:"359 kandidater"},{title:"Chauffør",count:"438 kandidater"},{title:"Tjener",count:"836 kandidater"},{title:"Rengøring",count:"1471 kandidater"},{title:"Sygeplejerske",count:"192 kandidater"}],z1=[{icon:"solar:wallet-money-linear",title:"Gratis oprettelse",text:"Hurtig og ubegrænset gratis oprettelse af jobannoncer"},{icon:"solar:bolt-linear",title:"Effektivt",text:"Reducer rekrutteringsudgifter med op til 90%"},{icon:"solar:users-group-two-rounded-linear",title:"1-1 match",text:"Systematiserer, sorterer og matcher op med dine krav"},{icon:"solar:hand-shake-linear",title:"Beslut med et klik",text:"Træf beslutningerne hurtigt og effektivt"},{icon:"solar:lock-keyhole-linear",title:"Ingen begrænsninger",text:"Direkte adgang til ansøgerne og kandidaterne"},{icon:"solar:chat-line-linear",title:"Dialog",text:"Gå i dialog med kandidaterne med det samme"},{icon:"solar:close-circle-linear",title:"Afslå med et klik",text:"Afslag og samtale invitationer sendes med et enkelt klik"},{icon:"solar:hand-money-linear",title:"Nem betaling",text:"Betal kun hvis I ønsker adgang til kontaktoplysninger"},{icon:"solar:graph-up-linear",title:"Automatiseret",text:"Spar tid - ingen manuel screeningsproces"}];function D1(){return a.jsxs("div",{className:"companies-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(nl,{activeTab:"how",activeHowItem:"companies"}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 items-center",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-medium tracking-tight text-gradient-subtle mb-6",children:"Udvælg og ansæt den rigtige medarbejder"}),a.jsx("ul",{className:"space-y-3 mb-8",children:["Gratis oprettelse af jobannoncer","Reducer og undgå fejl- og forgæves rekrutteringer","Sorterer og matcher udbuddet af ansøgere","Indkaldelser og afslag sendes med ét klik"].map(c=>a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700",children:[a.jsx(Ll,{icon:"solar:check-circle-linear",className:"text-xl text-teal-600 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:c})]},c))}),a.jsxs("div",{className:"flex flex-wrap gap-4 mb-5",children:[a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Opret en gratis profil"}),a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-white/70 backdrop-blur-xl text-gray-900 rounded-2xl border border-white/90 shadow-[0_8px_25px_rgba(15,23,42,0.08)] hover:bg-white transition-all outline-none",children:"Opret Virksomhed"})]}),a.jsx("p",{className:"text-sm text-gray-500 mb-4",children:"Oprettelse kan pt. kun ske via bærbar eller desktop. Ved at tilmelde din virksomhed accepterer du samtidigt Arbejd.coms forretningsbetingelser og privatlivspolitik."}),a.jsxs("p",{className:"text-sm text-gray-600 mb-4",children:["Har du allerede en profil? ",a.jsx("a",{href:"https://app.arbejd.com/",className:"text-teal-700 hover:text-teal-900",children:"Log in her"})]}),a.jsxs("div",{className:"p-4 rounded-2xl bg-gradient-to-r from-white/70 to-white/40 border border-white/80 shadow-sm max-w-lg",children:[a.jsx("h3",{className:"text-base font-medium text-gray-900 mb-1",children:"Hjælp til oprettelse?"}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:"Vi sidder klar til at hjælpe dig på telefonen og guider dig igennem oprettelsen."}),a.jsxs("a",{href:"tel:+4542162228",className:"inline-flex items-center gap-2 text-teal-700 font-medium hover:text-teal-900",children:[a.jsx(Ll,{icon:"solar:phone-linear",className:"text-lg",style:{strokeWidth:1.5}}),"Ring På +45 42 16 22 28"]})]})]}),a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"rounded-[2.5rem] bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl border border-white/80 p-5 shadow-[0_12px_40px_rgba(0,0,0,0.05)]",children:a.jsx("img",{src:ld,alt:"A laptop showing the Arbejd.com dashboard",className:"w-full rounded-2xl border border-white/70 shadow-sm"})}),a.jsx("div",{className:"absolute -bottom-8 -right-4 w-[45%] rounded-[2rem] bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl border border-white/80 p-3 shadow-[0_12px_40px_rgba(0,0,0,0.12)]",children:a.jsx("img",{src:X0,alt:"An iPhone showing the Arbejd.com app",className:"w-full rounded-xl border border-white/80"})})]})]})}),a.jsxs("section",{className:"py-14 px-6 lg:px-12 max-w-7xl mx-auto border-y border-white/40 bg-gradient-to-r from-white/10 via-white/30 to-white/10 backdrop-blur-xl",children:[a.jsx("p",{className:"text-center text-sm font-medium text-gray-500 uppercase tracking-widest mb-8",children:"Vi har hjulpet virksomheder over hele Danmark"}),a.jsx("div",{className:"flex flex-wrap justify-center items-center gap-8 md:gap-12 opacity-70 grayscale hover:grayscale-0 transition-all duration-500",children:_1.map((c,n)=>a.jsx("img",{src:c,alt:`Company logo ${n+1}`,className:"h-8 md:h-10 w-auto object-contain",loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"},`${c}-${n}`))})]}),a.jsxs("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-10",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Vi har dygtige kandidater fra alle brancher"}),a.jsx("p",{className:"text-lg text-gray-600",children:"Med over 37.000 kandidater på tværs af hele landet og 22 brancheområder, er der gode muligheder for at finde din næste kollega eller medarbejder."})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4 mb-10",children:A1.map(c=>a.jsxs("div",{className:"rounded-2xl border border-white/80 bg-white/60 backdrop-blur-xl p-4 shadow-sm text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-1.5 text-amber-500 text-xs mb-2",children:[a.jsx(Ll,{icon:"solar:star-linear",className:"text-sm",style:{strokeWidth:1.5}}),a.jsx("span",{children:"2/3 match"})]}),a.jsx("h3",{className:"text-base font-medium text-gray-900",children:c.title}),a.jsx("p",{className:"text-xs text-gray-500 mt-1",children:c.count})]},c.title))}),a.jsx("div",{className:"text-center",children:a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Opret Dig Nu"})})]}),a.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-5",children:"Der er en smartere måde at hyre på"}),a.jsx("p",{className:"text-lg text-gray-600 mb-7",children:"Vores intelligente platform hjælper dig med at screene og hyre kandidater hurtigere. Stop med at spilde hundredvis af timer på at screene kandidater der ikke lever op til stillingens krav. Vi præsenterer dig først for dem der matcher jobbet bedst. Enkelt og tidsbesparende."}),a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Opret Dig Nu"})]}),a.jsxs("div",{className:"relative rounded-[2.5rem] bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl border border-white/80 p-5 shadow-[0_12px_40px_rgba(0,0,0,0.05)]",children:[a.jsx("img",{src:ld,alt:"A snapshot of the Arbejd.com dashboard showing candidates",className:"w-full rounded-2xl border border-white/70"}),a.jsx("div",{className:"absolute -top-6 -right-4 w-16 h-16 rounded-2xl bg-white/80 border border-white/80 shadow-lg flex items-center justify-center animate-float-slow",children:a.jsx(Ll,{icon:"solar:bell-bing-linear",className:"text-3xl text-amber-500",style:{strokeWidth:1.5}})})]})]})}),a.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{className:"order-2 lg:order-1",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-5",children:"Du er igang på få minutter"}),a.jsx("p",{className:"text-lg text-gray-600 mb-7",children:"Screen tusindvis af kandidater ud fra uddannelse, kvalifikationer, afstand til jobbet og andre relevante filtre. Skip telefoninterviews og chat direkte med ansøgerne sikkert og nemt på Arbejd.com."}),a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Opret Dig Nu"})]}),a.jsxs("div",{className:"order-1 lg:order-2 space-y-4",children:[a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:[`Poul
Maskinmester`,`Lene
Kok`,`Pernille
Advokat`,`Troels
Lagermedarbejder`,`Selma
Servicemedarbejder`,`Caroline
Kommunikationsmedarbejder`].map(c=>{const[n,o]=c.split(`
`);return a.jsxs("div",{className:"rounded-xl bg-white/70 border border-white/80 p-3 backdrop-blur-md shadow-sm",children:[a.jsx("p",{className:"text-sm font-medium text-gray-900",children:n}),a.jsx("p",{className:"text-xs text-gray-500",children:o})]},c)})}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:[a.jsx("div",{className:"rounded-xl bg-white/70 border border-white/80 p-3 backdrop-blur-md shadow-sm text-xs text-gray-700",children:"Send besked, favorit og download CV"}),a.jsx("div",{className:"rounded-xl bg-white/70 border border-white/80 p-3 backdrop-blur-md shadow-sm text-xs text-gray-700",children:"Kørekort & certifikater"}),a.jsx("div",{className:"rounded-xl bg-white/70 border border-white/80 p-3 backdrop-blur-md shadow-sm text-xs text-gray-700",children:"Sprog, kvalifikationer og erfaring"})]})]})]})}),a.jsxs("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:[a.jsx("div",{className:"text-center mb-12",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.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:z1.map(c=>a.jsxs("div",{className:"p-6 bg-gradient-to-br from-white/70 to-white/30 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)] 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-4 group-hover:scale-110 transition-transform",children:a.jsx(Ll,{icon:c.icon,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:c.title}),a.jsx("p",{className:"text-base text-gray-600 font-normal leading-relaxed",children:c.text})]},c.title))})]}),a.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:a.jsxs("div",{className:"max-w-4xl mx-auto rounded-[2.5rem] border border-white/80 bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl p-10 shadow-[0_12px_40px_rgba(0,0,0,0.05)] text-center",children:[a.jsx("div",{className:"text-sm font-medium text-teal-700 mb-3",children:"Fra DKK 995/adgang"}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Gratis og ubegrænset oprettelse"}),a.jsx("p",{className:"text-lg text-gray-600 mb-8",children:"Arbejd.com er anderledes. Du får gratis adgang til vores SaaS-løsning samt ubegrænset oprettelse af annoncer. Så kan du finde dine kandidater hurtigt og effektivt. Du betaler først, når du vil i kontakt med ansøgerne."}),a.jsx("a",{href:"/pricing",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Se Priserne"})]})}),a.jsxs("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:[a.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[a.jsx("div",{className:"text-xs uppercase tracking-widest text-teal-700 font-medium mb-3",children:"For virksomheder"}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Det behøver ikke være svært at finde relevante kandidater"}),a.jsx("p",{className:"text-lg text-gray-600",children:"Du kan oprette så mange jobopslag du ønsker og screene relevante kandidater, helt gratis. Du betaler altså først når du ønsker at tage kontakt til en jobansøger. Se vores prismodeller her."})]}),a.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-6",children:[['Når du har oprettet dig som virksomhed, kan du starte dit jobopslag ved at gå til "Annoncer" -> og trykke "Opret annonce". Du guides herefter igennem oprettelsen, og du kan til enhver tid gå til og fra din oprettelse af jobannoncen.',"Du opretter en konto her, hvor du nemt kan udfylde information om din virksomhed. Opret herefter gratis dit jobopslag som helt automatisk matches med alle de relevante kandidater til stillingen.","Ja - modsat konkurrenterne betaler du hos Arbejd.com ingenting for oprettelsen af jobannoncer. Du kan oprette så mange du har lyst til uden betaling. Du betaler først når du ønsker at tage kontakt til en jobansøger. Se vores prismodeller her."].map(c=>a.jsxs("div",{className:"rounded-2xl border border-white/80 bg-white/70 backdrop-blur-xl p-6 shadow-sm md:col-span-1",children:[a.jsx("p",{className:"text-base text-gray-700 leading-relaxed mb-5",children:c}),a.jsxs("div",{className:"text-xs text-gray-500",children:["Senest opdateret",a.jsx("br",{}),"May 5, 2021"]})]},c)),a.jsx("div",{className:"rounded-2xl border border-white/80 bg-white/70 backdrop-blur-xl p-6 shadow-sm flex items-center justify-center md:col-span-2",children:a.jsxs("a",{href:"#",className:"inline-flex items-center gap-2 text-teal-700 hover:text-teal-900 font-medium",children:[a.jsx(Ll,{icon:"solar:alt-arrow-down-linear",className:"text-lg",style:{strokeWidth:1.5}}),"Se Flere Svar"]})})]})]}),a.jsx("section",{className:"pb-24 px-6 lg:px-12 max-w-7xl mx-auto",children:a.jsxs("div",{className:"max-w-4xl mx-auto rounded-[2.5rem] border border-white/80 bg-gradient-to-br from-white/70 to-white/30 backdrop-blur-2xl p-10 shadow-[0_12px_40px_rgba(0,0,0,0.05)] text-center",children:[a.jsx("div",{className:"w-12 h-12 rounded-2xl bg-white/80 border border-white/80 shadow-sm flex items-center justify-center mx-auto mb-4",children:a.jsx(Ll,{icon:"solar:magnifer-linear",className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsx("h3",{className:"text-2xl md:text-3xl font-medium text-gray-900 tracking-tight mb-3",children:"Større virksomhed eller vikar- og rekrutterings-bureau?"}),a.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Kontakt os på +45 42 16 22 28 for en skræddersyet løsning."}),a.jsx("a",{href:"tel:+4542162228",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Ring Nu"})]})})]}),a.jsx(il,{})]})}const T1="/assets/aiagent-iphone-B5AHfCb7.png",M1="/assets/aiagent-mac-DhPX0EH7.png",C1="/assets/cv-iphone-hV3HpnNw.png",E1="/assets/cv-mac-Ck2635qe.png",L1="/assets/jobansogning-iphone-BccOeuOM.png",F0="/assets/jobsearch-iphone-Bzqtiy7D.png",$0="/assets/jobsearch-mac-LE-XqbqC.png",O1="/assets/one-click-iphone-adO28z2F.png",_0="/assets/once-click-mac-t90QYs8F.png",U1="/assets/simulatior-iphone-CYPS90vk.png",V1="/assets/simulator-mac-l_jb8Lal.png";function ks({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function A0({image:c,alt:n,animatedClass:o,children:d}){return a.jsxs("div",{className:`relative shrink-0 w-[260px] h-[540px] rounded-[3rem] p-3 bg-gradient-to-br from-white/35 to-white/10 backdrop-blur-3xl border border-white/50 shadow-[0_20px_45px_rgba(0,0,0,0.12),inset_0_0_20px_rgba(255,255,255,0.5)] ${o??""}`,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.4rem] bg-white overflow-hidden border border-white/70",children:[a.jsx("img",{src:c,alt:n,className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute top-2 left-1/2 -translate-x-1/2 w-[84px] h-[24px] bg-black rounded-full z-10"}),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-10 shadow-sm"})]}),d]})}function z0({image:c,alt:n,animatedClass:o}){return a.jsxs("div",{className:"relative w-full max-w-[560px] mx-auto",children:[a.jsx("div",{className:"hidden sm:block absolute top-2 left-[8%] w-20 h-20 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"}),a.jsx("div",{className:"hidden sm:block absolute bottom-6 right-[8%] w-24 h-24 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 [animation-delay:2s]"}),a.jsxs("div",{className:`relative shrink-0 flex flex-col items-center ${o??"animate-float-desktop"} z-10`,children:[a.jsxs("div",{className:"jobseekers-glass-glare relative w-[320px] h-[230px] sm:w-[460px] sm:h-[310px] md:w-[520px] md:h-[350px] rounded-[2rem] p-3 sm:p-4 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)] z-10 flex flex-col",children:[a.jsx("div",{className:"relative w-full flex-grow rounded-[1.2rem] sm:rounded-[1.4rem] bg-gray-900 overflow-hidden isolate",style:{WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:a.jsx("img",{src:c,alt:n,className:"absolute inset-0 w-full h-full object-cover object-center z-0"})}),a.jsx("div",{className:"w-full h-10 sm:h-14 shrink-0 flex items-center justify-center",children:a.jsx("div",{className:"w-6 h-6 sm:w-8 sm:h-8 rounded-full bg-white/20 border border-white/30 flex items-center justify-center shadow-[inset_0_0_10px_rgba(255,255,255,0.2)]",children:a.jsx("div",{className:"w-2 h-2 sm:w-3 sm:h-3 bg-white/40 rounded-full blur-[1px]"})})})]}),a.jsx("div",{className:"jobseekers-imac-stand-leg relative w-20 sm:w-28 h-14 sm:h-20 -mt-4 bg-gradient-to-b from-white/30 to-white/10 backdrop-blur-md border-x border-white/40 shadow-[0_10px_30px_rgba(0,0,0,0.1)] z-0"}),a.jsx("div",{className:"w-28 sm:w-40 h-2 sm:h-2.5 rounded-full bg-white/40 backdrop-blur-md border border-white/50 shadow-[0_5px_15px_rgba(0,0,0,0.1)] z-0"})]})]})}const R1=[{title:"Job Search",description:"Appen viser de stillinger, der matcher dig bedst, baseret på dit CV, dine kompetencer, ønsket geografi, arbejdstid, branche og de filtre, du selv vælger. Resultaterne bliver løbende forbedret, når du interagerer med opslag og opdaterer dine præferencer.",mobileImage:F0,desktopImage:$0},{title:"CV Management",description:"Tilføj erfaring, uddannelse, kvalifikationer, certifikater, sprog og kørekort i ét samlet flow. Når din profil er komplet, bliver du lettere fundet af relevante arbejdsgivere, og dine ansøgninger står stærkere i match-processen.",mobileImage:C1,desktopImage:E1,pills:[{icon:"solar:case-linear",label:"Erfaring",position:"-top-3 -left-12",tone:"text-teal-700 bg-teal-50 border-teal-200"},{icon:"solar:diploma-linear",label:"Uddannelse",position:"top-20 -right-14",tone:"text-indigo-700 bg-indigo-50 border-indigo-200"},{icon:"solar:star-linear",label:"Kvalifikationer",position:"top-48 -left-16",tone:"text-amber-700 bg-amber-50 border-amber-200"},{icon:"solar:verified-check-linear",label:"Certifikater",position:"bottom-32 -right-16",tone:"text-emerald-700 bg-emerald-50 border-emerald-200"},{icon:"solar:global-linear",label:"Sprog",position:"bottom-16 -left-12",tone:"text-sky-700 bg-sky-50 border-sky-200"},{icon:"solar:card-linear",label:"Kørekort",position:"-bottom-3 right-0",tone:"text-rose-700 bg-rose-50 border-rose-200"}]},{title:"AI-agenter",description:"Dine AI-agenter søger hver dag efter de bedste jobmatches, sender dig relevante notifikationer og giver konkrete anbefalinger til forbedringer i dit CV. Det gør din jobsøgning mere målrettet, uden at du selv skal overvåge alle nye opslag.",mobileImage:T1,desktopImage:M1,pills:[{icon:"solar:bell-bing-linear",label:"Nyt match: Elektriker",position:"-top-4 -left-16",tone:"text-teal-700 bg-teal-50 border-teal-200"},{icon:"solar:document-add-linear",label:"CV-tip: Tilføj certifikat",position:"top-24 -right-24",tone:"text-indigo-700 bg-indigo-50 border-indigo-200"},{icon:"solar:briefcase-linear",label:"Nyt match: Kok",position:"bottom-28 -left-14",tone:"text-amber-700 bg-amber-50 border-amber-200"},{icon:"solar:pen-linear",label:"CV-tip: Mere erfaring",position:"bottom-10 -right-20",tone:"text-emerald-700 bg-emerald-50 border-emerald-200"}]},{title:"Simulator",description:"Simulatoren hjælper dig med at træne jobsamtaler i realistiske scenarier. Efter hver session får du en tydelig evaluering med forbedringspunkter til svar, struktur, gennemslagskraft og forberedelse til den konkrete stilling.",mobileImage:U1,desktopImage:V1},{title:"Generér jobansøgning",description:"Generér en målrettet ansøgning ud fra stillingsopslag, din profil og dine erfaringer. Du får et stærkt første udkast, som er let at tilpasse, så du hurtigere går fra interessant job til klar ansøgning.",mobileImage:L1,desktopImage:_0},{title:"Ansøg med ét klik",description:"Når din profil er sat op, kan du søge relevante stillinger med minimal friktion og følge hele processen ét sted. Du får overblik over gemte jobs, ansøgninger, svar og næste skridt direkte i appen.",mobileImage:O1,desktopImage:_0}],H1=[{icon:"solar:user-id-linear",title:"Profil & præferencer",text:"Vi bruger dine egne profiloplysninger, jobønsker og filtervalg for at vise dig mere relevante stillinger."},{icon:"solar:document-text-linear",title:"CV-indhold",text:"Erfaring, uddannelse, kvalifikationer og certifikater bruges til at forbedre matching, ansøgninger og anbefalinger."},{icon:"solar:bell-bing-linear",title:"Notifikationer",text:"Aktivitet i appen hjælper os med at sende mere præcise notifikationer om nye matches og relevante muligheder."},{icon:"solar:chat-round-line-linear",title:"Samtaleforberedelse",text:"Simulator-feedback bruges til at foreslå konkrete forbedringer, så du står stærkere til den rigtige samtale."},{icon:"solar:shield-check-linear",title:"Kontrol over dine data",text:"Du bestemmer, hvad du udfylder, og kan løbende opdatere din profil, så oplysningerne afspejler din situation."},{icon:"solar:settings-linear",title:"En samlet oplevelse",text:"Alt hænger sammen: jobsøgning, CV, ansøgning, notifikationer og træning i én samlet brugeroplevelse."}];function B1(){const[c,n]=v.useState("mobile");return a.jsxs("div",{className:"jobseekers-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(nl,{activeTab:"how",activeHowItem:"jobseekers"}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto",children:[a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-medium tracking-tight text-gradient-subtle mb-6",children:"Hvorfor ikke lade jobbet finde dig?"}),a.jsx("ul",{className:"space-y-3 mb-8",children:["Opret en profil på under 2 minutter","Få hjælp hele vejen fra oprettelse til job","Søg blandt alle stillinger og brancher"].map(o=>a.jsxs("li",{className:"flex items-start gap-3 text-base text-gray-700",children:[a.jsx(ks,{icon:"solar:check-circle-linear",className:"text-xl text-teal-600 mt-0.5",style:{strokeWidth:1.5}}),a.jsx("span",{children:o})]},o))}),a.jsx("div",{className:"flex flex-wrap gap-4 mb-4",children:a.jsx("a",{href:"https://app.arbejd.com/welcome",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-gray-900 text-white rounded-2xl shadow-[0_8px_25px_rgba(17,24,39,0.22)] hover:bg-gray-800 transition-all outline-none border border-gray-800",children:"Opret Dig"})}),a.jsx("p",{className:"text-sm text-gray-500 mb-3",children:"Eller download Arbejd.com app'en"}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[a.jsxs("a",{href:"https://apps.apple.com/dk/app/arbejd-com/id1466763785",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-2xl bg-white/70 border border-white/80 shadow-sm text-gray-800",children:[a.jsx(ks,{icon:"mdi:apple",className:"text-xl"}),a.jsx("span",{className:"text-sm font-medium",children:"Download from App Store"})]}),a.jsxs("a",{href:"https://play.google.com/store/apps/details?id=arbejd.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-5 py-3 rounded-2xl bg-white/70 border border-white/80 shadow-sm text-gray-800",children:[a.jsx(ks,{icon:"mdi:google-play",className:"text-lg text-teal-600"}),a.jsx("span",{className:"text-sm font-medium",children:"Download from Google Play"})]})]})]}),a.jsxs("div",{className:"relative flex justify-center",children:[a.jsxs("div",{className:`transition-[opacity,transform,filter] duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[opacity,transform,filter] ${c==="mobile"?"relative opacity-100 translate-y-0 scale-100 blur-0":"absolute inset-0 opacity-0 translate-y-3 scale-[0.985] blur-[1px] pointer-events-none"}`,children:[a.jsx(A0,{image:F0,alt:"Arbejd.com app showing a list of jobs",animatedClass:"animate-float-phone"}),a.jsx("div",{className:"absolute -bottom-6 right-0 w-20 h-20 rounded-2xl bg-white/80 border border-white/80 shadow-lg flex items-center justify-center animate-float-soft",children:a.jsx(ks,{icon:"solar:case-minimalistic-linear",className:"text-4xl text-teal-600",style:{strokeWidth:1.5}})})]}),a.jsx("div",{className:`transition-[opacity,transform,filter] duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[opacity,transform,filter] ${c==="desktop"?"relative opacity-100 translate-y-0 scale-100 blur-0":"absolute inset-0 opacity-0 translate-y-3 scale-[0.985] blur-[1px] pointer-events-none"}`,children:a.jsx(z0,{image:$0,alt:"Arbejd.com desktopoplevelse"})})]})]}),a.jsx("div",{className:"mt-10 flex justify-center",children: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)]",children:[a.jsx("button",{type:"button",className:`px-6 py-2.5 text-sm md:text-base font-medium rounded-full transition-all outline-none ${c==="mobile"?"text-gray-900 bg-white shadow-sm border border-gray-100":"text-gray-500 hover:text-gray-900"}`,onClick:()=>n("mobile"),children:"Mobil"}),a.jsx("button",{type:"button",className:`px-6 py-2.5 text-sm md:text-base font-medium rounded-full transition-all outline-none ${c==="desktop"?"text-gray-900 bg-white shadow-sm border border-gray-100":"text-gray-500 hover:text-gray-900"}`,onClick:()=>n("desktop"),children:"Desktop"})]})})]}),R1.map((o,d)=>{const h=d%2===1,f=h?"animate-float-phone-alt":"animate-float-phone";return a.jsx("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{className:h?"order-2 lg:order-2":"order-2 lg:order-1",children:[a.jsxs("div",{className:"text-xs uppercase tracking-widest text-teal-700 font-medium mb-3",children:["Feature ",d+1]}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:o.title}),a.jsx("p",{className:"text-lg text-gray-600",children:o.description})]}),a.jsx("div",{className:h?"order-1 lg:order-1 flex justify-center lg:justify-start":"order-1 lg:order-2 flex justify-center lg:justify-end",children:a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:`transition-[opacity,transform,filter] duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[opacity,transform,filter] ${c==="mobile"?"relative opacity-100 translate-y-0 scale-100 blur-0":"absolute inset-0 opacity-0 translate-y-3 scale-[0.985] blur-[1px] pointer-events-none"}`,children:a.jsx(A0,{image:o.mobileImage,alt:o.title,animatedClass:f,children:o.pills?.map(D=>a.jsxs("div",{className:`hidden sm:flex absolute ${D.position} px-3 py-1.5 rounded-full border bg-white/90 backdrop-blur-md shadow-md items-center gap-1.5 text-xs font-medium ${D.tone} animate-float-soft`,children:[a.jsx(ks,{icon:D.icon,className:"text-sm",style:{strokeWidth:1.5}}),a.jsx("span",{children:D.label})]},D.label))})}),a.jsx("div",{className:`transition-[opacity,transform,filter] duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[opacity,transform,filter] ${c==="desktop"?"relative opacity-100 translate-y-0 scale-100 blur-0":"absolute inset-0 opacity-0 translate-y-3 scale-[0.985] blur-[1px] pointer-events-none"}`,children:a.jsx(z0,{image:o.desktopImage,alt:`${o.title} desktop visning`})})]})})]})},o.title)}),a.jsxs("section",{className:"py-20 px-6 lg:px-12 max-w-7xl mx-auto border-t border-white/40",children:[a.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-10",children:[a.jsx("div",{className:"text-xs uppercase tracking-widest text-teal-700 font-medium mb-3",children:"Sådan fungerer oplevelsen"}),a.jsx("h2",{className:"text-3xl md:text-4xl font-medium tracking-tight text-gradient-subtle mb-4",children:"Hele app-oplevelsen samlet ét sted"}),a.jsx("p",{className:"text-lg text-gray-600",children:"Arbejd.com kombinerer jobsøgning, profil, ansøgninger og interviewtræning i én platform. Her er, hvordan vi bruger information til at gøre oplevelsen mere relevant for dig."})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:H1.map(o=>a.jsxs("div",{className:"p-6 bg-gradient-to-br from-white/70 to-white/30 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)] 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-4 group-hover:scale-110 transition-transform",children:a.jsx(ks,{icon:o.icon,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:o.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed",children:o.text})]},o.title))})]})]}),a.jsx(il,{})]})}function q1({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const G1=["Priser","Premium","CV-optimering","Jobsøgning","Match-algoritme","Interviewtræning","AI-agent","Jobnotifikationer","Virksomhedsprofil","Annonceoprettelse","Ansøgerflow","Integrationer","API-adgang","Data & sikkerhed","GDPR","Brugeradgang","Onboarding","Opsigelse","Faktura","Betaling","Support","Bug rapport","Feature-ønske","Partnerskab","Presse","Nyhedsbrev","Teknisk hjælp","Skift plan","Demo","Andet"],J1=G1.map((c,n)=>{const o=Math.floor(n/5),d=n%5,h=Math.min(90,Math.max(8,12+o*14+n*11%8-3)),f=Math.min(92,Math.max(8,10+d*18+n*17%10-4));return{label:c,top:h,left:f,duration:4.8+n%5*.7,delay:-(n%7)*.65}});function Y1(){return a.jsxs("div",{className:"contact-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 contact-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.jsx(nl,{}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"pt-24 pb-12 px-6 lg:px-12 max-w-7xl mx-auto text-center",children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-medium tracking-tight text-gradient-subtle mb-5",children:"Kontakt os"}),a.jsx("p",{className:"text-lg md:text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"Har du spørgsmål om platformen, priser eller samarbejde? Send os en besked, så vender vi hurtigt tilbage."})]}),a.jsx("section",{className:"pb-24 px-6 lg:px-12 max-w-7xl mx-auto w-full",children:a.jsxs("div",{className:"contact-grid-shell grid grid-cols-1 lg:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"relative h-full min-h-[520px] rounded-[2.5rem] bg-gradient-to-br from-white/65 to-white/20 border border-white/70 backdrop-blur-2xl shadow-[0_12px_40px_rgba(0,0,0,0.05)] overflow-hidden",children:[a.jsx("div",{className:"absolute -top-20 -left-16 w-56 h-56 rounded-full bg-teal-300/25 blur-[70px] pointer-events-none"}),a.jsx("div",{className:"absolute -bottom-20 -right-16 w-64 h-64 rounded-full bg-indigo-300/20 blur-[80px] pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 pl-[5px]",children:J1.map((c,n)=>a.jsx("div",{className:"absolute contact-floating-pill",style:{top:`${c.top}%`,left:`${c.left}%`,animationDuration:`${c.duration}s`,animationDelay:`${c.delay}s`},children:a.jsx("div",{className:"relative -translate-x-1/2 -translate-y-1/2",children:a.jsx("span",{className:"inline-flex items-center px-3 py-1.5 rounded-full bg-white/75 backdrop-blur-xl border border-white/80 text-xs md:text-sm text-gray-700 shadow-[0_10px_25px_rgba(15,23,42,0.12)] whitespace-nowrap",children:c.label})})},`${c.label}-${n}`))})]}),a.jsxs("div",{className:"h-full rounded-[2.5rem] p-8 md:p-10 bg-gradient-to-br from-white/75 to-white/35 backdrop-blur-2xl border border-white/80 shadow-[0_12px_40px_rgba(0,0,0,0.05)]",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-gray-900 tracking-tight mb-3",children:"Send en besked"}),a.jsx("p",{className:"text-base text-gray-600",children:"Fortæl os kort, hvad du har brug for hjælp til."})]}),a.jsxs("form",{className:"space-y-5",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"contact-name",className:"block text-sm font-medium text-gray-700 mb-2",children:"Navn"}),a.jsx("input",{id:"contact-name",type:"text",placeholder:"Dit navn",className:"w-full px-4 py-3 rounded-2xl bg-white/80 border border-white/90 text-gray-900 placeholder:text-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-300 focus:border-teal-200 shadow-sm"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"contact-email",className:"block text-sm font-medium text-gray-700 mb-2",children:"E-mail"}),a.jsx("input",{id:"contact-email",type:"email",placeholder:"navn@eksempel.dk",className:"w-full px-4 py-3 rounded-2xl bg-white/80 border border-white/90 text-gray-900 placeholder:text-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-300 focus:border-teal-200 shadow-sm"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"contact-message",className:"block text-sm font-medium text-gray-700 mb-2",children:"Besked"}),a.jsx("textarea",{id:"contact-message",rows:7,placeholder:"Skriv din besked her...",className:"w-full px-4 py-3 rounded-2xl bg-white/80 border border-white/90 text-gray-900 placeholder:text-gray-500 focus:outline-none focus:ring-2 focus:ring-teal-300 focus:border-teal-200 shadow-sm resize-none"})]}),a.jsxs("button",{type:"submit",className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-2xl bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white font-medium border border-gray-700 hover:from-gray-800 hover:to-gray-700 transition-all shadow-[0_8px_20px_rgba(17,24,39,0.2)]",children:["Send besked",a.jsx(q1,{icon:"solar:arrow-right-linear",className:"text-lg",style:{strokeWidth:1.5}})]})]})]})]})})]}),a.jsx(il,{})]})}function I0(c){return typeof c=="object"&&c!==null?c:null}function wt(c){return typeof c=="string"?c:""}function Kc(c){return typeof c=="number"?c:null}function Wc(c){if(typeof c=="boolean")return c;if(typeof c=="string"){const n=c.toLowerCase();if(n==="completed"||n==="done"||n==="true")return!0;if(n==="incomplete"||n==="pending"||n==="false")return!1}return null}function K1(c){if(!c)return"";const n=new Date(c);return Number.isNaN(n.getTime())?"":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short",year:"numeric"}).format(n)}function W1(c,n){const o=I0(c);if(!o)return null;const d=wt(o.id)||wt(o.interview_id)||`interview-${n}`,h=wt(o.job_name)||wt(o.job_title)||wt(o.title)||"Interview",f=wt(o.company_name)||wt(o.companyName)||"Ukendt virksomhed",D=wt(o.interview_date)||wt(o.created_at)||wt(o.updated_at)||wt(o.date),B=Wc(o.is_completed)??Wc(o.completed)??Wc(o.status)??!0,z=Kc(o.duration_minutes)??Kc(o.duration)??Kc(o.length_minutes),k=wt(o.personality_name)||wt(o.simulation_personality_name)||wt(o.personality)||"Professionel";return{id:d,title:h,companyName:f,dateLabel:K1(D),completed:B,durationMinutes:z,personality:k}}class Q1{constructor(n=new vr,o=new rd){this.jobsViewModel=n,this.simulationService=o}async getCandidateProfile(){return this.jobsViewModel.getCandidateProfile()}async getJobs(){try{return await this.jobsViewModel.getTabItems("jobs")}catch{return[]}}async getPersonalities(){try{const n=await this.simulationService.listSimulationPersonalities();return Array.isArray(n)?n:[]}catch{return[]}}async getInterviews(n=12){try{const o=await this.simulationService.listInterviews(n,0),d=I0(o);return(Array.isArray(d?.interviews)?d.interviews:Array.isArray(o)?o:[]).map((f,D)=>W1(f,D)).filter(f=>!!f)}catch{return[]}}}const X1=[{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 Z1(c){return{id:c.id,title:c.title,companyName:c.companyName,completed:c.completed,durationMinutes:c.durationMinutes??15,personality:c.personality||"Professionel",dateLabel:c.dateLabel||"Nyligt"}}function F1(c){return`${c.title||"Stilling"}${c.companyName?` · ${c.companyName}`:""}`}function $1({onLogout:c,onNavigate:n,onOpenEvaluation:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new Q1,[]),[D,B]=v.useState("Lasse"),[z,k]=v.useState(void 0),[G,E]=v.useState([]),[H,R]=v.useState([]),[te,Y]=v.useState([]),[me,oe]=v.useState(!0),[ge,W]=v.useState(""),[ne,P]=v.useState(""),[Q,X]=v.useState("Dansk"),[ae,he]=v.useState("15"),[F,le]=v.useState(!1);v.useEffect(()=>{let j=!0;async function q(){oe(!0);const[Z,g,N,O]=await Promise.all([f.getCandidateProfile(),f.getJobs(),f.getInterviews(),f.getPersonalities()]);j&&(B(Z.name),k(Z.imageUrl),E(g),R(N.map(Z1)),Y(O.map(J=>({id:J.id,name:J.name}))),g.length>0&&W(J=>J||g[0].id),O.length>0&&P(J=>J||String(O[0].id)),oe(!1))}return q(),()=>{j=!1}},[f]);const I=H.length>0?H:X1,Se={id:"fallback-job",title:"Senior Frontend-udvikler",companyName:"Lunar"},Ne=G.length>0?G:[Se],se=Ne.find(j=>j.id===ge)||Ne[0],p=te.find(j=>String(j.id)===ne)?.name||"Professionel & Grundig",C=[{id:"ai-1",sender:"ai",text:`Hej Lasse, og velkommen til! Vi er rigtig glade for at have dig til samtalen omkring rollen som ${se.title||"Senior Frontend-udvikler"}. Kan du fortælle om et nyligt projekt, hvor din erfaring med React gjorde en stor forskel for slutresultatet?`},{id:"me-1",sender:"me",text:"I mit seneste projekt migrerede vi en stor dashboard-løsning til Next.js. Jeg implementerede virtualisering og strammere state management med Zustand, hvilket reducerede load-tid med over 60%."},{id:"ai-2",sender:"ai",text:"Det lyder som en rigtig solid forbedring. Når du nævner Zustand frem for Redux, hvad var overvejelserne bag det valg i jeres use-case?"}];return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(ra,{active:"simulator",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-main",children:[a.jsx(oa,{name:D,imageUrl:z,onLogout:c,theme:h,onToggleTheme:d,actions:F?a.jsxs("button",{type:"button",className:"sim-leave-btn",onClick:()=>le(!1),children:[a.jsx(Ei,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Forlad simulering"})]}):void 0}),F?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(sl,{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(jp,{size:16,strokeWidth:1.8})})]}),a.jsx("div",{className:"sim-live-chat-scroll custom-scrollbar",children:C.map(j=>a.jsxs("div",{className:j.sender==="ai"?"sim-live-msg-row ai":"sim-live-msg-row me",children:[a.jsx("div",{className:j.sender==="ai"?"sim-live-msg-avatar ai":"sim-live-msg-avatar me",children:j.sender==="ai"?a.jsx(sl,{size:13,strokeWidth:1.8}):z?a.jsx("img",{src:z,alt:D}):a.jsx("span",{children:D.slice(0,1).toUpperCase()})}),a.jsx("div",{className:j.sender==="ai"?"sim-live-msg-bubble ai":"sim-live-msg-bubble me",children:a.jsx("p",{children:j.text})})]},j.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((j,q)=>a.jsx("span",{style:{animationDelay:`${q*.14}s`}},`wave-${q}`))}),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(lb,{size:22,strokeWidth:1.8})}),a.jsx("p",{children:"Optager dit svar..."})]})]}),a.jsxs("aside",{className:"sim-live-side custom-scrollbar",children:[a.jsxs("article",{className:"sim-live-side-card",children:[a.jsx("h2",{children:"Session Status"}),a.jsxs("div",{className:"sim-live-side-list",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Stilling"}),a.jsxs("p",{children:[se.title||"Senior Frontend-udvikler"," @ ",se.companyName||"Lunar"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Samtaletype"}),a.jsxs("p",{children:[a.jsx($c,{size:14,strokeWidth:1.8})," Teknisk Dybde"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Interviewer stil"}),a.jsxs("p",{children:[a.jsx(sl,{size:14,strokeWidth:1.8})," ",p]})]}),a.jsxs("div",{children:[a.jsxs("div",{className:"sim-live-progress-head",children:[a.jsx("small",{children:"Fremgang"}),a.jsx("strong",{children:"Spørgsmål 2 af 5"})]}),a.jsx("div",{className:"sim-live-progress-track",children:a.jsx("span",{})})]})]})]}),a.jsxs("article",{className:"sim-live-coach-card",children:[a.jsxs("h2",{children:[a.jsx(Jp,{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(Oi,{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(ip,{size:16,strokeWidth:1.8})," Sæt på pause"]}),a.jsxs("button",{type:"button",className:"stop",children:[a.jsx(up,{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:()=>le(!0),children:[a.jsx(rp,{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(mr,{size:16,strokeWidth:1.8}),a.jsx("select",{value:ge,onChange:j=>W(j.target.value),children:Ne.map(j=>a.jsx("option",{value:j.id,children:F1(j)},j.id))}),a.jsx(wi,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Personlighed (AI)",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(sl,{size:16,strokeWidth:1.8}),a.jsx("select",{value:ne,onChange:j=>P(j.target.value),children:(te.length>0?te:[{id:1,name:"Professionel & Grundig"}]).map(j=>a.jsx("option",{value:String(j.id),children:j.name},j.id))}),a.jsx(wi,{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(zi,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:Q,onChange:j=>X(j.target.value),children:[a.jsx("option",{children:"Dansk"}),a.jsx("option",{children:"Engelsk"})]}),a.jsx(wi,{size:15,strokeWidth:1.8,className:"sim-caret"})]})]}),a.jsxs("label",{children:["Varighed",a.jsxs("div",{className:"sim-select-wrap",children:[a.jsx(Fc,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:ae,onChange:j=>he(j.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(wi,{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(O0,{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:I.map(j=>a.jsxs("article",{className:j.completed?"sim-card done":"sim-card draft",children:[a.jsxs("div",{className:"sim-card-head",children:[a.jsxs("div",{children:[a.jsx("h3",{children:j.title}),a.jsx("p",{children:j.companyName})]}),a.jsx("span",{className:j.completed?"sim-status done":"sim-status draft",children:j.completed?"Faerdig":"Ikke faerdig"})]}),a.jsxs("div",{className:"sim-tags",children:[a.jsxs("span",{children:[a.jsx(Fc,{size:13,strokeWidth:1.8})," ",j.durationMinutes," min"]}),a.jsxs("span",{children:[a.jsx(sl,{size:13,strokeWidth:1.8})," ",j.personality]})]}),a.jsxs("div",{className:"sim-card-foot",children:[a.jsx("small",{children:j.dateLabel}),j.completed?a.jsxs("button",{type:"button",className:"sim-link-btn",onClick:()=>o({interviewId:j.id,title:j.title,companyName:j.companyName,dateLabel:j.dateLabel}),children:["Se evaluering ",a.jsx(Ol,{size:14,strokeWidth:1.8})]}):null]})]},j.id))})]})]})]})}function ws(c){return typeof c=="object"&&c!==null?c:null}function od(c){return typeof c=="string"?c:""}function I1(c){if(typeof c=="number"&&Number.isFinite(c))return c;if(typeof c=="string"){const n=Number(c);return Number.isFinite(n)?n:null}return null}function D0(c){return Array.isArray(c)?c.map(n=>od(n).trim()).filter(Boolean):[]}function rt(c,n){if(!c)return"";for(const o of n){const d=od(c[o]).trim();if(d)return d}return""}function dr(c,n){if(!c)return null;for(const o of n){const d=I1(c[o]);if(d!==null)return d}return null}function P1(c){if(!c)return"";const n=new Date(c);return Number.isNaN(n.getTime())?c:new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(n)}function T0(c,n){return c===null?n:Math.max(0,Math.min(10,Math.round(c)))}const P0=[{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."}],eg=["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."],tg=["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:eg,recommendations:tg,suggestions:P0};function ej(c,n){const o=ws(c);if(!o)return null;const d=rt(o,["title","heading","name","subject"]),h=rt(o,["behavior","adfaerd","observation","issue"]),f=rt(o,["effect","impact","consequence"]),D=rt(o,["next_step","nextStep","recommendation","suggestion"]);return!d&&!h&&!f&&!D?null:{id:od(o.id)||String(n+1),title:d||`Forbedringspunkt ${n+1}`,behavior:h||"Ingen detaljer tilgaengelige.",effect:f||"Ingen detaljer tilgaengelige.",nextStep:D||"Ingen detaljer tilgaengelige."}}function tj(c){const n=[c?.suggestions,c?.improvements,c?.improvement_points,c?.feedback_points,ws(c?.evaluation)?.suggestions,ws(c?.evaluation)?.improvements];for(const o of n){if(!Array.isArray(o))continue;const d=o.map((h,f)=>ej(h,f)).filter(h=>!!h);if(d.length>0)return d}return P0}function M0(c,n,o){for(const h of n){const f=D0(c?.[h]);if(f.length>0)return f}const d=ws(c?.evaluation);for(const h of n){const f=D0(d?.[h]);if(f.length>0)return f}return o}class aj{constructor(n=new rd){this.simulationService=n}async getEvaluation(n,o){try{const d=await this.simulationService.getInterviewEvaluation(n),h=ws(d),f=ws(h?.evaluation),D=rt(h,["company_name","companyName"])||rt(f,["company_name","companyName"])||o?.companyName||Et.companyName,B=rt(h,["job_title","job_name","title"])||rt(f,["job_title","job_name","title"])||o?.title||Et.interviewTitle,z=rt(h,["interview_date","created_at","date"])||rt(f,["interview_date","created_at","date"]),k=P1(z)||o?.dateLabel||Et.dateLabel,G=rt(h,["interviewer_evaluation_lead","lead"])||rt(f,["interviewer_evaluation_lead","lead"])||Et.interviewerEvaluationLead,E=rt(h,["interviewer_evaluation","summary","feedback"])||rt(f,["interviewer_evaluation","summary","feedback"])||Et.interviewerEvaluationBody,H=rt(h,["evaluation_title","interviewer_title"])||rt(f,["evaluation_title","interviewer_title"])||Et.interviewerEvaluationTitle,R=rt(h,["label","evaluation_label"])||rt(f,["label","evaluation_label"])||Et.evaluationLabel,te=T0(dr(h,["candidate_score","self_score","self_rating"])??dr(f,["candidate_score","self_score","self_rating"]),Et.selfScore),Y=T0(dr(h,["interviewer_score","score","interviewer_rating"])??dr(f,["interviewer_score","score","interviewer_rating"]),Et.interviewerScore);return{companyName:D,dateLabel:k,evaluationLabel:R,interviewerEvaluationBody:E,interviewerEvaluationLead:G,interviewerEvaluationTitle:H,interviewerScore:Y,interviewTitle:B,recommendations:M0(h,["recommendations","constructive_recommendations","next_steps"],tg),selfScore:te,strengths:M0(h,["strengths","highlights"],eg),suggestions:tj(h)}}catch{return{...Et,companyName:o?.companyName||Et.companyName,interviewTitle:o?.title||Et.interviewTitle,dateLabel:o?.dateLabel||Et.dateLabel}}}async submitRating(n,o,d){await this.simulationService.submitEvaluationRating(n,o,d)}}function ag(c,n){return n-c}function lj(c,n){const o=ag(c,n);return o>0?`Gab: +${o} point`:o<0?`Gab: ${o} point`:"Gab: 0 point"}function sj(c,n){const o=ag(c,n);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 ij(c){return c||"Nyligt"}function nj({interviewSelection:c,onBack:n,onLogout:o,onNavigate:d,onToggleTheme:h,theme:f}){const D=v.useMemo(()=>new aj,[]),[B]=v.useState("Lasse"),[z]=v.useState(void 0),[k,G]=v.useState(null),[E,H]=v.useState(!0),[R,te]=v.useState(0),[Y,me]=v.useState(""),[oe,ge]=v.useState(!1),[W,ne]=v.useState("");v.useEffect(()=>{let ae=!0;async function he(){H(!0);const F=await D.getEvaluation(c.interviewId,{companyName:c.companyName,dateLabel:c.dateLabel,title:c.title});ae&&(G(F),H(!1))}return he(),()=>{ae=!1}},[c.companyName,c.dateLabel,c.interviewId,c.title,D]);async function P(){if(!(!R||oe)){ge(!0),ne("");try{await D.submitRating(c.interviewId,R,Y.trim()),ne("Tak. Din feedback er sendt.")}catch{ne("Kunne ikke sende feedback lige nu. Prov igen.")}finally{ge(!1)}}}const Q=k,X=Q?.suggestions??[];return a.jsxs("section",{className:`dash-root ${f==="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(ra,{active:"simulator",onNavigate:d}),a.jsxs("main",{className:"dash-main custom-scrollbar sim-eval-main",children:[a.jsx(oa,{name:B,imageUrl:z,onLogout:o,theme:f,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:()=>d("simulator"),children:[a.jsx(Ei,{size:14,strokeWidth:1.8}),a.jsx("span",{children:"Tilbage til Simulator"})]}),a.jsxs("div",{className:"sim-eval-label",children:[a.jsx(fp,{size:14,strokeWidth:1.8}),a.jsx("span",{children:Q?.evaluationLabel??"Interview Feedback"})]}),a.jsx("h1",{children:"Evalueringsfeedback"}),a.jsxs("div",{className:"sim-eval-meta",children:[a.jsx("strong",{children:Q?.companyName??c.companyName}),a.jsx("span",{}),a.jsx("p",{children:Q?.interviewTitle??c.title}),a.jsx("span",{}),a.jsxs("small",{children:[a.jsx(Wx,{size:14,strokeWidth:1.8})," ",ij(Q?.dateLabel??c.dateLabel)]})]})]}),E?a.jsx("p",{className:"dash-loading",children:"Indlaeser evaluering..."}):null,!E&&Q?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(G0,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:Q.interviewerEvaluationTitle})]}),a.jsx("p",{className:"lead",children:Q.interviewerEvaluationLead}),a.jsx("p",{children:Q.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(Oi,{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:[Q.selfScore,"/10"]})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Interviewers vurdering"}),a.jsxs("strong",{className:"good",children:[Q.interviewerScore,"/10"]})]})]}),a.jsxs("div",{className:"sim-eval-gap-block",children:[a.jsxs("span",{children:[a.jsx(c0,{size:13,strokeWidth:1.8})," ",lj(Q.selfScore,Q.interviewerScore)]}),a.jsx("p",{children:sj(Q.selfScore,Q.interviewerScore)})]})]})]}),a.jsxs("section",{className:"sim-eval-improvements",children:[a.jsxs("div",{className:"sim-eval-section-title",children:[a.jsx(c0,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:"Hvordan kan du blive bedre?"})]}),a.jsx("div",{className:"sim-eval-improvement-list",children:X.map((ae,he)=>a.jsxs("article",{className:"sim-eval-improvement-card",children:[a.jsx("div",{className:"sim-eval-improvement-index",children:he+1}),a.jsxs("div",{className:"sim-eval-improvement-content",children:[a.jsx("h3",{children:ae.title}),a.jsxs("div",{className:"sim-eval-improvement-grid",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Adfaerd"}),a.jsx("p",{children:ae.behavior})]}),a.jsxs("div",{className:"impact",children:[a.jsx("small",{children:"Effekt"}),a.jsx("p",{children:ae.effect})]}),a.jsxs("div",{className:"next",children:[a.jsx("small",{children:"Naeste gang"}),a.jsx("p",{children:ae.nextStep})]})]})]})]},ae.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:Q.strengths.map((ae,he)=>a.jsxs("li",{children:[a.jsx(tt,{size:17,strokeWidth:1.8}),a.jsx("span",{children:ae})]},`strength-${he}`))})]}),a.jsxs("article",{className:"sim-eval-list-card recommendations",children:[a.jsxs("div",{className:"sim-eval-card-title",children:[a.jsx(ad,{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:Q.recommendations.map((ae,he)=>a.jsxs("li",{children:[a.jsx("div",{children:a.jsx(cb,{size:13,strokeWidth:2})}),a.jsx("span",{children:ae})]},`recommendation-${he}`))})]})]}),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((ae,he)=>{const F=he+1,le=F<=R;return a.jsx("button",{type:"button","aria-label":`Vaelg ${F} stjerner`,className:le?"selected":"",onClick:()=>te(F),children:a.jsx(gr,{size:27,fill:le?"currentColor":"none",strokeWidth:1.8})},`star-${F}`)})}),a.jsx("textarea",{value:Y,onChange:ae=>me(ae.target.value),rows:3,placeholder:"Kommentar (valgfrit)"}),a.jsx("button",{type:"button",onClick:()=>{P()},disabled:oe||R===0,children:oe?"Sender...":"Send feedback"}),W?a.jsx("div",{className:"sim-eval-submit-status",children:W}):null]})]})]}):null]})]})]})}class rj{constructor(n=new Vl,o=new br){this.candidateService=n,this.subscriptionService=o}async getCandidateProfile(){try{const n=await this.candidateService.getCandidate();return{name:n.firstName?.trim()||n.name?.trim()||"Lasse",imageUrl:n.imageUrl||n.image||void 0}}catch{return{name:"Lasse"}}}async getSnapshot(){const[n,o]=await Promise.allSettled([this.subscriptionService.getPaymentOverview(),this.subscriptionService.getSubscriptionProducts()]);return{paymentOverview:n.status==="fulfilled"?n.value:null,products:o.status==="fulfilled"?o.value:null}}async redeemCode(n){await this.subscriptionService.redeemCode(n)}}const C0=["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 lg(c){if(!c)return null;const n=c instanceof Date?c:new Date(c);return Number.isNaN(n.getTime())?null:n}function oj(c){const n=lg(c);return n?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"2-digit",year:"numeric"}).format(n):"Ukendt dato"}function cj(c){if(!c)return!1;const n=lg(c.activeToDate);return n?n.getTime()>Date.now():!1}function dj(c){const n=c?.premium_30?.price??49,o=c?.premium_90?.price??99,d=c?.premium_365?.price??249;return{30:{title:"30 dage",priceText:`${n} 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:`${d} kr.`,dailyText:"Svarer til 0.68 kr. pr. dag",savings:"Spar 58%",description:"Inkluderer gavekode til 3 måneders premium"}}}function uj({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new rj,[]),[f,D]=v.useState("Lasse"),[B,z]=v.useState(void 0),[k,G]=v.useState(null),[E,H]=v.useState(null),[R,te]=v.useState(!0),[Y,me]=v.useState("90"),[oe,ge]=v.useState(!1),[W,ne]=v.useState(""),[P,Q]=v.useState(""),[X,ae]=v.useState(!1),[he,F]=v.useState(null);v.useEffect(()=>{let se=!0;async function p(){te(!0);const[C,j]=await Promise.all([h.getCandidateProfile(),h.getSnapshot()]);se&&(D(C.name),z(C.imageUrl),G(j.paymentOverview),H(j.products),te(!1))}return p(),()=>{se=!1}},[h]);const le=v.useMemo(()=>dj(E),[E]),I=cj(k),Se=he??I;async function Ne(){const se=W.trim();if(!(!se||X)){Q(""),ae(!0);try{await h.redeemCode(se),Q("Koden blev indløst. Opdaterer abonnement...");const p=await h.getSnapshot();G(p.paymentOverview),H(p.products),ne("")}catch{Q("Kunne ikke indløse kode. Prøv igen.")}finally{ae(!1)}}}return a.jsxs("section",{className:`dash-root ${d==="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(ra,{active:"subscription",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar sub-main",children:[a.jsx(oa,{name:f,imageUrl:B,onLogout:c,theme:d,onToggleTheme:o,actions:a.jsxs("div",{className:"sub-top-actions",children:[a.jsxs("div",{className:"sub-crumb-pill",children:[a.jsx(Ic,{size:15,strokeWidth:1.8})," Abonnement"]}),a.jsx("button",{type:"button",className:"sub-toggle-btn",onClick:()=>F(se=>se===null?!I:!se),children:Se?'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(Ic,{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:W,onChange:se=>ne(se.target.value),placeholder:"Indtast kode her..."}),a.jsx("button",{type:"button",onClick:()=>{Ne()},disabled:X,children:X?"Indløser...":"Indløs"})]}),P?a.jsx("small",{children:P}):null]}),R?a.jsx("p",{className:"dash-loading",children:"Indlaeser abonnement..."}):null,!R&&!Se?a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"sub-plan-grid",children:["30","90","365"].map(se=>{const p=le[se],C=Y===se,j=se==="90",q=se==="365";return a.jsxs("label",{className:["sub-plan-card",C?"selected":"",j?"popular":"",q?"yearly":""].join(" ").trim(),children:[j?a.jsx("div",{className:"sub-popular-badge",children:"Mest populær"}):null,a.jsx("input",{type:"radio",name:"pricing-plan",checked:C,onChange:()=>me(se)}),a.jsx("div",{className:"sub-radio-indicator",children:a.jsx("i",{})}),a.jsxs("div",{className:"sub-plan-content",children:[a.jsxs("div",{className:"sub-plan-title-row",children:[a.jsx("h3",{children:p.title}),p.savings?a.jsx("span",{children:p.savings}):null]}),a.jsx("div",{className:"sub-price",children:p.priceText}),a.jsx("p",{className:"sub-price-daily",children:p.dailyText}),q?a.jsxs("div",{className:"sub-gift-box",children:[a.jsx(Tp,{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:C0.map(Z=>a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8}),a.jsx("span",{children:Z})]},`${se}-${Z}`))})]})]},se)})}),a.jsxs("section",{className:"sub-checkout-card",children:[a.jsxs("div",{children:[a.jsx("h3",{children:"Klar til at opgradere?"}),a.jsx("p",{children:"Vælg en plan ovenfor og få adgang til alle Premium-funktioner med det samme."})]}),a.jsxs("div",{className:"sub-checkout-actions",children:[a.jsxs("label",{children:[a.jsx("input",{type:"checkbox",checked:oe,onChange:se=>ge(se.target.checked)}),a.jsx("span",{className:"sub-checkbox",children:a.jsx($x,{size:13,strokeWidth:2.2})}),a.jsx("span",{children:"Jeg accepterer handelsbetingelser"})]}),a.jsx("button",{type:"button",disabled:!oe,children:"Gå til betaling"})]})]})]}):null,!R&&Se?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:C0.map(se=>a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8}),a.jsx("span",{children:se})]},`active-${se}`))})}),a.jsxs("div",{className:"sub-active-status-col",children:[a.jsxs("div",{className:"sub-active-status-box",children:[a.jsx("div",{className:"sub-active-check",children:a.jsx(tt,{size:34,strokeWidth:1.8})}),a.jsx("h3",{children:"Dit abonnement er aktivt"}),a.jsxs("strong",{children:[le[Y].priceText," for ",le[Y].title]}),a.jsx("p",{children:le[Y].dailyText}),a.jsxs("div",{className:"sub-renew-pill",children:[a.jsx(ur,{size:16,strokeWidth:1.8}),"Fornyes d. ",oj(k?.renewDate)]})]}),a.jsx("button",{type:"button",className:"sub-manage-link",children:"Administrer betalingsoplysninger"})]})]})]})]}):null]})]})]})}function mj(){const c=v.useMemo(()=>window.location.pathname==="/home",[]),n=v.useMemo(()=>window.location.pathname==="/pricing"||window.location.pathname==="/priser",[]),o=v.useMemo(()=>window.location.pathname==="/stories",[]),d=v.useMemo(()=>window.location.pathname==="/newsletter",[]),h=v.useMemo(()=>window.location.pathname==="/for-virksomheder"||window.location.pathname==="/virksomheder",[]),f=v.useMemo(()=>window.location.pathname==="/for-jobsogere"||window.location.pathname==="/jobsearchers",[]),D=v.useMemo(()=>window.location.pathname==="/kontakt"||window.location.pathname==="/contact",[]),B=v.useMemo(()=>window.location.pathname.startsWith("/jobordbogen/")&&window.location.pathname!=="/jobordbogen/",[]),z=v.useMemo(()=>window.location.pathname==="/jobordbogen"||window.location.pathname==="/academy",[]),k=v.useMemo(()=>!!window.localStorage.getItem("token"),[]),G=v.useMemo(()=>window.localStorage.getItem("theme")==="dark"?"dark":"light",[]),[E,H]=v.useState(k),[R,te]=v.useState(G),[Y,me]=v.useState("dashboard"),[oe,ge]=v.useState(null),[W,ne]=v.useState(null);function P(I){(I==="dashboard"||I==="jobs"||I==="cv"||I==="messages"||I==="agents"||I==="ai-agent"||I==="simulator"||I==="subscription")&&me(I)}function Q(I,Se,Ne="jobs"){ge({id:I,fromJobnet:Se,returnPage:Ne}),me("job-detail")}function X(){me(oe?.returnPage??"jobs")}function ae(I){ne(I),me("simulator-evaluation")}function he(){me("simulator")}async function F(){await Ss.clearCredentials(),me("dashboard"),ge(null),ne(null),H(!1)}function le(){te(I=>{const Se=I==="light"?"dark":"light";return window.localStorage.setItem("theme",Se),Se})}return c?a.jsx(l1,{}):n?a.jsx(b1,{}):o?a.jsx(w1,{}):d?a.jsx(S1,{}):h?a.jsx(D1,{}):f?a.jsx(B1,{}):D?a.jsx(Y1,{}):B?a.jsx(k1,{}):z?a.jsx(y1,{}):E?Y==="jobs"?a.jsx(h1,{onLogout:F,onNavigate:P,onOpenJobDetail:Q,theme:R,onToggleTheme:le}):Y==="cv"?a.jsx(Yv,{onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):Y==="messages"?a.jsx(p1,{onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):Y==="agents"?a.jsx(pv,{onLogout:F,onNavigate:P,onOpenJobDetail:Q,theme:R,onToggleTheme:le}):Y==="ai-agent"?a.jsx(kv,{onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):Y==="simulator"?a.jsx($1,{onLogout:F,onNavigate:P,onOpenEvaluation:ae,theme:R,onToggleTheme:le}):Y==="simulator-evaluation"&&W?a.jsx(nj,{interviewSelection:W,onBack:he,onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):Y==="subscription"?a.jsx(uj,{onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):Y==="job-detail"&&oe?a.jsx(o1,{jobId:oe.id,fromJobnet:oe.fromJobnet,onBack:X,onLogout:F,onNavigate:P,theme:R,onToggleTheme:le}):a.jsx(e1,{onLogout:F,onNavigate:P,onOpenJobDetail:Q,theme:R,onToggleTheme:le}):a.jsx(iv,{onAuthenticated:()=>H(!0)})}Nx.createRoot(document.getElementById("root")).render(a.jsx(v.StrictMode,{children:a.jsx(mj,{})}));