@igamingcareer/igaming-components 1.0.67 → 1.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +16 -16
  2. package/dist/index.mjs +918 -906
  3. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var sL;function NP(){return sL||(sL=1,process.env.NODE_ENV!=="production"&&function(){var a=j,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),k=Symbol.iterator,y="@@iterator";function m(I){if(I===null||typeof I!="object")return null;var O=k&&I[k]||I[y];return typeof O=="function"?O:null}var g=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var O=arguments.length,X=new Array(O>1?O-1:0),P=1;P<O;P++)X[P-1]=arguments[P];M("error",I,X)}}function M(I,O,X){{var P=g.ReactDebugCurrentFrame,H=P.getStackAddendum();H!==""&&(O+="%s",X=X.concat([H]));var Z=X.map(function(Y){return String(Y)});Z.unshift("Warning: "+O),Function.prototype.apply.call(console[I],console,Z)}}var b=!1,C=!1,A=!1,L=!1,S=!1,N;N=Symbol.for("react.module.reference");function T(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===s||S||I===i||I===h||I===u||L||I===x||b||C||A||typeof I=="object"&&I!==null&&(I.$$typeof===f||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===N||I.getModuleId!==void 0))}function z(I,O,X){var P=I.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function R(I){return I.displayName||"Context"}function _(I){if(I==null)return null;if(typeof I.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var O=I;return R(O)+".Consumer";case c:var X=I;return R(X._context)+".Provider";case d:return z(I,I.render,"ForwardRef");case p:var P=I.displayName||null;return P!==null?P:_(I.type)||"Memo";case f:{var H=I,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var q=Object.assign,D=0,V,$,E,re,ne,se,ae;function oe(){}oe.__reactDisabledLog=!0;function ee(){{if(D===0){V=console.log,$=console.info,E=console.warn,re=console.error,ne=console.group,se=console.groupCollapsed,ae=console.groupEnd;var I={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}D++}}function le(){{if(D--,D===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},I,{value:V}),info:q({},I,{value:$}),warn:q({},I,{value:E}),error:q({},I,{value:re}),group:q({},I,{value:ne}),groupCollapsed:q({},I,{value:se}),groupEnd:q({},I,{value:ae})})}D<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=g.ReactCurrentDispatcher,W;function Q(I,O,X){{if(W===void 0)try{throw Error()}catch(H){var P=H.stack.trim().match(/\n( *(at )?)/);W=P&&P[1]||""}return`
17
+ */var sL;function NP(){return sL||(sL=1,process.env.NODE_ENV!=="production"&&function(){var a=j,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),k=Symbol.iterator,y="@@iterator";function m(I){if(I===null||typeof I!="object")return null;var O=k&&I[k]||I[y];return typeof O=="function"?O:null}var g=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var O=arguments.length,X=new Array(O>1?O-1:0),P=1;P<O;P++)X[P-1]=arguments[P];M("error",I,X)}}function M(I,O,X){{var P=g.ReactDebugCurrentFrame,H=P.getStackAddendum();H!==""&&(O+="%s",X=X.concat([H]));var Z=X.map(function(Y){return String(Y)});Z.unshift("Warning: "+O),Function.prototype.apply.call(console[I],console,Z)}}var b=!1,C=!1,N=!1,L=!1,S=!1,A;A=Symbol.for("react.module.reference");function T(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===s||S||I===i||I===h||I===u||L||I===x||b||C||N||typeof I=="object"&&I!==null&&(I.$$typeof===f||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===A||I.getModuleId!==void 0))}function R(I,O,X){var P=I.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function D(I){return I.displayName||"Context"}function _(I){if(I==null)return null;if(typeof I.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var O=I;return D(O)+".Consumer";case c:var X=I;return D(X._context)+".Provider";case d:return R(I,I.render,"ForwardRef");case p:var P=I.displayName||null;return P!==null?P:_(I.type)||"Memo";case f:{var H=I,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var q=Object.assign,z=0,V,$,E,re,ne,se,ae;function oe(){}oe.__reactDisabledLog=!0;function ee(){{if(z===0){V=console.log,$=console.info,E=console.warn,re=console.error,ne=console.group,se=console.groupCollapsed,ae=console.groupEnd;var I={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}z++}}function le(){{if(z--,z===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},I,{value:V}),info:q({},I,{value:$}),warn:q({},I,{value:E}),error:q({},I,{value:re}),group:q({},I,{value:ne}),groupCollapsed:q({},I,{value:se}),groupEnd:q({},I,{value:ae})})}z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=g.ReactCurrentDispatcher,W;function Q(I,O,X){{if(W===void 0)try{throw Error()}catch(H){var P=H.stack.trim().match(/\n( *(at )?)/);W=P&&P[1]||""}return`
18
18
  `+W+I}}var ue=!1,de;{var ye=typeof WeakMap=="function"?WeakMap:Map;de=new ye}function ie(I,O){if(!I||ue)return"";{var X=de.get(I);if(X!==void 0)return X}var P;ue=!0;var H=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=ve.current,ve.current=null,ee();try{if(O){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(et){P=et}Reflect.construct(I,[],Y)}else{try{Y.call()}catch(et){P=et}I.call(Y.prototype)}}else{try{throw Error()}catch(et){P=et}I()}}catch(et){if(et&&P&&typeof et.stack=="string"){for(var te=et.stack.split(`
19
19
  `),Le=P.stack.split(`
20
20
  `),Me=te.length-1,ke=Le.length-1;Me>=1&&ke>=0&&te[Me]!==Le[ke];)ke--;for(;Me>=1&&ke>=0;Me--,ke--)if(te[Me]!==Le[ke]){if(Me!==1||ke!==1)do if(Me--,ke--,ke<0||te[Me]!==Le[ke]){var ze=`
@@ -27,7 +27,7 @@ Check the top-level render call using <`+X+">.")}return O}}function Se(I,O){{if(
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,Z9,rt,jP,rt),dt[rt+Z9]=!0}}return I===n?st(ke):za(ke),ke}}function Ze(I,O,X){return Fa(I,O,X,!0)}function mt(I,O,X){return Fa(I,O,X,!1)}var rc=mt,e1=Ze;ic.Fragment=n,ic.jsx=rc,ic.jsxs=e1}()),ic}process.env.NODE_ENV==="production"?gC.exports=IP():gC.exports=NP();var t=gC.exports;function cL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function is(...a){return e=>{let r=!1;const n=a.map(i=>{const s=cL(i,e);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let i=0;i<n.length;i++){const s=n[i];typeof s=="function"?s():cL(a[i],null)}}}}function je(...a){return v.useCallback(is(...a),a)}var AP=Symbol.for("react.lazy"),i9=v[" use ".trim().toString()];function _P(a){return typeof a=="object"&&a!==null&&"then"in a}function kS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===AP&&"_payload"in a&&_P(a._payload)}function ZC(a){const e=qP(a),r=v.forwardRef((n,i)=>{let{children:s,...c}=n;kS(s)&&typeof i9=="function"&&(s=i9(s._payload));const l=v.Children.toArray(s),d=l.find(RP);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}var PP=ZC("Slot");function qP(a){const e=v.forwardRef((r,n)=>{let{children:i,...s}=r;if(kS(i)&&typeof i9=="function"&&(i=i9(i._payload)),v.isValidElement(i)){const c=zP(i),l=DP(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var TP=Symbol("radix.slottable");function RP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===TP}function DP(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function zP(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function gS(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var i=a.length;for(e=0;e<i;e++)a[e]&&(r=gS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function vS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=gS(a))&&(n&&(n+=" "),n+=e);return n}const lL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,dL=vS,w9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return dL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:s}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=s==null?void 0:s[h];if(u===null)return null;const f=lL(u)||lL(p);return i[h][f]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,f]=u;return f===void 0||(h[p]=f),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:f,...x}=u;return Object.entries(x).every(k=>{let[y,m]=k;return Array.isArray(m)?m.includes({...s,...l}[y]):{...s,...l}[y]===m})?[...h,p,f]:h},[]);return dL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},XC="-",FP=a=>{const e=HP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(XC);return l[0]===""&&l.length!==1&&l.shift(),wS(l,e)||EP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},wS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?wS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const s=a.join(XC);return(c=e.validators.find(({validator:l})=>l(s)))==null?void 0:c.classGroupId},hL=/^\[(.+)\]$/,EP=a=>{if(hL.test(a)){const e=hL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},HP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return VP(Object.entries(a.classGroups),r).forEach(([s,c])=>{vC(c,n,s,e)}),n},vC=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const s=i===""?e:uL(e,i);s.classGroupId=r;return}if(typeof i=="function"){if(OP(i)){vC(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,c])=>{vC(c,uL(e,s),r,n)})})},uL=(a,e)=>{let r=a;return e.split(XC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},OP=a=>a.isThemeGetter,VP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,l])=>[e+c,l])):s);return[r,i]}):a,BP=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(s,c)=>{r.set(s,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(s){let c=r.get(s);if(c!==void 0)return c;if((c=n.get(s))!==void 0)return i(s,c),c},set(s,c){r.has(s)?r.set(s,c):i(s,c)}}},MS="!",UP=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],s=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let m=0;m<l.length;m++){let g=l[m];if(h===0){if(g===i&&(n||l.slice(m,m+s)===e)){d.push(l.slice(u,m)),u=m+s;continue}if(g==="/"){p=m;continue}}g==="["?h++:g==="]"&&h--}const f=d.length===0?l:l.substring(u),x=f.startsWith(MS),k=x?f.substring(1):f,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},$P=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},GP=a=>({cache:BP(a.cacheSize),parseClassName:UP(a),...FP(a)}),WP=/\s+/,ZP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,s=[],c=a.trim().split(WP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:x}=r(h);let k=!!x,y=n(k?f.substring(0,x):f);if(!y){if(!k){l=h+(l.length>0?" "+l:l);continue}if(y=n(f),!y){l=h+(l.length>0?" "+l:l);continue}k=!1}const m=$P(u).join(":"),g=p?m+MS:m,w=g+y;if(s.includes(w))continue;s.push(w);const M=i(y,k);for(let b=0;b<M.length;++b){const C=M[b];s.push(g+C)}l=h+(l.length>0?" "+l:l)}return l};function XP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=bS(e))&&(n&&(n+=" "),n+=r);return n}const bS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=bS(a[n]))&&(r&&(r+=" "),r+=e);return r};function JP(a,...e){let r,n,i,s=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=GP(h),n=r.cache.get,i=r.cache.set,s=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=ZP(d,r);return i(d,u),u}return function(){return s(XP.apply(null,arguments))}}const Te=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},CS=/^\[(?:([a-z-]+):)?(.+)\]$/i,YP=/^\d+\/\d+$/,KP=new Set(["px","full","screen"]),QP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eq=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,aq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>xs(a)||KP.has(a)||YP.test(a),Ea=a=>Ks(a,"length",hq),xs=a=>!!a&&!Number.isNaN(Number(a)),X9=a=>Ks(a,"number",xs),oc=a=>!!a&&Number.isInteger(Number(a)),nq=a=>a.endsWith("%")&&xs(a.slice(0,-1)),pe=a=>CS.test(a),Ha=a=>QP.test(a),iq=new Set(["length","size","percentage"]),oq=a=>Ks(a,iq,jS),sq=a=>Ks(a,"position",jS),cq=new Set(["image","url"]),lq=a=>Ks(a,cq,pq),dq=a=>Ks(a,"",uq),sc=()=>!0,Ks=(a,e,r)=>{const n=CS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},hq=a=>eq.test(a)&&!tq.test(a),jS=()=>!1,uq=a=>aq.test(a),pq=a=>rq.test(a),yq=()=>{const a=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),i=Te("borderColor"),s=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),f=Te("gap"),x=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),y=Te("inset"),m=Te("margin"),g=Te("opacity"),w=Te("padding"),M=Te("saturate"),b=Te("scale"),C=Te("sepia"),A=Te("skew"),L=Te("space"),S=Te("translate"),N=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",pe,e],R=()=>[pe,e],_=()=>["",va,Ea],q=()=>["auto",xs,pe],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",pe],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>[xs,pe];return{cacheSize:500,separator:":",theme:{colors:[sc],spacing:[va,Ea],blur:["none","",Ha,pe],brightness:se(),borderColor:[a],borderRadius:["none","","full",Ha,pe],borderSpacing:R(),borderWidth:_(),contrast:se(),grayscale:re(),hueRotate:se(),invert:re(),gap:R(),gradientColorStops:[a],gradientColorStopPositions:[nq,Ea],inset:z(),margin:z(),opacity:se(),padding:R(),saturate:se(),scale:se(),sepia:re(),skew:se(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",pe]}],container:["container"],columns:[{columns:[Ha]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oc,pe]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pe]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",oc,pe]}],"grid-cols":[{"grid-cols":[sc]}],"col-start-end":[{col:["auto",{span:["full",oc,pe]},pe]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[sc]}],"row-start-end":[{row:["auto",{span:[oc,pe]},pe]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pe,e]}],"min-w":[{"min-w":[pe,e,"min","max","fit"]}],"max-w":[{"max-w":[pe,e,"none","full","min","max","fit","prose",{screen:[Ha]},Ha]}],h:[{h:[pe,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pe,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ha,Ea]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",X9]}],"font-family":[{font:[sc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pe]}],"line-clamp":[{"line-clamp":["none",xs,X9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",va,pe]}],"list-image":[{"list-image":["none",pe]}],"list-style-type":[{list:["none","disc","decimal",pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Ea]}],"underline-offset":[{"underline-offset":["auto",va,pe]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),sq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[va,pe]}],"outline-w":[{outline:[va,Ea]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[va,Ea]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ha,dq]}],"shadow-color":[{shadow:[sc]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...$(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ha,pe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pe]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",pe]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[oc,pe]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pe]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pe]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pe]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[va,Ea,X9]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},mq=JP(yq);function ce(...a){return mq(vS(a))}const JC=w9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),G=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},s)=>{const c=n?PP:"button";return t.jsx(c,{className:ce(JC({variant:e,size:r,className:a})),ref:s,...i})});G.displayName="Button";const tt=v.forwardRef(({className:a,type:e,...r},n)=>t.jsx("input",{type:e,className:ce("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:n,...r}));tt.displayName="Input";/**
30
+ <%s key={someKey} {...props} />`,Z9,rt,jP,rt),dt[rt+Z9]=!0}}return I===n?st(ke):za(ke),ke}}function Ze(I,O,X){return Fa(I,O,X,!0)}function mt(I,O,X){return Fa(I,O,X,!1)}var rc=mt,e1=Ze;ic.Fragment=n,ic.jsx=rc,ic.jsxs=e1}()),ic}process.env.NODE_ENV==="production"?gC.exports=IP():gC.exports=NP();var t=gC.exports;function cL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function is(...a){return e=>{let r=!1;const n=a.map(i=>{const s=cL(i,e);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let i=0;i<n.length;i++){const s=n[i];typeof s=="function"?s():cL(a[i],null)}}}}function je(...a){return v.useCallback(is(...a),a)}var AP=Symbol.for("react.lazy"),i9=v[" use ".trim().toString()];function _P(a){return typeof a=="object"&&a!==null&&"then"in a}function kS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===AP&&"_payload"in a&&_P(a._payload)}function ZC(a){const e=qP(a),r=v.forwardRef((n,i)=>{let{children:s,...c}=n;kS(s)&&typeof i9=="function"&&(s=i9(s._payload));const l=v.Children.toArray(s),d=l.find(RP);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}var PP=ZC("Slot");function qP(a){const e=v.forwardRef((r,n)=>{let{children:i,...s}=r;if(kS(i)&&typeof i9=="function"&&(i=i9(i._payload)),v.isValidElement(i)){const c=zP(i),l=DP(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var TP=Symbol("radix.slottable");function RP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===TP}function DP(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function zP(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function gS(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var i=a.length;for(e=0;e<i;e++)a[e]&&(r=gS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function vS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=gS(a))&&(n&&(n+=" "),n+=e);return n}const lL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,dL=vS,w9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return dL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:s}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=s==null?void 0:s[h];if(u===null)return null;const f=lL(u)||lL(p);return i[h][f]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,f]=u;return f===void 0||(h[p]=f),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:f,...x}=u;return Object.entries(x).every(k=>{let[y,m]=k;return Array.isArray(m)?m.includes({...s,...l}[y]):{...s,...l}[y]===m})?[...h,p,f]:h},[]);return dL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},XC="-",FP=a=>{const e=HP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(XC);return l[0]===""&&l.length!==1&&l.shift(),wS(l,e)||EP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},wS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?wS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const s=a.join(XC);return(c=e.validators.find(({validator:l})=>l(s)))==null?void 0:c.classGroupId},hL=/^\[(.+)\]$/,EP=a=>{if(hL.test(a)){const e=hL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},HP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return VP(Object.entries(a.classGroups),r).forEach(([s,c])=>{vC(c,n,s,e)}),n},vC=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const s=i===""?e:uL(e,i);s.classGroupId=r;return}if(typeof i=="function"){if(OP(i)){vC(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,c])=>{vC(c,uL(e,s),r,n)})})},uL=(a,e)=>{let r=a;return e.split(XC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},OP=a=>a.isThemeGetter,VP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,l])=>[e+c,l])):s);return[r,i]}):a,BP=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(s,c)=>{r.set(s,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(s){let c=r.get(s);if(c!==void 0)return c;if((c=n.get(s))!==void 0)return i(s,c),c},set(s,c){r.has(s)?r.set(s,c):i(s,c)}}},MS="!",UP=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],s=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let m=0;m<l.length;m++){let g=l[m];if(h===0){if(g===i&&(n||l.slice(m,m+s)===e)){d.push(l.slice(u,m)),u=m+s;continue}if(g==="/"){p=m;continue}}g==="["?h++:g==="]"&&h--}const f=d.length===0?l:l.substring(u),x=f.startsWith(MS),k=x?f.substring(1):f,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},$P=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},GP=a=>({cache:BP(a.cacheSize),parseClassName:UP(a),...FP(a)}),WP=/\s+/,ZP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,s=[],c=a.trim().split(WP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:x}=r(h);let k=!!x,y=n(k?f.substring(0,x):f);if(!y){if(!k){l=h+(l.length>0?" "+l:l);continue}if(y=n(f),!y){l=h+(l.length>0?" "+l:l);continue}k=!1}const m=$P(u).join(":"),g=p?m+MS:m,w=g+y;if(s.includes(w))continue;s.push(w);const M=i(y,k);for(let b=0;b<M.length;++b){const C=M[b];s.push(g+C)}l=h+(l.length>0?" "+l:l)}return l};function XP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=bS(e))&&(n&&(n+=" "),n+=r);return n}const bS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=bS(a[n]))&&(r&&(r+=" "),r+=e);return r};function JP(a,...e){let r,n,i,s=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=GP(h),n=r.cache.get,i=r.cache.set,s=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=ZP(d,r);return i(d,u),u}return function(){return s(XP.apply(null,arguments))}}const Te=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},CS=/^\[(?:([a-z-]+):)?(.+)\]$/i,YP=/^\d+\/\d+$/,KP=new Set(["px","full","screen"]),QP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eq=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,aq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>xs(a)||KP.has(a)||YP.test(a),Ea=a=>Ks(a,"length",hq),xs=a=>!!a&&!Number.isNaN(Number(a)),X9=a=>Ks(a,"number",xs),oc=a=>!!a&&Number.isInteger(Number(a)),nq=a=>a.endsWith("%")&&xs(a.slice(0,-1)),pe=a=>CS.test(a),Ha=a=>QP.test(a),iq=new Set(["length","size","percentage"]),oq=a=>Ks(a,iq,jS),sq=a=>Ks(a,"position",jS),cq=new Set(["image","url"]),lq=a=>Ks(a,cq,pq),dq=a=>Ks(a,"",uq),sc=()=>!0,Ks=(a,e,r)=>{const n=CS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},hq=a=>eq.test(a)&&!tq.test(a),jS=()=>!1,uq=a=>aq.test(a),pq=a=>rq.test(a),yq=()=>{const a=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),i=Te("borderColor"),s=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),f=Te("gap"),x=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),y=Te("inset"),m=Te("margin"),g=Te("opacity"),w=Te("padding"),M=Te("saturate"),b=Te("scale"),C=Te("sepia"),N=Te("skew"),L=Te("space"),S=Te("translate"),A=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",pe,e],D=()=>[pe,e],_=()=>["",va,Ea],q=()=>["auto",xs,pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",pe],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>[xs,pe];return{cacheSize:500,separator:":",theme:{colors:[sc],spacing:[va,Ea],blur:["none","",Ha,pe],brightness:se(),borderColor:[a],borderRadius:["none","","full",Ha,pe],borderSpacing:D(),borderWidth:_(),contrast:se(),grayscale:re(),hueRotate:se(),invert:re(),gap:D(),gradientColorStops:[a],gradientColorStopPositions:[nq,Ea],inset:R(),margin:R(),opacity:se(),padding:D(),saturate:se(),scale:se(),sepia:re(),skew:se(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",pe]}],container:["container"],columns:[{columns:[Ha]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...z(),pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oc,pe]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pe]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",oc,pe]}],"grid-cols":[{"grid-cols":[sc]}],"col-start-end":[{col:["auto",{span:["full",oc,pe]},pe]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[sc]}],"row-start-end":[{row:["auto",{span:[oc,pe]},pe]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pe,e]}],"min-w":[{"min-w":[pe,e,"min","max","fit"]}],"max-w":[{"max-w":[pe,e,"none","full","min","max","fit","prose",{screen:[Ha]},Ha]}],h:[{h:[pe,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pe,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ha,Ea]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",X9]}],"font-family":[{font:[sc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pe]}],"line-clamp":[{"line-clamp":["none",xs,X9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",va,pe]}],"list-image":[{"list-image":["none",pe]}],"list-style-type":[{list:["none","disc","decimal",pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Ea]}],"underline-offset":[{"underline-offset":["auto",va,pe]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),sq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[va,pe]}],"outline-w":[{outline:[va,Ea]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[va,Ea]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ha,dq]}],"shadow-color":[{shadow:[sc]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...$(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ha,pe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pe]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",pe]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[oc,pe]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pe]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pe]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pe]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[va,Ea,X9]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},mq=JP(yq);function ce(...a){return mq(vS(a))}const JC=w9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),G=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},s)=>{const c=n?PP:"button";return t.jsx(c,{className:ce(JC({variant:e,size:r,className:a})),ref:s,...i})});G.displayName="Button";const tt=v.forwardRef(({className:a,type:e,...r},n)=>t.jsx("input",{type:e,className:ce("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:n,...r}));tt.displayName="Input";/**
31
31
  * @license lucide-react v0.451.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
@@ -7722,36 +7722,36 @@ React keys must be passed directly to JSX without using spread:
7722
7722
  *
7723
7723
  * This source code is licensed under the ISC license.
7724
7724
  * See the LICENSE file in the root directory of this source tree.
7725
- */const gq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:u1,AArrowDownIcon:u1,AArrowUp:p1,AArrowUpIcon:p1,ALargeSmall:y1,ALargeSmallIcon:y1,Accessibility:m1,AccessibilityIcon:m1,Activity:f1,ActivityIcon:f1,ActivitySquare:Si,ActivitySquareIcon:Si,AirVent:x1,AirVentIcon:x1,Airplay:k1,AirplayIcon:k1,AlarmCheck:wr,AlarmCheckIcon:wr,AlarmClock:v1,AlarmClockCheck:wr,AlarmClockCheckIcon:wr,AlarmClockIcon:v1,AlarmClockMinus:Mr,AlarmClockMinusIcon:Mr,AlarmClockOff:g1,AlarmClockOffIcon:g1,AlarmClockPlus:br,AlarmClockPlusIcon:br,AlarmMinus:Mr,AlarmMinusIcon:Mr,AlarmPlus:br,AlarmPlusIcon:br,AlarmSmoke:w1,AlarmSmokeIcon:w1,Album:M1,AlbumIcon:M1,AlertCircle:Bt,AlertCircleIcon:Bt,AlertOctagon:ni,AlertOctagonIcon:ni,AlertTriangle:Io,AlertTriangleIcon:Io,AlignCenter:j1,AlignCenterHorizontal:b1,AlignCenterHorizontalIcon:b1,AlignCenterIcon:j1,AlignCenterVertical:C1,AlignCenterVerticalIcon:C1,AlignEndHorizontal:L1,AlignEndHorizontalIcon:L1,AlignEndVertical:S1,AlignEndVerticalIcon:S1,AlignHorizontalDistributeCenter:I1,AlignHorizontalDistributeCenterIcon:I1,AlignHorizontalDistributeEnd:N1,AlignHorizontalDistributeEndIcon:N1,AlignHorizontalDistributeStart:A1,AlignHorizontalDistributeStartIcon:A1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyCenterIcon:_1,AlignHorizontalJustifyEnd:P1,AlignHorizontalJustifyEndIcon:P1,AlignHorizontalJustifyStart:q1,AlignHorizontalJustifyStartIcon:q1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceAroundIcon:T1,AlignHorizontalSpaceBetween:R1,AlignHorizontalSpaceBetweenIcon:R1,AlignJustify:D1,AlignJustifyIcon:D1,AlignLeft:z1,AlignLeftIcon:z1,AlignRight:F1,AlignRightIcon:F1,AlignStartHorizontal:E1,AlignStartHorizontalIcon:E1,AlignStartVertical:H1,AlignStartVerticalIcon:H1,AlignVerticalDistributeCenter:O1,AlignVerticalDistributeCenterIcon:O1,AlignVerticalDistributeEnd:V1,AlignVerticalDistributeEndIcon:V1,AlignVerticalDistributeStart:B1,AlignVerticalDistributeStartIcon:B1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:G1,AlignVerticalJustifyStartIcon:G1,AlignVerticalSpaceAround:W1,AlignVerticalSpaceAroundIcon:W1,AlignVerticalSpaceBetween:Z1,AlignVerticalSpaceBetweenIcon:Z1,Ambulance:X1,AmbulanceIcon:X1,Ampersand:J1,AmpersandIcon:J1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:K1,AmphoraIcon:K1,Anchor:Q1,AnchorIcon:Q1,Angry:el,AngryIcon:el,Annoyed:tl,AnnoyedIcon:tl,Antenna:al,AntennaIcon:al,Anvil:rl,AnvilIcon:rl,Aperture:nl,ApertureIcon:nl,AppWindow:ol,AppWindowIcon:ol,AppWindowMac:il,AppWindowMacIcon:il,Apple:sl,AppleIcon:sl,Archive:dl,ArchiveIcon:dl,ArchiveRestore:cl,ArchiveRestoreIcon:cl,ArchiveX:ll,ArchiveXIcon:ll,AreaChart:zr,AreaChartIcon:zr,Armchair:hl,ArmchairIcon:hl,ArrowBigDown:pl,ArrowBigDownDash:ul,ArrowBigDownDashIcon:ul,ArrowBigDownIcon:pl,ArrowBigLeft:ml,ArrowBigLeftDash:yl,ArrowBigLeftDashIcon:yl,ArrowBigLeftIcon:ml,ArrowBigRight:xl,ArrowBigRightDash:fl,ArrowBigRightDashIcon:fl,ArrowBigRightIcon:xl,ArrowBigUp:gl,ArrowBigUpDash:kl,ArrowBigUpDashIcon:kl,ArrowBigUpIcon:gl,ArrowDown:Nl,ArrowDown01:vl,ArrowDown01Icon:vl,ArrowDown10:wl,ArrowDown10Icon:wl,ArrowDownAZ:Cr,ArrowDownAZIcon:Cr,ArrowDownAz:Cr,ArrowDownAzIcon:Cr,ArrowDownCircle:Xr,ArrowDownCircleIcon:Xr,ArrowDownFromLine:Ml,ArrowDownFromLineIcon:Ml,ArrowDownIcon:Nl,ArrowDownLeft:bl,ArrowDownLeftFromCircle:Yr,ArrowDownLeftFromCircleIcon:Yr,ArrowDownLeftFromSquare:_i,ArrowDownLeftFromSquareIcon:_i,ArrowDownLeftIcon:bl,ArrowDownLeftSquare:Ii,ArrowDownLeftSquareIcon:Ii,ArrowDownNarrowWide:Cl,ArrowDownNarrowWideIcon:Cl,ArrowDownRight:jl,ArrowDownRightFromCircle:Kr,ArrowDownRightFromCircleIcon:Kr,ArrowDownRightFromSquare:Pi,ArrowDownRightFromSquareIcon:Pi,ArrowDownRightIcon:jl,ArrowDownRightSquare:Ni,ArrowDownRightSquareIcon:Ni,ArrowDownSquare:Ai,ArrowDownSquareIcon:Ai,ArrowDownToDot:Ll,ArrowDownToDotIcon:Ll,ArrowDownToLine:Sl,ArrowDownToLineIcon:Sl,ArrowDownUp:Il,ArrowDownUpIcon:Il,ArrowDownWideNarrow:jr,ArrowDownWideNarrowIcon:jr,ArrowDownZA:Lr,ArrowDownZAIcon:Lr,ArrowDownZa:Lr,ArrowDownZaIcon:Lr,ArrowLeft:$o,ArrowLeftCircle:Jr,ArrowLeftCircleIcon:Jr,ArrowLeftFromLine:Al,ArrowLeftFromLineIcon:Al,ArrowLeftIcon:$o,ArrowLeftRight:_l,ArrowLeftRightIcon:_l,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:Pl,ArrowLeftToLineIcon:Pl,ArrowRight:ks,ArrowRightCircle:tn,ArrowRightCircleIcon:tn,ArrowRightFromLine:ql,ArrowRightFromLineIcon:ql,ArrowRightIcon:ks,ArrowRightLeft:Tl,ArrowRightLeftIcon:Tl,ArrowRightSquare:Ca,ArrowRightSquareIcon:Ca,ArrowRightToLine:Rl,ArrowRightToLineIcon:Rl,ArrowUp:$l,ArrowUp01:Dl,ArrowUp01Icon:Dl,ArrowUp10:zl,ArrowUp10Icon:zl,ArrowUpAZ:Sr,ArrowUpAZIcon:Sr,ArrowUpAz:Sr,ArrowUpAzIcon:Sr,ArrowUpCircle:an,ArrowUpCircleIcon:an,ArrowUpDown:Fl,ArrowUpDownIcon:Fl,ArrowUpFromDot:El,ArrowUpFromDotIcon:El,ArrowUpFromLine:Hl,ArrowUpFromLineIcon:Hl,ArrowUpIcon:$l,ArrowUpLeft:Ol,ArrowUpLeftFromCircle:Qr,ArrowUpLeftFromCircleIcon:Qr,ArrowUpLeftFromSquare:qi,ArrowUpLeftFromSquareIcon:qi,ArrowUpLeftIcon:Ol,ArrowUpLeftSquare:Ri,ArrowUpLeftSquareIcon:Ri,ArrowUpNarrowWide:Ir,ArrowUpNarrowWideIcon:Ir,ArrowUpRight:Vl,ArrowUpRightFromCircle:en,ArrowUpRightFromCircleIcon:en,ArrowUpRightFromSquare:Ti,ArrowUpRightFromSquareIcon:Ti,ArrowUpRightIcon:Vl,ArrowUpRightSquare:Di,ArrowUpRightSquareIcon:Di,ArrowUpSquare:zi,ArrowUpSquareIcon:zi,ArrowUpToLine:Bl,ArrowUpToLineIcon:Bl,ArrowUpWideNarrow:Ul,ArrowUpWideNarrowIcon:Ul,ArrowUpZA:Nr,ArrowUpZAIcon:Nr,ArrowUpZa:Nr,ArrowUpZaIcon:Nr,ArrowsUpFromLine:Gl,ArrowsUpFromLineIcon:Gl,Asterisk:Wl,AsteriskIcon:Wl,AsteriskSquare:Fi,AsteriskSquareIcon:Fi,AtSign:Zl,AtSignIcon:Zl,Atom:Xl,AtomIcon:Xl,AudioLines:Jl,AudioLinesIcon:Jl,AudioWaveform:Yl,AudioWaveformIcon:Yl,Award:La,AwardIcon:La,Axe:Kl,AxeIcon:Kl,Axis3D:Ar,Axis3DIcon:Ar,Axis3d:Ar,Axis3dIcon:Ar,Baby:Ql,BabyIcon:Ql,Backpack:ed,BackpackIcon:ed,Badge:fd,BadgeAlert:td,BadgeAlertIcon:td,BadgeCent:ad,BadgeCentIcon:ad,BadgeCheck:_r,BadgeCheckIcon:_r,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:nd,BadgeEuroIcon:nd,BadgeHelp:id,BadgeHelpIcon:id,BadgeIcon:fd,BadgeIndianRupee:od,BadgeIndianRupeeIcon:od,BadgeInfo:sd,BadgeInfoIcon:sd,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:ld,BadgeMinusIcon:ld,BadgePercent:dd,BadgePercentIcon:dd,BadgePlus:hd,BadgePlusIcon:hd,BadgePoundSterling:ud,BadgePoundSterlingIcon:ud,BadgeRussianRuble:pd,BadgeRussianRubleIcon:pd,BadgeSwissFranc:yd,BadgeSwissFrancIcon:yd,BadgeX:md,BadgeXIcon:md,BaggageClaim:xd,BaggageClaimIcon:xd,Ban:kd,BanIcon:kd,Banana:gd,BananaIcon:gd,Bandage:vd,BandageIcon:vd,Banknote:wd,BanknoteIcon:wd,BarChart:Ba,BarChart2:$r,BarChart2Icon:$r,BarChart3:Br,BarChart3Icon:Br,BarChart4:Vr,BarChart4Icon:Vr,BarChartBig:Or,BarChartBigIcon:Or,BarChartHorizontal:Er,BarChartHorizontalBig:Fr,BarChartHorizontalBigIcon:Fr,BarChartHorizontalIcon:Er,BarChartIcon:Ba,Barcode:Md,BarcodeIcon:Md,Baseline:bd,BaselineIcon:bd,Bath:Cd,BathIcon:Cd,Battery:Ad,BatteryCharging:jd,BatteryChargingIcon:jd,BatteryFull:Ld,BatteryFullIcon:Ld,BatteryIcon:Ad,BatteryLow:Sd,BatteryLowIcon:Sd,BatteryMedium:Id,BatteryMediumIcon:Id,BatteryWarning:Nd,BatteryWarningIcon:Nd,Beaker:_d,BeakerIcon:_d,Bean:qd,BeanIcon:qd,BeanOff:Pd,BeanOffIcon:Pd,Bed:Dd,BedDouble:Td,BedDoubleIcon:Td,BedIcon:Dd,BedSingle:Rd,BedSingleIcon:Rd,Beef:zd,BeefIcon:zd,Beer:Ed,BeerIcon:Ed,BeerOff:Fd,BeerOffIcon:Fd,Bell:gs,BellDot:Hd,BellDotIcon:Hd,BellElectric:Od,BellElectricIcon:Od,BellIcon:gs,BellMinus:Vd,BellMinusIcon:Vd,BellOff:Bd,BellOffIcon:Bd,BellPlus:Ud,BellPlusIcon:Ud,BellRing:$d,BellRingIcon:$d,BetweenHorizonalEnd:Pr,BetweenHorizonalEndIcon:Pr,BetweenHorizonalStart:qr,BetweenHorizonalStartIcon:qr,BetweenHorizontalEnd:Pr,BetweenHorizontalEndIcon:Pr,BetweenHorizontalStart:qr,BetweenHorizontalStartIcon:qr,BetweenVerticalEnd:Gd,BetweenVerticalEndIcon:Gd,BetweenVerticalStart:Wd,BetweenVerticalStartIcon:Wd,BicepsFlexed:Zd,BicepsFlexedIcon:Zd,Bike:Xd,BikeIcon:Xd,Binary:Jd,BinaryIcon:Jd,Binoculars:Yd,BinocularsIcon:Yd,Biohazard:Kd,BiohazardIcon:Kd,Bird:Qd,BirdIcon:Qd,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:r2,BlocksIcon:r2,Bluetooth:s2,BluetoothConnected:n2,BluetoothConnectedIcon:n2,BluetoothIcon:s2,BluetoothOff:i2,BluetoothOffIcon:i2,BluetoothSearching:o2,BluetoothSearchingIcon:o2,Bold:c2,BoldIcon:c2,Bolt:l2,BoltIcon:l2,Bomb:d2,BombIcon:d2,Bone:h2,BoneIcon:h2,Book:q2,BookA:u2,BookAIcon:u2,BookAudio:p2,BookAudioIcon:p2,BookCheck:y2,BookCheckIcon:y2,BookCopy:m2,BookCopyIcon:m2,BookDashed:Tr,BookDashedIcon:Tr,BookDown:f2,BookDownIcon:f2,BookHeadphones:x2,BookHeadphonesIcon:x2,BookHeart:k2,BookHeartIcon:k2,BookIcon:q2,BookImage:g2,BookImageIcon:g2,BookKey:v2,BookKeyIcon:v2,BookLock:w2,BookLockIcon:w2,BookMarked:M2,BookMarkedIcon:M2,BookMinus:b2,BookMinusIcon:b2,BookOpen:Wt,BookOpenCheck:C2,BookOpenCheckIcon:C2,BookOpenIcon:Wt,BookOpenText:j2,BookOpenTextIcon:j2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:Tr,BookTemplateIcon:Tr,BookText:S2,BookTextIcon:S2,BookType:I2,BookTypeIcon:I2,BookUp:A2,BookUp2:N2,BookUp2Icon:N2,BookUpIcon:A2,BookUser:_2,BookUserIcon:_2,BookX:P2,BookXIcon:P2,Bookmark:Xa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Xa,BookmarkMinus:T2,BookmarkMinusIcon:T2,BookmarkPlus:uc,BookmarkPlusIcon:uc,BookmarkX:R2,BookmarkXIcon:R2,BoomBox:D2,BoomBoxIcon:D2,Bot:pc,BotIcon:pc,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:F2,BotOffIcon:F2,Box:E2,BoxIcon:E2,BoxSelect:Xi,BoxSelectIcon:Xi,Boxes:H2,BoxesIcon:H2,Braces:Rr,BracesIcon:Rr,Brackets:O2,BracketsIcon:O2,Brain:U2,BrainCircuit:V2,BrainCircuitIcon:V2,BrainCog:B2,BrainCogIcon:B2,BrainIcon:U2,BrickWall:$2,BrickWallIcon:$2,Briefcase:vt,BriefcaseBusiness:G2,BriefcaseBusinessIcon:G2,BriefcaseConveyorBelt:W2,BriefcaseConveyorBeltIcon:W2,BriefcaseIcon:vt,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushIcon:J2,Bug:Q2,BugIcon:Q2,BugOff:Y2,BugOffIcon:Y2,BugPlay:K2,BugPlayIcon:K2,Building:vs,Building2:yc,Building2Icon:yc,BuildingIcon:vs,Bus:t0,BusFront:e0,BusFrontIcon:e0,BusIcon:t0,Cable:r0,CableCar:a0,CableCarIcon:a0,CableIcon:r0,Cake:i0,CakeIcon:i0,CakeSlice:n0,CakeSliceIcon:n0,Calculator:o0,CalculatorIcon:o0,Calendar:mc,CalendarArrowDown:s0,CalendarArrowDownIcon:s0,CalendarArrowUp:c0,CalendarArrowUpIcon:c0,CalendarCheck:d0,CalendarCheck2:l0,CalendarCheck2Icon:l0,CalendarCheckIcon:d0,CalendarClock:h0,CalendarClockIcon:h0,CalendarCog:u0,CalendarCogIcon:u0,CalendarDays:p0,CalendarDaysIcon:p0,CalendarFold:y0,CalendarFoldIcon:y0,CalendarHeart:m0,CalendarHeartIcon:m0,CalendarIcon:mc,CalendarMinus:x0,CalendarMinus2:f0,CalendarMinus2Icon:f0,CalendarMinusIcon:x0,CalendarOff:k0,CalendarOffIcon:k0,CalendarPlus:v0,CalendarPlus2:g0,CalendarPlus2Icon:g0,CalendarPlusIcon:v0,CalendarRange:w0,CalendarRangeIcon:w0,CalendarSearch:M0,CalendarSearchIcon:M0,CalendarX:C0,CalendarX2:b0,CalendarX2Icon:b0,CalendarXIcon:C0,Camera:L0,CameraIcon:L0,CameraOff:j0,CameraOffIcon:j0,CandlestickChart:Hr,CandlestickChartIcon:Hr,Candy:N0,CandyCane:S0,CandyCaneIcon:S0,CandyIcon:N0,CandyOff:I0,CandyOffIcon:I0,Cannabis:A0,CannabisIcon:A0,Captions:Dr,CaptionsIcon:Dr,CaptionsOff:_0,CaptionsOffIcon:_0,Car:T0,CarFront:P0,CarFrontIcon:P0,CarIcon:T0,CarTaxiFront:q0,CarTaxiFrontIcon:q0,Caravan:R0,CaravanIcon:R0,Carrot:D0,CarrotIcon:D0,CaseLower:z0,CaseLowerIcon:z0,CaseSensitive:F0,CaseSensitiveIcon:F0,CaseUpper:E0,CaseUpperIcon:E0,CassetteTape:H0,CassetteTapeIcon:H0,Cast:O0,CastIcon:O0,Castle:V0,CastleIcon:V0,Cat:B0,CatIcon:B0,Cctv:U0,CctvIcon:U0,ChartArea:zr,ChartAreaIcon:zr,ChartBar:Er,ChartBarBig:Fr,ChartBarBigIcon:Fr,ChartBarDecreasing:$0,ChartBarDecreasingIcon:$0,ChartBarIcon:Er,ChartBarIncreasing:G0,ChartBarIncreasingIcon:G0,ChartBarStacked:W0,ChartBarStackedIcon:W0,ChartCandlestick:Hr,ChartCandlestickIcon:Hr,ChartColumn:Br,ChartColumnBig:Or,ChartColumnBigIcon:Or,ChartColumnDecreasing:Z0,ChartColumnDecreasingIcon:Z0,ChartColumnIcon:Br,ChartColumnIncreasing:Vr,ChartColumnIncreasingIcon:Vr,ChartColumnStacked:X0,ChartColumnStackedIcon:X0,ChartGantt:J0,ChartGanttIcon:J0,ChartLine:Ur,ChartLineIcon:Ur,ChartNetwork:Y0,ChartNetworkIcon:Y0,ChartNoAxesColumn:$r,ChartNoAxesColumnDecreasing:K0,ChartNoAxesColumnDecreasingIcon:K0,ChartNoAxesColumnIcon:$r,ChartNoAxesColumnIncreasing:Ba,ChartNoAxesColumnIncreasingIcon:Ba,ChartNoAxesCombined:Q0,ChartNoAxesCombinedIcon:Q0,ChartNoAxesGantt:Gr,ChartNoAxesGanttIcon:Gr,ChartPie:Wr,ChartPieIcon:Wr,ChartScatter:Zr,ChartScatterIcon:Zr,ChartSpline:eh,ChartSplineIcon:eh,Check:ws,CheckCheck:th,CheckCheckIcon:th,CheckCircle:Nt,CheckCircle2:rn,CheckCircle2Icon:rn,CheckCircleIcon:Nt,CheckIcon:ws,CheckSquare:Hi,CheckSquare2:Oi,CheckSquare2Icon:Oi,CheckSquareIcon:Hi,ChefHat:ah,ChefHatIcon:ah,Cherry:rh,CherryIcon:rh,ChevronDown:Go,ChevronDownCircle:nn,ChevronDownCircleIcon:nn,ChevronDownIcon:Go,ChevronDownSquare:Vi,ChevronDownSquareIcon:Vi,ChevronFirst:nh,ChevronFirstIcon:nh,ChevronLast:ih,ChevronLastIcon:ih,ChevronLeft:Wo,ChevronLeftCircle:on,ChevronLeftCircleIcon:on,ChevronLeftIcon:Wo,ChevronLeftSquare:Bi,ChevronLeftSquareIcon:Bi,ChevronRight:Ja,ChevronRightCircle:sn,ChevronRightCircleIcon:sn,ChevronRightIcon:Ja,ChevronRightSquare:Ui,ChevronRightSquareIcon:Ui,ChevronUp:fc,ChevronUpCircle:cn,ChevronUpCircleIcon:cn,ChevronUpIcon:fc,ChevronUpSquare:$i,ChevronUpSquareIcon:$i,ChevronsDown:sh,ChevronsDownIcon:sh,ChevronsDownUp:oh,ChevronsDownUpIcon:oh,ChevronsLeft:dh,ChevronsLeftIcon:dh,ChevronsLeftRight:lh,ChevronsLeftRightEllipsis:ch,ChevronsLeftRightEllipsisIcon:ch,ChevronsLeftRightIcon:lh,ChevronsRight:uh,ChevronsRightIcon:uh,ChevronsRightLeft:hh,ChevronsRightLeftIcon:hh,ChevronsUp:yh,ChevronsUpDown:ph,ChevronsUpDownIcon:ph,ChevronsUpIcon:yh,Chrome:mh,ChromeIcon:mh,Church:fh,ChurchIcon:fh,Cigarette:kh,CigaretteIcon:kh,CigaretteOff:xh,CigaretteOffIcon:xh,Circle:Nh,CircleAlert:Bt,CircleAlertIcon:Bt,CircleArrowDown:Xr,CircleArrowDownIcon:Xr,CircleArrowLeft:Jr,CircleArrowLeftIcon:Jr,CircleArrowOutDownLeft:Yr,CircleArrowOutDownLeftIcon:Yr,CircleArrowOutDownRight:Kr,CircleArrowOutDownRightIcon:Kr,CircleArrowOutUpLeft:Qr,CircleArrowOutUpLeftIcon:Qr,CircleArrowOutUpRight:en,CircleArrowOutUpRightIcon:en,CircleArrowRight:tn,CircleArrowRightIcon:tn,CircleArrowUp:an,CircleArrowUpIcon:an,CircleCheck:rn,CircleCheckBig:Nt,CircleCheckBigIcon:Nt,CircleCheckIcon:rn,CircleChevronDown:nn,CircleChevronDownIcon:nn,CircleChevronLeft:on,CircleChevronLeftIcon:on,CircleChevronRight:sn,CircleChevronRightIcon:sn,CircleChevronUp:cn,CircleChevronUpIcon:cn,CircleDashed:gh,CircleDashedIcon:gh,CircleDivide:ln,CircleDivideIcon:ln,CircleDollarSign:vh,CircleDollarSignIcon:vh,CircleDot:Mh,CircleDotDashed:wh,CircleDotDashedIcon:wh,CircleDotIcon:Mh,CircleEllipsis:bh,CircleEllipsisIcon:bh,CircleEqual:Ch,CircleEqualIcon:Ch,CircleFadingArrowUp:jh,CircleFadingArrowUpIcon:jh,CircleFadingPlus:Lh,CircleFadingPlusIcon:Lh,CircleGauge:dn,CircleGaugeIcon:dn,CircleHelp:Ua,CircleHelpIcon:Ua,CircleIcon:Nh,CircleMinus:hn,CircleMinusIcon:hn,CircleOff:Sh,CircleOffIcon:Sh,CircleParking:pn,CircleParkingIcon:pn,CircleParkingOff:un,CircleParkingOffIcon:un,CirclePause:yn,CirclePauseIcon:yn,CirclePercent:mn,CirclePercentIcon:mn,CirclePlay:fn,CirclePlayIcon:fn,CirclePlus:xn,CirclePlusIcon:xn,CirclePower:kn,CirclePowerIcon:kn,CircleSlash:Ih,CircleSlash2:gn,CircleSlash2Icon:gn,CircleSlashIcon:Ih,CircleSlashed:gn,CircleSlashedIcon:gn,CircleStop:vn,CircleStopIcon:vn,CircleUser:Mn,CircleUserIcon:Mn,CircleUserRound:wn,CircleUserRoundIcon:wn,CircleX:ia,CircleXIcon:ia,CircuitBoard:Ah,CircuitBoardIcon:Ah,Citrus:_h,CitrusIcon:_h,Clapperboard:Ph,ClapperboardIcon:Ph,Clipboard:Oh,ClipboardCheck:qh,ClipboardCheckIcon:qh,ClipboardCopy:Th,ClipboardCopyIcon:Th,ClipboardEdit:Cn,ClipboardEditIcon:Cn,ClipboardIcon:Oh,ClipboardList:Rh,ClipboardListIcon:Rh,ClipboardMinus:Dh,ClipboardMinusIcon:Dh,ClipboardPaste:zh,ClipboardPasteIcon:zh,ClipboardPen:Cn,ClipboardPenIcon:Cn,ClipboardPenLine:bn,ClipboardPenLineIcon:bn,ClipboardPlus:Fh,ClipboardPlusIcon:Fh,ClipboardSignature:bn,ClipboardSignatureIcon:bn,ClipboardType:Eh,ClipboardTypeIcon:Eh,ClipboardX:Hh,ClipboardXIcon:Hh,Clock:Qt,Clock1:Vh,Clock10:Bh,Clock10Icon:Bh,Clock11:Uh,Clock11Icon:Uh,Clock12:$h,Clock12Icon:$h,Clock1Icon:Vh,Clock2:Gh,Clock2Icon:Gh,Clock3:Wh,Clock3Icon:Wh,Clock4:Zh,Clock4Icon:Zh,Clock5:Xh,Clock5Icon:Xh,Clock6:Jh,Clock6Icon:Jh,Clock7:Yh,Clock7Icon:Yh,Clock8:Kh,Clock8Icon:Kh,Clock9:Qh,Clock9Icon:Qh,ClockAlert:eu,ClockAlertIcon:eu,ClockArrowDown:tu,ClockArrowDownIcon:tu,ClockArrowUp:au,ClockArrowUpIcon:au,ClockIcon:Qt,Cloud:fu,CloudCog:ru,CloudCogIcon:ru,CloudDownload:jn,CloudDownloadIcon:jn,CloudDrizzle:nu,CloudDrizzleIcon:nu,CloudFog:iu,CloudFogIcon:iu,CloudHail:ou,CloudHailIcon:ou,CloudIcon:fu,CloudLightning:su,CloudLightningIcon:su,CloudMoon:lu,CloudMoonIcon:lu,CloudMoonRain:cu,CloudMoonRainIcon:cu,CloudOff:du,CloudOffIcon:du,CloudRain:uu,CloudRainIcon:uu,CloudRainWind:hu,CloudRainWindIcon:hu,CloudSnow:pu,CloudSnowIcon:pu,CloudSun:mu,CloudSunIcon:mu,CloudSunRain:yu,CloudSunRainIcon:yu,CloudUpload:Ln,CloudUploadIcon:Ln,Cloudy:xu,CloudyIcon:xu,Clover:ku,CloverIcon:ku,Club:gu,ClubIcon:gu,Code:vu,Code2:Sn,Code2Icon:Sn,CodeIcon:vu,CodeSquare:Gi,CodeSquareIcon:Gi,CodeXml:Sn,CodeXmlIcon:Sn,Codepen:wu,CodepenIcon:wu,Codesandbox:Mu,CodesandboxIcon:Mu,Coffee:bu,CoffeeIcon:bu,Cog:Cu,CogIcon:Cu,Coins:ju,CoinsIcon:ju,Columns:In,Columns2:In,Columns2Icon:In,Columns3:Nn,Columns3Icon:Nn,Columns4:Lu,Columns4Icon:Lu,ColumnsIcon:In,Combine:Su,CombineIcon:Su,Command:Iu,CommandIcon:Iu,Compass:Nu,CompassIcon:Nu,Component:Au,ComponentIcon:Au,Computer:_u,ComputerIcon:_u,ConciergeBell:Pu,ConciergeBellIcon:Pu,Cone:qu,ConeIcon:qu,Construction:Tu,ConstructionIcon:Tu,Contact:Ru,Contact2:An,Contact2Icon:An,ContactIcon:Ru,ContactRound:An,ContactRoundIcon:An,Container:Du,ContainerIcon:Du,Contrast:zu,ContrastIcon:zu,Cookie:Fu,CookieIcon:Fu,CookingPot:Eu,CookingPotIcon:Eu,Copy:$u,CopyCheck:Hu,CopyCheckIcon:Hu,CopyIcon:$u,CopyMinus:Ou,CopyMinusIcon:Ou,CopyPlus:Vu,CopyPlusIcon:Vu,CopySlash:Bu,CopySlashIcon:Bu,CopyX:Uu,CopyXIcon:Uu,Copyleft:Gu,CopyleftIcon:Gu,Copyright:Wu,CopyrightIcon:Wu,CornerDownLeft:Zu,CornerDownLeftIcon:Zu,CornerDownRight:Xu,CornerDownRightIcon:Xu,CornerLeftDown:Ju,CornerLeftDownIcon:Ju,CornerLeftUp:Yu,CornerLeftUpIcon:Yu,CornerRightDown:Ku,CornerRightDownIcon:Ku,CornerRightUp:Qu,CornerRightUpIcon:Qu,CornerUpLeft:ep,CornerUpLeftIcon:ep,CornerUpRight:tp,CornerUpRightIcon:tp,Cpu:ap,CpuIcon:ap,CreativeCommons:rp,CreativeCommonsIcon:rp,CreditCard:xc,CreditCardIcon:xc,Croissant:np,CroissantIcon:np,Crop:ip,CropIcon:ip,Cross:op,CrossIcon:op,Crosshair:sp,CrosshairIcon:sp,Crown:cp,CrownIcon:cp,Cuboid:lp,CuboidIcon:lp,CupSoda:dp,CupSodaIcon:dp,CurlyBraces:Rr,CurlyBracesIcon:Rr,Currency:hp,CurrencyIcon:hp,Cylinder:up,CylinderIcon:up,Dam:pp,DamIcon:pp,Database:fp,DatabaseBackup:yp,DatabaseBackupIcon:yp,DatabaseIcon:fp,DatabaseZap:mp,DatabaseZapIcon:mp,Delete:xp,DeleteIcon:xp,Dessert:kp,DessertIcon:kp,Diameter:gp,DiameterIcon:gp,Diamond:Mp,DiamondIcon:Mp,DiamondMinus:vp,DiamondMinusIcon:vp,DiamondPercent:_n,DiamondPercentIcon:_n,DiamondPlus:wp,DiamondPlusIcon:wp,Dice1:bp,Dice1Icon:bp,Dice2:Cp,Dice2Icon:Cp,Dice3:jp,Dice3Icon:jp,Dice4:Lp,Dice4Icon:Lp,Dice5:Sp,Dice5Icon:Sp,Dice6:Ip,Dice6Icon:Ip,Dices:Np,DicesIcon:Np,Diff:Ap,DiffIcon:Ap,Disc:Tp,Disc2:_p,Disc2Icon:_p,Disc3:Pp,Disc3Icon:Pp,DiscAlbum:qp,DiscAlbumIcon:qp,DiscIcon:Tp,Divide:Rp,DivideCircle:ln,DivideCircleIcon:ln,DivideIcon:Rp,DivideSquare:Ji,DivideSquareIcon:Ji,Dna:zp,DnaIcon:zp,DnaOff:Dp,DnaOffIcon:Dp,Dock:Fp,DockIcon:Fp,Dog:Ep,DogIcon:Ep,DollarSign:kc,DollarSignIcon:kc,Donut:Hp,DonutIcon:Hp,DoorClosed:Op,DoorClosedIcon:Op,DoorOpen:Vp,DoorOpenIcon:Vp,Dot:Bp,DotIcon:Bp,DotSquare:Yi,DotSquareIcon:Yi,Download:Up,DownloadCloud:jn,DownloadCloudIcon:jn,DownloadIcon:Up,DraftingCompass:$p,DraftingCompassIcon:$p,Drama:Gp,DramaIcon:Gp,Dribbble:Wp,DribbbleIcon:Wp,Drill:Zp,DrillIcon:Zp,Droplet:Xp,DropletIcon:Xp,Droplets:Jp,DropletsIcon:Jp,Drum:Yp,DrumIcon:Yp,Drumstick:Kp,DrumstickIcon:Kp,Dumbbell:Qp,DumbbellIcon:Qp,Ear:ty,EarIcon:ty,EarOff:ey,EarOffIcon:ey,Earth:Pn,EarthIcon:Pn,EarthLock:ay,EarthLockIcon:ay,Eclipse:ry,EclipseIcon:ry,Edit:St,Edit2:xi,Edit2Icon:xi,Edit3:fi,Edit3Icon:fi,EditIcon:St,Egg:oy,EggFried:ny,EggFriedIcon:ny,EggIcon:oy,EggOff:iy,EggOffIcon:iy,Ellipsis:Tn,EllipsisIcon:Tn,EllipsisVertical:qn,EllipsisVerticalIcon:qn,Equal:cy,EqualIcon:cy,EqualNot:sy,EqualNotIcon:sy,EqualSquare:Ki,EqualSquareIcon:Ki,Eraser:ly,EraserIcon:ly,EthernetPort:dy,EthernetPortIcon:dy,Euro:hy,EuroIcon:hy,Expand:uy,ExpandIcon:uy,ExternalLink:Zo,ExternalLinkIcon:Zo,Eye:gc,EyeClosed:py,EyeClosedIcon:py,EyeIcon:gc,EyeOff:yy,EyeOffIcon:yy,Facebook:my,FacebookIcon:my,Factory:fy,FactoryIcon:fy,Fan:xy,FanIcon:xy,FastForward:ky,FastForwardIcon:ky,Feather:gy,FeatherIcon:gy,Fence:vy,FenceIcon:vy,FerrisWheel:wy,FerrisWheelIcon:wy,Figma:My,FigmaIcon:My,File:gm,FileArchive:by,FileArchiveIcon:by,FileAudio:jy,FileAudio2:Cy,FileAudio2Icon:Cy,FileAudioIcon:jy,FileAxis3D:Rn,FileAxis3DIcon:Rn,FileAxis3d:Rn,FileAxis3dIcon:Rn,FileBadge:Sy,FileBadge2:Ly,FileBadge2Icon:Ly,FileBadgeIcon:Sy,FileBarChart:Dn,FileBarChart2:zn,FileBarChart2Icon:zn,FileBarChartIcon:Dn,FileBox:Iy,FileBoxIcon:Iy,FileChartColumn:zn,FileChartColumnIcon:zn,FileChartColumnIncreasing:Dn,FileChartColumnIncreasingIcon:Dn,FileChartLine:Fn,FileChartLineIcon:Fn,FileChartPie:En,FileChartPieIcon:En,FileCheck:Ay,FileCheck2:Ny,FileCheck2Icon:Ny,FileCheckIcon:Ay,FileClock:_y,FileClockIcon:_y,FileCode:qy,FileCode2:Py,FileCode2Icon:Py,FileCodeIcon:qy,FileCog:Hn,FileCog2:Hn,FileCog2Icon:Hn,FileCogIcon:Hn,FileDiff:Ty,FileDiffIcon:Ty,FileDigit:Ry,FileDigitIcon:Ry,FileDown:Dy,FileDownIcon:Dy,FileEdit:Vn,FileEditIcon:Vn,FileHeart:zy,FileHeartIcon:zy,FileIcon:gm,FileImage:Fy,FileImageIcon:Fy,FileInput:Ey,FileInputIcon:Ey,FileJson:Oy,FileJson2:Hy,FileJson2Icon:Hy,FileJsonIcon:Oy,FileKey:By,FileKey2:Vy,FileKey2Icon:Vy,FileKeyIcon:By,FileLineChart:Fn,FileLineChartIcon:Fn,FileLock:$y,FileLock2:Uy,FileLock2Icon:Uy,FileLockIcon:$y,FileMinus:Wy,FileMinus2:Gy,FileMinus2Icon:Gy,FileMinusIcon:Wy,FileMusic:Zy,FileMusicIcon:Zy,FileOutput:Xy,FileOutputIcon:Xy,FilePen:Vn,FilePenIcon:Vn,FilePenLine:On,FilePenLineIcon:On,FilePieChart:En,FilePieChartIcon:En,FilePlus:Yy,FilePlus2:Jy,FilePlus2Icon:Jy,FilePlusIcon:Yy,FileQuestion:Ky,FileQuestionIcon:Ky,FileScan:Qy,FileScanIcon:Qy,FileSearch:tm,FileSearch2:em,FileSearch2Icon:em,FileSearchIcon:tm,FileSignature:On,FileSignatureIcon:On,FileSliders:am,FileSlidersIcon:am,FileSpreadsheet:rm,FileSpreadsheetIcon:rm,FileStack:nm,FileStackIcon:nm,FileSymlink:im,FileSymlinkIcon:im,FileTerminal:om,FileTerminalIcon:om,FileText:sm,FileTextIcon:sm,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:wm,FilmIcon:wm,Filter:Ms,FilterIcon:Ms,FilterX:Mm,FilterXIcon:Mm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Sm,FishIcon:Sm,FishOff:jm,FishOffIcon:jm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:vc,FlagIcon:vc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:Pm,FlameIcon:Pm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:Tm,FlashlightIcon:Tm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:Rm,FlaskConicalOffIcon:Rm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Om,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Om,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Gm,FoldVerticalIcon:Gm,Folder:wf,FolderArchive:Wm,FolderArchiveIcon:Wm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:Bn,FolderCog2:Bn,FolderCog2Icon:Bn,FolderCogIcon:Bn,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:Un,FolderEditIcon:Un,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:wf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:of,FolderKeyIcon:of,FolderLock:sf,FolderLockIcon:sf,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:Un,FolderPenIcon:Un,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:Mf,FoldersIcon:Mf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Eo,ForkKnifeCrossed:Fo,ForkKnifeCrossedIcon:Fo,ForkKnifeIcon:Eo,Forklift:Cf,ForkliftIcon:Cf,FormInput:gi,FormInputIcon:gi,Forward:jf,ForwardIcon:jf,Frame:Lf,FrameIcon:Lf,Framer:Sf,FramerIcon:Sf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:Qi,FunctionSquareIcon:Qi,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Pf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,GalleryVerticalEndIcon:Tf,GalleryVerticalIcon:Rf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Gr,GanttChartIcon:Gr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Ff,GaugeCircle:dn,GaugeCircleIcon:dn,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Hf,GemIcon:Hf,Ghost:Of,GhostIcon:Of,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:$n,GitCommitHorizontal:$n,GitCommitHorizontalIcon:$n,GitCommitIcon:$n,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Wf,GitCompareArrows:Gf,GitCompareArrowsIcon:Gf,GitCompareIcon:Wf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:i4,GlassWaterIcon:i4,Glasses:o4,GlassesIcon:o4,Globe:bs,Globe2:Pn,Globe2Icon:Pn,GlobeIcon:bs,GlobeLock:s4,GlobeLockIcon:s4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:Cs,GraduationCapIcon:Cs,Grape:d4,GrapeIcon:d4,Grid:Jt,Grid2X2:Gn,Grid2X2Icon:Gn,Grid2x2:Gn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Gn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:w4,HandCoinsIcon:w4,HandHeart:M4,HandHeartIcon:M4,HandHelping:Wn,HandHelpingIcon:Wn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:L4,HandshakeIcon:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveDownloadIcon:S4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:_4,HashIcon:_4,Haze:P4,HazeIcon:P4,HdmiPort:q4,HdmiPortIcon:q4,Heading:H4,Heading1:T4,Heading1Icon:T4,Heading2:R4,Heading2Icon:R4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:H4,HeadphoneOff:O4,HeadphoneOffIcon:O4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:js,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:js,HeartOff:G4,HeartOffIcon:G4,HeartPulse:W4,HeartPulseIcon:W4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Ua,HelpCircleIcon:Ua,HelpingHand:Wn,HelpingHandIcon:Wn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:Ma,HomeIcon:Ma,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:Ma,HouseIcon:Ma,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:Xn,IceCream2:Zn,IceCream2Icon:Zn,IceCreamBowl:Zn,IceCreamBowlIcon:Zn,IceCreamCone:Xn,IceCreamConeIcon:Xn,IceCreamIcon:Xn,Icon:SS,IdCard:ix,IdCardIcon:ix,Image:ux,ImageDown:ox,ImageDownIcon:ox,ImageIcon:ux,ImageMinus:sx,ImageMinusIcon:sx,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:Yn,IndentDecrease:Jn,IndentDecreaseIcon:Jn,IndentIcon:Yn,IndentIncrease:Yn,IndentIncreaseIcon:Yn,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:io,InspectIcon:io,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:wx,ItalicIcon:wx,IterationCcw:Mx,IterationCcwIcon:Mx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:eo,KanbanSquareDashed:Wi,KanbanSquareDashedIcon:Wi,KanbanSquareIcon:eo,Key:Nx,KeyIcon:Nx,KeyRound:Sx,KeyRoundIcon:Sx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:Px,KeyboardIcon:Px,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Fx,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Tx,LampDeskIcon:Tx,LampFloor:Rx,LampFloorIcon:Rx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Hx,LandmarkIcon:Hx,Languages:Ox,LanguagesIcon:Ox,Laptop:Vx,Laptop2:Kn,Laptop2Icon:Kn,LaptopIcon:Vx,LaptopMinimal:Kn,LaptopMinimalIcon:Kn,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Gx,Layers2Icon:Gx,Layers3:Wx,Layers3Icon:Wx,LayersIcon:Zx,Layout:mi,LayoutDashboard:wc,LayoutDashboardIcon:wc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:mi,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ik,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ik,LibrarySquare:to,LibrarySquareIcon:to,LifeBuoy:ok,LifeBuoyIcon:ok,Ligature:sk,LigatureIcon:sk,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:Ur,LineChartIcon:Ur,Link:Mc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:Mc,Linkedin:uk,LinkedinIcon:uk,List:bc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:bc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:wk,ListPlusIcon:wk,ListRestart:Mk,ListRestartIcon:Mk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Sk,ListXIcon:Sk,Loader:Nk,Loader2:Qn,Loader2Icon:Qn,LoaderCircle:Qn,LoaderCircleIcon:Qn,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:Pk,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:Pk,LocateOff:_k,LocateOffIcon:_k,Lock:Cc,LockIcon:Cc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:ei,LockKeyholeOpenIcon:ei,LockOpen:ti,LockOpenIcon:ti,LogIn:Tk,LogInIcon:Tk,LogOut:jc,LogOutIcon:jc,Logs:Rk,LogsIcon:Rk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:u1,LucideAArrowUp:p1,LucideALargeSmall:y1,LucideAccessibility:m1,LucideActivity:f1,LucideActivitySquare:Si,LucideAirVent:x1,LucideAirplay:k1,LucideAlarmCheck:wr,LucideAlarmClock:v1,LucideAlarmClockCheck:wr,LucideAlarmClockMinus:Mr,LucideAlarmClockOff:g1,LucideAlarmClockPlus:br,LucideAlarmMinus:Mr,LucideAlarmPlus:br,LucideAlarmSmoke:w1,LucideAlbum:M1,LucideAlertCircle:Bt,LucideAlertOctagon:ni,LucideAlertTriangle:Io,LucideAlignCenter:j1,LucideAlignCenterHorizontal:b1,LucideAlignCenterVertical:C1,LucideAlignEndHorizontal:L1,LucideAlignEndVertical:S1,LucideAlignHorizontalDistributeCenter:I1,LucideAlignHorizontalDistributeEnd:N1,LucideAlignHorizontalDistributeStart:A1,LucideAlignHorizontalJustifyCenter:_1,LucideAlignHorizontalJustifyEnd:P1,LucideAlignHorizontalJustifyStart:q1,LucideAlignHorizontalSpaceAround:T1,LucideAlignHorizontalSpaceBetween:R1,LucideAlignJustify:D1,LucideAlignLeft:z1,LucideAlignRight:F1,LucideAlignStartHorizontal:E1,LucideAlignStartVertical:H1,LucideAlignVerticalDistributeCenter:O1,LucideAlignVerticalDistributeEnd:V1,LucideAlignVerticalDistributeStart:B1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:G1,LucideAlignVerticalSpaceAround:W1,LucideAlignVerticalSpaceBetween:Z1,LucideAmbulance:X1,LucideAmpersand:J1,LucideAmpersands:Y1,LucideAmphora:K1,LucideAnchor:Q1,LucideAngry:el,LucideAnnoyed:tl,LucideAntenna:al,LucideAnvil:rl,LucideAperture:nl,LucideAppWindow:ol,LucideAppWindowMac:il,LucideApple:sl,LucideArchive:dl,LucideArchiveRestore:cl,LucideArchiveX:ll,LucideAreaChart:zr,LucideArmchair:hl,LucideArrowBigDown:pl,LucideArrowBigDownDash:ul,LucideArrowBigLeft:ml,LucideArrowBigLeftDash:yl,LucideArrowBigRight:xl,LucideArrowBigRightDash:fl,LucideArrowBigUp:gl,LucideArrowBigUpDash:kl,LucideArrowDown:Nl,LucideArrowDown01:vl,LucideArrowDown10:wl,LucideArrowDownAZ:Cr,LucideArrowDownAz:Cr,LucideArrowDownCircle:Xr,LucideArrowDownFromLine:Ml,LucideArrowDownLeft:bl,LucideArrowDownLeftFromCircle:Yr,LucideArrowDownLeftFromSquare:_i,LucideArrowDownLeftSquare:Ii,LucideArrowDownNarrowWide:Cl,LucideArrowDownRight:jl,LucideArrowDownRightFromCircle:Kr,LucideArrowDownRightFromSquare:Pi,LucideArrowDownRightSquare:Ni,LucideArrowDownSquare:Ai,LucideArrowDownToDot:Ll,LucideArrowDownToLine:Sl,LucideArrowDownUp:Il,LucideArrowDownWideNarrow:jr,LucideArrowDownZA:Lr,LucideArrowDownZa:Lr,LucideArrowLeft:$o,LucideArrowLeftCircle:Jr,LucideArrowLeftFromLine:Al,LucideArrowLeftRight:_l,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:Pl,LucideArrowRight:ks,LucideArrowRightCircle:tn,LucideArrowRightFromLine:ql,LucideArrowRightLeft:Tl,LucideArrowRightSquare:Ca,LucideArrowRightToLine:Rl,LucideArrowUp:$l,LucideArrowUp01:Dl,LucideArrowUp10:zl,LucideArrowUpAZ:Sr,LucideArrowUpAz:Sr,LucideArrowUpCircle:an,LucideArrowUpDown:Fl,LucideArrowUpFromDot:El,LucideArrowUpFromLine:Hl,LucideArrowUpLeft:Ol,LucideArrowUpLeftFromCircle:Qr,LucideArrowUpLeftFromSquare:qi,LucideArrowUpLeftSquare:Ri,LucideArrowUpNarrowWide:Ir,LucideArrowUpRight:Vl,LucideArrowUpRightFromCircle:en,LucideArrowUpRightFromSquare:Ti,LucideArrowUpRightSquare:Di,LucideArrowUpSquare:zi,LucideArrowUpToLine:Bl,LucideArrowUpWideNarrow:Ul,LucideArrowUpZA:Nr,LucideArrowUpZa:Nr,LucideArrowsUpFromLine:Gl,LucideAsterisk:Wl,LucideAsteriskSquare:Fi,LucideAtSign:Zl,LucideAtom:Xl,LucideAudioLines:Jl,LucideAudioWaveform:Yl,LucideAward:La,LucideAxe:Kl,LucideAxis3D:Ar,LucideAxis3d:Ar,LucideBaby:Ql,LucideBackpack:ed,LucideBadge:fd,LucideBadgeAlert:td,LucideBadgeCent:ad,LucideBadgeCheck:_r,LucideBadgeDollarSign:rd,LucideBadgeEuro:nd,LucideBadgeHelp:id,LucideBadgeIndianRupee:od,LucideBadgeInfo:sd,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:ld,LucideBadgePercent:dd,LucideBadgePlus:hd,LucideBadgePoundSterling:ud,LucideBadgeRussianRuble:pd,LucideBadgeSwissFranc:yd,LucideBadgeX:md,LucideBaggageClaim:xd,LucideBan:kd,LucideBanana:gd,LucideBandage:vd,LucideBanknote:wd,LucideBarChart:Ba,LucideBarChart2:$r,LucideBarChart3:Br,LucideBarChart4:Vr,LucideBarChartBig:Or,LucideBarChartHorizontal:Er,LucideBarChartHorizontalBig:Fr,LucideBarcode:Md,LucideBaseline:bd,LucideBath:Cd,LucideBattery:Ad,LucideBatteryCharging:jd,LucideBatteryFull:Ld,LucideBatteryLow:Sd,LucideBatteryMedium:Id,LucideBatteryWarning:Nd,LucideBeaker:_d,LucideBean:qd,LucideBeanOff:Pd,LucideBed:Dd,LucideBedDouble:Td,LucideBedSingle:Rd,LucideBeef:zd,LucideBeer:Ed,LucideBeerOff:Fd,LucideBell:gs,LucideBellDot:Hd,LucideBellElectric:Od,LucideBellMinus:Vd,LucideBellOff:Bd,LucideBellPlus:Ud,LucideBellRing:$d,LucideBetweenHorizonalEnd:Pr,LucideBetweenHorizonalStart:qr,LucideBetweenHorizontalEnd:Pr,LucideBetweenHorizontalStart:qr,LucideBetweenVerticalEnd:Gd,LucideBetweenVerticalStart:Wd,LucideBicepsFlexed:Zd,LucideBike:Xd,LucideBinary:Jd,LucideBinoculars:Yd,LucideBiohazard:Kd,LucideBird:Qd,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:r2,LucideBluetooth:s2,LucideBluetoothConnected:n2,LucideBluetoothOff:i2,LucideBluetoothSearching:o2,LucideBold:c2,LucideBolt:l2,LucideBomb:d2,LucideBone:h2,LucideBook:q2,LucideBookA:u2,LucideBookAudio:p2,LucideBookCheck:y2,LucideBookCopy:m2,LucideBookDashed:Tr,LucideBookDown:f2,LucideBookHeadphones:x2,LucideBookHeart:k2,LucideBookImage:g2,LucideBookKey:v2,LucideBookLock:w2,LucideBookMarked:M2,LucideBookMinus:b2,LucideBookOpen:Wt,LucideBookOpenCheck:C2,LucideBookOpenText:j2,LucideBookPlus:L2,LucideBookTemplate:Tr,LucideBookText:S2,LucideBookType:I2,LucideBookUp:A2,LucideBookUp2:N2,LucideBookUser:_2,LucideBookX:P2,LucideBookmark:Xa,LucideBookmarkCheck:da,LucideBookmarkMinus:T2,LucideBookmarkPlus:uc,LucideBookmarkX:R2,LucideBoomBox:D2,LucideBot:pc,LucideBotMessageSquare:z2,LucideBotOff:F2,LucideBox:E2,LucideBoxSelect:Xi,LucideBoxes:H2,LucideBraces:Rr,LucideBrackets:O2,LucideBrain:U2,LucideBrainCircuit:V2,LucideBrainCog:B2,LucideBrickWall:$2,LucideBriefcase:vt,LucideBriefcaseBusiness:G2,LucideBriefcaseConveyorBelt:W2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBug:Q2,LucideBugOff:Y2,LucideBugPlay:K2,LucideBuilding:vs,LucideBuilding2:yc,LucideBus:t0,LucideBusFront:e0,LucideCable:r0,LucideCableCar:a0,LucideCake:i0,LucideCakeSlice:n0,LucideCalculator:o0,LucideCalendar:mc,LucideCalendarArrowDown:s0,LucideCalendarArrowUp:c0,LucideCalendarCheck:d0,LucideCalendarCheck2:l0,LucideCalendarClock:h0,LucideCalendarCog:u0,LucideCalendarDays:p0,LucideCalendarFold:y0,LucideCalendarHeart:m0,LucideCalendarMinus:x0,LucideCalendarMinus2:f0,LucideCalendarOff:k0,LucideCalendarPlus:v0,LucideCalendarPlus2:g0,LucideCalendarRange:w0,LucideCalendarSearch:M0,LucideCalendarX:C0,LucideCalendarX2:b0,LucideCamera:L0,LucideCameraOff:j0,LucideCandlestickChart:Hr,LucideCandy:N0,LucideCandyCane:S0,LucideCandyOff:I0,LucideCannabis:A0,LucideCaptions:Dr,LucideCaptionsOff:_0,LucideCar:T0,LucideCarFront:P0,LucideCarTaxiFront:q0,LucideCaravan:R0,LucideCarrot:D0,LucideCaseLower:z0,LucideCaseSensitive:F0,LucideCaseUpper:E0,LucideCassetteTape:H0,LucideCast:O0,LucideCastle:V0,LucideCat:B0,LucideCctv:U0,LucideChartArea:zr,LucideChartBar:Er,LucideChartBarBig:Fr,LucideChartBarDecreasing:$0,LucideChartBarIncreasing:G0,LucideChartBarStacked:W0,LucideChartCandlestick:Hr,LucideChartColumn:Br,LucideChartColumnBig:Or,LucideChartColumnDecreasing:Z0,LucideChartColumnIncreasing:Vr,LucideChartColumnStacked:X0,LucideChartGantt:J0,LucideChartLine:Ur,LucideChartNetwork:Y0,LucideChartNoAxesColumn:$r,LucideChartNoAxesColumnDecreasing:K0,LucideChartNoAxesColumnIncreasing:Ba,LucideChartNoAxesCombined:Q0,LucideChartNoAxesGantt:Gr,LucideChartPie:Wr,LucideChartScatter:Zr,LucideChartSpline:eh,LucideCheck:ws,LucideCheckCheck:th,LucideCheckCircle:Nt,LucideCheckCircle2:rn,LucideCheckSquare:Hi,LucideCheckSquare2:Oi,LucideChefHat:ah,LucideCherry:rh,LucideChevronDown:Go,LucideChevronDownCircle:nn,LucideChevronDownSquare:Vi,LucideChevronFirst:nh,LucideChevronLast:ih,LucideChevronLeft:Wo,LucideChevronLeftCircle:on,LucideChevronLeftSquare:Bi,LucideChevronRight:Ja,LucideChevronRightCircle:sn,LucideChevronRightSquare:Ui,LucideChevronUp:fc,LucideChevronUpCircle:cn,LucideChevronUpSquare:$i,LucideChevronsDown:sh,LucideChevronsDownUp:oh,LucideChevronsLeft:dh,LucideChevronsLeftRight:lh,LucideChevronsLeftRightEllipsis:ch,LucideChevronsRight:uh,LucideChevronsRightLeft:hh,LucideChevronsUp:yh,LucideChevronsUpDown:ph,LucideChrome:mh,LucideChurch:fh,LucideCigarette:kh,LucideCigaretteOff:xh,LucideCircle:Nh,LucideCircleAlert:Bt,LucideCircleArrowDown:Xr,LucideCircleArrowLeft:Jr,LucideCircleArrowOutDownLeft:Yr,LucideCircleArrowOutDownRight:Kr,LucideCircleArrowOutUpLeft:Qr,LucideCircleArrowOutUpRight:en,LucideCircleArrowRight:tn,LucideCircleArrowUp:an,LucideCircleCheck:rn,LucideCircleCheckBig:Nt,LucideCircleChevronDown:nn,LucideCircleChevronLeft:on,LucideCircleChevronRight:sn,LucideCircleChevronUp:cn,LucideCircleDashed:gh,LucideCircleDivide:ln,LucideCircleDollarSign:vh,LucideCircleDot:Mh,LucideCircleDotDashed:wh,LucideCircleEllipsis:bh,LucideCircleEqual:Ch,LucideCircleFadingArrowUp:jh,LucideCircleFadingPlus:Lh,LucideCircleGauge:dn,LucideCircleHelp:Ua,LucideCircleMinus:hn,LucideCircleOff:Sh,LucideCircleParking:pn,LucideCircleParkingOff:un,LucideCirclePause:yn,LucideCirclePercent:mn,LucideCirclePlay:fn,LucideCirclePlus:xn,LucideCirclePower:kn,LucideCircleSlash:Ih,LucideCircleSlash2:gn,LucideCircleSlashed:gn,LucideCircleStop:vn,LucideCircleUser:Mn,LucideCircleUserRound:wn,LucideCircleX:ia,LucideCircuitBoard:Ah,LucideCitrus:_h,LucideClapperboard:Ph,LucideClipboard:Oh,LucideClipboardCheck:qh,LucideClipboardCopy:Th,LucideClipboardEdit:Cn,LucideClipboardList:Rh,LucideClipboardMinus:Dh,LucideClipboardPaste:zh,LucideClipboardPen:Cn,LucideClipboardPenLine:bn,LucideClipboardPlus:Fh,LucideClipboardSignature:bn,LucideClipboardType:Eh,LucideClipboardX:Hh,LucideClock:Qt,LucideClock1:Vh,LucideClock10:Bh,LucideClock11:Uh,LucideClock12:$h,LucideClock2:Gh,LucideClock3:Wh,LucideClock4:Zh,LucideClock5:Xh,LucideClock6:Jh,LucideClock7:Yh,LucideClock8:Kh,LucideClock9:Qh,LucideClockAlert:eu,LucideClockArrowDown:tu,LucideClockArrowUp:au,LucideCloud:fu,LucideCloudCog:ru,LucideCloudDownload:jn,LucideCloudDrizzle:nu,LucideCloudFog:iu,LucideCloudHail:ou,LucideCloudLightning:su,LucideCloudMoon:lu,LucideCloudMoonRain:cu,LucideCloudOff:du,LucideCloudRain:uu,LucideCloudRainWind:hu,LucideCloudSnow:pu,LucideCloudSun:mu,LucideCloudSunRain:yu,LucideCloudUpload:Ln,LucideCloudy:xu,LucideClover:ku,LucideClub:gu,LucideCode:vu,LucideCode2:Sn,LucideCodeSquare:Gi,LucideCodeXml:Sn,LucideCodepen:wu,LucideCodesandbox:Mu,LucideCoffee:bu,LucideCog:Cu,LucideCoins:ju,LucideColumns:In,LucideColumns2:In,LucideColumns3:Nn,LucideColumns4:Lu,LucideCombine:Su,LucideCommand:Iu,LucideCompass:Nu,LucideComponent:Au,LucideComputer:_u,LucideConciergeBell:Pu,LucideCone:qu,LucideConstruction:Tu,LucideContact:Ru,LucideContact2:An,LucideContactRound:An,LucideContainer:Du,LucideContrast:zu,LucideCookie:Fu,LucideCookingPot:Eu,LucideCopy:$u,LucideCopyCheck:Hu,LucideCopyMinus:Ou,LucideCopyPlus:Vu,LucideCopySlash:Bu,LucideCopyX:Uu,LucideCopyleft:Gu,LucideCopyright:Wu,LucideCornerDownLeft:Zu,LucideCornerDownRight:Xu,LucideCornerLeftDown:Ju,LucideCornerLeftUp:Yu,LucideCornerRightDown:Ku,LucideCornerRightUp:Qu,LucideCornerUpLeft:ep,LucideCornerUpRight:tp,LucideCpu:ap,LucideCreativeCommons:rp,LucideCreditCard:xc,LucideCroissant:np,LucideCrop:ip,LucideCross:op,LucideCrosshair:sp,LucideCrown:cp,LucideCuboid:lp,LucideCupSoda:dp,LucideCurlyBraces:Rr,LucideCurrency:hp,LucideCylinder:up,LucideDam:pp,LucideDatabase:fp,LucideDatabaseBackup:yp,LucideDatabaseZap:mp,LucideDelete:xp,LucideDessert:kp,LucideDiameter:gp,LucideDiamond:Mp,LucideDiamondMinus:vp,LucideDiamondPercent:_n,LucideDiamondPlus:wp,LucideDice1:bp,LucideDice2:Cp,LucideDice3:jp,LucideDice4:Lp,LucideDice5:Sp,LucideDice6:Ip,LucideDices:Np,LucideDiff:Ap,LucideDisc:Tp,LucideDisc2:_p,LucideDisc3:Pp,LucideDiscAlbum:qp,LucideDivide:Rp,LucideDivideCircle:ln,LucideDivideSquare:Ji,LucideDna:zp,LucideDnaOff:Dp,LucideDock:Fp,LucideDog:Ep,LucideDollarSign:kc,LucideDonut:Hp,LucideDoorClosed:Op,LucideDoorOpen:Vp,LucideDot:Bp,LucideDotSquare:Yi,LucideDownload:Up,LucideDownloadCloud:jn,LucideDraftingCompass:$p,LucideDrama:Gp,LucideDribbble:Wp,LucideDrill:Zp,LucideDroplet:Xp,LucideDroplets:Jp,LucideDrum:Yp,LucideDrumstick:Kp,LucideDumbbell:Qp,LucideEar:ty,LucideEarOff:ey,LucideEarth:Pn,LucideEarthLock:ay,LucideEclipse:ry,LucideEdit:St,LucideEdit2:xi,LucideEdit3:fi,LucideEgg:oy,LucideEggFried:ny,LucideEggOff:iy,LucideEllipsis:Tn,LucideEllipsisVertical:qn,LucideEqual:cy,LucideEqualNot:sy,LucideEqualSquare:Ki,LucideEraser:ly,LucideEthernetPort:dy,LucideEuro:hy,LucideExpand:uy,LucideExternalLink:Zo,LucideEye:gc,LucideEyeClosed:py,LucideEyeOff:yy,LucideFacebook:my,LucideFactory:fy,LucideFan:xy,LucideFastForward:ky,LucideFeather:gy,LucideFence:vy,LucideFerrisWheel:wy,LucideFigma:My,LucideFile:gm,LucideFileArchive:by,LucideFileAudio:jy,LucideFileAudio2:Cy,LucideFileAxis3D:Rn,LucideFileAxis3d:Rn,LucideFileBadge:Sy,LucideFileBadge2:Ly,LucideFileBarChart:Dn,LucideFileBarChart2:zn,LucideFileBox:Iy,LucideFileChartColumn:zn,LucideFileChartColumnIncreasing:Dn,LucideFileChartLine:Fn,LucideFileChartPie:En,LucideFileCheck:Ay,LucideFileCheck2:Ny,LucideFileClock:_y,LucideFileCode:qy,LucideFileCode2:Py,LucideFileCog:Hn,LucideFileCog2:Hn,LucideFileDiff:Ty,LucideFileDigit:Ry,LucideFileDown:Dy,LucideFileEdit:Vn,LucideFileHeart:zy,LucideFileImage:Fy,LucideFileInput:Ey,LucideFileJson:Oy,LucideFileJson2:Hy,LucideFileKey:By,LucideFileKey2:Vy,LucideFileLineChart:Fn,LucideFileLock:$y,LucideFileLock2:Uy,LucideFileMinus:Wy,LucideFileMinus2:Gy,LucideFileMusic:Zy,LucideFileOutput:Xy,LucideFilePen:Vn,LucideFilePenLine:On,LucideFilePieChart:En,LucideFilePlus:Yy,LucideFilePlus2:Jy,LucideFileQuestion:Ky,LucideFileScan:Qy,LucideFileSearch:tm,LucideFileSearch2:em,LucideFileSignature:On,LucideFileSliders:am,LucideFileSpreadsheet:rm,LucideFileStack:nm,LucideFileSymlink:im,LucideFileTerminal:om,LucideFileText:sm,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:wm,LucideFilter:Ms,LucideFilterX:Mm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Sm,LucideFishOff:jm,LucideFishSymbol:Lm,LucideFlag:vc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:Pm,LucideFlameKindling:_m,LucideFlashlight:Tm,LucideFlashlightOff:qm,LucideFlaskConical:Dm,LucideFlaskConicalOff:Rm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Om,LucideFlipVertical2:Hm,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Gm,LucideFolder:wf,LucideFolderArchive:Wm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:Bn,LucideFolderCog2:Bn,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:Un,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:of,LucideFolderLock:sf,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:Un,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:Mf,LucideFootprints:bf,LucideForkKnife:Eo,LucideForkKnifeCrossed:Fo,LucideForklift:Cf,LucideFormInput:gi,LucideForward:jf,LucideFrame:Lf,LucideFramer:Sf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:Qi,LucideGalleryHorizontal:Pf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:qf,LucideGalleryVertical:Rf,LucideGalleryVerticalEnd:Tf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Gr,LucideGanttChartSquare:ra,LucideGauge:Ff,LucideGaugeCircle:dn,LucideGavel:Ef,LucideGem:Hf,LucideGhost:Of,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:$n,LucideGitCommitHorizontal:$n,LucideGitCommitVertical:$f,LucideGitCompare:Wf,LucideGitCompareArrows:Gf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:i4,LucideGlasses:o4,LucideGlobe:bs,LucideGlobe2:Pn,LucideGlobeLock:s4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:Cs,LucideGrape:d4,LucideGrid:Jt,LucideGrid2X2:Gn,LucideGrid2x2:Gn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:w4,LucideHandHeart:M4,LucideHandHelping:Wn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:L4,LucideHardDrive:N4,LucideHardDriveDownload:S4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:_4,LucideHaze:P4,LucideHdmiPort:q4,LucideHeading:H4,LucideHeading1:T4,LucideHeading2:R4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:O4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:js,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:G4,LucideHeartPulse:W4,LucideHeater:Z4,LucideHelpCircle:Ua,LucideHelpingHand:Wn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:Ma,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:Ma,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:Xn,LucideIceCream2:Zn,LucideIceCreamBowl:Zn,LucideIceCreamCone:Xn,LucideIdCard:ix,LucideImage:ux,LucideImageDown:ox,LucideImageMinus:sx,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:Yn,LucideIndentDecrease:Jn,LucideIndentIncrease:Yn,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:io,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:wx,LucideIterationCcw:Mx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Lx,LucideKanbanSquare:eo,LucideKanbanSquareDashed:Wi,LucideKey:Nx,LucideKeyRound:Sx,LucideKeySquare:Ix,LucideKeyboard:Px,LucideKeyboardMusic:Ax,LucideKeyboardOff:_x,LucideLamp:Fx,LucideLampCeiling:qx,LucideLampDesk:Tx,LucideLampFloor:Rx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Hx,LucideLanguages:Ox,LucideLaptop:Vx,LucideLaptop2:Kn,LucideLaptopMinimal:Kn,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Gx,LucideLayers3:Wx,LucideLayout:mi,LucideLayoutDashboard:wc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ik,LucideLibraryBig:nk,LucideLibrarySquare:to,LucideLifeBuoy:ok,LucideLigature:sk,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:Ur,LucideLink:Mc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:bc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:wk,LucideListRestart:Mk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Lk,LucideListX:Sk,LucideLoader:Nk,LucideLoader2:Qn,LucideLoaderCircle:Qn,LucideLoaderPinwheel:Ik,LucideLocate:Pk,LucideLocateFixed:Ak,LucideLocateOff:_k,LucideLock:Cc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:ei,LucideLockOpen:ti,LucideLogIn:Tk,LucideLogOut:jc,LucideLogs:Rk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:ao,LucideMagnet:Fk,LucideMail:ha,LucideMailCheck:Ek,LucideMailMinus:Hk,LucideMailOpen:Ok,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Gk,LucideMailbox:Wk,LucideMails:Zk,LucideMap:og,LucideMapPin:Zt,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:ig,LucideMartini:sg,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Ls,LucideMenuSquare:ro,LucideMerge:mg,LucideMessageCircle:Lg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:wg,LucideMessageCircleQuestion:Mg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:Ss,LucideMessageSquareCode:Sg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Pg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Tg,LucideMessageSquarePlus:Rg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Og,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:ai,LucideMicOff:Bg,LucideMicVocal:ai,LucideMicrochip:$g,LucideMicroscope:Gg,LucideMicrowave:Wg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:Lc,LucideMinusCircle:hn,LucideMinusSquare:no,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:i5,LucideMonitorSmartphone:o5,LucideMonitorSpeaker:s5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:Tn,LucideMoreVertical:qn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:w5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Zi,LucideMove:T5,LucideMove3D:ri,LucideMove3d:ri,LucideMoveDiagonal:b5,LucideMoveDiagonal2:M5,LucideMoveDown:L5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:S5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:P5,LucideMoveUpLeft:A5,LucideMoveUpRight:_5,LucideMoveVertical:q5,LucideMusic:F5,LucideMusic2:R5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:H5,LucideNavigation2Off:E5,LucideNavigationOff:O5,LucideNetwork:B5,LucideNewspaper:Sa,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:G5,LucideNotebookText:W5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:ni,LucideOctagonMinus:Q5,LucideOctagonPause:ii,LucideOctagonX:oi,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Jn,LucidePackage:u3,LucidePackage2:i3,LucidePackageCheck:o3,LucidePackageMinus:s3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:si,LucidePaintbrushVertical:si,LucidePalette:f3,LucidePalmtree:So,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:ci,LucidePanelBottomInactive:ci,LucidePanelBottomOpen:k3,LucidePanelLeft:ui,LucidePanelLeftClose:li,LucidePanelLeftDashed:di,LucidePanelLeftInactive:di,LucidePanelLeftOpen:hi,LucidePanelRight:M3,LucidePanelRightClose:v3,LucidePanelRightDashed:pi,LucidePanelRightInactive:pi,LucidePanelRightOpen:w3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:yi,LucidePanelTopInactive:yi,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:Nn,LucidePanelsRightBottom:S3,LucidePanelsTopBottom:Mi,LucidePanelsTopLeft:mi,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:pn,LucideParkingCircleOff:un,LucideParkingMeter:A3,LucideParkingSquare:so,LucideParkingSquareOff:oo,LucidePartyPopper:_3,LucidePause:P3,LucidePauseCircle:yn,LucidePauseOctagon:ii,LucidePawPrint:q3,LucidePcCase:T3,LucidePen:xi,LucidePenBox:St,LucidePenLine:fi,LucidePenOff:R3,LucidePenSquare:St,LucidePenTool:D3,LucidePencil:H3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:O3,LucidePercent:V3,LucidePercentCircle:mn,LucidePercentDiamond:_n,LucidePercentSquare:co,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:Xo,LucidePhoneCall:$3,LucidePhoneForwarded:G3,LucidePhoneIncoming:W3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:lo,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:Wr,LucidePiggyBank:av,LucidePilcrow:iv,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:ho,LucidePill:sv,LucidePillBottle:ov,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:Sc,LucidePlayCircle:fn,LucidePlaySquare:uo,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:ki,LucidePlugZap2:ki,LucidePlus:Is,LucidePlusCircle:xn,LucidePlusSquare:po,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:wv,LucidePointerOff:vv,LucidePopcorn:Mv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Lv,LucidePowerCircle:kn,LucidePowerOff:jv,LucidePowerSquare:yo,LucidePresentation:Sv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:_v,LucidePuzzle:Pv,LucidePyramid:qv,LucideQrCode:Tv,LucideQuote:Ns,LucideRabbit:Rv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Ov,LucideRadioReceiver:Ev,LucideRadioTower:Hv,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Gv,LucideReceipt:t6,LucideReceiptCent:Wv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:gi,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:s6,LucideRedo2:i6,LucideRedoDot:o6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:w6,LucideReplyAll:v6,LucideRewind:M6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:L6,LucideRotate3D:vi,LucideRotate3d:vi,LucideRotateCcw:I6,LucideRotateCcwSquare:S6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:P6,LucideRouteOff:_6,LucideRouter:q6,LucideRows:wi,LucideRows2:wi,LucideRows3:Mi,LucideRows4:T6,LucideRss:R6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:H6,LucideSatellite:V6,LucideSatelliteDish:O6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:G6,LucideScale3D:bi,LucideScale3d:bi,LucideScaling:W6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Zr,LucideSchool:a8,LucideSchool2:Ao,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:mo,LucideScissorsSquareDashedBottom:Ei,LucideScreenShare:o8,LucideScreenShareOff:i8,LucideScroll:c8,LucideScrollText:s8,LucideSearch:Xt,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:Ic,LucideSendHorizonal:Ci,LucideSendHorizontal:Ci,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:As,LucideSettings2:w8,LucideShapes:M8,LucideShare:b8,LucideShare2:_s,LucideSheet:C8,LucideShell:j8,LucideShield:Nc,LucideShieldAlert:L8,LucideShieldBan:S8,LucideShieldCheck:I8,LucideShieldClose:ji,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:_8,LucideShieldOff:P8,LucideShieldPlus:q8,LucideShieldQuestion:T8,LucideShieldX:ji,LucideShip:D8,LucideShipWheel:R8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Ps,LucideShovel:H8,LucideShowerHead:O8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:ui,LucideSidebarClose:li,LucideSidebarOpen:hi,LucideSigma:$8,LucideSigmaSquare:fo,LucideSignal:Ac,LucideSignalHigh:G8,LucideSignalLow:W8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:xo,LucideSlice:i7,LucideSliders:Li,LucideSlidersHorizontal:Ya,LucideSlidersVertical:Li,LucideSmartphone:c7,LucideSmartphoneCharging:o7,LucideSmartphoneNfc:s7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:Ir,LucideSortDesc:jr,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:$a,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:w7,LucideSpellCheck2:v7,LucideSpline:M7,LucideSplit:b7,LucideSplitSquareHorizontal:ko,LucideSplitSquareVertical:go,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:_7,LucideSquareActivity:Si,LucideSquareArrowDown:Ai,LucideSquareArrowDownLeft:Ii,LucideSquareArrowDownRight:Ni,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:_i,LucideSquareArrowOutDownRight:Pi,LucideSquareArrowOutUpLeft:qi,LucideSquareArrowOutUpRight:Ti,LucideSquareArrowRight:Ca,LucideSquareArrowUp:zi,LucideSquareArrowUpLeft:Ri,LucideSquareArrowUpRight:Di,LucideSquareAsterisk:Fi,LucideSquareBottomDashedScissors:Ei,LucideSquareChartGantt:ra,LucideSquareCheck:Oi,LucideSquareCheckBig:Hi,LucideSquareChevronDown:Vi,LucideSquareChevronLeft:Bi,LucideSquareChevronRight:Ui,LucideSquareChevronUp:$i,LucideSquareCode:Gi,LucideSquareDashed:Xi,LucideSquareDashedBottom:S7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Wi,LucideSquareDashedMousePointer:Zi,LucideSquareDivide:Ji,LucideSquareDot:Yi,LucideSquareEqual:Ki,LucideSquareFunction:Qi,LucideSquareGanttChart:ra,LucideSquareKanban:eo,LucideSquareLibrary:to,LucideSquareM:ao,LucideSquareMenu:ro,LucideSquareMinus:no,LucideSquareMousePointer:io,LucideSquareParking:so,LucideSquareParkingOff:oo,LucideSquarePen:St,LucideSquarePercent:co,LucideSquarePi:lo,LucideSquarePilcrow:ho,LucideSquarePlay:uo,LucideSquarePlus:po,LucideSquarePower:yo,LucideSquareRadical:I7,LucideSquareScissors:mo,LucideSquareSigma:fo,LucideSquareSlash:xo,LucideSquareSplitHorizontal:ko,LucideSquareSplitVertical:go,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:vo,LucideSquareUser:Mo,LucideSquareUserRound:wo,LucideSquareX:bo,LucideSquircle:P7,LucideSquirrel:q7,LucideStamp:T7,LucideStar:Ut,LucideStarHalf:R7,LucideStarOff:D7,LucideStars:$a,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:H7,LucideStickyNote:O7,LucideStopCircle:vn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:G7,LucideSubtitles:Dr,LucideSun:Y7,LucideSunDim:W7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:ew,LucideSwatchBook:tw,LucideSwissFranc:aw,LucideSwitchCamera:rw,LucideSword:nw,LucideSwords:iw,LucideSyringe:ow,LucideTable:yw,LucideTable2:sw,LucideTableCellsMerge:cw,LucideTableCellsSplit:lw,LucideTableColumnsSplit:dw,LucideTableOfContents:hw,LucideTableProperties:uw,LucideTableRowsSplit:pw,LucideTablet:fw,LucideTabletSmartphone:mw,LucideTablets:xw,LucideTag:_c,LucideTags:kw,LucideTally1:gw,LucideTally2:vw,LucideTally3:ww,LucideTally4:Mw,LucideTally5:bw,LucideTangent:Cw,LucideTarget:jw,LucideTelescope:Lw,LucideTent:Iw,LucideTentTree:Sw,LucideTerminal:Nw,LucideTerminalSquare:vo,LucideTestTube:Aw,LucideTestTube2:Co,LucideTestTubeDiagonal:Co,LucideTestTubes:_w,LucideText:Dw,LucideTextCursor:qw,LucideTextCursorInput:Pw,LucideTextQuote:Tw,LucideTextSearch:Rw,LucideTextSelect:jo,LucideTextSelection:jo,LucideTheater:zw,LucideThermometer:Hw,LucideThermometerSnowflake:Fw,LucideThermometerSun:Ew,LucideThumbsDown:Ow,LucideThumbsUp:Vw,LucideTicket:Xw,LucideTicketCheck:Bw,LucideTicketMinus:Uw,LucideTicketPercent:$w,LucideTicketPlus:Gw,LucideTicketSlash:Ww,LucideTicketX:Zw,LucideTickets:Yw,LucideTicketsPlane:Jw,LucideTimer:eM,LucideTimerOff:Kw,LucideTimerReset:Qw,LucideToggleLeft:tM,LucideToggleRight:aM,LucideTornado:rM,LucideTorus:nM,LucideTouchpad:oM,LucideTouchpadOff:iM,LucideTowerControl:sM,LucideToyBrick:cM,LucideTractor:lM,LucideTrafficCone:dM,LucideTrain:Lo,LucideTrainFront:uM,LucideTrainFrontTunnel:hM,LucideTrainTrack:pM,LucideTramFront:Lo,LucideTrash:yM,LucideTrash2:Pc,LucideTreeDeciduous:mM,LucideTreePalm:So,LucideTreePine:fM,LucideTrees:xM,LucideTrello:kM,LucideTrendingDown:gM,LucideTrendingUp:Jo,LucideTrendingUpDown:vM,LucideTriangle:MM,LucideTriangleAlert:Io,LucideTriangleRight:wM,LucideTrophy:bM,LucideTruck:CM,LucideTurtle:jM,LucideTv:SM,LucideTv2:No,LucideTvMinimal:No,LucideTvMinimalPlay:LM,LucideTwitch:IM,LucideTwitter:NM,LucideType:_M,LucideTypeOutline:AM,LucideUmbrella:qM,LucideUmbrellaOff:PM,LucideUnderline:TM,LucideUndo:zM,LucideUndo2:RM,LucideUndoDot:DM,LucideUnfoldHorizontal:FM,LucideUnfoldVertical:EM,LucideUngroup:HM,LucideUniversity:Ao,LucideUnlink:VM,LucideUnlink2:OM,LucideUnlock:ti,LucideUnlockKeyhole:ei,LucideUnplug:BM,LucideUpload:qs,LucideUploadCloud:Ln,LucideUsb:UM,LucideUser:qc,LucideUser2:Do,LucideUserCheck:$M,LucideUserCheck2:_o,LucideUserCircle:Mn,LucideUserCircle2:wn,LucideUserCog:GM,LucideUserCog2:Po,LucideUserMinus:WM,LucideUserMinus2:qo,LucideUserPen:ZM,LucideUserPlus:XM,LucideUserPlus2:To,LucideUserRound:Do,LucideUserRoundCheck:_o,LucideUserRoundCog:Po,LucideUserRoundMinus:qo,LucideUserRoundPen:JM,LucideUserRoundPlus:To,LucideUserRoundSearch:YM,LucideUserRoundX:Ro,LucideUserSearch:KM,LucideUserSquare:Mo,LucideUserSquare2:wo,LucideUserX:QM,LucideUserX2:Ro,LucideUsers:Ia,LucideUsers2:zo,LucideUsersRound:zo,LucideUtensils:Eo,LucideUtensilsCrossed:Fo,LucideUtilityPole:eb,LucideVariable:tb,LucideVault:ab,LucideVegan:rb,LucideVenetianMask:nb,LucideVerified:_r,LucideVibrate:ob,LucideVibrateOff:ib,LucideVideo:cb,LucideVideoOff:sb,LucideVideotape:lb,LucideView:db,LucideVoicemail:hb,LucideVolleyball:ub,LucideVolume:xb,LucideVolume1:pb,LucideVolume2:yb,LucideVolumeOff:mb,LucideVolumeX:fb,LucideVote:kb,LucideWallet:vb,LucideWallet2:Ho,LucideWalletCards:gb,LucideWalletMinimal:Ho,LucideWallpaper:wb,LucideWand:Mb,LucideWand2:Oo,LucideWandSparkles:Oo,LucideWarehouse:bb,LucideWashingMachine:Cb,LucideWatch:jb,LucideWaves:Lb,LucideWaypoints:Sb,LucideWebcam:Ib,LucideWebhook:Ab,LucideWebhookOff:Nb,LucideWeight:_b,LucideWheat:qb,LucideWheatOff:Pb,LucideWholeWord:Tb,LucideWifi:Eb,LucideWifiHigh:Rb,LucideWifiLow:Db,LucideWifiOff:zb,LucideWifiZero:Fb,LucideWind:Hb,LucideWine:Vb,LucideWineOff:Ob,LucideWorkflow:Bb,LucideWorm:Ub,LucideWrapText:$b,LucideWrench:Gb,LucideX:Tt,LucideXCircle:ia,LucideXOctagon:oi,LucideXSquare:bo,LucideYoutube:Wb,LucideZap:Xb,LucideZapOff:Zb,LucideZoomIn:Jb,LucideZoomOut:Yb,Luggage:zk,LuggageIcon:zk,MSquare:ao,MSquareIcon:ao,Magnet:Fk,MagnetIcon:Fk,Mail:ha,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:ha,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Ok,MailOpenIcon:Ok,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Gk,MailXIcon:Gk,Mailbox:Wk,MailboxIcon:Wk,Mails:Zk,MailsIcon:Zk,Map:og,MapIcon:og,MapPin:Zt,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Zt,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:ig,MapPinnedIcon:ig,Martini:sg,MartiniIcon:sg,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Ls,MenuIcon:Ls,MenuSquare:ro,MenuSquareIcon:ro,Merge:mg,MergeIcon:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Lg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:wg,MessageCirclePlusIcon:wg,MessageCircleQuestion:Mg,MessageCircleQuestionIcon:Mg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:Ss,MessageSquareCode:Sg,MessageSquareCodeIcon:Sg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:Ss,MessageSquareLock:Pg,MessageSquareLockIcon:Pg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Tg,MessageSquareOffIcon:Tg,MessageSquarePlus:Rg,MessageSquarePlusIcon:Rg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Og,MessageSquareXIcon:Og,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:ai,Mic2Icon:ai,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:ai,MicVocalIcon:ai,Microchip:$g,MicrochipIcon:$g,Microscope:Gg,MicroscopeIcon:Gg,Microwave:Wg,MicrowaveIcon:Wg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:Lc,MinusCircle:hn,MinusCircleIcon:hn,MinusIcon:Lc,MinusSquare:no,MinusSquareIcon:no,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:o5,MonitorSmartphoneIcon:o5,MonitorSpeaker:s5,MonitorSpeakerIcon:s5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:Tn,MoreHorizontalIcon:Tn,MoreVertical:qn,MoreVerticalIcon:qn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:w5,MouseIcon:w5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Zi,MousePointerSquareDashedIcon:Zi,Move:T5,Move3D:ri,Move3DIcon:ri,Move3d:ri,Move3dIcon:ri,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDiagonal2Icon:M5,MoveDiagonalIcon:b5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:S5,MoveHorizontalIcon:S5,MoveIcon:T5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:P5,MoveUpIcon:P5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:q5,MoveVerticalIcon:q5,Music:F5,Music2:R5,Music2Icon:R5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:O5,NavigationOffIcon:O5,Network:B5,NetworkIcon:B5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:G5,NotebookTabsIcon:G5,NotebookText:W5,NotebookTextIcon:W5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:ni,OctagonAlertIcon:ni,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:ii,OctagonPauseIcon:ii,OctagonX:oi,OctagonXIcon:oi,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Jn,OutdentIcon:Jn,Package:u3,Package2:i3,Package2Icon:i3,PackageCheck:o3,PackageCheckIcon:o3,PackageIcon:u3,PackageMinus:s3,PackageMinusIcon:s3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:si,Paintbrush2Icon:si,PaintbrushIcon:m3,PaintbrushVertical:si,PaintbrushVerticalIcon:si,Palette:f3,PaletteIcon:f3,Palmtree:So,PalmtreeIcon:So,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:ci,PanelBottomDashedIcon:ci,PanelBottomIcon:g3,PanelBottomInactive:ci,PanelBottomInactiveIcon:ci,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:ui,PanelLeftClose:li,PanelLeftCloseIcon:li,PanelLeftDashed:di,PanelLeftDashedIcon:di,PanelLeftIcon:ui,PanelLeftInactive:di,PanelLeftInactiveIcon:di,PanelLeftOpen:hi,PanelLeftOpenIcon:hi,PanelRight:M3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:pi,PanelRightDashedIcon:pi,PanelRightIcon:M3,PanelRightInactive:pi,PanelRightInactiveIcon:pi,PanelRightOpen:w3,PanelRightOpenIcon:w3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:yi,PanelTopDashedIcon:yi,PanelTopIcon:j3,PanelTopInactive:yi,PanelTopInactiveIcon:yi,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:Nn,PanelsLeftRightIcon:Nn,PanelsRightBottom:S3,PanelsRightBottomIcon:S3,PanelsTopBottom:Mi,PanelsTopBottomIcon:Mi,PanelsTopLeft:mi,PanelsTopLeftIcon:mi,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:pn,ParkingCircleIcon:pn,ParkingCircleOff:un,ParkingCircleOffIcon:un,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:so,ParkingSquareIcon:so,ParkingSquareOff:oo,ParkingSquareOffIcon:oo,PartyPopper:_3,PartyPopperIcon:_3,Pause:P3,PauseCircle:yn,PauseCircleIcon:yn,PauseIcon:P3,PauseOctagon:ii,PauseOctagonIcon:ii,PawPrint:q3,PawPrintIcon:q3,PcCase:T3,PcCaseIcon:T3,Pen:xi,PenBox:St,PenBoxIcon:St,PenIcon:xi,PenLine:fi,PenLineIcon:fi,PenOff:R3,PenOffIcon:R3,PenSquare:St,PenSquareIcon:St,PenTool:D3,PenToolIcon:D3,Pencil:H3,PencilIcon:H3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:O3,PentagonIcon:O3,Percent:V3,PercentCircle:mn,PercentCircleIcon:mn,PercentDiamond:_n,PercentDiamondIcon:_n,PercentIcon:V3,PercentSquare:co,PercentSquareIcon:co,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:Xo,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:G3,PhoneForwardedIcon:G3,PhoneIcon:Xo,PhoneIncoming:W3,PhoneIncomingIcon:W3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:lo,PiSquareIcon:lo,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:Wr,PieChartIcon:Wr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:ho,PilcrowSquareIcon:ho,Pill:sv,PillBottle:ov,PillBottleIcon:ov,PillIcon:sv,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:Sc,PlayCircle:fn,PlayCircleIcon:fn,PlayIcon:Sc,PlaySquare:uo,PlaySquareIcon:uo,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:ki,PlugZap2:ki,PlugZap2Icon:ki,PlugZapIcon:ki,Plus:Is,PlusCircle:xn,PlusCircleIcon:xn,PlusIcon:Is,PlusSquare:po,PlusSquareIcon:po,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:wv,PointerIcon:wv,PointerOff:vv,PointerOffIcon:vv,Popcorn:Mv,PopcornIcon:Mv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Lv,PowerCircle:kn,PowerCircleIcon:kn,PowerIcon:Lv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:yo,PowerSquareIcon:yo,Presentation:Sv,PresentationIcon:Sv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:_v,ProportionsIcon:_v,Puzzle:Pv,PuzzleIcon:Pv,Pyramid:qv,PyramidIcon:qv,QrCode:Tv,QrCodeIcon:Tv,Quote:Ns,QuoteIcon:Ns,Rabbit:Rv,RabbitIcon:Rv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Ov,RadioIcon:Ov,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Gv,RatioIcon:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptCentIcon:Wv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:gi,RectangleEllipsisIcon:gi,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:s6,Redo2:i6,Redo2Icon:i6,RedoDot:o6,RedoDotIcon:o6,RedoIcon:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:w6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:w6,Rewind:M6,RewindIcon:M6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:vi,Rotate3DIcon:vi,Rotate3d:vi,Rotate3dIcon:vi,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:S6,RotateCcwSquareIcon:S6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:P6,RouteIcon:P6,RouteOff:_6,RouteOffIcon:_6,Router:q6,RouterIcon:q6,Rows:wi,Rows2:wi,Rows2Icon:wi,Rows3:Mi,Rows3Icon:Mi,Rows4:T6,Rows4Icon:T6,RowsIcon:wi,Rss:R6,RssIcon:R6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:H6,SandwichIcon:H6,Satellite:V6,SatelliteDish:O6,SatelliteDishIcon:O6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:G6,Scale3D:bi,Scale3DIcon:bi,Scale3d:bi,Scale3dIcon:bi,ScaleIcon:G6,Scaling:W6,ScalingIcon:W6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Zr,ScatterChartIcon:Zr,School:a8,School2:Ao,School2Icon:Ao,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:mo,ScissorsSquareDashedBottom:Ei,ScissorsSquareDashedBottomIcon:Ei,ScissorsSquareIcon:mo,ScreenShare:o8,ScreenShareIcon:o8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:c8,ScrollIcon:c8,ScrollText:s8,ScrollTextIcon:s8,Search:Xt,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Xt,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:Ic,SendHorizonal:Ci,SendHorizonalIcon:Ci,SendHorizontal:Ci,SendHorizontalIcon:Ci,SendIcon:Ic,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:As,Settings2:w8,Settings2Icon:w8,SettingsIcon:As,Shapes:M8,ShapesIcon:M8,Share:b8,Share2:_s,Share2Icon:_s,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Nc,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:S8,ShieldBanIcon:S8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:ji,ShieldCloseIcon:ji,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Nc,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:P8,ShieldOffIcon:P8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:T8,ShieldQuestionIcon:T8,ShieldX:ji,ShieldXIcon:ji,Ship:D8,ShipIcon:D8,ShipWheel:R8,ShipWheelIcon:R8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Ps,ShoppingCartIcon:Ps,Shovel:H8,ShovelIcon:H8,ShowerHead:O8,ShowerHeadIcon:O8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:ui,SidebarClose:li,SidebarCloseIcon:li,SidebarIcon:ui,SidebarOpen:hi,SidebarOpenIcon:hi,Sigma:$8,SigmaIcon:$8,SigmaSquare:fo,SigmaSquareIcon:fo,Signal:Ac,SignalHigh:G8,SignalHighIcon:G8,SignalIcon:Ac,SignalLow:W8,SignalLowIcon:W8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:xo,SlashSquareIcon:xo,Slice:i7,SliceIcon:i7,Sliders:Li,SlidersHorizontal:Ya,SlidersHorizontalIcon:Ya,SlidersIcon:Li,SlidersVertical:Li,SlidersVerticalIcon:Li,Smartphone:c7,SmartphoneCharging:o7,SmartphoneChargingIcon:o7,SmartphoneIcon:c7,SmartphoneNfc:s7,SmartphoneNfcIcon:s7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:Ir,SortAscIcon:Ir,SortDesc:jr,SortDescIcon:jr,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:$a,SparklesIcon:$a,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:w7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:w7,Spline:M7,SplineIcon:M7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:ko,SplitSquareHorizontalIcon:ko,SplitSquareVertical:go,SplitSquareVerticalIcon:go,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:_7,SquareActivity:Si,SquareActivityIcon:Si,SquareArrowDown:Ai,SquareArrowDownIcon:Ai,SquareArrowDownLeft:Ii,SquareArrowDownLeftIcon:Ii,SquareArrowDownRight:Ni,SquareArrowDownRightIcon:Ni,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:_i,SquareArrowOutDownLeftIcon:_i,SquareArrowOutDownRight:Pi,SquareArrowOutDownRightIcon:Pi,SquareArrowOutUpLeft:qi,SquareArrowOutUpLeftIcon:qi,SquareArrowOutUpRight:Ti,SquareArrowOutUpRightIcon:Ti,SquareArrowRight:Ca,SquareArrowRightIcon:Ca,SquareArrowUp:zi,SquareArrowUpIcon:zi,SquareArrowUpLeft:Ri,SquareArrowUpLeftIcon:Ri,SquareArrowUpRight:Di,SquareArrowUpRightIcon:Di,SquareAsterisk:Fi,SquareAsteriskIcon:Fi,SquareBottomDashedScissors:Ei,SquareBottomDashedScissorsIcon:Ei,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Oi,SquareCheckBig:Hi,SquareCheckBigIcon:Hi,SquareCheckIcon:Oi,SquareChevronDown:Vi,SquareChevronDownIcon:Vi,SquareChevronLeft:Bi,SquareChevronLeftIcon:Bi,SquareChevronRight:Ui,SquareChevronRightIcon:Ui,SquareChevronUp:$i,SquareChevronUpIcon:$i,SquareCode:Gi,SquareCodeIcon:Gi,SquareDashed:Xi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:S7,SquareDashedIcon:Xi,SquareDashedKanban:Wi,SquareDashedKanbanIcon:Wi,SquareDashedMousePointer:Zi,SquareDashedMousePointerIcon:Zi,SquareDivide:Ji,SquareDivideIcon:Ji,SquareDot:Yi,SquareDotIcon:Yi,SquareEqual:Ki,SquareEqualIcon:Ki,SquareFunction:Qi,SquareFunctionIcon:Qi,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:_7,SquareKanban:eo,SquareKanbanIcon:eo,SquareLibrary:to,SquareLibraryIcon:to,SquareM:ao,SquareMIcon:ao,SquareMenu:ro,SquareMenuIcon:ro,SquareMinus:no,SquareMinusIcon:no,SquareMousePointer:io,SquareMousePointerIcon:io,SquareParking:so,SquareParkingIcon:so,SquareParkingOff:oo,SquareParkingOffIcon:oo,SquarePen:St,SquarePenIcon:St,SquarePercent:co,SquarePercentIcon:co,SquarePi:lo,SquarePiIcon:lo,SquarePilcrow:ho,SquarePilcrowIcon:ho,SquarePlay:uo,SquarePlayIcon:uo,SquarePlus:po,SquarePlusIcon:po,SquarePower:yo,SquarePowerIcon:yo,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:mo,SquareScissorsIcon:mo,SquareSigma:fo,SquareSigmaIcon:fo,SquareSlash:xo,SquareSlashIcon:xo,SquareSplitHorizontal:ko,SquareSplitHorizontalIcon:ko,SquareSplitVertical:go,SquareSplitVerticalIcon:go,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:vo,SquareTerminalIcon:vo,SquareUser:Mo,SquareUserIcon:Mo,SquareUserRound:wo,SquareUserRoundIcon:wo,SquareX:bo,SquareXIcon:bo,Squircle:P7,SquircleIcon:P7,Squirrel:q7,SquirrelIcon:q7,Stamp:T7,StampIcon:T7,Star:Ut,StarHalf:R7,StarHalfIcon:R7,StarIcon:Ut,StarOff:D7,StarOffIcon:D7,Stars:$a,StarsIcon:$a,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:H7,StickerIcon:H7,StickyNote:O7,StickyNoteIcon:O7,StopCircle:vn,StopCircleIcon:vn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:G7,SubscriptIcon:G7,Subtitles:Dr,SubtitlesIcon:Dr,Sun:Y7,SunDim:W7,SunDimIcon:W7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:ew,SuperscriptIcon:ew,SwatchBook:tw,SwatchBookIcon:tw,SwissFranc:aw,SwissFrancIcon:aw,SwitchCamera:rw,SwitchCameraIcon:rw,Sword:nw,SwordIcon:nw,Swords:iw,SwordsIcon:iw,Syringe:ow,SyringeIcon:ow,Table:yw,Table2:sw,Table2Icon:sw,TableCellsMerge:cw,TableCellsMergeIcon:cw,TableCellsSplit:lw,TableCellsSplitIcon:lw,TableColumnsSplit:dw,TableColumnsSplitIcon:dw,TableIcon:yw,TableOfContents:hw,TableOfContentsIcon:hw,TableProperties:uw,TablePropertiesIcon:uw,TableRowsSplit:pw,TableRowsSplitIcon:pw,Tablet:fw,TabletIcon:fw,TabletSmartphone:mw,TabletSmartphoneIcon:mw,Tablets:xw,TabletsIcon:xw,Tag:_c,TagIcon:_c,Tags:kw,TagsIcon:kw,Tally1:gw,Tally1Icon:gw,Tally2:vw,Tally2Icon:vw,Tally3:ww,Tally3Icon:ww,Tally4:Mw,Tally4Icon:Mw,Tally5:bw,Tally5Icon:bw,Tangent:Cw,TangentIcon:Cw,Target:jw,TargetIcon:jw,Telescope:Lw,TelescopeIcon:Lw,Tent:Iw,TentIcon:Iw,TentTree:Sw,TentTreeIcon:Sw,Terminal:Nw,TerminalIcon:Nw,TerminalSquare:vo,TerminalSquareIcon:vo,TestTube:Aw,TestTube2:Co,TestTube2Icon:Co,TestTubeDiagonal:Co,TestTubeDiagonalIcon:Co,TestTubeIcon:Aw,TestTubes:_w,TestTubesIcon:_w,Text:Dw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Pw,TextCursorInputIcon:Pw,TextIcon:Dw,TextQuote:Tw,TextQuoteIcon:Tw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:jo,TextSelectIcon:jo,TextSelection:jo,TextSelectionIcon:jo,Theater:zw,TheaterIcon:zw,Thermometer:Hw,ThermometerIcon:Hw,ThermometerSnowflake:Fw,ThermometerSnowflakeIcon:Fw,ThermometerSun:Ew,ThermometerSunIcon:Ew,ThumbsDown:Ow,ThumbsDownIcon:Ow,ThumbsUp:Vw,ThumbsUpIcon:Vw,Ticket:Xw,TicketCheck:Bw,TicketCheckIcon:Bw,TicketIcon:Xw,TicketMinus:Uw,TicketMinusIcon:Uw,TicketPercent:$w,TicketPercentIcon:$w,TicketPlus:Gw,TicketPlusIcon:Gw,TicketSlash:Ww,TicketSlashIcon:Ww,TicketX:Zw,TicketXIcon:Zw,Tickets:Yw,TicketsIcon:Yw,TicketsPlane:Jw,TicketsPlaneIcon:Jw,Timer:eM,TimerIcon:eM,TimerOff:Kw,TimerOffIcon:Kw,TimerReset:Qw,TimerResetIcon:Qw,ToggleLeft:tM,ToggleLeftIcon:tM,ToggleRight:aM,ToggleRightIcon:aM,Tornado:rM,TornadoIcon:rM,Torus:nM,TorusIcon:nM,Touchpad:oM,TouchpadIcon:oM,TouchpadOff:iM,TouchpadOffIcon:iM,TowerControl:sM,TowerControlIcon:sM,ToyBrick:cM,ToyBrickIcon:cM,Tractor:lM,TractorIcon:lM,TrafficCone:dM,TrafficConeIcon:dM,Train:Lo,TrainFront:uM,TrainFrontIcon:uM,TrainFrontTunnel:hM,TrainFrontTunnelIcon:hM,TrainIcon:Lo,TrainTrack:pM,TrainTrackIcon:pM,TramFront:Lo,TramFrontIcon:Lo,Trash:yM,Trash2:Pc,Trash2Icon:Pc,TrashIcon:yM,TreeDeciduous:mM,TreeDeciduousIcon:mM,TreePalm:So,TreePalmIcon:So,TreePine:fM,TreePineIcon:fM,Trees:xM,TreesIcon:xM,Trello:kM,TrelloIcon:kM,TrendingDown:gM,TrendingDownIcon:gM,TrendingUp:Jo,TrendingUpDown:vM,TrendingUpDownIcon:vM,TrendingUpIcon:Jo,Triangle:MM,TriangleAlert:Io,TriangleAlertIcon:Io,TriangleIcon:MM,TriangleRight:wM,TriangleRightIcon:wM,Trophy:bM,TrophyIcon:bM,Truck:CM,TruckIcon:CM,Turtle:jM,TurtleIcon:jM,Tv:SM,Tv2:No,Tv2Icon:No,TvIcon:SM,TvMinimal:No,TvMinimalIcon:No,TvMinimalPlay:LM,TvMinimalPlayIcon:LM,Twitch:IM,TwitchIcon:IM,Twitter:NM,TwitterIcon:NM,Type:_M,TypeIcon:_M,TypeOutline:AM,TypeOutlineIcon:AM,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:PM,UmbrellaOffIcon:PM,Underline:TM,UnderlineIcon:TM,Undo:zM,Undo2:RM,Undo2Icon:RM,UndoDot:DM,UndoDotIcon:DM,UndoIcon:zM,UnfoldHorizontal:FM,UnfoldHorizontalIcon:FM,UnfoldVertical:EM,UnfoldVerticalIcon:EM,Ungroup:HM,UngroupIcon:HM,University:Ao,UniversityIcon:Ao,Unlink:VM,Unlink2:OM,Unlink2Icon:OM,UnlinkIcon:VM,Unlock:ti,UnlockIcon:ti,UnlockKeyhole:ei,UnlockKeyholeIcon:ei,Unplug:BM,UnplugIcon:BM,Upload:qs,UploadCloud:Ln,UploadCloudIcon:Ln,UploadIcon:qs,Usb:UM,UsbIcon:UM,User:qc,User2:Do,User2Icon:Do,UserCheck:$M,UserCheck2:_o,UserCheck2Icon:_o,UserCheckIcon:$M,UserCircle:Mn,UserCircle2:wn,UserCircle2Icon:wn,UserCircleIcon:Mn,UserCog:GM,UserCog2:Po,UserCog2Icon:Po,UserCogIcon:GM,UserIcon:qc,UserMinus:WM,UserMinus2:qo,UserMinus2Icon:qo,UserMinusIcon:WM,UserPen:ZM,UserPenIcon:ZM,UserPlus:XM,UserPlus2:To,UserPlus2Icon:To,UserPlusIcon:XM,UserRound:Do,UserRoundCheck:_o,UserRoundCheckIcon:_o,UserRoundCog:Po,UserRoundCogIcon:Po,UserRoundIcon:Do,UserRoundMinus:qo,UserRoundMinusIcon:qo,UserRoundPen:JM,UserRoundPenIcon:JM,UserRoundPlus:To,UserRoundPlusIcon:To,UserRoundSearch:YM,UserRoundSearchIcon:YM,UserRoundX:Ro,UserRoundXIcon:Ro,UserSearch:KM,UserSearchIcon:KM,UserSquare:Mo,UserSquare2:wo,UserSquare2Icon:wo,UserSquareIcon:Mo,UserX:QM,UserX2:Ro,UserX2Icon:Ro,UserXIcon:QM,Users:Ia,Users2:zo,Users2Icon:zo,UsersIcon:Ia,UsersRound:zo,UsersRoundIcon:zo,Utensils:Eo,UtensilsCrossed:Fo,UtensilsCrossedIcon:Fo,UtensilsIcon:Eo,UtilityPole:eb,UtilityPoleIcon:eb,Variable:tb,VariableIcon:tb,Vault:ab,VaultIcon:ab,Vegan:rb,VeganIcon:rb,VenetianMask:nb,VenetianMaskIcon:nb,Verified:_r,VerifiedIcon:_r,Vibrate:ob,VibrateIcon:ob,VibrateOff:ib,VibrateOffIcon:ib,Video:cb,VideoIcon:cb,VideoOff:sb,VideoOffIcon:sb,Videotape:lb,VideotapeIcon:lb,View:db,ViewIcon:db,Voicemail:hb,VoicemailIcon:hb,Volleyball:ub,VolleyballIcon:ub,Volume:xb,Volume1:pb,Volume1Icon:pb,Volume2:yb,Volume2Icon:yb,VolumeIcon:xb,VolumeOff:mb,VolumeOffIcon:mb,VolumeX:fb,VolumeXIcon:fb,Vote:kb,VoteIcon:kb,Wallet:vb,Wallet2:Ho,Wallet2Icon:Ho,WalletCards:gb,WalletCardsIcon:gb,WalletIcon:vb,WalletMinimal:Ho,WalletMinimalIcon:Ho,Wallpaper:wb,WallpaperIcon:wb,Wand:Mb,Wand2:Oo,Wand2Icon:Oo,WandIcon:Mb,WandSparkles:Oo,WandSparklesIcon:Oo,Warehouse:bb,WarehouseIcon:bb,WashingMachine:Cb,WashingMachineIcon:Cb,Watch:jb,WatchIcon:jb,Waves:Lb,WavesIcon:Lb,Waypoints:Sb,WaypointsIcon:Sb,Webcam:Ib,WebcamIcon:Ib,Webhook:Ab,WebhookIcon:Ab,WebhookOff:Nb,WebhookOffIcon:Nb,Weight:_b,WeightIcon:_b,Wheat:qb,WheatIcon:qb,WheatOff:Pb,WheatOffIcon:Pb,WholeWord:Tb,WholeWordIcon:Tb,Wifi:Eb,WifiHigh:Rb,WifiHighIcon:Rb,WifiIcon:Eb,WifiLow:Db,WifiLowIcon:Db,WifiOff:zb,WifiOffIcon:zb,WifiZero:Fb,WifiZeroIcon:Fb,Wind:Hb,WindIcon:Hb,Wine:Vb,WineIcon:Vb,WineOff:Ob,WineOffIcon:Ob,Workflow:Bb,WorkflowIcon:Bb,Worm:Ub,WormIcon:Ub,WrapText:$b,WrapTextIcon:$b,Wrench:Gb,WrenchIcon:Gb,X:Tt,XCircle:ia,XCircleIcon:ia,XIcon:Tt,XOctagon:oi,XOctagonIcon:oi,XSquare:bo,XSquareIcon:bo,Youtube:Wb,YoutubeIcon:Wb,Zap:Xb,ZapIcon:Xb,ZapOff:Zb,ZapOffIcon:Zb,ZoomIn:Jb,ZoomInIcon:Jb,ZoomOut:Yb,ZoomOutIcon:Yb,createLucideIcon:o,icons:kq},Symbol.toStringTag,{value:"Module"})),vq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:s=10,placeholder:c="Add tags..."})=>{const[l,d]=j.useState(!1),[h,u]=j.useState(""),[p,f]=j.useState("#3B82F6"),[x,k]=j.useState(""),[y,m]=j.useState(-1),g=j.useMemo(()=>a.filter(S=>S.name.toLowerCase().includes(x.toLowerCase())),[a,x]),w=j.useMemo(()=>a.filter(S=>e.includes(S.id)),[a,e]),M=j.useMemo(()=>g.filter(S=>!e.includes(S.id)),[g,e]),b=x.trim().length>0&&!a.some(S=>S.name.toLowerCase()===x.trim().toLowerCase()),C=M.length+(b?1:0),A=async()=>{const S=h.trim();if(S)try{await i({name:S,color:p}),u(""),d(!1)}catch(N){console.error("Failed to create tag:",N)}},L=S=>{if(C)switch(S.key){case"ArrowDown":{S.preventDefault(),m(N=>(N+1)%C);break}case"ArrowUp":{S.preventDefault(),m(N=>(N-1+C)%C);break}case"Enter":{if(y===-1)return;if(S.preventDefault(),y<M.length){const N=M[y];r(N.id),k(""),m(-1)}else b&&(d(!0),u(x.trim()),k(""),m(-1));break}case"Escape":{k(""),m(-1);break}}};return t.jsxs("div",{className:"tag-picker",children:[t.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(S=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${S.color}20`,color:S.color,borderColor:S.color},children:[S.name,t.jsx("button",{type:"button",onClick:()=>n(S.id),className:"hover:opacity-70","aria-label":`Remove ${S.name}`,children:t.jsx(Tt,{className:"w-3 h-3"})})]},S.id))}),e.length<s&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(_c,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:x,onChange:S=>{k(S.target.value),m(-1)},onKeyDown:L,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":x.length>0})]}),x&&t.jsxs("div",{role:"listbox",className:"absolute z-10 w-full mt-1 bg-white border rounded shadow-lg max-h-48 overflow-y-auto",children:[M.map((S,N)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===N,onClick:()=>{r(S.id),k(""),m(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${y===N?"bg-gray-100":""}`,children:[t.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:S.color}}),t.jsx("span",{children:S.name}),S.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",S.category,")"]})]},S.id)),b&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(x.trim()),k(""),m(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${y===M.length?"bg-gray-100":""}`,children:[t.jsx(Is,{className:"w-4 h-4"}),'Create "',x.trim(),'"']}),!M.length&&!b&&t.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&t.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[t.jsx("input",{type:"text",value:h,onChange:S=>u(S.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),t.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[t.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",t.jsx("input",{type:"color",value:p,onChange:S=>f(S.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:A,onKeyDown:S=>{S.key==="Enter"&&(S.preventDefault(),A())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),t.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},wq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},YC=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:s,href:c,className:l})=>{const d=!!(s||c),h=p=>{!s||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${wq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${e}20`,color:e,borderColor:e},onClick:s,onKeyDown:h,role:!c&&s?"button":void 0,tabIndex:!c&&s?0:void 0,href:c,children:[a,n&&i&&t.jsx("button",{type:"button",onClick:p=>{p.preventDefault(),p.stopPropagation(),i(p)},className:"hover:opacity-70 ml-1","aria-label":`Remove ${a} tag`,children:t.jsx(Tt,{className:"w-3 h-3"})})]})};function he(a,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(a==null||a(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function Mq(a,e){const r=v.createContext(e),n=s=>{const{children:c,...l}=s,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(s){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${s}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(s,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:x,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,m=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:m,children:x})};h.displayName=s+"Provider";function u(p,f){var y;const x=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(x);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[h,u]}const i=()=>{const s=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||s;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,bq(i,...e)]}function bq(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(s)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pL(a){const e=Cq(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Lq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function Cq(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Iq(i),l=Sq(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var jq=Symbol("radix.slottable");function Lq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===jq}function Sq(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Iq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function IS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,s]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:m,children:g}=y,w=j.useRef(null),M=j.useRef(new Map).current;return t.jsx(i,{scope:m,itemMap:M,collectionRef:w,children:g})};c.displayName=e;const l=a+"CollectionSlot",d=pL(l),h=j.forwardRef((y,m)=>{const{scope:g,children:w}=y,M=s(l,g),b=je(m,M.collectionRef);return t.jsx(d,{ref:b,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",f=pL(u),x=j.forwardRef((y,m)=>{const{scope:g,children:w,...M}=y,b=j.useRef(null),C=je(m,b),A=s(u,g);return j.useEffect(()=>(A.itemMap.set(b,{ref:b,...M}),()=>void A.itemMap.delete(b))),t.jsx(f,{[p]:"",ref:C,children:w})});x.displayName=u;function k(y){const m=s(a+"CollectionConsumer",y);return j.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((A,L)=>M.indexOf(A.ref.current)-M.indexOf(L.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:c,Slot:h,ItemSlot:x},k,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Nq=v[" useId ".trim().toString()]||(()=>{}),Aq=0;function Na(a){const[e,r]=v.useState(Nq());return pt(()=>{r(n=>n??String(Aq++))},[a]),e?`radix-${e}`:""}function _q(a){const e=Pq(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Tq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function Pq(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Dq(i),l=Rq(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var qq=Symbol("radix.slottable");function Tq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===qq}function Rq(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Dq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var zq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=zq.reduce((a,e)=>{const r=_q(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Fq(a,e){a&&v9.flushSync(()=>a.dispatchEvent(e))}function tr(a){const e=v.useRef(a);return v.useEffect(()=>{e.current=a}),v.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var Eq=v[" useInsertionEffect ".trim().toString()]||pt;function ar({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,s,c]=Hq({defaultProp:e,onChange:r}),l=a!==void 0,d=l?a:i;{const u=v.useRef(a!==void 0);v.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=v.useCallback(u=>{var p;if(l){const f=Oq(u)?u(a):u;f!==a&&((p=c.current)==null||p.call(c,f))}else s(u)},[l,a,s,c]);return[d,h]}function Hq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),s=v.useRef(e);return Eq(()=>{s.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=s.current)==null||c.call(s,r),i.current=r)},[r,i]),[r,n,s]}function Oq(a){return typeof a=="function"}var Vq=v.createContext(void 0);function KC(a){const e=v.useContext(Vq);return a||e||"ltr"}var J9="rovingFocusGroup.onEntryFocus",Bq={bubbles:!1,cancelable:!0},Jc="RovingFocusGroup",[wC,NS,Uq]=IS(Jc),[$q,AS]=ma(Jc,[Uq]),[Gq,Wq]=$q(Jc),_S=v.forwardRef((a,e)=>t.jsx(wC.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(wC.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Zq,{...a,ref:e})})}));_S.displayName=Jc;var Zq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,f=v.useRef(null),x=je(e,f),k=KC(s),[y,m]=ar({prop:c,defaultProp:l??null,onChange:d,caller:Jc}),[g,w]=v.useState(!1),M=tr(h),b=NS(r),C=v.useRef(!1),[A,L]=v.useState(0);return v.useEffect(()=>{const S=f.current;if(S)return S.addEventListener(J9,M),()=>S.removeEventListener(J9,M)},[M]),t.jsx(Gq,{scope:r,orientation:n,dir:k,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(S=>m(S),[m]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>L(S=>S+1),[]),onFocusableItemRemove:v.useCallback(()=>L(S=>S-1),[]),children:t.jsx(me.div,{tabIndex:g||A===0?-1:0,"data-orientation":n,...p,ref:x,style:{outline:"none",...a.style},onMouseDown:he(a.onMouseDown,()=>{C.current=!0}),onFocus:he(a.onFocus,S=>{const N=!C.current;if(S.target===S.currentTarget&&N&&!g){const T=new CustomEvent(J9,Bq);if(S.currentTarget.dispatchEvent(T),!T.defaultPrevented){const z=b().filter(V=>V.focusable),R=z.find(V=>V.active),_=z.find(V=>V.id===y),D=[R,_,...z].filter(Boolean).map(V=>V.ref.current);TS(D,u)}}C.current=!1}),onBlur:he(a.onBlur,()=>w(!1))})})}),PS="RovingFocusGroupItem",qS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:s,children:c,...l}=a,d=Na(),h=s||d,u=Wq(PS,r),p=u.currentTabStopId===h,f=NS(r),{onFocusableItemAdd:x,onFocusableItemRemove:k,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return x(),()=>k()},[n,x,k]),t.jsx(wC.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(me.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:he(a.onMouseDown,m=>{n?u.onItemFocus(h):m.preventDefault()}),onFocus:he(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:he(a.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=Yq(m,u.orientation,u.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let M=f().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")M.reverse();else if(g==="prev"||g==="next"){g==="prev"&&M.reverse();const b=M.indexOf(m.currentTarget);M=u.loop?Kq(M,b+1):M.slice(b+1)}setTimeout(()=>TS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});qS.displayName=PS;var Xq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Jq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Yq(a,e,r){const n=Jq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Xq[n]}function TS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function Kq(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var Qq=_S,eT=qS;function tT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var cr=a=>{const{present:e,children:r}=a,n=aT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),s=je(n.ref,rT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:s}):null};cr.displayName="Presence";function aT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),s=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=tT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=t1(n.current);s.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const f=s.current,x=t1(h);a?d("MOUNT"):x==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&f!==x?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=x=>{const y=t1(n.current).includes(CSS.escape(x.animationName));if(x.target===e&&y&&(d("ANIMATION_END"),!i.current)){const m=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=m)})}},f=x=>{x.target===e&&(s.current=t1(n.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function t1(a){return(a==null?void 0:a.animationName)||"none"}function rT(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var M9="Tabs",[nT]=ma(M9,[AS]),RS=AS(),[iT,QC]=nT(M9),DS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:s,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=KC(l),[p,f]=ar({prop:n,onChange:i,defaultProp:s??"",caller:M9});return t.jsx(iT,{scope:r,baseId:Na(),value:p,onValueChange:f,orientation:c,dir:u,activationMode:d,children:t.jsx(me.div,{dir:u,"data-orientation":c,...h,ref:e})})});DS.displayName=M9;var zS="TabsList",FS=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,s=QC(zS,r),c=RS(r);return t.jsx(Qq,{asChild:!0,...c,orientation:s.orientation,dir:s.dir,loop:n,children:t.jsx(me.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:e})})});FS.displayName=zS;var ES="TabsTrigger",HS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...s}=a,c=QC(ES,r),l=RS(r),d=BS(c.baseId,n),h=US(c.baseId,n),u=n===c.value;return t.jsx(eT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(me.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:d,...s,ref:e,onMouseDown:he(a.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:he(a.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:he(a.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!i&&p&&c.onValueChange(n)})})})});HS.displayName=ES;var OS="TabsContent",VS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:s,...c}=a,l=QC(OS,r),d=BS(l.baseId,n),h=US(l.baseId,n),u=n===l.value,p=v.useRef(u);return v.useEffect(()=>{const f=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(cr,{present:i||u,children:({present:f})=>t.jsx(me.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!f,id:h,tabIndex:0,...c,ref:e,style:{...a.style,animationDuration:p.current?"0s":void 0},children:f&&s})})});VS.displayName=OS;function BS(a,e){return`${a}-trigger-${e}`}function US(a,e){return`${a}-content-${e}`}var oT=DS,$S=FS,GS=HS,WS=VS;const os=oT,lr=v.forwardRef(({className:a,...e},r)=>t.jsx($S,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));lr.displayName=$S.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(GS,{ref:r,className:ce("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...e}));Ie.displayName=GS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...e}));Ne.displayName=WS.displayName;const be=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("rounded-xl border bg-card text-card-foreground shadow",a),...e}));be.displayName="Card";const Re=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex flex-col space-y-1.5 p-6",a),...e}));Re.displayName="CardHeader";const De=v.forwardRef(({className:a,...e},r)=>t.jsx("h3",{ref:r,className:ce("font-semibold leading-none tracking-tight",a),...e}));De.displayName="CardTitle";const Ge=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ge.displayName="CardDescription";const Ce=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));Ce.displayName="CardContent";const Hs=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));Hs.displayName="CardFooter";function sT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:s="Select Plan"}){const[c,l]=j.useState([]),[d,h]=j.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";j.useEffect(()=>{(async()=>{try{const k=r??"en",y=a.map(async g=>(await fetch(`${u}/api/v1/promotions/?ids=${g}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),m=await Promise.all(y);l(m)}catch{}})()},[a,u,r]);const p=x=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:x,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(k)},f=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return t.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:t.jsxs("div",{className:"container px-4 md:px-6",children:[i??t.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:i}),t.jsxs(os,{defaultValue:"tab-0",className:"w-full",onValueChange:x=>h(x),children:[t.jsx(lr,{className:f,children:e.map((x,k)=>t.jsx(Ie,{value:`tab-${k}`,children:x},k))}),c.map((x,k)=>t.jsx(Ne,{value:`tab-${k}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:x.map((y,m)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Re,{children:[t.jsx(De,{children:y.title}),t.jsx(Ge,{children:y.short_description})]}),t.jsxs(Ce,{className:"flex-1",children:[t.jsxs("p",{className:"text-3xl font-bold",children:["€",y.price]}),t.jsx("ul",{className:"mt-4 space-y-2",children:y.features&&y.features.map((g,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(ws,{className:"mr-2 h-4 w-4 text-primary"})," ",g]},w))})]}),t.jsx(Hs,{children:t.jsx(G,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:s})})]},m))})},k))]})]})})}function cT({isOpen:a,items:e}){const r=e.reduce((n,i)=>n+i.price,0);return t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:ce("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",a?"translate-x-0":"translate-x-full"),children:t.jsxs("div",{className:"h-full flex flex-col",children:[t.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[t.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),t.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[t.jsx(Tt,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),t.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>t.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[t.jsxs("div",{className:"flex justify-between items-start mb-1",children:[t.jsx("span",{className:"font-medium",children:n.name}),t.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),t.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),t.jsx("div",{className:"p-4 border-t",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"font-semibold",children:"Total:"}),t.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),a&&t.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function wa(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function ZS(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
7725
+ */const gq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:u1,AArrowDownIcon:u1,AArrowUp:p1,AArrowUpIcon:p1,ALargeSmall:y1,ALargeSmallIcon:y1,Accessibility:m1,AccessibilityIcon:m1,Activity:f1,ActivityIcon:f1,ActivitySquare:Si,ActivitySquareIcon:Si,AirVent:x1,AirVentIcon:x1,Airplay:k1,AirplayIcon:k1,AlarmCheck:wr,AlarmCheckIcon:wr,AlarmClock:v1,AlarmClockCheck:wr,AlarmClockCheckIcon:wr,AlarmClockIcon:v1,AlarmClockMinus:Mr,AlarmClockMinusIcon:Mr,AlarmClockOff:g1,AlarmClockOffIcon:g1,AlarmClockPlus:br,AlarmClockPlusIcon:br,AlarmMinus:Mr,AlarmMinusIcon:Mr,AlarmPlus:br,AlarmPlusIcon:br,AlarmSmoke:w1,AlarmSmokeIcon:w1,Album:M1,AlbumIcon:M1,AlertCircle:Bt,AlertCircleIcon:Bt,AlertOctagon:ni,AlertOctagonIcon:ni,AlertTriangle:Io,AlertTriangleIcon:Io,AlignCenter:j1,AlignCenterHorizontal:b1,AlignCenterHorizontalIcon:b1,AlignCenterIcon:j1,AlignCenterVertical:C1,AlignCenterVerticalIcon:C1,AlignEndHorizontal:L1,AlignEndHorizontalIcon:L1,AlignEndVertical:S1,AlignEndVerticalIcon:S1,AlignHorizontalDistributeCenter:I1,AlignHorizontalDistributeCenterIcon:I1,AlignHorizontalDistributeEnd:N1,AlignHorizontalDistributeEndIcon:N1,AlignHorizontalDistributeStart:A1,AlignHorizontalDistributeStartIcon:A1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyCenterIcon:_1,AlignHorizontalJustifyEnd:P1,AlignHorizontalJustifyEndIcon:P1,AlignHorizontalJustifyStart:q1,AlignHorizontalJustifyStartIcon:q1,AlignHorizontalSpaceAround:T1,AlignHorizontalSpaceAroundIcon:T1,AlignHorizontalSpaceBetween:R1,AlignHorizontalSpaceBetweenIcon:R1,AlignJustify:D1,AlignJustifyIcon:D1,AlignLeft:z1,AlignLeftIcon:z1,AlignRight:F1,AlignRightIcon:F1,AlignStartHorizontal:E1,AlignStartHorizontalIcon:E1,AlignStartVertical:H1,AlignStartVerticalIcon:H1,AlignVerticalDistributeCenter:O1,AlignVerticalDistributeCenterIcon:O1,AlignVerticalDistributeEnd:V1,AlignVerticalDistributeEndIcon:V1,AlignVerticalDistributeStart:B1,AlignVerticalDistributeStartIcon:B1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:G1,AlignVerticalJustifyStartIcon:G1,AlignVerticalSpaceAround:W1,AlignVerticalSpaceAroundIcon:W1,AlignVerticalSpaceBetween:Z1,AlignVerticalSpaceBetweenIcon:Z1,Ambulance:X1,AmbulanceIcon:X1,Ampersand:J1,AmpersandIcon:J1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:K1,AmphoraIcon:K1,Anchor:Q1,AnchorIcon:Q1,Angry:el,AngryIcon:el,Annoyed:tl,AnnoyedIcon:tl,Antenna:al,AntennaIcon:al,Anvil:rl,AnvilIcon:rl,Aperture:nl,ApertureIcon:nl,AppWindow:ol,AppWindowIcon:ol,AppWindowMac:il,AppWindowMacIcon:il,Apple:sl,AppleIcon:sl,Archive:dl,ArchiveIcon:dl,ArchiveRestore:cl,ArchiveRestoreIcon:cl,ArchiveX:ll,ArchiveXIcon:ll,AreaChart:zr,AreaChartIcon:zr,Armchair:hl,ArmchairIcon:hl,ArrowBigDown:pl,ArrowBigDownDash:ul,ArrowBigDownDashIcon:ul,ArrowBigDownIcon:pl,ArrowBigLeft:ml,ArrowBigLeftDash:yl,ArrowBigLeftDashIcon:yl,ArrowBigLeftIcon:ml,ArrowBigRight:xl,ArrowBigRightDash:fl,ArrowBigRightDashIcon:fl,ArrowBigRightIcon:xl,ArrowBigUp:gl,ArrowBigUpDash:kl,ArrowBigUpDashIcon:kl,ArrowBigUpIcon:gl,ArrowDown:Nl,ArrowDown01:vl,ArrowDown01Icon:vl,ArrowDown10:wl,ArrowDown10Icon:wl,ArrowDownAZ:Cr,ArrowDownAZIcon:Cr,ArrowDownAz:Cr,ArrowDownAzIcon:Cr,ArrowDownCircle:Xr,ArrowDownCircleIcon:Xr,ArrowDownFromLine:Ml,ArrowDownFromLineIcon:Ml,ArrowDownIcon:Nl,ArrowDownLeft:bl,ArrowDownLeftFromCircle:Yr,ArrowDownLeftFromCircleIcon:Yr,ArrowDownLeftFromSquare:_i,ArrowDownLeftFromSquareIcon:_i,ArrowDownLeftIcon:bl,ArrowDownLeftSquare:Ii,ArrowDownLeftSquareIcon:Ii,ArrowDownNarrowWide:Cl,ArrowDownNarrowWideIcon:Cl,ArrowDownRight:jl,ArrowDownRightFromCircle:Kr,ArrowDownRightFromCircleIcon:Kr,ArrowDownRightFromSquare:Pi,ArrowDownRightFromSquareIcon:Pi,ArrowDownRightIcon:jl,ArrowDownRightSquare:Ni,ArrowDownRightSquareIcon:Ni,ArrowDownSquare:Ai,ArrowDownSquareIcon:Ai,ArrowDownToDot:Ll,ArrowDownToDotIcon:Ll,ArrowDownToLine:Sl,ArrowDownToLineIcon:Sl,ArrowDownUp:Il,ArrowDownUpIcon:Il,ArrowDownWideNarrow:jr,ArrowDownWideNarrowIcon:jr,ArrowDownZA:Lr,ArrowDownZAIcon:Lr,ArrowDownZa:Lr,ArrowDownZaIcon:Lr,ArrowLeft:$o,ArrowLeftCircle:Jr,ArrowLeftCircleIcon:Jr,ArrowLeftFromLine:Al,ArrowLeftFromLineIcon:Al,ArrowLeftIcon:$o,ArrowLeftRight:_l,ArrowLeftRightIcon:_l,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:Pl,ArrowLeftToLineIcon:Pl,ArrowRight:ks,ArrowRightCircle:tn,ArrowRightCircleIcon:tn,ArrowRightFromLine:ql,ArrowRightFromLineIcon:ql,ArrowRightIcon:ks,ArrowRightLeft:Tl,ArrowRightLeftIcon:Tl,ArrowRightSquare:Ca,ArrowRightSquareIcon:Ca,ArrowRightToLine:Rl,ArrowRightToLineIcon:Rl,ArrowUp:$l,ArrowUp01:Dl,ArrowUp01Icon:Dl,ArrowUp10:zl,ArrowUp10Icon:zl,ArrowUpAZ:Sr,ArrowUpAZIcon:Sr,ArrowUpAz:Sr,ArrowUpAzIcon:Sr,ArrowUpCircle:an,ArrowUpCircleIcon:an,ArrowUpDown:Fl,ArrowUpDownIcon:Fl,ArrowUpFromDot:El,ArrowUpFromDotIcon:El,ArrowUpFromLine:Hl,ArrowUpFromLineIcon:Hl,ArrowUpIcon:$l,ArrowUpLeft:Ol,ArrowUpLeftFromCircle:Qr,ArrowUpLeftFromCircleIcon:Qr,ArrowUpLeftFromSquare:qi,ArrowUpLeftFromSquareIcon:qi,ArrowUpLeftIcon:Ol,ArrowUpLeftSquare:Ri,ArrowUpLeftSquareIcon:Ri,ArrowUpNarrowWide:Ir,ArrowUpNarrowWideIcon:Ir,ArrowUpRight:Vl,ArrowUpRightFromCircle:en,ArrowUpRightFromCircleIcon:en,ArrowUpRightFromSquare:Ti,ArrowUpRightFromSquareIcon:Ti,ArrowUpRightIcon:Vl,ArrowUpRightSquare:Di,ArrowUpRightSquareIcon:Di,ArrowUpSquare:zi,ArrowUpSquareIcon:zi,ArrowUpToLine:Bl,ArrowUpToLineIcon:Bl,ArrowUpWideNarrow:Ul,ArrowUpWideNarrowIcon:Ul,ArrowUpZA:Nr,ArrowUpZAIcon:Nr,ArrowUpZa:Nr,ArrowUpZaIcon:Nr,ArrowsUpFromLine:Gl,ArrowsUpFromLineIcon:Gl,Asterisk:Wl,AsteriskIcon:Wl,AsteriskSquare:Fi,AsteriskSquareIcon:Fi,AtSign:Zl,AtSignIcon:Zl,Atom:Xl,AtomIcon:Xl,AudioLines:Jl,AudioLinesIcon:Jl,AudioWaveform:Yl,AudioWaveformIcon:Yl,Award:La,AwardIcon:La,Axe:Kl,AxeIcon:Kl,Axis3D:Ar,Axis3DIcon:Ar,Axis3d:Ar,Axis3dIcon:Ar,Baby:Ql,BabyIcon:Ql,Backpack:ed,BackpackIcon:ed,Badge:fd,BadgeAlert:td,BadgeAlertIcon:td,BadgeCent:ad,BadgeCentIcon:ad,BadgeCheck:_r,BadgeCheckIcon:_r,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:nd,BadgeEuroIcon:nd,BadgeHelp:id,BadgeHelpIcon:id,BadgeIcon:fd,BadgeIndianRupee:od,BadgeIndianRupeeIcon:od,BadgeInfo:sd,BadgeInfoIcon:sd,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:ld,BadgeMinusIcon:ld,BadgePercent:dd,BadgePercentIcon:dd,BadgePlus:hd,BadgePlusIcon:hd,BadgePoundSterling:ud,BadgePoundSterlingIcon:ud,BadgeRussianRuble:pd,BadgeRussianRubleIcon:pd,BadgeSwissFranc:yd,BadgeSwissFrancIcon:yd,BadgeX:md,BadgeXIcon:md,BaggageClaim:xd,BaggageClaimIcon:xd,Ban:kd,BanIcon:kd,Banana:gd,BananaIcon:gd,Bandage:vd,BandageIcon:vd,Banknote:wd,BanknoteIcon:wd,BarChart:Ba,BarChart2:$r,BarChart2Icon:$r,BarChart3:Br,BarChart3Icon:Br,BarChart4:Vr,BarChart4Icon:Vr,BarChartBig:Or,BarChartBigIcon:Or,BarChartHorizontal:Er,BarChartHorizontalBig:Fr,BarChartHorizontalBigIcon:Fr,BarChartHorizontalIcon:Er,BarChartIcon:Ba,Barcode:Md,BarcodeIcon:Md,Baseline:bd,BaselineIcon:bd,Bath:Cd,BathIcon:Cd,Battery:Ad,BatteryCharging:jd,BatteryChargingIcon:jd,BatteryFull:Ld,BatteryFullIcon:Ld,BatteryIcon:Ad,BatteryLow:Sd,BatteryLowIcon:Sd,BatteryMedium:Id,BatteryMediumIcon:Id,BatteryWarning:Nd,BatteryWarningIcon:Nd,Beaker:_d,BeakerIcon:_d,Bean:qd,BeanIcon:qd,BeanOff:Pd,BeanOffIcon:Pd,Bed:Dd,BedDouble:Td,BedDoubleIcon:Td,BedIcon:Dd,BedSingle:Rd,BedSingleIcon:Rd,Beef:zd,BeefIcon:zd,Beer:Ed,BeerIcon:Ed,BeerOff:Fd,BeerOffIcon:Fd,Bell:gs,BellDot:Hd,BellDotIcon:Hd,BellElectric:Od,BellElectricIcon:Od,BellIcon:gs,BellMinus:Vd,BellMinusIcon:Vd,BellOff:Bd,BellOffIcon:Bd,BellPlus:Ud,BellPlusIcon:Ud,BellRing:$d,BellRingIcon:$d,BetweenHorizonalEnd:Pr,BetweenHorizonalEndIcon:Pr,BetweenHorizonalStart:qr,BetweenHorizonalStartIcon:qr,BetweenHorizontalEnd:Pr,BetweenHorizontalEndIcon:Pr,BetweenHorizontalStart:qr,BetweenHorizontalStartIcon:qr,BetweenVerticalEnd:Gd,BetweenVerticalEndIcon:Gd,BetweenVerticalStart:Wd,BetweenVerticalStartIcon:Wd,BicepsFlexed:Zd,BicepsFlexedIcon:Zd,Bike:Xd,BikeIcon:Xd,Binary:Jd,BinaryIcon:Jd,Binoculars:Yd,BinocularsIcon:Yd,Biohazard:Kd,BiohazardIcon:Kd,Bird:Qd,BirdIcon:Qd,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:r2,BlocksIcon:r2,Bluetooth:s2,BluetoothConnected:n2,BluetoothConnectedIcon:n2,BluetoothIcon:s2,BluetoothOff:i2,BluetoothOffIcon:i2,BluetoothSearching:o2,BluetoothSearchingIcon:o2,Bold:c2,BoldIcon:c2,Bolt:l2,BoltIcon:l2,Bomb:d2,BombIcon:d2,Bone:h2,BoneIcon:h2,Book:q2,BookA:u2,BookAIcon:u2,BookAudio:p2,BookAudioIcon:p2,BookCheck:y2,BookCheckIcon:y2,BookCopy:m2,BookCopyIcon:m2,BookDashed:Tr,BookDashedIcon:Tr,BookDown:f2,BookDownIcon:f2,BookHeadphones:x2,BookHeadphonesIcon:x2,BookHeart:k2,BookHeartIcon:k2,BookIcon:q2,BookImage:g2,BookImageIcon:g2,BookKey:v2,BookKeyIcon:v2,BookLock:w2,BookLockIcon:w2,BookMarked:M2,BookMarkedIcon:M2,BookMinus:b2,BookMinusIcon:b2,BookOpen:Wt,BookOpenCheck:C2,BookOpenCheckIcon:C2,BookOpenIcon:Wt,BookOpenText:j2,BookOpenTextIcon:j2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:Tr,BookTemplateIcon:Tr,BookText:S2,BookTextIcon:S2,BookType:I2,BookTypeIcon:I2,BookUp:A2,BookUp2:N2,BookUp2Icon:N2,BookUpIcon:A2,BookUser:_2,BookUserIcon:_2,BookX:P2,BookXIcon:P2,Bookmark:Xa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Xa,BookmarkMinus:T2,BookmarkMinusIcon:T2,BookmarkPlus:uc,BookmarkPlusIcon:uc,BookmarkX:R2,BookmarkXIcon:R2,BoomBox:D2,BoomBoxIcon:D2,Bot:pc,BotIcon:pc,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:F2,BotOffIcon:F2,Box:E2,BoxIcon:E2,BoxSelect:Xi,BoxSelectIcon:Xi,Boxes:H2,BoxesIcon:H2,Braces:Rr,BracesIcon:Rr,Brackets:O2,BracketsIcon:O2,Brain:U2,BrainCircuit:V2,BrainCircuitIcon:V2,BrainCog:B2,BrainCogIcon:B2,BrainIcon:U2,BrickWall:$2,BrickWallIcon:$2,Briefcase:vt,BriefcaseBusiness:G2,BriefcaseBusinessIcon:G2,BriefcaseConveyorBelt:W2,BriefcaseConveyorBeltIcon:W2,BriefcaseIcon:vt,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushIcon:J2,Bug:Q2,BugIcon:Q2,BugOff:Y2,BugOffIcon:Y2,BugPlay:K2,BugPlayIcon:K2,Building:vs,Building2:yc,Building2Icon:yc,BuildingIcon:vs,Bus:t0,BusFront:e0,BusFrontIcon:e0,BusIcon:t0,Cable:r0,CableCar:a0,CableCarIcon:a0,CableIcon:r0,Cake:i0,CakeIcon:i0,CakeSlice:n0,CakeSliceIcon:n0,Calculator:o0,CalculatorIcon:o0,Calendar:mc,CalendarArrowDown:s0,CalendarArrowDownIcon:s0,CalendarArrowUp:c0,CalendarArrowUpIcon:c0,CalendarCheck:d0,CalendarCheck2:l0,CalendarCheck2Icon:l0,CalendarCheckIcon:d0,CalendarClock:h0,CalendarClockIcon:h0,CalendarCog:u0,CalendarCogIcon:u0,CalendarDays:p0,CalendarDaysIcon:p0,CalendarFold:y0,CalendarFoldIcon:y0,CalendarHeart:m0,CalendarHeartIcon:m0,CalendarIcon:mc,CalendarMinus:x0,CalendarMinus2:f0,CalendarMinus2Icon:f0,CalendarMinusIcon:x0,CalendarOff:k0,CalendarOffIcon:k0,CalendarPlus:v0,CalendarPlus2:g0,CalendarPlus2Icon:g0,CalendarPlusIcon:v0,CalendarRange:w0,CalendarRangeIcon:w0,CalendarSearch:M0,CalendarSearchIcon:M0,CalendarX:C0,CalendarX2:b0,CalendarX2Icon:b0,CalendarXIcon:C0,Camera:L0,CameraIcon:L0,CameraOff:j0,CameraOffIcon:j0,CandlestickChart:Hr,CandlestickChartIcon:Hr,Candy:N0,CandyCane:S0,CandyCaneIcon:S0,CandyIcon:N0,CandyOff:I0,CandyOffIcon:I0,Cannabis:A0,CannabisIcon:A0,Captions:Dr,CaptionsIcon:Dr,CaptionsOff:_0,CaptionsOffIcon:_0,Car:T0,CarFront:P0,CarFrontIcon:P0,CarIcon:T0,CarTaxiFront:q0,CarTaxiFrontIcon:q0,Caravan:R0,CaravanIcon:R0,Carrot:D0,CarrotIcon:D0,CaseLower:z0,CaseLowerIcon:z0,CaseSensitive:F0,CaseSensitiveIcon:F0,CaseUpper:E0,CaseUpperIcon:E0,CassetteTape:H0,CassetteTapeIcon:H0,Cast:O0,CastIcon:O0,Castle:V0,CastleIcon:V0,Cat:B0,CatIcon:B0,Cctv:U0,CctvIcon:U0,ChartArea:zr,ChartAreaIcon:zr,ChartBar:Er,ChartBarBig:Fr,ChartBarBigIcon:Fr,ChartBarDecreasing:$0,ChartBarDecreasingIcon:$0,ChartBarIcon:Er,ChartBarIncreasing:G0,ChartBarIncreasingIcon:G0,ChartBarStacked:W0,ChartBarStackedIcon:W0,ChartCandlestick:Hr,ChartCandlestickIcon:Hr,ChartColumn:Br,ChartColumnBig:Or,ChartColumnBigIcon:Or,ChartColumnDecreasing:Z0,ChartColumnDecreasingIcon:Z0,ChartColumnIcon:Br,ChartColumnIncreasing:Vr,ChartColumnIncreasingIcon:Vr,ChartColumnStacked:X0,ChartColumnStackedIcon:X0,ChartGantt:J0,ChartGanttIcon:J0,ChartLine:Ur,ChartLineIcon:Ur,ChartNetwork:Y0,ChartNetworkIcon:Y0,ChartNoAxesColumn:$r,ChartNoAxesColumnDecreasing:K0,ChartNoAxesColumnDecreasingIcon:K0,ChartNoAxesColumnIcon:$r,ChartNoAxesColumnIncreasing:Ba,ChartNoAxesColumnIncreasingIcon:Ba,ChartNoAxesCombined:Q0,ChartNoAxesCombinedIcon:Q0,ChartNoAxesGantt:Gr,ChartNoAxesGanttIcon:Gr,ChartPie:Wr,ChartPieIcon:Wr,ChartScatter:Zr,ChartScatterIcon:Zr,ChartSpline:eh,ChartSplineIcon:eh,Check:ws,CheckCheck:th,CheckCheckIcon:th,CheckCircle:Nt,CheckCircle2:rn,CheckCircle2Icon:rn,CheckCircleIcon:Nt,CheckIcon:ws,CheckSquare:Hi,CheckSquare2:Oi,CheckSquare2Icon:Oi,CheckSquareIcon:Hi,ChefHat:ah,ChefHatIcon:ah,Cherry:rh,CherryIcon:rh,ChevronDown:Go,ChevronDownCircle:nn,ChevronDownCircleIcon:nn,ChevronDownIcon:Go,ChevronDownSquare:Vi,ChevronDownSquareIcon:Vi,ChevronFirst:nh,ChevronFirstIcon:nh,ChevronLast:ih,ChevronLastIcon:ih,ChevronLeft:Wo,ChevronLeftCircle:on,ChevronLeftCircleIcon:on,ChevronLeftIcon:Wo,ChevronLeftSquare:Bi,ChevronLeftSquareIcon:Bi,ChevronRight:Ja,ChevronRightCircle:sn,ChevronRightCircleIcon:sn,ChevronRightIcon:Ja,ChevronRightSquare:Ui,ChevronRightSquareIcon:Ui,ChevronUp:fc,ChevronUpCircle:cn,ChevronUpCircleIcon:cn,ChevronUpIcon:fc,ChevronUpSquare:$i,ChevronUpSquareIcon:$i,ChevronsDown:sh,ChevronsDownIcon:sh,ChevronsDownUp:oh,ChevronsDownUpIcon:oh,ChevronsLeft:dh,ChevronsLeftIcon:dh,ChevronsLeftRight:lh,ChevronsLeftRightEllipsis:ch,ChevronsLeftRightEllipsisIcon:ch,ChevronsLeftRightIcon:lh,ChevronsRight:uh,ChevronsRightIcon:uh,ChevronsRightLeft:hh,ChevronsRightLeftIcon:hh,ChevronsUp:yh,ChevronsUpDown:ph,ChevronsUpDownIcon:ph,ChevronsUpIcon:yh,Chrome:mh,ChromeIcon:mh,Church:fh,ChurchIcon:fh,Cigarette:kh,CigaretteIcon:kh,CigaretteOff:xh,CigaretteOffIcon:xh,Circle:Nh,CircleAlert:Bt,CircleAlertIcon:Bt,CircleArrowDown:Xr,CircleArrowDownIcon:Xr,CircleArrowLeft:Jr,CircleArrowLeftIcon:Jr,CircleArrowOutDownLeft:Yr,CircleArrowOutDownLeftIcon:Yr,CircleArrowOutDownRight:Kr,CircleArrowOutDownRightIcon:Kr,CircleArrowOutUpLeft:Qr,CircleArrowOutUpLeftIcon:Qr,CircleArrowOutUpRight:en,CircleArrowOutUpRightIcon:en,CircleArrowRight:tn,CircleArrowRightIcon:tn,CircleArrowUp:an,CircleArrowUpIcon:an,CircleCheck:rn,CircleCheckBig:Nt,CircleCheckBigIcon:Nt,CircleCheckIcon:rn,CircleChevronDown:nn,CircleChevronDownIcon:nn,CircleChevronLeft:on,CircleChevronLeftIcon:on,CircleChevronRight:sn,CircleChevronRightIcon:sn,CircleChevronUp:cn,CircleChevronUpIcon:cn,CircleDashed:gh,CircleDashedIcon:gh,CircleDivide:ln,CircleDivideIcon:ln,CircleDollarSign:vh,CircleDollarSignIcon:vh,CircleDot:Mh,CircleDotDashed:wh,CircleDotDashedIcon:wh,CircleDotIcon:Mh,CircleEllipsis:bh,CircleEllipsisIcon:bh,CircleEqual:Ch,CircleEqualIcon:Ch,CircleFadingArrowUp:jh,CircleFadingArrowUpIcon:jh,CircleFadingPlus:Lh,CircleFadingPlusIcon:Lh,CircleGauge:dn,CircleGaugeIcon:dn,CircleHelp:Ua,CircleHelpIcon:Ua,CircleIcon:Nh,CircleMinus:hn,CircleMinusIcon:hn,CircleOff:Sh,CircleOffIcon:Sh,CircleParking:pn,CircleParkingIcon:pn,CircleParkingOff:un,CircleParkingOffIcon:un,CirclePause:yn,CirclePauseIcon:yn,CirclePercent:mn,CirclePercentIcon:mn,CirclePlay:fn,CirclePlayIcon:fn,CirclePlus:xn,CirclePlusIcon:xn,CirclePower:kn,CirclePowerIcon:kn,CircleSlash:Ih,CircleSlash2:gn,CircleSlash2Icon:gn,CircleSlashIcon:Ih,CircleSlashed:gn,CircleSlashedIcon:gn,CircleStop:vn,CircleStopIcon:vn,CircleUser:Mn,CircleUserIcon:Mn,CircleUserRound:wn,CircleUserRoundIcon:wn,CircleX:ia,CircleXIcon:ia,CircuitBoard:Ah,CircuitBoardIcon:Ah,Citrus:_h,CitrusIcon:_h,Clapperboard:Ph,ClapperboardIcon:Ph,Clipboard:Oh,ClipboardCheck:qh,ClipboardCheckIcon:qh,ClipboardCopy:Th,ClipboardCopyIcon:Th,ClipboardEdit:Cn,ClipboardEditIcon:Cn,ClipboardIcon:Oh,ClipboardList:Rh,ClipboardListIcon:Rh,ClipboardMinus:Dh,ClipboardMinusIcon:Dh,ClipboardPaste:zh,ClipboardPasteIcon:zh,ClipboardPen:Cn,ClipboardPenIcon:Cn,ClipboardPenLine:bn,ClipboardPenLineIcon:bn,ClipboardPlus:Fh,ClipboardPlusIcon:Fh,ClipboardSignature:bn,ClipboardSignatureIcon:bn,ClipboardType:Eh,ClipboardTypeIcon:Eh,ClipboardX:Hh,ClipboardXIcon:Hh,Clock:Qt,Clock1:Vh,Clock10:Bh,Clock10Icon:Bh,Clock11:Uh,Clock11Icon:Uh,Clock12:$h,Clock12Icon:$h,Clock1Icon:Vh,Clock2:Gh,Clock2Icon:Gh,Clock3:Wh,Clock3Icon:Wh,Clock4:Zh,Clock4Icon:Zh,Clock5:Xh,Clock5Icon:Xh,Clock6:Jh,Clock6Icon:Jh,Clock7:Yh,Clock7Icon:Yh,Clock8:Kh,Clock8Icon:Kh,Clock9:Qh,Clock9Icon:Qh,ClockAlert:eu,ClockAlertIcon:eu,ClockArrowDown:tu,ClockArrowDownIcon:tu,ClockArrowUp:au,ClockArrowUpIcon:au,ClockIcon:Qt,Cloud:fu,CloudCog:ru,CloudCogIcon:ru,CloudDownload:jn,CloudDownloadIcon:jn,CloudDrizzle:nu,CloudDrizzleIcon:nu,CloudFog:iu,CloudFogIcon:iu,CloudHail:ou,CloudHailIcon:ou,CloudIcon:fu,CloudLightning:su,CloudLightningIcon:su,CloudMoon:lu,CloudMoonIcon:lu,CloudMoonRain:cu,CloudMoonRainIcon:cu,CloudOff:du,CloudOffIcon:du,CloudRain:uu,CloudRainIcon:uu,CloudRainWind:hu,CloudRainWindIcon:hu,CloudSnow:pu,CloudSnowIcon:pu,CloudSun:mu,CloudSunIcon:mu,CloudSunRain:yu,CloudSunRainIcon:yu,CloudUpload:Ln,CloudUploadIcon:Ln,Cloudy:xu,CloudyIcon:xu,Clover:ku,CloverIcon:ku,Club:gu,ClubIcon:gu,Code:vu,Code2:Sn,Code2Icon:Sn,CodeIcon:vu,CodeSquare:Gi,CodeSquareIcon:Gi,CodeXml:Sn,CodeXmlIcon:Sn,Codepen:wu,CodepenIcon:wu,Codesandbox:Mu,CodesandboxIcon:Mu,Coffee:bu,CoffeeIcon:bu,Cog:Cu,CogIcon:Cu,Coins:ju,CoinsIcon:ju,Columns:In,Columns2:In,Columns2Icon:In,Columns3:Nn,Columns3Icon:Nn,Columns4:Lu,Columns4Icon:Lu,ColumnsIcon:In,Combine:Su,CombineIcon:Su,Command:Iu,CommandIcon:Iu,Compass:Nu,CompassIcon:Nu,Component:Au,ComponentIcon:Au,Computer:_u,ComputerIcon:_u,ConciergeBell:Pu,ConciergeBellIcon:Pu,Cone:qu,ConeIcon:qu,Construction:Tu,ConstructionIcon:Tu,Contact:Ru,Contact2:An,Contact2Icon:An,ContactIcon:Ru,ContactRound:An,ContactRoundIcon:An,Container:Du,ContainerIcon:Du,Contrast:zu,ContrastIcon:zu,Cookie:Fu,CookieIcon:Fu,CookingPot:Eu,CookingPotIcon:Eu,Copy:$u,CopyCheck:Hu,CopyCheckIcon:Hu,CopyIcon:$u,CopyMinus:Ou,CopyMinusIcon:Ou,CopyPlus:Vu,CopyPlusIcon:Vu,CopySlash:Bu,CopySlashIcon:Bu,CopyX:Uu,CopyXIcon:Uu,Copyleft:Gu,CopyleftIcon:Gu,Copyright:Wu,CopyrightIcon:Wu,CornerDownLeft:Zu,CornerDownLeftIcon:Zu,CornerDownRight:Xu,CornerDownRightIcon:Xu,CornerLeftDown:Ju,CornerLeftDownIcon:Ju,CornerLeftUp:Yu,CornerLeftUpIcon:Yu,CornerRightDown:Ku,CornerRightDownIcon:Ku,CornerRightUp:Qu,CornerRightUpIcon:Qu,CornerUpLeft:ep,CornerUpLeftIcon:ep,CornerUpRight:tp,CornerUpRightIcon:tp,Cpu:ap,CpuIcon:ap,CreativeCommons:rp,CreativeCommonsIcon:rp,CreditCard:xc,CreditCardIcon:xc,Croissant:np,CroissantIcon:np,Crop:ip,CropIcon:ip,Cross:op,CrossIcon:op,Crosshair:sp,CrosshairIcon:sp,Crown:cp,CrownIcon:cp,Cuboid:lp,CuboidIcon:lp,CupSoda:dp,CupSodaIcon:dp,CurlyBraces:Rr,CurlyBracesIcon:Rr,Currency:hp,CurrencyIcon:hp,Cylinder:up,CylinderIcon:up,Dam:pp,DamIcon:pp,Database:fp,DatabaseBackup:yp,DatabaseBackupIcon:yp,DatabaseIcon:fp,DatabaseZap:mp,DatabaseZapIcon:mp,Delete:xp,DeleteIcon:xp,Dessert:kp,DessertIcon:kp,Diameter:gp,DiameterIcon:gp,Diamond:Mp,DiamondIcon:Mp,DiamondMinus:vp,DiamondMinusIcon:vp,DiamondPercent:_n,DiamondPercentIcon:_n,DiamondPlus:wp,DiamondPlusIcon:wp,Dice1:bp,Dice1Icon:bp,Dice2:Cp,Dice2Icon:Cp,Dice3:jp,Dice3Icon:jp,Dice4:Lp,Dice4Icon:Lp,Dice5:Sp,Dice5Icon:Sp,Dice6:Ip,Dice6Icon:Ip,Dices:Np,DicesIcon:Np,Diff:Ap,DiffIcon:Ap,Disc:Tp,Disc2:_p,Disc2Icon:_p,Disc3:Pp,Disc3Icon:Pp,DiscAlbum:qp,DiscAlbumIcon:qp,DiscIcon:Tp,Divide:Rp,DivideCircle:ln,DivideCircleIcon:ln,DivideIcon:Rp,DivideSquare:Ji,DivideSquareIcon:Ji,Dna:zp,DnaIcon:zp,DnaOff:Dp,DnaOffIcon:Dp,Dock:Fp,DockIcon:Fp,Dog:Ep,DogIcon:Ep,DollarSign:kc,DollarSignIcon:kc,Donut:Hp,DonutIcon:Hp,DoorClosed:Op,DoorClosedIcon:Op,DoorOpen:Vp,DoorOpenIcon:Vp,Dot:Bp,DotIcon:Bp,DotSquare:Yi,DotSquareIcon:Yi,Download:Up,DownloadCloud:jn,DownloadCloudIcon:jn,DownloadIcon:Up,DraftingCompass:$p,DraftingCompassIcon:$p,Drama:Gp,DramaIcon:Gp,Dribbble:Wp,DribbbleIcon:Wp,Drill:Zp,DrillIcon:Zp,Droplet:Xp,DropletIcon:Xp,Droplets:Jp,DropletsIcon:Jp,Drum:Yp,DrumIcon:Yp,Drumstick:Kp,DrumstickIcon:Kp,Dumbbell:Qp,DumbbellIcon:Qp,Ear:ty,EarIcon:ty,EarOff:ey,EarOffIcon:ey,Earth:Pn,EarthIcon:Pn,EarthLock:ay,EarthLockIcon:ay,Eclipse:ry,EclipseIcon:ry,Edit:St,Edit2:xi,Edit2Icon:xi,Edit3:fi,Edit3Icon:fi,EditIcon:St,Egg:oy,EggFried:ny,EggFriedIcon:ny,EggIcon:oy,EggOff:iy,EggOffIcon:iy,Ellipsis:Tn,EllipsisIcon:Tn,EllipsisVertical:qn,EllipsisVerticalIcon:qn,Equal:cy,EqualIcon:cy,EqualNot:sy,EqualNotIcon:sy,EqualSquare:Ki,EqualSquareIcon:Ki,Eraser:ly,EraserIcon:ly,EthernetPort:dy,EthernetPortIcon:dy,Euro:hy,EuroIcon:hy,Expand:uy,ExpandIcon:uy,ExternalLink:Zo,ExternalLinkIcon:Zo,Eye:gc,EyeClosed:py,EyeClosedIcon:py,EyeIcon:gc,EyeOff:yy,EyeOffIcon:yy,Facebook:my,FacebookIcon:my,Factory:fy,FactoryIcon:fy,Fan:xy,FanIcon:xy,FastForward:ky,FastForwardIcon:ky,Feather:gy,FeatherIcon:gy,Fence:vy,FenceIcon:vy,FerrisWheel:wy,FerrisWheelIcon:wy,Figma:My,FigmaIcon:My,File:gm,FileArchive:by,FileArchiveIcon:by,FileAudio:jy,FileAudio2:Cy,FileAudio2Icon:Cy,FileAudioIcon:jy,FileAxis3D:Rn,FileAxis3DIcon:Rn,FileAxis3d:Rn,FileAxis3dIcon:Rn,FileBadge:Sy,FileBadge2:Ly,FileBadge2Icon:Ly,FileBadgeIcon:Sy,FileBarChart:Dn,FileBarChart2:zn,FileBarChart2Icon:zn,FileBarChartIcon:Dn,FileBox:Iy,FileBoxIcon:Iy,FileChartColumn:zn,FileChartColumnIcon:zn,FileChartColumnIncreasing:Dn,FileChartColumnIncreasingIcon:Dn,FileChartLine:Fn,FileChartLineIcon:Fn,FileChartPie:En,FileChartPieIcon:En,FileCheck:Ay,FileCheck2:Ny,FileCheck2Icon:Ny,FileCheckIcon:Ay,FileClock:_y,FileClockIcon:_y,FileCode:qy,FileCode2:Py,FileCode2Icon:Py,FileCodeIcon:qy,FileCog:Hn,FileCog2:Hn,FileCog2Icon:Hn,FileCogIcon:Hn,FileDiff:Ty,FileDiffIcon:Ty,FileDigit:Ry,FileDigitIcon:Ry,FileDown:Dy,FileDownIcon:Dy,FileEdit:Vn,FileEditIcon:Vn,FileHeart:zy,FileHeartIcon:zy,FileIcon:gm,FileImage:Fy,FileImageIcon:Fy,FileInput:Ey,FileInputIcon:Ey,FileJson:Oy,FileJson2:Hy,FileJson2Icon:Hy,FileJsonIcon:Oy,FileKey:By,FileKey2:Vy,FileKey2Icon:Vy,FileKeyIcon:By,FileLineChart:Fn,FileLineChartIcon:Fn,FileLock:$y,FileLock2:Uy,FileLock2Icon:Uy,FileLockIcon:$y,FileMinus:Wy,FileMinus2:Gy,FileMinus2Icon:Gy,FileMinusIcon:Wy,FileMusic:Zy,FileMusicIcon:Zy,FileOutput:Xy,FileOutputIcon:Xy,FilePen:Vn,FilePenIcon:Vn,FilePenLine:On,FilePenLineIcon:On,FilePieChart:En,FilePieChartIcon:En,FilePlus:Yy,FilePlus2:Jy,FilePlus2Icon:Jy,FilePlusIcon:Yy,FileQuestion:Ky,FileQuestionIcon:Ky,FileScan:Qy,FileScanIcon:Qy,FileSearch:tm,FileSearch2:em,FileSearch2Icon:em,FileSearchIcon:tm,FileSignature:On,FileSignatureIcon:On,FileSliders:am,FileSlidersIcon:am,FileSpreadsheet:rm,FileSpreadsheetIcon:rm,FileStack:nm,FileStackIcon:nm,FileSymlink:im,FileSymlinkIcon:im,FileTerminal:om,FileTerminalIcon:om,FileText:sm,FileTextIcon:sm,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:wm,FilmIcon:wm,Filter:Ms,FilterIcon:Ms,FilterX:Mm,FilterXIcon:Mm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Sm,FishIcon:Sm,FishOff:jm,FishOffIcon:jm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:vc,FlagIcon:vc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:Pm,FlameIcon:Pm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:Tm,FlashlightIcon:Tm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:Rm,FlaskConicalOffIcon:Rm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Om,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Om,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Gm,FoldVerticalIcon:Gm,Folder:wf,FolderArchive:Wm,FolderArchiveIcon:Wm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:Bn,FolderCog2:Bn,FolderCog2Icon:Bn,FolderCogIcon:Bn,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:Un,FolderEditIcon:Un,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:wf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:of,FolderKeyIcon:of,FolderLock:sf,FolderLockIcon:sf,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:Un,FolderPenIcon:Un,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:Mf,FoldersIcon:Mf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Eo,ForkKnifeCrossed:Fo,ForkKnifeCrossedIcon:Fo,ForkKnifeIcon:Eo,Forklift:Cf,ForkliftIcon:Cf,FormInput:gi,FormInputIcon:gi,Forward:jf,ForwardIcon:jf,Frame:Lf,FrameIcon:Lf,Framer:Sf,FramerIcon:Sf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:Qi,FunctionSquareIcon:Qi,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Pf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,GalleryVerticalEndIcon:Tf,GalleryVerticalIcon:Rf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Gr,GanttChartIcon:Gr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Ff,GaugeCircle:dn,GaugeCircleIcon:dn,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Hf,GemIcon:Hf,Ghost:Of,GhostIcon:Of,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:$n,GitCommitHorizontal:$n,GitCommitHorizontalIcon:$n,GitCommitIcon:$n,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Wf,GitCompareArrows:Gf,GitCompareArrowsIcon:Gf,GitCompareIcon:Wf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:i4,GlassWaterIcon:i4,Glasses:o4,GlassesIcon:o4,Globe:bs,Globe2:Pn,Globe2Icon:Pn,GlobeIcon:bs,GlobeLock:s4,GlobeLockIcon:s4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:Cs,GraduationCapIcon:Cs,Grape:d4,GrapeIcon:d4,Grid:Jt,Grid2X2:Gn,Grid2X2Icon:Gn,Grid2x2:Gn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Gn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:w4,HandCoinsIcon:w4,HandHeart:M4,HandHeartIcon:M4,HandHelping:Wn,HandHelpingIcon:Wn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:L4,HandshakeIcon:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveDownloadIcon:S4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:_4,HashIcon:_4,Haze:P4,HazeIcon:P4,HdmiPort:q4,HdmiPortIcon:q4,Heading:H4,Heading1:T4,Heading1Icon:T4,Heading2:R4,Heading2Icon:R4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:H4,HeadphoneOff:O4,HeadphoneOffIcon:O4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:js,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:js,HeartOff:G4,HeartOffIcon:G4,HeartPulse:W4,HeartPulseIcon:W4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Ua,HelpCircleIcon:Ua,HelpingHand:Wn,HelpingHandIcon:Wn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:Ma,HomeIcon:Ma,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:Ma,HouseIcon:Ma,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:Xn,IceCream2:Zn,IceCream2Icon:Zn,IceCreamBowl:Zn,IceCreamBowlIcon:Zn,IceCreamCone:Xn,IceCreamConeIcon:Xn,IceCreamIcon:Xn,Icon:SS,IdCard:ix,IdCardIcon:ix,Image:ux,ImageDown:ox,ImageDownIcon:ox,ImageIcon:ux,ImageMinus:sx,ImageMinusIcon:sx,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:Yn,IndentDecrease:Jn,IndentDecreaseIcon:Jn,IndentIcon:Yn,IndentIncrease:Yn,IndentIncreaseIcon:Yn,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:io,InspectIcon:io,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:wx,ItalicIcon:wx,IterationCcw:Mx,IterationCcwIcon:Mx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:eo,KanbanSquareDashed:Wi,KanbanSquareDashedIcon:Wi,KanbanSquareIcon:eo,Key:Nx,KeyIcon:Nx,KeyRound:Sx,KeyRoundIcon:Sx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:Px,KeyboardIcon:Px,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Fx,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Tx,LampDeskIcon:Tx,LampFloor:Rx,LampFloorIcon:Rx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Hx,LandmarkIcon:Hx,Languages:Ox,LanguagesIcon:Ox,Laptop:Vx,Laptop2:Kn,Laptop2Icon:Kn,LaptopIcon:Vx,LaptopMinimal:Kn,LaptopMinimalIcon:Kn,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Gx,Layers2Icon:Gx,Layers3:Wx,Layers3Icon:Wx,LayersIcon:Zx,Layout:mi,LayoutDashboard:wc,LayoutDashboardIcon:wc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:mi,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ik,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ik,LibrarySquare:to,LibrarySquareIcon:to,LifeBuoy:ok,LifeBuoyIcon:ok,Ligature:sk,LigatureIcon:sk,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:Ur,LineChartIcon:Ur,Link:Mc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:Mc,Linkedin:uk,LinkedinIcon:uk,List:bc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:bc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:wk,ListPlusIcon:wk,ListRestart:Mk,ListRestartIcon:Mk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Sk,ListXIcon:Sk,Loader:Nk,Loader2:Qn,Loader2Icon:Qn,LoaderCircle:Qn,LoaderCircleIcon:Qn,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:Pk,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:Pk,LocateOff:_k,LocateOffIcon:_k,Lock:Cc,LockIcon:Cc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:ei,LockKeyholeOpenIcon:ei,LockOpen:ti,LockOpenIcon:ti,LogIn:Tk,LogInIcon:Tk,LogOut:jc,LogOutIcon:jc,Logs:Rk,LogsIcon:Rk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:u1,LucideAArrowUp:p1,LucideALargeSmall:y1,LucideAccessibility:m1,LucideActivity:f1,LucideActivitySquare:Si,LucideAirVent:x1,LucideAirplay:k1,LucideAlarmCheck:wr,LucideAlarmClock:v1,LucideAlarmClockCheck:wr,LucideAlarmClockMinus:Mr,LucideAlarmClockOff:g1,LucideAlarmClockPlus:br,LucideAlarmMinus:Mr,LucideAlarmPlus:br,LucideAlarmSmoke:w1,LucideAlbum:M1,LucideAlertCircle:Bt,LucideAlertOctagon:ni,LucideAlertTriangle:Io,LucideAlignCenter:j1,LucideAlignCenterHorizontal:b1,LucideAlignCenterVertical:C1,LucideAlignEndHorizontal:L1,LucideAlignEndVertical:S1,LucideAlignHorizontalDistributeCenter:I1,LucideAlignHorizontalDistributeEnd:N1,LucideAlignHorizontalDistributeStart:A1,LucideAlignHorizontalJustifyCenter:_1,LucideAlignHorizontalJustifyEnd:P1,LucideAlignHorizontalJustifyStart:q1,LucideAlignHorizontalSpaceAround:T1,LucideAlignHorizontalSpaceBetween:R1,LucideAlignJustify:D1,LucideAlignLeft:z1,LucideAlignRight:F1,LucideAlignStartHorizontal:E1,LucideAlignStartVertical:H1,LucideAlignVerticalDistributeCenter:O1,LucideAlignVerticalDistributeEnd:V1,LucideAlignVerticalDistributeStart:B1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:G1,LucideAlignVerticalSpaceAround:W1,LucideAlignVerticalSpaceBetween:Z1,LucideAmbulance:X1,LucideAmpersand:J1,LucideAmpersands:Y1,LucideAmphora:K1,LucideAnchor:Q1,LucideAngry:el,LucideAnnoyed:tl,LucideAntenna:al,LucideAnvil:rl,LucideAperture:nl,LucideAppWindow:ol,LucideAppWindowMac:il,LucideApple:sl,LucideArchive:dl,LucideArchiveRestore:cl,LucideArchiveX:ll,LucideAreaChart:zr,LucideArmchair:hl,LucideArrowBigDown:pl,LucideArrowBigDownDash:ul,LucideArrowBigLeft:ml,LucideArrowBigLeftDash:yl,LucideArrowBigRight:xl,LucideArrowBigRightDash:fl,LucideArrowBigUp:gl,LucideArrowBigUpDash:kl,LucideArrowDown:Nl,LucideArrowDown01:vl,LucideArrowDown10:wl,LucideArrowDownAZ:Cr,LucideArrowDownAz:Cr,LucideArrowDownCircle:Xr,LucideArrowDownFromLine:Ml,LucideArrowDownLeft:bl,LucideArrowDownLeftFromCircle:Yr,LucideArrowDownLeftFromSquare:_i,LucideArrowDownLeftSquare:Ii,LucideArrowDownNarrowWide:Cl,LucideArrowDownRight:jl,LucideArrowDownRightFromCircle:Kr,LucideArrowDownRightFromSquare:Pi,LucideArrowDownRightSquare:Ni,LucideArrowDownSquare:Ai,LucideArrowDownToDot:Ll,LucideArrowDownToLine:Sl,LucideArrowDownUp:Il,LucideArrowDownWideNarrow:jr,LucideArrowDownZA:Lr,LucideArrowDownZa:Lr,LucideArrowLeft:$o,LucideArrowLeftCircle:Jr,LucideArrowLeftFromLine:Al,LucideArrowLeftRight:_l,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:Pl,LucideArrowRight:ks,LucideArrowRightCircle:tn,LucideArrowRightFromLine:ql,LucideArrowRightLeft:Tl,LucideArrowRightSquare:Ca,LucideArrowRightToLine:Rl,LucideArrowUp:$l,LucideArrowUp01:Dl,LucideArrowUp10:zl,LucideArrowUpAZ:Sr,LucideArrowUpAz:Sr,LucideArrowUpCircle:an,LucideArrowUpDown:Fl,LucideArrowUpFromDot:El,LucideArrowUpFromLine:Hl,LucideArrowUpLeft:Ol,LucideArrowUpLeftFromCircle:Qr,LucideArrowUpLeftFromSquare:qi,LucideArrowUpLeftSquare:Ri,LucideArrowUpNarrowWide:Ir,LucideArrowUpRight:Vl,LucideArrowUpRightFromCircle:en,LucideArrowUpRightFromSquare:Ti,LucideArrowUpRightSquare:Di,LucideArrowUpSquare:zi,LucideArrowUpToLine:Bl,LucideArrowUpWideNarrow:Ul,LucideArrowUpZA:Nr,LucideArrowUpZa:Nr,LucideArrowsUpFromLine:Gl,LucideAsterisk:Wl,LucideAsteriskSquare:Fi,LucideAtSign:Zl,LucideAtom:Xl,LucideAudioLines:Jl,LucideAudioWaveform:Yl,LucideAward:La,LucideAxe:Kl,LucideAxis3D:Ar,LucideAxis3d:Ar,LucideBaby:Ql,LucideBackpack:ed,LucideBadge:fd,LucideBadgeAlert:td,LucideBadgeCent:ad,LucideBadgeCheck:_r,LucideBadgeDollarSign:rd,LucideBadgeEuro:nd,LucideBadgeHelp:id,LucideBadgeIndianRupee:od,LucideBadgeInfo:sd,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:ld,LucideBadgePercent:dd,LucideBadgePlus:hd,LucideBadgePoundSterling:ud,LucideBadgeRussianRuble:pd,LucideBadgeSwissFranc:yd,LucideBadgeX:md,LucideBaggageClaim:xd,LucideBan:kd,LucideBanana:gd,LucideBandage:vd,LucideBanknote:wd,LucideBarChart:Ba,LucideBarChart2:$r,LucideBarChart3:Br,LucideBarChart4:Vr,LucideBarChartBig:Or,LucideBarChartHorizontal:Er,LucideBarChartHorizontalBig:Fr,LucideBarcode:Md,LucideBaseline:bd,LucideBath:Cd,LucideBattery:Ad,LucideBatteryCharging:jd,LucideBatteryFull:Ld,LucideBatteryLow:Sd,LucideBatteryMedium:Id,LucideBatteryWarning:Nd,LucideBeaker:_d,LucideBean:qd,LucideBeanOff:Pd,LucideBed:Dd,LucideBedDouble:Td,LucideBedSingle:Rd,LucideBeef:zd,LucideBeer:Ed,LucideBeerOff:Fd,LucideBell:gs,LucideBellDot:Hd,LucideBellElectric:Od,LucideBellMinus:Vd,LucideBellOff:Bd,LucideBellPlus:Ud,LucideBellRing:$d,LucideBetweenHorizonalEnd:Pr,LucideBetweenHorizonalStart:qr,LucideBetweenHorizontalEnd:Pr,LucideBetweenHorizontalStart:qr,LucideBetweenVerticalEnd:Gd,LucideBetweenVerticalStart:Wd,LucideBicepsFlexed:Zd,LucideBike:Xd,LucideBinary:Jd,LucideBinoculars:Yd,LucideBiohazard:Kd,LucideBird:Qd,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:r2,LucideBluetooth:s2,LucideBluetoothConnected:n2,LucideBluetoothOff:i2,LucideBluetoothSearching:o2,LucideBold:c2,LucideBolt:l2,LucideBomb:d2,LucideBone:h2,LucideBook:q2,LucideBookA:u2,LucideBookAudio:p2,LucideBookCheck:y2,LucideBookCopy:m2,LucideBookDashed:Tr,LucideBookDown:f2,LucideBookHeadphones:x2,LucideBookHeart:k2,LucideBookImage:g2,LucideBookKey:v2,LucideBookLock:w2,LucideBookMarked:M2,LucideBookMinus:b2,LucideBookOpen:Wt,LucideBookOpenCheck:C2,LucideBookOpenText:j2,LucideBookPlus:L2,LucideBookTemplate:Tr,LucideBookText:S2,LucideBookType:I2,LucideBookUp:A2,LucideBookUp2:N2,LucideBookUser:_2,LucideBookX:P2,LucideBookmark:Xa,LucideBookmarkCheck:da,LucideBookmarkMinus:T2,LucideBookmarkPlus:uc,LucideBookmarkX:R2,LucideBoomBox:D2,LucideBot:pc,LucideBotMessageSquare:z2,LucideBotOff:F2,LucideBox:E2,LucideBoxSelect:Xi,LucideBoxes:H2,LucideBraces:Rr,LucideBrackets:O2,LucideBrain:U2,LucideBrainCircuit:V2,LucideBrainCog:B2,LucideBrickWall:$2,LucideBriefcase:vt,LucideBriefcaseBusiness:G2,LucideBriefcaseConveyorBelt:W2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBug:Q2,LucideBugOff:Y2,LucideBugPlay:K2,LucideBuilding:vs,LucideBuilding2:yc,LucideBus:t0,LucideBusFront:e0,LucideCable:r0,LucideCableCar:a0,LucideCake:i0,LucideCakeSlice:n0,LucideCalculator:o0,LucideCalendar:mc,LucideCalendarArrowDown:s0,LucideCalendarArrowUp:c0,LucideCalendarCheck:d0,LucideCalendarCheck2:l0,LucideCalendarClock:h0,LucideCalendarCog:u0,LucideCalendarDays:p0,LucideCalendarFold:y0,LucideCalendarHeart:m0,LucideCalendarMinus:x0,LucideCalendarMinus2:f0,LucideCalendarOff:k0,LucideCalendarPlus:v0,LucideCalendarPlus2:g0,LucideCalendarRange:w0,LucideCalendarSearch:M0,LucideCalendarX:C0,LucideCalendarX2:b0,LucideCamera:L0,LucideCameraOff:j0,LucideCandlestickChart:Hr,LucideCandy:N0,LucideCandyCane:S0,LucideCandyOff:I0,LucideCannabis:A0,LucideCaptions:Dr,LucideCaptionsOff:_0,LucideCar:T0,LucideCarFront:P0,LucideCarTaxiFront:q0,LucideCaravan:R0,LucideCarrot:D0,LucideCaseLower:z0,LucideCaseSensitive:F0,LucideCaseUpper:E0,LucideCassetteTape:H0,LucideCast:O0,LucideCastle:V0,LucideCat:B0,LucideCctv:U0,LucideChartArea:zr,LucideChartBar:Er,LucideChartBarBig:Fr,LucideChartBarDecreasing:$0,LucideChartBarIncreasing:G0,LucideChartBarStacked:W0,LucideChartCandlestick:Hr,LucideChartColumn:Br,LucideChartColumnBig:Or,LucideChartColumnDecreasing:Z0,LucideChartColumnIncreasing:Vr,LucideChartColumnStacked:X0,LucideChartGantt:J0,LucideChartLine:Ur,LucideChartNetwork:Y0,LucideChartNoAxesColumn:$r,LucideChartNoAxesColumnDecreasing:K0,LucideChartNoAxesColumnIncreasing:Ba,LucideChartNoAxesCombined:Q0,LucideChartNoAxesGantt:Gr,LucideChartPie:Wr,LucideChartScatter:Zr,LucideChartSpline:eh,LucideCheck:ws,LucideCheckCheck:th,LucideCheckCircle:Nt,LucideCheckCircle2:rn,LucideCheckSquare:Hi,LucideCheckSquare2:Oi,LucideChefHat:ah,LucideCherry:rh,LucideChevronDown:Go,LucideChevronDownCircle:nn,LucideChevronDownSquare:Vi,LucideChevronFirst:nh,LucideChevronLast:ih,LucideChevronLeft:Wo,LucideChevronLeftCircle:on,LucideChevronLeftSquare:Bi,LucideChevronRight:Ja,LucideChevronRightCircle:sn,LucideChevronRightSquare:Ui,LucideChevronUp:fc,LucideChevronUpCircle:cn,LucideChevronUpSquare:$i,LucideChevronsDown:sh,LucideChevronsDownUp:oh,LucideChevronsLeft:dh,LucideChevronsLeftRight:lh,LucideChevronsLeftRightEllipsis:ch,LucideChevronsRight:uh,LucideChevronsRightLeft:hh,LucideChevronsUp:yh,LucideChevronsUpDown:ph,LucideChrome:mh,LucideChurch:fh,LucideCigarette:kh,LucideCigaretteOff:xh,LucideCircle:Nh,LucideCircleAlert:Bt,LucideCircleArrowDown:Xr,LucideCircleArrowLeft:Jr,LucideCircleArrowOutDownLeft:Yr,LucideCircleArrowOutDownRight:Kr,LucideCircleArrowOutUpLeft:Qr,LucideCircleArrowOutUpRight:en,LucideCircleArrowRight:tn,LucideCircleArrowUp:an,LucideCircleCheck:rn,LucideCircleCheckBig:Nt,LucideCircleChevronDown:nn,LucideCircleChevronLeft:on,LucideCircleChevronRight:sn,LucideCircleChevronUp:cn,LucideCircleDashed:gh,LucideCircleDivide:ln,LucideCircleDollarSign:vh,LucideCircleDot:Mh,LucideCircleDotDashed:wh,LucideCircleEllipsis:bh,LucideCircleEqual:Ch,LucideCircleFadingArrowUp:jh,LucideCircleFadingPlus:Lh,LucideCircleGauge:dn,LucideCircleHelp:Ua,LucideCircleMinus:hn,LucideCircleOff:Sh,LucideCircleParking:pn,LucideCircleParkingOff:un,LucideCirclePause:yn,LucideCirclePercent:mn,LucideCirclePlay:fn,LucideCirclePlus:xn,LucideCirclePower:kn,LucideCircleSlash:Ih,LucideCircleSlash2:gn,LucideCircleSlashed:gn,LucideCircleStop:vn,LucideCircleUser:Mn,LucideCircleUserRound:wn,LucideCircleX:ia,LucideCircuitBoard:Ah,LucideCitrus:_h,LucideClapperboard:Ph,LucideClipboard:Oh,LucideClipboardCheck:qh,LucideClipboardCopy:Th,LucideClipboardEdit:Cn,LucideClipboardList:Rh,LucideClipboardMinus:Dh,LucideClipboardPaste:zh,LucideClipboardPen:Cn,LucideClipboardPenLine:bn,LucideClipboardPlus:Fh,LucideClipboardSignature:bn,LucideClipboardType:Eh,LucideClipboardX:Hh,LucideClock:Qt,LucideClock1:Vh,LucideClock10:Bh,LucideClock11:Uh,LucideClock12:$h,LucideClock2:Gh,LucideClock3:Wh,LucideClock4:Zh,LucideClock5:Xh,LucideClock6:Jh,LucideClock7:Yh,LucideClock8:Kh,LucideClock9:Qh,LucideClockAlert:eu,LucideClockArrowDown:tu,LucideClockArrowUp:au,LucideCloud:fu,LucideCloudCog:ru,LucideCloudDownload:jn,LucideCloudDrizzle:nu,LucideCloudFog:iu,LucideCloudHail:ou,LucideCloudLightning:su,LucideCloudMoon:lu,LucideCloudMoonRain:cu,LucideCloudOff:du,LucideCloudRain:uu,LucideCloudRainWind:hu,LucideCloudSnow:pu,LucideCloudSun:mu,LucideCloudSunRain:yu,LucideCloudUpload:Ln,LucideCloudy:xu,LucideClover:ku,LucideClub:gu,LucideCode:vu,LucideCode2:Sn,LucideCodeSquare:Gi,LucideCodeXml:Sn,LucideCodepen:wu,LucideCodesandbox:Mu,LucideCoffee:bu,LucideCog:Cu,LucideCoins:ju,LucideColumns:In,LucideColumns2:In,LucideColumns3:Nn,LucideColumns4:Lu,LucideCombine:Su,LucideCommand:Iu,LucideCompass:Nu,LucideComponent:Au,LucideComputer:_u,LucideConciergeBell:Pu,LucideCone:qu,LucideConstruction:Tu,LucideContact:Ru,LucideContact2:An,LucideContactRound:An,LucideContainer:Du,LucideContrast:zu,LucideCookie:Fu,LucideCookingPot:Eu,LucideCopy:$u,LucideCopyCheck:Hu,LucideCopyMinus:Ou,LucideCopyPlus:Vu,LucideCopySlash:Bu,LucideCopyX:Uu,LucideCopyleft:Gu,LucideCopyright:Wu,LucideCornerDownLeft:Zu,LucideCornerDownRight:Xu,LucideCornerLeftDown:Ju,LucideCornerLeftUp:Yu,LucideCornerRightDown:Ku,LucideCornerRightUp:Qu,LucideCornerUpLeft:ep,LucideCornerUpRight:tp,LucideCpu:ap,LucideCreativeCommons:rp,LucideCreditCard:xc,LucideCroissant:np,LucideCrop:ip,LucideCross:op,LucideCrosshair:sp,LucideCrown:cp,LucideCuboid:lp,LucideCupSoda:dp,LucideCurlyBraces:Rr,LucideCurrency:hp,LucideCylinder:up,LucideDam:pp,LucideDatabase:fp,LucideDatabaseBackup:yp,LucideDatabaseZap:mp,LucideDelete:xp,LucideDessert:kp,LucideDiameter:gp,LucideDiamond:Mp,LucideDiamondMinus:vp,LucideDiamondPercent:_n,LucideDiamondPlus:wp,LucideDice1:bp,LucideDice2:Cp,LucideDice3:jp,LucideDice4:Lp,LucideDice5:Sp,LucideDice6:Ip,LucideDices:Np,LucideDiff:Ap,LucideDisc:Tp,LucideDisc2:_p,LucideDisc3:Pp,LucideDiscAlbum:qp,LucideDivide:Rp,LucideDivideCircle:ln,LucideDivideSquare:Ji,LucideDna:zp,LucideDnaOff:Dp,LucideDock:Fp,LucideDog:Ep,LucideDollarSign:kc,LucideDonut:Hp,LucideDoorClosed:Op,LucideDoorOpen:Vp,LucideDot:Bp,LucideDotSquare:Yi,LucideDownload:Up,LucideDownloadCloud:jn,LucideDraftingCompass:$p,LucideDrama:Gp,LucideDribbble:Wp,LucideDrill:Zp,LucideDroplet:Xp,LucideDroplets:Jp,LucideDrum:Yp,LucideDrumstick:Kp,LucideDumbbell:Qp,LucideEar:ty,LucideEarOff:ey,LucideEarth:Pn,LucideEarthLock:ay,LucideEclipse:ry,LucideEdit:St,LucideEdit2:xi,LucideEdit3:fi,LucideEgg:oy,LucideEggFried:ny,LucideEggOff:iy,LucideEllipsis:Tn,LucideEllipsisVertical:qn,LucideEqual:cy,LucideEqualNot:sy,LucideEqualSquare:Ki,LucideEraser:ly,LucideEthernetPort:dy,LucideEuro:hy,LucideExpand:uy,LucideExternalLink:Zo,LucideEye:gc,LucideEyeClosed:py,LucideEyeOff:yy,LucideFacebook:my,LucideFactory:fy,LucideFan:xy,LucideFastForward:ky,LucideFeather:gy,LucideFence:vy,LucideFerrisWheel:wy,LucideFigma:My,LucideFile:gm,LucideFileArchive:by,LucideFileAudio:jy,LucideFileAudio2:Cy,LucideFileAxis3D:Rn,LucideFileAxis3d:Rn,LucideFileBadge:Sy,LucideFileBadge2:Ly,LucideFileBarChart:Dn,LucideFileBarChart2:zn,LucideFileBox:Iy,LucideFileChartColumn:zn,LucideFileChartColumnIncreasing:Dn,LucideFileChartLine:Fn,LucideFileChartPie:En,LucideFileCheck:Ay,LucideFileCheck2:Ny,LucideFileClock:_y,LucideFileCode:qy,LucideFileCode2:Py,LucideFileCog:Hn,LucideFileCog2:Hn,LucideFileDiff:Ty,LucideFileDigit:Ry,LucideFileDown:Dy,LucideFileEdit:Vn,LucideFileHeart:zy,LucideFileImage:Fy,LucideFileInput:Ey,LucideFileJson:Oy,LucideFileJson2:Hy,LucideFileKey:By,LucideFileKey2:Vy,LucideFileLineChart:Fn,LucideFileLock:$y,LucideFileLock2:Uy,LucideFileMinus:Wy,LucideFileMinus2:Gy,LucideFileMusic:Zy,LucideFileOutput:Xy,LucideFilePen:Vn,LucideFilePenLine:On,LucideFilePieChart:En,LucideFilePlus:Yy,LucideFilePlus2:Jy,LucideFileQuestion:Ky,LucideFileScan:Qy,LucideFileSearch:tm,LucideFileSearch2:em,LucideFileSignature:On,LucideFileSliders:am,LucideFileSpreadsheet:rm,LucideFileStack:nm,LucideFileSymlink:im,LucideFileTerminal:om,LucideFileText:sm,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:wm,LucideFilter:Ms,LucideFilterX:Mm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Sm,LucideFishOff:jm,LucideFishSymbol:Lm,LucideFlag:vc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:Pm,LucideFlameKindling:_m,LucideFlashlight:Tm,LucideFlashlightOff:qm,LucideFlaskConical:Dm,LucideFlaskConicalOff:Rm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Om,LucideFlipVertical2:Hm,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Gm,LucideFolder:wf,LucideFolderArchive:Wm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:Bn,LucideFolderCog2:Bn,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:Un,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:of,LucideFolderLock:sf,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:Un,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:Mf,LucideFootprints:bf,LucideForkKnife:Eo,LucideForkKnifeCrossed:Fo,LucideForklift:Cf,LucideFormInput:gi,LucideForward:jf,LucideFrame:Lf,LucideFramer:Sf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:Qi,LucideGalleryHorizontal:Pf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:qf,LucideGalleryVertical:Rf,LucideGalleryVerticalEnd:Tf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Gr,LucideGanttChartSquare:ra,LucideGauge:Ff,LucideGaugeCircle:dn,LucideGavel:Ef,LucideGem:Hf,LucideGhost:Of,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:$n,LucideGitCommitHorizontal:$n,LucideGitCommitVertical:$f,LucideGitCompare:Wf,LucideGitCompareArrows:Gf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:i4,LucideGlasses:o4,LucideGlobe:bs,LucideGlobe2:Pn,LucideGlobeLock:s4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:Cs,LucideGrape:d4,LucideGrid:Jt,LucideGrid2X2:Gn,LucideGrid2x2:Gn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:w4,LucideHandHeart:M4,LucideHandHelping:Wn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:L4,LucideHardDrive:N4,LucideHardDriveDownload:S4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:_4,LucideHaze:P4,LucideHdmiPort:q4,LucideHeading:H4,LucideHeading1:T4,LucideHeading2:R4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:O4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:js,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:G4,LucideHeartPulse:W4,LucideHeater:Z4,LucideHelpCircle:Ua,LucideHelpingHand:Wn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:Ma,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:Ma,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:Xn,LucideIceCream2:Zn,LucideIceCreamBowl:Zn,LucideIceCreamCone:Xn,LucideIdCard:ix,LucideImage:ux,LucideImageDown:ox,LucideImageMinus:sx,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:Yn,LucideIndentDecrease:Jn,LucideIndentIncrease:Yn,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:io,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:wx,LucideIterationCcw:Mx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Lx,LucideKanbanSquare:eo,LucideKanbanSquareDashed:Wi,LucideKey:Nx,LucideKeyRound:Sx,LucideKeySquare:Ix,LucideKeyboard:Px,LucideKeyboardMusic:Ax,LucideKeyboardOff:_x,LucideLamp:Fx,LucideLampCeiling:qx,LucideLampDesk:Tx,LucideLampFloor:Rx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Hx,LucideLanguages:Ox,LucideLaptop:Vx,LucideLaptop2:Kn,LucideLaptopMinimal:Kn,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Gx,LucideLayers3:Wx,LucideLayout:mi,LucideLayoutDashboard:wc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ik,LucideLibraryBig:nk,LucideLibrarySquare:to,LucideLifeBuoy:ok,LucideLigature:sk,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:Ur,LucideLink:Mc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:bc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:wk,LucideListRestart:Mk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Lk,LucideListX:Sk,LucideLoader:Nk,LucideLoader2:Qn,LucideLoaderCircle:Qn,LucideLoaderPinwheel:Ik,LucideLocate:Pk,LucideLocateFixed:Ak,LucideLocateOff:_k,LucideLock:Cc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:ei,LucideLockOpen:ti,LucideLogIn:Tk,LucideLogOut:jc,LucideLogs:Rk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:ao,LucideMagnet:Fk,LucideMail:ha,LucideMailCheck:Ek,LucideMailMinus:Hk,LucideMailOpen:Ok,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Gk,LucideMailbox:Wk,LucideMails:Zk,LucideMap:og,LucideMapPin:Zt,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:ig,LucideMartini:sg,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Ls,LucideMenuSquare:ro,LucideMerge:mg,LucideMessageCircle:Lg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:wg,LucideMessageCircleQuestion:Mg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:Ss,LucideMessageSquareCode:Sg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Pg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Tg,LucideMessageSquarePlus:Rg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Og,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:ai,LucideMicOff:Bg,LucideMicVocal:ai,LucideMicrochip:$g,LucideMicroscope:Gg,LucideMicrowave:Wg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:Lc,LucideMinusCircle:hn,LucideMinusSquare:no,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:i5,LucideMonitorSmartphone:o5,LucideMonitorSpeaker:s5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:Tn,LucideMoreVertical:qn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:w5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Zi,LucideMove:T5,LucideMove3D:ri,LucideMove3d:ri,LucideMoveDiagonal:b5,LucideMoveDiagonal2:M5,LucideMoveDown:L5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:S5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:P5,LucideMoveUpLeft:A5,LucideMoveUpRight:_5,LucideMoveVertical:q5,LucideMusic:F5,LucideMusic2:R5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:H5,LucideNavigation2Off:E5,LucideNavigationOff:O5,LucideNetwork:B5,LucideNewspaper:Sa,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:G5,LucideNotebookText:W5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:ni,LucideOctagonMinus:Q5,LucideOctagonPause:ii,LucideOctagonX:oi,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Jn,LucidePackage:u3,LucidePackage2:i3,LucidePackageCheck:o3,LucidePackageMinus:s3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:si,LucidePaintbrushVertical:si,LucidePalette:f3,LucidePalmtree:So,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:ci,LucidePanelBottomInactive:ci,LucidePanelBottomOpen:k3,LucidePanelLeft:ui,LucidePanelLeftClose:li,LucidePanelLeftDashed:di,LucidePanelLeftInactive:di,LucidePanelLeftOpen:hi,LucidePanelRight:M3,LucidePanelRightClose:v3,LucidePanelRightDashed:pi,LucidePanelRightInactive:pi,LucidePanelRightOpen:w3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:yi,LucidePanelTopInactive:yi,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:Nn,LucidePanelsRightBottom:S3,LucidePanelsTopBottom:Mi,LucidePanelsTopLeft:mi,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:pn,LucideParkingCircleOff:un,LucideParkingMeter:A3,LucideParkingSquare:so,LucideParkingSquareOff:oo,LucidePartyPopper:_3,LucidePause:P3,LucidePauseCircle:yn,LucidePauseOctagon:ii,LucidePawPrint:q3,LucidePcCase:T3,LucidePen:xi,LucidePenBox:St,LucidePenLine:fi,LucidePenOff:R3,LucidePenSquare:St,LucidePenTool:D3,LucidePencil:H3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:O3,LucidePercent:V3,LucidePercentCircle:mn,LucidePercentDiamond:_n,LucidePercentSquare:co,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:Xo,LucidePhoneCall:$3,LucidePhoneForwarded:G3,LucidePhoneIncoming:W3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:lo,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:Wr,LucidePiggyBank:av,LucidePilcrow:iv,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:ho,LucidePill:sv,LucidePillBottle:ov,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:Sc,LucidePlayCircle:fn,LucidePlaySquare:uo,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:ki,LucidePlugZap2:ki,LucidePlus:Is,LucidePlusCircle:xn,LucidePlusSquare:po,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:wv,LucidePointerOff:vv,LucidePopcorn:Mv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Lv,LucidePowerCircle:kn,LucidePowerOff:jv,LucidePowerSquare:yo,LucidePresentation:Sv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:_v,LucidePuzzle:Pv,LucidePyramid:qv,LucideQrCode:Tv,LucideQuote:Ns,LucideRabbit:Rv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Ov,LucideRadioReceiver:Ev,LucideRadioTower:Hv,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Gv,LucideReceipt:t6,LucideReceiptCent:Wv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:gi,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:s6,LucideRedo2:i6,LucideRedoDot:o6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:w6,LucideReplyAll:v6,LucideRewind:M6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:L6,LucideRotate3D:vi,LucideRotate3d:vi,LucideRotateCcw:I6,LucideRotateCcwSquare:S6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:P6,LucideRouteOff:_6,LucideRouter:q6,LucideRows:wi,LucideRows2:wi,LucideRows3:Mi,LucideRows4:T6,LucideRss:R6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:H6,LucideSatellite:V6,LucideSatelliteDish:O6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:G6,LucideScale3D:bi,LucideScale3d:bi,LucideScaling:W6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Zr,LucideSchool:a8,LucideSchool2:Ao,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:mo,LucideScissorsSquareDashedBottom:Ei,LucideScreenShare:o8,LucideScreenShareOff:i8,LucideScroll:c8,LucideScrollText:s8,LucideSearch:Xt,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:Ic,LucideSendHorizonal:Ci,LucideSendHorizontal:Ci,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:As,LucideSettings2:w8,LucideShapes:M8,LucideShare:b8,LucideShare2:_s,LucideSheet:C8,LucideShell:j8,LucideShield:Nc,LucideShieldAlert:L8,LucideShieldBan:S8,LucideShieldCheck:I8,LucideShieldClose:ji,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:_8,LucideShieldOff:P8,LucideShieldPlus:q8,LucideShieldQuestion:T8,LucideShieldX:ji,LucideShip:D8,LucideShipWheel:R8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Ps,LucideShovel:H8,LucideShowerHead:O8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:ui,LucideSidebarClose:li,LucideSidebarOpen:hi,LucideSigma:$8,LucideSigmaSquare:fo,LucideSignal:Ac,LucideSignalHigh:G8,LucideSignalLow:W8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:xo,LucideSlice:i7,LucideSliders:Li,LucideSlidersHorizontal:Ya,LucideSlidersVertical:Li,LucideSmartphone:c7,LucideSmartphoneCharging:o7,LucideSmartphoneNfc:s7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:Ir,LucideSortDesc:jr,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:$a,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:w7,LucideSpellCheck2:v7,LucideSpline:M7,LucideSplit:b7,LucideSplitSquareHorizontal:ko,LucideSplitSquareVertical:go,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:_7,LucideSquareActivity:Si,LucideSquareArrowDown:Ai,LucideSquareArrowDownLeft:Ii,LucideSquareArrowDownRight:Ni,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:_i,LucideSquareArrowOutDownRight:Pi,LucideSquareArrowOutUpLeft:qi,LucideSquareArrowOutUpRight:Ti,LucideSquareArrowRight:Ca,LucideSquareArrowUp:zi,LucideSquareArrowUpLeft:Ri,LucideSquareArrowUpRight:Di,LucideSquareAsterisk:Fi,LucideSquareBottomDashedScissors:Ei,LucideSquareChartGantt:ra,LucideSquareCheck:Oi,LucideSquareCheckBig:Hi,LucideSquareChevronDown:Vi,LucideSquareChevronLeft:Bi,LucideSquareChevronRight:Ui,LucideSquareChevronUp:$i,LucideSquareCode:Gi,LucideSquareDashed:Xi,LucideSquareDashedBottom:S7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Wi,LucideSquareDashedMousePointer:Zi,LucideSquareDivide:Ji,LucideSquareDot:Yi,LucideSquareEqual:Ki,LucideSquareFunction:Qi,LucideSquareGanttChart:ra,LucideSquareKanban:eo,LucideSquareLibrary:to,LucideSquareM:ao,LucideSquareMenu:ro,LucideSquareMinus:no,LucideSquareMousePointer:io,LucideSquareParking:so,LucideSquareParkingOff:oo,LucideSquarePen:St,LucideSquarePercent:co,LucideSquarePi:lo,LucideSquarePilcrow:ho,LucideSquarePlay:uo,LucideSquarePlus:po,LucideSquarePower:yo,LucideSquareRadical:I7,LucideSquareScissors:mo,LucideSquareSigma:fo,LucideSquareSlash:xo,LucideSquareSplitHorizontal:ko,LucideSquareSplitVertical:go,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:vo,LucideSquareUser:Mo,LucideSquareUserRound:wo,LucideSquareX:bo,LucideSquircle:P7,LucideSquirrel:q7,LucideStamp:T7,LucideStar:Ut,LucideStarHalf:R7,LucideStarOff:D7,LucideStars:$a,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:H7,LucideStickyNote:O7,LucideStopCircle:vn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:G7,LucideSubtitles:Dr,LucideSun:Y7,LucideSunDim:W7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:ew,LucideSwatchBook:tw,LucideSwissFranc:aw,LucideSwitchCamera:rw,LucideSword:nw,LucideSwords:iw,LucideSyringe:ow,LucideTable:yw,LucideTable2:sw,LucideTableCellsMerge:cw,LucideTableCellsSplit:lw,LucideTableColumnsSplit:dw,LucideTableOfContents:hw,LucideTableProperties:uw,LucideTableRowsSplit:pw,LucideTablet:fw,LucideTabletSmartphone:mw,LucideTablets:xw,LucideTag:_c,LucideTags:kw,LucideTally1:gw,LucideTally2:vw,LucideTally3:ww,LucideTally4:Mw,LucideTally5:bw,LucideTangent:Cw,LucideTarget:jw,LucideTelescope:Lw,LucideTent:Iw,LucideTentTree:Sw,LucideTerminal:Nw,LucideTerminalSquare:vo,LucideTestTube:Aw,LucideTestTube2:Co,LucideTestTubeDiagonal:Co,LucideTestTubes:_w,LucideText:Dw,LucideTextCursor:qw,LucideTextCursorInput:Pw,LucideTextQuote:Tw,LucideTextSearch:Rw,LucideTextSelect:jo,LucideTextSelection:jo,LucideTheater:zw,LucideThermometer:Hw,LucideThermometerSnowflake:Fw,LucideThermometerSun:Ew,LucideThumbsDown:Ow,LucideThumbsUp:Vw,LucideTicket:Xw,LucideTicketCheck:Bw,LucideTicketMinus:Uw,LucideTicketPercent:$w,LucideTicketPlus:Gw,LucideTicketSlash:Ww,LucideTicketX:Zw,LucideTickets:Yw,LucideTicketsPlane:Jw,LucideTimer:eM,LucideTimerOff:Kw,LucideTimerReset:Qw,LucideToggleLeft:tM,LucideToggleRight:aM,LucideTornado:rM,LucideTorus:nM,LucideTouchpad:oM,LucideTouchpadOff:iM,LucideTowerControl:sM,LucideToyBrick:cM,LucideTractor:lM,LucideTrafficCone:dM,LucideTrain:Lo,LucideTrainFront:uM,LucideTrainFrontTunnel:hM,LucideTrainTrack:pM,LucideTramFront:Lo,LucideTrash:yM,LucideTrash2:Pc,LucideTreeDeciduous:mM,LucideTreePalm:So,LucideTreePine:fM,LucideTrees:xM,LucideTrello:kM,LucideTrendingDown:gM,LucideTrendingUp:Jo,LucideTrendingUpDown:vM,LucideTriangle:MM,LucideTriangleAlert:Io,LucideTriangleRight:wM,LucideTrophy:bM,LucideTruck:CM,LucideTurtle:jM,LucideTv:SM,LucideTv2:No,LucideTvMinimal:No,LucideTvMinimalPlay:LM,LucideTwitch:IM,LucideTwitter:NM,LucideType:_M,LucideTypeOutline:AM,LucideUmbrella:qM,LucideUmbrellaOff:PM,LucideUnderline:TM,LucideUndo:zM,LucideUndo2:RM,LucideUndoDot:DM,LucideUnfoldHorizontal:FM,LucideUnfoldVertical:EM,LucideUngroup:HM,LucideUniversity:Ao,LucideUnlink:VM,LucideUnlink2:OM,LucideUnlock:ti,LucideUnlockKeyhole:ei,LucideUnplug:BM,LucideUpload:qs,LucideUploadCloud:Ln,LucideUsb:UM,LucideUser:qc,LucideUser2:Do,LucideUserCheck:$M,LucideUserCheck2:_o,LucideUserCircle:Mn,LucideUserCircle2:wn,LucideUserCog:GM,LucideUserCog2:Po,LucideUserMinus:WM,LucideUserMinus2:qo,LucideUserPen:ZM,LucideUserPlus:XM,LucideUserPlus2:To,LucideUserRound:Do,LucideUserRoundCheck:_o,LucideUserRoundCog:Po,LucideUserRoundMinus:qo,LucideUserRoundPen:JM,LucideUserRoundPlus:To,LucideUserRoundSearch:YM,LucideUserRoundX:Ro,LucideUserSearch:KM,LucideUserSquare:Mo,LucideUserSquare2:wo,LucideUserX:QM,LucideUserX2:Ro,LucideUsers:Ia,LucideUsers2:zo,LucideUsersRound:zo,LucideUtensils:Eo,LucideUtensilsCrossed:Fo,LucideUtilityPole:eb,LucideVariable:tb,LucideVault:ab,LucideVegan:rb,LucideVenetianMask:nb,LucideVerified:_r,LucideVibrate:ob,LucideVibrateOff:ib,LucideVideo:cb,LucideVideoOff:sb,LucideVideotape:lb,LucideView:db,LucideVoicemail:hb,LucideVolleyball:ub,LucideVolume:xb,LucideVolume1:pb,LucideVolume2:yb,LucideVolumeOff:mb,LucideVolumeX:fb,LucideVote:kb,LucideWallet:vb,LucideWallet2:Ho,LucideWalletCards:gb,LucideWalletMinimal:Ho,LucideWallpaper:wb,LucideWand:Mb,LucideWand2:Oo,LucideWandSparkles:Oo,LucideWarehouse:bb,LucideWashingMachine:Cb,LucideWatch:jb,LucideWaves:Lb,LucideWaypoints:Sb,LucideWebcam:Ib,LucideWebhook:Ab,LucideWebhookOff:Nb,LucideWeight:_b,LucideWheat:qb,LucideWheatOff:Pb,LucideWholeWord:Tb,LucideWifi:Eb,LucideWifiHigh:Rb,LucideWifiLow:Db,LucideWifiOff:zb,LucideWifiZero:Fb,LucideWind:Hb,LucideWine:Vb,LucideWineOff:Ob,LucideWorkflow:Bb,LucideWorm:Ub,LucideWrapText:$b,LucideWrench:Gb,LucideX:Tt,LucideXCircle:ia,LucideXOctagon:oi,LucideXSquare:bo,LucideYoutube:Wb,LucideZap:Xb,LucideZapOff:Zb,LucideZoomIn:Jb,LucideZoomOut:Yb,Luggage:zk,LuggageIcon:zk,MSquare:ao,MSquareIcon:ao,Magnet:Fk,MagnetIcon:Fk,Mail:ha,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:ha,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Ok,MailOpenIcon:Ok,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Gk,MailXIcon:Gk,Mailbox:Wk,MailboxIcon:Wk,Mails:Zk,MailsIcon:Zk,Map:og,MapIcon:og,MapPin:Zt,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Zt,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:ig,MapPinnedIcon:ig,Martini:sg,MartiniIcon:sg,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Ls,MenuIcon:Ls,MenuSquare:ro,MenuSquareIcon:ro,Merge:mg,MergeIcon:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Lg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:wg,MessageCirclePlusIcon:wg,MessageCircleQuestion:Mg,MessageCircleQuestionIcon:Mg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:Ss,MessageSquareCode:Sg,MessageSquareCodeIcon:Sg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:Ss,MessageSquareLock:Pg,MessageSquareLockIcon:Pg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Tg,MessageSquareOffIcon:Tg,MessageSquarePlus:Rg,MessageSquarePlusIcon:Rg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Og,MessageSquareXIcon:Og,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:ai,Mic2Icon:ai,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:ai,MicVocalIcon:ai,Microchip:$g,MicrochipIcon:$g,Microscope:Gg,MicroscopeIcon:Gg,Microwave:Wg,MicrowaveIcon:Wg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:Lc,MinusCircle:hn,MinusCircleIcon:hn,MinusIcon:Lc,MinusSquare:no,MinusSquareIcon:no,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:o5,MonitorSmartphoneIcon:o5,MonitorSpeaker:s5,MonitorSpeakerIcon:s5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:Tn,MoreHorizontalIcon:Tn,MoreVertical:qn,MoreVerticalIcon:qn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:w5,MouseIcon:w5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Zi,MousePointerSquareDashedIcon:Zi,Move:T5,Move3D:ri,Move3DIcon:ri,Move3d:ri,Move3dIcon:ri,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDiagonal2Icon:M5,MoveDiagonalIcon:b5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:S5,MoveHorizontalIcon:S5,MoveIcon:T5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:P5,MoveUpIcon:P5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:q5,MoveVerticalIcon:q5,Music:F5,Music2:R5,Music2Icon:R5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:O5,NavigationOffIcon:O5,Network:B5,NetworkIcon:B5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:G5,NotebookTabsIcon:G5,NotebookText:W5,NotebookTextIcon:W5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:ni,OctagonAlertIcon:ni,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:ii,OctagonPauseIcon:ii,OctagonX:oi,OctagonXIcon:oi,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Jn,OutdentIcon:Jn,Package:u3,Package2:i3,Package2Icon:i3,PackageCheck:o3,PackageCheckIcon:o3,PackageIcon:u3,PackageMinus:s3,PackageMinusIcon:s3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:si,Paintbrush2Icon:si,PaintbrushIcon:m3,PaintbrushVertical:si,PaintbrushVerticalIcon:si,Palette:f3,PaletteIcon:f3,Palmtree:So,PalmtreeIcon:So,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:ci,PanelBottomDashedIcon:ci,PanelBottomIcon:g3,PanelBottomInactive:ci,PanelBottomInactiveIcon:ci,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:ui,PanelLeftClose:li,PanelLeftCloseIcon:li,PanelLeftDashed:di,PanelLeftDashedIcon:di,PanelLeftIcon:ui,PanelLeftInactive:di,PanelLeftInactiveIcon:di,PanelLeftOpen:hi,PanelLeftOpenIcon:hi,PanelRight:M3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:pi,PanelRightDashedIcon:pi,PanelRightIcon:M3,PanelRightInactive:pi,PanelRightInactiveIcon:pi,PanelRightOpen:w3,PanelRightOpenIcon:w3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:yi,PanelTopDashedIcon:yi,PanelTopIcon:j3,PanelTopInactive:yi,PanelTopInactiveIcon:yi,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:Nn,PanelsLeftRightIcon:Nn,PanelsRightBottom:S3,PanelsRightBottomIcon:S3,PanelsTopBottom:Mi,PanelsTopBottomIcon:Mi,PanelsTopLeft:mi,PanelsTopLeftIcon:mi,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:pn,ParkingCircleIcon:pn,ParkingCircleOff:un,ParkingCircleOffIcon:un,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:so,ParkingSquareIcon:so,ParkingSquareOff:oo,ParkingSquareOffIcon:oo,PartyPopper:_3,PartyPopperIcon:_3,Pause:P3,PauseCircle:yn,PauseCircleIcon:yn,PauseIcon:P3,PauseOctagon:ii,PauseOctagonIcon:ii,PawPrint:q3,PawPrintIcon:q3,PcCase:T3,PcCaseIcon:T3,Pen:xi,PenBox:St,PenBoxIcon:St,PenIcon:xi,PenLine:fi,PenLineIcon:fi,PenOff:R3,PenOffIcon:R3,PenSquare:St,PenSquareIcon:St,PenTool:D3,PenToolIcon:D3,Pencil:H3,PencilIcon:H3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:O3,PentagonIcon:O3,Percent:V3,PercentCircle:mn,PercentCircleIcon:mn,PercentDiamond:_n,PercentDiamondIcon:_n,PercentIcon:V3,PercentSquare:co,PercentSquareIcon:co,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:Xo,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:G3,PhoneForwardedIcon:G3,PhoneIcon:Xo,PhoneIncoming:W3,PhoneIncomingIcon:W3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:lo,PiSquareIcon:lo,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:Wr,PieChartIcon:Wr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:ho,PilcrowSquareIcon:ho,Pill:sv,PillBottle:ov,PillBottleIcon:ov,PillIcon:sv,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:Sc,PlayCircle:fn,PlayCircleIcon:fn,PlayIcon:Sc,PlaySquare:uo,PlaySquareIcon:uo,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:ki,PlugZap2:ki,PlugZap2Icon:ki,PlugZapIcon:ki,Plus:Is,PlusCircle:xn,PlusCircleIcon:xn,PlusIcon:Is,PlusSquare:po,PlusSquareIcon:po,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:wv,PointerIcon:wv,PointerOff:vv,PointerOffIcon:vv,Popcorn:Mv,PopcornIcon:Mv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Lv,PowerCircle:kn,PowerCircleIcon:kn,PowerIcon:Lv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:yo,PowerSquareIcon:yo,Presentation:Sv,PresentationIcon:Sv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:_v,ProportionsIcon:_v,Puzzle:Pv,PuzzleIcon:Pv,Pyramid:qv,PyramidIcon:qv,QrCode:Tv,QrCodeIcon:Tv,Quote:Ns,QuoteIcon:Ns,Rabbit:Rv,RabbitIcon:Rv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Ov,RadioIcon:Ov,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Gv,RatioIcon:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptCentIcon:Wv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:gi,RectangleEllipsisIcon:gi,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:s6,Redo2:i6,Redo2Icon:i6,RedoDot:o6,RedoDotIcon:o6,RedoIcon:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:w6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:w6,Rewind:M6,RewindIcon:M6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:vi,Rotate3DIcon:vi,Rotate3d:vi,Rotate3dIcon:vi,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:S6,RotateCcwSquareIcon:S6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:P6,RouteIcon:P6,RouteOff:_6,RouteOffIcon:_6,Router:q6,RouterIcon:q6,Rows:wi,Rows2:wi,Rows2Icon:wi,Rows3:Mi,Rows3Icon:Mi,Rows4:T6,Rows4Icon:T6,RowsIcon:wi,Rss:R6,RssIcon:R6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:H6,SandwichIcon:H6,Satellite:V6,SatelliteDish:O6,SatelliteDishIcon:O6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:G6,Scale3D:bi,Scale3DIcon:bi,Scale3d:bi,Scale3dIcon:bi,ScaleIcon:G6,Scaling:W6,ScalingIcon:W6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Zr,ScatterChartIcon:Zr,School:a8,School2:Ao,School2Icon:Ao,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:mo,ScissorsSquareDashedBottom:Ei,ScissorsSquareDashedBottomIcon:Ei,ScissorsSquareIcon:mo,ScreenShare:o8,ScreenShareIcon:o8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:c8,ScrollIcon:c8,ScrollText:s8,ScrollTextIcon:s8,Search:Xt,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Xt,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:Ic,SendHorizonal:Ci,SendHorizonalIcon:Ci,SendHorizontal:Ci,SendHorizontalIcon:Ci,SendIcon:Ic,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:As,Settings2:w8,Settings2Icon:w8,SettingsIcon:As,Shapes:M8,ShapesIcon:M8,Share:b8,Share2:_s,Share2Icon:_s,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Nc,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:S8,ShieldBanIcon:S8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:ji,ShieldCloseIcon:ji,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Nc,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:P8,ShieldOffIcon:P8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:T8,ShieldQuestionIcon:T8,ShieldX:ji,ShieldXIcon:ji,Ship:D8,ShipIcon:D8,ShipWheel:R8,ShipWheelIcon:R8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Ps,ShoppingCartIcon:Ps,Shovel:H8,ShovelIcon:H8,ShowerHead:O8,ShowerHeadIcon:O8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:ui,SidebarClose:li,SidebarCloseIcon:li,SidebarIcon:ui,SidebarOpen:hi,SidebarOpenIcon:hi,Sigma:$8,SigmaIcon:$8,SigmaSquare:fo,SigmaSquareIcon:fo,Signal:Ac,SignalHigh:G8,SignalHighIcon:G8,SignalIcon:Ac,SignalLow:W8,SignalLowIcon:W8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:xo,SlashSquareIcon:xo,Slice:i7,SliceIcon:i7,Sliders:Li,SlidersHorizontal:Ya,SlidersHorizontalIcon:Ya,SlidersIcon:Li,SlidersVertical:Li,SlidersVerticalIcon:Li,Smartphone:c7,SmartphoneCharging:o7,SmartphoneChargingIcon:o7,SmartphoneIcon:c7,SmartphoneNfc:s7,SmartphoneNfcIcon:s7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:Ir,SortAscIcon:Ir,SortDesc:jr,SortDescIcon:jr,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:$a,SparklesIcon:$a,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:w7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:w7,Spline:M7,SplineIcon:M7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:ko,SplitSquareHorizontalIcon:ko,SplitSquareVertical:go,SplitSquareVerticalIcon:go,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:_7,SquareActivity:Si,SquareActivityIcon:Si,SquareArrowDown:Ai,SquareArrowDownIcon:Ai,SquareArrowDownLeft:Ii,SquareArrowDownLeftIcon:Ii,SquareArrowDownRight:Ni,SquareArrowDownRightIcon:Ni,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:_i,SquareArrowOutDownLeftIcon:_i,SquareArrowOutDownRight:Pi,SquareArrowOutDownRightIcon:Pi,SquareArrowOutUpLeft:qi,SquareArrowOutUpLeftIcon:qi,SquareArrowOutUpRight:Ti,SquareArrowOutUpRightIcon:Ti,SquareArrowRight:Ca,SquareArrowRightIcon:Ca,SquareArrowUp:zi,SquareArrowUpIcon:zi,SquareArrowUpLeft:Ri,SquareArrowUpLeftIcon:Ri,SquareArrowUpRight:Di,SquareArrowUpRightIcon:Di,SquareAsterisk:Fi,SquareAsteriskIcon:Fi,SquareBottomDashedScissors:Ei,SquareBottomDashedScissorsIcon:Ei,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Oi,SquareCheckBig:Hi,SquareCheckBigIcon:Hi,SquareCheckIcon:Oi,SquareChevronDown:Vi,SquareChevronDownIcon:Vi,SquareChevronLeft:Bi,SquareChevronLeftIcon:Bi,SquareChevronRight:Ui,SquareChevronRightIcon:Ui,SquareChevronUp:$i,SquareChevronUpIcon:$i,SquareCode:Gi,SquareCodeIcon:Gi,SquareDashed:Xi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:S7,SquareDashedIcon:Xi,SquareDashedKanban:Wi,SquareDashedKanbanIcon:Wi,SquareDashedMousePointer:Zi,SquareDashedMousePointerIcon:Zi,SquareDivide:Ji,SquareDivideIcon:Ji,SquareDot:Yi,SquareDotIcon:Yi,SquareEqual:Ki,SquareEqualIcon:Ki,SquareFunction:Qi,SquareFunctionIcon:Qi,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:_7,SquareKanban:eo,SquareKanbanIcon:eo,SquareLibrary:to,SquareLibraryIcon:to,SquareM:ao,SquareMIcon:ao,SquareMenu:ro,SquareMenuIcon:ro,SquareMinus:no,SquareMinusIcon:no,SquareMousePointer:io,SquareMousePointerIcon:io,SquareParking:so,SquareParkingIcon:so,SquareParkingOff:oo,SquareParkingOffIcon:oo,SquarePen:St,SquarePenIcon:St,SquarePercent:co,SquarePercentIcon:co,SquarePi:lo,SquarePiIcon:lo,SquarePilcrow:ho,SquarePilcrowIcon:ho,SquarePlay:uo,SquarePlayIcon:uo,SquarePlus:po,SquarePlusIcon:po,SquarePower:yo,SquarePowerIcon:yo,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:mo,SquareScissorsIcon:mo,SquareSigma:fo,SquareSigmaIcon:fo,SquareSlash:xo,SquareSlashIcon:xo,SquareSplitHorizontal:ko,SquareSplitHorizontalIcon:ko,SquareSplitVertical:go,SquareSplitVerticalIcon:go,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:vo,SquareTerminalIcon:vo,SquareUser:Mo,SquareUserIcon:Mo,SquareUserRound:wo,SquareUserRoundIcon:wo,SquareX:bo,SquareXIcon:bo,Squircle:P7,SquircleIcon:P7,Squirrel:q7,SquirrelIcon:q7,Stamp:T7,StampIcon:T7,Star:Ut,StarHalf:R7,StarHalfIcon:R7,StarIcon:Ut,StarOff:D7,StarOffIcon:D7,Stars:$a,StarsIcon:$a,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:H7,StickerIcon:H7,StickyNote:O7,StickyNoteIcon:O7,StopCircle:vn,StopCircleIcon:vn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:G7,SubscriptIcon:G7,Subtitles:Dr,SubtitlesIcon:Dr,Sun:Y7,SunDim:W7,SunDimIcon:W7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:ew,SuperscriptIcon:ew,SwatchBook:tw,SwatchBookIcon:tw,SwissFranc:aw,SwissFrancIcon:aw,SwitchCamera:rw,SwitchCameraIcon:rw,Sword:nw,SwordIcon:nw,Swords:iw,SwordsIcon:iw,Syringe:ow,SyringeIcon:ow,Table:yw,Table2:sw,Table2Icon:sw,TableCellsMerge:cw,TableCellsMergeIcon:cw,TableCellsSplit:lw,TableCellsSplitIcon:lw,TableColumnsSplit:dw,TableColumnsSplitIcon:dw,TableIcon:yw,TableOfContents:hw,TableOfContentsIcon:hw,TableProperties:uw,TablePropertiesIcon:uw,TableRowsSplit:pw,TableRowsSplitIcon:pw,Tablet:fw,TabletIcon:fw,TabletSmartphone:mw,TabletSmartphoneIcon:mw,Tablets:xw,TabletsIcon:xw,Tag:_c,TagIcon:_c,Tags:kw,TagsIcon:kw,Tally1:gw,Tally1Icon:gw,Tally2:vw,Tally2Icon:vw,Tally3:ww,Tally3Icon:ww,Tally4:Mw,Tally4Icon:Mw,Tally5:bw,Tally5Icon:bw,Tangent:Cw,TangentIcon:Cw,Target:jw,TargetIcon:jw,Telescope:Lw,TelescopeIcon:Lw,Tent:Iw,TentIcon:Iw,TentTree:Sw,TentTreeIcon:Sw,Terminal:Nw,TerminalIcon:Nw,TerminalSquare:vo,TerminalSquareIcon:vo,TestTube:Aw,TestTube2:Co,TestTube2Icon:Co,TestTubeDiagonal:Co,TestTubeDiagonalIcon:Co,TestTubeIcon:Aw,TestTubes:_w,TestTubesIcon:_w,Text:Dw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Pw,TextCursorInputIcon:Pw,TextIcon:Dw,TextQuote:Tw,TextQuoteIcon:Tw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:jo,TextSelectIcon:jo,TextSelection:jo,TextSelectionIcon:jo,Theater:zw,TheaterIcon:zw,Thermometer:Hw,ThermometerIcon:Hw,ThermometerSnowflake:Fw,ThermometerSnowflakeIcon:Fw,ThermometerSun:Ew,ThermometerSunIcon:Ew,ThumbsDown:Ow,ThumbsDownIcon:Ow,ThumbsUp:Vw,ThumbsUpIcon:Vw,Ticket:Xw,TicketCheck:Bw,TicketCheckIcon:Bw,TicketIcon:Xw,TicketMinus:Uw,TicketMinusIcon:Uw,TicketPercent:$w,TicketPercentIcon:$w,TicketPlus:Gw,TicketPlusIcon:Gw,TicketSlash:Ww,TicketSlashIcon:Ww,TicketX:Zw,TicketXIcon:Zw,Tickets:Yw,TicketsIcon:Yw,TicketsPlane:Jw,TicketsPlaneIcon:Jw,Timer:eM,TimerIcon:eM,TimerOff:Kw,TimerOffIcon:Kw,TimerReset:Qw,TimerResetIcon:Qw,ToggleLeft:tM,ToggleLeftIcon:tM,ToggleRight:aM,ToggleRightIcon:aM,Tornado:rM,TornadoIcon:rM,Torus:nM,TorusIcon:nM,Touchpad:oM,TouchpadIcon:oM,TouchpadOff:iM,TouchpadOffIcon:iM,TowerControl:sM,TowerControlIcon:sM,ToyBrick:cM,ToyBrickIcon:cM,Tractor:lM,TractorIcon:lM,TrafficCone:dM,TrafficConeIcon:dM,Train:Lo,TrainFront:uM,TrainFrontIcon:uM,TrainFrontTunnel:hM,TrainFrontTunnelIcon:hM,TrainIcon:Lo,TrainTrack:pM,TrainTrackIcon:pM,TramFront:Lo,TramFrontIcon:Lo,Trash:yM,Trash2:Pc,Trash2Icon:Pc,TrashIcon:yM,TreeDeciduous:mM,TreeDeciduousIcon:mM,TreePalm:So,TreePalmIcon:So,TreePine:fM,TreePineIcon:fM,Trees:xM,TreesIcon:xM,Trello:kM,TrelloIcon:kM,TrendingDown:gM,TrendingDownIcon:gM,TrendingUp:Jo,TrendingUpDown:vM,TrendingUpDownIcon:vM,TrendingUpIcon:Jo,Triangle:MM,TriangleAlert:Io,TriangleAlertIcon:Io,TriangleIcon:MM,TriangleRight:wM,TriangleRightIcon:wM,Trophy:bM,TrophyIcon:bM,Truck:CM,TruckIcon:CM,Turtle:jM,TurtleIcon:jM,Tv:SM,Tv2:No,Tv2Icon:No,TvIcon:SM,TvMinimal:No,TvMinimalIcon:No,TvMinimalPlay:LM,TvMinimalPlayIcon:LM,Twitch:IM,TwitchIcon:IM,Twitter:NM,TwitterIcon:NM,Type:_M,TypeIcon:_M,TypeOutline:AM,TypeOutlineIcon:AM,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:PM,UmbrellaOffIcon:PM,Underline:TM,UnderlineIcon:TM,Undo:zM,Undo2:RM,Undo2Icon:RM,UndoDot:DM,UndoDotIcon:DM,UndoIcon:zM,UnfoldHorizontal:FM,UnfoldHorizontalIcon:FM,UnfoldVertical:EM,UnfoldVerticalIcon:EM,Ungroup:HM,UngroupIcon:HM,University:Ao,UniversityIcon:Ao,Unlink:VM,Unlink2:OM,Unlink2Icon:OM,UnlinkIcon:VM,Unlock:ti,UnlockIcon:ti,UnlockKeyhole:ei,UnlockKeyholeIcon:ei,Unplug:BM,UnplugIcon:BM,Upload:qs,UploadCloud:Ln,UploadCloudIcon:Ln,UploadIcon:qs,Usb:UM,UsbIcon:UM,User:qc,User2:Do,User2Icon:Do,UserCheck:$M,UserCheck2:_o,UserCheck2Icon:_o,UserCheckIcon:$M,UserCircle:Mn,UserCircle2:wn,UserCircle2Icon:wn,UserCircleIcon:Mn,UserCog:GM,UserCog2:Po,UserCog2Icon:Po,UserCogIcon:GM,UserIcon:qc,UserMinus:WM,UserMinus2:qo,UserMinus2Icon:qo,UserMinusIcon:WM,UserPen:ZM,UserPenIcon:ZM,UserPlus:XM,UserPlus2:To,UserPlus2Icon:To,UserPlusIcon:XM,UserRound:Do,UserRoundCheck:_o,UserRoundCheckIcon:_o,UserRoundCog:Po,UserRoundCogIcon:Po,UserRoundIcon:Do,UserRoundMinus:qo,UserRoundMinusIcon:qo,UserRoundPen:JM,UserRoundPenIcon:JM,UserRoundPlus:To,UserRoundPlusIcon:To,UserRoundSearch:YM,UserRoundSearchIcon:YM,UserRoundX:Ro,UserRoundXIcon:Ro,UserSearch:KM,UserSearchIcon:KM,UserSquare:Mo,UserSquare2:wo,UserSquare2Icon:wo,UserSquareIcon:Mo,UserX:QM,UserX2:Ro,UserX2Icon:Ro,UserXIcon:QM,Users:Ia,Users2:zo,Users2Icon:zo,UsersIcon:Ia,UsersRound:zo,UsersRoundIcon:zo,Utensils:Eo,UtensilsCrossed:Fo,UtensilsCrossedIcon:Fo,UtensilsIcon:Eo,UtilityPole:eb,UtilityPoleIcon:eb,Variable:tb,VariableIcon:tb,Vault:ab,VaultIcon:ab,Vegan:rb,VeganIcon:rb,VenetianMask:nb,VenetianMaskIcon:nb,Verified:_r,VerifiedIcon:_r,Vibrate:ob,VibrateIcon:ob,VibrateOff:ib,VibrateOffIcon:ib,Video:cb,VideoIcon:cb,VideoOff:sb,VideoOffIcon:sb,Videotape:lb,VideotapeIcon:lb,View:db,ViewIcon:db,Voicemail:hb,VoicemailIcon:hb,Volleyball:ub,VolleyballIcon:ub,Volume:xb,Volume1:pb,Volume1Icon:pb,Volume2:yb,Volume2Icon:yb,VolumeIcon:xb,VolumeOff:mb,VolumeOffIcon:mb,VolumeX:fb,VolumeXIcon:fb,Vote:kb,VoteIcon:kb,Wallet:vb,Wallet2:Ho,Wallet2Icon:Ho,WalletCards:gb,WalletCardsIcon:gb,WalletIcon:vb,WalletMinimal:Ho,WalletMinimalIcon:Ho,Wallpaper:wb,WallpaperIcon:wb,Wand:Mb,Wand2:Oo,Wand2Icon:Oo,WandIcon:Mb,WandSparkles:Oo,WandSparklesIcon:Oo,Warehouse:bb,WarehouseIcon:bb,WashingMachine:Cb,WashingMachineIcon:Cb,Watch:jb,WatchIcon:jb,Waves:Lb,WavesIcon:Lb,Waypoints:Sb,WaypointsIcon:Sb,Webcam:Ib,WebcamIcon:Ib,Webhook:Ab,WebhookIcon:Ab,WebhookOff:Nb,WebhookOffIcon:Nb,Weight:_b,WeightIcon:_b,Wheat:qb,WheatIcon:qb,WheatOff:Pb,WheatOffIcon:Pb,WholeWord:Tb,WholeWordIcon:Tb,Wifi:Eb,WifiHigh:Rb,WifiHighIcon:Rb,WifiIcon:Eb,WifiLow:Db,WifiLowIcon:Db,WifiOff:zb,WifiOffIcon:zb,WifiZero:Fb,WifiZeroIcon:Fb,Wind:Hb,WindIcon:Hb,Wine:Vb,WineIcon:Vb,WineOff:Ob,WineOffIcon:Ob,Workflow:Bb,WorkflowIcon:Bb,Worm:Ub,WormIcon:Ub,WrapText:$b,WrapTextIcon:$b,Wrench:Gb,WrenchIcon:Gb,X:Tt,XCircle:ia,XCircleIcon:ia,XIcon:Tt,XOctagon:oi,XOctagonIcon:oi,XSquare:bo,XSquareIcon:bo,Youtube:Wb,YoutubeIcon:Wb,Zap:Xb,ZapIcon:Xb,ZapOff:Zb,ZapOffIcon:Zb,ZoomIn:Jb,ZoomInIcon:Jb,ZoomOut:Yb,ZoomOutIcon:Yb,createLucideIcon:o,icons:kq},Symbol.toStringTag,{value:"Module"})),vq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:s=10,placeholder:c="Add tags..."})=>{const[l,d]=j.useState(!1),[h,u]=j.useState(""),[p,f]=j.useState("#3B82F6"),[x,k]=j.useState(""),[y,m]=j.useState(-1),g=j.useMemo(()=>a.filter(S=>S.name.toLowerCase().includes(x.toLowerCase())),[a,x]),w=j.useMemo(()=>a.filter(S=>e.includes(S.id)),[a,e]),M=j.useMemo(()=>g.filter(S=>!e.includes(S.id)),[g,e]),b=x.trim().length>0&&!a.some(S=>S.name.toLowerCase()===x.trim().toLowerCase()),C=M.length+(b?1:0),N=async()=>{const S=h.trim();if(S)try{await i({name:S,color:p}),u(""),d(!1)}catch(A){console.error("Failed to create tag:",A)}},L=S=>{if(C)switch(S.key){case"ArrowDown":{S.preventDefault(),m(A=>(A+1)%C);break}case"ArrowUp":{S.preventDefault(),m(A=>(A-1+C)%C);break}case"Enter":{if(y===-1)return;if(S.preventDefault(),y<M.length){const A=M[y];r(A.id),k(""),m(-1)}else b&&(d(!0),u(x.trim()),k(""),m(-1));break}case"Escape":{k(""),m(-1);break}}};return t.jsxs("div",{className:"tag-picker",children:[t.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(S=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${S.color}20`,color:S.color,borderColor:S.color},children:[S.name,t.jsx("button",{type:"button",onClick:()=>n(S.id),className:"hover:opacity-70","aria-label":`Remove ${S.name}`,children:t.jsx(Tt,{className:"w-3 h-3"})})]},S.id))}),e.length<s&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(_c,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:x,onChange:S=>{k(S.target.value),m(-1)},onKeyDown:L,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":x.length>0})]}),x&&t.jsxs("div",{role:"listbox",className:"absolute z-10 w-full mt-1 bg-white border rounded shadow-lg max-h-48 overflow-y-auto",children:[M.map((S,A)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===A,onClick:()=>{r(S.id),k(""),m(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${y===A?"bg-gray-100":""}`,children:[t.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:S.color}}),t.jsx("span",{children:S.name}),S.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",S.category,")"]})]},S.id)),b&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(x.trim()),k(""),m(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${y===M.length?"bg-gray-100":""}`,children:[t.jsx(Is,{className:"w-4 h-4"}),'Create "',x.trim(),'"']}),!M.length&&!b&&t.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&t.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[t.jsx("input",{type:"text",value:h,onChange:S=>u(S.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),t.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[t.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",t.jsx("input",{type:"color",value:p,onChange:S=>f(S.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:N,onKeyDown:S=>{S.key==="Enter"&&(S.preventDefault(),N())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),t.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},wq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},YC=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:s,href:c,className:l})=>{const d=!!(s||c),h=p=>{!s||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),s())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${wq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${e}20`,color:e,borderColor:e},onClick:s,onKeyDown:h,role:!c&&s?"button":void 0,tabIndex:!c&&s?0:void 0,href:c,children:[a,n&&i&&t.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),i()},className:"hover:opacity-70 ml-1","aria-label":`Remove ${a} tag`,children:t.jsx(Tt,{className:"w-3 h-3"})})]})};function he(a,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(a==null||a(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function Mq(a,e){const r=v.createContext(e),n=s=>{const{children:c,...l}=s,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(s){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${s}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(s,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:x,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,m=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:m,children:x})};h.displayName=s+"Provider";function u(p,f){var y;const x=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(x);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[h,u]}const i=()=>{const s=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||s;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,bq(i,...e)]}function bq(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(s)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pL(a){const e=Cq(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Lq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function Cq(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Iq(i),l=Sq(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var jq=Symbol("radix.slottable");function Lq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===jq}function Sq(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Iq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function IS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,s]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:m,children:g}=y,w=j.useRef(null),M=j.useRef(new Map).current;return t.jsx(i,{scope:m,itemMap:M,collectionRef:w,children:g})};c.displayName=e;const l=a+"CollectionSlot",d=pL(l),h=j.forwardRef((y,m)=>{const{scope:g,children:w}=y,M=s(l,g),b=je(m,M.collectionRef);return t.jsx(d,{ref:b,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",f=pL(u),x=j.forwardRef((y,m)=>{const{scope:g,children:w,...M}=y,b=j.useRef(null),C=je(m,b),N=s(u,g);return j.useEffect(()=>(N.itemMap.set(b,{ref:b,...M}),()=>void N.itemMap.delete(b))),t.jsx(f,{[p]:"",ref:C,children:w})});x.displayName=u;function k(y){const m=s(a+"CollectionConsumer",y);return j.useCallback(()=>{const w=m.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((N,L)=>M.indexOf(N.ref.current)-M.indexOf(L.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:c,Slot:h,ItemSlot:x},k,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Nq=v[" useId ".trim().toString()]||(()=>{}),Aq=0;function Na(a){const[e,r]=v.useState(Nq());return pt(()=>{r(n=>n??String(Aq++))},[a]),e?`radix-${e}`:""}function _q(a){const e=Pq(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Tq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function Pq(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Dq(i),l=Rq(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var qq=Symbol("radix.slottable");function Tq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===qq}function Rq(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Dq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var zq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=zq.reduce((a,e)=>{const r=_q(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Fq(a,e){a&&v9.flushSync(()=>a.dispatchEvent(e))}function tr(a){const e=v.useRef(a);return v.useEffect(()=>{e.current=a}),v.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var Eq=v[" useInsertionEffect ".trim().toString()]||pt;function ar({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,s,c]=Hq({defaultProp:e,onChange:r}),l=a!==void 0,d=l?a:i;{const u=v.useRef(a!==void 0);v.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=v.useCallback(u=>{var p;if(l){const f=Oq(u)?u(a):u;f!==a&&((p=c.current)==null||p.call(c,f))}else s(u)},[l,a,s,c]);return[d,h]}function Hq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),s=v.useRef(e);return Eq(()=>{s.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=s.current)==null||c.call(s,r),i.current=r)},[r,i]),[r,n,s]}function Oq(a){return typeof a=="function"}var Vq=v.createContext(void 0);function KC(a){const e=v.useContext(Vq);return a||e||"ltr"}var J9="rovingFocusGroup.onEntryFocus",Bq={bubbles:!1,cancelable:!0},Jc="RovingFocusGroup",[wC,NS,Uq]=IS(Jc),[$q,AS]=ma(Jc,[Uq]),[Gq,Wq]=$q(Jc),_S=v.forwardRef((a,e)=>t.jsx(wC.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(wC.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Zq,{...a,ref:e})})}));_S.displayName=Jc;var Zq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,f=v.useRef(null),x=je(e,f),k=KC(s),[y,m]=ar({prop:c,defaultProp:l??null,onChange:d,caller:Jc}),[g,w]=v.useState(!1),M=tr(h),b=NS(r),C=v.useRef(!1),[N,L]=v.useState(0);return v.useEffect(()=>{const S=f.current;if(S)return S.addEventListener(J9,M),()=>S.removeEventListener(J9,M)},[M]),t.jsx(Gq,{scope:r,orientation:n,dir:k,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(S=>m(S),[m]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>L(S=>S+1),[]),onFocusableItemRemove:v.useCallback(()=>L(S=>S-1),[]),children:t.jsx(me.div,{tabIndex:g||N===0?-1:0,"data-orientation":n,...p,ref:x,style:{outline:"none",...a.style},onMouseDown:he(a.onMouseDown,()=>{C.current=!0}),onFocus:he(a.onFocus,S=>{const A=!C.current;if(S.target===S.currentTarget&&A&&!g){const T=new CustomEvent(J9,Bq);if(S.currentTarget.dispatchEvent(T),!T.defaultPrevented){const R=b().filter(V=>V.focusable),D=R.find(V=>V.active),_=R.find(V=>V.id===y),z=[D,_,...R].filter(Boolean).map(V=>V.ref.current);TS(z,u)}}C.current=!1}),onBlur:he(a.onBlur,()=>w(!1))})})}),PS="RovingFocusGroupItem",qS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:s,children:c,...l}=a,d=Na(),h=s||d,u=Wq(PS,r),p=u.currentTabStopId===h,f=NS(r),{onFocusableItemAdd:x,onFocusableItemRemove:k,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return x(),()=>k()},[n,x,k]),t.jsx(wC.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(me.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:he(a.onMouseDown,m=>{n?u.onItemFocus(h):m.preventDefault()}),onFocus:he(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:he(a.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=Yq(m,u.orientation,u.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let M=f().filter(b=>b.focusable).map(b=>b.ref.current);if(g==="last")M.reverse();else if(g==="prev"||g==="next"){g==="prev"&&M.reverse();const b=M.indexOf(m.currentTarget);M=u.loop?Kq(M,b+1):M.slice(b+1)}setTimeout(()=>TS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});qS.displayName=PS;var Xq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Jq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Yq(a,e,r){const n=Jq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Xq[n]}function TS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function Kq(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var Qq=_S,eT=qS;function tT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var cr=a=>{const{present:e,children:r}=a,n=aT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),s=je(n.ref,rT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:s}):null};cr.displayName="Presence";function aT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),s=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=tT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=t1(n.current);s.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const f=s.current,x=t1(h);a?d("MOUNT"):x==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&f!==x?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=x=>{const y=t1(n.current).includes(CSS.escape(x.animationName));if(x.target===e&&y&&(d("ANIMATION_END"),!i.current)){const m=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=m)})}},f=x=>{x.target===e&&(s.current=t1(n.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function t1(a){return(a==null?void 0:a.animationName)||"none"}function rT(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var M9="Tabs",[nT]=ma(M9,[AS]),RS=AS(),[iT,QC]=nT(M9),DS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:s,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=KC(l),[p,f]=ar({prop:n,onChange:i,defaultProp:s??"",caller:M9});return t.jsx(iT,{scope:r,baseId:Na(),value:p,onValueChange:f,orientation:c,dir:u,activationMode:d,children:t.jsx(me.div,{dir:u,"data-orientation":c,...h,ref:e})})});DS.displayName=M9;var zS="TabsList",FS=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,s=QC(zS,r),c=RS(r);return t.jsx(Qq,{asChild:!0,...c,orientation:s.orientation,dir:s.dir,loop:n,children:t.jsx(me.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:e})})});FS.displayName=zS;var ES="TabsTrigger",HS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...s}=a,c=QC(ES,r),l=RS(r),d=BS(c.baseId,n),h=US(c.baseId,n),u=n===c.value;return t.jsx(eT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(me.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:d,...s,ref:e,onMouseDown:he(a.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:he(a.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:he(a.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!i&&p&&c.onValueChange(n)})})})});HS.displayName=ES;var OS="TabsContent",VS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:s,...c}=a,l=QC(OS,r),d=BS(l.baseId,n),h=US(l.baseId,n),u=n===l.value,p=v.useRef(u);return v.useEffect(()=>{const f=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(cr,{present:i||u,children:({present:f})=>t.jsx(me.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!f,id:h,tabIndex:0,...c,ref:e,style:{...a.style,animationDuration:p.current?"0s":void 0},children:f&&s})})});VS.displayName=OS;function BS(a,e){return`${a}-trigger-${e}`}function US(a,e){return`${a}-content-${e}`}var oT=DS,$S=FS,GS=HS,WS=VS;const os=oT,lr=v.forwardRef(({className:a,...e},r)=>t.jsx($S,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));lr.displayName=$S.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(GS,{ref:r,className:ce("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...e}));Ie.displayName=GS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...e}));Ne.displayName=WS.displayName;const be=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("rounded-xl border bg-card text-card-foreground shadow",a),...e}));be.displayName="Card";const Re=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex flex-col space-y-1.5 p-6",a),...e}));Re.displayName="CardHeader";const De=v.forwardRef(({className:a,...e},r)=>t.jsx("h3",{ref:r,className:ce("font-semibold leading-none tracking-tight",a),...e}));De.displayName="CardTitle";const Ge=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ge.displayName="CardDescription";const Ce=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));Ce.displayName="CardContent";const Hs=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));Hs.displayName="CardFooter";function sT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:s="Select Plan"}){const[c,l]=j.useState([]),[d,h]=j.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";j.useEffect(()=>{(async()=>{try{const k=r??"en",y=a.map(async g=>(await fetch(`${u}/api/v1/promotions/?ids=${g}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),m=await Promise.all(y);l(m)}catch{}})()},[a,u,r]);const p=x=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:x,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(k)},f=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return t.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:t.jsxs("div",{className:"container px-4 md:px-6",children:[i??t.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:i}),t.jsxs(os,{defaultValue:"tab-0",className:"w-full",onValueChange:x=>h(x),children:[t.jsx(lr,{className:f,children:e.map((x,k)=>t.jsx(Ie,{value:`tab-${k}`,children:x},k))}),c.map((x,k)=>t.jsx(Ne,{value:`tab-${k}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:x.map((y,m)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Re,{children:[t.jsx(De,{children:y.title}),t.jsx(Ge,{children:y.short_description})]}),t.jsxs(Ce,{className:"flex-1",children:[t.jsxs("p",{className:"text-3xl font-bold",children:["€",y.price]}),t.jsx("ul",{className:"mt-4 space-y-2",children:y.features&&y.features.map((g,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(ws,{className:"mr-2 h-4 w-4 text-primary"})," ",g]},w))})]}),t.jsx(Hs,{children:t.jsx(G,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:s})})]},m))})},k))]})]})})}function cT({isOpen:a,items:e}){const r=e.reduce((n,i)=>n+i.price,0);return t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:ce("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",a?"translate-x-0":"translate-x-full"),children:t.jsxs("div",{className:"h-full flex flex-col",children:[t.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[t.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),t.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[t.jsx(Tt,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),t.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>t.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[t.jsxs("div",{className:"flex justify-between items-start mb-1",children:[t.jsx("span",{className:"font-medium",children:n.name}),t.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),t.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),t.jsx("div",{className:"p-4 border-t",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"font-semibold",children:"Total:"}),t.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),a&&t.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function wa(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function ZS(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
7726
7726
  * GSAP 3.14.2
7727
7727
  * https://gsap.com
7728
7728
  *
7729
7729
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
7730
7730
  * Subject to the terms at https://gsap.com/standard-license
7731
7731
  * @author: Jack Doyle, jack@greensock.com
7732
- */var Rt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Os={duration:.5,overwrite:!1,delay:0},ej,lt,Fe,$t=1e8,_e=1/$t,MC=Math.PI*2,lT=MC/4,dT=0,XS=Math.sqrt,hT=Math.cos,uT=Math.sin,nt=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},tj=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},aj=function(){return typeof window<"u"},a1=function(e){return We(e)||nt(e)},JS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,pT=/random\([^)]+\)/g,yT=/,\s*/g,yL=/(?:-?\.?\d|\.)+/gi,YS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ms=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Y9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,KS=/[+-]=-?[.\d]+/,mT=/[^,'"\[\]\s]+/gi,fT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,na,bC,rj,zt={},o9={},QS,eI=function(e){return(o9=Vs(e,zt))&&jt},nj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Fc=function(e,r){return!r&&console.warn(e)},tI=function(e,r){return e&&(zt[e]=r)&&o9&&(o9[e]=r)||zt},Ec=function(){return 0},xT={suppressEvents:!0,isStart:!0,kill:!1},Kb={suppressEvents:!0,kill:!1},kT={suppressEvents:!0},ij={},Ka=[],CC={},aI,It={},K9={},mL=30,Qb=[],oj="",sj=function(e){var r=e[0],n,i;if(pa(r)||We(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=Qb.length;i--&&!Qb[i].targetTest(r););n=Qb[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new LI(e[i],n)))||e.splice(i,1);return e},Yo=function(e){return e._gsap||sj(Gt(e))[0]._gsap},rI=function(e,r,n){return(n=e[r])&&We(n)?e[r]():tj(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},Ts=function(e,r){var n=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},gT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},s9=function(){var e=Ka.length,r=Ka.slice(0),n,i;for(CC={},Ka.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},cj=function(e){return!!(e._initted||e._startAt||e.add)},nI=function(e,r,n,i){Ka.length&&!lt&&s9(),e.render(r,n,!!(lt&&r<0&&cj(e))),Ka.length&&!lt&&s9()},iI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(mT).length<2?r:nt(e)?e.trim():e},oI=function(e){return e},Ft=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},vT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Vs=function(e,r){for(var n in r)e[n]=r[n];return e},fL=function a(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=pa(r[n])?a(e[n]||(e[n]={}),r[n]):r[n]);return e},c9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},Tc=function(e){var r=e.parent||Ve,n=e.keyframes?vT(ut(e.keyframes)):Ft;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},wT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},sI=function(e,r,n,i,s){var c=e[i],l;if(s)for(l=r[s];c&&c[s]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[i]=r,r._prev=c,r.parent=r._dp=e,r},b9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=r._prev,c=r._next;s?s._next=c:e[n]===r&&(e[n]=c),c?c._prev=s:e[i]===r&&(e[i]=s),r._next=r._prev=r.parent=null},rr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ko=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},MT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},jC=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(Kb):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},bT=function a(e){return!e||e._ts&&a(e.parent)},xL=function(e){return e._repeat?Bs(e._tTime,e=e.duration()+e._rDelay)*e:0},Bs=function(e,r){var n=Math.floor(e=Oe(e/r));return e&&n===e?n-1:n},l9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},C9=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},j9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Oe(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),C9(e),n._dirty||Ko(n,e)),e},cI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=l9(e.rawTime(),r),(!r._dur||Yc(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Ko(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-_e}},oa=function(e,r,n,i){return r.parent&&rr(r),r._start=Oe((Aa(n)?n:n||e!==Ve?Vt(e,n,r):e._time)+r._delay),r._end=Oe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),sI(e,r,"_first","_last",e._sort?"_start":0),LC(r)||(e._recent=r),i||cI(e,r),e._ts<0&&j9(e,e._tTime),e},lI=function(e,r){return(zt.ScrollTrigger||nj("scrollTrigger",r))&&zt.ScrollTrigger.create(r,e)},dI=function(e,r,n,i,s){if(dj(e,r,s),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&aI!==_t.frame)return Ka.push(e),e._lazy=[s,i],1},CT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},LC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},jT=function(e,r,n,i){var s=e.ratio,c=r<0||!r&&(!e._start&&CT(e)&&!(!e._initted&&LC(e))||(e._ts<0||e._dp._ts<0)&&!LC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Yc(0,e._tDur,r),u=Bs(d,l),e._yoyo&&u&1&&(c=1-c),u!==Bs(e._tTime,l)&&(s=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==s||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&dI(e,r,i,n,d))return;for(p=e._zTime,e._zTime=r||(n?_e:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&jC(e,r,n,!0),e._onUpdate&&!n&&Pt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Pt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&rr(e,1),!n&&!lt&&(Pt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},LT=function(e,r,n){var i;if(n>r)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},Us=function(e,r,n,i){var s=e._repeat,c=Oe(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=s?s<0?1e10:Oe(c*(s+1)+e._rDelay*s):c,l>0&&!i&&j9(e,e._tTime=e._tDur*l),e.parent&&C9(e),n||Ko(e.parent,e),e},kL=function(e){return e instanceof ft?Ko(e):Us(e,e._dur)},ST={_start:0,endTime:Ec,totalDuration:Ec},Vt=function a(e,r,n){var i=e.labels,s=e._recent||ST,c=e.duration()>=$t?s.endTime(!1):e._dur,l,d,h;return nt(r)&&(isNaN(r)||r in i)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?s:n).totalDuration()/100:1)):l<0?(r in i||(i[r]=c),i[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?a(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Rc=function(e,r,n){var i=Aa(r[1]),s=(i?2:1)+(e<2?0:1),c=r[s],l,d;if(i&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=wt(d.vars.inherit)&&d.parent;c.immediateRender=wt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[s-1]}return new Ye(r[0],c,r[s+1])},dr=function(e,r){return e||e===0?r(e):r},Yc=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!nt(e)||!(r=fT.exec(e))?"":r[1]},IT=function(e,r,n){return dr(n,function(i){return Yc(e,r,i)})},SC=[].slice,hI=function(e,r){return e&&pa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&pa(e[0]))&&!e.nodeType&&e!==na},NT=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var s;return nt(i)&&!r||hI(i,1)?(s=n).push.apply(s,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Fe&&!r&&Fe.selector?Fe.selector(e):nt(e)&&!n&&(bC||!$s())?SC.call((r||rj).querySelectorAll(e),0):ut(e)?NT(e,n):hI(e)?SC.call(e,0):e?[e]:[]},IC=function(e){return e=Gt(e)[0]||Fc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Fc("Invalid scope")||rj.createElement("div"):e)}},uI=function(e){return e.sort(function(){return .5-Math.random()})},pI=function(e){if(We(e))return e;var r=pa(e)?e:{each:e},n=Qo(r.ease),i=r.from||0,s=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return nt(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(f,x,k){var y=(k||r).length,m=c[y],g,w,M,b,C,A,L,S,N;if(!m){if(N=r.grid==="auto"?0:(r.grid||[1,$t])[1],!N){for(L=-$t;L<(L=k[N++].getBoundingClientRect().left)&&N<y;);N<y&&N--}for(m=c[y]=[],g=d?Math.min(N,y)*u-.5:i%N,w=N===$t?0:d?y*p/N-.5:i/N|0,L=0,S=$t,A=0;A<y;A++)M=A%N-g,b=w-(A/N|0),m[A]=C=h?Math.abs(h==="y"?b:M):XS(M*M+b*b),C>L&&(L=C),C<S&&(S=C);i==="random"&&uI(m),m.max=L-S,m.min=S,m.v=y=(parseFloat(r.amount)||parseFloat(r.each)*(N>y?y-1:h?h==="y"?y/N:N:Math.max(N,y/N))||0)*(i==="edges"?-1:1),m.b=y<0?s-y:s,m.u=ht(r.amount||r.each)||0,n=n&&y<0?bI(n):n}return y=(m[f]-m.min)/m.max||0,Oe(m.b+(n?n(y):y)*m.v)+m.u}},NC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Oe(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Aa(n)?0:ht(n))}},yI=function(e,r){var n=ut(e),i,s;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(s=!Aa(e[0]))&&(i*=i)):e=NC(e.increment)),dr(r,n?We(e)?function(c){return s=e(c),Math.abs(s-c)<=i?s:c}:function(c){for(var l=parseFloat(s?c.x:c),d=parseFloat(s?c.y:0),h=$t,u=0,p=e.length,f,x;p--;)s?(f=e[p].x-l,x=e[p].y-d,f=f*f+x*x):f=Math.abs(e[p]-l),f<h&&(h=f,u=p);return u=!i||h<=i?e[u]:c,s||u===c||Aa(c)?u:u+ht(c)}:NC(e))},mI=function(e,r,n,i){return dr(ut(e)?!r:n===!0?!!(n=0):!i,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*i)/i})},AT=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(i){return r.reduce(function(s,c){return c(s)},i)}},_T=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},PT=function(e,r,n){return xI(e,r,0,1,n)},fI=function(e,r,n){return dr(n,function(i){return e[~~r(i)]})},qT=function a(e,r,n){var i=r-e;return ut(e)?fI(e,a(0,e.length),r):dr(n,function(s){return(i+(s-e)%i)%i+e})},TT=function a(e,r,n){var i=r-e,s=i*2;return ut(e)?fI(e,a(0,e.length-1),r):dr(n,function(c){return c=(s+(c-e)%s)%s||0,e+(c>i?s-c:c)})},Hc=function(e){return e.replace(pT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(yT);return mI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},xI=function(e,r,n,i,s){var c=r-e,l=i-n;return dr(s,function(d){return n+((d-e)/c*l||0)})},RT=function a(e,r,n,i){var s=isNaN(e+r)?0:function(x){return(1-x)*e+x*r};if(!s){var c=nt(e),l={},d,h,u,p,f;if(n===!0&&(i=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,f=p-2,h=1;h<p;h++)u.push(a(e[h-1],e[h]));p--,s=function(k){k*=p;var y=Math.min(f,~~k);return u[y](k-y)},n=r}else i||(e=Vs(ut(e)?[]:{},e));if(!u){for(d in r)lj.call(l,e,d,"get",r[d]);s=function(k){return pj(k,l)||(c?e.p:e)}}}return dr(n,s)},gL=function(e,r,n){var i=e.labels,s=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&s>(l=Math.abs(l))&&(d=c,s=l);return d},Pt=function(e,r,n){var i=e.vars,s=i[r],c=Fe,l=e._ctx,d,h,u;if(s)return d=i[r+"Params"],h=i.callbackScope||e,n&&Ka.length&&s9(),l&&(Fe=l),u=d?s.apply(h,d):s.call(h),Fe=c,u},lc=function(e){return rr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Pt(e,"onInterrupt"),e},fs,kI=[],gI=function(e){if(e)if(e=!e.name&&e.default||e,aj()||e.headless){var r=e.name,n=We(e),i=r&&!n&&e.init?function(){this._props=[]}:e,s={init:Ec,render:pj,add:lj,kill:YT,modifier:JT,rawVars:0},c={targetTest:0,get:0,getSetter:uj,aliases:{},register:0};if($s(),e!==i){if(It[r])return;Ft(i,Ft(c9(e,s),c)),Vs(i.prototype,Vs(s,c9(e,c))),It[i.prop=r]=i,e.targetTest&&(Qb.push(i),ij[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}tI(r,i),e.register&&e.register(jt,i,bt)}else kI.push(e)},Ae=255,dc={aqua:[0,Ae,Ae],lime:[0,Ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ae],navy:[0,0,128],white:[Ae,Ae,Ae],olive:[128,128,0],yellow:[Ae,Ae,0],orange:[Ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ae,0,0],pink:[Ae,192,203],cyan:[0,Ae,Ae],transparent:[Ae,Ae,Ae,0]},Q9=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Ae+.5|0},vI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:dc.black,s,c,l,d,h,u,p,f,x,k;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),dc[e])i=dc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+s+s+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Ae,i&Ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ae,e&Ae]}else if(e.substr(0,3)==="hsl"){if(i=k=e.match(yL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,s=u*2-c,i.length>3&&(i[3]*=1),i[0]=Q9(d+1/3,s,c),i[1]=Q9(d,s,c),i[2]=Q9(d-1/3,s,c);else if(~e.indexOf("="))return i=e.match(YS),n&&i.length<4&&(i[3]=1),i}else i=e.match(yL)||dc.transparent;i=i.map(Number)}return r&&!k&&(s=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(s,c,l),f=Math.min(s,c,l),u=(p+f)/2,p===f?d=h=0:(x=p-f,h=u>.5?x/(2-p-f):x/(p+f),d=p===s?(c-l)/x+(c<l?6:0):p===c?(l-s)/x+2:(s-c)/x+4,d*=60),i[0]=~~(d+.5),i[1]=~~(h*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},wI=function(e){var r=[],n=[],i=-1;return e.split(Qa).forEach(function(s){var c=s.match(ms)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},vL=function(e,r,n){var i="",s=(e+i).match(Qa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!s)return e;if(s=s.map(function(f){return(f=vI(f,r,1))&&c+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=wI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(Qa,"1").split(ms),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?s.shift()||c+"0,0,0,0)":(u.length?u:s.length?s:n).shift());if(!h)for(h=e.split(Qa),p=h.length-1;l<p;l++)i+=h[l]+s[l];return i+h[p]},Qa=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in dc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),DT=/hsl[a]?\(/,MI=function(e){var r=e.join(" "),n;if(Qa.lastIndex=0,Qa.test(r))return n=DT.test(r),e[1]=vL(e[1],n),e[0]=vL(e[0],n,wI(e[1])),!0},Oc,_t=function(){var a=Date.now,e=500,r=33,n=a(),i=n,s=1e3/240,c=s,l=[],d,h,u,p,f,x,k=function y(m){var g=a()-i,w=m===!0,M,b,C,A;if((g>e||g<0)&&(n+=g-r),i+=g,C=i-n,M=C-c,(M>0||w)&&(A=++p.frame,f=C-p.time*1e3,p.time=C=C/1e3,c+=M+(M>=s?4:s-M),b=1),w||(d=h(y)),b)for(x=0;x<l.length;x++)l[x](C,f,A,m)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(m){return f/(1e3/(m||60))},wake:function(){QS&&(!bC&&aj()&&(na=bC=window,rj=na.document||{},zt.gsap=jt,(na.gsapVersions||(na.gsapVersions=[])).push(jt.version),eI(o9||na.GreenSockGlobals||!na.gsap&&na||{}),kI.forEach(gI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(m){return setTimeout(m,c-p.time*1e3+1|0)},Oc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Oc=0,h=Ec},lagSmoothing:function(m,g){e=m||1/0,r=Math.min(g||33,e)},fps:function(m){s=1e3/(m||240),c=p.time*1e3+s},add:function(m,g,w){var M=g?function(b,C,A,L){m(b,C,A,L),p.remove(M)}:m;return p.remove(m),l[w?"unshift":"push"](M),$s(),M},remove:function(m,g){~(g=l.indexOf(m))&&l.splice(g,1)&&x>=g&&x--},_listeners:l},p}(),$s=function(){return!Oc&&_t.wake()},ge={},zT=/^[\d.\-M][\d.\-,\s]/,FT=/["']/g,ET=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],s=1,c=n.length,l,d,h;s<c;s++)d=n[s],l=s!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(FT,"").trim():+h,i=d.substr(l+1).trim();return r},HT=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)},OT=function(e){var r=(e+"").split("("),n=ge[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[ET(r[1])]:HT(e).split(",").map(iI)):ge._CE&&zT.test(e)?ge._CE("",e):n},bI=function(e){return function(r){return 1-e(1-r)}},CI=function a(e,r){for(var n=e._first,i;n;)n instanceof ft?a(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?a(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},Qo=function(e,r){return e&&(We(e)?e:ge[e]||OT(e))||r},ss=function(e,r,n,i){n===void 0&&(n=function(d){return 1-r(1-d)}),i===void 0&&(i=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var s={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ge[l]=zt[l]=s,ge[c=l.toLowerCase()]=n;for(var d in s)ge[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ge[l+"."+d]=s[d]}),s},jI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},eC=function a(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),c=s/MC*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*uT((u-c)*s)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:jI(l);return s=MC/s,d.config=function(h,u){return a(e,h,u)},d},tC=function a(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},i=e==="out"?n:e==="in"?function(s){return 1-n(1-s)}:jI(n);return i.config=function(s){return a(e,s)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;ss(a+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ge.Linear.easeNone=ge.none=ge.Linear.easeIn;ss("Elastic",eC("in"),eC("out"),eC());(function(a,e){var r=1/e,n=2*r,i=2.5*r,s=function(l){return l<r?a*l*l:l<n?a*Math.pow(l-1.5/e,2)+.75:l<i?a*(l-=2.25/e)*l+.9375:a*Math.pow(l-2.625/e,2)+.984375};ss("Bounce",function(c){return 1-s(1-c)},s)})(7.5625,2.75);ss("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});ss("Circ",function(a){return-(XS(1-a*a)-1)});ss("Sine",function(a){return a===1?1:-hT(a*lT)+1});ss("Back",tC("in"),tC("out"),tC());ge.SteppedEase=ge.steps=zt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),s=r?1:0,c=1-_e;return function(l){return((i*Yc(0,c,l)|0)+s)*n}}};Os.ease=ge["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return oj+=a+","+a+"Params,"});var LI=function(e,r){this.id=dT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:rI,this.set=r?r.getSetter:uj},Vc=function(){function a(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Us(this,+r.duration,1,1),this.data=r.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),Oc||_t.wake()}var e=a.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Us(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if($s(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(j9(this,n),!s._dp||s.parent||cI(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&oa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),nI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+xL(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+xL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?Bs(this._tTime,s)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?l9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(Yc(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),C9(this),MT(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($s(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Oe(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&oa(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(wt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?l9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=kT);var i=lt;return lt=n,cj(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),lt=i,this},e.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,kL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,kL(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(Vt(this,n),wt(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,wt(i)),this._dur||(this._zTime=-_e),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-_e)},e.eventCallback=function(n,i,s){var c=this.vars;return arguments.length>1?(i?(c[n]=i,s&&(c[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,s=i._prom;return new Promise(function(c){var l=We(n)?n:oI,d=function(){var u=i.then;i.then=null,s&&s(),We(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=u),c(l),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?d():i._prom=d})},e.kill=function(){lc(this)},a}();Ft(Vc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_e,_prom:0,_ps:!1,_rts:1});var ft=function(a){ZS(e,a);function e(n,i){var s;return n===void 0&&(n={}),s=a.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=wt(n.sortChildren),Ve&&oa(n.parent||Ve,wa(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&lI(wa(s),n.scrollTrigger),s}var r=e.prototype;return r.to=function(i,s,c){return Rc(0,arguments,this),this},r.from=function(i,s,c){return Rc(1,arguments,this),this},r.fromTo=function(i,s,c,l){return Rc(2,arguments,this),this},r.set=function(i,s,c){return s.duration=0,s.parent=this,Tc(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ye(i,s,Vt(this,c),1),this},r.call=function(i,s,c){return oa(this,Ye.delayedCall(0,i,s),c)},r.staggerTo=function(i,s,c,l,d,h,u){return c.duration=s,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(i,c,Vt(this,d)),this},r.staggerFrom=function(i,s,c,l,d,h,u){return c.runBackwards=1,Tc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,s,c,l,d,h,u)},r.staggerFromTo=function(i,s,c,l,d,h,u,p){return l.startAt=c,Tc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,s,l,d,h,u,p)},r.render=function(i,s,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=i<=0?0:Oe(i),p=this._zTime<0!=i<0&&(this._initted||!h),f,x,k,y,m,g,w,M,b,C,A,L;if(this!==Ve&&u>d&&i>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,i+=this._time-l),f=u,b=this._start,M=this._ts,g=!M,p&&(h||(l=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,m=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,s,c);if(f=Oe(u%m),u===d?(y=this._repeat,f=h):(C=Oe(u/m),y=~~C,y&&y===C&&(f=h,y--),f>h&&(f=h)),C=Bs(this._tTime,m),!l&&this._tTime&&C!==y&&this._tTime-C*m-this._dur<=0&&(C=y),A&&y&1&&(f=h-f,L=1),y!==C&&!this._lock){var S=A&&C&1,N=S===(A&&y&1);if(y<C&&(S=!S),l=S?0:u%h?h:u,this._lock=1,this.render(l||(L?0:Oe(y*m)),s,!h)._lock=0,this._tTime=u,!s&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1,C=y),l&&l!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=S?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;CI(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=LT(this,Oe(l),Oe(f)),w&&(u-=f-(f=w._start))),this._tTime=u,this._time=f,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,l=0),!l&&u&&h&&!s&&!C&&(Pt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&i>=0)for(x=this._first;x;){if(k=x._next,(x._act||f>=x._start)&&x._ts&&w!==x){if(x.parent!==this)return this.render(i,s,c);if(x.render(x._ts>0?(f-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(f-x._start)*x._ts,s,c),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=-_e);break}}x=k}else{x=this._last;for(var T=i<0?i:f;x;){if(k=x._prev,(x._act||T<=x._end)&&x._ts&&w!==x){if(x.parent!==this)return this.render(i,s,c);if(x.render(x._ts>0?(T-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(T-x._start)*x._ts,s,c||lt&&cj(x)),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=T?-_e:_e);break}}x=k}}if(w&&!s&&(this.pause(),w.render(f>=l?0:-_e)._zTime=f>=l?1:-1,this._ts))return this._start=b,C9(this),this.render(i,s,c);this._onUpdate&&!s&&Pt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(b===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&rr(this,1),!s&&!(i<0&&!l)&&(u||l||!d)&&(Pt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,s){var c=this;if(Aa(s)||(s=Vt(this,s,i)),!(i instanceof Vc)){if(ut(i))return i.forEach(function(l){return c.add(l,s)}),this;if(nt(i))return this.addLabel(i,s);if(We(i))i=Ye.delayedCall(0,i);else return this}return this!==i?oa(this,i,s):this},r.getChildren=function(i,s,c,l){i===void 0&&(i=!0),s===void 0&&(s=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?s&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,s,c)))),h=h._next;return d},r.getById=function(i){for(var s=this.getChildren(1,1,1),c=s.length;c--;)if(s[c].vars.id===i)return s[c]},r.remove=function(i){return nt(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(i.parent===this&&b9(this,i),i===this._recent&&(this._recent=this._last),Ko(this))},r.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(_t.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},r.addLabel=function(i,s){return this.labels[i]=Vt(this,s),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,s,c){var l=Ye.delayedCall(0,s||Ec,c);return l.data="isPause",this._hasPause=1,oa(this,l,Vt(this,i))},r.removePause=function(i){var s=this._first;for(i=Vt(this,i);s;)s._start===i&&s.data==="isPause"&&rr(s),s=s._next},r.killTweensOf=function(i,s,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ga!==l[d]&&l[d].kill(i,s);return this},r.getTweensOf=function(i,s){for(var c=[],l=Gt(i),d=this._first,h=Aa(s),u;d;)d instanceof Ye?gT(d._targets,l)&&(h?(!Ga||d._initted&&d._ts)&&d.globalTime(0)<=s&&d.globalTime(d.totalDuration())>s:!s||d.isActive())&&c.push(d):(u=d.getTweensOf(l,s)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,s){s=s||{};var c=this,l=Vt(c,i),d=s,h=d.startAt,u=d.onStart,p=d.onStartParams,f=d.immediateRender,x,k=Ye.to(c,Ft({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:s.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!x){var m=s.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==m&&Us(k,m,0,1).render(k._time,!0,!0),x=1}u&&u.apply(k,p||[])}},s));return f?k.render(0):k},r.tweenFromTo=function(i,s,c){return this.tweenTo(s,Ft({startAt:{time:Vt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,s,c){c===void 0&&(c=0);var l=this._first,d=this.labels,h;for(i=Oe(i);l;)l._start>=c&&(l._start+=i,l._end+=i),l=l._next;if(s)for(h in d)d[h]>=c&&(d[h]+=i);return Ko(this)},r.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,c;s;)c=s._next,this.remove(s),s=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Ko(this)},r.totalDuration=function(i){var s=0,c=this,l=c._last,d=$t,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-i:i));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,oa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(s-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=Oe(u/c._ts),c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>s&&l._ts&&(s=l._end),l=h;Us(c,c===Ve&&c._time>s?c._time:s,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Ve._ts&&(nI(Ve,l9(i,Ve)),aI=_t.frame),_t.frame>=mL){mL+=Rt.autoSleep||120;var s=Ve._first;if((!s||!s._ts)&&Rt.autoSleep&&_t._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||_t.sleep()}}},e}(Vc);Ft(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var VT=function(e,r,n,i,s,c,l){var d=new bt(this._pt,e,r,0,1,PI,null,s),h=0,u=0,p,f,x,k,y,m,g,w;for(d.b=n,d.e=i,n+="",i+="",(g=~i.indexOf("random("))&&(i=Hc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),f=n.match(Y9)||[];p=Y9.exec(i);)k=p[0],y=i.substring(h,p.index),x?x=(x+1)%5:y.substr(-5)==="rgba("&&(x=1),k!==f[u++]&&(m=parseFloat(f[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:m,c:k.charAt(1)==="="?Ts(m,k)-m:parseFloat(k)-m,m:x&&x<4?Math.round:0},h=Y9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(KS.test(i)||g)&&(d.e=0),this._pt=d,d},lj=function(e,r,n,i,s,c,l,d,h,u){We(i)&&(i=i(s||0,e,c));var p=e[r],f=n!=="get"?n:We(p)?h?e[r.indexOf("set")||!We(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,x=We(p)?h?WT:AI:hj,k;if(nt(i)&&(~i.indexOf("random(")&&(i=Hc(i)),i.charAt(1)==="="&&(k=Ts(f,i)+(ht(f)||0),(k||k===0)&&(i=k))),!u||f!==i||AC)return!isNaN(f*i)&&i!==""?(k=new bt(this._pt,e,r,+f||0,i-(f||0),typeof p=="boolean"?XT:_I,0,x),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&nj(r,i),VT.call(this,e,r,f,i,x,d||Rt.stringFilter,h))},BT=function(e,r,n,i,s){if(We(e)&&(e=Dc(e,s,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||JS(e))return nt(e)?Dc(e,s,r,n,i):e;var c={},l;for(l in e)c[l]=Dc(e[l],s,r,n,i);return c},SI=function(e,r,n,i,s,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(s,l.rawVars?r[e]:BT(r[e],i,s,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,s,e,0,1,l.render,l,0,l.priority),n!==fs))for(h=n._ptLookup[n._targets.indexOf(s)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ga,AC,dj=function a(e,r,n){var i=e.vars,s=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,f=i.keyframes,x=i.autoRevert,k=e._dur,y=e._startAt,m=e._targets,g=e.parent,w=g&&g.data==="nested"?g.vars.targets:m,M=e._overwrite==="auto"&&!ej,b=e.timeline,C,A,L,S,N,T,z,R,_,q,D,V,$;if(b&&(!f||!s)&&(s="none"),e._ease=Qo(s,Os.ease),e._yEase=p?bI(Qo(p===!0?s:p,Os.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!b&&!!i.runBackwards,!b||f&&!i.stagger){if(R=m[0]?Yo(m[0]).harness:0,V=R&&i[R.prop],C=c9(i,ij),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!x?y.render(-1,!0):y.revert(u&&k?Kb:xT),y._lazy=0),c){if(rr(e._startAt=Ye.set(m,Ft({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return Pt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!x)&&e._startAt.revert(Kb),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!y){if(r&&(l=!1),L=Ft({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:g},C),V&&(L[R.prop]=V),rr(e._startAt=Ye.set(m,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(Kb):e._startAt.render(-1,!0)),e._zTime=r,!l)a(e._startAt,_e,_e);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&wt(d)||d&&!k,A=0;A<m.length;A++){if(N=m[A],z=N._gsap||sj(m)[A]._gsap,e._ptLookup[A]=q={},CC[z.id]&&Ka.length&&s9(),D=w===m?A:w.indexOf(N),R&&(_=new R).init(N,V||C,e,D,w)!==!1&&(e._pt=S=new bt(e._pt,N,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){q[E]=S}),_.priority&&(T=1)),!R||V)for(L in C)It[L]&&(_=SI(L,C,e,D,N,w))?_.priority&&(T=1):q[L]=S=lj.call(e,N,L,"get",C[L],D,w,0,i.stringFilter);e._op&&e._op[A]&&e.kill(N,e._op[A]),M&&e._pt&&(Ga=e,Ve.killTweensOf(N,q,e.globalTime(r)),$=!e.parent,Ga=0),e._pt&&d&&(CC[z.id]=1)}T&&qI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!$,f&&r<=0&&b.render($t,!0,!0)},UT=function(e,r,n,i,s,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,f,x;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,x=e._targets.length;x--;){if(u=f[x][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return AC=1,e.vars[r]="+=0",dj(e,l),AC=0,d?Fc(r+" not eligible for reset"):1;h.push(u)}for(x=h.length;x--;)p=h[x],u=p._pt||p,u.s=(i||i===0)&&!s?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Xe(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},$T=function(e,r){var n=e[0]?Yo(e[0]).harness:0,i=n&&n.aliases,s,c,l,d;if(!i)return r;s=Vs({},r);for(c in i)if(c in s)for(d=i[c].split(","),l=d.length;l--;)s[d[l]]=s[c];return s},GT=function(e,r,n,i){var s=r.ease||i||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:s})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:s})},Dc=function(e,r,n,i,s){return We(e)?e.call(r,n,i,s):nt(e)&&~e.indexOf("random(")?Hc(e):e},II=oj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",NI={};Mt(II+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return NI[a]=1});var Ye=function(a){ZS(e,a);function e(n,i,s,c){var l;typeof i=="number"&&(s.duration=i,i=s,s=null),l=a.call(this,c?i:Tc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,f=d.stagger,x=d.overwrite,k=d.keyframes,y=d.defaults,m=d.scrollTrigger,g=d.yoyoEase,w=i.parent||Ve,M=(ut(n)||JS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),b,C,A,L,S,N,T,z;if(l._targets=M.length?sj(M):Fc("GSAP target "+n+" not found. https://gsap.com",!Rt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=x,k||f||a1(h)||a1(u)){if(i=l.vars,b=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),b.kill(),b.parent=b._dp=wa(l),b._start=0,f||a1(h)||a1(u)){if(L=M.length,T=f&&pI(f),pa(f))for(S in f)~II.indexOf(S)&&(z||(z={}),z[S]=f[S]);for(C=0;C<L;C++)A=c9(i,NI),A.stagger=0,g&&(A.yoyoEase=g),z&&Vs(A,z),N=M[C],A.duration=+Dc(h,wa(l),C,N,M),A.delay=(+Dc(u,wa(l),C,N,M)||0)-l._delay,!f&&L===1&&A.delay&&(l._delay=u=A.delay,l._start+=u,A.delay=0),b.to(N,A,T?T(C,N,M):0),b._ease=ge.none;b.duration()?h=u=0:l.timeline=0}else if(k){Tc(Ft(b.vars.defaults,{ease:"none"})),b._ease=Qo(k.ease||i.ease||"none");var R=0,_,q,D;if(ut(k))k.forEach(function(V){return b.to(M,V,">")}),b.duration();else{A={};for(S in k)S==="ease"||S==="easeEach"||GT(S,k[S],A,k.easeEach);for(S in A)for(_=A[S].sort(function(V,$){return V.t-$.t}),R=0,C=0;C<_.length;C++)q=_[C],D={ease:q.e,duration:(q.t-(C?_[C-1].t:0))/100*h},D[S]=q.v,b.to(M,D,R),R+=D.duration;b.duration()<h&&b.to({},{duration:h-b.duration()})}}h||l.duration(h=b.duration())}else l.timeline=0;return x===!0&&!ej&&(Ga=wa(l),Ve.killTweensOf(M),Ga=0),oa(w,wa(l),s),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!k&&l._start===Oe(w._time)&&wt(p)&&bT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),m&&lI(wa(l),m),l}var r=e.prototype;return r.render=function(i,s,c){var l=this._time,d=this._tDur,h=this._dur,u=i<0,p=i>d-_e&&!u?d:i<_e?0:i,f,x,k,y,m,g,w,M,b;if(!h)jT(this,i,s,c);else if(p!==this._tTime||!i||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(f=p,M=this.timeline,this._repeat){if(y=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(y*100+i,s,c);if(f=Oe(p%y),p===d?(k=this._repeat,f=h):(m=Oe(p/y),k=~~m,k&&k===m?(f=h,k--):f>h&&(f=h)),g=this._yoyo&&k&1,g&&(b=this._yEase,f=h-f),m=Bs(this._tTime,y),f===l&&!c&&this._initted&&k===m)return this._tTime=p,this;k!==m&&(M&&this._yEase&&CI(M,g),this.vars.repeatRefresh&&!g&&!this._lock&&f!==y&&this._initted&&(this._lock=c=1,this.render(Oe(y*k),!0).invalidate()._lock=0))}if(!this._initted){if(dI(this,u?i:f,c,s,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==m))return this;if(h!==this._dur)return this.render(i,s,c)}if(this._tTime=p,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(b||this._ease)(f/h),this._from&&(this.ratio=w=1-w),!l&&p&&!s&&!m&&(Pt(this,"onStart"),this._tTime!==p))return this;for(x=this._pt;x;)x.r(w,x.d),x=x._next;M&&M.render(i<0?i:M._dur*M._ease(f/this._dur),s,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&jC(this,i,s,c),Pt(this,"onUpdate")),this._repeat&&k!==m&&this.vars.onRepeat&&!s&&this.parent&&Pt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&jC(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&rr(this,1),!s&&!(u&&!l)&&(p||l||g)&&(Pt(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,s,c,l,d){Oc||_t.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||dj(this,h),u=this._ease(h/this._dur),UT(this,i,s,c,l,u,h,d)?this.resetTo(i,s,c,l,1):(j9(this,0),this.parent||sI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?lc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Ga&&Ga.vars.overwrite!==!0)._first||lc(this),this.parent&&c!==this.timeline.totalDuration()&&Us(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=i?Gt(i):l,h=this._ptLookup,u=this._pt,p,f,x,k,y,m,g;if((!s||s==="all")&&wT(l,d))return s==="all"&&(this._pt=0),lc(this);for(p=this._op=this._op||[],s!=="all"&&(nt(s)&&(y={},Mt(s,function(w){return y[w]=1}),s=y),s=$T(l,s)),g=l.length;g--;)if(~d.indexOf(l[g])){f=h[g],s==="all"?(p[g]=s,k=f,x={}):(x=p[g]=p[g]||{},k=s);for(y in k)m=f&&f[y],m&&((!("kill"in m.d)||m.d.kill(y)===!0)&&b9(this,m,"_pt"),delete f[y]),x!=="all"&&(x[y]=1)}return this._initted&&!this._pt&&u&&lc(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Rc(1,arguments)},e.delayedCall=function(i,s,c,l){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,s,c){return Rc(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,c){return Ve.killTweensOf(i,s,c)},e}(Vc);Ft(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ye[a]=function(){var e=new ft,r=SC.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var hj=function(e,r,n){return e[r]=n},AI=function(e,r,n){return e[r](n)},WT=function(e,r,n,i){return e[r](i.fp,n)},ZT=function(e,r,n){return e.setAttribute(r,n)},uj=function(e,r){return We(e[r])?AI:tj(e[r])&&e.setAttribute?ZT:hj},_I=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},XT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},PI=function(e,r){var n=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=r.c}r.set(r.t,r.p,i,r)},pj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},JT=function(e,r,n,i){for(var s=this._pt,c;s;)c=s._next,s.p===i&&s.modifier(e,r,n),s=c},YT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?b9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},KT=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},qI=function(e){for(var r=e._pt,n,i,s,c;r;){for(n=r._next,i=s;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:s=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=s},bt=function(){function a(r,n,i,s,c,l,d,h,u){this.t=n,this.s=s,this.c=c,this.p=i,this.r=l||_I,this.d=d||this,this.set=h||hj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=KT,this.m=n,this.mt=s,this.tween=i},a}();Mt(oj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return ij[a]=1});zt.TweenMax=zt.TweenLite=Ye;zt.TimelineLite=zt.TimelineMax=ft;Ve=new ft({sortChildren:!1,defaults:Os,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Rt.stringFilter=MI;var es=[],e9={},QT=[],wL=0,eR=0,aC=function(e){return(e9[e]||QT).map(function(r){return r()})},_C=function(){var e=Date.now(),r=[];e-wL>2&&(aC("matchMediaInit"),es.forEach(function(n){var i=n.queries,s=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==s[l]&&(s[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),aC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),wL=e,aC("matchMedia"))},TI=function(){function a(r,n){this.selector=n&&IC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=eR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,s){We(n)&&(s=i,i=n,n=We);var c=this,l=function(){var h=Fe,u=c.selector,p;return h&&h!==c&&h.data.push(c),s&&(c.selector=IC(s)),Fe=c,p=i.apply(c,arguments),We(p)&&c._r.push(p),Fe=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===We?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var i=Fe;Fe=null,n(this),Fe=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof a?n.push.apply(n,i.getTweens()):i instanceof Ye&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var s=this;if(n?function(){for(var l=s.getTweens(),d=s.data.length,h;d--;)h=s.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=s.data.length;d--;)h=s.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);s._r.forEach(function(u){return u(n,s)}),s.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=es.length;c--;)es[c].id===this.id&&es.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),tR=function(){function a(r){this.contexts=[],this.scope=r,Fe&&Fe.data.push(this)}var e=a.prototype;return e.add=function(n,i,s){pa(n)||(n={matches:n});var c=new TI(0,s||this.scope),l=c.conditions={},d,h,u;Fe&&!c.selector&&(c.selector=Fe.selector),this.contexts.push(c),i=c.add("onMatch",i),c.queries=n;for(h in n)h==="all"?u=1:(d=na.matchMedia(n[h]),d&&(es.indexOf(c)<0&&es.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(_C):d.addEventListener("change",_C)));return u&&i(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},a}(),d9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(i){return gI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Ve.getTweensOf(e,r)},getProperty:function(e,r,n,i){nt(e)&&(e=Gt(e)[0]);var s=Yo(e||{}).get,c=n?oI:iI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||s)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||s)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return jt.quickSetter(u,r,n)}),s=i.length;return function(u){for(var p=s;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Yo(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;fs._pt=0,p.init(e,n?u+n:u,fs,0,[e]),p.render(1,p),fs._pt&&pj(1,fs)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var i,s=jt.to(e,Ft((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return s.resetTo(r,d,h,u)};return c.tween=s,c},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qo(e.ease,Os.ease)),fL(Os,e||{})},config:function(e){return fL(Rt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,s=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!zt[l]&&Fc(r+" effect requires "+l+" plugin.")}),K9[r]=function(l,d,h){return n(Gt(l),Ft(d||{},s),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(K9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ge[e]=Qo(r)},parseEase:function(e,r){return arguments.length?Qo(e,r):ge},getById:function(e){return Ve.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,s;for(n.smoothChildTiming=wt(e.smoothChildTiming),Ve.remove(n),n._dp=0,n._time=n._tTime=Ve._time,i=Ve._first;i;)s=i._next,(r||!(!i._dur&&i instanceof Ye&&i.vars.onComplete===i._targets[0]))&&oa(n,i,i._start-i._delay),i=s;return oa(Ve,n,0),n},context:function(e,r){return e?new TI(e,r):Fe},matchMedia:function(e){return new tR(e)},matchMediaRefresh:function(){return es.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||_C()},addEventListener:function(e,r){var n=e9[e]||(e9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=e9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:qT,wrapYoyo:TT,distribute:pI,random:mI,snap:yI,normalize:PT,getUnit:ht,clamp:IT,splitColor:vI,toArray:Gt,selector:IC,mapRange:xI,pipe:AT,unitize:_T,interpolate:RT,shuffle:uI},install:eI,effects:K9,ticker:_t,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Ve,core:{PropTween:bt,globals:tI,Tween:Ye,Timeline:ft,Animation:Vc,getCache:Yo,_removeLinkedListItem:b9,reverting:function(){return lt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return ej=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return d9[a]=Ye[a]});_t.add(ft.updateRoot);fs=d9.to({},{duration:0});var aR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},rR=function(e,r){var n=e._targets,i,s,c;for(i in r)for(s=n.length;s--;)c=e._ptLookup[s][i],c&&(c=c.d)&&(c._pt&&(c=aR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[s],i))},rC=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,s,c){c._onInit=function(l){var d,h;if(nt(s)&&(d={},Mt(s,function(u){return d[u]=1}),s=d),r){d={};for(h in s)d[h]=r(s[h]);s=d}rR(l,s)}}}},jt=d9.registerPlugin({name:"attr",init:function(e,r,n,i,s){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],i,s,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)lt?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},rC("roundProps",NC),rC("modifiers"),rC("snap",yI))||d9;Ye.version=ft.version=jt.version="3.14.2";QS=1;aj()&&$s();ge.Power0;ge.Power1;ge.Power2;ge.Power3;ge.Power4;ge.Linear;ge.Quad;ge.Cubic;ge.Quart;ge.Quint;ge.Strong;ge.Elastic;ge.Back;ge.SteppedEase;ge.Bounce;ge.Sine;ge.Expo;ge.Circ;/*!
7732
+ */var Rt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Os={duration:.5,overwrite:!1,delay:0},ej,lt,Fe,$t=1e8,_e=1/$t,MC=Math.PI*2,lT=MC/4,dT=0,XS=Math.sqrt,hT=Math.cos,uT=Math.sin,nt=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},tj=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},aj=function(){return typeof window<"u"},a1=function(e){return We(e)||nt(e)},JS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,pT=/random\([^)]+\)/g,yT=/,\s*/g,yL=/(?:-?\.?\d|\.)+/gi,YS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ms=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Y9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,KS=/[+-]=-?[.\d]+/,mT=/[^,'"\[\]\s]+/gi,fT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,na,bC,rj,zt={},o9={},QS,eI=function(e){return(o9=Vs(e,zt))&&jt},nj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Fc=function(e,r){return!r&&console.warn(e)},tI=function(e,r){return e&&(zt[e]=r)&&o9&&(o9[e]=r)||zt},Ec=function(){return 0},xT={suppressEvents:!0,isStart:!0,kill:!1},Kb={suppressEvents:!0,kill:!1},kT={suppressEvents:!0},ij={},Ka=[],CC={},aI,It={},K9={},mL=30,Qb=[],oj="",sj=function(e){var r=e[0],n,i;if(pa(r)||We(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=Qb.length;i--&&!Qb[i].targetTest(r););n=Qb[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new LI(e[i],n)))||e.splice(i,1);return e},Yo=function(e){return e._gsap||sj(Gt(e))[0]._gsap},rI=function(e,r,n){return(n=e[r])&&We(n)?e[r]():tj(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},Ts=function(e,r){var n=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},gT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},s9=function(){var e=Ka.length,r=Ka.slice(0),n,i;for(CC={},Ka.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},cj=function(e){return!!(e._initted||e._startAt||e.add)},nI=function(e,r,n,i){Ka.length&&!lt&&s9(),e.render(r,n,!!(lt&&r<0&&cj(e))),Ka.length&&!lt&&s9()},iI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(mT).length<2?r:nt(e)?e.trim():e},oI=function(e){return e},Ft=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},vT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Vs=function(e,r){for(var n in r)e[n]=r[n];return e},fL=function a(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=pa(r[n])?a(e[n]||(e[n]={}),r[n]):r[n]);return e},c9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},Tc=function(e){var r=e.parent||Ve,n=e.keyframes?vT(ut(e.keyframes)):Ft;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},wT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},sI=function(e,r,n,i,s){var c=e[i],l;if(s)for(l=r[s];c&&c[s]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[i]=r,r._prev=c,r.parent=r._dp=e,r},b9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=r._prev,c=r._next;s?s._next=c:e[n]===r&&(e[n]=c),c?c._prev=s:e[i]===r&&(e[i]=s),r._next=r._prev=r.parent=null},rr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ko=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},MT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},jC=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(Kb):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},bT=function a(e){return!e||e._ts&&a(e.parent)},xL=function(e){return e._repeat?Bs(e._tTime,e=e.duration()+e._rDelay)*e:0},Bs=function(e,r){var n=Math.floor(e=Oe(e/r));return e&&n===e?n-1:n},l9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},C9=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},j9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Oe(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),C9(e),n._dirty||Ko(n,e)),e},cI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=l9(e.rawTime(),r),(!r._dur||Yc(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Ko(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-_e}},oa=function(e,r,n,i){return r.parent&&rr(r),r._start=Oe((Aa(n)?n:n||e!==Ve?Vt(e,n,r):e._time)+r._delay),r._end=Oe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),sI(e,r,"_first","_last",e._sort?"_start":0),LC(r)||(e._recent=r),i||cI(e,r),e._ts<0&&j9(e,e._tTime),e},lI=function(e,r){return(zt.ScrollTrigger||nj("scrollTrigger",r))&&zt.ScrollTrigger.create(r,e)},dI=function(e,r,n,i,s){if(dj(e,r,s),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&aI!==_t.frame)return Ka.push(e),e._lazy=[s,i],1},CT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},LC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},jT=function(e,r,n,i){var s=e.ratio,c=r<0||!r&&(!e._start&&CT(e)&&!(!e._initted&&LC(e))||(e._ts<0||e._dp._ts<0)&&!LC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Yc(0,e._tDur,r),u=Bs(d,l),e._yoyo&&u&1&&(c=1-c),u!==Bs(e._tTime,l)&&(s=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==s||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&dI(e,r,i,n,d))return;for(p=e._zTime,e._zTime=r||(n?_e:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&jC(e,r,n,!0),e._onUpdate&&!n&&Pt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Pt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&rr(e,1),!n&&!lt&&(Pt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},LT=function(e,r,n){var i;if(n>r)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},Us=function(e,r,n,i){var s=e._repeat,c=Oe(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=s?s<0?1e10:Oe(c*(s+1)+e._rDelay*s):c,l>0&&!i&&j9(e,e._tTime=e._tDur*l),e.parent&&C9(e),n||Ko(e.parent,e),e},kL=function(e){return e instanceof ft?Ko(e):Us(e,e._dur)},ST={_start:0,endTime:Ec,totalDuration:Ec},Vt=function a(e,r,n){var i=e.labels,s=e._recent||ST,c=e.duration()>=$t?s.endTime(!1):e._dur,l,d,h;return nt(r)&&(isNaN(r)||r in i)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?s:n).totalDuration()/100:1)):l<0?(r in i||(i[r]=c),i[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?a(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Rc=function(e,r,n){var i=Aa(r[1]),s=(i?2:1)+(e<2?0:1),c=r[s],l,d;if(i&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=wt(d.vars.inherit)&&d.parent;c.immediateRender=wt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[s-1]}return new Ye(r[0],c,r[s+1])},dr=function(e,r){return e||e===0?r(e):r},Yc=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!nt(e)||!(r=fT.exec(e))?"":r[1]},IT=function(e,r,n){return dr(n,function(i){return Yc(e,r,i)})},SC=[].slice,hI=function(e,r){return e&&pa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&pa(e[0]))&&!e.nodeType&&e!==na},NT=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var s;return nt(i)&&!r||hI(i,1)?(s=n).push.apply(s,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Fe&&!r&&Fe.selector?Fe.selector(e):nt(e)&&!n&&(bC||!$s())?SC.call((r||rj).querySelectorAll(e),0):ut(e)?NT(e,n):hI(e)?SC.call(e,0):e?[e]:[]},IC=function(e){return e=Gt(e)[0]||Fc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Fc("Invalid scope")||rj.createElement("div"):e)}},uI=function(e){return e.sort(function(){return .5-Math.random()})},pI=function(e){if(We(e))return e;var r=pa(e)?e:{each:e},n=Qo(r.ease),i=r.from||0,s=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return nt(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(f,x,k){var y=(k||r).length,m=c[y],g,w,M,b,C,N,L,S,A;if(!m){if(A=r.grid==="auto"?0:(r.grid||[1,$t])[1],!A){for(L=-$t;L<(L=k[A++].getBoundingClientRect().left)&&A<y;);A<y&&A--}for(m=c[y]=[],g=d?Math.min(A,y)*u-.5:i%A,w=A===$t?0:d?y*p/A-.5:i/A|0,L=0,S=$t,N=0;N<y;N++)M=N%A-g,b=w-(N/A|0),m[N]=C=h?Math.abs(h==="y"?b:M):XS(M*M+b*b),C>L&&(L=C),C<S&&(S=C);i==="random"&&uI(m),m.max=L-S,m.min=S,m.v=y=(parseFloat(r.amount)||parseFloat(r.each)*(A>y?y-1:h?h==="y"?y/A:A:Math.max(A,y/A))||0)*(i==="edges"?-1:1),m.b=y<0?s-y:s,m.u=ht(r.amount||r.each)||0,n=n&&y<0?bI(n):n}return y=(m[f]-m.min)/m.max||0,Oe(m.b+(n?n(y):y)*m.v)+m.u}},NC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Oe(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Aa(n)?0:ht(n))}},yI=function(e,r){var n=ut(e),i,s;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(s=!Aa(e[0]))&&(i*=i)):e=NC(e.increment)),dr(r,n?We(e)?function(c){return s=e(c),Math.abs(s-c)<=i?s:c}:function(c){for(var l=parseFloat(s?c.x:c),d=parseFloat(s?c.y:0),h=$t,u=0,p=e.length,f,x;p--;)s?(f=e[p].x-l,x=e[p].y-d,f=f*f+x*x):f=Math.abs(e[p]-l),f<h&&(h=f,u=p);return u=!i||h<=i?e[u]:c,s||u===c||Aa(c)?u:u+ht(c)}:NC(e))},mI=function(e,r,n,i){return dr(ut(e)?!r:n===!0?!!(n=0):!i,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*i)/i})},AT=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(i){return r.reduce(function(s,c){return c(s)},i)}},_T=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},PT=function(e,r,n){return xI(e,r,0,1,n)},fI=function(e,r,n){return dr(n,function(i){return e[~~r(i)]})},qT=function a(e,r,n){var i=r-e;return ut(e)?fI(e,a(0,e.length),r):dr(n,function(s){return(i+(s-e)%i)%i+e})},TT=function a(e,r,n){var i=r-e,s=i*2;return ut(e)?fI(e,a(0,e.length-1),r):dr(n,function(c){return c=(s+(c-e)%s)%s||0,e+(c>i?s-c:c)})},Hc=function(e){return e.replace(pT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(yT);return mI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},xI=function(e,r,n,i,s){var c=r-e,l=i-n;return dr(s,function(d){return n+((d-e)/c*l||0)})},RT=function a(e,r,n,i){var s=isNaN(e+r)?0:function(x){return(1-x)*e+x*r};if(!s){var c=nt(e),l={},d,h,u,p,f;if(n===!0&&(i=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,f=p-2,h=1;h<p;h++)u.push(a(e[h-1],e[h]));p--,s=function(k){k*=p;var y=Math.min(f,~~k);return u[y](k-y)},n=r}else i||(e=Vs(ut(e)?[]:{},e));if(!u){for(d in r)lj.call(l,e,d,"get",r[d]);s=function(k){return pj(k,l)||(c?e.p:e)}}}return dr(n,s)},gL=function(e,r,n){var i=e.labels,s=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&s>(l=Math.abs(l))&&(d=c,s=l);return d},Pt=function(e,r,n){var i=e.vars,s=i[r],c=Fe,l=e._ctx,d,h,u;if(s)return d=i[r+"Params"],h=i.callbackScope||e,n&&Ka.length&&s9(),l&&(Fe=l),u=d?s.apply(h,d):s.call(h),Fe=c,u},lc=function(e){return rr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Pt(e,"onInterrupt"),e},fs,kI=[],gI=function(e){if(e)if(e=!e.name&&e.default||e,aj()||e.headless){var r=e.name,n=We(e),i=r&&!n&&e.init?function(){this._props=[]}:e,s={init:Ec,render:pj,add:lj,kill:YT,modifier:JT,rawVars:0},c={targetTest:0,get:0,getSetter:uj,aliases:{},register:0};if($s(),e!==i){if(It[r])return;Ft(i,Ft(c9(e,s),c)),Vs(i.prototype,Vs(s,c9(e,c))),It[i.prop=r]=i,e.targetTest&&(Qb.push(i),ij[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}tI(r,i),e.register&&e.register(jt,i,bt)}else kI.push(e)},Ae=255,dc={aqua:[0,Ae,Ae],lime:[0,Ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ae],navy:[0,0,128],white:[Ae,Ae,Ae],olive:[128,128,0],yellow:[Ae,Ae,0],orange:[Ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ae,0,0],pink:[Ae,192,203],cyan:[0,Ae,Ae],transparent:[Ae,Ae,Ae,0]},Q9=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Ae+.5|0},vI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:dc.black,s,c,l,d,h,u,p,f,x,k;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),dc[e])i=dc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+s+s+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Ae,i&Ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ae,e&Ae]}else if(e.substr(0,3)==="hsl"){if(i=k=e.match(yL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,s=u*2-c,i.length>3&&(i[3]*=1),i[0]=Q9(d+1/3,s,c),i[1]=Q9(d,s,c),i[2]=Q9(d-1/3,s,c);else if(~e.indexOf("="))return i=e.match(YS),n&&i.length<4&&(i[3]=1),i}else i=e.match(yL)||dc.transparent;i=i.map(Number)}return r&&!k&&(s=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(s,c,l),f=Math.min(s,c,l),u=(p+f)/2,p===f?d=h=0:(x=p-f,h=u>.5?x/(2-p-f):x/(p+f),d=p===s?(c-l)/x+(c<l?6:0):p===c?(l-s)/x+2:(s-c)/x+4,d*=60),i[0]=~~(d+.5),i[1]=~~(h*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},wI=function(e){var r=[],n=[],i=-1;return e.split(Qa).forEach(function(s){var c=s.match(ms)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},vL=function(e,r,n){var i="",s=(e+i).match(Qa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!s)return e;if(s=s.map(function(f){return(f=vI(f,r,1))&&c+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=wI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(Qa,"1").split(ms),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?s.shift()||c+"0,0,0,0)":(u.length?u:s.length?s:n).shift());if(!h)for(h=e.split(Qa),p=h.length-1;l<p;l++)i+=h[l]+s[l];return i+h[p]},Qa=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in dc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),DT=/hsl[a]?\(/,MI=function(e){var r=e.join(" "),n;if(Qa.lastIndex=0,Qa.test(r))return n=DT.test(r),e[1]=vL(e[1],n),e[0]=vL(e[0],n,wI(e[1])),!0},Oc,_t=function(){var a=Date.now,e=500,r=33,n=a(),i=n,s=1e3/240,c=s,l=[],d,h,u,p,f,x,k=function y(m){var g=a()-i,w=m===!0,M,b,C,N;if((g>e||g<0)&&(n+=g-r),i+=g,C=i-n,M=C-c,(M>0||w)&&(N=++p.frame,f=C-p.time*1e3,p.time=C=C/1e3,c+=M+(M>=s?4:s-M),b=1),w||(d=h(y)),b)for(x=0;x<l.length;x++)l[x](C,f,N,m)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(m){return f/(1e3/(m||60))},wake:function(){QS&&(!bC&&aj()&&(na=bC=window,rj=na.document||{},zt.gsap=jt,(na.gsapVersions||(na.gsapVersions=[])).push(jt.version),eI(o9||na.GreenSockGlobals||!na.gsap&&na||{}),kI.forEach(gI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(m){return setTimeout(m,c-p.time*1e3+1|0)},Oc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Oc=0,h=Ec},lagSmoothing:function(m,g){e=m||1/0,r=Math.min(g||33,e)},fps:function(m){s=1e3/(m||240),c=p.time*1e3+s},add:function(m,g,w){var M=g?function(b,C,N,L){m(b,C,N,L),p.remove(M)}:m;return p.remove(m),l[w?"unshift":"push"](M),$s(),M},remove:function(m,g){~(g=l.indexOf(m))&&l.splice(g,1)&&x>=g&&x--},_listeners:l},p}(),$s=function(){return!Oc&&_t.wake()},ge={},zT=/^[\d.\-M][\d.\-,\s]/,FT=/["']/g,ET=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],s=1,c=n.length,l,d,h;s<c;s++)d=n[s],l=s!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(FT,"").trim():+h,i=d.substr(l+1).trim();return r},HT=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)},OT=function(e){var r=(e+"").split("("),n=ge[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[ET(r[1])]:HT(e).split(",").map(iI)):ge._CE&&zT.test(e)?ge._CE("",e):n},bI=function(e){return function(r){return 1-e(1-r)}},CI=function a(e,r){for(var n=e._first,i;n;)n instanceof ft?a(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?a(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},Qo=function(e,r){return e&&(We(e)?e:ge[e]||OT(e))||r},ss=function(e,r,n,i){n===void 0&&(n=function(d){return 1-r(1-d)}),i===void 0&&(i=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var s={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ge[l]=zt[l]=s,ge[c=l.toLowerCase()]=n;for(var d in s)ge[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ge[l+"."+d]=s[d]}),s},jI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},eC=function a(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),c=s/MC*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*uT((u-c)*s)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:jI(l);return s=MC/s,d.config=function(h,u){return a(e,h,u)},d},tC=function a(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},i=e==="out"?n:e==="in"?function(s){return 1-n(1-s)}:jI(n);return i.config=function(s){return a(e,s)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;ss(a+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ge.Linear.easeNone=ge.none=ge.Linear.easeIn;ss("Elastic",eC("in"),eC("out"),eC());(function(a,e){var r=1/e,n=2*r,i=2.5*r,s=function(l){return l<r?a*l*l:l<n?a*Math.pow(l-1.5/e,2)+.75:l<i?a*(l-=2.25/e)*l+.9375:a*Math.pow(l-2.625/e,2)+.984375};ss("Bounce",function(c){return 1-s(1-c)},s)})(7.5625,2.75);ss("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});ss("Circ",function(a){return-(XS(1-a*a)-1)});ss("Sine",function(a){return a===1?1:-hT(a*lT)+1});ss("Back",tC("in"),tC("out"),tC());ge.SteppedEase=ge.steps=zt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),s=r?1:0,c=1-_e;return function(l){return((i*Yc(0,c,l)|0)+s)*n}}};Os.ease=ge["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return oj+=a+","+a+"Params,"});var LI=function(e,r){this.id=dT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:rI,this.set=r?r.getSetter:uj},Vc=function(){function a(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Us(this,+r.duration,1,1),this.data=r.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),Oc||_t.wake()}var e=a.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Us(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if($s(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(j9(this,n),!s._dp||s.parent||cI(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&oa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),nI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+xL(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+xL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?Bs(this._tTime,s)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?l9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(Yc(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),C9(this),MT(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($s(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Oe(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&oa(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(wt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?l9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=kT);var i=lt;return lt=n,cj(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),lt=i,this},e.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,kL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,kL(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(Vt(this,n),wt(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,wt(i)),this._dur||(this._zTime=-_e),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-_e)},e.eventCallback=function(n,i,s){var c=this.vars;return arguments.length>1?(i?(c[n]=i,s&&(c[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,s=i._prom;return new Promise(function(c){var l=We(n)?n:oI,d=function(){var u=i.then;i.then=null,s&&s(),We(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=u),c(l),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?d():i._prom=d})},e.kill=function(){lc(this)},a}();Ft(Vc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_e,_prom:0,_ps:!1,_rts:1});var ft=function(a){ZS(e,a);function e(n,i){var s;return n===void 0&&(n={}),s=a.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=wt(n.sortChildren),Ve&&oa(n.parent||Ve,wa(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&lI(wa(s),n.scrollTrigger),s}var r=e.prototype;return r.to=function(i,s,c){return Rc(0,arguments,this),this},r.from=function(i,s,c){return Rc(1,arguments,this),this},r.fromTo=function(i,s,c,l){return Rc(2,arguments,this),this},r.set=function(i,s,c){return s.duration=0,s.parent=this,Tc(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ye(i,s,Vt(this,c),1),this},r.call=function(i,s,c){return oa(this,Ye.delayedCall(0,i,s),c)},r.staggerTo=function(i,s,c,l,d,h,u){return c.duration=s,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(i,c,Vt(this,d)),this},r.staggerFrom=function(i,s,c,l,d,h,u){return c.runBackwards=1,Tc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,s,c,l,d,h,u)},r.staggerFromTo=function(i,s,c,l,d,h,u,p){return l.startAt=c,Tc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,s,l,d,h,u,p)},r.render=function(i,s,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=i<=0?0:Oe(i),p=this._zTime<0!=i<0&&(this._initted||!h),f,x,k,y,m,g,w,M,b,C,N,L;if(this!==Ve&&u>d&&i>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,i+=this._time-l),f=u,b=this._start,M=this._ts,g=!M,p&&(h||(l=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(N=this._yoyo,m=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,s,c);if(f=Oe(u%m),u===d?(y=this._repeat,f=h):(C=Oe(u/m),y=~~C,y&&y===C&&(f=h,y--),f>h&&(f=h)),C=Bs(this._tTime,m),!l&&this._tTime&&C!==y&&this._tTime-C*m-this._dur<=0&&(C=y),N&&y&1&&(f=h-f,L=1),y!==C&&!this._lock){var S=N&&C&1,A=S===(N&&y&1);if(y<C&&(S=!S),l=S?0:u%h?h:u,this._lock=1,this.render(l||(L?0:Oe(y*m)),s,!h)._lock=0,this._tTime=u,!s&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1,C=y),l&&l!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,A&&(this._lock=2,l=S?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;CI(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=LT(this,Oe(l),Oe(f)),w&&(u-=f-(f=w._start))),this._tTime=u,this._time=f,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,l=0),!l&&u&&h&&!s&&!C&&(Pt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&i>=0)for(x=this._first;x;){if(k=x._next,(x._act||f>=x._start)&&x._ts&&w!==x){if(x.parent!==this)return this.render(i,s,c);if(x.render(x._ts>0?(f-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(f-x._start)*x._ts,s,c),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=-_e);break}}x=k}else{x=this._last;for(var T=i<0?i:f;x;){if(k=x._prev,(x._act||T<=x._end)&&x._ts&&w!==x){if(x.parent!==this)return this.render(i,s,c);if(x.render(x._ts>0?(T-x._start)*x._ts:(x._dirty?x.totalDuration():x._tDur)+(T-x._start)*x._ts,s,c||lt&&cj(x)),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=T?-_e:_e);break}}x=k}}if(w&&!s&&(this.pause(),w.render(f>=l?0:-_e)._zTime=f>=l?1:-1,this._ts))return this._start=b,C9(this),this.render(i,s,c);this._onUpdate&&!s&&Pt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(b===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&rr(this,1),!s&&!(i<0&&!l)&&(u||l||!d)&&(Pt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,s){var c=this;if(Aa(s)||(s=Vt(this,s,i)),!(i instanceof Vc)){if(ut(i))return i.forEach(function(l){return c.add(l,s)}),this;if(nt(i))return this.addLabel(i,s);if(We(i))i=Ye.delayedCall(0,i);else return this}return this!==i?oa(this,i,s):this},r.getChildren=function(i,s,c,l){i===void 0&&(i=!0),s===void 0&&(s=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?s&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,s,c)))),h=h._next;return d},r.getById=function(i){for(var s=this.getChildren(1,1,1),c=s.length;c--;)if(s[c].vars.id===i)return s[c]},r.remove=function(i){return nt(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(i.parent===this&&b9(this,i),i===this._recent&&(this._recent=this._last),Ko(this))},r.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(_t.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},r.addLabel=function(i,s){return this.labels[i]=Vt(this,s),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,s,c){var l=Ye.delayedCall(0,s||Ec,c);return l.data="isPause",this._hasPause=1,oa(this,l,Vt(this,i))},r.removePause=function(i){var s=this._first;for(i=Vt(this,i);s;)s._start===i&&s.data==="isPause"&&rr(s),s=s._next},r.killTweensOf=function(i,s,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ga!==l[d]&&l[d].kill(i,s);return this},r.getTweensOf=function(i,s){for(var c=[],l=Gt(i),d=this._first,h=Aa(s),u;d;)d instanceof Ye?gT(d._targets,l)&&(h?(!Ga||d._initted&&d._ts)&&d.globalTime(0)<=s&&d.globalTime(d.totalDuration())>s:!s||d.isActive())&&c.push(d):(u=d.getTweensOf(l,s)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,s){s=s||{};var c=this,l=Vt(c,i),d=s,h=d.startAt,u=d.onStart,p=d.onStartParams,f=d.immediateRender,x,k=Ye.to(c,Ft({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:s.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!x){var m=s.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==m&&Us(k,m,0,1).render(k._time,!0,!0),x=1}u&&u.apply(k,p||[])}},s));return f?k.render(0):k},r.tweenFromTo=function(i,s,c){return this.tweenTo(s,Ft({startAt:{time:Vt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,s,c){c===void 0&&(c=0);var l=this._first,d=this.labels,h;for(i=Oe(i);l;)l._start>=c&&(l._start+=i,l._end+=i),l=l._next;if(s)for(h in d)d[h]>=c&&(d[h]+=i);return Ko(this)},r.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,c;s;)c=s._next,this.remove(s),s=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Ko(this)},r.totalDuration=function(i){var s=0,c=this,l=c._last,d=$t,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-i:i));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,oa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(s-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=Oe(u/c._ts),c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>s&&l._ts&&(s=l._end),l=h;Us(c,c===Ve&&c._time>s?c._time:s,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Ve._ts&&(nI(Ve,l9(i,Ve)),aI=_t.frame),_t.frame>=mL){mL+=Rt.autoSleep||120;var s=Ve._first;if((!s||!s._ts)&&Rt.autoSleep&&_t._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||_t.sleep()}}},e}(Vc);Ft(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var VT=function(e,r,n,i,s,c,l){var d=new bt(this._pt,e,r,0,1,PI,null,s),h=0,u=0,p,f,x,k,y,m,g,w;for(d.b=n,d.e=i,n+="",i+="",(g=~i.indexOf("random("))&&(i=Hc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),f=n.match(Y9)||[];p=Y9.exec(i);)k=p[0],y=i.substring(h,p.index),x?x=(x+1)%5:y.substr(-5)==="rgba("&&(x=1),k!==f[u++]&&(m=parseFloat(f[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:m,c:k.charAt(1)==="="?Ts(m,k)-m:parseFloat(k)-m,m:x&&x<4?Math.round:0},h=Y9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(KS.test(i)||g)&&(d.e=0),this._pt=d,d},lj=function(e,r,n,i,s,c,l,d,h,u){We(i)&&(i=i(s||0,e,c));var p=e[r],f=n!=="get"?n:We(p)?h?e[r.indexOf("set")||!We(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,x=We(p)?h?WT:AI:hj,k;if(nt(i)&&(~i.indexOf("random(")&&(i=Hc(i)),i.charAt(1)==="="&&(k=Ts(f,i)+(ht(f)||0),(k||k===0)&&(i=k))),!u||f!==i||AC)return!isNaN(f*i)&&i!==""?(k=new bt(this._pt,e,r,+f||0,i-(f||0),typeof p=="boolean"?XT:_I,0,x),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&nj(r,i),VT.call(this,e,r,f,i,x,d||Rt.stringFilter,h))},BT=function(e,r,n,i,s){if(We(e)&&(e=Dc(e,s,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||JS(e))return nt(e)?Dc(e,s,r,n,i):e;var c={},l;for(l in e)c[l]=Dc(e[l],s,r,n,i);return c},SI=function(e,r,n,i,s,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(s,l.rawVars?r[e]:BT(r[e],i,s,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,s,e,0,1,l.render,l,0,l.priority),n!==fs))for(h=n._ptLookup[n._targets.indexOf(s)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ga,AC,dj=function a(e,r,n){var i=e.vars,s=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,f=i.keyframes,x=i.autoRevert,k=e._dur,y=e._startAt,m=e._targets,g=e.parent,w=g&&g.data==="nested"?g.vars.targets:m,M=e._overwrite==="auto"&&!ej,b=e.timeline,C,N,L,S,A,T,R,D,_,q,z,V,$;if(b&&(!f||!s)&&(s="none"),e._ease=Qo(s,Os.ease),e._yEase=p?bI(Qo(p===!0?s:p,Os.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!b&&!!i.runBackwards,!b||f&&!i.stagger){if(D=m[0]?Yo(m[0]).harness:0,V=D&&i[D.prop],C=c9(i,ij),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!x?y.render(-1,!0):y.revert(u&&k?Kb:xT),y._lazy=0),c){if(rr(e._startAt=Ye.set(m,Ft({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return Pt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!x)&&e._startAt.revert(Kb),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!y){if(r&&(l=!1),L=Ft({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:g},C),V&&(L[D.prop]=V),rr(e._startAt=Ye.set(m,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(Kb):e._startAt.render(-1,!0)),e._zTime=r,!l)a(e._startAt,_e,_e);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&wt(d)||d&&!k,N=0;N<m.length;N++){if(A=m[N],R=A._gsap||sj(m)[N]._gsap,e._ptLookup[N]=q={},CC[R.id]&&Ka.length&&s9(),z=w===m?N:w.indexOf(A),D&&(_=new D).init(A,V||C,e,z,w)!==!1&&(e._pt=S=new bt(e._pt,A,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){q[E]=S}),_.priority&&(T=1)),!D||V)for(L in C)It[L]&&(_=SI(L,C,e,z,A,w))?_.priority&&(T=1):q[L]=S=lj.call(e,A,L,"get",C[L],z,w,0,i.stringFilter);e._op&&e._op[N]&&e.kill(A,e._op[N]),M&&e._pt&&(Ga=e,Ve.killTweensOf(A,q,e.globalTime(r)),$=!e.parent,Ga=0),e._pt&&d&&(CC[R.id]=1)}T&&qI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!$,f&&r<=0&&b.render($t,!0,!0)},UT=function(e,r,n,i,s,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,f,x;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,x=e._targets.length;x--;){if(u=f[x][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return AC=1,e.vars[r]="+=0",dj(e,l),AC=0,d?Fc(r+" not eligible for reset"):1;h.push(u)}for(x=h.length;x--;)p=h[x],u=p._pt||p,u.s=(i||i===0)&&!s?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Xe(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},$T=function(e,r){var n=e[0]?Yo(e[0]).harness:0,i=n&&n.aliases,s,c,l,d;if(!i)return r;s=Vs({},r);for(c in i)if(c in s)for(d=i[c].split(","),l=d.length;l--;)s[d[l]]=s[c];return s},GT=function(e,r,n,i){var s=r.ease||i||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:s})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:s})},Dc=function(e,r,n,i,s){return We(e)?e.call(r,n,i,s):nt(e)&&~e.indexOf("random(")?Hc(e):e},II=oj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",NI={};Mt(II+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return NI[a]=1});var Ye=function(a){ZS(e,a);function e(n,i,s,c){var l;typeof i=="number"&&(s.duration=i,i=s,s=null),l=a.call(this,c?i:Tc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,f=d.stagger,x=d.overwrite,k=d.keyframes,y=d.defaults,m=d.scrollTrigger,g=d.yoyoEase,w=i.parent||Ve,M=(ut(n)||JS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),b,C,N,L,S,A,T,R;if(l._targets=M.length?sj(M):Fc("GSAP target "+n+" not found. https://gsap.com",!Rt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=x,k||f||a1(h)||a1(u)){if(i=l.vars,b=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),b.kill(),b.parent=b._dp=wa(l),b._start=0,f||a1(h)||a1(u)){if(L=M.length,T=f&&pI(f),pa(f))for(S in f)~II.indexOf(S)&&(R||(R={}),R[S]=f[S]);for(C=0;C<L;C++)N=c9(i,NI),N.stagger=0,g&&(N.yoyoEase=g),R&&Vs(N,R),A=M[C],N.duration=+Dc(h,wa(l),C,A,M),N.delay=(+Dc(u,wa(l),C,A,M)||0)-l._delay,!f&&L===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),b.to(A,N,T?T(C,A,M):0),b._ease=ge.none;b.duration()?h=u=0:l.timeline=0}else if(k){Tc(Ft(b.vars.defaults,{ease:"none"})),b._ease=Qo(k.ease||i.ease||"none");var D=0,_,q,z;if(ut(k))k.forEach(function(V){return b.to(M,V,">")}),b.duration();else{N={};for(S in k)S==="ease"||S==="easeEach"||GT(S,k[S],N,k.easeEach);for(S in N)for(_=N[S].sort(function(V,$){return V.t-$.t}),D=0,C=0;C<_.length;C++)q=_[C],z={ease:q.e,duration:(q.t-(C?_[C-1].t:0))/100*h},z[S]=q.v,b.to(M,z,D),D+=z.duration;b.duration()<h&&b.to({},{duration:h-b.duration()})}}h||l.duration(h=b.duration())}else l.timeline=0;return x===!0&&!ej&&(Ga=wa(l),Ve.killTweensOf(M),Ga=0),oa(w,wa(l),s),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!k&&l._start===Oe(w._time)&&wt(p)&&bT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),m&&lI(wa(l),m),l}var r=e.prototype;return r.render=function(i,s,c){var l=this._time,d=this._tDur,h=this._dur,u=i<0,p=i>d-_e&&!u?d:i<_e?0:i,f,x,k,y,m,g,w,M,b;if(!h)jT(this,i,s,c);else if(p!==this._tTime||!i||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(f=p,M=this.timeline,this._repeat){if(y=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(y*100+i,s,c);if(f=Oe(p%y),p===d?(k=this._repeat,f=h):(m=Oe(p/y),k=~~m,k&&k===m?(f=h,k--):f>h&&(f=h)),g=this._yoyo&&k&1,g&&(b=this._yEase,f=h-f),m=Bs(this._tTime,y),f===l&&!c&&this._initted&&k===m)return this._tTime=p,this;k!==m&&(M&&this._yEase&&CI(M,g),this.vars.repeatRefresh&&!g&&!this._lock&&f!==y&&this._initted&&(this._lock=c=1,this.render(Oe(y*k),!0).invalidate()._lock=0))}if(!this._initted){if(dI(this,u?i:f,c,s,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==m))return this;if(h!==this._dur)return this.render(i,s,c)}if(this._tTime=p,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(b||this._ease)(f/h),this._from&&(this.ratio=w=1-w),!l&&p&&!s&&!m&&(Pt(this,"onStart"),this._tTime!==p))return this;for(x=this._pt;x;)x.r(w,x.d),x=x._next;M&&M.render(i<0?i:M._dur*M._ease(f/this._dur),s,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&jC(this,i,s,c),Pt(this,"onUpdate")),this._repeat&&k!==m&&this.vars.onRepeat&&!s&&this.parent&&Pt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&jC(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&rr(this,1),!s&&!(u&&!l)&&(p||l||g)&&(Pt(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,s,c,l,d){Oc||_t.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||dj(this,h),u=this._ease(h/this._dur),UT(this,i,s,c,l,u,h,d)?this.resetTo(i,s,c,l,1):(j9(this,0),this.parent||sI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?lc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Ga&&Ga.vars.overwrite!==!0)._first||lc(this),this.parent&&c!==this.timeline.totalDuration()&&Us(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=i?Gt(i):l,h=this._ptLookup,u=this._pt,p,f,x,k,y,m,g;if((!s||s==="all")&&wT(l,d))return s==="all"&&(this._pt=0),lc(this);for(p=this._op=this._op||[],s!=="all"&&(nt(s)&&(y={},Mt(s,function(w){return y[w]=1}),s=y),s=$T(l,s)),g=l.length;g--;)if(~d.indexOf(l[g])){f=h[g],s==="all"?(p[g]=s,k=f,x={}):(x=p[g]=p[g]||{},k=s);for(y in k)m=f&&f[y],m&&((!("kill"in m.d)||m.d.kill(y)===!0)&&b9(this,m,"_pt"),delete f[y]),x!=="all"&&(x[y]=1)}return this._initted&&!this._pt&&u&&lc(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Rc(1,arguments)},e.delayedCall=function(i,s,c,l){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,s,c){return Rc(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,c){return Ve.killTweensOf(i,s,c)},e}(Vc);Ft(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ye[a]=function(){var e=new ft,r=SC.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var hj=function(e,r,n){return e[r]=n},AI=function(e,r,n){return e[r](n)},WT=function(e,r,n,i){return e[r](i.fp,n)},ZT=function(e,r,n){return e.setAttribute(r,n)},uj=function(e,r){return We(e[r])?AI:tj(e[r])&&e.setAttribute?ZT:hj},_I=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},XT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},PI=function(e,r){var n=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=r.c}r.set(r.t,r.p,i,r)},pj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},JT=function(e,r,n,i){for(var s=this._pt,c;s;)c=s._next,s.p===i&&s.modifier(e,r,n),s=c},YT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?b9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},KT=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},qI=function(e){for(var r=e._pt,n,i,s,c;r;){for(n=r._next,i=s;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:s=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=s},bt=function(){function a(r,n,i,s,c,l,d,h,u){this.t=n,this.s=s,this.c=c,this.p=i,this.r=l||_I,this.d=d||this,this.set=h||hj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=KT,this.m=n,this.mt=s,this.tween=i},a}();Mt(oj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return ij[a]=1});zt.TweenMax=zt.TweenLite=Ye;zt.TimelineLite=zt.TimelineMax=ft;Ve=new ft({sortChildren:!1,defaults:Os,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Rt.stringFilter=MI;var es=[],e9={},QT=[],wL=0,eR=0,aC=function(e){return(e9[e]||QT).map(function(r){return r()})},_C=function(){var e=Date.now(),r=[];e-wL>2&&(aC("matchMediaInit"),es.forEach(function(n){var i=n.queries,s=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==s[l]&&(s[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),aC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),wL=e,aC("matchMedia"))},TI=function(){function a(r,n){this.selector=n&&IC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=eR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,s){We(n)&&(s=i,i=n,n=We);var c=this,l=function(){var h=Fe,u=c.selector,p;return h&&h!==c&&h.data.push(c),s&&(c.selector=IC(s)),Fe=c,p=i.apply(c,arguments),We(p)&&c._r.push(p),Fe=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===We?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var i=Fe;Fe=null,n(this),Fe=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof a?n.push.apply(n,i.getTweens()):i instanceof Ye&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var s=this;if(n?function(){for(var l=s.getTweens(),d=s.data.length,h;d--;)h=s.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=s.data.length;d--;)h=s.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);s._r.forEach(function(u){return u(n,s)}),s.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=es.length;c--;)es[c].id===this.id&&es.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),tR=function(){function a(r){this.contexts=[],this.scope=r,Fe&&Fe.data.push(this)}var e=a.prototype;return e.add=function(n,i,s){pa(n)||(n={matches:n});var c=new TI(0,s||this.scope),l=c.conditions={},d,h,u;Fe&&!c.selector&&(c.selector=Fe.selector),this.contexts.push(c),i=c.add("onMatch",i),c.queries=n;for(h in n)h==="all"?u=1:(d=na.matchMedia(n[h]),d&&(es.indexOf(c)<0&&es.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(_C):d.addEventListener("change",_C)));return u&&i(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},a}(),d9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(i){return gI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Ve.getTweensOf(e,r)},getProperty:function(e,r,n,i){nt(e)&&(e=Gt(e)[0]);var s=Yo(e||{}).get,c=n?oI:iI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||s)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||s)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return jt.quickSetter(u,r,n)}),s=i.length;return function(u){for(var p=s;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Yo(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;fs._pt=0,p.init(e,n?u+n:u,fs,0,[e]),p.render(1,p),fs._pt&&pj(1,fs)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var i,s=jt.to(e,Ft((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return s.resetTo(r,d,h,u)};return c.tween=s,c},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qo(e.ease,Os.ease)),fL(Os,e||{})},config:function(e){return fL(Rt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,s=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!zt[l]&&Fc(r+" effect requires "+l+" plugin.")}),K9[r]=function(l,d,h){return n(Gt(l),Ft(d||{},s),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(K9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ge[e]=Qo(r)},parseEase:function(e,r){return arguments.length?Qo(e,r):ge},getById:function(e){return Ve.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,s;for(n.smoothChildTiming=wt(e.smoothChildTiming),Ve.remove(n),n._dp=0,n._time=n._tTime=Ve._time,i=Ve._first;i;)s=i._next,(r||!(!i._dur&&i instanceof Ye&&i.vars.onComplete===i._targets[0]))&&oa(n,i,i._start-i._delay),i=s;return oa(Ve,n,0),n},context:function(e,r){return e?new TI(e,r):Fe},matchMedia:function(e){return new tR(e)},matchMediaRefresh:function(){return es.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||_C()},addEventListener:function(e,r){var n=e9[e]||(e9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=e9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:qT,wrapYoyo:TT,distribute:pI,random:mI,snap:yI,normalize:PT,getUnit:ht,clamp:IT,splitColor:vI,toArray:Gt,selector:IC,mapRange:xI,pipe:AT,unitize:_T,interpolate:RT,shuffle:uI},install:eI,effects:K9,ticker:_t,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Ve,core:{PropTween:bt,globals:tI,Tween:Ye,Timeline:ft,Animation:Vc,getCache:Yo,_removeLinkedListItem:b9,reverting:function(){return lt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return ej=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return d9[a]=Ye[a]});_t.add(ft.updateRoot);fs=d9.to({},{duration:0});var aR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},rR=function(e,r){var n=e._targets,i,s,c;for(i in r)for(s=n.length;s--;)c=e._ptLookup[s][i],c&&(c=c.d)&&(c._pt&&(c=aR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[s],i))},rC=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,s,c){c._onInit=function(l){var d,h;if(nt(s)&&(d={},Mt(s,function(u){return d[u]=1}),s=d),r){d={};for(h in s)d[h]=r(s[h]);s=d}rR(l,s)}}}},jt=d9.registerPlugin({name:"attr",init:function(e,r,n,i,s){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],i,s,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)lt?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},rC("roundProps",NC),rC("modifiers"),rC("snap",yI))||d9;Ye.version=ft.version=jt.version="3.14.2";QS=1;aj()&&$s();ge.Power0;ge.Power1;ge.Power2;ge.Power3;ge.Power4;ge.Linear;ge.Quad;ge.Cubic;ge.Quart;ge.Quint;ge.Strong;ge.Elastic;ge.Back;ge.SteppedEase;ge.Bounce;ge.Sine;ge.Expo;ge.Circ;/*!
7733
7733
  * CSSPlugin 3.14.2
7734
7734
  * https://gsap.com
7735
7735
  *
7736
7736
  * Copyright 2008-2025, GreenSock. All rights reserved.
7737
7737
  * Subject to the terms at https://gsap.com/standard-license
7738
7738
  * @author: Jack Doyle, jack@greensock.com
7739
- */var ML,Wa,Rs,yj,Uo,bL,mj,nR=function(){return typeof window<"u"},_a={},Vo=180/Math.PI,Ds=Math.PI/180,hs=Math.atan2,CL=1e8,fj=/([A-Z])/g,iR=/(left|right|width|margin|padding|x)/i,oR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},PC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},sR=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},cR=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},lR=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},dR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},RI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},DI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},hR=function(e,r,n){return e.style[r]=n},uR=function(e,r,n){return e.style.setProperty(r,n)},pR=function(e,r,n){return e._gsap[r]=n},yR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},mR=function(e,r,n,i,s){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(s,c)},fR=function(e,r,n,i,s){var c=e._gsap;c[r]=n,c.renderTransform(s,c)},Be="transform",Ct=Be+"Origin",xR=function a(e,r){var n=this,i=this.target,s=i.style,c=i._gsap;if(e in _a&&s){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ja(i,l)}):this.tfm[e]=c.x?c[e]:ja(i,e),e===Ct&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf(Be)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ct,r,"")),e=Be}(s||r)&&this.props.push(e,r,s[e])},zI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},kR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,s,c;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?r[e[s]](e[s+2]):r[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(fj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)i[c]=this.tfm[c];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=mj(),(!s||!s.isStart)&&!n[Be]&&(zI(n),i.zOrigin&&n[Ct]&&(n[Ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},FI=function(e,r){var n={target:e,props:[],revert:kR,save:xR};return e._gsap||jt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},EI,qC=function(e,r){var n=Wa.createElementNS?Wa.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wa.createElement(e);return n&&n.style?n:Wa.createElement(e)},qt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(fj,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Gs(r)||r,1)||""},jL="O,Moz,ms,Ms,Webkit".split(","),Gs=function(e,r,n){var i=r||Uo,s=i.style,c=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(jL[c]+e in s););return c<0?null:(c===3?"ms":c>=0?jL[c]:"")+e},TC=function(){nR()&&window.document&&(ML=window,Wa=ML.document,Rs=Wa.documentElement,Uo=qC("div")||{style:{}},qC("div"),Be=Gs(Be),Ct=Be+"Origin",Uo.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",EI=!!Gs("perspective"),mj=jt.core.reverting,yj=1)},LL=function(e){var r=e.ownerSVGElement,n=qC("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",n.appendChild(i),Rs.appendChild(n);try{s=i.getBBox()}catch{}return n.removeChild(i),Rs.removeChild(n),s},SL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},HI=function(e){var r,n;try{r=e.getBBox()}catch{r=LL(e),n=1}return r&&(r.width||r.height)||n||(r=LL(e)),r&&!r.width&&!r.x&&!r.y?{x:+SL(e,["x","cx","x1"])||0,y:+SL(e,["y","cy","y1"])||0,width:0,height:0}:r},OI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&HI(e))},nr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==Ct&&(r=Be),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(fj,"-$1").toLowerCase())):n.removeAttribute(r)}},Za=function(e,r,n,i,s,c){var l=new bt(e._pt,r,n,0,1,c?DI:RI);return e._pt=l,l.b=i,l.e=s,e._props.push(n),l},IL={deg:1,rad:1,turn:1},gR={grid:1,flex:1},ir=function a(e,r,n,i){var s=parseFloat(n)||0,c=(n+"").trim().substr((s+"").length)||"px",l=Uo.style,d=iR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,f=i==="px",x=i==="%",k,y,m,g;if(i===c||!s||IL[i]||IL[c])return s;if(c!=="px"&&!f&&(s=a(e,r,n,"px")),g=e.getCTM&&OI(e),(x||c==="%")&&(_a[r]||~r.indexOf("adius")))return k=g?e.getBBox()[d?"width":"height"]:e[u],Xe(x?s/k*p:s/100*k);if(l[d?"width":"height"]=p+(f?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Wa||!y.appendChild)&&(y=Wa.body),m=y._gsap,m&&x&&m.width&&d&&m.time===_t.time&&!m.uncache)return Xe(s/m.width*p);if(x&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,k=e[u],w?e.style[r]=w:nr(e,r)}else(x||c==="%")&&!gR[qt(y,"display")]&&(l.position=qt(e,"position")),y===e&&(l.position="static"),y.appendChild(Uo),k=Uo[u],y.removeChild(Uo),l.position="absolute";return d&&x&&(m=Yo(y),m.time=_t.time,m.width=y[u]),Xe(f?k*s/p:k&&s?p/k*s:0)},ja=function(e,r,n,i){var s;return yj||TC(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(s=Uc(e,i),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:u9(qt(e,Ct))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=h9[r]&&h9[r](e,r,n)||qt(e,r)||rI(e,r)||(r==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?ir(e,r,s,n)+n:s},vR=function(e,r,n,i){if(!n||n==="none"){var s=Gs(r,e,1),c=s&&qt(e,s,1);c&&c!==n?(r=s,n=c):r==="borderColor"&&(n=qt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,PI),d=0,h=0,u,p,f,x,k,y,m,g,w,M,b,C;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=qt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=qt(e,r)||i,y?e.style[r]=y:nr(e,r)),u=[n,i],MI(u),n=u[0],i=u[1],f=n.match(ms)||[],C=i.match(ms)||[],C.length){for(;p=ms.exec(i);)m=p[0],w=i.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),m!==(y=f[h++]||"")&&(x=parseFloat(y)||0,b=y.substr((x+"").length),m.charAt(1)==="="&&(m=Ts(x,m)+b),g=parseFloat(m),M=m.substr((g+"").length),d=ms.lastIndex-M.length,M||(M=M||Rt.units[r]||b,d===i.length&&(i+=M,l.e+=M)),b!==M&&(x=ir(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:x,c:g-x,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?DI:RI;return KS.test(i)&&(l.e=0),this._pt=l,l},NL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},wR=function(e){var r=e.split(" "),n=r[0],i=r[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),r[0]=NL[n]||n,r[1]=NL[i]||i,r.join(" ")},MR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,s=r.u,c=n._gsap,l,d,h;if(s==="all"||s===!0)i.cssText="",d=1;else for(s=s.split(","),h=s.length;--h>-1;)l=s[h],_a[l]&&(d=1,l=l==="transformOrigin"?Ct:Be),nr(n,l);d&&(nr(n,Be),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Uc(n,1),c.uncache=1,zI(i)))}},h9={clearProps:function(e,r,n,i,s){if(s.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,MR);return c.u=i,c.pr=-10,c.tween=s,e._props.push(n),1}}},Bc=[1,0,0,1,0,0],VI={},BI=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},AL=function(e){var r=qt(e,Be);return BI(r)?Bc:r.substr(7).match(YS).map(Xe)},xj=function(e,r){var n=e._gsap||Yo(e),i=e.style,s=AL(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,s=[d.a,d.b,d.c,d.d,d.e,d.f],s.join(",")==="1,0,0,1,0,0"?Bc:s):(s===Bc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),s=AL(e),d?i.display=d:nr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},RC=function(e,r,n,i,s,c){var l=e._gsap,d=s||xj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,x=d[0],k=d[1],y=d[2],m=d[3],g=d[4],w=d[5],M=r.split(" "),b=parseFloat(M[0])||0,C=parseFloat(M[1])||0,A,L,S,N;n?d!==Bc&&(L=x*m-k*y)&&(S=b*(m/L)+C*(-y/L)+(y*w-m*g)/L,N=b*(-k/L)+C*(x/L)-(x*w-k*g)/L,b=S,C=N):(A=HI(e),b=A.x+(~M[0].indexOf("%")?b/100*A.width:b),C=A.y+(~(M[1]||M[0]).indexOf("%")?C/100*A.height:C)),i||i!==!1&&l.smooth?(g=b-h,w=C-u,l.xOffset=p+(g*x+w*y)-g,l.yOffset=f+(g*k+w*m)-w):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=C,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[Ct]="0px 0px",c&&(Za(c,l,"xOrigin",h,b),Za(c,l,"yOrigin",u,C),Za(c,l,"xOffset",p,l.xOffset),Za(c,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",b+" "+C)},Uc=function(e,r){var n=e._gsap||new LI(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,s=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=qt(e,Ct)||"0",u,p,f,x,k,y,m,g,w,M,b,C,A,L,S,N,T,z,R,_,q,D,V,$,E,re,ne,se,ae,oe,ee,le;return u=p=f=y=m=g=w=M=b=0,x=k=1,n.svg=!!(e.getCTM&&OI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[Be]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[Be]!=="none"?d[Be]:"")),i.scale=i.rotate=i.translate="none"),L=xj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",$=""):$=!r&&e.getAttribute("data-svg-origin"),RC(e,$||h,!!$||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,A=n.yOrigin||0,L!==Bc&&(z=L[0],R=L[1],_=L[2],q=L[3],u=D=L[4],p=V=L[5],L.length===6?(x=Math.sqrt(z*z+R*R),k=Math.sqrt(q*q+_*_),y=z||R?hs(R,z)*Vo:0,w=_||q?hs(_,q)*Vo+y:0,w&&(k*=Math.abs(Math.cos(w*Ds))),n.svg&&(u-=C-(C*z+A*_),p-=A-(C*R+A*q))):(le=L[6],oe=L[7],ne=L[8],se=L[9],ae=L[10],ee=L[11],u=L[12],p=L[13],f=L[14],S=hs(le,ae),m=S*Vo,S&&(N=Math.cos(-S),T=Math.sin(-S),$=D*N+ne*T,E=V*N+se*T,re=le*N+ae*T,ne=D*-T+ne*N,se=V*-T+se*N,ae=le*-T+ae*N,ee=oe*-T+ee*N,D=$,V=E,le=re),S=hs(-_,ae),g=S*Vo,S&&(N=Math.cos(-S),T=Math.sin(-S),$=z*N-ne*T,E=R*N-se*T,re=_*N-ae*T,ee=q*T+ee*N,z=$,R=E,_=re),S=hs(R,z),y=S*Vo,S&&(N=Math.cos(S),T=Math.sin(S),$=z*N+R*T,E=D*N+V*T,R=R*N-z*T,V=V*N-D*T,z=$,D=E),m&&Math.abs(m)+Math.abs(y)>359.9&&(m=y=0,g=180-g),x=Xe(Math.sqrt(z*z+R*R+_*_)),k=Xe(Math.sqrt(V*V+le*le)),S=hs(D,V),w=Math.abs(S)>2e-4?S*Vo:0,b=ee?1/(ee<0?-ee:ee):0),n.svg&&($=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!BI(qt(e,Be)),$&&e.setAttribute("transform",$))),Math.abs(w)>90&&Math.abs(w)<270&&(s?(x*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=f+c,n.scaleX=Xe(x),n.scaleY=Xe(k),n.rotation=Xe(y)+l,n.rotationX=Xe(m)+l,n.rotationY=Xe(g)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=b+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[Ct]=u9(h)),n.xOffset=n.yOffset=0,n.force3D=Rt.force3D,n.renderTransform=n.svg?CR:EI?UI:bR,n.uncache=0,n},u9=function(e){return(e=e.split(" "))[0]+" "+e[1]},nC=function(e,r,n){var i=ht(r);return Xe(parseFloat(r)+parseFloat(ir(e,"x",n+"px",i)))+i},bR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,UI(e,r)},gr="0deg",cc="0px",vr=") ",UI=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,f=n.skewX,x=n.skewY,k=n.scaleX,y=n.scaleY,m=n.transformPerspective,g=n.force3D,w=n.target,M=n.zOrigin,b="",C=g==="auto"&&e&&e!==1||g===!0;if(M&&(p!==gr||u!==gr)){var A=parseFloat(u)*Ds,L=Math.sin(A),S=Math.cos(A),N;A=parseFloat(p)*Ds,N=Math.cos(A),c=nC(w,c,L*N*-M),l=nC(w,l,-Math.sin(A)*-M),d=nC(w,d,S*N*-M+M)}m!==cc&&(b+="perspective("+m+vr),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(C||c!==cc||l!==cc||d!==cc)&&(b+=d!==cc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+vr),h!==gr&&(b+="rotate("+h+vr),u!==gr&&(b+="rotateY("+u+vr),p!==gr&&(b+="rotateX("+p+vr),(f!==gr||x!==gr)&&(b+="skew("+f+", "+x+vr),(k!==1||y!==1)&&(b+="scale("+k+", "+y+vr),w.style[Be]=b||"translate(0, 0)"},CR=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,f=n.scaleY,x=n.target,k=n.xOrigin,y=n.yOrigin,m=n.xOffset,g=n.yOffset,w=n.forceCSS,M=parseFloat(c),b=parseFloat(l),C,A,L,S,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ds,h*=Ds,C=Math.cos(d)*p,A=Math.sin(d)*p,L=Math.sin(d-h)*-f,S=Math.cos(d-h)*f,h&&(u*=Ds,N=Math.tan(h-u),N=Math.sqrt(1+N*N),L*=N,S*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),C*=N,A*=N)),C=Xe(C),A=Xe(A),L=Xe(L),S=Xe(S)):(C=p,S=f,A=L=0),(M&&!~(c+"").indexOf("px")||b&&!~(l+"").indexOf("px"))&&(M=ir(x,"x",c,"px"),b=ir(x,"y",l,"px")),(k||y||m||g)&&(M=Xe(M+k-(k*C+y*L)+m),b=Xe(b+y-(k*A+y*S)+g)),(i||s)&&(N=x.getBBox(),M=Xe(M+i/100*N.width),b=Xe(b+s/100*N.height)),N="matrix("+C+","+A+","+L+","+S+","+M+","+b+")",x.setAttribute("transform",N),w&&(x.style[Be]=N)},jR=function(e,r,n,i,s){var c=360,l=nt(s),d=parseFloat(s)*(l&&~s.indexOf("rad")?Vo:1),h=d-i,u=i+h+"deg",p,f;return l&&(p=s.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*CL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*CL)%c-~~(h/c)*c)),e._pt=f=new bt(e._pt,r,n,i,h,sR),f.e=u,f.u="deg",e._props.push(n),f},_L=function(e,r){for(var n in r)e[n]=r[n];return e},LR=function(e,r,n){var i=_L({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,f,x,k;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Be]=r,l=Uc(n,1),nr(n,Be),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Be],c[Be]=r,l=Uc(n,1),c[Be]=h);for(d in _a)h=i[d],u=l[d],h!==u&&s.indexOf(d)<0&&(x=ht(h),k=ht(u),p=x!==k?ir(n,d,h,k):parseFloat(h),f=parseFloat(u),e._pt=new bt(e._pt,l,d,p,f-p,PC),e._pt.u=k||0,e._props.push(d));_L(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",s="Left",c=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(l){return e<2?a+l:"border"+l+a});h9[e>1?"border"+a:a]=function(l,d,h,u,p){var f,x;if(arguments.length<4)return f=c.map(function(k){return ja(l,k,h)}),x=f.join(" "),x.split(f[0]).length===5?f[0]:x;f=(u+"").split(" "),x={},c.forEach(function(k,y){return x[k]=f[y]=f[y]||f[(y-1)/2|0]}),l.init(d,x,p)}});var $I={name:"css",register:TC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,s){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,f,x,k,y,m,g,w,M,b,C,A,L,S,N;yj||TC(),this.styles=this.styles||FI(e),S=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&SI(y,r,n,i,e,s)))){if(x=typeof u,k=h9[y],x==="function"&&(u=u.call(n,i,e,s),x=typeof u),x==="string"&&~u.indexOf("random(")&&(u=Hc(u)),k)k(this,e,y,u,n)&&(L=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",Qa.lastIndex=0,Qa.test(h)||(m=ht(h),g=ht(u),g?m!==g&&(h=ir(e,y,h,g)+g):m&&(u+=m)),this.add(l,"setProperty",h,u,i,s,0,0,y),c.push(y),S.push(y,0,l[y]);else if(x!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,s):d[y],nt(h)&&~h.indexOf("random(")&&(h=Hc(h)),ht(h+"")||h==="auto"||(h+=Rt.units[y]||ht(ja(e,y))||""),(h+"").charAt(1)==="="&&(h=ja(e,y))):h=ja(e,y),f=parseFloat(h),w=x==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(f===1&&ja(e,"visibility")==="hidden"&&p&&(f=0),S.push("visibility",0,l.visibility),Za(this,l,"visibility",f?"inherit":"hidden",p?"inherit":"hidden",!p)),y!=="scale"&&y!=="transform"&&(y=ca[y],~y.indexOf(",")&&(y=y.split(",")[0]))),M=y in _a,M){if(this.styles.save(y),N=u,x==="string"&&u.substring(0,6)==="var(--"){if(u=qt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=u,u=qt(e,"perspective"),T?e.style.perspective=T:nr(e,"perspective")}p=parseFloat(u)}if(b||(C=e._gsap,C.renderTransform&&!r.parseTransform||Uc(e,r.parseTransform),A=r.smoothOrigin!==!1&&C.smooth,b=this._pt=new bt(this._pt,l,Be,0,1,C.renderTransform,C,0,-1),b.dep=1),y==="scale")this._pt=new bt(this._pt,C,"scaleY",C.scaleY,(w?Ts(C.scaleY,w+p):p)-C.scaleY||0,PC),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){S.push(Ct,0,l[Ct]),u=wR(u),C.svg?RC(e,u,0,A,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==C.zOrigin&&Za(this,C,"zOrigin",C.zOrigin,g),Za(this,l,y,u9(h),u9(u)));continue}else if(y==="svgOrigin"){RC(e,u,1,A,0,this);continue}else if(y in VI){jR(this,C,y,f,w?Ts(f,w+u):u);continue}else if(y==="smoothOrigin"){Za(this,C,"smooth",C.smooth,u);continue}else if(y==="force3D"){C[y]=u;continue}else if(y==="transform"){LR(this,u,e);continue}}else y in l||(y=Gs(y)||y);if(M||(p||p===0)&&(f||f===0)&&!oR.test(u)&&y in l)m=(h+"").substr((f+"").length),p||(p=0),g=ht(u)||(y in Rt.units?Rt.units[y]:m),m!==g&&(f=ir(e,y,h,g)),this._pt=new bt(this._pt,M?C:l,y,f,(w?Ts(f,w+p):p)-f,!M&&(g==="px"||y==="zIndex")&&r.autoRound!==!1?dR:PC),this._pt.u=g||0,M&&N!==u?(this._pt.b=h,this._pt.e=N,this._pt.r=lR):m!==g&&g!=="%"&&(this._pt.b=h,this._pt.r=cR);else if(y in l)vR.call(this,e,y,h,w?w+u:u);else if(y in e)this.add(e,y,h||e[y],w?w+u:u,i,s);else if(y!=="parseTransform"){nj(y,u);continue}M||(y in l?S.push(y,0,l[y]):typeof e[y]=="function"?S.push(y,2,e[y]()):S.push(y,1,h||e[y])),c.push(y)}}L&&qI(this)},render:function(e,r){if(r.tween._time||!mj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ja,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==Ct&&(e._gsap.x||ja(e,"x"))?n&&bL===n?r==="scale"?yR:pR:(bL=n||{})&&(r==="scale"?mR:fR):e.style&&!tj(e.style[r])?hR:~r.indexOf("-")?uR:uj(e,r)},core:{_removeProperty:nr,_getMatrix:xj}};jt.utils.checkPrefix=Gs;jt.core.getStyleSaver=FI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(s){_a[s]=1});Mt(e,function(s){Rt.units[s]="deg",VI[s]=1}),ca[i[13]]=a+","+e,Mt(n,function(s){var c=s.split(":");ca[c[1]]=i[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Rt.units[a]="px"});jt.registerPlugin($I);var GI=jt.registerPlugin($I)||jt;GI.core.Tween;function kj(a){return gq[a]||Ua}function WI({advantages:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>{const s=kj(n.icon);return t.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[t.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[s?t.jsx(s,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?t.jsx("div",{className:"mt-auto",children:t.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,t.jsx(ks,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function SR({title:a="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:i="Message",namePlaceholder:s="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:f,showContactDetails:x=!0}){const k=y=>{y.preventDefault();const m=new FormData(y.currentTarget);f==null||f({name:String(m.get("name")??""),email:String(m.get("email")??""),message:String(m.get("message")??"")})};return t.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[t.jsxs("form",{className:"space-y-6",onSubmit:k,children:[t.jsxs("div",{children:[t.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),t.jsx("input",{type:"text",id:"name",name:"name",placeholder:s,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),t.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:i}),t.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),x&&t.jsxs("div",{className:"mt-12 space-y-4",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(ha,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:h})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Xo,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:u})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ss,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const ZI=j.createContext(void 0);function IR({children:a}){const[e,r]=j.useState([]),[n,i]=j.useState(!1),s=j.useCallback(u=>{r(p=>p.find(x=>x.id===u.id)?p.map(x=>x.id===u.id?{...x,quantity:x.quantity+1}:x):[...p,{...u,quantity:1}]),i(!0)},[]),c=j.useCallback(u=>{r(p=>p.filter(f=>f.id!==u))},[]),l=j.useCallback((u,p)=>{r(f=>f.map(x=>x.id===u?{...x,quantity:Math.max(0,p)}:x))},[]),d=j.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(ZI.Provider,{value:{items:e,isOpen:n,addItem:s,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function XI(){const a=j.useContext(ZI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function JI({courses:a,title:e,description:r}){const{addItem:n}=XI();return t.jsx("section",{id:"courses",className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:a.map(i=>t.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:i.title}),t.jsxs("div",{className:"space-y-3 mb-6",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Qt,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.duration})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ia,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.type})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ac,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.level})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:i.description}),t.jsx("div",{className:"flex items-center justify-between mb-4",children:t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",i.price]})}),t.jsxs("button",{onClick:()=>n({id:i.id,name:i.title,price:i.price,duration:i.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[t.jsx(Ps,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function YI({destinations:a,title:e,description:r}){const[n,i]=j.useState(0),[s,c]=j.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=j.useState(l());j.useEffect(()=>{const x=()=>{h(l())};return window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)},[]),j.useEffect(()=>{let x;return s&&(x=setInterval(()=>{i(k=>(k+1)%(a.length-d+1))},5e3)),()=>clearInterval(x)},[s]);const u=()=>{i(x=>Math.max(0,x-1)),c(!1)},p=()=>{i(x=>Math.min(a.length-d,x+1)),c(!1)},f=a.slice(n,n+d);return t.jsx("section",{id:"destinations",className:"py-20",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsxs("div",{className:"mt-16 relative",children:[t.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:f.map((x,k)=>t.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[t.jsx("img",{src:x.image,alt:x.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:t.jsxs("div",{className:"absolute bottom-0 p-6",children:[t.jsxs("div",{className:"flex items-center text-white mb-2",children:[t.jsx(Zt,{className:"h-5 w-5 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold",children:x.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:x.description})]})})]},n+k))}),t.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(Wo,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:p,disabled:n>=a.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=a.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(Ja,{className:"h-6 w-6 text-gray-800"})})]}),t.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(a.length/d)}).map((x,k)=>t.jsx("button",{onClick:()=>{i(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const NR=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function AR({title:a="GlobalEnglish",navItems:e=NR,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(bs,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:s=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(s),p=c??h,f=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},x=k=>t.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return t.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex items-center",children:[i,t.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:a})]}),t.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(x),t.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),t.jsx("div",{className:"md:hidden flex items-center",children:t.jsx("button",{onClick:f,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?t.jsx(Tt,{className:"h-6 w-6"}):t.jsx(Ls,{className:"h-6 w-6"})})})]})}),p&&t.jsx("div",{className:"md:hidden",children:t.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>t.jsx("a",{href:k.href,onClick:()=>{var y;(y=k.onClick)==null||y.call(k),f()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function KI({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:s,secondary_btn_link:c}){return t.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[t.jsx("div",{className:"absolute inset-0",children:t.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),t.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[t.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:a}),t.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i&&n?t.jsxs("a",{href:i,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,t.jsx(ks,{className:"ml-2 h-5 w-5"})]}):"",c&&s?t.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:s}):""]})]})]})}function QI({title:a,description:e,services:r}){return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,i)=>{const s=kj(n.icon);return t.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[t.jsxs("div",{className:"text-yellow-600 mb-4",children:[s?t.jsx(s,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},i)})})]})})}function eN({testimonials:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[t.jsx("div",{className:"absolute -top-4 -left-4",children:t.jsx(Ns,{className:"h-8 w-8 text-yellow-600"})}),t.jsxs("div",{className:"flex items-center mb-6",children:[t.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),t.jsxs("div",{className:"ml-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),t.jsx("p",{className:"text-gray-600",children:n.from})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),t.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((s,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function tN({videos:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative group",children:[t.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[t.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:t.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:t.jsx(Sc,{className:"h-8 w-8 text-yellow-600"})})})}),t.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),t.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},i))})]})})}function aN({features:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-24",children:a.map((n,i)=>t.jsxs("div",{className:`flex flex-col gap-8 items-center ${i%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[t.jsx("div",{className:"w-full lg:w-1/2",children:t.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:t.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),t.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),t.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),t.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},i))})]})})}function rN({faqs:a,title:e,description:r}){const[n,i]=j.useState(null),s=c=>{i(l=>l===c?null:c)};return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-4",children:a.map((c,l)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[t.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>s(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(fc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Go,{className:"h-5 w-5 text-gray-500"})]}),t.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:t.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function _R({images:a,autoPlayInterval:e=5e3}){const[r,n]=j.useState(0);j.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%a.length)},e);return()=>clearInterval(l)},[a.length,e]);const i=l=>{n(l)},s=()=>{n(l=>(l-1+a.length)%a.length)},c=()=>{n(l=>(l+1)%a.length)};return t.jsxs("div",{className:"relative w-full h-[600px] group",children:[t.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:a.map((l,d)=>t.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[t.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&t.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:t.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),t.jsx("button",{onClick:s,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:t.jsx(Wo,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:t.jsx(Ja,{className:"h-6 w-6 text-gray-800"})}),t.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:a.map((l,d)=>t.jsx("button",{onClick:()=>i(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function nN({images:a,title:e,description:r,autoPlayInterval:n=5e3}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx(_R,{images:a,autoPlayInterval:n})]})})}function iN({initialMessages:a}){const[e,r]=j.useState(!1),[n,i]=j.useState(a),[s,c]=j.useState(""),l=d=>{if(d.preventDefault(),!s.trim())return;const h={text:s,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],f={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};i(x=>[...x,h,f]),c("")};return t.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?t.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center text-white",children:[t.jsx(pc,{className:"h-6 w-6 mr-2"}),t.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),t.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:t.jsx(Tt,{className:"h-5 w-5"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>t.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:t.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[t.jsx("p",{className:"text-sm",children:d.text}),t.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),t.jsx("form",{onSubmit:l,className:"p-4 border-t",children:t.jsxs("div",{className:"flex space-x-2",children:[t.jsx("input",{type:"text",value:s,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),t.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Ic,{className:"h-5 w-5"})})]})})]}):t.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Ss,{className:"h-6 w-6"})})})}function oN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:s="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:f,total:x}=XI(),k=()=>{l==null||l(!h),u()};return h?t.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[t.jsx("h2",{className:"text-xl font-semibold",children:a}),t.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":s,children:t.jsx(Tt,{className:"h-6 w-6"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?t.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):t.jsx("div",{className:"space-y-4",children:d.map(y=>t.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:y.name}),t.jsx("p",{className:"text-sm text-gray-500",children:y.duration})]}),t.jsx("button",{onClick:()=>p(y.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${y.name}`,children:t.jsx(Pc,{className:"h-5 w-5"})})]}),t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>f(y.id,y.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${y.name}`,children:t.jsx(Lc,{className:"h-4 w-4"})}),t.jsx("span",{className:"w-8 text-center",children:y.quantity}),t.jsx("button",{onClick:()=>f(y.id,y.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${y.name}`,children:t.jsx(Is,{className:"h-4 w-4"})})]}),t.jsxs("p",{className:"font-medium",children:[i,(y.price*y.quantity).toFixed(2)]})]})]},y.id))})}),t.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("span",{className:"font-medium",children:r}),t.jsxs("span",{className:"text-xl font-bold",children:[i,x.toFixed(2)]})]}),t.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):t.jsx("button",{onClick:k,"aria-label":s,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsxs("div",{className:"relative",children:[t.jsx(Ps,{className:"h-6 w-6"}),d.length>0&&t.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function sN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:s="Features"}){const[c,l]=j.useState(null),d=h=>{l(c===h?null:h)};return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:a.map((h,u)=>t.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:t.jsxs("div",{className:"p-6",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),t.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),t.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:t.jsxs("div",{className:"mt-4 space-y-4",children:[t.jsx("p",{className:"text-gray-700",children:h.fullDescription}),t.jsxs("div",{className:"border-t pt-4",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:s}),t.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,f)=>t.jsxs("li",{className:"text-gray-600",children:["• ",p]},f))})]})]})}),t.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?i:n})]})},u))})]})})}function cN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:s="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,f=5-Math.ceil(h);return t.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((x,k)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&t.jsxs("div",{className:"relative w-5 h-5",children:[t.jsx(Ut,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),t.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(f)].map((x,k)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:a.map((d,h)=>t.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),t.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),t.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),t.jsxs("div",{className:"mb-4",children:[t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,i]}),t.jsxs("span",{className:"text-gray-600",children:["/",s]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),t.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const f=kj(u.icon);return t.jsxs("div",{className:"flex items-center text-gray-700",children:[f?t.jsx(f,{className:"w-5 h-5"}):null,t.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?t.jsx("div",{className:"mt-8",children:t.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const PR=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],qR=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],TR=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],RR=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],DR=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],zR=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],FR=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],ER=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],HR=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],OR=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],VR=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],BR=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],UR=()=>(j.useEffect(()=>{GI.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),t.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[t.jsx(IR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(AR,{}),t.jsx(KI,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),t.jsx(QI,{services:qR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(sN,{services:PR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(WI,{advantages:RR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(aN,{features:TR,title:"Titulo",description:"description"}),t.jsx(cN,{courses:BR,title:"Test",description:"test"}),t.jsx(nN,{images:DR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(YI,{destinations:zR,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(JI,{courses:FR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(tN,{videos:ER,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(eN,{testimonials:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(rN,{faqs:VR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(SR,{}),t.jsx(iN,{initialMessages:OR}),t.jsx(oN,{})]})}),t.jsx("footer",{className:"bg-gray-800 text-white py-8",children:t.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[t.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),t.jsxs("nav",{className:"flex justify-center space-x-6",children:[t.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),t.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),t.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function $R({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:s}){const[c,l]=j.useState(r||[]),[d,h]=j.useState(!r),[u,p]=j.useState(null);j.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const y=await fetch(s||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const m=await y.json();if(!Array.isArray(m))throw new Error("Expected an array of jobs");l(m)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(f())}finally{h(!1)}})()},[r,s]);const f=()=>{const x=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(m,g)=>({id:`mock-job-${g}`,title:k[g%k.length],company:x[g%x.length],companyLogo:`/logos/${x[g%x.length].toLowerCase()}.png`,location:y[g%y.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((x,k)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),t.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4 text-center",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[t.jsx("p",{children:u}),t.jsx(G,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&t.jsx("div",{children:e}),t.jsx("h2",{className:"text-2xl font-bold",children:a})]}),c.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(x=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:t.jsx("img",{src:x.companyLogo||"/placeholder.svg",alt:`${x.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:x.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:x.company})]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:x.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:x.salary}),t.jsx(G,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},x.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx(G,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=i,children:n})})]}):t.jsx("div",{className:"text-center py-8",children:t.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function lN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:s}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-3xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),t.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[t.jsx(G,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),t.jsx(G,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=s,children:i})]})]})})})}function dN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:s,secondaryButtonLink:c="#"}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsx("div",{className:"container mx-auto px-4 relative z-10",children:t.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:t.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[t.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[a," ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),t.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[t.jsxs("a",{href:i,className:`justify-center whitespace-nowrap text-sm transition-colors
7739
+ */var ML,Wa,Rs,yj,Uo,bL,mj,nR=function(){return typeof window<"u"},_a={},Vo=180/Math.PI,Ds=Math.PI/180,hs=Math.atan2,CL=1e8,fj=/([A-Z])/g,iR=/(left|right|width|margin|padding|x)/i,oR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},PC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},sR=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},cR=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},lR=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},dR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},RI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},DI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},hR=function(e,r,n){return e.style[r]=n},uR=function(e,r,n){return e.style.setProperty(r,n)},pR=function(e,r,n){return e._gsap[r]=n},yR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},mR=function(e,r,n,i,s){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(s,c)},fR=function(e,r,n,i,s){var c=e._gsap;c[r]=n,c.renderTransform(s,c)},Be="transform",Ct=Be+"Origin",xR=function a(e,r){var n=this,i=this.target,s=i.style,c=i._gsap;if(e in _a&&s){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ja(i,l)}):this.tfm[e]=c.x?c[e]:ja(i,e),e===Ct&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf(Be)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ct,r,"")),e=Be}(s||r)&&this.props.push(e,r,s[e])},zI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},kR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,s,c;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?r[e[s]](e[s+2]):r[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(fj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)i[c]=this.tfm[c];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=mj(),(!s||!s.isStart)&&!n[Be]&&(zI(n),i.zOrigin&&n[Ct]&&(n[Ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},FI=function(e,r){var n={target:e,props:[],revert:kR,save:xR};return e._gsap||jt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},EI,qC=function(e,r){var n=Wa.createElementNS?Wa.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wa.createElement(e);return n&&n.style?n:Wa.createElement(e)},qt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(fj,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Gs(r)||r,1)||""},jL="O,Moz,ms,Ms,Webkit".split(","),Gs=function(e,r,n){var i=r||Uo,s=i.style,c=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(jL[c]+e in s););return c<0?null:(c===3?"ms":c>=0?jL[c]:"")+e},TC=function(){nR()&&window.document&&(ML=window,Wa=ML.document,Rs=Wa.documentElement,Uo=qC("div")||{style:{}},qC("div"),Be=Gs(Be),Ct=Be+"Origin",Uo.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",EI=!!Gs("perspective"),mj=jt.core.reverting,yj=1)},LL=function(e){var r=e.ownerSVGElement,n=qC("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",n.appendChild(i),Rs.appendChild(n);try{s=i.getBBox()}catch{}return n.removeChild(i),Rs.removeChild(n),s},SL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},HI=function(e){var r,n;try{r=e.getBBox()}catch{r=LL(e),n=1}return r&&(r.width||r.height)||n||(r=LL(e)),r&&!r.width&&!r.x&&!r.y?{x:+SL(e,["x","cx","x1"])||0,y:+SL(e,["y","cy","y1"])||0,width:0,height:0}:r},OI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&HI(e))},nr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==Ct&&(r=Be),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(fj,"-$1").toLowerCase())):n.removeAttribute(r)}},Za=function(e,r,n,i,s,c){var l=new bt(e._pt,r,n,0,1,c?DI:RI);return e._pt=l,l.b=i,l.e=s,e._props.push(n),l},IL={deg:1,rad:1,turn:1},gR={grid:1,flex:1},ir=function a(e,r,n,i){var s=parseFloat(n)||0,c=(n+"").trim().substr((s+"").length)||"px",l=Uo.style,d=iR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,f=i==="px",x=i==="%",k,y,m,g;if(i===c||!s||IL[i]||IL[c])return s;if(c!=="px"&&!f&&(s=a(e,r,n,"px")),g=e.getCTM&&OI(e),(x||c==="%")&&(_a[r]||~r.indexOf("adius")))return k=g?e.getBBox()[d?"width":"height"]:e[u],Xe(x?s/k*p:s/100*k);if(l[d?"width":"height"]=p+(f?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Wa||!y.appendChild)&&(y=Wa.body),m=y._gsap,m&&x&&m.width&&d&&m.time===_t.time&&!m.uncache)return Xe(s/m.width*p);if(x&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,k=e[u],w?e.style[r]=w:nr(e,r)}else(x||c==="%")&&!gR[qt(y,"display")]&&(l.position=qt(e,"position")),y===e&&(l.position="static"),y.appendChild(Uo),k=Uo[u],y.removeChild(Uo),l.position="absolute";return d&&x&&(m=Yo(y),m.time=_t.time,m.width=y[u]),Xe(f?k*s/p:k&&s?p/k*s:0)},ja=function(e,r,n,i){var s;return yj||TC(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(s=Uc(e,i),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:u9(qt(e,Ct))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=h9[r]&&h9[r](e,r,n)||qt(e,r)||rI(e,r)||(r==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?ir(e,r,s,n)+n:s},vR=function(e,r,n,i){if(!n||n==="none"){var s=Gs(r,e,1),c=s&&qt(e,s,1);c&&c!==n?(r=s,n=c):r==="borderColor"&&(n=qt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,PI),d=0,h=0,u,p,f,x,k,y,m,g,w,M,b,C;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=qt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=qt(e,r)||i,y?e.style[r]=y:nr(e,r)),u=[n,i],MI(u),n=u[0],i=u[1],f=n.match(ms)||[],C=i.match(ms)||[],C.length){for(;p=ms.exec(i);)m=p[0],w=i.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),m!==(y=f[h++]||"")&&(x=parseFloat(y)||0,b=y.substr((x+"").length),m.charAt(1)==="="&&(m=Ts(x,m)+b),g=parseFloat(m),M=m.substr((g+"").length),d=ms.lastIndex-M.length,M||(M=M||Rt.units[r]||b,d===i.length&&(i+=M,l.e+=M)),b!==M&&(x=ir(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:x,c:g-x,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?DI:RI;return KS.test(i)&&(l.e=0),this._pt=l,l},NL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},wR=function(e){var r=e.split(" "),n=r[0],i=r[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),r[0]=NL[n]||n,r[1]=NL[i]||i,r.join(" ")},MR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,s=r.u,c=n._gsap,l,d,h;if(s==="all"||s===!0)i.cssText="",d=1;else for(s=s.split(","),h=s.length;--h>-1;)l=s[h],_a[l]&&(d=1,l=l==="transformOrigin"?Ct:Be),nr(n,l);d&&(nr(n,Be),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Uc(n,1),c.uncache=1,zI(i)))}},h9={clearProps:function(e,r,n,i,s){if(s.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,MR);return c.u=i,c.pr=-10,c.tween=s,e._props.push(n),1}}},Bc=[1,0,0,1,0,0],VI={},BI=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},AL=function(e){var r=qt(e,Be);return BI(r)?Bc:r.substr(7).match(YS).map(Xe)},xj=function(e,r){var n=e._gsap||Yo(e),i=e.style,s=AL(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,s=[d.a,d.b,d.c,d.d,d.e,d.f],s.join(",")==="1,0,0,1,0,0"?Bc:s):(s===Bc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),s=AL(e),d?i.display=d:nr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},RC=function(e,r,n,i,s,c){var l=e._gsap,d=s||xj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,x=d[0],k=d[1],y=d[2],m=d[3],g=d[4],w=d[5],M=r.split(" "),b=parseFloat(M[0])||0,C=parseFloat(M[1])||0,N,L,S,A;n?d!==Bc&&(L=x*m-k*y)&&(S=b*(m/L)+C*(-y/L)+(y*w-m*g)/L,A=b*(-k/L)+C*(x/L)-(x*w-k*g)/L,b=S,C=A):(N=HI(e),b=N.x+(~M[0].indexOf("%")?b/100*N.width:b),C=N.y+(~(M[1]||M[0]).indexOf("%")?C/100*N.height:C)),i||i!==!1&&l.smooth?(g=b-h,w=C-u,l.xOffset=p+(g*x+w*y)-g,l.yOffset=f+(g*k+w*m)-w):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=C,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[Ct]="0px 0px",c&&(Za(c,l,"xOrigin",h,b),Za(c,l,"yOrigin",u,C),Za(c,l,"xOffset",p,l.xOffset),Za(c,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",b+" "+C)},Uc=function(e,r){var n=e._gsap||new LI(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,s=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=qt(e,Ct)||"0",u,p,f,x,k,y,m,g,w,M,b,C,N,L,S,A,T,R,D,_,q,z,V,$,E,re,ne,se,ae,oe,ee,le;return u=p=f=y=m=g=w=M=b=0,x=k=1,n.svg=!!(e.getCTM&&OI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[Be]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[Be]!=="none"?d[Be]:"")),i.scale=i.rotate=i.translate="none"),L=xj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",$=""):$=!r&&e.getAttribute("data-svg-origin"),RC(e,$||h,!!$||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,N=n.yOrigin||0,L!==Bc&&(R=L[0],D=L[1],_=L[2],q=L[3],u=z=L[4],p=V=L[5],L.length===6?(x=Math.sqrt(R*R+D*D),k=Math.sqrt(q*q+_*_),y=R||D?hs(D,R)*Vo:0,w=_||q?hs(_,q)*Vo+y:0,w&&(k*=Math.abs(Math.cos(w*Ds))),n.svg&&(u-=C-(C*R+N*_),p-=N-(C*D+N*q))):(le=L[6],oe=L[7],ne=L[8],se=L[9],ae=L[10],ee=L[11],u=L[12],p=L[13],f=L[14],S=hs(le,ae),m=S*Vo,S&&(A=Math.cos(-S),T=Math.sin(-S),$=z*A+ne*T,E=V*A+se*T,re=le*A+ae*T,ne=z*-T+ne*A,se=V*-T+se*A,ae=le*-T+ae*A,ee=oe*-T+ee*A,z=$,V=E,le=re),S=hs(-_,ae),g=S*Vo,S&&(A=Math.cos(-S),T=Math.sin(-S),$=R*A-ne*T,E=D*A-se*T,re=_*A-ae*T,ee=q*T+ee*A,R=$,D=E,_=re),S=hs(D,R),y=S*Vo,S&&(A=Math.cos(S),T=Math.sin(S),$=R*A+D*T,E=z*A+V*T,D=D*A-R*T,V=V*A-z*T,R=$,z=E),m&&Math.abs(m)+Math.abs(y)>359.9&&(m=y=0,g=180-g),x=Xe(Math.sqrt(R*R+D*D+_*_)),k=Xe(Math.sqrt(V*V+le*le)),S=hs(z,V),w=Math.abs(S)>2e-4?S*Vo:0,b=ee?1/(ee<0?-ee:ee):0),n.svg&&($=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!BI(qt(e,Be)),$&&e.setAttribute("transform",$))),Math.abs(w)>90&&Math.abs(w)<270&&(s?(x*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=f+c,n.scaleX=Xe(x),n.scaleY=Xe(k),n.rotation=Xe(y)+l,n.rotationX=Xe(m)+l,n.rotationY=Xe(g)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=b+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[Ct]=u9(h)),n.xOffset=n.yOffset=0,n.force3D=Rt.force3D,n.renderTransform=n.svg?CR:EI?UI:bR,n.uncache=0,n},u9=function(e){return(e=e.split(" "))[0]+" "+e[1]},nC=function(e,r,n){var i=ht(r);return Xe(parseFloat(r)+parseFloat(ir(e,"x",n+"px",i)))+i},bR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,UI(e,r)},gr="0deg",cc="0px",vr=") ",UI=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,f=n.skewX,x=n.skewY,k=n.scaleX,y=n.scaleY,m=n.transformPerspective,g=n.force3D,w=n.target,M=n.zOrigin,b="",C=g==="auto"&&e&&e!==1||g===!0;if(M&&(p!==gr||u!==gr)){var N=parseFloat(u)*Ds,L=Math.sin(N),S=Math.cos(N),A;N=parseFloat(p)*Ds,A=Math.cos(N),c=nC(w,c,L*A*-M),l=nC(w,l,-Math.sin(N)*-M),d=nC(w,d,S*A*-M+M)}m!==cc&&(b+="perspective("+m+vr),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(C||c!==cc||l!==cc||d!==cc)&&(b+=d!==cc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+vr),h!==gr&&(b+="rotate("+h+vr),u!==gr&&(b+="rotateY("+u+vr),p!==gr&&(b+="rotateX("+p+vr),(f!==gr||x!==gr)&&(b+="skew("+f+", "+x+vr),(k!==1||y!==1)&&(b+="scale("+k+", "+y+vr),w.style[Be]=b||"translate(0, 0)"},CR=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,f=n.scaleY,x=n.target,k=n.xOrigin,y=n.yOrigin,m=n.xOffset,g=n.yOffset,w=n.forceCSS,M=parseFloat(c),b=parseFloat(l),C,N,L,S,A;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ds,h*=Ds,C=Math.cos(d)*p,N=Math.sin(d)*p,L=Math.sin(d-h)*-f,S=Math.cos(d-h)*f,h&&(u*=Ds,A=Math.tan(h-u),A=Math.sqrt(1+A*A),L*=A,S*=A,u&&(A=Math.tan(u),A=Math.sqrt(1+A*A),C*=A,N*=A)),C=Xe(C),N=Xe(N),L=Xe(L),S=Xe(S)):(C=p,S=f,N=L=0),(M&&!~(c+"").indexOf("px")||b&&!~(l+"").indexOf("px"))&&(M=ir(x,"x",c,"px"),b=ir(x,"y",l,"px")),(k||y||m||g)&&(M=Xe(M+k-(k*C+y*L)+m),b=Xe(b+y-(k*N+y*S)+g)),(i||s)&&(A=x.getBBox(),M=Xe(M+i/100*A.width),b=Xe(b+s/100*A.height)),A="matrix("+C+","+N+","+L+","+S+","+M+","+b+")",x.setAttribute("transform",A),w&&(x.style[Be]=A)},jR=function(e,r,n,i,s){var c=360,l=nt(s),d=parseFloat(s)*(l&&~s.indexOf("rad")?Vo:1),h=d-i,u=i+h+"deg",p,f;return l&&(p=s.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*CL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*CL)%c-~~(h/c)*c)),e._pt=f=new bt(e._pt,r,n,i,h,sR),f.e=u,f.u="deg",e._props.push(n),f},_L=function(e,r){for(var n in r)e[n]=r[n];return e},LR=function(e,r,n){var i=_L({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,f,x,k;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Be]=r,l=Uc(n,1),nr(n,Be),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Be],c[Be]=r,l=Uc(n,1),c[Be]=h);for(d in _a)h=i[d],u=l[d],h!==u&&s.indexOf(d)<0&&(x=ht(h),k=ht(u),p=x!==k?ir(n,d,h,k):parseFloat(h),f=parseFloat(u),e._pt=new bt(e._pt,l,d,p,f-p,PC),e._pt.u=k||0,e._props.push(d));_L(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",s="Left",c=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(l){return e<2?a+l:"border"+l+a});h9[e>1?"border"+a:a]=function(l,d,h,u,p){var f,x;if(arguments.length<4)return f=c.map(function(k){return ja(l,k,h)}),x=f.join(" "),x.split(f[0]).length===5?f[0]:x;f=(u+"").split(" "),x={},c.forEach(function(k,y){return x[k]=f[y]=f[y]||f[(y-1)/2|0]}),l.init(d,x,p)}});var $I={name:"css",register:TC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,s){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,f,x,k,y,m,g,w,M,b,C,N,L,S,A;yj||TC(),this.styles=this.styles||FI(e),S=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&SI(y,r,n,i,e,s)))){if(x=typeof u,k=h9[y],x==="function"&&(u=u.call(n,i,e,s),x=typeof u),x==="string"&&~u.indexOf("random(")&&(u=Hc(u)),k)k(this,e,y,u,n)&&(L=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",Qa.lastIndex=0,Qa.test(h)||(m=ht(h),g=ht(u),g?m!==g&&(h=ir(e,y,h,g)+g):m&&(u+=m)),this.add(l,"setProperty",h,u,i,s,0,0,y),c.push(y),S.push(y,0,l[y]);else if(x!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,s):d[y],nt(h)&&~h.indexOf("random(")&&(h=Hc(h)),ht(h+"")||h==="auto"||(h+=Rt.units[y]||ht(ja(e,y))||""),(h+"").charAt(1)==="="&&(h=ja(e,y))):h=ja(e,y),f=parseFloat(h),w=x==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(f===1&&ja(e,"visibility")==="hidden"&&p&&(f=0),S.push("visibility",0,l.visibility),Za(this,l,"visibility",f?"inherit":"hidden",p?"inherit":"hidden",!p)),y!=="scale"&&y!=="transform"&&(y=ca[y],~y.indexOf(",")&&(y=y.split(",")[0]))),M=y in _a,M){if(this.styles.save(y),A=u,x==="string"&&u.substring(0,6)==="var(--"){if(u=qt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=u,u=qt(e,"perspective"),T?e.style.perspective=T:nr(e,"perspective")}p=parseFloat(u)}if(b||(C=e._gsap,C.renderTransform&&!r.parseTransform||Uc(e,r.parseTransform),N=r.smoothOrigin!==!1&&C.smooth,b=this._pt=new bt(this._pt,l,Be,0,1,C.renderTransform,C,0,-1),b.dep=1),y==="scale")this._pt=new bt(this._pt,C,"scaleY",C.scaleY,(w?Ts(C.scaleY,w+p):p)-C.scaleY||0,PC),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){S.push(Ct,0,l[Ct]),u=wR(u),C.svg?RC(e,u,0,N,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==C.zOrigin&&Za(this,C,"zOrigin",C.zOrigin,g),Za(this,l,y,u9(h),u9(u)));continue}else if(y==="svgOrigin"){RC(e,u,1,N,0,this);continue}else if(y in VI){jR(this,C,y,f,w?Ts(f,w+u):u);continue}else if(y==="smoothOrigin"){Za(this,C,"smooth",C.smooth,u);continue}else if(y==="force3D"){C[y]=u;continue}else if(y==="transform"){LR(this,u,e);continue}}else y in l||(y=Gs(y)||y);if(M||(p||p===0)&&(f||f===0)&&!oR.test(u)&&y in l)m=(h+"").substr((f+"").length),p||(p=0),g=ht(u)||(y in Rt.units?Rt.units[y]:m),m!==g&&(f=ir(e,y,h,g)),this._pt=new bt(this._pt,M?C:l,y,f,(w?Ts(f,w+p):p)-f,!M&&(g==="px"||y==="zIndex")&&r.autoRound!==!1?dR:PC),this._pt.u=g||0,M&&A!==u?(this._pt.b=h,this._pt.e=A,this._pt.r=lR):m!==g&&g!=="%"&&(this._pt.b=h,this._pt.r=cR);else if(y in l)vR.call(this,e,y,h,w?w+u:u);else if(y in e)this.add(e,y,h||e[y],w?w+u:u,i,s);else if(y!=="parseTransform"){nj(y,u);continue}M||(y in l?S.push(y,0,l[y]):typeof e[y]=="function"?S.push(y,2,e[y]()):S.push(y,1,h||e[y])),c.push(y)}}L&&qI(this)},render:function(e,r){if(r.tween._time||!mj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ja,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==Ct&&(e._gsap.x||ja(e,"x"))?n&&bL===n?r==="scale"?yR:pR:(bL=n||{})&&(r==="scale"?mR:fR):e.style&&!tj(e.style[r])?hR:~r.indexOf("-")?uR:uj(e,r)},core:{_removeProperty:nr,_getMatrix:xj}};jt.utils.checkPrefix=Gs;jt.core.getStyleSaver=FI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(s){_a[s]=1});Mt(e,function(s){Rt.units[s]="deg",VI[s]=1}),ca[i[13]]=a+","+e,Mt(n,function(s){var c=s.split(":");ca[c[1]]=i[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Rt.units[a]="px"});jt.registerPlugin($I);var GI=jt.registerPlugin($I)||jt;GI.core.Tween;function kj(a){return gq[a]||Ua}function WI({advantages:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>{const s=kj(n.icon);return t.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[t.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[s?t.jsx(s,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?t.jsx("div",{className:"mt-auto",children:t.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,t.jsx(ks,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function SR({title:a="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:i="Message",namePlaceholder:s="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:f,showContactDetails:x=!0}){const k=y=>{y.preventDefault();const m=new FormData(y.currentTarget);f==null||f({name:String(m.get("name")??""),email:String(m.get("email")??""),message:String(m.get("message")??"")})};return t.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[t.jsxs("form",{className:"space-y-6",onSubmit:k,children:[t.jsxs("div",{children:[t.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),t.jsx("input",{type:"text",id:"name",name:"name",placeholder:s,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),t.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:i}),t.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),x&&t.jsxs("div",{className:"mt-12 space-y-4",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(ha,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:h})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Xo,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:u})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ss,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const ZI=j.createContext(void 0);function IR({children:a}){const[e,r]=j.useState([]),[n,i]=j.useState(!1),s=j.useCallback(u=>{r(p=>p.find(x=>x.id===u.id)?p.map(x=>x.id===u.id?{...x,quantity:x.quantity+1}:x):[...p,{...u,quantity:1}]),i(!0)},[]),c=j.useCallback(u=>{r(p=>p.filter(f=>f.id!==u))},[]),l=j.useCallback((u,p)=>{r(f=>f.map(x=>x.id===u?{...x,quantity:Math.max(0,p)}:x))},[]),d=j.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(ZI.Provider,{value:{items:e,isOpen:n,addItem:s,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function XI(){const a=j.useContext(ZI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function JI({courses:a,title:e,description:r}){const{addItem:n}=XI();return t.jsx("section",{id:"courses",className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:a.map(i=>t.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:i.title}),t.jsxs("div",{className:"space-y-3 mb-6",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Qt,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.duration})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ia,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.type})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ac,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.level})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:i.description}),t.jsx("div",{className:"flex items-center justify-between mb-4",children:t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",i.price]})}),t.jsxs("button",{onClick:()=>n({id:i.id,name:i.title,price:i.price,duration:i.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[t.jsx(Ps,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function YI({destinations:a,title:e,description:r}){const[n,i]=j.useState(0),[s,c]=j.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=j.useState(l());j.useEffect(()=>{const x=()=>{h(l())};return window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)},[]),j.useEffect(()=>{let x;return s&&(x=setInterval(()=>{i(k=>(k+1)%(a.length-d+1))},5e3)),()=>clearInterval(x)},[s]);const u=()=>{i(x=>Math.max(0,x-1)),c(!1)},p=()=>{i(x=>Math.min(a.length-d,x+1)),c(!1)},f=a.slice(n,n+d);return t.jsx("section",{id:"destinations",className:"py-20",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsxs("div",{className:"mt-16 relative",children:[t.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:f.map((x,k)=>t.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[t.jsx("img",{src:x.image,alt:x.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:t.jsxs("div",{className:"absolute bottom-0 p-6",children:[t.jsxs("div",{className:"flex items-center text-white mb-2",children:[t.jsx(Zt,{className:"h-5 w-5 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold",children:x.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:x.description})]})})]},n+k))}),t.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(Wo,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:p,disabled:n>=a.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=a.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(Ja,{className:"h-6 w-6 text-gray-800"})})]}),t.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(a.length/d)}).map((x,k)=>t.jsx("button",{onClick:()=>{i(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const NR=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function AR({title:a="GlobalEnglish",navItems:e=NR,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(bs,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:s=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(s),p=c??h,f=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},x=k=>t.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return t.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex items-center",children:[i,t.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:a})]}),t.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(x),t.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),t.jsx("div",{className:"md:hidden flex items-center",children:t.jsx("button",{onClick:f,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?t.jsx(Tt,{className:"h-6 w-6"}):t.jsx(Ls,{className:"h-6 w-6"})})})]})}),p&&t.jsx("div",{className:"md:hidden",children:t.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>t.jsx("a",{href:k.href,onClick:()=>{var y;(y=k.onClick)==null||y.call(k),f()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function KI({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:s,secondary_btn_link:c}){return t.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[t.jsx("div",{className:"absolute inset-0",children:t.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),t.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[t.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:a}),t.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i&&n?t.jsxs("a",{href:i,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,t.jsx(ks,{className:"ml-2 h-5 w-5"})]}):"",c&&s?t.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:s}):""]})]})]})}function QI({title:a,description:e,services:r}){return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,i)=>{const s=kj(n.icon);return t.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[t.jsxs("div",{className:"text-yellow-600 mb-4",children:[s?t.jsx(s,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},i)})})]})})}function eN({testimonials:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[t.jsx("div",{className:"absolute -top-4 -left-4",children:t.jsx(Ns,{className:"h-8 w-8 text-yellow-600"})}),t.jsxs("div",{className:"flex items-center mb-6",children:[t.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),t.jsxs("div",{className:"ml-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),t.jsx("p",{className:"text-gray-600",children:n.from})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),t.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((s,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function tN({videos:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative group",children:[t.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[t.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:t.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:t.jsx(Sc,{className:"h-8 w-8 text-yellow-600"})})})}),t.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),t.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},i))})]})})}function aN({features:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-24",children:a.map((n,i)=>t.jsxs("div",{className:`flex flex-col gap-8 items-center ${i%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[t.jsx("div",{className:"w-full lg:w-1/2",children:t.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:t.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),t.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),t.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),t.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},i))})]})})}function rN({faqs:a,title:e,description:r}){const[n,i]=j.useState(null),s=c=>{i(l=>l===c?null:c)};return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-4",children:a.map((c,l)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[t.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>s(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(fc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Go,{className:"h-5 w-5 text-gray-500"})]}),t.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:t.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function _R({images:a,autoPlayInterval:e=5e3}){const[r,n]=j.useState(0);j.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%a.length)},e);return()=>clearInterval(l)},[a.length,e]);const i=l=>{n(l)},s=()=>{n(l=>(l-1+a.length)%a.length)},c=()=>{n(l=>(l+1)%a.length)};return t.jsxs("div",{className:"relative w-full h-[600px] group",children:[t.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:a.map((l,d)=>t.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[t.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&t.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:t.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),t.jsx("button",{onClick:s,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:t.jsx(Wo,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:t.jsx(Ja,{className:"h-6 w-6 text-gray-800"})}),t.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:a.map((l,d)=>t.jsx("button",{onClick:()=>i(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function nN({images:a,title:e,description:r,autoPlayInterval:n=5e3}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx(_R,{images:a,autoPlayInterval:n})]})})}function iN({initialMessages:a}){const[e,r]=j.useState(!1),[n,i]=j.useState(a),[s,c]=j.useState(""),l=d=>{if(d.preventDefault(),!s.trim())return;const h={text:s,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],f={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};i(x=>[...x,h,f]),c("")};return t.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?t.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center text-white",children:[t.jsx(pc,{className:"h-6 w-6 mr-2"}),t.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),t.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:t.jsx(Tt,{className:"h-5 w-5"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>t.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:t.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[t.jsx("p",{className:"text-sm",children:d.text}),t.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),t.jsx("form",{onSubmit:l,className:"p-4 border-t",children:t.jsxs("div",{className:"flex space-x-2",children:[t.jsx("input",{type:"text",value:s,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),t.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Ic,{className:"h-5 w-5"})})]})})]}):t.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Ss,{className:"h-6 w-6"})})})}function oN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:s="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:f,total:x}=XI(),k=()=>{l==null||l(!h),u()};return h?t.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[t.jsx("h2",{className:"text-xl font-semibold",children:a}),t.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":s,children:t.jsx(Tt,{className:"h-6 w-6"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?t.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):t.jsx("div",{className:"space-y-4",children:d.map(y=>t.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:y.name}),t.jsx("p",{className:"text-sm text-gray-500",children:y.duration})]}),t.jsx("button",{onClick:()=>p(y.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${y.name}`,children:t.jsx(Pc,{className:"h-5 w-5"})})]}),t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>f(y.id,y.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${y.name}`,children:t.jsx(Lc,{className:"h-4 w-4"})}),t.jsx("span",{className:"w-8 text-center",children:y.quantity}),t.jsx("button",{onClick:()=>f(y.id,y.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${y.name}`,children:t.jsx(Is,{className:"h-4 w-4"})})]}),t.jsxs("p",{className:"font-medium",children:[i,(y.price*y.quantity).toFixed(2)]})]})]},y.id))})}),t.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("span",{className:"font-medium",children:r}),t.jsxs("span",{className:"text-xl font-bold",children:[i,x.toFixed(2)]})]}),t.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):t.jsx("button",{onClick:k,"aria-label":s,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsxs("div",{className:"relative",children:[t.jsx(Ps,{className:"h-6 w-6"}),d.length>0&&t.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function sN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:s="Features"}){const[c,l]=j.useState(null),d=h=>{l(c===h?null:h)};return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:a.map((h,u)=>t.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:t.jsxs("div",{className:"p-6",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),t.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),t.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:t.jsxs("div",{className:"mt-4 space-y-4",children:[t.jsx("p",{className:"text-gray-700",children:h.fullDescription}),t.jsxs("div",{className:"border-t pt-4",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:s}),t.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,f)=>t.jsxs("li",{className:"text-gray-600",children:["• ",p]},f))})]})]})}),t.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?i:n})]})},u))})]})})}function cN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:s="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,f=5-Math.ceil(h);return t.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((x,k)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&t.jsxs("div",{className:"relative w-5 h-5",children:[t.jsx(Ut,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),t.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(f)].map((x,k)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:a.map((d,h)=>t.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),t.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),t.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),t.jsxs("div",{className:"mb-4",children:[t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,i]}),t.jsxs("span",{className:"text-gray-600",children:["/",s]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),t.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const f=kj(u.icon);return t.jsxs("div",{className:"flex items-center text-gray-700",children:[f?t.jsx(f,{className:"w-5 h-5"}):null,t.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?t.jsx("div",{className:"mt-8",children:t.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const PR=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],qR=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],TR=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],RR=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],DR=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],zR=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],FR=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],ER=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],HR=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],OR=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],VR=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],BR=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],UR=()=>(j.useEffect(()=>{GI.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),t.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[t.jsx(IR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(AR,{}),t.jsx(KI,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),t.jsx(QI,{services:qR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(sN,{services:PR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(WI,{advantages:RR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(aN,{features:TR,title:"Titulo",description:"description"}),t.jsx(cN,{courses:BR,title:"Test",description:"test"}),t.jsx(nN,{images:DR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(YI,{destinations:zR,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(JI,{courses:FR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(tN,{videos:ER,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(eN,{testimonials:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(rN,{faqs:VR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(SR,{}),t.jsx(iN,{initialMessages:OR}),t.jsx(oN,{})]})}),t.jsx("footer",{className:"bg-gray-800 text-white py-8",children:t.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[t.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),t.jsxs("nav",{className:"flex justify-center space-x-6",children:[t.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),t.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),t.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function $R({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:s}){const[c,l]=j.useState(r||[]),[d,h]=j.useState(!r),[u,p]=j.useState(null);j.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const y=await fetch(s||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const m=await y.json();if(!Array.isArray(m))throw new Error("Expected an array of jobs");l(m)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(f())}finally{h(!1)}})()},[r,s]);const f=()=>{const x=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(m,g)=>({id:`mock-job-${g}`,title:k[g%k.length],company:x[g%x.length],companyLogo:`/logos/${x[g%x.length].toLowerCase()}.png`,location:y[g%y.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((x,k)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),t.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4 text-center",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[t.jsx("p",{children:u}),t.jsx(G,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&t.jsx("div",{children:e}),t.jsx("h2",{className:"text-2xl font-bold",children:a})]}),c.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(x=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:t.jsx("img",{src:x.companyLogo||"/placeholder.svg",alt:`${x.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:x.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:x.company})]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:x.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:x.salary}),t.jsx(G,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},x.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx(G,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=i,children:n})})]}):t.jsx("div",{className:"text-center py-8",children:t.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function lN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:s}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-3xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),t.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[t.jsx(G,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),t.jsx(G,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=s,children:i})]})]})})})}function dN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:s,secondaryButtonLink:c="#"}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsx("div",{className:"container mx-auto px-4 relative z-10",children:t.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:t.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[t.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[a," ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),t.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[t.jsxs("a",{href:i,className:`justify-center whitespace-nowrap text-sm transition-colors
7740
7740
  focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
7741
7741
  disabled:opacity-50 shadow h-9 bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6
7742
7742
  py-2 rounded flex items-center gap-2`,children:[t.jsx(Xt,{size:18}),n]}),t.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
7743
7743
  focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
7744
7744
  disabled:opacity-50 border shadow-sm hover:text-accent-foreground h-9
7745
7745
  bg-transparent border-white hover:bg-white/10 text-white font-medium
7746
- px-6 py-2 rounded flex items-center gap-2`,children:[t.jsx(qs,{size:18}),s]})]}),t.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function hN({title:a,values:e}){return t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:a}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const i=r.icon;return t.jsxs("div",{className:"flex flex-col items-center text-center",children:[t.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:t.jsx(i,{className:"w-8 h-8 text-yellow-500"})}),t.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),t.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function uN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,s]=j.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];j.useEffect(()=>{const h=setInterval(()=>{s(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{s(h=>(h+1)%c.length)},d=()=>{s(h=>(h-1+c.length)%c.length)};return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:a}),t.jsx("p",{className:"text-xl text-primary-foreground/80 max-w-2xl mx-auto",children:"Join thousands of professionals who've found their dream careers through our platform"})]}),t.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[t.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[t.jsx(Ns,{className:"h-12 w-12 text-yellow-500 mb-6"}),t.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[i].content,'"']}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:t.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[i].name.charAt(0)})}),t.jsxs("div",{children:[t.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[i].name}),t.jsxs("div",{className:"text-primary-foreground/70",children:[c[i].role," at ",c[i].company]}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[i].location})]})]}),t.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[i].rating)].map((h,u)=>t.jsx(Ut,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),t.jsxs("div",{className:"flex items-center justify-between mt-8",children:[t.jsx(G,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(Wo,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>s(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===i?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),t.jsx(G,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(Ja,{className:"h-6 w-6"})})]})]}),t.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function pN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:s=!1,email:c=null}){const[l,d]=j.useState(c??""),[h,u]=j.useState(!1),[p,f]=j.useState(!1);j.useEffect(()=>{if(s){f(!0),c&&d(c);return}try{const m=localStorage.getItem("email"),g=localStorage.getItem("leadId");m&&g&&(f(!0),d(m))}catch{}},[s,c]);const x=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const m=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(m.ok){const g=await m.json();localStorage.setItem("leadId",g.id),localStorage.setItem("email",l),f(!0)}else{const g=await m.text();alert("Submission failed: "+g)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||s,y=c??l;return t.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-2xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?t.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",y?` as ${y}`:"","."]}):t.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[t.jsx(tt,{type:"email",placeholder:r,value:l,onChange:m=>d(m.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx(G,{onClick:x,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":i})]})]})})})}function yN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:s="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=j.useState(""),[f,x]=j.useState(""),[k,y]=j.useState([]),[m,g]=j.useState(!1),w="Browse 3,500+ iGaming Jobs",M=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],b=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];j.useEffect(()=>{const N=new URLSearchParams(window.location.search),T=N.get("q")||"",z=N.get("location")||"";p(T),x(z)},[]),j.useEffect(()=>{if(u.length<3){y([]);return}const N=setTimeout(()=>{C(u)},300);return()=>clearTimeout(N)},[u]);const C=async N=>{if(!i||d){y([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{g(!0);const T=await fetch(`${i}/suggestions?q=${encodeURIComponent(N)}`);if(!T.ok)throw new Error("Failed to fetch suggestions");const z=await T.json();y(z.suggestions||[])}catch(T){console.error("Error fetching suggestions:",T),y([])}finally{g(!1)}},A=N=>p(N),L=N=>{N.key==="Enter"&&S()},S=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${f}`);return}const N=new URLSearchParams;u&&N.set("q",u),f&&N.set("location",f),window.location.href=`/jobs?${N.toString()}`};return t.jsxs("section",{className:`py-12 bg-gray-100 ${s}`,children:[t.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a||w}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Find your next opportunity at the world's leading gaming companies"})]}),t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[t.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[t.jsxs("div",{className:"flex-grow relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx(tt,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>A(N.target.value),onKeyDown:L,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:k.map((N,T)=>t.jsx("option",{value:N},T))}),u&&t.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(ia,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),m&&t.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:t.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&t.jsx("div",{className:"w-full md:w-1/3",children:t.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:f,onChange:N=>x(N.target.value),children:[t.jsx("option",{value:"",children:"All Locations"}),(e||M).map(N=>t.jsx("option",{value:N.id,children:N.name},N.id))]})}),t.jsxs(G,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:S,disabled:m,children:[t.jsx(Xt,{size:18}),m?"Searching...":n||"Search"]})]}),c&&(r||b).length>0&&t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[t.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||b).map((N,T)=>t.jsx("a",{href:N.href,className:"inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 rounded-md text-xs h-8 px-3 text-yellow-600 hover:text-yellow-800-hover hover:bg-accent/10",children:N.label},T))]})]})})]})}function mN({logo:a,navItems:e}){const[r,n]=j.useState(!1);return t.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[t.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[t.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((i,s)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},s))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Tt,{size:24}):t.jsx(Ls,{size:24})})]}),r&&t.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:t.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((i,s)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},s))})})]})}function fN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:s,poweredBy:c}){return t.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[t.jsxs("div",{className:"col-span-1",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("p",{className:"text-gray-400 mb-4",children:e}),t.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>t.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>t.jsxs("div",{className:"col-span-1",children:[t.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),t.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>t.jsx("li",{children:t.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),t.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:t.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(ha,{size:16}),t.jsx("span",{children:i.email})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Xo,{size:16}),t.jsx("span",{children:i.phone})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:i.location})]})]})}),t.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 pt-6 border-t border-gray-800 text-gray-400 text-sm",children:[t.jsx("p",{children:s}),t.jsx("p",{children:c})]})]})})}const xN=()=>{const[a,e]=j.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return t.jsx("section",{className:"py-20 bg-gray-100",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,i)=>t.jsxs("div",{className:"group relative bg-card p-6 rounded-xl shadow-card hover:shadow-elegant transition-all duration-300 transform hover:-translate-y-2 cursor-pointer animate-scale-in",style:{animationDelay:`${i*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[t.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:t.jsx("div",{className:"w-16 h-16 bg-gradient-accent rounded-xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:t.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),t.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),a===n.id&&t.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),t.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),t.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),t.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),t.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[t.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),t.jsx("p",{className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Join hundreds of leading iGaming companies finding top talent through our platform"}),t.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t.jsx("a",{href:"/partners",className:"bg-yellow-500 hover:bg-accent-hover font-semibold py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-accent",children:"Become a Partner"})})]})]})})};function GR(){const[a,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const kN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function gN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=j.useState({analytics:!1,marketing:!1,preferences:!1}),[i,s]=j.useState(!1),l=(p=>p.replace(/\/+$/,""))(a??"http://localhost:5147"),[d,h]=j.useState(null);j.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),j.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),s(!0);return}catch{}if(!d){s(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(f=>f.ok?f.json():null).then(f=>{f&&n({analytics:!!f.analytics,marketing:!!f.marketing,preferences:!!f.preferences,timestamp:f.createdAt})}).catch(()=>{}).finally(()=>s(!0))},[d]);const u=async p=>{const f={...r,...p,timestamp:new Date().toISOString()};n(f),localStorage.setItem("consent",JSON.stringify(f));const x={analytics:f.analytics,marketing:f.marketing,preferences:f.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return t.jsx(kN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const gj=()=>j.useContext(kN);function WR({allow:a,children:e}){const{consent:r,ready:n}=gj();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function vN({title:a="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:i=!1,isOpen:s,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=gj(),[p,f]=j.useState(i);j.useEffect(()=>{s===void 0&&u&&!d.timestamp&&f(!0)},[d.timestamp,s,u]);const x=j.useMemo(()=>s??p,[s,p]),k=()=>{s===void 0&&f(!1)};if(!x)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},m=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return t.jsxs("div",{role:"dialog","aria-label":a,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[t.jsx("p",{className:"text-sm",children:e}),t.jsxs("div",{className:"mt-3 flex gap-2",children:[t.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:m,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const ZR={logo:{text:"iGamingCareer.com",initials:"iG"},navItems:[{label:"Home",href:"/"},{label:"iGaming Salaries 2025",href:"/salaries"},{label:"Jobs",href:"/jobs"},{label:"About Us",href:"/about"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}]},XR={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
7747
- sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},JR={title:"Why Choose Us?",values:[{icon:vt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Ia,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Ba,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Cs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},YR={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},KR={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},QR={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},eD={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},tD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[t.jsx("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"}),t.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),t.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[t.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),t.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),t.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Oa=(a,e)=>({...a,...e??{}});function aD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:s,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:f=!0,showForEmployers:x=!0,showConsentBanner:k=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:m}){const{isSubscribed:g,email:w}=GR(),M=Oa(ZR,a),b=Oa(XR,e),C=Oa(JR,r),A=Oa(YR,n),L=Oa(KR,i),S=Oa(QR,s),N=Oa(eD,c),T=Oa(tD,l),z={...S,isSubscribed:(s==null?void 0:s.isSubscribed)??g,email:(s==null?void 0:s.email)??w};return t.jsx(gN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(mN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(dN,{...b}),d&&t.jsx(hN,{...C}),h&&t.jsx(yN,{...A}),u&&t.jsx(uN,{...L}),p&&t.jsx(xN,{}),f&&t.jsx(pN,{...z}),x&&t.jsx(lN,{...N})]}),t.jsx(fN,{...T}),k&&t.jsx(vN,{...m})]})})}function vj({title:a="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:i="http://localhost:5147"}){const[s,c]=j.useState(""),[l,d]=j.useState(!1),[h,u]=j.useState(!1);j.useEffect(()=>{const f=localStorage.getItem("email");f&&(u(!0),c(f))},[]);const p=async()=>{if(!s||!s.includes("@")){alert("Please enter a valid email");return}d(!0);try{const f=await fetch(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(f.ok){const x=await f.json();localStorage.setItem("leadId",x.id),localStorage.setItem("email",s),u(!0)}else{const x=await f.text();alert("Submission failed: "+x)}}catch{alert("Network error while submitting")}finally{d(!1)}};return t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:a}),t.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?t.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",s?` as ${s}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(tt,{type:"email",value:s,onChange:f=>c(f.target.value),placeholder:r,className:"mb-3"}),t.jsx(G,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function wN({open:a,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(a){const s=setTimeout(n,5e3);return()=>clearTimeout(s)}},[a,n]),!a)return null;const i={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return t.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${i[e]}`,children:t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsx("p",{className:"text-sm font-medium",children:r}),t.jsx("button",{onClick:n,className:"ml-4",children:t.jsx(ia,{className:"w-5 h-5"})})]})})}const $c=({position:a,url:e,alt:r,link:n})=>{let i="",s="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",s="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",s="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":i="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",s="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return t.jsx("div",{className:i,children:t.jsx("a",{href:n,target:"_blank",children:c?t.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${s} object-cover`,children:[t.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):t.jsx("img",{src:e,alt:r,className:`${s} object-cover`})})})},L9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[s,c]=j.useState(!1),[l,d]=j.useState(""),h=j.useRef(null),u=a.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return j.useEffect(()=>{const p=f=>{h.current&&!h.current.contains(f.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),t.jsxs("div",{className:`searchable-select-container relative ${i}`,ref:h,children:[t.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!s),children:[t.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),t.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${s?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:t.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),s&&t.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[t.jsx("div",{className:"p-2",children:t.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),t.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[t.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,f)=>t.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},f)):t.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},rD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:s,clearAllFilters:c,searchableFilters:l})=>t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"filters-grid",children:a.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?t.jsx(L9,{options:((u=e[d])==null?void 0:u.filter(f=>typeof f=="string"))||[],value:r[d]||"",onChange:f=>n(d,f),placeholder:`Select ${d.replace(/_/g," ")}`},d):t.jsxs("select",{className:"filter-select",onChange:f=>n(d,f.target.value),value:r[d]||"",children:[t.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((f,x)=>typeof f!="string"?null:t.jsx("option",{value:f,children:f},`${d}-${x}`))]},d)})}),t.jsxs("div",{className:"active-filters",children:[i.map(d=>t.jsxs("div",{className:"filter-badge search-filter-badge",children:[t.jsx("span",{className:"filter-value",children:d}),t.jsx("button",{className:"remove-filter",onClick:()=>s(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>t.jsxs("div",{className:"filter-badge",children:[t.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),t.jsx("span",{className:"filter-value",children:h}),t.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||i.length>0)&&t.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),nD=({searchTerm:a,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>t.jsx("div",{className:"search-container",children:t.jsxs("div",{className:"search-input-wrapper",children:[t.jsxs("svg",{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",className:"search-icon",children:[t.jsx("circle",{cx:"11",cy:"11",r:"8"}),t.jsx("path",{d:"m21 21-4.3-4.3"})]}),t.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:a,onChange:i=>e(i.target.value),onKeyDown:r,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:n.map((i,s)=>t.jsx("option",{value:i},s))})]})}),iD={not_registered:{status:"not_registered",allowSaving:!1,maskExternalLinks:!1},freemium:{status:"freemium",allowSaving:!0,maskExternalLinks:!1},premium:{status:"premium",allowSaving:!0,maskExternalLinks:!1}},S9=a=>{const e=(a==null?void 0:a.status)??"not_registered",r=iD[e];return{...r,allowSaving:(a==null?void 0:a.allowSaving)??r.allowSaving,maskExternalLinks:(a==null?void 0:a.maskExternalLinks)??r.maskExternalLinks,note:a==null?void 0:a.note}},wj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},MN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:s,layout:c="grid",userAccess:l})=>{var b;if(!a||typeof a!="object")return console.error("❌ Invalid job data:",a),t.jsx("div",{className:"job-card bg-red-50",children:t.jsxs("div",{className:"p-4",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=C=>{if(m){C.preventDefault(),C.stopPropagation();return}const A=m?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,A)},h=C=>{C.preventDefault(),C.stopPropagation(),y&&r(a,e)};a.published_at||a.created_at||a.scraped_at;const u=a.min_salary||0,p=a.max_salary||0,f=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(C=>{if(!C)return"Recently posted";try{const A=new Date(C),S=Math.abs(new Date().getTime()-A.getTime()),N=Math.floor(S/(1e3*60*60*24));return N===0?"Today":N===1?"Yesterday":N<7?`${N} days ago`:N<30?`${Math.floor(N/7)} weeks ago`:N<365?`${Math.floor(N/30)} months ago`:`${Math.floor(N/365)} years ago`}catch{return"Recently posted"}})(a.published_at||a.created_at||a.scraped_at),y=l.allowSaving,m=l.maskExternalLinks,g=wj[l.status],w=y?"Save job":"Log in to save this job",M=a.description&&a.description!==""?"/jobs/"+(a.slug||a.id):a.link;return t.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7748
- ${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[t.jsxs("div",{className:"flex items-start space-x-4",children:[t.jsx("img",{src:a.logo||`/placeholder.svg?height=48&width=48&text=${((b=a.company)==null?void 0:b.charAt(0))||"C"}`,alt:`${a.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),t.jsxs("div",{className:"flex-1",children:[t.jsx("h3",{className:"font-semibold text-gray-900",children:a.title||"No Title Available"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:a.company||"Unknown Company"}),t.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:g}),l.note&&t.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),t.jsxs("div",{className:`
7746
+ px-6 py-2 rounded flex items-center gap-2`,children:[t.jsx(qs,{size:18}),s]})]}),t.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function hN({title:a,values:e}){return t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:a}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const i=r.icon;return t.jsxs("div",{className:"flex flex-col items-center text-center",children:[t.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:t.jsx(i,{className:"w-8 h-8 text-yellow-500"})}),t.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),t.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function uN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,s]=j.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];j.useEffect(()=>{const h=setInterval(()=>{s(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{s(h=>(h+1)%c.length)},d=()=>{s(h=>(h-1+c.length)%c.length)};return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:a}),t.jsx("p",{className:"text-xl text-primary-foreground/80 max-w-2xl mx-auto",children:"Join thousands of professionals who've found their dream careers through our platform"})]}),t.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[t.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[t.jsx(Ns,{className:"h-12 w-12 text-yellow-500 mb-6"}),t.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[i].content,'"']}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:t.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[i].name.charAt(0)})}),t.jsxs("div",{children:[t.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[i].name}),t.jsxs("div",{className:"text-primary-foreground/70",children:[c[i].role," at ",c[i].company]}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[i].location})]})]}),t.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[i].rating)].map((h,u)=>t.jsx(Ut,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),t.jsxs("div",{className:"flex items-center justify-between mt-8",children:[t.jsx(G,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(Wo,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>s(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===i?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),t.jsx(G,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(Ja,{className:"h-6 w-6"})})]})]}),t.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function pN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:s=!1,email:c=null}){const[l,d]=j.useState(c??""),[h,u]=j.useState(!1),[p,f]=j.useState(!1);j.useEffect(()=>{if(s){f(!0),c&&d(c);return}try{const m=localStorage.getItem("email"),g=localStorage.getItem("leadId");m&&g&&(f(!0),d(m))}catch{}},[s,c]);const x=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const m=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(m.ok){const g=await m.json();localStorage.setItem("leadId",g.id),localStorage.setItem("email",l),f(!0)}else{const g=await m.text();alert("Submission failed: "+g)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||s,y=c??l;return t.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-2xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?t.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",y?` as ${y}`:"","."]}):t.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[t.jsx(tt,{type:"email",placeholder:r,value:l,onChange:m=>d(m.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx(G,{onClick:x,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":i})]})]})})})}function yN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:s="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=j.useState(""),[f,x]=j.useState(""),[k,y]=j.useState([]),[m,g]=j.useState(!1),w="Browse 3,500+ iGaming Jobs",M=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],b=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];j.useEffect(()=>{const A=new URLSearchParams(window.location.search),T=A.get("q")||"",R=A.get("location")||"";p(T),x(R)},[]),j.useEffect(()=>{if(u.length<3){y([]);return}const A=setTimeout(()=>{C(u)},300);return()=>clearTimeout(A)},[u]);const C=async A=>{if(!i||d){y([`${A} Developer`,`${A} Manager`,`${A} Specialist`,`${A} Coordinator`,`${A} Agent`]);return}try{g(!0);const T=await fetch(`${i}/suggestions?q=${encodeURIComponent(A)}`);if(!T.ok)throw new Error("Failed to fetch suggestions");const R=await T.json();y(R.suggestions||[])}catch(T){console.error("Error fetching suggestions:",T),y([])}finally{g(!1)}},N=A=>p(A),L=A=>{A.key==="Enter"&&S()},S=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${f}`);return}const A=new URLSearchParams;u&&A.set("q",u),f&&A.set("location",f),window.location.href=`/jobs?${A.toString()}`};return t.jsxs("section",{className:`py-12 bg-gray-100 ${s}`,children:[t.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a||w}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Find your next opportunity at the world's leading gaming companies"})]}),t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[t.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[t.jsxs("div",{className:"flex-grow relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx(tt,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:A=>N(A.target.value),onKeyDown:L,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:k.map((A,T)=>t.jsx("option",{value:A},T))}),u&&t.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(ia,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),m&&t.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:t.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&t.jsx("div",{className:"w-full md:w-1/3",children:t.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:f,onChange:A=>x(A.target.value),children:[t.jsx("option",{value:"",children:"All Locations"}),(e||M).map(A=>t.jsx("option",{value:A.id,children:A.name},A.id))]})}),t.jsxs(G,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:S,disabled:m,children:[t.jsx(Xt,{size:18}),m?"Searching...":n||"Search"]})]}),c&&(r||b).length>0&&t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[t.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||b).map((A,T)=>t.jsx("a",{href:A.href,className:"inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 rounded-md text-xs h-8 px-3 text-yellow-600 hover:text-yellow-800-hover hover:bg-accent/10",children:A.label},T))]})]})})]})}function mN({logo:a,navItems:e}){const[r,n]=j.useState(!1);return t.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[t.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[t.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((i,s)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},s))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Tt,{size:24}):t.jsx(Ls,{size:24})})]}),r&&t.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:t.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((i,s)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},s))})})]})}function fN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:s,poweredBy:c}){return t.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[t.jsxs("div",{className:"col-span-1",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("p",{className:"text-gray-400 mb-4",children:e}),t.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>t.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>t.jsxs("div",{className:"col-span-1",children:[t.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),t.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>t.jsx("li",{children:t.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),t.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:t.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(ha,{size:16}),t.jsx("span",{children:i.email})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Xo,{size:16}),t.jsx("span",{children:i.phone})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:i.location})]})]})}),t.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 pt-6 border-t border-gray-800 text-gray-400 text-sm",children:[t.jsx("p",{children:s}),t.jsx("p",{children:c})]})]})})}const xN=()=>{const[a,e]=j.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return t.jsx("section",{className:"py-20 bg-gray-100",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,i)=>t.jsxs("div",{className:"group relative bg-card p-6 rounded-xl shadow-card hover:shadow-elegant transition-all duration-300 transform hover:-translate-y-2 cursor-pointer animate-scale-in",style:{animationDelay:`${i*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[t.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:t.jsx("div",{className:"w-16 h-16 bg-gradient-accent rounded-xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:t.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),t.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),a===n.id&&t.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),t.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),t.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),t.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),t.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[t.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),t.jsx("p",{className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Join hundreds of leading iGaming companies finding top talent through our platform"}),t.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t.jsx("a",{href:"/partners",className:"bg-yellow-500 hover:bg-accent-hover font-semibold py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-accent",children:"Become a Partner"})})]})]})})};function GR(){const[a,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const kN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function gN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=j.useState({analytics:!1,marketing:!1,preferences:!1}),[i,s]=j.useState(!1),l=(p=>p.replace(/\/+$/,""))(a??"http://localhost:5147"),[d,h]=j.useState(null);j.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),j.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),s(!0);return}catch{}if(!d){s(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(f=>f.ok?f.json():null).then(f=>{f&&n({analytics:!!f.analytics,marketing:!!f.marketing,preferences:!!f.preferences,timestamp:f.createdAt})}).catch(()=>{}).finally(()=>s(!0))},[d]);const u=async p=>{const f={...r,...p,timestamp:new Date().toISOString()};n(f),localStorage.setItem("consent",JSON.stringify(f));const x={analytics:f.analytics,marketing:f.marketing,preferences:f.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return t.jsx(kN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const gj=()=>j.useContext(kN);function WR({allow:a,children:e}){const{consent:r,ready:n}=gj();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function vN({title:a="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:i=!1,isOpen:s,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=gj(),[p,f]=j.useState(i);j.useEffect(()=>{s===void 0&&u&&!d.timestamp&&f(!0)},[d.timestamp,s,u]);const x=j.useMemo(()=>s??p,[s,p]),k=()=>{s===void 0&&f(!1)};if(!x)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},m=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return t.jsxs("div",{role:"dialog","aria-label":a,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[t.jsx("p",{className:"text-sm",children:e}),t.jsxs("div",{className:"mt-3 flex gap-2",children:[t.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:m,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const ZR={logo:{text:"iGamingCareer.com",initials:"iG"},navItems:[{label:"Home",href:"/"},{label:"iGaming Salaries 2025",href:"/salaries"},{label:"Jobs",href:"/jobs"},{label:"About Us",href:"/about"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}]},XR={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
7747
+ sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},JR={title:"Why Choose Us?",values:[{icon:vt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Ia,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Ba,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Cs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},YR={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},KR={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},QR={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},eD={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},tD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[t.jsx("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"}),t.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),t.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[t.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),t.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),t.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Oa=(a,e)=>({...a,...e??{}});function aD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:s,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:f=!0,showForEmployers:x=!0,showConsentBanner:k=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:m}){const{isSubscribed:g,email:w}=GR(),M=Oa(ZR,a),b=Oa(XR,e),C=Oa(JR,r),N=Oa(YR,n),L=Oa(KR,i),S=Oa(QR,s),A=Oa(eD,c),T=Oa(tD,l),R={...S,isSubscribed:(s==null?void 0:s.isSubscribed)??g,email:(s==null?void 0:s.email)??w};return t.jsx(gN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(mN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(dN,{...b}),d&&t.jsx(hN,{...C}),h&&t.jsx(yN,{...N}),u&&t.jsx(uN,{...L}),p&&t.jsx(xN,{}),f&&t.jsx(pN,{...R}),x&&t.jsx(lN,{...A})]}),t.jsx(fN,{...T}),k&&t.jsx(vN,{...m})]})})}function vj({title:a="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:i="http://localhost:5147"}){const[s,c]=j.useState(""),[l,d]=j.useState(!1),[h,u]=j.useState(!1);j.useEffect(()=>{const f=localStorage.getItem("email");f&&(u(!0),c(f))},[]);const p=async()=>{if(!s||!s.includes("@")){alert("Please enter a valid email");return}d(!0);try{const f=await fetch(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(f.ok){const x=await f.json();localStorage.setItem("leadId",x.id),localStorage.setItem("email",s),u(!0)}else{const x=await f.text();alert("Submission failed: "+x)}}catch{alert("Network error while submitting")}finally{d(!1)}};return t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:a}),t.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?t.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",s?` as ${s}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(tt,{type:"email",value:s,onChange:f=>c(f.target.value),placeholder:r,className:"mb-3"}),t.jsx(G,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function wN({open:a,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(a){const s=setTimeout(n,5e3);return()=>clearTimeout(s)}},[a,n]),!a)return null;const i={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return t.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${i[e]}`,children:t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsx("p",{className:"text-sm font-medium",children:r}),t.jsx("button",{onClick:n,className:"ml-4",children:t.jsx(ia,{className:"w-5 h-5"})})]})})}const $c=({position:a,url:e,alt:r,link:n})=>{let i="",s="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",s="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",s="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":i="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",s="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return t.jsx("div",{className:i,children:t.jsx("a",{href:n,target:"_blank",children:c?t.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${s} object-cover`,children:[t.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):t.jsx("img",{src:e,alt:r,className:`${s} object-cover`})})})},L9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[s,c]=j.useState(!1),[l,d]=j.useState(""),h=j.useRef(null),u=a.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return j.useEffect(()=>{const p=f=>{h.current&&!h.current.contains(f.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),t.jsxs("div",{className:`searchable-select-container relative ${i}`,ref:h,children:[t.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!s),children:[t.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),t.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${s?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:t.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),s&&t.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[t.jsx("div",{className:"p-2",children:t.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),t.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[t.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,f)=>t.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},f)):t.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},rD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:s,clearAllFilters:c,searchableFilters:l})=>t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"filters-grid",children:a.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?t.jsx(L9,{options:((u=e[d])==null?void 0:u.filter(f=>typeof f=="string"))||[],value:r[d]||"",onChange:f=>n(d,f),placeholder:`Select ${d.replace(/_/g," ")}`},d):t.jsxs("select",{className:"filter-select",onChange:f=>n(d,f.target.value),value:r[d]||"",children:[t.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((f,x)=>typeof f!="string"?null:t.jsx("option",{value:f,children:f},`${d}-${x}`))]},d)})}),t.jsxs("div",{className:"active-filters",children:[i.map(d=>t.jsxs("div",{className:"filter-badge search-filter-badge",children:[t.jsx("span",{className:"filter-value",children:d}),t.jsx("button",{className:"remove-filter",onClick:()=>s(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>t.jsxs("div",{className:"filter-badge",children:[t.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),t.jsx("span",{className:"filter-value",children:h}),t.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||i.length>0)&&t.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),nD=({searchTerm:a,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>t.jsx("div",{className:"search-container",children:t.jsxs("div",{className:"search-input-wrapper",children:[t.jsxs("svg",{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",className:"search-icon",children:[t.jsx("circle",{cx:"11",cy:"11",r:"8"}),t.jsx("path",{d:"m21 21-4.3-4.3"})]}),t.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:a,onChange:i=>e(i.target.value),onKeyDown:r,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:n.map((i,s)=>t.jsx("option",{value:i},s))})]})}),iD={not_registered:{status:"not_registered",registered:!1,allowSaving:!1,maskExternalLinks:!1,blurCompanyTitle:!0,notHrefJobsLink:!0},freemium:{status:"freemium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1},premium:{status:"premium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1}},S9=a=>{const e=(a==null?void 0:a.status)??(a!=null&&a.registered?"freemium":"not_registered"),r=iD[e],n=(a==null?void 0:a.registered)??r.registered,i=!n;return{...r,registered:n,allowSaving:(a==null?void 0:a.allowSaving)??r.allowSaving,maskExternalLinks:(a==null?void 0:a.maskExternalLinks)??r.maskExternalLinks,blurCompanyTitle:(a==null?void 0:a.blurCompanyTitle)??(i?!0:r.blurCompanyTitle),notHrefJobsLink:(a==null?void 0:a.notHrefJobsLink)??(i?!0:r.notHrefJobsLink),note:a==null?void 0:a.note}},wj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},MN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:s,layout:c="grid",userAccess:l})=>{var N;if(!a||typeof a!="object")return console.error("❌ Invalid job data:",a),t.jsx("div",{className:"job-card bg-red-50",children:t.jsxs("div",{className:"p-4",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=L=>{if(m||w){L.preventDefault(),L.stopPropagation();return}const S=m||w?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,S)},h=L=>{L.preventDefault(),L.stopPropagation(),y&&r(a,e)};a.published_at||a.created_at||a.scraped_at;const u=a.min_salary||0,p=a.max_salary||0,f=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(L=>{if(!L)return"Recently posted";try{const S=new Date(L),T=Math.abs(new Date().getTime()-S.getTime()),R=Math.floor(T/(1e3*60*60*24));return R===0?"Today":R===1?"Yesterday":R<7?`${R} days ago`:R<30?`${Math.floor(R/7)} weeks ago`:R<365?`${Math.floor(R/30)} months ago`:`${Math.floor(R/365)} years ago`}catch{return"Recently posted"}})(a.published_at||a.created_at||a.scraped_at),y=l.allowSaving,m=l.maskExternalLinks,g=l.blurCompanyTitle,w=l.notHrefJobsLink,M=wj[l.status],b=y?"Save job":"Log in to save this job",C=a.description&&a.description!==""?"/jobs/"+(a.slug||a.id):a.link;return t.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7748
+ ${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[t.jsxs("div",{className:"flex items-start space-x-4",children:[t.jsx("img",{src:a.logo||`/placeholder.svg?height=48&width=48&text=${((N=a.company)==null?void 0:N.charAt(0))||"C"}`,alt:`${a.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),t.jsxs("div",{className:"flex-1",children:[t.jsx("h3",{className:"font-semibold text-gray-900",children:a.title||"No Title Available"}),t.jsx("p",{className:`text-sm text-muted-foreground ${g?"blur-sm select-none":""}`,children:a.company||"Unknown Company"}),t.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:M}),l.note&&t.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),t.jsxs("div",{className:`
7749
7749
  mt-4 ${c==="list"?"md:mt-0 md:flex-1":""}
7750
7750
  `,children:[t.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.location||"Remote"]})}),t.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(vt,{className:"w-4 h-4 mr-1"}),a.department||"Full-time"]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-3.5 w-3.5 mr-1.5"}),t.jsx("span",{children:k})]})]}),t.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:f})]}),t.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[t.jsx("button",{onClick:h,disabled:!y,className:`
7751
7751
  p-2 rounded-lg transition-colors
7752
7752
  ${s?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7753
- `,"aria-label":s?"Unsave job":"Save job",title:w,children:t.jsx(Xa,{size:20,className:`transition-colors ${s?"fill-blue-600 text-yellow-600":""}`})}),m?t.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):t.jsx("a",{href:M,target:a.description&&a.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7754
- transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!y&&t.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},oD=({jobs:a,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:i})=>a.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No jobs found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:"jobs-grid",children:a.map(s=>t.jsx(MN,{job:s,onSaveJob:e,onViewJob:r,isSaved:n(s),userAccess:i},s.link))}),sD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let s=1;s<=e;s++)n.push(s);else if(a<=3)for(let s=1;s<=5;s++)n.push(s);else if(a>=e-2)for(let s=e-4;s<=e;s++)n.push(s);else for(let s=a-2;s<=a+2;s++)n.push(s);return t.jsxs("div",{className:"pagination",children:[t.jsx("button",{className:"pagination-button prev-button",disabled:a===1,onClick:()=>r(a-1),children:t.jsx(ba,{})}),n.map(s=>t.jsx("button",{className:`pagination-button ${a===s?"active":""}`,onClick:()=>r(s),children:s},s)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(Ca,{})})]})},cD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:s,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>t.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${a?"opacity-100":"opacity-0 pointer-events-none"}`,children:t.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${a?"transform translate-x-0":"transform translate-x-full"}`,children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),t.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:t.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"mb-4",children:t.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var f;return t.jsxs("div",{className:"mb-4",children:[t.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),t.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:x=>s(p,x.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=n[p])==null?void 0:f.map(x=>t.jsx("option",{value:x,children:x},x))]})]},p)}),Object.keys(i).length>0&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(i).map(([p,f])=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[t.jsxs("span",{children:[p.replace(/_/g," "),": ",f]}),t.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>s(p,""),children:"×"})]},p)),t.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),lD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:s,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState(1),[f,x]=j.useState({}),[k,y]=j.useState([]),[m,g]=j.useState({}),[w,M]=j.useState(""),[b,C]=j.useState([]),[A,L]=j.useState(!1),S=S9(l);j.useEffect(()=>{fetch(`${a}/items`).then(oe=>oe.json()).then(oe=>{h(oe)}).catch(oe=>console.error("Error fetching items:",oe))},[a]);const N=oe=>{const ee={};oe.forEach(ve=>{r.forEach(W=>{ee[W]||(ee[W]=new Set);const Q=ve[W];Q!=null&&ee[W].add(String(Q))})});const le={};return Object.keys(ee).forEach(ve=>{le[ve]=Array.from(ee[ve])}),le};function T(oe,ee,le){let ve=oe.filter(W=>Object.entries(ee).every(([Q,ue])=>{const de=W[Q];return typeof de=="string"&&de.toLowerCase()===ue.toLowerCase()}));return le.length>0&&(ve=ve.filter(W=>le.every(Q=>W.title.toLowerCase().includes(Q.toLowerCase())))),ve}const z=j.useMemo(()=>T(d,f,k),[f,d,k]),R=(oe,ee)=>{x(le=>{const ve=ee?{...le,[oe]:ee}:{...le};return ee||delete ve[oe],ve})},_=oe=>{if(M(oe),oe){const ee=d.map(le=>le.title).filter((le,ve,W)=>le&&le.toLowerCase().includes(oe.toLowerCase())&&W.indexOf(le)===ve).slice(0,5);C(ee)}else C([])},q=oe=>{if(oe.key==="Enter"&&w.trim()){oe.preventDefault();const ee=[...k,w.trim()];y(ee),M("")}},D=oe=>{const ee=k.filter(le=>le!==oe);y(ee)},V=()=>{x({}),y([]),p(1)};j.useEffect(()=>{g(N(z))},[r,z]),j.useEffect(()=>{p(1)},[f,k]);const $=()=>{L(!A)},E=(oe,ee)=>{},re=oe=>{},ne=oe=>!1,se=Math.ceil(z.length/e),ae=z.slice((u-1)*e,u*e);return t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx("div",{className:"flex-grow",children:t.jsxs("div",{className:"job-listings-container",children:[t.jsx("div",{className:"header-container",children:t.jsxs("div",{className:"header-content",children:[t.jsx("h1",{className:"main-title",children:"Job Listings"}),t.jsxs("p",{className:"items-count",children:["Total: ",t.jsx("span",{className:"count-value",children:z.length})]})]})}),t.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:$,children:A?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(nD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:q,suggestions:b}),t.jsx(rD,{filterKeys:r,filtersData:m,activeFilters:f,handleFilterChange:R,searchFilters:k,removeSearchFilter:D,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(cD,{isOpen:A,onClose:$,filterKeys:r,filtersData:m,activeFilters:f,handleFilterChange:R,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:q,searchFilters:k,removeSearchFilter:D}),t.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[t.jsx("h2",{className:"section-title",children:"Open Positions"}),t.jsx(oD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:S}),t.jsx(sD,{currentPage:u,totalPages:se,setCurrentPage:p})]}),t.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:t.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&t.jsx($c,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx($c,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},dD=({title:a="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,i]=j.useState(!1),[s,c]=j.useState(null);j.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(i(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return t.jsx("footer",{className:"bg-gray-800 text-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[t.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:t.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?t.jsxs("div",{className:"mt-12 md:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),t.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,f)=>t.jsx("li",{children:t.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},f))})]},h):null})})}),t.jsxs("div",{className:"mt-8 xl:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:a}),t.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?t.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",s?` as ${s}`:"","!"]}):t.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[t.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),t.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),t.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),t.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:t.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},hD=({logo:a="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>t.jsx("nav",{className:"bg-white shadow-md",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex",children:[t.jsx("div",{className:"flex-shrink-0 flex items-center",children:t.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:a?t.jsx("img",{src:a,alt:"Logo",className:"h-6 w-6"}):t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:t.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((i,s)=>t.jsx("a",{href:i.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:i.text},s))})]}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:t.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),bN=({savedJobsCount:a})=>{const[e,r]=j.useState("");j.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=i=>e===i;return t.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:t.jsxs("div",{className:"grid grid-cols-5 h-16",children:[t.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Ma,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),t.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(vt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),t.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(uc,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Saved"}),a>0&&t.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:a})]}),t.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Wt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),t.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Sa,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},uD=a=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],i=["New York","San Francisco","Austin","Seattle","Chicago"],s=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:a},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:i[h%i.length],country:s[h%s.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},CN=({activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsxs("div",{className:"date-filter",children:[r&&t.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),t.jsx("select",{id:"date-filter",value:a,onChange:i=>e(i.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(i=>t.jsx("option",{value:i.value,children:i.label},i.value))})]}),jN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:s,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:f,dateOptions:x=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsx("div",{children:t.jsxs("div",{className:p?"block":"hidden",children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>f(!p)}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),t.jsx("button",{onClick:()=>f(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900",children:i}),t.jsx(CN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:x})]}),r.map(k=>{var m;const y=k.replace(/_/g," ");return t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:y}),n.includes(k)?t.jsx(L9,{options:d[k]||[],value:s[k]||"",onChange:g=>c(k,g),placeholder:`Select ${y}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow-500 focus:border-yellow-500 bg-white",value:s[k]||"",onChange:g=>c(k,g.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(m=d[k])==null?void 0:m.map(g=>t.jsx("option",{value:g,children:g},g))]})]},k)}),t.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:t.jsx("button",{onClick:()=>f(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),Mj=({totalColumns:a=2})=>t.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"animate-pulse",children:[t.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),t.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${a} gap-6`,children:[...Array(4)].map((e,r)=>t.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[t.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),t.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),t.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),bj=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:s="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,f]=j.useState(!1),x=j.useRef(null),k=g=>{d(g),f(!0),i&&i(g)},y=()=>{d(""),u([]),f(!1),i==null||i("")},m=g=>{e(g),d(""),u([]),f(!1)};return j.useEffect(()=>{x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{if(!l){u([]);return}const g=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,b)=>b.indexOf(w)===M).slice(0,5);u(g)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${s}`,children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-4 w-4 text-gray-400"})}),t.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:g=>k(g.target.value),onFocus:()=>f(h.length>0),onBlur:()=>setTimeout(()=>f(!1),200),onKeyDown:g=>{g.key==="Enter"&&l.trim()&&(g.preventDefault(),m(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Tt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&m(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:t.jsx(Xt,{className:"h-4 w-4"})})]}),p&&h.length>0&&t.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((g,w)=>t.jsx("li",{children:t.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>m(g),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),g]})})},w))})]})},Cj=({onSearchChange:a,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:i=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:s=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=j.useState(""),[f,x]=j.useState(()=>new Set),k=i.filter(m=>!f.has(m)),y=(m,g)=>{g==null||g.preventDefault(),x(w=>{const M=new Set(w);return M.add(m),M}),l==null||l(m)};return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:t.jsx("div",{className:"flex items-center justify-between",children:t.jsxs("div",{children:[t.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),t.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:t.jsx("div",{className:"overflow-x-auto",children:k.length>0&&t.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[t.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),k.map(m=>t.jsx(YC,{name:`#${m}`,color:d,size:"sm",href:c?void 0:s(m),onClick:c?()=>c(m):void 0,removable:h,onRemove:h?g=>y(m,g):void 0},m))]})})})})]})},pD=a=>a.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function jj(a){const e=pD(a),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const i of n)if(new RegExp(`\\b${i.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return i;return null}function yD(a){const e=jj(a);return e||mD(a)}function mD(a){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=a.toLowerCase().split(/\W+/).filter(s=>s.length>2&&!e.has(s)),n={};for(const s of r)n[s]=(n[s]||0)+1;const i=Object.entries(n).sort((s,c)=>c[1]-s[1]);return i.length>0?i[0][0]:null}const Lj=({filters:a,onClearAll:e,handleCreateAlert:r,className:n=""})=>a.length===0?null:t.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[a.map(i=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[i.label&&t.jsxs("span",{className:"font-medium mr-1",children:[i.label,":"]}),t.jsx("span",{children:i.value}),t.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:i.onRemove,"aria-label":`Remove ${i.label||i.key} filter`,children:t.jsx(ia,{size:14})})]},`${i.key}-${i.value}`)),t.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),t.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),fD=({viewMode:a,onToggle:e,className:r=""})=>t.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":a==="grid",children:[t.jsx(Jt,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":a==="list",children:[t.jsx(bc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),xD=({value:a,onChange:e,options:r=[5,10,20,50],className:n=""})=>t.jsxs("div",{className:`flex items-center ${n}`,children:[t.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),t.jsx("select",{id:"items-per-page",value:a,onChange:i=>e(Number(i.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(i=>t.jsx("option",{value:i,children:i},i))})]}),Sj=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:s,endIndex:c,title:l})=>t.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),t.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",t.jsx("span",{className:"font-semibold text-gray-900",children:s}),"–",t.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",t.jsx("span",{className:"font-semibold text-gray-900",children:i})," articles"]})]}),t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[t.jsx(fD,{viewMode:a,onToggle:e}),t.jsx(xD,{value:r,onChange:n})]})]})}),kD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:s="text-yellow-800"})=>t.jsx("div",{className:`promo-card ${i} p-4 rounded-lg shadow-sm hidden md:block`,children:t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx("h3",{className:`font-bold text-lg ${s}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${s} opacity-90`,children:e})]}),t.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),gD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:s,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=j.useState([]),[p,f]=j.useState(null);j.useEffect(()=>{try{if(!Array.isArray(a)){console.error("❌ Items is not an array:",a),f("Invalid data format received"),u([]);return}const k=[...a];a.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),f(null)}catch(k){console.error("Error processing items:",k),f(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[a]);const x=(k,y)=>{const g=y===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(kD,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${y}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${y}`:k.slug?`${k.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...g,children:t.jsx(MN,{job:k,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,b,C)=>s(M,y,C),onApplyJob:c?(M,b,C)=>c(M,y,C):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),t.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[t.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),t.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),t.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),t.jsx("p",{children:p})]}):h.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No items found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,y)=>x(k,y))})},Ij=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),s=Math.min(e,i+n-1),c=[];for(let l=i;l<=s;l++)c.push(l);return t.jsx("div",{className:"mt-6 flex justify-center",children:t.jsxs("nav",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>r(Math.max(1,a-1)),disabled:a===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(ba,{})}),c.map(l=>t.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${a===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),t.jsx("button",{onClick:()=>r(Math.min(e,a+1)),disabled:a===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(Ca,{})})]})})},vD=({jobs:a,onViewJob:e})=>!a||a.length===0?null:t.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[t.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:a.map((r,n)=>t.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[t.jsxs("div",{className:"flex items-center mb-2",children:[t.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),t.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),t.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),t.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),wD=(a,e,r="date")=>{if(e==="all")return a;const n=new Date,i=new Date(n.getFullYear(),n.getMonth(),n.getDate());return a.filter(s=>{const c=s[r]||s.created_at||s.published_at||s.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=i;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},MD=(a,e)=>a.filter(r=>{var n,i,s,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((i=r.title)==null?void 0:i.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((s=r.location)==null?void 0:s.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),zc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const s=n[i];Array.isArray(s)?s.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof s=="string"&&s.trim()&&r[i].add(s.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},LN=a=>{const e=new URLSearchParams(window.location.search);a==="all"?e.delete("date_filter"):e.set("date_filter",a);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Bo=(a,e,r,n,i="date")=>{let s=a.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(s=s.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),s=wD(s,n,i),s},r1=(a,e,r=[],n="date")=>{const i=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},s=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,f)=>{const x=f.toLowerCase();let k=p;return h.includes(x)&&(k+=3),u.includes(x)&&(k+=1),k},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return s(h)-s(d);case"views_asc":return s(d)-s(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:i(h)-i(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:i(h)-i(d)}case"date_desc":default:return i(h)-i(d)}}),l},SN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:s,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:a}),t.jsx(CN,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var f;return t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,x=>x.toUpperCase())}),i.includes(p)?t.jsx(L9,{options:s[p]||[],value:c[p]||"",onChange:x=>l(p,x),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:x=>l(p,x.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=s[p])==null?void 0:f.map(x=>t.jsx("option",{value:x,children:x},x))]})]},p)}),t.jsx("div",{className:"mt-6",children:t.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[t.jsx(Xa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function bD(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a);v.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var CD="DismissableLayer",DC="dismissableLayer.update",jD="dismissableLayer.pointerDownOutside",LD="dismissableLayer.focusOutside",PL,IN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(IN),[u,p]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=v.useState({}),k=je(e,L=>p(L)),y=Array.from(h.layers),[m]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(m),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,b=w>=g,C=ND(L=>{const S=L.target,N=[...h.branches].some(T=>T.contains(S));!b||N||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},f),A=AD(L=>{const S=L.target;[...h.branches].some(T=>T.contains(S))||(s==null||s(L),c==null||c(L),L.defaultPrevented||l==null||l())},f);return bD(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},f),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(PL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),qL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=PL)}},[u,f,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),qL())},[u,h]),v.useEffect(()=>{const L=()=>x({});return document.addEventListener(DC,L),()=>document.removeEventListener(DC,L)},[]),t.jsx(me.div,{...d,ref:k,style:{pointerEvents:M?b?"auto":"none":void 0,...a.style},onFocusCapture:he(a.onFocusCapture,A.onFocusCapture),onBlurCapture:he(a.onBlurCapture,A.onBlurCapture),onPointerDownCapture:he(a.onPointerDownCapture,C.onPointerDownCapture)})});I9.displayName=CD;var SD="DismissableLayerBranch",ID=v.forwardRef((a,e)=>{const r=v.useContext(IN),n=v.useRef(null),i=je(e,n);return v.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),t.jsx(me.div,{...a,ref:i})});ID.displayName=SD;function ND(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const s=l=>{if(l.target&&!n.current){let d=function(){NN(jD,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=d,e.addEventListener("click",i.current,{once:!0})):d()}else e.removeEventListener("click",i.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",s),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function AD(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a),n=v.useRef(!1);return v.useEffect(()=>{const i=s=>{s.target&&!n.current&&NN(LD,r,{originalEvent:s},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function qL(){const a=new CustomEvent(DC);document.dispatchEvent(a)}function NN(a,e,r,{discrete:n}){const i=r.originalEvent.target,s=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Fq(i,s):i.dispatchEvent(s)}var iC="focusScope.autoFocusOnMount",oC="focusScope.autoFocusOnUnmount",TL={bubbles:!1,cancelable:!0},_D="FocusScope",N9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=a,[l,d]=v.useState(null),h=tr(i),u=tr(s),p=v.useRef(null),f=je(e,y=>d(y)),x=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(x.paused||!l)return;const b=M.target;l.contains(b)?p.current=b:Va(p.current,{select:!0})},m=function(M){if(x.paused||!l)return;const b=M.relatedTarget;b!==null&&(l.contains(b)||Va(p.current,{select:!0}))},g=function(M){if(document.activeElement===document.body)for(const C of M)C.removedNodes.length>0&&Va(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",m);const w=new MutationObserver(g);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",m),w.disconnect()}}},[n,l,x.paused]),v.useEffect(()=>{if(l){DL.add(x);const y=document.activeElement;if(!l.contains(y)){const g=new CustomEvent(iC,TL);l.addEventListener(iC,h),l.dispatchEvent(g),g.defaultPrevented||(PD(zD(AN(l)),{select:!0}),document.activeElement===y&&Va(l))}return()=>{l.removeEventListener(iC,h),setTimeout(()=>{const g=new CustomEvent(oC,TL);l.addEventListener(oC,u),l.dispatchEvent(g),g.defaultPrevented||Va(y??document.body,{select:!0}),l.removeEventListener(oC,u),DL.remove(x)},0)}}},[l,h,u,x]);const k=v.useCallback(y=>{if(!r&&!n||x.paused)return;const m=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,g=document.activeElement;if(m&&g){const w=y.currentTarget,[M,b]=qD(w);M&&b?!y.shiftKey&&g===b?(y.preventDefault(),r&&Va(M,{select:!0})):y.shiftKey&&g===M&&(y.preventDefault(),r&&Va(b,{select:!0})):g===w&&y.preventDefault()}},[r,n,x.paused]);return t.jsx(me.div,{tabIndex:-1,...c,ref:f,onKeyDown:k})});N9.displayName=_D;function PD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if(Va(n,{select:e}),document.activeElement!==r)return}function qD(a){const e=AN(a),r=RL(e,a),n=RL(e.reverse(),a);return[r,n]}function AN(a){const e=[],r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function RL(a,e){for(const r of a)if(!TD(r,{upTo:e}))return r}function TD(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function RD(a){return a instanceof HTMLInputElement&&"select"in a}function Va(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&RD(a)&&e&&a.select()}}var DL=DD();function DD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=zL(a,e),a.unshift(e)},remove(e){var r;a=zL(a,e),(r=a[0])==null||r.resume()}}}function zL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function zD(a){return a.filter(e=>e.tagName!=="A")}var FD="Portal",A9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,s]=v.useState(!1);pt(()=>s(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?WC.createPortal(t.jsx(me.div,{...n,ref:e}),c):null});A9.displayName=FD;var sC=0;function Nj(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??FL()),document.body.insertAdjacentElement("beforeend",a[1]??FL()),sC++,()=>{sC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),sC--}},[])}function FL(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var sa=function(){return sa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},sa.apply(this,arguments)};function _N(a,e){var r={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&e.indexOf(n)<0&&(r[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(a);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(a,n[i])&&(r[n[i]]=a[n[i]]);return r}function ED(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return a.concat(s||Array.prototype.slice.call(e))}var t9="right-scroll-bar-position",a9="width-before-scroll-bar",HD="with-scroll-bars-hidden",OD="--removed-body-scroll-bar-size";function cC(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function VD(a,e){var r=j.useState(function(){return{value:a,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var BD=typeof window<"u"?v.useLayoutEffect:v.useEffect,EL=new WeakMap;function UD(a,e){var r=VD(null,function(n){return a.forEach(function(i){return cC(i,n)})});return BD(function(){var n=EL.get(r);if(n){var i=new Set(n),s=new Set(a),c=r.current;i.forEach(function(l){s.has(l)||cC(l,null)}),s.forEach(function(l){i.has(l)||cC(l,c)})}EL.set(r,a)},[a]),r}function $D(a){return a}function GD(a,e){e===void 0&&(e=$D);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:a},useMedium:function(s){var c=e(s,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(s){for(n=!0;r.length;){var c=r;r=[],c.forEach(s)}r={push:function(l){return s(l)},filter:function(){return r}}},assignMedium:function(s){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(s),c=r}var d=function(){var u=c;c=[],u.forEach(s)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return i}function WD(a){a===void 0&&(a={});var e=GD(null);return e.options=sa({async:!0,ssr:!1},a),e}var PN=function(a){var e=a.sideCar,r=_N(a,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,sa({},r))};PN.isSideCarExport=!0;function ZD(a,e){return a.useMedium(e),PN}var qN=WD(),lC=function(){},_9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:lC,onWheelCapture:lC,onTouchMoveCapture:lC}),i=n[0],s=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,f=a.sideCar,x=a.noRelative,k=a.noIsolation,y=a.inert,m=a.allowPinchZoom,g=a.as,w=g===void 0?"div":g,M=a.gapMode,b=_N(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,A=UD([r,e]),L=sa(sa({},b),i);return v.createElement(v.Fragment,null,u&&v.createElement(C,{sideCar:qN,removeScrollBar:h,shards:p,noRelative:x,noIsolation:k,inert:y,setCallbacks:s,allowPinchZoom:!!m,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),sa(sa({},L),{ref:A})):v.createElement(w,sa({},L,{className:d,ref:A}),l))});_9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_9.classNames={fullWidth:a9,zeroRight:t9};var XD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function JD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=XD();return e&&a.setAttribute("nonce",e),a}function YD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function KD(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var QD=function(){var a=0,e=null;return{add:function(r){a==0&&(e=JD())&&(YD(e,r),KD(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ez=function(){var a=QD();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},TN=function(){var a=ez(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},tz={left:0,top:0,right:0,gap:0},dC=function(a){return parseInt(a||"",10)||0},az=function(a){var e=window.getComputedStyle(document.body),r=e[a==="padding"?"paddingLeft":"marginLeft"],n=e[a==="padding"?"paddingTop":"marginTop"],i=e[a==="padding"?"paddingRight":"marginRight"];return[dC(r),dC(n),dC(i)]},rz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return tz;var e=az(a),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},nz=TN(),zs="data-scroll-locked",iz=function(a,e,r,n){var i=a.left,s=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
7753
+ `,"aria-label":s?"Unsave job":"Save job",title:b,children:t.jsx(Xa,{size:20,className:`transition-colors ${s?"fill-blue-600 text-yellow-600":""}`})}),m||w?t.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):t.jsx("a",{href:C,target:a.description&&a.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7754
+ transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!y&&t.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},oD=({jobs:a,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:i})=>a.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No jobs found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:"jobs-grid",children:a.map(s=>t.jsx(MN,{job:s,onSaveJob:e,onViewJob:r,isSaved:n(s),userAccess:i},s.link))}),sD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let s=1;s<=e;s++)n.push(s);else if(a<=3)for(let s=1;s<=5;s++)n.push(s);else if(a>=e-2)for(let s=e-4;s<=e;s++)n.push(s);else for(let s=a-2;s<=a+2;s++)n.push(s);return t.jsxs("div",{className:"pagination",children:[t.jsx("button",{className:"pagination-button prev-button",disabled:a===1,onClick:()=>r(a-1),children:t.jsx(ba,{})}),n.map(s=>t.jsx("button",{className:`pagination-button ${a===s?"active":""}`,onClick:()=>r(s),children:s},s)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(Ca,{})})]})},cD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:s,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>t.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${a?"opacity-100":"opacity-0 pointer-events-none"}`,children:t.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${a?"transform translate-x-0":"transform translate-x-full"}`,children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),t.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:t.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"mb-4",children:t.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var f;return t.jsxs("div",{className:"mb-4",children:[t.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),t.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:x=>s(p,x.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=n[p])==null?void 0:f.map(x=>t.jsx("option",{value:x,children:x},x))]})]},p)}),Object.keys(i).length>0&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(i).map(([p,f])=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[t.jsxs("span",{children:[p.replace(/_/g," "),": ",f]}),t.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>s(p,""),children:"×"})]},p)),t.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),lD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:s,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState(1),[f,x]=j.useState({}),[k,y]=j.useState([]),[m,g]=j.useState({}),[w,M]=j.useState(""),[b,C]=j.useState([]),[N,L]=j.useState(!1),S=S9(l);j.useEffect(()=>{fetch(`${a}/items`).then(oe=>oe.json()).then(oe=>{h(oe)}).catch(oe=>console.error("Error fetching items:",oe))},[a]);const A=oe=>{const ee={};oe.forEach(ve=>{r.forEach(W=>{ee[W]||(ee[W]=new Set);const Q=ve[W];Q!=null&&ee[W].add(String(Q))})});const le={};return Object.keys(ee).forEach(ve=>{le[ve]=Array.from(ee[ve])}),le};function T(oe,ee,le){let ve=oe.filter(W=>Object.entries(ee).every(([Q,ue])=>{const de=W[Q];return typeof de=="string"&&de.toLowerCase()===ue.toLowerCase()}));return le.length>0&&(ve=ve.filter(W=>le.every(Q=>W.title.toLowerCase().includes(Q.toLowerCase())))),ve}const R=j.useMemo(()=>T(d,f,k),[f,d,k]),D=(oe,ee)=>{x(le=>{const ve=ee?{...le,[oe]:ee}:{...le};return ee||delete ve[oe],ve})},_=oe=>{if(M(oe),oe){const ee=d.map(le=>le.title).filter((le,ve,W)=>le&&le.toLowerCase().includes(oe.toLowerCase())&&W.indexOf(le)===ve).slice(0,5);C(ee)}else C([])},q=oe=>{if(oe.key==="Enter"&&w.trim()){oe.preventDefault();const ee=[...k,w.trim()];y(ee),M("")}},z=oe=>{const ee=k.filter(le=>le!==oe);y(ee)},V=()=>{x({}),y([]),p(1)};j.useEffect(()=>{g(A(R))},[r,R]),j.useEffect(()=>{p(1)},[f,k]);const $=()=>{L(!N)},E=(oe,ee)=>{},re=oe=>{},ne=oe=>!1,se=Math.ceil(R.length/e),ae=R.slice((u-1)*e,u*e);return t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx("div",{className:"flex-grow",children:t.jsxs("div",{className:"job-listings-container",children:[t.jsx("div",{className:"header-container",children:t.jsxs("div",{className:"header-content",children:[t.jsx("h1",{className:"main-title",children:"Job Listings"}),t.jsxs("p",{className:"items-count",children:["Total: ",t.jsx("span",{className:"count-value",children:R.length})]})]})}),t.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:$,children:N?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(nD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:q,suggestions:b}),t.jsx(rD,{filterKeys:r,filtersData:m,activeFilters:f,handleFilterChange:D,searchFilters:k,removeSearchFilter:z,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(cD,{isOpen:N,onClose:$,filterKeys:r,filtersData:m,activeFilters:f,handleFilterChange:D,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:q,searchFilters:k,removeSearchFilter:z}),t.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[t.jsx("h2",{className:"section-title",children:"Open Positions"}),t.jsx(oD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:S}),t.jsx(sD,{currentPage:u,totalPages:se,setCurrentPage:p})]}),t.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:t.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&t.jsx($c,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx($c,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},dD=({title:a="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,i]=j.useState(!1),[s,c]=j.useState(null);j.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(i(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return t.jsx("footer",{className:"bg-gray-800 text-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[t.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:t.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?t.jsxs("div",{className:"mt-12 md:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),t.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,f)=>t.jsx("li",{children:t.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},f))})]},h):null})})}),t.jsxs("div",{className:"mt-8 xl:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:a}),t.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?t.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",s?` as ${s}`:"","!"]}):t.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[t.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),t.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),t.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),t.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:t.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},hD=({logo:a="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>t.jsx("nav",{className:"bg-white shadow-md",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex",children:[t.jsx("div",{className:"flex-shrink-0 flex items-center",children:t.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:a?t.jsx("img",{src:a,alt:"Logo",className:"h-6 w-6"}):t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:t.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((i,s)=>t.jsx("a",{href:i.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:i.text},s))})]}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:t.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),bN=({savedJobsCount:a})=>{const[e,r]=j.useState("");j.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=i=>e===i;return t.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:t.jsxs("div",{className:"grid grid-cols-5 h-16",children:[t.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Ma,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),t.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(vt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),t.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(uc,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Saved"}),a>0&&t.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:a})]}),t.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Wt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),t.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[t.jsx(Sa,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},uD=a=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],i=["New York","San Francisco","Austin","Seattle","Chicago"],s=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:a},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:i[h%i.length],country:s[h%s.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},CN=({activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsxs("div",{className:"date-filter",children:[r&&t.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),t.jsx("select",{id:"date-filter",value:a,onChange:i=>e(i.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(i=>t.jsx("option",{value:i.value,children:i.label},i.value))})]}),jN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:s,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:f,dateOptions:x=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsx("div",{children:t.jsxs("div",{className:p?"block":"hidden",children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>f(!p)}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),t.jsx("button",{onClick:()=>f(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900",children:i}),t.jsx(CN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:x})]}),r.map(k=>{var m;const y=k.replace(/_/g," ");return t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:y}),n.includes(k)?t.jsx(L9,{options:d[k]||[],value:s[k]||"",onChange:g=>c(k,g),placeholder:`Select ${y}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow-500 focus:border-yellow-500 bg-white",value:s[k]||"",onChange:g=>c(k,g.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(m=d[k])==null?void 0:m.map(g=>t.jsx("option",{value:g,children:g},g))]})]},k)}),t.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:t.jsx("button",{onClick:()=>f(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),Mj=({totalColumns:a=2})=>t.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"animate-pulse",children:[t.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),t.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${a} gap-6`,children:[...Array(4)].map((e,r)=>t.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[t.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),t.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),t.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),bj=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:s="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,f]=j.useState(!1),x=j.useRef(null),k=g=>{d(g),f(!0),i&&i(g)},y=()=>{d(""),u([]),f(!1),i==null||i("")},m=g=>{e(g),d(""),u([]),f(!1)};return j.useEffect(()=>{x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{if(!l){u([]);return}const g=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,b)=>b.indexOf(w)===M).slice(0,5);u(g)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${s}`,children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-4 w-4 text-gray-400"})}),t.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:g=>k(g.target.value),onFocus:()=>f(h.length>0),onBlur:()=>setTimeout(()=>f(!1),200),onKeyDown:g=>{g.key==="Enter"&&l.trim()&&(g.preventDefault(),m(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Tt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&m(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:t.jsx(Xt,{className:"h-4 w-4"})})]}),p&&h.length>0&&t.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((g,w)=>t.jsx("li",{children:t.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>m(g),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),g]})})},w))})]})},Cj=({onSearchChange:a,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:i=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:s=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=j.useState(""),[f,x]=j.useState(()=>new Set),k=i.filter(m=>!f.has(m)),y=m=>{x(g=>{const w=new Set(g);return w.add(m),w}),l==null||l(m)};return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:t.jsx("div",{className:"flex items-center justify-between",children:t.jsxs("div",{children:[t.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),t.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:t.jsx("div",{className:"overflow-x-auto",children:k.length>0&&t.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[t.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),k.map(m=>t.jsx(YC,{name:`#${m}`,color:d,size:"sm",href:c?void 0:s(m),onClick:c?()=>c(m):void 0,removable:h,onRemove:h?()=>y(m):void 0},m))]})})})})]})},pD=a=>a.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function jj(a){const e=pD(a),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const i of n)if(new RegExp(`\\b${i.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return i;return null}function yD(a){const e=jj(a);return e||mD(a)}function mD(a){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=a.toLowerCase().split(/\W+/).filter(s=>s.length>2&&!e.has(s)),n={};for(const s of r)n[s]=(n[s]||0)+1;const i=Object.entries(n).sort((s,c)=>c[1]-s[1]);return i.length>0?i[0][0]:null}const Lj=({filters:a,onClearAll:e,handleCreateAlert:r,className:n=""})=>a.length===0?null:t.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[a.map(i=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[i.label&&t.jsxs("span",{className:"font-medium mr-1",children:[i.label,":"]}),t.jsx("span",{children:i.value}),t.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:i.onRemove,"aria-label":`Remove ${i.label||i.key} filter`,children:t.jsx(ia,{size:14})})]},`${i.key}-${i.value}`)),t.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),t.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),fD=({viewMode:a,onToggle:e,className:r=""})=>t.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":a==="grid",children:[t.jsx(Jt,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":a==="list",children:[t.jsx(bc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),xD=({value:a,onChange:e,options:r=[5,10,20,50],className:n=""})=>t.jsxs("div",{className:`flex items-center ${n}`,children:[t.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),t.jsx("select",{id:"items-per-page",value:a,onChange:i=>e(Number(i.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(i=>t.jsx("option",{value:i,children:i},i))})]}),Sj=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:s,endIndex:c,title:l})=>t.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),t.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",t.jsx("span",{className:"font-semibold text-gray-900",children:s}),"–",t.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",t.jsx("span",{className:"font-semibold text-gray-900",children:i})," articles"]})]}),t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[t.jsx(fD,{viewMode:a,onToggle:e}),t.jsx(xD,{value:r,onChange:n})]})]})}),kD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:s="text-yellow-800"})=>t.jsx("div",{className:`promo-card ${i} p-4 rounded-lg shadow-sm hidden md:block`,children:t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx("h3",{className:`font-bold text-lg ${s}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${s} opacity-90`,children:e})]}),t.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),gD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:s,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=j.useState([]),[p,f]=j.useState(null);j.useEffect(()=>{try{if(!Array.isArray(a)){console.error("❌ Items is not an array:",a),f("Invalid data format received"),u([]);return}const k=[...a];a.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),f(null)}catch(k){console.error("Error processing items:",k),f(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[a]);const x=(k,y)=>{const g=y===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(kD,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${y}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${y}`:k.slug?`${k.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...g,children:t.jsx(MN,{job:k,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,b,C)=>s(M,y,C),onApplyJob:c?(M,b,C)=>c(M,y,C):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),t.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[t.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),t.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),t.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),t.jsx("p",{children:p})]}):h.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No items found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,y)=>x(k,y))})},Ij=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),s=Math.min(e,i+n-1),c=[];for(let l=i;l<=s;l++)c.push(l);return t.jsx("div",{className:"mt-6 flex justify-center",children:t.jsxs("nav",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>r(Math.max(1,a-1)),disabled:a===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(ba,{})}),c.map(l=>t.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${a===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),t.jsx("button",{onClick:()=>r(Math.min(e,a+1)),disabled:a===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(Ca,{})})]})})},vD=({jobs:a,onViewJob:e})=>!a||a.length===0?null:t.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[t.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:a.map((r,n)=>t.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[t.jsxs("div",{className:"flex items-center mb-2",children:[t.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),t.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),t.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),t.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),wD=(a,e,r="date")=>{if(e==="all")return a;const n=new Date,i=new Date(n.getFullYear(),n.getMonth(),n.getDate());return a.filter(s=>{const c=s[r]||s.created_at||s.published_at||s.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=i;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},MD=(a,e)=>a.filter(r=>{var n,i,s,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((i=r.title)==null?void 0:i.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((s=r.location)==null?void 0:s.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),zc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const s=n[i];Array.isArray(s)?s.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof s=="string"&&s.trim()&&r[i].add(s.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},LN=a=>{const e=new URLSearchParams(window.location.search);a==="all"?e.delete("date_filter"):e.set("date_filter",a);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Bo=(a,e,r,n,i="date")=>{let s=a.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(s=s.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),s=wD(s,n,i),s},r1=(a,e,r=[],n="date")=>{const i=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},s=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,f)=>{const x=f.toLowerCase();let k=p;return h.includes(x)&&(k+=3),u.includes(x)&&(k+=1),k},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return s(h)-s(d);case"views_asc":return s(d)-s(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:i(h)-i(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:i(h)-i(d)}case"date_desc":default:return i(h)-i(d)}}),l},SN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:s,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:a}),t.jsx(CN,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var f;return t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,x=>x.toUpperCase())}),i.includes(p)?t.jsx(L9,{options:s[p]||[],value:c[p]||"",onChange:x=>l(p,x),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:x=>l(p,x.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=s[p])==null?void 0:f.map(x=>t.jsx("option",{value:x,children:x},x))]})]},p)}),t.jsx("div",{className:"mt-6",children:t.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[t.jsx(Xa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function bD(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a);v.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var CD="DismissableLayer",DC="dismissableLayer.update",jD="dismissableLayer.pointerDownOutside",LD="dismissableLayer.focusOutside",PL,IN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(IN),[u,p]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=v.useState({}),k=je(e,L=>p(L)),y=Array.from(h.layers),[m]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(m),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,b=w>=g,C=ND(L=>{const S=L.target,A=[...h.branches].some(T=>T.contains(S));!b||A||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},f),N=AD(L=>{const S=L.target;[...h.branches].some(T=>T.contains(S))||(s==null||s(L),c==null||c(L),L.defaultPrevented||l==null||l())},f);return bD(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},f),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(PL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),qL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=PL)}},[u,f,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),qL())},[u,h]),v.useEffect(()=>{const L=()=>x({});return document.addEventListener(DC,L),()=>document.removeEventListener(DC,L)},[]),t.jsx(me.div,{...d,ref:k,style:{pointerEvents:M?b?"auto":"none":void 0,...a.style},onFocusCapture:he(a.onFocusCapture,N.onFocusCapture),onBlurCapture:he(a.onBlurCapture,N.onBlurCapture),onPointerDownCapture:he(a.onPointerDownCapture,C.onPointerDownCapture)})});I9.displayName=CD;var SD="DismissableLayerBranch",ID=v.forwardRef((a,e)=>{const r=v.useContext(IN),n=v.useRef(null),i=je(e,n);return v.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),t.jsx(me.div,{...a,ref:i})});ID.displayName=SD;function ND(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const s=l=>{if(l.target&&!n.current){let d=function(){NN(jD,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=d,e.addEventListener("click",i.current,{once:!0})):d()}else e.removeEventListener("click",i.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",s),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function AD(a,e=globalThis==null?void 0:globalThis.document){const r=tr(a),n=v.useRef(!1);return v.useEffect(()=>{const i=s=>{s.target&&!n.current&&NN(LD,r,{originalEvent:s},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function qL(){const a=new CustomEvent(DC);document.dispatchEvent(a)}function NN(a,e,r,{discrete:n}){const i=r.originalEvent.target,s=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Fq(i,s):i.dispatchEvent(s)}var iC="focusScope.autoFocusOnMount",oC="focusScope.autoFocusOnUnmount",TL={bubbles:!1,cancelable:!0},_D="FocusScope",N9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=a,[l,d]=v.useState(null),h=tr(i),u=tr(s),p=v.useRef(null),f=je(e,y=>d(y)),x=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(x.paused||!l)return;const b=M.target;l.contains(b)?p.current=b:Va(p.current,{select:!0})},m=function(M){if(x.paused||!l)return;const b=M.relatedTarget;b!==null&&(l.contains(b)||Va(p.current,{select:!0}))},g=function(M){if(document.activeElement===document.body)for(const C of M)C.removedNodes.length>0&&Va(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",m);const w=new MutationObserver(g);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",m),w.disconnect()}}},[n,l,x.paused]),v.useEffect(()=>{if(l){DL.add(x);const y=document.activeElement;if(!l.contains(y)){const g=new CustomEvent(iC,TL);l.addEventListener(iC,h),l.dispatchEvent(g),g.defaultPrevented||(PD(zD(AN(l)),{select:!0}),document.activeElement===y&&Va(l))}return()=>{l.removeEventListener(iC,h),setTimeout(()=>{const g=new CustomEvent(oC,TL);l.addEventListener(oC,u),l.dispatchEvent(g),g.defaultPrevented||Va(y??document.body,{select:!0}),l.removeEventListener(oC,u),DL.remove(x)},0)}}},[l,h,u,x]);const k=v.useCallback(y=>{if(!r&&!n||x.paused)return;const m=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,g=document.activeElement;if(m&&g){const w=y.currentTarget,[M,b]=qD(w);M&&b?!y.shiftKey&&g===b?(y.preventDefault(),r&&Va(M,{select:!0})):y.shiftKey&&g===M&&(y.preventDefault(),r&&Va(b,{select:!0})):g===w&&y.preventDefault()}},[r,n,x.paused]);return t.jsx(me.div,{tabIndex:-1,...c,ref:f,onKeyDown:k})});N9.displayName=_D;function PD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if(Va(n,{select:e}),document.activeElement!==r)return}function qD(a){const e=AN(a),r=RL(e,a),n=RL(e.reverse(),a);return[r,n]}function AN(a){const e=[],r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function RL(a,e){for(const r of a)if(!TD(r,{upTo:e}))return r}function TD(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function RD(a){return a instanceof HTMLInputElement&&"select"in a}function Va(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&RD(a)&&e&&a.select()}}var DL=DD();function DD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=zL(a,e),a.unshift(e)},remove(e){var r;a=zL(a,e),(r=a[0])==null||r.resume()}}}function zL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function zD(a){return a.filter(e=>e.tagName!=="A")}var FD="Portal",A9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,s]=v.useState(!1);pt(()=>s(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?WC.createPortal(t.jsx(me.div,{...n,ref:e}),c):null});A9.displayName=FD;var sC=0;function Nj(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??FL()),document.body.insertAdjacentElement("beforeend",a[1]??FL()),sC++,()=>{sC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),sC--}},[])}function FL(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var sa=function(){return sa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},sa.apply(this,arguments)};function _N(a,e){var r={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&e.indexOf(n)<0&&(r[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(a);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(a,n[i])&&(r[n[i]]=a[n[i]]);return r}function ED(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return a.concat(s||Array.prototype.slice.call(e))}var t9="right-scroll-bar-position",a9="width-before-scroll-bar",HD="with-scroll-bars-hidden",OD="--removed-body-scroll-bar-size";function cC(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function VD(a,e){var r=j.useState(function(){return{value:a,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var BD=typeof window<"u"?v.useLayoutEffect:v.useEffect,EL=new WeakMap;function UD(a,e){var r=VD(null,function(n){return a.forEach(function(i){return cC(i,n)})});return BD(function(){var n=EL.get(r);if(n){var i=new Set(n),s=new Set(a),c=r.current;i.forEach(function(l){s.has(l)||cC(l,null)}),s.forEach(function(l){i.has(l)||cC(l,c)})}EL.set(r,a)},[a]),r}function $D(a){return a}function GD(a,e){e===void 0&&(e=$D);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:a},useMedium:function(s){var c=e(s,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(s){for(n=!0;r.length;){var c=r;r=[],c.forEach(s)}r={push:function(l){return s(l)},filter:function(){return r}}},assignMedium:function(s){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(s),c=r}var d=function(){var u=c;c=[],u.forEach(s)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return i}function WD(a){a===void 0&&(a={});var e=GD(null);return e.options=sa({async:!0,ssr:!1},a),e}var PN=function(a){var e=a.sideCar,r=_N(a,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,sa({},r))};PN.isSideCarExport=!0;function ZD(a,e){return a.useMedium(e),PN}var qN=WD(),lC=function(){},_9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:lC,onWheelCapture:lC,onTouchMoveCapture:lC}),i=n[0],s=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,f=a.sideCar,x=a.noRelative,k=a.noIsolation,y=a.inert,m=a.allowPinchZoom,g=a.as,w=g===void 0?"div":g,M=a.gapMode,b=_N(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,N=UD([r,e]),L=sa(sa({},b),i);return v.createElement(v.Fragment,null,u&&v.createElement(C,{sideCar:qN,removeScrollBar:h,shards:p,noRelative:x,noIsolation:k,inert:y,setCallbacks:s,allowPinchZoom:!!m,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),sa(sa({},L),{ref:N})):v.createElement(w,sa({},L,{className:d,ref:N}),l))});_9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_9.classNames={fullWidth:a9,zeroRight:t9};var XD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function JD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=XD();return e&&a.setAttribute("nonce",e),a}function YD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function KD(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var QD=function(){var a=0,e=null;return{add:function(r){a==0&&(e=JD())&&(YD(e,r),KD(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ez=function(){var a=QD();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},TN=function(){var a=ez(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},tz={left:0,top:0,right:0,gap:0},dC=function(a){return parseInt(a||"",10)||0},az=function(a){var e=window.getComputedStyle(document.body),r=e[a==="padding"?"paddingLeft":"marginLeft"],n=e[a==="padding"?"paddingTop":"marginTop"],i=e[a==="padding"?"paddingRight":"marginRight"];return[dC(r),dC(n),dC(i)]},rz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return tz;var e=az(a),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},nz=TN(),zs="data-scroll-locked",iz=function(a,e,r,n){var i=a.left,s=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
7755
7755
  .`.concat(HD,` {
7756
7756
  overflow: hidden `).concat(n,`;
7757
7757
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -7791,30 +7791,30 @@ React keys must be passed directly to JSX without using spread:
7791
7791
  `)},HL=function(){var a=parseInt(document.body.getAttribute(zs)||"0",10);return isFinite(a)?a:0},oz=function(){v.useEffect(function(){return document.body.setAttribute(zs,(HL()+1).toString()),function(){var a=HL()-1;a<=0?document.body.removeAttribute(zs):document.body.setAttribute(zs,a.toString())}},[])},sz=function(a){var e=a.noRelative,r=a.noImportant,n=a.gapMode,i=n===void 0?"margin":n;oz();var s=v.useMemo(function(){return rz(i)},[i]);return v.createElement(nz,{styles:iz(s,!e,i,r?"":"!important")})},zC=!1;if(typeof window<"u")try{var n1=Object.defineProperty({},"passive",{get:function(){return zC=!0,!0}});window.addEventListener("test",n1,n1),window.removeEventListener("test",n1,n1)}catch{zC=!1}var us=zC?{passive:!1}:!1,cz=function(a){return a.tagName==="TEXTAREA"},RN=function(a,e){if(!(a instanceof Element))return!1;var r=window.getComputedStyle(a);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!cz(a)&&r[e]==="visible")},lz=function(a){return RN(a,"overflowY")},dz=function(a){return RN(a,"overflowX")},OL=function(a,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=DN(a,n);if(i){var s=zN(a,n),c=s[1],l=s[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},hz=function(a){var e=a.scrollTop,r=a.scrollHeight,n=a.clientHeight;return[e,r,n]},uz=function(a){var e=a.scrollLeft,r=a.scrollWidth,n=a.clientWidth;return[e,r,n]},DN=function(a,e){return a==="v"?lz(e):dz(e)},zN=function(a,e){return a==="v"?hz(e):uz(e)},pz=function(a,e){return a==="h"&&e==="rtl"?-1:1},yz=function(a,e,r,n,i){var s=pz(a,window.getComputedStyle(e).direction),c=s*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,f=0;do{if(!l)break;var x=zN(a,l),k=x[0],y=x[1],m=x[2],g=y-m-s*k;(k||g)&&DN(a,l)&&(p+=g,f+=k);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&Math.abs(p)<1||!u&&Math.abs(f)<1)&&(h=!0),h},i1=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},VL=function(a){return[a.deltaX,a.deltaY]},BL=function(a){return a&&"current"in a?a.current:a},mz=function(a,e){return a[0]===e[0]&&a[1]===e[1]},fz=function(a){return`
7792
7792
  .block-interactivity-`.concat(a,` {pointer-events: none;}
7793
7793
  .allow-interactivity-`).concat(a,` {pointer-events: all;}
7794
- `)},xz=0,ps=[];function kz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(xz++)[0],s=v.useState(TN)[0],c=v.useRef(a);v.useEffect(function(){c.current=a},[a]),v.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(i));var y=ED([a.lockRef.current],(a.shards||[]).map(BL),!0).filter(Boolean);return y.forEach(function(m){return m.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,m){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var g=i1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-g[0],b="deltaY"in y?y.deltaY:w[1]-g[1],C,A=y.target,L=Math.abs(M)>Math.abs(b)?"h":"v";if("touches"in y&&L==="h"&&A.type==="range")return!1;var S=window.getSelection(),N=S&&S.anchorNode,T=N?N===A||N.contains(A):!1;if(T)return!1;var z=OL(L,A);if(!z)return!0;if(z?C=L:(C=L==="v"?"h":"v",z=OL(L,A)),!z)return!1;if(!n.current&&"changedTouches"in y&&(M||b)&&(n.current=C),!C)return!0;var R=n.current||C;return yz(R,m,y,R==="h"?M:b)},[]),d=v.useCallback(function(y){var m=y;if(!(!ps.length||ps[ps.length-1]!==s)){var g="deltaY"in m?VL(m):i1(m),w=e.current.filter(function(C){return C.name===m.type&&(C.target===m.target||m.target===C.shadowParent)&&mz(C.delta,g)})[0];if(w&&w.should){m.cancelable&&m.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(BL).filter(Boolean).filter(function(C){return C.contains(m.target)}),b=M.length>0?l(m,M[0]):!c.current.noIsolation;b&&m.cancelable&&m.preventDefault()}}},[]),h=v.useCallback(function(y,m,g,w){var M={name:y,delta:m,target:g,should:w,shadowParent:gz(g)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(b){return b!==M})},1)},[]),u=v.useCallback(function(y){r.current=i1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,VL(y),y.target,l(y,a.lockRef.current))},[]),f=v.useCallback(function(y){h(y.type,i1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return ps.push(s),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",d,us),document.addEventListener("touchmove",d,us),document.addEventListener("touchstart",u,us),function(){ps=ps.filter(function(y){return y!==s}),document.removeEventListener("wheel",d,us),document.removeEventListener("touchmove",d,us),document.removeEventListener("touchstart",u,us)}},[]);var x=a.removeScrollBar,k=a.inert;return v.createElement(v.Fragment,null,k?v.createElement(s,{styles:fz(i)}):null,x?v.createElement(sz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function gz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const vz=ZD(qN,kz);var P9=v.forwardRef(function(a,e){return v.createElement(_9,sa({},a,{ref:e,sideCar:vz}))});P9.classNames=_9.classNames;var wz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},ys=new WeakMap,o1=new WeakMap,s1={},hC=0,FN=function(a){return a&&(a.host||FN(a.parentNode))},Mz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=FN(r);return n&&a.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",a,". Doing nothing"),null)}).filter(function(r){return!!r})},bz=function(a,e,r,n){var i=Mz(e,Array.isArray(a)?a:[a]);s1[r]||(s1[r]=new WeakMap);var s=s1[r],c=[],l=new Set,d=new Set(i),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};i.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))u(f);else try{var x=f.getAttribute(n),k=x!==null&&x!=="false",y=(ys.get(f)||0)+1,m=(s.get(f)||0)+1;ys.set(f,y),s.set(f,m),c.push(f),y===1&&k&&o1.set(f,!0),m===1&&f.setAttribute(r,"true"),k||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return u(e),l.clear(),hC++,function(){c.forEach(function(p){var f=ys.get(p)-1,x=s.get(p)-1;ys.set(p,f),s.set(p,x),f||(o1.has(p)||p.removeAttribute(n),o1.delete(p)),x||p.removeAttribute(r)}),hC--,hC||(ys=new WeakMap,ys=new WeakMap,o1=new WeakMap,s1={})}},Aj=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=wz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),bz(n,i,r,"aria-hidden")):function(){return null}};function Cz(a){const e=jz(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Sz);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function jz(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Nz(i),l=Iz(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Lz=Symbol("radix.slottable");function Sz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Lz}function Iz(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Nz(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var q9="Dialog",[EN,HN]=ma(q9),[Az,aa]=EN(q9),ON=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:q9});return t.jsx(Az,{scope:e,triggerRef:l,contentRef:d,contentId:Na(),titleId:Na(),descriptionId:Na(),open:h,onOpenChange:u,onOpenToggle:v.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};ON.displayName=q9;var VN="DialogTrigger",BN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(VN,r),s=je(e,i.triggerRef);return t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":qj(i.open),...n,ref:s,onClick:he(a.onClick,i.onOpenToggle)})});BN.displayName=VN;var _j="DialogPortal",[_z,UN]=EN(_j,{forceMount:void 0}),$N=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,s=aa(_j,e);return t.jsx(_z,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(cr,{present:r||s.open,children:t.jsx(A9,{asChild:!0,container:i,children:c})}))})};$N.displayName=_j;var p9="DialogOverlay",GN=v.forwardRef((a,e)=>{const r=UN(p9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,s=aa(p9,a.__scopeDialog);return s.modal?t.jsx(cr,{present:n||s.open,children:t.jsx(qz,{...i,ref:e})}):null});GN.displayName=p9;var Pz=Cz("DialogOverlay.RemoveScroll"),qz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(p9,r);return t.jsx(P9,{as:Pz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(me.div,{"data-state":qj(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ts="DialogContent",WN=v.forwardRef((a,e)=>{const r=UN(ts,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,s=aa(ts,a.__scopeDialog);return t.jsx(cr,{present:n||s.open,children:s.modal?t.jsx(Tz,{...i,ref:e}):t.jsx(Rz,{...i,ref:e})})});WN.displayName=ts;var Tz=v.forwardRef((a,e)=>{const r=aa(ts,a.__scopeDialog),n=v.useRef(null),i=je(e,r.contentRef,n);return v.useEffect(()=>{const s=n.current;if(s)return Aj(s)},[]),t.jsx(ZN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,s=>{var c;s.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,s=>{const c=s.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&s.preventDefault()}),onFocusOutside:he(a.onFocusOutside,s=>s.preventDefault())})}),Rz=v.forwardRef((a,e)=>{const r=aa(ts,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(ZN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,s),s.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=s.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),ZN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,...c}=a,l=aa(ts,r),d=v.useRef(null),h=je(e,d);return Nj(),t.jsxs(t.Fragment,{children:[t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:t.jsx(I9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":qj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(zz,{titleId:l.titleId}),t.jsx(Ez,{contentRef:d,descriptionId:l.descriptionId})]})]})}),Pj="DialogTitle",XN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(Pj,r);return t.jsx(me.h2,{id:i.titleId,...n,ref:e})});XN.displayName=Pj;var JN="DialogDescription",YN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(JN,r);return t.jsx(me.p,{id:i.descriptionId,...n,ref:e})});YN.displayName=JN;var KN="DialogClose",QN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(KN,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});QN.displayName=KN;function qj(a){return a?"open":"closed"}var eA="DialogTitleWarning",[Dz,tA]=Mq(eA,{contentName:ts,titleName:Pj,docsSlug:"dialog"}),zz=({titleId:a})=>{const e=tA(eA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7794
+ `)},xz=0,ps=[];function kz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(xz++)[0],s=v.useState(TN)[0],c=v.useRef(a);v.useEffect(function(){c.current=a},[a]),v.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(i));var y=ED([a.lockRef.current],(a.shards||[]).map(BL),!0).filter(Boolean);return y.forEach(function(m){return m.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,m){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var g=i1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-g[0],b="deltaY"in y?y.deltaY:w[1]-g[1],C,N=y.target,L=Math.abs(M)>Math.abs(b)?"h":"v";if("touches"in y&&L==="h"&&N.type==="range")return!1;var S=window.getSelection(),A=S&&S.anchorNode,T=A?A===N||A.contains(N):!1;if(T)return!1;var R=OL(L,N);if(!R)return!0;if(R?C=L:(C=L==="v"?"h":"v",R=OL(L,N)),!R)return!1;if(!n.current&&"changedTouches"in y&&(M||b)&&(n.current=C),!C)return!0;var D=n.current||C;return yz(D,m,y,D==="h"?M:b)},[]),d=v.useCallback(function(y){var m=y;if(!(!ps.length||ps[ps.length-1]!==s)){var g="deltaY"in m?VL(m):i1(m),w=e.current.filter(function(C){return C.name===m.type&&(C.target===m.target||m.target===C.shadowParent)&&mz(C.delta,g)})[0];if(w&&w.should){m.cancelable&&m.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(BL).filter(Boolean).filter(function(C){return C.contains(m.target)}),b=M.length>0?l(m,M[0]):!c.current.noIsolation;b&&m.cancelable&&m.preventDefault()}}},[]),h=v.useCallback(function(y,m,g,w){var M={name:y,delta:m,target:g,should:w,shadowParent:gz(g)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(b){return b!==M})},1)},[]),u=v.useCallback(function(y){r.current=i1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,VL(y),y.target,l(y,a.lockRef.current))},[]),f=v.useCallback(function(y){h(y.type,i1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return ps.push(s),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",d,us),document.addEventListener("touchmove",d,us),document.addEventListener("touchstart",u,us),function(){ps=ps.filter(function(y){return y!==s}),document.removeEventListener("wheel",d,us),document.removeEventListener("touchmove",d,us),document.removeEventListener("touchstart",u,us)}},[]);var x=a.removeScrollBar,k=a.inert;return v.createElement(v.Fragment,null,k?v.createElement(s,{styles:fz(i)}):null,x?v.createElement(sz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function gz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const vz=ZD(qN,kz);var P9=v.forwardRef(function(a,e){return v.createElement(_9,sa({},a,{ref:e,sideCar:vz}))});P9.classNames=_9.classNames;var wz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},ys=new WeakMap,o1=new WeakMap,s1={},hC=0,FN=function(a){return a&&(a.host||FN(a.parentNode))},Mz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=FN(r);return n&&a.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",a,". Doing nothing"),null)}).filter(function(r){return!!r})},bz=function(a,e,r,n){var i=Mz(e,Array.isArray(a)?a:[a]);s1[r]||(s1[r]=new WeakMap);var s=s1[r],c=[],l=new Set,d=new Set(i),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};i.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))u(f);else try{var x=f.getAttribute(n),k=x!==null&&x!=="false",y=(ys.get(f)||0)+1,m=(s.get(f)||0)+1;ys.set(f,y),s.set(f,m),c.push(f),y===1&&k&&o1.set(f,!0),m===1&&f.setAttribute(r,"true"),k||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return u(e),l.clear(),hC++,function(){c.forEach(function(p){var f=ys.get(p)-1,x=s.get(p)-1;ys.set(p,f),s.set(p,x),f||(o1.has(p)||p.removeAttribute(n),o1.delete(p)),x||p.removeAttribute(r)}),hC--,hC||(ys=new WeakMap,ys=new WeakMap,o1=new WeakMap,s1={})}},Aj=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=wz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),bz(n,i,r,"aria-hidden")):function(){return null}};function Cz(a){const e=jz(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(Sz);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function jz(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=Nz(i),l=Iz(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Lz=Symbol("radix.slottable");function Sz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Lz}function Iz(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function Nz(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var q9="Dialog",[EN,HN]=ma(q9),[Az,aa]=EN(q9),ON=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:q9});return t.jsx(Az,{scope:e,triggerRef:l,contentRef:d,contentId:Na(),titleId:Na(),descriptionId:Na(),open:h,onOpenChange:u,onOpenToggle:v.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};ON.displayName=q9;var VN="DialogTrigger",BN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(VN,r),s=je(e,i.triggerRef);return t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":qj(i.open),...n,ref:s,onClick:he(a.onClick,i.onOpenToggle)})});BN.displayName=VN;var _j="DialogPortal",[_z,UN]=EN(_j,{forceMount:void 0}),$N=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,s=aa(_j,e);return t.jsx(_z,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(cr,{present:r||s.open,children:t.jsx(A9,{asChild:!0,container:i,children:c})}))})};$N.displayName=_j;var p9="DialogOverlay",GN=v.forwardRef((a,e)=>{const r=UN(p9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,s=aa(p9,a.__scopeDialog);return s.modal?t.jsx(cr,{present:n||s.open,children:t.jsx(qz,{...i,ref:e})}):null});GN.displayName=p9;var Pz=Cz("DialogOverlay.RemoveScroll"),qz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(p9,r);return t.jsx(P9,{as:Pz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(me.div,{"data-state":qj(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ts="DialogContent",WN=v.forwardRef((a,e)=>{const r=UN(ts,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,s=aa(ts,a.__scopeDialog);return t.jsx(cr,{present:n||s.open,children:s.modal?t.jsx(Tz,{...i,ref:e}):t.jsx(Rz,{...i,ref:e})})});WN.displayName=ts;var Tz=v.forwardRef((a,e)=>{const r=aa(ts,a.__scopeDialog),n=v.useRef(null),i=je(e,r.contentRef,n);return v.useEffect(()=>{const s=n.current;if(s)return Aj(s)},[]),t.jsx(ZN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,s=>{var c;s.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,s=>{const c=s.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&s.preventDefault()}),onFocusOutside:he(a.onFocusOutside,s=>s.preventDefault())})}),Rz=v.forwardRef((a,e)=>{const r=aa(ts,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(ZN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,s),s.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=s.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),ZN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,...c}=a,l=aa(ts,r),d=v.useRef(null),h=je(e,d);return Nj(),t.jsxs(t.Fragment,{children:[t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:t.jsx(I9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":qj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(zz,{titleId:l.titleId}),t.jsx(Ez,{contentRef:d,descriptionId:l.descriptionId})]})]})}),Pj="DialogTitle",XN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(Pj,r);return t.jsx(me.h2,{id:i.titleId,...n,ref:e})});XN.displayName=Pj;var JN="DialogDescription",YN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(JN,r);return t.jsx(me.p,{id:i.descriptionId,...n,ref:e})});YN.displayName=JN;var KN="DialogClose",QN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(KN,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});QN.displayName=KN;function qj(a){return a?"open":"closed"}var eA="DialogTitleWarning",[Dz,tA]=Mq(eA,{contentName:ts,titleName:Pj,docsSlug:"dialog"}),zz=({titleId:a})=>{const e=tA(eA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7795
7795
 
7796
7796
  If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
7797
7797
 
7798
- For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return v.useEffect(()=>{a&&(document.getElementById(a)||console.error(r))},[r,a]),null},Fz="DialogDescriptionWarning",Ez=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tA(Fz).contentName}}.`;return v.useEffect(()=>{var s;const i=(s=a.current)==null?void 0:s.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},aA=ON,Hz=BN,rA=$N,Tj=GN,Rj=WN,Dj=XN,zj=YN,Fj=QN;function T9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,s;for(s=0;s<n.length;s++)i=n[s],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Oz=["color"],Vz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Oz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Bz=["color"],nA=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Bz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Uz=["color"],$z=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Uz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Gz=["color"],Wz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Gz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const cs=aA,Zz=rA,iA=v.forwardRef(({className:a,...e},r)=>t.jsx(Tj,{ref:r,className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e}));iA.displayName=Tj.displayName;const hr=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Zz,{children:[t.jsx(iA,{}),t.jsxs(Rj,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r,children:[e,t.jsxs(Fj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[t.jsx(Wz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));hr.displayName=Rj.displayName;const ls=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});ls.displayName="DialogHeader";const ur=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});ur.displayName="DialogFooter";const pr=v.forwardRef(({className:a,...e},r)=>t.jsx(Dj,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));pr.displayName=Dj.displayName;const Ej=v.forwardRef(({className:a,...e},r)=>t.jsx(zj,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ej.displayName=zj.displayName;var Xz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jz=Xz.reduce((a,e)=>{const r=ZC(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Yz="Label",oA=v.forwardRef((a,e)=>t.jsx(Jz.label,{...a,ref:e,onMouseDown:r=>{var i;r.target.closest("button, input, select, textarea")||((i=a.onMouseDown)==null||i.call(a,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));oA.displayName=Yz;var sA=oA;const Kz=w9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),fe=v.forwardRef(({className:a,...e},r)=>t.jsx(sA,{ref:r,className:ce(Kz(),a),...e}));fe.displayName=sA.displayName;const Qz=1,eF=1e6;let uC=0;function tF(){return uC=(uC+1)%Number.MAX_SAFE_INTEGER,uC.toString()}const pC=new Map,UL=a=>{if(pC.has(a))return;const e=setTimeout(()=>{pC.delete(a),r9({type:"REMOVE_TOAST",toastId:a})},eF);pC.set(a,e)},aF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,Qz)};case"UPDATE_TOAST":return{...a,toasts:a.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?UL(r):a.toasts.forEach(n=>{UL(n.id)}),{...a,toasts:a.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...a,toasts:[]}:{...a,toasts:a.toasts.filter(r=>r.id!==e.toastId)}}},rF=[];let yC={toasts:[]};function r9(a){yC=aF(yC,a),rF.forEach(e=>{e(yC)})}function $L({...a}){const e=tF(),r=i=>r9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>r9({type:"DISMISS_TOAST",toastId:e});return r9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const nF=new Set([200,201,202,204]);function iF(a){return a===400?"BAD_REQUEST":a===401?"UNAUTHORIZED":a===403?"FORBIDDEN":a===404?"NOT_FOUND":a===409?"CONFLICT":a===429?"RATE_LIMITED":a>=500?"SERVER":"UNKNOWN"}function oF(a){if(a.friendly)return a.friendly;switch(a.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function sF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,s=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(nF.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:iF(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(s)}}function cF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:s="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),f=async x=>{if(x.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await sF(`${s}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(oF(k.error)),$L({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),$L({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{className:"sm:max-w-md",children:[t.jsxs(ls,{children:[t.jsxs(pr,{className:"flex items-center gap-2",children:[t.jsx(gs,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(Ej,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),t.jsxs("form",{onSubmit:f,className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:x=>l(x.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&t.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&t.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[t.jsx("p",{className:"font-medium",children:"Alert criteria:"}),t.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),t.jsxs(ur,{className:"gap-2 sm:gap-0",children:[t.jsx(G,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx(G,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function cA(){const a="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const s=localStorage.getItem(a);s&&r(JSON.parse(s))}catch(s){console.error("Failed to load saved jobs:",s)}},[]),{savedJobs:e,toggleJob:s=>{r(c=>{const d=c.includes(s)?c.filter(h=>h!==s):[...c,s];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:s=>s?e.includes(s):!1}}const lF=({value:a,options:e,onChange:r})=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),t.jsxs("div",{className:"relative",children:[t.jsx("select",{"aria-label":"Order results",value:a,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:e.map(n=>t.jsx("option",{value:n.value,children:n.label},n.value))}),t.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),dF=6,mC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},hF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:s,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:f,onPopularTagClick:x,onPopularTagRemove:k,allowPopularTagRemoval:y=!1})=>{var X;const[m,g]=j.useState([]),[w,M]=j.useState([]),[b,C]=j.useState([]),[A,L]=j.useState(1),[S,N]=j.useState({}),[T,z]=j.useState([]),[R,_]=j.useState({}),[q,D]=j.useState(""),[V,$]=j.useState([]),[E,re]=j.useState(!1),[ne,se]=j.useState(e),[ae,oe]=j.useState("grid"),[ee,le]=j.useState(!1),[ve,W]=j.useState([]),[Q,ue]=j.useState(!0),[de,ye]=j.useState(null),[ie,Pe]=j.useState("all"),[qe,Ke]=j.useState(!1),[it,yt]=j.useState(!1),[xt,ot]=j.useState({...mC}),[Ue,kt]=j.useState({open:!1,type:"info",message:""}),[at,Ra]=j.useState("date_desc"),{savedJobs:Lt,toggleJob:gt}=cA(),xa=S9(u),F=j.useMemo(()=>({component:"Listing",...f??{}}),[f]),B=j.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),J=j.useCallback((P,H)=>{p&&p({domain:"jobs",name:P,payload:H,timestamp:new Date().toISOString(),context:F})},[F,p]),we=j.useCallback(()=>({filters:{...S},advancedFilters:xt,dateFilter:ie}),[S,ie,xt]),Ee=j.useCallback(()=>({page:A,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[A,w.length,ne,ee,ae]),Qe=j.useRef(!1),He=(P,H)=>{kt({open:!0,type:P,message:H})};j.useEffect(()=>{try{const P=localStorage.getItem("lastVisitedJobs");P&&W(JSON.parse(P));try{localStorage.getItem("email")&&yt(!0)}catch(H){console.error("Error checking subscription state:",H)}}catch(P){console.error("Error loading data from localStorage:",P)}},[]),j.useEffect(()=>{const H=new URLSearchParams(window.location.search).get("date_filter");H&&H!=="all"&&Pe(H)},[]),j.useEffect(()=>{if(!a){ye("❌ Missing API URL for Listing component!"),ue(!1);return}ue(!0),ye(null),(async()=>{try{const H=await fetch(a);if(!H.ok)throw new Error(`API responded with status: ${H.status}`);const Z=await H.json();if(!Array.isArray(Z))throw new Error("Expected an array but received: "+typeof Z);const Y=Z.map((ke,ze)=>({...ke,sponsored:ze%7===0,topTag:jj(ke.title||"")})),te=Array.from(new Set(Y.map(ke=>ke.topTag).filter(ke=>typeof ke=="string"))).slice(0,10);C(te);const Le=r1(Y,at,T,c);g(Y),M(Le);const Me=zc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),ye(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=uD(20),Y=r1(Z,at,T,c);g(Z),M(Y);const te=zc(Z,r);_(te)}finally{ue(!1)}})()},[a,c,T,at]),j.useEffect(()=>{const P=new URLSearchParams(window.location.search),H={};r.forEach(te=>{const Le=P.get(te);Le&&(H[te]=Le)}),N(H);const Z=P.get("q")||P.get("searchTerm")||"";Z&&D(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),N(Y)},[]),j.useEffect(()=>{if(ee){const P=m.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=r1(P,at,T,c);M(H),L(1)}else Ht()},[]),j.useEffect(()=>{Qe.current||Q||!w.length&&!m.length||(J("jobs_listing_viewed",{...we(),...Ee()}),Qe.current=!0)},[m.length,J,w.length,we,Ee,Q]);const Et=j.useCallback(P=>{const H=zc(P,r);_(H)},[r]),Ht=j.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??m,Z=(P==null?void 0:P.filters)??S,Y=(P==null?void 0:P.search)??T,te=(P==null?void 0:P.dateFilter)??ie,Le=(P==null?void 0:P.advanced)??xt;let Me=Bo(H,Z,Y,te,c);Me=MD(Me,Le);const ke=r1(Me,at,Y,c);return M(ke),((P==null?void 0:P.resetPage)??!0)&&L(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Et(ke),ke},[ie,S,xt,m,c,T,at,Et]);j.useEffect(()=>{Ht({resetPage:!1,refreshFiltersData:!1})},[at,Ht]);const xr=(P,H)=>{const Z={...S};H?Z[P]=H:delete Z[P],ee&&le(!1),N(Z),Ht({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},ac=()=>{yt(!0),Se().then(()=>Ke(!1))},ka=j.useRef(null),kr=P=>{L(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ka.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ot=P=>{ee&&le(!1),Pe(P),Ht({dateFilter:P}),LN(P),J("jobs_date_filter_changed",{dateFilter:P})},Da=P=>{if(D(P),P){const H=m.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);$(H)}else $([])},ga=P=>{if(!P.trim())return;ee&&le(!1);const H=[...T,P.trim()];z(H),Ht({search:H}),D(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},ds=P=>{const H=T.filter(Z=>Z!==P);z(H),Ht({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},U=()=>{N({}),z([]),le(!1),Pe("all"),ot({...mC}),Ht({filters:{},search:[],dateFilter:"all",advanced:mC}),J("jobs_filters_cleared_all",{})},K=P=>{const H=new Set,Z=[];for(const Y of P){const te=`${Y.key??""}|${Y.value.toLowerCase()}`;H.has(te)||(H.add(te),Z.push(Y))}return Z},xe=P=>P.replace(/\/+$/,""),Se=async()=>{if(J("jobs_alert_cta_clicked",{searchKeywords:T,query:q.trim()||void 0,...we()}),!it)Ke(!0),J("jobs_subscription_modal_opened",{});else{const P=localStorage.getItem("email"),H=localStorage.getItem("leadId");if(!P||!H){He("info","Please subscribe first to create alerts.");return}const Z="keyword",Y=(Je,rt)=>rt&&rt.trim()?{key:Je.toLowerCase(),value:rt.trim()}:null,te=Object.entries(S).map(([Je,rt])=>Y(Je,rt)).filter(Je=>Je!==null),Le=T.map(Je=>Y(Z,Je)).filter(Je=>Je!==null),Me=Y(Z,q),ke=Me?[Me]:[],ze=K([...te,...Le,...ke]);if(ze.length===0){He("info","No filters/keywords to save.");return}try{const Je=xe(h??"http://localhost:5147"),rt=await fetch(`${Je}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze)});if(!rt.ok){let et="";try{et=await rt.text()}catch{}throw new Error(`${rt.status} ${rt.statusText} ${et}`.trim())}He("success","Alert saved. We’ll notify you about new matching jobs."),D(""),J("jobs_alert_created",{preferences:ze.filter(et=>et!==null)})}catch(Je){console.error("Create alert failed:",Je),He("error","Failed to save alert.")}}},$e=()=>{re(!E)},za=w.length===0?0:(A-1)*ne+1,st=Math.min(A*ne,w.length),dt=P=>{se(P),L(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Fa=()=>{oe(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Ze=(P,H,Z="same_tab",Y="listing")=>{const te=P.id||P.slug||P.link;te&&(W(Le=>{const Me=Le.filter(ze=>(ze.id||ze.slug||ze.link)!==te),ke=[P,...Me].slice(0,dF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ke))}catch(ze){console.error("Error saving to localStorage:",ze)}return ke}),J("job_opened",{jobId:te,slug:P.slug,positionInList:H,openedFrom:Y,openedIn:Z}))},mt=(P,H)=>{const Z=P.id||P.slug||P.link;if(!Z)return;const Y=Lt.includes(Z);gt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},rc=(P,H,Z="external")=>{const Y=P.id||P.slug||P.link;Y&&J("job_apply_clicked",{jobId:Y,slug:P.slug,positionInList:H,applyType:Z})},e1=()=>{le(!ee)},I=Math.ceil(w.length/ne),O=w.slice((A-1)*ne,A*ne);return de&&!m.length?t.jsx("div",{className:"flex-grow p-8",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),t.jsx("p",{className:"mb-4",children:de}),t.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(Cj,{onSearchChange:Da,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:b,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:x,onTagRemove:k,allowTagRemoval:y}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:m.map(P=>P.title).filter(Boolean),onSelect:P=>{ga(P)},onTyping:P=>{D(P),Da(P)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:$e,children:t.jsx(Ya,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Lj,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Ot("all")}]:[],...T.map(P=>({key:"search",label:"",value:P,onRemove:()=>ds(P)})),...Object.entries(S).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>xr(P,"")}))],onClearAll:U,handleCreateAlert:Se})})]}),i&&t.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:$e,"aria-expanded":E,children:[t.jsx(Ya,{className:"w-4 h-4 mr-2"}),E?"Close Filters":"Filters"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Ot,filterKeys:r,searchableFilters:d,filtersData:R,activeFilters:S,handleFilterChange:xr,toggleSavedJobsFilter:e1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(Mj,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(Sj,{viewMode:ae,onToggleViewMode:Fa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:za,endIndex:st,title:"Latest Jobs"}),t.jsxs("div",{className:"",children:[t.jsx("div",{className:"mb-6",children:t.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",ie!=="all"&&!ee&&t.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ie.replace(/_/g," "),")"]})]}),t.jsxs("p",{className:"text-sm text-gray-600",children:[t.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),t.jsx(lF,{value:at,options:B,onChange:Ra})]})}),t.jsx(gD,{items:O,cardType:s,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Ze,onApplyJob:rc,firstItemRef:ka,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(Ij,{currentPage:A,totalPages:I,onPageChange:kr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(vD,{jobs:ve,onViewJob:Ze})})]}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((X=n==null?void 0:n.sidebar)==null?void 0:X.enabled)&&t.jsxs("div",{className:"sticky top-4",children:[t.jsx($c,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(vj,{api_url:h}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((P,H)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+H)}`,alt:`Featured employer ${H+1}`,className:"w-10 h-10 object-contain"})},H))})]})]})})]})]})]}),t.jsx(jN,{activeDateFilter:ie,handleDateFilterChange:Ot,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:S,handleFilterChange:xr,toggleSavedJobsFilter:e1,filtersData:R,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:$e}),t.jsx(bN,{savedJobsCount:Lt.length}),t.jsx(wN,{open:Ue.open,type:Ue.type,message:Ue.message,onClose:()=>kt(P=>({...P,open:!1}))}),t.jsx(cF,{open:qe,onOpenChange:Ke,onSubscriptionSuccess:ac,apiUrl:h})]})};function GL(a=window.location.pathname){const e=a.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(i=>i.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function uF(){const[a,e]=j.useState(()=>GL());return j.useEffect(()=>{const r=()=>e(GL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function WL(a){window.location.assign(a)}function ZL(a){window.history.length>1?window.history.back():window.location.assign(a)}function pF(a){const e=lA,r=a??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function yF(a){return!Array.isArray(a)||a.length===0?dA:a.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const lA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},dA=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],mF=({job:a=lA,similarJobs:e=dA,onSkillClick:r})=>{var A;const n=uF(),[i,s]=j.useState(()=>yF(e)),[c,l]=j.useState(!1),[d,h]=j.useState(null),[u,p]=j.useState(!1),[f,x]=j.useState(!1),{toggleJob:k,isSaved:y}=cA(),m=pF(a);j.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(N=>setTimeout(N,300)),!n)throw new Error("Missing slug in URL.");s(i);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");x(S.includes(n))}catch(S){h((S==null?void 0:S.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const g=()=>{n&&k(n)},w=()=>{if(!n)return;m!=null&&m.applicationUrl?window.open(m.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(n)||(L.push(n),localStorage.setItem("appliedJobs",JSON.stringify(L)),x(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:m==null?void 0:m.title,text:`Check out this job opportunity: ${m==null?void 0:m.title} at ${m==null?void 0:m.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},b=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),C=L=>{const S=new Date(L),T=Math.abs(new Date().getTime()-S.getTime());return Math.ceil(T/(1e3*60*60*24))};return c?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),t.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!m?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx(Bt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),t.jsx("button",{onClick:()=>ZL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx("div",{className:"bg-white border-b border-gray-200",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[t.jsxs("button",{onClick:()=>ZL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx($o,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[t.jsx("div",{className:"flex-1",children:t.jsxs("div",{className:"flex items-start space-x-4",children:[m.companyLogo&&t.jsx("img",{src:m.companyLogo,alt:`${m.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),t.jsxs("div",{className:"flex-1",children:[t.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[m.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),m.isFeatured&&t.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),t.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:m.title}),t.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(yc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:m.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:m.location}),m.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),m.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:m.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[C(m.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:g,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(m.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(js,{className:`h-4 w-4 mr-2 ${y(m.id)?"fill-current":""}`}),y(m.id)?"Saved":"Save Job"]}),t.jsxs("button",{onClick:M,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[t.jsx(_s,{className:"h-4 w-4 mr-2"}),"Share"]}),t.jsx("button",{onClick:w,disabled:f,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Zo,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(vt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),t.jsx("p",{className:"font-medium",children:m.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Cs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),t.jsx("p",{className:"font-medium",children:m.experienceLevel})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Ia,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),t.jsx("p",{className:"font-medium",children:m.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(mc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),t.jsx("p",{className:"font-medium text-sm",children:m.applicationDeadline?b(m.applicationDeadline):"Open"})]})]}),t.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[t.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[t.jsxs("span",{children:[m.viewCount," views"]}),t.jsxs("span",{children:[m.applicantCount," applicants"]})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ut,{className:"h-4 w-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),t.jsx("div",{className:"prose prose-gray max-w-none",children:t.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:m.description})})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),t.jsx("ul",{className:"space-y-3",children:(A=m.responsibilities)==null?void 0:A.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(m.requirements)?t.jsx("ul",{className:"space-y-3",children:m.requirements.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.requirements})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(m.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:m.skills.map((L,S)=>t.jsx(YC,{name:L,color:"#2563EB",size:"sm",onClick:r?()=>r(L):void 0},`${L}-${S}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.skills})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(m.benefits)?t.jsx("ul",{className:"space-y-3",children:m.benefits.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.benefits})]})]}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",m.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:m.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[m.companySize&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("span",{className:"text-gray-600",children:m.companySize})]}),m.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(bs,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:m.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),t.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),t.jsxs("div",{className:"space-y-2 text-sm",children:[m.contactEmail&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(ha,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`mailto:${m.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:m.contactEmail})]}),m.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xo,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${m.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:m.contactPhone})]})]})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),t.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",m.company," and take your career to the next level in the exciting world of iGaming."]}),t.jsx("button",{onClick:w,disabled:f,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Zo,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!f&&t.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[t.jsxs("button",{onClick:g,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(m.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(Xa,{className:`h-4 w-4 mr-2 ${y(m.id)?"fill-current":""}`}),y(m.id)?"Saved":"Save"]}),t.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:t.jsx(vc,{className:"h-4 w-4"})})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),t.jsx("div",{className:"space-y-4",children:i.map(L=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>WL(`/jobs/${L.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-3 w-3 mr-1"}),t.jsx("span",{children:L.location})]}),t.jsxs("span",{children:[C(L.postedDate),"d ago"]})]}),L.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),t.jsx("button",{onClick:()=>WL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&t.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:t.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),t.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:t.jsx("p",{className:"font-medium",children:m.contactEmail})}),t.jsxs("div",{className:"flex space-x-3",children:[t.jsx("button",{onClick:()=>p(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),t.jsx("button",{onClick:()=>{window.location.href=`mailto:${m.contactEmail}?subject=Application for ${m.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${m.title} position at ${m.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,p(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},fF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),xF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:s="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=y=>{const m=new Date(y),w=Math.floor((new Date().getTime()-m.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":m.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),f=y=>y.length>1?y[1]:y[0],x=(y,m)=>y.length<=m?y:y.substring(0,m).trim()+"...",k=s==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return t.jsxs("article",{className:`
7798
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return v.useEffect(()=>{a&&(document.getElementById(a)||console.error(r))},[r,a]),null},Fz="DialogDescriptionWarning",Ez=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tA(Fz).contentName}}.`;return v.useEffect(()=>{var s;const i=(s=a.current)==null?void 0:s.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},aA=ON,Hz=BN,rA=$N,Tj=GN,Rj=WN,Dj=XN,zj=YN,Fj=QN;function T9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,s;for(s=0;s<n.length;s++)i=n[s],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Oz=["color"],Vz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Oz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Bz=["color"],nA=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Bz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Uz=["color"],$z=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Uz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Gz=["color"],Wz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Gz);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),j.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const cs=aA,Zz=rA,iA=v.forwardRef(({className:a,...e},r)=>t.jsx(Tj,{ref:r,className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e}));iA.displayName=Tj.displayName;const hr=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Zz,{children:[t.jsx(iA,{}),t.jsxs(Rj,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r,children:[e,t.jsxs(Fj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[t.jsx(Wz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));hr.displayName=Rj.displayName;const ls=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});ls.displayName="DialogHeader";const ur=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});ur.displayName="DialogFooter";const pr=v.forwardRef(({className:a,...e},r)=>t.jsx(Dj,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));pr.displayName=Dj.displayName;const Ej=v.forwardRef(({className:a,...e},r)=>t.jsx(zj,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ej.displayName=zj.displayName;var Xz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jz=Xz.reduce((a,e)=>{const r=ZC(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Yz="Label",oA=v.forwardRef((a,e)=>t.jsx(Jz.label,{...a,ref:e,onMouseDown:r=>{var i;r.target.closest("button, input, select, textarea")||((i=a.onMouseDown)==null||i.call(a,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));oA.displayName=Yz;var sA=oA;const Kz=w9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),fe=v.forwardRef(({className:a,...e},r)=>t.jsx(sA,{ref:r,className:ce(Kz(),a),...e}));fe.displayName=sA.displayName;const Qz=1,eF=1e6;let uC=0;function tF(){return uC=(uC+1)%Number.MAX_SAFE_INTEGER,uC.toString()}const pC=new Map,UL=a=>{if(pC.has(a))return;const e=setTimeout(()=>{pC.delete(a),r9({type:"REMOVE_TOAST",toastId:a})},eF);pC.set(a,e)},aF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,Qz)};case"UPDATE_TOAST":return{...a,toasts:a.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?UL(r):a.toasts.forEach(n=>{UL(n.id)}),{...a,toasts:a.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...a,toasts:[]}:{...a,toasts:a.toasts.filter(r=>r.id!==e.toastId)}}},rF=[];let yC={toasts:[]};function r9(a){yC=aF(yC,a),rF.forEach(e=>{e(yC)})}function $L({...a}){const e=tF(),r=i=>r9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>r9({type:"DISMISS_TOAST",toastId:e});return r9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const nF=new Set([200,201,202,204]);function iF(a){return a===400?"BAD_REQUEST":a===401?"UNAUTHORIZED":a===403?"FORBIDDEN":a===404?"NOT_FOUND":a===409?"CONFLICT":a===429?"RATE_LIMITED":a>=500?"SERVER":"UNKNOWN"}function oF(a){if(a.friendly)return a.friendly;switch(a.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function sF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,s=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(nF.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:iF(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(s)}}function cF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:s="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),f=async x=>{if(x.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await sF(`${s}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(oF(k.error)),$L({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),$L({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{className:"sm:max-w-md",children:[t.jsxs(ls,{children:[t.jsxs(pr,{className:"flex items-center gap-2",children:[t.jsx(gs,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(Ej,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),t.jsxs("form",{onSubmit:f,className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:x=>l(x.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&t.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&t.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[t.jsx("p",{className:"font-medium",children:"Alert criteria:"}),t.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),t.jsxs(ur,{className:"gap-2 sm:gap-0",children:[t.jsx(G,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx(G,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function cA(){const a="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const s=localStorage.getItem(a);s&&r(JSON.parse(s))}catch(s){console.error("Failed to load saved jobs:",s)}},[]),{savedJobs:e,toggleJob:s=>{r(c=>{const d=c.includes(s)?c.filter(h=>h!==s):[...c,s];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:s=>s?e.includes(s):!1}}const lF=({value:a,options:e,onChange:r})=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),t.jsxs("div",{className:"relative",children:[t.jsx("select",{"aria-label":"Order results",value:a,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:e.map(n=>t.jsx("option",{value:n.value,children:n.label},n.value))}),t.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),dF=6,mC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},hF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:s,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:f,onPopularTagClick:x,onPopularTagRemove:k,allowPopularTagRemoval:y=!1})=>{var X;const[m,g]=j.useState([]),[w,M]=j.useState([]),[b,C]=j.useState([]),[N,L]=j.useState(1),[S,A]=j.useState({}),[T,R]=j.useState([]),[D,_]=j.useState({}),[q,z]=j.useState(""),[V,$]=j.useState([]),[E,re]=j.useState(!1),[ne,se]=j.useState(e),[ae,oe]=j.useState("grid"),[ee,le]=j.useState(!1),[ve,W]=j.useState([]),[Q,ue]=j.useState(!0),[de,ye]=j.useState(null),[ie,Pe]=j.useState("all"),[qe,Ke]=j.useState(!1),[it,yt]=j.useState(!1),[xt,ot]=j.useState({...mC}),[Ue,kt]=j.useState({open:!1,type:"info",message:""}),[at,Ra]=j.useState("date_desc"),{savedJobs:Lt,toggleJob:gt}=cA(),xa=S9(u),F=j.useMemo(()=>({component:"Listing",...f??{}}),[f]),B=j.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),J=j.useCallback((P,H)=>{p&&p({domain:"jobs",name:P,payload:H,timestamp:new Date().toISOString(),context:F})},[F,p]),we=j.useCallback(()=>({filters:{...S},advancedFilters:xt,dateFilter:ie}),[S,ie,xt]),Ee=j.useCallback(()=>({page:N,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[N,w.length,ne,ee,ae]),Qe=j.useRef(!1),He=(P,H)=>{kt({open:!0,type:P,message:H})};j.useEffect(()=>{try{const P=localStorage.getItem("lastVisitedJobs");P&&W(JSON.parse(P));try{localStorage.getItem("email")&&yt(!0)}catch(H){console.error("Error checking subscription state:",H)}}catch(P){console.error("Error loading data from localStorage:",P)}},[]),j.useEffect(()=>{const H=new URLSearchParams(window.location.search).get("date_filter");H&&H!=="all"&&Pe(H)},[]),j.useEffect(()=>{if(!a){ye("❌ Missing API URL for Listing component!"),ue(!1);return}ue(!0),ye(null),(async()=>{try{const H=await fetch(a);if(!H.ok)throw new Error(`API responded with status: ${H.status}`);const Z=await H.json();if(!Array.isArray(Z))throw new Error("Expected an array but received: "+typeof Z);const Y=Z.map((ke,ze)=>({...ke,sponsored:ze%7===0,topTag:jj(ke.title||"")})),te=Array.from(new Set(Y.map(ke=>ke.topTag).filter(ke=>typeof ke=="string"))).slice(0,10);C(te);const Le=r1(Y,at,T,c);g(Y),M(Le);const Me=zc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),ye(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=uD(20),Y=r1(Z,at,T,c);g(Z),M(Y);const te=zc(Z,r);_(te)}finally{ue(!1)}})()},[a,c,T,at]),j.useEffect(()=>{const P=new URLSearchParams(window.location.search),H={};r.forEach(te=>{const Le=P.get(te);Le&&(H[te]=Le)}),A(H);const Z=P.get("q")||P.get("searchTerm")||"";Z&&z(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),A(Y)},[]),j.useEffect(()=>{if(ee){const P=m.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=r1(P,at,T,c);M(H),L(1)}else Ht()},[]),j.useEffect(()=>{Qe.current||Q||!w.length&&!m.length||(J("jobs_listing_viewed",{...we(),...Ee()}),Qe.current=!0)},[m.length,J,w.length,we,Ee,Q]);const Et=j.useCallback(P=>{const H=zc(P,r);_(H)},[r]),Ht=j.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??m,Z=(P==null?void 0:P.filters)??S,Y=(P==null?void 0:P.search)??T,te=(P==null?void 0:P.dateFilter)??ie,Le=(P==null?void 0:P.advanced)??xt;let Me=Bo(H,Z,Y,te,c);Me=MD(Me,Le);const ke=r1(Me,at,Y,c);return M(ke),((P==null?void 0:P.resetPage)??!0)&&L(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Et(ke),ke},[ie,S,xt,m,c,T,at,Et]);j.useEffect(()=>{Ht({resetPage:!1,refreshFiltersData:!1})},[at,Ht]);const xr=(P,H)=>{const Z={...S};H?Z[P]=H:delete Z[P],ee&&le(!1),A(Z),Ht({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},ac=()=>{yt(!0),Se().then(()=>Ke(!1))},ka=j.useRef(null),kr=P=>{L(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ka.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ot=P=>{ee&&le(!1),Pe(P),Ht({dateFilter:P}),LN(P),J("jobs_date_filter_changed",{dateFilter:P})},Da=P=>{if(z(P),P){const H=m.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);$(H)}else $([])},ga=P=>{if(!P.trim())return;ee&&le(!1);const H=[...T,P.trim()];R(H),Ht({search:H}),z(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},ds=P=>{const H=T.filter(Z=>Z!==P);R(H),Ht({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},U=()=>{A({}),R([]),le(!1),Pe("all"),ot({...mC}),Ht({filters:{},search:[],dateFilter:"all",advanced:mC}),J("jobs_filters_cleared_all",{})},K=P=>{const H=new Set,Z=[];for(const Y of P){const te=`${Y.key??""}|${Y.value.toLowerCase()}`;H.has(te)||(H.add(te),Z.push(Y))}return Z},xe=P=>P.replace(/\/+$/,""),Se=async()=>{if(J("jobs_alert_cta_clicked",{searchKeywords:T,query:q.trim()||void 0,...we()}),!it)Ke(!0),J("jobs_subscription_modal_opened",{});else{const P=localStorage.getItem("email"),H=localStorage.getItem("leadId");if(!P||!H){He("info","Please subscribe first to create alerts.");return}const Z="keyword",Y=(Je,rt)=>rt&&rt.trim()?{key:Je.toLowerCase(),value:rt.trim()}:null,te=Object.entries(S).map(([Je,rt])=>Y(Je,rt)).filter(Je=>Je!==null),Le=T.map(Je=>Y(Z,Je)).filter(Je=>Je!==null),Me=Y(Z,q),ke=Me?[Me]:[],ze=K([...te,...Le,...ke]);if(ze.length===0){He("info","No filters/keywords to save.");return}try{const Je=xe(h??"http://localhost:5147"),rt=await fetch(`${Je}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze)});if(!rt.ok){let et="";try{et=await rt.text()}catch{}throw new Error(`${rt.status} ${rt.statusText} ${et}`.trim())}He("success","Alert saved. We’ll notify you about new matching jobs."),z(""),J("jobs_alert_created",{preferences:ze.filter(et=>et!==null)})}catch(Je){console.error("Create alert failed:",Je),He("error","Failed to save alert.")}}},$e=()=>{re(!E)},za=w.length===0?0:(N-1)*ne+1,st=Math.min(N*ne,w.length),dt=P=>{se(P),L(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Fa=()=>{oe(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Ze=(P,H,Z="same_tab",Y="listing")=>{const te=P.id||P.slug||P.link;te&&(W(Le=>{const Me=Le.filter(ze=>(ze.id||ze.slug||ze.link)!==te),ke=[P,...Me].slice(0,dF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ke))}catch(ze){console.error("Error saving to localStorage:",ze)}return ke}),J("job_opened",{jobId:te,slug:P.slug,positionInList:H,openedFrom:Y,openedIn:Z}))},mt=(P,H)=>{const Z=P.id||P.slug||P.link;if(!Z)return;const Y=Lt.includes(Z);gt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},rc=(P,H,Z="external")=>{const Y=P.id||P.slug||P.link;Y&&J("job_apply_clicked",{jobId:Y,slug:P.slug,positionInList:H,applyType:Z})},e1=()=>{le(!ee)},I=Math.ceil(w.length/ne),O=w.slice((N-1)*ne,N*ne);return de&&!m.length?t.jsx("div",{className:"flex-grow p-8",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),t.jsx("p",{className:"mb-4",children:de}),t.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(Cj,{onSearchChange:Da,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:b,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:x,onTagRemove:k,allowTagRemoval:y}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:m.map(P=>P.title).filter(Boolean),onSelect:P=>{ga(P)},onTyping:P=>{z(P),Da(P)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:$e,children:t.jsx(Ya,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Lj,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Ot("all")}]:[],...T.map(P=>({key:"search",label:"",value:P,onRemove:()=>ds(P)})),...Object.entries(S).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>xr(P,"")}))],onClearAll:U,handleCreateAlert:Se})})]}),i&&t.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:$e,"aria-expanded":E,children:[t.jsx(Ya,{className:"w-4 h-4 mr-2"}),E?"Close Filters":"Filters"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Ot,filterKeys:r,searchableFilters:d,filtersData:D,activeFilters:S,handleFilterChange:xr,toggleSavedJobsFilter:e1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(Mj,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(Sj,{viewMode:ae,onToggleViewMode:Fa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:za,endIndex:st,title:"Latest Jobs"}),t.jsxs("div",{className:"",children:[t.jsx("div",{className:"mb-6",children:t.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",ie!=="all"&&!ee&&t.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ie.replace(/_/g," "),")"]})]}),t.jsxs("p",{className:"text-sm text-gray-600",children:[t.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),t.jsx(lF,{value:at,options:B,onChange:Ra})]})}),t.jsx(gD,{items:O,cardType:s,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Ze,onApplyJob:rc,firstItemRef:ka,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(Ij,{currentPage:N,totalPages:I,onPageChange:kr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(vD,{jobs:ve,onViewJob:Ze})})]}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((X=n==null?void 0:n.sidebar)==null?void 0:X.enabled)&&t.jsxs("div",{className:"sticky top-4",children:[t.jsx($c,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(vj,{api_url:h}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((P,H)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+H)}`,alt:`Featured employer ${H+1}`,className:"w-10 h-10 object-contain"})},H))})]})]})})]})]})]}),t.jsx(jN,{activeDateFilter:ie,handleDateFilterChange:Ot,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:S,handleFilterChange:xr,toggleSavedJobsFilter:e1,filtersData:D,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:$e}),t.jsx(bN,{savedJobsCount:Lt.length}),t.jsx(wN,{open:Ue.open,type:Ue.type,message:Ue.message,onClose:()=>kt(P=>({...P,open:!1}))}),t.jsx(cF,{open:qe,onOpenChange:Ke,onSubscriptionSuccess:ac,apiUrl:h})]})};function GL(a=window.location.pathname){const e=a.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(i=>i.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function uF(){const[a,e]=j.useState(()=>GL());return j.useEffect(()=>{const r=()=>e(GL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function WL(a){window.location.assign(a)}function ZL(a){window.history.length>1?window.history.back():window.location.assign(a)}function pF(a){const e=lA,r=a??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function yF(a){return!Array.isArray(a)||a.length===0?dA:a.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const lA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},dA=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],mF=({job:a=lA,similarJobs:e=dA,onSkillClick:r})=>{var N;const n=uF(),[i,s]=j.useState(()=>yF(e)),[c,l]=j.useState(!1),[d,h]=j.useState(null),[u,p]=j.useState(!1),[f,x]=j.useState(!1),{toggleJob:k,isSaved:y}=cA(),m=pF(a);j.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(A=>setTimeout(A,300)),!n)throw new Error("Missing slug in URL.");s(i);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");x(S.includes(n))}catch(S){h((S==null?void 0:S.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const g=()=>{n&&k(n)},w=()=>{if(!n)return;m!=null&&m.applicationUrl?window.open(m.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(n)||(L.push(n),localStorage.setItem("appliedJobs",JSON.stringify(L)),x(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:m==null?void 0:m.title,text:`Check out this job opportunity: ${m==null?void 0:m.title} at ${m==null?void 0:m.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},b=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),C=L=>{const S=new Date(L),T=Math.abs(new Date().getTime()-S.getTime());return Math.ceil(T/(1e3*60*60*24))};return c?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),t.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!m?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx(Bt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),t.jsx("button",{onClick:()=>ZL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx("div",{className:"bg-white border-b border-gray-200",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[t.jsxs("button",{onClick:()=>ZL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx($o,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[t.jsx("div",{className:"flex-1",children:t.jsxs("div",{className:"flex items-start space-x-4",children:[m.companyLogo&&t.jsx("img",{src:m.companyLogo,alt:`${m.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),t.jsxs("div",{className:"flex-1",children:[t.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[m.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),m.isFeatured&&t.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),t.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:m.title}),t.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(yc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:m.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:m.location}),m.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),m.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:m.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[C(m.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:g,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(m.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(js,{className:`h-4 w-4 mr-2 ${y(m.id)?"fill-current":""}`}),y(m.id)?"Saved":"Save Job"]}),t.jsxs("button",{onClick:M,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[t.jsx(_s,{className:"h-4 w-4 mr-2"}),"Share"]}),t.jsx("button",{onClick:w,disabled:f,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Zo,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(vt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),t.jsx("p",{className:"font-medium",children:m.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Cs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),t.jsx("p",{className:"font-medium",children:m.experienceLevel})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Ia,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),t.jsx("p",{className:"font-medium",children:m.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(mc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),t.jsx("p",{className:"font-medium text-sm",children:m.applicationDeadline?b(m.applicationDeadline):"Open"})]})]}),t.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[t.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[t.jsxs("span",{children:[m.viewCount," views"]}),t.jsxs("span",{children:[m.applicantCount," applicants"]})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ut,{className:"h-4 w-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),t.jsx("div",{className:"prose prose-gray max-w-none",children:t.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:m.description})})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),t.jsx("ul",{className:"space-y-3",children:(N=m.responsibilities)==null?void 0:N.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(m.requirements)?t.jsx("ul",{className:"space-y-3",children:m.requirements.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.requirements})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(m.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:m.skills.map((L,S)=>t.jsx(YC,{name:L,color:"#2563EB",size:"sm",onClick:r?()=>r(L):void 0},`${L}-${S}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.skills})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(m.benefits)?t.jsx("ul",{className:"space-y-3",children:m.benefits.map((L,S)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:L})]},S))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:m.benefits})]})]}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",m.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:m.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[m.companySize&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("span",{className:"text-gray-600",children:m.companySize})]}),m.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(bs,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:m.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),t.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),t.jsxs("div",{className:"space-y-2 text-sm",children:[m.contactEmail&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(ha,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`mailto:${m.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:m.contactEmail})]}),m.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xo,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${m.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:m.contactPhone})]})]})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),t.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",m.company," and take your career to the next level in the exciting world of iGaming."]}),t.jsx("button",{onClick:w,disabled:f,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Zo,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!f&&t.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[t.jsxs("button",{onClick:g,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(m.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(Xa,{className:`h-4 w-4 mr-2 ${y(m.id)?"fill-current":""}`}),y(m.id)?"Saved":"Save"]}),t.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:t.jsx(vc,{className:"h-4 w-4"})})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),t.jsx("div",{className:"space-y-4",children:i.map(L=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>WL(`/jobs/${L.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-3 w-3 mr-1"}),t.jsx("span",{children:L.location})]}),t.jsxs("span",{children:[C(L.postedDate),"d ago"]})]}),L.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),t.jsx("button",{onClick:()=>WL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&t.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:t.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),t.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:t.jsx("p",{className:"font-medium",children:m.contactEmail})}),t.jsxs("div",{className:"flex space-x-3",children:[t.jsx("button",{onClick:()=>p(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),t.jsx("button",{onClick:()=>{window.location.href=`mailto:${m.contactEmail}?subject=Application for ${m.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${m.title} position at ${m.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,p(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},fF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),xF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:s="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=y=>{const m=new Date(y),w=Math.floor((new Date().getTime()-m.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":m.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),f=y=>y.length>1?y[1]:y[0],x=(y,m)=>y.length<=m?y:y.substring(0,m).trim()+"...",k=s==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return t.jsxs("article",{className:`
7799
7799
  news-grid bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden
7800
7800
  hover:shadow-md transition-shadow duration-300 ${k}
7801
- `,children:[t.jsxs("div",{className:`relative ${s==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[t.jsx("img",{src:a.image||"/placeholder.svg?height=200&width=400&text=News",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${s==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBreaking&&t.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),a.isTrending&&t.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[t.jsx(Jo,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),t.jsx("button",{onClick:()=>r(a._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:t.jsx(Xa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${s==="list"?"md:w-2/3":""}`,children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:a.categories.slice(0,2).map((y,m)=>t.jsx("a",{href:`?category=${y}`,children:t.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},m)}))}),t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?t.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:a.title}):t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:a.title})}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:x(a.content,s==="list"?150:200)}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center space-x-4",children:[t.jsxs("span",{children:["By ",f(a.author)]}),t.jsx("span",{children:a.company})]}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsxs("span",{children:[a.readTime,"m read"]})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(gc,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:p(a.viewCount||0)})]})]})]}),t.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:a.tags.slice(0,3).map((y,m)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},m))}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-sm text-gray-500",children:u(a.date)}),t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:wj[c.status]}),c.note&&t.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>n(a,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:t.jsx(_s,{className:"w-4 h-4"})}),c.maskExternalLinks?t.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):t.jsxs("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:["Read More",t.jsx(Zo,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},kF=({apiUrl:a="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:i="latest",bookmarkStorageKey:s="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,f]=j.useState([]),[x,k]=j.useState([]),[y,m]=j.useState([]),[g,w]=j.useState({}),[M,b]=j.useState(""),[C,A]=j.useState({}),[L,S]=j.useState(!1),[N,T]=j.useState(c),[z,R]=j.useState(new Set),[_,q]=j.useState(i),[D,V]=j.useState("grid"),[$,E]=j.useState(1),[re,ne]=j.useState([]),[se,ae]=j.useState(!1),[oe,ee]=j.useState([]),[le,ve]=j.useState([]),[W,Q]=j.useState(!0),[ue,de]=j.useState("all"),[ye,ie]=j.useState(""),Pe=U=>U.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Ke]=j.useState(n),[it,yt]=j.useState(null),xt=S9(d),ot=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ue=j.useCallback((U,K)=>{h&&h({domain:"news",name:U,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),kt=j.useCallback(()=>({filters:{...C},categories:qe.categories.length?qe.categories:C.categories?[C.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:C.author?[C.author]:[],companies:qe.companies.length?qe.companies:C.company?[C.company]:[],dateFilter:ue,readTimeRange:qe.readTime}),[ue,C,qe]),at=j.useCallback(()=>({page:$,pageSize:N,totalResults:x.length,sortBy:_,viewMode:D}),[$,x.length,N,_,D]),Ra=j.useRef(!1);j.useEffect(()=>{const U=localStorage.getItem(s);U&&R(new Set(JSON.parse(U)))},[s]),j.useEffect(()=>{const U=new URLSearchParams(window.location.search),K={};e.forEach(st=>{const dt=U.get(st);dt&&(K[st]=dt)}),A(K);const xe=U.get("q"),Se=U.get("categories");let $e=[...p];if(xe&&($e=$e.filter(st=>st.title.toLowerCase().includes(xe.toLowerCase())),b(xe),Lt(xe)),Se){const st=Se.trim().toLowerCase().replace(/\s+/g,"-");Ke(dt=>({...dt,categories:[st]})),$e=$e.filter(dt=>dt.categories.some(Fa=>Pe(Fa)===st))}m($e);const za={};e.forEach(st=>{const dt=U.get(st);dt&&(za[st]=dt)}),A(za)},[p]),j.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){de(K);const xe=Bo(p,C,oe,K);k(xe),E(1),gt(xe)}},[p]);const Lt=U=>{if(!U.trim())return;const K=[...oe,U.trim()];ee(K);const xe=Bo(p,C,K,ue);k(xe),E(1),gt(xe),b(""),Ue("news_search_submitted",{query:U,searchFilters:K,...kt()})},gt=U=>{const K=zc(U,e);w(K)},xa=U=>{de(U),F(U),LN(U)},F=U=>{const K=Bo(p,C,oe,U);k(K),E(1),gt(K)};j.useEffect(()=>{localStorage.setItem(s,JSON.stringify(Array.from(z)))},[z,s]),j.useEffect(()=>{Q(!0),yt(null),(async()=>{try{const K=await fetch(a);if(!K.ok)throw new Error(`API responded with status: ${K.status}`);const xe=await K.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const Se=xe.map(Ze=>({...Ze,categories:Array.isArray(Ze.categories)?Ze.categories:[],topTag:yD(Ze.title||"")})),$e={};for(const Ze of Se){const mt=Ze.topTag;mt&&($e[mt]=($e[mt]||0)+1)}const za=Object.entries($e).sort((Ze,mt)=>mt[1]-Ze[1]).slice(0,10).map(([Ze])=>Ze);ve(za);const st=new Set;Se.forEach(Ze=>{Ze.categories.forEach(mt=>{st.add(Pe(mt))})});const dt=Array.from(st).map(Ze=>({id:Ze,name:Ze.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(rc=>Pe(rc)===Ze)).length,color:"bg-gray-100 text-gray-800"}));f(Se),k(Se),m(Se),ne(dt);const Fa=zc(Se,e);w(Fa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V(U=>{const K=U==="grid"?"list":"grid";return Ue("news_listing_viewmode_changed",{viewMode:K}),K})};j.useMemo(()=>p.filter(U=>U.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter(U=>U.isBreaking),[p]);const J=Math.ceil(x.length/N),we=x.slice(($-1)*N,$*N),Ee=(U,K)=>{xt.allowSaving&&R(xe=>{const Se=new Set(xe),$e=Se.has(U);return $e?Se.delete(U):Se.add(U),Ue($e?"news_article_unbookmarked":"news_article_bookmarked",{articleId:U,positionInList:K}),Se})},Qe=(U,K)=>{navigator.share?navigator.share({title:U.title,text:U.title,url:U.link}):(navigator.clipboard.writeText(U.link),alert("Article link copied to clipboard!")),Ue("news_article_shared",{articleId:U._id,channel:"copy_link"})},He=(U,K,xe="new_tab",Se="listing")=>{Ue("news_article_opened",{articleId:U._id,slug:U.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Et=()=>{ae(!se)},Ht=x.length===0?0:($-1)*N+1,xr=Math.min($*N,x.length),ac=()=>{Ke({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const U=Bo(p,C,oe,ue);k(U),E(1),gt(U)},ka=()=>{A({}),ee([]),de("all"),ac(),k(p),E(1),gt(p),Ue("news_filters_cleared_all",{})},kr=j.useRef(null),Ot=U=>{E(U),Ue("news_listing_page_changed",{page:U,pageSize:N,totalResults:x.length}),setTimeout(()=>{var K;(K=kr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Da=U=>{T(U),E(1),Ue("news_listing_items_per_page_changed",{pageSize:U})},ga=(U,K)=>{const xe={...C};K?xe[U]=K:delete xe[U];const Se=Bo(p,xe,oe,ue);A(xe),k(Se),E(1),gt(Se);const $e=kt();K?Ue("news_filter_selected",{key:U,value:K,...$e}):Ue("news_filter_cleared",{key:U,...$e})},ds=U=>{const K=oe.filter(Se=>Se!==U);ee(K);const xe=Bo(p,C,K,ue);k(xe),E(1),gt(xe),Ue("news_search_filter_removed",{removedKeyword:U,remainingKeywords:K})};return j.useEffect(()=>{Ra.current||W||!x.length&&!p.length||(Ue("news_listing_viewed",{...kt(),...at()}),Ra.current=!0)},[p.length,Ue,x.length,kt,at,W]),t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(Cj,{onSearchChange:U=>{const K=p.filter(xe=>xe.title.toLowerCase().includes(U.toLowerCase()));m(K),b(U)},title:"Latest News",popularTags:le,generateHref:U=>`/news?q=${U.replace(/\s+/g,"+")}`}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:p.map(U=>U.title),onSelect:U=>{Lt(U)},onTyping:U=>{S(!!U),U||(m(p),b(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Et,children:t.jsx(Ya,{size:16,className:"mr-1.5"})}),M&&t.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[t.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[M,t.jsx("button",{onClick:()=>{m(p),b("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{m(p),b("")},children:"Clear Search"})]})]}),t.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:t.jsx("div",{className:"block w-full",children:t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Lj,{filters:[...ye?[{key:"categories",label:"Categories",value:ye.replace(/-/g," "),onRemove:()=>ie("")}]:[],...oe.map(U=>({key:"search",label:"",value:U,onRemove:()=>ds(U)})),...Object.entries(C).map(([U,K])=>({key:U,label:U.replace(/_/g," "),value:K,onRemove:()=>ga(U,"")}))],onClearAll:ka})})})})]}),t.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ue,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:g,activeFilters:C,handleFilterChange:ga,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(Mj,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(Sj,{viewMode:D,onToggleViewMode:B,selectedItemsPerPage:N,onItemsPerPageChange:Da,totalCount:x.length,startIndex:Ht,endIndex:xr,title:"Latest News"}),x.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:D==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:we.map((U,K)=>t.jsx("div",{ref:K===0?kr:null,children:t.jsx(xF,{article:U,isBookmarked:z.has(U._id),positionInList:K,onToggleBookmark:xe=>Ee(xe,K),onShare:xe=>Qe(xe),onOpenArticle:He,layout:D,userAccess:xt})},U._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Ij,{currentPage:$,totalPages:J,onPageChange:Ot})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),t.jsx("button",{onClick:ka,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"sticky top-4",children:[t.jsx($c,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(vj,{api_url:""}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((U,K)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+K)}`,alt:`Featured employer ${K+1}`,className:"w-10 h-10 object-contain"})},K))})]})]})})]})})]})]}),t.jsx(jN,{activeDateFilter:ue,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:ga,filtersData:g,isMobileFilterOpen:se,toggleMobileFilter:Et})]})},c1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],gF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,s]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(i.length>0){const x=a.filter(g=>{var M,b,C,A,L;const w=i.toLowerCase();return g.title.toLowerCase().includes(w)||((M=g.description)==null?void 0:M.toLowerCase().includes(w))||((b=g.instructor)==null?void 0:b.toLowerCase().includes(w))||((C=g.tags)==null?void 0:C.some(S=>S.toLowerCase().includes(w)))||((A=g.category)==null?void 0:A.toLowerCase().includes(w))||((L=g.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(x);const k=a.filter(g=>g.title.toLowerCase().includes(i.toLowerCase())).map(g=>g.title).slice(0,3),y=a.flatMap(g=>g.tags??[]).filter(g=>g.toLowerCase().includes(i.toLowerCase())).filter((g,w,M)=>M.indexOf(g)===w).slice(0,3),m=a.filter(g=>g.instructor?g.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(g=>g.instructor).filter((g,w,M)=>M.indexOf(g)===w).slice(0,2);l([...k,...y,...m]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=x=>{s(x),r==null||r(x.length>0,x)},p=x=>{s(x),h(!1)},f=()=>{s(""),h(!1),r==null||r(!1,"")};return t.jsxs("div",{className:"course-search relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx("input",{type:"text",value:i,onChange:x=>u(x.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),i&&t.jsx("button",{onClick:f,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(Tt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&t.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:t.jsx("ul",{className:"py-1",children:c.map((x,k)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(x),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 text-gray-400 mr-2"}),x]})})},k))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},vF=({title:a,subtitle:e,placeholder:r,courses:n=[],onSearchResults:i})=>t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[a||"Master the ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),t.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),t.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&i&&t.jsx(gF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),wF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[s,c]=j.useState(new Set),l=h=>{const u=new Set(s);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return t.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),t.jsx("div",{className:"space-y-2",children:a.map(h=>{const u=s.has(h.id),p=e===h.id;return t.jsxs("div",{className:"category-group",children:[t.jsxs("button",{onClick:()=>d(h.id),className:`
7801
+ `,children:[t.jsxs("div",{className:`relative ${s==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[t.jsx("img",{src:a.image||"/placeholder.svg?height=200&width=400&text=News",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${s==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBreaking&&t.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),a.isTrending&&t.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[t.jsx(Jo,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),t.jsx("button",{onClick:()=>r(a._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:t.jsx(Xa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${s==="list"?"md:w-2/3":""}`,children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:a.categories.slice(0,2).map((y,m)=>t.jsx("a",{href:`?category=${y}`,children:t.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},m)}))}),t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?t.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:a.title}):t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:a.title})}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:x(a.content,s==="list"?150:200)}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center space-x-4",children:[t.jsxs("span",{children:["By ",f(a.author)]}),t.jsx("span",{children:a.company})]}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsxs("span",{children:[a.readTime,"m read"]})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(gc,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:p(a.viewCount||0)})]})]})]}),t.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:a.tags.slice(0,3).map((y,m)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},m))}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-sm text-gray-500",children:u(a.date)}),t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:wj[c.status]}),c.note&&t.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>n(a,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:t.jsx(_s,{className:"w-4 h-4"})}),c.maskExternalLinks?t.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):t.jsxs("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:["Read More",t.jsx(Zo,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},kF=({apiUrl:a="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:i="latest",bookmarkStorageKey:s="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,f]=j.useState([]),[x,k]=j.useState([]),[y,m]=j.useState([]),[g,w]=j.useState({}),[M,b]=j.useState(""),[C,N]=j.useState({}),[L,S]=j.useState(!1),[A,T]=j.useState(c),[R,D]=j.useState(new Set),[_,q]=j.useState(i),[z,V]=j.useState("grid"),[$,E]=j.useState(1),[re,ne]=j.useState([]),[se,ae]=j.useState(!1),[oe,ee]=j.useState([]),[le,ve]=j.useState([]),[W,Q]=j.useState(!0),[ue,de]=j.useState("all"),[ye,ie]=j.useState(""),Pe=U=>U.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Ke]=j.useState(n),[it,yt]=j.useState(null),xt=S9(d),ot=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ue=j.useCallback((U,K)=>{h&&h({domain:"news",name:U,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),kt=j.useCallback(()=>({filters:{...C},categories:qe.categories.length?qe.categories:C.categories?[C.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:C.author?[C.author]:[],companies:qe.companies.length?qe.companies:C.company?[C.company]:[],dateFilter:ue,readTimeRange:qe.readTime}),[ue,C,qe]),at=j.useCallback(()=>({page:$,pageSize:A,totalResults:x.length,sortBy:_,viewMode:z}),[$,x.length,A,_,z]),Ra=j.useRef(!1);j.useEffect(()=>{const U=localStorage.getItem(s);U&&D(new Set(JSON.parse(U)))},[s]),j.useEffect(()=>{const U=new URLSearchParams(window.location.search),K={};e.forEach(st=>{const dt=U.get(st);dt&&(K[st]=dt)}),N(K);const xe=U.get("q"),Se=U.get("categories");let $e=[...p];if(xe&&($e=$e.filter(st=>st.title.toLowerCase().includes(xe.toLowerCase())),b(xe),Lt(xe)),Se){const st=Se.trim().toLowerCase().replace(/\s+/g,"-");Ke(dt=>({...dt,categories:[st]})),$e=$e.filter(dt=>dt.categories.some(Fa=>Pe(Fa)===st))}m($e);const za={};e.forEach(st=>{const dt=U.get(st);dt&&(za[st]=dt)}),N(za)},[p]),j.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){de(K);const xe=Bo(p,C,oe,K);k(xe),E(1),gt(xe)}},[p]);const Lt=U=>{if(!U.trim())return;const K=[...oe,U.trim()];ee(K);const xe=Bo(p,C,K,ue);k(xe),E(1),gt(xe),b(""),Ue("news_search_submitted",{query:U,searchFilters:K,...kt()})},gt=U=>{const K=zc(U,e);w(K)},xa=U=>{de(U),F(U),LN(U)},F=U=>{const K=Bo(p,C,oe,U);k(K),E(1),gt(K)};j.useEffect(()=>{localStorage.setItem(s,JSON.stringify(Array.from(R)))},[R,s]),j.useEffect(()=>{Q(!0),yt(null),(async()=>{try{const K=await fetch(a);if(!K.ok)throw new Error(`API responded with status: ${K.status}`);const xe=await K.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const Se=xe.map(Ze=>({...Ze,categories:Array.isArray(Ze.categories)?Ze.categories:[],topTag:yD(Ze.title||"")})),$e={};for(const Ze of Se){const mt=Ze.topTag;mt&&($e[mt]=($e[mt]||0)+1)}const za=Object.entries($e).sort((Ze,mt)=>mt[1]-Ze[1]).slice(0,10).map(([Ze])=>Ze);ve(za);const st=new Set;Se.forEach(Ze=>{Ze.categories.forEach(mt=>{st.add(Pe(mt))})});const dt=Array.from(st).map(Ze=>({id:Ze,name:Ze.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(rc=>Pe(rc)===Ze)).length,color:"bg-gray-100 text-gray-800"}));f(Se),k(Se),m(Se),ne(dt);const Fa=zc(Se,e);w(Fa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V(U=>{const K=U==="grid"?"list":"grid";return Ue("news_listing_viewmode_changed",{viewMode:K}),K})};j.useMemo(()=>p.filter(U=>U.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter(U=>U.isBreaking),[p]);const J=Math.ceil(x.length/A),we=x.slice(($-1)*A,$*A),Ee=(U,K)=>{xt.allowSaving&&D(xe=>{const Se=new Set(xe),$e=Se.has(U);return $e?Se.delete(U):Se.add(U),Ue($e?"news_article_unbookmarked":"news_article_bookmarked",{articleId:U,positionInList:K}),Se})},Qe=(U,K)=>{navigator.share?navigator.share({title:U.title,text:U.title,url:U.link}):(navigator.clipboard.writeText(U.link),alert("Article link copied to clipboard!")),Ue("news_article_shared",{articleId:U._id,channel:"copy_link"})},He=(U,K,xe="new_tab",Se="listing")=>{Ue("news_article_opened",{articleId:U._id,slug:U.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Et=()=>{ae(!se)},Ht=x.length===0?0:($-1)*A+1,xr=Math.min($*A,x.length),ac=()=>{Ke({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const U=Bo(p,C,oe,ue);k(U),E(1),gt(U)},ka=()=>{N({}),ee([]),de("all"),ac(),k(p),E(1),gt(p),Ue("news_filters_cleared_all",{})},kr=j.useRef(null),Ot=U=>{E(U),Ue("news_listing_page_changed",{page:U,pageSize:A,totalResults:x.length}),setTimeout(()=>{var K;(K=kr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Da=U=>{T(U),E(1),Ue("news_listing_items_per_page_changed",{pageSize:U})},ga=(U,K)=>{const xe={...C};K?xe[U]=K:delete xe[U];const Se=Bo(p,xe,oe,ue);N(xe),k(Se),E(1),gt(Se);const $e=kt();K?Ue("news_filter_selected",{key:U,value:K,...$e}):Ue("news_filter_cleared",{key:U,...$e})},ds=U=>{const K=oe.filter(Se=>Se!==U);ee(K);const xe=Bo(p,C,K,ue);k(xe),E(1),gt(xe),Ue("news_search_filter_removed",{removedKeyword:U,remainingKeywords:K})};return j.useEffect(()=>{Ra.current||W||!x.length&&!p.length||(Ue("news_listing_viewed",{...kt(),...at()}),Ra.current=!0)},[p.length,Ue,x.length,kt,at,W]),t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(Cj,{onSearchChange:U=>{const K=p.filter(xe=>xe.title.toLowerCase().includes(U.toLowerCase()));m(K),b(U)},title:"Latest News",popularTags:le,generateHref:U=>`/news?q=${U.replace(/\s+/g,"+")}`}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:p.map(U=>U.title),onSelect:U=>{Lt(U)},onTyping:U=>{S(!!U),U||(m(p),b(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Et,children:t.jsx(Ya,{size:16,className:"mr-1.5"})}),M&&t.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[t.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[M,t.jsx("button",{onClick:()=>{m(p),b("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{m(p),b("")},children:"Clear Search"})]})]}),t.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:t.jsx("div",{className:"block w-full",children:t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Lj,{filters:[...ye?[{key:"categories",label:"Categories",value:ye.replace(/-/g," "),onRemove:()=>ie("")}]:[],...oe.map(U=>({key:"search",label:"",value:U,onRemove:()=>ds(U)})),...Object.entries(C).map(([U,K])=>({key:U,label:U.replace(/_/g," "),value:K,onRemove:()=>ga(U,"")}))],onClearAll:ka})})})})]}),t.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ue,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:g,activeFilters:C,handleFilterChange:ga,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(Mj,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(Sj,{viewMode:z,onToggleViewMode:B,selectedItemsPerPage:A,onItemsPerPageChange:Da,totalCount:x.length,startIndex:Ht,endIndex:xr,title:"Latest News"}),x.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:z==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:we.map((U,K)=>t.jsx("div",{ref:K===0?kr:null,children:t.jsx(xF,{article:U,isBookmarked:R.has(U._id),positionInList:K,onToggleBookmark:xe=>Ee(xe,K),onShare:xe=>Qe(xe),onOpenArticle:He,layout:z,userAccess:xt})},U._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Ij,{currentPage:$,totalPages:J,onPageChange:Ot})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),t.jsx("button",{onClick:ka,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"sticky top-4",children:[t.jsx($c,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(vj,{api_url:""}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((U,K)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+K)}`,alt:`Featured employer ${K+1}`,className:"w-10 h-10 object-contain"})},K))})]})]})})]})})]})]}),t.jsx(jN,{activeDateFilter:ue,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:ga,filtersData:g,isMobileFilterOpen:se,toggleMobileFilter:Et})]})},c1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],gF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,s]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(i.length>0){const x=a.filter(g=>{var M,b,C,N,L;const w=i.toLowerCase();return g.title.toLowerCase().includes(w)||((M=g.description)==null?void 0:M.toLowerCase().includes(w))||((b=g.instructor)==null?void 0:b.toLowerCase().includes(w))||((C=g.tags)==null?void 0:C.some(S=>S.toLowerCase().includes(w)))||((N=g.category)==null?void 0:N.toLowerCase().includes(w))||((L=g.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(x);const k=a.filter(g=>g.title.toLowerCase().includes(i.toLowerCase())).map(g=>g.title).slice(0,3),y=a.flatMap(g=>g.tags??[]).filter(g=>g.toLowerCase().includes(i.toLowerCase())).filter((g,w,M)=>M.indexOf(g)===w).slice(0,3),m=a.filter(g=>g.instructor?g.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(g=>g.instructor).filter((g,w,M)=>M.indexOf(g)===w).slice(0,2);l([...k,...y,...m]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=x=>{s(x),r==null||r(x.length>0,x)},p=x=>{s(x),h(!1)},f=()=>{s(""),h(!1),r==null||r(!1,"")};return t.jsxs("div",{className:"course-search relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx("input",{type:"text",value:i,onChange:x=>u(x.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),i&&t.jsx("button",{onClick:f,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(Tt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&t.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:t.jsx("ul",{className:"py-1",children:c.map((x,k)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(x),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 text-gray-400 mr-2"}),x]})})},k))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},vF=({title:a,subtitle:e,placeholder:r,courses:n=[],onSearchResults:i})=>t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[a||"Master the ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),t.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),t.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&i&&t.jsx(gF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),wF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[s,c]=j.useState(new Set),l=h=>{const u=new Set(s);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return t.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),t.jsx("div",{className:"space-y-2",children:a.map(h=>{const u=s.has(h.id),p=e===h.id;return t.jsxs("div",{className:"category-group",children:[t.jsxs("button",{onClick:()=>d(h.id),className:`
7802
7802
  w-full flex items-center justify-between p-3 rounded-lg text-left transition-colors
7803
7803
  ${p?"bg-yellow-50 text-indigo-700 border border-yellow--200":"hover:bg-gray-50 text-gray-700"}
7804
7804
  `,children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx("span",{className:"text-lg mr-3",children:h.icon}),t.jsx("span",{className:"font-medium",children:h.name})]}),u?t.jsx(Go,{className:"w-4 h-4"}):t.jsx(Ja,{className:"w-4 h-4"})]}),u&&t.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(f=>{const x=r===f.id;return t.jsxs("button",{onClick:()=>i(f.id),className:`
7805
7805
  w-full flex items-center justify-between p-2 rounded-md text-left text-sm transition-colors
7806
7806
  ${x?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
7807
- `,children:[t.jsx("span",{children:f.name}),t.jsx("span",{className:"text-xs text-gray-500",children:f.courseCount})]},f.id)})})]},h.id)})})]})},XL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f})=>{const[x,k]=j.useState(!1),y=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],m=["English","Spanish","French","German","Multiple"],g=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const A=a.languages.includes(C)?a.languages.filter(L=>L!==C):[...a.languages,C];r({...a,languages:A})},M=C=>{const A=a.features.includes(C)?a.features.filter(L=>L!==C):[...a.features,C];r({...a,features:A})},b=a.levels.length>0||a.languages.length>0||a.features.length>0||a.rating>0||a.priceRange[0]>0||a.priceRange[1]<2e3;return t.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[t.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ms,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),b&&t.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[b&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>k(!x),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Go,{className:`w-4 h-4 transition-transform ${x?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",s," courses"]})]}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),t.jsx("select",{id:"sort-select",value:e,onChange:C=>n(C.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:y.map(C=>t.jsx("option",{value:C.value,children:C.label},C.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(wF,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),t.jsx("div",{className:"space-y-2",children:m.map(C=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),t.jsx("div",{className:"space-y-2",children:g.map(C=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(C),onChange:()=>M(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},MF=({isOpen:a,onClose:e,title:r="Filters",children:n})=>a?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),t.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"p-4",children:n})]})]}):null,JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:f,toggleMobileFilter:x,enableMobileFilter:k,showFilterName:y=!0,isMobile:m=!1})=>t.jsxs("aside",{className:m?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:x,"aria-expanded":f,children:t.jsx(Ya,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(MF,{isOpen:f,onClose:x,title:"Filters",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),bF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[s,c]=j.useState(!1),l=(p,f)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:f}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=i.allowSaving,u=i.maskExternalLinks;return t.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[t.jsxs("div",{className:"relative",children:[t.jsx("img",{src:a.thumbnail||"/placeholder.svg",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${s?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!s&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx(Wt,{className:"w-12 h-12 text-gray-400"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBestseller&&t.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),a.isNew&&t.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),a.isFeatured&&t.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),t.jsx("button",{onClick:()=>r(a.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:t.jsx(js,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:a.title}),t.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:wj[i.status]}),i.note&&t.jsx("span",{className:"text-xs text-gray-500",children:i.note})]}),t.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",a.instructor]}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:a.description}),t.jsxs("div",{className:"flex items-center mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ut,{className:"w-4 h-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:a.rating})]}),typeof a.reviewCount=="number"&&t.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",a.reviewCount.toLocaleString()," reviews)"]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:a.duration})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"w-4 h-4 mr-1"}),typeof a.enrollmentCount=="number"&&t.jsxs("span",{children:[d(a.enrollmentCount)," students"]})]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[t.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${a.level==="Beginner"?"bg-green-100 text-green-800":a.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:a.level}),a.certificate&&t.jsxs("div",{className:"flex items-center text-indigo-600",children:[t.jsx(La,{className:"w-4 h-4 mr-1"}),t.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[typeof a.price=="number"&&a.currency&&t.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(a.price,a.currency)}),typeof a.originalPrice=="number"&&!isNaN(a.originalPrice)&&t.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(a.originalPrice,a.currency)})]}),u?t.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):t.jsx("button",{onClick:()=>n(a.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},CF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:s,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(a.length/i),p=a.slice((c-1)*i,c*i),f=j.useRef(null),x=k=>{l(k),setTimeout(()=>{var y;(y=f.current)==null||y.scrollIntoView({behavior:"smooth",block:"start"})},100)};return a.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,y)=>t.jsx("div",{ref:y===0?f:null,children:t.jsx(bF,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Ij,{currentPage:c,totalPages:u,onPageChange:x})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Wt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),t.jsx("button",{onClick:s,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},jF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:s})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[f,x]=j.useState(""),[k,y]=j.useState(""),[m,g]=j.useState("relevance"),[w,M]=j.useState(!1),[b,C]=j.useState(1),[A,L]=j.useState(!1),[S,N]=j.useState(!1),[T,z]=j.useState(!0),[R,_]=j.useState(""),[q,D]=j.useState([]),[V,$]=j.useState([]),[E,re]=j.useState("grid"),[ne,se]=j.useState(r),[ae,oe]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=S9(n),le=j.useMemo(()=>({component:"IGamingCoursePage",...s??{}}),[s]),ve=j.useRef(!1),W=j.useMemo(()=>{let F=[...d];switch(f&&(F=F.filter(B=>ie(B.category)===f)),k&&(F=F.filter(B=>ie(B.subcategory)===k)),ae.levels.length>0&&(F=F.filter(B=>ae.levels.includes(B.level))),ae.languages.length>0&&(F=F.filter(B=>ae.languages.includes(B.language))),ae.features.length>0&&(F=F.filter(B=>ae.features.some(J=>B.features.includes(J)))),ae.rating>0&&(F=F.filter(B=>B.rating>=ae.rating)),w&&(F=F.filter(B=>u.has(B.id))),m){case"price-low-high":F.sort((B,J)=>B.price-J.price);break;case"price-high-low":F.sort((B,J)=>J.price-B.price);break;case"rating":F.sort((B,J)=>J.rating-B.rating);break;case"newest":F.sort((B,J)=>new Date(J.lastUpdated).getTime()-new Date(B.lastUpdated).getTime());break;case"most-enrolled":F.sort((B,J)=>J.enrollmentCount-B.enrollmentCount);break;default:F.sort((B,J)=>B.isFeatured&&!J.isFeatured?-1:!B.isFeatured&&J.isFeatured?1:B.isBestseller&&!J.isBestseller?-1:!B.isBestseller&&J.isBestseller?1:J.rating-B.rating)}return F},[d,f,k,ae,u,w,m]),Q=j.useCallback((F,B)=>{i&&i({domain:"courses",name:F,payload:B,timestamp:new Date().toISOString(),context:le})},[le,i]),ue=j.useCallback(()=>({category:f||void 0,subcategory:k||void 0,levels:ae.levels,languages:ae.languages,features:ae.features,rating:ae.rating,priceRange:ae.priceRange,favoritesOnly:w}),[ae.features,ae.languages,ae.levels,ae.priceRange,ae.rating,f,k,w]),de=j.useCallback(()=>({page:b,pageSize:ne,totalResults:W.length,sortBy:m,viewMode:E}),[b,W.length,ne,m,E]),ye=()=>{re(F=>{const B=F==="grid"?"list":"grid";return Q("courses_listing_viewmode_changed",{viewMode:B}),B})},ie=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Pe=j.useMemo(()=>{const F=new Map;return c.forEach(B=>{const J=B.category,we=B.subcategory,Ee=ie(J),Qe=ie(we);if(!Ee)return;F.has(Ee)||F.set(Ee,new Map);const He=F.get(Ee);Qe&&He.set(Qe,(He.get(Qe)??0)+1)}),Array.from(F.entries()).map(([B,J])=>({id:B,name:B.replace(/-/g," ").replace(/\b\w/g,we=>we.toUpperCase()),icon:"🎯",subcategories:Array.from(J.entries()).map(([we,Ee])=>({id:we,name:we.replace(/-/g," ").replace(/\b\w/g,Qe=>Qe.toUpperCase()),courseCount:Ee}))}))},[c]),qe=F=>{se(F),C(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Ke=F=>{const B=J=>J.slice().sort().join("|");return B(F.categories)!==B(ae.categories)?"category":B(F.subcategories)!==B(ae.subcategories)?"subcategory":B(F.levels)!==B(ae.levels)?"levels":B(F.languages)!==B(ae.languages)?"languages":B(F.features)!==B(ae.features)?"features":F.rating!==ae.rating?"rating":F.priceRange[0]!==ae.priceRange[0]||F.priceRange[1]!==ae.priceRange[1]?"priceRange":"features"},it=F=>{oe(F);const B={category:f||void 0,subcategory:k||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Ke(F),...B})};j.useEffect(()=>{(async()=>{try{if(!a){l(c1),h(c1),z(!1);return}z(!0);const B=await fetch(a);if(!B.ok)throw new Error(`Failed to fetch courses from ${a}`);const J=await B.json();l(J),h(J);const Ee=J.map(He=>jj(He.title||"")).filter(He=>!!He).reduce((He,Et)=>(He[Et]=(He[Et]||0)+1,He),{}),Qe=Object.entries(Ee).sort((He,Et)=>Et[1]-He[1]).slice(0,10).map(([He])=>He);D(Qe)}catch(B){console.error("[Courses] Error loading data:",B),l(c1),h(c1)}finally{z(!1)}})()},[a]),j.useEffect(()=>{var J;const B=(J=new URLSearchParams(window.location.search).get("q"))==null?void 0:J.trim();if(B){_(B);const we=c.filter(Ee=>{var Qe;return Ee.title.toLowerCase().includes(B.toLowerCase())||((Qe=Ee.description)==null?void 0:Qe.toLowerCase().includes(B.toLowerCase()))});h(we)}},[c]),j.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),j.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const yt=F=>{ee.allowSaving&&p(B=>{const J=new Set(B),we=J.has(F);return we?J.delete(F):J.add(F),Q(we?"course_unfavorited":"course_favorited",{courseId:F}),J})},xt=F=>{if(ee.maskExternalLinks)return;const B=c.find(J=>J.id===F);B!=null&&B.link&&(Q("course_enroll_clicked",{courseId:F}),Q("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(B.link,"_blank","noopener,noreferrer"))};j.useEffect(()=>{ve.current||T||!W.length&&!c.length||(Q("courses_listing_viewed",{...ue(),...de()}),ve.current=!0)},[c.length,Q,W.length,ue,de,T]);const ot=F=>{const B=ie(F);x(B===f?"":B),y(""),Q("courses_category_selected",{category:B===f?null:B}),Q("courses_filter_changed",{changedKey:"category",...ue()})},Ue=F=>{const B=ie(F);y(B===k?"":B),Q("courses_subcategory_selected",{subcategory:B===k?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...ue()})},kt=()=>{oe({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),x(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},at=()=>{L(!A)},Ra=F=>{C(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(b-1)*ne+1,gt=Math.min(b*ne,W.length),xa=F=>{if(_(F),!F){h(c),$([]);return}const B=c.filter(we=>{var Ee;return we.title.toLowerCase().includes(F.toLowerCase())||((Ee=we.description)==null?void 0:Ee.toLowerCase().includes(F.toLowerCase()))});h(B);const J=B.map(we=>we.title).filter((we,Ee,Qe)=>we&&we.toLowerCase().includes(F.toLowerCase())&&Qe.indexOf(we)===Ee).slice(0,5);$(J),F.trim()&&Q("courses_search_submitted",{query:F,...ue()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(Cj,{onSearchChange:xa,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:q,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),t.jsx(vF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(Lj,{filters:[...f?[{key:"category",label:"Category",value:f.replace(/-/g," "),onRemove:()=>x("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>oe(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...R?[{key:"search",label:"Search",value:R,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:kt}),t.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[t.jsx("div",{className:"block lg:hidden w-full",children:t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:c.map(F=>F.title),onSelect:F=>{const B=c.filter(J=>J.title.toLowerCase().includes(F.toLowerCase()));h(B),_(F)},onTyping:F=>{N(!!F),F||(h(c),_(""))}}),t.jsx(JL,{sortBy:m,onFiltersChange:it,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,filters:ae,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:A,toggleMobileFilter:at,enableMobileFilter:e,showFilterName:!S,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(JL,{filters:ae,sortBy:m,onFiltersChange:it,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:A,toggleMobileFilter:at,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(Sj,{viewMode:E,onToggleViewMode:ye,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:gt,title:"All Courses"}),T?t.jsx(Mj,{totalColumns:3}):t.jsx(CF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:kt,itemsPerPage:ne,handleEnroll:xt,currentPage:b,setCurrentPage:Ra,viewMode:E,userAccess:ee})]})]})]})]})};var FC={exports:{}},Hj={};function LF(a){return a&&a.__esModule?a:{default:a}}Hj._=LF;var hA={};function uA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(uA=function(n){return n?r:e})(a)}function SF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=uA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in a)if(s!=="default"&&Object.prototype.hasOwnProperty.call(a,s)){var c=i?Object.getOwnPropertyDescriptor(a,s):null;c&&(c.get||c.set)?Object.defineProperty(n,s,c):n[s]=a[s]}return n.default=a,r&&r.set(a,n),n}hA._=SF;var fC={},YL;function IF(){return YL||(YL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Hj._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(fC)),fC}var l1={exports:{}},KL;function NF(){return KL||(KL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return s}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(c){return["async","defer","noModule"].includes(c)}function s(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&i(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&i(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(l1,l1.exports)),l1.exports}var d1={exports:{}},QL;function AF(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(s,c){for(var l in c)Object.defineProperty(s,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(s){let c=Date.now();return self.setTimeout(function(){s({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(s){return clearTimeout(s)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(d1,d1.exports)),d1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(C,A){for(var L in A)Object.defineProperty(C,L,{enumerable:!0,get:A[L]})}r(e,{default:function(){return b},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=Hj,i=hA,s=t,c=n._(WC),l=i._(j),d=IF(),h=NF(),u=AF(),p=new Map,f=new Set,x=C=>{if(c.default.preinit){C.forEach(A=>{c.default.preinit(A,{as:"style"})});return}if(typeof window<"u"){let A=document.head;C.forEach(L=>{let S=document.createElement("link");S.type="text/css",S.rel="stylesheet",S.href=L,A.appendChild(S)})}},k=C=>{const{src:A,id:L,onLoad:S=()=>{},onReady:N=null,dangerouslySetInnerHTML:T,children:z="",strategy:R="afterInteractive",onError:_,stylesheets:q}=C,D=L||A;if(D&&f.has(D))return;if(p.has(A)){f.add(D),p.get(A).then(S,_);return}const V=()=>{N&&N(),f.add(D)},$=document.createElement("script"),E=new Promise((re,ne)=>{$.addEventListener("load",function(se){re(),S&&S.call(this,se),V()}),$.addEventListener("error",function(se){ne(se)})}).catch(function(re){_&&_(re)});T?($.innerHTML=T.__html||"",V()):z?($.textContent=typeof z=="string"?z:Array.isArray(z)?z.join(""):"",V()):A&&($.src=A,p.set(A,E)),(0,h.setAttributesFromProps)($,C),R==="worker"&&$.setAttribute("type","text/partytown"),$.setAttribute("data-nscript",R),q&&x(q),document.body.appendChild($)};function y(C){const{strategy:A="afterInteractive"}=C;A==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))}):k(C)}function m(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))})}function g(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(A=>{const L=A.id||A.getAttribute("src");f.add(L)})}function w(C){C.forEach(y),g()}function M(C){const{id:A,src:L="",onLoad:S=()=>{},onReady:N=null,strategy:T="afterInteractive",onError:z,stylesheets:R,..._}=C;let{updateScripts:q,scripts:D,getIsSsr:V,appDir:$,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const se=A||L;re.current||(N&&se&&f.has(se)&&N(),re.current=!0)},[N,A,L]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(T==="afterInteractive"?k(C):T==="lazyOnload"&&m(C),ne.current=!0)},[C,T]),(T==="beforeInteractive"||T==="worker")&&(q?(D[T]=(D[T]||[]).concat([{id:A,src:L,onLoad:S,onReady:N,onError:z,..._,nonce:E}]),q(D)):V&&V()?f.add(A||L):V&&!V()&&k({...C,nonce:E})),$){if(R&&R.forEach(se=>{c.default.preinit(se,{as:"style"})}),T==="beforeInteractive")return L?(c.default.preload(L,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,s.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{..._,id:A}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:A}])+")"}}));T==="afterInteractive"&&L&&c.default.preload(L,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const b=M;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)})(FC,FC.exports);var _F=FC.exports,PF=_F;const qF=SP(PF),TF=`
7807
+ `,children:[t.jsx("span",{children:f.name}),t.jsx("span",{className:"text-xs text-gray-500",children:f.courseCount})]},f.id)})})]},h.id)})})]})},XL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f})=>{const[x,k]=j.useState(!1),y=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],m=["English","Spanish","French","German","Multiple"],g=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const N=a.languages.includes(C)?a.languages.filter(L=>L!==C):[...a.languages,C];r({...a,languages:N})},M=C=>{const N=a.features.includes(C)?a.features.filter(L=>L!==C):[...a.features,C];r({...a,features:N})},b=a.levels.length>0||a.languages.length>0||a.features.length>0||a.rating>0||a.priceRange[0]>0||a.priceRange[1]<2e3;return t.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[t.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ms,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),b&&t.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[b&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>k(!x),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Go,{className:`w-4 h-4 transition-transform ${x?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",s," courses"]})]}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),t.jsx("select",{id:"sort-select",value:e,onChange:C=>n(C.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:y.map(C=>t.jsx("option",{value:C.value,children:C.label},C.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(wF,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),t.jsx("div",{className:"space-y-2",children:m.map(C=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),t.jsx("div",{className:"space-y-2",children:g.map(C=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(C),onChange:()=>M(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},MF=({isOpen:a,onClose:e,title:r="Filters",children:n})=>a?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),t.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"p-4",children:n})]})]}):null,JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:f,toggleMobileFilter:x,enableMobileFilter:k,showFilterName:y=!0,isMobile:m=!1})=>t.jsxs("aside",{className:m?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:x,"aria-expanded":f,children:t.jsx(Ya,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(MF,{isOpen:f,onClose:x,title:"Filters",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:s,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),bF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[s,c]=j.useState(!1),l=(p,f)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:f}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=i.allowSaving,u=i.maskExternalLinks;return t.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[t.jsxs("div",{className:"relative",children:[t.jsx("img",{src:a.thumbnail||"/placeholder.svg",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${s?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!s&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx(Wt,{className:"w-12 h-12 text-gray-400"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBestseller&&t.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),a.isNew&&t.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),a.isFeatured&&t.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),t.jsx("button",{onClick:()=>r(a.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:t.jsx(js,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:a.title}),t.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[t.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:wj[i.status]}),i.note&&t.jsx("span",{className:"text-xs text-gray-500",children:i.note})]}),t.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",a.instructor]}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:a.description}),t.jsxs("div",{className:"flex items-center mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ut,{className:"w-4 h-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:a.rating})]}),typeof a.reviewCount=="number"&&t.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",a.reviewCount.toLocaleString()," reviews)"]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:a.duration})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"w-4 h-4 mr-1"}),typeof a.enrollmentCount=="number"&&t.jsxs("span",{children:[d(a.enrollmentCount)," students"]})]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[t.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${a.level==="Beginner"?"bg-green-100 text-green-800":a.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:a.level}),a.certificate&&t.jsxs("div",{className:"flex items-center text-indigo-600",children:[t.jsx(La,{className:"w-4 h-4 mr-1"}),t.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[typeof a.price=="number"&&a.currency&&t.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(a.price,a.currency)}),typeof a.originalPrice=="number"&&!isNaN(a.originalPrice)&&t.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(a.originalPrice,a.currency)})]}),u?t.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):t.jsx("button",{onClick:()=>n(a.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},CF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:s,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(a.length/i),p=a.slice((c-1)*i,c*i),f=j.useRef(null),x=k=>{l(k),setTimeout(()=>{var y;(y=f.current)==null||y.scrollIntoView({behavior:"smooth",block:"start"})},100)};return a.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,y)=>t.jsx("div",{ref:y===0?f:null,children:t.jsx(bF,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Ij,{currentPage:c,totalPages:u,onPageChange:x})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Wt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),t.jsx("button",{onClick:s,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},jF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:s})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[f,x]=j.useState(""),[k,y]=j.useState(""),[m,g]=j.useState("relevance"),[w,M]=j.useState(!1),[b,C]=j.useState(1),[N,L]=j.useState(!1),[S,A]=j.useState(!1),[T,R]=j.useState(!0),[D,_]=j.useState(""),[q,z]=j.useState([]),[V,$]=j.useState([]),[E,re]=j.useState("grid"),[ne,se]=j.useState(r),[ae,oe]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=S9(n),le=j.useMemo(()=>({component:"IGamingCoursePage",...s??{}}),[s]),ve=j.useRef(!1),W=j.useMemo(()=>{let F=[...d];switch(f&&(F=F.filter(B=>ie(B.category)===f)),k&&(F=F.filter(B=>ie(B.subcategory)===k)),ae.levels.length>0&&(F=F.filter(B=>ae.levels.includes(B.level))),ae.languages.length>0&&(F=F.filter(B=>ae.languages.includes(B.language))),ae.features.length>0&&(F=F.filter(B=>ae.features.some(J=>B.features.includes(J)))),ae.rating>0&&(F=F.filter(B=>B.rating>=ae.rating)),w&&(F=F.filter(B=>u.has(B.id))),m){case"price-low-high":F.sort((B,J)=>B.price-J.price);break;case"price-high-low":F.sort((B,J)=>J.price-B.price);break;case"rating":F.sort((B,J)=>J.rating-B.rating);break;case"newest":F.sort((B,J)=>new Date(J.lastUpdated).getTime()-new Date(B.lastUpdated).getTime());break;case"most-enrolled":F.sort((B,J)=>J.enrollmentCount-B.enrollmentCount);break;default:F.sort((B,J)=>B.isFeatured&&!J.isFeatured?-1:!B.isFeatured&&J.isFeatured?1:B.isBestseller&&!J.isBestseller?-1:!B.isBestseller&&J.isBestseller?1:J.rating-B.rating)}return F},[d,f,k,ae,u,w,m]),Q=j.useCallback((F,B)=>{i&&i({domain:"courses",name:F,payload:B,timestamp:new Date().toISOString(),context:le})},[le,i]),ue=j.useCallback(()=>({category:f||void 0,subcategory:k||void 0,levels:ae.levels,languages:ae.languages,features:ae.features,rating:ae.rating,priceRange:ae.priceRange,favoritesOnly:w}),[ae.features,ae.languages,ae.levels,ae.priceRange,ae.rating,f,k,w]),de=j.useCallback(()=>({page:b,pageSize:ne,totalResults:W.length,sortBy:m,viewMode:E}),[b,W.length,ne,m,E]),ye=()=>{re(F=>{const B=F==="grid"?"list":"grid";return Q("courses_listing_viewmode_changed",{viewMode:B}),B})},ie=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Pe=j.useMemo(()=>{const F=new Map;return c.forEach(B=>{const J=B.category,we=B.subcategory,Ee=ie(J),Qe=ie(we);if(!Ee)return;F.has(Ee)||F.set(Ee,new Map);const He=F.get(Ee);Qe&&He.set(Qe,(He.get(Qe)??0)+1)}),Array.from(F.entries()).map(([B,J])=>({id:B,name:B.replace(/-/g," ").replace(/\b\w/g,we=>we.toUpperCase()),icon:"🎯",subcategories:Array.from(J.entries()).map(([we,Ee])=>({id:we,name:we.replace(/-/g," ").replace(/\b\w/g,Qe=>Qe.toUpperCase()),courseCount:Ee}))}))},[c]),qe=F=>{se(F),C(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Ke=F=>{const B=J=>J.slice().sort().join("|");return B(F.categories)!==B(ae.categories)?"category":B(F.subcategories)!==B(ae.subcategories)?"subcategory":B(F.levels)!==B(ae.levels)?"levels":B(F.languages)!==B(ae.languages)?"languages":B(F.features)!==B(ae.features)?"features":F.rating!==ae.rating?"rating":F.priceRange[0]!==ae.priceRange[0]||F.priceRange[1]!==ae.priceRange[1]?"priceRange":"features"},it=F=>{oe(F);const B={category:f||void 0,subcategory:k||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Ke(F),...B})};j.useEffect(()=>{(async()=>{try{if(!a){l(c1),h(c1),R(!1);return}R(!0);const B=await fetch(a);if(!B.ok)throw new Error(`Failed to fetch courses from ${a}`);const J=await B.json();l(J),h(J);const Ee=J.map(He=>jj(He.title||"")).filter(He=>!!He).reduce((He,Et)=>(He[Et]=(He[Et]||0)+1,He),{}),Qe=Object.entries(Ee).sort((He,Et)=>Et[1]-He[1]).slice(0,10).map(([He])=>He);z(Qe)}catch(B){console.error("[Courses] Error loading data:",B),l(c1),h(c1)}finally{R(!1)}})()},[a]),j.useEffect(()=>{var J;const B=(J=new URLSearchParams(window.location.search).get("q"))==null?void 0:J.trim();if(B){_(B);const we=c.filter(Ee=>{var Qe;return Ee.title.toLowerCase().includes(B.toLowerCase())||((Qe=Ee.description)==null?void 0:Qe.toLowerCase().includes(B.toLowerCase()))});h(we)}},[c]),j.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),j.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const yt=F=>{ee.allowSaving&&p(B=>{const J=new Set(B),we=J.has(F);return we?J.delete(F):J.add(F),Q(we?"course_unfavorited":"course_favorited",{courseId:F}),J})},xt=F=>{if(ee.maskExternalLinks)return;const B=c.find(J=>J.id===F);B!=null&&B.link&&(Q("course_enroll_clicked",{courseId:F}),Q("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(B.link,"_blank","noopener,noreferrer"))};j.useEffect(()=>{ve.current||T||!W.length&&!c.length||(Q("courses_listing_viewed",{...ue(),...de()}),ve.current=!0)},[c.length,Q,W.length,ue,de,T]);const ot=F=>{const B=ie(F);x(B===f?"":B),y(""),Q("courses_category_selected",{category:B===f?null:B}),Q("courses_filter_changed",{changedKey:"category",...ue()})},Ue=F=>{const B=ie(F);y(B===k?"":B),Q("courses_subcategory_selected",{subcategory:B===k?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...ue()})},kt=()=>{oe({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),x(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},at=()=>{L(!N)},Ra=F=>{C(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(b-1)*ne+1,gt=Math.min(b*ne,W.length),xa=F=>{if(_(F),!F){h(c),$([]);return}const B=c.filter(we=>{var Ee;return we.title.toLowerCase().includes(F.toLowerCase())||((Ee=we.description)==null?void 0:Ee.toLowerCase().includes(F.toLowerCase()))});h(B);const J=B.map(we=>we.title).filter((we,Ee,Qe)=>we&&we.toLowerCase().includes(F.toLowerCase())&&Qe.indexOf(we)===Ee).slice(0,5);$(J),F.trim()&&Q("courses_search_submitted",{query:F,...ue()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(Cj,{onSearchChange:xa,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:q,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),t.jsx(vF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(Lj,{filters:[...f?[{key:"category",label:"Category",value:f.replace(/-/g," "),onRemove:()=>x("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>oe(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...D?[{key:"search",label:"Search",value:D,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:kt}),t.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[t.jsx("div",{className:"block lg:hidden w-full",children:t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(bj,{data:c.map(F=>F.title),onSelect:F=>{const B=c.filter(J=>J.title.toLowerCase().includes(F.toLowerCase()));h(B),_(F)},onTyping:F=>{A(!!F),F||(h(c),_(""))}}),t.jsx(JL,{sortBy:m,onFiltersChange:it,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,filters:ae,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:at,enableMobileFilter:e,showFilterName:!S,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(JL,{filters:ae,sortBy:m,onFiltersChange:it,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:at,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(Sj,{viewMode:E,onToggleViewMode:ye,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:gt,title:"All Courses"}),T?t.jsx(Mj,{totalColumns:3}):t.jsx(CF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:kt,itemsPerPage:ne,handleEnroll:xt,currentPage:b,setCurrentPage:Ra,viewMode:E,userAccess:ee})]})]})]})]})};var FC={exports:{}},Hj={};function LF(a){return a&&a.__esModule?a:{default:a}}Hj._=LF;var hA={};function uA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(uA=function(n){return n?r:e})(a)}function SF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=uA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in a)if(s!=="default"&&Object.prototype.hasOwnProperty.call(a,s)){var c=i?Object.getOwnPropertyDescriptor(a,s):null;c&&(c.get||c.set)?Object.defineProperty(n,s,c):n[s]=a[s]}return n.default=a,r&&r.set(a,n),n}hA._=SF;var fC={},YL;function IF(){return YL||(YL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Hj._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(fC)),fC}var l1={exports:{}},KL;function NF(){return KL||(KL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return s}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(c){return["async","defer","noModule"].includes(c)}function s(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&i(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&i(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(l1,l1.exports)),l1.exports}var d1={exports:{}},QL;function AF(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(s,c){for(var l in c)Object.defineProperty(s,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(s){let c=Date.now();return self.setTimeout(function(){s({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(s){return clearTimeout(s)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(d1,d1.exports)),d1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(C,N){for(var L in N)Object.defineProperty(C,L,{enumerable:!0,get:N[L]})}r(e,{default:function(){return b},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=Hj,i=hA,s=t,c=n._(WC),l=i._(j),d=IF(),h=NF(),u=AF(),p=new Map,f=new Set,x=C=>{if(c.default.preinit){C.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;C.forEach(L=>{let S=document.createElement("link");S.type="text/css",S.rel="stylesheet",S.href=L,N.appendChild(S)})}},k=C=>{const{src:N,id:L,onLoad:S=()=>{},onReady:A=null,dangerouslySetInnerHTML:T,children:R="",strategy:D="afterInteractive",onError:_,stylesheets:q}=C,z=L||N;if(z&&f.has(z))return;if(p.has(N)){f.add(z),p.get(N).then(S,_);return}const V=()=>{A&&A(),f.add(z)},$=document.createElement("script"),E=new Promise((re,ne)=>{$.addEventListener("load",function(se){re(),S&&S.call(this,se),V()}),$.addEventListener("error",function(se){ne(se)})}).catch(function(re){_&&_(re)});T?($.innerHTML=T.__html||"",V()):R?($.textContent=typeof R=="string"?R:Array.isArray(R)?R.join(""):"",V()):N&&($.src=N,p.set(N,E)),(0,h.setAttributesFromProps)($,C),D==="worker"&&$.setAttribute("type","text/partytown"),$.setAttribute("data-nscript",D),q&&x(q),document.body.appendChild($)};function y(C){const{strategy:N="afterInteractive"}=C;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))}):k(C)}function m(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))})}function g(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const L=N.id||N.getAttribute("src");f.add(L)})}function w(C){C.forEach(y),g()}function M(C){const{id:N,src:L="",onLoad:S=()=>{},onReady:A=null,strategy:T="afterInteractive",onError:R,stylesheets:D,..._}=C;let{updateScripts:q,scripts:z,getIsSsr:V,appDir:$,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const se=N||L;re.current||(A&&se&&f.has(se)&&A(),re.current=!0)},[A,N,L]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(T==="afterInteractive"?k(C):T==="lazyOnload"&&m(C),ne.current=!0)},[C,T]),(T==="beforeInteractive"||T==="worker")&&(q?(z[T]=(z[T]||[]).concat([{id:N,src:L,onLoad:S,onReady:A,onError:R,..._,nonce:E}]),q(z)):V&&V()?f.add(N||L):V&&!V()&&k({...C,nonce:E})),$){if(D&&D.forEach(se=>{c.default.preinit(se,{as:"style"})}),T==="beforeInteractive")return L?(c.default.preload(L,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,s.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{..._,id:N}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:N}])+")"}}));T==="afterInteractive"&&L&&c.default.preload(L,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const b=M;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)})(FC,FC.exports);var _F=FC.exports,PF=_F;const qF=SP(PF),TF=`
7808
7808
  window.dataLayer = window.dataLayer || [];
7809
7809
  window.dataLayer.push({ event: 'consent_granted' });
7810
7810
  // gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted' });
7811
- `;function RF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=TF}){return t.jsx(WR,{allow:a,children:t.jsx(qF,{id:e,strategy:r,children:n})})}function Oj(a){const e=v.useRef({value:a,previous:a});return v.useMemo(()=>(e.current.value!==a&&(e.current.previous=e.current.value,e.current.value=a),e.current.previous),[a])}function Vj(a){const[e,r]=v.useState(void 0);return pt(()=>{if(a){r({width:a.offsetWidth,height:a.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let c,l;if("borderBoxSize"in s){const d=s.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=a.offsetWidth,l=a.offsetHeight;r({width:c,height:l})});return n.observe(a,{box:"border-box"}),()=>n.unobserve(a)}else r(void 0)},[a]),e}var R9="Checkbox",[DF]=ma(R9),[zF,Bj]=DF(R9);function FF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:s,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[f,x]=ar({prop:r,defaultProp:i??!1,onChange:d,caller:R9}),[k,y]=v.useState(null),[m,g]=v.useState(null),w=v.useRef(!1),M=k?!!c||!!k.closest("form"):!0,b={checked:f,disabled:s,setChecked:x,control:k,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:er(i)?!1:i,isFormControl:M,bubbleInput:m,setBubbleInput:g};return t.jsx(zF,{scope:e,...b,children:EF(p)?p(b):n})}var pA="CheckboxTrigger",yA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:s,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:x,bubbleInput:k}=Bj(pA,a),y=je(i,u),m=v.useRef(d);return v.useEffect(()=>{const g=s==null?void 0:s.form;if(g){const w=()=>p(m.current);return g.addEventListener("reset",w),()=>g.removeEventListener("reset",w)}},[s,p]),t.jsx(me.button,{type:"button",role:"checkbox","aria-checked":er(d)?"mixed":d,"aria-required":h,"data-state":gA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:he(e,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:he(r,g=>{p(w=>er(w)?!0:!w),k&&x&&(f.current=g.isPropagationStopped(),f.current||g.stopPropagation())})})});yA.displayName=pA;var Uj=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:s,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(FF,{__scopeCheckbox:r,checked:i,defaultChecked:s,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:f})=>t.jsxs(t.Fragment,{children:[t.jsx(yA,{...p,ref:e,__scopeCheckbox:r}),f&&t.jsx(kA,{__scopeCheckbox:r})]})})});Uj.displayName=R9;var mA="CheckboxIndicator",fA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,s=Bj(mA,r);return t.jsx(cr,{present:n||er(s.checked)||s.checked===!0,children:t.jsx(me.span,{"data-state":gA(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});fA.displayName=mA;var xA="CheckboxBubbleInput",kA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:f,setBubbleInput:x}=Bj(xA,a),k=je(r,x),y=Oj(s),m=Vj(n);v.useEffect(()=>{const w=f;if(!w)return;const M=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(M,"checked").set,A=!i.current;if(y!==s&&C){const L=new Event("click",{bubbles:A});w.indeterminate=er(s),C.call(w,er(s)?!1:s),w.dispatchEvent(L)}},[f,y,s,i]);const g=v.useRef(er(s)?!1:s);return t.jsx(me.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??g.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});kA.displayName=xA;function EF(a){return typeof a=="function"}function er(a){return a==="indeterminate"}function gA(a){return er(a)?"indeterminate":a?"checked":"unchecked"}const $j=v.forwardRef(({className:a,...e},r)=>t.jsx(Uj,{ref:r,className:ce("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...e,children:t.jsx(fA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(ws,{className:"h-4 w-4"})})}));$j.displayName=Uj.displayName;const HF=w9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),D9=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(HF({variant:e}),a),...r}));D9.displayName="Alert";const OF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));OF.displayName="AlertTitle";const z9=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));z9.displayName="AlertDescription";function VF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:s="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=j.useState(""),[p,f]=j.useState(""),[x,k]=j.useState(!1),y=m=>{m.preventDefault(),a(h,p,x)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(Ce,{className:"space-y-4",children:[i&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"identifier",children:l}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"identifier",type:"text",placeholder:d,value:h,onChange:m=>u(m.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(Cc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:m=>f(m.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($j,{id:"remember",checked:x,onCheckedChange:m=>k(m),disabled:n}),t.jsx(fe,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&t.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const BF=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:s="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(VF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function UF({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:s="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(x,k)=>d(y=>({...y,[x]:k})),f=x=>{if(x.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}a(l)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:f,children:[t.jsxs(Ce,{className:"space-y-4",children:[(i||h)&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:i||h})]}),e.map(x=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:x.name,children:x.label}),t.jsx(tt,{id:x.name,type:x.type||"text",placeholder:x.placeholder,required:x.required,disabled:n,value:l[x.name]||"",onChange:k=>p(x.name,k.target.value)})]},x.name))]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const $F=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:s="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(UF,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})});function GF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:s="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=j.useState(""),u=p=>{p.preventDefault(),a(d)};return i?t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx("div",{className:"flex items-center justify-center mb-4",children:t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:t.jsx(Nt,{className:"h-6 w-6 text-green-600"})})}),t.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Ge,{className:"text-center",children:l})]}),t.jsx(Hs,{className:"flex flex-col space-y-4",children:e&&t.jsxs(G,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx($o,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(Ce,{className:"space-y-4",children:[n&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email Address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&t.jsxs(G,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx($o,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const WF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:s="Your App",logo:c})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(GF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function eS(a,[e,r]){return Math.min(r,Math.max(e,a))}const ZF=["top","right","bottom","left"],or=Math.min,At=Math.max,y9=Math.round,h1=Math.floor,ua=a=>({x:a,y:a}),XF={left:"right",right:"left",bottom:"top",top:"bottom"},JF={start:"end",end:"start"};function EC(a,e,r){return At(a,or(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function Qs(a){return a.split("-")[1]}function Gj(a){return a==="x"?"y":"x"}function Wj(a){return a==="y"?"height":"width"}const YF=new Set(["top","bottom"]);function la(a){return YF.has(qa(a))?"y":"x"}function Zj(a){return Gj(la(a))}function KF(a,e,r){r===void 0&&(r=!1);const n=Qs(a),i=Zj(a),s=Wj(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(c=m9(c)),[c,m9(c)]}function QF(a){const e=m9(a);return[HC(a),e,HC(e)]}function HC(a){return a.replace(/start|end/g,e=>JF[e])}const tS=["left","right"],aS=["right","left"],eE=["top","bottom"],tE=["bottom","top"];function aE(a,e,r){switch(a){case"top":case"bottom":return r?e?aS:tS:e?tS:aS;case"left":case"right":return e?eE:tE;default:return[]}}function rE(a,e,r,n){const i=Qs(a);let s=aE(qa(a),r==="start",n);return i&&(s=s.map(c=>c+"-"+i),e&&(s=s.concat(s.map(HC)))),s}function m9(a){return a.replace(/left|right|bottom|top/g,e=>XF[e])}function nE(a){return{top:0,right:0,bottom:0,left:0,...a}}function vA(a){return typeof a!="number"?nE(a):{top:a,right:a,bottom:a,left:a}}function f9(a){const{x:e,y:r,width:n,height:i}=a;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function rS(a,e,r){let{reference:n,floating:i}=a;const s=la(e),c=Zj(e),l=Wj(c),d=qa(e),h=s==="y",u=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,f=n[l]/2-i[l]/2;let x;switch(d){case"top":x={x:u,y:n.y-i.height};break;case"bottom":x={x:u,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:p};break;case"left":x={x:n.x-i.width,y:p};break;default:x={x:n.x,y:n.y}}switch(Qs(e)){case"start":x[c]-=f*(r&&h?-1:1);break;case"end":x[c]+=f*(r&&h?-1:1);break}return x}const iE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,l=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:a,floating:e,strategy:i}),{x:u,y:p}=rS(h,n,d),f=n,x={},k=0;for(let y=0;y<l.length;y++){const{name:m,fn:g}=l[y],{x:w,y:M,data:b,reset:C}=await g({x:u,y:p,initialPlacement:n,placement:f,strategy:i,middlewareData:x,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,x={...x,[m]:{...x[m],...b}},C&&k<=50&&(k++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):C.rects),{x:u,y:p}=rS(h,f,d)),y=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:x}};async function Gc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:x=0}=Pa(e,a),k=vA(x),m=l[f?p==="floating"?"reference":"floating":p],g=f9(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(m)))==null||r?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),b=await(s.isElement==null?void 0:s.isElement(M))?await(s.getScale==null?void 0:s.getScale(M))||{x:1,y:1}:{x:1,y:1},C=f9(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(g.top-C.top+k.top)/b.y,bottom:(C.bottom-g.bottom+k.bottom)/b.y,left:(g.left-C.left+k.left)/b.x,right:(C.right-g.right+k.right)/b.x}}const oE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:s,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=vA(u),f={x:r,y:n},x=Zj(i),k=Wj(x),y=await c.getDimensions(h),m=x==="y",g=m?"top":"left",w=m?"bottom":"right",M=m?"clientHeight":"clientWidth",b=s.reference[k]+s.reference[x]-f[x]-s.floating[k],C=f[x]-s.reference[x],A=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=A?A[M]:0;(!L||!await(c.isElement==null?void 0:c.isElement(A)))&&(L=l.floating[M]||s.floating[k]);const S=b/2-C/2,N=L/2-y[k]/2-1,T=or(p[g],N),z=or(p[w],N),R=T,_=L-y[k]-z,q=L/2-y[k]/2+S,D=EC(R,q,_),V=!d.arrow&&Qs(i)!=null&&q!==D&&s.reference[k]/2-(q<R?T:z)-y[k]/2<0,$=V?q<R?q-R:q-_:0;return{[x]:f[x]+$,data:{[x]:D,centerOffset:q-D-$,...V&&{alignmentOffset:$}},reset:V}}}),sE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:s,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:y=!0,...m}=Pa(a,e);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const g=qa(i),w=la(l),M=qa(l)===l,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=f||(M||!y?[m9(l)]:QF(l)),A=k!=="none";!f&&A&&C.push(...rE(l,y,k,b));const L=[l,...C],S=await Gc(e,m),N=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&N.push(S[g]),p){const q=KF(i,c,b);N.push(S[q[0]],S[q[1]])}if(T=[...T,{placement:i,overflows:N}],!N.every(q=>q<=0)){var z,R;const q=(((z=s.flip)==null?void 0:z.index)||0)+1,D=L[q];if(D&&(!(p==="alignment"?w!==la(D):!1)||T.every(E=>la(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:q,overflows:T},reset:{placement:D}};let V=(R=T.filter($=>$.overflows[0]<=0).sort(($,E)=>$.overflows[1]-E.overflows[1])[0])==null?void 0:R.placement;if(!V)switch(x){case"bestFit":{var _;const $=(_=T.filter(E=>{if(A){const re=la(E.placement);return re===w||re==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(re=>re>0).reduce((re,ne)=>re+ne,0)]).sort((E,re)=>E[1]-re[1])[0])==null?void 0:_[0];$&&(V=$);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function nS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function iS(a){return ZF.some(e=>a[e]>=0)}const cE=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...i}=Pa(a,e);switch(n){case"referenceHidden":{const s=await Gc(e,{...i,elementContext:"reference"}),c=nS(s,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:iS(c)}}}case"escaped":{const s=await Gc(e,{...i,altBoundary:!0}),c=nS(s,r.floating);return{data:{escapedOffsets:c,escaped:iS(c)}}}default:return{}}}}},wA=new Set(["left","top"]);async function lE(a,e){const{placement:r,platform:n,elements:i}=a,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=Qs(r),d=la(r)==="y",h=wA.has(c)?-1:1,u=s&&d?-1:1,p=Pa(e,a);let{mainAxis:f,crossAxis:x,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(x=l==="end"?k*-1:k),d?{x:x*u,y:f*h}:{x:f*h,y:x*u}}const dE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:s,placement:c,middlewareData:l}=e,d=await lE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:c}}}}},hE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:m=>{let{x:g,y:w}=m;return{x:g,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Gc(e,d),p=la(qa(i)),f=Gj(p);let x=h[f],k=h[p];if(s){const m=f==="y"?"top":"left",g=f==="y"?"bottom":"right",w=x+u[m],M=x-u[g];x=EC(w,x,M)}if(c){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=k+u[m],M=k-u[g];k=EC(w,k,M)}const y=l.fn({...e,[f]:x,[p]:k});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:s,[p]:c}}}}}},uE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:s,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),f=Gj(p);let x=u[f],k=u[p];const y=Pa(l,e),m=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=f==="y"?"height":"width",b=s.reference[f]-s.floating[M]+m.mainAxis,C=s.reference[f]+s.reference[M]-m.mainAxis;x<b?x=b:x>C&&(x=C)}if(h){var g,w;const M=f==="y"?"width":"height",b=wA.has(qa(i)),C=s.reference[p]-s.floating[M]+(b&&((g=c.offset)==null?void 0:g[p])||0)+(b?0:m.crossAxis),A=s.reference[p]+s.reference[M]+(b?0:((w=c.offset)==null?void 0:w[p])||0)-(b?m.crossAxis:0);k<C?k=C:k>A&&(k=A)}return{[f]:x,[p]:k}}}},pE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:s,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Gc(e,h),p=qa(i),f=Qs(i),x=la(i)==="y",{width:k,height:y}=s.floating;let m,g;p==="top"||p==="bottom"?(m=p,g=f===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,m=f==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=k-u.left-u.right,b=or(y-u[m],w),C=or(k-u[g],M),A=!e.middlewareData.shift;let L=b,S=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(S=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),A&&!f){const T=At(u.left,0),z=At(u.right,0),R=At(u.top,0),_=At(u.bottom,0);x?S=k-2*(T!==0||z!==0?T+z:At(u.left,u.right)):L=y-2*(R!==0||_!==0?R+_:At(u.top,u.bottom))}await d({...e,availableWidth:S,availableHeight:L});const N=await c.getDimensions(l.floating);return k!==N.width||y!==N.height?{reset:{rects:!0}}:{}}}};function F9(){return typeof window<"u"}function ec(a){return MA(a)?(a.nodeName||"").toLowerCase():"#document"}function Dt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(MA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function MA(a){return F9()?a instanceof Node||a instanceof Dt(a).Node:!1}function ea(a){return F9()?a instanceof Element||a instanceof Dt(a).Element:!1}function ya(a){return F9()?a instanceof HTMLElement||a instanceof Dt(a).HTMLElement:!1}function oS(a){return!F9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Dt(a).ShadowRoot}const yE=new Set(["inline","contents"]);function Kc(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!yE.has(i)}const mE=new Set(["table","td","th"]);function fE(a){return mE.has(ec(a))}const xE=[":popover-open",":modal"];function E9(a){return xE.some(e=>{try{return a.matches(e)}catch{return!1}})}const kE=["transform","translate","scale","rotate","perspective"],gE=["transform","translate","scale","rotate","perspective","filter"],vE=["paint","layout","strict","content"];function Xj(a){const e=Jj(),r=ea(a)?ta(a):a;return kE.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||gE.some(n=>(r.willChange||"").includes(n))||vE.some(n=>(r.contain||"").includes(n))}function wE(a){let e=sr(a);for(;ya(e)&&!Ws(e);){if(Xj(e))return e;if(E9(e))return null;e=sr(e)}return null}function Jj(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ME=new Set(["html","body","#document"]);function Ws(a){return ME.has(ec(a))}function ta(a){return Dt(a).getComputedStyle(a)}function H9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function sr(a){if(ec(a)==="html")return a;const e=a.assignedSlot||a.parentNode||oS(a)&&a.host||fa(a);return oS(e)?e.host:e}function bA(a){const e=sr(a);return Ws(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&Kc(e)?e:bA(e)}function Wc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=bA(a),s=i===((n=a.ownerDocument)==null?void 0:n.body),c=Dt(i);if(s){const l=OC(c);return e.concat(c,c.visualViewport||[],Kc(i)?i:[],l&&r?Wc(l):[])}return e.concat(i,Wc(i,[],r))}function OC(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function CA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),s=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=y9(r)!==s||y9(n)!==c;return l&&(r=s,n=c),{width:r,height:n,$:l}}function Yj(a){return ea(a)?a:a.contextElement}function Fs(a){const e=Yj(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=CA(e);let c=(s?y9(r.width):r.width)/n,l=(s?y9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const bE=ua(0);function jA(a){const e=Dt(a);return!Jj()||!e.visualViewport?bE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function CE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==Dt(a)?!1:e}function as(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),s=Yj(a);let c=ua(1);e&&(n?ea(n)&&(c=Fs(n)):c=Fs(a));const l=CE(s,r,n)?jA(s):ua(0);let d=(i.left+l.x)/c.x,h=(i.top+l.y)/c.y,u=i.width/c.x,p=i.height/c.y;if(s){const f=Dt(s),x=n&&ea(n)?Dt(n):n;let k=f,y=OC(k);for(;y&&n&&x!==k;){const m=Fs(y),g=y.getBoundingClientRect(),w=ta(y),M=g.left+(y.clientLeft+parseFloat(w.paddingLeft))*m.x,b=g.top+(y.clientTop+parseFloat(w.paddingTop))*m.y;d*=m.x,h*=m.y,u*=m.x,p*=m.y,d+=M,h+=b,k=Dt(y),y=OC(k)}}return f9({width:u,height:p,x:d,y:h})}function O9(a,e){const r=H9(a).scrollLeft;return e?e.left+r:as(fa(a)).left+r}function LA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-O9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function jE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const s=i==="fixed",c=fa(n),l=e?E9(e.floating):!1;if(n===c||l&&s)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!s)&&((ec(n)!=="body"||Kc(c))&&(d=H9(n)),ya(n))){const x=as(n);h=Fs(n),u.x=x.x+n.clientLeft,u.y=x.y+n.clientTop}const f=c&&!p&&!s?LA(c,d):ua(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+f.x,y:r.y*h.y-d.scrollTop*h.y+u.y+f.y}}function LE(a){return Array.from(a.getClientRects())}function SE(a){const e=fa(a),r=H9(a),n=a.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+O9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:c,y:l}}const sS=25;function IE(a,e){const r=Dt(a),n=fa(a),i=r.visualViewport;let s=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){s=i.width,c=i.height;const u=Jj();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=O9(n);if(h<=0){const u=n.ownerDocument,p=u.body,f=getComputedStyle(p),x=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-x);k<=sS&&(s-=k)}else h<=sS&&(s+=h);return{width:s,height:c,x:l,y:d}}const NE=new Set(["absolute","fixed"]);function AE(a,e){const r=as(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,s=ya(a)?Fs(a):ua(1),c=a.clientWidth*s.x,l=a.clientHeight*s.y,d=i*s.x,h=n*s.y;return{width:c,height:l,x:d,y:h}}function cS(a,e,r){let n;if(e==="viewport")n=IE(a,r);else if(e==="document")n=SE(fa(a));else if(ea(e))n=AE(e,r);else{const i=jA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return f9(n)}function SA(a,e){const r=sr(a);return r===e||!ea(r)||Ws(r)?!1:ta(r).position==="fixed"||SA(r,e)}function _E(a,e){const r=e.get(a);if(r)return r;let n=Wc(a,[],!1).filter(l=>ea(l)&&ec(l)!=="body"),i=null;const s=ta(a).position==="fixed";let c=s?sr(a):a;for(;ea(c)&&!Ws(c);){const l=ta(c),d=Xj(c);!d&&l.position==="fixed"&&(i=null),(s?!d&&!i:!d&&l.position==="static"&&!!i&&NE.has(i.position)||Kc(c)&&!d&&SA(a,c))?n=n.filter(u=>u!==c):i=l,c=sr(c)}return e.set(a,n),n}function PE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?E9(e)?[]:_E(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=cS(e,u,i);return h.top=At(p.top,h.top),h.right=or(p.right,h.right),h.bottom=or(p.bottom,h.bottom),h.left=At(p.left,h.left),h},cS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qE(a){const{width:e,height:r}=CA(a);return{width:e,height:r}}function TE(a,e,r){const n=ya(e),i=fa(e),s=r==="fixed",c=as(a,!0,s,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=O9(i)}if(n||!n&&!s)if((ec(e)!=="body"||Kc(i))&&(l=H9(e)),n){const x=as(e,!0,s,e);d.x=x.x+e.clientLeft,d.y=x.y+e.clientTop}else i&&h();s&&!n&&i&&h();const u=i&&!n&&!s?LA(i,l):ua(0),p=c.left+l.scrollLeft-d.x-u.x,f=c.top+l.scrollTop-d.y-u.y;return{x:p,y:f,width:c.width,height:c.height}}function xC(a){return ta(a).position==="static"}function lS(a,e){if(!ya(a)||ta(a).position==="fixed")return null;if(e)return e(a);let r=a.offsetParent;return fa(a)===r&&(r=r.ownerDocument.body),r}function IA(a,e){const r=Dt(a);if(E9(a))return r;if(!ya(a)){let i=sr(a);for(;i&&!Ws(i);){if(ea(i)&&!xC(i))return i;i=sr(i)}return r}let n=lS(a,e);for(;n&&fE(n)&&xC(n);)n=lS(n,e);return n&&Ws(n)&&xC(n)&&!Xj(n)?r:n||wE(a)||r}const RE=async function(a){const e=this.getOffsetParent||IA,r=this.getDimensions,n=await r(a.floating);return{reference:TE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function DE(a){return ta(a).direction==="rtl"}const zE={convertOffsetParentRelativeRectToViewportRelativeRect:jE,getDocumentElement:fa,getClippingRect:PE,getOffsetParent:IA,getElementRects:RE,getClientRects:LE,getDimensions:qE,getScale:Fs,isElement:ea,isRTL:DE};function NA(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function FE(a,e){let r=null,n;const i=fa(a);function s(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),s();const h=a.getBoundingClientRect(),{left:u,top:p,width:f,height:x}=h;if(l||e(),!f||!x)return;const k=h1(p),y=h1(i.clientWidth-(u+f)),m=h1(i.clientHeight-(p+x)),g=h1(u),M={rootMargin:-k+"px "+-y+"px "+-m+"px "+-g+"px",threshold:At(0,or(1,d))||1};let b=!0;function C(A){const L=A[0].intersectionRatio;if(L!==d){if(!b)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!NA(h,a.getBoundingClientRect())&&c(),b=!1}try{r=new IntersectionObserver(C,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(C,M)}r.observe(a)}return c(!0),s}function EE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=Yj(a),u=i||s?[...h?Wc(h):[],...Wc(e)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",r,{passive:!0}),s&&g.addEventListener("resize",r)});const p=h&&l?FE(h,r):null;let f=-1,x=null;c&&(x=new ResizeObserver(g=>{let[w]=g;w&&w.target===h&&x&&(x.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var M;(M=x)==null||M.observe(e)})),r()}),h&&!d&&x.observe(h),x.observe(e));let k,y=d?as(a):null;d&&m();function m(){const g=as(a);y&&!NA(y,g)&&r(),y=g,k=requestAnimationFrame(m)}return r(),()=>{var g;u.forEach(w=>{i&&w.removeEventListener("scroll",r),s&&w.removeEventListener("resize",r)}),p==null||p(),(g=x)==null||g.disconnect(),x=null,d&&cancelAnimationFrame(k)}}const HE=dE,OE=hE,VE=sE,BE=pE,UE=cE,dS=oE,$E=uE,GE=(a,e,r)=>{const n=new Map,i={platform:zE,...r},s={...i.platform,_c:n};return iE(a,e,{...i,platform:s})};var WE=typeof document<"u",ZE=function(){},n9=WE?j.useLayoutEffect:ZE;function x9(a,e){if(a===e)return!0;if(typeof a!=typeof e)return!1;if(typeof a=="function"&&a.toString()===e.toString())return!0;let r,n,i;if(a&&e&&typeof a=="object"){if(Array.isArray(a)){if(r=a.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!x9(a[n],e[n]))return!1;return!0}if(i=Object.keys(a),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const s=i[n];if(!(s==="_owner"&&a.$$typeof)&&!x9(a[s],e[s]))return!1}return!0}return a!==a&&e!==e}function AA(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function hS(a,e){const r=AA(a);return Math.round(e*r)/r}function kC(a){const e=v.useRef(a);return n9(()=>{e.current=a}),e}function XE(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=a,[u,p]=v.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,x]=v.useState(n);x9(f,n)||x(n);const[k,y]=v.useState(null),[m,g]=v.useState(null),w=v.useCallback(E=>{E!==A.current&&(A.current=E,y(E))},[]),M=v.useCallback(E=>{E!==L.current&&(L.current=E,g(E))},[]),b=s||k,C=c||m,A=v.useRef(null),L=v.useRef(null),S=v.useRef(u),N=d!=null,T=kC(d),z=kC(i),R=kC(h),_=v.useCallback(()=>{if(!A.current||!L.current)return;const E={placement:e,strategy:r,middleware:f};z.current&&(E.platform=z.current),GE(A.current,L.current,E).then(re=>{const ne={...re,isPositioned:R.current!==!1};q.current&&!x9(S.current,ne)&&(S.current=ne,v9.flushSync(()=>{p(ne)}))})},[f,e,r,z,R]);n9(()=>{h===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const q=v.useRef(!1);n9(()=>(q.current=!0,()=>{q.current=!1}),[]),n9(()=>{if(b&&(A.current=b),C&&(L.current=C),b&&C){if(T.current)return T.current(b,C,_);_()}},[b,C,_,T,N]);const D=v.useMemo(()=>({reference:A,floating:L,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:b,floating:C}),[b,C]),$=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=hS(V.floating,u.x),ne=hS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",...AA(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:re,top:ne}},[r,l,V.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:_,refs:D,elements:V,floatingStyles:$}),[u,_,D,V,$])}const JE=a=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:a,fn(r){const{element:n,padding:i}=typeof a=="function"?a(r):a;return n&&e(n)?n.current!=null?dS({element:n.current,padding:i}).fn(r):{}:n?dS({element:n,padding:i}).fn(r):{}}}},YE=(a,e)=>({...HE(a),options:[a,e]}),KE=(a,e)=>({...OE(a),options:[a,e]}),QE=(a,e)=>({...$E(a),options:[a,e]}),eH=(a,e)=>({...VE(a),options:[a,e]}),tH=(a,e)=>({...BE(a),options:[a,e]}),aH=(a,e)=>({...UE(a),options:[a,e]}),rH=(a,e)=>({...JE(a),options:[a,e]});var nH="Arrow",_A=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...s}=a;return t.jsx(me.svg,{...s,ref:e,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?r:t.jsx("polygon",{points:"0,0 30,0 15,10"})})});_A.displayName=nH;var iH=_A,Kj="Popper",[PA,V9]=ma(Kj),[oH,qA]=PA(Kj),TA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(oH,{scope:e,anchor:n,onAnchorChange:i,children:r})};TA.displayName=Kj;var RA="PopperAnchor",DA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,s=qA(RA,r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return v.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&s.onAnchorChange(d.current)}),n?null:t.jsx(me.div,{...i,ref:l})});DA.displayName=RA;var Qj="PopperContent",[sH,cH]=PA(Qj),zA=v.forwardRef((a,e)=>{var W,Q,ue,de,ye,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:s="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:x="optimized",onPlaced:k,...y}=a,m=qA(Qj,r),[g,w]=v.useState(null),M=je(e,Pe=>w(Pe)),[b,C]=v.useState(null),A=Vj(b),L=(A==null?void 0:A.width)??0,S=(A==null?void 0:A.height)??0,N=n+(s!=="center"?"-"+s:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},z=Array.isArray(h)?h:[h],R=z.length>0,_={padding:T,boundary:z.filter(dH),altBoundary:R},{refs:q,floatingStyles:D,placement:V,isPositioned:$,middlewareData:E}=XE({strategy:"fixed",placement:N,whileElementsMounted:(...Pe)=>EE(...Pe,{animationFrame:x==="always"}),elements:{reference:m.anchor},middleware:[YE({mainAxis:i+S,alignmentAxis:c}),d&&KE({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?QE():void 0,..._}),d&&eH({..._}),tH({..._,apply:({elements:Pe,rects:qe,availableWidth:Ke,availableHeight:it})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Ke}px`),ot.setProperty("--radix-popper-available-height",`${it}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),b&&rH({element:b,padding:l}),hH({arrowWidth:L,arrowHeight:S}),f&&aH({strategy:"referenceHidden",..._})]}),[re,ne]=HA(V),se=tr(k);pt(()=>{$&&(se==null||se())},[$,se]);const ae=(W=E.arrow)==null?void 0:W.x,oe=(Q=E.arrow)==null?void 0:Q.y,ee=((ue=E.arrow)==null?void 0:ue.centerOffset)!==0,[le,ve]=v.useState();return pt(()=>{g&&ve(window.getComputedStyle(g).zIndex)},[g]),t.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:$?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=E.transformOrigin)==null?void 0:de.x,(ye=E.transformOrigin)==null?void 0:ye.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(sH,{scope:r,placedSide:re,onArrowChange:C,arrowX:ae,arrowY:oe,shouldHideArrow:ee,children:t.jsx(me.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:$?void 0:"none"}})})})});zA.displayName=Qj;var FA="PopperArrow",lH={top:"bottom",right:"left",bottom:"top",left:"right"},EA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,s=cH(FA,n),c=lH[s.placedSide];return t.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:t.jsx(iH,{...i,ref:r,style:{...i.style,display:"block"}})})});EA.displayName=FA;function dH(a){return a!==null}var hH=a=>({name:"transformOrigin",options:a,fn(e){var m,g,w;const{placement:r,rects:n,middlewareData:i}=e,c=((m=i.arrow)==null?void 0:m.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=HA(r),p={start:"0%",center:"50%",end:"100%"}[u],f=(((g=i.arrow)==null?void 0:g.x)??0)+l/2,x=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let k="",y="";return h==="bottom"?(k=c?p:`${f}px`,y=`${-d}px`):h==="top"?(k=c?p:`${f}px`,y=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,y=c?p:`${x}px`):h==="left"&&(k=`${n.floating.width+d}px`,y=c?p:`${x}px`),{data:{x:k,y}}}});function HA(a){const[e,r="center"]=a.split("-");return[e,r]}var OA=TA,eL=DA,VA=zA,BA=EA;function uH(a){const e=pH(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(mH);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function pH(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=xH(i),l=fH(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var yH=Symbol("radix.slottable");function mH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===yH}function fH(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function xH(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var UA=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),kH="VisuallyHidden",gH=v.forwardRef((a,e)=>t.jsx(me.span,{...a,ref:e,style:{...UA,...a.style}}));gH.displayName=kH;var vH=[" ","Enter","ArrowUp","ArrowDown"],wH=[" ","Enter"],rs="Select",[B9,U9,MH]=IS(rs),[tc]=ma(rs,[MH,V9]),$9=V9(),[bH,yr]=tc(rs),[CH,jH]=tc(rs),$A=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:s,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:f,required:x,form:k}=a,y=$9(e),[m,g]=v.useState(null),[w,M]=v.useState(null),[b,C]=v.useState(!1),A=KC(h),[L,S]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:rs}),[N,T]=ar({prop:c,defaultProp:l,onChange:d,caller:rs}),z=v.useRef(null),R=m?k||!!m.closest("form"):!0,[_,q]=v.useState(new Set),D=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(OA,{...y,children:t.jsxs(bH,{required:x,scope:e,trigger:m,onTriggerChange:g,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:b,onValueNodeHasChildrenChange:C,contentId:Na(),value:N,onValueChange:T,open:L,onOpenChange:S,dir:A,triggerPointerDownPosRef:z,disabled:f,children:[t.jsx(B9.Provider,{scope:e,children:t.jsx(CH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{q($=>new Set($).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{q($=>{const E=new Set($);return E.delete(V),E})},[]),children:r})}),R?t.jsxs(m_,{"aria-hidden":!0,required:x,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:V=>T(V.target.value),disabled:f,form:k,children:[N===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},D):null]})})};$A.displayName=rs;var GA="SelectTrigger",WA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,s=$9(r),c=yr(GA,r),l=c.disabled||n,d=je(e,c.onTriggerChange),h=U9(r),u=v.useRef("touch"),[p,f,x]=x_(y=>{const m=h().filter(M=>!M.disabled),g=m.find(M=>M.value===c.value),w=k_(m,y,g);w!==void 0&&c.onValueChange(w.value)}),k=y=>{l||(c.onOpenChange(!0),x()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(eL,{asChild:!0,...s,children:t.jsx(me.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":f_(c.value)?"":void 0,...i,ref:d,onClick:he(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&k(y)}),onPointerDown:he(i.onPointerDown,y=>{u.current=y.pointerType;const m=y.target;m.hasPointerCapture(y.pointerId)&&m.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(k(y),y.preventDefault())}),onKeyDown:he(i.onKeyDown,y=>{const m=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(m&&y.key===" ")&&vH.includes(y.key)&&(k(),y.preventDefault())})})})});WA.displayName=GA;var ZA="SelectValue",XA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:s,placeholder:c="",...l}=a,d=yr(ZA,r),{onValueNodeHasChildrenChange:h}=d,u=s!==void 0,p=je(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(me.span,{...l,ref:p,style:{pointerEvents:"none"},children:f_(d.value)?t.jsx(t.Fragment,{children:c}):s})});XA.displayName=ZA;var LH="SelectIcon",JA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(me.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});JA.displayName=LH;var SH="SelectPortal",YA=a=>t.jsx(A9,{asChild:!0,...a});YA.displayName=SH;var ns="SelectContent",KA=v.forwardRef((a,e)=>{const r=yr(ns,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const s=n;return s?v9.createPortal(t.jsx(QA,{scope:a.__scopeSelect,children:t.jsx(B9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),s):null}return t.jsx(e_,{...a,ref:e})});KA.displayName=ns;var Yt=10,[QA,mr]=tc(ns),IH="SelectContentImpl",NH=uH("SelectContent.RemoveScroll"),e_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:k,hideWhenDetached:y,avoidCollisions:m,...g}=a,w=yr(ns,r),[M,b]=v.useState(null),[C,A]=v.useState(null),L=je(e,W=>b(W)),[S,N]=v.useState(null),[T,z]=v.useState(null),R=U9(r),[_,q]=v.useState(!1),D=v.useRef(!1);v.useEffect(()=>{if(M)return Aj(M)},[M]),Nj();const V=v.useCallback(W=>{const[Q,...ue]=R().map(ie=>ie.ref.current),[de]=ue.slice(-1),ye=document.activeElement;for(const ie of W)if(ie===ye||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&C&&(C.scrollTop=0),ie===de&&C&&(C.scrollTop=C.scrollHeight),ie==null||ie.focus(),document.activeElement!==ye))return},[R,C]),$=v.useCallback(()=>V([S,M]),[V,S,M]);v.useEffect(()=>{_&&$()},[_,$]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=de=>{var ye,ie;W={x:Math.abs(Math.round(de.pageX)-(((ye=re.current)==null?void 0:ye.x)??0)),y:Math.abs(Math.round(de.pageY)-(((ie=re.current)==null?void 0:ie.y)??0))}},ue=de=>{W.x<=10&&W.y<=10?de.preventDefault():M.contains(de.target)||E(!1),document.removeEventListener("pointermove",Q),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",ue,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",ue,{capture:!0})}}},[M,E,re]),v.useEffect(()=>{const W=()=>E(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[E]);const[ne,se]=x_(W=>{const Q=R().filter(ye=>!ye.disabled),ue=Q.find(ye=>ye.ref.current===document.activeElement),de=k_(Q,W,ue);de&&setTimeout(()=>de.ref.current.focus())}),ae=v.useCallback((W,Q,ue)=>{const de=!D.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&(N(W),de&&(D.current=!0))},[w.value]),oe=v.useCallback(()=>M==null?void 0:M.focus(),[M]),ee=v.useCallback((W,Q,ue)=>{const de=!D.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&z(W)},[w.value]),le=n==="popper"?VC:t_,ve=le===VC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:k,hideWhenDetached:y,avoidCollisions:m}:{};return t.jsx(QA,{scope:r,content:M,viewport:C,onViewportChange:A,itemRefCallback:ae,selectedItem:S,onItemLeave:oe,itemTextRefCallback:ee,focusSelectedItem:$,selectedItemText:T,position:n,isPositioned:_,searchRef:ne,children:t.jsx(P9,{as:NH,allowPinchZoom:!0,children:t.jsx(N9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:he(i,W=>{var Q;(Q=w.trigger)==null||Q.focus({preventScroll:!0}),W.preventDefault()}),children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:t.jsx(le,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...g,...ve,onPlaced:()=>q(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:he(g.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&se(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let de=R().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(W.key)&&(de=de.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const ye=W.target,ie=de.indexOf(ye);de=de.slice(ie+1)}setTimeout(()=>V(de)),W.preventDefault()}})})})})})})});e_.displayName=IH;var AH="SelectItemAlignedPosition",t_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,s=yr(ns,r),c=mr(ns,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=je(e,L=>u(L)),f=U9(r),x=v.useRef(!1),k=v.useRef(!0),{viewport:y,selectedItem:m,selectedItemText:g,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(s.trigger&&s.valueNode&&l&&h&&y&&m&&g){const L=s.trigger.getBoundingClientRect(),S=h.getBoundingClientRect(),N=s.valueNode.getBoundingClientRect(),T=g.getBoundingClientRect();if(s.dir!=="rtl"){const ye=T.left-S.left,ie=N.left-ye,Pe=L.left-ie,qe=L.width+Pe,Ke=Math.max(qe,S.width),it=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,it-Ke)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const ye=S.right-T.right,ie=window.innerWidth-N.right-ye,Pe=window.innerWidth-L.right-ie,qe=L.width+Pe,Ke=Math.max(qe,S.width),it=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,it-Ke)]);l.style.minWidth=qe+"px",l.style.right=yt+"px"}const z=f(),R=window.innerHeight-Yt*2,_=y.scrollHeight,q=window.getComputedStyle(h),D=parseInt(q.borderTopWidth,10),V=parseInt(q.paddingTop,10),$=parseInt(q.borderBottomWidth,10),E=parseInt(q.paddingBottom,10),re=D+V+_+E+$,ne=Math.min(m.offsetHeight*5,re),se=window.getComputedStyle(y),ae=parseInt(se.paddingTop,10),oe=parseInt(se.paddingBottom,10),ee=L.top+L.height/2-Yt,le=R-ee,ve=m.offsetHeight/2,W=m.offsetTop+ve,Q=D+V+W,ue=re-Q;if(Q<=ee){const ye=z.length>0&&m===z[z.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(le,ve+(ye?oe:0)+ie+$),qe=Q+Pe;l.style.height=qe+"px"}else{const ye=z.length>0&&m===z[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,D+y.offsetTop+(ye?ae:0)+ve)+ue;l.style.height=Pe+"px",y.scrollTop=Q-ee+y.offsetTop}l.style.margin=`${Yt}px 0`,l.style.minHeight=ne+"px",l.style.maxHeight=R+"px",n==null||n(),requestAnimationFrame(()=>x.current=!0)}},[f,s.trigger,s.valueNode,l,h,y,m,g,s.dir,n]);pt(()=>M(),[M]);const[b,C]=v.useState();pt(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const A=v.useCallback(L=>{L&&k.current===!0&&(M(),w==null||w(),k.current=!1)},[M,w]);return t.jsx(PH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:x,onScrollButtonChange:A,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:t.jsx(me.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});t_.displayName=AH;var _H="SelectPopperPosition",VC=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...s}=a,c=$9(r);return t.jsx(VA,{...c,...s,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});VC.displayName=_H;var[PH,tL]=tc(ns,{}),BC="SelectViewport",a_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,s=mr(BC,r),c=tL(BC,r),l=je(e,s.onViewportChange),d=v.useRef(0);return t.jsxs(t.Fragment,{children:[t.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),t.jsx(B9.Slot,{scope:r,children:t.jsx(me.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:he(i.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=c;if(f!=null&&f.current&&p){const x=Math.abs(d.current-u.scrollTop);if(x>0){const k=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),m=parseFloat(p.style.height),g=Math.max(y,m);if(g<k){const w=g+x,M=Math.min(k,w),b=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=b>0?b:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});a_.displayName=BC;var r_="SelectGroup",[qH,TH]=tc(r_),RH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(qH,{scope:r,id:i,children:t.jsx(me.div,{role:"group","aria-labelledby":i,...n,ref:e})})});RH.displayName=r_;var n_="SelectLabel",i_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=TH(n_,r);return t.jsx(me.div,{id:i.id,...n,ref:e})});i_.displayName=n_;var k9="SelectItem",[DH,o_]=tc(k9),s_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:s,...c}=a,l=yr(k9,r),d=mr(k9,r),h=l.value===n,[u,p]=v.useState(s??""),[f,x]=v.useState(!1),k=je(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),m=v.useRef("touch"),g=()=>{i||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.jsx(DH,{scope:r,value:n,disabled:i,textId:y,isSelected:h,onItemTextChange:v.useCallback(w=>{p(M=>M||((w==null?void 0:w.textContent)??"").trim())},[]),children:t.jsx(B9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(me.div,{role:"option","aria-labelledby":y,"data-highlighted":f?"":void 0,"aria-selected":h&&f,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:k,onFocus:he(c.onFocus,()=>x(!0)),onBlur:he(c.onBlur,()=>x(!1)),onClick:he(c.onClick,()=>{m.current!=="mouse"&&g()}),onPointerUp:he(c.onPointerUp,()=>{m.current==="mouse"&&g()}),onPointerDown:he(c.onPointerDown,w=>{m.current=w.pointerType}),onPointerMove:he(c.onPointerMove,w=>{var M;m.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):m.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:he(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:he(c.onKeyDown,w=>{var b;((b=d.searchRef)==null?void 0:b.current)!==""&&w.key===" "||(wH.includes(w.key)&&g(),w.key===" "&&w.preventDefault())})})})})});s_.displayName=k9;var hc="SelectItemText",c_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...s}=a,c=yr(hc,r),l=mr(hc,r),d=o_(hc,r),h=jH(hc,r),[u,p]=v.useState(null),f=je(e,g=>p(g),d.onItemTextChange,g=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,g,d.value,d.disabled)}),x=u==null?void 0:u.textContent,k=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:x},d.value),[d.disabled,d.value,x]),{onNativeOptionAdd:y,onNativeOptionRemove:m}=h;return pt(()=>(y(k),()=>m(k)),[y,m,k]),t.jsxs(t.Fragment,{children:[t.jsx(me.span,{id:d.textId,...s,ref:f}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?v9.createPortal(s.children,c.valueNode):null]})});c_.displayName=hc;var l_="SelectItemIndicator",d_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return o_(l_,r).isSelected?t.jsx(me.span,{"aria-hidden":!0,...n,ref:e}):null});d_.displayName=l_;var UC="SelectScrollUpButton",h_=v.forwardRef((a,e)=>{const r=mr(UC,a.__scopeSelect),n=tL(UC,a.__scopeSelect),[i,s]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;s(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(p_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});h_.displayName=UC;var $C="SelectScrollDownButton",u_=v.forwardRef((a,e)=>{const r=mr($C,a.__scopeSelect),n=tL($C,a.__scopeSelect),[i,s]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;s(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(p_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});u_.displayName=$C;var p_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,s=mr("SelectScrollButton",r),c=v.useRef(null),l=U9(r),d=v.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return v.useEffect(()=>()=>d(),[d]),pt(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),t.jsx(me.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:he(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:he(i.onPointerMove,()=>{var h;(h=s.onItemLeave)==null||h.call(s),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:he(i.onPointerLeave,()=>{d()})})}),zH="SelectSeparator",y_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(me.div,{"aria-hidden":!0,...n,ref:e})});y_.displayName=zH;var GC="SelectArrow",FH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=$9(r),s=yr(GC,r),c=mr(GC,r);return s.open&&c.position==="popper"?t.jsx(BA,{...i,...n,ref:e}):null});FH.displayName=GC;var EH="SelectBubbleInput",m_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),s=je(n,i),c=Oj(e);return v.useEffect(()=>{const l=i.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),t.jsx(me.select,{...r,style:{...UA,...r.style},ref:s,defaultValue:e})});m_.displayName=EH;function f_(a){return a===""||a===void 0}function x_(a){const e=tr(a),r=v.useRef(""),n=v.useRef(0),i=v.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),s=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,s]}function k_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,s=r?a.indexOf(r):-1;let c=HH(a,Math.max(s,0));i.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(i.toLowerCase()));return d!==r?d:void 0}function HH(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var OH=$A,g_=WA,VH=XA,BH=JA,UH=YA,v_=KA,$H=a_,w_=i_,M_=s_,GH=c_,WH=d_,b_=h_,C_=u_,aL=y_;const ZH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],XH=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},JH=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:s,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=XH(s),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(cs,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(hr,{className:"sm:max-w-lg",children:[t.jsxs(ls,{className:"space-y-2",children:[t.jsxs(pr,{className:"flex items-center gap-2 text-xl font-semibold",children:[t.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:t.jsx(Bt,{className:"h-5 w-5"})}),c]}),t.jsx(Ej,{className:"text-base text-muted-foreground",children:u})]}),t.jsxs("div",{className:"mt-2 space-y-4",children:[t.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[t.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[t.jsx($a,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:ZH.map(p=>t.jsxs("li",{className:"flex items-start gap-2",children:[t.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),t.jsx("span",{children:p})]},p))})]}),d&&t.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),t.jsx(aL,{className:"my-4"}),t.jsxs(ur,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx(G,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx(G,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx(G,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},YH=[{icon:wc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:As,label:"Settings",path:"/dashboard/settings"}];function KH({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:s=0}){return t.jsx("div",{className:"min-h-screen bg-background",children:t.jsxs("div",{className:"flex",children:[t.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[t.jsx("nav",{className:"flex-1 space-y-1 p-4",children:YH.map(c=>{const l=c.icon,d=i===c.path;return t.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[t.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&t.jsx("div",{className:"border-t p-4",children:t.jsxs(G,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(jc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const QH=w9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ct({className:a,variant:e,...r}){return t.jsx("div",{className:ce(QH({variant:e}),a),...r})}function eO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:s,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return vt;case"course":return Wt;case"news":return Sa;default:return vt}},h=u=>{switch(u.type){case"job":return t.jsxs(t.Fragment,{children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(G,{size:"sm",onClick:()=>s(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(G,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx(G,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",a," 👋"]}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),t.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[t.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(p,{className:"h-5 w-5 text-primary"}),t.jsx(ct,{variant:"secondary",children:u.type})]}),t.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),t.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vs,{className:"h-4 w-4"}),u.company]}),u.location&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"}),u.location]})]}),t.jsx(Ge,{children:u.description})]}),t.jsxs(Ce,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(f=>t.jsx(ct,{variant:"outline",children:f},f))}),u.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),t.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Jo,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(Ce,{className:"space-y-3",children:n.map(u=>t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),t.jsxs("div",{className:"text-right",children:[t.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&t.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Qt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),t.jsx(Ce,{className:"space-y-3",children:r.length===0?t.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>t.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[t.jsx(ct,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var G9="Switch",[tO]=ma(G9),[aO,rO]=tO(G9),j_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:s,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[f,x]=v.useState(null),k=je(e,M=>x(M)),y=v.useRef(!1),m=f?u||!!f.closest("form"):!0,[g,w]=ar({prop:i,defaultProp:s??!1,onChange:h,caller:G9});return t.jsxs(aO,{scope:r,checked:g,disabled:l,children:[t.jsx(me.button,{type:"button",role:"switch","aria-checked":g,"aria-required":c,"data-state":N_(g),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:he(a.onClick,M=>{w(b=>!b),m&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),m&&t.jsx(I_,{control:f,bubbles:!y.current,name:n,value:d,checked:g,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});j_.displayName=G9;var L_="SwitchThumb",S_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=rO(L_,r);return t.jsx(me.span,{"data-state":N_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});S_.displayName=L_;var nO="SwitchBubbleInput",I_=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},s)=>{const c=v.useRef(null),l=je(c,s),d=Oj(r),h=Vj(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&x){const k=new Event("click",{bubbles:n});x.call(u,r),u.dispatchEvent(k)}},[d,r,n]),t.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...i.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});I_.displayName=nO;function N_(a){return a?"checked":"unchecked"}var A_=j_,iO=S_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(A_,{className:ce("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",a),...e,ref:r,children:t.jsx(iO,{className:ce("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Kt.displayName=A_.displayName;function oO(a){const e=sO(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(lO);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function sO(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=hO(i),l=dO(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var cO=Symbol("radix.slottable");function lO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===cO}function dO(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function hO(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var W9="Popover",[__]=ma(W9,[V9]),Qc=V9(),[uO,fr]=__(W9),P_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:c=!1}=a,l=Qc(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,f]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:W9});return t.jsx(OA,{...l,children:t.jsx(uO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(x=>!x),[f]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};P_.displayName=W9;var q_="PopoverAnchor",pO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(q_,r),s=Qc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(eL,{...s,...n,ref:e})});pO.displayName=q_;var T_="PopoverTrigger",R_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(T_,r),s=Qc(r),c=je(e,i.triggerRef),l=t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":H_(i.open),...n,ref:c,onClick:he(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(eL,{asChild:!0,...s,children:l})});R_.displayName=T_;var rL="PopoverPortal",[yO,mO]=__(rL,{forceMount:void 0}),D_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,s=fr(rL,e);return t.jsx(yO,{scope:e,forceMount:r,children:t.jsx(cr,{present:r||s.open,children:t.jsx(A9,{asChild:!0,container:i,children:n})})})};D_.displayName=rL;var Zs="PopoverContent",z_=v.forwardRef((a,e)=>{const r=mO(Zs,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,s=fr(Zs,a.__scopePopover);return t.jsx(cr,{present:n||s.open,children:s.modal?t.jsx(xO,{...i,ref:e}):t.jsx(kO,{...i,ref:e})})});z_.displayName=Zs;var fO=oO("PopoverContent.RemoveScroll"),xO=v.forwardRef((a,e)=>{const r=fr(Zs,a.__scopePopover),n=v.useRef(null),i=je(e,n),s=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return Aj(c)},[]),t.jsx(P9,{as:fO,allowPinchZoom:!0,children:t.jsx(F_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),s.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;s.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:he(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),kO=v.forwardRef((a,e)=>{const r=fr(Zs,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(F_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,s),s.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=s.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),F_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,f=fr(Zs,r),x=Qc(r);return Nj(),t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>f.onOpenChange(!1),children:t.jsx(VA,{"data-state":H_(f.open),role:"dialog",id:f.contentId,...x,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),E_="PopoverClose",gO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(E_,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});gO.displayName=E_;var vO="PopoverArrow",wO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=Qc(r);return t.jsx(BA,{...i,...n,ref:e})});wO.displayName=vO;function H_(a){return a?"open":"closed"}var MO=P_,bO=R_,CO=D_,O_=z_;const jO=MO,LO=bO,V_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(CO,{children:t.jsx(O_,{ref:i,align:e,sideOffset:r,className:ce("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",a),...n})}));V_.displayName=O_.displayName;const B_=v.forwardRef(({className:a,...e},r)=>t.jsx("textarea",{className:ce("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:r,...e}));B_.displayName="Textarea";const Zc=OH,Xc=VH,Xs=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(g_,{ref:n,className:ce("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[e,t.jsx(BH,{asChild:!0,children:t.jsx(nA,{className:"h-4 w-4 opacity-50"})})]}));Xs.displayName=g_.displayName;const U_=v.forwardRef(({className:a,...e},r)=>t.jsx(b_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx($z,{className:"h-4 w-4"})}));U_.displayName=b_.displayName;const $_=v.forwardRef(({className:a,...e},r)=>t.jsx(C_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(nA,{className:"h-4 w-4"})}));$_.displayName=C_.displayName;const Js=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx(UH,{children:t.jsxs(v_,{ref:i,className:ce("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:r,...n,children:[t.jsx(U_,{}),t.jsx($H,{className:ce("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),t.jsx($_,{})]})}));Js.displayName=v_.displayName;const SO=v.forwardRef(({className:a,...e},r)=>t.jsx(w_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));SO.displayName=w_.displayName;const Ys=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(M_,{ref:n,className:ce("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[t.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(WH,{children:t.jsx(Vz,{className:"h-4 w-4"})})}),t.jsx(GH,{children:e})]}));Ys.displayName=M_.displayName;const IO=v.forwardRef(({className:a,...e},r)=>t.jsx(aL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));IO.displayName=aL.displayName;function NO({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const s=new Date().getFullYear(),c=Array.from({length:40},(x,k)=>`${s-k}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});j.useEffect(()=>{if(n){const[x,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:x||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,a]);const[h,u]=j.useState(!1),p=(x,k)=>d(y=>({...y,[x]:k})),f=()=>{const x=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:x,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(pr,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Title"}),t.jsx(tt,{value:l.title,onChange:x=>p("title",x.target.value)})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Company"}),t.jsx(tt,{value:l.company,onChange:x=>p("company",x.target.value)})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Start Year"}),t.jsxs(Zc,{onValueChange:x=>p("startYear",x),value:l.startYear,children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select year"})}),t.jsx(Js,{children:c.map(x=>t.jsx(Ys,{value:x,children:x},x))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(fe,{children:"End Year"}),t.jsxs(Zc,{onValueChange:x=>p("endYear",x),value:l.endYear,children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select year"})}),t.jsx(Js,{children:c.map(x=>t.jsx(Ys,{value:x,children:x},x))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:x=>p("isPresent",x.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(fe,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Tags (comma-separated)"}),t.jsx(B_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:x=>p("tags",x.target.value)})]})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:f,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var AO=Symbol("radix.slottable");function _O(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=AO,e}var G_="AlertDialog",[PO]=ma(G_,[HN]),Ta=HN(),W_=a=>{const{__scopeAlertDialog:e,...r}=a,n=Ta(e);return t.jsx(aA,{...n,...r,modal:!0})};W_.displayName=G_;var qO="AlertDialogTrigger",TO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Hz,{...i,...n,ref:e})});TO.displayName=qO;var RO="AlertDialogPortal",Z_=a=>{const{__scopeAlertDialog:e,...r}=a,n=Ta(e);return t.jsx(rA,{...n,...r})};Z_.displayName=RO;var DO="AlertDialogOverlay",X_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Tj,{...i,...n,ref:e})});X_.displayName=DO;var Es="AlertDialogContent",[zO,FO]=PO(Es),EO=_O("AlertDialogContent"),J_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,s=Ta(r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return t.jsx(Dz,{contentName:Es,titleName:Y_,docsSlug:"alert-dialog",children:t.jsx(zO,{scope:r,cancelRef:d,children:t.jsxs(Rj,{role:"alertdialog",...s,...i,ref:l,onOpenAutoFocus:he(i.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[t.jsx(EO,{children:n}),t.jsx(OO,{contentRef:c})]})})})});J_.displayName=Es;var Y_="AlertDialogTitle",K_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Dj,{...i,...n,ref:e})});K_.displayName=Y_;var Q_="AlertDialogDescription",eP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(zj,{...i,...n,ref:e})});eP.displayName=Q_;var HO="AlertDialogAction",tP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Fj,{...i,...n,ref:e})});tP.displayName=HO;var aP="AlertDialogCancel",rP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=FO(aP,r),s=Ta(r),c=je(e,i);return t.jsx(Fj,{...s,...n,ref:c})});rP.displayName=aP;var OO=({contentRef:a})=>{const e=`\`${Es}\` requires a description for the component to be accessible for screen reader users.
7811
+ `;function RF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=TF}){return t.jsx(WR,{allow:a,children:t.jsx(qF,{id:e,strategy:r,children:n})})}function Oj(a){const e=v.useRef({value:a,previous:a});return v.useMemo(()=>(e.current.value!==a&&(e.current.previous=e.current.value,e.current.value=a),e.current.previous),[a])}function Vj(a){const[e,r]=v.useState(void 0);return pt(()=>{if(a){r({width:a.offsetWidth,height:a.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let c,l;if("borderBoxSize"in s){const d=s.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=a.offsetWidth,l=a.offsetHeight;r({width:c,height:l})});return n.observe(a,{box:"border-box"}),()=>n.unobserve(a)}else r(void 0)},[a]),e}var R9="Checkbox",[DF]=ma(R9),[zF,Bj]=DF(R9);function FF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:s,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[f,x]=ar({prop:r,defaultProp:i??!1,onChange:d,caller:R9}),[k,y]=v.useState(null),[m,g]=v.useState(null),w=v.useRef(!1),M=k?!!c||!!k.closest("form"):!0,b={checked:f,disabled:s,setChecked:x,control:k,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:er(i)?!1:i,isFormControl:M,bubbleInput:m,setBubbleInput:g};return t.jsx(zF,{scope:e,...b,children:EF(p)?p(b):n})}var pA="CheckboxTrigger",yA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:s,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:x,bubbleInput:k}=Bj(pA,a),y=je(i,u),m=v.useRef(d);return v.useEffect(()=>{const g=s==null?void 0:s.form;if(g){const w=()=>p(m.current);return g.addEventListener("reset",w),()=>g.removeEventListener("reset",w)}},[s,p]),t.jsx(me.button,{type:"button",role:"checkbox","aria-checked":er(d)?"mixed":d,"aria-required":h,"data-state":gA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:he(e,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:he(r,g=>{p(w=>er(w)?!0:!w),k&&x&&(f.current=g.isPropagationStopped(),f.current||g.stopPropagation())})})});yA.displayName=pA;var Uj=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:s,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(FF,{__scopeCheckbox:r,checked:i,defaultChecked:s,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:f})=>t.jsxs(t.Fragment,{children:[t.jsx(yA,{...p,ref:e,__scopeCheckbox:r}),f&&t.jsx(kA,{__scopeCheckbox:r})]})})});Uj.displayName=R9;var mA="CheckboxIndicator",fA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,s=Bj(mA,r);return t.jsx(cr,{present:n||er(s.checked)||s.checked===!0,children:t.jsx(me.span,{"data-state":gA(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});fA.displayName=mA;var xA="CheckboxBubbleInput",kA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:f,setBubbleInput:x}=Bj(xA,a),k=je(r,x),y=Oj(s),m=Vj(n);v.useEffect(()=>{const w=f;if(!w)return;const M=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(M,"checked").set,N=!i.current;if(y!==s&&C){const L=new Event("click",{bubbles:N});w.indeterminate=er(s),C.call(w,er(s)?!1:s),w.dispatchEvent(L)}},[f,y,s,i]);const g=v.useRef(er(s)?!1:s);return t.jsx(me.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??g.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});kA.displayName=xA;function EF(a){return typeof a=="function"}function er(a){return a==="indeterminate"}function gA(a){return er(a)?"indeterminate":a?"checked":"unchecked"}const $j=v.forwardRef(({className:a,...e},r)=>t.jsx(Uj,{ref:r,className:ce("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),...e,children:t.jsx(fA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(ws,{className:"h-4 w-4"})})}));$j.displayName=Uj.displayName;const HF=w9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),D9=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(HF({variant:e}),a),...r}));D9.displayName="Alert";const OF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));OF.displayName="AlertTitle";const z9=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));z9.displayName="AlertDescription";function VF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:s="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=j.useState(""),[p,f]=j.useState(""),[x,k]=j.useState(!1),y=m=>{m.preventDefault(),a(h,p,x)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(Ce,{className:"space-y-4",children:[i&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"identifier",children:l}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"identifier",type:"text",placeholder:d,value:h,onChange:m=>u(m.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(Cc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:m=>f(m.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($j,{id:"remember",checked:x,onCheckedChange:m=>k(m),disabled:n}),t.jsx(fe,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&t.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const BF=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:s="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(VF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function UF({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:s="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(x,k)=>d(y=>({...y,[x]:k})),f=x=>{if(x.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}a(l)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:f,children:[t.jsxs(Ce,{className:"space-y-4",children:[(i||h)&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:i||h})]}),e.map(x=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:x.name,children:x.label}),t.jsx(tt,{id:x.name,type:x.type||"text",placeholder:x.placeholder,required:x.required,disabled:n,value:l[x.name]||"",onChange:k=>p(x.name,k.target.value)})]},x.name))]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const $F=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:s="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(UF,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})});function GF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:s="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=j.useState(""),u=p=>{p.preventDefault(),a(d)};return i?t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx("div",{className:"flex items-center justify-center mb-4",children:t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:t.jsx(Nt,{className:"h-6 w-6 text-green-600"})})}),t.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Ge,{className:"text-center",children:l})]}),t.jsx(Hs,{className:"flex flex-col space-y-4",children:e&&t.jsxs(G,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx($o,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:s}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(Ce,{className:"space-y-4",children:[n&&t.jsxs(D9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(z9,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email Address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(tt,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),t.jsxs(Hs,{className:"flex flex-col space-y-4",children:[t.jsx(G,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&t.jsxs(G,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx($o,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const WF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:s="Your App",logo:c})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:s})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(GF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function eS(a,[e,r]){return Math.min(r,Math.max(e,a))}const ZF=["top","right","bottom","left"],or=Math.min,At=Math.max,y9=Math.round,h1=Math.floor,ua=a=>({x:a,y:a}),XF={left:"right",right:"left",bottom:"top",top:"bottom"},JF={start:"end",end:"start"};function EC(a,e,r){return At(a,or(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function Qs(a){return a.split("-")[1]}function Gj(a){return a==="x"?"y":"x"}function Wj(a){return a==="y"?"height":"width"}const YF=new Set(["top","bottom"]);function la(a){return YF.has(qa(a))?"y":"x"}function Zj(a){return Gj(la(a))}function KF(a,e,r){r===void 0&&(r=!1);const n=Qs(a),i=Zj(a),s=Wj(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(c=m9(c)),[c,m9(c)]}function QF(a){const e=m9(a);return[HC(a),e,HC(e)]}function HC(a){return a.replace(/start|end/g,e=>JF[e])}const tS=["left","right"],aS=["right","left"],eE=["top","bottom"],tE=["bottom","top"];function aE(a,e,r){switch(a){case"top":case"bottom":return r?e?aS:tS:e?tS:aS;case"left":case"right":return e?eE:tE;default:return[]}}function rE(a,e,r,n){const i=Qs(a);let s=aE(qa(a),r==="start",n);return i&&(s=s.map(c=>c+"-"+i),e&&(s=s.concat(s.map(HC)))),s}function m9(a){return a.replace(/left|right|bottom|top/g,e=>XF[e])}function nE(a){return{top:0,right:0,bottom:0,left:0,...a}}function vA(a){return typeof a!="number"?nE(a):{top:a,right:a,bottom:a,left:a}}function f9(a){const{x:e,y:r,width:n,height:i}=a;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function rS(a,e,r){let{reference:n,floating:i}=a;const s=la(e),c=Zj(e),l=Wj(c),d=qa(e),h=s==="y",u=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,f=n[l]/2-i[l]/2;let x;switch(d){case"top":x={x:u,y:n.y-i.height};break;case"bottom":x={x:u,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:p};break;case"left":x={x:n.x-i.width,y:p};break;default:x={x:n.x,y:n.y}}switch(Qs(e)){case"start":x[c]-=f*(r&&h?-1:1);break;case"end":x[c]+=f*(r&&h?-1:1);break}return x}const iE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,l=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:a,floating:e,strategy:i}),{x:u,y:p}=rS(h,n,d),f=n,x={},k=0;for(let y=0;y<l.length;y++){const{name:m,fn:g}=l[y],{x:w,y:M,data:b,reset:C}=await g({x:u,y:p,initialPlacement:n,placement:f,strategy:i,middlewareData:x,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,x={...x,[m]:{...x[m],...b}},C&&k<=50&&(k++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):C.rects),{x:u,y:p}=rS(h,f,d)),y=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:x}};async function Gc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:x=0}=Pa(e,a),k=vA(x),m=l[f?p==="floating"?"reference":"floating":p],g=f9(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(m)))==null||r?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),b=await(s.isElement==null?void 0:s.isElement(M))?await(s.getScale==null?void 0:s.getScale(M))||{x:1,y:1}:{x:1,y:1},C=f9(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(g.top-C.top+k.top)/b.y,bottom:(C.bottom-g.bottom+k.bottom)/b.y,left:(g.left-C.left+k.left)/b.x,right:(C.right-g.right+k.right)/b.x}}const oE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:s,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=vA(u),f={x:r,y:n},x=Zj(i),k=Wj(x),y=await c.getDimensions(h),m=x==="y",g=m?"top":"left",w=m?"bottom":"right",M=m?"clientHeight":"clientWidth",b=s.reference[k]+s.reference[x]-f[x]-s.floating[k],C=f[x]-s.reference[x],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=N?N[M]:0;(!L||!await(c.isElement==null?void 0:c.isElement(N)))&&(L=l.floating[M]||s.floating[k]);const S=b/2-C/2,A=L/2-y[k]/2-1,T=or(p[g],A),R=or(p[w],A),D=T,_=L-y[k]-R,q=L/2-y[k]/2+S,z=EC(D,q,_),V=!d.arrow&&Qs(i)!=null&&q!==z&&s.reference[k]/2-(q<D?T:R)-y[k]/2<0,$=V?q<D?q-D:q-_:0;return{[x]:f[x]+$,data:{[x]:z,centerOffset:q-z-$,...V&&{alignmentOffset:$}},reset:V}}}),sE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:s,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:y=!0,...m}=Pa(a,e);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const g=qa(i),w=la(l),M=qa(l)===l,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=f||(M||!y?[m9(l)]:QF(l)),N=k!=="none";!f&&N&&C.push(...rE(l,y,k,b));const L=[l,...C],S=await Gc(e,m),A=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&A.push(S[g]),p){const q=KF(i,c,b);A.push(S[q[0]],S[q[1]])}if(T=[...T,{placement:i,overflows:A}],!A.every(q=>q<=0)){var R,D;const q=(((R=s.flip)==null?void 0:R.index)||0)+1,z=L[q];if(z&&(!(p==="alignment"?w!==la(z):!1)||T.every(E=>la(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:q,overflows:T},reset:{placement:z}};let V=(D=T.filter($=>$.overflows[0]<=0).sort(($,E)=>$.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(x){case"bestFit":{var _;const $=(_=T.filter(E=>{if(N){const re=la(E.placement);return re===w||re==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(re=>re>0).reduce((re,ne)=>re+ne,0)]).sort((E,re)=>E[1]-re[1])[0])==null?void 0:_[0];$&&(V=$);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function nS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function iS(a){return ZF.some(e=>a[e]>=0)}const cE=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...i}=Pa(a,e);switch(n){case"referenceHidden":{const s=await Gc(e,{...i,elementContext:"reference"}),c=nS(s,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:iS(c)}}}case"escaped":{const s=await Gc(e,{...i,altBoundary:!0}),c=nS(s,r.floating);return{data:{escapedOffsets:c,escaped:iS(c)}}}default:return{}}}}},wA=new Set(["left","top"]);async function lE(a,e){const{placement:r,platform:n,elements:i}=a,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=Qs(r),d=la(r)==="y",h=wA.has(c)?-1:1,u=s&&d?-1:1,p=Pa(e,a);let{mainAxis:f,crossAxis:x,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(x=l==="end"?k*-1:k),d?{x:x*u,y:f*h}:{x:f*h,y:x*u}}const dE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:s,placement:c,middlewareData:l}=e,d=await lE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:c}}}}},hE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:m=>{let{x:g,y:w}=m;return{x:g,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Gc(e,d),p=la(qa(i)),f=Gj(p);let x=h[f],k=h[p];if(s){const m=f==="y"?"top":"left",g=f==="y"?"bottom":"right",w=x+u[m],M=x-u[g];x=EC(w,x,M)}if(c){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=k+u[m],M=k-u[g];k=EC(w,k,M)}const y=l.fn({...e,[f]:x,[p]:k});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:s,[p]:c}}}}}},uE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:s,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),f=Gj(p);let x=u[f],k=u[p];const y=Pa(l,e),m=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=f==="y"?"height":"width",b=s.reference[f]-s.floating[M]+m.mainAxis,C=s.reference[f]+s.reference[M]-m.mainAxis;x<b?x=b:x>C&&(x=C)}if(h){var g,w;const M=f==="y"?"width":"height",b=wA.has(qa(i)),C=s.reference[p]-s.floating[M]+(b&&((g=c.offset)==null?void 0:g[p])||0)+(b?0:m.crossAxis),N=s.reference[p]+s.reference[M]+(b?0:((w=c.offset)==null?void 0:w[p])||0)-(b?m.crossAxis:0);k<C?k=C:k>N&&(k=N)}return{[f]:x,[p]:k}}}},pE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:s,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Gc(e,h),p=qa(i),f=Qs(i),x=la(i)==="y",{width:k,height:y}=s.floating;let m,g;p==="top"||p==="bottom"?(m=p,g=f===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,m=f==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=k-u.left-u.right,b=or(y-u[m],w),C=or(k-u[g],M),N=!e.middlewareData.shift;let L=b,S=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(S=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),N&&!f){const T=At(u.left,0),R=At(u.right,0),D=At(u.top,0),_=At(u.bottom,0);x?S=k-2*(T!==0||R!==0?T+R:At(u.left,u.right)):L=y-2*(D!==0||_!==0?D+_:At(u.top,u.bottom))}await d({...e,availableWidth:S,availableHeight:L});const A=await c.getDimensions(l.floating);return k!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function F9(){return typeof window<"u"}function ec(a){return MA(a)?(a.nodeName||"").toLowerCase():"#document"}function Dt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(MA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function MA(a){return F9()?a instanceof Node||a instanceof Dt(a).Node:!1}function ea(a){return F9()?a instanceof Element||a instanceof Dt(a).Element:!1}function ya(a){return F9()?a instanceof HTMLElement||a instanceof Dt(a).HTMLElement:!1}function oS(a){return!F9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Dt(a).ShadowRoot}const yE=new Set(["inline","contents"]);function Kc(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!yE.has(i)}const mE=new Set(["table","td","th"]);function fE(a){return mE.has(ec(a))}const xE=[":popover-open",":modal"];function E9(a){return xE.some(e=>{try{return a.matches(e)}catch{return!1}})}const kE=["transform","translate","scale","rotate","perspective"],gE=["transform","translate","scale","rotate","perspective","filter"],vE=["paint","layout","strict","content"];function Xj(a){const e=Jj(),r=ea(a)?ta(a):a;return kE.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||gE.some(n=>(r.willChange||"").includes(n))||vE.some(n=>(r.contain||"").includes(n))}function wE(a){let e=sr(a);for(;ya(e)&&!Ws(e);){if(Xj(e))return e;if(E9(e))return null;e=sr(e)}return null}function Jj(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ME=new Set(["html","body","#document"]);function Ws(a){return ME.has(ec(a))}function ta(a){return Dt(a).getComputedStyle(a)}function H9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function sr(a){if(ec(a)==="html")return a;const e=a.assignedSlot||a.parentNode||oS(a)&&a.host||fa(a);return oS(e)?e.host:e}function bA(a){const e=sr(a);return Ws(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&Kc(e)?e:bA(e)}function Wc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=bA(a),s=i===((n=a.ownerDocument)==null?void 0:n.body),c=Dt(i);if(s){const l=OC(c);return e.concat(c,c.visualViewport||[],Kc(i)?i:[],l&&r?Wc(l):[])}return e.concat(i,Wc(i,[],r))}function OC(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function CA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),s=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=y9(r)!==s||y9(n)!==c;return l&&(r=s,n=c),{width:r,height:n,$:l}}function Yj(a){return ea(a)?a:a.contextElement}function Fs(a){const e=Yj(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=CA(e);let c=(s?y9(r.width):r.width)/n,l=(s?y9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const bE=ua(0);function jA(a){const e=Dt(a);return!Jj()||!e.visualViewport?bE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function CE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==Dt(a)?!1:e}function as(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),s=Yj(a);let c=ua(1);e&&(n?ea(n)&&(c=Fs(n)):c=Fs(a));const l=CE(s,r,n)?jA(s):ua(0);let d=(i.left+l.x)/c.x,h=(i.top+l.y)/c.y,u=i.width/c.x,p=i.height/c.y;if(s){const f=Dt(s),x=n&&ea(n)?Dt(n):n;let k=f,y=OC(k);for(;y&&n&&x!==k;){const m=Fs(y),g=y.getBoundingClientRect(),w=ta(y),M=g.left+(y.clientLeft+parseFloat(w.paddingLeft))*m.x,b=g.top+(y.clientTop+parseFloat(w.paddingTop))*m.y;d*=m.x,h*=m.y,u*=m.x,p*=m.y,d+=M,h+=b,k=Dt(y),y=OC(k)}}return f9({width:u,height:p,x:d,y:h})}function O9(a,e){const r=H9(a).scrollLeft;return e?e.left+r:as(fa(a)).left+r}function LA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-O9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function jE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const s=i==="fixed",c=fa(n),l=e?E9(e.floating):!1;if(n===c||l&&s)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!s)&&((ec(n)!=="body"||Kc(c))&&(d=H9(n)),ya(n))){const x=as(n);h=Fs(n),u.x=x.x+n.clientLeft,u.y=x.y+n.clientTop}const f=c&&!p&&!s?LA(c,d):ua(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+f.x,y:r.y*h.y-d.scrollTop*h.y+u.y+f.y}}function LE(a){return Array.from(a.getClientRects())}function SE(a){const e=fa(a),r=H9(a),n=a.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+O9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:c,y:l}}const sS=25;function IE(a,e){const r=Dt(a),n=fa(a),i=r.visualViewport;let s=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){s=i.width,c=i.height;const u=Jj();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=O9(n);if(h<=0){const u=n.ownerDocument,p=u.body,f=getComputedStyle(p),x=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-x);k<=sS&&(s-=k)}else h<=sS&&(s+=h);return{width:s,height:c,x:l,y:d}}const NE=new Set(["absolute","fixed"]);function AE(a,e){const r=as(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,s=ya(a)?Fs(a):ua(1),c=a.clientWidth*s.x,l=a.clientHeight*s.y,d=i*s.x,h=n*s.y;return{width:c,height:l,x:d,y:h}}function cS(a,e,r){let n;if(e==="viewport")n=IE(a,r);else if(e==="document")n=SE(fa(a));else if(ea(e))n=AE(e,r);else{const i=jA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return f9(n)}function SA(a,e){const r=sr(a);return r===e||!ea(r)||Ws(r)?!1:ta(r).position==="fixed"||SA(r,e)}function _E(a,e){const r=e.get(a);if(r)return r;let n=Wc(a,[],!1).filter(l=>ea(l)&&ec(l)!=="body"),i=null;const s=ta(a).position==="fixed";let c=s?sr(a):a;for(;ea(c)&&!Ws(c);){const l=ta(c),d=Xj(c);!d&&l.position==="fixed"&&(i=null),(s?!d&&!i:!d&&l.position==="static"&&!!i&&NE.has(i.position)||Kc(c)&&!d&&SA(a,c))?n=n.filter(u=>u!==c):i=l,c=sr(c)}return e.set(a,n),n}function PE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?E9(e)?[]:_E(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=cS(e,u,i);return h.top=At(p.top,h.top),h.right=or(p.right,h.right),h.bottom=or(p.bottom,h.bottom),h.left=At(p.left,h.left),h},cS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qE(a){const{width:e,height:r}=CA(a);return{width:e,height:r}}function TE(a,e,r){const n=ya(e),i=fa(e),s=r==="fixed",c=as(a,!0,s,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=O9(i)}if(n||!n&&!s)if((ec(e)!=="body"||Kc(i))&&(l=H9(e)),n){const x=as(e,!0,s,e);d.x=x.x+e.clientLeft,d.y=x.y+e.clientTop}else i&&h();s&&!n&&i&&h();const u=i&&!n&&!s?LA(i,l):ua(0),p=c.left+l.scrollLeft-d.x-u.x,f=c.top+l.scrollTop-d.y-u.y;return{x:p,y:f,width:c.width,height:c.height}}function xC(a){return ta(a).position==="static"}function lS(a,e){if(!ya(a)||ta(a).position==="fixed")return null;if(e)return e(a);let r=a.offsetParent;return fa(a)===r&&(r=r.ownerDocument.body),r}function IA(a,e){const r=Dt(a);if(E9(a))return r;if(!ya(a)){let i=sr(a);for(;i&&!Ws(i);){if(ea(i)&&!xC(i))return i;i=sr(i)}return r}let n=lS(a,e);for(;n&&fE(n)&&xC(n);)n=lS(n,e);return n&&Ws(n)&&xC(n)&&!Xj(n)?r:n||wE(a)||r}const RE=async function(a){const e=this.getOffsetParent||IA,r=this.getDimensions,n=await r(a.floating);return{reference:TE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function DE(a){return ta(a).direction==="rtl"}const zE={convertOffsetParentRelativeRectToViewportRelativeRect:jE,getDocumentElement:fa,getClippingRect:PE,getOffsetParent:IA,getElementRects:RE,getClientRects:LE,getDimensions:qE,getScale:Fs,isElement:ea,isRTL:DE};function NA(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function FE(a,e){let r=null,n;const i=fa(a);function s(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),s();const h=a.getBoundingClientRect(),{left:u,top:p,width:f,height:x}=h;if(l||e(),!f||!x)return;const k=h1(p),y=h1(i.clientWidth-(u+f)),m=h1(i.clientHeight-(p+x)),g=h1(u),M={rootMargin:-k+"px "+-y+"px "+-m+"px "+-g+"px",threshold:At(0,or(1,d))||1};let b=!0;function C(N){const L=N[0].intersectionRatio;if(L!==d){if(!b)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!NA(h,a.getBoundingClientRect())&&c(),b=!1}try{r=new IntersectionObserver(C,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(C,M)}r.observe(a)}return c(!0),s}function EE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=Yj(a),u=i||s?[...h?Wc(h):[],...Wc(e)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",r,{passive:!0}),s&&g.addEventListener("resize",r)});const p=h&&l?FE(h,r):null;let f=-1,x=null;c&&(x=new ResizeObserver(g=>{let[w]=g;w&&w.target===h&&x&&(x.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var M;(M=x)==null||M.observe(e)})),r()}),h&&!d&&x.observe(h),x.observe(e));let k,y=d?as(a):null;d&&m();function m(){const g=as(a);y&&!NA(y,g)&&r(),y=g,k=requestAnimationFrame(m)}return r(),()=>{var g;u.forEach(w=>{i&&w.removeEventListener("scroll",r),s&&w.removeEventListener("resize",r)}),p==null||p(),(g=x)==null||g.disconnect(),x=null,d&&cancelAnimationFrame(k)}}const HE=dE,OE=hE,VE=sE,BE=pE,UE=cE,dS=oE,$E=uE,GE=(a,e,r)=>{const n=new Map,i={platform:zE,...r},s={...i.platform,_c:n};return iE(a,e,{...i,platform:s})};var WE=typeof document<"u",ZE=function(){},n9=WE?j.useLayoutEffect:ZE;function x9(a,e){if(a===e)return!0;if(typeof a!=typeof e)return!1;if(typeof a=="function"&&a.toString()===e.toString())return!0;let r,n,i;if(a&&e&&typeof a=="object"){if(Array.isArray(a)){if(r=a.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!x9(a[n],e[n]))return!1;return!0}if(i=Object.keys(a),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const s=i[n];if(!(s==="_owner"&&a.$$typeof)&&!x9(a[s],e[s]))return!1}return!0}return a!==a&&e!==e}function AA(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function hS(a,e){const r=AA(a);return Math.round(e*r)/r}function kC(a){const e=v.useRef(a);return n9(()=>{e.current=a}),e}function XE(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=a,[u,p]=v.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,x]=v.useState(n);x9(f,n)||x(n);const[k,y]=v.useState(null),[m,g]=v.useState(null),w=v.useCallback(E=>{E!==N.current&&(N.current=E,y(E))},[]),M=v.useCallback(E=>{E!==L.current&&(L.current=E,g(E))},[]),b=s||k,C=c||m,N=v.useRef(null),L=v.useRef(null),S=v.useRef(u),A=d!=null,T=kC(d),R=kC(i),D=kC(h),_=v.useCallback(()=>{if(!N.current||!L.current)return;const E={placement:e,strategy:r,middleware:f};R.current&&(E.platform=R.current),GE(N.current,L.current,E).then(re=>{const ne={...re,isPositioned:D.current!==!1};q.current&&!x9(S.current,ne)&&(S.current=ne,v9.flushSync(()=>{p(ne)}))})},[f,e,r,R,D]);n9(()=>{h===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const q=v.useRef(!1);n9(()=>(q.current=!0,()=>{q.current=!1}),[]),n9(()=>{if(b&&(N.current=b),C&&(L.current=C),b&&C){if(T.current)return T.current(b,C,_);_()}},[b,C,_,T,A]);const z=v.useMemo(()=>({reference:N,floating:L,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:b,floating:C}),[b,C]),$=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=hS(V.floating,u.x),ne=hS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",...AA(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:re,top:ne}},[r,l,V.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:_,refs:z,elements:V,floatingStyles:$}),[u,_,z,V,$])}const JE=a=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:a,fn(r){const{element:n,padding:i}=typeof a=="function"?a(r):a;return n&&e(n)?n.current!=null?dS({element:n.current,padding:i}).fn(r):{}:n?dS({element:n,padding:i}).fn(r):{}}}},YE=(a,e)=>({...HE(a),options:[a,e]}),KE=(a,e)=>({...OE(a),options:[a,e]}),QE=(a,e)=>({...$E(a),options:[a,e]}),eH=(a,e)=>({...VE(a),options:[a,e]}),tH=(a,e)=>({...BE(a),options:[a,e]}),aH=(a,e)=>({...UE(a),options:[a,e]}),rH=(a,e)=>({...JE(a),options:[a,e]});var nH="Arrow",_A=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...s}=a;return t.jsx(me.svg,{...s,ref:e,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?r:t.jsx("polygon",{points:"0,0 30,0 15,10"})})});_A.displayName=nH;var iH=_A,Kj="Popper",[PA,V9]=ma(Kj),[oH,qA]=PA(Kj),TA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(oH,{scope:e,anchor:n,onAnchorChange:i,children:r})};TA.displayName=Kj;var RA="PopperAnchor",DA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,s=qA(RA,r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return v.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&s.onAnchorChange(d.current)}),n?null:t.jsx(me.div,{...i,ref:l})});DA.displayName=RA;var Qj="PopperContent",[sH,cH]=PA(Qj),zA=v.forwardRef((a,e)=>{var W,Q,ue,de,ye,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:s="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:x="optimized",onPlaced:k,...y}=a,m=qA(Qj,r),[g,w]=v.useState(null),M=je(e,Pe=>w(Pe)),[b,C]=v.useState(null),N=Vj(b),L=(N==null?void 0:N.width)??0,S=(N==null?void 0:N.height)??0,A=n+(s!=="center"?"-"+s:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},R=Array.isArray(h)?h:[h],D=R.length>0,_={padding:T,boundary:R.filter(dH),altBoundary:D},{refs:q,floatingStyles:z,placement:V,isPositioned:$,middlewareData:E}=XE({strategy:"fixed",placement:A,whileElementsMounted:(...Pe)=>EE(...Pe,{animationFrame:x==="always"}),elements:{reference:m.anchor},middleware:[YE({mainAxis:i+S,alignmentAxis:c}),d&&KE({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?QE():void 0,..._}),d&&eH({..._}),tH({..._,apply:({elements:Pe,rects:qe,availableWidth:Ke,availableHeight:it})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Ke}px`),ot.setProperty("--radix-popper-available-height",`${it}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),b&&rH({element:b,padding:l}),hH({arrowWidth:L,arrowHeight:S}),f&&aH({strategy:"referenceHidden",..._})]}),[re,ne]=HA(V),se=tr(k);pt(()=>{$&&(se==null||se())},[$,se]);const ae=(W=E.arrow)==null?void 0:W.x,oe=(Q=E.arrow)==null?void 0:Q.y,ee=((ue=E.arrow)==null?void 0:ue.centerOffset)!==0,[le,ve]=v.useState();return pt(()=>{g&&ve(window.getComputedStyle(g).zIndex)},[g]),t.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:$?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=E.transformOrigin)==null?void 0:de.x,(ye=E.transformOrigin)==null?void 0:ye.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(sH,{scope:r,placedSide:re,onArrowChange:C,arrowX:ae,arrowY:oe,shouldHideArrow:ee,children:t.jsx(me.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:$?void 0:"none"}})})})});zA.displayName=Qj;var FA="PopperArrow",lH={top:"bottom",right:"left",bottom:"top",left:"right"},EA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,s=cH(FA,n),c=lH[s.placedSide];return t.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:t.jsx(iH,{...i,ref:r,style:{...i.style,display:"block"}})})});EA.displayName=FA;function dH(a){return a!==null}var hH=a=>({name:"transformOrigin",options:a,fn(e){var m,g,w;const{placement:r,rects:n,middlewareData:i}=e,c=((m=i.arrow)==null?void 0:m.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=HA(r),p={start:"0%",center:"50%",end:"100%"}[u],f=(((g=i.arrow)==null?void 0:g.x)??0)+l/2,x=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let k="",y="";return h==="bottom"?(k=c?p:`${f}px`,y=`${-d}px`):h==="top"?(k=c?p:`${f}px`,y=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,y=c?p:`${x}px`):h==="left"&&(k=`${n.floating.width+d}px`,y=c?p:`${x}px`),{data:{x:k,y}}}});function HA(a){const[e,r="center"]=a.split("-");return[e,r]}var OA=TA,eL=DA,VA=zA,BA=EA;function uH(a){const e=pH(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(mH);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function pH(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=xH(i),l=fH(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var yH=Symbol("radix.slottable");function mH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===yH}function fH(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function xH(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var UA=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),kH="VisuallyHidden",gH=v.forwardRef((a,e)=>t.jsx(me.span,{...a,ref:e,style:{...UA,...a.style}}));gH.displayName=kH;var vH=[" ","Enter","ArrowUp","ArrowDown"],wH=[" ","Enter"],rs="Select",[B9,U9,MH]=IS(rs),[tc]=ma(rs,[MH,V9]),$9=V9(),[bH,yr]=tc(rs),[CH,jH]=tc(rs),$A=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:s,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:f,required:x,form:k}=a,y=$9(e),[m,g]=v.useState(null),[w,M]=v.useState(null),[b,C]=v.useState(!1),N=KC(h),[L,S]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:rs}),[A,T]=ar({prop:c,defaultProp:l,onChange:d,caller:rs}),R=v.useRef(null),D=m?k||!!m.closest("form"):!0,[_,q]=v.useState(new Set),z=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(OA,{...y,children:t.jsxs(bH,{required:x,scope:e,trigger:m,onTriggerChange:g,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:b,onValueNodeHasChildrenChange:C,contentId:Na(),value:A,onValueChange:T,open:L,onOpenChange:S,dir:N,triggerPointerDownPosRef:R,disabled:f,children:[t.jsx(B9.Provider,{scope:e,children:t.jsx(CH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{q($=>new Set($).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{q($=>{const E=new Set($);return E.delete(V),E})},[]),children:r})}),D?t.jsxs(m_,{"aria-hidden":!0,required:x,tabIndex:-1,name:u,autoComplete:p,value:A,onChange:V=>T(V.target.value),disabled:f,form:k,children:[A===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},z):null]})})};$A.displayName=rs;var GA="SelectTrigger",WA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,s=$9(r),c=yr(GA,r),l=c.disabled||n,d=je(e,c.onTriggerChange),h=U9(r),u=v.useRef("touch"),[p,f,x]=x_(y=>{const m=h().filter(M=>!M.disabled),g=m.find(M=>M.value===c.value),w=k_(m,y,g);w!==void 0&&c.onValueChange(w.value)}),k=y=>{l||(c.onOpenChange(!0),x()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(eL,{asChild:!0,...s,children:t.jsx(me.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":f_(c.value)?"":void 0,...i,ref:d,onClick:he(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&k(y)}),onPointerDown:he(i.onPointerDown,y=>{u.current=y.pointerType;const m=y.target;m.hasPointerCapture(y.pointerId)&&m.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(k(y),y.preventDefault())}),onKeyDown:he(i.onKeyDown,y=>{const m=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(m&&y.key===" ")&&vH.includes(y.key)&&(k(),y.preventDefault())})})})});WA.displayName=GA;var ZA="SelectValue",XA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:s,placeholder:c="",...l}=a,d=yr(ZA,r),{onValueNodeHasChildrenChange:h}=d,u=s!==void 0,p=je(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(me.span,{...l,ref:p,style:{pointerEvents:"none"},children:f_(d.value)?t.jsx(t.Fragment,{children:c}):s})});XA.displayName=ZA;var LH="SelectIcon",JA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(me.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});JA.displayName=LH;var SH="SelectPortal",YA=a=>t.jsx(A9,{asChild:!0,...a});YA.displayName=SH;var ns="SelectContent",KA=v.forwardRef((a,e)=>{const r=yr(ns,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const s=n;return s?v9.createPortal(t.jsx(QA,{scope:a.__scopeSelect,children:t.jsx(B9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),s):null}return t.jsx(e_,{...a,ref:e})});KA.displayName=ns;var Yt=10,[QA,mr]=tc(ns),IH="SelectContentImpl",NH=uH("SelectContent.RemoveScroll"),e_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:k,hideWhenDetached:y,avoidCollisions:m,...g}=a,w=yr(ns,r),[M,b]=v.useState(null),[C,N]=v.useState(null),L=je(e,W=>b(W)),[S,A]=v.useState(null),[T,R]=v.useState(null),D=U9(r),[_,q]=v.useState(!1),z=v.useRef(!1);v.useEffect(()=>{if(M)return Aj(M)},[M]),Nj();const V=v.useCallback(W=>{const[Q,...ue]=D().map(ie=>ie.ref.current),[de]=ue.slice(-1),ye=document.activeElement;for(const ie of W)if(ie===ye||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&C&&(C.scrollTop=0),ie===de&&C&&(C.scrollTop=C.scrollHeight),ie==null||ie.focus(),document.activeElement!==ye))return},[D,C]),$=v.useCallback(()=>V([S,M]),[V,S,M]);v.useEffect(()=>{_&&$()},[_,$]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=de=>{var ye,ie;W={x:Math.abs(Math.round(de.pageX)-(((ye=re.current)==null?void 0:ye.x)??0)),y:Math.abs(Math.round(de.pageY)-(((ie=re.current)==null?void 0:ie.y)??0))}},ue=de=>{W.x<=10&&W.y<=10?de.preventDefault():M.contains(de.target)||E(!1),document.removeEventListener("pointermove",Q),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",ue,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",ue,{capture:!0})}}},[M,E,re]),v.useEffect(()=>{const W=()=>E(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[E]);const[ne,se]=x_(W=>{const Q=D().filter(ye=>!ye.disabled),ue=Q.find(ye=>ye.ref.current===document.activeElement),de=k_(Q,W,ue);de&&setTimeout(()=>de.ref.current.focus())}),ae=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&(A(W),de&&(z.current=!0))},[w.value]),oe=v.useCallback(()=>M==null?void 0:M.focus(),[M]),ee=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&R(W)},[w.value]),le=n==="popper"?VC:t_,ve=le===VC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:k,hideWhenDetached:y,avoidCollisions:m}:{};return t.jsx(QA,{scope:r,content:M,viewport:C,onViewportChange:N,itemRefCallback:ae,selectedItem:S,onItemLeave:oe,itemTextRefCallback:ee,focusSelectedItem:$,selectedItemText:T,position:n,isPositioned:_,searchRef:ne,children:t.jsx(P9,{as:NH,allowPinchZoom:!0,children:t.jsx(N9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:he(i,W=>{var Q;(Q=w.trigger)==null||Q.focus({preventScroll:!0}),W.preventDefault()}),children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:t.jsx(le,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...g,...ve,onPlaced:()=>q(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:he(g.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&se(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let de=D().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(W.key)&&(de=de.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const ye=W.target,ie=de.indexOf(ye);de=de.slice(ie+1)}setTimeout(()=>V(de)),W.preventDefault()}})})})})})})});e_.displayName=IH;var AH="SelectItemAlignedPosition",t_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,s=yr(ns,r),c=mr(ns,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=je(e,L=>u(L)),f=U9(r),x=v.useRef(!1),k=v.useRef(!0),{viewport:y,selectedItem:m,selectedItemText:g,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(s.trigger&&s.valueNode&&l&&h&&y&&m&&g){const L=s.trigger.getBoundingClientRect(),S=h.getBoundingClientRect(),A=s.valueNode.getBoundingClientRect(),T=g.getBoundingClientRect();if(s.dir!=="rtl"){const ye=T.left-S.left,ie=A.left-ye,Pe=L.left-ie,qe=L.width+Pe,Ke=Math.max(qe,S.width),it=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,it-Ke)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const ye=S.right-T.right,ie=window.innerWidth-A.right-ye,Pe=window.innerWidth-L.right-ie,qe=L.width+Pe,Ke=Math.max(qe,S.width),it=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,it-Ke)]);l.style.minWidth=qe+"px",l.style.right=yt+"px"}const R=f(),D=window.innerHeight-Yt*2,_=y.scrollHeight,q=window.getComputedStyle(h),z=parseInt(q.borderTopWidth,10),V=parseInt(q.paddingTop,10),$=parseInt(q.borderBottomWidth,10),E=parseInt(q.paddingBottom,10),re=z+V+_+E+$,ne=Math.min(m.offsetHeight*5,re),se=window.getComputedStyle(y),ae=parseInt(se.paddingTop,10),oe=parseInt(se.paddingBottom,10),ee=L.top+L.height/2-Yt,le=D-ee,ve=m.offsetHeight/2,W=m.offsetTop+ve,Q=z+V+W,ue=re-Q;if(Q<=ee){const ye=R.length>0&&m===R[R.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(le,ve+(ye?oe:0)+ie+$),qe=Q+Pe;l.style.height=qe+"px"}else{const ye=R.length>0&&m===R[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,z+y.offsetTop+(ye?ae:0)+ve)+ue;l.style.height=Pe+"px",y.scrollTop=Q-ee+y.offsetTop}l.style.margin=`${Yt}px 0`,l.style.minHeight=ne+"px",l.style.maxHeight=D+"px",n==null||n(),requestAnimationFrame(()=>x.current=!0)}},[f,s.trigger,s.valueNode,l,h,y,m,g,s.dir,n]);pt(()=>M(),[M]);const[b,C]=v.useState();pt(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const N=v.useCallback(L=>{L&&k.current===!0&&(M(),w==null||w(),k.current=!1)},[M,w]);return t.jsx(PH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:x,onScrollButtonChange:N,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:t.jsx(me.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});t_.displayName=AH;var _H="SelectPopperPosition",VC=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...s}=a,c=$9(r);return t.jsx(VA,{...c,...s,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});VC.displayName=_H;var[PH,tL]=tc(ns,{}),BC="SelectViewport",a_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,s=mr(BC,r),c=tL(BC,r),l=je(e,s.onViewportChange),d=v.useRef(0);return t.jsxs(t.Fragment,{children:[t.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),t.jsx(B9.Slot,{scope:r,children:t.jsx(me.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:he(i.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=c;if(f!=null&&f.current&&p){const x=Math.abs(d.current-u.scrollTop);if(x>0){const k=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),m=parseFloat(p.style.height),g=Math.max(y,m);if(g<k){const w=g+x,M=Math.min(k,w),b=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=b>0?b:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});a_.displayName=BC;var r_="SelectGroup",[qH,TH]=tc(r_),RH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(qH,{scope:r,id:i,children:t.jsx(me.div,{role:"group","aria-labelledby":i,...n,ref:e})})});RH.displayName=r_;var n_="SelectLabel",i_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=TH(n_,r);return t.jsx(me.div,{id:i.id,...n,ref:e})});i_.displayName=n_;var k9="SelectItem",[DH,o_]=tc(k9),s_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:s,...c}=a,l=yr(k9,r),d=mr(k9,r),h=l.value===n,[u,p]=v.useState(s??""),[f,x]=v.useState(!1),k=je(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),m=v.useRef("touch"),g=()=>{i||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.jsx(DH,{scope:r,value:n,disabled:i,textId:y,isSelected:h,onItemTextChange:v.useCallback(w=>{p(M=>M||((w==null?void 0:w.textContent)??"").trim())},[]),children:t.jsx(B9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(me.div,{role:"option","aria-labelledby":y,"data-highlighted":f?"":void 0,"aria-selected":h&&f,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:k,onFocus:he(c.onFocus,()=>x(!0)),onBlur:he(c.onBlur,()=>x(!1)),onClick:he(c.onClick,()=>{m.current!=="mouse"&&g()}),onPointerUp:he(c.onPointerUp,()=>{m.current==="mouse"&&g()}),onPointerDown:he(c.onPointerDown,w=>{m.current=w.pointerType}),onPointerMove:he(c.onPointerMove,w=>{var M;m.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):m.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:he(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:he(c.onKeyDown,w=>{var b;((b=d.searchRef)==null?void 0:b.current)!==""&&w.key===" "||(wH.includes(w.key)&&g(),w.key===" "&&w.preventDefault())})})})})});s_.displayName=k9;var hc="SelectItemText",c_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...s}=a,c=yr(hc,r),l=mr(hc,r),d=o_(hc,r),h=jH(hc,r),[u,p]=v.useState(null),f=je(e,g=>p(g),d.onItemTextChange,g=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,g,d.value,d.disabled)}),x=u==null?void 0:u.textContent,k=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:x},d.value),[d.disabled,d.value,x]),{onNativeOptionAdd:y,onNativeOptionRemove:m}=h;return pt(()=>(y(k),()=>m(k)),[y,m,k]),t.jsxs(t.Fragment,{children:[t.jsx(me.span,{id:d.textId,...s,ref:f}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?v9.createPortal(s.children,c.valueNode):null]})});c_.displayName=hc;var l_="SelectItemIndicator",d_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return o_(l_,r).isSelected?t.jsx(me.span,{"aria-hidden":!0,...n,ref:e}):null});d_.displayName=l_;var UC="SelectScrollUpButton",h_=v.forwardRef((a,e)=>{const r=mr(UC,a.__scopeSelect),n=tL(UC,a.__scopeSelect),[i,s]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;s(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(p_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});h_.displayName=UC;var $C="SelectScrollDownButton",u_=v.forwardRef((a,e)=>{const r=mr($C,a.__scopeSelect),n=tL($C,a.__scopeSelect),[i,s]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;s(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(p_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});u_.displayName=$C;var p_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,s=mr("SelectScrollButton",r),c=v.useRef(null),l=U9(r),d=v.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return v.useEffect(()=>()=>d(),[d]),pt(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),t.jsx(me.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:he(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:he(i.onPointerMove,()=>{var h;(h=s.onItemLeave)==null||h.call(s),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:he(i.onPointerLeave,()=>{d()})})}),zH="SelectSeparator",y_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(me.div,{"aria-hidden":!0,...n,ref:e})});y_.displayName=zH;var GC="SelectArrow",FH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=$9(r),s=yr(GC,r),c=mr(GC,r);return s.open&&c.position==="popper"?t.jsx(BA,{...i,...n,ref:e}):null});FH.displayName=GC;var EH="SelectBubbleInput",m_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),s=je(n,i),c=Oj(e);return v.useEffect(()=>{const l=i.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),t.jsx(me.select,{...r,style:{...UA,...r.style},ref:s,defaultValue:e})});m_.displayName=EH;function f_(a){return a===""||a===void 0}function x_(a){const e=tr(a),r=v.useRef(""),n=v.useRef(0),i=v.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),s=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,s]}function k_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,s=r?a.indexOf(r):-1;let c=HH(a,Math.max(s,0));i.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(i.toLowerCase()));return d!==r?d:void 0}function HH(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var OH=$A,g_=WA,VH=XA,BH=JA,UH=YA,v_=KA,$H=a_,w_=i_,M_=s_,GH=c_,WH=d_,b_=h_,C_=u_,aL=y_;const ZH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],XH=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},JH=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:s,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=XH(s),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(cs,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(hr,{className:"sm:max-w-lg",children:[t.jsxs(ls,{className:"space-y-2",children:[t.jsxs(pr,{className:"flex items-center gap-2 text-xl font-semibold",children:[t.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:t.jsx(Bt,{className:"h-5 w-5"})}),c]}),t.jsx(Ej,{className:"text-base text-muted-foreground",children:u})]}),t.jsxs("div",{className:"mt-2 space-y-4",children:[t.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[t.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[t.jsx($a,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:ZH.map(p=>t.jsxs("li",{className:"flex items-start gap-2",children:[t.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),t.jsx("span",{children:p})]},p))})]}),d&&t.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),t.jsx(aL,{className:"my-4"}),t.jsxs(ur,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx(G,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx(G,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx(G,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},YH=[{icon:wc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:As,label:"Settings",path:"/dashboard/settings"}];function KH({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:s=0}){return t.jsx("div",{className:"min-h-screen bg-background",children:t.jsxs("div",{className:"flex",children:[t.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[t.jsx("nav",{className:"flex-1 space-y-1 p-4",children:YH.map(c=>{const l=c.icon,d=i===c.path;return t.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[t.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&t.jsx("div",{className:"border-t p-4",children:t.jsxs(G,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(jc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const QH=w9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ct({className:a,variant:e,...r}){return t.jsx("div",{className:ce(QH({variant:e}),a),...r})}function eO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:s,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return vt;case"course":return Wt;case"news":return Sa;default:return vt}},h=u=>{switch(u.type){case"job":return t.jsxs(t.Fragment,{children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(G,{size:"sm",onClick:()=>s(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(G,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx(G,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",a," 👋"]}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),t.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[t.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(p,{className:"h-5 w-5 text-primary"}),t.jsx(ct,{variant:"secondary",children:u.type})]}),t.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),t.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vs,{className:"h-4 w-4"}),u.company]}),u.location&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"}),u.location]})]}),t.jsx(Ge,{children:u.description})]}),t.jsxs(Ce,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(f=>t.jsx(ct,{variant:"outline",children:f},f))}),u.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),t.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Jo,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(Ce,{className:"space-y-3",children:n.map(u=>t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),t.jsxs("div",{className:"text-right",children:[t.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&t.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Qt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),t.jsx(Ce,{className:"space-y-3",children:r.length===0?t.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>t.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[t.jsx(ct,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var G9="Switch",[tO]=ma(G9),[aO,rO]=tO(G9),j_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:s,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[f,x]=v.useState(null),k=je(e,M=>x(M)),y=v.useRef(!1),m=f?u||!!f.closest("form"):!0,[g,w]=ar({prop:i,defaultProp:s??!1,onChange:h,caller:G9});return t.jsxs(aO,{scope:r,checked:g,disabled:l,children:[t.jsx(me.button,{type:"button",role:"switch","aria-checked":g,"aria-required":c,"data-state":N_(g),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:he(a.onClick,M=>{w(b=>!b),m&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),m&&t.jsx(I_,{control:f,bubbles:!y.current,name:n,value:d,checked:g,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});j_.displayName=G9;var L_="SwitchThumb",S_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=rO(L_,r);return t.jsx(me.span,{"data-state":N_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});S_.displayName=L_;var nO="SwitchBubbleInput",I_=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},s)=>{const c=v.useRef(null),l=je(c,s),d=Oj(r),h=Vj(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&x){const k=new Event("click",{bubbles:n});x.call(u,r),u.dispatchEvent(k)}},[d,r,n]),t.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...i.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});I_.displayName=nO;function N_(a){return a?"checked":"unchecked"}var A_=j_,iO=S_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(A_,{className:ce("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",a),...e,ref:r,children:t.jsx(iO,{className:ce("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Kt.displayName=A_.displayName;function oO(a){const e=sO(a),r=v.forwardRef((n,i)=>{const{children:s,...c}=n,l=v.Children.toArray(s),d=l.find(lO);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:s})});return r.displayName=`${a}.Slot`,r}function sO(a){const e=v.forwardRef((r,n)=>{const{children:i,...s}=r;if(v.isValidElement(i)){const c=hO(i),l=dO(s,i.props);return i.type!==v.Fragment&&(l.ref=n?is(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var cO=Symbol("radix.slottable");function lO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===cO}function dO(a,e){const r={...e};for(const n in e){const i=a[n],s=e[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...l)=>{const d=s(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...s}:n==="className"&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...a,...r}}function hO(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var W9="Popover",[__]=ma(W9,[V9]),Qc=V9(),[uO,fr]=__(W9),P_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:c=!1}=a,l=Qc(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,f]=ar({prop:n,defaultProp:i??!1,onChange:s,caller:W9});return t.jsx(OA,{...l,children:t.jsx(uO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(x=>!x),[f]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};P_.displayName=W9;var q_="PopoverAnchor",pO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(q_,r),s=Qc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(eL,{...s,...n,ref:e})});pO.displayName=q_;var T_="PopoverTrigger",R_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(T_,r),s=Qc(r),c=je(e,i.triggerRef),l=t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":H_(i.open),...n,ref:c,onClick:he(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(eL,{asChild:!0,...s,children:l})});R_.displayName=T_;var rL="PopoverPortal",[yO,mO]=__(rL,{forceMount:void 0}),D_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,s=fr(rL,e);return t.jsx(yO,{scope:e,forceMount:r,children:t.jsx(cr,{present:r||s.open,children:t.jsx(A9,{asChild:!0,container:i,children:n})})})};D_.displayName=rL;var Zs="PopoverContent",z_=v.forwardRef((a,e)=>{const r=mO(Zs,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,s=fr(Zs,a.__scopePopover);return t.jsx(cr,{present:n||s.open,children:s.modal?t.jsx(xO,{...i,ref:e}):t.jsx(kO,{...i,ref:e})})});z_.displayName=Zs;var fO=oO("PopoverContent.RemoveScroll"),xO=v.forwardRef((a,e)=>{const r=fr(Zs,a.__scopePopover),n=v.useRef(null),i=je(e,n),s=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return Aj(c)},[]),t.jsx(P9,{as:fO,allowPinchZoom:!0,children:t.jsx(F_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),s.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;s.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:he(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),kO=v.forwardRef((a,e)=>{const r=fr(Zs,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(F_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,s),s.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),s.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:s=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=s.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),F_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,f=fr(Zs,r),x=Qc(r);return Nj(),t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>f.onOpenChange(!1),children:t.jsx(VA,{"data-state":H_(f.open),role:"dialog",id:f.contentId,...x,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),E_="PopoverClose",gO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=fr(E_,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});gO.displayName=E_;var vO="PopoverArrow",wO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=Qc(r);return t.jsx(BA,{...i,...n,ref:e})});wO.displayName=vO;function H_(a){return a?"open":"closed"}var MO=P_,bO=R_,CO=D_,O_=z_;const jO=MO,LO=bO,V_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(CO,{children:t.jsx(O_,{ref:i,align:e,sideOffset:r,className:ce("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",a),...n})}));V_.displayName=O_.displayName;const B_=v.forwardRef(({className:a,...e},r)=>t.jsx("textarea",{className:ce("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a),ref:r,...e}));B_.displayName="Textarea";const Zc=OH,Xc=VH,Xs=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(g_,{ref:n,className:ce("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...r,children:[e,t.jsx(BH,{asChild:!0,children:t.jsx(nA,{className:"h-4 w-4 opacity-50"})})]}));Xs.displayName=g_.displayName;const U_=v.forwardRef(({className:a,...e},r)=>t.jsx(b_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx($z,{className:"h-4 w-4"})}));U_.displayName=b_.displayName;const $_=v.forwardRef(({className:a,...e},r)=>t.jsx(C_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(nA,{className:"h-4 w-4"})}));$_.displayName=C_.displayName;const Js=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx(UH,{children:t.jsxs(v_,{ref:i,className:ce("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:r,...n,children:[t.jsx(U_,{}),t.jsx($H,{className:ce("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),t.jsx($_,{})]})}));Js.displayName=v_.displayName;const SO=v.forwardRef(({className:a,...e},r)=>t.jsx(w_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));SO.displayName=w_.displayName;const Ys=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(M_,{ref:n,className:ce("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...r,children:[t.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(WH,{children:t.jsx(Vz,{className:"h-4 w-4"})})}),t.jsx(GH,{children:e})]}));Ys.displayName=M_.displayName;const IO=v.forwardRef(({className:a,...e},r)=>t.jsx(aL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));IO.displayName=aL.displayName;function NO({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const s=new Date().getFullYear(),c=Array.from({length:40},(x,k)=>`${s-k}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});j.useEffect(()=>{if(n){const[x,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:x||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,a]);const[h,u]=j.useState(!1),p=(x,k)=>d(y=>({...y,[x]:k})),f=()=>{const x=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:x,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(pr,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Title"}),t.jsx(tt,{value:l.title,onChange:x=>p("title",x.target.value)})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Company"}),t.jsx(tt,{value:l.company,onChange:x=>p("company",x.target.value)})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Start Year"}),t.jsxs(Zc,{onValueChange:x=>p("startYear",x),value:l.startYear,children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select year"})}),t.jsx(Js,{children:c.map(x=>t.jsx(Ys,{value:x,children:x},x))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(fe,{children:"End Year"}),t.jsxs(Zc,{onValueChange:x=>p("endYear",x),value:l.endYear,children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select year"})}),t.jsx(Js,{children:c.map(x=>t.jsx(Ys,{value:x,children:x},x))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:x=>p("isPresent",x.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(fe,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Tags (comma-separated)"}),t.jsx(B_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:x=>p("tags",x.target.value)})]})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:f,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var AO=Symbol("radix.slottable");function _O(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=AO,e}var G_="AlertDialog",[PO]=ma(G_,[HN]),Ta=HN(),W_=a=>{const{__scopeAlertDialog:e,...r}=a,n=Ta(e);return t.jsx(aA,{...n,...r,modal:!0})};W_.displayName=G_;var qO="AlertDialogTrigger",TO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Hz,{...i,...n,ref:e})});TO.displayName=qO;var RO="AlertDialogPortal",Z_=a=>{const{__scopeAlertDialog:e,...r}=a,n=Ta(e);return t.jsx(rA,{...n,...r})};Z_.displayName=RO;var DO="AlertDialogOverlay",X_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Tj,{...i,...n,ref:e})});X_.displayName=DO;var Es="AlertDialogContent",[zO,FO]=PO(Es),EO=_O("AlertDialogContent"),J_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,s=Ta(r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return t.jsx(Dz,{contentName:Es,titleName:Y_,docsSlug:"alert-dialog",children:t.jsx(zO,{scope:r,cancelRef:d,children:t.jsxs(Rj,{role:"alertdialog",...s,...i,ref:l,onOpenAutoFocus:he(i.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[t.jsx(EO,{children:n}),t.jsx(OO,{contentRef:c})]})})})});J_.displayName=Es;var Y_="AlertDialogTitle",K_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Dj,{...i,...n,ref:e})});K_.displayName=Y_;var Q_="AlertDialogDescription",eP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(zj,{...i,...n,ref:e})});eP.displayName=Q_;var HO="AlertDialogAction",tP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=Ta(r);return t.jsx(Fj,{...i,...n,ref:e})});tP.displayName=HO;var aP="AlertDialogCancel",rP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=FO(aP,r),s=Ta(r),c=je(e,i);return t.jsx(Fj,{...s,...n,ref:c})});rP.displayName=aP;var OO=({contentRef:a})=>{const e=`\`${Es}\` requires a description for the component to be accessible for screen reader users.
7812
7812
 
7813
7813
  You can add a description to the \`${Es}\` by passing a \`${Q_}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7814
7814
 
7815
7815
  Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Es}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
7816
7816
 
7817
- For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return v.useEffect(()=>{var n;document.getElementById((n=a.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,a]),null},VO=W_,BO=Z_,nP=X_,iP=J_,oP=tP,sP=rP,cP=K_,lP=eP;const UO=VO,$O=BO,dP=v.forwardRef(({className:a,...e},r)=>t.jsx(nP,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e,ref:r}));dP.displayName=nP.displayName;const hP=v.forwardRef(({className:a,...e},r)=>t.jsxs($O,{children:[t.jsx(dP,{}),t.jsx(iP,{ref:r,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...e})]}));hP.displayName=iP.displayName;const uP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});uP.displayName="AlertDialogHeader";const pP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});pP.displayName="AlertDialogFooter";const yP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce("text-lg font-semibold",a),...e}));yP.displayName=cP.displayName;const mP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));mP.displayName=lP.displayName;const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(oP,{ref:r,className:ce(JC(),a),...e}));fP.displayName=oP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(sP,{ref:r,className:ce(JC({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));xP.displayName=sP.displayName;function uS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[s,c]=j.useState("");j.useEffect(()=>{a||c("")},[a]);const l=()=>{s.trim()&&(r(s.trim()),c(""),e())};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(fe,{children:n}),t.jsx(tt,{value:s,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!s.trim(),children:"Add"})]})]})})}const pS=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function GO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[s,c]=j.useState(pS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=pS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"skill",children:"Skill Name"}),t.jsx(tt,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&s.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:s.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{i(h)},children:h},h))})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const yS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function WO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[s,c]=j.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(yS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"topic",children:"Topic"}),t.jsx(tt,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&s.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:s.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>i(h),children:h},h))})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const ZO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],XO=["Native","Fluent","Intermediate","Basic"];function JO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState({name:"",proficiency:""}),s=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Language"}),t.jsxs(Zc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select a language"})}),t.jsx(Js,{children:ZO.map(c=>t.jsx(Ys,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Proficiency"}),t.jsxs(Zc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select proficiency"})}),t.jsx(Js,{children:XO.map(c=>t.jsx(Ys,{value:c,children:c},c))})]})]})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:s,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function YO({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=j.useState(a),[s,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(null),[p,f]=j.useState(null),[x,k]=j.useState(!1),[y,m]=j.useState(!1),[g,w]=j.useState(!1),[M,b]=j.useState(!1),[C,A]=j.useState(!1),L=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],S=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],N=()=>{l&&(i(_=>{const q={..._,workExperience:_.workExperience.filter(D=>D.id!==l)};return e({type:"profile",payload:q}),q}),d(null))},T=(_,q,D)=>{i(V=>({...V,[_]:{...V[_],[q]:D}}))},z=(_,q,D)=>{i(V=>({...V,[_]:{...V[_],[q]:D}}))},R=()=>{e({type:"profile",payload:n})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),t.jsx(G,{onClick:R,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(os,{defaultValue:"personal",className:"w-full",children:[t.jsxs(lr,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[t.jsx(Ie,{value:"personal",children:"Personal"}),t.jsx(Ie,{value:"experience",children:"Experience"}),t.jsx(Ie,{value:"job-search",children:"Job Search"}),t.jsx(Ie,{value:"skills",children:"Skills"}),t.jsx(Ie,{value:"languages",children:"Languages"}),t.jsx(Ie,{value:"alerts",children:"Alerts"}),t.jsx(Ie,{value:"preferences",children:"Preferences"})]}),t.jsx(Ne,{value:"personal",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Personal Details"}),t.jsx(Ge,{children:"Update your personal information"})]}),t.jsx(Ce,{className:"space-y-4",children:t.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"fullName",children:"Full Name"}),t.jsx(tt,{id:"fullName",value:n.personalDetails.fullName,onChange:_=>T("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email"}),t.jsx(tt,{id:"email",type:"email",value:n.personalDetails.email,onChange:_=>T("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"phone",children:"Phone"}),t.jsx(tt,{id:"phone",value:n.personalDetails.phone,onChange:_=>T("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"location",children:"Location"}),t.jsx(tt,{id:"location",value:n.personalDetails.location,onChange:_=>T("personalDetails","location",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Work Experience"}),t.jsx(Ge,{children:"Your iGaming industry experience"})]}),t.jsxs(Ce,{className:"space-y-4",children:[n.workExperience.map(_=>t.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-semibold",children:_.title}),t.jsx("p",{className:"text-sm text-muted-foreground",children:_.company}),t.jsx("p",{className:"text-xs text-muted-foreground",children:_.period})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>{const q=n.workExperience.find(D=>D.id===_.id);f(q||null),c(!0)},children:"Edit"}),t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(q=>t.jsx(ct,{variant:"secondary",children:q},q))})]},_.id)),t.jsx(G,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(NO,{open:s,onClose:()=>{c(!1),f(null)},existingExperience:p,onAdded:_=>{i(q=>({...q,workExperience:[...q.workExperience,_]}))},onUpdated:_=>{i(q=>({...q,workExperience:q.workExperience.map(D=>D.id===_.id?_:D)}))}}),t.jsx(UO,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(hP,{children:[t.jsxs(uP,{children:[t.jsx(yP,{children:"Delete Experience"}),t.jsx(mP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(pP,{children:[t.jsx(xP,{children:"Cancel"}),t.jsx(fP,{onClick:N,className:"bg-destructive text-white",children:"Delete"})]})]})}),t.jsxs(Ne,{value:"job-search",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Job Search Details"}),t.jsx(Ge,{children:"Define your ideal job preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(ct,{variant:"secondary",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:Array.from(new Set([...q.jobSearchDetails.desiredRoles,_]))}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(ct,{variant:"secondary",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:q.jobSearchDetails.locations.filter(D=>D!==_)}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>m(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Employment Type"}),t.jsxs(jO,{children:[t.jsx(LO,{asChild:!0,children:t.jsx(G,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx(V_,{className:"w-64 p-2 space-y-2",children:L.map(_=>{const q=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(D=>{const $=D.jobSearchDetails.employmentType.includes(_)?D.jobSearchDetails.employmentType.filter(E=>E!==_):[...D.jobSearchDetails.employmentType,_];return{...D,jobSearchDetails:{...D.jobSearchDetails,employmentType:$}}}),children:[t.jsx($j,{checked:q}),t.jsx(fe,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(uS,{open:x,onClose:()=>k(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:[...q.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(uS,{open:y,onClose:()=>m(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:[...q.jobSearchDetails.locations,_]}}))})]}),t.jsxs(Ne,{value:"skills",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Skill Set"}),t.jsx(Ge,{children:"Your professional skills and expertise"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,skills:q.skills.filter(D=>D!==_)})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(GO,{open:g,onClose:()=>w(!1),onAdded:_=>i(q=>({...q,skills:Array.from(new Set([...q.skills,_]))}))})]}),t.jsxs(Ne,{value:"languages",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Languages"}),t.jsx(Ge,{children:"Your spoken and professional languages"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,q)=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(D=>({...D,languages:D.languages.filter((V,$)=>$!==q)})),children:"✕"})]},`${_.name}-${q}`))}),t.jsx(G,{variant:"outline",onClick:()=>A(!0),children:"Add Language"})]})]}),t.jsx(JO,{open:C,onClose:()=>A(!1),onAdded:_=>i(q=>({...q,languages:[...q.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Alerts & Subscriptions"}),t.jsx(Ge,{children:"Manage your notification preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),t.jsx(Kt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:_=>z("alerts","jobAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),t.jsx(Kt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:_=>z("alerts","courseAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),t.jsx(Kt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:_=>z("alerts","newsAlerts",_)})]})]})]})}),t.jsxs(Ne,{value:"preferences",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Preferences"}),t.jsx(Ge,{children:"Customize your platform experience"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,preferences:{...q.preferences,topics:q.preferences.topics.filter(D=>D!==_)}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>b(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"language",children:"Language"}),t.jsxs(Zc,{value:n.preferences.language,onValueChange:_=>T("preferences","language",_),children:[t.jsx(Xs,{id:"language",children:t.jsx(Xc,{placeholder:"Select your preferred language"})}),t.jsx(Js,{children:S.map(_=>t.jsx(Ys,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:_=>z("preferences","emailNotifications",_)})]})]})]}),t.jsx(WO,{open:M,onClose:()=>b(!1),onAdded:_=>i(q=>({...q,preferences:{...q.preferences,topics:Array.from(new Set([...q.preferences.topics,_]))}}))})]})]})]})}function KO({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:s,onSetAlert:c,onUpdateProfile:l}){const d=m=>({savedJobs:m.saved,recommendedJobs:m.recommended,applications:m.applications}),[h,u]=j.useState({saved:a||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{u({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const p=m=>{u(g=>{if(g.saved.some(b=>b.id===m.id))return g;const M={...g,saved:[...g.saved,m]};return l==null||l({type:"jobs",payload:d(M)}),M})},f=m=>{u(g=>{const w={...g,saved:g.saved.filter(M=>M.id!==m)};return l==null||l({type:"jobs",payload:d(w)}),w})},x=m=>{u(g=>{const w={...g,recommended:g.recommended.filter(M=>M.id!==m)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=m=>{const g=h.recommended.find(w=>w.id===m);g&&(u(w=>{const M={...w,applications:[...w.applications,{...g,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(M)}),M}),n(m))},y=({job:m,view:g})=>{var C;const w=h.saved.some(A=>A.id===m.id),M=m.city?`${m.city}, ${m.country}`:m.location,b=m.salaryMin&&m.salaryMax?`${m.salaryMin}–${m.salaryMax} ${m.salaryCurrency||""}`:void 0;return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:m.title}),t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vs,{className:"h-4 w-4"})," ",m.company]}),t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"})," ",M]})]})]}),g==="applications"&&m.status&&t.jsx(ct,{variant:"secondary",children:m.status})]}),b&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:b})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[m.department&&t.jsx(ct,{variant:"outline",children:m.department}),(C=m.skills)==null?void 0:C.slice(0,6).map(A=>t.jsx(ct,{variant:"secondary",children:A},A))]}),g==="applications"&&m.appliedDate&&t.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[t.jsx(Qt,{className:"h-3 w-3"}),"Applied ",m.appliedDate]}),t.jsxs("div",{className:"flex gap-2",children:[g==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(G,{size:"sm",onClick:()=>k(m.id),children:"Apply Now"}),t.jsx(G,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(m),children:w?"Saved":"Save Job"}),t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>x(m.id),children:"Remove"})]}),g==="saved"&&t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>f(m.id),children:"Remove"}),g==="applications"&&t.jsx(G,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),t.jsxs("div",{className:"flex gap-2",children:[t.jsx(G,{variant:"outline",onClick:c,children:"Set Job Alerts"}),t.jsxs(G,{onClick:s,children:[t.jsx(qs,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),t.jsxs(os,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(lr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.recommended.map(m=>t.jsx(y,{job:m,view:"recommended"},m.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.saved.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),t.jsx(G,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(m=>t.jsx(y,{job:m,view:"saved"},m.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.applications.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),t.jsx(G,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(m=>t.jsx(y,{job:m,view:"applications"},m.id))})})]})]})}function QO(a,e=[]){let r=[];function n(s,c){const l=v.createContext(c);l.displayName=s+"Context";const d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:x,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,m=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:m,children:x})};h.displayName=s+"Provider";function u(p,f){var y;const x=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(x);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[h,u]}const i=()=>{const s=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||s;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,eV(i,...e)]}function eV(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(s)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var tV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kP=tV.reduce((a,e)=>{const r=ZC(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),nL="Progress",iL=100,[aV]=QO(nL),[rV,nV]=aV(nL),gP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:s=iV,...c}=a;(i||i===0)&&!mS(i)&&console.error(oV(`${i}`,"Progress"));const l=mS(i)?i:iL;n!==null&&!fS(n,l)&&console.error(sV(`${n}`,"Progress"));const d=fS(n,l)?n:null,h=g9(d)?s(d,l):void 0;return t.jsx(rV,{scope:r,value:d,max:l,children:t.jsx(kP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":g9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":MP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});gP.displayName=nL;var vP="ProgressIndicator",wP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=nV(vP,r);return t.jsx(kP.div,{"data-state":MP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});wP.displayName=vP;function iV(a,e){return`${Math.round(a/e*100)}%`}function MP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function g9(a){return typeof a=="number"}function mS(a){return g9(a)&&!isNaN(a)&&a>0}function fS(a,e){return g9(a)&&!isNaN(a)&&a<=e&&a>=0}function oV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${iL}\`.`}function sV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7817
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return v.useEffect(()=>{var n;document.getElementById((n=a.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,a]),null},VO=W_,BO=Z_,nP=X_,iP=J_,oP=tP,sP=rP,cP=K_,lP=eP;const UO=VO,$O=BO,dP=v.forwardRef(({className:a,...e},r)=>t.jsx(nP,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e,ref:r}));dP.displayName=nP.displayName;const hP=v.forwardRef(({className:a,...e},r)=>t.jsxs($O,{children:[t.jsx(dP,{}),t.jsx(iP,{ref:r,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...e})]}));hP.displayName=iP.displayName;const uP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});uP.displayName="AlertDialogHeader";const pP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});pP.displayName="AlertDialogFooter";const yP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce("text-lg font-semibold",a),...e}));yP.displayName=cP.displayName;const mP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));mP.displayName=lP.displayName;const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(oP,{ref:r,className:ce(JC(),a),...e}));fP.displayName=oP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(sP,{ref:r,className:ce(JC({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));xP.displayName=sP.displayName;function uS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[s,c]=j.useState("");j.useEffect(()=>{a||c("")},[a]);const l=()=>{s.trim()&&(r(s.trim()),c(""),e())};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(fe,{children:n}),t.jsx(tt,{value:s,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!s.trim(),children:"Add"})]})]})})}const pS=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function GO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[s,c]=j.useState(pS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=pS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"skill",children:"Skill Name"}),t.jsx(tt,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&s.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:s.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{i(h)},children:h},h))})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const yS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function WO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[s,c]=j.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(yS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"topic",children:"Topic"}),t.jsx(tt,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&s.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:s.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>i(h),children:h},h))})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const ZO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],XO=["Native","Fluent","Intermediate","Basic"];function JO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState({name:"",proficiency:""}),s=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(cs,{open:a,onOpenChange:e,children:t.jsxs(hr,{children:[t.jsx(ls,{children:t.jsx(pr,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Language"}),t.jsxs(Zc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select a language"})}),t.jsx(Js,{children:ZO.map(c=>t.jsx(Ys,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Proficiency"}),t.jsxs(Zc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Xs,{children:t.jsx(Xc,{placeholder:"Select proficiency"})}),t.jsx(Js,{children:XO.map(c=>t.jsx(Ys,{value:c,children:c},c))})]})]})]}),t.jsxs(ur,{children:[t.jsx(G,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(G,{onClick:s,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function YO({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=j.useState(a),[s,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(null),[p,f]=j.useState(null),[x,k]=j.useState(!1),[y,m]=j.useState(!1),[g,w]=j.useState(!1),[M,b]=j.useState(!1),[C,N]=j.useState(!1),L=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],S=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],A=()=>{l&&(i(_=>{const q={..._,workExperience:_.workExperience.filter(z=>z.id!==l)};return e({type:"profile",payload:q}),q}),d(null))},T=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},R=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},D=()=>{e({type:"profile",payload:n})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),t.jsx(G,{onClick:D,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(os,{defaultValue:"personal",className:"w-full",children:[t.jsxs(lr,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[t.jsx(Ie,{value:"personal",children:"Personal"}),t.jsx(Ie,{value:"experience",children:"Experience"}),t.jsx(Ie,{value:"job-search",children:"Job Search"}),t.jsx(Ie,{value:"skills",children:"Skills"}),t.jsx(Ie,{value:"languages",children:"Languages"}),t.jsx(Ie,{value:"alerts",children:"Alerts"}),t.jsx(Ie,{value:"preferences",children:"Preferences"})]}),t.jsx(Ne,{value:"personal",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Personal Details"}),t.jsx(Ge,{children:"Update your personal information"})]}),t.jsx(Ce,{className:"space-y-4",children:t.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"fullName",children:"Full Name"}),t.jsx(tt,{id:"fullName",value:n.personalDetails.fullName,onChange:_=>T("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email"}),t.jsx(tt,{id:"email",type:"email",value:n.personalDetails.email,onChange:_=>T("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"phone",children:"Phone"}),t.jsx(tt,{id:"phone",value:n.personalDetails.phone,onChange:_=>T("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"location",children:"Location"}),t.jsx(tt,{id:"location",value:n.personalDetails.location,onChange:_=>T("personalDetails","location",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Work Experience"}),t.jsx(Ge,{children:"Your iGaming industry experience"})]}),t.jsxs(Ce,{className:"space-y-4",children:[n.workExperience.map(_=>t.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-semibold",children:_.title}),t.jsx("p",{className:"text-sm text-muted-foreground",children:_.company}),t.jsx("p",{className:"text-xs text-muted-foreground",children:_.period})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx(G,{variant:"outline",size:"sm",onClick:()=>{const q=n.workExperience.find(z=>z.id===_.id);f(q||null),c(!0)},children:"Edit"}),t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(q=>t.jsx(ct,{variant:"secondary",children:q},q))})]},_.id)),t.jsx(G,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(NO,{open:s,onClose:()=>{c(!1),f(null)},existingExperience:p,onAdded:_=>{i(q=>({...q,workExperience:[...q.workExperience,_]}))},onUpdated:_=>{i(q=>({...q,workExperience:q.workExperience.map(z=>z.id===_.id?_:z)}))}}),t.jsx(UO,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(hP,{children:[t.jsxs(uP,{children:[t.jsx(yP,{children:"Delete Experience"}),t.jsx(mP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(pP,{children:[t.jsx(xP,{children:"Cancel"}),t.jsx(fP,{onClick:A,className:"bg-destructive text-white",children:"Delete"})]})]})}),t.jsxs(Ne,{value:"job-search",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Job Search Details"}),t.jsx(Ge,{children:"Define your ideal job preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(ct,{variant:"secondary",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:Array.from(new Set([...q.jobSearchDetails.desiredRoles,_]))}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(ct,{variant:"secondary",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:q.jobSearchDetails.locations.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>m(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Employment Type"}),t.jsxs(jO,{children:[t.jsx(LO,{asChild:!0,children:t.jsx(G,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx(V_,{className:"w-64 p-2 space-y-2",children:L.map(_=>{const q=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(z=>{const $=z.jobSearchDetails.employmentType.includes(_)?z.jobSearchDetails.employmentType.filter(E=>E!==_):[...z.jobSearchDetails.employmentType,_];return{...z,jobSearchDetails:{...z.jobSearchDetails,employmentType:$}}}),children:[t.jsx($j,{checked:q}),t.jsx(fe,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(uS,{open:x,onClose:()=>k(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:[...q.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(uS,{open:y,onClose:()=>m(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:[...q.jobSearchDetails.locations,_]}}))})]}),t.jsxs(Ne,{value:"skills",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Skill Set"}),t.jsx(Ge,{children:"Your professional skills and expertise"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,skills:q.skills.filter(z=>z!==_)})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(GO,{open:g,onClose:()=>w(!1),onAdded:_=>i(q=>({...q,skills:Array.from(new Set([...q.skills,_]))}))})]}),t.jsxs(Ne,{value:"languages",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Languages"}),t.jsx(Ge,{children:"Your spoken and professional languages"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,q)=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(z=>({...z,languages:z.languages.filter((V,$)=>$!==q)})),children:"✕"})]},`${_.name}-${q}`))}),t.jsx(G,{variant:"outline",onClick:()=>N(!0),children:"Add Language"})]})]}),t.jsx(JO,{open:C,onClose:()=>N(!1),onAdded:_=>i(q=>({...q,languages:[...q.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Alerts & Subscriptions"}),t.jsx(Ge,{children:"Manage your notification preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),t.jsx(Kt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:_=>R("alerts","jobAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),t.jsx(Kt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:_=>R("alerts","courseAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),t.jsx(Kt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:_=>R("alerts","newsAlerts",_)})]})]})]})}),t.jsxs(Ne,{value:"preferences",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Preferences"}),t.jsx(Ge,{children:"Customize your platform experience"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(ct,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(G,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,preferences:{...q.preferences,topics:q.preferences.topics.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(G,{variant:"outline",size:"sm",onClick:()=>b(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"language",children:"Language"}),t.jsxs(Zc,{value:n.preferences.language,onValueChange:_=>T("preferences","language",_),children:[t.jsx(Xs,{id:"language",children:t.jsx(Xc,{placeholder:"Select your preferred language"})}),t.jsx(Js,{children:S.map(_=>t.jsx(Ys,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:_=>R("preferences","emailNotifications",_)})]})]})]}),t.jsx(WO,{open:M,onClose:()=>b(!1),onAdded:_=>i(q=>({...q,preferences:{...q.preferences,topics:Array.from(new Set([...q.preferences.topics,_]))}}))})]})]})]})}function KO({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:s,onSetAlert:c,onUpdateProfile:l}){const d=m=>({savedJobs:m.saved,recommendedJobs:m.recommended,applications:m.applications}),[h,u]=j.useState({saved:a||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{u({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const p=m=>{u(g=>{if(g.saved.some(b=>b.id===m.id))return g;const M={...g,saved:[...g.saved,m]};return l==null||l({type:"jobs",payload:d(M)}),M})},f=m=>{u(g=>{const w={...g,saved:g.saved.filter(M=>M.id!==m)};return l==null||l({type:"jobs",payload:d(w)}),w})},x=m=>{u(g=>{const w={...g,recommended:g.recommended.filter(M=>M.id!==m)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=m=>{const g=h.recommended.find(w=>w.id===m);g&&(u(w=>{const M={...w,applications:[...w.applications,{...g,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(M)}),M}),n(m))},y=({job:m,view:g})=>{var C;const w=h.saved.some(N=>N.id===m.id),M=m.city?`${m.city}, ${m.country}`:m.location,b=m.salaryMin&&m.salaryMax?`${m.salaryMin}–${m.salaryMax} ${m.salaryCurrency||""}`:void 0;return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:m.title}),t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vs,{className:"h-4 w-4"})," ",m.company]}),t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"})," ",M]})]})]}),g==="applications"&&m.status&&t.jsx(ct,{variant:"secondary",children:m.status})]}),b&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:b})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[m.department&&t.jsx(ct,{variant:"outline",children:m.department}),(C=m.skills)==null?void 0:C.slice(0,6).map(N=>t.jsx(ct,{variant:"secondary",children:N},N))]}),g==="applications"&&m.appliedDate&&t.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[t.jsx(Qt,{className:"h-3 w-3"}),"Applied ",m.appliedDate]}),t.jsxs("div",{className:"flex gap-2",children:[g==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(G,{size:"sm",onClick:()=>k(m.id),children:"Apply Now"}),t.jsx(G,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(m),children:w?"Saved":"Save Job"}),t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>x(m.id),children:"Remove"})]}),g==="saved"&&t.jsx(G,{variant:"destructive",size:"sm",onClick:()=>f(m.id),children:"Remove"}),g==="applications"&&t.jsx(G,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),t.jsxs("div",{className:"flex gap-2",children:[t.jsx(G,{variant:"outline",onClick:c,children:"Set Job Alerts"}),t.jsxs(G,{onClick:s,children:[t.jsx(qs,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),t.jsxs(os,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(lr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.recommended.map(m=>t.jsx(y,{job:m,view:"recommended"},m.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.saved.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),t.jsx(G,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(m=>t.jsx(y,{job:m,view:"saved"},m.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:h.applications.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),t.jsx(G,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(m=>t.jsx(y,{job:m,view:"applications"},m.id))})})]})]})}function QO(a,e=[]){let r=[];function n(s,c){const l=v.createContext(c);l.displayName=s+"Context";const d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:x,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,m=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:m,children:x})};h.displayName=s+"Provider";function u(p,f){var y;const x=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(x);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[h,u]}const i=()=>{const s=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||s;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,eV(i,...e)]}function eV(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(s)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var tV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kP=tV.reduce((a,e)=>{const r=ZC(`Primitive.${e}`),n=v.forwardRef((i,s)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:s})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),nL="Progress",iL=100,[aV]=QO(nL),[rV,nV]=aV(nL),gP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:s=iV,...c}=a;(i||i===0)&&!mS(i)&&console.error(oV(`${i}`,"Progress"));const l=mS(i)?i:iL;n!==null&&!fS(n,l)&&console.error(sV(`${n}`,"Progress"));const d=fS(n,l)?n:null,h=g9(d)?s(d,l):void 0;return t.jsx(rV,{scope:r,value:d,max:l,children:t.jsx(kP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":g9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":MP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});gP.displayName=nL;var vP="ProgressIndicator",wP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=nV(vP,r);return t.jsx(kP.div,{"data-state":MP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});wP.displayName=vP;function iV(a,e){return`${Math.round(a/e*100)}%`}function MP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function g9(a){return typeof a=="number"}function mS(a){return g9(a)&&!isNaN(a)&&a>0}function fS(a,e){return g9(a)&&!isNaN(a)&&a<=e&&a>=0}function oV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${iL}\`.`}function sV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7818
7818
  - a positive number
7819
7819
  - less than the value passed to \`max\` (or ${iL} if no \`max\` prop is set)
7820
7820
  - \`null\` or \`undefined\` if the progress is indeterminate.