19 lines
585 KiB
JavaScript
19 lines
585 KiB
JavaScript
(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 z of f.addedNodes)z.tagName==="LINK"&&z.rel==="modulepreload"&&d(z)}).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 Lc={exports:{}},ji={};var eg;function fx(){if(eg)return ji;eg=1;var c=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(d,h,f){var z=null;if(f!==void 0&&(z=""+f),h.key!==void 0&&(z=""+h.key),"key"in h){f={};for(var R in h)R!=="key"&&(f[R]=h[R])}else f=h;return h=f.ref,{$$typeof:c,type:d,key:z,ref:h!==void 0?h:null,props:f}}return ji.Fragment=n,ji.jsx=o,ji.jsxs=o,ji}var tg;function xx(){return tg||(tg=1,Lc.exports=fx()),Lc.exports}var a=xx(),Oc={exports:{}},xe={};var ag;function px(){if(ag)return xe;ag=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"),z=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),k=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),H=Symbol.iterator;function q(g){return g===null||typeof g!="object"?null:(g=H&&g[H]||g["@@iterator"],typeof g=="function"?g:null)}var Z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},W=Object.assign,de={};function se(g,N,O){this.props=g,this.context=N,this.refs=de,this.updater=O||Z}se.prototype.isReactComponent={},se.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")},se.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function ge(){}ge.prototype=se.prototype;function Q(g,N,O){this.props=g,this.context=N,this.refs=de,this.updater=O||Z}var ne=Q.prototype=new ge;ne.constructor=Q,W(ne,se.prototype),ne.isPureReactComponent=!0;var re=Array.isArray;function Y(){}var X={H:null,A:null,T:null,S:null},P=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 le(g,N){return he(g.type,N,g.props)}function ee(g){return typeof g=="object"&&g!==null&&g.$$typeof===c}function ae(g){var N={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(O){return N[O]})}var fe=/\/+/g;function je(g,N){return typeof g=="object"&&g!==null&&g.key!=null?ae(""+g.key):N.toString(36)}function te(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(Y,Y):(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,ue){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,ue)}}if(_e)return ue=ue(g),_e=J===""?"."+je(g,0):J,re(ue)?(O="",_e!=null&&(O=_e.replace(fe,"$&/")+"/"),p(ue,N,O,"",function(La){return La})):ue!=null&&(ee(ue)&&(ue=le(ue,O+(ue.key==null||g&&g.key===ue.key?"":(""+ue.key).replace(fe,"$&/")+"/")+_e)),N.push(ue)),1;_e=0;var at=J===""?".":J+":";if(re(g))for(var Ge=0;Ge<g.length;Ge++)J=g[Ge],ce=at+je(J,Ge),_e+=p(J,N,O,ce,ue);else if(Ge=q(g),typeof Ge=="function")for(g=Ge.call(g),Ge=0;!(J=g.next()).done;)J=J.value,ce=at+je(J,Ge++),_e+=p(J,N,O,ce,ue);else if(ce==="object"){if(typeof g.then=="function")return p(te(g),N,O,J,ue);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=[],ue=0;return p(g,J,"","",function(ce){return N.call(O,ce,ue++)}),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 B=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)},F={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(!ee(g))throw Error("React.Children.only expected to receive a single React element child.");return g}};return xe.Activity=E,xe.Children=F,xe.Component=se,xe.Fragment=o,xe.Profiler=h,xe.PureComponent=Q,xe.StrictMode=d,xe.Suspense=D,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,xe.__COMPILER_RUNTIME={__proto__:null,c:function(g){return X.H.useMemoCache(g)}},xe.cache=function(g){return function(){return g.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(g,N,O){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var J=W({},g.props),ue=g.key;if(N!=null)for(ce in N.key!==void 0&&(ue=""+N.key),N)!P.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,ue,J)},xe.createContext=function(g){return g={$$typeof:z,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:f,_context:g},g},xe.createElement=function(g,N,O){var J,ue={},ce=null;if(N!=null)for(J in N.key!==void 0&&(ce=""+N.key),N)P.call(N,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ue[J]=N[J]);var _e=arguments.length-2;if(_e===1)ue.children=O;else if(1<_e){for(var at=Array(_e),Ge=0;Ge<_e;Ge++)at[Ge]=arguments[Ge+2];ue.children=at}if(g&&g.defaultProps)for(J in _e=g.defaultProps,_e)ue[J]===void 0&&(ue[J]=_e[J]);return he(g,ce,ue)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(g){return{$$typeof:R,render:g}},xe.isValidElement=ee,xe.lazy=function(g){return{$$typeof:G,_payload:{_status:-1,_result:g},_init:j}},xe.memo=function(g,N){return{$$typeof:k,type:g,compare:N===void 0?null:N}},xe.startTransition=function(g){var N=X.T,O={};X.T=O;try{var J=g(),ue=X.S;ue!==null&&ue(O,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(Y,B)}catch(ce){B(ce)}finally{N!==null&&O.types!==null&&(N.types=O.types),X.T=N}},xe.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},xe.use=function(g){return X.H.use(g)},xe.useActionState=function(g,N,O){return X.H.useActionState(g,N,O)},xe.useCallback=function(g,N){return X.H.useCallback(g,N)},xe.useContext=function(g){return X.H.useContext(g)},xe.useDebugValue=function(){},xe.useDeferredValue=function(g,N){return X.H.useDeferredValue(g,N)},xe.useEffect=function(g,N){return X.H.useEffect(g,N)},xe.useEffectEvent=function(g){return X.H.useEffectEvent(g)},xe.useId=function(){return X.H.useId()},xe.useImperativeHandle=function(g,N,O){return X.H.useImperativeHandle(g,N,O)},xe.useInsertionEffect=function(g,N){return X.H.useInsertionEffect(g,N)},xe.useLayoutEffect=function(g,N){return X.H.useLayoutEffect(g,N)},xe.useMemo=function(g,N){return X.H.useMemo(g,N)},xe.useOptimistic=function(g,N){return X.H.useOptimistic(g,N)},xe.useReducer=function(g,N,O){return X.H.useReducer(g,N,O)},xe.useRef=function(g){return X.H.useRef(g)},xe.useState=function(g){return X.H.useState(g)},xe.useSyncExternalStore=function(g,N,O){return X.H.useSyncExternalStore(g,N,O)},xe.useTransition=function(){return X.H.useTransition()},xe.version="19.2.4",xe}var lg;function nd(){return lg||(lg=1,Oc.exports=px()),Oc.exports}var v=nd(),Uc={exports:{}},yi={},Vc={exports:{}},Rc={};var sg;function bx(){return sg||(sg=1,(function(c){function n(p,C){var j=p.length;p.push(C);e:for(;0<j;){var B=j-1>>>1,F=p[B];if(0<h(F,C))p[B]=C,p[j]=F,j=B;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 B=0,F=p.length,g=F>>>1;B<g;){var N=2*(B+1)-1,O=p[N],J=N+1,ue=p[J];if(0>h(O,j))J<F&&0>h(ue,O)?(p[B]=ue,p[J]=j,B=J):(p[B]=O,p[N]=j,B=N);else if(J<F&&0>h(ue,j))p[B]=ue,p[J]=j,B=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 z=Date,R=z.now();c.unstable_now=function(){return z.now()-R}}var D=[],k=[],G=1,E=null,H=3,q=!1,Z=!1,W=!1,de=!1,se=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,Q=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(D,C);else break;C=o(k)}}function re(p){if(W=!1,ne(p),!Z)if(o(D)!==null)Z=!0,Y||(Y=!0,ae());else{var C=o(k);C!==null&&te(re,C.startTime-p)}}var Y=!1,X=-1,P=5,he=-1;function le(){return de?!0:!(c.unstable_now()-he<P)}function ee(){if(de=!1,Y){var p=c.unstable_now();he=p;var C=!0;try{e:{Z=!1,W&&(W=!1,ge(X),X=-1),q=!0;var j=H;try{t:{for(ne(p),E=o(D);E!==null&&!(E.expirationTime>p&&le());){var B=E.callback;if(typeof B=="function"){E.callback=null,H=E.priorityLevel;var F=B(E.expirationTime<=p);if(p=c.unstable_now(),typeof F=="function"){E.callback=F,ne(p),C=!0;break t}E===o(D)&&d(D),ne(p)}else d(D);E=o(D)}if(E!==null)C=!0;else{var g=o(k);g!==null&&te(re,g.startTime-p),C=!1}}break e}finally{E=null,H=j,q=!1}C=void 0}}finally{C?ae():Y=!1}}}var ae;if(typeof Q=="function")ae=function(){Q(ee)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,je=fe.port2;fe.port1.onmessage=ee,ae=function(){je.postMessage(null)}}else ae=function(){se(ee,0)};function te(p,C){X=se(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"):P=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(){de=!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 B=c.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?B+j:B):j=B,p){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=j+F,p={id:G++,callback:C,priorityLevel:p,startTime:j,expirationTime:F,sortIndex:-1},j>B?(p.sortIndex=j,n(k,p),o(D)===null&&p===o(k)&&(W?(ge(X),X=-1):W=!0,te(re,j-B))):(p.sortIndex=F,n(D,p),Z||q||(Z=!0,Y||(Y=!0,ae()))),p},c.unstable_shouldYield=le,c.unstable_wrapCallback=function(p){var C=H;return function(){var j=H;H=C;try{return p.apply(this,arguments)}finally{H=j}}}})(Rc)),Rc}var ig;function vx(){return ig||(ig=1,Vc.exports=bx()),Vc.exports}var Hc={exports:{}},ht={};var ng;function jx(){if(ng)return ht;ng=1;var c=nd();function n(D){var k="https://react.dev/errors/"+D;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 #"+D+"; 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(D,k,G){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:E==null?null:""+E,children:D,containerInfo:k,implementation:G}}var z=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function R(D,k){if(D==="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(D,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(D,k,null,G)},ht.flushSync=function(D){var k=z.T,G=d.p;try{if(z.T=null,d.p=2,D)return D()}finally{z.T=k,d.p=G,d.d.f()}},ht.preconnect=function(D,k){typeof D=="string"&&(k?(k=k.crossOrigin,k=typeof k=="string"?k==="use-credentials"?k:"":void 0):k=null,d.d.C(D,k))},ht.prefetchDNS=function(D){typeof D=="string"&&d.d.D(D)},ht.preinit=function(D,k){if(typeof D=="string"&&k&&typeof k.as=="string"){var G=k.as,E=R(G,k.crossOrigin),H=typeof k.integrity=="string"?k.integrity:void 0,q=typeof k.fetchPriority=="string"?k.fetchPriority:void 0;G==="style"?d.d.S(D,typeof k.precedence=="string"?k.precedence:void 0,{crossOrigin:E,integrity:H,fetchPriority:q}):G==="script"&&d.d.X(D,{crossOrigin:E,integrity:H,fetchPriority:q,nonce:typeof k.nonce=="string"?k.nonce:void 0})}},ht.preinitModule=function(D,k){if(typeof D=="string")if(typeof k=="object"&&k!==null){if(k.as==null||k.as==="script"){var G=R(k.as,k.crossOrigin);d.d.M(D,{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(D)},ht.preload=function(D,k){if(typeof D=="string"&&typeof k=="object"&&k!==null&&typeof k.as=="string"){var G=k.as,E=R(G,k.crossOrigin);d.d.L(D,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(D,k){if(typeof D=="string")if(k){var G=R(k.as,k.crossOrigin);d.d.m(D,{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(D)},ht.requestFormReset=function(D){d.d.r(D)},ht.unstable_batchedUpdates=function(D,k){return D(k)},ht.useFormState=function(D,k,G){return z.H.useFormState(D,k,G)},ht.useFormStatus=function(){return z.H.useHostTransitionStatus()},ht.version="19.2.4",ht}var rg;function yx(){if(rg)return Hc.exports;rg=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(),Hc.exports=jx(),Hc.exports}var og;function kx(){if(og)return yi;og=1;var c=vx(),n=nd(),o=yx();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 z(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 R(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 D(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 D(i),e;if(r===s)return D(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"),q=Symbol.for("react.transitional.element"),Z=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),de=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ge=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),le=Symbol.for("react.memo_cache_sentinel"),ee=Symbol.iterator;function ae(e){return e===null||typeof e!="object"?null:(e=ee&&e[ee]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function je(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case se:return"Profiler";case de:return"StrictMode";case re:return"Suspense";case Y:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Z:return"Portal";case Q: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:je(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return je(e(t))}catch{}}return null}var te=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},B=[],F=-1;function g(e){return{current:e}}function N(e){0>F||(e.current=B[F],B[F]=null,F--)}function O(e,t){F++,B[F]=e.current,e.current=t}var J=g(null),ue=g(null),ce=g(null),_e=g(null);function at(e,t){switch(O(ce,t),O(ue,e),O(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Nh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Nh(t),e=wh(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(ue),N(ce)}function La(e){e.memoizedState!==null&&O(_e,e);var t=J.current,l=wh(t,e.type);t!==l&&(O(ue,e),O(J,l))}function Oa(e){ue.current===e&&(N(J),N(ue)),_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 yr(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+=yr(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,ql=c.unstable_NormalPriority,Hi=c.unstable_LowPriority,qi=c.unstable_IdlePriority,Bi=c.log,kr=c.unstable_setDisableYieldValue,Re=null,lt=null;function Ot(e){if(typeof Bi=="function"&&kr(e),lt&&typeof lt.setStrictMode=="function")try{lt.setStrictMode(Re,e)}catch{}}var ft=Math.clz32?Math.clz32:Gi,Nr=Math.log,cl=Math.LN2;function Gi(e){return e>>>=0,e===0?32:31-(Nr(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 wr(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:Qh(e.type))}function Sr(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,Ua="__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[Ua]||l[Pe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Mh(e);e!==null;){if(l=e[Pe])return l;e=Mh(e)}return t}e=l,l=e.parentNode}return null}function aa(e){if(e=e[Pe]||e[Ua]){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 Bl(e){var t=e[st];return t||(t=e[st]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function it(e){e[ua]=!0}var ud=new Set,md={};function xl(e,t){Gl(e,t),Gl(e+"Capture",t)}function Gl(e,t){for(md[e]=t,e=0;e<t.length;e++)ud.add(t[e])}var i0=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]*$"),hd={},gd={};function n0(e){return Rl.call(gd,e)?!0:Rl.call(hd,e)?!1:i0.test(e)?gd[e]=!0:(hd[e]=!0,!1)}function Qi(e,t,l){if(n0(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 fd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function r0(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 _r(e){if(!e._valueTracker){var t=fd(e)?"checked":"value";e._valueTracker=r0(e,t,""+e[t])}}function xd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),s="";return e&&(s=fd(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 o0=/[\n"\\]/g;function Rt(e){return e.replace(o0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ar(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?zr(e,u,Vt(t)):l!=null?zr(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 pd(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)){_r(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),_r(e)}function zr(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 bd(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 vd(e,t,l,s){if(t==null){if(s!=null){if(l!=null)throw Error(d(92));if(te(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),_r(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 c0=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 jd(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||c0.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function yd(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&&jd(e,i,s)}else for(var r in t)t.hasOwnProperty(r)&&jd(e,r,t[r])}function Dr(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 d0=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"]]),u0=/^[\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 u0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ga(){}var Tr=null;function Mr(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 kd(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(Ar(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));Ar(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&&xd(s)}break e;case"textarea":bd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Jl(e,!!l.multiple,t,!1)}}}var Cr=!1;function Nd(e,t,l){if(Cr)return e(t,l);Cr=!0;try{var s=e(t);return s}finally{if(Cr=!1,(Kl!==null||Wl!==null)&&(Rn(),Kl&&(t=Kl,e=Wl,Wl=Kl=null,kd(t),e)))for(t=0;t<e.length;t++)kd(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"),Er=!1;if(fa)try{var Ls={};Object.defineProperty(Ls,"passive",{get:function(){Er=!0}}),window.addEventListener("test",Ls,Ls),window.removeEventListener("test",Ls,Ls)}catch{Er=!1}var Va=null,Lr=null,$i=null;function wd(){if($i)return $i;var e,t=Lr,l=t.length,s,i="value"in Va?Va.value:Va.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 Sd(){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:Sd,this.isPropagationStopped=Sd,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}),m0=pt(Os),Or,Ur,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:Rr,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"?(Or=e.screenX-Us.screenX,Ur=e.screenY-Us.screenY):Ur=Or=0,Us=e),Or)},movementY:function(e){return"movementY"in e?e.movementY:Ur}}),_d=pt(tn),h0=E({},tn,{dataTransfer:0}),g0=pt(h0),f0=E({},Os,{relatedTarget:0}),Vr=pt(f0),x0=E({},pl,{animationName:0,elapsedTime:0,pseudoElement:0}),p0=pt(x0),b0=E({},pl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),v0=pt(b0),j0=E({},pl,{data:0}),Ad=pt(j0),y0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},N0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function w0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=N0[e])?!!t[e]:!1}function Rr(){return w0}var S0=E({},Os,{key:function(e){if(e.key){var t=y0[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"?k0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rr,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}}),_0=pt(S0),A0=E({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=pt(A0),z0=E({},Os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rr}),D0=pt(z0),T0=E({},pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),M0=pt(T0),C0=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}),E0=pt(C0),L0=E({},pl,{newState:0,oldState:0}),O0=pt(L0),U0=[9,13,27,32],Hr=fa&&"CompositionEvent"in window,Vs=null;fa&&"documentMode"in document&&(Vs=document.documentMode);var V0=fa&&"TextEvent"in window&&!Vs,Dd=fa&&(!Hr||Vs&&8<Vs&&11>=Vs),Td=" ",Md=!1;function Cd(e,t){switch(e){case"keyup":return U0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ed(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ql=!1;function R0(e,t){switch(e){case"compositionend":return Ed(t);case"keypress":return t.which!==32?null:(Md=!0,Td);case"textInput":return e=t.data,e===Td&&Md?null:e;default:return null}}function H0(e,t){if(Ql)return e==="compositionend"||!Hr&&Cd(e,t)?(e=wd(),$i=Lr=Va=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 Dd&&t.locale!=="ko"?null:t.data;default:return null}}var q0={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 Ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!q0[e.type]:t==="textarea"}function Od(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 B0(e){ph(e,0)}function an(e){var t=ma(e);if(xd(t))return e}function Ud(e,t){if(e==="change")return t}var Vd=!1;if(fa){var qr;if(fa){var Br="oninput"in document;if(!Br){var Rd=document.createElement("div");Rd.setAttribute("oninput","return;"),Br=typeof Rd.oninput=="function"}qr=Br}else qr=!1;Vd=qr&&(!document.documentMode||9<document.documentMode)}function Hd(){Rs&&(Rs.detachEvent("onpropertychange",qd),Hs=Rs=null)}function qd(e){if(e.propertyName==="value"&&an(Hs)){var t=[];Od(t,Hs,e,Mr(e)),Nd(B0,t)}}function G0(e,t,l){e==="focusin"?(Hd(),Rs=t,Hs=l,Rs.attachEvent("onpropertychange",qd)):e==="focusout"&&Hd()}function J0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return an(Hs)}function Y0(e,t){if(e==="click")return an(t)}function K0(e,t){if(e==="input"||e==="change")return an(t)}function W0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:W0;function qs(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 Bd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gd(e,t){var l=Bd(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=Bd(l)}}function Jd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=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 Gr(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 Q0=fa&&"documentMode"in document&&11>=document.documentMode,Xl=null,Jr=null,Bs=null,Yr=!1;function Kd(e,t,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yr||Xl==null||Xl!==Zi(s)||(s=Xl,"selectionStart"in s&&Gr(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}),Bs&&qs(Bs,s)||(Bs=s,s=Kn(Jr,"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")},Kr={},Wd={};fa&&(Wd=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(Kr[e])return Kr[e];if(!Zl[e])return e;var t=Zl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Wd)return Kr[e]=t[l];return e}var Qd=vl("animationend"),Xd=vl("animationiteration"),Zd=vl("animationstart"),X0=vl("transitionrun"),Z0=vl("transitionstart"),F0=vl("transitioncancel"),Fd=vl("transitionend"),$d=new Map,Wr="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(" ");Wr.push("scrollEnd");function Ft(e,t){$d.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,Qr=0;function sn(){for(var e=Fl,t=Qr=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&&Id(l,i,r)}}function nn(e,t,l,s){Ht[Fl++]=e,Ht[Fl++]=t,Ht[Fl++]=l,Ht[Fl++]=s,Qr|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Xr(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 Id(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,sc=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 $0(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 $0(e,t,l,s)}function Zr(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 Pd(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")Zr(e)&&(u=1);else if(typeof e=="string")u=lx(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 W:return yl(l.children,i,r,t);case de:u=8,i|=24;break;case se:return e=At(12,l,t,i|2),e.elementType=se,e.lanes=r,e;case re:return e=At(13,l,t,i),e.elementType=re,e.lanes=r,e;case Y:return e=At(19,l,t,i),e.elementType=Y,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q:u=10;break e;case ge:u=9;break e;case ne:u=11;break e;case X:u=14;break e;case P: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 Fr(e,t,l){return e=At(6,e,null,t),e.lanes=l,e}function eu(e){var t=At(18,null,null,0);return t.stateNode=e,t}function $r(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 tu=new WeakMap;function qt(e,t){if(typeof e=="object"&&e!==null){var l=tu.get(e);return l!==void 0?l:(t={value:e,source:t,stack:_s(t)},tu.set(e,t),t)}return{value:e,source:t,stack:_s(t)}}var Il=[],Pl=0,cn=null,Gs=0,Bt=[],Gt=0,Ra=null,la=1,sa="";function pa(e,t){Il[Pl++]=Gs,Il[Pl++]=cn,cn=e,Gs=t}function au(e,t,l){Bt[Gt++]=la,Bt[Gt++]=sa,Bt[Gt++]=Ra,Ra=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 Ir(e){e.return!==null&&(pa(e,1),au(e,1,0))}function Pr(e){for(;e===cn;)cn=Il[--Pl],Il[Pl]=null,Gs=Il[--Pl],Il[Pl]=null;for(;e===Ra;)Ra=Bt[--Gt],Bt[Gt]=null,sa=Bt[--Gt],Bt[Gt]=null,la=Bt[--Gt],Bt[Gt]=null}function lu(e,t){Bt[Gt++]=la,Bt[Gt++]=sa,Bt[Gt++]=Ra,la=t.id,sa=t.overflow,Ra=e}var ot=null,He=null,Se=!1,Ha=null,Jt=!1,eo=Error(d(519));function qa(e){var t=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Js(qt(t,e)),eo}function su(e){var t=e.stateNode,l=e.type,s=e.memoizedProps;switch(t[Pe]=e,t[mt]=s,l){case"dialog":ke("cancel",t),ke("close",t);break;case"iframe":case"object":case"embed":ke("load",t);break;case"video":case"audio":for(l=0;l<ui.length;l++)ke(ui[l],t);break;case"source":ke("error",t);break;case"img":case"image":case"link":ke("error",t),ke("load",t);break;case"details":ke("toggle",t);break;case"input":ke("invalid",t),pd(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ke("invalid",t);break;case"textarea":ke("invalid",t),vd(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||yh(t.textContent,l)?(s.popover!=null&&(ke("beforetoggle",t),ke("toggle",t)),s.onScroll!=null&&ke("scroll",t),s.onScrollEnd!=null&&ke("scrollend",t),s.onClick!=null&&(t.onclick=ga),t=!0):t=!1,t||qa(e,!0)}function iu(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(!Se)return iu(e),Se=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||vc(e.type,e.memoizedProps)),l=!l),l&&He&&qa(e),iu(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));He=Th(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));He=Th(e)}else t===27?(t=He,el(e.type)?(e=wc,wc=null,He=e):He=t):He=ot?Kt(e.stateNode.nextSibling):null;return!0}function kl(){He=ot=null,Se=!1}function to(){var e=Ha;return e!==null&&(yt===null?yt=e:yt.push.apply(yt,e),Ha=null),e}function Js(e){Ha===null?Ha=[e]:Ha.push(e)}var ao=g(null),Nl=null,ba=null;function Ba(e,t,l){O(ao,t._currentValue),t._currentValue=l}function va(e){e._currentValue=ao.current,N(ao)}function lo(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 so(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),lo(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),lo(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&&so(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 nu(Nl,e)}function un(e,t){return Nl===null&&wl(e),nu(e,t)}function nu(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 I0=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()})}},P0=c.unstable_scheduleCallback,ef=c.unstable_NormalPriority,Xe={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function io(){return{controller:new I0,data:new Map,refCount:0}}function Ys(e){e.refCount--,e.refCount===0&&P0(ef,function(){e.controller.abort()})}var Ks=null,no=0,as=0,ls=null;function tf(e,t){if(Ks===null){var l=Ks=[];no=0,as=dc(),ls={status:"pending",value:void 0,then:function(s){l.push(s)}}}return no++,t.then(ru,ru),t}function ru(){if(--no===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 af(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 ou=p.S;p.S=function(e,t){Km=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&tf(e,t),ou!==null&&ou(e,t)};var Sl=g(null);function ro(){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 cu(){var e=ro();return e===null?null:{parent:Xe._currentValue,pool:e}}var ss=Error(d(460)),oo=Error(d(474)),hn=Error(d(542)),gn={then:function(){}};function du(e){return e=e.status,e==="fulfilled"||e==="rejected"}function uu(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,hu(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,hu(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 mu(){if(Al===null)throw Error(d(459));var e=Al;return Al=null,e}function hu(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=[]),uu(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 gu(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=Fr(w,y.mode,U),b.return=y,b):(b=i(b,w),b.return=y,b)}function x(y,b,w,U){var oe=w.type;return oe===W?L(y,b,w.props.children,U,w.key):b!==null&&(b.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===P&&_l(oe)===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=$r(w,y.mode,U),b.return=y,b):(b=i(b,w.children||[]),b.return=y,b)}function L(y,b,w,U,oe){return b===null||b.tag!==7?(b=yl(w,y.mode,U,oe),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=Fr(""+b,y.mode,w),b.return=y,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case q:return w=on(b.type,b.key,b.props,null,y.mode,w),Qs(w,b),w.return=y,w;case Z:return b=$r(b,y.mode,w),b.return=y,b;case P:return b=_l(b),V(y,b,w)}if(te(b)||ae(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===Q)return V(y,un(y,b),w);xn(y,b)}return null}function A(y,b,w,U){var oe=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return oe!==null?null:m(y,b,""+w,U);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case q:return w.key===oe?x(y,b,w,U):null;case Z:return w.key===oe?_(y,b,w,U):null;case P:return w=_l(w),A(y,b,w,U)}if(te(w)||ae(w))return oe!==null?null:L(y,b,w,U,null);if(typeof w.then=="function")return A(y,b,fn(w),U);if(w.$$typeof===Q)return A(y,b,un(y,w),U);xn(y,w)}return null}function T(y,b,w,U,oe){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return y=y.get(w)||null,m(b,y,""+U,oe);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case q:return y=y.get(U.key===null?w:U.key)||null,x(b,y,U,oe);case Z:return y=y.get(U.key===null?w:U.key)||null,_(b,y,U,oe);case P:return U=_l(U),T(y,b,w,U,oe)}if(te(U)||ae(U))return y=y.get(w)||null,L(b,y,U,oe,null);if(typeof U.then=="function")return T(y,b,w,fn(U),oe);if(U.$$typeof===Q)return T(y,b,w,un(b,U),oe);xn(b,U)}return null}function $(y,b,w,U){for(var oe=null,Ae=null,I=b,be=b=0,we=null;I!==null&&be<w.length;be++){I.index>be?(we=I,I=null):we=I.sibling;var ze=A(y,I,w[be],U);if(ze===null){I===null&&(I=we);break}e&&I&&ze.alternate===null&&t(y,I),b=r(ze,b,be),Ae===null?oe=ze:Ae.sibling=ze,Ae=ze,I=we}if(be===w.length)return l(y,I),Se&&pa(y,be),oe;if(I===null){for(;be<w.length;be++)I=V(y,w[be],U),I!==null&&(b=r(I,b,be),Ae===null?oe=I:Ae.sibling=I,Ae=I);return Se&&pa(y,be),oe}for(I=s(I);be<w.length;be++)we=T(I,y,be,w[be],U),we!==null&&(e&&we.alternate!==null&&I.delete(we.key===null?be:we.key),b=r(we,b,be),Ae===null?oe=we:Ae.sibling=we,Ae=we);return e&&I.forEach(function(il){return t(y,il)}),Se&&pa(y,be),oe}function me(y,b,w,U){if(w==null)throw Error(d(151));for(var oe=null,Ae=null,I=b,be=b=0,we=null,ze=w.next();I!==null&&!ze.done;be++,ze=w.next()){I.index>be?(we=I,I=null):we=I.sibling;var il=A(y,I,ze.value,U);if(il===null){I===null&&(I=we);break}e&&I&&il.alternate===null&&t(y,I),b=r(il,b,be),Ae===null?oe=il:Ae.sibling=il,Ae=il,I=we}if(ze.done)return l(y,I),Se&&pa(y,be),oe;if(I===null){for(;!ze.done;be++,ze=w.next())ze=V(y,ze.value,U),ze!==null&&(b=r(ze,b,be),Ae===null?oe=ze:Ae.sibling=ze,Ae=ze);return Se&&pa(y,be),oe}for(I=s(I);!ze.done;be++,ze=w.next())ze=T(I,y,be,ze.value,U),ze!==null&&(e&&ze.alternate!==null&&I.delete(ze.key===null?be:ze.key),b=r(ze,b,be),Ae===null?oe=ze:Ae.sibling=ze,Ae=ze);return e&&I.forEach(function(gx){return t(y,gx)}),Se&&pa(y,be),oe}function Ue(y,b,w,U){if(typeof w=="object"&&w!==null&&w.type===W&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case q:e:{for(var oe=w.key;b!==null;){if(b.key===oe){if(oe=w.type,oe===W){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===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===P&&_l(oe)===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===W?(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 Z:e:{for(oe=w.key;b!==null;){if(b.key===oe)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=$r(w,y.mode,U),U.return=y,y=U}return u(y);case P:return w=_l(w),Ue(y,b,w,U)}if(te(w))return $(y,b,w,U);if(ae(w)){if(oe=ae(w),typeof oe!="function")throw Error(d(150));return w=oe.call(w),me(y,b,w,U)}if(typeof w.then=="function")return Ue(y,b,fn(w),U);if(w.$$typeof===Q)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=Fr(w,y.mode,U),U.return=y,y=U),u(y)):l(y,b)}return function(y,b,w,U){try{Ws=0;var oe=Ue(y,b,w,U);return is=null,oe}catch(I){if(I===ss||I===hn)throw I;var Ae=At(29,I,null,y.mode);return Ae.lanes=U,Ae.return=y,Ae}}}var zl=gu(!0),fu=gu(!1),Ga=!1;function co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uo(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 Ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ya(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),Id(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 mo(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 ho=!1;function Zs(){if(ho){var e=ls;if(e!==null)throw e}}function Fs(e,t,l,s){ho=!1;var i=e.updateQueue;Ga=!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?(Ne&A)===A:(s&A)===A){A!==0&&A===as&&(ho=!0),L!==null&&(L=L.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var $=e,me=m;A=t;var Ue=l;switch(me.tag){case 1:if($=me.payload,typeof $=="function"){V=$.call(Ue,V,A);break e}V=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=me.payload,A=typeof $=="function"?$.call(Ue,V,A):$,A==null)break e;V=E({},V,A);break e;case 2:Ga=!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),Za|=u,e.lanes=u,e.memoizedState=V}}function xu(e,t){if(typeof e!="function")throw Error(d(191,e));e.call(t)}function pu(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)xu(l[e],t)}var ns=g(null),pn=g(0);function bu(e,t){e=za,O(pn,e),O(ns,t),za=e|t.baseLanes}function go(){O(pn,za),O(ns,ns.current)}function fo(){za=pn.current,N(ns),N(pn)}var zt=g(null),Yt=null;function Ka(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 xo(e){O(We,We.current),O(zt,e),Yt===null&&(Yt=e)}function vu(e){e.tag===22?(O(We,We.current),O(zt,e),Yt===null&&(Yt=e)):Wa()}function Wa(){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||kc(l)||Nc(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,pe=null,Le=null,Ze=null,vn=!1,rs=!1,Dl=!1,jn=0,$s=0,os=null,lf=0;function Je(){throw Error(d(321))}function po(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 bo(e,t,l,s,i,r){return ja=r,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,p.H=e===null||e.memoizedState===null?am:Eo,Dl=!1,r=l(s,i),Dl=!1,rs&&(r=yu(t,l,s,i)),ju(e),r}function ju(e){p.H=ei;var t=Le!==null&&Le.next!==null;if(ja=0,Ze=Le=pe=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 yu(e,t,l,s){pe=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=lm,r=t(l,s)}while(rs);return r}function sf(){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&&(pe.flags|=1024),t}function vo(){var e=jn!==0;return jn=0,e}function jo(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function yo(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=pe=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?pe.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Qe(){if(Le===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=Ze===null?pe.memoizedState:Ze.next;if(t!==null)Ze=t,Le=e;else{if(e===null)throw pe.alternate===null?Error(d(467)):Error(d(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},Ze===null?pe.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function yn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Is(e){var t=$s;return $s+=1,os===null&&(os=[]),e=uu(os,e,t),t=pe,(Ze===null?t.memoizedState:Ze.next)===null&&(t=t.alternate,p.H=t===null||t.memoizedState===null?am:Eo),e}function kn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Is(e);if(e.$$typeof===Q)return ct(e)}throw Error(d(438,String(e)))}function ko(e){var t=null,l=pe.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var s=pe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=yn(),pe.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),s=0;s<e;s++)l[s]=le;return t.index++,l}function ya(e,t){return typeof t=="function"?t(e):t}function Nn(e){var t=Qe();return No(t,Le,e)}function No(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?(Ne&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,pe.lanes|=A,Za|=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,pe.lanes|=V,Za|=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 wo(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 ku(e,t,l){var s=pe,i=Qe(),r=Se;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,Ao(Su.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},wu.bind(null,s,i,l,t),null),Ve===null)throw Error(d(349));r||(ja&127)!==0||Nu(s,t,l)}return l}function Nu(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=pe.updateQueue,t===null?(t=yn(),pe.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function wu(e,t,l,s){t.value=l,t.getSnapshot=s,_u(t)&&Au(e)}function Su(e,t,l){return l(function(){_u(t)&&Au(e)})}function _u(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!_t(e,l)}catch{return!0}}function Au(e){var t=jl(e,2);t!==null&&kt(t,e,2)}function So(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 zu(e,t,l,s){return e.baseState=l,No(e,Le,typeof s=="function"?s:ya)}function nf(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,Du(t,r)):(r.next=l.next,t.pending=l.next=r)}}function Du(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),Tu(e,t,m)}catch(_){_o(e,t,_)}finally{r!==null&&u.types!==null&&(r.types=u.types),p.T=r}}else try{r=l(i,s),Tu(e,t,r)}catch(_){_o(e,t,_)}}function Tu(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){Mu(e,t,s)},function(s){return _o(e,t,s)}):Mu(e,t,l)}function Mu(e,t,l){t.status="fulfilled",t.value=l,Cu(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Du(e,l)))}function _o(e,t,l){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=l,Cu(t),t=t.next;while(t!==s)}e.action=null}function Cu(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Eu(e,t){return t}function Lu(e,t){if(Se){var l=Ve.formState;if(l!==null){e:{var s=pe;if(Se){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}}qa(s)}s=!1}s&&(t=l[0])}}return l=xt(),l.memoizedState=l.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eu,lastRenderedState:t},l.queue=s,l=Pu.bind(null,pe,s),s.dispatch=l,s=So(!1),r=Co.bind(null,pe,!1,s.queue),s=xt(),i={state:t,dispatch:null,action:e,pending:null},s.queue=i,l=nf.bind(null,pe,i,r,l),i.dispatch=l,s.memoizedState=e,[t,l,!1]}function Ou(e){var t=Qe();return Uu(t,Le,e)}function Uu(e,t,l){if(t=No(e,t,Eu)[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&&(pe.flags|=2048,cs(9,{destroy:void 0},rf.bind(null,i,l),null)),[s,r,e]}function rf(e,t){e.action=t}function Vu(e){var t=Qe(),l=Le;if(l!==null)return Uu(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=pe.updateQueue,t===null&&(t=yn(),pe.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(s=l.next,l.next=e,e.next=s,t.lastEffect=e),e}function Ru(){return Qe().memoizedState}function wn(e,t,l,s){var i=xt();pe.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&&po(s,Le.memoizedState.deps)?i.memoizedState=cs(t,r,l,s):(pe.flags|=e,i.memoizedState=cs(1|t,r,l,s))}function Hu(e,t){wn(8390656,8,e,t)}function Ao(e,t){Sn(2048,8,e,t)}function of(e){pe.flags|=4;var t=pe.updateQueue;if(t===null)t=yn(),pe.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function qu(e){var t=Qe().memoizedState;return of({ref:t,nextImpl:e}),function(){if((Te&2)!==0)throw Error(d(440));return t.impl.apply(void 0,arguments)}}function Bu(e,t){return Sn(4,2,e,t)}function Gu(e,t){return Sn(4,4,e,t)}function Ju(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Yu(e,t,l){l=l!=null?l.concat([e]):null,Sn(4,4,Ju.bind(null,t,e),l)}function zo(){}function Ku(e,t){var l=Qe();t=t===void 0?null:t;var s=l.memoizedState;return t!==null&&po(t,s[1])?s[0]:(l.memoizedState=[e,t],e)}function Wu(e,t){var l=Qe();t=t===void 0?null:t;var s=l.memoizedState;if(t!==null&&po(t,s[1]))return s[0];if(s=e(),Dl){Ot(!0);try{e()}finally{Ot(!1)}}return l.memoizedState=[s,t],s}function Do(e,t,l){return l===void 0||(ja&1073741824)!==0&&(Ne&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Qm(),pe.lanes|=e,Za|=e,l)}function Qu(e,t,l,s){return _t(l,t)?l:ns.current!==null?(e=Do(e,l,s),_t(e,t)||(Fe=!0),e):(ja&42)===0||(ja&1073741824)!==0&&(Ne&261930)===0?(Fe=!0,e.memoizedState=l):(e=Qm(),pe.lanes|=e,Za|=e,t)}function Xu(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,Co(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=af(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 cf(){}function To(e,t,l,s){if(e.tag!==5)throw Error(d(476));var i=Zu(e).queue;Xu(e,i,t,j,l===null?cf:function(){return Fu(e),l(s)})}function Zu(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 Fu(e){var t=Zu(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},Ct())}function Mo(){return ct(xi)}function $u(){return Qe().memoizedState}function Iu(){return Qe().memoizedState}function df(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ct();e=Ja(l);var s=Ya(t,e,l);s!==null&&(kt(s,t,l),Xs(s,t,l)),t={cache:io()},e.payload=t;return}t=t.return}}function uf(e,t,l){var s=Ct();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_n(e)?em(t,l):(l=Xr(e,t,l,s),l!==null&&(kt(l,e,s),tm(l,t,s)))}function Pu(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))em(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=Xr(e,t,i,s),l!==null)return kt(l,e,s),tm(l,t,s),!0}return!1}function Co(e,t,l,s){if(s={lane:2,revertLane:dc(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},_n(e)){if(t)throw Error(d(479))}else t=Xr(e,l,s,2),t!==null&&kt(t,e,2)}function _n(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function em(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 tm(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 am={readContext:ct,use:kn,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Hu,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,wn(4194308,4,Ju.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=uf.bind(null,pe,e),[s.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:function(e){e=So(e);var t=e.queue,l=Pu.bind(null,pe,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:zo,useDeferredValue:function(e,t){var l=xt();return Do(l,e,t)},useTransition:function(){var e=So(!1);return e=Xu.bind(null,pe,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var s=pe,i=xt();if(Se){if(l===void 0)throw Error(d(407));l=l()}else{if(l=t(),Ve===null)throw Error(d(349));(Ne&127)!==0||Nu(s,t,l)}i.memoizedState=l;var r={value:l,getSnapshot:t};return i.queue=r,Hu(Su.bind(null,s,r,e),[e]),s.flags|=2048,cs(9,{destroy:void 0},wu.bind(null,s,r,l,t),null),l},useId:function(){var e=xt(),t=Ve.identifierPrefix;if(Se){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=lf++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Mo,useFormState:Lu,useActionState:Lu,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=Co.bind(null,pe,!0,l),l.dispatch=t,[e,t]},useMemoCache:ko,useCacheRefresh:function(){return xt().memoizedState=df.bind(null,pe)},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)}}},Eo={readContext:ct,use:kn,useCallback:Ku,useContext:ct,useEffect:Ao,useImperativeHandle:Yu,useInsertionEffect:Bu,useLayoutEffect:Gu,useMemo:Wu,useReducer:Nn,useRef:Ru,useState:function(){return Nn(ya)},useDebugValue:zo,useDeferredValue:function(e,t){var l=Qe();return Qu(l,Le.memoizedState,e,t)},useTransition:function(){var e=Nn(ya)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Is(e),t]},useSyncExternalStore:ku,useId:$u,useHostTransitionStatus:Mo,useFormState:Ou,useActionState:Ou,useOptimistic:function(e,t){var l=Qe();return zu(l,Le,e,t)},useMemoCache:ko,useCacheRefresh:Iu};Eo.useEffectEvent=qu;var lm={readContext:ct,use:kn,useCallback:Ku,useContext:ct,useEffect:Ao,useImperativeHandle:Yu,useInsertionEffect:Bu,useLayoutEffect:Gu,useMemo:Wu,useReducer:wo,useRef:Ru,useState:function(){return wo(ya)},useDebugValue:zo,useDeferredValue:function(e,t){var l=Qe();return Le===null?Do(l,e,t):Qu(l,Le.memoizedState,e,t)},useTransition:function(){var e=wo(ya)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Is(e),t]},useSyncExternalStore:ku,useId:$u,useHostTransitionStatus:Mo,useFormState:Vu,useActionState:Vu,useOptimistic:function(e,t){var l=Qe();return Le!==null?zu(l,Le,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:ko,useCacheRefresh:Iu};lm.useEffectEvent=qu;function Lo(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 Oo={enqueueSetState:function(e,t,l){e=e._reactInternals;var s=Ct(),i=Ja(s);i.payload=t,l!=null&&(i.callback=l),t=Ya(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=Ja(s);i.tag=1,i.payload=t,l!=null&&(i.callback=l),t=Ya(e,i,s),t!==null&&(kt(t,e,s),Xs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ct(),s=Ja(l);s.tag=2,t!=null&&(s.callback=t),t=Ya(e,s,l),t!==null&&(kt(t,e,l),Xs(t,e,l))}};function sm(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?!qs(l,s)||!qs(i,r):!0}function im(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&&Oo.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 nm(e){ln(e)}function rm(e){console.error(e)}function om(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 cm(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 Uo(e,t,l){return l=Ja(l),l.tag=3,l.payload={element:null},l.callback=function(){An(e,t)},l}function dm(e){return e=Ja(e),e.tag=3,e}function um(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(){cm(t,l,s)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){cm(t,l,s),typeof i!="function"&&(Fa===null?Fa=new Set([this]):Fa.add(this));var m=s.stack;this.componentDidCatch(s.value,{componentStack:m!==null?m:""})})}function mf(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),rc(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)),rc(e,s,i)),!1}throw Error(d(435,l.tag))}return rc(e,s,i),Hn(),!1}if(Se)return t=zt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,s!==eo&&(e=Error(d(422),{cause:s}),Js(qt(e,l)))):(s!==eo&&(t=Error(d(423),{cause:s}),Js(qt(t,l))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,s=qt(s,l),i=Uo(e.stateNode,s,i),mo(e,i),Ye!==4&&(Ye=2)),!1;var r=Error(d(520),{cause:s});if(r=qt(r,l),oi===null?oi=[r]:oi.push(r),Ye!==4&&(Ye=2),t===null)return!0;s=qt(s,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=i&-i,l.lanes|=e,e=Uo(l.stateNode,s,e),mo(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"&&(Fa===null||!Fa.has(r))))return l.flags|=65536,i&=-i,l.lanes|=i,i=dm(i),um(i,e,l,s),mo(l,i),!1}l=l.return}while(l!==null);return!1}var Vo=Error(d(461)),Fe=!1;function dt(e,t,l,s){t.child=e===null?fu(t,null,l,s):zl(t,e.child,l,s)}function mm(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=bo(e,t,l,u,r,i),m=vo(),e!==null&&!Fe?(jo(e,t,i),ka(e,t,i)):(Se&&m&&Ir(t),t.flags|=1,dt(e,t,s,i),t.child)}function hm(e,t,l,s,i){if(e===null){var r=l.type;return typeof r=="function"&&!Zr(r)&&r.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=r,gm(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,!Ko(e,i)){var u=r.memoizedProps;if(l=l.compare,l=l!==null?l:qs,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 gm(e,t,l,s,i){if(e!==null){var r=e.memoizedProps;if(qs(r,s)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=s=r,Ko(e,i))(e.flags&131072)!==0&&(Fe=!0);else return t.lanes=e.lanes,ka(e,t,i)}return Ro(e,t,l,s,i)}function fm(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 xm(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?bu(t,r):go(),vu(t);else return s=t.lanes=536870912,xm(e,t,r!==null?r.baseLanes|l:l,l,s)}else r!==null?(mn(t,r.cachePool),bu(t,r),Wa(),t.memoizedState=null):(e!==null&&mn(t,null),go(),Wa());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 xm(e,t,l,s,i){var r=ro();return r=r===null?null:{parent:Xe._currentValue,pool:r},t.memoizedState={baseLanes:l,cachePool:r},e!==null&&mn(t,null),go(),vu(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 pm(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 hf(e,t,l){var s=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Se){if(s.mode==="hidden")return e=zn(t,s),t.lanes=536870912,ti(null,e);if(xo(t),(e=He)?(e=Dh(e,Jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:la,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},l=eu(e),l.return=t,t.child=l,ot=t,He=null)):e=null,e===null)throw qa(t);return t.lanes=536870912,null}return zn(t,s)}var r=e.memoizedState;if(r!==null){var u=r.dehydrated;if(xo(t),i)if(t.flags&256)t.flags&=-257,t=pm(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),Vo;Hn(),t=pm(e,t,l)}else e=r.treeContext,He=Kt(u.nextSibling),ot=t,Se=!0,Ha=null,Jt=!1,e!==null&&lu(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 Ro(e,t,l,s,i){return wl(t),l=bo(e,t,l,s,void 0,i),s=vo(),e!==null&&!Fe?(jo(e,t,i),ka(e,t,i)):(Se&&s&&Ir(t),t.flags|=1,dt(e,t,l,i),t.child)}function bm(e,t,l,s,i,r){return wl(t),t.updateQueue=null,l=yu(t,s,l,i),ju(e),s=vo(),e!==null&&!Fe?(jo(e,t,r),ka(e,t,r)):(Se&&s&&Ir(t),t.flags|=1,dt(e,t,l,r),t.child)}function vm(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=Oo,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=s,r.state=t.memoizedState,r.refs={},co(t),u=l.contextType,r.context=typeof u=="object"&&u!==null?ct(u):$l,r.state=t.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(Lo(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&&Oo.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)&&im(t,r,s,u),Ga=!1;var A=t.memoizedState;r.state=A,Fs(t,s,r,i),Zs(),_=t.memoizedState,m||A!==_||Ga?(typeof V=="function"&&(Lo(t,l,V,s),_=t.memoizedState),(x=Ga||sm(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,uo(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)&&im(t,r,s,x),Ga=!1,A=t.memoizedState,r.state=A,Fs(t,s,r,i),Zs();var T=t.memoizedState;u!==V||A!==T||Ga||e!==null&&e.dependencies!==null&&dn(e.dependencies)?(typeof m=="function"&&(Lo(t,l,m,s),T=t.memoizedState),(L=Ga||sm(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 jm(e,t,l,s){return kl(),t.flags|=256,dt(e,t,l,s),t.child}var Ho={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qo(e){return{baseLanes:e,cachePool:cu()}}function Bo(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Mt),e}function ym(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(Se){if(i?Ka(t):Wa(),(e=He)?(e=Dh(e,Jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:la,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},l=eu(e),l.return=t,t.child=l,ot=t,He=null)):e=null,e===null)throw qa(t);return Nc(e)?t.lanes=32:t.lanes=536870912,null}var m=s.children;return s=s.fallback,i?(Wa(),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=qo(l),s.childLanes=Bo(e,u,l),t.memoizedState=Ho,ti(null,s)):(Ka(t),Go(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(r)t.flags&256?(Ka(t),t.flags&=-257,t=Jo(e,t,l)):t.memoizedState!==null?(Wa(),t.child=e.child,t.flags|=128,t=null):(Wa(),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=qo(l),s.childLanes=Bo(e,u,l),t.memoizedState=Ho,t=ti(null,s));else if(Ka(t),Nc(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=Jo(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),Vo;kc(m)||Hn(),t=Jo(e,t,l)}else kc(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,He=Kt(m.nextSibling),ot=t,Se=!0,Ha=null,Jt=!1,e!==null&&lu(t,e),t=Go(t,s.children),t.flags|=4096);return t}return i?(Wa(),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=qo(l):(i=m.cachePool,i!==null?(x=Xe._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=cu(),m={baseLanes:m.baseLanes|l,cachePool:i}),s.memoizedState=m,s.childLanes=Bo(e,u,l),t.memoizedState=Ho,ti(e.child,s)):(Ka(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 Go(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 Jo(e,t,l){return zl(t,e.child,null,l),e=Go(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function km(e,t,l){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),lo(e.return,t,l)}function Yo(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 Nm(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=Se?Gs:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&km(e,l,t);else if(e.tag===19)km(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),Yo(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}Yo(t,!0,l,null,r,s);break;case"together":Yo(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),Za|=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 Ko(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&dn(e)))}function gf(e,t,l){switch(t.tag){case 3:at(t,t.stateNode.containerInfo),Ba(t,Xe,e.memoizedState.cache),kl();break;case 27:case 5:La(t);break;case 4:at(t,t.stateNode.containerInfo);break;case 10:Ba(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,xo(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Ka(t),t.flags|=128,null):(l&t.child.childLanes)!==0?ym(e,t,l):(Ka(t),e=ka(e,t,l),e!==null?e.sibling:null);Ka(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 Nm(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,fm(e,t,l,t.pendingProps);case 24:Ba(t,Xe,e.memoizedState.cache)}return ka(e,t,l)}function wm(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Fe=!0;else{if(!Ko(e,l)&&(t.flags&128)===0)return Fe=!1,gf(e,t,l);Fe=(e.flags&131072)!==0}else Fe=!1,Se&&(t.flags&1048576)!==0&&au(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")Zr(e)?(s=Tl(e,s),t.tag=1,t=vm(null,t,e,s,l)):(t.tag=0,t=Ro(null,t,e,s,l));else{if(e!=null){var i=e.$$typeof;if(i===ne){t.tag=11,t=mm(null,t,e,s,l);break e}else if(i===X){t.tag=14,t=hm(null,t,e,s,l);break e}}throw t=je(e)||e,Error(d(306,t,""))}}return t;case 0:return Ro(e,t,t.type,t.pendingProps,l);case 1:return s=t.type,i=Tl(s,t.pendingProps),vm(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,uo(e,t),Fs(t,s,null,l);var u=t.memoizedState;if(s=u.cache,Ba(t,Xe,s),s!==r.cache&&so(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=jm(e,t,s,l);break e}else if(s!==i){i=qt(Error(d(424)),t),Js(i),t=jm(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,Se=!0,Ha=null,Jt=!0,l=fu(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=Oh(t.type,null,t.pendingProps,null))?t.memoizedState=l:Se||(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=Oh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return La(t),e===null&&Se&&(s=t.stateNode=Ch(t.type,t.pendingProps,ce.current),ot=t,Jt=!0,i=He,el(t.type)?(wc=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&&Se&&((i=s=He)&&(s=Yf(s,t.type,t.pendingProps,Jt),s!==null?(t.stateNode=s,ot=t,He=Kt(s.firstChild),Jt=!1,i=!0):i=!1),i||qa(t)),La(t),i=t.type,r=t.pendingProps,u=e!==null?e.memoizedProps:null,s=r.children,vc(i,r)?s=null:u!==null&&vc(i,u)&&(t.flags|=32),t.memoizedState!==null&&(i=bo(e,t,sf,null,null,l),xi._currentValue=i),Dn(e,t),dt(e,t,s,l),t.child;case 6:return e===null&&Se&&((e=l=He)&&(l=Kf(l,t.pendingProps,Jt),l!==null?(t.stateNode=l,ot=t,He=null,e=!0):e=!1),e||qa(t)),null;case 13:return ym(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 mm(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,Ba(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 hm(e,t,t.type,t.pendingProps,l);case 15:return gm(e,t,t.type,t.pendingProps,l);case 19:return Nm(e,t,l);case 31:return hf(e,t,l);case 22:return fm(e,t,l,t.pendingProps);case 24:return wl(t),s=ct(Xe),e===null?(i=ro(),i===null&&(i=Ve,r=io(),i.pooledCache=r,r.refCount++,r!==null&&(i.pooledCacheLanes|=l),i=r),t.memoizedState={parent:s,cache:i},co(t),Ba(t,Xe,i)):((e.lanes&l)!==0&&(uo(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),Ba(t,Xe,s)):(s=r.cache,Ba(t,Xe,s),s!==i.cache&&so(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 Wo(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($m())e.flags|=8192;else throw Al=gn,oo}else e.flags&=-16777217}function Sm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!qh(t))if($m())e.flags|=8192;else throw Al=gn,oo}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(!Se)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 qe(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 ff(e,t,l){var s=t.pendingProps;switch(Pr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(t),null;case 1:return qe(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,to())),qe(t),null;case 26:var i=t.type,r=t.memoizedState;return e===null?(Na(t),r!==null?(qe(t),Sm(t,r)):(qe(t),Wo(t,i,null,s,l))):r?r!==e.memoizedState?(Na(t),qe(t),Sm(t,r)):(qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Na(t),qe(t),Wo(t,i,e,s,l)),null;case 27:if(Oa(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 qe(t),null}e=J.current,es(t)?su(t):(e=Ch(i,s,l),t.stateNode=e,Na(t))}return qe(t),null;case 5:if(Oa(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 qe(t),null}if(r=J.current,es(t))su(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 qe(t),Wo(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||yh(e.nodeValue,l)),e||qa(t,!0)}else e=Wn(e).createTextNode(s),e[Pe]=t,t.stateNode=e}return qe(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;qe(t),e=!1}else l=to(),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 qe(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;qe(t),i=!1}else i=to(),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),qe(t),null);case 4:return Ge(),e===null&&gc(t.stateNode.containerInfo),qe(t),null;case 10:return va(t.type),qe(t),null;case 19:if(N(We),s=t.memoizedState,s===null)return qe(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;)Pd(l,e),l=l.sibling;return O(We,We.current&1|2),Se&&pa(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&>()>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&&!Se)return qe(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),Se&&pa(t,s.treeForkCount),e):(qe(t),null);case 22:case 23:return Dt(t),fo(),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&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(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),qe(t),null;case 25:return null;case 30:return null}throw Error(d(156,t.tag))}function xf(e,t){switch(Pr(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 Oa(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),fo(),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 _m(e,t){switch(Pr(t),t.tag){case 3:va(Xe),Ge();break;case 26:case 27:case 5:Oa(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),fo(),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 Qa(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 Am(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{pu(t,l)}catch(s){Ee(e,e.return,s)}}}function zm(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 Dm(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 Qo(e,t,l){try{var s=e.stateNode;Rf(s,e.type,l,t),s[mt]=t}catch(i){Ee(e,e.return,i)}}function Tm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&el(e.type)||e.tag===4}function Xo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tm(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&&el(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 Zo(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&&el(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Zo(e,t,l),e=e.sibling;e!==null;)Zo(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&&el(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 Mm(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,Fo=!1,Cm=typeof WeakSet=="function"?WeakSet:Set,nt=null;function pf(e,t){if(e=e.containerInfo,pc=Pn,e=Yd(e),Gr(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(bc={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(me){Ee(l,l.return,me)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)yc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":yc(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 Em(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&&Am(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{pu(e,t)}catch(u){Ee(l,l.return,u)}}break;case 27:t===null&&s&4&&Mm(l);case 26:case 5:_a(e,l),t===null&&s&4&&Dm(l),s&512&&si(l,l.return);break;case 12:_a(e,l);break;case 31:_a(e,l),s&4&&Um(e,l);break;case 13:_a(e,l),s&4&&Vm(e,l),s&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=_f.bind(null,l),Wf(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 Lm(e){var t=e.alternate;t!==null&&(e.alternate=null,Lm(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 Be=null,bt=!1;function Sa(e,t,l){for(l=l.child;l!==null;)Om(e,t,l),l=l.sibling}function Om(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=Be,i=bt;el(l.type)&&(Be=l.stateNode,bt=!1),Sa(e,t,l),hi(l.stateNode),Be=s,bt=i;break;case 5:$e||ia(l,t);case 6:if(s=Be,i=bt,Be=null,Sa(e,t,l),Be=s,bt=i,Be!==null)if(bt)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(l.stateNode)}catch(r){Ee(l,t,r)}else try{Be.removeChild(l.stateNode)}catch(r){Ee(l,t,r)}break;case 18:Be!==null&&(bt?(e=Be,Ah(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),ys(e)):Ah(Be,l.stateNode));break;case 4:s=Be,i=bt,Be=l.stateNode.containerInfo,bt=!0,Sa(e,t,l),Be=s,bt=i;break;case 0:case 11:case 14:case 15:Qa(2,l,t),$e||Qa(4,l,t),Sa(e,t,l);break;case 1:$e||(ia(l,t),s=l.stateNode,typeof s.componentWillUnmount=="function"&&zm(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 Um(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 Vm(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 bf(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Cm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Cm),t;default:throw Error(d(435,e.tag))}}function En(e,t){var l=bf(e);t.forEach(function(s){if(!l.has(s)){l.add(s);var i=Af.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(el(m.type)){Be=m.stateNode,bt=!1;break e}break;case 5:Be=m.stateNode,bt=!1;break e;case 3:case 4:Be=m.stateNode.containerInfo,bt=!0;break e}m=m.return}if(Be===null)throw Error(d(160));Om(r,u,i),Be=null,bt=!1,r=i.alternate,r!==null&&(r.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Rm(t,e),t=t.sibling}var $t=null;function Rm(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&&(Qa(3,e,e.return),li(3,e),Qa(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=Rh("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=Rh("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 Hh(i,e.type,e.stateNode);else e.stateNode=Vh(i,s,e.memoizedProps);else r!==s?(r===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):r.count--,s===null?Hh(i,e.type,e.stateNode):Vh(i,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Qo(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&&Qo(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,Qo(e,i,l!==null?l.memoizedProps:i)),s&1024&&(Fo=!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,$)}Fo&&(Fo=!1,Hm(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?zh(T,!0):zh(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(Tm(s)){l=s;break}s=s.return}if(l==null)throw Error(d(160));switch(l.tag){case 27:var i=l.stateNode,r=Xo(e);Cn(e,r,i);break;case 5:var u=l.stateNode;l.flags&32&&(Yl(u,""),l.flags&=-33);var m=Xo(e);Cn(e,m,u);break;case 3:case 4:var x=l.stateNode.containerInfo,_=Xo(e);Zo(e,_,x);break;default:throw Error(d(161))}}catch(L){Ee(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Hm(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;)Em(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:Qa(4,t,t.return),Ml(t);break;case 1:ia(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&zm(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++)xu(x[i],m)}catch(_){Ee(s,s.return,_)}}l&&u&64&&Am(r),si(r,r.return);break;case 27:Mm(r);case 26:case 5:Aa(i,r,l),l&&s===null&&u&4&&Dm(r),si(r,r.return);break;case 12:Aa(i,r,l);break;case 31:Aa(i,r,l),l&&u&4&&Um(i,r);break;case 13:Aa(i,r,l),l&&u&4&&Vm(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 $o(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 Io(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;)qm(e,t,l,s),t=t.sibling}function qm(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&&$o(u,t);break;case 24:It(e,t,l,s),i&2048&&Io(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&&$o(u.alternate,u);break;case 24:ds(r,u,m,x,i),i&&_&2048&&Io(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&&$o(s.alternate,s);break;case 24:ii(l,s),i&2048&&Io(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;)Bm(e,t,l),e=e.sibling}function Bm(e,t,l){switch(e.tag){case 26:us(e,t,l),e.flags&ni&&e.memoizedState!==null&&sx(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 Gm(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,Ym(s,e)}Gm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Jm(e),e=e.sibling}function Jm(e){switch(e.tag){case 0:case 11:case 15:ri(e),e.flags&2048&&Qa(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,Ym(s,e)}Gm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Qa(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 Ym(e,t){for(;nt!==null;){var l=nt;switch(l.tag){case 0:case 11:case 15:Qa(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(Lm(s),s===l){nt=null;break e}if(i!==null){i.return=r,nt=i;break e}nt=r}}}var vf={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}},jf=typeof WeakMap=="function"?WeakMap:Map,Te=0,Ve=null,ye=null,Ne=0,Ce=0,Tt=null,Xa=!1,ms=!1,Po=!1,za=0,Ye=0,Za=0,Cl=0,ec=0,Mt=0,hs=0,oi=null,yt=null,tc=!1,On=0,Km=0,Un=1/0,Vn=null,Fa=null,et=0,$a=null,gs=null,Da=0,ac=0,lc=null,Wm=null,ci=0,sc=null;function Ct(){return(Te&2)!==0&&Ne!==0?Ne&-Ne:p.T!==null?dc():Wi()}function Qm(){if(Mt===0)if((Ne&536870912)===0||Se){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),Ia(e,Ne,Mt,!1)),ea(e,l),((Te&2)===0||e!==Ve)&&(e===Ve&&((Te&2)===0&&(Cl|=l),Ye===4&&Ia(e,Ne,Mt,!1)),na(e))}function Xm(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?Nf(e,t):nc(e,t,!0),r=s;do{if(i===0){ms&&!s&&Ia(e,t,0,!1);break}else{if(l=e.current.alternate,r&&!yf(l)){i=nc(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=nc(m,u,!1),u!==2){if(Po&&!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),Ia(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:Ia(s,t,Mt,!Xa);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(Ia(s,t,Mt,!Xa),hl(s,0,!0)!==0)break e;Da=t,s.timeoutHandle=Sh(Zm.bind(null,s,l,yt,Vn,tc,t,Mt,Cl,hs,Xa,r,"Throttled",-0,0),i);break e}Zm(s,l,yt,Vn,tc,t,Mt,Cl,hs,Xa,r,null,-0,0)}}break}while(!0);na(e)}function Zm(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},Bm(t,r,V);var $=(r&62914560)===r?On-gt():(r&4194048)===r?Km-gt():0;if($=ix(V,$),$!==null){Da=r,e.cancelPendingCommit=$(lh.bind(null,e,t,r,l,s,i,u,m,x,L,V,null,A,T)),Ia(e,r,u,!_);return}}lh(e,t,r,l,s,i,u,m,x)}function yf(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 Ia(e,t,l,s){t&=~ec,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 ic(){if(ye!==null){if(Ce===0)var e=ye.return;else e=ye,ba=Nl=null,yo(e),is=null,Ws=0,e=ye;for(;e!==null;)_m(e.alternate,e),e=e.return;ye=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,ic(),Ve=e,ye=l=xa(e.current,null),Ne=t,Ce=0,Tt=null,Xa=!1,ms=gl(e,t),Po=!1,hs=Mt=ec=Cl=Za=Ye=0,yt=oi=null,tc=!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 Fm(e,t){pe=null,p.H=ei,t===ss||t===hn?(t=mu(),Ce=3):t===oo?(t=mu(),Ce=4):Ce=t===Vo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Tt=t,ye===null&&(Ye=1,An(e,qt(t,e.current)))}function $m(){var e=zt.current;return e===null?!0:(Ne&4194048)===Ne?Yt===null:(Ne&62914560)===Ne||(Ne&536870912)!==0?e===Yt:!1}function Im(){var e=p.H;return p.H=ei,e===null?ei:e}function Pm(){var e=p.A;return p.A=vf,e}function Hn(){Ye=4,Xa||(Ne&4194048)!==Ne&&zt.current!==null||(ms=!0),(Za&134217727)===0&&(Cl&134217727)===0||Ve===null||Ia(Ve,Ne,Mt,!1)}function nc(e,t,l){var s=Te;Te|=2;var i=Im(),r=Pm();(Ve!==e||Ne!==t)&&(Vn=null,fs(e,t)),t=!1;var u=Ye;e:do try{if(Ce!==0&&ye!==null){var m=ye,x=Tt;switch(Ce){case 8:ic(),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,_)}}kf(),u=Ye;break}catch(L){Fm(e,L)}while(!0);return t&&e.shellSuspendCounter++,ba=Nl=null,Te=s,p.H=i,p.A=r,ye===null&&(Ve=null,Ne=0,sn()),u}function kf(){for(;ye!==null;)eh(ye)}function Nf(e,t){var l=Te;Te|=2;var s=Im(),i=Pm();Ve!==e||Ne!==t?(Vn=null,Un=gt()+500,fs(e,t)):ms=gl(e,t);e:do try{if(Ce!==0&&ye!==null){t=ye;var r=Tt;t:switch(Ce){case 1:Ce=0,Tt=null,xs(e,t,r,1);break;case 2:case 9:if(du(r)){Ce=0,Tt=null,th(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:du(r)?(Ce=0,Tt=null,th(t)):(Ce=0,Tt=null,xs(e,t,r,7));break;case 5:var u=null;switch(ye.tag){case 26:u=ye.memoizedState;case 5:case 27:var m=ye;if(u?qh(u):m.stateNode.complete){Ce=0,Tt=null;var x=m.sibling;if(x!==null)ye=x;else{var _=m.return;_!==null?(ye=_,qn(_)):ye=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:ic(),Ye=6;break e;default:throw Error(d(462))}}wf();break}catch(L){Fm(e,L)}while(!0);return ba=Nl=null,p.H=s,p.A=i,Te=l,ye!==null?0:(Ve=null,Ne=0,sn(),Ye)}function wf(){for(;ye!==null&&!Ui();)eh(ye)}function eh(e){var t=wm(e.alternate,e,za);e.memoizedProps=e.pendingProps,t===null?qn(e):ye=t}function th(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=bm(l,t,t.pendingProps,t.type,void 0,Ne);break;case 11:t=bm(l,t,t.pendingProps,t.type.render,t.ref,Ne);break;case 5:yo(t);default:_m(l,t),t=ye=Pd(t,za),t=wm(l,t,za)}e.memoizedProps=e.pendingProps,t===null?qn(e):ye=t}function xs(e,t,l,s){ba=Nl=null,yo(t),is=null,Ws=0;var i=t.return;try{if(mf(e,i,t,l,Ne)){Ye=1,An(e,qt(l,e.current)),ye=null;return}}catch(r){if(i!==null)throw ye=i,r;Ye=1,An(e,qt(l,e.current)),ye=null;return}t.flags&32768?(Se||s===1?e=!0:ms||(Ne&536870912)!==0?e=!1:(Xa=e=!0,(s===2||s===9||s===3||s===6)&&(s=zt.current,s!==null&&s.tag===13&&(s.flags|=16384))),ah(t,e)):qn(t)}function qn(e){var t=e;do{if((t.flags&32768)!==0){ah(t,Xa);return}e=t.return;var l=ff(t.alternate,t,za);if(l!==null){ye=l;return}if(t=t.sibling,t!==null){ye=t;return}ye=t=e}while(t!==null);Ye===0&&(Ye=5)}function ah(e,t){do{var l=xf(e.alternate,e);if(l!==null){l.flags&=32767,ye=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ye=e;return}ye=e=l}while(e!==null);Ye=6,ye=null}function lh(e,t,l,s,i,r,u,m,x){e.cancelPendingCommit=null;do Bn();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|=Qr,da(e,l,r,u,m,x),e===Ve&&(ye=Ve=null,Ne=0),gs=t,$a=e,Da=l,ac=r,lc=i,Wm=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,zf(ql,function(){return oh(),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{pf(e,t,l)}finally{Te=u,C.p=i,p.T=s}}et=1,sh(),ih(),nh()}}function sh(){if(et===1){et=0;var e=$a,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{Rm(t,e);var r=bc,u=Yd(e.containerInfo),m=r.focusedElem,x=r.selectionRange;if(u!==m&&m&&m.ownerDocument&&Jd(m.ownerDocument.documentElement,m)){if(x!==null&&Gr(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,me=Math.min(x.start,$),Ue=x.end===void 0?me:Math.min(x.end,$);!T.extend&&me>Ue&&(u=Ue,Ue=me,me=u);var y=Gd(m,me),b=Gd(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(),me>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=!!pc,bc=pc=null}finally{Te=i,C.p=s,p.T=l}}e.current=t,et=2}}function ih(){if(et===2){et=0;var e=$a,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{Em(e,t.alternate,t)}finally{Te=i,C.p=s,p.T=l}}et=3}}function nh(){if(et===4||et===3){et=0,ol();var e=$a,t=gs,l=Da,s=Wm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?et=5:(et=0,gs=$a=null,rh(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Fa=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&&Bn(),na(e),i=e.pendingLanes,(l&261930)!==0&&(i&42)!==0?e===sc?ci++:(ci=0,sc=e):ci=0,di(0)}}function rh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ys(t)))}function Bn(){return sh(),ih(),nh(),oh()}function oh(){if(et!==5)return!1;var e=$a,t=ac;ac=0;var l=Ms(Da),s=p.T,i=C.p;try{C.p=32>l?32:l,p.T=null,l=lc,lc=null;var r=$a,u=Da;if(et=0,gs=$a=null,Da=0,(Te&6)!==0)throw Error(d(331));var m=Te;if(Te|=4,Jm(r.current),qm(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,rh(e,t)}}function ch(e,t,l){t=qt(l,t),t=Uo(e.stateNode,t,2),e=Ya(e,t,2),e!==null&&(ea(e,2),na(e))}function Ee(e,t,l){if(e.tag===3)ch(e,e,l);else for(;t!==null;){if(t.tag===3){ch(t,e,l);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Fa===null||!Fa.has(s))){e=qt(l,e),l=dm(2),s=Ya(t,l,2),s!==null&&(um(l,s,t,e),ea(s,2),na(s));break}}t=t.return}}function rc(e,t,l){var s=e.pingCache;if(s===null){s=e.pingCache=new jf;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)||(Po=!0,i.add(l),e=Sf.bind(null,e,t,l),t.then(e,e))}function Sf(e,t,l){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ve===e&&(Ne&l)===l&&(Ye===4||Ye===3&&(Ne&62914560)===Ne&&300>gt()-On?(Te&2)===0&&fs(e,0):ec|=l,hs===Ne&&(hs=0)),na(e)}function dh(e,t){t===0&&(t=Ds()),e=jl(e,t),e!==null&&(ea(e,t),na(e))}function _f(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),dh(e,l)}function Af(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),dh(e,l)}function zf(e,t){return Hl(e,t)}var Gn=null,ps=null,oc=!1,Jn=!1,cc=!1,Pa=0;function na(e){e!==ps&&e.next===null&&(ps===null?Gn=ps=e:ps=ps.next=e),Jn=!0,oc||(oc=!0,Tf())}function di(e,t){if(!cc&&Jn){cc=!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,gh(s,r))}else r=Ne,r=hl(s,s===Ve?r:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(r&3)===0||gl(s,r)||(l=!0,gh(s,r));s=s.next}while(l);cc=!1}}function Df(){uh()}function uh(){Jn=oc=!1;var e=0;Pa!==0&&qf()&&(e=Pa);for(var t=gt(),l=null,s=Gn;s!==null;){var i=s.next,r=mh(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),Pa!==0&&(Pa=0)}function mh(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]=wr(m,t)):x<=t&&(e.expiredLanes|=m),r&=~m}if(t=Ve,l=Ne,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=ql;break;case 268435456:l=qi;break;default:l=ql}return s=hh.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 hh(e,t){if(et!==0&&et!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Bn()&&e.callbackNode!==l)return null;var s=Ne;return s=hl(e,e===Ve?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(Xm(e,s,t),mh(e,gt()),e.callbackNode!=null&&e.callbackNode===l?hh.bind(null,e):null)}function gh(e,t){if(Bn())return null;Xm(e,t,!0)}function Tf(){Gf(function(){(Te&6)!==0?Hl(Ri,Df):uh()})}function dc(){if(Pa===0){var e=as;e===0&&(e=dl,dl<<=1,(dl&261888)===0&&(dl=256)),Pa=e}return Pa}function fh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fi(""+e)}function xh(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 Mf(e,t,l,s,i){if(t==="submit"&&l&&l.stateNode===i){var r=fh((i[mt]||null).action),u=s.submitter;u&&(t=(t=u[mt]||null)?fh(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(Pa!==0){var x=u?xh(i,u):new FormData(i);To(l,{pending:!0,data:x,method:i.method,action:r},null,x)}}else typeof r=="function"&&(m.preventDefault(),x=u?xh(i,u):new FormData(i),To(l,{pending:!0,data:x,method:i.method,action:r},r,x))},currentTarget:i}]})}}for(var uc=0;uc<Wr.length;uc++){var mc=Wr[uc],Cf=mc.toLowerCase(),Ef=mc[0].toUpperCase()+mc.slice(1);Ft(Cf,"on"+Ef)}Ft(Qd,"onAnimationEnd"),Ft(Xd,"onAnimationIteration"),Ft(Zd,"onAnimationStart"),Ft("dblclick","onDoubleClick"),Ft("focusin","onFocus"),Ft("focusout","onBlur"),Ft(X0,"onTransitionRun"),Ft(Z0,"onTransitionStart"),Ft(F0,"onTransitionCancel"),Ft(Fd,"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(" "),Lf=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ui));function ph(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 ke(e,t){var l=t[Cs];l===void 0&&(l=t[Cs]=new Set);var s=e+"__bubble";l.has(s)||(bh(t,e,2,!1),l.add(s))}function hc(e,t,l){var s=0;t&&(s|=4),bh(l,e,s,t)}var Yn="_reactListening"+Math.random().toString(36).slice(2);function gc(e){if(!e[Yn]){e[Yn]=!0,ud.forEach(function(l){l!=="selectionchange"&&(Lf.has(l)||hc(l,!1,e),hc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yn]||(t[Yn]=!0,hc("selectionchange",!1,t))}}function bh(e,t,l,s){switch(Qh(t)){case 2:var i=ox;break;case 8:i=cx;break;default:i=Dc}l=i.bind(null,t,l,e),i=void 0,!Er||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 fc(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}Nd(function(){var _=r,L=Mr(l),V=[];e:{var A=$d.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=_0;break;case"focusin":$="focus",T=Vr;break;case"focusout":$="blur",T=Vr;break;case"beforeblur":case"afterblur":T=Vr;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=_d;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=g0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=D0;break;case Qd:case Xd:case Zd:T=p0;break;case Fd:T=M0;break;case"scroll":case"scrollend":T=m0;break;case"wheel":T=E0;break;case"copy":case"cut":case"paste":T=v0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=zd;break;case"toggle":case"beforetoggle":T=O0}var me=(t&4)!==0,Ue=!me&&(e==="scroll"||e==="scrollend"),y=me?A!==null?A+"Capture":null:A;me=[];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&&me.push(mi(b,U,w))),Ue)break;b=b.return}0<me.length&&(A=new T(A,$,null,l,L),V.push({event:A,listeners:me}))}}if((t&7)===0){e:{if(A=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",A&&l!==Tr&&($=l.relatedTarget||l.fromElement)&&(ta($)||$[Ua]))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($),me=$.tag,$!==Ue||me!==5&&me!==27&&me!==6)&&($=null)):(T=null,$=_),T!==$)){if(me=_d,U="onMouseLeave",y="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(me=zd,U="onPointerLeave",y="onPointerEnter",b="pointer"),Ue=T==null?A:ma(T),w=$==null?A:ma($),A=new me(U,b+"leave",T,l,L),A.target=Ue,A.relatedTarget=w,U=null,ta(L)===_&&(me=new me(y,b+"enter",$,l,L),me.target=w,me.relatedTarget=Ue,U=me),Ue=U,T&&$)t:{for(me=Of,y=T,b=$,w=0,U=y;U;U=me(U))w++;U=0;for(var oe=b;oe;oe=me(oe))U++;for(;0<w-U;)y=me(y),w--;for(;0<U-w;)b=me(b),U--;for(;w--;){if(y===b||b!==null&&y===b.alternate){me=y;break t}y=me(y),b=me(b)}me=null}else me=null;T!==null&&vh(V,A,T,me,!1),$!==null&&Ue!==null&&vh(V,Ue,$,me,!0)}}e:{if(A=_?ma(_):window,T=A.nodeName&&A.nodeName.toLowerCase(),T==="select"||T==="input"&&A.type==="file")var Ae=Ud;else if(Ld(A))if(Vd)Ae=K0;else{Ae=J0;var I=G0}else T=A.nodeName,!T||T.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?_&&Dr(_.elementType)&&(Ae=Ud):Ae=Y0;if(Ae&&(Ae=Ae(e,_))){Od(V,Ae,l,L);break e}I&&I(e,A,_),e==="focusout"&&_&&A.type==="number"&&_.memoizedProps.value!=null&&zr(A,"number",A.value)}switch(I=_?ma(_):window,e){case"focusin":(Ld(I)||I.contentEditable==="true")&&(Xl=I,Jr=_,Bs=null);break;case"focusout":Bs=Jr=Xl=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":Yr=!1,Kd(V,l,L);break;case"selectionchange":if(Q0)break;case"keydown":case"keyup":Kd(V,l,L)}var be;if(Hr)e:{switch(e){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else Ql?Cd(e,l)&&(we="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(we="onCompositionStart");we&&(Dd&&l.locale!=="ko"&&(Ql||we!=="onCompositionStart"?we==="onCompositionEnd"&&Ql&&(be=wd()):(Va=L,Lr="value"in Va?Va.value:Va.textContent,Ql=!0)),I=Kn(_,we),0<I.length&&(we=new Ad(we,e,null,l,L),V.push({event:we,listeners:I}),be?we.data=be:(be=Ed(l),be!==null&&(we.data=be)))),(be=V0?R0(e,l):H0(e,l))&&(we=Kn(_,"onBeforeInput"),0<we.length&&(I=new Ad("onBeforeInput","beforeinput",null,l,L),V.push({event:I,listeners:we}),I.data=be)),Mf(V,e,_,l,L)}ph(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 Of(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function vh(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 Uf=/\r\n?/g,Vf=/\u0000|\uFFFD/g;function jh(e){return(typeof e=="string"?e:""+e).replace(Uf,`
|
||
`).replace(Vf,"")}function yh(e,t){return t=jh(t),jh(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":yd(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&&ke("scroll",e);break;case"onScrollEnd":s!=null&&ke("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":ke("beforetoggle",e),ke("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=d0.get(l)||l,Qi(e,l,s))}}function xc(e,t,l,s,i,r){switch(l){case"style":yd(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&&ke("scroll",e);break;case"onScrollEnd":s!=null&&ke("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(!md.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":ke("error",e),ke("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":ke("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)}}pd(e,r,m,x,_,u,i,!1);return;case"select":ke("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":ke("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)}vd(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":ke("beforetoggle",e),ke("toggle",e),ke("cancel",e),ke("close",e);break;case"iframe":case"object":ke("load",e);break;case"video":case"audio":for(s=0;s<ui.length;s++)ke(ui[s],e);break;case"image":ke("error",e),ke("load",e);break;case"details":ke("toggle",e);break;case"embed":case"source":case"link":ke("error",e),ke("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(Dr(t)){for(L in l)l.hasOwnProperty(L)&&(s=l[L],s!==void 0&&xc(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 Rf(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)}}Ar(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)}bd(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 me in l)A=l[me],l.hasOwnProperty(me)&&A!=null&&!s.hasOwnProperty(me)&&Oe(e,t,me,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(Dr(t)){for(var Ue in l)A=l[Ue],l.hasOwnProperty(Ue)&&A!==void 0&&!s.hasOwnProperty(Ue)&&xc(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||xc(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 kh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Hf(){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&&kh(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&&kh(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 pc=null,bc=null;function Wn(e){return e.nodeType===9?e:e.ownerDocument}function Nh(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 wh(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 vc(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 jc=null;function qf(){var e=window.event;return e&&e.type==="popstate"?e===jc?!1:(jc=e,!0):(jc=null,!1)}var Sh=typeof setTimeout=="function"?setTimeout:void 0,Bf=typeof clearTimeout=="function"?clearTimeout:void 0,_h=typeof Promise=="function"?Promise:void 0,Gf=typeof queueMicrotask=="function"?queueMicrotask:typeof _h<"u"?function(e){return _h.resolve(null).then(e).catch(Jf)}:Sh;function Jf(e){setTimeout(function(){throw e})}function el(e){return e==="head"}function Ah(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 zh(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 yc(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":yc(l),fl(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Yf(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 Kf(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 Dh(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 kc(e){return e.data==="$?"||e.data==="$~"}function Nc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Wf(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 wc=null;function Th(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 Mh(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 Ch(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,Eh=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:Qf,r:Xf,D:Zf,C:Ff,L:$f,m:If,X:ex,S:Pf,M:tx};function Qf(){var e=Ta.f(),t=Rn();return e||t}function Xf(e){var t=aa(e);t!==null&&t.tag===5&&t.type==="form"?Fu(t):Ta.r(e)}var bs=typeof document>"u"?null:document;function Lh(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+'"]'),Eh.has(i)||(Eh.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 Zf(e){Ta.D(e),Lh("dns-prefetch",e,null)}function Ff(e,t){Ta.C(e,t),Lh("preconnect",e,t)}function $f(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 If(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 Pf(e,t,l){Ta.S(e,t,l);var s=bs;if(s&&e){var i=Bl(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))&&Sc(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 ex(e,t){Ta.X(e,t);var l=bs;if(l&&e){var s=Bl(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))&&_c(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 tx(e,t){Ta.M(e,t);var l=bs;if(l&&e){var s=Bl(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))&&_c(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 Oh(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=Bl(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=Bl(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||ax(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=Bl(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 Uh(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function ax(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 Vh(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=Uh(l),(i=Wt.get(i))&&Sc(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),_c(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 Sc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function _c(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 Rh(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 Hh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function lx(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 qh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function sx(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=Uh(s),(i=Wt.get(i))&&Sc(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 Ac=0;function ix(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&&Ac===0&&(Ac=62500*Hf());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>Ac?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(nx,e),$n=null,Fn.call(e))}function nx(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:Q,Provider:null,Consumer:null,_currentValue:j,_currentValue2:j,_threadCount:0};function rx(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 Bh(e,t,l,s,i,r,u,m,x,_,L,V){return e=new rx(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=io(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:s,isDehydrated:l,cache:t},co(r),e}function Gh(e){return e?(e=$l,e):$l}function Jh(e,t,l,s,i,r){i=Gh(i),s.context===null?s.context=i:s.pendingContext=i,s=Ja(t),s.payload={element:l},r=r===void 0?null:r,r!==null&&(s.callback=r),l=Ya(e,s,t),l!==null&&(kt(l,e,t),Xs(l,e,t))}function Yh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function zc(e,t){Yh(e,t),(e=e.alternate)&&Yh(e,t)}function Kh(e){if(e.tag===13||e.tag===31){var t=jl(e,67108864);t!==null&&kt(t,e,67108864),zc(e,67108864)}}function Wh(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),zc(e,t)}}var Pn=!0;function ox(e,t,l,s){var i=p.T;p.T=null;var r=C.p;try{C.p=2,Dc(e,t,l,s)}finally{C.p=r,p.T=i}}function cx(e,t,l,s){var i=p.T;p.T=null;var r=C.p;try{C.p=8,Dc(e,t,l,s)}finally{C.p=r,p.T=i}}function Dc(e,t,l,s){if(Pn){var i=Tc(s);if(i===null)fc(e,t,s,er,l),Xh(e,s);else if(ux(i,e,t,l,s))s.stopPropagation();else if(Xh(e,s),t&4&&-1<dx.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(),zc(r,2)}if(r=Tc(s),r===null&&fc(e,t,s,er,l),r===i)break;i=r}i!==null&&s.stopPropagation()}else fc(e,t,s,null,l)}}function Tc(e){return e=Mr(e),Mc(e)}var er=null;function Mc(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=z(t),e!==null)return e;e=null}else if(l===31){if(e=R(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 Qh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Vi()){case Ri:return 2;case zs:return 8;case ql:case Hi:return 32;case qi:return 268435456;default:return 32}default:return 32}}var Cc=!1,tl=null,al=null,ll=null,pi=new Map,bi=new Map,sl=[],dx="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 Xh(e,t){switch(e){case"focusin":case"focusout":tl=null;break;case"dragenter":case"dragleave":al=null;break;case"mouseover":case"mouseout":ll=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&&Kh(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ux(e,t,l,s,i){switch(t){case"focusin":return tl=vi(tl,e,t,l,s,i),!0;case"dragenter":return al=vi(al,e,t,l,s,i),!0;case"mouseover":return ll=vi(ll,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 Zh(e){var t=ta(e.target);if(t!==null){var l=f(t);if(l!==null){if(t=l.tag,t===13){if(t=z(l),t!==null){e.blockedOn=t,Sr(e.priority,function(){Wh(l)});return}}else if(t===31){if(t=R(l),t!==null){e.blockedOn=t,Sr(e.priority,function(){Wh(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=Tc(e.nativeEvent);if(l===null){l=e.nativeEvent;var s=new l.constructor(l.type,l);Tr=s,l.target.dispatchEvent(s),Tr=null}else return t=aa(l),t!==null&&Kh(t),e.blockedOn=l,!1;t.shift()}return!0}function Fh(e,t,l){tr(e)&&l.delete(t)}function mx(){Cc=!1,tl!==null&&tr(tl)&&(tl=null),al!==null&&tr(al)&&(al=null),ll!==null&&tr(ll)&&(ll=null),pi.forEach(Fh),bi.forEach(Fh)}function ar(e,t){e.blockedOn===t&&(e.blockedOn=null,Cc||(Cc=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,mx)))}var lr=null;function $h(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(Mc(s||l)===null)continue;break}var r=aa(l);r!==null&&(e.splice(t,3),t-=3,To(r,{pending:!0,data:i,method:l.method,action:s},s,i))}}))}function ys(e){function t(x){return ar(x,e)}tl!==null&&ar(tl,e),al!==null&&ar(al,e),ll!==null&&ar(ll,e),pi.forEach(t),bi.forEach(t);for(var l=0;l<sl.length;l++){var s=sl[l];s.blockedOn===e&&(s.blockedOn=null)}for(;0<sl.length&&(l=sl[0],l.blockedOn===null);)Zh(l),l.blockedOn===null&&sl.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||$h(l);else if(u){var m=null;if(r&&r.hasAttribute("formAction")){if(i=r,u=r[mt]||null)m=u.formAction;else if(Mc(i)!==null)continue}else m=u.action;typeof m=="function"?l[s+1]=m:(l.splice(s,3),s-=3),$h(l)}}}function Ih(){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 Ec(e){this._internalRoot=e}sr.prototype.render=Ec.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(d(409));var l=t.current,s=Ct();Jh(l,s,e,t,null,null)},sr.prototype.unmount=Ec.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Jh(e.current,2,null,e,null,null),Rn(),t[Ua]=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<sl.length&&t!==0&&t<sl[l].priority;l++);sl.splice(l,0,e),l===0&&Zh(e)}};var Ph=n.version;if(Ph!=="19.2.4")throw Error(d(527,Ph,"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 hx={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(hx),lt=ir}catch{}}return yi.createRoot=function(e,t){if(!h(e))throw Error(d(299));var l=!1,s="",i=nm,r=rm,u=om;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=Bh(e,1,!1,null,null,l,s,null,i,r,u,Ih),e[Ua]=t.current,gc(e),new Ec(t)},yi.hydrateRoot=function(e,t,l){if(!h(e))throw Error(d(299));var s=!1,i="",r=nm,u=rm,m=om,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=Bh(e,1,!0,t,l??null,s,i,x,r,u,m,Ih),t.context=Gh(null),l=t.current,s=Ct(),s=St(s),i=Ja(s),i.callback=null,Ya(l,i,s),l=s,t.current.lanes=l,ea(t,l),na(t),e[Ua]=t.current,gc(e),new sr(t)},yi.version="19.2.4",yi}var cg;function Nx(){if(cg)return Uc.exports;cg=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(),Uc.exports=kx(),Uc.exports}var wx=Nx();class Sx{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 _x extends Sx{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 Ax{authId="id";authToken="token";authEmail="email";runOutDate="runOutDate";authTokenSubject=new _x(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 Ax;const Ug=(...c)=>c.filter((n,o,d)=>!!n&&n.trim()!==""&&d.indexOf(n)===o).join(" ").trim();const zx=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Dx=c=>c.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,o,d)=>d?d.toUpperCase():o.toLowerCase());const dg=c=>{const n=Dx(c);return n.charAt(0).toUpperCase()+n.slice(1)};var Tx={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 Mx=c=>{for(const n in c)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};const Cx=v.forwardRef(({color:c="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:d,className:h="",children:f,iconNode:z,...R},D)=>v.createElement("svg",{ref:D,...Tx,width:n,height:n,stroke:c,strokeWidth:d?Number(o)*24/Number(n):o,className:Ug("lucide",h),...!f&&!Mx(R)&&{"aria-hidden":"true"},...R},[...z.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(Cx,{ref:f,iconNode:n,className:Ug(`lucide-${zx(dg(c))}`,`lucide-${c}`,d),...h}));return o.displayName=dg(c),o};const Ex=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ei=K("arrow-left",Ex);const Lx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ol=K("arrow-right",Lx);const Ox=[["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"}]],Ux=K("arrow-up-down",Ox);const Vx=[["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"}]],Zc=K("badge-check",Vx);const Rx=[["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"}]],Hx=K("bolt",Rx);const qx=[["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",qx);const Gx=[["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"}]],Vg=K("bot",Gx);const Jx=[["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"}]],Fc=K("briefcase-business",Jx);const Yx=[["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",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"}],["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",Kx);const Wx=[["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"}]],Qx=K("calendar",Wx);const Xx=[["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"}]],$c=K("car",Xx);const Zx=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],Fx=K("check-check",Zx);const $x=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ix=K("check",$x);const Px=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],wi=K("chevron-down",Px);const ep=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],tp=K("chevron-left",ep);const ap=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],lp=K("chevron-right",ap);const sp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],tt=K("circle-check",sp);const ip=[["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"}]],np=K("circle-pause",ip);const rp=[["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"}]],op=K("circle-play",rp);const cp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],dp=K("circle-plus",cp);const up=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],mp=K("circle-stop",up);const hp=[["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"}]],gp=K("circle-user",hp);const fp=[["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"}]],xp=K("clipboard-list",fp);const pp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],Ic=K("clock-3",pp);const bp=[["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"}]],Pc=K("code-xml",bp);const vp=[["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"}]],ed=K("crown",vp);const jp=[["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"}]],yp=K("ellipsis",jp);const kp=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Np=K("facebook",kp);const wp=[["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"}]],Sp=K("file-plus-corner",wp);const _p=[["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"}]],td=K("file-text",_p);const Ap=[["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"}]],Rg=K("funnel",Ap);const zp=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],Dp=K("gamepad-2",zp);const Tp=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]],Mp=K("gift",Tp);const Cp=[["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",Cp);const Ep=[["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"}]],ad=K("graduation-cap",Ep);const Lp=[["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"}]],Hg=K("grid-3x3",Lp);const Op=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Up=K("info",Op);const Vp=[["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"}]],Rp=K("instagram",Vp);const Hp=[["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"}]],ld=K("laptop",Hp);const qp=[["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",qp);const Gp=[["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"}]],qg=K("layout-panel-top",Gp);const Jp=[["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"}]],Yp=K("lightbulb",Jp);const Kp=[["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"}]],Wp=K("link-2",Kp);const Qp=[["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"}]],Xp=K("linkedin",Qp);const Zp=[["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"}]],Bg=K("lock-keyhole",Zp);const Fp=[["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"}]],$p=K("log-out",Fp);const Ip=[["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",Ip);const Pp=[["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",Pp);const eb=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],tb=K("menu",eb);const ab=[["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"}]],Gg=K("message-circle",ab);const lb=[["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"}]],sb=K("mic",lb);const ib=[["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"}]],nb=K("monitor",ib);const rb=[["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"}]],ob=K("moon",rb);const cb=[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]],db=K("move-right",cb);const ub=[["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"}]],mb=K("paperclip",ub);const hb=[["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"}]],gb=K("pen-line",hb);const fb=[["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"}]],xb=K("phone",fb);const pb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],bb=K("plus",pb);const vb=[["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"}]],jb=K("presentation",vb);const yb=[["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"}]],kb=K("radar",yb);const Nb=[["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"}]],wb=K("radio",Nb);const Sb=[["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"}]],_b=K("rocket",Sb);const Ab=[["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"}]],sd=K("route",Ab);const zb=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],Db=K("save",zb);const Tb=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],hr=K("search",Tb);const Mb=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Cb=K("send",Mb);const Eb=[["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"}]],Jg=K("settings",Eb);const Lb=[["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"}]],Ob=K("shield",Lb);const Ub=[["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"}]],Vb=K("smile",Ub);const Rb=[["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",Rb);const Hb=[["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"}]],Yg=K("square-pen",Hb);const qb=[["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",qb);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"}]],Gb=K("sun",Bb);const Jb=[["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",Jb);const Yb=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],ug=K("trending-up",Yb);const Kb=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Kg=K("trophy",Kb);const Wb=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],nl=K("user-round",Wb);const Qb=[["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"}]],mg=K("user",Qb);const Xb=[["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"}]],Zb=K("users",Xb);const Fb=[["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"}]],$b=K("wand-sparkles",Fb);const Ib=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ti=K("x",Ib);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 Pb({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 ev({email:c,loading:n,onChangeEmail:o,onChangePassword:d,onChangeRememberMe:h,onForgotPassword:f,onRegister:z,onSubmit:R,password:D,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:R,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(Bg,{size:16,strokeWidth:1.8})}),a.jsx("input",{type:"password",placeholder:"••••••••",value:D,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:z,children:"Opret bruger"})]})]})}function tv({email:c,firstName:n,lastName:o,loading:d,locationQuery:h,locationSuggestions:f,onBackToLogin:z,onChangeEmail:R,onChangeFirstName:D,onChangeLastName:k,onChangeLocationQuery:G,onChangePassword:E,onSelectLocation:H,onSubmit:q,password:Z}){return a.jsxs("div",{className:"auth-view view-enter",children:[a.jsxs("div",{className:"auth-head auth-head-center",children:[a.jsx("h1",{children:"Opret konto"}),a.jsx("p",{children:"Start din karriere-rejse med os i dag."})]}),a.jsxs("form",{className:"auth-form",onSubmit:q,children:[a.jsx(Ns,{icon:a.jsx(mg,{size:16,strokeWidth:1.8}),label:"Fornavn",type:"text",placeholder:"Lasse",value:n,onChange:W=>D(W.target.value),required:!0}),a.jsx(Ns,{icon:a.jsx(mg,{size:16,strokeWidth:1.8}),label:"Efternavn",type:"text",placeholder:"Hansen",value:o,onChange:W=>k(W.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:W=>R(W.target.value),required:!0}),a.jsx(Ns,{icon:a.jsx(Bg,{size:16,strokeWidth:1.8}),label:"Adgangskode",type:"password",placeholder:"Skab en staerk kode",value:Z,onChange:W=>E(W.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:W=>G(W.target.value),autoComplete:"off",required:!0})]}),f.length>0?a.jsx("div",{className:"location-suggestions",children:f.map(W=>a.jsx("button",{type:"button",className:"location-suggestion-item",onClick:()=>{H(W.placeId,W.description)},children:W.description},W.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:z,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,z)=>o.searchParams.append(z,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 av{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 av,M={backendApi:"https://api.arbejd.com/",backendApiV2:"https://api2.arbejd.com/api/"};class lv{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 qc(c,n){const o=c[n];return typeof o=="string"?o:null}class sv{authService;candidateService;constructor(n=new lv,o=new Vl){this.authService=n,this.candidateService=o}async login(n,o,d){const f=await this.authService.login(n,o)??{},z=qc(f,"token");if(!z)return{ok:!1,message:"Login fejlede: token mangler i svaret fra serveren."};const R={id:qc(f,"id")??"",token:z,email:qc(f,"email")??n,runOutDate:"forever"};return await Ss.setAuthData(R,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 Wg{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 iv(c){const n=v.useMemo(()=>new sv,[]),o=v.useMemo(()=>new Wg,[]),[d,h]=v.useState(""),[f,z]=v.useState(!1),[R,D]=v.useState(""),[k,G]=v.useState(""),[E,H]=v.useState(""),[q,Z]=v.useState(""),[W,de]=v.useState(""),[se,ge]=v.useState(""),[Q,ne]=v.useState([]),[re,Y]=v.useState(null),[X,P]=v.useState(""),[he,le]=v.useState(!1),[ee,ae]=v.useState(null),[fe,je]=v.useState("login");function te(N){ae(null),je(N)}async function p(N){const O=N.trim();if(O.length<3){ne([]);return}try{const ue=((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(ue)}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 ue=C(J)??C(O);if(ge(J),ne([]),!ue){Y(null);return}Y({cityName:ue.cityName,description:J,zip:ue.zip})}async function B(N){N.preventDefault(),z(!0),ae(null);try{const O=await n.login(R.trim(),k,he);ae(O),O.ok&&c?.()}catch(O){const J=O instanceof Error?O.message:"Login mislykkedes.";ae({ok:!1,message:J})}finally{z(!1)}}async function F(N){N.preventDefault(),z(!0),ae(null);try{if(!re){ae({ok:!1,message:"Vaelg en lokation fra listen (med postnummer)."});return}const O=await n.register({email:q.trim(),firstName:E.trim(),lastName:W.trim(),password:X,subscribe:!0,zip:re.zip,zipName:re.cityName});ae(O),O.ok&&je("login")}catch(O){const J=O instanceof Error?O.message:"Oprettelse mislykkedes.";ae({ok:!1,message:J})}finally{z(!1)}}async function g(N){N.preventDefault(),z(!0),ae(null);try{const O=await n.forgotPassword(d.trim());ae(O)}catch(O){const J=O instanceof Error?O.message:"Kunne ikke sende nulstillingslink.";ae({ok:!1,message:J})}finally{z(!1)}}return{forgotEmail:d,handleForgotSubmit:g,handleLoginSubmit:B,handleRegisterSubmit:F,loading:f,loginEmail:R,loginPassword:k,registerFirstName:E,registerEmail:q,registerLastName:W,registerLocationQuery:se,registerLocationSuggestions:Q,registerPassword:X,rememberMe:he,result:ee,setForgotEmail:h,setLoginEmail:D,setLoginPassword:G,setRegisterEmail:Z,setRegisterFirstName:H,setRegisterLastName:de,setRegisterLocationQuery:N=>{ge(N),Y(null),p(N)},setRegisterPassword:P,setRememberMe:le,selectRegisterLocation:j,switchView:te,view:fe}}const br="/assets/appicon-8UAfw_Cw.png";function nv({onAuthenticated:c}){const{forgotEmail:n,handleForgotSubmit:o,handleLoginSubmit:d,handleRegisterSubmit:h,loading:f,loginEmail:z,loginPassword:R,registerFirstName:D,registerEmail:k,registerLastName:G,registerLocationQuery:E,registerLocationSuggestions:H,registerPassword:q,rememberMe:Z,result:W,setForgotEmail:de,setLoginEmail:se,setLoginPassword:ge,setRegisterEmail:Q,setRegisterFirstName:ne,setRegisterLastName:re,setRegisterLocationQuery:Y,setRegisterPassword:X,setRememberMe:P,selectRegisterLocation:he,switchView:le,view:ee}=iv(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("img",{src:br,alt:"Arbejd logo",className:"auth-logo-dot"}),a.jsx("span",{className:"auth-logo-text",children:"Arbejd.com"})]}),a.jsxs("section",{className:"auth-card",children:[ee==="login"?a.jsx(ev,{email:z,loading:f,onChangeEmail:se,onChangePassword:ge,onChangeRememberMe:P,onForgotPassword:()=>le("forgot"),onRegister:()=>le("register"),onSubmit:d,password:R,rememberMe:Z}):null,ee==="register"?a.jsx(tv,{email:k,firstName:D,lastName:G,loading:f,locationQuery:E,locationSuggestions:H,onBackToLogin:()=>le("login"),onChangeEmail:Q,onChangeFirstName:ne,onChangeLastName:re,onChangeLocationQuery:Y,onChangePassword:X,onSelectLocation:he,onSubmit:h,password:q}):null,ee==="forgot"?a.jsx(Pb,{email:n,loading:f,onBackToLogin:()=>le("login"),onChangeEmail:de,onSubmit:o}):null,W?a.jsx("p",{className:W.ok?"status success":"status error",children:W.message}):null]},ee)]})}class Qg{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 rv{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 vr{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 Xg{constructor(n=new Vl,o=new vr,d=new rv,h=new Qg){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(z=>z.escoId));return o.filter(z=>!f.has(z.id)).filter(z=>z.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 z of f.items)d.push({...z,improvementType:f.type});return d.sort((f,z)=>z.jobChanceIncrease-f.jobChanceIncrease),{...o,improvements:d}})}}class ov{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 rd{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,z=new Ul;return h.length>0&&h.forEach(R=>{z=z.append("terms",R)}),this.http.get(f,{params:z})}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 Gc(c,n){if(!c)return[];const o=c[n];return Array.isArray(o)?o:[]}function Jc(c){if(Array.isArray(c))return c;const n=_i(c);if(!n)return[];const o=Gc(n,"searchList");if(o.length>0)return o;const d=_i(n.data),h=Gc(d,"searchList");if(h.length>0)return h;const f=Gc(n,"items");return f.length>0?f:[]}function hg(c,n){if(!c)return null;const o=c[n];return typeof o=="number"?o:null}function cv(c){return c.trim()}function dv(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=cv(d);h.length>0&&n.add(h)}return Array.from(n)}function uv(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 gg(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 jr{constructor(n=new rd,o=new ov,d=new Wg,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 Jc(d).map(f=>gg(f))}if(n==="sogte"){const d=await this.jobService.getAppliedJobsV2(0,100);return Jc(d).map(f=>gg(f))}return this.getJobsFeedItems(o?[o]:void 0)}async applyFiltersAndGetJobs(n,o){await this.saveFilter(n);const d=dv(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,z=120,R=new Set,D=[];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&&D.length<z;E+=1){const H=await this.jobService.getJobsV2(d,h,20,k),q=_i(H),Z=Jc(H);for(const ge of Z){const Q=_i(ge);if(!Q)continue;const ne=_i(Q.jobPosting);if(!ne)continue;const re=ne;if(!re.id||R.has(re.id))continue;R.add(re.id);const Y=typeof Q.total=="number"?Q.total:0;D.push(uv(re,Math.round(Y*100)))}const W=hg(q,"nextLevel"),de=hg(q,"nextOffset");if(Z.length===0)break;W===null||de===null?h+=20:(d=W,h=de)}return D}}const mv=[{key:"dashboard",label:"Dashboard",icon:Bp},{key:"jobs",label:"Jobs",icon:mr},{key:"cv",label:"CV",icon:td},{key:"messages",label:"Beskeder",icon:Gg,badge:"3"}],hv=[{key:"agents",label:"Jobagenter",icon:kb,dot:!0},{key:"ai-agent",label:"AI-agent",icon:Vg,accent:!0},{key:"simulator",label:"Simulator",icon:Dp},{key:"subscription",label:"Abonnement",icon:ed}];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(R){R.key==="Escape"&&d(!1)}const z=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",f),()=>{document.body.style.overflow=z,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(tb,{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:br,alt:"Arbejd logo",className:"dash-logo-mark"}),a.jsx("span",{className:"dash-logo-text",children:"Arbejd.com"})]}),a.jsxs("nav",{className:"dash-nav",children:[mv.map(f=>{const z=f.icon,R=f.key===c;return a.jsxs("button",{type:"button",className:R?"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(z,{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"}),hv.map(f=>{const z=f.icon,R=f.key===c;return a.jsxs("button",{type:"button",className:R?"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(z,{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(Gb,{size:15,strokeWidth:1.8}):a.jsx(ob,{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(gp,{size:16,strokeWidth:1.8})," Profil"]}),a.jsxs("button",{type:"button",children:[a.jsx(Jg,{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($p,{size:16,strokeWidth:1.8})," Log ud"]})]})]})]})}const gv={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function fv(c){return c.trim().slice(0,1).toUpperCase()||"A"}function xv(c){return Math.max(68,98-c*4)}function pv(c,n){const o=n.trim().toLowerCase();return o?c.filter(d=>d.preferedLabelDa.toLowerCase().includes(o)).slice(0,8):[]}function bv({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new Xg,[]),z=v.useMemo(()=>new jr,[]),[R,D]=v.useState("Lasse"),[k,G]=v.useState(void 0),[E,H]=v.useState(gv),[q,Z]=v.useState([]),[W,de]=v.useState(!0),[se,ge]=v.useState(""),[Q,ne]=v.useState(""),[re,Y]=v.useState(""),[X,P]=v.useState(""),[he,le]=v.useState(""),[ee,ae]=v.useState(25);v.useEffect(()=>{let j=!0;async function B(){de(!0);const[F,g,N]=await Promise.all([f.getCandidateProfile(),f.loadInitialData(),z.getTabItems("jobs")]);j&&(D(F.name),G(F.imageUrl),H(g),Z(N),de(!1))}return B(),()=>{j=!1}},[f,z]);async function fe(){const j=await f.loadInitialData();H(j)}async function je(){const j=Q.trim()||se.trim()||re.trim(),B=f.getEscoSuggestions(j,E.escos,E.jobAgentFilters)[0]||pv(E.escos,j)[0];B&&(await f.addEscoToFilter(B.id),await fe(),ge(""),ne(""),Y(""),P(""),le(""),ae(25))}async function te(j){await f.setFilterVisibility(j,!j.visible),await fe()}const p=E.jobAgentFilters,C=(q.length>0?q:[]).slice(0,6);return a.jsxs("section",{className:`dash-root ${h==="dark"?"theme-dark":""}`,children:[a.jsx("div",{className:"dash-orb dash-orb-1"}),a.jsx("div",{className:"dash-orb dash-orb-2"}),a.jsx("div",{className:"dash-orb dash-orb-3"}),a.jsx(ra,{active:"agents",onNavigate:n}),a.jsxs("main",{className:"dash-main custom-scrollbar ai-agent-main",children:[a.jsx(oa,{name:R,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(Vg,{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:se,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:Q,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:re,onChange:j=>Y(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=>P(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=>le(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:[ee," km"]})]}),a.jsx("input",{type:"range",min:0,max:100,value:ee,onChange:j=>ae(Number(j.target.value))})]})]}),a.jsx("div",{className:"ai-create-actions",children:a.jsxs("button",{type:"button",onClick:()=>{je()},children:[a.jsx(Db,{size:16,strokeWidth:1.8})," Gem jobagent"]})})]}),a.jsxs("section",{className:"ai-agents-section",children:[a.jsx("h3",{children:"Dine aktive agenter"}),a.jsxs("div",{className:"ai-agents-row custom-scrollbar",children:[p.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen aktive agenter endnu."}):null,p.map((j,B)=>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 ${B%2===0?"teal":"indigo"}`,children:B%2===0?a.jsx(nb,{size:16,strokeWidth:1.8}):a.jsx(Yg,{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:()=>{te(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:[ee," 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:[W?a.jsx("p",{className:"dash-loading",children:"Indlaeser anbefalinger..."}):null,!W&&C.length===0?a.jsx("p",{className:"dash-loading",children:"Ingen jobanbefalinger fundet endnu."}):null,C.map((j,B)=>a.jsxs("article",{className:"ai-job-card",role:"button",tabIndex:0,onClick:()=>o(j.id,j.fromJobnet,"agents"),onKeyDown:F=>{(F.key==="Enter"||F.key===" ")&&(F.preventDefault(),o(j.id,j.fromJobnet,"agents"))},children:[a.jsx("div",{className:`ai-job-rail ${B%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:fv(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})," ",xv(B),"% 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:F=>{F.stopPropagation(),o(j.id,j.fromJobnet,"agents")},children:["Læs mere ",a.jsx(Ol,{size:14,strokeWidth:1.8})]})]})]},j.id))]})]})]})]})}const vv={paymentOverview:null,jobAgentFilters:[],cvSuggestions:[],escos:[]};function fg(){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 jv(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 yv(c){return c==="education"?ad:c==="language"?zi:c==="driversLicense"?$c:c==="certificate"?Zc:c==="qualification"?Oi:gr}function kv(c){return c==="education"?"blue":c==="language"?"emerald":c==="driversLicense"?"orange":c==="certificate"?"rose":c==="qualification"?"indigo":"slate"}function Nv({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new Xg,[]),[f,z]=v.useState("Lasse"),[R,D]=v.useState(void 0),[k,G]=v.useState(vv),[E,H]=v.useState(!0),[q,Z]=v.useState("");v.useEffect(()=>{let Q=!0;async function ne(){H(!0);const[re,Y]=await Promise.all([h.getCandidateProfile(),h.loadInitialData()]);if(!Q)return;z(re.name),D(re.imageUrl),G(Y);const X=Y.jobAgentFilters[0]?.escoName||fg()[1];Z(P=>P||X),H(!1)}return ne(),()=>{Q=!1}},[h]);const W=k.jobAgentFilters.length>0?k.jobAgentFilters.map(Q=>Q.escoName):fg(),de=k.jobAgentFilters.find(Q=>Q.escoName===q)||k.jobAgentFilters[0],se=(de?k.cvSuggestions.find(Q=>Q.escoId===de.escoId)?.improvements:k.cvSuggestions[0]?.improvements)||[],ge=se.length>0?se:[{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:R,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($b,{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(dp,{size:16,strokeWidth:1.8})," Tilføj ny agent"]})]}),a.jsx("div",{className:"career-agents-list custom-scrollbar",children:W.map(Q=>a.jsxs("button",{type:"button",className:q===Q?"active":"",onClick:()=>Z(Q),children:[a.jsx("span",{children:Q}),q===Q?a.jsx("i",{}):null]},Q))})]}),a.jsxs("section",{className:"career-reco-col",children:[a.jsxs("div",{className:"career-reco-head",children:[a.jsxs("h2",{children:["Viser anbefalinger for",a.jsx("span",{children:q||"Ministerialbetjent"})]}),a.jsxs("button",{type:"button",children:[a.jsx(Rg,{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((Q,ne)=>{const re=yv(Q.improvementType||"qualification"),Y=jv(Q.jobChanceIncrease||0),X=kv(Q.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(re,{size:18,strokeWidth:1.8})}),a.jsx("h3",{children:Q.shortName||Q.name}),a.jsxs("p",{className:`tone ${Y.kind}`,children:[Y.kind==="strong"?a.jsx(Kg,{size:13,strokeWidth:1.8}):Y.kind==="neutral"?a.jsx(Oi,{size:13,strokeWidth:1.8}):a.jsx(Ob,{size:13,strokeWidth:1.8}),Y.text]})]})]},`${Q.name}-${ne}`)})})]})]})]})]})}class wv{constructor(n=Ke){this.http=n}generateApplication(n,o,d,h){let f=M.backendApiV2+"1.0.0/client/ai_handler/create_my_application",z={isStar:n,jobId:o,language:d,userInput:h};return this.http.post(f,z)}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 Sv{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 _v{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 Av{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 zv{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 Dv{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 Tv{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 Mv{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 Cv{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 Ev{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 Lv{constructor(n=new Vl,o=new _v,d=new Av,h=new vr,f=new wv,z=new Dv,R=new Mv,D=new Sv,k=new Tv,G=new zv,E=new Qg,H=new Cv,q=new Ev,Z=Ss){this.candidateService=n,this.cvService=o,this.cvUploadService=d,this.subscriptionService=h,this.aiHandlerService=f,this.educationService=z,this.qualificationService=R,this.certificationService=D,this.languageService=k,this.driverLicenseService=G,this.escoService=E,this.occupationService=H,this.institutionService=q,this.localStorageService=Z}escosCache=null;async getSnapshot(){const[n,o,d,h,f,z,R,D,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:z.status==="fulfilled"?z.value:[],driverLicenses:R.status==="fulfilled"?R.value:[],paymentOverview:D.status==="fulfilled"?D.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 Ov={candidate:null,experiences:[],educations:[],skills:[],certifications:[],languages:[],driverLicenses:[],paymentOverview:null,cvUploadData:null,aiGeneratedCVDescription:null},Uv=[{id:"e1",title:"Senior Frontend-udvikler",company:"Lunar",from:"2020-08-01",to:null,description:"Udvikling og vedligeholdelse af core-features i bankens app samt performance-optimering."},{id:"e2",title:"Web-udvikler",company:"Trustpilot",from:"2017-01-01",to:"2020-07-01",description:"Udviklede dashboards og analysevaerktojer i taet samarbejde med UX-teamet."}],Vv=[{id:"ed1",title:"Cand.it i Webudvikling",school:"IT-Universitetet i Kobenhavn",from:"2013-08-01",to:"2015-06-01",description:"Specialisering i webteknologier, databaser og brugercentreret design."},{id:"ed2",title:"Datamatiker",school:"KEA - Kobenhavns Erhvervsakademi",from:"2010-08-01",to:"2013-06-01",description:"Softwarekonstruktion, systemarkitektur og programmering i Java og C#."}],Rv=["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 xg(c){const n=Mi(c);return n?new Intl.DateTimeFormat("da-DK",{month:"short",year:"numeric"}).format(n):"Ukendt"}function pg(c,n,o){const d=xg(c),h=o?"Nu":xg(n);return`${d} - ${h}`}function Hv(c){const n=Mi(c);return n?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"long",year:"numeric"}).format(n):"Ikke angivet"}function qv(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 bg(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 Gv(c){return c.qualification?.name||c.levelName||"Certificering"}function Jv(c){return c.driversLicense?.name||c.levelName||"Korekort"}function Yv(c){return c.levelName||"Niveau ukendt"}function Kv({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new Lv,[]),[f,z]=v.useState("standard"),[R,D]=v.useState(Ov),[k,G]=v.useState(!0),[E,H]=v.useState(!1),[q,Z]=v.useState("menu"),[W,de]=v.useState(""),[se,ge]=v.useState(""),[Q,ne]=v.useState(""),[re,Y]=v.useState(""),[X,P]=v.useState(!1),[he,le]=v.useState(""),[ee,ae]=v.useState(""),[fe,je]=v.useState([]),[te,p]=v.useState(""),[C,j]=v.useState(""),[B,F]=v.useState(""),[g,N]=v.useState(""),[O,J]=v.useState(""),[ue,ce]=v.useState(""),[_e,at]=v.useState(""),[Ge,La]=v.useState(""),[Oa,rl]=v.useState(!1),[Pt,Xt]=v.useState(()=>new Date().getFullYear()),[Lt,ca]=v.useState(()=>new Date().getMonth()),[yr,_s]=v.useState(""),[Rl,Hl]=v.useState(""),[As,Ui]=v.useState(""),[ol,gt]=v.useState(null),[Vi,Ri]=v.useState(""),[zs,ql]=v.useState(""),[Hi,qi]=v.useState(""),[Bi,kr]=v.useState("");v.useEffect(()=>{let S=!0;return h.getSnapshot().then(Me=>{S&&D(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(!Oa)return;const S=Me=>{Me.target?.closest(".cv-birthday-picker")||rl(!1)};return document.addEventListener("click",S),()=>document.removeEventListener("click",S)},[Oa]);const Re=R.candidate,lt=Re?.address,Ot=Re?.firstName?.trim()||Re?.name?.trim()||"Lasse",ft=Re?.firstName||"Lasse",Nr=Re?.lastName||"Hansen",cl=Re?.imageUrl||Re?.image||"",Gi=R.experiences.length>0?bg(R.experiences):[],dl=R.educations.length>0?bg(R.educations):[],ul=R.skills,ml=R.languages,Zt=R.certifications,hl=R.driverLicenses,gl=ml.length>0?ml.map(S=>({id:S.id,name:S.language?.name||"Sprog",level:Yv(S)})):[{id:"da",name:"Dansk",level:"Modersmal"},{id:"en",name:"Engelsk",level:"Flydende"}],wr=q==="experience"?!!(W.trim()&&se.trim()&&Q):q==="personal"?!!(te.trim()&&C.trim()&&B.trim()):q==="language"?!!(Vi.trim()&&zs.trim()):q==="driverLicense"?!!Hi.trim():q==="certification"?!!Bi.trim():!0,Ds=Rv.filter(S=>!fe.includes(S)&&S.toLowerCase().includes(ee.toLowerCase())),Ts=()=>{H(!0),Z("menu")},ea=()=>{H(!1),Z("menu")},da=S=>{Z(S)},Ji=S=>{je(Me=>Me.filter(st=>st!==S))},Yi=S=>{je(Me=>Me.includes(S)?Me:[...Me,S]),ae("")};v.useEffect(()=>{!Re||E||(p(Re.firstName||""),j(Re.lastName||""),F(Re.email||""),N(Re.phoneNumber||""),J(qv(Re.birthday)),ce(Re.gender||""),at(lt?.zip||""),La(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),Ua=()=>{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:()=>z(S=>S==="standard"?"reference":"standard"),children:[f==="reference"?a.jsx(Hg,{size:16,strokeWidth:1.8}):a.jsx(qg,{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(gb,{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(nl,{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:Nr})]}),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:Hv(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(Zc,{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})," ",Gv(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($c,{size:18,strokeWidth:1.8}),a.jsx("h2",{children:"Korekort"})]}),a.jsx("div",{className:"cv-chip-wrap",children:(hl.length>0?hl.map(Jv):["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:Uv).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(td,{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:pg(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(ad,{size:19,strokeWidth:1.8})}),a.jsx("h2",{children:"Uddannelse"})]}),a.jsx("div",{className:"cv-timeline",children:(dl.length>0?dl:Vv).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(td,{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:pg(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:[q!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:()=>Z("menu"),"aria-label":"Tilbage",children:a.jsx(Ei,{size:18,strokeWidth:1.8})}):null,a.jsxs("h2",{children:[q==="menu"&&"Tilføj til CV",q==="experience"&&"Tilføj Erhvervserfaring",q==="education"&&"Tilføj Uddannelse",q==="personal"&&"Opdater Personlige Oplysninger",q==="skills"&&"Tilføj Kvalifikationer",q==="language"&&"Tilføj Sprog",q==="driverLicense"&&"Tilføj Kørekort",q==="certification"&&"Tilføj Certifikat"]})]}),a.jsx("button",{type:"button",className:"cv-modal-icon-btn",onClick:ea,"aria-label":"Luk",children:a.jsx(Ti,{size:18,strokeWidth:1.8})})]}),a.jsxs("div",{className:"cv-modal-body custom-scrollbar",children:[q==="menu"?a.jsxs("div",{className:"cv-wizard-grid",children:[a.jsxs("button",{type:"button",className:"cv-wizard-menu-card is-cyan",onClick:()=>da("personal"),children:[a.jsx("span",{className:"cv-wizard-menu-icon",children:a.jsx(nl,{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(ad,{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($c,{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(Zc,{size:20,strokeWidth:1.8})}),a.jsx("strong",{children:"Certifikater"}),a.jsx("p",{children:"Tilføj relevante certificeringer."})]})]}):null,q==="personal"?a.jsxs("form",{className:"cv-wizard-form",onSubmit: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(nl,{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:te,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:B,onChange:S=>F(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:Ua,children:[a.jsx(ur,{size:16,strokeWidth:1.8}),a.jsx("span",{children:Ms})]}),Oa?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(tp,{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(lp,{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:ue,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=>La(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:yr,onChange:S=>_s(S.target.value),placeholder:"Kort beskrivelse af dig selv..."})]})]}):null,q==="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:W,onChange:S=>de(S.target.value),placeholder:"F.eks. Frontend Udvikler"})]}),a.jsxs("label",{className:"cv-field",children:[a.jsx("span",{children:"Virksomhed *"}),a.jsx("input",{value:se,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:Q,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:re,onChange:S=>Y(S.target.value),disabled:X})]})]})]}),a.jsxs("label",{className:"cv-wizard-checkbox",children:[a.jsx("input",{type:"checkbox",checked:X,onChange:S=>{P(S.target.checked),S.target.checked&&Y("")}}),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=>le(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:fe.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:ee,onChange:S=>ae(S.target.value),placeholder:"Søg færdigheder (f.eks. JavaScript, Salg...)"})]}),ee.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,q==="education"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Uddannelsesformularen bliver tilfoejet i naeste iteration."}):null,q==="skills"?a.jsx("p",{className:"cv-wizard-placeholder",children:"Kvalifikationsformularen bliver tilfoejet i naeste iteration."}):null,q==="language"?a.jsxs("form",{className:"cv-wizard-form",onSubmit: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=>ql(S.target.value),placeholder:"F.eks. Flydende"})]})]}):null,q==="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=>qi(S.target.value),placeholder:"F.eks. B (Almindelig bil)"})]})}):null,q==="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:Bi,onChange:S=>kr(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"}),q!=="menu"?a.jsx("button",{type:"button",className:"cv-modal-save",disabled:!wr,onClick:ea,children:"Gem aendringer"}):null]})]})}):null]})}class Wv{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 od{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 Qv{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 Xv{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 Yc(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 Zg{constructor(n=new Qv,o=new Xv,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=>Yc(f,o.id));d.sort((f,z)=>cr(f.timeSent)-cr(z.timeSent));const h=o.latestMessage?Yc(o.latestMessage,o.id):d[d.length-1]??Yc(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 Zv(c){return typeof c=="number"?c:null}function Fv(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:Zv(d.candidateDistance),fromJobnet:!!d.fromJobnet,logoUrl:Qt(d.logoUrl),companyLogoImage:Qt(d.companyLogoImage)}:null}function $v(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 Iv(c){const n=Ci(c);return n?Array.isArray(n.searchList)?n.searchList:[]:[]}class Pv{constructor(n=new Vl,o=new Wv,d=new rd,h=new vr,f=new od,z=new Zg){this.candidateService=n,this.notificationService=o,this.jobService=d,this.subscriptionService=h,this.simulationService=f,this.messagesViewModel=z}async loadInitialData(){const[n,o,d,h,f,z]=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:z.status==="fulfilled"?$v(z.value):[]}}async loadBestJobs(){const n=await this.jobService.getJobsV2(10,0,5,[]);return Iv(n).map(d=>Fv(d)).filter(d=>!!d).slice(0,5)}}const e1={bestJobs:[],candidate:null,evaluations:[],messages:[],notifications:[],subscription:null};function vg(c){return c.trim().slice(0,1).toUpperCase()||"A"}function t1({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new Pv,[]),[z,R]=v.useState(e1),[D,k]=v.useState(!0);v.useEffect(()=>{let H=!0;return f.loadInitialData().then(q=>{H&&R(q)}).finally(()=>{H&&k(!1)}),()=>{H=!1}},[f]);const G=z.candidate?.firstName?.trim()||z.candidate?.name?.trim()||"Lasse",E=z.candidate?.imageUrl||z.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."})]}),D?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:(z.bestJobs.length>0?z.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:q=>{(q.key==="Enter"||q.key===" ")&&(q.preventDefault(),o(H.id,!!H.fromJobnet,"dashboard"))},children:[a.jsxs("div",{className:"dash-job-left",children:[a.jsx("div",{className:"dash-company-chip",children:vg(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:q=>{q.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:[(z.messages.length>0?z.messages:[]).slice(0,5).map(H=>a.jsxs("div",{className:"dash-message-item",children:[a.jsx("div",{className:"dash-avatar",children:vg(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)),z.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(bb,{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(Pc,{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(Zb,{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(jb,{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(Pc,{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(Gg,{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(Hx,{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(Ux,{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(Sp,{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(Yg,{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(Wp,{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(Jg,{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(ld,{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 Ca(){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.jsx("img",{src:br,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.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900",children:"Arbejd.com"})]}),a.jsxs("p",{className:"text-base text-gray-600 font-normal leading-relaxed max-w-xs mb-6 drop-shadow-sm",children:["Arbejd.com",a.jsx("br",{}),"Din hurtigste vej til",a.jsx("br",{}),"dit næste job"]}),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(Np,{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(Rp,{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(Xp,{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 Ea({activeTab:c=null,activeHowItem:n=null,activeTipsItem:o=null}){const[d,h]=v.useState(!1);v.useEffect(()=>{if(!d)return;const D=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=D,window.removeEventListener("keydown",k)}},[d]),v.useEffect(()=>{function D(){window.innerWidth>990&&h(!1)}return window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)},[]);const f="text-base font-normal transition-colors outline-none drop-shadow-sm",z=`${f} text-gray-900`,R=`${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:br,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.jsx("span",{className:"text-xl font-normal tracking-tight text-gray-900",children:"Arbejd.com"})]}),a.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[a.jsx("a",{href:"/for-jobsogere",className:c==="how"||n==="jobseekers"?z:R,children:"For jobsøgere"}),a.jsx("a",{href:"/pricing",className:c==="pricing"?z:R,children:"Priser"}),a.jsx("a",{href:"/kontakt",className:R,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(D=>!D),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 cd="/assets/jobsearch-iphone-Bzqtiy7D.png",Fg="/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 a1=["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"],l1=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}}),jg=["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 s1(){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(Ea,{}),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 OG REKRUTTERING"]}),a.jsxs("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-medium tracking-tight text-gradient mb-8 leading-tight max-w-4xl drop-shadow-sm",children:["Arbejd.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:"Organiser hele din jobsøgning med din egen personlige AI-assistent. Få hjælp til CV, ansøgninger, jobmatch og interviewtræning – samlet ét sted."}),a.jsx("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 mb-8 shadow-[0_4px_20px_rgba(20,184,166,0.1)]",children:"Kom i gang nu – dit næste job venter"}),a.jsxs("a",{href:"/for-jobsogere",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:a1.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:cd,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:Fg,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:"99 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,10 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"}),l1.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: ",jg[c.id%jg.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.jsx("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 over din jobsøgning?"}),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(Ca,{})]})}function Ai(c){return c instanceof Date?c.toISOString():typeof c=="string"?c:""}function yg(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 kg(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 i1{constructor(n=new rd){this.jobService=n}async getDetail(n,o){if(o)try{const d=await this.jobService.getJobNetJobDetail(n);return yg(d)}catch{const d=await this.jobService.getJobDetail(n);return kg(n,d)}try{const d=await this.jobService.getJobDetail(n);return kg(n,d)}catch{const d=await this.jobService.getJobNetJobDetail(n);return yg(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 n1(c){return c.trim().slice(0,1).toUpperCase()||"A"}function Kc(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 r1(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(),R=h.value.trim().toLowerCase();if(f.startsWith("on")){d.removeAttribute(h.name);continue}if((f==="href"||f==="src")&&R.startsWith("javascript:")){d.removeAttribute(h.name);continue}(f==="style"||f==="srcdoc")&&d.removeAttribute(h.name)}return o.body.innerHTML}function o1(c){return c.isFullTime===!0?"Fuldtid":c.isFullTime===!1?"Deltid":c.workTimes.length>0?"Fleksibel arbejdstid":"Ikke oplyst"}function c1({fromJobnet:c,jobId:n,onBack:o,onLogout:d,onNavigate:h,onToggleTheme:f,theme:z}){const R=v.useMemo(()=>new i1,[]),D=v.useMemo(()=>new jr,[]),[k,G]=v.useState({name:"Lasse"}),[E,H]=v.useState(null),[q,Z]=v.useState(!0),[W,de]=v.useState(""),[se,ge]=v.useState(!1),[Q,ne]=v.useState(!1),[re,Y]=v.useState(!1),[X,P]=v.useState(!1);v.useEffect(()=>{let ae=!0;async function fe(){Z(!0),de("");const[je,te]=await Promise.allSettled([D.getCandidateProfile(),R.getDetail(n,c)]);ae&&(je.status==="fulfilled"&&G(je.value),te.status==="fulfilled"?(H(te.value),ge(!!te.value.isSaved),ne(!!te.value.isApplied)):(H(null),de("Kunne ikke hente jobdetaljer. Proev igen.")),Z(!1))}return fe(),()=>{ae=!1}},[R,c,n,D]);async function he(){if(!(!E||re)){Y(!0);try{await R.toggleBookmark(E.id,E.fromJobnet,!se),ge(ae=>!ae)}finally{Y(!1)}}}async function le(){if(!(!E||Q||X)){P(!0);try{await R.markAsApplied(E.id,E.fromJobnet),ne(!0)}finally{P(!1)}}}const ee=v.useMemo(()=>r1(E?.description??""),[E?.description]);return a.jsxs("section",{className:`dash-root ${z==="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:z,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"})]})}),q?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobdetaljer..."}):null,!q&&W?a.jsx("p",{className:"dash-loading",children:W}):null,!q&&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:n1(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(Fc,{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(Ic,{size:14,strokeWidth:1.8})," ",o1(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"}),ee?a.jsx("div",{className:"job-detail-rich-html",dangerouslySetInnerHTML:{__html:ee}}):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:Kc(E.applicationDeadline)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Opslået"}),a.jsx("strong",{children:Kc(E.datePosted)})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Startdato"}),a.jsx("strong",{children:Kc(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(_b,{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:re,children:[a.jsx(Bx,{size:16,strokeWidth:1.8}),se?"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:Q?"job-detail-text-action success is-done":"job-detail-text-action success",onClick:()=>{le()},disabled:Q||X,children:[a.jsx(tt,{size:16,strokeWidth:1.8}),Q?"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 Ng=[2,4,6,8,10,12,24],d1=[{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 u1(c){return c.trim().slice(0,1).toUpperCase()||"A"}function wg(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 m1(c){return c.companyLogoImage||c.logoUrl||""}function Sg({item:c}){const[n,o]=v.useState(!1),d=m1(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:u1(c.companyName)})}function h1(c){return c.workTypePartTime?"deltid":"fast"}function g1({onLogout:c,onNavigate:n,onOpenJobDetail:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new jr,[]),[z,R]=v.useState({name:"Lasse"}),[D,k]=v.useState(""),[G,E]=v.useState("sidebar"),[H,q]=v.useState("fast"),[Z,W]=v.useState(15),[de,se]=v.useState(24),[ge,Q]=v.useState(["Frontend-udvikler","UX/UI Designer"]),[ne,re]=v.useState(""),[Y,X]=v.useState([]),[P,he]=v.useState(!0),[le,ee]=v.useState(6),ae=v.useCallback(async()=>{try{const g=await f.getTabItems("jobs");X(g),ee(6)}catch{X([]),ee(6)}},[f]);v.useEffect(()=>{let g=!0;async function N(){try{const O=await f.getSavedFilter();if(!g)return;q(h1(O)),W(O.workDistance??15),se(O.partTimeHours??24),k(O.distanceCenterName??"")}catch{}if(await ae(),g){const O=await f.getCandidateProfile();g&&R(O),he(!1)}}return N(),()=>{g=!1}},[ae,f]);async function fe(){const g={escoIds:[],workTypePermanent:H==="fast",workTypePartTime:H==="deltid",workDistance:Z,partTimeHours:H==="deltid"?de:null,distanceCenterName:D,latitude:null,longitude:null};he(!0);try{const N=await f.applyFiltersAndGetJobs(g,{searchText:D,desiredTitles:ge});X(N),ee(6)}catch{X([]),ee(6)}he(!1)}const je=Y.length>0?Y:d1,te=je.slice(0,Math.min(le,je.length)),p=le<je.length;function C(){E(g=>g==="sidebar"?"top":"sidebar")}function j(g){Q(N=>N.filter(O=>O!==g))}function B(g){const N=g.trim();N&&(Q(O=>O.includes(N)?O:[...O,N]),re(""))}function F(){ee(g=>Math.min(g+6,je.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:z.name,imageUrl:z.imageUrl,onLogout:c,theme:h,onToggleTheme:d,actions:a.jsxs("button",{type:"button",className:"jobs-layout-toggle",onClick:C,children:[G==="sidebar"?a.jsx(qg,{size:16,strokeWidth:1.8}):a.jsx(Hg,{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(Fc,{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:D,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=>re(g.target.value),onKeyDown:g=>{g.key==="Enter"&&(g.preventDefault(),B(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:()=>B("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:()=>B("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>B("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>B("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:()=>B("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:()=>q("fast"),children:"Fast (Fuldtid)"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("deltid"),children:"Deltid"})]})]}),a.jsxs("div",{className:"jobs-filter-block jobs-range-block",children:[a.jsxs("div",{className:"jobs-range-head",children:[a.jsx("label",{children:"Maks. afstand"}),a.jsxs("span",{children:[Z," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:Z,onChange:g=>W(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:Ng.map(g=>a.jsx("button",{type:"button",className:de===g?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>se(g),children:g},g))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn",onClick:()=>{fe()},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 ",Y.length>0?Y.length:142," resultater"]})]}),P?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards",children:te.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(Sg,{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(ld,{size:15,strokeWidth:1.8}):a.jsx(sd,{size:15,strokeWidth:1.8}),a.jsx("span",{children:wg(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:F,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(Fc,{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:D,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:()=>q("fast"),children:"Fast"}),a.jsx("button",{type:"button",className:H==="deltid"?"jobs-radio-btn active":"jobs-radio-btn",onClick:()=>q("deltid"),children:"Deltid"})]})]}),a.jsxs("div",{className:"jobs-filter-block no-margin jobs-top-range",children:[a.jsxs("div",{className:"jobs-range-head",children:[a.jsx("label",{children:"Maks. afstand"}),a.jsxs("span",{children:[Z," km"]})]}),a.jsx("input",{type:"range",min:0,max:50,value:Z,onChange:g=>W(Number(g.target.value))})]}),a.jsx("button",{type:"button",className:"jobs-apply-btn jobs-top-apply",onClick:()=>{fe()},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=>re(g.target.value),onKeyDown:g=>{g.key==="Enter"&&(g.preventDefault(),B(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:()=>B("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:()=>B("Backend-udvikler"),children:a.jsx("span",{children:"Backend-udvikler"})}),a.jsx("button",{type:"button",className:"jobs-title-option",onClick:()=>B("Full Stack-udvikler"),children:a.jsx("span",{children:"Full Stack-udvikler"})}),a.jsxs("button",{type:"button",className:"jobs-title-option active",onClick:()=>B("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:()=>B("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:Ng.map(g=>a.jsx("button",{type:"button",className:de===g?"jobs-hour-btn active":"jobs-hour-btn",onClick:()=>se(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 ",Y.length>0?Y.length:142," resultater"]})]}),P?a.jsx("p",{className:"dash-loading",children:"Indlaeser jobs..."}):null,a.jsx("div",{className:"jobs-cards jobs-cards-top",children:te.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(Sg,{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(ld,{size:15,strokeWidth:1.8}):a.jsx(sd,{size:15,strokeWidth:1.8}),a.jsx("span",{children:wg(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:F,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 $g(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 f1(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?$g(n):h===1?"I går":new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"short"}).format(n)}function x1(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 _g(c){return c.allMessages.filter(Si).length}function ki(c){return c.companyLogoUrl||c.companyLogo||""}function p1(c){return{...c,allMessages:[...c.allMessages??[]].sort((n,o)=>fr(n.timeSent)-fr(o.timeSent))}}function Ag(){const c=new Date,n=new Date(c.getTime()-600*1e3),o=new Date(c.getTime()-7200*1e3),d=(z,R,D,k,G)=>({threadId:z,text:R,fromCandidate:D,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 b1({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new Zg,[]),[f,z]=v.useState("Lasse"),[R,D]=v.useState(void 0),[k,G]=v.useState([]),[E,H]=v.useState(!0),[q,Z]=v.useState(""),[W,de]=v.useState("all"),[se,ge]=v.useState(""),[Q,ne]=v.useState(""),[re,Y]=v.useState(()=>typeof window<"u"?window.innerWidth<=1e3:!1),[X,P]=v.useState("threads");v.useEffect(()=>{let p=!0;async function C(){H(!0);try{const j=await h.getCandidateProfile();p&&(z(j.name),D(j.imageUrl));const B=await h.getThreads();if(!p)return;const F=(B.length>0?B:Ag()).map(p1);G(F),ge(F[0]?.id||"")}catch{if(!p)return;const j=Ag();G(j),ge(j[0]?.id||"")}finally{p&&H(!1)}}return C(),()=>{p=!1}},[h]),v.useEffect(()=>{function p(){const C=window.innerWidth<=1e3;Y(C),C?se||P("threads"):P("chat")}return p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[se]);const he=v.useMemo(()=>{const p=q.trim().toLowerCase();return k.filter(C=>W==="unread"&&_g(C)===0||W==="companies"&&C.isFromSupport?!1:p?C.companyName.toLowerCase().includes(p)||(C.latestMessage?.text||"").toLowerCase().includes(p):!0)},[W,q,k]),le=v.useMemo(()=>k.find(p=>p.id===se)||he[0],[se,he,k]),ee=v.useMemo(()=>[...le?.allMessages||[]].sort((p,C)=>fr(p.timeSent)-fr(C.timeSent)),[le]);async function ae(p){ge(p.id),re&&P("chat");const C=[...p.allMessages].reverse().find(j=>Si(j));C?.id&&(h.markThreadReadByMessageId(C.id),G(j=>j.map(B=>B.id!==p.id?B:{...B,allMessages:B.allMessages.map(F=>Si(F)?{...F,seen:new Date}:F)})))}function fe(){P("threads")}async function je(){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(B=>Si(B)?{...B,seen:new Date}:B)})))}async function te(){const p=Q.trim();if(!le||!p)return;const C={threadId:le.id,text:p,fromCandidate:!0,timeSent:new Date};ne(""),G(j=>j.map(B=>{if(B.id!==le.id)return B;const F=[...B.allMessages,C];return{...B,allMessages:F,latestMessage:C}}));try{const j=await h.sendMessage(le.id,p);G(B=>B.map(F=>{if(F.id!==le.id)return F;const N=[...F.allMessages.filter(O=>O!==C),j];return{...F,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:R,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:()=>{je()},children:[a.jsx(Fx,{size:16,strokeWidth:1.8})," Marker alle som læst"]})]}),a.jsxs("div",{className:`msg-layout ${re&&X==="chat"?"mobile-chat":"mobile-threads"}`,children:[!re||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:q,onChange:p=>Z(p.target.value),type:"text",placeholder:"Søg i beskeder..."})]}),a.jsxs("div",{className:"msg-filter-row",children:[a.jsx("button",{type:"button",className:W==="all"?"active":"",onClick:()=>de("all"),children:"Alle"}),a.jsx("button",{type:"button",className:W==="unread"?"active":"",onClick:()=>de("unread"),children:"Ulæste"}),a.jsx("button",{type:"button",className:W==="companies"?"active":"",onClick:()=>de("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=_g(p),j=le?.id===p.id,B=ki(p);return a.jsxs("button",{type:"button",className:j?"msg-thread-item active":"msg-thread-item",onClick:()=>{ae(p)},children:[a.jsxs("div",{className:"msg-thread-avatar-wrap",children:[B?a.jsx("img",{src:B,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:f1(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,!re||X==="chat"?a.jsxs("section",{className:"msg-chat",children:[a.jsx("div",{className:"msg-chat-head",children:le?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"msg-chat-company",children:[re?a.jsx("button",{type:"button",className:"msg-mobile-back-btn",onClick:fe,"aria-label":"Tilbage til beskeder",children:a.jsx(Ei,{size:16,strokeWidth:1.9})}):null,ki(le)?a.jsx("img",{src:ki(le),alt:le.companyName,className:"msg-chat-avatar"}):a.jsx("div",{className:"msg-chat-avatar-fallback",children:le.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{children:[a.jsx("h2",{children:le.companyName}),a.jsx("p",{children:le.title||"Rekruttering"})]})]}),a.jsxs("div",{className:"msg-chat-actions",children:[a.jsx("button",{type:"button","aria-label":"Ring",children:a.jsx(xb,{size:16,strokeWidth:1.8})}),a.jsx("button",{type:"button","aria-label":"Info",children:a.jsx(Up,{size:16,strokeWidth:1.8})})]})]}):a.jsx("h2",{children:"Vælg en samtale"})}),a.jsx("div",{className:"msg-chat-body custom-scrollbar",children:ee.map((p,C)=>{const j=p.timeSent instanceof Date?p.timeSent:new Date(p.timeSent),B=C>0?ee[C-1]:void 0,F=B?.timeSent instanceof Date?B.timeSent:B?.timeSent?new Date(B.timeSent):void 0,g=!F||j.toDateString()!==F.toDateString();return a.jsxs("div",{children:[g?a.jsx("div",{className:"msg-day-sep",children:x1(j)}):null,a.jsxs("div",{className:p.fromCandidate?"msg-bubble-row mine":"msg-bubble-row",children:[p.fromCandidate?null:ki(le)?a.jsx("img",{src:ki(le),alt:le.companyName,className:"msg-mini-avatar"}):a.jsx("div",{className:"msg-mini-avatar msg-mini-avatar-fallback",children:le.companyName.slice(0,1).toUpperCase()}),a.jsxs("div",{className:"msg-bubble-wrap",children:[a.jsx("span",{className:"msg-time",children:$g(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(mb,{size:18,strokeWidth:1.8})}),a.jsx("textarea",{rows:1,value:Q,onChange:p=>ne(p.target.value),onKeyDown:p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),te())},placeholder:"Skriv din besked her..."}),a.jsx("button",{type:"button","aria-label":"Emoji",children:a.jsx(Vb,{size:18,strokeWidth:1.8})}),a.jsxs("button",{type:"button",className:"msg-send-btn",onClick:()=>{te()},children:["Send ",a.jsx(Cb,{size:15,strokeWidth:1.8})]})]})})]}):null]})]})]})}function ve({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(ve,{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(ve,{icon:"solar:check-read-linear",className:"text-sm text-white",style:{strokeWidth:2}})}),a.jsx("span",{children:c})]})}function v1(){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(Ea,{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(a.Fragment,{children:[a.jsx("section",{className:"hidden 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(ve,{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:"Prøv Arbejd.com gratis"}),a.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto font-normal drop-shadow-sm",children:"Du kan starte gratis og oprette din profil med det samme. Når du vil have mere effekt i din jobsøgning, kan du opgradere til en premium pakke med fuld adgang til CV-værktøjer, målrettede ansøgninger, jobmatch og interviewtræning i 30, 90 eller 365 dage."})]}),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:"99 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,10 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 48 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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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:"/for-jobsogere",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(ve,{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:"/faq",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(ve,{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:"/for-jobsogere",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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(ve,{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(Ca,{})]})}function El({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function id(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."}],j1=[{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."}],y1={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 k1(){const c=v.useMemo(()=>window.location.pathname,[]),[n,o]=v.useState(c==="/academy"?"academy":"dict"),[d,h]=v.useState(""),f=n==="dict",z=d.trim().toLowerCase(),R=v.useMemo(()=>z?xr.filter(D=>D.title.toLowerCase().includes(z)):xr,[z]);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(Ea,{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:D=>h(D.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:R.map(D=>{const k=y1[D.accent];return a.jsxs("a",{href:`/jobordbogen/${id(D.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:D.title}),a.jsx("p",{className:"text-base text-gray-600 leading-relaxed font-normal mb-8 line-clamp-4 flex-1",children:D.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}})]})]},D.title)})}),R.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:j1.map(D=>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:D.image,alt:D.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 ${D.color==="teal"?"group-hover:bg-teal-500 group-hover:border-teal-400":D.color==="indigo"?"group-hover:bg-indigo-500 group-hover:border-indigo-400":D.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:D.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 ${D.color==="teal"?"text-teal-700 bg-teal-100/80 border-teal-200/50":D.color==="indigo"?"text-indigo-700 bg-indigo-100/80 border-indigo-200/50":D.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:D.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"})," ",D.views]})]}),a.jsx("h3",{className:`text-2xl font-medium text-gray-900 mb-3 transition-colors cursor-pointer tracking-tight ${D.color==="teal"?"group-hover:text-teal-600":D.color==="indigo"?"group-hover:text-indigo-600":D.color==="amber"?"group-hover:text-amber-600":"group-hover:text-rose-600"}`,children:D.title}),a.jsx("p",{className:"text-gray-600 font-normal leading-relaxed text-base flex-1",children:D.body})]})]},D.title))})})]})]}),a.jsx(Ca,{})]})}function Ni({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function N1(){const n=v.useMemo(()=>window.location.pathname,[]).split("/").filter(Boolean).at(-1)??"",o=v.useMemo(()=>xr.find(h=>id(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(Ea,{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/${id(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(Ca,{})]}):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 w1=[{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 S1(){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(Ea,{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:w1.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(Ca,{})]})}function Nt({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}function _1(){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."})]})]})]})}const zg="/assets/screen1-DC5nwwU7.png";function Ll({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const A1=["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"],z1=[{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"}],D1=[{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 T1(){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(Ea,{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:zg,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:Fg,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:A1.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:z1.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:zg,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:D1.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(Ca,{})]})}const M1="/assets/aiagent-iphone-B5AHfCb7.png",C1="/assets/aiagent-mac-DhPX0EH7.png",E1="/assets/cv-iphone-hV3HpnNw.png",L1="/assets/cv-mac-Ck2635qe.png",O1="/assets/jobansogning-iphone-BccOeuOM.png",Ig="/assets/jobsearch-mac-LE-XqbqC.png",U1="/assets/once-click-mac-t90QYs8F.png",V1="/assets/simulatior-iphone-CYPS90vk.png",R1="/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 Dg({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 Tg({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 H1=[{title:"Jobsøgning",description:"Find job, der matcher din profil. Arbejd.com viser relevante stillinger baseret på dit CV, dine kompetencer, ønsket geografi, branche og de præferencer, du selv vælger. Jo mere du bruger platformen og opdaterer din profil, jo bedre bliver dine jobforslag.",mobileImage:cd,desktopImage:Ig},{title:"CV-styring",description:"Opbyg og opdatér dit CV ét sted. Tilføj erfaring, uddannelse, kompetencer, certifikater, sprog og kørekort i et enkelt og samlet flow. Upload dit CV, og lad systemet automatisk strukturere dine erfaringer, uddannelser og kompetencer. Få intelligente forslag til formuleringer og layout, så dit CV står skarpere. Download et professionelt CV med ét klik – klar til at sende til arbejdsgivere.",mobileImage:E1,desktopImage:L1,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 arbejder for dig hver dag. De finder relevante jobmatches, sender notifikationer om nye muligheder og hjælper med at gøre din jobsøgning mere målrettet. Samtidig får du forslag til forbedringer i dit CV, så du står stærkere over for arbejdsgivere. Du får også en karriereagent, der giver personlige anbefalinger til uddannelser, kurser, opkvalificering og relevante jobmuligheder.",mobileImage:M1,desktopImage:C1,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:"Træn jobsamtaler i realistiske scenarier og bliv bedre forberedt til den rigtige samtale. Simulatoren stiller spørgsmål baseret på din profil og den type stilling, du søger. Efter hver session får du en tydelig evaluering med konkrete forbedringspunkter til dine svar, struktur, gennemslagskraft og forberedelse. På den måde kan du styrke dine svar og stå stærkere – allerede inden du sender din ansøgning.",mobileImage:V1,desktopImage:R1},{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:O1,desktopImage:U1}],q1=[{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(Ea,{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(Dg,{image:cd,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(Tg,{image:Ig,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"})]})})]}),H1.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(Dg,{image:o.mobileImage,alt:o.title,animatedClass:f,children:o.pills?.map(z=>a.jsxs("div",{className:`hidden sm:flex absolute ${z.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 ${z.tone} animate-float-soft`,children:[a.jsx(ks,{icon:z.icon,className:"text-sm",style:{strokeWidth:1.5}}),a.jsx("span",{children:z.label})]},z.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(Tg,{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:q1.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(Ca,{})]})}function G1({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const J1=["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"],Y1=J1.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 K1(){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(Ea,{}),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:Y1.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(G1,{icon:"solar:arrow-right-linear",className:"text-lg",style:{strokeWidth:1.5}})]})]})]})]})})]}),a.jsx(Ca,{})]})}function Wc({className:c,icon:n,style:o}){return a.jsx("iconify-icon",{className:c,icon:n,style:o})}const Mg={jobseekers:{label:"For jobsøgere",title:"For jobsøgere",icon:"solar:user-search-linear",description:"Vi har gjort det enkelt at komme i gang med din jobsøgning. Opret en profil, bliv matchet med relevante virksomheder, og ansøg med ét klik.",items:[{question:"Hvad er fordelene ved at oprette en profil?",answer:"Når du opretter en profil, bliver du synlig for virksomheder, der leder efter kandidater med netop dine kompetencer. Du får også personlige jobforslag og et samlet overblik over din jobsøgning."},{question:"Hvordan søger jeg job med ét klik?",answer:"Når din profil er sat op, kan du ansøge direkte på relevante stillinger med få klik. Systemet genbruger dine oplysninger, så du kan søge hurtigere."},{question:"Hvordan bliver jeg matchet med de rette job?",answer:"Vores matching tager udgangspunkt i din profil, erfaring, præferencer og de krav, virksomhederne har i deres opslag. Jo mere komplet din profil er, desto bedre bliver matchene."},{question:"Hvordan fungerer priserne for jobsøgere?",answer:"Du kan starte gratis og opgradere, når du ønsker adgang til flere funktioner. På prissiden kan du vælge mellem forskellige pakker afhængigt af dit behov."},{question:"Hvilke abonnementsmuligheder har I?",answer:"Vi tilbyder flere forløb, så du kan vælge den periode, der passer bedst til din jobsøgning. Alle premium pakker giver adgang til de avancerede værktøjer."},{question:"Hvordan fungerer notifikationer?",answer:"Du modtager notifikationer, når der er nye job, som matcher din profil, eller når der sker opdateringer på dine ansøgninger."},{question:"Hvad er Arbejd.com Karriere Agent?",answer:"Karriere Agenten hjælper dig med anbefalinger til din profil og peger på muligheder, der kan øge dine chancer for at komme i samtale."},{question:"Hvordan kontakter jeg support?",answer:"Du kan kontakte os via kontaktsiden, hvis du har spørgsmål til din profil, abonnement eller brug af platformen."}]},companies:{label:"For virksomheder",title:"For virksomheder",icon:"solar:buildings-2-linear",description:"Arbejd.com giver virksomheder adgang til effektiv rekruttering med ubegrænset oprettelse af jobannoncer og mulighed for at matche med relevante kandidater.",items:[{question:"Hvordan opretter man en jobannonce?",answer:"Du kan oprette jobannoncer direkte på platformen gennem et enkelt flow. Når annoncen er aktiv, bliver den synlig for relevante kandidater."},{question:"Hvordan fungerer betalingen?",answer:"Det er gratis at oprette annoncer. Betaling sker først, når du ønsker adgang til kontaktoplysninger på ansøgere og kandidater."},{question:"Er der ingen begrænsning på antal jobannoncer?",answer:"Nej. Du kan oprette så mange jobannoncer, du har behov for, uden ekstra oprettelsesomkostning."},{question:"Hvordan matcher vi med relevante kandidater?",answer:"Systemet bruger kriterier fra jobannoncen og kandidatprofiler til at foreslå de mest relevante matches, så du hurtigere kan finde de rigtige personer."},{question:"Hvordan kontakter vi kandidater?",answer:"Når du har valgt de kandidater, du vil gå videre med, får du adgang til kontaktoplysninger og kan starte dialogen direkte."},{question:"Tilbyder I support til virksomheder?",answer:"Ja. Vi hjælper med onboarding, spørgsmål til platformen og løbende optimering af jeres rekrutteringsflow."}]},account:{label:"Brugerprofil og login",title:"Brugerprofil og login",icon:"solar:login-3-linear",description:"Her finder du svar på de mest almindelige spørgsmål om konto, login, profiloprettelse og sikkerhed.",items:[{question:"Hvordan opretter jeg en brugerprofil?",answer:"Du opretter en profil ved at vælge “Opret dig” og udfylde dine grundoplysninger. Herefter kan du færdiggøre din profil og begynde at bruge platformen."},{question:"Hvad gør jeg, hvis jeg har glemt mit password?",answer:"Brug “Glemt password” på login-siden. Du modtager en e-mail med vejledning til at nulstille dit kodeord."},{question:"Hvordan redigerer jeg min profil?",answer:"Når du er logget ind, kan du opdatere profiloplysninger, erfaring og præferencer løbende i dine profilindstillinger."},{question:"Kan jeg have flere profiler?",answer:"Vi anbefaler én profil pr. bruger for at sikre den mest præcise matching og den bedste oplevelse på platformen."},{question:"Hvordan sikrer I mine data?",answer:"Vi arbejder med tekniske og organisatoriske sikkerhedstiltag, så dine data håndteres ansvarligt og i overensstemmelse med gældende regler."}]},payment:{label:"Abonnement og betaling",title:"Abonnement og betaling",icon:"solar:wallet-money-linear",description:"Få overblik over abonnementstyper, opgradering, betaling og fakturering på Arbejd.com.",items:[{question:"Hvilke abonnementer tilbyder I?",answer:"Vi tilbyder flere pakker, så både jobsøgere og virksomheder kan vælge en løsning, der passer til deres behov og tidsramme."},{question:"Kan jeg starte gratis?",answer:"Ja, du kan komme i gang gratis. Du kan opgradere senere, hvis du ønsker adgang til premium funktioner."},{question:"Hvordan opgraderer jeg mit abonnement?",answer:"Du kan opgradere direkte fra platformen ved at vælge den ønskede plan. Ændringen træder i kraft med det samme."},{question:"Hvordan fungerer betaling for virksomheder?",answer:"Virksomheder betaler først, når de ønsker adgang til kontaktoplysninger på relevante kandidater."},{question:"Kan jeg opsige mit abonnement?",answer:"Ja, abonnement kan opsiges fra dine kontoindstillinger. Eventuelle ændringer følger den valgte planperiode."}]}},W1=["jobseekers","companies","account","payment"];function Q1(){const c=window.location.hash.toLowerCase();return c.includes("for-jobs-gere")||c.includes("for-jobsogere")?"jobseekers":c.includes("for-virksomheder")?"companies":c.includes("brugerprofil")?"account":c.includes("betaling")||c.includes("abonnement")?"payment":"jobseekers"}function X1(){const[c,n]=v.useState(Q1),[o,d]=v.useState(0),h=v.useMemo(()=>Mg[c],[c]);return a.jsxs("div",{className:"faq-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 faq-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(Ea,{}),a.jsxs("main",{className:"flex-1 relative z-10 pt-16",children:[a.jsxs("section",{className:"pt-24 pb-10 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:"FAQ"}),a.jsx("p",{className:"text-lg md:text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"Få svar på de mest stillede spørgsmål om Arbejd.com for jobsøgere, virksomheder, profil/login og betaling."})]}),a.jsxs("section",{className:"pb-24 px-6 lg:px-12 max-w-7xl mx-auto w-full",children:[a.jsx("div",{className:"flex justify-center mb-10",children:a.jsx("div",{className:"inline-flex p-1.5 bg-white/45 backdrop-blur-xl border border-white/80 rounded-full shadow-[0_4px_20px_rgba(0,0,0,0.03)] flex-wrap gap-1",children:W1.map(f=>{const z=c===f;return a.jsx("button",{type:"button",className:`px-4 md:px-6 py-2.5 text-sm md:text-base font-medium rounded-full transition-all outline-none ${z?"text-gray-900 bg-white shadow-sm border border-gray-100":"text-gray-500 hover:text-gray-900"}`,onClick:()=>{n(f),d(0)},children:Mg[f].label},f)})})}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[0.9fr_1.1fr] gap-8",children:[a.jsxs("div",{className:"rounded-[2.2rem] p-7 md:p-9 bg-gradient-to-br from-white/70 to-white/25 border border-white/80 backdrop-blur-2xl shadow-[0_12px_40px_rgba(0,0,0,0.05)] h-fit",children:[a.jsx("div",{className:"w-14 h-14 rounded-2xl bg-gradient-to-br from-teal-50 to-white border border-teal-100/60 shadow-sm flex items-center justify-center mb-5",children:a.jsx(Wc,{icon:h.icon,className:"text-2xl text-teal-600",style:{strokeWidth:1.5}})}),a.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-gray-900 tracking-tight mb-4",children:h.title}),a.jsx("p",{className:"text-base md:text-lg text-gray-600 leading-relaxed",children:h.description})]}),a.jsx("div",{className:"rounded-[2.2rem] p-4 md:p-5 bg-gradient-to-br from-white/75 to-white/35 border border-white/80 backdrop-blur-2xl shadow-[0_12px_40px_rgba(0,0,0,0.05)]",children:a.jsx("div",{className:"space-y-3",children:h.items.map((f,z)=>{const R=o===z;return a.jsxs("article",{className:"rounded-2xl border border-white/90 bg-white/70 shadow-sm overflow-hidden",children:[a.jsxs("button",{type:"button",className:"w-full px-5 py-4 text-left flex items-center justify-between gap-4",onClick:()=>d(R?-1:z),children:[a.jsx("span",{className:"text-base md:text-lg font-medium text-gray-900 leading-snug",children:f.question}),a.jsx(Wc,{icon:R?"solar:minus-circle-linear":"solar:add-circle-linear",className:`text-2xl flex-shrink-0 transition-transform ${R?"text-teal-600 rotate-180":"text-gray-500"}`,style:{strokeWidth:1.5}})]}),a.jsx("div",{className:`grid transition-all duration-300 ${R?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"}`,children:a.jsx("div",{className:"overflow-hidden",children:a.jsx("p",{className:"px-5 pb-5 text-sm md:text-base text-gray-600 leading-relaxed",children:f.answer})})})]},f.question)})})})]}),a.jsxs("div",{className:"mt-10 rounded-[2rem] p-6 md:p-8 bg-gradient-to-br from-teal-400/15 via-indigo-400/10 to-cyan-400/15 border border-white/70 backdrop-blur-xl shadow-[0_10px_30px_rgba(0,0,0,0.04)] flex flex-col md:flex-row md:items-center md:justify-between gap-5",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-medium text-gray-900 tracking-tight mb-2",children:"Har du stadig spørgsmål?"}),a.jsx("p",{className:"text-base text-gray-600",children:"Hvis du ikke fandt det, du søgte, kan du kontakte os direkte."})]}),a.jsxs("a",{href:"/kontakt",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 rounded-2xl bg-gray-900 text-white border border-gray-800 hover:bg-gray-800 transition-all shadow-[0_8px_20px_rgba(17,24,39,0.2)]",children:["Kontakt os",a.jsx(Wc,{icon:"solar:arrow-right-linear",className:"text-lg",style:{strokeWidth:1.5}})]})]})]})]}),a.jsx(Ca,{})]})}function Pg(c){return typeof c=="object"&&c!==null?c:null}function wt(c){return typeof c=="string"?c:""}function Qc(c){return typeof c=="number"?c:null}function Xc(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 Z1(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 F1(c,n){const o=Pg(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",z=wt(o.interview_date)||wt(o.created_at)||wt(o.updated_at)||wt(o.date),R=Xc(o.is_completed)??Xc(o.completed)??Xc(o.status)??!0,D=Qc(o.duration_minutes)??Qc(o.duration)??Qc(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:Z1(z),completed:R,durationMinutes:D,personality:k}}class $1{constructor(n=new jr,o=new od){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=Pg(o);return(Array.isArray(d?.interviews)?d.interviews:Array.isArray(o)?o:[]).map((f,z)=>F1(f,z)).filter(f=>!!f)}catch{return[]}}}const I1=[{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 P1(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 ej(c){return`${c.title||"Stilling"}${c.companyName?` · ${c.companyName}`:""}`}function tj({onLogout:c,onNavigate:n,onOpenEvaluation:o,onToggleTheme:d,theme:h}){const f=v.useMemo(()=>new $1,[]),[z,R]=v.useState("Lasse"),[D,k]=v.useState(void 0),[G,E]=v.useState([]),[H,q]=v.useState([]),[Z,W]=v.useState([]),[de,se]=v.useState(!0),[ge,Q]=v.useState(""),[ne,re]=v.useState(""),[Y,X]=v.useState("Dansk"),[P,he]=v.useState("15"),[le,ee]=v.useState(!1);v.useEffect(()=>{let j=!0;async function B(){se(!0);const[F,g,N,O]=await Promise.all([f.getCandidateProfile(),f.getJobs(),f.getInterviews(),f.getPersonalities()]);j&&(R(F.name),k(F.imageUrl),E(g),q(N.map(P1)),W(O.map(J=>({id:J.id,name:J.name}))),g.length>0&&Q(J=>J||g[0].id),O.length>0&&re(J=>J||String(O[0].id)),se(!1))}return B(),()=>{j=!1}},[f]);const ae=H.length>0?H:I1,fe={id:"fallback-job",title:"Senior Frontend-udvikler",companyName:"Lunar"},je=G.length>0?G:[fe],te=je.find(j=>j.id===ge)||je[0],p=Z.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 ${te.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:z,imageUrl:D,onLogout:c,theme:h,onToggleTheme:d,actions:le?a.jsxs("button",{type:"button",className:"sim-leave-btn",onClick:()=>ee(!1),children:[a.jsx(Ei,{size:15,strokeWidth:1.8}),a.jsx("span",{children:"Forlad simulering"})]}):void 0}),le?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(nl,{size:18,strokeWidth:1.8})}),a.jsxs("div",{children:[a.jsx("h3",{children:"Sarah (AI Interviewer)"}),a.jsxs("p",{children:[a.jsx(wb,{size:12,strokeWidth:1.8})," Venter på dit svar..."]})]})]}),a.jsx("button",{type:"button",className:"sim-live-more-btn",children:a.jsx(yp,{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(nl,{size:13,strokeWidth:1.8}):D?a.jsx("img",{src:D,alt:z}):a.jsx("span",{children:z.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,B)=>a.jsx("span",{style:{animationDelay:`${B*.14}s`}},`wave-${B}`))}),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(sb,{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:[te.title||"Senior Frontend-udvikler"," @ ",te.companyName||"Lunar"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Samtaletype"}),a.jsxs("p",{children:[a.jsx(Pc,{size:14,strokeWidth:1.8})," Teknisk Dybde"]})]}),a.jsxs("div",{children:[a.jsx("small",{children:"Interviewer stil"}),a.jsxs("p",{children:[a.jsx(nl,{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(Yp,{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(np,{size:16,strokeWidth:1.8})," Sæt på pause"]}),a.jsxs("button",{type:"button",className:"stop",children:[a.jsx(mp,{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:()=>ee(!0),children:[a.jsx(op,{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=>Q(j.target.value),children:je.map(j=>a.jsx("option",{value:j.id,children:ej(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(nl,{size:16,strokeWidth:1.8}),a.jsx("select",{value:ne,onChange:j=>re(j.target.value),children:(Z.length>0?Z:[{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:Y,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(Ic,{size:16,strokeWidth:1.8}),a.jsxs("select",{value:P,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(Rg,{size:15,strokeWidth:1.8})," Filtrer"]})]}),de?a.jsx("p",{className:"dash-loading",children:"Indlaeser simuleringer..."}):null,a.jsx("section",{className:"sim-history-grid",children:ae.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(Ic,{size:13,strokeWidth:1.8})," ",j.durationMinutes," min"]}),a.jsxs("span",{children:[a.jsx(nl,{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 dd(c){return typeof c=="string"?c:""}function aj(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 Cg(c){return Array.isArray(c)?c.map(n=>dd(n).trim()).filter(Boolean):[]}function rt(c,n){if(!c)return"";for(const o of n){const d=dd(c[o]).trim();if(d)return d}return""}function dr(c,n){if(!c)return null;for(const o of n){const d=aj(c[o]);if(d!==null)return d}return null}function lj(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 Eg(c,n){return c===null?n:Math.max(0,Math.min(10,Math.round(c)))}const e0=[{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."}],t0=["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."],a0=["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:t0,recommendations:a0,suggestions:e0};function sj(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"]),z=rt(o,["next_step","nextStep","recommendation","suggestion"]);return!d&&!h&&!f&&!z?null:{id:dd(o.id)||String(n+1),title:d||`Forbedringspunkt ${n+1}`,behavior:h||"Ingen detaljer tilgaengelige.",effect:f||"Ingen detaljer tilgaengelige.",nextStep:z||"Ingen detaljer tilgaengelige."}}function ij(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)=>sj(h,f)).filter(h=>!!h);if(d.length>0)return d}return e0}function Lg(c,n,o){for(const h of n){const f=Cg(c?.[h]);if(f.length>0)return f}const d=ws(c?.evaluation);for(const h of n){const f=Cg(d?.[h]);if(f.length>0)return f}return o}class nj{constructor(n=new od){this.simulationService=n}async getEvaluation(n,o){try{const d=await this.simulationService.getInterviewEvaluation(n),h=ws(d),f=ws(h?.evaluation),z=rt(h,["company_name","companyName"])||rt(f,["company_name","companyName"])||o?.companyName||Et.companyName,R=rt(h,["job_title","job_name","title"])||rt(f,["job_title","job_name","title"])||o?.title||Et.interviewTitle,D=rt(h,["interview_date","created_at","date"])||rt(f,["interview_date","created_at","date"]),k=lj(D)||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,q=rt(h,["label","evaluation_label"])||rt(f,["label","evaluation_label"])||Et.evaluationLabel,Z=Eg(dr(h,["candidate_score","self_score","self_rating"])??dr(f,["candidate_score","self_score","self_rating"]),Et.selfScore),W=Eg(dr(h,["interviewer_score","score","interviewer_rating"])??dr(f,["interviewer_score","score","interviewer_rating"]),Et.interviewerScore);return{companyName:z,dateLabel:k,evaluationLabel:q,interviewerEvaluationBody:E,interviewerEvaluationLead:G,interviewerEvaluationTitle:H,interviewerScore:W,interviewTitle:R,recommendations:Lg(h,["recommendations","constructive_recommendations","next_steps"],a0),selfScore:Z,strengths:Lg(h,["strengths","highlights"],t0),suggestions:ij(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 l0(c,n){return n-c}function rj(c,n){const o=l0(c,n);return o>0?`Gab: +${o} point`:o<0?`Gab: ${o} point`:"Gab: 0 point"}function oj(c,n){const o=l0(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 cj(c){return c||"Nyligt"}function dj({interviewSelection:c,onBack:n,onLogout:o,onNavigate:d,onToggleTheme:h,theme:f}){const z=v.useMemo(()=>new nj,[]),[R]=v.useState("Lasse"),[D]=v.useState(void 0),[k,G]=v.useState(null),[E,H]=v.useState(!0),[q,Z]=v.useState(0),[W,de]=v.useState(""),[se,ge]=v.useState(!1),[Q,ne]=v.useState("");v.useEffect(()=>{let P=!0;async function he(){H(!0);const le=await z.getEvaluation(c.interviewId,{companyName:c.companyName,dateLabel:c.dateLabel,title:c.title});P&&(G(le),H(!1))}return he(),()=>{P=!1}},[c.companyName,c.dateLabel,c.interviewId,c.title,z]);async function re(){if(!(!q||se)){ge(!0),ne("");try{await z.submitRating(c.interviewId,q,W.trim()),ne("Tak. Din feedback er sendt.")}catch{ne("Kunne ikke sende feedback lige nu. Prov igen.")}finally{ge(!1)}}}const Y=k,X=Y?.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:R,imageUrl:D,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(xp,{size:14,strokeWidth:1.8}),a.jsx("span",{children:Y?.evaluationLabel??"Interview Feedback"})]}),a.jsx("h1",{children:"Evalueringsfeedback"}),a.jsxs("div",{className:"sim-eval-meta",children:[a.jsx("strong",{children:Y?.companyName??c.companyName}),a.jsx("span",{}),a.jsx("p",{children:Y?.interviewTitle??c.title}),a.jsx("span",{}),a.jsxs("small",{children:[a.jsx(Qx,{size:14,strokeWidth:1.8})," ",cj(Y?.dateLabel??c.dateLabel)]})]})]}),E?a.jsx("p",{className:"dash-loading",children:"Indlaeser evaluering..."}):null,!E&&Y?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(Kg,{size:20,strokeWidth:1.8}),a.jsx("h2",{children:Y.interviewerEvaluationTitle})]}),a.jsx("p",{className:"lead",children:Y.interviewerEvaluationLead}),a.jsx("p",{children:Y.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:[Y.selfScore,"/10"]})]}),a.jsxs("div",{children:[a.jsx("span",{children:"Interviewers vurdering"}),a.jsxs("strong",{className:"good",children:[Y.interviewerScore,"/10"]})]})]}),a.jsxs("div",{className:"sim-eval-gap-block",children:[a.jsxs("span",{children:[a.jsx(ug,{size:13,strokeWidth:1.8})," ",rj(Y.selfScore,Y.interviewerScore)]}),a.jsx("p",{children:oj(Y.selfScore,Y.interviewerScore)})]})]})]}),a.jsxs("section",{className:"sim-eval-improvements",children:[a.jsxs("div",{className:"sim-eval-section-title",children:[a.jsx(ug,{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((P,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:P.title}),a.jsxs("div",{className:"sim-eval-improvement-grid",children:[a.jsxs("div",{children:[a.jsx("small",{children:"Adfaerd"}),a.jsx("p",{children:P.behavior})]}),a.jsxs("div",{className:"impact",children:[a.jsx("small",{children:"Effekt"}),a.jsx("p",{children:P.effect})]}),a.jsxs("div",{className:"next",children:[a.jsx("small",{children:"Naeste gang"}),a.jsx("p",{children:P.nextStep})]})]})]})]},P.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:Y.strengths.map((P,he)=>a.jsxs("li",{children:[a.jsx(tt,{size:17,strokeWidth:1.8}),a.jsx("span",{children:P})]},`strength-${he}`))})]}),a.jsxs("article",{className:"sim-eval-list-card recommendations",children:[a.jsxs("div",{className:"sim-eval-card-title",children:[a.jsx(sd,{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:Y.recommendations.map((P,he)=>a.jsxs("li",{children:[a.jsx("div",{children:a.jsx(db,{size:13,strokeWidth:2})}),a.jsx("span",{children:P})]},`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((P,he)=>{const le=he+1,ee=le<=q;return a.jsx("button",{type:"button","aria-label":`Vaelg ${le} stjerner`,className:ee?"selected":"",onClick:()=>Z(le),children:a.jsx(gr,{size:27,fill:ee?"currentColor":"none",strokeWidth:1.8})},`star-${le}`)})}),a.jsx("textarea",{value:W,onChange:P=>de(P.target.value),rows:3,placeholder:"Kommentar (valgfrit)"}),a.jsx("button",{type:"button",onClick:()=>{re()},disabled:se||q===0,children:se?"Sender...":"Send feedback"}),Q?a.jsx("div",{className:"sim-eval-submit-status",children:Q}):null]})]})]}):null]})]})]})}class uj{constructor(n=new Vl,o=new vr){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 Og=["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 s0(c){if(!c)return null;const n=c instanceof Date?c:new Date(c);return Number.isNaN(n.getTime())?null:n}function mj(c){const n=s0(c);return n?new Intl.DateTimeFormat("da-DK",{day:"2-digit",month:"2-digit",year:"numeric"}).format(n):"Ukendt dato"}function hj(c){if(!c)return!1;const n=s0(c.activeToDate);return n?n.getTime()>Date.now():!1}function gj(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 fj({onLogout:c,onNavigate:n,onToggleTheme:o,theme:d}){const h=v.useMemo(()=>new uj,[]),[f,z]=v.useState("Lasse"),[R,D]=v.useState(void 0),[k,G]=v.useState(null),[E,H]=v.useState(null),[q,Z]=v.useState(!0),[W,de]=v.useState("90"),[se,ge]=v.useState(!1),[Q,ne]=v.useState(""),[re,Y]=v.useState(""),[X,P]=v.useState(!1),[he,le]=v.useState(null);v.useEffect(()=>{let te=!0;async function p(){Z(!0);const[C,j]=await Promise.all([h.getCandidateProfile(),h.getSnapshot()]);te&&(z(C.name),D(C.imageUrl),G(j.paymentOverview),H(j.products),Z(!1))}return p(),()=>{te=!1}},[h]);const ee=v.useMemo(()=>gj(E),[E]),ae=hj(k),fe=he??ae;async function je(){const te=Q.trim();if(!(!te||X)){Y(""),P(!0);try{await h.redeemCode(te),Y("Koden blev indløst. Opdaterer abonnement...");const p=await h.getSnapshot();G(p.paymentOverview),H(p.products),ne("")}catch{Y("Kunne ikke indløse kode. Prøv igen.")}finally{P(!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:R,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(ed,{size:15,strokeWidth:1.8})," Abonnement"]}),a.jsx("button",{type:"button",className:"sub-toggle-btn",onClick:()=>le(te=>te===null?!ae:!te),children:fe?'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(ed,{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:Q,onChange:te=>ne(te.target.value),placeholder:"Indtast kode her..."}),a.jsx("button",{type:"button",onClick:()=>{je()},disabled:X,children:X?"Indløser...":"Indløs"})]}),re?a.jsx("small",{children:re}):null]}),q?a.jsx("p",{className:"dash-loading",children:"Indlaeser abonnement..."}):null,!q&&!fe?a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"sub-plan-grid",children:["30","90","365"].map(te=>{const p=ee[te],C=W===te,j=te==="90",B=te==="365";return a.jsxs("label",{className:["sub-plan-card",C?"selected":"",j?"popular":"",B?"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:()=>de(te)}),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}),B?a.jsxs("div",{className:"sub-gift-box",children:[a.jsx(Mp,{size:17,strokeWidth:1.8}),a.jsxs("div",{children:[a.jsx("strong",{children:"Giv en gave"}),a.jsx("small",{children:"Få en gratis 3-måneders Premium-kode med i købet til en ven."})]})]}):null,a.jsx("div",{className:"sub-divider"}),a.jsx("ul",{children:Og.map(F=>a.jsxs("li",{children:[a.jsx(tt,{size:15,strokeWidth:1.8}),a.jsx("span",{children:F})]},`${te}-${F}`))})]})]},te)})}),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:se,onChange:te=>ge(te.target.checked)}),a.jsx("span",{className:"sub-checkbox",children:a.jsx(Ix,{size:13,strokeWidth:2.2})}),a.jsx("span",{children:"Jeg accepterer handelsbetingelser"})]}),a.jsx("button",{type:"button",disabled:!se,children:"Gå til betaling"})]})]})]}):null,!q&&fe?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:Og.map(te=>a.jsxs("li",{children:[a.jsx(tt,{size:16,strokeWidth:1.8}),a.jsx("span",{children:te})]},`active-${te}`))})}),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:[ee[W].priceText," for ",ee[W].title]}),a.jsx("p",{children:ee[W].dailyText}),a.jsxs("div",{className:"sub-renew-pill",children:[a.jsx(ur,{size:16,strokeWidth:1.8}),"Fornyes d. ",mj(k?.renewDate)]})]}),a.jsx("button",{type:"button",className:"sub-manage-link",children:"Administrer betalingsoplysninger"})]})]})]})]}):null]})]})]})}function xj(){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",[]),z=v.useMemo(()=>window.location.pathname==="/kontakt"||window.location.pathname==="/contact",[]),R=v.useMemo(()=>window.location.pathname==="/faq",[]),D=v.useMemo(()=>window.location.pathname.startsWith("/jobordbogen/")&&window.location.pathname!=="/jobordbogen/",[]),k=v.useMemo(()=>window.location.pathname==="/jobordbogen"||window.location.pathname==="/academy",[]),G=v.useMemo(()=>!!window.localStorage.getItem("token"),[]),E=v.useMemo(()=>window.localStorage.getItem("theme")==="dark"?"dark":"light",[]),[H,q]=v.useState(G),[Z,W]=v.useState(E),[de,se]=v.useState("dashboard"),[ge,Q]=v.useState(null),[ne,re]=v.useState(null);function Y(fe){(fe==="dashboard"||fe==="jobs"||fe==="cv"||fe==="messages"||fe==="agents"||fe==="ai-agent"||fe==="simulator"||fe==="subscription")&&se(fe)}function X(fe,je,te="jobs"){Q({id:fe,fromJobnet:je,returnPage:te}),se("job-detail")}function P(){se(ge?.returnPage??"jobs")}function he(fe){re(fe),se("simulator-evaluation")}function le(){se("simulator")}async function ee(){await Ss.clearCredentials(),se("dashboard"),Q(null),re(null),q(!1)}function ae(){W(fe=>{const je=fe==="light"?"dark":"light";return window.localStorage.setItem("theme",je),je})}return c?a.jsx(s1,{}):n?a.jsx(v1,{}):o?a.jsx(S1,{}):d?a.jsx(_1,{}):h?a.jsx(T1,{}):f?a.jsx(B1,{}):z?a.jsx(K1,{}):R?a.jsx(X1,{}):D?a.jsx(N1,{}):k?a.jsx(k1,{}):H?de==="jobs"?a.jsx(g1,{onLogout:ee,onNavigate:Y,onOpenJobDetail:X,theme:Z,onToggleTheme:ae}):de==="cv"?a.jsx(Kv,{onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):de==="messages"?a.jsx(b1,{onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):de==="agents"?a.jsx(bv,{onLogout:ee,onNavigate:Y,onOpenJobDetail:X,theme:Z,onToggleTheme:ae}):de==="ai-agent"?a.jsx(Nv,{onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):de==="simulator"?a.jsx(tj,{onLogout:ee,onNavigate:Y,onOpenEvaluation:he,theme:Z,onToggleTheme:ae}):de==="simulator-evaluation"&&ne?a.jsx(dj,{interviewSelection:ne,onBack:le,onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):de==="subscription"?a.jsx(fj,{onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):de==="job-detail"&&ge?a.jsx(c1,{jobId:ge.id,fromJobnet:ge.fromJobnet,onBack:P,onLogout:ee,onNavigate:Y,theme:Z,onToggleTheme:ae}):a.jsx(t1,{onLogout:ee,onNavigate:Y,onOpenJobDetail:X,theme:Z,onToggleTheme:ae}):a.jsx(nv,{onAuthenticated:()=>q(!0)})}function pj(){const c="/appicon.png?v=5",n="/apple-touch-icon.png?v=5",o="/appicon.png?v=5";['link[rel="icon"][sizes="32x32"]','link[rel="icon"][sizes="192x192"]'].forEach(z=>{const R=document.querySelector(z)??document.createElement("link");R.rel="icon",R.type="image/png",R.href=c,R.getAttribute("sizes")||R.setAttribute("sizes","32x32"),R.parentNode||document.head.appendChild(R)});const h=document.querySelector('link[rel="apple-touch-icon"]')??document.createElement("link");h.rel="apple-touch-icon",h.href=n,h.parentNode||document.head.appendChild(h);const f=document.querySelector('link[rel="shortcut icon"]')??document.createElement("link");f.rel="shortcut icon",f.href=o,f.parentNode||document.head.appendChild(f)}pj();wx.createRoot(document.getElementById("root")).render(a.jsx(v.StrictMode,{children:a.jsx(xj,{})}));
|