@igamingcareer/igaming-components 1.0.72 → 1.0.73

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 +20 -20
  2. package/dist/index.mjs +673 -628
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,20 +14,20 @@
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 cL;function _P(){return cL||(cL=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"),o=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"),m=Symbol.for("react.offscreen"),g=Symbol.iterator,y="@@iterator";function x(A){if(A===null||typeof A!="object")return null;var O=g&&A[g]||A[y];return typeof O=="function"?O:null}var k=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(A){{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",A,X)}}function M(A,O,X){{var P=k.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[A],console,Z)}}var L=!1,b=!1,I=!1,S=!1,C=!1,N;N=Symbol.for("react.module.reference");function T(A){return!!(typeof A=="string"||typeof A=="function"||A===n||A===o||C||A===i||A===h||A===u||S||A===m||L||b||I||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===p||A.$$typeof===c||A.$$typeof===l||A.$$typeof===d||A.$$typeof===N||A.getModuleId!==void 0))}function R(A,O,X){var P=A.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function D(A){return A.displayName||"Context"}function _(A){if(A==null)return null;if(typeof A.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case l:var O=A;return D(O)+".Consumer";case c:var X=A;return D(X._context)+".Provider";case d:return R(A,A.render,"ForwardRef");case p:var P=A.displayName||null;return P!==null?P:_(A.type)||"Memo";case f:{var H=A,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var q=Object.assign,z=0,V,G,E,re,ne,oe,ae;function se(){}se.__reactDisabledLog=!0;function ee(){{if(z===0){V=console.log,G=console.info,E=console.warn,re=console.error,ne=console.group,oe=console.groupCollapsed,ae=console.groupEnd;var A={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}z++}}function le(){{if(z--,z===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},A,{value:V}),info:q({},A,{value:G}),warn:q({},A,{value:E}),error:q({},A,{value:re}),group:q({},A,{value:ne}),groupCollapsed:q({},A,{value:oe}),groupEnd:q({},A,{value:ae})})}z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=k.ReactCurrentDispatcher,W;function Q(A,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
- `+W+A}}var ue=!1,de;{var me=typeof WeakMap=="function"?WeakMap:Map;de=new me}function ie(A,O){if(!A||ue)return"";{var X=de.get(A);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(tt){P=tt}Reflect.construct(A,[],Y)}else{try{Y.call()}catch(tt){P=tt}A.call(Y.prototype)}}else{try{throw Error()}catch(tt){P=tt}A()}}catch(tt){if(tt&&P&&typeof tt.stack=="string"){for(var te=tt.stack.split(`
17
+ */var cL;function _P(){return cL||(cL=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"),o=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"),m=Symbol.for("react.offscreen"),g=Symbol.iterator,y="@@iterator";function x(A){if(A===null||typeof A!="object")return null;var O=g&&A[g]||A[y];return typeof O=="function"?O:null}var k=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(A){{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",A,X)}}function M(A,O,X){{var P=k.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[A],console,Z)}}var L=!1,b=!1,I=!1,S=!1,C=!1,N;N=Symbol.for("react.module.reference");function q(A){return!!(typeof A=="string"||typeof A=="function"||A===n||A===o||C||A===i||A===h||A===u||S||A===m||L||b||I||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===p||A.$$typeof===c||A.$$typeof===l||A.$$typeof===d||A.$$typeof===N||A.getModuleId!==void 0))}function R(A,O,X){var P=A.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function D(A){return A.displayName||"Context"}function _(A){if(A==null)return null;if(typeof A.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case l:var O=A;return D(O)+".Consumer";case c:var X=A;return D(X._context)+".Provider";case d:return R(A,A.render,"ForwardRef");case p:var P=A.displayName||null;return P!==null?P:_(A.type)||"Memo";case f:{var H=A,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var T=Object.assign,z=0,V,G,E,re,ne,oe,ae;function se(){}se.__reactDisabledLog=!0;function ee(){{if(z===0){V=console.log,G=console.info,E=console.warn,re=console.error,ne=console.group,oe=console.groupCollapsed,ae=console.groupEnd;var A={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:A,log:A,warn:A,error:A,group:A,groupCollapsed:A,groupEnd:A})}z++}}function de(){{if(z--,z===0){var A={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},A,{value:V}),info:T({},A,{value:G}),warn:T({},A,{value:E}),error:T({},A,{value:re}),group:T({},A,{value:ne}),groupCollapsed:T({},A,{value:oe}),groupEnd:T({},A,{value:ae})})}z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=k.ReactCurrentDispatcher,W;function Q(A,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
+ `+W+A}}var pe=!1,he;{var me=typeof WeakMap=="function"?WeakMap:Map;he=new me}function ie(A,O){if(!A||pe)return"";{var X=he.get(A);if(X!==void 0)return X}var P;pe=!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(tt){P=tt}Reflect.construct(A,[],Y)}else{try{Y.call()}catch(tt){P=tt}A.call(Y.prototype)}}else{try{throw Error()}catch(tt){P=tt}A()}}catch(tt){if(tt&&P&&typeof tt.stack=="string"){for(var te=tt.stack.split(`
19
19
  `),Le=P.stack.split(`
20
- `),Me=te.length-1,ge=Le.length-1;Me>=1&&ge>=0&&te[Me]!==Le[ge];)ge--;for(;Me>=1&&ge>=0;Me--,ge--)if(te[Me]!==Le[ge]){if(Me!==1||ge!==1)do if(Me--,ge--,ge<0||te[Me]!==Le[ge]){var ze=`
21
- `+te[Me].replace(" at new "," at ");return A.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",A.displayName)),typeof A=="function"&&de.set(A,ze),ze}while(Me>=1&&ge>=0);break}}}finally{ue=!1,ve.current=Z,le(),Error.prepareStackTrace=H}var Ye=A?A.displayName||A.name:"",nt=Ye?Q(Ye):"";return typeof A=="function"&&de.set(A,nt),nt}function Pe(A,O,X){return ie(A,!1)}function qe(A){var O=A.prototype;return!!(O&&O.isReactComponent)}function Qe(A,O,X){if(A==null)return"";if(typeof A=="function")return ie(A,qe(A));if(typeof A=="string")return Q(A);switch(A){case h:return Q("Suspense");case u:return Q("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case d:return Pe(A.render);case p:return Qe(A.type,O,X);case f:{var P=A,H=P._payload,Z=P._init;try{return Qe(Z(H),O,X)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,yt={},xt=k.ReactDebugCurrentFrame;function ot(A){if(A){var O=A._owner,X=Qe(A.type,A._source,O?O.type:null);xt.setExtraStackFrame(X)}else xt.setExtraStackFrame(null)}function $e(A,O,X,P,H){{var Z=Function.call.bind(st);for(var Y in A)if(Z(A,Y)){var te=void 0;try{if(typeof A[Y]!="function"){var Le=Error((P||"React class")+": "+X+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}te=A[Y](O,Y,P,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Me){te=Me}te&&!(te instanceof Error)&&(ot(H),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",P||"React class",X,Y,typeof te),ot(null)),te instanceof Error&&!(te.message in yt)&&(yt[te.message]=!0,ot(H),w("Failed %s type: %s",X,te.message),ot(null))}}}var gt=Array.isArray;function rt(A){return gt(A)}function Fa(A){{var O=typeof Symbol=="function"&&Symbol.toStringTag,X=O&&A[Symbol.toStringTag]||A.constructor.name||"Object";return X}}function Lt(A){try{return kt(A),!1}catch{return!0}}function kt(A){return""+A}function xa(A){if(Lt(A))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fa(A)),kt(A)}var F=k.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0},J,we;function Ee(A){if(st.call(A,"ref")){var O=Object.getOwnPropertyDescriptor(A,"ref").get;if(O&&O.isReactWarning)return!1}return A.ref!==void 0}function et(A){if(st.call(A,"key")){var O=Object.getOwnPropertyDescriptor(A,"key").get;if(O&&O.isReactWarning)return!1}return A.key!==void 0}function He(A,O){typeof A.ref=="string"&&F.current}function Ht(A,O){{var X=function(){J||(J=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};X.isReactWarning=!0,Object.defineProperty(A,"key",{get:X,configurable:!0})}}function Ot(A,O){{var X=function(){we||(we=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};X.isReactWarning=!0,Object.defineProperty(A,"ref",{get:X,configurable:!0})}}var vr=function(A,O,X,P,H,Z,Y){var te={$$typeof:e,type:A,key:O,ref:X,props:Y,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function rc(A,O,X,P,H){{var Z,Y={},te=null,Le=null;X!==void 0&&(xa(X),te=""+X),et(O)&&(xa(O.key),te=""+O.key),Ee(O)&&(Le=O.ref,He(O,H));for(Z in O)st.call(O,Z)&&!B.hasOwnProperty(Z)&&(Y[Z]=O[Z]);if(A&&A.defaultProps){var Me=A.defaultProps;for(Z in Me)Y[Z]===void 0&&(Y[Z]=Me[Z])}if(te||Le){var ge=typeof A=="function"?A.displayName||A.name||"Unknown":A;te&&Ht(Y,ge),Le&&Ot(Y,ge)}return vr(A,te,Le,H,P,F.current,Y)}}var ga=k.ReactCurrentOwner,wr=k.ReactDebugCurrentFrame;function Vt(A){if(A){var O=A._owner,X=Qe(A.type,A._source,O?O.type:null);wr.setExtraStackFrame(X)}else wr.setExtraStackFrame(null)}var Ea;Ea=!1;function ka(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function ho(){{if(ga.current){var A=_(ga.current.type);if(A)return`
20
+ `),Me=te.length-1,ge=Le.length-1;Me>=1&&ge>=0&&te[Me]!==Le[ge];)ge--;for(;Me>=1&&ge>=0;Me--,ge--)if(te[Me]!==Le[ge]){if(Me!==1||ge!==1)do if(Me--,ge--,ge<0||te[Me]!==Le[ge]){var Fe=`
21
+ `+te[Me].replace(" at new "," at ");return A.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",A.displayName)),typeof A=="function"&&he.set(A,Fe),Fe}while(Me>=1&&ge>=0);break}}}finally{pe=!1,ve.current=Z,de(),Error.prepareStackTrace=H}var Ye=A?A.displayName||A.name:"",nt=Ye?Q(Ye):"";return typeof A=="function"&&he.set(A,nt),nt}function Pe(A,O,X){return ie(A,!1)}function qe(A){var O=A.prototype;return!!(O&&O.isReactComponent)}function Qe(A,O,X){if(A==null)return"";if(typeof A=="function")return ie(A,qe(A));if(typeof A=="string")return Q(A);switch(A){case h:return Q("Suspense");case u:return Q("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case d:return Pe(A.render);case p:return Qe(A.type,O,X);case f:{var P=A,H=P._payload,Z=P._init;try{return Qe(Z(H),O,X)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,yt={},xt=k.ReactDebugCurrentFrame;function ot(A){if(A){var O=A._owner,X=Qe(A.type,A._source,O?O.type:null);xt.setExtraStackFrame(X)}else xt.setExtraStackFrame(null)}function Ge(A,O,X,P,H){{var Z=Function.call.bind(st);for(var Y in A)if(Z(A,Y)){var te=void 0;try{if(typeof A[Y]!="function"){var Le=Error((P||"React class")+": "+X+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}te=A[Y](O,Y,P,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Me){te=Me}te&&!(te instanceof Error)&&(ot(H),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",P||"React class",X,Y,typeof te),ot(null)),te instanceof Error&&!(te.message in yt)&&(yt[te.message]=!0,ot(H),w("Failed %s type: %s",X,te.message),ot(null))}}}var gt=Array.isArray;function rt(A){return gt(A)}function Fa(A){{var O=typeof Symbol=="function"&&Symbol.toStringTag,X=O&&A[Symbol.toStringTag]||A.constructor.name||"Object";return X}}function Lt(A){try{return kt(A),!1}catch{return!0}}function kt(A){return""+A}function xa(A){if(Lt(A))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fa(A)),kt(A)}var F=k.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0},J,we;function He(A){if(st.call(A,"ref")){var O=Object.getOwnPropertyDescriptor(A,"ref").get;if(O&&O.isReactWarning)return!1}return A.ref!==void 0}function et(A){if(st.call(A,"key")){var O=Object.getOwnPropertyDescriptor(A,"key").get;if(O&&O.isReactWarning)return!1}return A.key!==void 0}function Oe(A,O){typeof A.ref=="string"&&F.current}function Ht(A,O){{var X=function(){J||(J=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};X.isReactWarning=!0,Object.defineProperty(A,"key",{get:X,configurable:!0})}}function Ot(A,O){{var X=function(){we||(we=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};X.isReactWarning=!0,Object.defineProperty(A,"ref",{get:X,configurable:!0})}}var vr=function(A,O,X,P,H,Z,Y){var te={$$typeof:e,type:A,key:O,ref:X,props:Y,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function rc(A,O,X,P,H){{var Z,Y={},te=null,Le=null;X!==void 0&&(xa(X),te=""+X),et(O)&&(xa(O.key),te=""+O.key),He(O)&&(Le=O.ref,Oe(O,H));for(Z in O)st.call(O,Z)&&!B.hasOwnProperty(Z)&&(Y[Z]=O[Z]);if(A&&A.defaultProps){var Me=A.defaultProps;for(Z in Me)Y[Z]===void 0&&(Y[Z]=Me[Z])}if(te||Le){var ge=typeof A=="function"?A.displayName||A.name||"Unknown":A;te&&Ht(Y,ge),Le&&Ot(Y,ge)}return vr(A,te,Le,H,P,F.current,Y)}}var ga=k.ReactCurrentOwner,wr=k.ReactDebugCurrentFrame;function Vt(A){if(A){var O=A._owner,X=Qe(A.type,A._source,O?O.type:null);wr.setExtraStackFrame(X)}else wr.setExtraStackFrame(null)}var Ea;Ea=!1;function ka(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function ho(){{if(ga.current){var A=_(ga.current.type);if(A)return`
22
22
 
23
23
  Check the render method of \``+A+"`."}return""}}function $(A){return""}var K={};function xe(A){{var O=ho();if(!O){var X=typeof A=="string"?A:A.displayName||A.name;X&&(O=`
24
24
 
25
- Check the top-level render call using <`+X+">.")}return O}}function Se(A,O){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var X=xe(O);if(K[X])return;K[X]=!0;var P="";A&&A._owner&&A._owner!==ga.current&&(P=" It was passed a child from "+_(A._owner.type)+"."),Vt(A),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',X,P),Vt(null)}}function Ge(A,O){{if(typeof A!="object")return;if(rt(A))for(var X=0;X<A.length;X++){var P=A[X];ka(P)&&Se(P,O)}else if(ka(A))A._store&&(A._store.validated=!0);else if(A){var H=x(A);if(typeof H=="function"&&H!==A.entries)for(var Z=H.call(A),Y;!(Y=Z.next()).done;)ka(Y.value)&&Se(Y.value,O)}}}function Ha(A){{var O=A.type;if(O==null||typeof O=="string")return;var X;if(typeof O=="function")X=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===d||O.$$typeof===p))X=O.propTypes;else return;if(X){var P=_(O);$e(X,A.props,"prop",P,A)}else if(O.PropTypes!==void 0&&!Ea){Ea=!0;var H=_(O);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(A){{for(var O=Object.keys(A.props),X=0;X<O.length;X++){var P=O[X];if(P!=="children"&&P!=="key"){Vt(A),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),Vt(null);break}}A.ref!==null&&(Vt(A),w("Invalid attribute `ref` supplied to `React.Fragment`."),Vt(null))}}var dt={};function Oa(A,O,X,P,H,Z){{var Y=T(A);if(!Y){var te="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(te+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=$();Le?te+=Le:te+=ho();var Me;A===null?Me="null":rt(A)?Me="array":A!==void 0&&A.$$typeof===e?(Me="<"+(_(A.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):Me=typeof A,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Me,te)}var ge=rc(A,O,X,H,Z);if(ge==null)return ge;if(Y){var ze=O.children;if(ze!==void 0)if(P)if(rt(ze)){for(var Ye=0;Ye<ze.length;Ye++)Ge(ze[Ye],A);Object.freeze&&Object.freeze(ze)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ge(ze,A)}if(st.call(O,"key")){var nt=_(A),tt=Object.keys(O).filter(function(IP){return IP!=="key"}),X9=tt.length>0?"{key: someKey, "+tt.join(": ..., ")+": ...}":"{key: someKey}";if(!dt[nt+X9]){var SP=tt.length>0?"{"+tt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+X+">.")}return O}}function Se(A,O){{if(!A._store||A._store.validated||A.key!=null)return;A._store.validated=!0;var X=xe(O);if(K[X])return;K[X]=!0;var P="";A&&A._owner&&A._owner!==ga.current&&(P=" It was passed a child from "+_(A._owner.type)+"."),Vt(A),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',X,P),Vt(null)}}function We(A,O){{if(typeof A!="object")return;if(rt(A))for(var X=0;X<A.length;X++){var P=A[X];ka(P)&&Se(P,O)}else if(ka(A))A._store&&(A._store.validated=!0);else if(A){var H=x(A);if(typeof H=="function"&&H!==A.entries)for(var Z=H.call(A),Y;!(Y=Z.next()).done;)ka(Y.value)&&Se(Y.value,O)}}}function Ha(A){{var O=A.type;if(O==null||typeof O=="string")return;var X;if(typeof O=="function")X=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===d||O.$$typeof===p))X=O.propTypes;else return;if(X){var P=_(O);Ge(X,A.props,"prop",P,A)}else if(O.PropTypes!==void 0&&!Ea){Ea=!0;var H=_(O);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(A){{for(var O=Object.keys(A.props),X=0;X<O.length;X++){var P=O[X];if(P!=="children"&&P!=="key"){Vt(A),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),Vt(null);break}}A.ref!==null&&(Vt(A),w("Invalid attribute `ref` supplied to `React.Fragment`."),Vt(null))}}var dt={};function Oa(A,O,X,P,H,Z){{var Y=q(A);if(!Y){var te="";(A===void 0||typeof A=="object"&&A!==null&&Object.keys(A).length===0)&&(te+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=$();Le?te+=Le:te+=ho();var Me;A===null?Me="null":rt(A)?Me="array":A!==void 0&&A.$$typeof===e?(Me="<"+(_(A.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):Me=typeof A,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Me,te)}var ge=rc(A,O,X,H,Z);if(ge==null)return ge;if(Y){var Fe=O.children;if(Fe!==void 0)if(P)if(rt(Fe)){for(var Ye=0;Ye<Fe.length;Ye++)We(Fe[Ye],A);Object.freeze&&Object.freeze(Fe)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We(Fe,A)}if(st.call(O,"key")){var nt=_(A),tt=Object.keys(O).filter(function(IP){return IP!=="key"}),X9=tt.length>0?"{key: someKey, "+tt.join(": ..., ")+": ...}":"{key: someKey}";if(!dt[nt+X9]){var SP=tt.length>0?"{"+tt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
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} />`,X9,nt,SP,nt),dt[nt+X9]=!0}}return A===n?ct(ge):Ha(ge),ge}}function Xe(A,O,X){return Oa(A,O,X,!0)}function mt(A,O,X){return Oa(A,O,X,!1)}var nc=mt,i1=Xe;sc.Fragment=n,sc.jsx=nc,sc.jsxs=i1}()),sc}process.env.NODE_ENV==="production"?vj.exports=AP():vj.exports=_P();var t=vj.exports;function lL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function oo(...a){return e=>{let r=!1;const n=a.map(i=>{const o=lL(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():lL(a[i],null)}}}}function Ce(...a){return v.useCallback(oo(...a),a)}var PP=Symbol.for("react.lazy"),o9=v[" use ".trim().toString()];function qP(a){return typeof a=="object"&&a!==null&&"then"in a}function vS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===PP&&"_payload"in a&&qP(a._payload)}function Jj(a){const e=RP(a),r=v.forwardRef((n,i)=>{let{children:o,...c}=n;vS(o)&&typeof o9=="function"&&(o=o9(o._payload));const l=v.Children.toArray(o),d=l.find(zP);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:o})});return r.displayName=`${a}.Slot`,r}var TP=Jj("Slot");function RP(a){const e=v.forwardRef((r,n)=>{let{children:i,...o}=r;if(vS(i)&&typeof o9=="function"&&(i=o9(i._payload)),v.isValidElement(i)){const c=EP(i),l=FP(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 DP=Symbol("radix.slottable");function zP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===DP}function FP(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function EP(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 wS(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=wS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function MS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=wS(a))&&(n&&(n+=" "),n+=e);return n}const dL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,hL=MS,b9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return hL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:o}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=o==null?void 0:o[h];if(u===null)return null;const f=dL(u)||dL(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,...m}=u;return Object.entries(m).every(g=>{let[y,x]=g;return Array.isArray(x)?x.includes({...o,...l}[y]):{...o,...l}[y]===x})?[...h,p,f]:h},[]);return hL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},Yj="-",HP=a=>{const e=VP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(Yj);return l[0]===""&&l.length!==1&&l.shift(),bS(l,e)||OP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},bS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?bS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const o=a.join(Yj);return(c=e.validators.find(({validator:l})=>l(o)))==null?void 0:c.classGroupId},uL=/^\[(.+)\]$/,OP=a=>{if(uL.test(a)){const e=uL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},VP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return UP(Object.entries(a.classGroups),r).forEach(([o,c])=>{wj(c,n,o,e)}),n},wj=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const o=i===""?e:pL(e,i);o.classGroupId=r;return}if(typeof i=="function"){if(BP(i)){wj(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,c])=>{wj(c,pL(e,o),r,n)})})},pL=(a,e)=>{let r=a;return e.split(Yj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},BP=a=>a.isThemeGetter,UP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([c,l])=>[e+c,l])):o);return[r,i]}):a,$P=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(o,c)=>{r.set(o,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(o){let c=r.get(o);if(c!==void 0)return c;if((c=n.get(o))!==void 0)return i(o,c),c},set(o,c){r.has(o)?r.set(o,c):i(o,c)}}},jS="!",GP=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],o=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let k=l[x];if(h===0){if(k===i&&(n||l.slice(x,x+o)===e)){d.push(l.slice(u,x)),u=x+o;continue}if(k==="/"){p=x;continue}}k==="["?h++:k==="]"&&h--}const f=d.length===0?l:l.substring(u),m=f.startsWith(jS),g=m?f.substring(1):f,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},WP=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},ZP=a=>({cache:$P(a.cacheSize),parseClassName:GP(a),...HP(a)}),XP=/\s+/,JP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,o=[],c=a.trim().split(XP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=r(h);let g=!!m,y=n(g?f.substring(0,m):f);if(!y){if(!g){l=h+(l.length>0?" "+l:l);continue}if(y=n(f),!y){l=h+(l.length>0?" "+l:l);continue}g=!1}const x=WP(u).join(":"),k=p?x+jS:x,w=k+y;if(o.includes(w))continue;o.push(w);const M=i(y,g);for(let L=0;L<M.length;++L){const b=M[L];o.push(k+b)}l=h+(l.length>0?" "+l:l)}return l};function YP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=CS(e))&&(n&&(n+=" "),n+=r);return n}const CS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=CS(a[n]))&&(r&&(r+=" "),r+=e);return r};function KP(a,...e){let r,n,i,o=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=ZP(h),n=r.cache.get,i=r.cache.set,o=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=JP(d,r);return i(d,u),u}return function(){return o(YP.apply(null,arguments))}}const De=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},LS=/^\[(?:([a-z-]+):)?(.+)\]$/i,QP=/^\d+\/\d+$/,eq=new Set(["px","full","screen"]),tq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aq=/\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$/,rq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>go(a)||eq.has(a)||QP.test(a),Va=a=>Qo(a,"length",pq),go=a=>!!a&&!Number.isNaN(Number(a)),J9=a=>Qo(a,"number",go),oc=a=>!!a&&Number.isInteger(Number(a)),sq=a=>a.endsWith("%")&&go(a.slice(0,-1)),pe=a=>LS.test(a),Ba=a=>tq.test(a),oq=new Set(["length","size","percentage"]),cq=a=>Qo(a,oq,SS),lq=a=>Qo(a,"position",SS),dq=new Set(["image","url"]),hq=a=>Qo(a,dq,mq),uq=a=>Qo(a,"",yq),cc=()=>!0,Qo=(a,e,r)=>{const n=LS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},pq=a=>aq.test(a)&&!rq.test(a),SS=()=>!1,yq=a=>nq.test(a),mq=a=>iq.test(a),fq=()=>{const a=De("colors"),e=De("spacing"),r=De("blur"),n=De("brightness"),i=De("borderColor"),o=De("borderRadius"),c=De("borderSpacing"),l=De("borderWidth"),d=De("contrast"),h=De("grayscale"),u=De("hueRotate"),p=De("invert"),f=De("gap"),m=De("gradientColorStops"),g=De("gradientColorStopPositions"),y=De("inset"),x=De("margin"),k=De("opacity"),w=De("padding"),M=De("saturate"),L=De("scale"),b=De("sepia"),I=De("skew"),S=De("space"),C=De("translate"),N=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",pe,e],D=()=>[pe,e],_=()=>["",va,Va],q=()=>["auto",go,pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],G=()=>["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"],oe=()=>[go,pe];return{cacheSize:500,separator:":",theme:{colors:[cc],spacing:[va,Va],blur:["none","",Ba,pe],brightness:oe(),borderColor:[a],borderRadius:["none","","full",Ba,pe],borderSpacing:D(),borderWidth:_(),contrast:oe(),grayscale:re(),hueRotate:oe(),invert:re(),gap:D(),gradientColorStops:[a],gradientColorStopPositions:[sq,Va],inset:R(),margin:R(),opacity:oe(),padding:D(),saturate:oe(),scale:oe(),sepia:re(),skew:oe(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",pe]}],container:["container"],columns:[{columns:[Ba]}],"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: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: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":[cc]}],"col-start-end":[{col:["auto",{span:["full",oc,pe]},pe]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[cc]}],"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:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"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:[Ba]},Ba]}],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",Ba,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J9]}],"font-family":[{font:[cc]}],"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",go,J9]}],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":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Va]}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),lq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[k]}],"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":[k]}],"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,Va]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[va,Va]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ba,uq]}],"shadow-color":[{shadow:[cc]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ba,pe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"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":[k]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"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:oe()}],ease:[{ease:["linear","in","out","in-out",pe]}],delay:[{delay:oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[oc,pe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"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,Va,J9]}],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"]}}},xq=KP(fq);function ce(...a){return xq(MS(a))}const Kj=b9("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"}}),U=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},o)=>{const c=n?TP:"button";return t.jsx(c,{className:ce(Kj({variant:e,size:r,className:a})),ref:o,...i})});U.displayName="Button";const We=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}));We.displayName="Input";/**
30
+ <%s key={someKey} {...props} />`,X9,nt,SP,nt),dt[nt+X9]=!0}}return A===n?ct(ge):Ha(ge),ge}}function Xe(A,O,X){return Oa(A,O,X,!0)}function mt(A,O,X){return Oa(A,O,X,!1)}var nc=mt,i1=Xe;sc.Fragment=n,sc.jsx=nc,sc.jsxs=i1}()),sc}process.env.NODE_ENV==="production"?vj.exports=AP():vj.exports=_P();var t=vj.exports;function lL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function oo(...a){return e=>{let r=!1;const n=a.map(i=>{const o=lL(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():lL(a[i],null)}}}}function Ce(...a){return v.useCallback(oo(...a),a)}var PP=Symbol.for("react.lazy"),o9=v[" use ".trim().toString()];function qP(a){return typeof a=="object"&&a!==null&&"then"in a}function vS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===PP&&"_payload"in a&&qP(a._payload)}function Jj(a){const e=RP(a),r=v.forwardRef((n,i)=>{let{children:o,...c}=n;vS(o)&&typeof o9=="function"&&(o=o9(o._payload));const l=v.Children.toArray(o),d=l.find(zP);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:o})});return r.displayName=`${a}.Slot`,r}var TP=Jj("Slot");function RP(a){const e=v.forwardRef((r,n)=>{let{children:i,...o}=r;if(vS(i)&&typeof o9=="function"&&(i=o9(i._payload)),v.isValidElement(i)){const c=EP(i),l=FP(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 DP=Symbol("radix.slottable");function zP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===DP}function FP(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function EP(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 wS(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=wS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function MS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=wS(a))&&(n&&(n+=" "),n+=e);return n}const dL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,hL=MS,b9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return hL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:o}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=o==null?void 0:o[h];if(u===null)return null;const f=dL(u)||dL(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,...m}=u;return Object.entries(m).every(g=>{let[y,x]=g;return Array.isArray(x)?x.includes({...o,...l}[y]):{...o,...l}[y]===x})?[...h,p,f]:h},[]);return hL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},Yj="-",HP=a=>{const e=VP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(Yj);return l[0]===""&&l.length!==1&&l.shift(),bS(l,e)||OP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},bS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?bS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const o=a.join(Yj);return(c=e.validators.find(({validator:l})=>l(o)))==null?void 0:c.classGroupId},uL=/^\[(.+)\]$/,OP=a=>{if(uL.test(a)){const e=uL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},VP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return UP(Object.entries(a.classGroups),r).forEach(([o,c])=>{wj(c,n,o,e)}),n},wj=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const o=i===""?e:pL(e,i);o.classGroupId=r;return}if(typeof i=="function"){if(BP(i)){wj(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,c])=>{wj(c,pL(e,o),r,n)})})},pL=(a,e)=>{let r=a;return e.split(Yj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},BP=a=>a.isThemeGetter,UP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([c,l])=>[e+c,l])):o);return[r,i]}):a,$P=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(o,c)=>{r.set(o,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(o){let c=r.get(o);if(c!==void 0)return c;if((c=n.get(o))!==void 0)return i(o,c),c},set(o,c){r.has(o)?r.set(o,c):i(o,c)}}},jS="!",GP=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],o=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let k=l[x];if(h===0){if(k===i&&(n||l.slice(x,x+o)===e)){d.push(l.slice(u,x)),u=x+o;continue}if(k==="/"){p=x;continue}}k==="["?h++:k==="]"&&h--}const f=d.length===0?l:l.substring(u),m=f.startsWith(jS),g=m?f.substring(1):f,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},WP=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},ZP=a=>({cache:$P(a.cacheSize),parseClassName:GP(a),...HP(a)}),XP=/\s+/,JP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,o=[],c=a.trim().split(XP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=r(h);let g=!!m,y=n(g?f.substring(0,m):f);if(!y){if(!g){l=h+(l.length>0?" "+l:l);continue}if(y=n(f),!y){l=h+(l.length>0?" "+l:l);continue}g=!1}const x=WP(u).join(":"),k=p?x+jS:x,w=k+y;if(o.includes(w))continue;o.push(w);const M=i(y,g);for(let L=0;L<M.length;++L){const b=M[L];o.push(k+b)}l=h+(l.length>0?" "+l:l)}return l};function YP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=CS(e))&&(n&&(n+=" "),n+=r);return n}const CS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=CS(a[n]))&&(r&&(r+=" "),r+=e);return r};function KP(a,...e){let r,n,i,o=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=ZP(h),n=r.cache.get,i=r.cache.set,o=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=JP(d,r);return i(d,u),u}return function(){return o(YP.apply(null,arguments))}}const ze=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},LS=/^\[(?:([a-z-]+):)?(.+)\]$/i,QP=/^\d+\/\d+$/,eq=new Set(["px","full","screen"]),tq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aq=/\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$/,rq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>go(a)||eq.has(a)||QP.test(a),Va=a=>Qo(a,"length",pq),go=a=>!!a&&!Number.isNaN(Number(a)),J9=a=>Qo(a,"number",go),oc=a=>!!a&&Number.isInteger(Number(a)),sq=a=>a.endsWith("%")&&go(a.slice(0,-1)),ye=a=>LS.test(a),Ba=a=>tq.test(a),oq=new Set(["length","size","percentage"]),cq=a=>Qo(a,oq,SS),lq=a=>Qo(a,"position",SS),dq=new Set(["image","url"]),hq=a=>Qo(a,dq,mq),uq=a=>Qo(a,"",yq),cc=()=>!0,Qo=(a,e,r)=>{const n=LS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},pq=a=>aq.test(a)&&!rq.test(a),SS=()=>!1,yq=a=>nq.test(a),mq=a=>iq.test(a),fq=()=>{const a=ze("colors"),e=ze("spacing"),r=ze("blur"),n=ze("brightness"),i=ze("borderColor"),o=ze("borderRadius"),c=ze("borderSpacing"),l=ze("borderWidth"),d=ze("contrast"),h=ze("grayscale"),u=ze("hueRotate"),p=ze("invert"),f=ze("gap"),m=ze("gradientColorStops"),g=ze("gradientColorStopPositions"),y=ze("inset"),x=ze("margin"),k=ze("opacity"),w=ze("padding"),M=ze("saturate"),L=ze("scale"),b=ze("sepia"),I=ze("skew"),S=ze("space"),C=ze("translate"),N=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",ye,e],D=()=>[ye,e],_=()=>["",va,Va],T=()=>["auto",go,ye],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],G=()=>["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",ye],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>[go,ye];return{cacheSize:500,separator:":",theme:{colors:[cc],spacing:[va,Va],blur:["none","",Ba,ye],brightness:oe(),borderColor:[a],borderRadius:["none","","full",Ba,ye],borderSpacing:D(),borderWidth:_(),contrast:oe(),grayscale:re(),hueRotate:oe(),invert:re(),gap:D(),gradientColorStops:[a],gradientColorStopPositions:[sq,Va],inset:R(),margin:R(),opacity:oe(),padding:D(),saturate:oe(),scale:oe(),sepia:re(),skew:oe(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",ye]}],container:["container"],columns:[{columns:[Ba]}],"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(),ye]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],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,ye]}],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",ye]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",oc,ye]}],"grid-cols":[{"grid-cols":[cc]}],"col-start-end":[{col:["auto",{span:["full",oc,ye]},ye]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[cc]}],"row-start-end":[{row:["auto",{span:[oc,ye]},ye]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ye]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ye]}],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:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ye,e]}],"min-w":[{"min-w":[ye,e,"min","max","fit"]}],"max-w":[{"max-w":[ye,e,"none","full","min","max","fit","prose",{screen:[Ba]},Ba]}],h:[{h:[ye,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ye,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ye,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ye,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ba,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J9]}],"font-family":[{font:[cc]}],"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",ye]}],"line-clamp":[{"line-clamp":["none",go,J9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",va,ye]}],"list-image":[{"list-image":["none",ye]}],"list-style-type":[{list:["none","disc","decimal",ye]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Va]}],"underline-offset":[{"underline-offset":["auto",va,ye]}],"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",ye]}],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",ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),lq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[k]}],"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":[k]}],"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,ye]}],"outline-w":[{outline:[va,Va]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[va,Va]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ba,uq]}],"shadow-color":[{shadow:[cc]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ba,ye]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"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":[k]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"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",ye]}],duration:[{duration:oe()}],ease:[{ease:["linear","in","out","in-out",ye]}],delay:[{delay:oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ye]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[oc,ye]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ye]}],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",ye]}],"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",ye]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[va,Va,J9]}],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"]}}},xq=KP(fq);function ce(...a){return xq(MS(a))}const Kj=b9("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"}}),U=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},o)=>{const c=n?TP:"button";return t.jsx(c,{className:ce(Kj({variant:e,size:r,className:a})),ref:o,...i})});U.displayName="Button";const Te=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}));Te.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 wq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:x1,AArrowDownIcon:x1,AArrowUp:g1,AArrowUpIcon:g1,ALargeSmall:k1,ALargeSmallIcon:k1,Accessibility:v1,AccessibilityIcon:v1,Activity:w1,ActivityIcon:w1,ActivitySquare:Ni,ActivitySquareIcon:Ni,AirVent:M1,AirVentIcon:M1,Airplay:b1,AirplayIcon:b1,AlarmCheck:jr,AlarmCheckIcon:jr,AlarmClock:C1,AlarmClockCheck:jr,AlarmClockCheckIcon:jr,AlarmClockIcon:C1,AlarmClockMinus:Cr,AlarmClockMinusIcon:Cr,AlarmClockOff:j1,AlarmClockOffIcon:j1,AlarmClockPlus:Lr,AlarmClockPlusIcon:Lr,AlarmMinus:Cr,AlarmMinusIcon:Cr,AlarmPlus:Lr,AlarmPlusIcon:Lr,AlarmSmoke:L1,AlarmSmokeIcon:L1,Album:S1,AlbumIcon:S1,AlertCircle:Nt,AlertCircleIcon:Nt,AlertOctagon:si,AlertOctagonIcon:si,AlertTriangle:Ns,AlertTriangleIcon:Ns,AlignCenter:A1,AlignCenterHorizontal:I1,AlignCenterHorizontalIcon:I1,AlignCenterIcon:A1,AlignCenterVertical:N1,AlignCenterVerticalIcon:N1,AlignEndHorizontal:_1,AlignEndHorizontalIcon:_1,AlignEndVertical:P1,AlignEndVerticalIcon:P1,AlignHorizontalDistributeCenter:q1,AlignHorizontalDistributeCenterIcon:q1,AlignHorizontalDistributeEnd:T1,AlignHorizontalDistributeEndIcon:T1,AlignHorizontalDistributeStart:R1,AlignHorizontalDistributeStartIcon:R1,AlignHorizontalJustifyCenter:D1,AlignHorizontalJustifyCenterIcon:D1,AlignHorizontalJustifyEnd:z1,AlignHorizontalJustifyEndIcon:z1,AlignHorizontalJustifyStart:F1,AlignHorizontalJustifyStartIcon:F1,AlignHorizontalSpaceAround:E1,AlignHorizontalSpaceAroundIcon:E1,AlignHorizontalSpaceBetween:H1,AlignHorizontalSpaceBetweenIcon:H1,AlignJustify:O1,AlignJustifyIcon:O1,AlignLeft:V1,AlignLeftIcon:V1,AlignRight:B1,AlignRightIcon:B1,AlignStartHorizontal:U1,AlignStartHorizontalIcon:U1,AlignStartVertical:$1,AlignStartVerticalIcon:$1,AlignVerticalDistributeCenter:G1,AlignVerticalDistributeCenterIcon:G1,AlignVerticalDistributeEnd:W1,AlignVerticalDistributeEndIcon:W1,AlignVerticalDistributeStart:Z1,AlignVerticalDistributeStartIcon:Z1,AlignVerticalJustifyCenter:X1,AlignVerticalJustifyCenterIcon:X1,AlignVerticalJustifyEnd:J1,AlignVerticalJustifyEndIcon:J1,AlignVerticalJustifyStart:Y1,AlignVerticalJustifyStartIcon:Y1,AlignVerticalSpaceAround:K1,AlignVerticalSpaceAroundIcon:K1,AlignVerticalSpaceBetween:Q1,AlignVerticalSpaceBetweenIcon:Q1,Ambulance:el,AmbulanceIcon:el,Ampersand:tl,AmpersandIcon:tl,Ampersands:al,AmpersandsIcon:al,Amphora:rl,AmphoraIcon:rl,Anchor:nl,AnchorIcon:nl,Angry:il,AngryIcon:il,Annoyed:sl,AnnoyedIcon:sl,Antenna:ol,AntennaIcon:ol,Anvil:cl,AnvilIcon:cl,Aperture:ll,ApertureIcon:ll,AppWindow:hl,AppWindowIcon:hl,AppWindowMac:dl,AppWindowMacIcon:dl,Apple:ul,AppleIcon:ul,Archive:ml,ArchiveIcon:ml,ArchiveRestore:pl,ArchiveRestoreIcon:pl,ArchiveX:yl,ArchiveXIcon:yl,AreaChart:Hr,AreaChartIcon:Hr,Armchair:fl,ArmchairIcon:fl,ArrowBigDown:gl,ArrowBigDownDash:xl,ArrowBigDownDashIcon:xl,ArrowBigDownIcon:gl,ArrowBigLeft:vl,ArrowBigLeftDash:kl,ArrowBigLeftDashIcon:kl,ArrowBigLeftIcon:vl,ArrowBigRight:Ml,ArrowBigRightDash:wl,ArrowBigRightDashIcon:wl,ArrowBigRightIcon:Ml,ArrowBigUp:jl,ArrowBigUpDash:bl,ArrowBigUpDashIcon:bl,ArrowBigUpIcon:jl,ArrowDown:Tl,ArrowDown01:Cl,ArrowDown01Icon:Cl,ArrowDown10:Ll,ArrowDown10Icon:Ll,ArrowDownAZ:Sr,ArrowDownAZIcon:Sr,ArrowDownAz:Sr,ArrowDownAzIcon:Sr,ArrowDownCircle:Kr,ArrowDownCircleIcon:Kr,ArrowDownFromLine:Sl,ArrowDownFromLineIcon:Sl,ArrowDownIcon:Tl,ArrowDownLeft:Il,ArrowDownLeftFromCircle:en,ArrowDownLeftFromCircleIcon:en,ArrowDownLeftFromSquare:qi,ArrowDownLeftFromSquareIcon:qi,ArrowDownLeftIcon:Il,ArrowDownLeftSquare:Ai,ArrowDownLeftSquareIcon:Ai,ArrowDownNarrowWide:Nl,ArrowDownNarrowWideIcon:Nl,ArrowDownRight:Al,ArrowDownRightFromCircle:tn,ArrowDownRightFromCircleIcon:tn,ArrowDownRightFromSquare:Ti,ArrowDownRightFromSquareIcon:Ti,ArrowDownRightIcon:Al,ArrowDownRightSquare:_i,ArrowDownRightSquareIcon:_i,ArrowDownSquare:Pi,ArrowDownSquareIcon:Pi,ArrowDownToDot:_l,ArrowDownToDotIcon:_l,ArrowDownToLine:Pl,ArrowDownToLineIcon:Pl,ArrowDownUp:ql,ArrowDownUpIcon:ql,ArrowDownWideNarrow:Ir,ArrowDownWideNarrowIcon:Ir,ArrowDownZA:Nr,ArrowDownZAIcon:Nr,ArrowDownZa:Nr,ArrowDownZaIcon:Nr,ArrowLeft:Gs,ArrowLeftCircle:Qr,ArrowLeftCircleIcon:Qr,ArrowLeftFromLine:Rl,ArrowLeftFromLineIcon:Rl,ArrowLeftIcon:Gs,ArrowLeftRight:Dl,ArrowLeftRightIcon:Dl,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:zl,ArrowLeftToLineIcon:zl,ArrowRight:ko,ArrowRightCircle:nn,ArrowRightCircleIcon:nn,ArrowRightFromLine:Fl,ArrowRightFromLineIcon:Fl,ArrowRightIcon:ko,ArrowRightLeft:El,ArrowRightLeftIcon:El,ArrowRightSquare:ja,ArrowRightSquareIcon:ja,ArrowRightToLine:Hl,ArrowRightToLineIcon:Hl,ArrowUp:Jl,ArrowUp01:Ol,ArrowUp01Icon:Ol,ArrowUp10:Vl,ArrowUp10Icon:Vl,ArrowUpAZ:Ar,ArrowUpAZIcon:Ar,ArrowUpAz:Ar,ArrowUpAzIcon:Ar,ArrowUpCircle:sn,ArrowUpCircleIcon:sn,ArrowUpDown:Bl,ArrowUpDownIcon:Bl,ArrowUpFromDot:Ul,ArrowUpFromDotIcon:Ul,ArrowUpFromLine:$l,ArrowUpFromLineIcon:$l,ArrowUpIcon:Jl,ArrowUpLeft:Gl,ArrowUpLeftFromCircle:an,ArrowUpLeftFromCircleIcon:an,ArrowUpLeftFromSquare:Ri,ArrowUpLeftFromSquareIcon:Ri,ArrowUpLeftIcon:Gl,ArrowUpLeftSquare:zi,ArrowUpLeftSquareIcon:zi,ArrowUpNarrowWide:_r,ArrowUpNarrowWideIcon:_r,ArrowUpRight:Wl,ArrowUpRightFromCircle:rn,ArrowUpRightFromCircleIcon:rn,ArrowUpRightFromSquare:Di,ArrowUpRightFromSquareIcon:Di,ArrowUpRightIcon:Wl,ArrowUpRightSquare:Fi,ArrowUpRightSquareIcon:Fi,ArrowUpSquare:Ei,ArrowUpSquareIcon:Ei,ArrowUpToLine:Zl,ArrowUpToLineIcon:Zl,ArrowUpWideNarrow:Xl,ArrowUpWideNarrowIcon:Xl,ArrowUpZA:Pr,ArrowUpZAIcon:Pr,ArrowUpZa:Pr,ArrowUpZaIcon:Pr,ArrowsUpFromLine:Yl,ArrowsUpFromLineIcon:Yl,Asterisk:Kl,AsteriskIcon:Kl,AsteriskSquare:Hi,AsteriskSquareIcon:Hi,AtSign:Ql,AtSignIcon:Ql,Atom:ed,AtomIcon:ed,AudioLines:td,AudioLinesIcon:td,AudioWaveform:ad,AudioWaveformIcon:ad,Award:La,AwardIcon:La,Axe:rd,AxeIcon:rd,Axis3D:qr,Axis3DIcon:qr,Axis3d:qr,Axis3dIcon:qr,Baby:nd,BabyIcon:nd,Backpack:id,BackpackIcon:id,Badge:wd,BadgeAlert:sd,BadgeAlertIcon:sd,BadgeCent:od,BadgeCentIcon:od,BadgeCheck:Tr,BadgeCheckIcon:Tr,BadgeDollarSign:cd,BadgeDollarSignIcon:cd,BadgeEuro:ld,BadgeEuroIcon:ld,BadgeHelp:dd,BadgeHelpIcon:dd,BadgeIcon:wd,BadgeIndianRupee:hd,BadgeIndianRupeeIcon:hd,BadgeInfo:ud,BadgeInfoIcon:ud,BadgeJapaneseYen:pd,BadgeJapaneseYenIcon:pd,BadgeMinus:yd,BadgeMinusIcon:yd,BadgePercent:md,BadgePercentIcon:md,BadgePlus:fd,BadgePlusIcon:fd,BadgePoundSterling:xd,BadgePoundSterlingIcon:xd,BadgeRussianRuble:gd,BadgeRussianRubleIcon:gd,BadgeSwissFranc:kd,BadgeSwissFrancIcon:kd,BadgeX:vd,BadgeXIcon:vd,BaggageClaim:Md,BaggageClaimIcon:Md,Ban:bd,BanIcon:bd,Banana:jd,BananaIcon:jd,Bandage:Cd,BandageIcon:Cd,Banknote:Ld,BanknoteIcon:Ld,BarChart:Ga,BarChart2:Zr,BarChart2Icon:Zr,BarChart3:Gr,BarChart3Icon:Gr,BarChart4:$r,BarChart4Icon:$r,BarChartBig:Ur,BarChartBigIcon:Ur,BarChartHorizontal:Vr,BarChartHorizontalBig:Or,BarChartHorizontalBigIcon:Or,BarChartHorizontalIcon:Vr,BarChartIcon:Ga,Barcode:Sd,BarcodeIcon:Sd,Baseline:Id,BaselineIcon:Id,Bath:Nd,BathIcon:Nd,Battery:Rd,BatteryCharging:Ad,BatteryChargingIcon:Ad,BatteryFull:_d,BatteryFullIcon:_d,BatteryIcon:Rd,BatteryLow:Pd,BatteryLowIcon:Pd,BatteryMedium:qd,BatteryMediumIcon:qd,BatteryWarning:Td,BatteryWarningIcon:Td,Beaker:Dd,BeakerIcon:Dd,Bean:Fd,BeanIcon:Fd,BeanOff:zd,BeanOffIcon:zd,Bed:Od,BedDouble:Ed,BedDoubleIcon:Ed,BedIcon:Od,BedSingle:Hd,BedSingleIcon:Hd,Beef:Vd,BeefIcon:Vd,Beer:Ud,BeerIcon:Ud,BeerOff:Bd,BeerOffIcon:Bd,Bell:vo,BellDot:$d,BellDotIcon:$d,BellElectric:Gd,BellElectricIcon:Gd,BellIcon:vo,BellMinus:Wd,BellMinusIcon:Wd,BellOff:Zd,BellOffIcon:Zd,BellPlus:Xd,BellPlusIcon:Xd,BellRing:Jd,BellRingIcon:Jd,BetweenHorizonalEnd:Rr,BetweenHorizonalEndIcon:Rr,BetweenHorizonalStart:Dr,BetweenHorizonalStartIcon:Dr,BetweenHorizontalEnd:Rr,BetweenHorizontalEndIcon:Rr,BetweenHorizontalStart:Dr,BetweenHorizontalStartIcon:Dr,BetweenVerticalEnd:Yd,BetweenVerticalEndIcon:Yd,BetweenVerticalStart:Kd,BetweenVerticalStartIcon:Kd,BicepsFlexed:Qd,BicepsFlexedIcon:Qd,Bike:e2,BikeIcon:e2,Binary:t2,BinaryIcon:t2,Binoculars:a2,BinocularsIcon:a2,Biohazard:r2,BiohazardIcon:r2,Bird:n2,BirdIcon:n2,Bitcoin:i2,BitcoinIcon:i2,Blend:s2,BlendIcon:s2,Blinds:o2,BlindsIcon:o2,Blocks:c2,BlocksIcon:c2,Bluetooth:u2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:u2,BluetoothOff:d2,BluetoothOffIcon:d2,BluetoothSearching:h2,BluetoothSearchingIcon:h2,Bold:p2,BoldIcon:p2,Bolt:y2,BoltIcon:y2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:F2,BookA:x2,BookAIcon:x2,BookAudio:g2,BookAudioIcon:g2,BookCheck:k2,BookCheckIcon:k2,BookCopy:v2,BookCopyIcon:v2,BookDashed:zr,BookDashedIcon:zr,BookDown:w2,BookDownIcon:w2,BookHeadphones:M2,BookHeadphonesIcon:M2,BookHeart:b2,BookHeartIcon:b2,BookIcon:F2,BookImage:j2,BookImageIcon:j2,BookKey:C2,BookKeyIcon:C2,BookLock:L2,BookLockIcon:L2,BookMarked:S2,BookMarkedIcon:S2,BookMinus:I2,BookMinusIcon:I2,BookOpen:Wt,BookOpenCheck:N2,BookOpenCheckIcon:N2,BookOpenIcon:Wt,BookOpenText:A2,BookOpenTextIcon:A2,BookPlus:_2,BookPlusIcon:_2,BookTemplate:zr,BookTemplateIcon:zr,BookText:P2,BookTextIcon:P2,BookType:q2,BookTypeIcon:q2,BookUp:R2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:R2,BookUser:D2,BookUserIcon:D2,BookX:z2,BookXIcon:z2,Bookmark:Qa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Qa,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:pc,BookmarkPlusIcon:pc,BookmarkX:H2,BookmarkXIcon:H2,BoomBox:O2,BoomBoxIcon:O2,Bot:yc,BotIcon:yc,BotMessageSquare:V2,BotMessageSquareIcon:V2,BotOff:B2,BotOffIcon:B2,Box:U2,BoxIcon:U2,BoxSelect:Yi,BoxSelectIcon:Yi,Boxes:$2,BoxesIcon:$2,Braces:Fr,BracesIcon:Fr,Brackets:G2,BracketsIcon:G2,Brain:X2,BrainCircuit:W2,BrainCircuitIcon:W2,BrainCog:Z2,BrainCogIcon:Z2,BrainIcon:X2,BrickWall:J2,BrickWallIcon:J2,Briefcase:vt,BriefcaseBusiness:Y2,BriefcaseBusinessIcon:Y2,BriefcaseConveyorBelt:K2,BriefcaseConveyorBeltIcon:K2,BriefcaseIcon:vt,BriefcaseMedical:Q2,BriefcaseMedicalIcon:Q2,BringToFront:e0,BringToFrontIcon:e0,Brush:t0,BrushIcon:t0,Bug:n0,BugIcon:n0,BugOff:a0,BugOffIcon:a0,BugPlay:r0,BugPlayIcon:r0,Building:wo,Building2:mc,Building2Icon:mc,BuildingIcon:wo,Bus:s0,BusFront:i0,BusFrontIcon:i0,BusIcon:s0,Cable:c0,CableCar:o0,CableCarIcon:o0,CableIcon:c0,Cake:d0,CakeIcon:d0,CakeSlice:l0,CakeSliceIcon:l0,Calculator:h0,CalculatorIcon:h0,Calendar:fc,CalendarArrowDown:u0,CalendarArrowDownIcon:u0,CalendarArrowUp:p0,CalendarArrowUpIcon:p0,CalendarCheck:m0,CalendarCheck2:y0,CalendarCheck2Icon:y0,CalendarCheckIcon:m0,CalendarClock:f0,CalendarClockIcon:f0,CalendarCog:x0,CalendarCogIcon:x0,CalendarDays:g0,CalendarDaysIcon:g0,CalendarFold:k0,CalendarFoldIcon:k0,CalendarHeart:v0,CalendarHeartIcon:v0,CalendarIcon:fc,CalendarMinus:M0,CalendarMinus2:w0,CalendarMinus2Icon:w0,CalendarMinusIcon:M0,CalendarOff:b0,CalendarOffIcon:b0,CalendarPlus:C0,CalendarPlus2:j0,CalendarPlus2Icon:j0,CalendarPlusIcon:C0,CalendarRange:L0,CalendarRangeIcon:L0,CalendarSearch:S0,CalendarSearchIcon:S0,CalendarX:N0,CalendarX2:I0,CalendarX2Icon:I0,CalendarXIcon:N0,Camera:_0,CameraIcon:_0,CameraOff:A0,CameraOffIcon:A0,CandlestickChart:Br,CandlestickChartIcon:Br,Candy:T0,CandyCane:P0,CandyCaneIcon:P0,CandyIcon:T0,CandyOff:q0,CandyOffIcon:q0,Cannabis:R0,CannabisIcon:R0,Captions:Er,CaptionsIcon:Er,CaptionsOff:D0,CaptionsOffIcon:D0,Car:E0,CarFront:z0,CarFrontIcon:z0,CarIcon:E0,CarTaxiFront:F0,CarTaxiFrontIcon:F0,Caravan:H0,CaravanIcon:H0,Carrot:O0,CarrotIcon:O0,CaseLower:V0,CaseLowerIcon:V0,CaseSensitive:B0,CaseSensitiveIcon:B0,CaseUpper:U0,CaseUpperIcon:U0,CassetteTape:$0,CassetteTapeIcon:$0,Cast:G0,CastIcon:G0,Castle:W0,CastleIcon:W0,Cat:Z0,CatIcon:Z0,Cctv:X0,CctvIcon:X0,ChartArea:Hr,ChartAreaIcon:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarBigIcon:Or,ChartBarDecreasing:J0,ChartBarDecreasingIcon:J0,ChartBarIcon:Vr,ChartBarIncreasing:Y0,ChartBarIncreasingIcon:Y0,ChartBarStacked:K0,ChartBarStackedIcon:K0,ChartCandlestick:Br,ChartCandlestickIcon:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnBigIcon:Ur,ChartColumnDecreasing:Q0,ChartColumnDecreasingIcon:Q0,ChartColumnIcon:Gr,ChartColumnIncreasing:$r,ChartColumnIncreasingIcon:$r,ChartColumnStacked:eh,ChartColumnStackedIcon:eh,ChartGantt:th,ChartGanttIcon:th,ChartLine:Wr,ChartLineIcon:Wr,ChartNetwork:ah,ChartNetworkIcon:ah,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:rh,ChartNoAxesColumnDecreasingIcon:rh,ChartNoAxesColumnIcon:Zr,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesColumnIncreasingIcon:Ga,ChartNoAxesCombined:nh,ChartNoAxesCombinedIcon:nh,ChartNoAxesGantt:Xr,ChartNoAxesGanttIcon:Xr,ChartPie:Jr,ChartPieIcon:Jr,ChartScatter:Yr,ChartScatterIcon:Yr,ChartSpline:ih,ChartSplineIcon:ih,Check:Mo,CheckCheck:sh,CheckCheckIcon:sh,CheckCircle:At,CheckCircle2:on,CheckCircle2Icon:on,CheckCircleIcon:At,CheckIcon:Mo,CheckSquare:Vi,CheckSquare2:Bi,CheckSquare2Icon:Bi,CheckSquareIcon:Vi,ChefHat:oh,ChefHatIcon:oh,Cherry:ch,CherryIcon:ch,ChevronDown:Ws,ChevronDownCircle:cn,ChevronDownCircleIcon:cn,ChevronDownIcon:Ws,ChevronDownSquare:Ui,ChevronDownSquareIcon:Ui,ChevronFirst:lh,ChevronFirstIcon:lh,ChevronLast:dh,ChevronLastIcon:dh,ChevronLeft:Zs,ChevronLeftCircle:ln,ChevronLeftCircleIcon:ln,ChevronLeftIcon:Zs,ChevronLeftSquare:$i,ChevronLeftSquareIcon:$i,ChevronRight:er,ChevronRightCircle:dn,ChevronRightCircleIcon:dn,ChevronRightIcon:er,ChevronRightSquare:Gi,ChevronRightSquareIcon:Gi,ChevronUp:xc,ChevronUpCircle:hn,ChevronUpCircleIcon:hn,ChevronUpIcon:xc,ChevronUpSquare:Wi,ChevronUpSquareIcon:Wi,ChevronsDown:uh,ChevronsDownIcon:uh,ChevronsDownUp:hh,ChevronsDownUpIcon:hh,ChevronsLeft:mh,ChevronsLeftIcon:mh,ChevronsLeftRight:yh,ChevronsLeftRightEllipsis:ph,ChevronsLeftRightEllipsisIcon:ph,ChevronsLeftRightIcon:yh,ChevronsRight:xh,ChevronsRightIcon:xh,ChevronsRightLeft:fh,ChevronsRightLeftIcon:fh,ChevronsUp:kh,ChevronsUpDown:gh,ChevronsUpDownIcon:gh,ChevronsUpIcon:kh,Chrome:vh,ChromeIcon:vh,Church:wh,ChurchIcon:wh,Cigarette:bh,CigaretteIcon:bh,CigaretteOff:Mh,CigaretteOffIcon:Mh,Circle:Th,CircleAlert:Nt,CircleAlertIcon:Nt,CircleArrowDown:Kr,CircleArrowDownIcon:Kr,CircleArrowLeft:Qr,CircleArrowLeftIcon:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownLeftIcon:en,CircleArrowOutDownRight:tn,CircleArrowOutDownRightIcon:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpLeftIcon:an,CircleArrowOutUpRight:rn,CircleArrowOutUpRightIcon:rn,CircleArrowRight:nn,CircleArrowRightIcon:nn,CircleArrowUp:sn,CircleArrowUpIcon:sn,CircleCheck:on,CircleCheckBig:At,CircleCheckBigIcon:At,CircleCheckIcon:on,CircleChevronDown:cn,CircleChevronDownIcon:cn,CircleChevronLeft:ln,CircleChevronLeftIcon:ln,CircleChevronRight:dn,CircleChevronRightIcon:dn,CircleChevronUp:hn,CircleChevronUpIcon:hn,CircleDashed:jh,CircleDashedIcon:jh,CircleDivide:un,CircleDivideIcon:un,CircleDollarSign:Ch,CircleDollarSignIcon:Ch,CircleDot:Sh,CircleDotDashed:Lh,CircleDotDashedIcon:Lh,CircleDotIcon:Sh,CircleEllipsis:Ih,CircleEllipsisIcon:Ih,CircleEqual:Nh,CircleEqualIcon:Nh,CircleFadingArrowUp:Ah,CircleFadingArrowUpIcon:Ah,CircleFadingPlus:_h,CircleFadingPlusIcon:_h,CircleGauge:pn,CircleGaugeIcon:pn,CircleHelp:Wa,CircleHelpIcon:Wa,CircleIcon:Th,CircleMinus:yn,CircleMinusIcon:yn,CircleOff:Ph,CircleOffIcon:Ph,CircleParking:fn,CircleParkingIcon:fn,CircleParkingOff:mn,CircleParkingOffIcon:mn,CirclePause:xn,CirclePauseIcon:xn,CirclePercent:gn,CirclePercentIcon:gn,CirclePlay:kn,CirclePlayIcon:kn,CirclePlus:vn,CirclePlusIcon:vn,CirclePower:wn,CirclePowerIcon:wn,CircleSlash:qh,CircleSlash2:Mn,CircleSlash2Icon:Mn,CircleSlashIcon:qh,CircleSlashed:Mn,CircleSlashedIcon:Mn,CircleStop:bn,CircleStopIcon:bn,CircleUser:Cn,CircleUserIcon:Cn,CircleUserRound:jn,CircleUserRoundIcon:jn,CircleX:ia,CircleXIcon:ia,CircuitBoard:Rh,CircuitBoardIcon:Rh,Citrus:Dh,CitrusIcon:Dh,Clapperboard:zh,ClapperboardIcon:zh,Clipboard:Gh,ClipboardCheck:Fh,ClipboardCheckIcon:Fh,ClipboardCopy:Eh,ClipboardCopyIcon:Eh,ClipboardEdit:Sn,ClipboardEditIcon:Sn,ClipboardIcon:Gh,ClipboardList:Hh,ClipboardListIcon:Hh,ClipboardMinus:Oh,ClipboardMinusIcon:Oh,ClipboardPaste:Vh,ClipboardPasteIcon:Vh,ClipboardPen:Sn,ClipboardPenIcon:Sn,ClipboardPenLine:Ln,ClipboardPenLineIcon:Ln,ClipboardPlus:Bh,ClipboardPlusIcon:Bh,ClipboardSignature:Ln,ClipboardSignatureIcon:Ln,ClipboardType:Uh,ClipboardTypeIcon:Uh,ClipboardX:$h,ClipboardXIcon:$h,Clock:Qt,Clock1:Wh,Clock10:Zh,Clock10Icon:Zh,Clock11:Xh,Clock11Icon:Xh,Clock12:Jh,Clock12Icon:Jh,Clock1Icon:Wh,Clock2:Yh,Clock2Icon:Yh,Clock3:Kh,Clock3Icon:Kh,Clock4:Qh,Clock4Icon:Qh,Clock5:eu,Clock5Icon:eu,Clock6:tu,Clock6Icon:tu,Clock7:au,Clock7Icon:au,Clock8:ru,Clock8Icon:ru,Clock9:nu,Clock9Icon:nu,ClockAlert:iu,ClockAlertIcon:iu,ClockArrowDown:su,ClockArrowDownIcon:su,ClockArrowUp:ou,ClockArrowUpIcon:ou,ClockIcon:Qt,Cloud:wu,CloudCog:cu,CloudCogIcon:cu,CloudDownload:In,CloudDownloadIcon:In,CloudDrizzle:lu,CloudDrizzleIcon:lu,CloudFog:du,CloudFogIcon:du,CloudHail:hu,CloudHailIcon:hu,CloudIcon:wu,CloudLightning:uu,CloudLightningIcon:uu,CloudMoon:yu,CloudMoonIcon:yu,CloudMoonRain:pu,CloudMoonRainIcon:pu,CloudOff:mu,CloudOffIcon:mu,CloudRain:xu,CloudRainIcon:xu,CloudRainWind:fu,CloudRainWindIcon:fu,CloudSnow:gu,CloudSnowIcon:gu,CloudSun:vu,CloudSunIcon:vu,CloudSunRain:ku,CloudSunRainIcon:ku,CloudUpload:Za,CloudUploadIcon:Za,Cloudy:Mu,CloudyIcon:Mu,Clover:bu,CloverIcon:bu,Club:ju,ClubIcon:ju,Code:Cu,Code2:Nn,Code2Icon:Nn,CodeIcon:Cu,CodeSquare:Zi,CodeSquareIcon:Zi,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Lu,CodepenIcon:Lu,Codesandbox:Su,CodesandboxIcon:Su,Coffee:Iu,CoffeeIcon:Iu,Cog:Nu,CogIcon:Nu,Coins:Au,CoinsIcon:Au,Columns:An,Columns2:An,Columns2Icon:An,Columns3:_n,Columns3Icon:_n,Columns4:_u,Columns4Icon:_u,ColumnsIcon:An,Combine:Pu,CombineIcon:Pu,Command:qu,CommandIcon:qu,Compass:Tu,CompassIcon:Tu,Component:Ru,ComponentIcon:Ru,Computer:Du,ComputerIcon:Du,ConciergeBell:zu,ConciergeBellIcon:zu,Cone:Fu,ConeIcon:Fu,Construction:Eu,ConstructionIcon:Eu,Contact:Hu,Contact2:Pn,Contact2Icon:Pn,ContactIcon:Hu,ContactRound:Pn,ContactRoundIcon:Pn,Container:Ou,ContainerIcon:Ou,Contrast:Vu,ContrastIcon:Vu,Cookie:Bu,CookieIcon:Bu,CookingPot:Uu,CookingPotIcon:Uu,Copy:Ju,CopyCheck:$u,CopyCheckIcon:$u,CopyIcon:Ju,CopyMinus:Gu,CopyMinusIcon:Gu,CopyPlus:Wu,CopyPlusIcon:Wu,CopySlash:Zu,CopySlashIcon:Zu,CopyX:Xu,CopyXIcon:Xu,Copyleft:Yu,CopyleftIcon:Yu,Copyright:Ku,CopyrightIcon:Ku,CornerDownLeft:Qu,CornerDownLeftIcon:Qu,CornerDownRight:ep,CornerDownRightIcon:ep,CornerLeftDown:tp,CornerLeftDownIcon:tp,CornerLeftUp:ap,CornerLeftUpIcon:ap,CornerRightDown:rp,CornerRightDownIcon:rp,CornerRightUp:np,CornerRightUpIcon:np,CornerUpLeft:ip,CornerUpLeftIcon:ip,CornerUpRight:sp,CornerUpRightIcon:sp,Cpu:op,CpuIcon:op,CreativeCommons:cp,CreativeCommonsIcon:cp,CreditCard:gc,CreditCardIcon:gc,Croissant:lp,CroissantIcon:lp,Crop:dp,CropIcon:dp,Cross:hp,CrossIcon:hp,Crosshair:up,CrosshairIcon:up,Crown:pp,CrownIcon:pp,Cuboid:yp,CuboidIcon:yp,CupSoda:mp,CupSodaIcon:mp,CurlyBraces:Fr,CurlyBracesIcon:Fr,Currency:fp,CurrencyIcon:fp,Cylinder:xp,CylinderIcon:xp,Dam:gp,DamIcon:gp,Database:wp,DatabaseBackup:kp,DatabaseBackupIcon:kp,DatabaseIcon:wp,DatabaseZap:vp,DatabaseZapIcon:vp,Delete:Mp,DeleteIcon:Mp,Dessert:bp,DessertIcon:bp,Diameter:jp,DiameterIcon:jp,Diamond:Sp,DiamondIcon:Sp,DiamondMinus:Cp,DiamondMinusIcon:Cp,DiamondPercent:qn,DiamondPercentIcon:qn,DiamondPlus:Lp,DiamondPlusIcon:Lp,Dice1:Ip,Dice1Icon:Ip,Dice2:Np,Dice2Icon:Np,Dice3:Ap,Dice3Icon:Ap,Dice4:_p,Dice4Icon:_p,Dice5:Pp,Dice5Icon:Pp,Dice6:qp,Dice6Icon:qp,Dices:Tp,DicesIcon:Tp,Diff:Rp,DiffIcon:Rp,Disc:Ep,Disc2:Dp,Disc2Icon:Dp,Disc3:zp,Disc3Icon:zp,DiscAlbum:Fp,DiscAlbumIcon:Fp,DiscIcon:Ep,Divide:Hp,DivideCircle:un,DivideCircleIcon:un,DivideIcon:Hp,DivideSquare:Ki,DivideSquareIcon:Ki,Dna:Vp,DnaIcon:Vp,DnaOff:Op,DnaOffIcon:Op,Dock:Bp,DockIcon:Bp,Dog:Up,DogIcon:Up,DollarSign:kc,DollarSignIcon:kc,Donut:$p,DonutIcon:$p,DoorClosed:Gp,DoorClosedIcon:Gp,DoorOpen:Wp,DoorOpenIcon:Wp,Dot:Zp,DotIcon:Zp,DotSquare:Qi,DotSquareIcon:Qi,Download:Xp,DownloadCloud:In,DownloadCloudIcon:In,DownloadIcon:Xp,DraftingCompass:Jp,DraftingCompassIcon:Jp,Drama:Yp,DramaIcon:Yp,Dribbble:Kp,DribbbleIcon:Kp,Drill:Qp,DrillIcon:Qp,Droplet:ey,DropletIcon:ey,Droplets:ty,DropletsIcon:ty,Drum:ay,DrumIcon:ay,Drumstick:ry,DrumstickIcon:ry,Dumbbell:ny,DumbbellIcon:ny,Ear:sy,EarIcon:sy,EarOff:iy,EarOffIcon:iy,Earth:Tn,EarthIcon:Tn,EarthLock:oy,EarthLockIcon:oy,Eclipse:cy,EclipseIcon:cy,Edit:St,Edit2:ki,Edit2Icon:ki,Edit3:gi,Edit3Icon:gi,EditIcon:St,Egg:hy,EggFried:ly,EggFriedIcon:ly,EggIcon:hy,EggOff:dy,EggOffIcon:dy,Ellipsis:Dn,EllipsisIcon:Dn,EllipsisVertical:Rn,EllipsisVerticalIcon:Rn,Equal:py,EqualIcon:py,EqualNot:uy,EqualNotIcon:uy,EqualSquare:es,EqualSquareIcon:es,Eraser:yy,EraserIcon:yy,EthernetPort:my,EthernetPortIcon:my,Euro:fy,EuroIcon:fy,Expand:xy,ExpandIcon:xy,ExternalLink:Xs,ExternalLinkIcon:Xs,Eye:bo,EyeClosed:gy,EyeClosedIcon:gy,EyeIcon:bo,EyeOff:vc,EyeOffIcon:vc,Facebook:ky,FacebookIcon:ky,Factory:vy,FactoryIcon:vy,Fan:wy,FanIcon:wy,FastForward:My,FastForwardIcon:My,Feather:by,FeatherIcon:by,Fence:jy,FenceIcon:jy,FerrisWheel:Cy,FerrisWheelIcon:Cy,Figma:Ly,FigmaIcon:Ly,File:Mm,FileArchive:Sy,FileArchiveIcon:Sy,FileAudio:Ny,FileAudio2:Iy,FileAudio2Icon:Iy,FileAudioIcon:Ny,FileAxis3D:zn,FileAxis3DIcon:zn,FileAxis3d:zn,FileAxis3dIcon:zn,FileBadge:_y,FileBadge2:Ay,FileBadge2Icon:Ay,FileBadgeIcon:_y,FileBarChart:Fn,FileBarChart2:En,FileBarChart2Icon:En,FileBarChartIcon:Fn,FileBox:Py,FileBoxIcon:Py,FileChartColumn:En,FileChartColumnIcon:En,FileChartColumnIncreasing:Fn,FileChartColumnIncreasingIcon:Fn,FileChartLine:Hn,FileChartLineIcon:Hn,FileChartPie:On,FileChartPieIcon:On,FileCheck:Ty,FileCheck2:qy,FileCheck2Icon:qy,FileCheckIcon:Ty,FileClock:Ry,FileClockIcon:Ry,FileCode:zy,FileCode2:Dy,FileCode2Icon:Dy,FileCodeIcon:zy,FileCog:Vn,FileCog2:Vn,FileCog2Icon:Vn,FileCogIcon:Vn,FileDiff:Fy,FileDiffIcon:Fy,FileDigit:Ey,FileDigitIcon:Ey,FileDown:Hy,FileDownIcon:Hy,FileEdit:Un,FileEditIcon:Un,FileHeart:Oy,FileHeartIcon:Oy,FileIcon:Mm,FileImage:Vy,FileImageIcon:Vy,FileInput:By,FileInputIcon:By,FileJson:$y,FileJson2:Uy,FileJson2Icon:Uy,FileJsonIcon:$y,FileKey:Wy,FileKey2:Gy,FileKey2Icon:Gy,FileKeyIcon:Wy,FileLineChart:Hn,FileLineChartIcon:Hn,FileLock:Xy,FileLock2:Zy,FileLock2Icon:Zy,FileLockIcon:Xy,FileMinus:Yy,FileMinus2:Jy,FileMinus2Icon:Jy,FileMinusIcon:Yy,FileMusic:Ky,FileMusicIcon:Ky,FileOutput:Qy,FileOutputIcon:Qy,FilePen:Un,FilePenIcon:Un,FilePenLine:Bn,FilePenLineIcon:Bn,FilePieChart:On,FilePieChartIcon:On,FilePlus:tm,FilePlus2:em,FilePlus2Icon:em,FilePlusIcon:tm,FileQuestion:am,FileQuestionIcon:am,FileScan:rm,FileScanIcon:rm,FileSearch:im,FileSearch2:nm,FileSearch2Icon:nm,FileSearchIcon:im,FileSignature:Bn,FileSignatureIcon:Bn,FileSliders:sm,FileSlidersIcon:sm,FileSpreadsheet:om,FileSpreadsheetIcon:om,FileStack:cm,FileStackIcon:cm,FileSymlink:lm,FileSymlinkIcon:lm,FileTerminal:dm,FileTerminalIcon:dm,FileText:wc,FileTextIcon:wc,FileType:um,FileType2:hm,FileType2Icon:hm,FileTypeIcon:um,FileUp:pm,FileUpIcon:pm,FileUser:ym,FileUserIcon:ym,FileVideo:fm,FileVideo2:mm,FileVideo2Icon:mm,FileVideoIcon:fm,FileVolume:gm,FileVolume2:xm,FileVolume2Icon:xm,FileVolumeIcon:gm,FileWarning:km,FileWarningIcon:km,FileX:wm,FileX2:vm,FileX2Icon:vm,FileXIcon:wm,Files:bm,FilesIcon:bm,Film:jm,FilmIcon:jm,Filter:jo,FilterIcon:jo,FilterX:Cm,FilterXIcon:Cm,Fingerprint:Lm,FingerprintIcon:Lm,FireExtinguisher:Sm,FireExtinguisherIcon:Sm,Fish:Am,FishIcon:Am,FishOff:Im,FishOffIcon:Im,FishSymbol:Nm,FishSymbolIcon:Nm,Flag:Mc,FlagIcon:Mc,FlagOff:_m,FlagOffIcon:_m,FlagTriangleLeft:Pm,FlagTriangleLeftIcon:Pm,FlagTriangleRight:qm,FlagTriangleRightIcon:qm,Flame:Rm,FlameIcon:Rm,FlameKindling:Tm,FlameKindlingIcon:Tm,Flashlight:zm,FlashlightIcon:zm,FlashlightOff:Dm,FlashlightOffIcon:Dm,FlaskConical:Em,FlaskConicalIcon:Em,FlaskConicalOff:Fm,FlaskConicalOffIcon:Fm,FlaskRound:Hm,FlaskRoundIcon:Hm,FlipHorizontal:Vm,FlipHorizontal2:Om,FlipHorizontal2Icon:Om,FlipHorizontalIcon:Vm,FlipVertical:Um,FlipVertical2:Bm,FlipVertical2Icon:Bm,FlipVerticalIcon:Um,Flower:Gm,Flower2:$m,Flower2Icon:$m,FlowerIcon:Gm,Focus:Wm,FocusIcon:Wm,FoldHorizontal:Zm,FoldHorizontalIcon:Zm,FoldVertical:Xm,FoldVerticalIcon:Xm,Folder:jf,FolderArchive:Jm,FolderArchiveIcon:Jm,FolderCheck:Ym,FolderCheckIcon:Ym,FolderClock:Km,FolderClockIcon:Km,FolderClosed:Qm,FolderClosedIcon:Qm,FolderCode:ef,FolderCodeIcon:ef,FolderCog:$n,FolderCog2:$n,FolderCog2Icon:$n,FolderCogIcon:$n,FolderDot:tf,FolderDotIcon:tf,FolderDown:af,FolderDownIcon:af,FolderEdit:Gn,FolderEditIcon:Gn,FolderGit:nf,FolderGit2:rf,FolderGit2Icon:rf,FolderGitIcon:nf,FolderHeart:sf,FolderHeartIcon:sf,FolderIcon:jf,FolderInput:of,FolderInputIcon:of,FolderKanban:cf,FolderKanbanIcon:cf,FolderKey:lf,FolderKeyIcon:lf,FolderLock:df,FolderLockIcon:df,FolderMinus:hf,FolderMinusIcon:hf,FolderOpen:pf,FolderOpenDot:uf,FolderOpenDotIcon:uf,FolderOpenIcon:pf,FolderOutput:yf,FolderOutputIcon:yf,FolderPen:Gn,FolderPenIcon:Gn,FolderPlus:mf,FolderPlusIcon:mf,FolderRoot:ff,FolderRootIcon:ff,FolderSearch:gf,FolderSearch2:xf,FolderSearch2Icon:xf,FolderSearchIcon:gf,FolderSymlink:kf,FolderSymlinkIcon:kf,FolderSync:vf,FolderSyncIcon:vf,FolderTree:wf,FolderTreeIcon:wf,FolderUp:Mf,FolderUpIcon:Mf,FolderX:bf,FolderXIcon:bf,Folders:Cf,FoldersIcon:Cf,Footprints:Lf,FootprintsIcon:Lf,ForkKnife:Hs,ForkKnifeCrossed:Es,ForkKnifeCrossedIcon:Es,ForkKnifeIcon:Hs,Forklift:Sf,ForkliftIcon:Sf,FormInput:wi,FormInputIcon:wi,Forward:If,ForwardIcon:If,Frame:Nf,FrameIcon:Nf,Framer:Af,FramerIcon:Af,Frown:_f,FrownIcon:_f,Fuel:Pf,FuelIcon:Pf,Fullscreen:qf,FullscreenIcon:qf,FunctionSquare:ts,FunctionSquareIcon:ts,GalleryHorizontal:Rf,GalleryHorizontalEnd:Tf,GalleryHorizontalEndIcon:Tf,GalleryHorizontalIcon:Rf,GalleryThumbnails:Df,GalleryThumbnailsIcon:Df,GalleryVertical:Ff,GalleryVerticalEnd:zf,GalleryVerticalEndIcon:zf,GalleryVerticalIcon:Ff,Gamepad:Hf,Gamepad2:Ef,Gamepad2Icon:Ef,GamepadIcon:Hf,GanttChart:Xr,GanttChartIcon:Xr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Of,GaugeCircle:pn,GaugeCircleIcon:pn,GaugeIcon:Of,Gavel:Vf,GavelIcon:Vf,Gem:Bf,GemIcon:Bf,Ghost:Uf,GhostIcon:Uf,Gift:$f,GiftIcon:$f,GitBranch:Wf,GitBranchIcon:Wf,GitBranchPlus:Gf,GitBranchPlusIcon:Gf,GitCommit:Wn,GitCommitHorizontal:Wn,GitCommitHorizontalIcon:Wn,GitCommitIcon:Wn,GitCommitVertical:Zf,GitCommitVerticalIcon:Zf,GitCompare:Jf,GitCompareArrows:Xf,GitCompareArrowsIcon:Xf,GitCompareIcon:Jf,GitFork:Yf,GitForkIcon:Yf,GitGraph:Kf,GitGraphIcon:Kf,GitMerge:Qf,GitMergeIcon:Qf,GitPullRequest:ix,GitPullRequestArrow:ex,GitPullRequestArrowIcon:ex,GitPullRequestClosed:tx,GitPullRequestClosedIcon:tx,GitPullRequestCreate:rx,GitPullRequestCreateArrow:ax,GitPullRequestCreateArrowIcon:ax,GitPullRequestCreateIcon:rx,GitPullRequestDraft:nx,GitPullRequestDraftIcon:nx,GitPullRequestIcon:ix,Github:sx,GithubIcon:sx,Gitlab:ox,GitlabIcon:ox,GlassWater:cx,GlassWaterIcon:cx,Glasses:lx,GlassesIcon:lx,Globe:Co,Globe2:Tn,Globe2Icon:Tn,GlobeIcon:Co,GlobeLock:dx,GlobeLockIcon:dx,Goal:hx,GoalIcon:hx,Grab:ux,GrabIcon:ux,GraduationCap:Lo,GraduationCapIcon:Lo,Grape:px,GrapeIcon:px,Grid:Jt,Grid2X2:Zn,Grid2X2Icon:Zn,Grid2x2:Zn,Grid2x2Check:yx,Grid2x2CheckIcon:yx,Grid2x2Icon:Zn,Grid2x2Plus:mx,Grid2x2PlusIcon:mx,Grid2x2X:fx,Grid2x2XIcon:fx,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:kx,GripHorizontal:xx,GripHorizontalIcon:xx,GripIcon:kx,GripVertical:gx,GripVerticalIcon:gx,Group:vx,GroupIcon:vx,Guitar:wx,GuitarIcon:wx,Ham:Mx,HamIcon:Mx,Hammer:bx,HammerIcon:bx,Hand:Ix,HandCoins:jx,HandCoinsIcon:jx,HandHeart:Cx,HandHeartIcon:Cx,HandHelping:Xn,HandHelpingIcon:Xn,HandIcon:Ix,HandMetal:Lx,HandMetalIcon:Lx,HandPlatter:Sx,HandPlatterIcon:Sx,Handshake:Nx,HandshakeIcon:Nx,HardDrive:Px,HardDriveDownload:Ax,HardDriveDownloadIcon:Ax,HardDriveIcon:Px,HardDriveUpload:_x,HardDriveUploadIcon:_x,HardHat:qx,HardHatIcon:qx,Hash:Tx,HashIcon:Tx,Haze:Rx,HazeIcon:Rx,HdmiPort:Dx,HdmiPortIcon:Dx,Heading:Bx,Heading1:zx,Heading1Icon:zx,Heading2:Fx,Heading2Icon:Fx,Heading3:Ex,Heading3Icon:Ex,Heading4:Hx,Heading4Icon:Hx,Heading5:Ox,Heading5Icon:Ox,Heading6:Vx,Heading6Icon:Vx,HeadingIcon:Bx,HeadphoneOff:Ux,HeadphoneOffIcon:Ux,Headphones:$x,HeadphonesIcon:$x,Headset:Gx,HeadsetIcon:Gx,Heart:So,HeartCrack:Wx,HeartCrackIcon:Wx,HeartHandshake:Zx,HeartHandshakeIcon:Zx,HeartIcon:So,HeartOff:Xx,HeartOffIcon:Xx,HeartPulse:Jx,HeartPulseIcon:Jx,Heater:Yx,HeaterIcon:Yx,HelpCircle:Wa,HelpCircleIcon:Wa,HelpingHand:Xn,HelpingHandIcon:Xn,Hexagon:Kx,HexagonIcon:Kx,Highlighter:Qx,HighlighterIcon:Qx,History:e4,HistoryIcon:e4,Home:Ma,HomeIcon:Ma,Hop:a4,HopIcon:a4,HopOff:t4,HopOffIcon:t4,Hospital:r4,HospitalIcon:r4,Hotel:n4,HotelIcon:n4,Hourglass:i4,HourglassIcon:i4,House:Ma,HouseIcon:Ma,HousePlug:s4,HousePlugIcon:s4,HousePlus:o4,HousePlusIcon:o4,IceCream:Yn,IceCream2:Jn,IceCream2Icon:Jn,IceCreamBowl:Jn,IceCreamBowlIcon:Jn,IceCreamCone:Yn,IceCreamConeIcon:Yn,IceCreamIcon:Yn,Icon:NS,IdCard:c4,IdCardIcon:c4,Image:m4,ImageDown:l4,ImageDownIcon:l4,ImageIcon:m4,ImageMinus:d4,ImageMinusIcon:d4,ImageOff:h4,ImageOffIcon:h4,ImagePlay:u4,ImagePlayIcon:u4,ImagePlus:p4,ImagePlusIcon:p4,ImageUp:y4,ImageUpIcon:y4,Images:f4,ImagesIcon:f4,Import:x4,ImportIcon:x4,Inbox:g4,InboxIcon:g4,Indent:Qn,IndentDecrease:Kn,IndentDecreaseIcon:Kn,IndentIcon:Qn,IndentIncrease:Qn,IndentIncreaseIcon:Qn,IndianRupee:k4,IndianRupeeIcon:k4,Infinity:v4,InfinityIcon:v4,Info:w4,InfoIcon:w4,Inspect:os,InspectIcon:os,InspectionPanel:M4,InspectionPanelIcon:M4,Instagram:b4,InstagramIcon:b4,Italic:j4,ItalicIcon:j4,IterationCcw:C4,IterationCcwIcon:C4,IterationCw:L4,IterationCwIcon:L4,JapaneseYen:S4,JapaneseYenIcon:S4,Joystick:I4,JoystickIcon:I4,Kanban:N4,KanbanIcon:N4,KanbanSquare:as,KanbanSquareDashed:Xi,KanbanSquareDashedIcon:Xi,KanbanSquareIcon:as,Key:P4,KeyIcon:P4,KeyRound:A4,KeyRoundIcon:A4,KeySquare:_4,KeySquareIcon:_4,Keyboard:R4,KeyboardIcon:R4,KeyboardMusic:q4,KeyboardMusicIcon:q4,KeyboardOff:T4,KeyboardOffIcon:T4,Lamp:O4,LampCeiling:D4,LampCeilingIcon:D4,LampDesk:z4,LampDeskIcon:z4,LampFloor:F4,LampFloorIcon:F4,LampIcon:O4,LampWallDown:E4,LampWallDownIcon:E4,LampWallUp:H4,LampWallUpIcon:H4,LandPlot:V4,LandPlotIcon:V4,Landmark:B4,LandmarkIcon:B4,Languages:U4,LanguagesIcon:U4,Laptop:$4,Laptop2:ei,Laptop2Icon:ei,LaptopIcon:$4,LaptopMinimal:ei,LaptopMinimalIcon:ei,Lasso:W4,LassoIcon:W4,LassoSelect:G4,LassoSelectIcon:G4,Laugh:Z4,LaughIcon:Z4,Layers:Y4,Layers2:X4,Layers2Icon:X4,Layers3:J4,Layers3Icon:J4,LayersIcon:Y4,Layout:xi,LayoutDashboard:bc,LayoutDashboardIcon:bc,LayoutGrid:K4,LayoutGridIcon:K4,LayoutIcon:xi,LayoutList:Q4,LayoutListIcon:Q4,LayoutPanelLeft:eg,LayoutPanelLeftIcon:eg,LayoutPanelTop:tg,LayoutPanelTopIcon:tg,LayoutTemplate:ag,LayoutTemplateIcon:ag,Leaf:rg,LeafIcon:rg,LeafyGreen:ng,LeafyGreenIcon:ng,Lectern:ig,LecternIcon:ig,LetterText:sg,LetterTextIcon:sg,Library:cg,LibraryBig:og,LibraryBigIcon:og,LibraryIcon:cg,LibrarySquare:rs,LibrarySquareIcon:rs,LifeBuoy:lg,LifeBuoyIcon:lg,Ligature:dg,LigatureIcon:dg,Lightbulb:ug,LightbulbIcon:ug,LightbulbOff:hg,LightbulbOffIcon:hg,LineChart:Wr,LineChartIcon:Wr,Link:jc,Link2:yg,Link2Icon:yg,Link2Off:pg,Link2OffIcon:pg,LinkIcon:jc,Linkedin:mg,LinkedinIcon:mg,List:Cc,ListCheck:fg,ListCheckIcon:fg,ListChecks:xg,ListChecksIcon:xg,ListCollapse:gg,ListCollapseIcon:gg,ListEnd:kg,ListEndIcon:kg,ListFilter:vg,ListFilterIcon:vg,ListIcon:Cc,ListMinus:wg,ListMinusIcon:wg,ListMusic:Mg,ListMusicIcon:Mg,ListOrdered:bg,ListOrderedIcon:bg,ListPlus:jg,ListPlusIcon:jg,ListRestart:Cg,ListRestartIcon:Cg,ListStart:Lg,ListStartIcon:Lg,ListTodo:Sg,ListTodoIcon:Sg,ListTree:Ig,ListTreeIcon:Ig,ListVideo:Ng,ListVideoIcon:Ng,ListX:Ag,ListXIcon:Ag,Loader:Pg,Loader2:ti,Loader2Icon:ti,LoaderCircle:ti,LoaderCircleIcon:ti,LoaderIcon:Pg,LoaderPinwheel:_g,LoaderPinwheelIcon:_g,Locate:Rg,LocateFixed:qg,LocateFixedIcon:qg,LocateIcon:Rg,LocateOff:Tg,LocateOffIcon:Tg,Lock:Lc,LockIcon:Lc,LockKeyhole:Dg,LockKeyholeIcon:Dg,LockKeyholeOpen:ai,LockKeyholeOpenIcon:ai,LockOpen:ri,LockOpenIcon:ri,LogIn:zg,LogInIcon:zg,LogOut:Sc,LogOutIcon:Sc,Logs:Fg,LogsIcon:Fg,Lollipop:Eg,LollipopIcon:Eg,LucideAArrowDown:x1,LucideAArrowUp:g1,LucideALargeSmall:k1,LucideAccessibility:v1,LucideActivity:w1,LucideActivitySquare:Ni,LucideAirVent:M1,LucideAirplay:b1,LucideAlarmCheck:jr,LucideAlarmClock:C1,LucideAlarmClockCheck:jr,LucideAlarmClockMinus:Cr,LucideAlarmClockOff:j1,LucideAlarmClockPlus:Lr,LucideAlarmMinus:Cr,LucideAlarmPlus:Lr,LucideAlarmSmoke:L1,LucideAlbum:S1,LucideAlertCircle:Nt,LucideAlertOctagon:si,LucideAlertTriangle:Ns,LucideAlignCenter:A1,LucideAlignCenterHorizontal:I1,LucideAlignCenterVertical:N1,LucideAlignEndHorizontal:_1,LucideAlignEndVertical:P1,LucideAlignHorizontalDistributeCenter:q1,LucideAlignHorizontalDistributeEnd:T1,LucideAlignHorizontalDistributeStart:R1,LucideAlignHorizontalJustifyCenter:D1,LucideAlignHorizontalJustifyEnd:z1,LucideAlignHorizontalJustifyStart:F1,LucideAlignHorizontalSpaceAround:E1,LucideAlignHorizontalSpaceBetween:H1,LucideAlignJustify:O1,LucideAlignLeft:V1,LucideAlignRight:B1,LucideAlignStartHorizontal:U1,LucideAlignStartVertical:$1,LucideAlignVerticalDistributeCenter:G1,LucideAlignVerticalDistributeEnd:W1,LucideAlignVerticalDistributeStart:Z1,LucideAlignVerticalJustifyCenter:X1,LucideAlignVerticalJustifyEnd:J1,LucideAlignVerticalJustifyStart:Y1,LucideAlignVerticalSpaceAround:K1,LucideAlignVerticalSpaceBetween:Q1,LucideAmbulance:el,LucideAmpersand:tl,LucideAmpersands:al,LucideAmphora:rl,LucideAnchor:nl,LucideAngry:il,LucideAnnoyed:sl,LucideAntenna:ol,LucideAnvil:cl,LucideAperture:ll,LucideAppWindow:hl,LucideAppWindowMac:dl,LucideApple:ul,LucideArchive:ml,LucideArchiveRestore:pl,LucideArchiveX:yl,LucideAreaChart:Hr,LucideArmchair:fl,LucideArrowBigDown:gl,LucideArrowBigDownDash:xl,LucideArrowBigLeft:vl,LucideArrowBigLeftDash:kl,LucideArrowBigRight:Ml,LucideArrowBigRightDash:wl,LucideArrowBigUp:jl,LucideArrowBigUpDash:bl,LucideArrowDown:Tl,LucideArrowDown01:Cl,LucideArrowDown10:Ll,LucideArrowDownAZ:Sr,LucideArrowDownAz:Sr,LucideArrowDownCircle:Kr,LucideArrowDownFromLine:Sl,LucideArrowDownLeft:Il,LucideArrowDownLeftFromCircle:en,LucideArrowDownLeftFromSquare:qi,LucideArrowDownLeftSquare:Ai,LucideArrowDownNarrowWide:Nl,LucideArrowDownRight:Al,LucideArrowDownRightFromCircle:tn,LucideArrowDownRightFromSquare:Ti,LucideArrowDownRightSquare:_i,LucideArrowDownSquare:Pi,LucideArrowDownToDot:_l,LucideArrowDownToLine:Pl,LucideArrowDownUp:ql,LucideArrowDownWideNarrow:Ir,LucideArrowDownZA:Nr,LucideArrowDownZa:Nr,LucideArrowLeft:Gs,LucideArrowLeftCircle:Qr,LucideArrowLeftFromLine:Rl,LucideArrowLeftRight:Dl,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:zl,LucideArrowRight:ko,LucideArrowRightCircle:nn,LucideArrowRightFromLine:Fl,LucideArrowRightLeft:El,LucideArrowRightSquare:ja,LucideArrowRightToLine:Hl,LucideArrowUp:Jl,LucideArrowUp01:Ol,LucideArrowUp10:Vl,LucideArrowUpAZ:Ar,LucideArrowUpAz:Ar,LucideArrowUpCircle:sn,LucideArrowUpDown:Bl,LucideArrowUpFromDot:Ul,LucideArrowUpFromLine:$l,LucideArrowUpLeft:Gl,LucideArrowUpLeftFromCircle:an,LucideArrowUpLeftFromSquare:Ri,LucideArrowUpLeftSquare:zi,LucideArrowUpNarrowWide:_r,LucideArrowUpRight:Wl,LucideArrowUpRightFromCircle:rn,LucideArrowUpRightFromSquare:Di,LucideArrowUpRightSquare:Fi,LucideArrowUpSquare:Ei,LucideArrowUpToLine:Zl,LucideArrowUpWideNarrow:Xl,LucideArrowUpZA:Pr,LucideArrowUpZa:Pr,LucideArrowsUpFromLine:Yl,LucideAsterisk:Kl,LucideAsteriskSquare:Hi,LucideAtSign:Ql,LucideAtom:ed,LucideAudioLines:td,LucideAudioWaveform:ad,LucideAward:La,LucideAxe:rd,LucideAxis3D:qr,LucideAxis3d:qr,LucideBaby:nd,LucideBackpack:id,LucideBadge:wd,LucideBadgeAlert:sd,LucideBadgeCent:od,LucideBadgeCheck:Tr,LucideBadgeDollarSign:cd,LucideBadgeEuro:ld,LucideBadgeHelp:dd,LucideBadgeIndianRupee:hd,LucideBadgeInfo:ud,LucideBadgeJapaneseYen:pd,LucideBadgeMinus:yd,LucideBadgePercent:md,LucideBadgePlus:fd,LucideBadgePoundSterling:xd,LucideBadgeRussianRuble:gd,LucideBadgeSwissFranc:kd,LucideBadgeX:vd,LucideBaggageClaim:Md,LucideBan:bd,LucideBanana:jd,LucideBandage:Cd,LucideBanknote:Ld,LucideBarChart:Ga,LucideBarChart2:Zr,LucideBarChart3:Gr,LucideBarChart4:$r,LucideBarChartBig:Ur,LucideBarChartHorizontal:Vr,LucideBarChartHorizontalBig:Or,LucideBarcode:Sd,LucideBaseline:Id,LucideBath:Nd,LucideBattery:Rd,LucideBatteryCharging:Ad,LucideBatteryFull:_d,LucideBatteryLow:Pd,LucideBatteryMedium:qd,LucideBatteryWarning:Td,LucideBeaker:Dd,LucideBean:Fd,LucideBeanOff:zd,LucideBed:Od,LucideBedDouble:Ed,LucideBedSingle:Hd,LucideBeef:Vd,LucideBeer:Ud,LucideBeerOff:Bd,LucideBell:vo,LucideBellDot:$d,LucideBellElectric:Gd,LucideBellMinus:Wd,LucideBellOff:Zd,LucideBellPlus:Xd,LucideBellRing:Jd,LucideBetweenHorizonalEnd:Rr,LucideBetweenHorizonalStart:Dr,LucideBetweenHorizontalEnd:Rr,LucideBetweenHorizontalStart:Dr,LucideBetweenVerticalEnd:Yd,LucideBetweenVerticalStart:Kd,LucideBicepsFlexed:Qd,LucideBike:e2,LucideBinary:t2,LucideBinoculars:a2,LucideBiohazard:r2,LucideBird:n2,LucideBitcoin:i2,LucideBlend:s2,LucideBlinds:o2,LucideBlocks:c2,LucideBluetooth:u2,LucideBluetoothConnected:l2,LucideBluetoothOff:d2,LucideBluetoothSearching:h2,LucideBold:p2,LucideBolt:y2,LucideBomb:m2,LucideBone:f2,LucideBook:F2,LucideBookA:x2,LucideBookAudio:g2,LucideBookCheck:k2,LucideBookCopy:v2,LucideBookDashed:zr,LucideBookDown:w2,LucideBookHeadphones:M2,LucideBookHeart:b2,LucideBookImage:j2,LucideBookKey:C2,LucideBookLock:L2,LucideBookMarked:S2,LucideBookMinus:I2,LucideBookOpen:Wt,LucideBookOpenCheck:N2,LucideBookOpenText:A2,LucideBookPlus:_2,LucideBookTemplate:zr,LucideBookText:P2,LucideBookType:q2,LucideBookUp:R2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:z2,LucideBookmark:Qa,LucideBookmarkCheck:da,LucideBookmarkMinus:E2,LucideBookmarkPlus:pc,LucideBookmarkX:H2,LucideBoomBox:O2,LucideBot:yc,LucideBotMessageSquare:V2,LucideBotOff:B2,LucideBox:U2,LucideBoxSelect:Yi,LucideBoxes:$2,LucideBraces:Fr,LucideBrackets:G2,LucideBrain:X2,LucideBrainCircuit:W2,LucideBrainCog:Z2,LucideBrickWall:J2,LucideBriefcase:vt,LucideBriefcaseBusiness:Y2,LucideBriefcaseConveyorBelt:K2,LucideBriefcaseMedical:Q2,LucideBringToFront:e0,LucideBrush:t0,LucideBug:n0,LucideBugOff:a0,LucideBugPlay:r0,LucideBuilding:wo,LucideBuilding2:mc,LucideBus:s0,LucideBusFront:i0,LucideCable:c0,LucideCableCar:o0,LucideCake:d0,LucideCakeSlice:l0,LucideCalculator:h0,LucideCalendar:fc,LucideCalendarArrowDown:u0,LucideCalendarArrowUp:p0,LucideCalendarCheck:m0,LucideCalendarCheck2:y0,LucideCalendarClock:f0,LucideCalendarCog:x0,LucideCalendarDays:g0,LucideCalendarFold:k0,LucideCalendarHeart:v0,LucideCalendarMinus:M0,LucideCalendarMinus2:w0,LucideCalendarOff:b0,LucideCalendarPlus:C0,LucideCalendarPlus2:j0,LucideCalendarRange:L0,LucideCalendarSearch:S0,LucideCalendarX:N0,LucideCalendarX2:I0,LucideCamera:_0,LucideCameraOff:A0,LucideCandlestickChart:Br,LucideCandy:T0,LucideCandyCane:P0,LucideCandyOff:q0,LucideCannabis:R0,LucideCaptions:Er,LucideCaptionsOff:D0,LucideCar:E0,LucideCarFront:z0,LucideCarTaxiFront:F0,LucideCaravan:H0,LucideCarrot:O0,LucideCaseLower:V0,LucideCaseSensitive:B0,LucideCaseUpper:U0,LucideCassetteTape:$0,LucideCast:G0,LucideCastle:W0,LucideCat:Z0,LucideCctv:X0,LucideChartArea:Hr,LucideChartBar:Vr,LucideChartBarBig:Or,LucideChartBarDecreasing:J0,LucideChartBarIncreasing:Y0,LucideChartBarStacked:K0,LucideChartCandlestick:Br,LucideChartColumn:Gr,LucideChartColumnBig:Ur,LucideChartColumnDecreasing:Q0,LucideChartColumnIncreasing:$r,LucideChartColumnStacked:eh,LucideChartGantt:th,LucideChartLine:Wr,LucideChartNetwork:ah,LucideChartNoAxesColumn:Zr,LucideChartNoAxesColumnDecreasing:rh,LucideChartNoAxesColumnIncreasing:Ga,LucideChartNoAxesCombined:nh,LucideChartNoAxesGantt:Xr,LucideChartPie:Jr,LucideChartScatter:Yr,LucideChartSpline:ih,LucideCheck:Mo,LucideCheckCheck:sh,LucideCheckCircle:At,LucideCheckCircle2:on,LucideCheckSquare:Vi,LucideCheckSquare2:Bi,LucideChefHat:oh,LucideCherry:ch,LucideChevronDown:Ws,LucideChevronDownCircle:cn,LucideChevronDownSquare:Ui,LucideChevronFirst:lh,LucideChevronLast:dh,LucideChevronLeft:Zs,LucideChevronLeftCircle:ln,LucideChevronLeftSquare:$i,LucideChevronRight:er,LucideChevronRightCircle:dn,LucideChevronRightSquare:Gi,LucideChevronUp:xc,LucideChevronUpCircle:hn,LucideChevronUpSquare:Wi,LucideChevronsDown:uh,LucideChevronsDownUp:hh,LucideChevronsLeft:mh,LucideChevronsLeftRight:yh,LucideChevronsLeftRightEllipsis:ph,LucideChevronsRight:xh,LucideChevronsRightLeft:fh,LucideChevronsUp:kh,LucideChevronsUpDown:gh,LucideChrome:vh,LucideChurch:wh,LucideCigarette:bh,LucideCigaretteOff:Mh,LucideCircle:Th,LucideCircleAlert:Nt,LucideCircleArrowDown:Kr,LucideCircleArrowLeft:Qr,LucideCircleArrowOutDownLeft:en,LucideCircleArrowOutDownRight:tn,LucideCircleArrowOutUpLeft:an,LucideCircleArrowOutUpRight:rn,LucideCircleArrowRight:nn,LucideCircleArrowUp:sn,LucideCircleCheck:on,LucideCircleCheckBig:At,LucideCircleChevronDown:cn,LucideCircleChevronLeft:ln,LucideCircleChevronRight:dn,LucideCircleChevronUp:hn,LucideCircleDashed:jh,LucideCircleDivide:un,LucideCircleDollarSign:Ch,LucideCircleDot:Sh,LucideCircleDotDashed:Lh,LucideCircleEllipsis:Ih,LucideCircleEqual:Nh,LucideCircleFadingArrowUp:Ah,LucideCircleFadingPlus:_h,LucideCircleGauge:pn,LucideCircleHelp:Wa,LucideCircleMinus:yn,LucideCircleOff:Ph,LucideCircleParking:fn,LucideCircleParkingOff:mn,LucideCirclePause:xn,LucideCirclePercent:gn,LucideCirclePlay:kn,LucideCirclePlus:vn,LucideCirclePower:wn,LucideCircleSlash:qh,LucideCircleSlash2:Mn,LucideCircleSlashed:Mn,LucideCircleStop:bn,LucideCircleUser:Cn,LucideCircleUserRound:jn,LucideCircleX:ia,LucideCircuitBoard:Rh,LucideCitrus:Dh,LucideClapperboard:zh,LucideClipboard:Gh,LucideClipboardCheck:Fh,LucideClipboardCopy:Eh,LucideClipboardEdit:Sn,LucideClipboardList:Hh,LucideClipboardMinus:Oh,LucideClipboardPaste:Vh,LucideClipboardPen:Sn,LucideClipboardPenLine:Ln,LucideClipboardPlus:Bh,LucideClipboardSignature:Ln,LucideClipboardType:Uh,LucideClipboardX:$h,LucideClock:Qt,LucideClock1:Wh,LucideClock10:Zh,LucideClock11:Xh,LucideClock12:Jh,LucideClock2:Yh,LucideClock3:Kh,LucideClock4:Qh,LucideClock5:eu,LucideClock6:tu,LucideClock7:au,LucideClock8:ru,LucideClock9:nu,LucideClockAlert:iu,LucideClockArrowDown:su,LucideClockArrowUp:ou,LucideCloud:wu,LucideCloudCog:cu,LucideCloudDownload:In,LucideCloudDrizzle:lu,LucideCloudFog:du,LucideCloudHail:hu,LucideCloudLightning:uu,LucideCloudMoon:yu,LucideCloudMoonRain:pu,LucideCloudOff:mu,LucideCloudRain:xu,LucideCloudRainWind:fu,LucideCloudSnow:gu,LucideCloudSun:vu,LucideCloudSunRain:ku,LucideCloudUpload:Za,LucideCloudy:Mu,LucideClover:bu,LucideClub:ju,LucideCode:Cu,LucideCode2:Nn,LucideCodeSquare:Zi,LucideCodeXml:Nn,LucideCodepen:Lu,LucideCodesandbox:Su,LucideCoffee:Iu,LucideCog:Nu,LucideCoins:Au,LucideColumns:An,LucideColumns2:An,LucideColumns3:_n,LucideColumns4:_u,LucideCombine:Pu,LucideCommand:qu,LucideCompass:Tu,LucideComponent:Ru,LucideComputer:Du,LucideConciergeBell:zu,LucideCone:Fu,LucideConstruction:Eu,LucideContact:Hu,LucideContact2:Pn,LucideContactRound:Pn,LucideContainer:Ou,LucideContrast:Vu,LucideCookie:Bu,LucideCookingPot:Uu,LucideCopy:Ju,LucideCopyCheck:$u,LucideCopyMinus:Gu,LucideCopyPlus:Wu,LucideCopySlash:Zu,LucideCopyX:Xu,LucideCopyleft:Yu,LucideCopyright:Ku,LucideCornerDownLeft:Qu,LucideCornerDownRight:ep,LucideCornerLeftDown:tp,LucideCornerLeftUp:ap,LucideCornerRightDown:rp,LucideCornerRightUp:np,LucideCornerUpLeft:ip,LucideCornerUpRight:sp,LucideCpu:op,LucideCreativeCommons:cp,LucideCreditCard:gc,LucideCroissant:lp,LucideCrop:dp,LucideCross:hp,LucideCrosshair:up,LucideCrown:pp,LucideCuboid:yp,LucideCupSoda:mp,LucideCurlyBraces:Fr,LucideCurrency:fp,LucideCylinder:xp,LucideDam:gp,LucideDatabase:wp,LucideDatabaseBackup:kp,LucideDatabaseZap:vp,LucideDelete:Mp,LucideDessert:bp,LucideDiameter:jp,LucideDiamond:Sp,LucideDiamondMinus:Cp,LucideDiamondPercent:qn,LucideDiamondPlus:Lp,LucideDice1:Ip,LucideDice2:Np,LucideDice3:Ap,LucideDice4:_p,LucideDice5:Pp,LucideDice6:qp,LucideDices:Tp,LucideDiff:Rp,LucideDisc:Ep,LucideDisc2:Dp,LucideDisc3:zp,LucideDiscAlbum:Fp,LucideDivide:Hp,LucideDivideCircle:un,LucideDivideSquare:Ki,LucideDna:Vp,LucideDnaOff:Op,LucideDock:Bp,LucideDog:Up,LucideDollarSign:kc,LucideDonut:$p,LucideDoorClosed:Gp,LucideDoorOpen:Wp,LucideDot:Zp,LucideDotSquare:Qi,LucideDownload:Xp,LucideDownloadCloud:In,LucideDraftingCompass:Jp,LucideDrama:Yp,LucideDribbble:Kp,LucideDrill:Qp,LucideDroplet:ey,LucideDroplets:ty,LucideDrum:ay,LucideDrumstick:ry,LucideDumbbell:ny,LucideEar:sy,LucideEarOff:iy,LucideEarth:Tn,LucideEarthLock:oy,LucideEclipse:cy,LucideEdit:St,LucideEdit2:ki,LucideEdit3:gi,LucideEgg:hy,LucideEggFried:ly,LucideEggOff:dy,LucideEllipsis:Dn,LucideEllipsisVertical:Rn,LucideEqual:py,LucideEqualNot:uy,LucideEqualSquare:es,LucideEraser:yy,LucideEthernetPort:my,LucideEuro:fy,LucideExpand:xy,LucideExternalLink:Xs,LucideEye:bo,LucideEyeClosed:gy,LucideEyeOff:vc,LucideFacebook:ky,LucideFactory:vy,LucideFan:wy,LucideFastForward:My,LucideFeather:by,LucideFence:jy,LucideFerrisWheel:Cy,LucideFigma:Ly,LucideFile:Mm,LucideFileArchive:Sy,LucideFileAudio:Ny,LucideFileAudio2:Iy,LucideFileAxis3D:zn,LucideFileAxis3d:zn,LucideFileBadge:_y,LucideFileBadge2:Ay,LucideFileBarChart:Fn,LucideFileBarChart2:En,LucideFileBox:Py,LucideFileChartColumn:En,LucideFileChartColumnIncreasing:Fn,LucideFileChartLine:Hn,LucideFileChartPie:On,LucideFileCheck:Ty,LucideFileCheck2:qy,LucideFileClock:Ry,LucideFileCode:zy,LucideFileCode2:Dy,LucideFileCog:Vn,LucideFileCog2:Vn,LucideFileDiff:Fy,LucideFileDigit:Ey,LucideFileDown:Hy,LucideFileEdit:Un,LucideFileHeart:Oy,LucideFileImage:Vy,LucideFileInput:By,LucideFileJson:$y,LucideFileJson2:Uy,LucideFileKey:Wy,LucideFileKey2:Gy,LucideFileLineChart:Hn,LucideFileLock:Xy,LucideFileLock2:Zy,LucideFileMinus:Yy,LucideFileMinus2:Jy,LucideFileMusic:Ky,LucideFileOutput:Qy,LucideFilePen:Un,LucideFilePenLine:Bn,LucideFilePieChart:On,LucideFilePlus:tm,LucideFilePlus2:em,LucideFileQuestion:am,LucideFileScan:rm,LucideFileSearch:im,LucideFileSearch2:nm,LucideFileSignature:Bn,LucideFileSliders:sm,LucideFileSpreadsheet:om,LucideFileStack:cm,LucideFileSymlink:lm,LucideFileTerminal:dm,LucideFileText:wc,LucideFileType:um,LucideFileType2:hm,LucideFileUp:pm,LucideFileUser:ym,LucideFileVideo:fm,LucideFileVideo2:mm,LucideFileVolume:gm,LucideFileVolume2:xm,LucideFileWarning:km,LucideFileX:wm,LucideFileX2:vm,LucideFiles:bm,LucideFilm:jm,LucideFilter:jo,LucideFilterX:Cm,LucideFingerprint:Lm,LucideFireExtinguisher:Sm,LucideFish:Am,LucideFishOff:Im,LucideFishSymbol:Nm,LucideFlag:Mc,LucideFlagOff:_m,LucideFlagTriangleLeft:Pm,LucideFlagTriangleRight:qm,LucideFlame:Rm,LucideFlameKindling:Tm,LucideFlashlight:zm,LucideFlashlightOff:Dm,LucideFlaskConical:Em,LucideFlaskConicalOff:Fm,LucideFlaskRound:Hm,LucideFlipHorizontal:Vm,LucideFlipHorizontal2:Om,LucideFlipVertical:Um,LucideFlipVertical2:Bm,LucideFlower:Gm,LucideFlower2:$m,LucideFocus:Wm,LucideFoldHorizontal:Zm,LucideFoldVertical:Xm,LucideFolder:jf,LucideFolderArchive:Jm,LucideFolderCheck:Ym,LucideFolderClock:Km,LucideFolderClosed:Qm,LucideFolderCode:ef,LucideFolderCog:$n,LucideFolderCog2:$n,LucideFolderDot:tf,LucideFolderDown:af,LucideFolderEdit:Gn,LucideFolderGit:nf,LucideFolderGit2:rf,LucideFolderHeart:sf,LucideFolderInput:of,LucideFolderKanban:cf,LucideFolderKey:lf,LucideFolderLock:df,LucideFolderMinus:hf,LucideFolderOpen:pf,LucideFolderOpenDot:uf,LucideFolderOutput:yf,LucideFolderPen:Gn,LucideFolderPlus:mf,LucideFolderRoot:ff,LucideFolderSearch:gf,LucideFolderSearch2:xf,LucideFolderSymlink:kf,LucideFolderSync:vf,LucideFolderTree:wf,LucideFolderUp:Mf,LucideFolderX:bf,LucideFolders:Cf,LucideFootprints:Lf,LucideForkKnife:Hs,LucideForkKnifeCrossed:Es,LucideForklift:Sf,LucideFormInput:wi,LucideForward:If,LucideFrame:Nf,LucideFramer:Af,LucideFrown:_f,LucideFuel:Pf,LucideFullscreen:qf,LucideFunctionSquare:ts,LucideGalleryHorizontal:Rf,LucideGalleryHorizontalEnd:Tf,LucideGalleryThumbnails:Df,LucideGalleryVertical:Ff,LucideGalleryVerticalEnd:zf,LucideGamepad:Hf,LucideGamepad2:Ef,LucideGanttChart:Xr,LucideGanttChartSquare:ra,LucideGauge:Of,LucideGaugeCircle:pn,LucideGavel:Vf,LucideGem:Bf,LucideGhost:Uf,LucideGift:$f,LucideGitBranch:Wf,LucideGitBranchPlus:Gf,LucideGitCommit:Wn,LucideGitCommitHorizontal:Wn,LucideGitCommitVertical:Zf,LucideGitCompare:Jf,LucideGitCompareArrows:Xf,LucideGitFork:Yf,LucideGitGraph:Kf,LucideGitMerge:Qf,LucideGitPullRequest:ix,LucideGitPullRequestArrow:ex,LucideGitPullRequestClosed:tx,LucideGitPullRequestCreate:rx,LucideGitPullRequestCreateArrow:ax,LucideGitPullRequestDraft:nx,LucideGithub:sx,LucideGitlab:ox,LucideGlassWater:cx,LucideGlasses:lx,LucideGlobe:Co,LucideGlobe2:Tn,LucideGlobeLock:dx,LucideGoal:hx,LucideGrab:ux,LucideGraduationCap:Lo,LucideGrape:px,LucideGrid:Jt,LucideGrid2X2:Zn,LucideGrid2x2:Zn,LucideGrid2x2Check:yx,LucideGrid2x2Plus:mx,LucideGrid2x2X:fx,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:kx,LucideGripHorizontal:xx,LucideGripVertical:gx,LucideGroup:vx,LucideGuitar:wx,LucideHam:Mx,LucideHammer:bx,LucideHand:Ix,LucideHandCoins:jx,LucideHandHeart:Cx,LucideHandHelping:Xn,LucideHandMetal:Lx,LucideHandPlatter:Sx,LucideHandshake:Nx,LucideHardDrive:Px,LucideHardDriveDownload:Ax,LucideHardDriveUpload:_x,LucideHardHat:qx,LucideHash:Tx,LucideHaze:Rx,LucideHdmiPort:Dx,LucideHeading:Bx,LucideHeading1:zx,LucideHeading2:Fx,LucideHeading3:Ex,LucideHeading4:Hx,LucideHeading5:Ox,LucideHeading6:Vx,LucideHeadphoneOff:Ux,LucideHeadphones:$x,LucideHeadset:Gx,LucideHeart:So,LucideHeartCrack:Wx,LucideHeartHandshake:Zx,LucideHeartOff:Xx,LucideHeartPulse:Jx,LucideHeater:Yx,LucideHelpCircle:Wa,LucideHelpingHand:Xn,LucideHexagon:Kx,LucideHighlighter:Qx,LucideHistory:e4,LucideHome:Ma,LucideHop:a4,LucideHopOff:t4,LucideHospital:r4,LucideHotel:n4,LucideHourglass:i4,LucideHouse:Ma,LucideHousePlug:s4,LucideHousePlus:o4,LucideIceCream:Yn,LucideIceCream2:Jn,LucideIceCreamBowl:Jn,LucideIceCreamCone:Yn,LucideIdCard:c4,LucideImage:m4,LucideImageDown:l4,LucideImageMinus:d4,LucideImageOff:h4,LucideImagePlay:u4,LucideImagePlus:p4,LucideImageUp:y4,LucideImages:f4,LucideImport:x4,LucideInbox:g4,LucideIndent:Qn,LucideIndentDecrease:Kn,LucideIndentIncrease:Qn,LucideIndianRupee:k4,LucideInfinity:v4,LucideInfo:w4,LucideInspect:os,LucideInspectionPanel:M4,LucideInstagram:b4,LucideItalic:j4,LucideIterationCcw:C4,LucideIterationCw:L4,LucideJapaneseYen:S4,LucideJoystick:I4,LucideKanban:N4,LucideKanbanSquare:as,LucideKanbanSquareDashed:Xi,LucideKey:P4,LucideKeyRound:A4,LucideKeySquare:_4,LucideKeyboard:R4,LucideKeyboardMusic:q4,LucideKeyboardOff:T4,LucideLamp:O4,LucideLampCeiling:D4,LucideLampDesk:z4,LucideLampFloor:F4,LucideLampWallDown:E4,LucideLampWallUp:H4,LucideLandPlot:V4,LucideLandmark:B4,LucideLanguages:U4,LucideLaptop:$4,LucideLaptop2:ei,LucideLaptopMinimal:ei,LucideLasso:W4,LucideLassoSelect:G4,LucideLaugh:Z4,LucideLayers:Y4,LucideLayers2:X4,LucideLayers3:J4,LucideLayout:xi,LucideLayoutDashboard:bc,LucideLayoutGrid:K4,LucideLayoutList:Q4,LucideLayoutPanelLeft:eg,LucideLayoutPanelTop:tg,LucideLayoutTemplate:ag,LucideLeaf:rg,LucideLeafyGreen:ng,LucideLectern:ig,LucideLetterText:sg,LucideLibrary:cg,LucideLibraryBig:og,LucideLibrarySquare:rs,LucideLifeBuoy:lg,LucideLigature:dg,LucideLightbulb:ug,LucideLightbulbOff:hg,LucideLineChart:Wr,LucideLink:jc,LucideLink2:yg,LucideLink2Off:pg,LucideLinkedin:mg,LucideList:Cc,LucideListCheck:fg,LucideListChecks:xg,LucideListCollapse:gg,LucideListEnd:kg,LucideListFilter:vg,LucideListMinus:wg,LucideListMusic:Mg,LucideListOrdered:bg,LucideListPlus:jg,LucideListRestart:Cg,LucideListStart:Lg,LucideListTodo:Sg,LucideListTree:Ig,LucideListVideo:Ng,LucideListX:Ag,LucideLoader:Pg,LucideLoader2:ti,LucideLoaderCircle:ti,LucideLoaderPinwheel:_g,LucideLocate:Rg,LucideLocateFixed:qg,LucideLocateOff:Tg,LucideLock:Lc,LucideLockKeyhole:Dg,LucideLockKeyholeOpen:ai,LucideLockOpen:ri,LucideLogIn:zg,LucideLogOut:Sc,LucideLogs:Fg,LucideLollipop:Eg,LucideLuggage:Hg,LucideMSquare:ns,LucideMagnet:Og,LucideMail:ha,LucideMailCheck:Vg,LucideMailMinus:Bg,LucideMailOpen:Ug,LucideMailPlus:$g,LucideMailQuestion:Gg,LucideMailSearch:Wg,LucideMailWarning:Zg,LucideMailX:Xg,LucideMailbox:Jg,LucideMails:Yg,LucideMap:lk,LucideMapPin:Zt,LucideMapPinCheck:Qg,LucideMapPinCheckInside:Kg,LucideMapPinHouse:ek,LucideMapPinMinus:ak,LucideMapPinMinusInside:tk,LucideMapPinOff:rk,LucideMapPinPlus:ik,LucideMapPinPlusInside:nk,LucideMapPinX:ok,LucideMapPinXInside:sk,LucideMapPinned:ck,LucideMartini:dk,LucideMaximize:uk,LucideMaximize2:hk,LucideMedal:pk,LucideMegaphone:mk,LucideMegaphoneOff:yk,LucideMeh:fk,LucideMemoryStick:xk,LucideMenu:Io,LucideMenuSquare:is,LucideMerge:gk,LucideMessageCircle:Nk,LucideMessageCircleCode:kk,LucideMessageCircleDashed:vk,LucideMessageCircleHeart:wk,LucideMessageCircleMore:Mk,LucideMessageCircleOff:bk,LucideMessageCirclePlus:jk,LucideMessageCircleQuestion:Ck,LucideMessageCircleReply:Lk,LucideMessageCircleWarning:Sk,LucideMessageCircleX:Ik,LucideMessageSquare:No,LucideMessageSquareCode:Ak,LucideMessageSquareDashed:_k,LucideMessageSquareDiff:Pk,LucideMessageSquareDot:qk,LucideMessageSquareHeart:Tk,LucideMessageSquareLock:Rk,LucideMessageSquareMore:Dk,LucideMessageSquareOff:zk,LucideMessageSquarePlus:Fk,LucideMessageSquareQuote:Ek,LucideMessageSquareReply:Hk,LucideMessageSquareShare:Ok,LucideMessageSquareText:Vk,LucideMessageSquareWarning:Bk,LucideMessageSquareX:Uk,LucideMessagesSquare:$k,LucideMic:Wk,LucideMic2:ni,LucideMicOff:Gk,LucideMicVocal:ni,LucideMicrochip:Zk,LucideMicroscope:Xk,LucideMicrowave:Jk,LucideMilestone:Yk,LucideMilk:Qk,LucideMilkOff:Kk,LucideMinimize:t5,LucideMinimize2:e5,LucideMinus:Ic,LucideMinusCircle:yn,LucideMinusSquare:ss,LucideMonitor:y5,LucideMonitorCheck:a5,LucideMonitorCog:r5,LucideMonitorDot:n5,LucideMonitorDown:i5,LucideMonitorOff:s5,LucideMonitorPause:o5,LucideMonitorPlay:c5,LucideMonitorSmartphone:l5,LucideMonitorSpeaker:d5,LucideMonitorStop:h5,LucideMonitorUp:u5,LucideMonitorX:p5,LucideMoon:f5,LucideMoonStar:m5,LucideMoreHorizontal:Dn,LucideMoreVertical:Rn,LucideMountain:g5,LucideMountainSnow:x5,LucideMouse:j5,LucideMouseOff:k5,LucideMousePointer:b5,LucideMousePointer2:v5,LucideMousePointerBan:w5,LucideMousePointerClick:M5,LucideMousePointerSquareDashed:Ji,LucideMove:z5,LucideMove3D:ii,LucideMove3d:ii,LucideMoveDiagonal:L5,LucideMoveDiagonal2:C5,LucideMoveDown:N5,LucideMoveDownLeft:S5,LucideMoveDownRight:I5,LucideMoveHorizontal:A5,LucideMoveLeft:_5,LucideMoveRight:P5,LucideMoveUp:R5,LucideMoveUpLeft:q5,LucideMoveUpRight:T5,LucideMoveVertical:D5,LucideMusic:O5,LucideMusic2:F5,LucideMusic3:E5,LucideMusic4:H5,LucideNavigation:$5,LucideNavigation2:B5,LucideNavigation2Off:V5,LucideNavigationOff:U5,LucideNetwork:G5,LucideNewspaper:Sa,LucideNfc:W5,LucideNotebook:Y5,LucideNotebookPen:Z5,LucideNotebookTabs:X5,LucideNotebookText:J5,LucideNotepadText:Q5,LucideNotepadTextDashed:K5,LucideNut:t3,LucideNutOff:e3,LucideOctagon:r3,LucideOctagonAlert:si,LucideOctagonMinus:a3,LucideOctagonPause:oi,LucideOctagonX:ci,LucideOmega:n3,LucideOption:i3,LucideOrbit:s3,LucideOrigami:o3,LucideOutdent:Kn,LucidePackage:m3,LucidePackage2:c3,LucidePackageCheck:l3,LucidePackageMinus:d3,LucidePackageOpen:h3,LucidePackagePlus:u3,LucidePackageSearch:p3,LucidePackageX:y3,LucidePaintBucket:f3,LucidePaintRoller:x3,LucidePaintbrush:g3,LucidePaintbrush2:li,LucidePaintbrushVertical:li,LucidePalette:k3,LucidePalmtree:Is,LucidePanelBottom:M3,LucidePanelBottomClose:v3,LucidePanelBottomDashed:di,LucidePanelBottomInactive:di,LucidePanelBottomOpen:w3,LucidePanelLeft:yi,LucidePanelLeftClose:hi,LucidePanelLeftDashed:ui,LucidePanelLeftInactive:ui,LucidePanelLeftOpen:pi,LucidePanelRight:C3,LucidePanelRightClose:b3,LucidePanelRightDashed:mi,LucidePanelRightInactive:mi,LucidePanelRightOpen:j3,LucidePanelTop:I3,LucidePanelTopClose:L3,LucidePanelTopDashed:fi,LucidePanelTopInactive:fi,LucidePanelTopOpen:S3,LucidePanelsLeftBottom:N3,LucidePanelsLeftRight:_n,LucidePanelsRightBottom:A3,LucidePanelsTopBottom:ji,LucidePanelsTopLeft:xi,LucidePaperclip:_3,LucideParentheses:P3,LucideParkingCircle:fn,LucideParkingCircleOff:mn,LucideParkingMeter:q3,LucideParkingSquare:ls,LucideParkingSquareOff:cs,LucidePartyPopper:T3,LucidePause:R3,LucidePauseCircle:xn,LucidePauseOctagon:oi,LucidePawPrint:D3,LucidePcCase:z3,LucidePen:ki,LucidePenBox:St,LucidePenLine:gi,LucidePenOff:F3,LucidePenSquare:St,LucidePenTool:E3,LucidePencil:B3,LucidePencilLine:H3,LucidePencilOff:O3,LucidePencilRuler:V3,LucidePentagon:U3,LucidePercent:$3,LucidePercentCircle:gn,LucidePercentDiamond:qn,LucidePercentSquare:ds,LucidePersonStanding:G3,LucidePhilippinePeso:W3,LucidePhone:Js,LucidePhoneCall:Z3,LucidePhoneForwarded:X3,LucidePhoneIncoming:J3,LucidePhoneMissed:Y3,LucidePhoneOff:K3,LucidePhoneOutgoing:Q3,LucidePi:ev,LucidePiSquare:hs,LucidePiano:tv,LucidePickaxe:av,LucidePictureInPicture:nv,LucidePictureInPicture2:rv,LucidePieChart:Jr,LucidePiggyBank:iv,LucidePilcrow:cv,LucidePilcrowLeft:sv,LucidePilcrowRight:ov,LucidePilcrowSquare:us,LucidePill:dv,LucidePillBottle:lv,LucidePin:uv,LucidePinOff:hv,LucidePipette:pv,LucidePizza:yv,LucidePlane:xv,LucidePlaneLanding:mv,LucidePlaneTakeoff:fv,LucidePlay:Nc,LucidePlayCircle:kn,LucidePlaySquare:ps,LucidePlug:kv,LucidePlug2:gv,LucidePlugZap:vi,LucidePlugZap2:vi,LucidePlus:Ao,LucidePlusCircle:vn,LucidePlusSquare:ys,LucidePocket:wv,LucidePocketKnife:vv,LucidePodcast:Mv,LucidePointer:jv,LucidePointerOff:bv,LucidePopcorn:Cv,LucidePopsicle:Lv,LucidePoundSterling:Sv,LucidePower:Nv,LucidePowerCircle:wn,LucidePowerOff:Iv,LucidePowerSquare:ms,LucidePresentation:Av,LucidePrinter:Pv,LucidePrinterCheck:_v,LucideProjector:qv,LucideProportions:Tv,LucidePuzzle:Rv,LucidePyramid:Dv,LucideQrCode:zv,LucideQuote:_o,LucideRabbit:Fv,LucideRadar:Ev,LucideRadiation:Hv,LucideRadical:Ov,LucideRadio:Uv,LucideRadioReceiver:Vv,LucideRadioTower:Bv,LucideRadius:$v,LucideRailSymbol:Gv,LucideRainbow:Wv,LucideRat:Zv,LucideRatio:Xv,LucideReceipt:n6,LucideReceiptCent:Jv,LucideReceiptEuro:Yv,LucideReceiptIndianRupee:Kv,LucideReceiptJapaneseYen:Qv,LucideReceiptPoundSterling:e6,LucideReceiptRussianRuble:t6,LucideReceiptSwissFranc:a6,LucideReceiptText:r6,LucideRectangleEllipsis:wi,LucideRectangleHorizontal:i6,LucideRectangleVertical:s6,LucideRecycle:o6,LucideRedo:d6,LucideRedo2:c6,LucideRedoDot:l6,LucideRefreshCcw:u6,LucideRefreshCcwDot:h6,LucideRefreshCw:y6,LucideRefreshCwOff:p6,LucideRefrigerator:m6,LucideRegex:f6,LucideRemoveFormatting:x6,LucideRepeat:v6,LucideRepeat1:g6,LucideRepeat2:k6,LucideReplace:M6,LucideReplaceAll:w6,LucideReply:j6,LucideReplyAll:b6,LucideRewind:C6,LucideRibbon:L6,LucideRocket:S6,LucideRockingChair:I6,LucideRollerCoaster:N6,LucideRotate3D:Mi,LucideRotate3d:Mi,LucideRotateCcw:_6,LucideRotateCcwSquare:A6,LucideRotateCw:q6,LucideRotateCwSquare:P6,LucideRoute:R6,LucideRouteOff:T6,LucideRouter:D6,LucideRows:bi,LucideRows2:bi,LucideRows3:ji,LucideRows4:z6,LucideRss:F6,LucideRuler:E6,LucideRussianRuble:H6,LucideSailboat:O6,LucideSalad:V6,LucideSandwich:B6,LucideSatellite:$6,LucideSatelliteDish:U6,LucideSave:Z6,LucideSaveAll:G6,LucideSaveOff:W6,LucideScale:X6,LucideScale3D:Ci,LucideScale3d:Ci,LucideScaling:J6,LucideScan:n8,LucideScanBarcode:Y6,LucideScanEye:K6,LucideScanFace:Q6,LucideScanLine:e8,LucideScanQrCode:t8,LucideScanSearch:a8,LucideScanText:r8,LucideScatterChart:Yr,LucideSchool:i8,LucideSchool2:_s,LucideScissors:o8,LucideScissorsLineDashed:s8,LucideScissorsSquare:fs,LucideScissorsSquareDashedBottom:Oi,LucideScreenShare:l8,LucideScreenShareOff:c8,LucideScroll:h8,LucideScrollText:d8,LucideSearch:Xt,LucideSearchCheck:u8,LucideSearchCode:p8,LucideSearchSlash:y8,LucideSearchX:m8,LucideSection:f8,LucideSend:Ac,LucideSendHorizonal:Li,LucideSendHorizontal:Li,LucideSendToBack:x8,LucideSeparatorHorizontal:g8,LucideSeparatorVertical:k8,LucideServer:b8,LucideServerCog:v8,LucideServerCrash:w8,LucideServerOff:M8,LucideSettings:Po,LucideSettings2:j8,LucideShapes:C8,LucideShare:L8,LucideShare2:qo,LucideSheet:S8,LucideShell:I8,LucideShield:Pc,LucideShieldAlert:N8,LucideShieldBan:A8,LucideShieldCheck:_c,LucideShieldClose:Si,LucideShieldEllipsis:_8,LucideShieldHalf:P8,LucideShieldMinus:q8,LucideShieldOff:T8,LucideShieldPlus:R8,LucideShieldQuestion:D8,LucideShieldX:Si,LucideShip:F8,LucideShipWheel:z8,LucideShirt:E8,LucideShoppingBag:H8,LucideShoppingBasket:O8,LucideShoppingCart:To,LucideShovel:V8,LucideShowerHead:B8,LucideShrink:U8,LucideShrub:$8,LucideShuffle:G8,LucideSidebar:yi,LucideSidebarClose:hi,LucideSidebarOpen:pi,LucideSigma:W8,LucideSigmaSquare:xs,LucideSignal:qc,LucideSignalHigh:Z8,LucideSignalLow:X8,LucideSignalMedium:J8,LucideSignalZero:Y8,LucideSignature:K8,LucideSignpost:e7,LucideSignpostBig:Q8,LucideSiren:t7,LucideSkipBack:a7,LucideSkipForward:r7,LucideSkull:n7,LucideSlack:i7,LucideSlash:s7,LucideSlashSquare:gs,LucideSlice:o7,LucideSliders:Ii,LucideSlidersHorizontal:tr,LucideSlidersVertical:Ii,LucideSmartphone:d7,LucideSmartphoneCharging:c7,LucideSmartphoneNfc:l7,LucideSmile:u7,LucideSmilePlus:h7,LucideSnail:p7,LucideSnowflake:y7,LucideSofa:m7,LucideSortAsc:_r,LucideSortDesc:Ir,LucideSoup:f7,LucideSpace:x7,LucideSpade:g7,LucideSparkle:k7,LucideSparkles:Xa,LucideSpeaker:v7,LucideSpeech:w7,LucideSpellCheck:b7,LucideSpellCheck2:M7,LucideSpline:j7,LucideSplit:C7,LucideSplitSquareHorizontal:ks,LucideSplitSquareVertical:vs,LucideSprayCan:L7,LucideSprout:S7,LucideSquare:q7,LucideSquareActivity:Ni,LucideSquareArrowDown:Pi,LucideSquareArrowDownLeft:Ai,LucideSquareArrowDownRight:_i,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:qi,LucideSquareArrowOutDownRight:Ti,LucideSquareArrowOutUpLeft:Ri,LucideSquareArrowOutUpRight:Di,LucideSquareArrowRight:ja,LucideSquareArrowUp:Ei,LucideSquareArrowUpLeft:zi,LucideSquareArrowUpRight:Fi,LucideSquareAsterisk:Hi,LucideSquareBottomDashedScissors:Oi,LucideSquareChartGantt:ra,LucideSquareCheck:Bi,LucideSquareCheckBig:Vi,LucideSquareChevronDown:Ui,LucideSquareChevronLeft:$i,LucideSquareChevronRight:Gi,LucideSquareChevronUp:Wi,LucideSquareCode:Zi,LucideSquareDashed:Yi,LucideSquareDashedBottom:N7,LucideSquareDashedBottomCode:I7,LucideSquareDashedKanban:Xi,LucideSquareDashedMousePointer:Ji,LucideSquareDivide:Ki,LucideSquareDot:Qi,LucideSquareEqual:es,LucideSquareFunction:ts,LucideSquareGanttChart:ra,LucideSquareKanban:as,LucideSquareLibrary:rs,LucideSquareM:ns,LucideSquareMenu:is,LucideSquareMinus:ss,LucideSquareMousePointer:os,LucideSquareParking:ls,LucideSquareParkingOff:cs,LucideSquarePen:St,LucideSquarePercent:ds,LucideSquarePi:hs,LucideSquarePilcrow:us,LucideSquarePlay:ps,LucideSquarePlus:ys,LucideSquarePower:ms,LucideSquareRadical:A7,LucideSquareScissors:fs,LucideSquareSigma:xs,LucideSquareSlash:gs,LucideSquareSplitHorizontal:ks,LucideSquareSplitVertical:vs,LucideSquareSquare:_7,LucideSquareStack:P7,LucideSquareTerminal:ws,LucideSquareUser:bs,LucideSquareUserRound:Ms,LucideSquareX:js,LucideSquircle:T7,LucideSquirrel:R7,LucideStamp:D7,LucideStar:Ut,LucideStarHalf:z7,LucideStarOff:F7,LucideStars:Xa,LucideStepBack:E7,LucideStepForward:H7,LucideStethoscope:O7,LucideSticker:V7,LucideStickyNote:B7,LucideStopCircle:bn,LucideStore:U7,LucideStretchHorizontal:$7,LucideStretchVertical:G7,LucideStrikethrough:W7,LucideSubscript:Z7,LucideSubtitles:Er,LucideSun:Q7,LucideSunDim:X7,LucideSunMedium:J7,LucideSunMoon:Y7,LucideSunSnow:K7,LucideSunrise:ew,LucideSunset:tw,LucideSuperscript:aw,LucideSwatchBook:rw,LucideSwissFranc:nw,LucideSwitchCamera:iw,LucideSword:sw,LucideSwords:ow,LucideSyringe:cw,LucideTable:fw,LucideTable2:lw,LucideTableCellsMerge:dw,LucideTableCellsSplit:hw,LucideTableColumnsSplit:uw,LucideTableOfContents:pw,LucideTableProperties:yw,LucideTableRowsSplit:mw,LucideTablet:gw,LucideTabletSmartphone:xw,LucideTablets:kw,LucideTag:Tc,LucideTags:vw,LucideTally1:ww,LucideTally2:Mw,LucideTally3:bw,LucideTally4:jw,LucideTally5:Cw,LucideTangent:Lw,LucideTarget:Sw,LucideTelescope:Iw,LucideTent:Aw,LucideTentTree:Nw,LucideTerminal:_w,LucideTerminalSquare:ws,LucideTestTube:Pw,LucideTestTube2:Cs,LucideTestTubeDiagonal:Cs,LucideTestTubes:qw,LucideText:Fw,LucideTextCursor:Rw,LucideTextCursorInput:Tw,LucideTextQuote:Dw,LucideTextSearch:zw,LucideTextSelect:Ls,LucideTextSelection:Ls,LucideTheater:Ew,LucideThermometer:Vw,LucideThermometerSnowflake:Hw,LucideThermometerSun:Ow,LucideThumbsDown:Bw,LucideThumbsUp:Uw,LucideTicket:Yw,LucideTicketCheck:$w,LucideTicketMinus:Gw,LucideTicketPercent:Ww,LucideTicketPlus:Zw,LucideTicketSlash:Xw,LucideTicketX:Jw,LucideTickets:Qw,LucideTicketsPlane:Kw,LucideTimer:aM,LucideTimerOff:eM,LucideTimerReset:tM,LucideToggleLeft:rM,LucideToggleRight:nM,LucideTornado:iM,LucideTorus:sM,LucideTouchpad:cM,LucideTouchpadOff:oM,LucideTowerControl:lM,LucideToyBrick:dM,LucideTractor:hM,LucideTrafficCone:uM,LucideTrain:Ss,LucideTrainFront:yM,LucideTrainFrontTunnel:pM,LucideTrainTrack:mM,LucideTramFront:Ss,LucideTrash:fM,LucideTrash2:Ro,LucideTreeDeciduous:xM,LucideTreePalm:Is,LucideTreePine:gM,LucideTrees:kM,LucideTrello:vM,LucideTrendingDown:wM,LucideTrendingUp:Ys,LucideTrendingUpDown:MM,LucideTriangle:jM,LucideTriangleAlert:Ns,LucideTriangleRight:bM,LucideTrophy:CM,LucideTruck:LM,LucideTurtle:SM,LucideTv:NM,LucideTv2:As,LucideTvMinimal:As,LucideTvMinimalPlay:IM,LucideTwitch:AM,LucideTwitter:_M,LucideType:qM,LucideTypeOutline:PM,LucideUmbrella:RM,LucideUmbrellaOff:TM,LucideUnderline:DM,LucideUndo:EM,LucideUndo2:zM,LucideUndoDot:FM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:OM,LucideUngroup:VM,LucideUniversity:_s,LucideUnlink:UM,LucideUnlink2:BM,LucideUnlock:ri,LucideUnlockKeyhole:ai,LucideUnplug:$M,LucideUpload:Rc,LucideUploadCloud:Za,LucideUsb:GM,LucideUser:Dc,LucideUser2:zs,LucideUserCheck:WM,LucideUserCheck2:Ps,LucideUserCircle:Cn,LucideUserCircle2:jn,LucideUserCog:ZM,LucideUserCog2:qs,LucideUserMinus:XM,LucideUserMinus2:Ts,LucideUserPen:JM,LucideUserPlus:YM,LucideUserPlus2:Rs,LucideUserRound:zs,LucideUserRoundCheck:Ps,LucideUserRoundCog:qs,LucideUserRoundMinus:Ts,LucideUserRoundPen:KM,LucideUserRoundPlus:Rs,LucideUserRoundSearch:QM,LucideUserRoundX:Ds,LucideUserSearch:eb,LucideUserSquare:bs,LucideUserSquare2:Ms,LucideUserX:tb,LucideUserX2:Ds,LucideUsers:Ia,LucideUsers2:Fs,LucideUsersRound:Fs,LucideUtensils:Hs,LucideUtensilsCrossed:Es,LucideUtilityPole:ab,LucideVariable:rb,LucideVault:nb,LucideVegan:ib,LucideVenetianMask:sb,LucideVerified:Tr,LucideVibrate:cb,LucideVibrateOff:ob,LucideVideo:db,LucideVideoOff:lb,LucideVideotape:hb,LucideView:ub,LucideVoicemail:pb,LucideVolleyball:yb,LucideVolume:kb,LucideVolume1:mb,LucideVolume2:fb,LucideVolumeOff:xb,LucideVolumeX:gb,LucideVote:vb,LucideWallet:Mb,LucideWallet2:Os,LucideWalletCards:wb,LucideWalletMinimal:Os,LucideWallpaper:bb,LucideWand:jb,LucideWand2:Vs,LucideWandSparkles:Vs,LucideWarehouse:Cb,LucideWashingMachine:Lb,LucideWatch:Sb,LucideWaves:Ib,LucideWaypoints:Nb,LucideWebcam:Ab,LucideWebhook:Pb,LucideWebhookOff:_b,LucideWeight:qb,LucideWheat:Rb,LucideWheatOff:Tb,LucideWholeWord:Db,LucideWifi:Ob,LucideWifiHigh:zb,LucideWifiLow:Fb,LucideWifiOff:Eb,LucideWifiZero:Hb,LucideWind:Vb,LucideWine:Ub,LucideWineOff:Bb,LucideWorkflow:$b,LucideWorm:Gb,LucideWrapText:Wb,LucideWrench:Zb,LucideX:Rt,LucideXCircle:ia,LucideXOctagon:ci,LucideXSquare:js,LucideYoutube:Xb,LucideZap:Yb,LucideZapOff:Jb,LucideZoomIn:Kb,LucideZoomOut:Qb,Luggage:Hg,LuggageIcon:Hg,MSquare:ns,MSquareIcon:ns,Magnet:Og,MagnetIcon:Og,Mail:ha,MailCheck:Vg,MailCheckIcon:Vg,MailIcon:ha,MailMinus:Bg,MailMinusIcon:Bg,MailOpen:Ug,MailOpenIcon:Ug,MailPlus:$g,MailPlusIcon:$g,MailQuestion:Gg,MailQuestionIcon:Gg,MailSearch:Wg,MailSearchIcon:Wg,MailWarning:Zg,MailWarningIcon:Zg,MailX:Xg,MailXIcon:Xg,Mailbox:Jg,MailboxIcon:Jg,Mails:Yg,MailsIcon:Yg,Map:lk,MapIcon:lk,MapPin:Zt,MapPinCheck:Qg,MapPinCheckIcon:Qg,MapPinCheckInside:Kg,MapPinCheckInsideIcon:Kg,MapPinHouse:ek,MapPinHouseIcon:ek,MapPinIcon:Zt,MapPinMinus:ak,MapPinMinusIcon:ak,MapPinMinusInside:tk,MapPinMinusInsideIcon:tk,MapPinOff:rk,MapPinOffIcon:rk,MapPinPlus:ik,MapPinPlusIcon:ik,MapPinPlusInside:nk,MapPinPlusInsideIcon:nk,MapPinX:ok,MapPinXIcon:ok,MapPinXInside:sk,MapPinXInsideIcon:sk,MapPinned:ck,MapPinnedIcon:ck,Martini:dk,MartiniIcon:dk,Maximize:uk,Maximize2:hk,Maximize2Icon:hk,MaximizeIcon:uk,Medal:pk,MedalIcon:pk,Megaphone:mk,MegaphoneIcon:mk,MegaphoneOff:yk,MegaphoneOffIcon:yk,Meh:fk,MehIcon:fk,MemoryStick:xk,MemoryStickIcon:xk,Menu:Io,MenuIcon:Io,MenuSquare:is,MenuSquareIcon:is,Merge:gk,MergeIcon:gk,MessageCircle:Nk,MessageCircleCode:kk,MessageCircleCodeIcon:kk,MessageCircleDashed:vk,MessageCircleDashedIcon:vk,MessageCircleHeart:wk,MessageCircleHeartIcon:wk,MessageCircleIcon:Nk,MessageCircleMore:Mk,MessageCircleMoreIcon:Mk,MessageCircleOff:bk,MessageCircleOffIcon:bk,MessageCirclePlus:jk,MessageCirclePlusIcon:jk,MessageCircleQuestion:Ck,MessageCircleQuestionIcon:Ck,MessageCircleReply:Lk,MessageCircleReplyIcon:Lk,MessageCircleWarning:Sk,MessageCircleWarningIcon:Sk,MessageCircleX:Ik,MessageCircleXIcon:Ik,MessageSquare:No,MessageSquareCode:Ak,MessageSquareCodeIcon:Ak,MessageSquareDashed:_k,MessageSquareDashedIcon:_k,MessageSquareDiff:Pk,MessageSquareDiffIcon:Pk,MessageSquareDot:qk,MessageSquareDotIcon:qk,MessageSquareHeart:Tk,MessageSquareHeartIcon:Tk,MessageSquareIcon:No,MessageSquareLock:Rk,MessageSquareLockIcon:Rk,MessageSquareMore:Dk,MessageSquareMoreIcon:Dk,MessageSquareOff:zk,MessageSquareOffIcon:zk,MessageSquarePlus:Fk,MessageSquarePlusIcon:Fk,MessageSquareQuote:Ek,MessageSquareQuoteIcon:Ek,MessageSquareReply:Hk,MessageSquareReplyIcon:Hk,MessageSquareShare:Ok,MessageSquareShareIcon:Ok,MessageSquareText:Vk,MessageSquareTextIcon:Vk,MessageSquareWarning:Bk,MessageSquareWarningIcon:Bk,MessageSquareX:Uk,MessageSquareXIcon:Uk,MessagesSquare:$k,MessagesSquareIcon:$k,Mic:Wk,Mic2:ni,Mic2Icon:ni,MicIcon:Wk,MicOff:Gk,MicOffIcon:Gk,MicVocal:ni,MicVocalIcon:ni,Microchip:Zk,MicrochipIcon:Zk,Microscope:Xk,MicroscopeIcon:Xk,Microwave:Jk,MicrowaveIcon:Jk,Milestone:Yk,MilestoneIcon:Yk,Milk:Qk,MilkIcon:Qk,MilkOff:Kk,MilkOffIcon:Kk,Minimize:t5,Minimize2:e5,Minimize2Icon:e5,MinimizeIcon:t5,Minus:Ic,MinusCircle:yn,MinusCircleIcon:yn,MinusIcon:Ic,MinusSquare:ss,MinusSquareIcon:ss,Monitor:y5,MonitorCheck:a5,MonitorCheckIcon:a5,MonitorCog:r5,MonitorCogIcon:r5,MonitorDot:n5,MonitorDotIcon:n5,MonitorDown:i5,MonitorDownIcon:i5,MonitorIcon:y5,MonitorOff:s5,MonitorOffIcon:s5,MonitorPause:o5,MonitorPauseIcon:o5,MonitorPlay:c5,MonitorPlayIcon:c5,MonitorSmartphone:l5,MonitorSmartphoneIcon:l5,MonitorSpeaker:d5,MonitorSpeakerIcon:d5,MonitorStop:h5,MonitorStopIcon:h5,MonitorUp:u5,MonitorUpIcon:u5,MonitorX:p5,MonitorXIcon:p5,Moon:f5,MoonIcon:f5,MoonStar:m5,MoonStarIcon:m5,MoreHorizontal:Dn,MoreHorizontalIcon:Dn,MoreVertical:Rn,MoreVerticalIcon:Rn,Mountain:g5,MountainIcon:g5,MountainSnow:x5,MountainSnowIcon:x5,Mouse:j5,MouseIcon:j5,MouseOff:k5,MouseOffIcon:k5,MousePointer:b5,MousePointer2:v5,MousePointer2Icon:v5,MousePointerBan:w5,MousePointerBanIcon:w5,MousePointerClick:M5,MousePointerClickIcon:M5,MousePointerIcon:b5,MousePointerSquareDashed:Ji,MousePointerSquareDashedIcon:Ji,Move:z5,Move3D:ii,Move3DIcon:ii,Move3d:ii,Move3dIcon:ii,MoveDiagonal:L5,MoveDiagonal2:C5,MoveDiagonal2Icon:C5,MoveDiagonalIcon:L5,MoveDown:N5,MoveDownIcon:N5,MoveDownLeft:S5,MoveDownLeftIcon:S5,MoveDownRight:I5,MoveDownRightIcon:I5,MoveHorizontal:A5,MoveHorizontalIcon:A5,MoveIcon:z5,MoveLeft:_5,MoveLeftIcon:_5,MoveRight:P5,MoveRightIcon:P5,MoveUp:R5,MoveUpIcon:R5,MoveUpLeft:q5,MoveUpLeftIcon:q5,MoveUpRight:T5,MoveUpRightIcon:T5,MoveVertical:D5,MoveVerticalIcon:D5,Music:O5,Music2:F5,Music2Icon:F5,Music3:E5,Music3Icon:E5,Music4:H5,Music4Icon:H5,MusicIcon:O5,Navigation:$5,Navigation2:B5,Navigation2Icon:B5,Navigation2Off:V5,Navigation2OffIcon:V5,NavigationIcon:$5,NavigationOff:U5,NavigationOffIcon:U5,Network:G5,NetworkIcon:G5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:W5,NfcIcon:W5,Notebook:Y5,NotebookIcon:Y5,NotebookPen:Z5,NotebookPenIcon:Z5,NotebookTabs:X5,NotebookTabsIcon:X5,NotebookText:J5,NotebookTextIcon:J5,NotepadText:Q5,NotepadTextDashed:K5,NotepadTextDashedIcon:K5,NotepadTextIcon:Q5,Nut:t3,NutIcon:t3,NutOff:e3,NutOffIcon:e3,Octagon:r3,OctagonAlert:si,OctagonAlertIcon:si,OctagonIcon:r3,OctagonMinus:a3,OctagonMinusIcon:a3,OctagonPause:oi,OctagonPauseIcon:oi,OctagonX:ci,OctagonXIcon:ci,Omega:n3,OmegaIcon:n3,Option:i3,OptionIcon:i3,Orbit:s3,OrbitIcon:s3,Origami:o3,OrigamiIcon:o3,Outdent:Kn,OutdentIcon:Kn,Package:m3,Package2:c3,Package2Icon:c3,PackageCheck:l3,PackageCheckIcon:l3,PackageIcon:m3,PackageMinus:d3,PackageMinusIcon:d3,PackageOpen:h3,PackageOpenIcon:h3,PackagePlus:u3,PackagePlusIcon:u3,PackageSearch:p3,PackageSearchIcon:p3,PackageX:y3,PackageXIcon:y3,PaintBucket:f3,PaintBucketIcon:f3,PaintRoller:x3,PaintRollerIcon:x3,Paintbrush:g3,Paintbrush2:li,Paintbrush2Icon:li,PaintbrushIcon:g3,PaintbrushVertical:li,PaintbrushVerticalIcon:li,Palette:k3,PaletteIcon:k3,Palmtree:Is,PalmtreeIcon:Is,PanelBottom:M3,PanelBottomClose:v3,PanelBottomCloseIcon:v3,PanelBottomDashed:di,PanelBottomDashedIcon:di,PanelBottomIcon:M3,PanelBottomInactive:di,PanelBottomInactiveIcon:di,PanelBottomOpen:w3,PanelBottomOpenIcon:w3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftCloseIcon:hi,PanelLeftDashed:ui,PanelLeftDashedIcon:ui,PanelLeftIcon:yi,PanelLeftInactive:ui,PanelLeftInactiveIcon:ui,PanelLeftOpen:pi,PanelLeftOpenIcon:pi,PanelRight:C3,PanelRightClose:b3,PanelRightCloseIcon:b3,PanelRightDashed:mi,PanelRightDashedIcon:mi,PanelRightIcon:C3,PanelRightInactive:mi,PanelRightInactiveIcon:mi,PanelRightOpen:j3,PanelRightOpenIcon:j3,PanelTop:I3,PanelTopClose:L3,PanelTopCloseIcon:L3,PanelTopDashed:fi,PanelTopDashedIcon:fi,PanelTopIcon:I3,PanelTopInactive:fi,PanelTopInactiveIcon:fi,PanelTopOpen:S3,PanelTopOpenIcon:S3,PanelsLeftBottom:N3,PanelsLeftBottomIcon:N3,PanelsLeftRight:_n,PanelsLeftRightIcon:_n,PanelsRightBottom:A3,PanelsRightBottomIcon:A3,PanelsTopBottom:ji,PanelsTopBottomIcon:ji,PanelsTopLeft:xi,PanelsTopLeftIcon:xi,Paperclip:_3,PaperclipIcon:_3,Parentheses:P3,ParenthesesIcon:P3,ParkingCircle:fn,ParkingCircleIcon:fn,ParkingCircleOff:mn,ParkingCircleOffIcon:mn,ParkingMeter:q3,ParkingMeterIcon:q3,ParkingSquare:ls,ParkingSquareIcon:ls,ParkingSquareOff:cs,ParkingSquareOffIcon:cs,PartyPopper:T3,PartyPopperIcon:T3,Pause:R3,PauseCircle:xn,PauseCircleIcon:xn,PauseIcon:R3,PauseOctagon:oi,PauseOctagonIcon:oi,PawPrint:D3,PawPrintIcon:D3,PcCase:z3,PcCaseIcon:z3,Pen:ki,PenBox:St,PenBoxIcon:St,PenIcon:ki,PenLine:gi,PenLineIcon:gi,PenOff:F3,PenOffIcon:F3,PenSquare:St,PenSquareIcon:St,PenTool:E3,PenToolIcon:E3,Pencil:B3,PencilIcon:B3,PencilLine:H3,PencilLineIcon:H3,PencilOff:O3,PencilOffIcon:O3,PencilRuler:V3,PencilRulerIcon:V3,Pentagon:U3,PentagonIcon:U3,Percent:$3,PercentCircle:gn,PercentCircleIcon:gn,PercentDiamond:qn,PercentDiamondIcon:qn,PercentIcon:$3,PercentSquare:ds,PercentSquareIcon:ds,PersonStanding:G3,PersonStandingIcon:G3,PhilippinePeso:W3,PhilippinePesoIcon:W3,Phone:Js,PhoneCall:Z3,PhoneCallIcon:Z3,PhoneForwarded:X3,PhoneForwardedIcon:X3,PhoneIcon:Js,PhoneIncoming:J3,PhoneIncomingIcon:J3,PhoneMissed:Y3,PhoneMissedIcon:Y3,PhoneOff:K3,PhoneOffIcon:K3,PhoneOutgoing:Q3,PhoneOutgoingIcon:Q3,Pi:ev,PiIcon:ev,PiSquare:hs,PiSquareIcon:hs,Piano:tv,PianoIcon:tv,Pickaxe:av,PickaxeIcon:av,PictureInPicture:nv,PictureInPicture2:rv,PictureInPicture2Icon:rv,PictureInPictureIcon:nv,PieChart:Jr,PieChartIcon:Jr,PiggyBank:iv,PiggyBankIcon:iv,Pilcrow:cv,PilcrowIcon:cv,PilcrowLeft:sv,PilcrowLeftIcon:sv,PilcrowRight:ov,PilcrowRightIcon:ov,PilcrowSquare:us,PilcrowSquareIcon:us,Pill:dv,PillBottle:lv,PillBottleIcon:lv,PillIcon:dv,Pin:uv,PinIcon:uv,PinOff:hv,PinOffIcon:hv,Pipette:pv,PipetteIcon:pv,Pizza:yv,PizzaIcon:yv,Plane:xv,PlaneIcon:xv,PlaneLanding:mv,PlaneLandingIcon:mv,PlaneTakeoff:fv,PlaneTakeoffIcon:fv,Play:Nc,PlayCircle:kn,PlayCircleIcon:kn,PlayIcon:Nc,PlaySquare:ps,PlaySquareIcon:ps,Plug:kv,Plug2:gv,Plug2Icon:gv,PlugIcon:kv,PlugZap:vi,PlugZap2:vi,PlugZap2Icon:vi,PlugZapIcon:vi,Plus:Ao,PlusCircle:vn,PlusCircleIcon:vn,PlusIcon:Ao,PlusSquare:ys,PlusSquareIcon:ys,Pocket:wv,PocketIcon:wv,PocketKnife:vv,PocketKnifeIcon:vv,Podcast:Mv,PodcastIcon:Mv,Pointer:jv,PointerIcon:jv,PointerOff:bv,PointerOffIcon:bv,Popcorn:Cv,PopcornIcon:Cv,Popsicle:Lv,PopsicleIcon:Lv,PoundSterling:Sv,PoundSterlingIcon:Sv,Power:Nv,PowerCircle:wn,PowerCircleIcon:wn,PowerIcon:Nv,PowerOff:Iv,PowerOffIcon:Iv,PowerSquare:ms,PowerSquareIcon:ms,Presentation:Av,PresentationIcon:Av,Printer:Pv,PrinterCheck:_v,PrinterCheckIcon:_v,PrinterIcon:Pv,Projector:qv,ProjectorIcon:qv,Proportions:Tv,ProportionsIcon:Tv,Puzzle:Rv,PuzzleIcon:Rv,Pyramid:Dv,PyramidIcon:Dv,QrCode:zv,QrCodeIcon:zv,Quote:_o,QuoteIcon:_o,Rabbit:Fv,RabbitIcon:Fv,Radar:Ev,RadarIcon:Ev,Radiation:Hv,RadiationIcon:Hv,Radical:Ov,RadicalIcon:Ov,Radio:Uv,RadioIcon:Uv,RadioReceiver:Vv,RadioReceiverIcon:Vv,RadioTower:Bv,RadioTowerIcon:Bv,Radius:$v,RadiusIcon:$v,RailSymbol:Gv,RailSymbolIcon:Gv,Rainbow:Wv,RainbowIcon:Wv,Rat:Zv,RatIcon:Zv,Ratio:Xv,RatioIcon:Xv,Receipt:n6,ReceiptCent:Jv,ReceiptCentIcon:Jv,ReceiptEuro:Yv,ReceiptEuroIcon:Yv,ReceiptIcon:n6,ReceiptIndianRupee:Kv,ReceiptIndianRupeeIcon:Kv,ReceiptJapaneseYen:Qv,ReceiptJapaneseYenIcon:Qv,ReceiptPoundSterling:e6,ReceiptPoundSterlingIcon:e6,ReceiptRussianRuble:t6,ReceiptRussianRubleIcon:t6,ReceiptSwissFranc:a6,ReceiptSwissFrancIcon:a6,ReceiptText:r6,ReceiptTextIcon:r6,RectangleEllipsis:wi,RectangleEllipsisIcon:wi,RectangleHorizontal:i6,RectangleHorizontalIcon:i6,RectangleVertical:s6,RectangleVerticalIcon:s6,Recycle:o6,RecycleIcon:o6,Redo:d6,Redo2:c6,Redo2Icon:c6,RedoDot:l6,RedoDotIcon:l6,RedoIcon:d6,RefreshCcw:u6,RefreshCcwDot:h6,RefreshCcwDotIcon:h6,RefreshCcwIcon:u6,RefreshCw:y6,RefreshCwIcon:y6,RefreshCwOff:p6,RefreshCwOffIcon:p6,Refrigerator:m6,RefrigeratorIcon:m6,Regex:f6,RegexIcon:f6,RemoveFormatting:x6,RemoveFormattingIcon:x6,Repeat:v6,Repeat1:g6,Repeat1Icon:g6,Repeat2:k6,Repeat2Icon:k6,RepeatIcon:v6,Replace:M6,ReplaceAll:w6,ReplaceAllIcon:w6,ReplaceIcon:M6,Reply:j6,ReplyAll:b6,ReplyAllIcon:b6,ReplyIcon:j6,Rewind:C6,RewindIcon:C6,Ribbon:L6,RibbonIcon:L6,Rocket:S6,RocketIcon:S6,RockingChair:I6,RockingChairIcon:I6,RollerCoaster:N6,RollerCoasterIcon:N6,Rotate3D:Mi,Rotate3DIcon:Mi,Rotate3d:Mi,Rotate3dIcon:Mi,RotateCcw:_6,RotateCcwIcon:_6,RotateCcwSquare:A6,RotateCcwSquareIcon:A6,RotateCw:q6,RotateCwIcon:q6,RotateCwSquare:P6,RotateCwSquareIcon:P6,Route:R6,RouteIcon:R6,RouteOff:T6,RouteOffIcon:T6,Router:D6,RouterIcon:D6,Rows:bi,Rows2:bi,Rows2Icon:bi,Rows3:ji,Rows3Icon:ji,Rows4:z6,Rows4Icon:z6,RowsIcon:bi,Rss:F6,RssIcon:F6,Ruler:E6,RulerIcon:E6,RussianRuble:H6,RussianRubleIcon:H6,Sailboat:O6,SailboatIcon:O6,Salad:V6,SaladIcon:V6,Sandwich:B6,SandwichIcon:B6,Satellite:$6,SatelliteDish:U6,SatelliteDishIcon:U6,SatelliteIcon:$6,Save:Z6,SaveAll:G6,SaveAllIcon:G6,SaveIcon:Z6,SaveOff:W6,SaveOffIcon:W6,Scale:X6,Scale3D:Ci,Scale3DIcon:Ci,Scale3d:Ci,Scale3dIcon:Ci,ScaleIcon:X6,Scaling:J6,ScalingIcon:J6,Scan:n8,ScanBarcode:Y6,ScanBarcodeIcon:Y6,ScanEye:K6,ScanEyeIcon:K6,ScanFace:Q6,ScanFaceIcon:Q6,ScanIcon:n8,ScanLine:e8,ScanLineIcon:e8,ScanQrCode:t8,ScanQrCodeIcon:t8,ScanSearch:a8,ScanSearchIcon:a8,ScanText:r8,ScanTextIcon:r8,ScatterChart:Yr,ScatterChartIcon:Yr,School:i8,School2:_s,School2Icon:_s,SchoolIcon:i8,Scissors:o8,ScissorsIcon:o8,ScissorsLineDashed:s8,ScissorsLineDashedIcon:s8,ScissorsSquare:fs,ScissorsSquareDashedBottom:Oi,ScissorsSquareDashedBottomIcon:Oi,ScissorsSquareIcon:fs,ScreenShare:l8,ScreenShareIcon:l8,ScreenShareOff:c8,ScreenShareOffIcon:c8,Scroll:h8,ScrollIcon:h8,ScrollText:d8,ScrollTextIcon:d8,Search:Xt,SearchCheck:u8,SearchCheckIcon:u8,SearchCode:p8,SearchCodeIcon:p8,SearchIcon:Xt,SearchSlash:y8,SearchSlashIcon:y8,SearchX:m8,SearchXIcon:m8,Section:f8,SectionIcon:f8,Send:Ac,SendHorizonal:Li,SendHorizonalIcon:Li,SendHorizontal:Li,SendHorizontalIcon:Li,SendIcon:Ac,SendToBack:x8,SendToBackIcon:x8,SeparatorHorizontal:g8,SeparatorHorizontalIcon:g8,SeparatorVertical:k8,SeparatorVerticalIcon:k8,Server:b8,ServerCog:v8,ServerCogIcon:v8,ServerCrash:w8,ServerCrashIcon:w8,ServerIcon:b8,ServerOff:M8,ServerOffIcon:M8,Settings:Po,Settings2:j8,Settings2Icon:j8,SettingsIcon:Po,Shapes:C8,ShapesIcon:C8,Share:L8,Share2:qo,Share2Icon:qo,ShareIcon:L8,Sheet:S8,SheetIcon:S8,Shell:I8,ShellIcon:I8,Shield:Pc,ShieldAlert:N8,ShieldAlertIcon:N8,ShieldBan:A8,ShieldBanIcon:A8,ShieldCheck:_c,ShieldCheckIcon:_c,ShieldClose:Si,ShieldCloseIcon:Si,ShieldEllipsis:_8,ShieldEllipsisIcon:_8,ShieldHalf:P8,ShieldHalfIcon:P8,ShieldIcon:Pc,ShieldMinus:q8,ShieldMinusIcon:q8,ShieldOff:T8,ShieldOffIcon:T8,ShieldPlus:R8,ShieldPlusIcon:R8,ShieldQuestion:D8,ShieldQuestionIcon:D8,ShieldX:Si,ShieldXIcon:Si,Ship:F8,ShipIcon:F8,ShipWheel:z8,ShipWheelIcon:z8,Shirt:E8,ShirtIcon:E8,ShoppingBag:H8,ShoppingBagIcon:H8,ShoppingBasket:O8,ShoppingBasketIcon:O8,ShoppingCart:To,ShoppingCartIcon:To,Shovel:V8,ShovelIcon:V8,ShowerHead:B8,ShowerHeadIcon:B8,Shrink:U8,ShrinkIcon:U8,Shrub:$8,ShrubIcon:$8,Shuffle:G8,ShuffleIcon:G8,Sidebar:yi,SidebarClose:hi,SidebarCloseIcon:hi,SidebarIcon:yi,SidebarOpen:pi,SidebarOpenIcon:pi,Sigma:W8,SigmaIcon:W8,SigmaSquare:xs,SigmaSquareIcon:xs,Signal:qc,SignalHigh:Z8,SignalHighIcon:Z8,SignalIcon:qc,SignalLow:X8,SignalLowIcon:X8,SignalMedium:J8,SignalMediumIcon:J8,SignalZero:Y8,SignalZeroIcon:Y8,Signature:K8,SignatureIcon:K8,Signpost:e7,SignpostBig:Q8,SignpostBigIcon:Q8,SignpostIcon:e7,Siren:t7,SirenIcon:t7,SkipBack:a7,SkipBackIcon:a7,SkipForward:r7,SkipForwardIcon:r7,Skull:n7,SkullIcon:n7,Slack:i7,SlackIcon:i7,Slash:s7,SlashIcon:s7,SlashSquare:gs,SlashSquareIcon:gs,Slice:o7,SliceIcon:o7,Sliders:Ii,SlidersHorizontal:tr,SlidersHorizontalIcon:tr,SlidersIcon:Ii,SlidersVertical:Ii,SlidersVerticalIcon:Ii,Smartphone:d7,SmartphoneCharging:c7,SmartphoneChargingIcon:c7,SmartphoneIcon:d7,SmartphoneNfc:l7,SmartphoneNfcIcon:l7,Smile:u7,SmileIcon:u7,SmilePlus:h7,SmilePlusIcon:h7,Snail:p7,SnailIcon:p7,Snowflake:y7,SnowflakeIcon:y7,Sofa:m7,SofaIcon:m7,SortAsc:_r,SortAscIcon:_r,SortDesc:Ir,SortDescIcon:Ir,Soup:f7,SoupIcon:f7,Space:x7,SpaceIcon:x7,Spade:g7,SpadeIcon:g7,Sparkle:k7,SparkleIcon:k7,Sparkles:Xa,SparklesIcon:Xa,Speaker:v7,SpeakerIcon:v7,Speech:w7,SpeechIcon:w7,SpellCheck:b7,SpellCheck2:M7,SpellCheck2Icon:M7,SpellCheckIcon:b7,Spline:j7,SplineIcon:j7,Split:C7,SplitIcon:C7,SplitSquareHorizontal:ks,SplitSquareHorizontalIcon:ks,SplitSquareVertical:vs,SplitSquareVerticalIcon:vs,SprayCan:L7,SprayCanIcon:L7,Sprout:S7,SproutIcon:S7,Square:q7,SquareActivity:Ni,SquareActivityIcon:Ni,SquareArrowDown:Pi,SquareArrowDownIcon:Pi,SquareArrowDownLeft:Ai,SquareArrowDownLeftIcon:Ai,SquareArrowDownRight:_i,SquareArrowDownRightIcon:_i,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownLeftIcon:qi,SquareArrowOutDownRight:Ti,SquareArrowOutDownRightIcon:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpLeftIcon:Ri,SquareArrowOutUpRight:Di,SquareArrowOutUpRightIcon:Di,SquareArrowRight:ja,SquareArrowRightIcon:ja,SquareArrowUp:Ei,SquareArrowUpIcon:Ei,SquareArrowUpLeft:zi,SquareArrowUpLeftIcon:zi,SquareArrowUpRight:Fi,SquareArrowUpRightIcon:Fi,SquareAsterisk:Hi,SquareAsteriskIcon:Hi,SquareBottomDashedScissors:Oi,SquareBottomDashedScissorsIcon:Oi,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareCheckBigIcon:Vi,SquareCheckIcon:Bi,SquareChevronDown:Ui,SquareChevronDownIcon:Ui,SquareChevronLeft:$i,SquareChevronLeftIcon:$i,SquareChevronRight:Gi,SquareChevronRightIcon:Gi,SquareChevronUp:Wi,SquareChevronUpIcon:Wi,SquareCode:Zi,SquareCodeIcon:Zi,SquareDashed:Yi,SquareDashedBottom:N7,SquareDashedBottomCode:I7,SquareDashedBottomCodeIcon:I7,SquareDashedBottomIcon:N7,SquareDashedIcon:Yi,SquareDashedKanban:Xi,SquareDashedKanbanIcon:Xi,SquareDashedMousePointer:Ji,SquareDashedMousePointerIcon:Ji,SquareDivide:Ki,SquareDivideIcon:Ki,SquareDot:Qi,SquareDotIcon:Qi,SquareEqual:es,SquareEqualIcon:es,SquareFunction:ts,SquareFunctionIcon:ts,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:q7,SquareKanban:as,SquareKanbanIcon:as,SquareLibrary:rs,SquareLibraryIcon:rs,SquareM:ns,SquareMIcon:ns,SquareMenu:is,SquareMenuIcon:is,SquareMinus:ss,SquareMinusIcon:ss,SquareMousePointer:os,SquareMousePointerIcon:os,SquareParking:ls,SquareParkingIcon:ls,SquareParkingOff:cs,SquareParkingOffIcon:cs,SquarePen:St,SquarePenIcon:St,SquarePercent:ds,SquarePercentIcon:ds,SquarePi:hs,SquarePiIcon:hs,SquarePilcrow:us,SquarePilcrowIcon:us,SquarePlay:ps,SquarePlayIcon:ps,SquarePlus:ys,SquarePlusIcon:ys,SquarePower:ms,SquarePowerIcon:ms,SquareRadical:A7,SquareRadicalIcon:A7,SquareScissors:fs,SquareScissorsIcon:fs,SquareSigma:xs,SquareSigmaIcon:xs,SquareSlash:gs,SquareSlashIcon:gs,SquareSplitHorizontal:ks,SquareSplitHorizontalIcon:ks,SquareSplitVertical:vs,SquareSplitVerticalIcon:vs,SquareSquare:_7,SquareSquareIcon:_7,SquareStack:P7,SquareStackIcon:P7,SquareTerminal:ws,SquareTerminalIcon:ws,SquareUser:bs,SquareUserIcon:bs,SquareUserRound:Ms,SquareUserRoundIcon:Ms,SquareX:js,SquareXIcon:js,Squircle:T7,SquircleIcon:T7,Squirrel:R7,SquirrelIcon:R7,Stamp:D7,StampIcon:D7,Star:Ut,StarHalf:z7,StarHalfIcon:z7,StarIcon:Ut,StarOff:F7,StarOffIcon:F7,Stars:Xa,StarsIcon:Xa,StepBack:E7,StepBackIcon:E7,StepForward:H7,StepForwardIcon:H7,Stethoscope:O7,StethoscopeIcon:O7,Sticker:V7,StickerIcon:V7,StickyNote:B7,StickyNoteIcon:B7,StopCircle:bn,StopCircleIcon:bn,Store:U7,StoreIcon:U7,StretchHorizontal:$7,StretchHorizontalIcon:$7,StretchVertical:G7,StretchVerticalIcon:G7,Strikethrough:W7,StrikethroughIcon:W7,Subscript:Z7,SubscriptIcon:Z7,Subtitles:Er,SubtitlesIcon:Er,Sun:Q7,SunDim:X7,SunDimIcon:X7,SunIcon:Q7,SunMedium:J7,SunMediumIcon:J7,SunMoon:Y7,SunMoonIcon:Y7,SunSnow:K7,SunSnowIcon:K7,Sunrise:ew,SunriseIcon:ew,Sunset:tw,SunsetIcon:tw,Superscript:aw,SuperscriptIcon:aw,SwatchBook:rw,SwatchBookIcon:rw,SwissFranc:nw,SwissFrancIcon:nw,SwitchCamera:iw,SwitchCameraIcon:iw,Sword:sw,SwordIcon:sw,Swords:ow,SwordsIcon:ow,Syringe:cw,SyringeIcon:cw,Table:fw,Table2:lw,Table2Icon:lw,TableCellsMerge:dw,TableCellsMergeIcon:dw,TableCellsSplit:hw,TableCellsSplitIcon:hw,TableColumnsSplit:uw,TableColumnsSplitIcon:uw,TableIcon:fw,TableOfContents:pw,TableOfContentsIcon:pw,TableProperties:yw,TablePropertiesIcon:yw,TableRowsSplit:mw,TableRowsSplitIcon:mw,Tablet:gw,TabletIcon:gw,TabletSmartphone:xw,TabletSmartphoneIcon:xw,Tablets:kw,TabletsIcon:kw,Tag:Tc,TagIcon:Tc,Tags:vw,TagsIcon:vw,Tally1:ww,Tally1Icon:ww,Tally2:Mw,Tally2Icon:Mw,Tally3:bw,Tally3Icon:bw,Tally4:jw,Tally4Icon:jw,Tally5:Cw,Tally5Icon:Cw,Tangent:Lw,TangentIcon:Lw,Target:Sw,TargetIcon:Sw,Telescope:Iw,TelescopeIcon:Iw,Tent:Aw,TentIcon:Aw,TentTree:Nw,TentTreeIcon:Nw,Terminal:_w,TerminalIcon:_w,TerminalSquare:ws,TerminalSquareIcon:ws,TestTube:Pw,TestTube2:Cs,TestTube2Icon:Cs,TestTubeDiagonal:Cs,TestTubeDiagonalIcon:Cs,TestTubeIcon:Pw,TestTubes:qw,TestTubesIcon:qw,Text:Fw,TextCursor:Rw,TextCursorIcon:Rw,TextCursorInput:Tw,TextCursorInputIcon:Tw,TextIcon:Fw,TextQuote:Dw,TextQuoteIcon:Dw,TextSearch:zw,TextSearchIcon:zw,TextSelect:Ls,TextSelectIcon:Ls,TextSelection:Ls,TextSelectionIcon:Ls,Theater:Ew,TheaterIcon:Ew,Thermometer:Vw,ThermometerIcon:Vw,ThermometerSnowflake:Hw,ThermometerSnowflakeIcon:Hw,ThermometerSun:Ow,ThermometerSunIcon:Ow,ThumbsDown:Bw,ThumbsDownIcon:Bw,ThumbsUp:Uw,ThumbsUpIcon:Uw,Ticket:Yw,TicketCheck:$w,TicketCheckIcon:$w,TicketIcon:Yw,TicketMinus:Gw,TicketMinusIcon:Gw,TicketPercent:Ww,TicketPercentIcon:Ww,TicketPlus:Zw,TicketPlusIcon:Zw,TicketSlash:Xw,TicketSlashIcon:Xw,TicketX:Jw,TicketXIcon:Jw,Tickets:Qw,TicketsIcon:Qw,TicketsPlane:Kw,TicketsPlaneIcon:Kw,Timer:aM,TimerIcon:aM,TimerOff:eM,TimerOffIcon:eM,TimerReset:tM,TimerResetIcon:tM,ToggleLeft:rM,ToggleLeftIcon:rM,ToggleRight:nM,ToggleRightIcon:nM,Tornado:iM,TornadoIcon:iM,Torus:sM,TorusIcon:sM,Touchpad:cM,TouchpadIcon:cM,TouchpadOff:oM,TouchpadOffIcon:oM,TowerControl:lM,TowerControlIcon:lM,ToyBrick:dM,ToyBrickIcon:dM,Tractor:hM,TractorIcon:hM,TrafficCone:uM,TrafficConeIcon:uM,Train:Ss,TrainFront:yM,TrainFrontIcon:yM,TrainFrontTunnel:pM,TrainFrontTunnelIcon:pM,TrainIcon:Ss,TrainTrack:mM,TrainTrackIcon:mM,TramFront:Ss,TramFrontIcon:Ss,Trash:fM,Trash2:Ro,Trash2Icon:Ro,TrashIcon:fM,TreeDeciduous:xM,TreeDeciduousIcon:xM,TreePalm:Is,TreePalmIcon:Is,TreePine:gM,TreePineIcon:gM,Trees:kM,TreesIcon:kM,Trello:vM,TrelloIcon:vM,TrendingDown:wM,TrendingDownIcon:wM,TrendingUp:Ys,TrendingUpDown:MM,TrendingUpDownIcon:MM,TrendingUpIcon:Ys,Triangle:jM,TriangleAlert:Ns,TriangleAlertIcon:Ns,TriangleIcon:jM,TriangleRight:bM,TriangleRightIcon:bM,Trophy:CM,TrophyIcon:CM,Truck:LM,TruckIcon:LM,Turtle:SM,TurtleIcon:SM,Tv:NM,Tv2:As,Tv2Icon:As,TvIcon:NM,TvMinimal:As,TvMinimalIcon:As,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:AM,TwitchIcon:AM,Twitter:_M,TwitterIcon:_M,Type:qM,TypeIcon:qM,TypeOutline:PM,TypeOutlineIcon:PM,Umbrella:RM,UmbrellaIcon:RM,UmbrellaOff:TM,UmbrellaOffIcon:TM,Underline:DM,UnderlineIcon:DM,Undo:EM,Undo2:zM,Undo2Icon:zM,UndoDot:FM,UndoDotIcon:FM,UndoIcon:EM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:OM,UnfoldVerticalIcon:OM,Ungroup:VM,UngroupIcon:VM,University:_s,UniversityIcon:_s,Unlink:UM,Unlink2:BM,Unlink2Icon:BM,UnlinkIcon:UM,Unlock:ri,UnlockIcon:ri,UnlockKeyhole:ai,UnlockKeyholeIcon:ai,Unplug:$M,UnplugIcon:$M,Upload:Rc,UploadCloud:Za,UploadCloudIcon:Za,UploadIcon:Rc,Usb:GM,UsbIcon:GM,User:Dc,User2:zs,User2Icon:zs,UserCheck:WM,UserCheck2:Ps,UserCheck2Icon:Ps,UserCheckIcon:WM,UserCircle:Cn,UserCircle2:jn,UserCircle2Icon:jn,UserCircleIcon:Cn,UserCog:ZM,UserCog2:qs,UserCog2Icon:qs,UserCogIcon:ZM,UserIcon:Dc,UserMinus:XM,UserMinus2:Ts,UserMinus2Icon:Ts,UserMinusIcon:XM,UserPen:JM,UserPenIcon:JM,UserPlus:YM,UserPlus2:Rs,UserPlus2Icon:Rs,UserPlusIcon:YM,UserRound:zs,UserRoundCheck:Ps,UserRoundCheckIcon:Ps,UserRoundCog:qs,UserRoundCogIcon:qs,UserRoundIcon:zs,UserRoundMinus:Ts,UserRoundMinusIcon:Ts,UserRoundPen:KM,UserRoundPenIcon:KM,UserRoundPlus:Rs,UserRoundPlusIcon:Rs,UserRoundSearch:QM,UserRoundSearchIcon:QM,UserRoundX:Ds,UserRoundXIcon:Ds,UserSearch:eb,UserSearchIcon:eb,UserSquare:bs,UserSquare2:Ms,UserSquare2Icon:Ms,UserSquareIcon:bs,UserX:tb,UserX2:Ds,UserX2Icon:Ds,UserXIcon:tb,Users:Ia,Users2:Fs,Users2Icon:Fs,UsersIcon:Ia,UsersRound:Fs,UsersRoundIcon:Fs,Utensils:Hs,UtensilsCrossed:Es,UtensilsCrossedIcon:Es,UtensilsIcon:Hs,UtilityPole:ab,UtilityPoleIcon:ab,Variable:rb,VariableIcon:rb,Vault:nb,VaultIcon:nb,Vegan:ib,VeganIcon:ib,VenetianMask:sb,VenetianMaskIcon:sb,Verified:Tr,VerifiedIcon:Tr,Vibrate:cb,VibrateIcon:cb,VibrateOff:ob,VibrateOffIcon:ob,Video:db,VideoIcon:db,VideoOff:lb,VideoOffIcon:lb,Videotape:hb,VideotapeIcon:hb,View:ub,ViewIcon:ub,Voicemail:pb,VoicemailIcon:pb,Volleyball:yb,VolleyballIcon:yb,Volume:kb,Volume1:mb,Volume1Icon:mb,Volume2:fb,Volume2Icon:fb,VolumeIcon:kb,VolumeOff:xb,VolumeOffIcon:xb,VolumeX:gb,VolumeXIcon:gb,Vote:vb,VoteIcon:vb,Wallet:Mb,Wallet2:Os,Wallet2Icon:Os,WalletCards:wb,WalletCardsIcon:wb,WalletIcon:Mb,WalletMinimal:Os,WalletMinimalIcon:Os,Wallpaper:bb,WallpaperIcon:bb,Wand:jb,Wand2:Vs,Wand2Icon:Vs,WandIcon:jb,WandSparkles:Vs,WandSparklesIcon:Vs,Warehouse:Cb,WarehouseIcon:Cb,WashingMachine:Lb,WashingMachineIcon:Lb,Watch:Sb,WatchIcon:Sb,Waves:Ib,WavesIcon:Ib,Waypoints:Nb,WaypointsIcon:Nb,Webcam:Ab,WebcamIcon:Ab,Webhook:Pb,WebhookIcon:Pb,WebhookOff:_b,WebhookOffIcon:_b,Weight:qb,WeightIcon:qb,Wheat:Rb,WheatIcon:Rb,WheatOff:Tb,WheatOffIcon:Tb,WholeWord:Db,WholeWordIcon:Db,Wifi:Ob,WifiHigh:zb,WifiHighIcon:zb,WifiIcon:Ob,WifiLow:Fb,WifiLowIcon:Fb,WifiOff:Eb,WifiOffIcon:Eb,WifiZero:Hb,WifiZeroIcon:Hb,Wind:Vb,WindIcon:Vb,Wine:Ub,WineIcon:Ub,WineOff:Bb,WineOffIcon:Bb,Workflow:$b,WorkflowIcon:$b,Worm:Gb,WormIcon:Gb,WrapText:Wb,WrapTextIcon:Wb,Wrench:Zb,WrenchIcon:Zb,X:Rt,XCircle:ia,XCircleIcon:ia,XIcon:Rt,XOctagon:ci,XOctagonIcon:ci,XSquare:js,XSquareIcon:js,Youtube:Xb,YoutubeIcon:Xb,Zap:Yb,ZapIcon:Yb,ZapOff:Jb,ZapOffIcon:Jb,ZoomIn:Kb,ZoomInIcon:Kb,ZoomOut:Qb,ZoomOutIcon:Qb,createLucideIcon:s,icons:vq},Symbol.toStringTag,{value:"Module"})),Mq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:o=10,placeholder:c="Add tags..."})=>{const[l,d]=j.useState(!1),[h,u]=j.useState(""),[p,f]=j.useState("#3B82F6"),[m,g]=j.useState(""),[y,x]=j.useState(-1),k=j.useMemo(()=>a.filter(C=>C.name.toLowerCase().includes(m.toLowerCase())),[a,m]),w=j.useMemo(()=>a.filter(C=>e.includes(C.id)),[a,e]),M=j.useMemo(()=>k.filter(C=>!e.includes(C.id)),[k,e]),L=m.trim().length>0&&!a.some(C=>C.name.toLowerCase()===m.trim().toLowerCase()),b=M.length+(L?1:0),I=async()=>{const C=h.trim();if(C)try{await i({name:C,color:p}),u(""),d(!1)}catch(N){console.error("Failed to create tag:",N)}},S=C=>{if(b)switch(C.key){case"ArrowDown":{C.preventDefault(),x(N=>(N+1)%b);break}case"ArrowUp":{C.preventDefault(),x(N=>(N-1+b)%b);break}case"Enter":{if(y===-1)return;if(C.preventDefault(),y<M.length){const N=M[y];r(N.id),g(""),x(-1)}else L&&(d(!0),u(m.trim()),g(""),x(-1));break}case"Escape":{g(""),x(-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(C=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${C.color}20`,color:C.color,borderColor:C.color},children:[C.name,t.jsx("button",{type:"button",onClick:()=>n(C.id),className:"hover:opacity-70","aria-label":`Remove ${C.name}`,children:t.jsx(Rt,{className:"w-3 h-3"})})]},C.id))}),e.length<o&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(Tc,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:m,onChange:C=>{g(C.target.value),x(-1)},onKeyDown:S,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":m.length>0})]}),m&&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((C,N)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===N,onClick:()=>{r(C.id),g(""),x(-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:C.color}}),t.jsx("span",{children:C.name}),C.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",C.category,")"]})]},C.id)),L&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(m.trim()),g(""),x(-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(Ao,{className:"w-4 h-4"}),'Create "',m.trim(),'"']}),!M.length&&!L&&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:C=>u(C.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:C=>f(C.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:I,onKeyDown:C=>{C.key==="Enter"&&(C.preventDefault(),I())},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"})]})]})]})},bq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},Qj=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:o,href:c,className:l})=>{const d=!!(o||c),h=p=>{!o||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${bq[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:o,onKeyDown:h,role:!c&&o?"button":void 0,tabIndex:!c&&o?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(Rt,{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 jq(a,e){const r=v.createContext(e),n=o=>{const{children:c,...l}=o,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(o){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:f,children:m,...g}=p,y=((k=f==null?void 0:f[a])==null?void 0:k[d])||l,x=v.useMemo(()=>g,Object.values(g));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,g=v.useContext(m);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,Cq(i,...e)]}function Cq(...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(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function yL(a){const e=Lq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Iq);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:o})});return r.displayName=`${a}.Slot`,r}function Lq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Aq(i),l=Nq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Sq=Symbol("radix.slottable");function Iq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Sq}function Nq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Aq(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 AS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,o]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:k}=y,w=j.useRef(null),M=j.useRef(new Map).current;return t.jsx(i,{scope:x,itemMap:M,collectionRef:w,children:k})};c.displayName=e;const l=a+"CollectionSlot",d=yL(l),h=j.forwardRef((y,x)=>{const{scope:k,children:w}=y,M=o(l,k),L=Ce(x,M.collectionRef);return t.jsx(d,{ref:L,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",f=yL(u),m=j.forwardRef((y,x)=>{const{scope:k,children:w,...M}=y,L=j.useRef(null),b=Ce(x,L),I=o(u,k);return j.useEffect(()=>(I.itemMap.set(L,{ref:L,...M}),()=>void I.itemMap.delete(L))),t.jsx(f,{[p]:"",ref:b,children:w})});m.displayName=u;function g(y){const x=o(a+"CollectionConsumer",y);return j.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((I,S)=>M.indexOf(I.ref.current)-M.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},g,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},_q=v[" useId ".trim().toString()]||(()=>{}),Pq=0;function Na(a){const[e,r]=v.useState(_q());return pt(()=>{r(n=>n??String(Pq++))},[a]),e?`radix-${e}`:""}function qq(a){const e=Tq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Dq);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:o})});return r.displayName=`${a}.Slot`,r}function Tq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Fq(i),l=zq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Rq=Symbol("radix.slottable");function Dq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Rq}function zq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Fq(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 Eq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],fe=Eq.reduce((a,e)=>{const r=qq(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Hq(a,e){a&&M9.flushSync(()=>a.dispatchEvent(e))}function ir(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 Oq=v[" useInsertionEffect ".trim().toString()]||pt;function sr({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,c]=Vq({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=Bq(u)?u(a):u;f!==a&&((p=c.current)==null||p.call(c,f))}else o(u)},[l,a,o,c]);return[d,h]}function Vq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),o=v.useRef(e);return Oq(()=>{o.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=o.current)==null||c.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Bq(a){return typeof a=="function"}var Uq=v.createContext(void 0);function eC(a){const e=v.useContext(Uq);return a||e||"ltr"}var Y9="rovingFocusGroup.onEntryFocus",$q={bubbles:!1,cancelable:!0},Qc="RovingFocusGroup",[Mj,_S,Gq]=AS(Qc),[Wq,PS]=ma(Qc,[Gq]),[Zq,Xq]=Wq(Qc),qS=v.forwardRef((a,e)=>t.jsx(Mj.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Mj.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Jq,{...a,ref:e})})}));qS.displayName=Qc;var Jq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:o,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,f=v.useRef(null),m=Ce(e,f),g=eC(o),[y,x]=sr({prop:c,defaultProp:l??null,onChange:d,caller:Qc}),[k,w]=v.useState(!1),M=ir(h),L=_S(r),b=v.useRef(!1),[I,S]=v.useState(0);return v.useEffect(()=>{const C=f.current;if(C)return C.addEventListener(Y9,M),()=>C.removeEventListener(Y9,M)},[M]),t.jsx(Zq,{scope:r,orientation:n,dir:g,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(C=>x(C),[x]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>S(C=>C+1),[]),onFocusableItemRemove:v.useCallback(()=>S(C=>C-1),[]),children:t.jsx(fe.div,{tabIndex:k||I===0?-1:0,"data-orientation":n,...p,ref:m,style:{outline:"none",...a.style},onMouseDown:he(a.onMouseDown,()=>{b.current=!0}),onFocus:he(a.onFocus,C=>{const N=!b.current;if(C.target===C.currentTarget&&N&&!k){const T=new CustomEvent(Y9,$q);if(C.currentTarget.dispatchEvent(T),!T.defaultPrevented){const R=L().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);DS(z,u)}}b.current=!1}),onBlur:he(a.onBlur,()=>w(!1))})})}),TS="RovingFocusGroupItem",RS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:o,children:c,...l}=a,d=Na(),h=o||d,u=Xq(TS,r),p=u.currentTabStopId===h,f=_S(r),{onFocusableItemAdd:m,onFocusableItemRemove:g,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return m(),()=>g()},[n,m,g]),t.jsx(Mj.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(fe.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:he(a.onMouseDown,x=>{n?u.onItemFocus(h):x.preventDefault()}),onFocus:he(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:he(a.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const k=Qq(x,u.orientation,u.dir);if(k!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let M=f().filter(L=>L.focusable).map(L=>L.ref.current);if(k==="last")M.reverse();else if(k==="prev"||k==="next"){k==="prev"&&M.reverse();const L=M.indexOf(x.currentTarget);M=u.loop?eT(M,L+1):M.slice(L+1)}setTimeout(()=>DS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});RS.displayName=TS;var Yq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Kq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Qq(a,e,r){const n=Kq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Yq[n]}function DS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function eT(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var tT=qS,aT=RS;function rT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var ur=a=>{const{present:e,children:r}=a,n=nT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),o=Ce(n.ref,iT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:o}):null};ur.displayName="Presence";function nT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),o=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=rT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=s1(n.current);o.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const f=o.current,m=s1(h);a?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&f!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const y=s1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&y&&(d("ANIMATION_END"),!i.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},f=m=>{m.target===e&&(o.current=s1(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 s1(a){return(a==null?void 0:a.animationName)||"none"}function iT(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 j9="Tabs",[sT]=ma(j9,[PS]),zS=PS(),[oT,tC]=sT(j9),FS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=eC(l),[p,f]=sr({prop:n,onChange:i,defaultProp:o??"",caller:j9});return t.jsx(oT,{scope:r,baseId:Na(),value:p,onValueChange:f,orientation:c,dir:u,activationMode:d,children:t.jsx(fe.div,{dir:u,"data-orientation":c,...h,ref:e})})});FS.displayName=j9;var ES="TabsList",HS=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,o=tC(ES,r),c=zS(r);return t.jsx(tT,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(fe.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:e})})});HS.displayName=ES;var OS="TabsTrigger",VS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...o}=a,c=tC(OS,r),l=zS(r),d=$S(c.baseId,n),h=GS(c.baseId,n),u=n===c.value;return t.jsx(aT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(fe.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,...o,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)})})})});VS.displayName=OS;var BS="TabsContent",US=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:o,...c}=a,l=tC(BS,r),d=$S(l.baseId,n),h=GS(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(ur,{present:i||u,children:({present:f})=>t.jsx(fe.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&&o})})});US.displayName=BS;function $S(a,e){return`${a}-trigger-${e}`}function GS(a,e){return`${a}-content-${e}`}var cT=FS,WS=HS,ZS=VS,XS=US;const co=cT,pr=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));pr.displayName=WS.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(ZS,{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=ZS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(XS,{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=XS.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 Te=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex flex-col space-y-1.5 p-6",a),...e}));Te.displayName="CardHeader";const Re=v.forwardRef(({className:a,...e},r)=>t.jsx("h3",{ref:r,className:ce("font-semibold leading-none tracking-tight",a),...e}));Re.displayName="CardTitle";const Be=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Be.displayName="CardDescription";const je=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));je.displayName="CardContent";const ao=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));ao.displayName="CardFooter";function lT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:o="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 g=r??"en",y=a.map(async k=>(await fetch(`${u}/api/v1/promotions/?ids=${k}`,{method:"GET",headers:{"Accept-Language":g,"Content-Type":"application/json"}})).json()),x=await Promise.all(y);l(x)}catch{}})()},[a,u,r]);const p=m=>{const g=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:m,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(g)},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(co,{defaultValue:"tab-0",className:"w-full",onValueChange:m=>h(m),children:[t.jsx(pr,{className:f,children:e.map((m,g)=>t.jsx(Ie,{value:`tab-${g}`,children:m},g))}),c.map((m,g)=>t.jsx(Ne,{value:`tab-${g}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:m.map((y,x)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Te,{children:[t.jsx(Re,{children:y.title}),t.jsx(Be,{children:y.short_description})]}),t.jsxs(je,{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((k,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(Mo,{className:"mr-2 h-4 w-4 text-primary"})," ",k]},w))})]}),t.jsx(ao,{children:t.jsx(U,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:o})})]},x))})},g))]})]})})}function dT({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(Rt,{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 JS(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
7725
+ */const wq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:x1,AArrowDownIcon:x1,AArrowUp:g1,AArrowUpIcon:g1,ALargeSmall:k1,ALargeSmallIcon:k1,Accessibility:v1,AccessibilityIcon:v1,Activity:w1,ActivityIcon:w1,ActivitySquare:Ni,ActivitySquareIcon:Ni,AirVent:M1,AirVentIcon:M1,Airplay:b1,AirplayIcon:b1,AlarmCheck:jr,AlarmCheckIcon:jr,AlarmClock:C1,AlarmClockCheck:jr,AlarmClockCheckIcon:jr,AlarmClockIcon:C1,AlarmClockMinus:Cr,AlarmClockMinusIcon:Cr,AlarmClockOff:j1,AlarmClockOffIcon:j1,AlarmClockPlus:Lr,AlarmClockPlusIcon:Lr,AlarmMinus:Cr,AlarmMinusIcon:Cr,AlarmPlus:Lr,AlarmPlusIcon:Lr,AlarmSmoke:L1,AlarmSmokeIcon:L1,Album:S1,AlbumIcon:S1,AlertCircle:Nt,AlertCircleIcon:Nt,AlertOctagon:si,AlertOctagonIcon:si,AlertTriangle:Ns,AlertTriangleIcon:Ns,AlignCenter:A1,AlignCenterHorizontal:I1,AlignCenterHorizontalIcon:I1,AlignCenterIcon:A1,AlignCenterVertical:N1,AlignCenterVerticalIcon:N1,AlignEndHorizontal:_1,AlignEndHorizontalIcon:_1,AlignEndVertical:P1,AlignEndVerticalIcon:P1,AlignHorizontalDistributeCenter:q1,AlignHorizontalDistributeCenterIcon:q1,AlignHorizontalDistributeEnd:T1,AlignHorizontalDistributeEndIcon:T1,AlignHorizontalDistributeStart:R1,AlignHorizontalDistributeStartIcon:R1,AlignHorizontalJustifyCenter:D1,AlignHorizontalJustifyCenterIcon:D1,AlignHorizontalJustifyEnd:z1,AlignHorizontalJustifyEndIcon:z1,AlignHorizontalJustifyStart:F1,AlignHorizontalJustifyStartIcon:F1,AlignHorizontalSpaceAround:E1,AlignHorizontalSpaceAroundIcon:E1,AlignHorizontalSpaceBetween:H1,AlignHorizontalSpaceBetweenIcon:H1,AlignJustify:O1,AlignJustifyIcon:O1,AlignLeft:V1,AlignLeftIcon:V1,AlignRight:B1,AlignRightIcon:B1,AlignStartHorizontal:U1,AlignStartHorizontalIcon:U1,AlignStartVertical:$1,AlignStartVerticalIcon:$1,AlignVerticalDistributeCenter:G1,AlignVerticalDistributeCenterIcon:G1,AlignVerticalDistributeEnd:W1,AlignVerticalDistributeEndIcon:W1,AlignVerticalDistributeStart:Z1,AlignVerticalDistributeStartIcon:Z1,AlignVerticalJustifyCenter:X1,AlignVerticalJustifyCenterIcon:X1,AlignVerticalJustifyEnd:J1,AlignVerticalJustifyEndIcon:J1,AlignVerticalJustifyStart:Y1,AlignVerticalJustifyStartIcon:Y1,AlignVerticalSpaceAround:K1,AlignVerticalSpaceAroundIcon:K1,AlignVerticalSpaceBetween:Q1,AlignVerticalSpaceBetweenIcon:Q1,Ambulance:el,AmbulanceIcon:el,Ampersand:tl,AmpersandIcon:tl,Ampersands:al,AmpersandsIcon:al,Amphora:rl,AmphoraIcon:rl,Anchor:nl,AnchorIcon:nl,Angry:il,AngryIcon:il,Annoyed:sl,AnnoyedIcon:sl,Antenna:ol,AntennaIcon:ol,Anvil:cl,AnvilIcon:cl,Aperture:ll,ApertureIcon:ll,AppWindow:hl,AppWindowIcon:hl,AppWindowMac:dl,AppWindowMacIcon:dl,Apple:ul,AppleIcon:ul,Archive:ml,ArchiveIcon:ml,ArchiveRestore:pl,ArchiveRestoreIcon:pl,ArchiveX:yl,ArchiveXIcon:yl,AreaChart:Hr,AreaChartIcon:Hr,Armchair:fl,ArmchairIcon:fl,ArrowBigDown:gl,ArrowBigDownDash:xl,ArrowBigDownDashIcon:xl,ArrowBigDownIcon:gl,ArrowBigLeft:vl,ArrowBigLeftDash:kl,ArrowBigLeftDashIcon:kl,ArrowBigLeftIcon:vl,ArrowBigRight:Ml,ArrowBigRightDash:wl,ArrowBigRightDashIcon:wl,ArrowBigRightIcon:Ml,ArrowBigUp:jl,ArrowBigUpDash:bl,ArrowBigUpDashIcon:bl,ArrowBigUpIcon:jl,ArrowDown:Tl,ArrowDown01:Cl,ArrowDown01Icon:Cl,ArrowDown10:Ll,ArrowDown10Icon:Ll,ArrowDownAZ:Sr,ArrowDownAZIcon:Sr,ArrowDownAz:Sr,ArrowDownAzIcon:Sr,ArrowDownCircle:Kr,ArrowDownCircleIcon:Kr,ArrowDownFromLine:Sl,ArrowDownFromLineIcon:Sl,ArrowDownIcon:Tl,ArrowDownLeft:Il,ArrowDownLeftFromCircle:en,ArrowDownLeftFromCircleIcon:en,ArrowDownLeftFromSquare:qi,ArrowDownLeftFromSquareIcon:qi,ArrowDownLeftIcon:Il,ArrowDownLeftSquare:Ai,ArrowDownLeftSquareIcon:Ai,ArrowDownNarrowWide:Nl,ArrowDownNarrowWideIcon:Nl,ArrowDownRight:Al,ArrowDownRightFromCircle:tn,ArrowDownRightFromCircleIcon:tn,ArrowDownRightFromSquare:Ti,ArrowDownRightFromSquareIcon:Ti,ArrowDownRightIcon:Al,ArrowDownRightSquare:_i,ArrowDownRightSquareIcon:_i,ArrowDownSquare:Pi,ArrowDownSquareIcon:Pi,ArrowDownToDot:_l,ArrowDownToDotIcon:_l,ArrowDownToLine:Pl,ArrowDownToLineIcon:Pl,ArrowDownUp:ql,ArrowDownUpIcon:ql,ArrowDownWideNarrow:Ir,ArrowDownWideNarrowIcon:Ir,ArrowDownZA:Nr,ArrowDownZAIcon:Nr,ArrowDownZa:Nr,ArrowDownZaIcon:Nr,ArrowLeft:Gs,ArrowLeftCircle:Qr,ArrowLeftCircleIcon:Qr,ArrowLeftFromLine:Rl,ArrowLeftFromLineIcon:Rl,ArrowLeftIcon:Gs,ArrowLeftRight:Dl,ArrowLeftRightIcon:Dl,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:zl,ArrowLeftToLineIcon:zl,ArrowRight:ko,ArrowRightCircle:nn,ArrowRightCircleIcon:nn,ArrowRightFromLine:Fl,ArrowRightFromLineIcon:Fl,ArrowRightIcon:ko,ArrowRightLeft:El,ArrowRightLeftIcon:El,ArrowRightSquare:ja,ArrowRightSquareIcon:ja,ArrowRightToLine:Hl,ArrowRightToLineIcon:Hl,ArrowUp:Jl,ArrowUp01:Ol,ArrowUp01Icon:Ol,ArrowUp10:Vl,ArrowUp10Icon:Vl,ArrowUpAZ:Ar,ArrowUpAZIcon:Ar,ArrowUpAz:Ar,ArrowUpAzIcon:Ar,ArrowUpCircle:sn,ArrowUpCircleIcon:sn,ArrowUpDown:Bl,ArrowUpDownIcon:Bl,ArrowUpFromDot:Ul,ArrowUpFromDotIcon:Ul,ArrowUpFromLine:$l,ArrowUpFromLineIcon:$l,ArrowUpIcon:Jl,ArrowUpLeft:Gl,ArrowUpLeftFromCircle:an,ArrowUpLeftFromCircleIcon:an,ArrowUpLeftFromSquare:Ri,ArrowUpLeftFromSquareIcon:Ri,ArrowUpLeftIcon:Gl,ArrowUpLeftSquare:zi,ArrowUpLeftSquareIcon:zi,ArrowUpNarrowWide:_r,ArrowUpNarrowWideIcon:_r,ArrowUpRight:Wl,ArrowUpRightFromCircle:rn,ArrowUpRightFromCircleIcon:rn,ArrowUpRightFromSquare:Di,ArrowUpRightFromSquareIcon:Di,ArrowUpRightIcon:Wl,ArrowUpRightSquare:Fi,ArrowUpRightSquareIcon:Fi,ArrowUpSquare:Ei,ArrowUpSquareIcon:Ei,ArrowUpToLine:Zl,ArrowUpToLineIcon:Zl,ArrowUpWideNarrow:Xl,ArrowUpWideNarrowIcon:Xl,ArrowUpZA:Pr,ArrowUpZAIcon:Pr,ArrowUpZa:Pr,ArrowUpZaIcon:Pr,ArrowsUpFromLine:Yl,ArrowsUpFromLineIcon:Yl,Asterisk:Kl,AsteriskIcon:Kl,AsteriskSquare:Hi,AsteriskSquareIcon:Hi,AtSign:Ql,AtSignIcon:Ql,Atom:ed,AtomIcon:ed,AudioLines:td,AudioLinesIcon:td,AudioWaveform:ad,AudioWaveformIcon:ad,Award:La,AwardIcon:La,Axe:rd,AxeIcon:rd,Axis3D:qr,Axis3DIcon:qr,Axis3d:qr,Axis3dIcon:qr,Baby:nd,BabyIcon:nd,Backpack:id,BackpackIcon:id,Badge:wd,BadgeAlert:sd,BadgeAlertIcon:sd,BadgeCent:od,BadgeCentIcon:od,BadgeCheck:Tr,BadgeCheckIcon:Tr,BadgeDollarSign:cd,BadgeDollarSignIcon:cd,BadgeEuro:ld,BadgeEuroIcon:ld,BadgeHelp:dd,BadgeHelpIcon:dd,BadgeIcon:wd,BadgeIndianRupee:hd,BadgeIndianRupeeIcon:hd,BadgeInfo:ud,BadgeInfoIcon:ud,BadgeJapaneseYen:pd,BadgeJapaneseYenIcon:pd,BadgeMinus:yd,BadgeMinusIcon:yd,BadgePercent:md,BadgePercentIcon:md,BadgePlus:fd,BadgePlusIcon:fd,BadgePoundSterling:xd,BadgePoundSterlingIcon:xd,BadgeRussianRuble:gd,BadgeRussianRubleIcon:gd,BadgeSwissFranc:kd,BadgeSwissFrancIcon:kd,BadgeX:vd,BadgeXIcon:vd,BaggageClaim:Md,BaggageClaimIcon:Md,Ban:bd,BanIcon:bd,Banana:jd,BananaIcon:jd,Bandage:Cd,BandageIcon:Cd,Banknote:Ld,BanknoteIcon:Ld,BarChart:Ga,BarChart2:Zr,BarChart2Icon:Zr,BarChart3:Gr,BarChart3Icon:Gr,BarChart4:$r,BarChart4Icon:$r,BarChartBig:Ur,BarChartBigIcon:Ur,BarChartHorizontal:Vr,BarChartHorizontalBig:Or,BarChartHorizontalBigIcon:Or,BarChartHorizontalIcon:Vr,BarChartIcon:Ga,Barcode:Sd,BarcodeIcon:Sd,Baseline:Id,BaselineIcon:Id,Bath:Nd,BathIcon:Nd,Battery:Rd,BatteryCharging:Ad,BatteryChargingIcon:Ad,BatteryFull:_d,BatteryFullIcon:_d,BatteryIcon:Rd,BatteryLow:Pd,BatteryLowIcon:Pd,BatteryMedium:qd,BatteryMediumIcon:qd,BatteryWarning:Td,BatteryWarningIcon:Td,Beaker:Dd,BeakerIcon:Dd,Bean:Fd,BeanIcon:Fd,BeanOff:zd,BeanOffIcon:zd,Bed:Od,BedDouble:Ed,BedDoubleIcon:Ed,BedIcon:Od,BedSingle:Hd,BedSingleIcon:Hd,Beef:Vd,BeefIcon:Vd,Beer:Ud,BeerIcon:Ud,BeerOff:Bd,BeerOffIcon:Bd,Bell:vo,BellDot:$d,BellDotIcon:$d,BellElectric:Gd,BellElectricIcon:Gd,BellIcon:vo,BellMinus:Wd,BellMinusIcon:Wd,BellOff:Zd,BellOffIcon:Zd,BellPlus:Xd,BellPlusIcon:Xd,BellRing:Jd,BellRingIcon:Jd,BetweenHorizonalEnd:Rr,BetweenHorizonalEndIcon:Rr,BetweenHorizonalStart:Dr,BetweenHorizonalStartIcon:Dr,BetweenHorizontalEnd:Rr,BetweenHorizontalEndIcon:Rr,BetweenHorizontalStart:Dr,BetweenHorizontalStartIcon:Dr,BetweenVerticalEnd:Yd,BetweenVerticalEndIcon:Yd,BetweenVerticalStart:Kd,BetweenVerticalStartIcon:Kd,BicepsFlexed:Qd,BicepsFlexedIcon:Qd,Bike:e2,BikeIcon:e2,Binary:t2,BinaryIcon:t2,Binoculars:a2,BinocularsIcon:a2,Biohazard:r2,BiohazardIcon:r2,Bird:n2,BirdIcon:n2,Bitcoin:i2,BitcoinIcon:i2,Blend:s2,BlendIcon:s2,Blinds:o2,BlindsIcon:o2,Blocks:c2,BlocksIcon:c2,Bluetooth:u2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:u2,BluetoothOff:d2,BluetoothOffIcon:d2,BluetoothSearching:h2,BluetoothSearchingIcon:h2,Bold:p2,BoldIcon:p2,Bolt:y2,BoltIcon:y2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:F2,BookA:x2,BookAIcon:x2,BookAudio:g2,BookAudioIcon:g2,BookCheck:k2,BookCheckIcon:k2,BookCopy:v2,BookCopyIcon:v2,BookDashed:zr,BookDashedIcon:zr,BookDown:w2,BookDownIcon:w2,BookHeadphones:M2,BookHeadphonesIcon:M2,BookHeart:b2,BookHeartIcon:b2,BookIcon:F2,BookImage:j2,BookImageIcon:j2,BookKey:C2,BookKeyIcon:C2,BookLock:L2,BookLockIcon:L2,BookMarked:S2,BookMarkedIcon:S2,BookMinus:I2,BookMinusIcon:I2,BookOpen:Wt,BookOpenCheck:N2,BookOpenCheckIcon:N2,BookOpenIcon:Wt,BookOpenText:A2,BookOpenTextIcon:A2,BookPlus:_2,BookPlusIcon:_2,BookTemplate:zr,BookTemplateIcon:zr,BookText:P2,BookTextIcon:P2,BookType:q2,BookTypeIcon:q2,BookUp:R2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:R2,BookUser:D2,BookUserIcon:D2,BookX:z2,BookXIcon:z2,Bookmark:Qa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Qa,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:pc,BookmarkPlusIcon:pc,BookmarkX:H2,BookmarkXIcon:H2,BoomBox:O2,BoomBoxIcon:O2,Bot:yc,BotIcon:yc,BotMessageSquare:V2,BotMessageSquareIcon:V2,BotOff:B2,BotOffIcon:B2,Box:U2,BoxIcon:U2,BoxSelect:Yi,BoxSelectIcon:Yi,Boxes:$2,BoxesIcon:$2,Braces:Fr,BracesIcon:Fr,Brackets:G2,BracketsIcon:G2,Brain:X2,BrainCircuit:W2,BrainCircuitIcon:W2,BrainCog:Z2,BrainCogIcon:Z2,BrainIcon:X2,BrickWall:J2,BrickWallIcon:J2,Briefcase:vt,BriefcaseBusiness:Y2,BriefcaseBusinessIcon:Y2,BriefcaseConveyorBelt:K2,BriefcaseConveyorBeltIcon:K2,BriefcaseIcon:vt,BriefcaseMedical:Q2,BriefcaseMedicalIcon:Q2,BringToFront:e0,BringToFrontIcon:e0,Brush:t0,BrushIcon:t0,Bug:n0,BugIcon:n0,BugOff:a0,BugOffIcon:a0,BugPlay:r0,BugPlayIcon:r0,Building:wo,Building2:mc,Building2Icon:mc,BuildingIcon:wo,Bus:s0,BusFront:i0,BusFrontIcon:i0,BusIcon:s0,Cable:c0,CableCar:o0,CableCarIcon:o0,CableIcon:c0,Cake:d0,CakeIcon:d0,CakeSlice:l0,CakeSliceIcon:l0,Calculator:h0,CalculatorIcon:h0,Calendar:fc,CalendarArrowDown:u0,CalendarArrowDownIcon:u0,CalendarArrowUp:p0,CalendarArrowUpIcon:p0,CalendarCheck:m0,CalendarCheck2:y0,CalendarCheck2Icon:y0,CalendarCheckIcon:m0,CalendarClock:f0,CalendarClockIcon:f0,CalendarCog:x0,CalendarCogIcon:x0,CalendarDays:g0,CalendarDaysIcon:g0,CalendarFold:k0,CalendarFoldIcon:k0,CalendarHeart:v0,CalendarHeartIcon:v0,CalendarIcon:fc,CalendarMinus:M0,CalendarMinus2:w0,CalendarMinus2Icon:w0,CalendarMinusIcon:M0,CalendarOff:b0,CalendarOffIcon:b0,CalendarPlus:C0,CalendarPlus2:j0,CalendarPlus2Icon:j0,CalendarPlusIcon:C0,CalendarRange:L0,CalendarRangeIcon:L0,CalendarSearch:S0,CalendarSearchIcon:S0,CalendarX:N0,CalendarX2:I0,CalendarX2Icon:I0,CalendarXIcon:N0,Camera:_0,CameraIcon:_0,CameraOff:A0,CameraOffIcon:A0,CandlestickChart:Br,CandlestickChartIcon:Br,Candy:T0,CandyCane:P0,CandyCaneIcon:P0,CandyIcon:T0,CandyOff:q0,CandyOffIcon:q0,Cannabis:R0,CannabisIcon:R0,Captions:Er,CaptionsIcon:Er,CaptionsOff:D0,CaptionsOffIcon:D0,Car:E0,CarFront:z0,CarFrontIcon:z0,CarIcon:E0,CarTaxiFront:F0,CarTaxiFrontIcon:F0,Caravan:H0,CaravanIcon:H0,Carrot:O0,CarrotIcon:O0,CaseLower:V0,CaseLowerIcon:V0,CaseSensitive:B0,CaseSensitiveIcon:B0,CaseUpper:U0,CaseUpperIcon:U0,CassetteTape:$0,CassetteTapeIcon:$0,Cast:G0,CastIcon:G0,Castle:W0,CastleIcon:W0,Cat:Z0,CatIcon:Z0,Cctv:X0,CctvIcon:X0,ChartArea:Hr,ChartAreaIcon:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarBigIcon:Or,ChartBarDecreasing:J0,ChartBarDecreasingIcon:J0,ChartBarIcon:Vr,ChartBarIncreasing:Y0,ChartBarIncreasingIcon:Y0,ChartBarStacked:K0,ChartBarStackedIcon:K0,ChartCandlestick:Br,ChartCandlestickIcon:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnBigIcon:Ur,ChartColumnDecreasing:Q0,ChartColumnDecreasingIcon:Q0,ChartColumnIcon:Gr,ChartColumnIncreasing:$r,ChartColumnIncreasingIcon:$r,ChartColumnStacked:eh,ChartColumnStackedIcon:eh,ChartGantt:th,ChartGanttIcon:th,ChartLine:Wr,ChartLineIcon:Wr,ChartNetwork:ah,ChartNetworkIcon:ah,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:rh,ChartNoAxesColumnDecreasingIcon:rh,ChartNoAxesColumnIcon:Zr,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesColumnIncreasingIcon:Ga,ChartNoAxesCombined:nh,ChartNoAxesCombinedIcon:nh,ChartNoAxesGantt:Xr,ChartNoAxesGanttIcon:Xr,ChartPie:Jr,ChartPieIcon:Jr,ChartScatter:Yr,ChartScatterIcon:Yr,ChartSpline:ih,ChartSplineIcon:ih,Check:Mo,CheckCheck:sh,CheckCheckIcon:sh,CheckCircle:At,CheckCircle2:on,CheckCircle2Icon:on,CheckCircleIcon:At,CheckIcon:Mo,CheckSquare:Vi,CheckSquare2:Bi,CheckSquare2Icon:Bi,CheckSquareIcon:Vi,ChefHat:oh,ChefHatIcon:oh,Cherry:ch,CherryIcon:ch,ChevronDown:Ws,ChevronDownCircle:cn,ChevronDownCircleIcon:cn,ChevronDownIcon:Ws,ChevronDownSquare:Ui,ChevronDownSquareIcon:Ui,ChevronFirst:lh,ChevronFirstIcon:lh,ChevronLast:dh,ChevronLastIcon:dh,ChevronLeft:Zs,ChevronLeftCircle:ln,ChevronLeftCircleIcon:ln,ChevronLeftIcon:Zs,ChevronLeftSquare:$i,ChevronLeftSquareIcon:$i,ChevronRight:er,ChevronRightCircle:dn,ChevronRightCircleIcon:dn,ChevronRightIcon:er,ChevronRightSquare:Gi,ChevronRightSquareIcon:Gi,ChevronUp:xc,ChevronUpCircle:hn,ChevronUpCircleIcon:hn,ChevronUpIcon:xc,ChevronUpSquare:Wi,ChevronUpSquareIcon:Wi,ChevronsDown:uh,ChevronsDownIcon:uh,ChevronsDownUp:hh,ChevronsDownUpIcon:hh,ChevronsLeft:mh,ChevronsLeftIcon:mh,ChevronsLeftRight:yh,ChevronsLeftRightEllipsis:ph,ChevronsLeftRightEllipsisIcon:ph,ChevronsLeftRightIcon:yh,ChevronsRight:xh,ChevronsRightIcon:xh,ChevronsRightLeft:fh,ChevronsRightLeftIcon:fh,ChevronsUp:kh,ChevronsUpDown:gh,ChevronsUpDownIcon:gh,ChevronsUpIcon:kh,Chrome:vh,ChromeIcon:vh,Church:wh,ChurchIcon:wh,Cigarette:bh,CigaretteIcon:bh,CigaretteOff:Mh,CigaretteOffIcon:Mh,Circle:Th,CircleAlert:Nt,CircleAlertIcon:Nt,CircleArrowDown:Kr,CircleArrowDownIcon:Kr,CircleArrowLeft:Qr,CircleArrowLeftIcon:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownLeftIcon:en,CircleArrowOutDownRight:tn,CircleArrowOutDownRightIcon:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpLeftIcon:an,CircleArrowOutUpRight:rn,CircleArrowOutUpRightIcon:rn,CircleArrowRight:nn,CircleArrowRightIcon:nn,CircleArrowUp:sn,CircleArrowUpIcon:sn,CircleCheck:on,CircleCheckBig:At,CircleCheckBigIcon:At,CircleCheckIcon:on,CircleChevronDown:cn,CircleChevronDownIcon:cn,CircleChevronLeft:ln,CircleChevronLeftIcon:ln,CircleChevronRight:dn,CircleChevronRightIcon:dn,CircleChevronUp:hn,CircleChevronUpIcon:hn,CircleDashed:jh,CircleDashedIcon:jh,CircleDivide:un,CircleDivideIcon:un,CircleDollarSign:Ch,CircleDollarSignIcon:Ch,CircleDot:Sh,CircleDotDashed:Lh,CircleDotDashedIcon:Lh,CircleDotIcon:Sh,CircleEllipsis:Ih,CircleEllipsisIcon:Ih,CircleEqual:Nh,CircleEqualIcon:Nh,CircleFadingArrowUp:Ah,CircleFadingArrowUpIcon:Ah,CircleFadingPlus:_h,CircleFadingPlusIcon:_h,CircleGauge:pn,CircleGaugeIcon:pn,CircleHelp:Wa,CircleHelpIcon:Wa,CircleIcon:Th,CircleMinus:yn,CircleMinusIcon:yn,CircleOff:Ph,CircleOffIcon:Ph,CircleParking:fn,CircleParkingIcon:fn,CircleParkingOff:mn,CircleParkingOffIcon:mn,CirclePause:xn,CirclePauseIcon:xn,CirclePercent:gn,CirclePercentIcon:gn,CirclePlay:kn,CirclePlayIcon:kn,CirclePlus:vn,CirclePlusIcon:vn,CirclePower:wn,CirclePowerIcon:wn,CircleSlash:qh,CircleSlash2:Mn,CircleSlash2Icon:Mn,CircleSlashIcon:qh,CircleSlashed:Mn,CircleSlashedIcon:Mn,CircleStop:bn,CircleStopIcon:bn,CircleUser:Cn,CircleUserIcon:Cn,CircleUserRound:jn,CircleUserRoundIcon:jn,CircleX:ia,CircleXIcon:ia,CircuitBoard:Rh,CircuitBoardIcon:Rh,Citrus:Dh,CitrusIcon:Dh,Clapperboard:zh,ClapperboardIcon:zh,Clipboard:Gh,ClipboardCheck:Fh,ClipboardCheckIcon:Fh,ClipboardCopy:Eh,ClipboardCopyIcon:Eh,ClipboardEdit:Sn,ClipboardEditIcon:Sn,ClipboardIcon:Gh,ClipboardList:Hh,ClipboardListIcon:Hh,ClipboardMinus:Oh,ClipboardMinusIcon:Oh,ClipboardPaste:Vh,ClipboardPasteIcon:Vh,ClipboardPen:Sn,ClipboardPenIcon:Sn,ClipboardPenLine:Ln,ClipboardPenLineIcon:Ln,ClipboardPlus:Bh,ClipboardPlusIcon:Bh,ClipboardSignature:Ln,ClipboardSignatureIcon:Ln,ClipboardType:Uh,ClipboardTypeIcon:Uh,ClipboardX:$h,ClipboardXIcon:$h,Clock:Qt,Clock1:Wh,Clock10:Zh,Clock10Icon:Zh,Clock11:Xh,Clock11Icon:Xh,Clock12:Jh,Clock12Icon:Jh,Clock1Icon:Wh,Clock2:Yh,Clock2Icon:Yh,Clock3:Kh,Clock3Icon:Kh,Clock4:Qh,Clock4Icon:Qh,Clock5:eu,Clock5Icon:eu,Clock6:tu,Clock6Icon:tu,Clock7:au,Clock7Icon:au,Clock8:ru,Clock8Icon:ru,Clock9:nu,Clock9Icon:nu,ClockAlert:iu,ClockAlertIcon:iu,ClockArrowDown:su,ClockArrowDownIcon:su,ClockArrowUp:ou,ClockArrowUpIcon:ou,ClockIcon:Qt,Cloud:wu,CloudCog:cu,CloudCogIcon:cu,CloudDownload:In,CloudDownloadIcon:In,CloudDrizzle:lu,CloudDrizzleIcon:lu,CloudFog:du,CloudFogIcon:du,CloudHail:hu,CloudHailIcon:hu,CloudIcon:wu,CloudLightning:uu,CloudLightningIcon:uu,CloudMoon:yu,CloudMoonIcon:yu,CloudMoonRain:pu,CloudMoonRainIcon:pu,CloudOff:mu,CloudOffIcon:mu,CloudRain:xu,CloudRainIcon:xu,CloudRainWind:fu,CloudRainWindIcon:fu,CloudSnow:gu,CloudSnowIcon:gu,CloudSun:vu,CloudSunIcon:vu,CloudSunRain:ku,CloudSunRainIcon:ku,CloudUpload:Za,CloudUploadIcon:Za,Cloudy:Mu,CloudyIcon:Mu,Clover:bu,CloverIcon:bu,Club:ju,ClubIcon:ju,Code:Cu,Code2:Nn,Code2Icon:Nn,CodeIcon:Cu,CodeSquare:Zi,CodeSquareIcon:Zi,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Lu,CodepenIcon:Lu,Codesandbox:Su,CodesandboxIcon:Su,Coffee:Iu,CoffeeIcon:Iu,Cog:Nu,CogIcon:Nu,Coins:Au,CoinsIcon:Au,Columns:An,Columns2:An,Columns2Icon:An,Columns3:_n,Columns3Icon:_n,Columns4:_u,Columns4Icon:_u,ColumnsIcon:An,Combine:Pu,CombineIcon:Pu,Command:qu,CommandIcon:qu,Compass:Tu,CompassIcon:Tu,Component:Ru,ComponentIcon:Ru,Computer:Du,ComputerIcon:Du,ConciergeBell:zu,ConciergeBellIcon:zu,Cone:Fu,ConeIcon:Fu,Construction:Eu,ConstructionIcon:Eu,Contact:Hu,Contact2:Pn,Contact2Icon:Pn,ContactIcon:Hu,ContactRound:Pn,ContactRoundIcon:Pn,Container:Ou,ContainerIcon:Ou,Contrast:Vu,ContrastIcon:Vu,Cookie:Bu,CookieIcon:Bu,CookingPot:Uu,CookingPotIcon:Uu,Copy:Ju,CopyCheck:$u,CopyCheckIcon:$u,CopyIcon:Ju,CopyMinus:Gu,CopyMinusIcon:Gu,CopyPlus:Wu,CopyPlusIcon:Wu,CopySlash:Zu,CopySlashIcon:Zu,CopyX:Xu,CopyXIcon:Xu,Copyleft:Yu,CopyleftIcon:Yu,Copyright:Ku,CopyrightIcon:Ku,CornerDownLeft:Qu,CornerDownLeftIcon:Qu,CornerDownRight:ep,CornerDownRightIcon:ep,CornerLeftDown:tp,CornerLeftDownIcon:tp,CornerLeftUp:ap,CornerLeftUpIcon:ap,CornerRightDown:rp,CornerRightDownIcon:rp,CornerRightUp:np,CornerRightUpIcon:np,CornerUpLeft:ip,CornerUpLeftIcon:ip,CornerUpRight:sp,CornerUpRightIcon:sp,Cpu:op,CpuIcon:op,CreativeCommons:cp,CreativeCommonsIcon:cp,CreditCard:gc,CreditCardIcon:gc,Croissant:lp,CroissantIcon:lp,Crop:dp,CropIcon:dp,Cross:hp,CrossIcon:hp,Crosshair:up,CrosshairIcon:up,Crown:pp,CrownIcon:pp,Cuboid:yp,CuboidIcon:yp,CupSoda:mp,CupSodaIcon:mp,CurlyBraces:Fr,CurlyBracesIcon:Fr,Currency:fp,CurrencyIcon:fp,Cylinder:xp,CylinderIcon:xp,Dam:gp,DamIcon:gp,Database:wp,DatabaseBackup:kp,DatabaseBackupIcon:kp,DatabaseIcon:wp,DatabaseZap:vp,DatabaseZapIcon:vp,Delete:Mp,DeleteIcon:Mp,Dessert:bp,DessertIcon:bp,Diameter:jp,DiameterIcon:jp,Diamond:Sp,DiamondIcon:Sp,DiamondMinus:Cp,DiamondMinusIcon:Cp,DiamondPercent:qn,DiamondPercentIcon:qn,DiamondPlus:Lp,DiamondPlusIcon:Lp,Dice1:Ip,Dice1Icon:Ip,Dice2:Np,Dice2Icon:Np,Dice3:Ap,Dice3Icon:Ap,Dice4:_p,Dice4Icon:_p,Dice5:Pp,Dice5Icon:Pp,Dice6:qp,Dice6Icon:qp,Dices:Tp,DicesIcon:Tp,Diff:Rp,DiffIcon:Rp,Disc:Ep,Disc2:Dp,Disc2Icon:Dp,Disc3:zp,Disc3Icon:zp,DiscAlbum:Fp,DiscAlbumIcon:Fp,DiscIcon:Ep,Divide:Hp,DivideCircle:un,DivideCircleIcon:un,DivideIcon:Hp,DivideSquare:Ki,DivideSquareIcon:Ki,Dna:Vp,DnaIcon:Vp,DnaOff:Op,DnaOffIcon:Op,Dock:Bp,DockIcon:Bp,Dog:Up,DogIcon:Up,DollarSign:kc,DollarSignIcon:kc,Donut:$p,DonutIcon:$p,DoorClosed:Gp,DoorClosedIcon:Gp,DoorOpen:Wp,DoorOpenIcon:Wp,Dot:Zp,DotIcon:Zp,DotSquare:Qi,DotSquareIcon:Qi,Download:Xp,DownloadCloud:In,DownloadCloudIcon:In,DownloadIcon:Xp,DraftingCompass:Jp,DraftingCompassIcon:Jp,Drama:Yp,DramaIcon:Yp,Dribbble:Kp,DribbbleIcon:Kp,Drill:Qp,DrillIcon:Qp,Droplet:ey,DropletIcon:ey,Droplets:ty,DropletsIcon:ty,Drum:ay,DrumIcon:ay,Drumstick:ry,DrumstickIcon:ry,Dumbbell:ny,DumbbellIcon:ny,Ear:sy,EarIcon:sy,EarOff:iy,EarOffIcon:iy,Earth:Tn,EarthIcon:Tn,EarthLock:oy,EarthLockIcon:oy,Eclipse:cy,EclipseIcon:cy,Edit:St,Edit2:ki,Edit2Icon:ki,Edit3:gi,Edit3Icon:gi,EditIcon:St,Egg:hy,EggFried:ly,EggFriedIcon:ly,EggIcon:hy,EggOff:dy,EggOffIcon:dy,Ellipsis:Dn,EllipsisIcon:Dn,EllipsisVertical:Rn,EllipsisVerticalIcon:Rn,Equal:py,EqualIcon:py,EqualNot:uy,EqualNotIcon:uy,EqualSquare:es,EqualSquareIcon:es,Eraser:yy,EraserIcon:yy,EthernetPort:my,EthernetPortIcon:my,Euro:fy,EuroIcon:fy,Expand:xy,ExpandIcon:xy,ExternalLink:Xs,ExternalLinkIcon:Xs,Eye:bo,EyeClosed:gy,EyeClosedIcon:gy,EyeIcon:bo,EyeOff:vc,EyeOffIcon:vc,Facebook:ky,FacebookIcon:ky,Factory:vy,FactoryIcon:vy,Fan:wy,FanIcon:wy,FastForward:My,FastForwardIcon:My,Feather:by,FeatherIcon:by,Fence:jy,FenceIcon:jy,FerrisWheel:Cy,FerrisWheelIcon:Cy,Figma:Ly,FigmaIcon:Ly,File:Mm,FileArchive:Sy,FileArchiveIcon:Sy,FileAudio:Ny,FileAudio2:Iy,FileAudio2Icon:Iy,FileAudioIcon:Ny,FileAxis3D:zn,FileAxis3DIcon:zn,FileAxis3d:zn,FileAxis3dIcon:zn,FileBadge:_y,FileBadge2:Ay,FileBadge2Icon:Ay,FileBadgeIcon:_y,FileBarChart:Fn,FileBarChart2:En,FileBarChart2Icon:En,FileBarChartIcon:Fn,FileBox:Py,FileBoxIcon:Py,FileChartColumn:En,FileChartColumnIcon:En,FileChartColumnIncreasing:Fn,FileChartColumnIncreasingIcon:Fn,FileChartLine:Hn,FileChartLineIcon:Hn,FileChartPie:On,FileChartPieIcon:On,FileCheck:Ty,FileCheck2:qy,FileCheck2Icon:qy,FileCheckIcon:Ty,FileClock:Ry,FileClockIcon:Ry,FileCode:zy,FileCode2:Dy,FileCode2Icon:Dy,FileCodeIcon:zy,FileCog:Vn,FileCog2:Vn,FileCog2Icon:Vn,FileCogIcon:Vn,FileDiff:Fy,FileDiffIcon:Fy,FileDigit:Ey,FileDigitIcon:Ey,FileDown:Hy,FileDownIcon:Hy,FileEdit:Un,FileEditIcon:Un,FileHeart:Oy,FileHeartIcon:Oy,FileIcon:Mm,FileImage:Vy,FileImageIcon:Vy,FileInput:By,FileInputIcon:By,FileJson:$y,FileJson2:Uy,FileJson2Icon:Uy,FileJsonIcon:$y,FileKey:Wy,FileKey2:Gy,FileKey2Icon:Gy,FileKeyIcon:Wy,FileLineChart:Hn,FileLineChartIcon:Hn,FileLock:Xy,FileLock2:Zy,FileLock2Icon:Zy,FileLockIcon:Xy,FileMinus:Yy,FileMinus2:Jy,FileMinus2Icon:Jy,FileMinusIcon:Yy,FileMusic:Ky,FileMusicIcon:Ky,FileOutput:Qy,FileOutputIcon:Qy,FilePen:Un,FilePenIcon:Un,FilePenLine:Bn,FilePenLineIcon:Bn,FilePieChart:On,FilePieChartIcon:On,FilePlus:tm,FilePlus2:em,FilePlus2Icon:em,FilePlusIcon:tm,FileQuestion:am,FileQuestionIcon:am,FileScan:rm,FileScanIcon:rm,FileSearch:im,FileSearch2:nm,FileSearch2Icon:nm,FileSearchIcon:im,FileSignature:Bn,FileSignatureIcon:Bn,FileSliders:sm,FileSlidersIcon:sm,FileSpreadsheet:om,FileSpreadsheetIcon:om,FileStack:cm,FileStackIcon:cm,FileSymlink:lm,FileSymlinkIcon:lm,FileTerminal:dm,FileTerminalIcon:dm,FileText:wc,FileTextIcon:wc,FileType:um,FileType2:hm,FileType2Icon:hm,FileTypeIcon:um,FileUp:pm,FileUpIcon:pm,FileUser:ym,FileUserIcon:ym,FileVideo:fm,FileVideo2:mm,FileVideo2Icon:mm,FileVideoIcon:fm,FileVolume:gm,FileVolume2:xm,FileVolume2Icon:xm,FileVolumeIcon:gm,FileWarning:km,FileWarningIcon:km,FileX:wm,FileX2:vm,FileX2Icon:vm,FileXIcon:wm,Files:bm,FilesIcon:bm,Film:jm,FilmIcon:jm,Filter:jo,FilterIcon:jo,FilterX:Cm,FilterXIcon:Cm,Fingerprint:Lm,FingerprintIcon:Lm,FireExtinguisher:Sm,FireExtinguisherIcon:Sm,Fish:Am,FishIcon:Am,FishOff:Im,FishOffIcon:Im,FishSymbol:Nm,FishSymbolIcon:Nm,Flag:Mc,FlagIcon:Mc,FlagOff:_m,FlagOffIcon:_m,FlagTriangleLeft:Pm,FlagTriangleLeftIcon:Pm,FlagTriangleRight:qm,FlagTriangleRightIcon:qm,Flame:Rm,FlameIcon:Rm,FlameKindling:Tm,FlameKindlingIcon:Tm,Flashlight:zm,FlashlightIcon:zm,FlashlightOff:Dm,FlashlightOffIcon:Dm,FlaskConical:Em,FlaskConicalIcon:Em,FlaskConicalOff:Fm,FlaskConicalOffIcon:Fm,FlaskRound:Hm,FlaskRoundIcon:Hm,FlipHorizontal:Vm,FlipHorizontal2:Om,FlipHorizontal2Icon:Om,FlipHorizontalIcon:Vm,FlipVertical:Um,FlipVertical2:Bm,FlipVertical2Icon:Bm,FlipVerticalIcon:Um,Flower:Gm,Flower2:$m,Flower2Icon:$m,FlowerIcon:Gm,Focus:Wm,FocusIcon:Wm,FoldHorizontal:Zm,FoldHorizontalIcon:Zm,FoldVertical:Xm,FoldVerticalIcon:Xm,Folder:jf,FolderArchive:Jm,FolderArchiveIcon:Jm,FolderCheck:Ym,FolderCheckIcon:Ym,FolderClock:Km,FolderClockIcon:Km,FolderClosed:Qm,FolderClosedIcon:Qm,FolderCode:ef,FolderCodeIcon:ef,FolderCog:$n,FolderCog2:$n,FolderCog2Icon:$n,FolderCogIcon:$n,FolderDot:tf,FolderDotIcon:tf,FolderDown:af,FolderDownIcon:af,FolderEdit:Gn,FolderEditIcon:Gn,FolderGit:nf,FolderGit2:rf,FolderGit2Icon:rf,FolderGitIcon:nf,FolderHeart:sf,FolderHeartIcon:sf,FolderIcon:jf,FolderInput:of,FolderInputIcon:of,FolderKanban:cf,FolderKanbanIcon:cf,FolderKey:lf,FolderKeyIcon:lf,FolderLock:df,FolderLockIcon:df,FolderMinus:hf,FolderMinusIcon:hf,FolderOpen:pf,FolderOpenDot:uf,FolderOpenDotIcon:uf,FolderOpenIcon:pf,FolderOutput:yf,FolderOutputIcon:yf,FolderPen:Gn,FolderPenIcon:Gn,FolderPlus:mf,FolderPlusIcon:mf,FolderRoot:ff,FolderRootIcon:ff,FolderSearch:gf,FolderSearch2:xf,FolderSearch2Icon:xf,FolderSearchIcon:gf,FolderSymlink:kf,FolderSymlinkIcon:kf,FolderSync:vf,FolderSyncIcon:vf,FolderTree:wf,FolderTreeIcon:wf,FolderUp:Mf,FolderUpIcon:Mf,FolderX:bf,FolderXIcon:bf,Folders:Cf,FoldersIcon:Cf,Footprints:Lf,FootprintsIcon:Lf,ForkKnife:Hs,ForkKnifeCrossed:Es,ForkKnifeCrossedIcon:Es,ForkKnifeIcon:Hs,Forklift:Sf,ForkliftIcon:Sf,FormInput:wi,FormInputIcon:wi,Forward:If,ForwardIcon:If,Frame:Nf,FrameIcon:Nf,Framer:Af,FramerIcon:Af,Frown:_f,FrownIcon:_f,Fuel:Pf,FuelIcon:Pf,Fullscreen:qf,FullscreenIcon:qf,FunctionSquare:ts,FunctionSquareIcon:ts,GalleryHorizontal:Rf,GalleryHorizontalEnd:Tf,GalleryHorizontalEndIcon:Tf,GalleryHorizontalIcon:Rf,GalleryThumbnails:Df,GalleryThumbnailsIcon:Df,GalleryVertical:Ff,GalleryVerticalEnd:zf,GalleryVerticalEndIcon:zf,GalleryVerticalIcon:Ff,Gamepad:Hf,Gamepad2:Ef,Gamepad2Icon:Ef,GamepadIcon:Hf,GanttChart:Xr,GanttChartIcon:Xr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Of,GaugeCircle:pn,GaugeCircleIcon:pn,GaugeIcon:Of,Gavel:Vf,GavelIcon:Vf,Gem:Bf,GemIcon:Bf,Ghost:Uf,GhostIcon:Uf,Gift:$f,GiftIcon:$f,GitBranch:Wf,GitBranchIcon:Wf,GitBranchPlus:Gf,GitBranchPlusIcon:Gf,GitCommit:Wn,GitCommitHorizontal:Wn,GitCommitHorizontalIcon:Wn,GitCommitIcon:Wn,GitCommitVertical:Zf,GitCommitVerticalIcon:Zf,GitCompare:Jf,GitCompareArrows:Xf,GitCompareArrowsIcon:Xf,GitCompareIcon:Jf,GitFork:Yf,GitForkIcon:Yf,GitGraph:Kf,GitGraphIcon:Kf,GitMerge:Qf,GitMergeIcon:Qf,GitPullRequest:ix,GitPullRequestArrow:ex,GitPullRequestArrowIcon:ex,GitPullRequestClosed:tx,GitPullRequestClosedIcon:tx,GitPullRequestCreate:rx,GitPullRequestCreateArrow:ax,GitPullRequestCreateArrowIcon:ax,GitPullRequestCreateIcon:rx,GitPullRequestDraft:nx,GitPullRequestDraftIcon:nx,GitPullRequestIcon:ix,Github:sx,GithubIcon:sx,Gitlab:ox,GitlabIcon:ox,GlassWater:cx,GlassWaterIcon:cx,Glasses:lx,GlassesIcon:lx,Globe:Co,Globe2:Tn,Globe2Icon:Tn,GlobeIcon:Co,GlobeLock:dx,GlobeLockIcon:dx,Goal:hx,GoalIcon:hx,Grab:ux,GrabIcon:ux,GraduationCap:Lo,GraduationCapIcon:Lo,Grape:px,GrapeIcon:px,Grid:Jt,Grid2X2:Zn,Grid2X2Icon:Zn,Grid2x2:Zn,Grid2x2Check:yx,Grid2x2CheckIcon:yx,Grid2x2Icon:Zn,Grid2x2Plus:mx,Grid2x2PlusIcon:mx,Grid2x2X:fx,Grid2x2XIcon:fx,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:kx,GripHorizontal:xx,GripHorizontalIcon:xx,GripIcon:kx,GripVertical:gx,GripVerticalIcon:gx,Group:vx,GroupIcon:vx,Guitar:wx,GuitarIcon:wx,Ham:Mx,HamIcon:Mx,Hammer:bx,HammerIcon:bx,Hand:Ix,HandCoins:jx,HandCoinsIcon:jx,HandHeart:Cx,HandHeartIcon:Cx,HandHelping:Xn,HandHelpingIcon:Xn,HandIcon:Ix,HandMetal:Lx,HandMetalIcon:Lx,HandPlatter:Sx,HandPlatterIcon:Sx,Handshake:Nx,HandshakeIcon:Nx,HardDrive:Px,HardDriveDownload:Ax,HardDriveDownloadIcon:Ax,HardDriveIcon:Px,HardDriveUpload:_x,HardDriveUploadIcon:_x,HardHat:qx,HardHatIcon:qx,Hash:Tx,HashIcon:Tx,Haze:Rx,HazeIcon:Rx,HdmiPort:Dx,HdmiPortIcon:Dx,Heading:Bx,Heading1:zx,Heading1Icon:zx,Heading2:Fx,Heading2Icon:Fx,Heading3:Ex,Heading3Icon:Ex,Heading4:Hx,Heading4Icon:Hx,Heading5:Ox,Heading5Icon:Ox,Heading6:Vx,Heading6Icon:Vx,HeadingIcon:Bx,HeadphoneOff:Ux,HeadphoneOffIcon:Ux,Headphones:$x,HeadphonesIcon:$x,Headset:Gx,HeadsetIcon:Gx,Heart:So,HeartCrack:Wx,HeartCrackIcon:Wx,HeartHandshake:Zx,HeartHandshakeIcon:Zx,HeartIcon:So,HeartOff:Xx,HeartOffIcon:Xx,HeartPulse:Jx,HeartPulseIcon:Jx,Heater:Yx,HeaterIcon:Yx,HelpCircle:Wa,HelpCircleIcon:Wa,HelpingHand:Xn,HelpingHandIcon:Xn,Hexagon:Kx,HexagonIcon:Kx,Highlighter:Qx,HighlighterIcon:Qx,History:e4,HistoryIcon:e4,Home:Ma,HomeIcon:Ma,Hop:a4,HopIcon:a4,HopOff:t4,HopOffIcon:t4,Hospital:r4,HospitalIcon:r4,Hotel:n4,HotelIcon:n4,Hourglass:i4,HourglassIcon:i4,House:Ma,HouseIcon:Ma,HousePlug:s4,HousePlugIcon:s4,HousePlus:o4,HousePlusIcon:o4,IceCream:Yn,IceCream2:Jn,IceCream2Icon:Jn,IceCreamBowl:Jn,IceCreamBowlIcon:Jn,IceCreamCone:Yn,IceCreamConeIcon:Yn,IceCreamIcon:Yn,Icon:NS,IdCard:c4,IdCardIcon:c4,Image:m4,ImageDown:l4,ImageDownIcon:l4,ImageIcon:m4,ImageMinus:d4,ImageMinusIcon:d4,ImageOff:h4,ImageOffIcon:h4,ImagePlay:u4,ImagePlayIcon:u4,ImagePlus:p4,ImagePlusIcon:p4,ImageUp:y4,ImageUpIcon:y4,Images:f4,ImagesIcon:f4,Import:x4,ImportIcon:x4,Inbox:g4,InboxIcon:g4,Indent:Qn,IndentDecrease:Kn,IndentDecreaseIcon:Kn,IndentIcon:Qn,IndentIncrease:Qn,IndentIncreaseIcon:Qn,IndianRupee:k4,IndianRupeeIcon:k4,Infinity:v4,InfinityIcon:v4,Info:w4,InfoIcon:w4,Inspect:os,InspectIcon:os,InspectionPanel:M4,InspectionPanelIcon:M4,Instagram:b4,InstagramIcon:b4,Italic:j4,ItalicIcon:j4,IterationCcw:C4,IterationCcwIcon:C4,IterationCw:L4,IterationCwIcon:L4,JapaneseYen:S4,JapaneseYenIcon:S4,Joystick:I4,JoystickIcon:I4,Kanban:N4,KanbanIcon:N4,KanbanSquare:as,KanbanSquareDashed:Xi,KanbanSquareDashedIcon:Xi,KanbanSquareIcon:as,Key:P4,KeyIcon:P4,KeyRound:A4,KeyRoundIcon:A4,KeySquare:_4,KeySquareIcon:_4,Keyboard:R4,KeyboardIcon:R4,KeyboardMusic:q4,KeyboardMusicIcon:q4,KeyboardOff:T4,KeyboardOffIcon:T4,Lamp:O4,LampCeiling:D4,LampCeilingIcon:D4,LampDesk:z4,LampDeskIcon:z4,LampFloor:F4,LampFloorIcon:F4,LampIcon:O4,LampWallDown:E4,LampWallDownIcon:E4,LampWallUp:H4,LampWallUpIcon:H4,LandPlot:V4,LandPlotIcon:V4,Landmark:B4,LandmarkIcon:B4,Languages:U4,LanguagesIcon:U4,Laptop:$4,Laptop2:ei,Laptop2Icon:ei,LaptopIcon:$4,LaptopMinimal:ei,LaptopMinimalIcon:ei,Lasso:W4,LassoIcon:W4,LassoSelect:G4,LassoSelectIcon:G4,Laugh:Z4,LaughIcon:Z4,Layers:Y4,Layers2:X4,Layers2Icon:X4,Layers3:J4,Layers3Icon:J4,LayersIcon:Y4,Layout:xi,LayoutDashboard:bc,LayoutDashboardIcon:bc,LayoutGrid:K4,LayoutGridIcon:K4,LayoutIcon:xi,LayoutList:Q4,LayoutListIcon:Q4,LayoutPanelLeft:eg,LayoutPanelLeftIcon:eg,LayoutPanelTop:tg,LayoutPanelTopIcon:tg,LayoutTemplate:ag,LayoutTemplateIcon:ag,Leaf:rg,LeafIcon:rg,LeafyGreen:ng,LeafyGreenIcon:ng,Lectern:ig,LecternIcon:ig,LetterText:sg,LetterTextIcon:sg,Library:cg,LibraryBig:og,LibraryBigIcon:og,LibraryIcon:cg,LibrarySquare:rs,LibrarySquareIcon:rs,LifeBuoy:lg,LifeBuoyIcon:lg,Ligature:dg,LigatureIcon:dg,Lightbulb:ug,LightbulbIcon:ug,LightbulbOff:hg,LightbulbOffIcon:hg,LineChart:Wr,LineChartIcon:Wr,Link:jc,Link2:yg,Link2Icon:yg,Link2Off:pg,Link2OffIcon:pg,LinkIcon:jc,Linkedin:mg,LinkedinIcon:mg,List:Cc,ListCheck:fg,ListCheckIcon:fg,ListChecks:xg,ListChecksIcon:xg,ListCollapse:gg,ListCollapseIcon:gg,ListEnd:kg,ListEndIcon:kg,ListFilter:vg,ListFilterIcon:vg,ListIcon:Cc,ListMinus:wg,ListMinusIcon:wg,ListMusic:Mg,ListMusicIcon:Mg,ListOrdered:bg,ListOrderedIcon:bg,ListPlus:jg,ListPlusIcon:jg,ListRestart:Cg,ListRestartIcon:Cg,ListStart:Lg,ListStartIcon:Lg,ListTodo:Sg,ListTodoIcon:Sg,ListTree:Ig,ListTreeIcon:Ig,ListVideo:Ng,ListVideoIcon:Ng,ListX:Ag,ListXIcon:Ag,Loader:Pg,Loader2:ti,Loader2Icon:ti,LoaderCircle:ti,LoaderCircleIcon:ti,LoaderIcon:Pg,LoaderPinwheel:_g,LoaderPinwheelIcon:_g,Locate:Rg,LocateFixed:qg,LocateFixedIcon:qg,LocateIcon:Rg,LocateOff:Tg,LocateOffIcon:Tg,Lock:Lc,LockIcon:Lc,LockKeyhole:Dg,LockKeyholeIcon:Dg,LockKeyholeOpen:ai,LockKeyholeOpenIcon:ai,LockOpen:ri,LockOpenIcon:ri,LogIn:zg,LogInIcon:zg,LogOut:Sc,LogOutIcon:Sc,Logs:Fg,LogsIcon:Fg,Lollipop:Eg,LollipopIcon:Eg,LucideAArrowDown:x1,LucideAArrowUp:g1,LucideALargeSmall:k1,LucideAccessibility:v1,LucideActivity:w1,LucideActivitySquare:Ni,LucideAirVent:M1,LucideAirplay:b1,LucideAlarmCheck:jr,LucideAlarmClock:C1,LucideAlarmClockCheck:jr,LucideAlarmClockMinus:Cr,LucideAlarmClockOff:j1,LucideAlarmClockPlus:Lr,LucideAlarmMinus:Cr,LucideAlarmPlus:Lr,LucideAlarmSmoke:L1,LucideAlbum:S1,LucideAlertCircle:Nt,LucideAlertOctagon:si,LucideAlertTriangle:Ns,LucideAlignCenter:A1,LucideAlignCenterHorizontal:I1,LucideAlignCenterVertical:N1,LucideAlignEndHorizontal:_1,LucideAlignEndVertical:P1,LucideAlignHorizontalDistributeCenter:q1,LucideAlignHorizontalDistributeEnd:T1,LucideAlignHorizontalDistributeStart:R1,LucideAlignHorizontalJustifyCenter:D1,LucideAlignHorizontalJustifyEnd:z1,LucideAlignHorizontalJustifyStart:F1,LucideAlignHorizontalSpaceAround:E1,LucideAlignHorizontalSpaceBetween:H1,LucideAlignJustify:O1,LucideAlignLeft:V1,LucideAlignRight:B1,LucideAlignStartHorizontal:U1,LucideAlignStartVertical:$1,LucideAlignVerticalDistributeCenter:G1,LucideAlignVerticalDistributeEnd:W1,LucideAlignVerticalDistributeStart:Z1,LucideAlignVerticalJustifyCenter:X1,LucideAlignVerticalJustifyEnd:J1,LucideAlignVerticalJustifyStart:Y1,LucideAlignVerticalSpaceAround:K1,LucideAlignVerticalSpaceBetween:Q1,LucideAmbulance:el,LucideAmpersand:tl,LucideAmpersands:al,LucideAmphora:rl,LucideAnchor:nl,LucideAngry:il,LucideAnnoyed:sl,LucideAntenna:ol,LucideAnvil:cl,LucideAperture:ll,LucideAppWindow:hl,LucideAppWindowMac:dl,LucideApple:ul,LucideArchive:ml,LucideArchiveRestore:pl,LucideArchiveX:yl,LucideAreaChart:Hr,LucideArmchair:fl,LucideArrowBigDown:gl,LucideArrowBigDownDash:xl,LucideArrowBigLeft:vl,LucideArrowBigLeftDash:kl,LucideArrowBigRight:Ml,LucideArrowBigRightDash:wl,LucideArrowBigUp:jl,LucideArrowBigUpDash:bl,LucideArrowDown:Tl,LucideArrowDown01:Cl,LucideArrowDown10:Ll,LucideArrowDownAZ:Sr,LucideArrowDownAz:Sr,LucideArrowDownCircle:Kr,LucideArrowDownFromLine:Sl,LucideArrowDownLeft:Il,LucideArrowDownLeftFromCircle:en,LucideArrowDownLeftFromSquare:qi,LucideArrowDownLeftSquare:Ai,LucideArrowDownNarrowWide:Nl,LucideArrowDownRight:Al,LucideArrowDownRightFromCircle:tn,LucideArrowDownRightFromSquare:Ti,LucideArrowDownRightSquare:_i,LucideArrowDownSquare:Pi,LucideArrowDownToDot:_l,LucideArrowDownToLine:Pl,LucideArrowDownUp:ql,LucideArrowDownWideNarrow:Ir,LucideArrowDownZA:Nr,LucideArrowDownZa:Nr,LucideArrowLeft:Gs,LucideArrowLeftCircle:Qr,LucideArrowLeftFromLine:Rl,LucideArrowLeftRight:Dl,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:zl,LucideArrowRight:ko,LucideArrowRightCircle:nn,LucideArrowRightFromLine:Fl,LucideArrowRightLeft:El,LucideArrowRightSquare:ja,LucideArrowRightToLine:Hl,LucideArrowUp:Jl,LucideArrowUp01:Ol,LucideArrowUp10:Vl,LucideArrowUpAZ:Ar,LucideArrowUpAz:Ar,LucideArrowUpCircle:sn,LucideArrowUpDown:Bl,LucideArrowUpFromDot:Ul,LucideArrowUpFromLine:$l,LucideArrowUpLeft:Gl,LucideArrowUpLeftFromCircle:an,LucideArrowUpLeftFromSquare:Ri,LucideArrowUpLeftSquare:zi,LucideArrowUpNarrowWide:_r,LucideArrowUpRight:Wl,LucideArrowUpRightFromCircle:rn,LucideArrowUpRightFromSquare:Di,LucideArrowUpRightSquare:Fi,LucideArrowUpSquare:Ei,LucideArrowUpToLine:Zl,LucideArrowUpWideNarrow:Xl,LucideArrowUpZA:Pr,LucideArrowUpZa:Pr,LucideArrowsUpFromLine:Yl,LucideAsterisk:Kl,LucideAsteriskSquare:Hi,LucideAtSign:Ql,LucideAtom:ed,LucideAudioLines:td,LucideAudioWaveform:ad,LucideAward:La,LucideAxe:rd,LucideAxis3D:qr,LucideAxis3d:qr,LucideBaby:nd,LucideBackpack:id,LucideBadge:wd,LucideBadgeAlert:sd,LucideBadgeCent:od,LucideBadgeCheck:Tr,LucideBadgeDollarSign:cd,LucideBadgeEuro:ld,LucideBadgeHelp:dd,LucideBadgeIndianRupee:hd,LucideBadgeInfo:ud,LucideBadgeJapaneseYen:pd,LucideBadgeMinus:yd,LucideBadgePercent:md,LucideBadgePlus:fd,LucideBadgePoundSterling:xd,LucideBadgeRussianRuble:gd,LucideBadgeSwissFranc:kd,LucideBadgeX:vd,LucideBaggageClaim:Md,LucideBan:bd,LucideBanana:jd,LucideBandage:Cd,LucideBanknote:Ld,LucideBarChart:Ga,LucideBarChart2:Zr,LucideBarChart3:Gr,LucideBarChart4:$r,LucideBarChartBig:Ur,LucideBarChartHorizontal:Vr,LucideBarChartHorizontalBig:Or,LucideBarcode:Sd,LucideBaseline:Id,LucideBath:Nd,LucideBattery:Rd,LucideBatteryCharging:Ad,LucideBatteryFull:_d,LucideBatteryLow:Pd,LucideBatteryMedium:qd,LucideBatteryWarning:Td,LucideBeaker:Dd,LucideBean:Fd,LucideBeanOff:zd,LucideBed:Od,LucideBedDouble:Ed,LucideBedSingle:Hd,LucideBeef:Vd,LucideBeer:Ud,LucideBeerOff:Bd,LucideBell:vo,LucideBellDot:$d,LucideBellElectric:Gd,LucideBellMinus:Wd,LucideBellOff:Zd,LucideBellPlus:Xd,LucideBellRing:Jd,LucideBetweenHorizonalEnd:Rr,LucideBetweenHorizonalStart:Dr,LucideBetweenHorizontalEnd:Rr,LucideBetweenHorizontalStart:Dr,LucideBetweenVerticalEnd:Yd,LucideBetweenVerticalStart:Kd,LucideBicepsFlexed:Qd,LucideBike:e2,LucideBinary:t2,LucideBinoculars:a2,LucideBiohazard:r2,LucideBird:n2,LucideBitcoin:i2,LucideBlend:s2,LucideBlinds:o2,LucideBlocks:c2,LucideBluetooth:u2,LucideBluetoothConnected:l2,LucideBluetoothOff:d2,LucideBluetoothSearching:h2,LucideBold:p2,LucideBolt:y2,LucideBomb:m2,LucideBone:f2,LucideBook:F2,LucideBookA:x2,LucideBookAudio:g2,LucideBookCheck:k2,LucideBookCopy:v2,LucideBookDashed:zr,LucideBookDown:w2,LucideBookHeadphones:M2,LucideBookHeart:b2,LucideBookImage:j2,LucideBookKey:C2,LucideBookLock:L2,LucideBookMarked:S2,LucideBookMinus:I2,LucideBookOpen:Wt,LucideBookOpenCheck:N2,LucideBookOpenText:A2,LucideBookPlus:_2,LucideBookTemplate:zr,LucideBookText:P2,LucideBookType:q2,LucideBookUp:R2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:z2,LucideBookmark:Qa,LucideBookmarkCheck:da,LucideBookmarkMinus:E2,LucideBookmarkPlus:pc,LucideBookmarkX:H2,LucideBoomBox:O2,LucideBot:yc,LucideBotMessageSquare:V2,LucideBotOff:B2,LucideBox:U2,LucideBoxSelect:Yi,LucideBoxes:$2,LucideBraces:Fr,LucideBrackets:G2,LucideBrain:X2,LucideBrainCircuit:W2,LucideBrainCog:Z2,LucideBrickWall:J2,LucideBriefcase:vt,LucideBriefcaseBusiness:Y2,LucideBriefcaseConveyorBelt:K2,LucideBriefcaseMedical:Q2,LucideBringToFront:e0,LucideBrush:t0,LucideBug:n0,LucideBugOff:a0,LucideBugPlay:r0,LucideBuilding:wo,LucideBuilding2:mc,LucideBus:s0,LucideBusFront:i0,LucideCable:c0,LucideCableCar:o0,LucideCake:d0,LucideCakeSlice:l0,LucideCalculator:h0,LucideCalendar:fc,LucideCalendarArrowDown:u0,LucideCalendarArrowUp:p0,LucideCalendarCheck:m0,LucideCalendarCheck2:y0,LucideCalendarClock:f0,LucideCalendarCog:x0,LucideCalendarDays:g0,LucideCalendarFold:k0,LucideCalendarHeart:v0,LucideCalendarMinus:M0,LucideCalendarMinus2:w0,LucideCalendarOff:b0,LucideCalendarPlus:C0,LucideCalendarPlus2:j0,LucideCalendarRange:L0,LucideCalendarSearch:S0,LucideCalendarX:N0,LucideCalendarX2:I0,LucideCamera:_0,LucideCameraOff:A0,LucideCandlestickChart:Br,LucideCandy:T0,LucideCandyCane:P0,LucideCandyOff:q0,LucideCannabis:R0,LucideCaptions:Er,LucideCaptionsOff:D0,LucideCar:E0,LucideCarFront:z0,LucideCarTaxiFront:F0,LucideCaravan:H0,LucideCarrot:O0,LucideCaseLower:V0,LucideCaseSensitive:B0,LucideCaseUpper:U0,LucideCassetteTape:$0,LucideCast:G0,LucideCastle:W0,LucideCat:Z0,LucideCctv:X0,LucideChartArea:Hr,LucideChartBar:Vr,LucideChartBarBig:Or,LucideChartBarDecreasing:J0,LucideChartBarIncreasing:Y0,LucideChartBarStacked:K0,LucideChartCandlestick:Br,LucideChartColumn:Gr,LucideChartColumnBig:Ur,LucideChartColumnDecreasing:Q0,LucideChartColumnIncreasing:$r,LucideChartColumnStacked:eh,LucideChartGantt:th,LucideChartLine:Wr,LucideChartNetwork:ah,LucideChartNoAxesColumn:Zr,LucideChartNoAxesColumnDecreasing:rh,LucideChartNoAxesColumnIncreasing:Ga,LucideChartNoAxesCombined:nh,LucideChartNoAxesGantt:Xr,LucideChartPie:Jr,LucideChartScatter:Yr,LucideChartSpline:ih,LucideCheck:Mo,LucideCheckCheck:sh,LucideCheckCircle:At,LucideCheckCircle2:on,LucideCheckSquare:Vi,LucideCheckSquare2:Bi,LucideChefHat:oh,LucideCherry:ch,LucideChevronDown:Ws,LucideChevronDownCircle:cn,LucideChevronDownSquare:Ui,LucideChevronFirst:lh,LucideChevronLast:dh,LucideChevronLeft:Zs,LucideChevronLeftCircle:ln,LucideChevronLeftSquare:$i,LucideChevronRight:er,LucideChevronRightCircle:dn,LucideChevronRightSquare:Gi,LucideChevronUp:xc,LucideChevronUpCircle:hn,LucideChevronUpSquare:Wi,LucideChevronsDown:uh,LucideChevronsDownUp:hh,LucideChevronsLeft:mh,LucideChevronsLeftRight:yh,LucideChevronsLeftRightEllipsis:ph,LucideChevronsRight:xh,LucideChevronsRightLeft:fh,LucideChevronsUp:kh,LucideChevronsUpDown:gh,LucideChrome:vh,LucideChurch:wh,LucideCigarette:bh,LucideCigaretteOff:Mh,LucideCircle:Th,LucideCircleAlert:Nt,LucideCircleArrowDown:Kr,LucideCircleArrowLeft:Qr,LucideCircleArrowOutDownLeft:en,LucideCircleArrowOutDownRight:tn,LucideCircleArrowOutUpLeft:an,LucideCircleArrowOutUpRight:rn,LucideCircleArrowRight:nn,LucideCircleArrowUp:sn,LucideCircleCheck:on,LucideCircleCheckBig:At,LucideCircleChevronDown:cn,LucideCircleChevronLeft:ln,LucideCircleChevronRight:dn,LucideCircleChevronUp:hn,LucideCircleDashed:jh,LucideCircleDivide:un,LucideCircleDollarSign:Ch,LucideCircleDot:Sh,LucideCircleDotDashed:Lh,LucideCircleEllipsis:Ih,LucideCircleEqual:Nh,LucideCircleFadingArrowUp:Ah,LucideCircleFadingPlus:_h,LucideCircleGauge:pn,LucideCircleHelp:Wa,LucideCircleMinus:yn,LucideCircleOff:Ph,LucideCircleParking:fn,LucideCircleParkingOff:mn,LucideCirclePause:xn,LucideCirclePercent:gn,LucideCirclePlay:kn,LucideCirclePlus:vn,LucideCirclePower:wn,LucideCircleSlash:qh,LucideCircleSlash2:Mn,LucideCircleSlashed:Mn,LucideCircleStop:bn,LucideCircleUser:Cn,LucideCircleUserRound:jn,LucideCircleX:ia,LucideCircuitBoard:Rh,LucideCitrus:Dh,LucideClapperboard:zh,LucideClipboard:Gh,LucideClipboardCheck:Fh,LucideClipboardCopy:Eh,LucideClipboardEdit:Sn,LucideClipboardList:Hh,LucideClipboardMinus:Oh,LucideClipboardPaste:Vh,LucideClipboardPen:Sn,LucideClipboardPenLine:Ln,LucideClipboardPlus:Bh,LucideClipboardSignature:Ln,LucideClipboardType:Uh,LucideClipboardX:$h,LucideClock:Qt,LucideClock1:Wh,LucideClock10:Zh,LucideClock11:Xh,LucideClock12:Jh,LucideClock2:Yh,LucideClock3:Kh,LucideClock4:Qh,LucideClock5:eu,LucideClock6:tu,LucideClock7:au,LucideClock8:ru,LucideClock9:nu,LucideClockAlert:iu,LucideClockArrowDown:su,LucideClockArrowUp:ou,LucideCloud:wu,LucideCloudCog:cu,LucideCloudDownload:In,LucideCloudDrizzle:lu,LucideCloudFog:du,LucideCloudHail:hu,LucideCloudLightning:uu,LucideCloudMoon:yu,LucideCloudMoonRain:pu,LucideCloudOff:mu,LucideCloudRain:xu,LucideCloudRainWind:fu,LucideCloudSnow:gu,LucideCloudSun:vu,LucideCloudSunRain:ku,LucideCloudUpload:Za,LucideCloudy:Mu,LucideClover:bu,LucideClub:ju,LucideCode:Cu,LucideCode2:Nn,LucideCodeSquare:Zi,LucideCodeXml:Nn,LucideCodepen:Lu,LucideCodesandbox:Su,LucideCoffee:Iu,LucideCog:Nu,LucideCoins:Au,LucideColumns:An,LucideColumns2:An,LucideColumns3:_n,LucideColumns4:_u,LucideCombine:Pu,LucideCommand:qu,LucideCompass:Tu,LucideComponent:Ru,LucideComputer:Du,LucideConciergeBell:zu,LucideCone:Fu,LucideConstruction:Eu,LucideContact:Hu,LucideContact2:Pn,LucideContactRound:Pn,LucideContainer:Ou,LucideContrast:Vu,LucideCookie:Bu,LucideCookingPot:Uu,LucideCopy:Ju,LucideCopyCheck:$u,LucideCopyMinus:Gu,LucideCopyPlus:Wu,LucideCopySlash:Zu,LucideCopyX:Xu,LucideCopyleft:Yu,LucideCopyright:Ku,LucideCornerDownLeft:Qu,LucideCornerDownRight:ep,LucideCornerLeftDown:tp,LucideCornerLeftUp:ap,LucideCornerRightDown:rp,LucideCornerRightUp:np,LucideCornerUpLeft:ip,LucideCornerUpRight:sp,LucideCpu:op,LucideCreativeCommons:cp,LucideCreditCard:gc,LucideCroissant:lp,LucideCrop:dp,LucideCross:hp,LucideCrosshair:up,LucideCrown:pp,LucideCuboid:yp,LucideCupSoda:mp,LucideCurlyBraces:Fr,LucideCurrency:fp,LucideCylinder:xp,LucideDam:gp,LucideDatabase:wp,LucideDatabaseBackup:kp,LucideDatabaseZap:vp,LucideDelete:Mp,LucideDessert:bp,LucideDiameter:jp,LucideDiamond:Sp,LucideDiamondMinus:Cp,LucideDiamondPercent:qn,LucideDiamondPlus:Lp,LucideDice1:Ip,LucideDice2:Np,LucideDice3:Ap,LucideDice4:_p,LucideDice5:Pp,LucideDice6:qp,LucideDices:Tp,LucideDiff:Rp,LucideDisc:Ep,LucideDisc2:Dp,LucideDisc3:zp,LucideDiscAlbum:Fp,LucideDivide:Hp,LucideDivideCircle:un,LucideDivideSquare:Ki,LucideDna:Vp,LucideDnaOff:Op,LucideDock:Bp,LucideDog:Up,LucideDollarSign:kc,LucideDonut:$p,LucideDoorClosed:Gp,LucideDoorOpen:Wp,LucideDot:Zp,LucideDotSquare:Qi,LucideDownload:Xp,LucideDownloadCloud:In,LucideDraftingCompass:Jp,LucideDrama:Yp,LucideDribbble:Kp,LucideDrill:Qp,LucideDroplet:ey,LucideDroplets:ty,LucideDrum:ay,LucideDrumstick:ry,LucideDumbbell:ny,LucideEar:sy,LucideEarOff:iy,LucideEarth:Tn,LucideEarthLock:oy,LucideEclipse:cy,LucideEdit:St,LucideEdit2:ki,LucideEdit3:gi,LucideEgg:hy,LucideEggFried:ly,LucideEggOff:dy,LucideEllipsis:Dn,LucideEllipsisVertical:Rn,LucideEqual:py,LucideEqualNot:uy,LucideEqualSquare:es,LucideEraser:yy,LucideEthernetPort:my,LucideEuro:fy,LucideExpand:xy,LucideExternalLink:Xs,LucideEye:bo,LucideEyeClosed:gy,LucideEyeOff:vc,LucideFacebook:ky,LucideFactory:vy,LucideFan:wy,LucideFastForward:My,LucideFeather:by,LucideFence:jy,LucideFerrisWheel:Cy,LucideFigma:Ly,LucideFile:Mm,LucideFileArchive:Sy,LucideFileAudio:Ny,LucideFileAudio2:Iy,LucideFileAxis3D:zn,LucideFileAxis3d:zn,LucideFileBadge:_y,LucideFileBadge2:Ay,LucideFileBarChart:Fn,LucideFileBarChart2:En,LucideFileBox:Py,LucideFileChartColumn:En,LucideFileChartColumnIncreasing:Fn,LucideFileChartLine:Hn,LucideFileChartPie:On,LucideFileCheck:Ty,LucideFileCheck2:qy,LucideFileClock:Ry,LucideFileCode:zy,LucideFileCode2:Dy,LucideFileCog:Vn,LucideFileCog2:Vn,LucideFileDiff:Fy,LucideFileDigit:Ey,LucideFileDown:Hy,LucideFileEdit:Un,LucideFileHeart:Oy,LucideFileImage:Vy,LucideFileInput:By,LucideFileJson:$y,LucideFileJson2:Uy,LucideFileKey:Wy,LucideFileKey2:Gy,LucideFileLineChart:Hn,LucideFileLock:Xy,LucideFileLock2:Zy,LucideFileMinus:Yy,LucideFileMinus2:Jy,LucideFileMusic:Ky,LucideFileOutput:Qy,LucideFilePen:Un,LucideFilePenLine:Bn,LucideFilePieChart:On,LucideFilePlus:tm,LucideFilePlus2:em,LucideFileQuestion:am,LucideFileScan:rm,LucideFileSearch:im,LucideFileSearch2:nm,LucideFileSignature:Bn,LucideFileSliders:sm,LucideFileSpreadsheet:om,LucideFileStack:cm,LucideFileSymlink:lm,LucideFileTerminal:dm,LucideFileText:wc,LucideFileType:um,LucideFileType2:hm,LucideFileUp:pm,LucideFileUser:ym,LucideFileVideo:fm,LucideFileVideo2:mm,LucideFileVolume:gm,LucideFileVolume2:xm,LucideFileWarning:km,LucideFileX:wm,LucideFileX2:vm,LucideFiles:bm,LucideFilm:jm,LucideFilter:jo,LucideFilterX:Cm,LucideFingerprint:Lm,LucideFireExtinguisher:Sm,LucideFish:Am,LucideFishOff:Im,LucideFishSymbol:Nm,LucideFlag:Mc,LucideFlagOff:_m,LucideFlagTriangleLeft:Pm,LucideFlagTriangleRight:qm,LucideFlame:Rm,LucideFlameKindling:Tm,LucideFlashlight:zm,LucideFlashlightOff:Dm,LucideFlaskConical:Em,LucideFlaskConicalOff:Fm,LucideFlaskRound:Hm,LucideFlipHorizontal:Vm,LucideFlipHorizontal2:Om,LucideFlipVertical:Um,LucideFlipVertical2:Bm,LucideFlower:Gm,LucideFlower2:$m,LucideFocus:Wm,LucideFoldHorizontal:Zm,LucideFoldVertical:Xm,LucideFolder:jf,LucideFolderArchive:Jm,LucideFolderCheck:Ym,LucideFolderClock:Km,LucideFolderClosed:Qm,LucideFolderCode:ef,LucideFolderCog:$n,LucideFolderCog2:$n,LucideFolderDot:tf,LucideFolderDown:af,LucideFolderEdit:Gn,LucideFolderGit:nf,LucideFolderGit2:rf,LucideFolderHeart:sf,LucideFolderInput:of,LucideFolderKanban:cf,LucideFolderKey:lf,LucideFolderLock:df,LucideFolderMinus:hf,LucideFolderOpen:pf,LucideFolderOpenDot:uf,LucideFolderOutput:yf,LucideFolderPen:Gn,LucideFolderPlus:mf,LucideFolderRoot:ff,LucideFolderSearch:gf,LucideFolderSearch2:xf,LucideFolderSymlink:kf,LucideFolderSync:vf,LucideFolderTree:wf,LucideFolderUp:Mf,LucideFolderX:bf,LucideFolders:Cf,LucideFootprints:Lf,LucideForkKnife:Hs,LucideForkKnifeCrossed:Es,LucideForklift:Sf,LucideFormInput:wi,LucideForward:If,LucideFrame:Nf,LucideFramer:Af,LucideFrown:_f,LucideFuel:Pf,LucideFullscreen:qf,LucideFunctionSquare:ts,LucideGalleryHorizontal:Rf,LucideGalleryHorizontalEnd:Tf,LucideGalleryThumbnails:Df,LucideGalleryVertical:Ff,LucideGalleryVerticalEnd:zf,LucideGamepad:Hf,LucideGamepad2:Ef,LucideGanttChart:Xr,LucideGanttChartSquare:ra,LucideGauge:Of,LucideGaugeCircle:pn,LucideGavel:Vf,LucideGem:Bf,LucideGhost:Uf,LucideGift:$f,LucideGitBranch:Wf,LucideGitBranchPlus:Gf,LucideGitCommit:Wn,LucideGitCommitHorizontal:Wn,LucideGitCommitVertical:Zf,LucideGitCompare:Jf,LucideGitCompareArrows:Xf,LucideGitFork:Yf,LucideGitGraph:Kf,LucideGitMerge:Qf,LucideGitPullRequest:ix,LucideGitPullRequestArrow:ex,LucideGitPullRequestClosed:tx,LucideGitPullRequestCreate:rx,LucideGitPullRequestCreateArrow:ax,LucideGitPullRequestDraft:nx,LucideGithub:sx,LucideGitlab:ox,LucideGlassWater:cx,LucideGlasses:lx,LucideGlobe:Co,LucideGlobe2:Tn,LucideGlobeLock:dx,LucideGoal:hx,LucideGrab:ux,LucideGraduationCap:Lo,LucideGrape:px,LucideGrid:Jt,LucideGrid2X2:Zn,LucideGrid2x2:Zn,LucideGrid2x2Check:yx,LucideGrid2x2Plus:mx,LucideGrid2x2X:fx,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:kx,LucideGripHorizontal:xx,LucideGripVertical:gx,LucideGroup:vx,LucideGuitar:wx,LucideHam:Mx,LucideHammer:bx,LucideHand:Ix,LucideHandCoins:jx,LucideHandHeart:Cx,LucideHandHelping:Xn,LucideHandMetal:Lx,LucideHandPlatter:Sx,LucideHandshake:Nx,LucideHardDrive:Px,LucideHardDriveDownload:Ax,LucideHardDriveUpload:_x,LucideHardHat:qx,LucideHash:Tx,LucideHaze:Rx,LucideHdmiPort:Dx,LucideHeading:Bx,LucideHeading1:zx,LucideHeading2:Fx,LucideHeading3:Ex,LucideHeading4:Hx,LucideHeading5:Ox,LucideHeading6:Vx,LucideHeadphoneOff:Ux,LucideHeadphones:$x,LucideHeadset:Gx,LucideHeart:So,LucideHeartCrack:Wx,LucideHeartHandshake:Zx,LucideHeartOff:Xx,LucideHeartPulse:Jx,LucideHeater:Yx,LucideHelpCircle:Wa,LucideHelpingHand:Xn,LucideHexagon:Kx,LucideHighlighter:Qx,LucideHistory:e4,LucideHome:Ma,LucideHop:a4,LucideHopOff:t4,LucideHospital:r4,LucideHotel:n4,LucideHourglass:i4,LucideHouse:Ma,LucideHousePlug:s4,LucideHousePlus:o4,LucideIceCream:Yn,LucideIceCream2:Jn,LucideIceCreamBowl:Jn,LucideIceCreamCone:Yn,LucideIdCard:c4,LucideImage:m4,LucideImageDown:l4,LucideImageMinus:d4,LucideImageOff:h4,LucideImagePlay:u4,LucideImagePlus:p4,LucideImageUp:y4,LucideImages:f4,LucideImport:x4,LucideInbox:g4,LucideIndent:Qn,LucideIndentDecrease:Kn,LucideIndentIncrease:Qn,LucideIndianRupee:k4,LucideInfinity:v4,LucideInfo:w4,LucideInspect:os,LucideInspectionPanel:M4,LucideInstagram:b4,LucideItalic:j4,LucideIterationCcw:C4,LucideIterationCw:L4,LucideJapaneseYen:S4,LucideJoystick:I4,LucideKanban:N4,LucideKanbanSquare:as,LucideKanbanSquareDashed:Xi,LucideKey:P4,LucideKeyRound:A4,LucideKeySquare:_4,LucideKeyboard:R4,LucideKeyboardMusic:q4,LucideKeyboardOff:T4,LucideLamp:O4,LucideLampCeiling:D4,LucideLampDesk:z4,LucideLampFloor:F4,LucideLampWallDown:E4,LucideLampWallUp:H4,LucideLandPlot:V4,LucideLandmark:B4,LucideLanguages:U4,LucideLaptop:$4,LucideLaptop2:ei,LucideLaptopMinimal:ei,LucideLasso:W4,LucideLassoSelect:G4,LucideLaugh:Z4,LucideLayers:Y4,LucideLayers2:X4,LucideLayers3:J4,LucideLayout:xi,LucideLayoutDashboard:bc,LucideLayoutGrid:K4,LucideLayoutList:Q4,LucideLayoutPanelLeft:eg,LucideLayoutPanelTop:tg,LucideLayoutTemplate:ag,LucideLeaf:rg,LucideLeafyGreen:ng,LucideLectern:ig,LucideLetterText:sg,LucideLibrary:cg,LucideLibraryBig:og,LucideLibrarySquare:rs,LucideLifeBuoy:lg,LucideLigature:dg,LucideLightbulb:ug,LucideLightbulbOff:hg,LucideLineChart:Wr,LucideLink:jc,LucideLink2:yg,LucideLink2Off:pg,LucideLinkedin:mg,LucideList:Cc,LucideListCheck:fg,LucideListChecks:xg,LucideListCollapse:gg,LucideListEnd:kg,LucideListFilter:vg,LucideListMinus:wg,LucideListMusic:Mg,LucideListOrdered:bg,LucideListPlus:jg,LucideListRestart:Cg,LucideListStart:Lg,LucideListTodo:Sg,LucideListTree:Ig,LucideListVideo:Ng,LucideListX:Ag,LucideLoader:Pg,LucideLoader2:ti,LucideLoaderCircle:ti,LucideLoaderPinwheel:_g,LucideLocate:Rg,LucideLocateFixed:qg,LucideLocateOff:Tg,LucideLock:Lc,LucideLockKeyhole:Dg,LucideLockKeyholeOpen:ai,LucideLockOpen:ri,LucideLogIn:zg,LucideLogOut:Sc,LucideLogs:Fg,LucideLollipop:Eg,LucideLuggage:Hg,LucideMSquare:ns,LucideMagnet:Og,LucideMail:ha,LucideMailCheck:Vg,LucideMailMinus:Bg,LucideMailOpen:Ug,LucideMailPlus:$g,LucideMailQuestion:Gg,LucideMailSearch:Wg,LucideMailWarning:Zg,LucideMailX:Xg,LucideMailbox:Jg,LucideMails:Yg,LucideMap:lk,LucideMapPin:Zt,LucideMapPinCheck:Qg,LucideMapPinCheckInside:Kg,LucideMapPinHouse:ek,LucideMapPinMinus:ak,LucideMapPinMinusInside:tk,LucideMapPinOff:rk,LucideMapPinPlus:ik,LucideMapPinPlusInside:nk,LucideMapPinX:ok,LucideMapPinXInside:sk,LucideMapPinned:ck,LucideMartini:dk,LucideMaximize:uk,LucideMaximize2:hk,LucideMedal:pk,LucideMegaphone:mk,LucideMegaphoneOff:yk,LucideMeh:fk,LucideMemoryStick:xk,LucideMenu:Io,LucideMenuSquare:is,LucideMerge:gk,LucideMessageCircle:Nk,LucideMessageCircleCode:kk,LucideMessageCircleDashed:vk,LucideMessageCircleHeart:wk,LucideMessageCircleMore:Mk,LucideMessageCircleOff:bk,LucideMessageCirclePlus:jk,LucideMessageCircleQuestion:Ck,LucideMessageCircleReply:Lk,LucideMessageCircleWarning:Sk,LucideMessageCircleX:Ik,LucideMessageSquare:No,LucideMessageSquareCode:Ak,LucideMessageSquareDashed:_k,LucideMessageSquareDiff:Pk,LucideMessageSquareDot:qk,LucideMessageSquareHeart:Tk,LucideMessageSquareLock:Rk,LucideMessageSquareMore:Dk,LucideMessageSquareOff:zk,LucideMessageSquarePlus:Fk,LucideMessageSquareQuote:Ek,LucideMessageSquareReply:Hk,LucideMessageSquareShare:Ok,LucideMessageSquareText:Vk,LucideMessageSquareWarning:Bk,LucideMessageSquareX:Uk,LucideMessagesSquare:$k,LucideMic:Wk,LucideMic2:ni,LucideMicOff:Gk,LucideMicVocal:ni,LucideMicrochip:Zk,LucideMicroscope:Xk,LucideMicrowave:Jk,LucideMilestone:Yk,LucideMilk:Qk,LucideMilkOff:Kk,LucideMinimize:t5,LucideMinimize2:e5,LucideMinus:Ic,LucideMinusCircle:yn,LucideMinusSquare:ss,LucideMonitor:y5,LucideMonitorCheck:a5,LucideMonitorCog:r5,LucideMonitorDot:n5,LucideMonitorDown:i5,LucideMonitorOff:s5,LucideMonitorPause:o5,LucideMonitorPlay:c5,LucideMonitorSmartphone:l5,LucideMonitorSpeaker:d5,LucideMonitorStop:h5,LucideMonitorUp:u5,LucideMonitorX:p5,LucideMoon:f5,LucideMoonStar:m5,LucideMoreHorizontal:Dn,LucideMoreVertical:Rn,LucideMountain:g5,LucideMountainSnow:x5,LucideMouse:j5,LucideMouseOff:k5,LucideMousePointer:b5,LucideMousePointer2:v5,LucideMousePointerBan:w5,LucideMousePointerClick:M5,LucideMousePointerSquareDashed:Ji,LucideMove:z5,LucideMove3D:ii,LucideMove3d:ii,LucideMoveDiagonal:L5,LucideMoveDiagonal2:C5,LucideMoveDown:N5,LucideMoveDownLeft:S5,LucideMoveDownRight:I5,LucideMoveHorizontal:A5,LucideMoveLeft:_5,LucideMoveRight:P5,LucideMoveUp:R5,LucideMoveUpLeft:q5,LucideMoveUpRight:T5,LucideMoveVertical:D5,LucideMusic:O5,LucideMusic2:F5,LucideMusic3:E5,LucideMusic4:H5,LucideNavigation:$5,LucideNavigation2:B5,LucideNavigation2Off:V5,LucideNavigationOff:U5,LucideNetwork:G5,LucideNewspaper:Sa,LucideNfc:W5,LucideNotebook:Y5,LucideNotebookPen:Z5,LucideNotebookTabs:X5,LucideNotebookText:J5,LucideNotepadText:Q5,LucideNotepadTextDashed:K5,LucideNut:t3,LucideNutOff:e3,LucideOctagon:r3,LucideOctagonAlert:si,LucideOctagonMinus:a3,LucideOctagonPause:oi,LucideOctagonX:ci,LucideOmega:n3,LucideOption:i3,LucideOrbit:s3,LucideOrigami:o3,LucideOutdent:Kn,LucidePackage:m3,LucidePackage2:c3,LucidePackageCheck:l3,LucidePackageMinus:d3,LucidePackageOpen:h3,LucidePackagePlus:u3,LucidePackageSearch:p3,LucidePackageX:y3,LucidePaintBucket:f3,LucidePaintRoller:x3,LucidePaintbrush:g3,LucidePaintbrush2:li,LucidePaintbrushVertical:li,LucidePalette:k3,LucidePalmtree:Is,LucidePanelBottom:M3,LucidePanelBottomClose:v3,LucidePanelBottomDashed:di,LucidePanelBottomInactive:di,LucidePanelBottomOpen:w3,LucidePanelLeft:yi,LucidePanelLeftClose:hi,LucidePanelLeftDashed:ui,LucidePanelLeftInactive:ui,LucidePanelLeftOpen:pi,LucidePanelRight:C3,LucidePanelRightClose:b3,LucidePanelRightDashed:mi,LucidePanelRightInactive:mi,LucidePanelRightOpen:j3,LucidePanelTop:I3,LucidePanelTopClose:L3,LucidePanelTopDashed:fi,LucidePanelTopInactive:fi,LucidePanelTopOpen:S3,LucidePanelsLeftBottom:N3,LucidePanelsLeftRight:_n,LucidePanelsRightBottom:A3,LucidePanelsTopBottom:ji,LucidePanelsTopLeft:xi,LucidePaperclip:_3,LucideParentheses:P3,LucideParkingCircle:fn,LucideParkingCircleOff:mn,LucideParkingMeter:q3,LucideParkingSquare:ls,LucideParkingSquareOff:cs,LucidePartyPopper:T3,LucidePause:R3,LucidePauseCircle:xn,LucidePauseOctagon:oi,LucidePawPrint:D3,LucidePcCase:z3,LucidePen:ki,LucidePenBox:St,LucidePenLine:gi,LucidePenOff:F3,LucidePenSquare:St,LucidePenTool:E3,LucidePencil:B3,LucidePencilLine:H3,LucidePencilOff:O3,LucidePencilRuler:V3,LucidePentagon:U3,LucidePercent:$3,LucidePercentCircle:gn,LucidePercentDiamond:qn,LucidePercentSquare:ds,LucidePersonStanding:G3,LucidePhilippinePeso:W3,LucidePhone:Js,LucidePhoneCall:Z3,LucidePhoneForwarded:X3,LucidePhoneIncoming:J3,LucidePhoneMissed:Y3,LucidePhoneOff:K3,LucidePhoneOutgoing:Q3,LucidePi:ev,LucidePiSquare:hs,LucidePiano:tv,LucidePickaxe:av,LucidePictureInPicture:nv,LucidePictureInPicture2:rv,LucidePieChart:Jr,LucidePiggyBank:iv,LucidePilcrow:cv,LucidePilcrowLeft:sv,LucidePilcrowRight:ov,LucidePilcrowSquare:us,LucidePill:dv,LucidePillBottle:lv,LucidePin:uv,LucidePinOff:hv,LucidePipette:pv,LucidePizza:yv,LucidePlane:xv,LucidePlaneLanding:mv,LucidePlaneTakeoff:fv,LucidePlay:Nc,LucidePlayCircle:kn,LucidePlaySquare:ps,LucidePlug:kv,LucidePlug2:gv,LucidePlugZap:vi,LucidePlugZap2:vi,LucidePlus:Ao,LucidePlusCircle:vn,LucidePlusSquare:ys,LucidePocket:wv,LucidePocketKnife:vv,LucidePodcast:Mv,LucidePointer:jv,LucidePointerOff:bv,LucidePopcorn:Cv,LucidePopsicle:Lv,LucidePoundSterling:Sv,LucidePower:Nv,LucidePowerCircle:wn,LucidePowerOff:Iv,LucidePowerSquare:ms,LucidePresentation:Av,LucidePrinter:Pv,LucidePrinterCheck:_v,LucideProjector:qv,LucideProportions:Tv,LucidePuzzle:Rv,LucidePyramid:Dv,LucideQrCode:zv,LucideQuote:_o,LucideRabbit:Fv,LucideRadar:Ev,LucideRadiation:Hv,LucideRadical:Ov,LucideRadio:Uv,LucideRadioReceiver:Vv,LucideRadioTower:Bv,LucideRadius:$v,LucideRailSymbol:Gv,LucideRainbow:Wv,LucideRat:Zv,LucideRatio:Xv,LucideReceipt:n6,LucideReceiptCent:Jv,LucideReceiptEuro:Yv,LucideReceiptIndianRupee:Kv,LucideReceiptJapaneseYen:Qv,LucideReceiptPoundSterling:e6,LucideReceiptRussianRuble:t6,LucideReceiptSwissFranc:a6,LucideReceiptText:r6,LucideRectangleEllipsis:wi,LucideRectangleHorizontal:i6,LucideRectangleVertical:s6,LucideRecycle:o6,LucideRedo:d6,LucideRedo2:c6,LucideRedoDot:l6,LucideRefreshCcw:u6,LucideRefreshCcwDot:h6,LucideRefreshCw:y6,LucideRefreshCwOff:p6,LucideRefrigerator:m6,LucideRegex:f6,LucideRemoveFormatting:x6,LucideRepeat:v6,LucideRepeat1:g6,LucideRepeat2:k6,LucideReplace:M6,LucideReplaceAll:w6,LucideReply:j6,LucideReplyAll:b6,LucideRewind:C6,LucideRibbon:L6,LucideRocket:S6,LucideRockingChair:I6,LucideRollerCoaster:N6,LucideRotate3D:Mi,LucideRotate3d:Mi,LucideRotateCcw:_6,LucideRotateCcwSquare:A6,LucideRotateCw:q6,LucideRotateCwSquare:P6,LucideRoute:R6,LucideRouteOff:T6,LucideRouter:D6,LucideRows:bi,LucideRows2:bi,LucideRows3:ji,LucideRows4:z6,LucideRss:F6,LucideRuler:E6,LucideRussianRuble:H6,LucideSailboat:O6,LucideSalad:V6,LucideSandwich:B6,LucideSatellite:$6,LucideSatelliteDish:U6,LucideSave:Z6,LucideSaveAll:G6,LucideSaveOff:W6,LucideScale:X6,LucideScale3D:Ci,LucideScale3d:Ci,LucideScaling:J6,LucideScan:n8,LucideScanBarcode:Y6,LucideScanEye:K6,LucideScanFace:Q6,LucideScanLine:e8,LucideScanQrCode:t8,LucideScanSearch:a8,LucideScanText:r8,LucideScatterChart:Yr,LucideSchool:i8,LucideSchool2:_s,LucideScissors:o8,LucideScissorsLineDashed:s8,LucideScissorsSquare:fs,LucideScissorsSquareDashedBottom:Oi,LucideScreenShare:l8,LucideScreenShareOff:c8,LucideScroll:h8,LucideScrollText:d8,LucideSearch:Xt,LucideSearchCheck:u8,LucideSearchCode:p8,LucideSearchSlash:y8,LucideSearchX:m8,LucideSection:f8,LucideSend:Ac,LucideSendHorizonal:Li,LucideSendHorizontal:Li,LucideSendToBack:x8,LucideSeparatorHorizontal:g8,LucideSeparatorVertical:k8,LucideServer:b8,LucideServerCog:v8,LucideServerCrash:w8,LucideServerOff:M8,LucideSettings:Po,LucideSettings2:j8,LucideShapes:C8,LucideShare:L8,LucideShare2:qo,LucideSheet:S8,LucideShell:I8,LucideShield:Pc,LucideShieldAlert:N8,LucideShieldBan:A8,LucideShieldCheck:_c,LucideShieldClose:Si,LucideShieldEllipsis:_8,LucideShieldHalf:P8,LucideShieldMinus:q8,LucideShieldOff:T8,LucideShieldPlus:R8,LucideShieldQuestion:D8,LucideShieldX:Si,LucideShip:F8,LucideShipWheel:z8,LucideShirt:E8,LucideShoppingBag:H8,LucideShoppingBasket:O8,LucideShoppingCart:To,LucideShovel:V8,LucideShowerHead:B8,LucideShrink:U8,LucideShrub:$8,LucideShuffle:G8,LucideSidebar:yi,LucideSidebarClose:hi,LucideSidebarOpen:pi,LucideSigma:W8,LucideSigmaSquare:xs,LucideSignal:qc,LucideSignalHigh:Z8,LucideSignalLow:X8,LucideSignalMedium:J8,LucideSignalZero:Y8,LucideSignature:K8,LucideSignpost:e7,LucideSignpostBig:Q8,LucideSiren:t7,LucideSkipBack:a7,LucideSkipForward:r7,LucideSkull:n7,LucideSlack:i7,LucideSlash:s7,LucideSlashSquare:gs,LucideSlice:o7,LucideSliders:Ii,LucideSlidersHorizontal:tr,LucideSlidersVertical:Ii,LucideSmartphone:d7,LucideSmartphoneCharging:c7,LucideSmartphoneNfc:l7,LucideSmile:u7,LucideSmilePlus:h7,LucideSnail:p7,LucideSnowflake:y7,LucideSofa:m7,LucideSortAsc:_r,LucideSortDesc:Ir,LucideSoup:f7,LucideSpace:x7,LucideSpade:g7,LucideSparkle:k7,LucideSparkles:Xa,LucideSpeaker:v7,LucideSpeech:w7,LucideSpellCheck:b7,LucideSpellCheck2:M7,LucideSpline:j7,LucideSplit:C7,LucideSplitSquareHorizontal:ks,LucideSplitSquareVertical:vs,LucideSprayCan:L7,LucideSprout:S7,LucideSquare:q7,LucideSquareActivity:Ni,LucideSquareArrowDown:Pi,LucideSquareArrowDownLeft:Ai,LucideSquareArrowDownRight:_i,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:qi,LucideSquareArrowOutDownRight:Ti,LucideSquareArrowOutUpLeft:Ri,LucideSquareArrowOutUpRight:Di,LucideSquareArrowRight:ja,LucideSquareArrowUp:Ei,LucideSquareArrowUpLeft:zi,LucideSquareArrowUpRight:Fi,LucideSquareAsterisk:Hi,LucideSquareBottomDashedScissors:Oi,LucideSquareChartGantt:ra,LucideSquareCheck:Bi,LucideSquareCheckBig:Vi,LucideSquareChevronDown:Ui,LucideSquareChevronLeft:$i,LucideSquareChevronRight:Gi,LucideSquareChevronUp:Wi,LucideSquareCode:Zi,LucideSquareDashed:Yi,LucideSquareDashedBottom:N7,LucideSquareDashedBottomCode:I7,LucideSquareDashedKanban:Xi,LucideSquareDashedMousePointer:Ji,LucideSquareDivide:Ki,LucideSquareDot:Qi,LucideSquareEqual:es,LucideSquareFunction:ts,LucideSquareGanttChart:ra,LucideSquareKanban:as,LucideSquareLibrary:rs,LucideSquareM:ns,LucideSquareMenu:is,LucideSquareMinus:ss,LucideSquareMousePointer:os,LucideSquareParking:ls,LucideSquareParkingOff:cs,LucideSquarePen:St,LucideSquarePercent:ds,LucideSquarePi:hs,LucideSquarePilcrow:us,LucideSquarePlay:ps,LucideSquarePlus:ys,LucideSquarePower:ms,LucideSquareRadical:A7,LucideSquareScissors:fs,LucideSquareSigma:xs,LucideSquareSlash:gs,LucideSquareSplitHorizontal:ks,LucideSquareSplitVertical:vs,LucideSquareSquare:_7,LucideSquareStack:P7,LucideSquareTerminal:ws,LucideSquareUser:bs,LucideSquareUserRound:Ms,LucideSquareX:js,LucideSquircle:T7,LucideSquirrel:R7,LucideStamp:D7,LucideStar:Ut,LucideStarHalf:z7,LucideStarOff:F7,LucideStars:Xa,LucideStepBack:E7,LucideStepForward:H7,LucideStethoscope:O7,LucideSticker:V7,LucideStickyNote:B7,LucideStopCircle:bn,LucideStore:U7,LucideStretchHorizontal:$7,LucideStretchVertical:G7,LucideStrikethrough:W7,LucideSubscript:Z7,LucideSubtitles:Er,LucideSun:Q7,LucideSunDim:X7,LucideSunMedium:J7,LucideSunMoon:Y7,LucideSunSnow:K7,LucideSunrise:ew,LucideSunset:tw,LucideSuperscript:aw,LucideSwatchBook:rw,LucideSwissFranc:nw,LucideSwitchCamera:iw,LucideSword:sw,LucideSwords:ow,LucideSyringe:cw,LucideTable:fw,LucideTable2:lw,LucideTableCellsMerge:dw,LucideTableCellsSplit:hw,LucideTableColumnsSplit:uw,LucideTableOfContents:pw,LucideTableProperties:yw,LucideTableRowsSplit:mw,LucideTablet:gw,LucideTabletSmartphone:xw,LucideTablets:kw,LucideTag:Tc,LucideTags:vw,LucideTally1:ww,LucideTally2:Mw,LucideTally3:bw,LucideTally4:jw,LucideTally5:Cw,LucideTangent:Lw,LucideTarget:Sw,LucideTelescope:Iw,LucideTent:Aw,LucideTentTree:Nw,LucideTerminal:_w,LucideTerminalSquare:ws,LucideTestTube:Pw,LucideTestTube2:Cs,LucideTestTubeDiagonal:Cs,LucideTestTubes:qw,LucideText:Fw,LucideTextCursor:Rw,LucideTextCursorInput:Tw,LucideTextQuote:Dw,LucideTextSearch:zw,LucideTextSelect:Ls,LucideTextSelection:Ls,LucideTheater:Ew,LucideThermometer:Vw,LucideThermometerSnowflake:Hw,LucideThermometerSun:Ow,LucideThumbsDown:Bw,LucideThumbsUp:Uw,LucideTicket:Yw,LucideTicketCheck:$w,LucideTicketMinus:Gw,LucideTicketPercent:Ww,LucideTicketPlus:Zw,LucideTicketSlash:Xw,LucideTicketX:Jw,LucideTickets:Qw,LucideTicketsPlane:Kw,LucideTimer:aM,LucideTimerOff:eM,LucideTimerReset:tM,LucideToggleLeft:rM,LucideToggleRight:nM,LucideTornado:iM,LucideTorus:sM,LucideTouchpad:cM,LucideTouchpadOff:oM,LucideTowerControl:lM,LucideToyBrick:dM,LucideTractor:hM,LucideTrafficCone:uM,LucideTrain:Ss,LucideTrainFront:yM,LucideTrainFrontTunnel:pM,LucideTrainTrack:mM,LucideTramFront:Ss,LucideTrash:fM,LucideTrash2:Ro,LucideTreeDeciduous:xM,LucideTreePalm:Is,LucideTreePine:gM,LucideTrees:kM,LucideTrello:vM,LucideTrendingDown:wM,LucideTrendingUp:Ys,LucideTrendingUpDown:MM,LucideTriangle:jM,LucideTriangleAlert:Ns,LucideTriangleRight:bM,LucideTrophy:CM,LucideTruck:LM,LucideTurtle:SM,LucideTv:NM,LucideTv2:As,LucideTvMinimal:As,LucideTvMinimalPlay:IM,LucideTwitch:AM,LucideTwitter:_M,LucideType:qM,LucideTypeOutline:PM,LucideUmbrella:RM,LucideUmbrellaOff:TM,LucideUnderline:DM,LucideUndo:EM,LucideUndo2:zM,LucideUndoDot:FM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:OM,LucideUngroup:VM,LucideUniversity:_s,LucideUnlink:UM,LucideUnlink2:BM,LucideUnlock:ri,LucideUnlockKeyhole:ai,LucideUnplug:$M,LucideUpload:Rc,LucideUploadCloud:Za,LucideUsb:GM,LucideUser:Dc,LucideUser2:zs,LucideUserCheck:WM,LucideUserCheck2:Ps,LucideUserCircle:Cn,LucideUserCircle2:jn,LucideUserCog:ZM,LucideUserCog2:qs,LucideUserMinus:XM,LucideUserMinus2:Ts,LucideUserPen:JM,LucideUserPlus:YM,LucideUserPlus2:Rs,LucideUserRound:zs,LucideUserRoundCheck:Ps,LucideUserRoundCog:qs,LucideUserRoundMinus:Ts,LucideUserRoundPen:KM,LucideUserRoundPlus:Rs,LucideUserRoundSearch:QM,LucideUserRoundX:Ds,LucideUserSearch:eb,LucideUserSquare:bs,LucideUserSquare2:Ms,LucideUserX:tb,LucideUserX2:Ds,LucideUsers:Ia,LucideUsers2:Fs,LucideUsersRound:Fs,LucideUtensils:Hs,LucideUtensilsCrossed:Es,LucideUtilityPole:ab,LucideVariable:rb,LucideVault:nb,LucideVegan:ib,LucideVenetianMask:sb,LucideVerified:Tr,LucideVibrate:cb,LucideVibrateOff:ob,LucideVideo:db,LucideVideoOff:lb,LucideVideotape:hb,LucideView:ub,LucideVoicemail:pb,LucideVolleyball:yb,LucideVolume:kb,LucideVolume1:mb,LucideVolume2:fb,LucideVolumeOff:xb,LucideVolumeX:gb,LucideVote:vb,LucideWallet:Mb,LucideWallet2:Os,LucideWalletCards:wb,LucideWalletMinimal:Os,LucideWallpaper:bb,LucideWand:jb,LucideWand2:Vs,LucideWandSparkles:Vs,LucideWarehouse:Cb,LucideWashingMachine:Lb,LucideWatch:Sb,LucideWaves:Ib,LucideWaypoints:Nb,LucideWebcam:Ab,LucideWebhook:Pb,LucideWebhookOff:_b,LucideWeight:qb,LucideWheat:Rb,LucideWheatOff:Tb,LucideWholeWord:Db,LucideWifi:Ob,LucideWifiHigh:zb,LucideWifiLow:Fb,LucideWifiOff:Eb,LucideWifiZero:Hb,LucideWind:Vb,LucideWine:Ub,LucideWineOff:Bb,LucideWorkflow:$b,LucideWorm:Gb,LucideWrapText:Wb,LucideWrench:Zb,LucideX:Rt,LucideXCircle:ia,LucideXOctagon:ci,LucideXSquare:js,LucideYoutube:Xb,LucideZap:Yb,LucideZapOff:Jb,LucideZoomIn:Kb,LucideZoomOut:Qb,Luggage:Hg,LuggageIcon:Hg,MSquare:ns,MSquareIcon:ns,Magnet:Og,MagnetIcon:Og,Mail:ha,MailCheck:Vg,MailCheckIcon:Vg,MailIcon:ha,MailMinus:Bg,MailMinusIcon:Bg,MailOpen:Ug,MailOpenIcon:Ug,MailPlus:$g,MailPlusIcon:$g,MailQuestion:Gg,MailQuestionIcon:Gg,MailSearch:Wg,MailSearchIcon:Wg,MailWarning:Zg,MailWarningIcon:Zg,MailX:Xg,MailXIcon:Xg,Mailbox:Jg,MailboxIcon:Jg,Mails:Yg,MailsIcon:Yg,Map:lk,MapIcon:lk,MapPin:Zt,MapPinCheck:Qg,MapPinCheckIcon:Qg,MapPinCheckInside:Kg,MapPinCheckInsideIcon:Kg,MapPinHouse:ek,MapPinHouseIcon:ek,MapPinIcon:Zt,MapPinMinus:ak,MapPinMinusIcon:ak,MapPinMinusInside:tk,MapPinMinusInsideIcon:tk,MapPinOff:rk,MapPinOffIcon:rk,MapPinPlus:ik,MapPinPlusIcon:ik,MapPinPlusInside:nk,MapPinPlusInsideIcon:nk,MapPinX:ok,MapPinXIcon:ok,MapPinXInside:sk,MapPinXInsideIcon:sk,MapPinned:ck,MapPinnedIcon:ck,Martini:dk,MartiniIcon:dk,Maximize:uk,Maximize2:hk,Maximize2Icon:hk,MaximizeIcon:uk,Medal:pk,MedalIcon:pk,Megaphone:mk,MegaphoneIcon:mk,MegaphoneOff:yk,MegaphoneOffIcon:yk,Meh:fk,MehIcon:fk,MemoryStick:xk,MemoryStickIcon:xk,Menu:Io,MenuIcon:Io,MenuSquare:is,MenuSquareIcon:is,Merge:gk,MergeIcon:gk,MessageCircle:Nk,MessageCircleCode:kk,MessageCircleCodeIcon:kk,MessageCircleDashed:vk,MessageCircleDashedIcon:vk,MessageCircleHeart:wk,MessageCircleHeartIcon:wk,MessageCircleIcon:Nk,MessageCircleMore:Mk,MessageCircleMoreIcon:Mk,MessageCircleOff:bk,MessageCircleOffIcon:bk,MessageCirclePlus:jk,MessageCirclePlusIcon:jk,MessageCircleQuestion:Ck,MessageCircleQuestionIcon:Ck,MessageCircleReply:Lk,MessageCircleReplyIcon:Lk,MessageCircleWarning:Sk,MessageCircleWarningIcon:Sk,MessageCircleX:Ik,MessageCircleXIcon:Ik,MessageSquare:No,MessageSquareCode:Ak,MessageSquareCodeIcon:Ak,MessageSquareDashed:_k,MessageSquareDashedIcon:_k,MessageSquareDiff:Pk,MessageSquareDiffIcon:Pk,MessageSquareDot:qk,MessageSquareDotIcon:qk,MessageSquareHeart:Tk,MessageSquareHeartIcon:Tk,MessageSquareIcon:No,MessageSquareLock:Rk,MessageSquareLockIcon:Rk,MessageSquareMore:Dk,MessageSquareMoreIcon:Dk,MessageSquareOff:zk,MessageSquareOffIcon:zk,MessageSquarePlus:Fk,MessageSquarePlusIcon:Fk,MessageSquareQuote:Ek,MessageSquareQuoteIcon:Ek,MessageSquareReply:Hk,MessageSquareReplyIcon:Hk,MessageSquareShare:Ok,MessageSquareShareIcon:Ok,MessageSquareText:Vk,MessageSquareTextIcon:Vk,MessageSquareWarning:Bk,MessageSquareWarningIcon:Bk,MessageSquareX:Uk,MessageSquareXIcon:Uk,MessagesSquare:$k,MessagesSquareIcon:$k,Mic:Wk,Mic2:ni,Mic2Icon:ni,MicIcon:Wk,MicOff:Gk,MicOffIcon:Gk,MicVocal:ni,MicVocalIcon:ni,Microchip:Zk,MicrochipIcon:Zk,Microscope:Xk,MicroscopeIcon:Xk,Microwave:Jk,MicrowaveIcon:Jk,Milestone:Yk,MilestoneIcon:Yk,Milk:Qk,MilkIcon:Qk,MilkOff:Kk,MilkOffIcon:Kk,Minimize:t5,Minimize2:e5,Minimize2Icon:e5,MinimizeIcon:t5,Minus:Ic,MinusCircle:yn,MinusCircleIcon:yn,MinusIcon:Ic,MinusSquare:ss,MinusSquareIcon:ss,Monitor:y5,MonitorCheck:a5,MonitorCheckIcon:a5,MonitorCog:r5,MonitorCogIcon:r5,MonitorDot:n5,MonitorDotIcon:n5,MonitorDown:i5,MonitorDownIcon:i5,MonitorIcon:y5,MonitorOff:s5,MonitorOffIcon:s5,MonitorPause:o5,MonitorPauseIcon:o5,MonitorPlay:c5,MonitorPlayIcon:c5,MonitorSmartphone:l5,MonitorSmartphoneIcon:l5,MonitorSpeaker:d5,MonitorSpeakerIcon:d5,MonitorStop:h5,MonitorStopIcon:h5,MonitorUp:u5,MonitorUpIcon:u5,MonitorX:p5,MonitorXIcon:p5,Moon:f5,MoonIcon:f5,MoonStar:m5,MoonStarIcon:m5,MoreHorizontal:Dn,MoreHorizontalIcon:Dn,MoreVertical:Rn,MoreVerticalIcon:Rn,Mountain:g5,MountainIcon:g5,MountainSnow:x5,MountainSnowIcon:x5,Mouse:j5,MouseIcon:j5,MouseOff:k5,MouseOffIcon:k5,MousePointer:b5,MousePointer2:v5,MousePointer2Icon:v5,MousePointerBan:w5,MousePointerBanIcon:w5,MousePointerClick:M5,MousePointerClickIcon:M5,MousePointerIcon:b5,MousePointerSquareDashed:Ji,MousePointerSquareDashedIcon:Ji,Move:z5,Move3D:ii,Move3DIcon:ii,Move3d:ii,Move3dIcon:ii,MoveDiagonal:L5,MoveDiagonal2:C5,MoveDiagonal2Icon:C5,MoveDiagonalIcon:L5,MoveDown:N5,MoveDownIcon:N5,MoveDownLeft:S5,MoveDownLeftIcon:S5,MoveDownRight:I5,MoveDownRightIcon:I5,MoveHorizontal:A5,MoveHorizontalIcon:A5,MoveIcon:z5,MoveLeft:_5,MoveLeftIcon:_5,MoveRight:P5,MoveRightIcon:P5,MoveUp:R5,MoveUpIcon:R5,MoveUpLeft:q5,MoveUpLeftIcon:q5,MoveUpRight:T5,MoveUpRightIcon:T5,MoveVertical:D5,MoveVerticalIcon:D5,Music:O5,Music2:F5,Music2Icon:F5,Music3:E5,Music3Icon:E5,Music4:H5,Music4Icon:H5,MusicIcon:O5,Navigation:$5,Navigation2:B5,Navigation2Icon:B5,Navigation2Off:V5,Navigation2OffIcon:V5,NavigationIcon:$5,NavigationOff:U5,NavigationOffIcon:U5,Network:G5,NetworkIcon:G5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:W5,NfcIcon:W5,Notebook:Y5,NotebookIcon:Y5,NotebookPen:Z5,NotebookPenIcon:Z5,NotebookTabs:X5,NotebookTabsIcon:X5,NotebookText:J5,NotebookTextIcon:J5,NotepadText:Q5,NotepadTextDashed:K5,NotepadTextDashedIcon:K5,NotepadTextIcon:Q5,Nut:t3,NutIcon:t3,NutOff:e3,NutOffIcon:e3,Octagon:r3,OctagonAlert:si,OctagonAlertIcon:si,OctagonIcon:r3,OctagonMinus:a3,OctagonMinusIcon:a3,OctagonPause:oi,OctagonPauseIcon:oi,OctagonX:ci,OctagonXIcon:ci,Omega:n3,OmegaIcon:n3,Option:i3,OptionIcon:i3,Orbit:s3,OrbitIcon:s3,Origami:o3,OrigamiIcon:o3,Outdent:Kn,OutdentIcon:Kn,Package:m3,Package2:c3,Package2Icon:c3,PackageCheck:l3,PackageCheckIcon:l3,PackageIcon:m3,PackageMinus:d3,PackageMinusIcon:d3,PackageOpen:h3,PackageOpenIcon:h3,PackagePlus:u3,PackagePlusIcon:u3,PackageSearch:p3,PackageSearchIcon:p3,PackageX:y3,PackageXIcon:y3,PaintBucket:f3,PaintBucketIcon:f3,PaintRoller:x3,PaintRollerIcon:x3,Paintbrush:g3,Paintbrush2:li,Paintbrush2Icon:li,PaintbrushIcon:g3,PaintbrushVertical:li,PaintbrushVerticalIcon:li,Palette:k3,PaletteIcon:k3,Palmtree:Is,PalmtreeIcon:Is,PanelBottom:M3,PanelBottomClose:v3,PanelBottomCloseIcon:v3,PanelBottomDashed:di,PanelBottomDashedIcon:di,PanelBottomIcon:M3,PanelBottomInactive:di,PanelBottomInactiveIcon:di,PanelBottomOpen:w3,PanelBottomOpenIcon:w3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftCloseIcon:hi,PanelLeftDashed:ui,PanelLeftDashedIcon:ui,PanelLeftIcon:yi,PanelLeftInactive:ui,PanelLeftInactiveIcon:ui,PanelLeftOpen:pi,PanelLeftOpenIcon:pi,PanelRight:C3,PanelRightClose:b3,PanelRightCloseIcon:b3,PanelRightDashed:mi,PanelRightDashedIcon:mi,PanelRightIcon:C3,PanelRightInactive:mi,PanelRightInactiveIcon:mi,PanelRightOpen:j3,PanelRightOpenIcon:j3,PanelTop:I3,PanelTopClose:L3,PanelTopCloseIcon:L3,PanelTopDashed:fi,PanelTopDashedIcon:fi,PanelTopIcon:I3,PanelTopInactive:fi,PanelTopInactiveIcon:fi,PanelTopOpen:S3,PanelTopOpenIcon:S3,PanelsLeftBottom:N3,PanelsLeftBottomIcon:N3,PanelsLeftRight:_n,PanelsLeftRightIcon:_n,PanelsRightBottom:A3,PanelsRightBottomIcon:A3,PanelsTopBottom:ji,PanelsTopBottomIcon:ji,PanelsTopLeft:xi,PanelsTopLeftIcon:xi,Paperclip:_3,PaperclipIcon:_3,Parentheses:P3,ParenthesesIcon:P3,ParkingCircle:fn,ParkingCircleIcon:fn,ParkingCircleOff:mn,ParkingCircleOffIcon:mn,ParkingMeter:q3,ParkingMeterIcon:q3,ParkingSquare:ls,ParkingSquareIcon:ls,ParkingSquareOff:cs,ParkingSquareOffIcon:cs,PartyPopper:T3,PartyPopperIcon:T3,Pause:R3,PauseCircle:xn,PauseCircleIcon:xn,PauseIcon:R3,PauseOctagon:oi,PauseOctagonIcon:oi,PawPrint:D3,PawPrintIcon:D3,PcCase:z3,PcCaseIcon:z3,Pen:ki,PenBox:St,PenBoxIcon:St,PenIcon:ki,PenLine:gi,PenLineIcon:gi,PenOff:F3,PenOffIcon:F3,PenSquare:St,PenSquareIcon:St,PenTool:E3,PenToolIcon:E3,Pencil:B3,PencilIcon:B3,PencilLine:H3,PencilLineIcon:H3,PencilOff:O3,PencilOffIcon:O3,PencilRuler:V3,PencilRulerIcon:V3,Pentagon:U3,PentagonIcon:U3,Percent:$3,PercentCircle:gn,PercentCircleIcon:gn,PercentDiamond:qn,PercentDiamondIcon:qn,PercentIcon:$3,PercentSquare:ds,PercentSquareIcon:ds,PersonStanding:G3,PersonStandingIcon:G3,PhilippinePeso:W3,PhilippinePesoIcon:W3,Phone:Js,PhoneCall:Z3,PhoneCallIcon:Z3,PhoneForwarded:X3,PhoneForwardedIcon:X3,PhoneIcon:Js,PhoneIncoming:J3,PhoneIncomingIcon:J3,PhoneMissed:Y3,PhoneMissedIcon:Y3,PhoneOff:K3,PhoneOffIcon:K3,PhoneOutgoing:Q3,PhoneOutgoingIcon:Q3,Pi:ev,PiIcon:ev,PiSquare:hs,PiSquareIcon:hs,Piano:tv,PianoIcon:tv,Pickaxe:av,PickaxeIcon:av,PictureInPicture:nv,PictureInPicture2:rv,PictureInPicture2Icon:rv,PictureInPictureIcon:nv,PieChart:Jr,PieChartIcon:Jr,PiggyBank:iv,PiggyBankIcon:iv,Pilcrow:cv,PilcrowIcon:cv,PilcrowLeft:sv,PilcrowLeftIcon:sv,PilcrowRight:ov,PilcrowRightIcon:ov,PilcrowSquare:us,PilcrowSquareIcon:us,Pill:dv,PillBottle:lv,PillBottleIcon:lv,PillIcon:dv,Pin:uv,PinIcon:uv,PinOff:hv,PinOffIcon:hv,Pipette:pv,PipetteIcon:pv,Pizza:yv,PizzaIcon:yv,Plane:xv,PlaneIcon:xv,PlaneLanding:mv,PlaneLandingIcon:mv,PlaneTakeoff:fv,PlaneTakeoffIcon:fv,Play:Nc,PlayCircle:kn,PlayCircleIcon:kn,PlayIcon:Nc,PlaySquare:ps,PlaySquareIcon:ps,Plug:kv,Plug2:gv,Plug2Icon:gv,PlugIcon:kv,PlugZap:vi,PlugZap2:vi,PlugZap2Icon:vi,PlugZapIcon:vi,Plus:Ao,PlusCircle:vn,PlusCircleIcon:vn,PlusIcon:Ao,PlusSquare:ys,PlusSquareIcon:ys,Pocket:wv,PocketIcon:wv,PocketKnife:vv,PocketKnifeIcon:vv,Podcast:Mv,PodcastIcon:Mv,Pointer:jv,PointerIcon:jv,PointerOff:bv,PointerOffIcon:bv,Popcorn:Cv,PopcornIcon:Cv,Popsicle:Lv,PopsicleIcon:Lv,PoundSterling:Sv,PoundSterlingIcon:Sv,Power:Nv,PowerCircle:wn,PowerCircleIcon:wn,PowerIcon:Nv,PowerOff:Iv,PowerOffIcon:Iv,PowerSquare:ms,PowerSquareIcon:ms,Presentation:Av,PresentationIcon:Av,Printer:Pv,PrinterCheck:_v,PrinterCheckIcon:_v,PrinterIcon:Pv,Projector:qv,ProjectorIcon:qv,Proportions:Tv,ProportionsIcon:Tv,Puzzle:Rv,PuzzleIcon:Rv,Pyramid:Dv,PyramidIcon:Dv,QrCode:zv,QrCodeIcon:zv,Quote:_o,QuoteIcon:_o,Rabbit:Fv,RabbitIcon:Fv,Radar:Ev,RadarIcon:Ev,Radiation:Hv,RadiationIcon:Hv,Radical:Ov,RadicalIcon:Ov,Radio:Uv,RadioIcon:Uv,RadioReceiver:Vv,RadioReceiverIcon:Vv,RadioTower:Bv,RadioTowerIcon:Bv,Radius:$v,RadiusIcon:$v,RailSymbol:Gv,RailSymbolIcon:Gv,Rainbow:Wv,RainbowIcon:Wv,Rat:Zv,RatIcon:Zv,Ratio:Xv,RatioIcon:Xv,Receipt:n6,ReceiptCent:Jv,ReceiptCentIcon:Jv,ReceiptEuro:Yv,ReceiptEuroIcon:Yv,ReceiptIcon:n6,ReceiptIndianRupee:Kv,ReceiptIndianRupeeIcon:Kv,ReceiptJapaneseYen:Qv,ReceiptJapaneseYenIcon:Qv,ReceiptPoundSterling:e6,ReceiptPoundSterlingIcon:e6,ReceiptRussianRuble:t6,ReceiptRussianRubleIcon:t6,ReceiptSwissFranc:a6,ReceiptSwissFrancIcon:a6,ReceiptText:r6,ReceiptTextIcon:r6,RectangleEllipsis:wi,RectangleEllipsisIcon:wi,RectangleHorizontal:i6,RectangleHorizontalIcon:i6,RectangleVertical:s6,RectangleVerticalIcon:s6,Recycle:o6,RecycleIcon:o6,Redo:d6,Redo2:c6,Redo2Icon:c6,RedoDot:l6,RedoDotIcon:l6,RedoIcon:d6,RefreshCcw:u6,RefreshCcwDot:h6,RefreshCcwDotIcon:h6,RefreshCcwIcon:u6,RefreshCw:y6,RefreshCwIcon:y6,RefreshCwOff:p6,RefreshCwOffIcon:p6,Refrigerator:m6,RefrigeratorIcon:m6,Regex:f6,RegexIcon:f6,RemoveFormatting:x6,RemoveFormattingIcon:x6,Repeat:v6,Repeat1:g6,Repeat1Icon:g6,Repeat2:k6,Repeat2Icon:k6,RepeatIcon:v6,Replace:M6,ReplaceAll:w6,ReplaceAllIcon:w6,ReplaceIcon:M6,Reply:j6,ReplyAll:b6,ReplyAllIcon:b6,ReplyIcon:j6,Rewind:C6,RewindIcon:C6,Ribbon:L6,RibbonIcon:L6,Rocket:S6,RocketIcon:S6,RockingChair:I6,RockingChairIcon:I6,RollerCoaster:N6,RollerCoasterIcon:N6,Rotate3D:Mi,Rotate3DIcon:Mi,Rotate3d:Mi,Rotate3dIcon:Mi,RotateCcw:_6,RotateCcwIcon:_6,RotateCcwSquare:A6,RotateCcwSquareIcon:A6,RotateCw:q6,RotateCwIcon:q6,RotateCwSquare:P6,RotateCwSquareIcon:P6,Route:R6,RouteIcon:R6,RouteOff:T6,RouteOffIcon:T6,Router:D6,RouterIcon:D6,Rows:bi,Rows2:bi,Rows2Icon:bi,Rows3:ji,Rows3Icon:ji,Rows4:z6,Rows4Icon:z6,RowsIcon:bi,Rss:F6,RssIcon:F6,Ruler:E6,RulerIcon:E6,RussianRuble:H6,RussianRubleIcon:H6,Sailboat:O6,SailboatIcon:O6,Salad:V6,SaladIcon:V6,Sandwich:B6,SandwichIcon:B6,Satellite:$6,SatelliteDish:U6,SatelliteDishIcon:U6,SatelliteIcon:$6,Save:Z6,SaveAll:G6,SaveAllIcon:G6,SaveIcon:Z6,SaveOff:W6,SaveOffIcon:W6,Scale:X6,Scale3D:Ci,Scale3DIcon:Ci,Scale3d:Ci,Scale3dIcon:Ci,ScaleIcon:X6,Scaling:J6,ScalingIcon:J6,Scan:n8,ScanBarcode:Y6,ScanBarcodeIcon:Y6,ScanEye:K6,ScanEyeIcon:K6,ScanFace:Q6,ScanFaceIcon:Q6,ScanIcon:n8,ScanLine:e8,ScanLineIcon:e8,ScanQrCode:t8,ScanQrCodeIcon:t8,ScanSearch:a8,ScanSearchIcon:a8,ScanText:r8,ScanTextIcon:r8,ScatterChart:Yr,ScatterChartIcon:Yr,School:i8,School2:_s,School2Icon:_s,SchoolIcon:i8,Scissors:o8,ScissorsIcon:o8,ScissorsLineDashed:s8,ScissorsLineDashedIcon:s8,ScissorsSquare:fs,ScissorsSquareDashedBottom:Oi,ScissorsSquareDashedBottomIcon:Oi,ScissorsSquareIcon:fs,ScreenShare:l8,ScreenShareIcon:l8,ScreenShareOff:c8,ScreenShareOffIcon:c8,Scroll:h8,ScrollIcon:h8,ScrollText:d8,ScrollTextIcon:d8,Search:Xt,SearchCheck:u8,SearchCheckIcon:u8,SearchCode:p8,SearchCodeIcon:p8,SearchIcon:Xt,SearchSlash:y8,SearchSlashIcon:y8,SearchX:m8,SearchXIcon:m8,Section:f8,SectionIcon:f8,Send:Ac,SendHorizonal:Li,SendHorizonalIcon:Li,SendHorizontal:Li,SendHorizontalIcon:Li,SendIcon:Ac,SendToBack:x8,SendToBackIcon:x8,SeparatorHorizontal:g8,SeparatorHorizontalIcon:g8,SeparatorVertical:k8,SeparatorVerticalIcon:k8,Server:b8,ServerCog:v8,ServerCogIcon:v8,ServerCrash:w8,ServerCrashIcon:w8,ServerIcon:b8,ServerOff:M8,ServerOffIcon:M8,Settings:Po,Settings2:j8,Settings2Icon:j8,SettingsIcon:Po,Shapes:C8,ShapesIcon:C8,Share:L8,Share2:qo,Share2Icon:qo,ShareIcon:L8,Sheet:S8,SheetIcon:S8,Shell:I8,ShellIcon:I8,Shield:Pc,ShieldAlert:N8,ShieldAlertIcon:N8,ShieldBan:A8,ShieldBanIcon:A8,ShieldCheck:_c,ShieldCheckIcon:_c,ShieldClose:Si,ShieldCloseIcon:Si,ShieldEllipsis:_8,ShieldEllipsisIcon:_8,ShieldHalf:P8,ShieldHalfIcon:P8,ShieldIcon:Pc,ShieldMinus:q8,ShieldMinusIcon:q8,ShieldOff:T8,ShieldOffIcon:T8,ShieldPlus:R8,ShieldPlusIcon:R8,ShieldQuestion:D8,ShieldQuestionIcon:D8,ShieldX:Si,ShieldXIcon:Si,Ship:F8,ShipIcon:F8,ShipWheel:z8,ShipWheelIcon:z8,Shirt:E8,ShirtIcon:E8,ShoppingBag:H8,ShoppingBagIcon:H8,ShoppingBasket:O8,ShoppingBasketIcon:O8,ShoppingCart:To,ShoppingCartIcon:To,Shovel:V8,ShovelIcon:V8,ShowerHead:B8,ShowerHeadIcon:B8,Shrink:U8,ShrinkIcon:U8,Shrub:$8,ShrubIcon:$8,Shuffle:G8,ShuffleIcon:G8,Sidebar:yi,SidebarClose:hi,SidebarCloseIcon:hi,SidebarIcon:yi,SidebarOpen:pi,SidebarOpenIcon:pi,Sigma:W8,SigmaIcon:W8,SigmaSquare:xs,SigmaSquareIcon:xs,Signal:qc,SignalHigh:Z8,SignalHighIcon:Z8,SignalIcon:qc,SignalLow:X8,SignalLowIcon:X8,SignalMedium:J8,SignalMediumIcon:J8,SignalZero:Y8,SignalZeroIcon:Y8,Signature:K8,SignatureIcon:K8,Signpost:e7,SignpostBig:Q8,SignpostBigIcon:Q8,SignpostIcon:e7,Siren:t7,SirenIcon:t7,SkipBack:a7,SkipBackIcon:a7,SkipForward:r7,SkipForwardIcon:r7,Skull:n7,SkullIcon:n7,Slack:i7,SlackIcon:i7,Slash:s7,SlashIcon:s7,SlashSquare:gs,SlashSquareIcon:gs,Slice:o7,SliceIcon:o7,Sliders:Ii,SlidersHorizontal:tr,SlidersHorizontalIcon:tr,SlidersIcon:Ii,SlidersVertical:Ii,SlidersVerticalIcon:Ii,Smartphone:d7,SmartphoneCharging:c7,SmartphoneChargingIcon:c7,SmartphoneIcon:d7,SmartphoneNfc:l7,SmartphoneNfcIcon:l7,Smile:u7,SmileIcon:u7,SmilePlus:h7,SmilePlusIcon:h7,Snail:p7,SnailIcon:p7,Snowflake:y7,SnowflakeIcon:y7,Sofa:m7,SofaIcon:m7,SortAsc:_r,SortAscIcon:_r,SortDesc:Ir,SortDescIcon:Ir,Soup:f7,SoupIcon:f7,Space:x7,SpaceIcon:x7,Spade:g7,SpadeIcon:g7,Sparkle:k7,SparkleIcon:k7,Sparkles:Xa,SparklesIcon:Xa,Speaker:v7,SpeakerIcon:v7,Speech:w7,SpeechIcon:w7,SpellCheck:b7,SpellCheck2:M7,SpellCheck2Icon:M7,SpellCheckIcon:b7,Spline:j7,SplineIcon:j7,Split:C7,SplitIcon:C7,SplitSquareHorizontal:ks,SplitSquareHorizontalIcon:ks,SplitSquareVertical:vs,SplitSquareVerticalIcon:vs,SprayCan:L7,SprayCanIcon:L7,Sprout:S7,SproutIcon:S7,Square:q7,SquareActivity:Ni,SquareActivityIcon:Ni,SquareArrowDown:Pi,SquareArrowDownIcon:Pi,SquareArrowDownLeft:Ai,SquareArrowDownLeftIcon:Ai,SquareArrowDownRight:_i,SquareArrowDownRightIcon:_i,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownLeftIcon:qi,SquareArrowOutDownRight:Ti,SquareArrowOutDownRightIcon:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpLeftIcon:Ri,SquareArrowOutUpRight:Di,SquareArrowOutUpRightIcon:Di,SquareArrowRight:ja,SquareArrowRightIcon:ja,SquareArrowUp:Ei,SquareArrowUpIcon:Ei,SquareArrowUpLeft:zi,SquareArrowUpLeftIcon:zi,SquareArrowUpRight:Fi,SquareArrowUpRightIcon:Fi,SquareAsterisk:Hi,SquareAsteriskIcon:Hi,SquareBottomDashedScissors:Oi,SquareBottomDashedScissorsIcon:Oi,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareCheckBigIcon:Vi,SquareCheckIcon:Bi,SquareChevronDown:Ui,SquareChevronDownIcon:Ui,SquareChevronLeft:$i,SquareChevronLeftIcon:$i,SquareChevronRight:Gi,SquareChevronRightIcon:Gi,SquareChevronUp:Wi,SquareChevronUpIcon:Wi,SquareCode:Zi,SquareCodeIcon:Zi,SquareDashed:Yi,SquareDashedBottom:N7,SquareDashedBottomCode:I7,SquareDashedBottomCodeIcon:I7,SquareDashedBottomIcon:N7,SquareDashedIcon:Yi,SquareDashedKanban:Xi,SquareDashedKanbanIcon:Xi,SquareDashedMousePointer:Ji,SquareDashedMousePointerIcon:Ji,SquareDivide:Ki,SquareDivideIcon:Ki,SquareDot:Qi,SquareDotIcon:Qi,SquareEqual:es,SquareEqualIcon:es,SquareFunction:ts,SquareFunctionIcon:ts,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:q7,SquareKanban:as,SquareKanbanIcon:as,SquareLibrary:rs,SquareLibraryIcon:rs,SquareM:ns,SquareMIcon:ns,SquareMenu:is,SquareMenuIcon:is,SquareMinus:ss,SquareMinusIcon:ss,SquareMousePointer:os,SquareMousePointerIcon:os,SquareParking:ls,SquareParkingIcon:ls,SquareParkingOff:cs,SquareParkingOffIcon:cs,SquarePen:St,SquarePenIcon:St,SquarePercent:ds,SquarePercentIcon:ds,SquarePi:hs,SquarePiIcon:hs,SquarePilcrow:us,SquarePilcrowIcon:us,SquarePlay:ps,SquarePlayIcon:ps,SquarePlus:ys,SquarePlusIcon:ys,SquarePower:ms,SquarePowerIcon:ms,SquareRadical:A7,SquareRadicalIcon:A7,SquareScissors:fs,SquareScissorsIcon:fs,SquareSigma:xs,SquareSigmaIcon:xs,SquareSlash:gs,SquareSlashIcon:gs,SquareSplitHorizontal:ks,SquareSplitHorizontalIcon:ks,SquareSplitVertical:vs,SquareSplitVerticalIcon:vs,SquareSquare:_7,SquareSquareIcon:_7,SquareStack:P7,SquareStackIcon:P7,SquareTerminal:ws,SquareTerminalIcon:ws,SquareUser:bs,SquareUserIcon:bs,SquareUserRound:Ms,SquareUserRoundIcon:Ms,SquareX:js,SquareXIcon:js,Squircle:T7,SquircleIcon:T7,Squirrel:R7,SquirrelIcon:R7,Stamp:D7,StampIcon:D7,Star:Ut,StarHalf:z7,StarHalfIcon:z7,StarIcon:Ut,StarOff:F7,StarOffIcon:F7,Stars:Xa,StarsIcon:Xa,StepBack:E7,StepBackIcon:E7,StepForward:H7,StepForwardIcon:H7,Stethoscope:O7,StethoscopeIcon:O7,Sticker:V7,StickerIcon:V7,StickyNote:B7,StickyNoteIcon:B7,StopCircle:bn,StopCircleIcon:bn,Store:U7,StoreIcon:U7,StretchHorizontal:$7,StretchHorizontalIcon:$7,StretchVertical:G7,StretchVerticalIcon:G7,Strikethrough:W7,StrikethroughIcon:W7,Subscript:Z7,SubscriptIcon:Z7,Subtitles:Er,SubtitlesIcon:Er,Sun:Q7,SunDim:X7,SunDimIcon:X7,SunIcon:Q7,SunMedium:J7,SunMediumIcon:J7,SunMoon:Y7,SunMoonIcon:Y7,SunSnow:K7,SunSnowIcon:K7,Sunrise:ew,SunriseIcon:ew,Sunset:tw,SunsetIcon:tw,Superscript:aw,SuperscriptIcon:aw,SwatchBook:rw,SwatchBookIcon:rw,SwissFranc:nw,SwissFrancIcon:nw,SwitchCamera:iw,SwitchCameraIcon:iw,Sword:sw,SwordIcon:sw,Swords:ow,SwordsIcon:ow,Syringe:cw,SyringeIcon:cw,Table:fw,Table2:lw,Table2Icon:lw,TableCellsMerge:dw,TableCellsMergeIcon:dw,TableCellsSplit:hw,TableCellsSplitIcon:hw,TableColumnsSplit:uw,TableColumnsSplitIcon:uw,TableIcon:fw,TableOfContents:pw,TableOfContentsIcon:pw,TableProperties:yw,TablePropertiesIcon:yw,TableRowsSplit:mw,TableRowsSplitIcon:mw,Tablet:gw,TabletIcon:gw,TabletSmartphone:xw,TabletSmartphoneIcon:xw,Tablets:kw,TabletsIcon:kw,Tag:Tc,TagIcon:Tc,Tags:vw,TagsIcon:vw,Tally1:ww,Tally1Icon:ww,Tally2:Mw,Tally2Icon:Mw,Tally3:bw,Tally3Icon:bw,Tally4:jw,Tally4Icon:jw,Tally5:Cw,Tally5Icon:Cw,Tangent:Lw,TangentIcon:Lw,Target:Sw,TargetIcon:Sw,Telescope:Iw,TelescopeIcon:Iw,Tent:Aw,TentIcon:Aw,TentTree:Nw,TentTreeIcon:Nw,Terminal:_w,TerminalIcon:_w,TerminalSquare:ws,TerminalSquareIcon:ws,TestTube:Pw,TestTube2:Cs,TestTube2Icon:Cs,TestTubeDiagonal:Cs,TestTubeDiagonalIcon:Cs,TestTubeIcon:Pw,TestTubes:qw,TestTubesIcon:qw,Text:Fw,TextCursor:Rw,TextCursorIcon:Rw,TextCursorInput:Tw,TextCursorInputIcon:Tw,TextIcon:Fw,TextQuote:Dw,TextQuoteIcon:Dw,TextSearch:zw,TextSearchIcon:zw,TextSelect:Ls,TextSelectIcon:Ls,TextSelection:Ls,TextSelectionIcon:Ls,Theater:Ew,TheaterIcon:Ew,Thermometer:Vw,ThermometerIcon:Vw,ThermometerSnowflake:Hw,ThermometerSnowflakeIcon:Hw,ThermometerSun:Ow,ThermometerSunIcon:Ow,ThumbsDown:Bw,ThumbsDownIcon:Bw,ThumbsUp:Uw,ThumbsUpIcon:Uw,Ticket:Yw,TicketCheck:$w,TicketCheckIcon:$w,TicketIcon:Yw,TicketMinus:Gw,TicketMinusIcon:Gw,TicketPercent:Ww,TicketPercentIcon:Ww,TicketPlus:Zw,TicketPlusIcon:Zw,TicketSlash:Xw,TicketSlashIcon:Xw,TicketX:Jw,TicketXIcon:Jw,Tickets:Qw,TicketsIcon:Qw,TicketsPlane:Kw,TicketsPlaneIcon:Kw,Timer:aM,TimerIcon:aM,TimerOff:eM,TimerOffIcon:eM,TimerReset:tM,TimerResetIcon:tM,ToggleLeft:rM,ToggleLeftIcon:rM,ToggleRight:nM,ToggleRightIcon:nM,Tornado:iM,TornadoIcon:iM,Torus:sM,TorusIcon:sM,Touchpad:cM,TouchpadIcon:cM,TouchpadOff:oM,TouchpadOffIcon:oM,TowerControl:lM,TowerControlIcon:lM,ToyBrick:dM,ToyBrickIcon:dM,Tractor:hM,TractorIcon:hM,TrafficCone:uM,TrafficConeIcon:uM,Train:Ss,TrainFront:yM,TrainFrontIcon:yM,TrainFrontTunnel:pM,TrainFrontTunnelIcon:pM,TrainIcon:Ss,TrainTrack:mM,TrainTrackIcon:mM,TramFront:Ss,TramFrontIcon:Ss,Trash:fM,Trash2:Ro,Trash2Icon:Ro,TrashIcon:fM,TreeDeciduous:xM,TreeDeciduousIcon:xM,TreePalm:Is,TreePalmIcon:Is,TreePine:gM,TreePineIcon:gM,Trees:kM,TreesIcon:kM,Trello:vM,TrelloIcon:vM,TrendingDown:wM,TrendingDownIcon:wM,TrendingUp:Ys,TrendingUpDown:MM,TrendingUpDownIcon:MM,TrendingUpIcon:Ys,Triangle:jM,TriangleAlert:Ns,TriangleAlertIcon:Ns,TriangleIcon:jM,TriangleRight:bM,TriangleRightIcon:bM,Trophy:CM,TrophyIcon:CM,Truck:LM,TruckIcon:LM,Turtle:SM,TurtleIcon:SM,Tv:NM,Tv2:As,Tv2Icon:As,TvIcon:NM,TvMinimal:As,TvMinimalIcon:As,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:AM,TwitchIcon:AM,Twitter:_M,TwitterIcon:_M,Type:qM,TypeIcon:qM,TypeOutline:PM,TypeOutlineIcon:PM,Umbrella:RM,UmbrellaIcon:RM,UmbrellaOff:TM,UmbrellaOffIcon:TM,Underline:DM,UnderlineIcon:DM,Undo:EM,Undo2:zM,Undo2Icon:zM,UndoDot:FM,UndoDotIcon:FM,UndoIcon:EM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:OM,UnfoldVerticalIcon:OM,Ungroup:VM,UngroupIcon:VM,University:_s,UniversityIcon:_s,Unlink:UM,Unlink2:BM,Unlink2Icon:BM,UnlinkIcon:UM,Unlock:ri,UnlockIcon:ri,UnlockKeyhole:ai,UnlockKeyholeIcon:ai,Unplug:$M,UnplugIcon:$M,Upload:Rc,UploadCloud:Za,UploadCloudIcon:Za,UploadIcon:Rc,Usb:GM,UsbIcon:GM,User:Dc,User2:zs,User2Icon:zs,UserCheck:WM,UserCheck2:Ps,UserCheck2Icon:Ps,UserCheckIcon:WM,UserCircle:Cn,UserCircle2:jn,UserCircle2Icon:jn,UserCircleIcon:Cn,UserCog:ZM,UserCog2:qs,UserCog2Icon:qs,UserCogIcon:ZM,UserIcon:Dc,UserMinus:XM,UserMinus2:Ts,UserMinus2Icon:Ts,UserMinusIcon:XM,UserPen:JM,UserPenIcon:JM,UserPlus:YM,UserPlus2:Rs,UserPlus2Icon:Rs,UserPlusIcon:YM,UserRound:zs,UserRoundCheck:Ps,UserRoundCheckIcon:Ps,UserRoundCog:qs,UserRoundCogIcon:qs,UserRoundIcon:zs,UserRoundMinus:Ts,UserRoundMinusIcon:Ts,UserRoundPen:KM,UserRoundPenIcon:KM,UserRoundPlus:Rs,UserRoundPlusIcon:Rs,UserRoundSearch:QM,UserRoundSearchIcon:QM,UserRoundX:Ds,UserRoundXIcon:Ds,UserSearch:eb,UserSearchIcon:eb,UserSquare:bs,UserSquare2:Ms,UserSquare2Icon:Ms,UserSquareIcon:bs,UserX:tb,UserX2:Ds,UserX2Icon:Ds,UserXIcon:tb,Users:Ia,Users2:Fs,Users2Icon:Fs,UsersIcon:Ia,UsersRound:Fs,UsersRoundIcon:Fs,Utensils:Hs,UtensilsCrossed:Es,UtensilsCrossedIcon:Es,UtensilsIcon:Hs,UtilityPole:ab,UtilityPoleIcon:ab,Variable:rb,VariableIcon:rb,Vault:nb,VaultIcon:nb,Vegan:ib,VeganIcon:ib,VenetianMask:sb,VenetianMaskIcon:sb,Verified:Tr,VerifiedIcon:Tr,Vibrate:cb,VibrateIcon:cb,VibrateOff:ob,VibrateOffIcon:ob,Video:db,VideoIcon:db,VideoOff:lb,VideoOffIcon:lb,Videotape:hb,VideotapeIcon:hb,View:ub,ViewIcon:ub,Voicemail:pb,VoicemailIcon:pb,Volleyball:yb,VolleyballIcon:yb,Volume:kb,Volume1:mb,Volume1Icon:mb,Volume2:fb,Volume2Icon:fb,VolumeIcon:kb,VolumeOff:xb,VolumeOffIcon:xb,VolumeX:gb,VolumeXIcon:gb,Vote:vb,VoteIcon:vb,Wallet:Mb,Wallet2:Os,Wallet2Icon:Os,WalletCards:wb,WalletCardsIcon:wb,WalletIcon:Mb,WalletMinimal:Os,WalletMinimalIcon:Os,Wallpaper:bb,WallpaperIcon:bb,Wand:jb,Wand2:Vs,Wand2Icon:Vs,WandIcon:jb,WandSparkles:Vs,WandSparklesIcon:Vs,Warehouse:Cb,WarehouseIcon:Cb,WashingMachine:Lb,WashingMachineIcon:Lb,Watch:Sb,WatchIcon:Sb,Waves:Ib,WavesIcon:Ib,Waypoints:Nb,WaypointsIcon:Nb,Webcam:Ab,WebcamIcon:Ab,Webhook:Pb,WebhookIcon:Pb,WebhookOff:_b,WebhookOffIcon:_b,Weight:qb,WeightIcon:qb,Wheat:Rb,WheatIcon:Rb,WheatOff:Tb,WheatOffIcon:Tb,WholeWord:Db,WholeWordIcon:Db,Wifi:Ob,WifiHigh:zb,WifiHighIcon:zb,WifiIcon:Ob,WifiLow:Fb,WifiLowIcon:Fb,WifiOff:Eb,WifiOffIcon:Eb,WifiZero:Hb,WifiZeroIcon:Hb,Wind:Vb,WindIcon:Vb,Wine:Ub,WineIcon:Ub,WineOff:Bb,WineOffIcon:Bb,Workflow:$b,WorkflowIcon:$b,Worm:Gb,WormIcon:Gb,WrapText:Wb,WrapTextIcon:Wb,Wrench:Zb,WrenchIcon:Zb,X:Rt,XCircle:ia,XCircleIcon:ia,XIcon:Rt,XOctagon:ci,XOctagonIcon:ci,XSquare:js,XSquareIcon:js,Youtube:Xb,YoutubeIcon:Xb,Zap:Yb,ZapIcon:Yb,ZapOff:Jb,ZapOffIcon:Jb,ZoomIn:Kb,ZoomInIcon:Kb,ZoomOut:Qb,ZoomOutIcon:Qb,createLucideIcon:s,icons:vq},Symbol.toStringTag,{value:"Module"})),Mq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:o=10,placeholder:c="Add tags..."})=>{const[l,d]=j.useState(!1),[h,u]=j.useState(""),[p,f]=j.useState("#3B82F6"),[m,g]=j.useState(""),[y,x]=j.useState(-1),k=j.useMemo(()=>a.filter(C=>C.name.toLowerCase().includes(m.toLowerCase())),[a,m]),w=j.useMemo(()=>a.filter(C=>e.includes(C.id)),[a,e]),M=j.useMemo(()=>k.filter(C=>!e.includes(C.id)),[k,e]),L=m.trim().length>0&&!a.some(C=>C.name.toLowerCase()===m.trim().toLowerCase()),b=M.length+(L?1:0),I=async()=>{const C=h.trim();if(C)try{await i({name:C,color:p}),u(""),d(!1)}catch(N){console.error("Failed to create tag:",N)}},S=C=>{if(b)switch(C.key){case"ArrowDown":{C.preventDefault(),x(N=>(N+1)%b);break}case"ArrowUp":{C.preventDefault(),x(N=>(N-1+b)%b);break}case"Enter":{if(y===-1)return;if(C.preventDefault(),y<M.length){const N=M[y];r(N.id),g(""),x(-1)}else L&&(d(!0),u(m.trim()),g(""),x(-1));break}case"Escape":{g(""),x(-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(C=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${C.color}20`,color:C.color,borderColor:C.color},children:[C.name,t.jsx("button",{type:"button",onClick:()=>n(C.id),className:"hover:opacity-70","aria-label":`Remove ${C.name}`,children:t.jsx(Rt,{className:"w-3 h-3"})})]},C.id))}),e.length<o&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(Tc,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:m,onChange:C=>{g(C.target.value),x(-1)},onKeyDown:S,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":m.length>0})]}),m&&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((C,N)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===N,onClick:()=>{r(C.id),g(""),x(-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:C.color}}),t.jsx("span",{children:C.name}),C.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",C.category,")"]})]},C.id)),L&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(m.trim()),g(""),x(-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(Ao,{className:"w-4 h-4"}),'Create "',m.trim(),'"']}),!M.length&&!L&&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:C=>u(C.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:C=>f(C.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:I,onKeyDown:C=>{C.key==="Enter"&&(C.preventDefault(),I())},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"})]})]})]})},bq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},Qj=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:o,href:c,className:l})=>{const d=!!(o||c),h=p=>{!o||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${bq[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:o,onKeyDown:h,role:!c&&o?"button":void 0,tabIndex:!c&&o?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(Rt,{className:"w-3 h-3"})})]})};function ue(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 jq(a,e){const r=v.createContext(e),n=o=>{const{children:c,...l}=o,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(o){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:f,children:m,...g}=p,y=((k=f==null?void 0:f[a])==null?void 0:k[d])||l,x=v.useMemo(()=>g,Object.values(g));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,g=v.useContext(m);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,Cq(i,...e)]}function Cq(...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(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function yL(a){const e=Lq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Iq);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:o})});return r.displayName=`${a}.Slot`,r}function Lq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Aq(i),l=Nq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Sq=Symbol("radix.slottable");function Iq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Sq}function Nq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Aq(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 AS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,o]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:k}=y,w=j.useRef(null),M=j.useRef(new Map).current;return t.jsx(i,{scope:x,itemMap:M,collectionRef:w,children:k})};c.displayName=e;const l=a+"CollectionSlot",d=yL(l),h=j.forwardRef((y,x)=>{const{scope:k,children:w}=y,M=o(l,k),L=Ce(x,M.collectionRef);return t.jsx(d,{ref:L,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",f=yL(u),m=j.forwardRef((y,x)=>{const{scope:k,children:w,...M}=y,L=j.useRef(null),b=Ce(x,L),I=o(u,k);return j.useEffect(()=>(I.itemMap.set(L,{ref:L,...M}),()=>void I.itemMap.delete(L))),t.jsx(f,{[p]:"",ref:b,children:w})});m.displayName=u;function g(y){const x=o(a+"CollectionConsumer",y);return j.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((I,S)=>M.indexOf(I.ref.current)-M.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},g,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},_q=v[" useId ".trim().toString()]||(()=>{}),Pq=0;function Na(a){const[e,r]=v.useState(_q());return pt(()=>{r(n=>n??String(Pq++))},[a]),e?`radix-${e}`:""}function qq(a){const e=Tq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Dq);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:o})});return r.displayName=`${a}.Slot`,r}function Tq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Fq(i),l=zq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Rq=Symbol("radix.slottable");function Dq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Rq}function zq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Fq(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 Eq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],fe=Eq.reduce((a,e)=>{const r=qq(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Hq(a,e){a&&M9.flushSync(()=>a.dispatchEvent(e))}function ir(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 Oq=v[" useInsertionEffect ".trim().toString()]||pt;function sr({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,c]=Vq({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=Bq(u)?u(a):u;f!==a&&((p=c.current)==null||p.call(c,f))}else o(u)},[l,a,o,c]);return[d,h]}function Vq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),o=v.useRef(e);return Oq(()=>{o.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=o.current)==null||c.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Bq(a){return typeof a=="function"}var Uq=v.createContext(void 0);function eC(a){const e=v.useContext(Uq);return a||e||"ltr"}var Y9="rovingFocusGroup.onEntryFocus",$q={bubbles:!1,cancelable:!0},Qc="RovingFocusGroup",[Mj,_S,Gq]=AS(Qc),[Wq,PS]=ma(Qc,[Gq]),[Zq,Xq]=Wq(Qc),qS=v.forwardRef((a,e)=>t.jsx(Mj.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Mj.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Jq,{...a,ref:e})})}));qS.displayName=Qc;var Jq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:o,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,f=v.useRef(null),m=Ce(e,f),g=eC(o),[y,x]=sr({prop:c,defaultProp:l??null,onChange:d,caller:Qc}),[k,w]=v.useState(!1),M=ir(h),L=_S(r),b=v.useRef(!1),[I,S]=v.useState(0);return v.useEffect(()=>{const C=f.current;if(C)return C.addEventListener(Y9,M),()=>C.removeEventListener(Y9,M)},[M]),t.jsx(Zq,{scope:r,orientation:n,dir:g,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(C=>x(C),[x]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>S(C=>C+1),[]),onFocusableItemRemove:v.useCallback(()=>S(C=>C-1),[]),children:t.jsx(fe.div,{tabIndex:k||I===0?-1:0,"data-orientation":n,...p,ref:m,style:{outline:"none",...a.style},onMouseDown:ue(a.onMouseDown,()=>{b.current=!0}),onFocus:ue(a.onFocus,C=>{const N=!b.current;if(C.target===C.currentTarget&&N&&!k){const q=new CustomEvent(Y9,$q);if(C.currentTarget.dispatchEvent(q),!q.defaultPrevented){const R=L().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);DS(z,u)}}b.current=!1}),onBlur:ue(a.onBlur,()=>w(!1))})})}),TS="RovingFocusGroupItem",RS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:o,children:c,...l}=a,d=Na(),h=o||d,u=Xq(TS,r),p=u.currentTabStopId===h,f=_S(r),{onFocusableItemAdd:m,onFocusableItemRemove:g,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return m(),()=>g()},[n,m,g]),t.jsx(Mj.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(fe.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:ue(a.onMouseDown,x=>{n?u.onItemFocus(h):x.preventDefault()}),onFocus:ue(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:ue(a.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const k=Qq(x,u.orientation,u.dir);if(k!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let M=f().filter(L=>L.focusable).map(L=>L.ref.current);if(k==="last")M.reverse();else if(k==="prev"||k==="next"){k==="prev"&&M.reverse();const L=M.indexOf(x.currentTarget);M=u.loop?eT(M,L+1):M.slice(L+1)}setTimeout(()=>DS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});RS.displayName=TS;var Yq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Kq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Qq(a,e,r){const n=Kq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Yq[n]}function DS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function eT(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var tT=qS,aT=RS;function rT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var ur=a=>{const{present:e,children:r}=a,n=nT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),o=Ce(n.ref,iT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:o}):null};ur.displayName="Presence";function nT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),o=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=rT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=s1(n.current);o.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const f=o.current,m=s1(h);a?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&f!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const y=s1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&y&&(d("ANIMATION_END"),!i.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},f=m=>{m.target===e&&(o.current=s1(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 s1(a){return(a==null?void 0:a.animationName)||"none"}function iT(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 j9="Tabs",[sT]=ma(j9,[PS]),zS=PS(),[oT,tC]=sT(j9),FS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=eC(l),[p,f]=sr({prop:n,onChange:i,defaultProp:o??"",caller:j9});return t.jsx(oT,{scope:r,baseId:Na(),value:p,onValueChange:f,orientation:c,dir:u,activationMode:d,children:t.jsx(fe.div,{dir:u,"data-orientation":c,...h,ref:e})})});FS.displayName=j9;var ES="TabsList",HS=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,o=tC(ES,r),c=zS(r);return t.jsx(tT,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(fe.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:e})})});HS.displayName=ES;var OS="TabsTrigger",VS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...o}=a,c=tC(OS,r),l=zS(r),d=$S(c.baseId,n),h=GS(c.baseId,n),u=n===c.value;return t.jsx(aT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(fe.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,...o,ref:e,onMouseDown:ue(a.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:ue(a.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:ue(a.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!i&&p&&c.onValueChange(n)})})})});VS.displayName=OS;var BS="TabsContent",US=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:o,...c}=a,l=tC(BS,r),d=$S(l.baseId,n),h=GS(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(ur,{present:i||u,children:({present:f})=>t.jsx(fe.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&&o})})});US.displayName=BS;function $S(a,e){return`${a}-trigger-${e}`}function GS(a,e){return`${a}-content-${e}`}var cT=FS,WS=HS,ZS=VS,XS=US;const co=cT,pr=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));pr.displayName=WS.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(ZS,{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=ZS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(XS,{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=XS.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 Ue=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ue.displayName="CardDescription";const je=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));je.displayName="CardContent";const ao=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));ao.displayName="CardFooter";function lT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:o="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 g=r??"en",y=a.map(async k=>(await fetch(`${u}/api/v1/promotions/?ids=${k}`,{method:"GET",headers:{"Accept-Language":g,"Content-Type":"application/json"}})).json()),x=await Promise.all(y);l(x)}catch{}})()},[a,u,r]);const p=m=>{const g=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:m,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(g)},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(co,{defaultValue:"tab-0",className:"w-full",onValueChange:m=>h(m),children:[t.jsx(pr,{className:f,children:e.map((m,g)=>t.jsx(Ie,{value:`tab-${g}`,children:m},g))}),c.map((m,g)=>t.jsx(Ne,{value:`tab-${g}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:m.map((y,x)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Re,{children:[t.jsx(De,{children:y.title}),t.jsx(Ue,{children:y.short_description})]}),t.jsxs(je,{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((k,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(Mo,{className:"mr-2 h-4 w-4 text-primary"})," ",k]},w))})]}),t.jsx(ao,{children:t.jsx(U,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:o})})]},x))})},g))]})]})})}function dT({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(Rt,{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 JS(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 Dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Vo={duration:.5,overwrite:!1,delay:0},aC,lt,Fe,$t=1e8,_e=1/$t,bj=Math.PI*2,hT=bj/4,uT=0,YS=Math.sqrt,pT=Math.cos,yT=Math.sin,it=function(e){return typeof e=="string"},Ze=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},rC=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},nC=function(){return typeof window<"u"},o1=function(e){return Ze(e)||it(e)},KS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,mT=/random\([^)]+\)/g,fT=/,\s*/g,mL=/(?:-?\.?\d|\.)+/gi,QS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,fo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,eI=/[+-]=-?[.\d]+/,xT=/[^,'"\[\]\s]+/gi,gT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,na,jj,iC,Ft={},c9={},tI,aI=function(e){return(c9=Bo(e,Ft))&&Ct},sC=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Oc=function(e,r){return!r&&console.warn(e)},rI=function(e,r){return e&&(Ft[e]=r)&&c9&&(c9[e]=r)||Ft},Vc=function(){return 0},kT={suppressEvents:!0,isStart:!0,kill:!1},e9={suppressEvents:!0,kill:!1},vT={suppressEvents:!0},oC={},ar=[],Cj={},nI,It={},Q9={},fL=30,t9=[],cC="",lC=function(e){var r=e[0],n,i;if(pa(r)||Ze(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=t9.length;i--&&!t9[i].targetTest(r););n=t9[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new II(e[i],n)))||e.splice(i,1);return e},Ks=function(e){return e._gsap||lC(Gt(e))[0]._gsap},iI=function(e,r,n){return(n=e[r])&&Ze(n)?e[r]():rC(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Je=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},Do=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},wT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},l9=function(){var e=ar.length,r=ar.slice(0),n,i;for(Cj={},ar.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},dC=function(e){return!!(e._initted||e._startAt||e.add)},sI=function(e,r,n,i){ar.length&&!lt&&l9(),e.render(r,n,!!(lt&&r<0&&dC(e))),ar.length&&!lt&&l9()},oI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(xT).length<2?r:it(e)?e.trim():e},cI=function(e){return e},Et=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},MT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Bo=function(e,r){for(var n in r)e[n]=r[n];return e},xL=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},d9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},zc=function(e){var r=e.parent||Ve,n=e.keyframes?MT(ut(e.keyframes)):Et;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},bT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},lI=function(e,r,n,i,o){var c=e[i],l;if(o)for(l=r[o];c&&c[o]>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},C9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var o=r._prev,c=r._next;o?o._next=c:e[n]===r&&(e[n]=c),c?c._prev=o:e[i]===r&&(e[i]=o),r._next=r._prev=r.parent=null},or=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qs=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},jT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},Lj=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(e9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},CT=function a(e){return!e||e._ts&&a(e.parent)},gL=function(e){return e._repeat?Uo(e._tTime,e=e.duration()+e._rDelay)*e:0},Uo=function(e,r){var n=Math.floor(e=Oe(e/r));return e&&n===e?n-1:n},h9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},L9=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},S9=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)),L9(e),n._dirty||Qs(n,e)),e},dI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=h9(e.rawTime(),r),(!r._dur||e1(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Qs(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}},sa=function(e,r,n,i){return r.parent&&or(r),r._start=Oe((Aa(n)?n:n||e!==Ve?Bt(e,n,r):e._time)+r._delay),r._end=Oe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),lI(e,r,"_first","_last",e._sort?"_start":0),Sj(r)||(e._recent=r),i||dI(e,r),e._ts<0&&S9(e,e._tTime),e},hI=function(e,r){return(Ft.ScrollTrigger||sC("scrollTrigger",r))&&Ft.ScrollTrigger.create(r,e)},uI=function(e,r,n,i,o){if(uC(e,r,o),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&nI!==Pt.frame)return ar.push(e),e._lazy=[o,i],1},LT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},Sj=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},ST=function(e,r,n,i){var o=e.ratio,c=r<0||!r&&(!e._start&&LT(e)&&!(!e._initted&&Sj(e))||(e._ts<0||e._dp._ts<0)&&!Sj(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=e1(0,e._tDur,r),u=Uo(d,l),e._yoyo&&u&1&&(c=1-c),u!==Uo(e._tTime,l)&&(o=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==o||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&uI(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&&Lj(e,r,n,!0),e._onUpdate&&!n&&qt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&qt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&or(e,1),!n&&!lt&&(qt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},IT=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}},$o=function(e,r,n,i){var o=e._repeat,c=Oe(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=o?o<0?1e10:Oe(c*(o+1)+e._rDelay*o):c,l>0&&!i&&S9(e,e._tTime=e._tDur*l),e.parent&&L9(e),n||Qs(e.parent,e),e},kL=function(e){return e instanceof ft?Qs(e):$o(e,e._dur)},NT={_start:0,endTime:Vc,totalDuration:Vc},Bt=function a(e,r,n){var i=e.labels,o=e._recent||NT,c=e.duration()>=$t?o.endTime(!1):e._dur,l,d,h;return it(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==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?o: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},Fc=function(e,r,n){var i=Aa(r[1]),o=(i?2:1)+(e<2?0:1),c=r[o],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[o-1]}return new Ke(r[0],c,r[o+1])},yr=function(e,r){return e||e===0?r(e):r},e1=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!it(e)||!(r=gT.exec(e))?"":r[1]},AT=function(e,r,n){return yr(n,function(i){return e1(e,r,i)})},Ij=[].slice,pI=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},_T=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var o;return it(i)&&!r||pI(i,1)?(o=n).push.apply(o,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Fe&&!r&&Fe.selector?Fe.selector(e):it(e)&&!n&&(jj||!Go())?Ij.call((r||iC).querySelectorAll(e),0):ut(e)?_T(e,n):pI(e)?Ij.call(e,0):e?[e]:[]},Nj=function(e){return e=Gt(e)[0]||Oc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Oc("Invalid scope")||iC.createElement("div"):e)}},yI=function(e){return e.sort(function(){return .5-Math.random()})},mI=function(e){if(Ze(e))return e;var r=pa(e)?e:{each:e},n=eo(r.ease),i=r.from||0,o=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return it(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(f,m,g){var y=(g||r).length,x=c[y],k,w,M,L,b,I,S,C,N;if(!x){if(N=r.grid==="auto"?0:(r.grid||[1,$t])[1],!N){for(S=-$t;S<(S=g[N++].getBoundingClientRect().left)&&N<y;);N<y&&N--}for(x=c[y]=[],k=d?Math.min(N,y)*u-.5:i%N,w=N===$t?0:d?y*p/N-.5:i/N|0,S=0,C=$t,I=0;I<y;I++)M=I%N-k,L=w-(I/N|0),x[I]=b=h?Math.abs(h==="y"?L:M):YS(M*M+L*L),b>S&&(S=b),b<C&&(C=b);i==="random"&&yI(x),x.max=S-C,x.min=C,x.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),x.b=y<0?o-y:o,x.u=ht(r.amount||r.each)||0,n=n&&y<0?CI(n):n}return y=(x[f]-x.min)/x.max||0,Oe(x.b+(n?n(y):y)*x.v)+x.u}},Aj=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))}},fI=function(e,r){var n=ut(e),i,o;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(o=!Aa(e[0]))&&(i*=i)):e=Aj(e.increment)),yr(r,n?Ze(e)?function(c){return o=e(c),Math.abs(o-c)<=i?o:c}:function(c){for(var l=parseFloat(o?c.x:c),d=parseFloat(o?c.y:0),h=$t,u=0,p=e.length,f,m;p--;)o?(f=e[p].x-l,m=e[p].y-d,f=f*f+m*m):f=Math.abs(e[p]-l),f<h&&(h=f,u=p);return u=!i||h<=i?e[u]:c,o||u===c||Aa(c)?u:u+ht(c)}:Aj(e))},xI=function(e,r,n,i){return yr(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})},PT=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(o,c){return c(o)},i)}},qT=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},TT=function(e,r,n){return kI(e,r,0,1,n)},gI=function(e,r,n){return yr(n,function(i){return e[~~r(i)]})},RT=function a(e,r,n){var i=r-e;return ut(e)?gI(e,a(0,e.length),r):yr(n,function(o){return(i+(o-e)%i)%i+e})},DT=function a(e,r,n){var i=r-e,o=i*2;return ut(e)?gI(e,a(0,e.length-1),r):yr(n,function(c){return c=(o+(c-e)%o)%o||0,e+(c>i?o-c:c)})},Bc=function(e){return e.replace(mT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(fT);return xI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},kI=function(e,r,n,i,o){var c=r-e,l=i-n;return yr(o,function(d){return n+((d-e)/c*l||0)})},zT=function a(e,r,n,i){var o=isNaN(e+r)?0:function(m){return(1-m)*e+m*r};if(!o){var c=it(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--,o=function(g){g*=p;var y=Math.min(f,~~g);return u[y](g-y)},n=r}else i||(e=Bo(ut(e)?[]:{},e));if(!u){for(d in r)hC.call(l,e,d,"get",r[d]);o=function(g){return mC(g,l)||(c?e.p:e)}}}return yr(n,o)},vL=function(e,r,n){var i=e.labels,o=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&o>(l=Math.abs(l))&&(d=c,o=l);return d},qt=function(e,r,n){var i=e.vars,o=i[r],c=Fe,l=e._ctx,d,h,u;if(o)return d=i[r+"Params"],h=i.callbackScope||e,n&&ar.length&&l9(),l&&(Fe=l),u=d?o.apply(h,d):o.call(h),Fe=c,u},dc=function(e){return or(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&qt(e,"onInterrupt"),e},xo,vI=[],wI=function(e){if(e)if(e=!e.name&&e.default||e,nC()||e.headless){var r=e.name,n=Ze(e),i=r&&!n&&e.init?function(){this._props=[]}:e,o={init:Vc,render:mC,add:hC,kill:QT,modifier:KT,rawVars:0},c={targetTest:0,get:0,getSetter:yC,aliases:{},register:0};if(Go(),e!==i){if(It[r])return;Et(i,Et(d9(e,o),c)),Bo(i.prototype,Bo(o,d9(e,c))),It[i.prop=r]=i,e.targetTest&&(t9.push(i),oC[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}rI(r,i),e.register&&e.register(Ct,i,bt)}else vI.push(e)},Ae=255,hc={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]},ej=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},MI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:hc.black,o,c,l,d,h,u,p,f,m,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),hc[e])i=hc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+o+o+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=g=e.match(mL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,o=u*2-c,i.length>3&&(i[3]*=1),i[0]=ej(d+1/3,o,c),i[1]=ej(d,o,c),i[2]=ej(d-1/3,o,c);else if(~e.indexOf("="))return i=e.match(QS),n&&i.length<4&&(i[3]=1),i}else i=e.match(mL)||hc.transparent;i=i.map(Number)}return r&&!g&&(o=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(o,c,l),f=Math.min(o,c,l),u=(p+f)/2,p===f?d=h=0:(m=p-f,h=u>.5?m/(2-p-f):m/(p+f),d=p===o?(c-l)/m+(c<l?6:0):p===c?(l-o)/m+2:(o-c)/m+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},bI=function(e){var r=[],n=[],i=-1;return e.split(rr).forEach(function(o){var c=o.match(fo)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},wL=function(e,r,n){var i="",o=(e+i).match(rr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!o)return e;if(o=o.map(function(f){return(f=MI(f,r,1))&&c+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=bI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(rr,"1").split(fo),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?o.shift()||c+"0,0,0,0)":(u.length?u:o.length?o:n).shift());if(!h)for(h=e.split(rr),p=h.length-1;l<p;l++)i+=h[l]+o[l];return i+h[p]},rr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in hc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),FT=/hsl[a]?\(/,jI=function(e){var r=e.join(" "),n;if(rr.lastIndex=0,rr.test(r))return n=FT.test(r),e[1]=wL(e[1],n),e[0]=wL(e[0],n,bI(e[1])),!0},Uc,Pt=function(){var a=Date.now,e=500,r=33,n=a(),i=n,o=1e3/240,c=o,l=[],d,h,u,p,f,m,g=function y(x){var k=a()-i,w=x===!0,M,L,b,I;if((k>e||k<0)&&(n+=k-r),i+=k,b=i-n,M=b-c,(M>0||w)&&(I=++p.frame,f=b-p.time*1e3,p.time=b=b/1e3,c+=M+(M>=o?4:o-M),L=1),w||(d=h(y)),L)for(m=0;m<l.length;m++)l[m](b,f,I,x)};return p={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(x){return f/(1e3/(x||60))},wake:function(){tI&&(!jj&&nC()&&(na=jj=window,iC=na.document||{},Ft.gsap=Ct,(na.gsapVersions||(na.gsapVersions=[])).push(Ct.version),aI(c9||na.GreenSockGlobals||!na.gsap&&na||{}),vI.forEach(wI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Uc=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Uc=0,h=Vc},lagSmoothing:function(x,k){e=x||1/0,r=Math.min(k||33,e)},fps:function(x){o=1e3/(x||240),c=p.time*1e3+o},add:function(x,k,w){var M=k?function(L,b,I,S){x(L,b,I,S),p.remove(M)}:x;return p.remove(x),l[w?"unshift":"push"](M),Go(),M},remove:function(x,k){~(k=l.indexOf(x))&&l.splice(k,1)&&m>=k&&m--},_listeners:l},p}(),Go=function(){return!Uc&&Pt.wake()},ke={},ET=/^[\d.\-M][\d.\-,\s]/,HT=/["']/g,OT=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],o=1,c=n.length,l,d,h;o<c;o++)d=n[o],l=o!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(HT,"").trim():+h,i=d.substr(l+1).trim();return r},VT=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)},BT=function(e){var r=(e+"").split("("),n=ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[OT(r[1])]:VT(e).split(",").map(oI)):ke._CE&&ET.test(e)?ke._CE("",e):n},CI=function(e){return function(r){return 1-e(1-r)}},LI=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},eo=function(e,r){return e&&(Ze(e)?e:ke[e]||BT(e))||r},lo=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 o={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ke[l]=Ft[l]=o,ke[c=l.toLowerCase()]=n;for(var d in o)ke[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ke[l+"."+d]=o[d]}),o},SI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},tj=function a(e,r,n){var i=r>=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),c=o/bj*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*yT((u-c)*o)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:SI(l);return o=bj/o,d.config=function(h,u){return a(e,h,u)},d},aj=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(o){return 1-n(1-o)}:SI(n);return i.config=function(o){return a(e,o)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;lo(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})});ke.Linear.easeNone=ke.none=ke.Linear.easeIn;lo("Elastic",tj("in"),tj("out"),tj());(function(a,e){var r=1/e,n=2*r,i=2.5*r,o=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};lo("Bounce",function(c){return 1-o(1-c)},o)})(7.5625,2.75);lo("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});lo("Circ",function(a){return-(YS(1-a*a)-1)});lo("Sine",function(a){return a===1?1:-pT(a*hT)+1});lo("Back",aj("in"),aj("out"),aj());ke.SteppedEase=ke.steps=Ft.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),o=r?1:0,c=1-_e;return function(l){return((i*e1(0,c,l)|0)+o)*n}}};Vo.ease=ke["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return cC+=a+","+a+"Params,"});var II=function(e,r){this.id=uT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:iI,this.set=r?r.getSetter:yC},$c=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,$o(this,+r.duration,1,1),this.data=r.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),Uc||Pt.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,$o(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(Go(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(S9(this,n),!o._dp||o.parent||dI(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&sa(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),sI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+gL(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)+gL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*o,i):this._repeat?Uo(this._tTime,o)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var o=this.parent&&this._ts?h9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(e1(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),L9(this),jT(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):(Go(),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)&&sa(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?h9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=vT);var i=lt;return lt=n,dC(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,o=arguments.length?n:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):o},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(Bt(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,o;return!!(!n||this._ts&&this._initted&&n.isActive()&&(o=n.rawTime(!0))>=i&&o<this.endTime(!0)-_e)},e.eventCallback=function(n,i,o){var c=this.vars;return arguments.length>1?(i?(c[n]=i,o&&(c[n+"Params"]=o),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,o=i._prom;return new Promise(function(c){var l=Ze(n)?n:cI,d=function(){var u=i.then;i.then=null,o&&o(),Ze(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(){dc(this)},a}();Et($c.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){JS(e,a);function e(n,i){var o;return n===void 0&&(n={}),o=a.call(this,n)||this,o.labels={},o.smoothChildTiming=!!n.smoothChildTiming,o.autoRemoveChildren=!!n.autoRemoveChildren,o._sort=wt(n.sortChildren),Ve&&sa(n.parent||Ve,wa(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),n.scrollTrigger&&hI(wa(o),n.scrollTrigger),o}var r=e.prototype;return r.to=function(i,o,c){return Fc(0,arguments,this),this},r.from=function(i,o,c){return Fc(1,arguments,this),this},r.fromTo=function(i,o,c,l){return Fc(2,arguments,this),this},r.set=function(i,o,c){return o.duration=0,o.parent=this,zc(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ke(i,o,Bt(this,c),1),this},r.call=function(i,o,c){return sa(this,Ke.delayedCall(0,i,o),c)},r.staggerTo=function(i,o,c,l,d,h,u){return c.duration=o,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ke(i,c,Bt(this,d)),this},r.staggerFrom=function(i,o,c,l,d,h,u){return c.runBackwards=1,zc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,o,c,l,d,h,u)},r.staggerFromTo=function(i,o,c,l,d,h,u,p){return l.startAt=c,zc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,o,l,d,h,u,p)},r.render=function(i,o,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,m,g,y,x,k,w,M,L,b,I,S;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,L=this._start,M=this._ts,k=!M,p&&(h||(l=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(I=this._yoyo,x=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,c);if(f=Oe(u%x),u===d?(y=this._repeat,f=h):(b=Oe(u/x),y=~~b,y&&y===b&&(f=h,y--),f>h&&(f=h)),b=Uo(this._tTime,x),!l&&this._tTime&&b!==y&&this._tTime-b*x-this._dur<=0&&(b=y),I&&y&1&&(f=h-f,S=1),y!==b&&!this._lock){var C=I&&b&1,N=C===(I&&y&1);if(y<b&&(C=!C),l=C?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Oe(y*x)),o,!h)._lock=0,this._tTime=u,!o&&this.parent&&qt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,b=y),l&&l!==this._time||k!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=C?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!k)return this;LI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=IT(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&&!o&&!b&&(qt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&i>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,o,c),f!==this._time||!this._ts&&!k){w=0,g&&(u+=this._zTime=-_e);break}}m=g}else{m=this._last;for(var T=i<0?i:f;m;){if(g=m._prev,(m._act||T<=m._end)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(T-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(T-m._start)*m._ts,o,c||lt&&dC(m)),f!==this._time||!this._ts&&!k){w=0,g&&(u+=this._zTime=T?-_e:_e);break}}m=g}}if(w&&!o&&(this.pause(),w.render(f>=l?0:-_e)._zTime=f>=l?1:-1,this._ts))return this._start=L,L9(this),this.render(i,o,c);this._onUpdate&&!o&&qt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(L===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&or(this,1),!o&&!(i<0&&!l)&&(u||l||!d)&&(qt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,o){var c=this;if(Aa(o)||(o=Bt(this,o,i)),!(i instanceof $c)){if(ut(i))return i.forEach(function(l){return c.add(l,o)}),this;if(it(i))return this.addLabel(i,o);if(Ze(i))i=Ke.delayedCall(0,i);else return this}return this!==i?sa(this,i,o):this},r.getChildren=function(i,o,c,l){i===void 0&&(i=!0),o===void 0&&(o=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ke?o&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,o,c)))),h=h._next;return d},r.getById=function(i){for(var o=this.getChildren(1,1,1),c=o.length;c--;)if(o[c].vars.id===i)return o[c]},r.remove=function(i){return it(i)?this.removeLabel(i):Ze(i)?this.killTweensOf(i):(i.parent===this&&C9(this,i),i===this._recent&&(this._recent=this._last),Qs(this))},r.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(Pt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},r.addLabel=function(i,o){return this.labels[i]=Bt(this,o),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,o,c){var l=Ke.delayedCall(0,o||Vc,c);return l.data="isPause",this._hasPause=1,sa(this,l,Bt(this,i))},r.removePause=function(i){var o=this._first;for(i=Bt(this,i);o;)o._start===i&&o.data==="isPause"&&or(o),o=o._next},r.killTweensOf=function(i,o,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ja!==l[d]&&l[d].kill(i,o);return this},r.getTweensOf=function(i,o){for(var c=[],l=Gt(i),d=this._first,h=Aa(o),u;d;)d instanceof Ke?wT(d._targets,l)&&(h?(!Ja||d._initted&&d._ts)&&d.globalTime(0)<=o&&d.globalTime(d.totalDuration())>o:!o||d.isActive())&&c.push(d):(u=d.getTweensOf(l,o)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,o){o=o||{};var c=this,l=Bt(c,i),d=o,h=d.startAt,u=d.onStart,p=d.onStartParams,f=d.immediateRender,m,g=Ke.to(c,Et({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!m){var x=o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());g._dur!==x&&$o(g,x,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,p||[])}},o));return f?g.render(0):g},r.tweenFromTo=function(i,o,c){return this.tweenTo(o,Et({startAt:{time:Bt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),vL(this,Bt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),vL(this,Bt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,o,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(o)for(h in d)d[h]>=c&&(d[h]+=i);return Qs(this)},r.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,c;o;)c=o._next,this.remove(o),o=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Qs(this)},r.totalDuration=function(i){var o=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,sa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(o-=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>o&&l._ts&&(o=l._end),l=h;$o(c,c===Ve&&c._time>o?c._time:o,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Ve._ts&&(sI(Ve,h9(i,Ve)),nI=Pt.frame),Pt.frame>=fL){fL+=Dt.autoSleep||120;var o=Ve._first;if((!o||!o._ts)&&Dt.autoSleep&&Pt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Pt.sleep()}}},e}($c);Et(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var UT=function(e,r,n,i,o,c,l){var d=new bt(this._pt,e,r,0,1,TI,null,o),h=0,u=0,p,f,m,g,y,x,k,w;for(d.b=n,d.e=i,n+="",i+="",(k=~i.indexOf("random("))&&(i=Bc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),f=n.match(K9)||[];p=K9.exec(i);)g=p[0],y=i.substring(h,p.index),m?m=(m+1)%5:y.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(x=parseFloat(f[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:x,c:g.charAt(1)==="="?Do(x,g)-x:parseFloat(g)-x,m:m&&m<4?Math.round:0},h=K9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(eI.test(i)||k)&&(d.e=0),this._pt=d,d},hC=function(e,r,n,i,o,c,l,d,h,u){Ze(i)&&(i=i(o||0,e,c));var p=e[r],f=n!=="get"?n:Ze(p)?h?e[r.indexOf("set")||!Ze(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,m=Ze(p)?h?XT:PI:pC,g;if(it(i)&&(~i.indexOf("random(")&&(i=Bc(i)),i.charAt(1)==="="&&(g=Do(f,i)+(ht(f)||0),(g||g===0)&&(i=g))),!u||f!==i||_j)return!isNaN(f*i)&&i!==""?(g=new bt(this._pt,e,r,+f||0,i-(f||0),typeof p=="boolean"?YT:qI,0,m),h&&(g.fp=h),l&&g.modifier(l,this,e),this._pt=g):(!p&&!(r in e)&&sC(r,i),UT.call(this,e,r,f,i,m,d||Dt.stringFilter,h))},$T=function(e,r,n,i,o){if(Ze(e)&&(e=Ec(e,o,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||KS(e))return it(e)?Ec(e,o,r,n,i):e;var c={},l;for(l in e)c[l]=Ec(e[l],o,r,n,i);return c},NI=function(e,r,n,i,o,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(o,l.rawVars?r[e]:$T(r[e],i,o,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,o,e,0,1,l.render,l,0,l.priority),n!==xo))for(h=n._ptLookup[n._targets.indexOf(o)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ja,_j,uC=function a(e,r,n){var i=e.vars,o=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,f=i.keyframes,m=i.autoRevert,g=e._dur,y=e._startAt,x=e._targets,k=e.parent,w=k&&k.data==="nested"?k.vars.targets:x,M=e._overwrite==="auto"&&!aC,L=e.timeline,b,I,S,C,N,T,R,D,_,q,z,V,G;if(L&&(!f||!o)&&(o="none"),e._ease=eo(o,Vo.ease),e._yEase=p?CI(eo(p===!0?o:p,Vo.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!L&&!!i.runBackwards,!L||f&&!i.stagger){if(D=x[0]?Ks(x[0]).harness:0,V=D&&i[D.prop],b=d9(i,oC),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!m?y.render(-1,!0):y.revert(u&&g?e9:kT),y._lazy=0),c){if(or(e._startAt=Ke.set(x,Et({data:"isStart",overwrite:!1,parent:k,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return qt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!m)&&e._startAt.revert(e9),l&&g&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&g&&!y){if(r&&(l=!1),S=Et({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:k},b),V&&(S[D.prop]=V),or(e._startAt=Ke.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(e9):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=g&&wt(d)||d&&!g,I=0;I<x.length;I++){if(N=x[I],R=N._gsap||lC(x)[I]._gsap,e._ptLookup[I]=q={},Cj[R.id]&&ar.length&&l9(),z=w===x?I:w.indexOf(N),D&&(_=new D).init(N,V||b,e,z,w)!==!1&&(e._pt=C=new bt(e._pt,N,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){q[E]=C}),_.priority&&(T=1)),!D||V)for(S in b)It[S]&&(_=NI(S,b,e,z,N,w))?_.priority&&(T=1):q[S]=C=hC.call(e,N,S,"get",b[S],z,w,0,i.stringFilter);e._op&&e._op[I]&&e.kill(N,e._op[I]),M&&e._pt&&(Ja=e,Ve.killTweensOf(N,q,e.globalTime(r)),G=!e.parent,Ja=0),e._pt&&d&&(Cj[R.id]=1)}T&&RI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!G,f&&r<=0&&L.render($t,!0,!0)},GT=function(e,r,n,i,o,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,f,m;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][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 _j=1,e.vars[r]="+=0",uC(e,l),_j=0,d?Oc(r+" not eligible for reset"):1;h.push(u)}for(m=h.length;m--;)p=h[m],u=p._pt||p,u.s=(i||i===0)&&!o?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Je(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},WT=function(e,r){var n=e[0]?Ks(e[0]).harness:0,i=n&&n.aliases,o,c,l,d;if(!i)return r;o=Bo({},r);for(c in i)if(c in o)for(d=i[c].split(","),l=d.length;l--;)o[d[l]]=o[c];return o},ZT=function(e,r,n,i){var o=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:o})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:o})},Ec=function(e,r,n,i,o){return Ze(e)?e.call(r,n,i,o):it(e)&&~e.indexOf("random(")?Bc(e):e},AI=cC+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_I={};Mt(AI+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return _I[a]=1});var Ke=function(a){JS(e,a);function e(n,i,o,c){var l;typeof i=="number"&&(o.duration=i,i=o,o=null),l=a.call(this,c?i:zc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,f=d.stagger,m=d.overwrite,g=d.keyframes,y=d.defaults,x=d.scrollTrigger,k=d.yoyoEase,w=i.parent||Ve,M=(ut(n)||KS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),L,b,I,S,C,N,T,R;if(l._targets=M.length?lC(M):Oc("GSAP target "+n+" not found. https://gsap.com",!Dt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||o1(h)||o1(u)){if(i=l.vars,L=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),L.kill(),L.parent=L._dp=wa(l),L._start=0,f||o1(h)||o1(u)){if(S=M.length,T=f&&mI(f),pa(f))for(C in f)~AI.indexOf(C)&&(R||(R={}),R[C]=f[C]);for(b=0;b<S;b++)I=d9(i,_I),I.stagger=0,k&&(I.yoyoEase=k),R&&Bo(I,R),N=M[b],I.duration=+Ec(h,wa(l),b,N,M),I.delay=(+Ec(u,wa(l),b,N,M)||0)-l._delay,!f&&S===1&&I.delay&&(l._delay=u=I.delay,l._start+=u,I.delay=0),L.to(N,I,T?T(b,N,M):0),L._ease=ke.none;L.duration()?h=u=0:l.timeline=0}else if(g){zc(Et(L.vars.defaults,{ease:"none"})),L._ease=eo(g.ease||i.ease||"none");var D=0,_,q,z;if(ut(g))g.forEach(function(V){return L.to(M,V,">")}),L.duration();else{I={};for(C in g)C==="ease"||C==="easeEach"||ZT(C,g[C],I,g.easeEach);for(C in I)for(_=I[C].sort(function(V,G){return V.t-G.t}),D=0,b=0;b<_.length;b++)q=_[b],z={ease:q.e,duration:(q.t-(b?_[b-1].t:0))/100*h},z[C]=q.v,L.to(M,z,D),D+=z.duration;L.duration()<h&&L.to({},{duration:h-L.duration()})}}h||l.duration(h=L.duration())}else l.timeline=0;return m===!0&&!aC&&(Ja=wa(l),Ve.killTweensOf(M),Ja=0),sa(w,wa(l),o),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!g&&l._start===Oe(w._time)&&wt(p)&&CT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),x&&hI(wa(l),x),l}var r=e.prototype;return r.render=function(i,o,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,m,g,y,x,k,w,M,L;if(!h)ST(this,i,o,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,o,c);if(f=Oe(p%y),p===d?(g=this._repeat,f=h):(x=Oe(p/y),g=~~x,g&&g===x?(f=h,g--):f>h&&(f=h)),k=this._yoyo&&g&1,k&&(L=this._yEase,f=h-f),x=Uo(this._tTime,y),f===l&&!c&&this._initted&&g===x)return this._tTime=p,this;g!==x&&(M&&this._yEase&&LI(M,k),this.vars.repeatRefresh&&!k&&!this._lock&&f!==y&&this._initted&&(this._lock=c=1,this.render(Oe(y*g),!0).invalidate()._lock=0))}if(!this._initted){if(uI(this,u?i:f,c,o,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&g!==x))return this;if(h!==this._dur)return this.render(i,o,c)}if(this._tTime=p,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(L||this._ease)(f/h),this._from&&(this.ratio=w=1-w),!l&&p&&!o&&!x&&(qt(this,"onStart"),this._tTime!==p))return this;for(m=this._pt;m;)m.r(w,m.d),m=m._next;M&&M.render(i<0?i:M._dur*M._ease(f/this._dur),o,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&Lj(this,i,o,c),qt(this,"onUpdate")),this._repeat&&g!==x&&this.vars.onRepeat&&!o&&this.parent&&qt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&Lj(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&or(this,1),!o&&!(u&&!l)&&(p||l||k)&&(qt(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,o,c,l,d){Uc||Pt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||uC(this,h),u=this._ease(h/this._dur),GT(this,i,o,c,l,u,h,d)?this.resetTo(i,o,c,l,1):(S9(this,0),this.parent||lI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?dc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Ja&&Ja.vars.overwrite!==!0)._first||dc(this),this.parent&&c!==this.timeline.totalDuration()&&$o(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,m,g,y,x,k;if((!o||o==="all")&&bT(l,d))return o==="all"&&(this._pt=0),dc(this);for(p=this._op=this._op||[],o!=="all"&&(it(o)&&(y={},Mt(o,function(w){return y[w]=1}),o=y),o=WT(l,o)),k=l.length;k--;)if(~d.indexOf(l[k])){f=h[k],o==="all"?(p[k]=o,g=f,m={}):(m=p[k]=p[k]||{},g=o);for(y in g)x=f&&f[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&C9(this,x,"_pt"),delete f[y]),m!=="all"&&(m[y]=1)}return this._initted&&!this._pt&&u&&dc(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return Fc(1,arguments)},e.delayedCall=function(i,o,c,l){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,o,c){return Fc(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,c){return Ve.killTweensOf(i,o,c)},e}($c);Et(Ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ke[a]=function(){var e=new ft,r=Ij.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var pC=function(e,r,n){return e[r]=n},PI=function(e,r,n){return e[r](n)},XT=function(e,r,n,i){return e[r](i.fp,n)},JT=function(e,r,n){return e.setAttribute(r,n)},yC=function(e,r){return Ze(e[r])?PI:rC(e[r])&&e.setAttribute?JT:pC},qI=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},YT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},TI=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)},mC=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},KT=function(e,r,n,i){for(var o=this._pt,c;o;)c=o._next,o.p===i&&o.modifier(e,r,n),o=c},QT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?C9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},eR=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},RI=function(e){for(var r=e._pt,n,i,o,c;r;){for(n=r._next,i=o;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:o=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=o},bt=function(){function a(r,n,i,o,c,l,d,h,u){this.t=n,this.s=o,this.c=c,this.p=i,this.r=l||qI,this.d=d||this,this.set=h||pC,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,o){this.mSet=this.mSet||this.set,this.set=eR,this.m=n,this.mt=o,this.tween=i},a}();Mt(cC+"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 oC[a]=1});Ft.TweenMax=Ft.TweenLite=Ke;Ft.TimelineLite=Ft.TimelineMax=ft;Ve=new ft({sortChildren:!1,defaults:Vo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Dt.stringFilter=jI;var to=[],a9={},tR=[],ML=0,aR=0,rj=function(e){return(a9[e]||tR).map(function(r){return r()})},Pj=function(){var e=Date.now(),r=[];e-ML>2&&(rj("matchMediaInit"),to.forEach(function(n){var i=n.queries,o=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==o[l]&&(o[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),rj("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),ML=e,rj("matchMedia"))},DI=function(){function a(r,n){this.selector=n&&Nj(n),this.data=[],this._r=[],this.isReverted=!1,this.id=aR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,o){Ze(n)&&(o=i,i=n,n=Ze);var c=this,l=function(){var h=Fe,u=c.selector,p;return h&&h!==c&&h.data.push(c),o&&(c.selector=Nj(o)),Fe=c,p=i.apply(c,arguments),Ze(p)&&c._r.push(p),Fe=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ze?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 Ke&&!(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 o=this;if(n?function(){for(var l=o.getTweens(),d=o.data.length,h;d--;)h=o.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=o.data.length;d--;)h=o.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ke)&&h.revert&&h.revert(n);o._r.forEach(function(u){return u(n,o)}),o.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=to.length;c--;)to[c].id===this.id&&to.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),rR=function(){function a(r){this.contexts=[],this.scope=r,Fe&&Fe.data.push(this)}var e=a.prototype;return e.add=function(n,i,o){pa(n)||(n={matches:n});var c=new DI(0,o||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&&(to.indexOf(c)<0&&to.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(Pj):d.addEventListener("change",Pj)));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}(),u9={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 wI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Ve.getTweensOf(e,r)},getProperty:function(e,r,n,i){it(e)&&(e=Gt(e)[0]);var o=Ks(e||{}).get,c=n?cI:oI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||o)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||o)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return Ct.quickSetter(u,r,n)}),o=i.length;return function(u){for(var p=o;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Ks(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;xo._pt=0,p.init(e,n?u+n:u,xo,0,[e]),p.render(1,p),xo._pt&&mC(1,xo)}: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,o=Ct.to(e,Et((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return o.resetTo(r,d,h,u)};return c.tween=o,c},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=eo(e.ease,Vo.ease)),xL(Vo,e||{})},config:function(e){return xL(Dt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,o=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!Ft[l]&&Oc(r+" effect requires "+l+" plugin.")}),Q9[r]=function(l,d,h){return n(Gt(l),Et(d||{},o),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(Q9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ke[e]=eo(r)},parseEase:function(e,r){return arguments.length?eo(e,r):ke},getById:function(e){return Ve.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,o;for(n.smoothChildTiming=wt(e.smoothChildTiming),Ve.remove(n),n._dp=0,n._time=n._tTime=Ve._time,i=Ve._first;i;)o=i._next,(r||!(!i._dur&&i instanceof Ke&&i.vars.onComplete===i._targets[0]))&&sa(n,i,i._start-i._delay),i=o;return sa(Ve,n,0),n},context:function(e,r){return e?new DI(e,r):Fe},matchMedia:function(e){return new rR(e)},matchMediaRefresh:function(){return to.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||Pj()},addEventListener:function(e,r){var n=a9[e]||(a9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=a9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:RT,wrapYoyo:DT,distribute:mI,random:xI,snap:fI,normalize:TT,getUnit:ht,clamp:AT,splitColor:MI,toArray:Gt,selector:Nj,mapRange:kI,pipe:PT,unitize:qT,interpolate:zT,shuffle:yI},install:aI,effects:Q9,ticker:Pt,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Ve,core:{PropTween:bt,globals:rI,Tween:Ke,Timeline:ft,Animation:$c,getCache:Ks,_removeLinkedListItem:C9,reverting:function(){return lt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return aC=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return u9[a]=Ke[a]});Pt.add(ft.updateRoot);xo=u9.to({},{duration:0});var nR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},iR=function(e,r){var n=e._targets,i,o,c;for(i in r)for(o=n.length;o--;)c=e._ptLookup[o][i],c&&(c=c.d)&&(c._pt&&(c=nR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[o],i))},nj=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,o,c){c._onInit=function(l){var d,h;if(it(o)&&(d={},Mt(o,function(u){return d[u]=1}),o=d),r){d={};for(h in o)d[h]=r(o[h]);o=d}iR(l,o)}}}},Ct=u9.registerPlugin({name:"attr",init:function(e,r,n,i,o){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,o,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)}},nj("roundProps",Aj),nj("modifiers"),nj("snap",fI))||u9;Ke.version=ft.version=Ct.version="3.14.2";tI=1;nC()&&Go();ke.Power0;ke.Power1;ke.Power2;ke.Power3;ke.Power4;ke.Linear;ke.Quad;ke.Cubic;ke.Quart;ke.Quint;ke.Strong;ke.Elastic;ke.Back;ke.SteppedEase;ke.Bounce;ke.Sine;ke.Expo;ke.Circ;/*!
7732
+ */var Dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Vo={duration:.5,overwrite:!1,delay:0},aC,lt,Ee,$t=1e8,_e=1/$t,bj=Math.PI*2,hT=bj/4,uT=0,YS=Math.sqrt,pT=Math.cos,yT=Math.sin,it=function(e){return typeof e=="string"},Ze=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},rC=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},nC=function(){return typeof window<"u"},o1=function(e){return Ze(e)||it(e)},KS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,mT=/random\([^)]+\)/g,fT=/,\s*/g,mL=/(?:-?\.?\d|\.)+/gi,QS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,fo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,eI=/[+-]=-?[.\d]+/,xT=/[^,'"\[\]\s]+/gi,gT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Be,na,jj,iC,Ft={},c9={},tI,aI=function(e){return(c9=Bo(e,Ft))&&Ct},sC=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Oc=function(e,r){return!r&&console.warn(e)},rI=function(e,r){return e&&(Ft[e]=r)&&c9&&(c9[e]=r)||Ft},Vc=function(){return 0},kT={suppressEvents:!0,isStart:!0,kill:!1},e9={suppressEvents:!0,kill:!1},vT={suppressEvents:!0},oC={},ar=[],Cj={},nI,It={},Q9={},fL=30,t9=[],cC="",lC=function(e){var r=e[0],n,i;if(pa(r)||Ze(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=t9.length;i--&&!t9[i].targetTest(r););n=t9[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new II(e[i],n)))||e.splice(i,1);return e},Ks=function(e){return e._gsap||lC(Gt(e))[0]._gsap},iI=function(e,r,n){return(n=e[r])&&Ze(n)?e[r]():rC(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Je=function(e){return Math.round(e*1e5)/1e5||0},Ve=function(e){return Math.round(e*1e7)/1e7||0},Do=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},wT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},l9=function(){var e=ar.length,r=ar.slice(0),n,i;for(Cj={},ar.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},dC=function(e){return!!(e._initted||e._startAt||e.add)},sI=function(e,r,n,i){ar.length&&!lt&&l9(),e.render(r,n,!!(lt&&r<0&&dC(e))),ar.length&&!lt&&l9()},oI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(xT).length<2?r:it(e)?e.trim():e},cI=function(e){return e},Et=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},MT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Bo=function(e,r){for(var n in r)e[n]=r[n];return e},xL=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},d9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},zc=function(e){var r=e.parent||Be,n=e.keyframes?MT(ut(e.keyframes)):Et;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},bT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},lI=function(e,r,n,i,o){var c=e[i],l;if(o)for(l=r[o];c&&c[o]>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},C9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var o=r._prev,c=r._next;o?o._next=c:e[n]===r&&(e[n]=c),c?c._prev=o:e[i]===r&&(e[i]=o),r._next=r._prev=r.parent=null},or=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qs=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},jT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},Lj=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(e9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},CT=function a(e){return!e||e._ts&&a(e.parent)},gL=function(e){return e._repeat?Uo(e._tTime,e=e.duration()+e._rDelay)*e:0},Uo=function(e,r){var n=Math.floor(e=Ve(e/r));return e&&n===e?n-1:n},h9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},L9=function(e){return e._end=Ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},S9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Ve(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),L9(e),n._dirty||Qs(n,e)),e},dI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=h9(e.rawTime(),r),(!r._dur||e1(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Qs(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}},sa=function(e,r,n,i){return r.parent&&or(r),r._start=Ve((Aa(n)?n:n||e!==Be?Bt(e,n,r):e._time)+r._delay),r._end=Ve(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),lI(e,r,"_first","_last",e._sort?"_start":0),Sj(r)||(e._recent=r),i||dI(e,r),e._ts<0&&S9(e,e._tTime),e},hI=function(e,r){return(Ft.ScrollTrigger||sC("scrollTrigger",r))&&Ft.ScrollTrigger.create(r,e)},uI=function(e,r,n,i,o){if(uC(e,r,o),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&nI!==Pt.frame)return ar.push(e),e._lazy=[o,i],1},LT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},Sj=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},ST=function(e,r,n,i){var o=e.ratio,c=r<0||!r&&(!e._start&&LT(e)&&!(!e._initted&&Sj(e))||(e._ts<0||e._dp._ts<0)&&!Sj(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=e1(0,e._tDur,r),u=Uo(d,l),e._yoyo&&u&1&&(c=1-c),u!==Uo(e._tTime,l)&&(o=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==o||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&uI(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&&Lj(e,r,n,!0),e._onUpdate&&!n&&qt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&qt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&or(e,1),!n&&!lt&&(qt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},IT=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}},$o=function(e,r,n,i){var o=e._repeat,c=Ve(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=o?o<0?1e10:Ve(c*(o+1)+e._rDelay*o):c,l>0&&!i&&S9(e,e._tTime=e._tDur*l),e.parent&&L9(e),n||Qs(e.parent,e),e},kL=function(e){return e instanceof ft?Qs(e):$o(e,e._dur)},NT={_start:0,endTime:Vc,totalDuration:Vc},Bt=function a(e,r,n){var i=e.labels,o=e._recent||NT,c=e.duration()>=$t?o.endTime(!1):e._dur,l,d,h;return it(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==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?o: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},Fc=function(e,r,n){var i=Aa(r[1]),o=(i?2:1)+(e<2?0:1),c=r[o],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[o-1]}return new Ke(r[0],c,r[o+1])},yr=function(e,r){return e||e===0?r(e):r},e1=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!it(e)||!(r=gT.exec(e))?"":r[1]},AT=function(e,r,n){return yr(n,function(i){return e1(e,r,i)})},Ij=[].slice,pI=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},_T=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var o;return it(i)&&!r||pI(i,1)?(o=n).push.apply(o,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Ee&&!r&&Ee.selector?Ee.selector(e):it(e)&&!n&&(jj||!Go())?Ij.call((r||iC).querySelectorAll(e),0):ut(e)?_T(e,n):pI(e)?Ij.call(e,0):e?[e]:[]},Nj=function(e){return e=Gt(e)[0]||Oc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Oc("Invalid scope")||iC.createElement("div"):e)}},yI=function(e){return e.sort(function(){return .5-Math.random()})},mI=function(e){if(Ze(e))return e;var r=pa(e)?e:{each:e},n=eo(r.ease),i=r.from||0,o=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return it(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(f,m,g){var y=(g||r).length,x=c[y],k,w,M,L,b,I,S,C,N;if(!x){if(N=r.grid==="auto"?0:(r.grid||[1,$t])[1],!N){for(S=-$t;S<(S=g[N++].getBoundingClientRect().left)&&N<y;);N<y&&N--}for(x=c[y]=[],k=d?Math.min(N,y)*u-.5:i%N,w=N===$t?0:d?y*p/N-.5:i/N|0,S=0,C=$t,I=0;I<y;I++)M=I%N-k,L=w-(I/N|0),x[I]=b=h?Math.abs(h==="y"?L:M):YS(M*M+L*L),b>S&&(S=b),b<C&&(C=b);i==="random"&&yI(x),x.max=S-C,x.min=C,x.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),x.b=y<0?o-y:o,x.u=ht(r.amount||r.each)||0,n=n&&y<0?CI(n):n}return y=(x[f]-x.min)/x.max||0,Ve(x.b+(n?n(y):y)*x.v)+x.u}},Aj=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Ve(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Aa(n)?0:ht(n))}},fI=function(e,r){var n=ut(e),i,o;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(o=!Aa(e[0]))&&(i*=i)):e=Aj(e.increment)),yr(r,n?Ze(e)?function(c){return o=e(c),Math.abs(o-c)<=i?o:c}:function(c){for(var l=parseFloat(o?c.x:c),d=parseFloat(o?c.y:0),h=$t,u=0,p=e.length,f,m;p--;)o?(f=e[p].x-l,m=e[p].y-d,f=f*f+m*m):f=Math.abs(e[p]-l),f<h&&(h=f,u=p);return u=!i||h<=i?e[u]:c,o||u===c||Aa(c)?u:u+ht(c)}:Aj(e))},xI=function(e,r,n,i){return yr(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})},PT=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(o,c){return c(o)},i)}},qT=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},TT=function(e,r,n){return kI(e,r,0,1,n)},gI=function(e,r,n){return yr(n,function(i){return e[~~r(i)]})},RT=function a(e,r,n){var i=r-e;return ut(e)?gI(e,a(0,e.length),r):yr(n,function(o){return(i+(o-e)%i)%i+e})},DT=function a(e,r,n){var i=r-e,o=i*2;return ut(e)?gI(e,a(0,e.length-1),r):yr(n,function(c){return c=(o+(c-e)%o)%o||0,e+(c>i?o-c:c)})},Bc=function(e){return e.replace(mT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(fT);return xI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},kI=function(e,r,n,i,o){var c=r-e,l=i-n;return yr(o,function(d){return n+((d-e)/c*l||0)})},zT=function a(e,r,n,i){var o=isNaN(e+r)?0:function(m){return(1-m)*e+m*r};if(!o){var c=it(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--,o=function(g){g*=p;var y=Math.min(f,~~g);return u[y](g-y)},n=r}else i||(e=Bo(ut(e)?[]:{},e));if(!u){for(d in r)hC.call(l,e,d,"get",r[d]);o=function(g){return mC(g,l)||(c?e.p:e)}}}return yr(n,o)},vL=function(e,r,n){var i=e.labels,o=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&o>(l=Math.abs(l))&&(d=c,o=l);return d},qt=function(e,r,n){var i=e.vars,o=i[r],c=Ee,l=e._ctx,d,h,u;if(o)return d=i[r+"Params"],h=i.callbackScope||e,n&&ar.length&&l9(),l&&(Ee=l),u=d?o.apply(h,d):o.call(h),Ee=c,u},dc=function(e){return or(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&qt(e,"onInterrupt"),e},xo,vI=[],wI=function(e){if(e)if(e=!e.name&&e.default||e,nC()||e.headless){var r=e.name,n=Ze(e),i=r&&!n&&e.init?function(){this._props=[]}:e,o={init:Vc,render:mC,add:hC,kill:QT,modifier:KT,rawVars:0},c={targetTest:0,get:0,getSetter:yC,aliases:{},register:0};if(Go(),e!==i){if(It[r])return;Et(i,Et(d9(e,o),c)),Bo(i.prototype,Bo(o,d9(e,c))),It[i.prop=r]=i,e.targetTest&&(t9.push(i),oC[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}rI(r,i),e.register&&e.register(Ct,i,bt)}else vI.push(e)},Ae=255,hc={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]},ej=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},MI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:hc.black,o,c,l,d,h,u,p,f,m,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),hc[e])i=hc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+o+o+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=g=e.match(mL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,o=u*2-c,i.length>3&&(i[3]*=1),i[0]=ej(d+1/3,o,c),i[1]=ej(d,o,c),i[2]=ej(d-1/3,o,c);else if(~e.indexOf("="))return i=e.match(QS),n&&i.length<4&&(i[3]=1),i}else i=e.match(mL)||hc.transparent;i=i.map(Number)}return r&&!g&&(o=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(o,c,l),f=Math.min(o,c,l),u=(p+f)/2,p===f?d=h=0:(m=p-f,h=u>.5?m/(2-p-f):m/(p+f),d=p===o?(c-l)/m+(c<l?6:0):p===c?(l-o)/m+2:(o-c)/m+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},bI=function(e){var r=[],n=[],i=-1;return e.split(rr).forEach(function(o){var c=o.match(fo)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},wL=function(e,r,n){var i="",o=(e+i).match(rr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!o)return e;if(o=o.map(function(f){return(f=MI(f,r,1))&&c+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=bI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(rr,"1").split(fo),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?o.shift()||c+"0,0,0,0)":(u.length?u:o.length?o:n).shift());if(!h)for(h=e.split(rr),p=h.length-1;l<p;l++)i+=h[l]+o[l];return i+h[p]},rr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in hc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),FT=/hsl[a]?\(/,jI=function(e){var r=e.join(" "),n;if(rr.lastIndex=0,rr.test(r))return n=FT.test(r),e[1]=wL(e[1],n),e[0]=wL(e[0],n,bI(e[1])),!0},Uc,Pt=function(){var a=Date.now,e=500,r=33,n=a(),i=n,o=1e3/240,c=o,l=[],d,h,u,p,f,m,g=function y(x){var k=a()-i,w=x===!0,M,L,b,I;if((k>e||k<0)&&(n+=k-r),i+=k,b=i-n,M=b-c,(M>0||w)&&(I=++p.frame,f=b-p.time*1e3,p.time=b=b/1e3,c+=M+(M>=o?4:o-M),L=1),w||(d=h(y)),L)for(m=0;m<l.length;m++)l[m](b,f,I,x)};return p={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(x){return f/(1e3/(x||60))},wake:function(){tI&&(!jj&&nC()&&(na=jj=window,iC=na.document||{},Ft.gsap=Ct,(na.gsapVersions||(na.gsapVersions=[])).push(Ct.version),aI(c9||na.GreenSockGlobals||!na.gsap&&na||{}),vI.forEach(wI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Uc=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Uc=0,h=Vc},lagSmoothing:function(x,k){e=x||1/0,r=Math.min(k||33,e)},fps:function(x){o=1e3/(x||240),c=p.time*1e3+o},add:function(x,k,w){var M=k?function(L,b,I,S){x(L,b,I,S),p.remove(M)}:x;return p.remove(x),l[w?"unshift":"push"](M),Go(),M},remove:function(x,k){~(k=l.indexOf(x))&&l.splice(k,1)&&m>=k&&m--},_listeners:l},p}(),Go=function(){return!Uc&&Pt.wake()},ke={},ET=/^[\d.\-M][\d.\-,\s]/,HT=/["']/g,OT=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],o=1,c=n.length,l,d,h;o<c;o++)d=n[o],l=o!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(HT,"").trim():+h,i=d.substr(l+1).trim();return r},VT=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)},BT=function(e){var r=(e+"").split("("),n=ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[OT(r[1])]:VT(e).split(",").map(oI)):ke._CE&&ET.test(e)?ke._CE("",e):n},CI=function(e){return function(r){return 1-e(1-r)}},LI=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},eo=function(e,r){return e&&(Ze(e)?e:ke[e]||BT(e))||r},lo=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 o={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ke[l]=Ft[l]=o,ke[c=l.toLowerCase()]=n;for(var d in o)ke[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ke[l+"."+d]=o[d]}),o},SI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},tj=function a(e,r,n){var i=r>=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),c=o/bj*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*yT((u-c)*o)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:SI(l);return o=bj/o,d.config=function(h,u){return a(e,h,u)},d},aj=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(o){return 1-n(1-o)}:SI(n);return i.config=function(o){return a(e,o)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;lo(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})});ke.Linear.easeNone=ke.none=ke.Linear.easeIn;lo("Elastic",tj("in"),tj("out"),tj());(function(a,e){var r=1/e,n=2*r,i=2.5*r,o=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};lo("Bounce",function(c){return 1-o(1-c)},o)})(7.5625,2.75);lo("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});lo("Circ",function(a){return-(YS(1-a*a)-1)});lo("Sine",function(a){return a===1?1:-pT(a*hT)+1});lo("Back",aj("in"),aj("out"),aj());ke.SteppedEase=ke.steps=Ft.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),o=r?1:0,c=1-_e;return function(l){return((i*e1(0,c,l)|0)+o)*n}}};Vo.ease=ke["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return cC+=a+","+a+"Params,"});var II=function(e,r){this.id=uT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:iI,this.set=r?r.getSetter:yC},$c=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,$o(this,+r.duration,1,1),this.data=r.data,Ee&&(this._ctx=Ee,Ee.data.push(this)),Uc||Pt.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,$o(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(Go(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(S9(this,n),!o._dp||o.parent||dI(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&sa(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),sI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+gL(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)+gL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*o,i):this._repeat?Uo(this._tTime,o)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var o=this.parent&&this._ts?h9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(e1(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),L9(this),jT(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):(Go(),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=Ve(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&sa(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?h9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=vT);var i=lt;return lt=n,dC(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,o=arguments.length?n:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):o},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(Bt(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,o;return!!(!n||this._ts&&this._initted&&n.isActive()&&(o=n.rawTime(!0))>=i&&o<this.endTime(!0)-_e)},e.eventCallback=function(n,i,o){var c=this.vars;return arguments.length>1?(i?(c[n]=i,o&&(c[n+"Params"]=o),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,o=i._prom;return new Promise(function(c){var l=Ze(n)?n:cI,d=function(){var u=i.then;i.then=null,o&&o(),Ze(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(){dc(this)},a}();Et($c.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){JS(e,a);function e(n,i){var o;return n===void 0&&(n={}),o=a.call(this,n)||this,o.labels={},o.smoothChildTiming=!!n.smoothChildTiming,o.autoRemoveChildren=!!n.autoRemoveChildren,o._sort=wt(n.sortChildren),Be&&sa(n.parent||Be,wa(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),n.scrollTrigger&&hI(wa(o),n.scrollTrigger),o}var r=e.prototype;return r.to=function(i,o,c){return Fc(0,arguments,this),this},r.from=function(i,o,c){return Fc(1,arguments,this),this},r.fromTo=function(i,o,c,l){return Fc(2,arguments,this),this},r.set=function(i,o,c){return o.duration=0,o.parent=this,zc(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ke(i,o,Bt(this,c),1),this},r.call=function(i,o,c){return sa(this,Ke.delayedCall(0,i,o),c)},r.staggerTo=function(i,o,c,l,d,h,u){return c.duration=o,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ke(i,c,Bt(this,d)),this},r.staggerFrom=function(i,o,c,l,d,h,u){return c.runBackwards=1,zc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,o,c,l,d,h,u)},r.staggerFromTo=function(i,o,c,l,d,h,u,p){return l.startAt=c,zc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,o,l,d,h,u,p)},r.render=function(i,o,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=i<=0?0:Ve(i),p=this._zTime<0!=i<0&&(this._initted||!h),f,m,g,y,x,k,w,M,L,b,I,S;if(this!==Be&&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,L=this._start,M=this._ts,k=!M,p&&(h||(l=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(I=this._yoyo,x=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,c);if(f=Ve(u%x),u===d?(y=this._repeat,f=h):(b=Ve(u/x),y=~~b,y&&y===b&&(f=h,y--),f>h&&(f=h)),b=Uo(this._tTime,x),!l&&this._tTime&&b!==y&&this._tTime-b*x-this._dur<=0&&(b=y),I&&y&1&&(f=h-f,S=1),y!==b&&!this._lock){var C=I&&b&1,N=C===(I&&y&1);if(y<b&&(C=!C),l=C?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Ve(y*x)),o,!h)._lock=0,this._tTime=u,!o&&this.parent&&qt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,b=y),l&&l!==this._time||k!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=C?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!k)return this;LI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=IT(this,Ve(l),Ve(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&&!o&&!b&&(qt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&i>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,o,c),f!==this._time||!this._ts&&!k){w=0,g&&(u+=this._zTime=-_e);break}}m=g}else{m=this._last;for(var q=i<0?i:f;m;){if(g=m._prev,(m._act||q<=m._end)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(q-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(q-m._start)*m._ts,o,c||lt&&dC(m)),f!==this._time||!this._ts&&!k){w=0,g&&(u+=this._zTime=q?-_e:_e);break}}m=g}}if(w&&!o&&(this.pause(),w.render(f>=l?0:-_e)._zTime=f>=l?1:-1,this._ts))return this._start=L,L9(this),this.render(i,o,c);this._onUpdate&&!o&&qt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(L===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&or(this,1),!o&&!(i<0&&!l)&&(u||l||!d)&&(qt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,o){var c=this;if(Aa(o)||(o=Bt(this,o,i)),!(i instanceof $c)){if(ut(i))return i.forEach(function(l){return c.add(l,o)}),this;if(it(i))return this.addLabel(i,o);if(Ze(i))i=Ke.delayedCall(0,i);else return this}return this!==i?sa(this,i,o):this},r.getChildren=function(i,o,c,l){i===void 0&&(i=!0),o===void 0&&(o=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ke?o&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,o,c)))),h=h._next;return d},r.getById=function(i){for(var o=this.getChildren(1,1,1),c=o.length;c--;)if(o[c].vars.id===i)return o[c]},r.remove=function(i){return it(i)?this.removeLabel(i):Ze(i)?this.killTweensOf(i):(i.parent===this&&C9(this,i),i===this._recent&&(this._recent=this._last),Qs(this))},r.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ve(Pt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},r.addLabel=function(i,o){return this.labels[i]=Bt(this,o),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,o,c){var l=Ke.delayedCall(0,o||Vc,c);return l.data="isPause",this._hasPause=1,sa(this,l,Bt(this,i))},r.removePause=function(i){var o=this._first;for(i=Bt(this,i);o;)o._start===i&&o.data==="isPause"&&or(o),o=o._next},r.killTweensOf=function(i,o,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ja!==l[d]&&l[d].kill(i,o);return this},r.getTweensOf=function(i,o){for(var c=[],l=Gt(i),d=this._first,h=Aa(o),u;d;)d instanceof Ke?wT(d._targets,l)&&(h?(!Ja||d._initted&&d._ts)&&d.globalTime(0)<=o&&d.globalTime(d.totalDuration())>o:!o||d.isActive())&&c.push(d):(u=d.getTweensOf(l,o)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,o){o=o||{};var c=this,l=Bt(c,i),d=o,h=d.startAt,u=d.onStart,p=d.onStartParams,f=d.immediateRender,m,g=Ke.to(c,Et({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!m){var x=o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());g._dur!==x&&$o(g,x,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,p||[])}},o));return f?g.render(0):g},r.tweenFromTo=function(i,o,c){return this.tweenTo(o,Et({startAt:{time:Bt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),vL(this,Bt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),vL(this,Bt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,o,c){c===void 0&&(c=0);var l=this._first,d=this.labels,h;for(i=Ve(i);l;)l._start>=c&&(l._start+=i,l._end+=i),l=l._next;if(o)for(h in d)d[h]>=c&&(d[h]+=i);return Qs(this)},r.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,c;o;)c=o._next,this.remove(o),o=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Qs(this)},r.totalDuration=function(i){var o=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,sa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(o-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=Ve(u/c._ts),c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>o&&l._ts&&(o=l._end),l=h;$o(c,c===Be&&c._time>o?c._time:o,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Be._ts&&(sI(Be,h9(i,Be)),nI=Pt.frame),Pt.frame>=fL){fL+=Dt.autoSleep||120;var o=Be._first;if((!o||!o._ts)&&Dt.autoSleep&&Pt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Pt.sleep()}}},e}($c);Et(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var UT=function(e,r,n,i,o,c,l){var d=new bt(this._pt,e,r,0,1,TI,null,o),h=0,u=0,p,f,m,g,y,x,k,w;for(d.b=n,d.e=i,n+="",i+="",(k=~i.indexOf("random("))&&(i=Bc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),f=n.match(K9)||[];p=K9.exec(i);)g=p[0],y=i.substring(h,p.index),m?m=(m+1)%5:y.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(x=parseFloat(f[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:x,c:g.charAt(1)==="="?Do(x,g)-x:parseFloat(g)-x,m:m&&m<4?Math.round:0},h=K9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(eI.test(i)||k)&&(d.e=0),this._pt=d,d},hC=function(e,r,n,i,o,c,l,d,h,u){Ze(i)&&(i=i(o||0,e,c));var p=e[r],f=n!=="get"?n:Ze(p)?h?e[r.indexOf("set")||!Ze(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,m=Ze(p)?h?XT:PI:pC,g;if(it(i)&&(~i.indexOf("random(")&&(i=Bc(i)),i.charAt(1)==="="&&(g=Do(f,i)+(ht(f)||0),(g||g===0)&&(i=g))),!u||f!==i||_j)return!isNaN(f*i)&&i!==""?(g=new bt(this._pt,e,r,+f||0,i-(f||0),typeof p=="boolean"?YT:qI,0,m),h&&(g.fp=h),l&&g.modifier(l,this,e),this._pt=g):(!p&&!(r in e)&&sC(r,i),UT.call(this,e,r,f,i,m,d||Dt.stringFilter,h))},$T=function(e,r,n,i,o){if(Ze(e)&&(e=Ec(e,o,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||KS(e))return it(e)?Ec(e,o,r,n,i):e;var c={},l;for(l in e)c[l]=Ec(e[l],o,r,n,i);return c},NI=function(e,r,n,i,o,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(o,l.rawVars?r[e]:$T(r[e],i,o,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,o,e,0,1,l.render,l,0,l.priority),n!==xo))for(h=n._ptLookup[n._targets.indexOf(o)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ja,_j,uC=function a(e,r,n){var i=e.vars,o=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,f=i.keyframes,m=i.autoRevert,g=e._dur,y=e._startAt,x=e._targets,k=e.parent,w=k&&k.data==="nested"?k.vars.targets:x,M=e._overwrite==="auto"&&!aC,L=e.timeline,b,I,S,C,N,q,R,D,_,T,z,V,G;if(L&&(!f||!o)&&(o="none"),e._ease=eo(o,Vo.ease),e._yEase=p?CI(eo(p===!0?o:p,Vo.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!L&&!!i.runBackwards,!L||f&&!i.stagger){if(D=x[0]?Ks(x[0]).harness:0,V=D&&i[D.prop],b=d9(i,oC),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!m?y.render(-1,!0):y.revert(u&&g?e9:kT),y._lazy=0),c){if(or(e._startAt=Ke.set(x,Et({data:"isStart",overwrite:!1,parent:k,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return qt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!m)&&e._startAt.revert(e9),l&&g&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&g&&!y){if(r&&(l=!1),S=Et({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:k},b),V&&(S[D.prop]=V),or(e._startAt=Ke.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(e9):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=g&&wt(d)||d&&!g,I=0;I<x.length;I++){if(N=x[I],R=N._gsap||lC(x)[I]._gsap,e._ptLookup[I]=T={},Cj[R.id]&&ar.length&&l9(),z=w===x?I:w.indexOf(N),D&&(_=new D).init(N,V||b,e,z,w)!==!1&&(e._pt=C=new bt(e._pt,N,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){T[E]=C}),_.priority&&(q=1)),!D||V)for(S in b)It[S]&&(_=NI(S,b,e,z,N,w))?_.priority&&(q=1):T[S]=C=hC.call(e,N,S,"get",b[S],z,w,0,i.stringFilter);e._op&&e._op[I]&&e.kill(N,e._op[I]),M&&e._pt&&(Ja=e,Be.killTweensOf(N,T,e.globalTime(r)),G=!e.parent,Ja=0),e._pt&&d&&(Cj[R.id]=1)}q&&RI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!G,f&&r<=0&&L.render($t,!0,!0)},GT=function(e,r,n,i,o,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,f,m;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][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 _j=1,e.vars[r]="+=0",uC(e,l),_j=0,d?Oc(r+" not eligible for reset"):1;h.push(u)}for(m=h.length;m--;)p=h[m],u=p._pt||p,u.s=(i||i===0)&&!o?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Je(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},WT=function(e,r){var n=e[0]?Ks(e[0]).harness:0,i=n&&n.aliases,o,c,l,d;if(!i)return r;o=Bo({},r);for(c in i)if(c in o)for(d=i[c].split(","),l=d.length;l--;)o[d[l]]=o[c];return o},ZT=function(e,r,n,i){var o=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:o})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:o})},Ec=function(e,r,n,i,o){return Ze(e)?e.call(r,n,i,o):it(e)&&~e.indexOf("random(")?Bc(e):e},AI=cC+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_I={};Mt(AI+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return _I[a]=1});var Ke=function(a){JS(e,a);function e(n,i,o,c){var l;typeof i=="number"&&(o.duration=i,i=o,o=null),l=a.call(this,c?i:zc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,f=d.stagger,m=d.overwrite,g=d.keyframes,y=d.defaults,x=d.scrollTrigger,k=d.yoyoEase,w=i.parent||Be,M=(ut(n)||KS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),L,b,I,S,C,N,q,R;if(l._targets=M.length?lC(M):Oc("GSAP target "+n+" not found. https://gsap.com",!Dt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||o1(h)||o1(u)){if(i=l.vars,L=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),L.kill(),L.parent=L._dp=wa(l),L._start=0,f||o1(h)||o1(u)){if(S=M.length,q=f&&mI(f),pa(f))for(C in f)~AI.indexOf(C)&&(R||(R={}),R[C]=f[C]);for(b=0;b<S;b++)I=d9(i,_I),I.stagger=0,k&&(I.yoyoEase=k),R&&Bo(I,R),N=M[b],I.duration=+Ec(h,wa(l),b,N,M),I.delay=(+Ec(u,wa(l),b,N,M)||0)-l._delay,!f&&S===1&&I.delay&&(l._delay=u=I.delay,l._start+=u,I.delay=0),L.to(N,I,q?q(b,N,M):0),L._ease=ke.none;L.duration()?h=u=0:l.timeline=0}else if(g){zc(Et(L.vars.defaults,{ease:"none"})),L._ease=eo(g.ease||i.ease||"none");var D=0,_,T,z;if(ut(g))g.forEach(function(V){return L.to(M,V,">")}),L.duration();else{I={};for(C in g)C==="ease"||C==="easeEach"||ZT(C,g[C],I,g.easeEach);for(C in I)for(_=I[C].sort(function(V,G){return V.t-G.t}),D=0,b=0;b<_.length;b++)T=_[b],z={ease:T.e,duration:(T.t-(b?_[b-1].t:0))/100*h},z[C]=T.v,L.to(M,z,D),D+=z.duration;L.duration()<h&&L.to({},{duration:h-L.duration()})}}h||l.duration(h=L.duration())}else l.timeline=0;return m===!0&&!aC&&(Ja=wa(l),Be.killTweensOf(M),Ja=0),sa(w,wa(l),o),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!g&&l._start===Ve(w._time)&&wt(p)&&CT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),x&&hI(wa(l),x),l}var r=e.prototype;return r.render=function(i,o,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,m,g,y,x,k,w,M,L;if(!h)ST(this,i,o,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,o,c);if(f=Ve(p%y),p===d?(g=this._repeat,f=h):(x=Ve(p/y),g=~~x,g&&g===x?(f=h,g--):f>h&&(f=h)),k=this._yoyo&&g&1,k&&(L=this._yEase,f=h-f),x=Uo(this._tTime,y),f===l&&!c&&this._initted&&g===x)return this._tTime=p,this;g!==x&&(M&&this._yEase&&LI(M,k),this.vars.repeatRefresh&&!k&&!this._lock&&f!==y&&this._initted&&(this._lock=c=1,this.render(Ve(y*g),!0).invalidate()._lock=0))}if(!this._initted){if(uI(this,u?i:f,c,o,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&g!==x))return this;if(h!==this._dur)return this.render(i,o,c)}if(this._tTime=p,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(L||this._ease)(f/h),this._from&&(this.ratio=w=1-w),!l&&p&&!o&&!x&&(qt(this,"onStart"),this._tTime!==p))return this;for(m=this._pt;m;)m.r(w,m.d),m=m._next;M&&M.render(i<0?i:M._dur*M._ease(f/this._dur),o,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&Lj(this,i,o,c),qt(this,"onUpdate")),this._repeat&&g!==x&&this.vars.onRepeat&&!o&&this.parent&&qt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&Lj(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&or(this,1),!o&&!(u&&!l)&&(p||l||k)&&(qt(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,o,c,l,d){Uc||Pt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||uC(this,h),u=this._ease(h/this._dur),GT(this,i,o,c,l,u,h,d)?this.resetTo(i,o,c,l,1):(S9(this,0),this.parent||lI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?dc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Ja&&Ja.vars.overwrite!==!0)._first||dc(this),this.parent&&c!==this.timeline.totalDuration()&&$o(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,m,g,y,x,k;if((!o||o==="all")&&bT(l,d))return o==="all"&&(this._pt=0),dc(this);for(p=this._op=this._op||[],o!=="all"&&(it(o)&&(y={},Mt(o,function(w){return y[w]=1}),o=y),o=WT(l,o)),k=l.length;k--;)if(~d.indexOf(l[k])){f=h[k],o==="all"?(p[k]=o,g=f,m={}):(m=p[k]=p[k]||{},g=o);for(y in g)x=f&&f[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&C9(this,x,"_pt"),delete f[y]),m!=="all"&&(m[y]=1)}return this._initted&&!this._pt&&u&&dc(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return Fc(1,arguments)},e.delayedCall=function(i,o,c,l){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,o,c){return Fc(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,c){return Be.killTweensOf(i,o,c)},e}($c);Et(Ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ke[a]=function(){var e=new ft,r=Ij.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var pC=function(e,r,n){return e[r]=n},PI=function(e,r,n){return e[r](n)},XT=function(e,r,n,i){return e[r](i.fp,n)},JT=function(e,r,n){return e.setAttribute(r,n)},yC=function(e,r){return Ze(e[r])?PI:rC(e[r])&&e.setAttribute?JT:pC},qI=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},YT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},TI=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)},mC=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},KT=function(e,r,n,i){for(var o=this._pt,c;o;)c=o._next,o.p===i&&o.modifier(e,r,n),o=c},QT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?C9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},eR=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},RI=function(e){for(var r=e._pt,n,i,o,c;r;){for(n=r._next,i=o;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:o=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=o},bt=function(){function a(r,n,i,o,c,l,d,h,u){this.t=n,this.s=o,this.c=c,this.p=i,this.r=l||qI,this.d=d||this,this.set=h||pC,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,o){this.mSet=this.mSet||this.set,this.set=eR,this.m=n,this.mt=o,this.tween=i},a}();Mt(cC+"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 oC[a]=1});Ft.TweenMax=Ft.TweenLite=Ke;Ft.TimelineLite=Ft.TimelineMax=ft;Be=new ft({sortChildren:!1,defaults:Vo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Dt.stringFilter=jI;var to=[],a9={},tR=[],ML=0,aR=0,rj=function(e){return(a9[e]||tR).map(function(r){return r()})},Pj=function(){var e=Date.now(),r=[];e-ML>2&&(rj("matchMediaInit"),to.forEach(function(n){var i=n.queries,o=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==o[l]&&(o[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),rj("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),ML=e,rj("matchMedia"))},DI=function(){function a(r,n){this.selector=n&&Nj(n),this.data=[],this._r=[],this.isReverted=!1,this.id=aR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,o){Ze(n)&&(o=i,i=n,n=Ze);var c=this,l=function(){var h=Ee,u=c.selector,p;return h&&h!==c&&h.data.push(c),o&&(c.selector=Nj(o)),Ee=c,p=i.apply(c,arguments),Ze(p)&&c._r.push(p),Ee=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ze?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var i=Ee;Ee=null,n(this),Ee=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof a?n.push.apply(n,i.getTweens()):i instanceof Ke&&!(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 o=this;if(n?function(){for(var l=o.getTweens(),d=o.data.length,h;d--;)h=o.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=o.data.length;d--;)h=o.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ke)&&h.revert&&h.revert(n);o._r.forEach(function(u){return u(n,o)}),o.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=to.length;c--;)to[c].id===this.id&&to.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),rR=function(){function a(r){this.contexts=[],this.scope=r,Ee&&Ee.data.push(this)}var e=a.prototype;return e.add=function(n,i,o){pa(n)||(n={matches:n});var c=new DI(0,o||this.scope),l=c.conditions={},d,h,u;Ee&&!c.selector&&(c.selector=Ee.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&&(to.indexOf(c)<0&&to.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(Pj):d.addEventListener("change",Pj)));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}(),u9={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 wI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Be.getTweensOf(e,r)},getProperty:function(e,r,n,i){it(e)&&(e=Gt(e)[0]);var o=Ks(e||{}).get,c=n?cI:oI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||o)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||o)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return Ct.quickSetter(u,r,n)}),o=i.length;return function(u){for(var p=o;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Ks(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;xo._pt=0,p.init(e,n?u+n:u,xo,0,[e]),p.render(1,p),xo._pt&&mC(1,xo)}: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,o=Ct.to(e,Et((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return o.resetTo(r,d,h,u)};return c.tween=o,c},isTweening:function(e){return Be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=eo(e.ease,Vo.ease)),xL(Vo,e||{})},config:function(e){return xL(Dt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,o=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!Ft[l]&&Oc(r+" effect requires "+l+" plugin.")}),Q9[r]=function(l,d,h){return n(Gt(l),Et(d||{},o),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(Q9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ke[e]=eo(r)},parseEase:function(e,r){return arguments.length?eo(e,r):ke},getById:function(e){return Be.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,o;for(n.smoothChildTiming=wt(e.smoothChildTiming),Be.remove(n),n._dp=0,n._time=n._tTime=Be._time,i=Be._first;i;)o=i._next,(r||!(!i._dur&&i instanceof Ke&&i.vars.onComplete===i._targets[0]))&&sa(n,i,i._start-i._delay),i=o;return sa(Be,n,0),n},context:function(e,r){return e?new DI(e,r):Ee},matchMedia:function(e){return new rR(e)},matchMediaRefresh:function(){return to.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||Pj()},addEventListener:function(e,r){var n=a9[e]||(a9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=a9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:RT,wrapYoyo:DT,distribute:mI,random:xI,snap:fI,normalize:TT,getUnit:ht,clamp:AT,splitColor:MI,toArray:Gt,selector:Nj,mapRange:kI,pipe:PT,unitize:qT,interpolate:zT,shuffle:yI},install:aI,effects:Q9,ticker:Pt,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Be,core:{PropTween:bt,globals:rI,Tween:Ke,Timeline:ft,Animation:$c,getCache:Ks,_removeLinkedListItem:C9,reverting:function(){return lt},context:function(e){return e&&Ee&&(Ee.data.push(e),e._ctx=Ee),Ee},suppressOverwrites:function(e){return aC=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return u9[a]=Ke[a]});Pt.add(ft.updateRoot);xo=u9.to({},{duration:0});var nR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},iR=function(e,r){var n=e._targets,i,o,c;for(i in r)for(o=n.length;o--;)c=e._ptLookup[o][i],c&&(c=c.d)&&(c._pt&&(c=nR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[o],i))},nj=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,o,c){c._onInit=function(l){var d,h;if(it(o)&&(d={},Mt(o,function(u){return d[u]=1}),o=d),r){d={};for(h in o)d[h]=r(o[h]);o=d}iR(l,o)}}}},Ct=u9.registerPlugin({name:"attr",init:function(e,r,n,i,o){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,o,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)}},nj("roundProps",Aj),nj("modifiers"),nj("snap",fI))||u9;Ke.version=ft.version=Ct.version="3.14.2";tI=1;nC()&&Go();ke.Power0;ke.Power1;ke.Power2;ke.Power3;ke.Power4;ke.Linear;ke.Quad;ke.Cubic;ke.Quart;ke.Quint;ke.Strong;ke.Elastic;ke.Back;ke.SteppedEase;ke.Bounce;ke.Sine;ke.Expo;ke.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 bL,Ya,zo,fC,$s,jL,xC,sR=function(){return typeof window<"u"},_a={},Bs=180/Math.PI,Fo=Math.PI/180,uo=Math.atan2,CL=1e8,gC=/([A-Z])/g,oR=/(left|right|width|margin|padding|x)/i,cR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qj=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},lR=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)},dR=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)},hR=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)},uR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},zI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},FI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},pR=function(e,r,n){return e.style[r]=n},yR=function(e,r,n){return e.style.setProperty(r,n)},mR=function(e,r,n){return e._gsap[r]=n},fR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},xR=function(e,r,n,i,o){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(o,c)},gR=function(e,r,n,i,o){var c=e._gsap;c[r]=n,c.renderTransform(o,c)},Ue="transform",jt=Ue+"Origin",kR=function a(e,r){var n=this,i=this.target,o=i.style,c=i._gsap;if(e in _a&&o){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=Ca(i,l)}):this.tfm[e]=c.x?c[e]:Ca(i,e),e===jt&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf(Ue)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(jt,r,"")),e=Ue}(o||r)&&this.props.push(e,r,o[e])},EI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},vR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,o,c;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?r[e[o]](e[o+2]):r[e[o]]=e[o+2]:e[o+2]?n[e[o]]=e[o+2]:n.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(gC,"-$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||"")),o=xC(),(!o||!o.isStart)&&!n[Ue]&&(EI(n),i.zOrigin&&n[jt]&&(n[jt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},HI=function(e,r){var n={target:e,props:[],revert:vR,save:kR};return e._gsap||Ct.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},OI,Tj=function(e,r){var n=Ya.createElementNS?Ya.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ya.createElement(e);return n&&n.style?n:Ya.createElement(e)},Tt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(gC,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Wo(r)||r,1)||""},LL="O,Moz,ms,Ms,Webkit".split(","),Wo=function(e,r,n){var i=r||$s,o=i.style,c=5;if(e in o&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(LL[c]+e in o););return c<0?null:(c===3?"ms":c>=0?LL[c]:"")+e},Rj=function(){sR()&&window.document&&(bL=window,Ya=bL.document,zo=Ya.documentElement,$s=Tj("div")||{style:{}},Tj("div"),Ue=Wo(Ue),jt=Ue+"Origin",$s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",OI=!!Wo("perspective"),xC=Ct.core.reverting,fC=1)},SL=function(e){var r=e.ownerSVGElement,n=Tj("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",n.appendChild(i),zo.appendChild(n);try{o=i.getBBox()}catch{}return n.removeChild(i),zo.removeChild(n),o},IL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},VI=function(e){var r,n;try{r=e.getBBox()}catch{r=SL(e),n=1}return r&&(r.width||r.height)||n||(r=SL(e)),r&&!r.width&&!r.x&&!r.y?{x:+IL(e,["x","cx","x1"])||0,y:+IL(e,["y","cy","y1"])||0,width:0,height:0}:r},BI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&VI(e))},cr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==jt&&(r=Ue),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(gC,"-$1").toLowerCase())):n.removeAttribute(r)}},Ka=function(e,r,n,i,o,c){var l=new bt(e._pt,r,n,0,1,c?FI:zI);return e._pt=l,l.b=i,l.e=o,e._props.push(n),l},NL={deg:1,rad:1,turn:1},wR={grid:1,flex:1},lr=function a(e,r,n,i){var o=parseFloat(n)||0,c=(n+"").trim().substr((o+"").length)||"px",l=$s.style,d=oR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,f=i==="px",m=i==="%",g,y,x,k;if(i===c||!o||NL[i]||NL[c])return o;if(c!=="px"&&!f&&(o=a(e,r,n,"px")),k=e.getCTM&&BI(e),(m||c==="%")&&(_a[r]||~r.indexOf("adius")))return g=k?e.getBBox()[d?"width":"height"]:e[u],Je(m?o/g*p:o/100*g);if(l[d?"width":"height"]=p+(f?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,k&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Ya||!y.appendChild)&&(y=Ya.body),x=y._gsap,x&&m&&x.width&&d&&x.time===Pt.time&&!x.uncache)return Je(o/x.width*p);if(m&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,g=e[u],w?e.style[r]=w:cr(e,r)}else(m||c==="%")&&!wR[Tt(y,"display")]&&(l.position=Tt(e,"position")),y===e&&(l.position="static"),y.appendChild($s),g=$s[u],y.removeChild($s),l.position="absolute";return d&&m&&(x=Ks(y),x.time=Pt.time,x.width=y[u]),Je(f?g*o/p:g&&o?p/g*o:0)},Ca=function(e,r,n,i){var o;return fC||Rj(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(o=Wc(e,i),o=r!=="transformOrigin"?o[r]:o.svg?o.origin:y9(Tt(e,jt))+" "+o.zOrigin+"px"):(o=e.style[r],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=p9[r]&&p9[r](e,r,n)||Tt(e,r)||iI(e,r)||(r==="opacity"?1:0))),n&&!~(o+"").trim().indexOf(" ")?lr(e,r,o,n)+n:o},MR=function(e,r,n,i){if(!n||n==="none"){var o=Wo(r,e,1),c=o&&Tt(e,o,1);c&&c!==n?(r=o,n=c):r==="borderColor"&&(n=Tt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,TI),d=0,h=0,u,p,f,m,g,y,x,k,w,M,L,b;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=Tt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=Tt(e,r)||i,y?e.style[r]=y:cr(e,r)),u=[n,i],jI(u),n=u[0],i=u[1],f=n.match(fo)||[],b=i.match(fo)||[],b.length){for(;p=fo.exec(i);)x=p[0],w=i.substring(d,p.index),g?g=(g+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(g=1),x!==(y=f[h++]||"")&&(m=parseFloat(y)||0,L=y.substr((m+"").length),x.charAt(1)==="="&&(x=Do(m,x)+L),k=parseFloat(x),M=x.substr((k+"").length),d=fo.lastIndex-M.length,M||(M=M||Dt.units[r]||L,d===i.length&&(i+=M,l.e+=M)),L!==M&&(m=lr(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:m,c:k-m,m:g&&g<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?FI:zI;return eI.test(i)&&(l.e=0),this._pt=l,l},AL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},bR=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]=AL[n]||n,r[1]=AL[i]||i,r.join(" ")},jR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,o=r.u,c=n._gsap,l,d,h;if(o==="all"||o===!0)i.cssText="",d=1;else for(o=o.split(","),h=o.length;--h>-1;)l=o[h],_a[l]&&(d=1,l=l==="transformOrigin"?jt:Ue),cr(n,l);d&&(cr(n,Ue),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Wc(n,1),c.uncache=1,EI(i)))}},p9={clearProps:function(e,r,n,i,o){if(o.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,jR);return c.u=i,c.pr=-10,c.tween=o,e._props.push(n),1}}},Gc=[1,0,0,1,0,0],UI={},$I=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_L=function(e){var r=Tt(e,Ue);return $I(r)?Gc:r.substr(7).match(QS).map(Je)},kC=function(e,r){var n=e._gsap||Ks(e),i=e.style,o=_L(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,o=[d.a,d.b,d.c,d.d,d.e,d.f],o.join(",")==="1,0,0,1,0,0"?Gc:o):(o===Gc&&!e.offsetParent&&e!==zo&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,zo.appendChild(e)),o=_L(e),d?i.display=d:cr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):zo.removeChild(e))),r&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Dj=function(e,r,n,i,o,c){var l=e._gsap,d=o||kC(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,m=d[0],g=d[1],y=d[2],x=d[3],k=d[4],w=d[5],M=r.split(" "),L=parseFloat(M[0])||0,b=parseFloat(M[1])||0,I,S,C,N;n?d!==Gc&&(S=m*x-g*y)&&(C=L*(x/S)+b*(-y/S)+(y*w-x*k)/S,N=L*(-g/S)+b*(m/S)-(m*w-g*k)/S,L=C,b=N):(I=VI(e),L=I.x+(~M[0].indexOf("%")?L/100*I.width:L),b=I.y+(~(M[1]||M[0]).indexOf("%")?b/100*I.height:b)),i||i!==!1&&l.smooth?(k=L-h,w=b-u,l.xOffset=p+(k*m+w*y)-k,l.yOffset=f+(k*g+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=L,l.yOrigin=b,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[jt]="0px 0px",c&&(Ka(c,l,"xOrigin",h,L),Ka(c,l,"yOrigin",u,b),Ka(c,l,"xOffset",p,l.xOffset),Ka(c,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",L+" "+b)},Wc=function(e,r){var n=e._gsap||new II(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,o=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=Tt(e,jt)||"0",u,p,f,m,g,y,x,k,w,M,L,b,I,S,C,N,T,R,D,_,q,z,V,G,E,re,ne,oe,ae,se,ee,le;return u=p=f=y=x=k=w=M=L=0,m=g=1,n.svg=!!(e.getCTM&&BI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[Ue]=(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[Ue]!=="none"?d[Ue]:"")),i.scale=i.rotate=i.translate="none"),S=kC(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",G=""):G=!r&&e.getAttribute("data-svg-origin"),Dj(e,G||h,!!G||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,I=n.yOrigin||0,S!==Gc&&(R=S[0],D=S[1],_=S[2],q=S[3],u=z=S[4],p=V=S[5],S.length===6?(m=Math.sqrt(R*R+D*D),g=Math.sqrt(q*q+_*_),y=R||D?uo(D,R)*Bs:0,w=_||q?uo(_,q)*Bs+y:0,w&&(g*=Math.abs(Math.cos(w*Fo))),n.svg&&(u-=b-(b*R+I*_),p-=I-(b*D+I*q))):(le=S[6],se=S[7],ne=S[8],oe=S[9],ae=S[10],ee=S[11],u=S[12],p=S[13],f=S[14],C=uo(le,ae),x=C*Bs,C&&(N=Math.cos(-C),T=Math.sin(-C),G=z*N+ne*T,E=V*N+oe*T,re=le*N+ae*T,ne=z*-T+ne*N,oe=V*-T+oe*N,ae=le*-T+ae*N,ee=se*-T+ee*N,z=G,V=E,le=re),C=uo(-_,ae),k=C*Bs,C&&(N=Math.cos(-C),T=Math.sin(-C),G=R*N-ne*T,E=D*N-oe*T,re=_*N-ae*T,ee=q*T+ee*N,R=G,D=E,_=re),C=uo(D,R),y=C*Bs,C&&(N=Math.cos(C),T=Math.sin(C),G=R*N+D*T,E=z*N+V*T,D=D*N-R*T,V=V*N-z*T,R=G,z=E),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,k=180-k),m=Je(Math.sqrt(R*R+D*D+_*_)),g=Je(Math.sqrt(V*V+le*le)),C=uo(z,V),w=Math.abs(C)>2e-4?C*Bs:0,L=ee?1/(ee<0?-ee:ee):0),n.svg&&(G=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!$I(Tt(e,Ue)),G&&e.setAttribute("transform",G))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(m*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(g*=-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=Je(m),n.scaleY=Je(g),n.rotation=Je(y)+l,n.rotationX=Je(x)+l,n.rotationY=Je(k)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=L+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[jt]=y9(h)),n.xOffset=n.yOffset=0,n.force3D=Dt.force3D,n.renderTransform=n.svg?LR:OI?GI:CR,n.uncache=0,n},y9=function(e){return(e=e.split(" "))[0]+" "+e[1]},ij=function(e,r,n){var i=ht(r);return Je(parseFloat(r)+parseFloat(lr(e,"x",n+"px",i)))+i},CR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,GI(e,r)},Mr="0deg",lc="0px",br=") ",GI=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,f=n.skewX,m=n.skewY,g=n.scaleX,y=n.scaleY,x=n.transformPerspective,k=n.force3D,w=n.target,M=n.zOrigin,L="",b=k==="auto"&&e&&e!==1||k===!0;if(M&&(p!==Mr||u!==Mr)){var I=parseFloat(u)*Fo,S=Math.sin(I),C=Math.cos(I),N;I=parseFloat(p)*Fo,N=Math.cos(I),c=ij(w,c,S*N*-M),l=ij(w,l,-Math.sin(I)*-M),d=ij(w,d,C*N*-M+M)}x!==lc&&(L+="perspective("+x+br),(i||o)&&(L+="translate("+i+"%, "+o+"%) "),(b||c!==lc||l!==lc||d!==lc)&&(L+=d!==lc||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+br),h!==Mr&&(L+="rotate("+h+br),u!==Mr&&(L+="rotateY("+u+br),p!==Mr&&(L+="rotateX("+p+br),(f!==Mr||m!==Mr)&&(L+="skew("+f+", "+m+br),(g!==1||y!==1)&&(L+="scale("+g+", "+y+br),w.style[Ue]=L||"translate(0, 0)"},LR=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,f=n.scaleY,m=n.target,g=n.xOrigin,y=n.yOrigin,x=n.xOffset,k=n.yOffset,w=n.forceCSS,M=parseFloat(c),L=parseFloat(l),b,I,S,C,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Fo,h*=Fo,b=Math.cos(d)*p,I=Math.sin(d)*p,S=Math.sin(d-h)*-f,C=Math.cos(d-h)*f,h&&(u*=Fo,N=Math.tan(h-u),N=Math.sqrt(1+N*N),S*=N,C*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),b*=N,I*=N)),b=Je(b),I=Je(I),S=Je(S),C=Je(C)):(b=p,C=f,I=S=0),(M&&!~(c+"").indexOf("px")||L&&!~(l+"").indexOf("px"))&&(M=lr(m,"x",c,"px"),L=lr(m,"y",l,"px")),(g||y||x||k)&&(M=Je(M+g-(g*b+y*S)+x),L=Je(L+y-(g*I+y*C)+k)),(i||o)&&(N=m.getBBox(),M=Je(M+i/100*N.width),L=Je(L+o/100*N.height)),N="matrix("+b+","+I+","+S+","+C+","+M+","+L+")",m.setAttribute("transform",N),w&&(m.style[Ue]=N)},SR=function(e,r,n,i,o){var c=360,l=it(o),d=parseFloat(o)*(l&&~o.indexOf("rad")?Bs:1),h=d-i,u=i+h+"deg",p,f;return l&&(p=o.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,lR),f.e=u,f.u="deg",e._props.push(n),f},PL=function(e,r){for(var n in r)e[n]=r[n];return e},IR=function(e,r,n){var i=PL({},n._gsap),o="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,f,m,g;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Ue]=r,l=Wc(n,1),cr(n,Ue),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Ue],c[Ue]=r,l=Wc(n,1),c[Ue]=h);for(d in _a)h=i[d],u=l[d],h!==u&&o.indexOf(d)<0&&(m=ht(h),g=ht(u),p=m!==g?lr(n,d,h,g):parseFloat(h),f=parseFloat(u),e._pt=new bt(e._pt,l,d,p,f-p,qj),e._pt.u=g||0,e._props.push(d));PL(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",o="Left",c=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map(function(l){return e<2?a+l:"border"+l+a});p9[e>1?"border"+a:a]=function(l,d,h,u,p){var f,m;if(arguments.length<4)return f=c.map(function(g){return Ca(l,g,h)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},c.forEach(function(g,y){return m[g]=f[y]=f[y]||f[(y-1)/2|0]}),l.init(d,m,p)}});var WI={name:"css",register:Rj,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,o){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,f,m,g,y,x,k,w,M,L,b,I,S,C,N;fC||Rj(),this.styles=this.styles||HI(e),C=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&NI(y,r,n,i,e,o)))){if(m=typeof u,g=p9[y],m==="function"&&(u=u.call(n,i,e,o),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=Bc(u)),g)g(this,e,y,u,n)&&(S=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",rr.lastIndex=0,rr.test(h)||(x=ht(h),k=ht(u),k?x!==k&&(h=lr(e,y,h,k)+k):x&&(u+=x)),this.add(l,"setProperty",h,u,i,o,0,0,y),c.push(y),C.push(y,0,l[y]);else if(m!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,o):d[y],it(h)&&~h.indexOf("random(")&&(h=Bc(h)),ht(h+"")||h==="auto"||(h+=Dt.units[y]||ht(Ca(e,y))||""),(h+"").charAt(1)==="="&&(h=Ca(e,y))):h=Ca(e,y),f=parseFloat(h),w=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(f===1&&Ca(e,"visibility")==="hidden"&&p&&(f=0),C.push("visibility",0,l.visibility),Ka(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,m==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),T?e.style.perspective=T:cr(e,"perspective")}p=parseFloat(u)}if(L||(b=e._gsap,b.renderTransform&&!r.parseTransform||Wc(e,r.parseTransform),I=r.smoothOrigin!==!1&&b.smooth,L=this._pt=new bt(this._pt,l,Ue,0,1,b.renderTransform,b,0,-1),L.dep=1),y==="scale")this._pt=new bt(this._pt,b,"scaleY",b.scaleY,(w?Do(b.scaleY,w+p):p)-b.scaleY||0,qj),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){C.push(jt,0,l[jt]),u=bR(u),b.svg?Dj(e,u,0,I,0,this):(k=parseFloat(u.split(" ")[2])||0,k!==b.zOrigin&&Ka(this,b,"zOrigin",b.zOrigin,k),Ka(this,l,y,y9(h),y9(u)));continue}else if(y==="svgOrigin"){Dj(e,u,1,I,0,this);continue}else if(y in UI){SR(this,b,y,f,w?Do(f,w+u):u);continue}else if(y==="smoothOrigin"){Ka(this,b,"smooth",b.smooth,u);continue}else if(y==="force3D"){b[y]=u;continue}else if(y==="transform"){IR(this,u,e);continue}}else y in l||(y=Wo(y)||y);if(M||(p||p===0)&&(f||f===0)&&!cR.test(u)&&y in l)x=(h+"").substr((f+"").length),p||(p=0),k=ht(u)||(y in Dt.units?Dt.units[y]:x),x!==k&&(f=lr(e,y,h,k)),this._pt=new bt(this._pt,M?b:l,y,f,(w?Do(f,w+p):p)-f,!M&&(k==="px"||y==="zIndex")&&r.autoRound!==!1?uR:qj),this._pt.u=k||0,M&&N!==u?(this._pt.b=h,this._pt.e=N,this._pt.r=hR):x!==k&&k!=="%"&&(this._pt.b=h,this._pt.r=dR);else if(y in l)MR.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,o);else if(y!=="parseTransform"){sC(y,u);continue}M||(y in l?C.push(y,0,l[y]):typeof e[y]=="function"?C.push(y,2,e[y]()):C.push(y,1,h||e[y])),c.push(y)}}S&&RI(this)},render:function(e,r){if(r.tween._time||!xC())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:Ca,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==jt&&(e._gsap.x||Ca(e,"x"))?n&&jL===n?r==="scale"?fR:mR:(jL=n||{})&&(r==="scale"?xR:gR):e.style&&!rC(e.style[r])?pR:~r.indexOf("-")?yR:yC(e,r)},core:{_removeProperty:cr,_getMatrix:kC}};Ct.utils.checkPrefix=Wo;Ct.core.getStyleSaver=HI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(o){_a[o]=1});Mt(e,function(o){Dt.units[o]="deg",UI[o]=1}),ca[i[13]]=a+","+e,Mt(n,function(o){var c=o.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){Dt.units[a]="px"});Ct.registerPlugin(WI);var ZI=Ct.registerPlugin(WI)||Ct;ZI.core.Tween;function vC(a){return wq[a]||Wa}function XI({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 o=vC(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:[o?t.jsx(o,{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(ko,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function NR({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:o="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:m=!0}){const g=y=>{y.preventDefault();const x=new FormData(y.currentTarget);f==null||f({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.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:g,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:o,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})]}),m&&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(Js,{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(No,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const JI=j.createContext(void 0);function AR({children:a}){const[e,r]=j.useState([]),[n,i]=j.useState(!1),o=j.useCallback(u=>{r(p=>p.find(m=>m.id===u.id)?p.map(m=>m.id===u.id?{...m,quantity:m.quantity+1}:m):[...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(m=>m.id===u?{...m,quantity:Math.max(0,p)}:m))},[]),d=j.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(JI.Provider,{value:{items:e,isOpen:n,addItem:o,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function YI(){const a=j.useContext(JI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function KI({courses:a,title:e,description:r}){const{addItem:n}=YI();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(qc,{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(To,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function QI({destinations:a,title:e,description:r}){const[n,i]=j.useState(0),[o,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 m=()=>{h(l())};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]),j.useEffect(()=>{let m;return o&&(m=setInterval(()=>{i(g=>(g+1)%(a.length-d+1))},5e3)),()=>clearInterval(m)},[o]);const u=()=>{i(m=>Math.max(0,m-1)),c(!1)},p=()=>{i(m=>Math.min(a.length-d,m+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((m,g)=>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:m.image,alt:m.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:m.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:m.description})]})})]},n+g))}),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(Zs,{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(er,{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((m,g)=>t.jsx("button",{onClick:()=>{i(g*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===g?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},g))})]})})}const _R=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function PR({title:a="GlobalEnglish",navItems:e=_R,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(Co,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:o=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(o),p=c??h,f=()=>{const g=!p;c===void 0&&u(g),l==null||l(g)},m=g=>t.jsx("a",{href:g.href,onClick:g.onClick,className:"text-gray-600 hover:text-yellow-600",children:g.label},g.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(m),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(Rt,{className:"h-6 w-6"}):t.jsx(Io,{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(g=>t.jsx("a",{href:g.href,onClick:()=>{var y;(y=g.onClick)==null||y.call(g),f()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:g.label},g.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function eN({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:o,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(ko,{className:"ml-2 h-5 w-5"})]}):"",c&&o?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:o}):""]})]})]})}function tN({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 o=vC(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:[o?t.jsx(o,{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 aN({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(_o,{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((o,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function rN({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(Nc,{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 nN({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 iN({faqs:a,title:e,description:r}){const[n,i]=j.useState(null),o=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:()=>o(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(xc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Ws,{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 qR({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)},o=()=>{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:o,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(Zs,{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(er,{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 sN({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(qR,{images:a,autoPlayInterval:n})]})})}function oN({initialMessages:a}){const[e,r]=j.useState(!1),[n,i]=j.useState(a),[o,c]=j.useState(""),l=d=>{if(d.preventDefault(),!o.trim())return;const h={text:o,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(m=>[...m,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(yc,{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(Rt,{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:o,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(Ac,{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(No,{className:"h-6 w-6"})})})}function cN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:o="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:f,total:m}=YI(),g=()=>{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:g,className:"text-white hover:text-gray-200 transition-colors","aria-label":o,children:t.jsx(Rt,{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(Ro,{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(Ic,{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(Ao,{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,m.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:g,"aria-label":o,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(To,{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 lN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:o="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:o}),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 dN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:o="/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((m,g)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${g}`)),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((m,g)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${g}`))]})};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:["/",o]})]}),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=vC(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 TR=[{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"]}],RR=[{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."}],DR=[{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"}],zR=[{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"}],FR=[{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"}],ER=[{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."}],HR=[{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}],OR=[{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"}],VR=[{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}],BR=[{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}],UR=[{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."}],$R=[{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"}]}],GR=()=>(j.useEffect(()=>{ZI.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(AR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(PR,{}),t.jsx(eN,{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(tN,{services:RR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(lN,{services:TR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(XI,{advantages:zR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(nN,{features:DR,title:"Titulo",description:"description"}),t.jsx(dN,{courses:$R,title:"Test",description:"test"}),t.jsx(sN,{images:FR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(QI,{destinations:ER,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(KI,{courses:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(rN,{videos:OR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(aN,{testimonials:VR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(iN,{faqs:UR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(NR,{}),t.jsx(oN,{initialMessages:BR}),t.jsx(cN,{})]})}),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 WR({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:o}){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(o||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const x=await y.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(g){console.error("Error fetching jobs:",g),p(g instanceof Error?g.message:"Failed to load jobs"),l(f())}finally{h(!1)}})()},[r,o]);const f=()=>{const m=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],g=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,k)=>({id:`mock-job-${k}`,title:g[k%g.length],company:m[k%m.length],companyLogo:`/logos/${m[k%m.length].toLowerCase()}.png`,location:y[k%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((m,g)=>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"})]},g))})})}):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(U,{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(m=>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:m.companyLogo||"/placeholder.svg",alt:`${m.company} logo`,width:48,height:48,className:"rounded",onError:g=>{g.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:m.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:m.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:m.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:m.salary}),t.jsx(U,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},m.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx(U,{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 hN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:o}){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(U,{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(U,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=o,children:i})]})]})})})}function uN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:o,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 bL,Ya,zo,fC,$s,jL,xC,sR=function(){return typeof window<"u"},_a={},Bs=180/Math.PI,Fo=Math.PI/180,uo=Math.atan2,CL=1e8,gC=/([A-Z])/g,oR=/(left|right|width|margin|padding|x)/i,cR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qj=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},lR=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)},dR=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)},hR=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)},uR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},zI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},FI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},pR=function(e,r,n){return e.style[r]=n},yR=function(e,r,n){return e.style.setProperty(r,n)},mR=function(e,r,n){return e._gsap[r]=n},fR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},xR=function(e,r,n,i,o){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(o,c)},gR=function(e,r,n,i,o){var c=e._gsap;c[r]=n,c.renderTransform(o,c)},$e="transform",jt=$e+"Origin",kR=function a(e,r){var n=this,i=this.target,o=i.style,c=i._gsap;if(e in _a&&o){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=Ca(i,l)}):this.tfm[e]=c.x?c[e]:Ca(i,e),e===jt&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf($e)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(jt,r,"")),e=$e}(o||r)&&this.props.push(e,r,o[e])},EI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},vR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,o,c;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?r[e[o]](e[o+2]):r[e[o]]=e[o+2]:e[o+2]?n[e[o]]=e[o+2]:n.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(gC,"-$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||"")),o=xC(),(!o||!o.isStart)&&!n[$e]&&(EI(n),i.zOrigin&&n[jt]&&(n[jt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},HI=function(e,r){var n={target:e,props:[],revert:vR,save:kR};return e._gsap||Ct.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},OI,Tj=function(e,r){var n=Ya.createElementNS?Ya.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ya.createElement(e);return n&&n.style?n:Ya.createElement(e)},Tt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(gC,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Wo(r)||r,1)||""},LL="O,Moz,ms,Ms,Webkit".split(","),Wo=function(e,r,n){var i=r||$s,o=i.style,c=5;if(e in o&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(LL[c]+e in o););return c<0?null:(c===3?"ms":c>=0?LL[c]:"")+e},Rj=function(){sR()&&window.document&&(bL=window,Ya=bL.document,zo=Ya.documentElement,$s=Tj("div")||{style:{}},Tj("div"),$e=Wo($e),jt=$e+"Origin",$s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",OI=!!Wo("perspective"),xC=Ct.core.reverting,fC=1)},SL=function(e){var r=e.ownerSVGElement,n=Tj("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",n.appendChild(i),zo.appendChild(n);try{o=i.getBBox()}catch{}return n.removeChild(i),zo.removeChild(n),o},IL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},VI=function(e){var r,n;try{r=e.getBBox()}catch{r=SL(e),n=1}return r&&(r.width||r.height)||n||(r=SL(e)),r&&!r.width&&!r.x&&!r.y?{x:+IL(e,["x","cx","x1"])||0,y:+IL(e,["y","cy","y1"])||0,width:0,height:0}:r},BI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&VI(e))},cr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==jt&&(r=$e),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(gC,"-$1").toLowerCase())):n.removeAttribute(r)}},Ka=function(e,r,n,i,o,c){var l=new bt(e._pt,r,n,0,1,c?FI:zI);return e._pt=l,l.b=i,l.e=o,e._props.push(n),l},NL={deg:1,rad:1,turn:1},wR={grid:1,flex:1},lr=function a(e,r,n,i){var o=parseFloat(n)||0,c=(n+"").trim().substr((o+"").length)||"px",l=$s.style,d=oR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,f=i==="px",m=i==="%",g,y,x,k;if(i===c||!o||NL[i]||NL[c])return o;if(c!=="px"&&!f&&(o=a(e,r,n,"px")),k=e.getCTM&&BI(e),(m||c==="%")&&(_a[r]||~r.indexOf("adius")))return g=k?e.getBBox()[d?"width":"height"]:e[u],Je(m?o/g*p:o/100*g);if(l[d?"width":"height"]=p+(f?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,k&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Ya||!y.appendChild)&&(y=Ya.body),x=y._gsap,x&&m&&x.width&&d&&x.time===Pt.time&&!x.uncache)return Je(o/x.width*p);if(m&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,g=e[u],w?e.style[r]=w:cr(e,r)}else(m||c==="%")&&!wR[Tt(y,"display")]&&(l.position=Tt(e,"position")),y===e&&(l.position="static"),y.appendChild($s),g=$s[u],y.removeChild($s),l.position="absolute";return d&&m&&(x=Ks(y),x.time=Pt.time,x.width=y[u]),Je(f?g*o/p:g&&o?p/g*o:0)},Ca=function(e,r,n,i){var o;return fC||Rj(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(o=Wc(e,i),o=r!=="transformOrigin"?o[r]:o.svg?o.origin:y9(Tt(e,jt))+" "+o.zOrigin+"px"):(o=e.style[r],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=p9[r]&&p9[r](e,r,n)||Tt(e,r)||iI(e,r)||(r==="opacity"?1:0))),n&&!~(o+"").trim().indexOf(" ")?lr(e,r,o,n)+n:o},MR=function(e,r,n,i){if(!n||n==="none"){var o=Wo(r,e,1),c=o&&Tt(e,o,1);c&&c!==n?(r=o,n=c):r==="borderColor"&&(n=Tt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,TI),d=0,h=0,u,p,f,m,g,y,x,k,w,M,L,b;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=Tt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=Tt(e,r)||i,y?e.style[r]=y:cr(e,r)),u=[n,i],jI(u),n=u[0],i=u[1],f=n.match(fo)||[],b=i.match(fo)||[],b.length){for(;p=fo.exec(i);)x=p[0],w=i.substring(d,p.index),g?g=(g+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(g=1),x!==(y=f[h++]||"")&&(m=parseFloat(y)||0,L=y.substr((m+"").length),x.charAt(1)==="="&&(x=Do(m,x)+L),k=parseFloat(x),M=x.substr((k+"").length),d=fo.lastIndex-M.length,M||(M=M||Dt.units[r]||L,d===i.length&&(i+=M,l.e+=M)),L!==M&&(m=lr(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:m,c:k-m,m:g&&g<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?FI:zI;return eI.test(i)&&(l.e=0),this._pt=l,l},AL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},bR=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]=AL[n]||n,r[1]=AL[i]||i,r.join(" ")},jR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,o=r.u,c=n._gsap,l,d,h;if(o==="all"||o===!0)i.cssText="",d=1;else for(o=o.split(","),h=o.length;--h>-1;)l=o[h],_a[l]&&(d=1,l=l==="transformOrigin"?jt:$e),cr(n,l);d&&(cr(n,$e),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Wc(n,1),c.uncache=1,EI(i)))}},p9={clearProps:function(e,r,n,i,o){if(o.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,jR);return c.u=i,c.pr=-10,c.tween=o,e._props.push(n),1}}},Gc=[1,0,0,1,0,0],UI={},$I=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_L=function(e){var r=Tt(e,$e);return $I(r)?Gc:r.substr(7).match(QS).map(Je)},kC=function(e,r){var n=e._gsap||Ks(e),i=e.style,o=_L(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,o=[d.a,d.b,d.c,d.d,d.e,d.f],o.join(",")==="1,0,0,1,0,0"?Gc:o):(o===Gc&&!e.offsetParent&&e!==zo&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,zo.appendChild(e)),o=_L(e),d?i.display=d:cr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):zo.removeChild(e))),r&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Dj=function(e,r,n,i,o,c){var l=e._gsap,d=o||kC(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,m=d[0],g=d[1],y=d[2],x=d[3],k=d[4],w=d[5],M=r.split(" "),L=parseFloat(M[0])||0,b=parseFloat(M[1])||0,I,S,C,N;n?d!==Gc&&(S=m*x-g*y)&&(C=L*(x/S)+b*(-y/S)+(y*w-x*k)/S,N=L*(-g/S)+b*(m/S)-(m*w-g*k)/S,L=C,b=N):(I=VI(e),L=I.x+(~M[0].indexOf("%")?L/100*I.width:L),b=I.y+(~(M[1]||M[0]).indexOf("%")?b/100*I.height:b)),i||i!==!1&&l.smooth?(k=L-h,w=b-u,l.xOffset=p+(k*m+w*y)-k,l.yOffset=f+(k*g+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=L,l.yOrigin=b,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[jt]="0px 0px",c&&(Ka(c,l,"xOrigin",h,L),Ka(c,l,"yOrigin",u,b),Ka(c,l,"xOffset",p,l.xOffset),Ka(c,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",L+" "+b)},Wc=function(e,r){var n=e._gsap||new II(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,o=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=Tt(e,jt)||"0",u,p,f,m,g,y,x,k,w,M,L,b,I,S,C,N,q,R,D,_,T,z,V,G,E,re,ne,oe,ae,se,ee,de;return u=p=f=y=x=k=w=M=L=0,m=g=1,n.svg=!!(e.getCTM&&BI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[$e]=(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[$e]!=="none"?d[$e]:"")),i.scale=i.rotate=i.translate="none"),S=kC(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",G=""):G=!r&&e.getAttribute("data-svg-origin"),Dj(e,G||h,!!G||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,I=n.yOrigin||0,S!==Gc&&(R=S[0],D=S[1],_=S[2],T=S[3],u=z=S[4],p=V=S[5],S.length===6?(m=Math.sqrt(R*R+D*D),g=Math.sqrt(T*T+_*_),y=R||D?uo(D,R)*Bs:0,w=_||T?uo(_,T)*Bs+y:0,w&&(g*=Math.abs(Math.cos(w*Fo))),n.svg&&(u-=b-(b*R+I*_),p-=I-(b*D+I*T))):(de=S[6],se=S[7],ne=S[8],oe=S[9],ae=S[10],ee=S[11],u=S[12],p=S[13],f=S[14],C=uo(de,ae),x=C*Bs,C&&(N=Math.cos(-C),q=Math.sin(-C),G=z*N+ne*q,E=V*N+oe*q,re=de*N+ae*q,ne=z*-q+ne*N,oe=V*-q+oe*N,ae=de*-q+ae*N,ee=se*-q+ee*N,z=G,V=E,de=re),C=uo(-_,ae),k=C*Bs,C&&(N=Math.cos(-C),q=Math.sin(-C),G=R*N-ne*q,E=D*N-oe*q,re=_*N-ae*q,ee=T*q+ee*N,R=G,D=E,_=re),C=uo(D,R),y=C*Bs,C&&(N=Math.cos(C),q=Math.sin(C),G=R*N+D*q,E=z*N+V*q,D=D*N-R*q,V=V*N-z*q,R=G,z=E),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,k=180-k),m=Je(Math.sqrt(R*R+D*D+_*_)),g=Je(Math.sqrt(V*V+de*de)),C=uo(z,V),w=Math.abs(C)>2e-4?C*Bs:0,L=ee?1/(ee<0?-ee:ee):0),n.svg&&(G=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!$I(Tt(e,$e)),G&&e.setAttribute("transform",G))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(m*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(g*=-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=Je(m),n.scaleY=Je(g),n.rotation=Je(y)+l,n.rotationX=Je(x)+l,n.rotationY=Je(k)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=L+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[jt]=y9(h)),n.xOffset=n.yOffset=0,n.force3D=Dt.force3D,n.renderTransform=n.svg?LR:OI?GI:CR,n.uncache=0,n},y9=function(e){return(e=e.split(" "))[0]+" "+e[1]},ij=function(e,r,n){var i=ht(r);return Je(parseFloat(r)+parseFloat(lr(e,"x",n+"px",i)))+i},CR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,GI(e,r)},Mr="0deg",lc="0px",br=") ",GI=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,f=n.skewX,m=n.skewY,g=n.scaleX,y=n.scaleY,x=n.transformPerspective,k=n.force3D,w=n.target,M=n.zOrigin,L="",b=k==="auto"&&e&&e!==1||k===!0;if(M&&(p!==Mr||u!==Mr)){var I=parseFloat(u)*Fo,S=Math.sin(I),C=Math.cos(I),N;I=parseFloat(p)*Fo,N=Math.cos(I),c=ij(w,c,S*N*-M),l=ij(w,l,-Math.sin(I)*-M),d=ij(w,d,C*N*-M+M)}x!==lc&&(L+="perspective("+x+br),(i||o)&&(L+="translate("+i+"%, "+o+"%) "),(b||c!==lc||l!==lc||d!==lc)&&(L+=d!==lc||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+br),h!==Mr&&(L+="rotate("+h+br),u!==Mr&&(L+="rotateY("+u+br),p!==Mr&&(L+="rotateX("+p+br),(f!==Mr||m!==Mr)&&(L+="skew("+f+", "+m+br),(g!==1||y!==1)&&(L+="scale("+g+", "+y+br),w.style[$e]=L||"translate(0, 0)"},LR=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,f=n.scaleY,m=n.target,g=n.xOrigin,y=n.yOrigin,x=n.xOffset,k=n.yOffset,w=n.forceCSS,M=parseFloat(c),L=parseFloat(l),b,I,S,C,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Fo,h*=Fo,b=Math.cos(d)*p,I=Math.sin(d)*p,S=Math.sin(d-h)*-f,C=Math.cos(d-h)*f,h&&(u*=Fo,N=Math.tan(h-u),N=Math.sqrt(1+N*N),S*=N,C*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),b*=N,I*=N)),b=Je(b),I=Je(I),S=Je(S),C=Je(C)):(b=p,C=f,I=S=0),(M&&!~(c+"").indexOf("px")||L&&!~(l+"").indexOf("px"))&&(M=lr(m,"x",c,"px"),L=lr(m,"y",l,"px")),(g||y||x||k)&&(M=Je(M+g-(g*b+y*S)+x),L=Je(L+y-(g*I+y*C)+k)),(i||o)&&(N=m.getBBox(),M=Je(M+i/100*N.width),L=Je(L+o/100*N.height)),N="matrix("+b+","+I+","+S+","+C+","+M+","+L+")",m.setAttribute("transform",N),w&&(m.style[$e]=N)},SR=function(e,r,n,i,o){var c=360,l=it(o),d=parseFloat(o)*(l&&~o.indexOf("rad")?Bs:1),h=d-i,u=i+h+"deg",p,f;return l&&(p=o.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,lR),f.e=u,f.u="deg",e._props.push(n),f},PL=function(e,r){for(var n in r)e[n]=r[n];return e},IR=function(e,r,n){var i=PL({},n._gsap),o="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,f,m,g;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[$e]=r,l=Wc(n,1),cr(n,$e),n.setAttribute("transform",h)):(h=getComputedStyle(n)[$e],c[$e]=r,l=Wc(n,1),c[$e]=h);for(d in _a)h=i[d],u=l[d],h!==u&&o.indexOf(d)<0&&(m=ht(h),g=ht(u),p=m!==g?lr(n,d,h,g):parseFloat(h),f=parseFloat(u),e._pt=new bt(e._pt,l,d,p,f-p,qj),e._pt.u=g||0,e._props.push(d));PL(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",o="Left",c=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map(function(l){return e<2?a+l:"border"+l+a});p9[e>1?"border"+a:a]=function(l,d,h,u,p){var f,m;if(arguments.length<4)return f=c.map(function(g){return Ca(l,g,h)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},c.forEach(function(g,y){return m[g]=f[y]=f[y]||f[(y-1)/2|0]}),l.init(d,m,p)}});var WI={name:"css",register:Rj,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,o){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,f,m,g,y,x,k,w,M,L,b,I,S,C,N;fC||Rj(),this.styles=this.styles||HI(e),C=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&NI(y,r,n,i,e,o)))){if(m=typeof u,g=p9[y],m==="function"&&(u=u.call(n,i,e,o),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=Bc(u)),g)g(this,e,y,u,n)&&(S=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",rr.lastIndex=0,rr.test(h)||(x=ht(h),k=ht(u),k?x!==k&&(h=lr(e,y,h,k)+k):x&&(u+=x)),this.add(l,"setProperty",h,u,i,o,0,0,y),c.push(y),C.push(y,0,l[y]);else if(m!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,o):d[y],it(h)&&~h.indexOf("random(")&&(h=Bc(h)),ht(h+"")||h==="auto"||(h+=Dt.units[y]||ht(Ca(e,y))||""),(h+"").charAt(1)==="="&&(h=Ca(e,y))):h=Ca(e,y),f=parseFloat(h),w=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(f===1&&Ca(e,"visibility")==="hidden"&&p&&(f=0),C.push("visibility",0,l.visibility),Ka(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,m==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var q=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),q?e.style.perspective=q:cr(e,"perspective")}p=parseFloat(u)}if(L||(b=e._gsap,b.renderTransform&&!r.parseTransform||Wc(e,r.parseTransform),I=r.smoothOrigin!==!1&&b.smooth,L=this._pt=new bt(this._pt,l,$e,0,1,b.renderTransform,b,0,-1),L.dep=1),y==="scale")this._pt=new bt(this._pt,b,"scaleY",b.scaleY,(w?Do(b.scaleY,w+p):p)-b.scaleY||0,qj),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){C.push(jt,0,l[jt]),u=bR(u),b.svg?Dj(e,u,0,I,0,this):(k=parseFloat(u.split(" ")[2])||0,k!==b.zOrigin&&Ka(this,b,"zOrigin",b.zOrigin,k),Ka(this,l,y,y9(h),y9(u)));continue}else if(y==="svgOrigin"){Dj(e,u,1,I,0,this);continue}else if(y in UI){SR(this,b,y,f,w?Do(f,w+u):u);continue}else if(y==="smoothOrigin"){Ka(this,b,"smooth",b.smooth,u);continue}else if(y==="force3D"){b[y]=u;continue}else if(y==="transform"){IR(this,u,e);continue}}else y in l||(y=Wo(y)||y);if(M||(p||p===0)&&(f||f===0)&&!cR.test(u)&&y in l)x=(h+"").substr((f+"").length),p||(p=0),k=ht(u)||(y in Dt.units?Dt.units[y]:x),x!==k&&(f=lr(e,y,h,k)),this._pt=new bt(this._pt,M?b:l,y,f,(w?Do(f,w+p):p)-f,!M&&(k==="px"||y==="zIndex")&&r.autoRound!==!1?uR:qj),this._pt.u=k||0,M&&N!==u?(this._pt.b=h,this._pt.e=N,this._pt.r=hR):x!==k&&k!=="%"&&(this._pt.b=h,this._pt.r=dR);else if(y in l)MR.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,o);else if(y!=="parseTransform"){sC(y,u);continue}M||(y in l?C.push(y,0,l[y]):typeof e[y]=="function"?C.push(y,2,e[y]()):C.push(y,1,h||e[y])),c.push(y)}}S&&RI(this)},render:function(e,r){if(r.tween._time||!xC())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:Ca,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==jt&&(e._gsap.x||Ca(e,"x"))?n&&jL===n?r==="scale"?fR:mR:(jL=n||{})&&(r==="scale"?xR:gR):e.style&&!rC(e.style[r])?pR:~r.indexOf("-")?yR:yC(e,r)},core:{_removeProperty:cr,_getMatrix:kC}};Ct.utils.checkPrefix=Wo;Ct.core.getStyleSaver=HI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(o){_a[o]=1});Mt(e,function(o){Dt.units[o]="deg",UI[o]=1}),ca[i[13]]=a+","+e,Mt(n,function(o){var c=o.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){Dt.units[a]="px"});Ct.registerPlugin(WI);var ZI=Ct.registerPlugin(WI)||Ct;ZI.core.Tween;function vC(a){return wq[a]||Wa}function XI({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 o=vC(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:[o?t.jsx(o,{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(ko,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function NR({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:o="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:m=!0}){const g=y=>{y.preventDefault();const x=new FormData(y.currentTarget);f==null||f({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.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:g,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:o,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})]}),m&&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(Js,{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(No,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const JI=j.createContext(void 0);function AR({children:a}){const[e,r]=j.useState([]),[n,i]=j.useState(!1),o=j.useCallback(u=>{r(p=>p.find(m=>m.id===u.id)?p.map(m=>m.id===u.id?{...m,quantity:m.quantity+1}:m):[...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(m=>m.id===u?{...m,quantity:Math.max(0,p)}:m))},[]),d=j.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(JI.Provider,{value:{items:e,isOpen:n,addItem:o,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function YI(){const a=j.useContext(JI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function KI({courses:a,title:e,description:r}){const{addItem:n}=YI();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(qc,{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(To,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function QI({destinations:a,title:e,description:r}){const[n,i]=j.useState(0),[o,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 m=()=>{h(l())};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]),j.useEffect(()=>{let m;return o&&(m=setInterval(()=>{i(g=>(g+1)%(a.length-d+1))},5e3)),()=>clearInterval(m)},[o]);const u=()=>{i(m=>Math.max(0,m-1)),c(!1)},p=()=>{i(m=>Math.min(a.length-d,m+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((m,g)=>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:m.image,alt:m.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:m.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:m.description})]})})]},n+g))}),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(Zs,{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(er,{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((m,g)=>t.jsx("button",{onClick:()=>{i(g*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===g?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},g))})]})})}const _R=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function PR({title:a="GlobalEnglish",navItems:e=_R,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(Co,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:o=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(o),p=c??h,f=()=>{const g=!p;c===void 0&&u(g),l==null||l(g)},m=g=>t.jsx("a",{href:g.href,onClick:g.onClick,className:"text-gray-600 hover:text-yellow-600",children:g.label},g.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(m),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(Rt,{className:"h-6 w-6"}):t.jsx(Io,{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(g=>t.jsx("a",{href:g.href,onClick:()=>{var y;(y=g.onClick)==null||y.call(g),f()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:g.label},g.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function eN({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:o,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(ko,{className:"ml-2 h-5 w-5"})]}):"",c&&o?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:o}):""]})]})]})}function tN({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 o=vC(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:[o?t.jsx(o,{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 aN({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(_o,{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((o,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function rN({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(Nc,{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 nN({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 iN({faqs:a,title:e,description:r}){const[n,i]=j.useState(null),o=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:()=>o(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(xc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Ws,{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 qR({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)},o=()=>{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:o,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(Zs,{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(er,{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 sN({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(qR,{images:a,autoPlayInterval:n})]})})}function oN({initialMessages:a}){const[e,r]=j.useState(!1),[n,i]=j.useState(a),[o,c]=j.useState(""),l=d=>{if(d.preventDefault(),!o.trim())return;const h={text:o,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(m=>[...m,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(yc,{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(Rt,{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:o,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(Ac,{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(No,{className:"h-6 w-6"})})})}function cN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:o="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:f,total:m}=YI(),g=()=>{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:g,className:"text-white hover:text-gray-200 transition-colors","aria-label":o,children:t.jsx(Rt,{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(Ro,{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(Ic,{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(Ao,{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,m.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:g,"aria-label":o,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(To,{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 lN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:o="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:o}),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 dN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:o="/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((m,g)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${g}`)),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((m,g)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${g}`))]})};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:["/",o]})]}),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=vC(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 TR=[{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"]}],RR=[{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."}],DR=[{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"}],zR=[{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"}],FR=[{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"}],ER=[{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."}],HR=[{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}],OR=[{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"}],VR=[{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}],BR=[{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}],UR=[{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."}],$R=[{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"}]}],GR=()=>(j.useEffect(()=>{ZI.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(AR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(PR,{}),t.jsx(eN,{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(tN,{services:RR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(lN,{services:TR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(XI,{advantages:zR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(nN,{features:DR,title:"Titulo",description:"description"}),t.jsx(dN,{courses:$R,title:"Test",description:"test"}),t.jsx(sN,{images:FR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(QI,{destinations:ER,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(KI,{courses:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(rN,{videos:OR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(aN,{testimonials:VR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(iN,{faqs:UR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(NR,{}),t.jsx(oN,{initialMessages:BR}),t.jsx(cN,{})]})}),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 WR({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:o}){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(o||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const x=await y.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(g){console.error("Error fetching jobs:",g),p(g instanceof Error?g.message:"Failed to load jobs"),l(f())}finally{h(!1)}})()},[r,o]);const f=()=>{const m=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],g=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,k)=>({id:`mock-job-${k}`,title:g[k%g.length],company:m[k%m.length],companyLogo:`/logos/${m[k%m.length].toLowerCase()}.png`,location:y[k%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((m,g)=>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"})]},g))})})}):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(U,{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(m=>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:m.companyLogo||"/placeholder.svg",alt:`${m.company} logo`,width:48,height:48,className:"rounded",onError:g=>{g.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:m.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:m.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:m.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:m.salary}),t.jsx(U,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},m.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx(U,{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 hN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:o}){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(U,{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(U,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=o,children:i})]})]})})})}function uN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:o,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(Rc,{size:18}),o]})]}),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 pN({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 yN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,o]=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(()=>{o(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{o(h=>(h+1)%c.length)},d=()=>{o(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(_o,{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(U,{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(Zs,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>o(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(U,{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(er,{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 mN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:o=!1,email:c=null}){const[l,d]=j.useState(c??""),[h,u]=j.useState(!1),[p,f]=j.useState(!1);j.useEffect(()=>{if(o){f(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),k=localStorage.getItem("leadId");x&&k&&(f(!0),d(x))}catch{}},[o,c]);const m=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=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(x.ok){const k=await x.json();localStorage.setItem("leadId",k.id),localStorage.setItem("email",l),f(!0)}else{const k=await x.text();alert("Submission failed: "+k)}}catch{alert("Network error while submitting")}finally{u(!1)}},g=p||o,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}),g?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(We,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx(U,{onClick:m,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 fN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:o="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=j.useState(""),[f,m]=j.useState(""),[g,y]=j.useState([]),[x,k]=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"}],L=[{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")||"",R=N.get("location")||"";p(T),m(R)},[]),j.useEffect(()=>{if(u.length<3){y([]);return}const N=setTimeout(()=>{b(u)},300);return()=>clearTimeout(N)},[u]);const b=async N=>{if(!i||d){y([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{k(!0);const T=await fetch(`${i}/suggestions?q=${encodeURIComponent(N)}`);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{k(!1)}},I=N=>p(N),S=N=>{N.key==="Enter"&&C()},C=()=>{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 ${o}`,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(We,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>I(N.target.value),onKeyDown:S,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:g.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"})}),x&&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=>m(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(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:C,disabled:x,children:[t.jsx(Xt,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||L).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||L).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 xN({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,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},o))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Rt,{size:24}):t.jsx(Io,{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,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},o))})})]})}function gN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:o,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(Js,{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:o}),t.jsx("p",{children:c})]})]})})}const kN=()=>{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 ZR(){const[a,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const vN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function wN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=j.useState({analytics:!1,marketing:!1,preferences:!1}),[i,o]=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)),o(!0);return}catch{}if(!d){o(!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(()=>o(!0))},[d]);const u=async p=>{const f={...r,...p,timestamp:new Date().toISOString()};n(f),localStorage.setItem("consent",JSON.stringify(f));const m={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(m)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)})}catch(g){console.warn("Consent API unavailable, kept only locally",g)}};return t.jsx(vN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const wC=()=>j.useContext(vN);function XR({allow:a,children:e}){const{consent:r,ready:n}=wC();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function MN({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:o,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=wC(),[p,f]=j.useState(i);j.useEffect(()=>{o===void 0&&u&&!d.timestamp&&f(!0)},[d.timestamp,o,u]);const m=j.useMemo(()=>o??p,[o,p]),g=()=>{o===void 0&&f(!1)};if(!m)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),g(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),g(),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:x,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const JR={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"}]},YR={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"},KR={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:Ga,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Lo,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},QR={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"},eD={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")},tD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},aD={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"},rD={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"},Ua=(a,e)=>({...a,...e??{}});function nD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:o,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:f=!0,showForEmployers:m=!0,showConsentBanner:g=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:k,email:w}=ZR(),M=Ua(JR,a),L=Ua(YR,e),b=Ua(KR,r),I=Ua(QR,n),S=Ua(eD,i),C=Ua(tD,o),N=Ua(aD,c),T=Ua(rD,l),R={...C,isSubscribed:(o==null?void 0:o.isSubscribed)??k,email:(o==null?void 0:o.email)??w};return t.jsx(wN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(xN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(uN,{...L}),d&&t.jsx(pN,{...b}),h&&t.jsx(fN,{...I}),u&&t.jsx(yN,{...S}),p&&t.jsx(kN,{}),f&&t.jsx(mN,{...R}),m&&t.jsx(hN,{...N})]}),t.jsx(gN,{...T}),g&&t.jsx(MN,{...x})]})})}function MC({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[o,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(!o||!o.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:o,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(f.ok){const m=await f.json();localStorage.setItem("leadId",m.id),localStorage.setItem("email",o),u(!0)}else{const m=await f.text();alert("Submission failed: "+m)}}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",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(We,{type:"email",value:o,onChange:f=>c(f.target.value),placeholder:r,className:"mb-3"}),t.jsx(U,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function bN({open:a,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(a){const o=setTimeout(n,5e3);return()=>clearTimeout(o)}},[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 Zc=({position:a,url:e,alt:r,link:n})=>{let i="",o="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",o="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",o="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",o="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:`${o} 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:`${o} object-cover`})})})},I9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[o,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(!o),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 ${o?"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"})})]}),o&&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"})]})]})]})},iD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:o,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(I9,{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,m)=>typeof f!="string"?null:t.jsx("option",{value:f,children:f},`${d}-${m}`))]},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:()=>o(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"})]})]}),sD=({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,o)=>t.jsx("option",{value:i},o))})]})}),oD={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}},N9=a=>{const e=(a==null?void 0:a.status)??(a!=null&&a.registered?"freemium":"not_registered"),r=oD[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}},bC={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},jN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:o,layout:c="grid",userAccess:l})=>{var I;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=S=>{if(x||w){S.preventDefault(),S.stopPropagation();return}const C=x||w?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,C)},h=S=>{S.preventDefault(),S.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()}`,g=(S=>{if(!S)return"Recently posted";try{const C=new Date(S),T=Math.abs(new Date().getTime()-C.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,x=l.maskExternalLinks,k=l.blurCompanyTitle,w=l.notHrefJobsLink,M=bC[l.status],L=y?"Save job":"Log in to save this job",b=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
7746
+ px-6 py-2 rounded flex items-center gap-2`,children:[t.jsx(Rc,{size:18}),o]})]}),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 pN({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 yN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,o]=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(()=>{o(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{o(h=>(h+1)%c.length)},d=()=>{o(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(_o,{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(U,{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(Zs,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>o(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(U,{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(er,{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 mN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:o=!1,email:c=null}){const[l,d]=j.useState(c??""),[h,u]=j.useState(!1),[p,f]=j.useState(!1);j.useEffect(()=>{if(o){f(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),k=localStorage.getItem("leadId");x&&k&&(f(!0),d(x))}catch{}},[o,c]);const m=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=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(x.ok){const k=await x.json();localStorage.setItem("leadId",k.id),localStorage.setItem("email",l),f(!0)}else{const k=await x.text();alert("Submission failed: "+k)}}catch{alert("Network error while submitting")}finally{u(!1)}},g=p||o,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}),g?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(Te,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx(U,{onClick:m,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 fN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:o="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=j.useState(""),[f,m]=j.useState(""),[g,y]=j.useState([]),[x,k]=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"}],L=[{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),q=N.get("q")||"",R=N.get("location")||"";p(q),m(R)},[]),j.useEffect(()=>{if(u.length<3){y([]);return}const N=setTimeout(()=>{b(u)},300);return()=>clearTimeout(N)},[u]);const b=async N=>{if(!i||d){y([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{k(!0);const q=await fetch(`${i}/suggestions?q=${encodeURIComponent(N)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const R=await q.json();y(R.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),y([])}finally{k(!1)}},I=N=>p(N),S=N=>{N.key==="Enter"&&C()},C=()=>{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 ${o}`,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(Te,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>I(N.target.value),onKeyDown:S,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:g.map((N,q)=>t.jsx("option",{value:N},q))}),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"})}),x&&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=>m(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(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:C,disabled:x,children:[t.jsx(Xt,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||L).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||L).map((N,q)=>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},q))]})]})})]})}function xN({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,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},o))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Rt,{size:24}):t.jsx(Io,{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,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},o))})})]})}function gN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:o,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(Js,{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:o}),t.jsx("p",{children:c})]})]})})}const kN=()=>{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 ZR(){const[a,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const vN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function wN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=j.useState({analytics:!1,marketing:!1,preferences:!1}),[i,o]=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)),o(!0);return}catch{}if(!d){o(!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(()=>o(!0))},[d]);const u=async p=>{const f={...r,...p,timestamp:new Date().toISOString()};n(f),localStorage.setItem("consent",JSON.stringify(f));const m={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(m)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)})}catch(g){console.warn("Consent API unavailable, kept only locally",g)}};return t.jsx(vN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const wC=()=>j.useContext(vN);function XR({allow:a,children:e}){const{consent:r,ready:n}=wC();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function MN({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:o,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=wC(),[p,f]=j.useState(i);j.useEffect(()=>{o===void 0&&u&&!d.timestamp&&f(!0)},[d.timestamp,o,u]);const m=j.useMemo(()=>o??p,[o,p]),g=()=>{o===void 0&&f(!1)};if(!m)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),g(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),g(),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:x,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const JR={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"}]},YR={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"},KR={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:Ga,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Lo,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},QR={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"},eD={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")},tD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},aD={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"},rD={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"},Ua=(a,e)=>({...a,...e??{}});function nD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:o,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:f=!0,showForEmployers:m=!0,showConsentBanner:g=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:k,email:w}=ZR(),M=Ua(JR,a),L=Ua(YR,e),b=Ua(KR,r),I=Ua(QR,n),S=Ua(eD,i),C=Ua(tD,o),N=Ua(aD,c),q=Ua(rD,l),R={...C,isSubscribed:(o==null?void 0:o.isSubscribed)??k,email:(o==null?void 0:o.email)??w};return t.jsx(wN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(xN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(uN,{...L}),d&&t.jsx(pN,{...b}),h&&t.jsx(fN,{...I}),u&&t.jsx(yN,{...S}),p&&t.jsx(kN,{}),f&&t.jsx(mN,{...R}),m&&t.jsx(hN,{...N})]}),t.jsx(gN,{...q}),g&&t.jsx(MN,{...x})]})})}function MC({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[o,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(!o||!o.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:o,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(f.ok){const m=await f.json();localStorage.setItem("leadId",m.id),localStorage.setItem("email",o),u(!0)}else{const m=await f.text();alert("Submission failed: "+m)}}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",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(Te,{type:"email",value:o,onChange:f=>c(f.target.value),placeholder:r,className:"mb-3"}),t.jsx(U,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function bN({open:a,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(a){const o=setTimeout(n,5e3);return()=>clearTimeout(o)}},[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 Zc=({position:a,url:e,alt:r,link:n})=>{let i="",o="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",o="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",o="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",o="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:`${o} 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:`${o} object-cover`})})})},I9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[o,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(!o),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 ${o?"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"})})]}),o&&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"})]})]})]})},iD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:o,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(I9,{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,m)=>typeof f!="string"?null:t.jsx("option",{value:f,children:f},`${d}-${m}`))]},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:()=>o(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"})]})]}),sD=({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,o)=>t.jsx("option",{value:i},o))})]})}),oD={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}},N9=a=>{const e=(a==null?void 0:a.status)??(a!=null&&a.registered?"freemium":"not_registered"),r=oD[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}},bC={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},jN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:o,layout:c="grid",userAccess:l})=>{var I;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=S=>{if(x||w){S.preventDefault(),S.stopPropagation();return}const C=x||w?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,C)},h=S=>{S.preventDefault(),S.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()}`,g=(S=>{if(!S)return"Recently posted";try{const C=new Date(S),q=Math.abs(new Date().getTime()-C.getTime()),R=Math.floor(q/(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,x=l.maskExternalLinks,k=l.blurCompanyTitle,w=l.notHrefJobsLink,M=bC[l.status],L=y?"Save job":"Log in to save this job",b=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
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=${((I=a.company)==null?void 0:I.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 ${k?"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:g})]})]}),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
  ${o?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7753
7753
  `,"aria-label":o?"Unsave job":"Save job",title:L,children:t.jsx(Qa,{size:20,className:`transition-colors ${o?"fill-blue-600 text-yellow-600":""}`})}),x||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:b,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."})]})},cD=({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(o=>t.jsx(jN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o),userAccess:i},o.link))}),lD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let o=1;o<=e;o++)n.push(o);else if(a<=3)for(let o=1;o<=5;o++)n.push(o);else if(a>=e-2)for(let o=e-4;o<=e;o++)n.push(o);else for(let o=a-2;o<=a+2;o++)n.push(o);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(o=>t.jsx("button",{className:`pagination-button ${a===o?"active":""}`,onClick:()=>r(o),children:o},o)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(ja,{})})]})},dD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:o,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:m=>o(p,m.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=n[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},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:()=>o(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"})]})]})})}),hD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:o,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState(1),[f,m]=j.useState({}),[g,y]=j.useState([]),[x,k]=j.useState({}),[w,M]=j.useState(""),[L,b]=j.useState([]),[I,S]=j.useState(!1),C=N9(l);j.useEffect(()=>{fetch(`${a}/items`).then(se=>se.json()).then(se=>{h(se)}).catch(se=>console.error("Error fetching items:",se))},[a]);const N=se=>{const ee={};se.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(se,ee,le){let ve=se.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,g),[f,d,g]),D=(se,ee)=>{m(le=>{const ve=ee?{...le,[se]:ee}:{...le};return ee||delete ve[se],ve})},_=se=>{if(M(se),se){const ee=d.map(le=>le.title).filter((le,ve,W)=>le&&le.toLowerCase().includes(se.toLowerCase())&&W.indexOf(le)===ve).slice(0,5);b(ee)}else b([])},q=se=>{if(se.key==="Enter"&&w.trim()){se.preventDefault();const ee=[...g,w.trim()];y(ee),M("")}},z=se=>{const ee=g.filter(le=>le!==se);y(ee)},V=()=>{m({}),y([]),p(1)};j.useEffect(()=>{k(N(R))},[r,R]),j.useEffect(()=>{p(1)},[f,g]);const G=()=>{S(!I)},E=(se,ee)=>{},re=se=>{},ne=se=>!1,oe=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:G,children:I?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(sD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:q,suggestions:L}),t.jsx(iD,{filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,searchFilters:g,removeSearchFilter:z,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(dD,{isOpen:I,onClose:G,filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:q,searchFilters:g,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(cD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:C}),t.jsx(lD,{currentPage:u,totalPages:oe,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(Zc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx(Zc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},uD=({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),[o,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",o?` as ${o}`:"","!"]}):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."]})})]})})},pD=({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,o)=>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},o))})]}),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})})]})})}),CN=({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(pc,{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"})]})]})})},yD=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"],o=["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:o[h%o.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}})},LN=({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))})]}),SN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:o,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:f,dateOptions:m=[{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(LN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:m})]}),r.map(g=>{var x;const y=g.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(g)?t.jsx(I9,{options:d[g]||[],value:o[g]||"",onChange:k=>c(g,k),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:o[g]||"",onChange:k=>c(g,k.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(x=d[g])==null?void 0:x.map(k=>t.jsx("option",{value:k,children:k},k))]})]},g)}),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"})})]})]})]})}),jC=({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))})]})})}),CC=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:o="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,f]=j.useState(!1),m=j.useRef(null),g=k=>{d(k),f(!0),i&&i(k)},y=()=>{d(""),u([]),f(!1),i==null||i("")},x=k=>{e(k),d(""),u([]),f(!1)};return j.useEffect(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{if(!l){u([]);return}const k=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,L)=>L.indexOf(w)===M).slice(0,5);u(k)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${o}`,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:k=>g(k.target.value),onFocus:()=>f(h.length>0),onBlur:()=>setTimeout(()=>f(!1),200),onKeyDown:k=>{k.key==="Enter"&&l.trim()&&(k.preventDefault(),x(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Rt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&x(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((k,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:()=>x(k),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),k]})})},w))})]})},LC=({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:o=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=j.useState(""),[f,m]=j.useState(()=>new Set),g=i.filter(x=>!f.has(x)),y=x=>{m(k=>{const w=new Set(k);return w.add(x),w}),l==null||l(x)};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:g.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:"}),g.map(x=>t.jsx(Qj,{name:`#${x}`,color:d,size:"sm",href:c?void 0:o(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},mD=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 SC(a){const e=mD(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 fD(a){const e=SC(a);return e||xD(a)}function xD(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(o=>o.length>2&&!e.has(o)),n={};for(const o of r)n[o]=(n[o]||0)+1;const i=Object.entries(n).sort((o,c)=>c[1]-o[1]);return i.length>0?i[0][0]:null}const IC=({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"})]}),gD=({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(Cc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),kD=({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))})]}),NC=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:o,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:o}),"–",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(gD,{viewMode:a,onToggle:e}),t.jsx(kD,{value:r,onChange:n})]})]})}),vD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:o="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 ${o}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${o} 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})]})}),wD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:o,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 g=[...a];a.length>5&&g.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(g),f(null)}catch(g){console.error("Error processing items:",g),f(`Error processing items: ${g instanceof Error?g.message:String(g)}`),u([])}},[a]);const m=(g,y)=>{const k=y===0&&!g.isPromo?{ref:l}:{};try{if(g.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(vD,{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(!g||typeof g!="object")return console.error("❌ Invalid item detected:",g),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=g.id?`${g._id}-${y}`:g.slug?`${g.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...k,children:t.jsx(jN,{job:g,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,L,b)=>o(M,y,b),onApplyJob:c?(M,L,b)=>c(M,y,b):void 0,isSaved:n.includes(g.id||g.slug||g.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((g,y)=>m(g,y))})},AC=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),o=Math.min(e,i+n-1),c=[];for(let l=i;l<=o;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(ja,{})})]})})},MD=({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))})]}),bD=(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(o=>{const c=o[r]||o.created_at||o.published_at||o.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}})},jD=(a,e)=>a.filter(r=>{var n,i,o,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&&!(((o=r.location)==null?void 0:o.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()))}),Hc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const o=n[i];Array.isArray(o)?o.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof o=="string"&&o.trim()&&r[i].add(o.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},IN=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)},Us=(a,e,r,n,i="date")=>{let o=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&&(o=o.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()))}))),o=bD(o,n,i),o},c1=(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},o=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 m=f.toLowerCase();let g=p;return h.includes(m)&&(g+=3),u.includes(m)&&(g+=1),g},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return o(h)-o(d);case"views_asc":return o(d)-o(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},NN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:o,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(LN,{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/,m=>m.toUpperCase())}),i.includes(p)?t.jsx(I9,{options:o[p]||[],value:c[p]||"",onChange:m=>l(p,m),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:m=>l(p,m.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=o[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},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(Qa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function CD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(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 LD="DismissableLayer",zj="dismissableLayer.update",SD="dismissableLayer.pointerDownOutside",ID="dismissableLayer.focusOutside",qL,AN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(AN),[u,p]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=v.useState({}),g=Ce(e,S=>p(S)),y=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=y.indexOf(x),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,L=w>=k,b=_D(S=>{const C=S.target,N=[...h.branches].some(T=>T.contains(C));!L||N||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},f),I=PD(S=>{const C=S.target;[...h.branches].some(T=>T.contains(C))||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},f);return CD(S=>{w===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},f),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(qL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),TL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=qL)}},[u,f,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),TL())},[u,h]),v.useEffect(()=>{const S=()=>m({});return document.addEventListener(zj,S),()=>document.removeEventListener(zj,S)},[]),t.jsx(fe.div,{...d,ref:g,style:{pointerEvents:M?L?"auto":"none":void 0,...a.style},onFocusCapture:he(a.onFocusCapture,I.onFocusCapture),onBlurCapture:he(a.onBlurCapture,I.onBlurCapture),onPointerDownCapture:he(a.onPointerDownCapture,b.onPointerDownCapture)})});A9.displayName=LD;var ND="DismissableLayerBranch",AD=v.forwardRef((a,e)=>{const r=v.useContext(AN),n=v.useRef(null),i=Ce(e,n);return v.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),t.jsx(fe.div,{...a,ref:i})});AD.displayName=ND;function _D(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let d=function(){_N(SD,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",o)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function PD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!n.current&&_N(ID,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function TL(){const a=new CustomEvent(zj);document.dispatchEvent(a)}function _N(a,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Hq(i,o):i.dispatchEvent(o)}var sj="focusScope.autoFocusOnMount",oj="focusScope.autoFocusOnUnmount",RL={bubbles:!1,cancelable:!0},qD="FocusScope",_9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...c}=a,[l,d]=v.useState(null),h=ir(i),u=ir(o),p=v.useRef(null),f=Ce(e,y=>d(y)),m=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(m.paused||!l)return;const L=M.target;l.contains(L)?p.current=L:$a(p.current,{select:!0})},x=function(M){if(m.paused||!l)return;const L=M.relatedTarget;L!==null&&(l.contains(L)||$a(p.current,{select:!0}))},k=function(M){if(document.activeElement===document.body)for(const b of M)b.removedNodes.length>0&&$a(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const w=new MutationObserver(k);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,m.paused]),v.useEffect(()=>{if(l){zL.add(m);const y=document.activeElement;if(!l.contains(y)){const k=new CustomEvent(sj,RL);l.addEventListener(sj,h),l.dispatchEvent(k),k.defaultPrevented||(TD(ED(PN(l)),{select:!0}),document.activeElement===y&&$a(l))}return()=>{l.removeEventListener(sj,h),setTimeout(()=>{const k=new CustomEvent(oj,RL);l.addEventListener(oj,u),l.dispatchEvent(k),k.defaultPrevented||$a(y??document.body,{select:!0}),l.removeEventListener(oj,u),zL.remove(m)},0)}}},[l,h,u,m]);const g=v.useCallback(y=>{if(!r&&!n||m.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,k=document.activeElement;if(x&&k){const w=y.currentTarget,[M,L]=RD(w);M&&L?!y.shiftKey&&k===L?(y.preventDefault(),r&&$a(M,{select:!0})):y.shiftKey&&k===M&&(y.preventDefault(),r&&$a(L,{select:!0})):k===w&&y.preventDefault()}},[r,n,m.paused]);return t.jsx(fe.div,{tabIndex:-1,...c,ref:f,onKeyDown:g})});_9.displayName=qD;function TD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if($a(n,{select:e}),document.activeElement!==r)return}function RD(a){const e=PN(a),r=DL(e,a),n=DL(e.reverse(),a);return[r,n]}function PN(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 DL(a,e){for(const r of a)if(!DD(r,{upTo:e}))return r}function DD(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 zD(a){return a instanceof HTMLInputElement&&"select"in a}function $a(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&zD(a)&&e&&a.select()}}var zL=FD();function FD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=FL(a,e),a.unshift(e)},remove(e){var r;a=FL(a,e),(r=a[0])==null||r.resume()}}}function FL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function ED(a){return a.filter(e=>e.tagName!=="A")}var HD="Portal",P9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,o]=v.useState(!1);pt(()=>o(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?Xj.createPortal(t.jsx(fe.div,{...n,ref:e}),c):null});P9.displayName=HD;var cj=0;function _C(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??EL()),document.body.insertAdjacentElement("beforeend",a[1]??EL()),cj++,()=>{cj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),cj--}},[])}function EL(){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 oa=function(){return oa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},oa.apply(this,arguments)};function qN(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 OD(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return a.concat(o||Array.prototype.slice.call(e))}var r9="right-scroll-bar-position",n9="width-before-scroll-bar",VD="with-scroll-bars-hidden",BD="--removed-body-scroll-bar-size";function lj(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function UD(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 $D=typeof window<"u"?v.useLayoutEffect:v.useEffect,HL=new WeakMap;function GD(a,e){var r=UD(null,function(n){return a.forEach(function(i){return lj(i,n)})});return $D(function(){var n=HL.get(r);if(n){var i=new Set(n),o=new Set(a),c=r.current;i.forEach(function(l){o.has(l)||lj(l,null)}),o.forEach(function(l){i.has(l)||lj(l,c)})}HL.set(r,a)},[a]),r}function WD(a){return a}function ZD(a,e){e===void 0&&(e=WD);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(o){var c=e(o,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(o){for(n=!0;r.length;){var c=r;r=[],c.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(o),c=r}var d=function(){var u=c;c=[],u.forEach(o)},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 XD(a){a===void 0&&(a={});var e=ZD(null);return e.options=oa({async:!0,ssr:!1},a),e}var TN=function(a){var e=a.sideCar,r=qN(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,oa({},r))};TN.isSideCarExport=!0;function JD(a,e){return a.useMedium(e),TN}var RN=XD(),dj=function(){},q9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:dj,onWheelCapture:dj,onTouchMoveCapture:dj}),i=n[0],o=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,f=a.sideCar,m=a.noRelative,g=a.noIsolation,y=a.inert,x=a.allowPinchZoom,k=a.as,w=k===void 0?"div":k,M=a.gapMode,L=qN(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=f,I=GD([r,e]),S=oa(oa({},L),i);return v.createElement(v.Fragment,null,u&&v.createElement(b,{sideCar:RN,removeScrollBar:h,shards:p,noRelative:m,noIsolation:g,inert:y,setCallbacks:o,allowPinchZoom:!!x,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),oa(oa({},S),{ref:I})):v.createElement(w,oa({},S,{className:d,ref:I}),l))});q9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};q9.classNames={fullWidth:n9,zeroRight:r9};var YD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function KD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=YD();return e&&a.setAttribute("nonce",e),a}function QD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function ez(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var tz=function(){var a=0,e=null;return{add:function(r){a==0&&(e=KD())&&(QD(e,r),ez(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},az=function(){var a=tz();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},DN=function(){var a=az(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},rz={left:0,top:0,right:0,gap:0},hj=function(a){return parseInt(a||"",10)||0},nz=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[hj(r),hj(n),hj(i)]},iz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return rz;var e=nz(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])}},sz=DN(),Eo="data-scroll-locked",oz=function(a,e,r,n){var i=a.left,o=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
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."})]})},cD=({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(o=>t.jsx(jN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o),userAccess:i},o.link))}),lD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let o=1;o<=e;o++)n.push(o);else if(a<=3)for(let o=1;o<=5;o++)n.push(o);else if(a>=e-2)for(let o=e-4;o<=e;o++)n.push(o);else for(let o=a-2;o<=a+2;o++)n.push(o);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(o=>t.jsx("button",{className:`pagination-button ${a===o?"active":""}`,onClick:()=>r(o),children:o},o)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(ja,{})})]})},dD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:o,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:m=>o(p,m.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=n[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},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:()=>o(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"})]})]})})}),hD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:o,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState(1),[f,m]=j.useState({}),[g,y]=j.useState([]),[x,k]=j.useState({}),[w,M]=j.useState(""),[L,b]=j.useState([]),[I,S]=j.useState(!1),C=N9(l);j.useEffect(()=>{fetch(`${a}/items`).then(se=>se.json()).then(se=>{h(se)}).catch(se=>console.error("Error fetching items:",se))},[a]);const N=se=>{const ee={};se.forEach(ve=>{r.forEach(W=>{ee[W]||(ee[W]=new Set);const Q=ve[W];Q!=null&&ee[W].add(String(Q))})});const de={};return Object.keys(ee).forEach(ve=>{de[ve]=Array.from(ee[ve])}),de};function q(se,ee,de){let ve=se.filter(W=>Object.entries(ee).every(([Q,pe])=>{const he=W[Q];return typeof he=="string"&&he.toLowerCase()===pe.toLowerCase()}));return de.length>0&&(ve=ve.filter(W=>de.every(Q=>W.title.toLowerCase().includes(Q.toLowerCase())))),ve}const R=j.useMemo(()=>q(d,f,g),[f,d,g]),D=(se,ee)=>{m(de=>{const ve=ee?{...de,[se]:ee}:{...de};return ee||delete ve[se],ve})},_=se=>{if(M(se),se){const ee=d.map(de=>de.title).filter((de,ve,W)=>de&&de.toLowerCase().includes(se.toLowerCase())&&W.indexOf(de)===ve).slice(0,5);b(ee)}else b([])},T=se=>{if(se.key==="Enter"&&w.trim()){se.preventDefault();const ee=[...g,w.trim()];y(ee),M("")}},z=se=>{const ee=g.filter(de=>de!==se);y(ee)},V=()=>{m({}),y([]),p(1)};j.useEffect(()=>{k(N(R))},[r,R]),j.useEffect(()=>{p(1)},[f,g]);const G=()=>{S(!I)},E=(se,ee)=>{},re=se=>{},ne=se=>!1,oe=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:G,children:I?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(sD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:T,suggestions:L}),t.jsx(iD,{filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,searchFilters:g,removeSearchFilter:z,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(dD,{isOpen:I,onClose:G,filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:T,searchFilters:g,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(cD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:C}),t.jsx(lD,{currentPage:u,totalPages:oe,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(Zc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx(Zc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},uD=({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),[o,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",o?` as ${o}`:"","!"]}):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."]})})]})})},pD=({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,o)=>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},o))})]}),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})})]})})}),CN=({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(pc,{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"})]})]})})},yD=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"],o=["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:o[h%o.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}})},LN=({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))})]}),SN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:o,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:f,dateOptions:m=[{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(LN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:m})]}),r.map(g=>{var x;const y=g.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(g)?t.jsx(I9,{options:d[g]||[],value:o[g]||"",onChange:k=>c(g,k),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:o[g]||"",onChange:k=>c(g,k.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(x=d[g])==null?void 0:x.map(k=>t.jsx("option",{value:k,children:k},k))]})]},g)}),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"})})]})]})]})}),jC=({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))})]})})}),CC=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:o="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,f]=j.useState(!1),m=j.useRef(null),g=k=>{d(k),f(!0),i&&i(k)},y=()=>{d(""),u([]),f(!1),i==null||i("")},x=k=>{e(k),d(""),u([]),f(!1)};return j.useEffect(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{if(!l){u([]);return}const k=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,L)=>L.indexOf(w)===M).slice(0,5);u(k)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${o}`,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:k=>g(k.target.value),onFocus:()=>f(h.length>0),onBlur:()=>setTimeout(()=>f(!1),200),onKeyDown:k=>{k.key==="Enter"&&l.trim()&&(k.preventDefault(),x(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Rt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&x(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((k,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:()=>x(k),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),k]})})},w))})]})},LC=({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:o=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=j.useState(""),[f,m]=j.useState(()=>new Set),g=i.filter(x=>!f.has(x)),y=x=>{m(k=>{const w=new Set(k);return w.add(x),w}),l==null||l(x)};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:g.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:"}),g.map(x=>t.jsx(Qj,{name:`#${x}`,color:d,size:"sm",href:c?void 0:o(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},mD=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 SC(a){const e=mD(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 fD(a){const e=SC(a);return e||xD(a)}function xD(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(o=>o.length>2&&!e.has(o)),n={};for(const o of r)n[o]=(n[o]||0)+1;const i=Object.entries(n).sort((o,c)=>c[1]-o[1]);return i.length>0?i[0][0]:null}const IC=({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"})]}),gD=({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(Cc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),kD=({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))})]}),NC=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:o,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:o}),"–",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(gD,{viewMode:a,onToggle:e}),t.jsx(kD,{value:r,onChange:n})]})]})}),vD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:o="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 ${o}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${o} 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})]})}),wD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:o,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 g=[...a];a.length>5&&g.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(g),f(null)}catch(g){console.error("Error processing items:",g),f(`Error processing items: ${g instanceof Error?g.message:String(g)}`),u([])}},[a]);const m=(g,y)=>{const k=y===0&&!g.isPromo?{ref:l}:{};try{if(g.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(vD,{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(!g||typeof g!="object")return console.error("❌ Invalid item detected:",g),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=g.id?`${g._id}-${y}`:g.slug?`${g.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...k,children:t.jsx(jN,{job:g,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,L,b)=>o(M,y,b),onApplyJob:c?(M,L,b)=>c(M,y,b):void 0,isSaved:n.includes(g.id||g.slug||g.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((g,y)=>m(g,y))})},AC=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),o=Math.min(e,i+n-1),c=[];for(let l=i;l<=o;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(ja,{})})]})})},MD=({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))})]}),bD=(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(o=>{const c=o[r]||o.created_at||o.published_at||o.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}})},jD=(a,e)=>a.filter(r=>{var n,i,o,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&&!(((o=r.location)==null?void 0:o.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()))}),Hc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const o=n[i];Array.isArray(o)?o.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof o=="string"&&o.trim()&&r[i].add(o.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},IN=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)},Us=(a,e,r,n,i="date")=>{let o=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&&(o=o.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()))}))),o=bD(o,n,i),o},c1=(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},o=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 m=f.toLowerCase();let g=p;return h.includes(m)&&(g+=3),u.includes(m)&&(g+=1),g},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return o(h)-o(d);case"views_asc":return o(d)-o(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},NN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:o,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(LN,{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/,m=>m.toUpperCase())}),i.includes(p)?t.jsx(I9,{options:o[p]||[],value:c[p]||"",onChange:m=>l(p,m),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:m=>l(p,m.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=o[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},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(Qa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function CD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(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 LD="DismissableLayer",zj="dismissableLayer.update",SD="dismissableLayer.pointerDownOutside",ID="dismissableLayer.focusOutside",qL,AN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(AN),[u,p]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=v.useState({}),g=Ce(e,S=>p(S)),y=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=y.indexOf(x),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,L=w>=k,b=_D(S=>{const C=S.target,N=[...h.branches].some(q=>q.contains(C));!L||N||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},f),I=PD(S=>{const C=S.target;[...h.branches].some(q=>q.contains(C))||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},f);return CD(S=>{w===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},f),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(qL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),TL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=qL)}},[u,f,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),TL())},[u,h]),v.useEffect(()=>{const S=()=>m({});return document.addEventListener(zj,S),()=>document.removeEventListener(zj,S)},[]),t.jsx(fe.div,{...d,ref:g,style:{pointerEvents:M?L?"auto":"none":void 0,...a.style},onFocusCapture:ue(a.onFocusCapture,I.onFocusCapture),onBlurCapture:ue(a.onBlurCapture,I.onBlurCapture),onPointerDownCapture:ue(a.onPointerDownCapture,b.onPointerDownCapture)})});A9.displayName=LD;var ND="DismissableLayerBranch",AD=v.forwardRef((a,e)=>{const r=v.useContext(AN),n=v.useRef(null),i=Ce(e,n);return v.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),t.jsx(fe.div,{...a,ref:i})});AD.displayName=ND;function _D(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let d=function(){_N(SD,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",o)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function PD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!n.current&&_N(ID,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function TL(){const a=new CustomEvent(zj);document.dispatchEvent(a)}function _N(a,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Hq(i,o):i.dispatchEvent(o)}var sj="focusScope.autoFocusOnMount",oj="focusScope.autoFocusOnUnmount",RL={bubbles:!1,cancelable:!0},qD="FocusScope",_9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...c}=a,[l,d]=v.useState(null),h=ir(i),u=ir(o),p=v.useRef(null),f=Ce(e,y=>d(y)),m=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(m.paused||!l)return;const L=M.target;l.contains(L)?p.current=L:$a(p.current,{select:!0})},x=function(M){if(m.paused||!l)return;const L=M.relatedTarget;L!==null&&(l.contains(L)||$a(p.current,{select:!0}))},k=function(M){if(document.activeElement===document.body)for(const b of M)b.removedNodes.length>0&&$a(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const w=new MutationObserver(k);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,m.paused]),v.useEffect(()=>{if(l){zL.add(m);const y=document.activeElement;if(!l.contains(y)){const k=new CustomEvent(sj,RL);l.addEventListener(sj,h),l.dispatchEvent(k),k.defaultPrevented||(TD(ED(PN(l)),{select:!0}),document.activeElement===y&&$a(l))}return()=>{l.removeEventListener(sj,h),setTimeout(()=>{const k=new CustomEvent(oj,RL);l.addEventListener(oj,u),l.dispatchEvent(k),k.defaultPrevented||$a(y??document.body,{select:!0}),l.removeEventListener(oj,u),zL.remove(m)},0)}}},[l,h,u,m]);const g=v.useCallback(y=>{if(!r&&!n||m.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,k=document.activeElement;if(x&&k){const w=y.currentTarget,[M,L]=RD(w);M&&L?!y.shiftKey&&k===L?(y.preventDefault(),r&&$a(M,{select:!0})):y.shiftKey&&k===M&&(y.preventDefault(),r&&$a(L,{select:!0})):k===w&&y.preventDefault()}},[r,n,m.paused]);return t.jsx(fe.div,{tabIndex:-1,...c,ref:f,onKeyDown:g})});_9.displayName=qD;function TD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if($a(n,{select:e}),document.activeElement!==r)return}function RD(a){const e=PN(a),r=DL(e,a),n=DL(e.reverse(),a);return[r,n]}function PN(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 DL(a,e){for(const r of a)if(!DD(r,{upTo:e}))return r}function DD(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 zD(a){return a instanceof HTMLInputElement&&"select"in a}function $a(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&zD(a)&&e&&a.select()}}var zL=FD();function FD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=FL(a,e),a.unshift(e)},remove(e){var r;a=FL(a,e),(r=a[0])==null||r.resume()}}}function FL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function ED(a){return a.filter(e=>e.tagName!=="A")}var HD="Portal",P9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,o]=v.useState(!1);pt(()=>o(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?Xj.createPortal(t.jsx(fe.div,{...n,ref:e}),c):null});P9.displayName=HD;var cj=0;function _C(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??EL()),document.body.insertAdjacentElement("beforeend",a[1]??EL()),cj++,()=>{cj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),cj--}},[])}function EL(){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 oa=function(){return oa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},oa.apply(this,arguments)};function qN(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 OD(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return a.concat(o||Array.prototype.slice.call(e))}var r9="right-scroll-bar-position",n9="width-before-scroll-bar",VD="with-scroll-bars-hidden",BD="--removed-body-scroll-bar-size";function lj(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function UD(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 $D=typeof window<"u"?v.useLayoutEffect:v.useEffect,HL=new WeakMap;function GD(a,e){var r=UD(null,function(n){return a.forEach(function(i){return lj(i,n)})});return $D(function(){var n=HL.get(r);if(n){var i=new Set(n),o=new Set(a),c=r.current;i.forEach(function(l){o.has(l)||lj(l,null)}),o.forEach(function(l){i.has(l)||lj(l,c)})}HL.set(r,a)},[a]),r}function WD(a){return a}function ZD(a,e){e===void 0&&(e=WD);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(o){var c=e(o,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(o){for(n=!0;r.length;){var c=r;r=[],c.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(o),c=r}var d=function(){var u=c;c=[],u.forEach(o)},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 XD(a){a===void 0&&(a={});var e=ZD(null);return e.options=oa({async:!0,ssr:!1},a),e}var TN=function(a){var e=a.sideCar,r=qN(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,oa({},r))};TN.isSideCarExport=!0;function JD(a,e){return a.useMedium(e),TN}var RN=XD(),dj=function(){},q9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:dj,onWheelCapture:dj,onTouchMoveCapture:dj}),i=n[0],o=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,f=a.sideCar,m=a.noRelative,g=a.noIsolation,y=a.inert,x=a.allowPinchZoom,k=a.as,w=k===void 0?"div":k,M=a.gapMode,L=qN(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=f,I=GD([r,e]),S=oa(oa({},L),i);return v.createElement(v.Fragment,null,u&&v.createElement(b,{sideCar:RN,removeScrollBar:h,shards:p,noRelative:m,noIsolation:g,inert:y,setCallbacks:o,allowPinchZoom:!!x,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),oa(oa({},S),{ref:I})):v.createElement(w,oa({},S,{className:d,ref:I}),l))});q9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};q9.classNames={fullWidth:n9,zeroRight:r9};var YD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function KD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=YD();return e&&a.setAttribute("nonce",e),a}function QD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function ez(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var tz=function(){var a=0,e=null;return{add:function(r){a==0&&(e=KD())&&(QD(e,r),ez(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},az=function(){var a=tz();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},DN=function(){var a=az(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},rz={left:0,top:0,right:0,gap:0},hj=function(a){return parseInt(a||"",10)||0},nz=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[hj(r),hj(n),hj(i)]},iz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return rz;var e=nz(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])}},sz=DN(),Eo="data-scroll-locked",oz=function(a,e,r,n){var i=a.left,o=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
7755
7755
  .`.concat(VD,` {
7756
7756
  overflow: hidden `).concat(n,`;
7757
7757
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -7791,34 +7791,34 @@ React keys must be passed directly to JSX without using spread:
7791
7791
  `)},OL=function(){var a=parseInt(document.body.getAttribute(Eo)||"0",10);return isFinite(a)?a:0},cz=function(){v.useEffect(function(){return document.body.setAttribute(Eo,(OL()+1).toString()),function(){var a=OL()-1;a<=0?document.body.removeAttribute(Eo):document.body.setAttribute(Eo,a.toString())}},[])},lz=function(a){var e=a.noRelative,r=a.noImportant,n=a.gapMode,i=n===void 0?"margin":n;cz();var o=v.useMemo(function(){return iz(i)},[i]);return v.createElement(sz,{styles:oz(o,!e,i,r?"":"!important")})},Fj=!1;if(typeof window<"u")try{var l1=Object.defineProperty({},"passive",{get:function(){return Fj=!0,!0}});window.addEventListener("test",l1,l1),window.removeEventListener("test",l1,l1)}catch{Fj=!1}var po=Fj?{passive:!1}:!1,dz=function(a){return a.tagName==="TEXTAREA"},zN=function(a,e){if(!(a instanceof Element))return!1;var r=window.getComputedStyle(a);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!dz(a)&&r[e]==="visible")},hz=function(a){return zN(a,"overflowY")},uz=function(a){return zN(a,"overflowX")},VL=function(a,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=FN(a,n);if(i){var o=EN(a,n),c=o[1],l=o[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},pz=function(a){var e=a.scrollTop,r=a.scrollHeight,n=a.clientHeight;return[e,r,n]},yz=function(a){var e=a.scrollLeft,r=a.scrollWidth,n=a.clientWidth;return[e,r,n]},FN=function(a,e){return a==="v"?hz(e):uz(e)},EN=function(a,e){return a==="v"?pz(e):yz(e)},mz=function(a,e){return a==="h"&&e==="rtl"?-1:1},fz=function(a,e,r,n,i){var o=mz(a,window.getComputedStyle(e).direction),c=o*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,f=0;do{if(!l)break;var m=EN(a,l),g=m[0],y=m[1],x=m[2],k=y-x-o*g;(g||k)&&FN(a,l)&&(p+=k,f+=g);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},d1=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},BL=function(a){return[a.deltaX,a.deltaY]},UL=function(a){return a&&"current"in a?a.current:a},xz=function(a,e){return a[0]===e[0]&&a[1]===e[1]},gz=function(a){return`
7792
7792
  .block-interactivity-`.concat(a,` {pointer-events: none;}
7793
7793
  .allow-interactivity-`).concat(a,` {pointer-events: all;}
7794
- `)},kz=0,yo=[];function vz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(kz++)[0],o=v.useState(DN)[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=OD([a.lockRef.current],(a.shards||[]).map(UL),!0).filter(Boolean);return y.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,x){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var k=d1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-k[0],L="deltaY"in y?y.deltaY:w[1]-k[1],b,I=y.target,S=Math.abs(M)>Math.abs(L)?"h":"v";if("touches"in y&&S==="h"&&I.type==="range")return!1;var C=window.getSelection(),N=C&&C.anchorNode,T=N?N===I||N.contains(I):!1;if(T)return!1;var R=VL(S,I);if(!R)return!0;if(R?b=S:(b=S==="v"?"h":"v",R=VL(S,I)),!R)return!1;if(!n.current&&"changedTouches"in y&&(M||L)&&(n.current=b),!b)return!0;var D=n.current||b;return fz(D,x,y,D==="h"?M:L)},[]),d=v.useCallback(function(y){var x=y;if(!(!yo.length||yo[yo.length-1]!==o)){var k="deltaY"in x?BL(x):d1(x),w=e.current.filter(function(b){return b.name===x.type&&(b.target===x.target||x.target===b.shadowParent)&&xz(b.delta,k)})[0];if(w&&w.should){x.cancelable&&x.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(UL).filter(Boolean).filter(function(b){return b.contains(x.target)}),L=M.length>0?l(x,M[0]):!c.current.noIsolation;L&&x.cancelable&&x.preventDefault()}}},[]),h=v.useCallback(function(y,x,k,w){var M={name:y,delta:x,target:k,should:w,shadowParent:wz(k)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(L){return L!==M})},1)},[]),u=v.useCallback(function(y){r.current=d1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,BL(y),y.target,l(y,a.lockRef.current))},[]),f=v.useCallback(function(y){h(y.type,d1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return yo.push(o),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",d,po),document.addEventListener("touchmove",d,po),document.addEventListener("touchstart",u,po),function(){yo=yo.filter(function(y){return y!==o}),document.removeEventListener("wheel",d,po),document.removeEventListener("touchmove",d,po),document.removeEventListener("touchstart",u,po)}},[]);var m=a.removeScrollBar,g=a.inert;return v.createElement(v.Fragment,null,g?v.createElement(o,{styles:gz(i)}):null,m?v.createElement(lz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function wz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const Mz=JD(RN,vz);var T9=v.forwardRef(function(a,e){return v.createElement(q9,oa({},a,{ref:e,sideCar:Mz}))});T9.classNames=q9.classNames;var bz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},mo=new WeakMap,h1=new WeakMap,u1={},uj=0,HN=function(a){return a&&(a.host||HN(a.parentNode))},jz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=HN(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})},Cz=function(a,e,r,n){var i=jz(e,Array.isArray(a)?a:[a]);u1[r]||(u1[r]=new WeakMap);var o=u1[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 m=f.getAttribute(n),g=m!==null&&m!=="false",y=(mo.get(f)||0)+1,x=(o.get(f)||0)+1;mo.set(f,y),o.set(f,x),c.push(f),y===1&&g&&h1.set(f,!0),x===1&&f.setAttribute(r,"true"),g||f.setAttribute(n,"true")}catch(k){console.error("aria-hidden: cannot operate on ",f,k)}})};return u(e),l.clear(),uj++,function(){c.forEach(function(p){var f=mo.get(p)-1,m=o.get(p)-1;mo.set(p,f),o.set(p,m),f||(h1.has(p)||p.removeAttribute(n),h1.delete(p)),m||p.removeAttribute(r)}),uj--,uj||(mo=new WeakMap,mo=new WeakMap,h1=new WeakMap,u1={})}},PC=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=bz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),Cz(n,i,r,"aria-hidden")):function(){return null}};function Lz(a){const e=Sz(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Nz);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:o})});return r.displayName=`${a}.Slot`,r}function Sz(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=_z(i),l=Az(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Iz=Symbol("radix.slottable");function Nz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Iz}function Az(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function _z(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 R9="Dialog",[ON,VN]=ma(R9),[Pz,aa]=ON(R9),BN=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:R9});return t.jsx(Pz,{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})};BN.displayName=R9;var UN="DialogTrigger",$N=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(UN,r),o=Ce(e,i.triggerRef);return t.jsx(fe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":RC(i.open),...n,ref:o,onClick:he(a.onClick,i.onOpenToggle)})});$N.displayName=UN;var qC="DialogPortal",[qz,GN]=ON(qC,{forceMount:void 0}),WN=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,o=aa(qC,e);return t.jsx(qz,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(ur,{present:r||o.open,children:t.jsx(P9,{asChild:!0,container:i,children:c})}))})};WN.displayName=qC;var m9="DialogOverlay",ZN=v.forwardRef((a,e)=>{const r=GN(m9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(m9,a.__scopeDialog);return o.modal?t.jsx(ur,{present:n||o.open,children:t.jsx(Rz,{...i,ref:e})}):null});ZN.displayName=m9;var Tz=Lz("DialogOverlay.RemoveScroll"),Rz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(m9,r);return t.jsx(T9,{as:Tz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(fe.div,{"data-state":RC(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ro="DialogContent",XN=v.forwardRef((a,e)=>{const r=GN(ro,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(ro,a.__scopeDialog);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(Dz,{...i,ref:e}):t.jsx(zz,{...i,ref:e})})});XN.displayName=ro;var Dz=v.forwardRef((a,e)=>{const r=aa(ro,a.__scopeDialog),n=v.useRef(null),i=Ce(e,r.contentRef,n);return v.useEffect(()=>{const o=n.current;if(o)return PC(o)},[]),t.jsx(JN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:he(a.onFocusOutside,o=>o.preventDefault())})}),zz=v.forwardRef((a,e)=>{const r=aa(ro,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(JN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),JN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=a,l=aa(ro,r),d=v.useRef(null),h=Ce(e,d);return _C(),t.jsxs(t.Fragment,{children:[t.jsx(_9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(A9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":RC(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(Ez,{titleId:l.titleId}),t.jsx(Oz,{contentRef:d,descriptionId:l.descriptionId})]})]})}),TC="DialogTitle",YN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(TC,r);return t.jsx(fe.h2,{id:i.titleId,...n,ref:e})});YN.displayName=TC;var KN="DialogDescription",QN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(KN,r);return t.jsx(fe.p,{id:i.descriptionId,...n,ref:e})});QN.displayName=KN;var eA="DialogClose",tA=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(eA,r);return t.jsx(fe.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});tA.displayName=eA;function RC(a){return a?"open":"closed"}var aA="DialogTitleWarning",[Fz,rA]=jq(aA,{contentName:ro,titleName:TC,docsSlug:"dialog"}),Ez=({titleId:a})=>{const e=rA(aA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7794
+ `)},kz=0,yo=[];function vz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(kz++)[0],o=v.useState(DN)[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=OD([a.lockRef.current],(a.shards||[]).map(UL),!0).filter(Boolean);return y.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,x){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var k=d1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-k[0],L="deltaY"in y?y.deltaY:w[1]-k[1],b,I=y.target,S=Math.abs(M)>Math.abs(L)?"h":"v";if("touches"in y&&S==="h"&&I.type==="range")return!1;var C=window.getSelection(),N=C&&C.anchorNode,q=N?N===I||N.contains(I):!1;if(q)return!1;var R=VL(S,I);if(!R)return!0;if(R?b=S:(b=S==="v"?"h":"v",R=VL(S,I)),!R)return!1;if(!n.current&&"changedTouches"in y&&(M||L)&&(n.current=b),!b)return!0;var D=n.current||b;return fz(D,x,y,D==="h"?M:L)},[]),d=v.useCallback(function(y){var x=y;if(!(!yo.length||yo[yo.length-1]!==o)){var k="deltaY"in x?BL(x):d1(x),w=e.current.filter(function(b){return b.name===x.type&&(b.target===x.target||x.target===b.shadowParent)&&xz(b.delta,k)})[0];if(w&&w.should){x.cancelable&&x.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(UL).filter(Boolean).filter(function(b){return b.contains(x.target)}),L=M.length>0?l(x,M[0]):!c.current.noIsolation;L&&x.cancelable&&x.preventDefault()}}},[]),h=v.useCallback(function(y,x,k,w){var M={name:y,delta:x,target:k,should:w,shadowParent:wz(k)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(L){return L!==M})},1)},[]),u=v.useCallback(function(y){r.current=d1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,BL(y),y.target,l(y,a.lockRef.current))},[]),f=v.useCallback(function(y){h(y.type,d1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return yo.push(o),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",d,po),document.addEventListener("touchmove",d,po),document.addEventListener("touchstart",u,po),function(){yo=yo.filter(function(y){return y!==o}),document.removeEventListener("wheel",d,po),document.removeEventListener("touchmove",d,po),document.removeEventListener("touchstart",u,po)}},[]);var m=a.removeScrollBar,g=a.inert;return v.createElement(v.Fragment,null,g?v.createElement(o,{styles:gz(i)}):null,m?v.createElement(lz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function wz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const Mz=JD(RN,vz);var T9=v.forwardRef(function(a,e){return v.createElement(q9,oa({},a,{ref:e,sideCar:Mz}))});T9.classNames=q9.classNames;var bz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},mo=new WeakMap,h1=new WeakMap,u1={},uj=0,HN=function(a){return a&&(a.host||HN(a.parentNode))},jz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=HN(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})},Cz=function(a,e,r,n){var i=jz(e,Array.isArray(a)?a:[a]);u1[r]||(u1[r]=new WeakMap);var o=u1[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 m=f.getAttribute(n),g=m!==null&&m!=="false",y=(mo.get(f)||0)+1,x=(o.get(f)||0)+1;mo.set(f,y),o.set(f,x),c.push(f),y===1&&g&&h1.set(f,!0),x===1&&f.setAttribute(r,"true"),g||f.setAttribute(n,"true")}catch(k){console.error("aria-hidden: cannot operate on ",f,k)}})};return u(e),l.clear(),uj++,function(){c.forEach(function(p){var f=mo.get(p)-1,m=o.get(p)-1;mo.set(p,f),o.set(p,m),f||(h1.has(p)||p.removeAttribute(n),h1.delete(p)),m||p.removeAttribute(r)}),uj--,uj||(mo=new WeakMap,mo=new WeakMap,h1=new WeakMap,u1={})}},PC=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=bz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),Cz(n,i,r,"aria-hidden")):function(){return null}};function Lz(a){const e=Sz(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Nz);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:o})});return r.displayName=`${a}.Slot`,r}function Sz(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=_z(i),l=Az(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 Iz=Symbol("radix.slottable");function Nz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Iz}function Az(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function _z(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 R9="Dialog",[ON,VN]=ma(R9),[Pz,aa]=ON(R9),BN=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:R9});return t.jsx(Pz,{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})};BN.displayName=R9;var UN="DialogTrigger",$N=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(UN,r),o=Ce(e,i.triggerRef);return t.jsx(fe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":RC(i.open),...n,ref:o,onClick:ue(a.onClick,i.onOpenToggle)})});$N.displayName=UN;var qC="DialogPortal",[qz,GN]=ON(qC,{forceMount:void 0}),WN=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,o=aa(qC,e);return t.jsx(qz,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(ur,{present:r||o.open,children:t.jsx(P9,{asChild:!0,container:i,children:c})}))})};WN.displayName=qC;var m9="DialogOverlay",ZN=v.forwardRef((a,e)=>{const r=GN(m9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(m9,a.__scopeDialog);return o.modal?t.jsx(ur,{present:n||o.open,children:t.jsx(Rz,{...i,ref:e})}):null});ZN.displayName=m9;var Tz=Lz("DialogOverlay.RemoveScroll"),Rz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(m9,r);return t.jsx(T9,{as:Tz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(fe.div,{"data-state":RC(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ro="DialogContent",XN=v.forwardRef((a,e)=>{const r=GN(ro,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(ro,a.__scopeDialog);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(Dz,{...i,ref:e}):t.jsx(zz,{...i,ref:e})})});XN.displayName=ro;var Dz=v.forwardRef((a,e)=>{const r=aa(ro,a.__scopeDialog),n=v.useRef(null),i=Ce(e,r.contentRef,n);return v.useEffect(()=>{const o=n.current;if(o)return PC(o)},[]),t.jsx(JN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ue(a.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:ue(a.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:ue(a.onFocusOutside,o=>o.preventDefault())})}),zz=v.forwardRef((a,e)=>{const r=aa(ro,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(JN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),JN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=a,l=aa(ro,r),d=v.useRef(null),h=Ce(e,d);return _C(),t.jsxs(t.Fragment,{children:[t.jsx(_9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(A9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":RC(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(Ez,{titleId:l.titleId}),t.jsx(Oz,{contentRef:d,descriptionId:l.descriptionId})]})]})}),TC="DialogTitle",YN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(TC,r);return t.jsx(fe.h2,{id:i.titleId,...n,ref:e})});YN.displayName=TC;var KN="DialogDescription",QN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(KN,r);return t.jsx(fe.p,{id:i.descriptionId,...n,ref:e})});QN.displayName=KN;var eA="DialogClose",tA=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(eA,r);return t.jsx(fe.button,{type:"button",...n,ref:e,onClick:ue(a.onClick,()=>i.onOpenChange(!1))})});tA.displayName=eA;function RC(a){return a?"open":"closed"}var aA="DialogTitleWarning",[Fz,rA]=jq(aA,{contentName:ro,titleName:TC,docsSlug:"dialog"}),Ez=({titleId:a})=>{const e=rA(aA),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},Hz="DialogDescriptionWarning",Oz=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${rA(Hz).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=a.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},nA=BN,iA=$N,sA=WN,DC=ZN,zC=XN,FC=YN,EC=QN,HC=tA;function D9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Vz=["color"],Bz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,Vz);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"}))}),Uz=["color"],oA=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(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 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"}))}),$z=["color"],Gz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,$z);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"}))}),Wz=["color"],Zz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,Wz);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 mr=nA,Xz=iA,Jz=sA,cA=v.forwardRef(({className:a,...e},r)=>t.jsx(DC,{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}));cA.displayName=DC.displayName;const Ta=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Jz,{children:[t.jsx(cA,{}),t.jsxs(zC,{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(HC,{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(Zz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ta.displayName=zC.displayName;const fr=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});fr.displayName="DialogHeader";const Ra=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});Ra.displayName="DialogFooter";const Da=v.forwardRef(({className:a,...e},r)=>t.jsx(FC,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));Da.displayName=FC.displayName;const z9=v.forwardRef(({className:a,...e},r)=>t.jsx(EC,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));z9.displayName=EC.displayName;var Yz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Kz=Yz.reduce((a,e)=>{const r=Jj(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Qz="Label",lA=v.forwardRef((a,e)=>t.jsx(Kz.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())}}));lA.displayName=Qz;var dA=lA;const eF=b9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ye=v.forwardRef(({className:a,...e},r)=>t.jsx(dA,{ref:r,className:ce(eF(),a),...e}));ye.displayName=dA.displayName;const tF=1,aF=1e6;let pj=0;function rF(){return pj=(pj+1)%Number.MAX_SAFE_INTEGER,pj.toString()}const yj=new Map,$L=a=>{if(yj.has(a))return;const e=setTimeout(()=>{yj.delete(a),i9({type:"REMOVE_TOAST",toastId:a})},aF);yj.set(a,e)},nF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,tF)};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?$L(r):a.toasts.forEach(n=>{$L(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)}}},iF=[];let mj={toasts:[]};function i9(a){mj=nF(mj,a),iF.forEach(e=>{e(mj)})}function GL({...a}){const e=rF(),r=i=>i9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>i9({type:"DISMISS_TOAST",toastId:e});return i9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const sF=new Set([200,201,202,204]);function oF(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 cF(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 lF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,o=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(sF.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:oF(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(o)}}function dF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:o="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),f=async m=>{if(m.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const g=await lF(`${o}/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(!g.ok){p(cF(g.error)),GL({title:"Subscription failed",description:g.error.message});return}localStorage.setItem("leadId",g.data.id),localStorage.setItem("email",c),GL({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(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{className:"sm:max-w-md",children:[t.jsxs(fr,{children:[t.jsxs(Da,{className:"flex items-center gap-2",children:[t.jsx(vo,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(z9,{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(ye,{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(We,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:m=>l(m.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(Ra,{className:"gap-2 sm:gap-0",children:[t.jsx(U,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx(U,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function hA(){const a="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const o=localStorage.getItem(a);o&&r(JSON.parse(o))}catch(o){console.error("Failed to load saved jobs:",o)}},[]),{savedJobs:e,toggleJob:o=>{r(c=>{const d=c.includes(o)?c.filter(h=>h!==o):[...c,o];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:o=>o?e.includes(o):!1}}const hF=({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:"▼"})]})]}),uF=6,fj={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},pF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:o,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:f,onPopularTagClick:m,onPopularTagRemove:g,allowPopularTagRemoval:y=!1})=>{var X;const[x,k]=j.useState([]),[w,M]=j.useState([]),[L,b]=j.useState([]),[I,S]=j.useState(1),[C,N]=j.useState({}),[T,R]=j.useState([]),[D,_]=j.useState({}),[q,z]=j.useState(""),[V,G]=j.useState([]),[E,re]=j.useState(!1),[ne,oe]=j.useState(e),[ae,se]=j.useState("grid"),[ee,le]=j.useState(!1),[ve,W]=j.useState([]),[Q,ue]=j.useState(!0),[de,me]=j.useState(null),[ie,Pe]=j.useState("all"),[qe,Qe]=j.useState(!1),[st,yt]=j.useState(!1),[xt,ot]=j.useState({...fj}),[$e,gt]=j.useState({open:!1,type:"info",message:""}),[rt,Fa]=j.useState("date_desc"),{savedJobs:Lt,toggleJob:kt}=hA(),xa=N9(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:{...C},advancedFilters:xt,dateFilter:ie}),[C,ie,xt]),Ee=j.useCallback(()=>({page:I,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[I,w.length,ne,ee,ae]),et=j.useRef(!1),He=(P,H)=>{gt({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){me("❌ Missing API URL for Listing component!"),ue(!1);return}ue(!0),me(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((ge,ze)=>({...ge,sponsored:ze%7===0,topTag:SC(ge.title||"")})),te=Array.from(new Set(Y.map(ge=>ge.topTag).filter(ge=>typeof ge=="string"))).slice(0,10);b(te);const Le=c1(Y,rt,T,c);k(Y),M(Le);const Me=Hc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),me(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=yD(20),Y=c1(Z,rt,T,c);k(Z),M(Y);const te=Hc(Z,r);_(te)}finally{ue(!1)}})()},[a,c,T,rt]),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&&z(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),N(Y)},[]),j.useEffect(()=>{if(ee){const P=x.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=c1(P,rt,T,c);M(H),S(1)}else Ot()},[]),j.useEffect(()=>{et.current||Q||!w.length&&!x.length||(J("jobs_listing_viewed",{...we(),...Ee()}),et.current=!0)},[x.length,J,w.length,we,Ee,Q]);const Ht=j.useCallback(P=>{const H=Hc(P,r);_(H)},[r]),Ot=j.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??x,Z=(P==null?void 0:P.filters)??C,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=Us(H,Z,Y,te,c);Me=jD(Me,Le);const ge=c1(Me,rt,Y,c);return M(ge),((P==null?void 0:P.resetPage)??!0)&&S(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Ht(ge),ge},[ie,C,xt,x,c,T,rt,Ht]);j.useEffect(()=>{Ot({resetPage:!1,refreshFiltersData:!1})},[rt,Ot]);const vr=(P,H)=>{const Z={...C};H?Z[P]=H:delete Z[P],ee&&le(!1),N(Z),Ot({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},rc=()=>{yt(!0),Se().then(()=>Qe(!1))},ga=j.useRef(null),wr=P=>{S(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ga.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Vt=P=>{ee&&le(!1),Pe(P),Ot({dateFilter:P}),IN(P),J("jobs_date_filter_changed",{dateFilter:P})},Ea=P=>{if(z(P),P){const H=x.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);G(H)}else G([])},ka=P=>{if(!P.trim())return;ee&&le(!1);const H=[...T,P.trim()];R(H),Ot({search:H}),z(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},ho=P=>{const H=T.filter(Z=>Z!==P);R(H),Ot({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},$=()=>{N({}),R([]),le(!1),Pe("all"),ot({...fj}),Ot({filters:{},search:[],dateFilter:"all",advanced:fj}),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()}),!st)Qe(!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=(Ye,nt)=>nt&&nt.trim()?{key:Ye.toLowerCase(),value:nt.trim()}:null,te=Object.entries(C).map(([Ye,nt])=>Y(Ye,nt)).filter(Ye=>Ye!==null),Le=T.map(Ye=>Y(Z,Ye)).filter(Ye=>Ye!==null),Me=Y(Z,q),ge=Me?[Me]:[],ze=K([...te,...Le,...ge]);if(ze.length===0){He("info","No filters/keywords to save.");return}try{const Ye=xe(h??"http://localhost:5147"),nt=await fetch(`${Ye}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze)});if(!nt.ok){let tt="";try{tt=await nt.text()}catch{}throw new Error(`${nt.status} ${nt.statusText} ${tt}`.trim())}He("success","Alert saved. We’ll notify you about new matching jobs."),z(""),J("jobs_alert_created",{preferences:ze.filter(tt=>tt!==null)})}catch(Ye){console.error("Create alert failed:",Ye),He("error","Failed to save alert.")}}},Ge=()=>{re(!E)},Ha=w.length===0?0:(I-1)*ne+1,ct=Math.min(I*ne,w.length),dt=P=>{oe(P),S(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Oa=()=>{se(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Xe=(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),ge=[P,...Me].slice(0,uF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ge))}catch(ze){console.error("Error saving to localStorage:",ze)}return ge}),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);kt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},nc=(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})},i1=()=>{le(!ee)},A=Math.ceil(w.length/ne),O=w.slice((I-1)*ne,I*ne);return de&&!x.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(LC,{onSearchChange:Ea,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:L,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:m,onTagRemove:g,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(CC,{data:x.map(P=>P.title).filter(Boolean),onSelect:P=>{ka(P)},onTyping:P=>{z(P),Ea(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:Ge,children:t.jsx(tr,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(IC,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Vt("all")}]:[],...T.map(P=>({key:"search",label:"",value:P,onRemove:()=>ho(P)})),...Object.entries(C).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>vr(P,"")}))],onClearAll:$,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:Ge,"aria-expanded":E,children:[t.jsx(tr,{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(NN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Vt,filterKeys:r,searchableFilters:d,filtersData:D,activeFilters:C,handleFilterChange:vr,toggleSavedJobsFilter:i1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(jC,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(NC,{viewMode:ae,onToggleViewMode:Oa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:Ha,endIndex:ct,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(hF,{value:rt,options:B,onChange:Fa})]})}),t.jsx(wD,{items:O,cardType:o,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Xe,onApplyJob:nc,firstItemRef:ga,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(AC,{currentPage:I,totalPages:A,onPageChange:wr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(MD,{jobs:ve,onViewJob:Xe})})]}),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(Zc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(MC,{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(SN,{activeDateFilter:ie,handleDateFilterChange:Vt,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:C,handleFilterChange:vr,toggleSavedJobsFilter:i1,filtersData:D,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:Ge}),t.jsx(CN,{savedJobsCount:Lt.length}),t.jsx(bN,{open:$e.open,type:$e.type,message:$e.message,onClose:()=>gt(P=>({...P,open:!1}))}),t.jsx(dF,{open:qe,onOpenChange:Qe,onSubscriptionSuccess:rc,apiUrl:h})]})};function WL(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 yF(){const[a,e]=j.useState(()=>WL());return j.useEffect(()=>{const r=()=>e(WL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function ZL(a){window.location.assign(a)}function XL(a){window.history.length>1?window.history.back():window.location.assign(a)}function mF(a){const e=uA,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 fF(a){return!Array.isArray(a)||a.length===0?pA: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 uA={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},pA=[{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"}],xF=({job:a=uA,similarJobs:e=pA,onSkillClick:r})=>{var I;const n=yF(),[i,o]=j.useState(()=>fF(e)),[c,l]=j.useState(!1),[d,h]=j.useState(null),[u,p]=j.useState(!1),[f,m]=j.useState(!1),{toggleJob:g,isSaved:y}=hA(),x=mF(a);j.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(N=>setTimeout(N,300)),!n)throw new Error("Missing slug in URL.");o(i);const C=JSON.parse(localStorage.getItem("appliedJobs")||"[]");m(C.includes(n))}catch(C){h((C==null?void 0:C.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const k=()=>{n&&g(n)},w=()=>{if(!n)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(n)||(S.push(n),localStorage.setItem("appliedJobs",JSON.stringify(S)),m(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},L=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=S=>{const C=new Date(S),T=Math.abs(new Date().getTime()-C.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||!x?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(Nt,{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:()=>XL("/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:()=>XL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx(Gs,{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:[x.companyLogo&&t.jsx("img",{src:x.companyLogo,alt:`${x.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:[x.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.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:x.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(mc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:x.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.location}),x.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:k,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(x.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(So,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.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(qo,{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(At,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{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:x.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Lo,{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:x.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:x.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(fc,{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:x.applicationDeadline?L(x.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:[x.viewCount," views"]}),t.jsxs("span",{children:[x.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:x.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:(I=x.responsibilities)==null?void 0:I.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))})]}),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(x.requirements)?t.jsx("ul",{className:"space-y-3",children:x.requirements.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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(x.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((S,C)=>t.jsx(Qj,{name:S,color:"#2563EB",size:"sm",onClick:r?()=>r(S):void 0},`${S}-${C}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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(x.benefits)?t.jsx("ul",{className:"space-y-3",children:x.benefits.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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 ",x.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.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:x.companySize})]}),x.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Co,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:x.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:[x.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:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Js,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.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 ",x.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(At,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{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:k,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(x.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(Qa,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.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(Mc,{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(S=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>ZL(`/jobs/${S.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.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:S.location})]}),t.jsxs("span",{children:[b(S.postedDate),"d ago"]})]}),S.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),t.jsx("button",{onClick:()=>ZL("/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:x.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:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.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"})]})]})})]})},gF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),kF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:o="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=y=>{const x=new Date(y),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.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],m=(y,x)=>y.length<=x?y:y.substring(0,x).trim()+"...",g=o==="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},Hz="DialogDescriptionWarning",Oz=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${rA(Hz).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=a.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},nA=BN,iA=$N,sA=WN,DC=ZN,zC=XN,FC=YN,EC=QN,HC=tA;function D9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Vz=["color"],Bz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,Vz);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"}))}),Uz=["color"],oA=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(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 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"}))}),$z=["color"],Gz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,$z);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"}))}),Wz=["color"],Zz=j.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=D9(a,Wz);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 mr=nA,Xz=iA,Jz=sA,cA=v.forwardRef(({className:a,...e},r)=>t.jsx(DC,{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}));cA.displayName=DC.displayName;const Ta=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Jz,{children:[t.jsx(cA,{}),t.jsxs(zC,{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(HC,{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(Zz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ta.displayName=zC.displayName;const fr=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});fr.displayName="DialogHeader";const Ra=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});Ra.displayName="DialogFooter";const Da=v.forwardRef(({className:a,...e},r)=>t.jsx(FC,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));Da.displayName=FC.displayName;const z9=v.forwardRef(({className:a,...e},r)=>t.jsx(EC,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));z9.displayName=EC.displayName;var Yz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Kz=Yz.reduce((a,e)=>{const r=Jj(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Qz="Label",lA=v.forwardRef((a,e)=>t.jsx(Kz.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())}}));lA.displayName=Qz;var dA=lA;const eF=b9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),le=v.forwardRef(({className:a,...e},r)=>t.jsx(dA,{ref:r,className:ce(eF(),a),...e}));le.displayName=dA.displayName;const tF=1,aF=1e6;let pj=0;function rF(){return pj=(pj+1)%Number.MAX_SAFE_INTEGER,pj.toString()}const yj=new Map,$L=a=>{if(yj.has(a))return;const e=setTimeout(()=>{yj.delete(a),i9({type:"REMOVE_TOAST",toastId:a})},aF);yj.set(a,e)},nF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,tF)};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?$L(r):a.toasts.forEach(n=>{$L(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)}}},iF=[];let mj={toasts:[]};function i9(a){mj=nF(mj,a),iF.forEach(e=>{e(mj)})}function GL({...a}){const e=rF(),r=i=>i9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>i9({type:"DISMISS_TOAST",toastId:e});return i9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const sF=new Set([200,201,202,204]);function oF(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 cF(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 lF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,o=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(sF.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:oF(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(o)}}function dF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:o="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),f=async m=>{if(m.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const g=await lF(`${o}/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(!g.ok){p(cF(g.error)),GL({title:"Subscription failed",description:g.error.message});return}localStorage.setItem("leadId",g.data.id),localStorage.setItem("email",c),GL({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(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{className:"sm:max-w-md",children:[t.jsxs(fr,{children:[t.jsxs(Da,{className:"flex items-center gap-2",children:[t.jsx(vo,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(z9,{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(le,{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(Te,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:m=>l(m.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(Ra,{className:"gap-2 sm:gap-0",children:[t.jsx(U,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx(U,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function hA(){const a="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const o=localStorage.getItem(a);o&&r(JSON.parse(o))}catch(o){console.error("Failed to load saved jobs:",o)}},[]),{savedJobs:e,toggleJob:o=>{r(c=>{const d=c.includes(o)?c.filter(h=>h!==o):[...c,o];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:o=>o?e.includes(o):!1}}const hF=({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:"▼"})]})]}),uF=6,fj={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},pF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:o,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:f,onPopularTagClick:m,onPopularTagRemove:g,allowPopularTagRemoval:y=!1})=>{var X;const[x,k]=j.useState([]),[w,M]=j.useState([]),[L,b]=j.useState([]),[I,S]=j.useState(1),[C,N]=j.useState({}),[q,R]=j.useState([]),[D,_]=j.useState({}),[T,z]=j.useState(""),[V,G]=j.useState([]),[E,re]=j.useState(!1),[ne,oe]=j.useState(e),[ae,se]=j.useState("grid"),[ee,de]=j.useState(!1),[ve,W]=j.useState([]),[Q,pe]=j.useState(!0),[he,me]=j.useState(null),[ie,Pe]=j.useState("all"),[qe,Qe]=j.useState(!1),[st,yt]=j.useState(!1),[xt,ot]=j.useState({...fj}),[Ge,gt]=j.useState({open:!1,type:"info",message:""}),[rt,Fa]=j.useState("date_desc"),{savedJobs:Lt,toggleJob:kt}=hA(),xa=N9(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:{...C},advancedFilters:xt,dateFilter:ie}),[C,ie,xt]),He=j.useCallback(()=>({page:I,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[I,w.length,ne,ee,ae]),et=j.useRef(!1),Oe=(P,H)=>{gt({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){me("❌ Missing API URL for Listing component!"),pe(!1);return}pe(!0),me(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((ge,Fe)=>({...ge,sponsored:Fe%7===0,topTag:SC(ge.title||"")})),te=Array.from(new Set(Y.map(ge=>ge.topTag).filter(ge=>typeof ge=="string"))).slice(0,10);b(te);const Le=c1(Y,rt,q,c);k(Y),M(Le);const Me=Hc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),me(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=yD(20),Y=c1(Z,rt,q,c);k(Z),M(Y);const te=Hc(Z,r);_(te)}finally{pe(!1)}})()},[a,c,q,rt]),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&&z(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),N(Y)},[]),j.useEffect(()=>{if(ee){const P=x.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=c1(P,rt,q,c);M(H),S(1)}else Ot()},[]),j.useEffect(()=>{et.current||Q||!w.length&&!x.length||(J("jobs_listing_viewed",{...we(),...He()}),et.current=!0)},[x.length,J,w.length,we,He,Q]);const Ht=j.useCallback(P=>{const H=Hc(P,r);_(H)},[r]),Ot=j.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??x,Z=(P==null?void 0:P.filters)??C,Y=(P==null?void 0:P.search)??q,te=(P==null?void 0:P.dateFilter)??ie,Le=(P==null?void 0:P.advanced)??xt;let Me=Us(H,Z,Y,te,c);Me=jD(Me,Le);const ge=c1(Me,rt,Y,c);return M(ge),((P==null?void 0:P.resetPage)??!0)&&S(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Ht(ge),ge},[ie,C,xt,x,c,q,rt,Ht]);j.useEffect(()=>{Ot({resetPage:!1,refreshFiltersData:!1})},[rt,Ot]);const vr=(P,H)=>{const Z={...C};H?Z[P]=H:delete Z[P],ee&&de(!1),N(Z),Ot({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},rc=()=>{yt(!0),Se().then(()=>Qe(!1))},ga=j.useRef(null),wr=P=>{S(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ga.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Vt=P=>{ee&&de(!1),Pe(P),Ot({dateFilter:P}),IN(P),J("jobs_date_filter_changed",{dateFilter:P})},Ea=P=>{if(z(P),P){const H=x.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);G(H)}else G([])},ka=P=>{if(!P.trim())return;ee&&de(!1);const H=[...q,P.trim()];R(H),Ot({search:H}),z(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},ho=P=>{const H=q.filter(Z=>Z!==P);R(H),Ot({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},$=()=>{N({}),R([]),de(!1),Pe("all"),ot({...fj}),Ot({filters:{},search:[],dateFilter:"all",advanced:fj}),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:q,query:T.trim()||void 0,...we()}),!st)Qe(!0),J("jobs_subscription_modal_opened",{});else{const P=localStorage.getItem("email"),H=localStorage.getItem("leadId");if(!P||!H){Oe("info","Please subscribe first to create alerts.");return}const Z="keyword",Y=(Ye,nt)=>nt&&nt.trim()?{key:Ye.toLowerCase(),value:nt.trim()}:null,te=Object.entries(C).map(([Ye,nt])=>Y(Ye,nt)).filter(Ye=>Ye!==null),Le=q.map(Ye=>Y(Z,Ye)).filter(Ye=>Ye!==null),Me=Y(Z,T),ge=Me?[Me]:[],Fe=K([...te,...Le,...ge]);if(Fe.length===0){Oe("info","No filters/keywords to save.");return}try{const Ye=xe(h??"http://localhost:5147"),nt=await fetch(`${Ye}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Fe)});if(!nt.ok){let tt="";try{tt=await nt.text()}catch{}throw new Error(`${nt.status} ${nt.statusText} ${tt}`.trim())}Oe("success","Alert saved. We’ll notify you about new matching jobs."),z(""),J("jobs_alert_created",{preferences:Fe.filter(tt=>tt!==null)})}catch(Ye){console.error("Create alert failed:",Ye),Oe("error","Failed to save alert.")}}},We=()=>{re(!E)},Ha=w.length===0?0:(I-1)*ne+1,ct=Math.min(I*ne,w.length),dt=P=>{oe(P),S(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Oa=()=>{se(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Xe=(P,H,Z="same_tab",Y="listing")=>{const te=P.id||P.slug||P.link;te&&(W(Le=>{const Me=Le.filter(Fe=>(Fe.id||Fe.slug||Fe.link)!==te),ge=[P,...Me].slice(0,uF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ge))}catch(Fe){console.error("Error saving to localStorage:",Fe)}return ge}),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);kt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},nc=(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})},i1=()=>{de(!ee)},A=Math.ceil(w.length/ne),O=w.slice((I-1)*ne,I*ne);return he&&!x.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:he}),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(LC,{onSearchChange:Ea,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:L,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:m,onTagRemove:g,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(CC,{data:x.map(P=>P.title).filter(Boolean),onSelect:P=>{ka(P)},onTyping:P=>{z(P),Ea(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:We,children:t.jsx(tr,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(IC,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Vt("all")}]:[],...q.map(P=>({key:"search",label:"",value:P,onRemove:()=>ho(P)})),...Object.entries(C).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>vr(P,"")}))],onClearAll:$,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:We,"aria-expanded":E,children:[t.jsx(tr,{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(NN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Vt,filterKeys:r,searchableFilters:d,filtersData:D,activeFilters:C,handleFilterChange:vr,toggleSavedJobsFilter:i1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(jC,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(NC,{viewMode:ae,onToggleViewMode:Oa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:Ha,endIndex:ct,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(hF,{value:rt,options:B,onChange:Fa})]})}),t.jsx(wD,{items:O,cardType:o,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Xe,onApplyJob:nc,firstItemRef:ga,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(AC,{currentPage:I,totalPages:A,onPageChange:wr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(MD,{jobs:ve,onViewJob:Xe})})]}),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(Zc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(MC,{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(SN,{activeDateFilter:ie,handleDateFilterChange:Vt,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:C,handleFilterChange:vr,toggleSavedJobsFilter:i1,filtersData:D,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:We}),t.jsx(CN,{savedJobsCount:Lt.length}),t.jsx(bN,{open:Ge.open,type:Ge.type,message:Ge.message,onClose:()=>gt(P=>({...P,open:!1}))}),t.jsx(dF,{open:qe,onOpenChange:Qe,onSubscriptionSuccess:rc,apiUrl:h})]})};function WL(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 yF(){const[a,e]=j.useState(()=>WL());return j.useEffect(()=>{const r=()=>e(WL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function ZL(a){window.location.assign(a)}function XL(a){window.history.length>1?window.history.back():window.location.assign(a)}function mF(a){const e=uA,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 fF(a){return!Array.isArray(a)||a.length===0?pA: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 uA={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},pA=[{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"}],xF=({job:a=uA,similarJobs:e=pA,onSkillClick:r})=>{var I;const n=yF(),[i,o]=j.useState(()=>fF(e)),[c,l]=j.useState(!1),[d,h]=j.useState(null),[u,p]=j.useState(!1),[f,m]=j.useState(!1),{toggleJob:g,isSaved:y}=hA(),x=mF(a);j.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(N=>setTimeout(N,300)),!n)throw new Error("Missing slug in URL.");o(i);const C=JSON.parse(localStorage.getItem("appliedJobs")||"[]");m(C.includes(n))}catch(C){h((C==null?void 0:C.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const k=()=>{n&&g(n)},w=()=>{if(!n)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(n)||(S.push(n),localStorage.setItem("appliedJobs",JSON.stringify(S)),m(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},L=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=S=>{const C=new Date(S),q=Math.abs(new Date().getTime()-C.getTime());return Math.ceil(q/(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||!x?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(Nt,{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:()=>XL("/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:()=>XL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx(Gs,{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:[x.companyLogo&&t.jsx("img",{src:x.companyLogo,alt:`${x.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:[x.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.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:x.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(mc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:x.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.location}),x.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:k,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(x.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(So,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.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(qo,{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(At,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{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:x.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Lo,{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:x.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:x.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(fc,{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:x.applicationDeadline?L(x.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:[x.viewCount," views"]}),t.jsxs("span",{children:[x.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:x.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:(I=x.responsibilities)==null?void 0:I.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))})]}),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(x.requirements)?t.jsx("ul",{className:"space-y-3",children:x.requirements.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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(x.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((S,C)=>t.jsx(Qj,{name:S,color:"#2563EB",size:"sm",onClick:r?()=>r(S):void 0},`${S}-${C}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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(x.benefits)?t.jsx("ul",{className:"space-y-3",children:x.benefits.map((S,C)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(At,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},C))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.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 ",x.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.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:x.companySize})]}),x.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Co,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:x.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:[x.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:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Js,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.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 ",x.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(At,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{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:k,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(x.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(Qa,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.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(Mc,{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(S=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>ZL(`/jobs/${S.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.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:S.location})]}),t.jsxs("span",{children:[b(S.postedDate),"d ago"]})]}),S.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),t.jsx("button",{onClick:()=>ZL("/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:x.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:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.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"})]})]})})]})},gF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),kF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:o="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=y=>{const x=new Date(y),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.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],m=(y,x)=>y.length<=x?y:y.substring(0,x).trim()+"...",g=o==="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 ${g}
7801
- `,children:[t.jsxs("div",{className:`relative ${o==="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"} ${o==="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(Ys,{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(Qa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${o==="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,x)=>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},x)}))}),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:m(a.content,o==="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(bo,{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,x)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},x))}),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:bC[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(qo,{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(Xs,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},vF=({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:o="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,f]=j.useState([]),[m,g]=j.useState([]),[y,x]=j.useState([]),[k,w]=j.useState({}),[M,L]=j.useState(""),[b,I]=j.useState({}),[S,C]=j.useState(!1),[N,T]=j.useState(c),[R,D]=j.useState(new Set),[_,q]=j.useState(i),[z,V]=j.useState("grid"),[G,E]=j.useState(1),[re,ne]=j.useState([]),[oe,ae]=j.useState(!1),[se,ee]=j.useState([]),[le,ve]=j.useState([]),[W,Q]=j.useState(!0),[ue,de]=j.useState("all"),[me,ie]=j.useState(""),Pe=$=>$.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Qe]=j.useState(n),[st,yt]=j.useState(null),xt=N9(d),ot=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),$e=j.useCallback(($,K)=>{h&&h({domain:"news",name:$,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),gt=j.useCallback(()=>({filters:{...b},categories:qe.categories.length?qe.categories:b.categories?[b.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:b.author?[b.author]:[],companies:qe.companies.length?qe.companies:b.company?[b.company]:[],dateFilter:ue,readTimeRange:qe.readTime}),[ue,b,qe]),rt=j.useCallback(()=>({page:G,pageSize:N,totalResults:m.length,sortBy:_,viewMode:z}),[G,m.length,N,_,z]),Fa=j.useRef(!1);j.useEffect(()=>{const $=localStorage.getItem(o);$&&D(new Set(JSON.parse($)))},[o]),j.useEffect(()=>{const $=new URLSearchParams(window.location.search),K={};e.forEach(ct=>{const dt=$.get(ct);dt&&(K[ct]=dt)}),I(K);const xe=$.get("q"),Se=$.get("categories");let Ge=[...p];if(xe&&(Ge=Ge.filter(ct=>ct.title.toLowerCase().includes(xe.toLowerCase())),L(xe),Lt(xe)),Se){const ct=Se.trim().toLowerCase().replace(/\s+/g,"-");Qe(dt=>({...dt,categories:[ct]})),Ge=Ge.filter(dt=>dt.categories.some(Oa=>Pe(Oa)===ct))}x(Ge);const Ha={};e.forEach(ct=>{const dt=$.get(ct);dt&&(Ha[ct]=dt)}),I(Ha)},[p]),j.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){de(K);const xe=Us(p,b,se,K);g(xe),E(1),kt(xe)}},[p]);const Lt=$=>{if(!$.trim())return;const K=[...se,$.trim()];ee(K);const xe=Us(p,b,K,ue);g(xe),E(1),kt(xe),L(""),$e("news_search_submitted",{query:$,searchFilters:K,...gt()})},kt=$=>{const K=Hc($,e);w(K)},xa=$=>{de($),F($),IN($)},F=$=>{const K=Us(p,b,se,$);g(K),E(1),kt(K)};j.useEffect(()=>{localStorage.setItem(o,JSON.stringify(Array.from(R)))},[R,o]),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(Xe=>({...Xe,categories:Array.isArray(Xe.categories)?Xe.categories:[],topTag:fD(Xe.title||"")})),Ge={};for(const Xe of Se){const mt=Xe.topTag;mt&&(Ge[mt]=(Ge[mt]||0)+1)}const Ha=Object.entries(Ge).sort((Xe,mt)=>mt[1]-Xe[1]).slice(0,10).map(([Xe])=>Xe);ve(Ha);const ct=new Set;Se.forEach(Xe=>{Xe.categories.forEach(mt=>{ct.add(Pe(mt))})});const dt=Array.from(ct).map(Xe=>({id:Xe,name:Xe.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(nc=>Pe(nc)===Xe)).length,color:"bg-gray-100 text-gray-800"}));f(Se),g(Se),x(Se),ne(dt);const Oa=Hc(Se,e);w(Oa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V($=>{const K=$==="grid"?"list":"grid";return $e("news_listing_viewmode_changed",{viewMode:K}),K})};j.useMemo(()=>p.filter($=>$.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter($=>$.isBreaking),[p]);const J=Math.ceil(m.length/N),we=m.slice((G-1)*N,G*N),Ee=($,K)=>{xt.allowSaving&&D(xe=>{const Se=new Set(xe),Ge=Se.has($);return Ge?Se.delete($):Se.add($),$e(Ge?"news_article_unbookmarked":"news_article_bookmarked",{articleId:$,positionInList:K}),Se})},et=($,K)=>{navigator.share?navigator.share({title:$.title,text:$.title,url:$.link}):(navigator.clipboard.writeText($.link),alert("Article link copied to clipboard!")),$e("news_article_shared",{articleId:$._id,channel:"copy_link"})},He=($,K,xe="new_tab",Se="listing")=>{$e("news_article_opened",{articleId:$._id,slug:$.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Ht=()=>{ae(!oe)},Ot=m.length===0?0:(G-1)*N+1,vr=Math.min(G*N,m.length),rc=()=>{Qe({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const $=Us(p,b,se,ue);g($),E(1),kt($)},ga=()=>{I({}),ee([]),de("all"),rc(),g(p),E(1),kt(p),$e("news_filters_cleared_all",{})},wr=j.useRef(null),Vt=$=>{E($),$e("news_listing_page_changed",{page:$,pageSize:N,totalResults:m.length}),setTimeout(()=>{var K;(K=wr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ea=$=>{T($),E(1),$e("news_listing_items_per_page_changed",{pageSize:$})},ka=($,K)=>{const xe={...b};K?xe[$]=K:delete xe[$];const Se=Us(p,xe,se,ue);I(xe),g(Se),E(1),kt(Se);const Ge=gt();K?$e("news_filter_selected",{key:$,value:K,...Ge}):$e("news_filter_cleared",{key:$,...Ge})},ho=$=>{const K=se.filter(Se=>Se!==$);ee(K);const xe=Us(p,b,K,ue);g(xe),E(1),kt(xe),$e("news_search_filter_removed",{removedKeyword:$,remainingKeywords:K})};return j.useEffect(()=>{Fa.current||W||!m.length&&!p.length||($e("news_listing_viewed",{...gt(),...rt()}),Fa.current=!0)},[p.length,$e,m.length,gt,rt,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(LC,{onSearchChange:$=>{const K=p.filter(xe=>xe.title.toLowerCase().includes($.toLowerCase()));x(K),L($)},title:"Latest News",popularTags:le,generateHref:$=>`/news?q=${$.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(CC,{data:p.map($=>$.title),onSelect:$=>{Lt($)},onTyping:$=>{C(!!$),$||(x(p),L(""))},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:Ht,children:t.jsx(tr,{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:()=>{x(p),L("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),L("")},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(IC,{filters:[...me?[{key:"categories",label:"Categories",value:me.replace(/-/g," "),onRemove:()=>ie("")}]:[],...se.map($=>({key:"search",label:"",value:$,onRemove:()=>ho($)})),...Object.entries(b).map(([$,K])=>({key:$,label:$.replace(/_/g," "),value:K,onRemove:()=>ka($,"")}))],onClearAll:ga})})})})]}),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(NN,{dateFieldLabel:"Date",activeDateFilter:ue,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:k,activeFilters:b,handleFilterChange:ka,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(jC,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(NC,{viewMode:z,onToggleViewMode:B,selectedItemsPerPage:N,onItemsPerPageChange:Ea,totalCount:m.length,startIndex:Ot,endIndex:vr,title:"Latest News"}),m.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(($,K)=>t.jsx("div",{ref:K===0?wr:null,children:t.jsx(kF,{article:$,isBookmarked:R.has($._id),positionInList:K,onToggleBookmark:xe=>Ee(xe,K),onShare:xe=>et(xe),onOpenArticle:He,layout:z,userAccess:xt})},$._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(AC,{currentPage:G,totalPages:J,onPageChange:Vt})})]}):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:ga,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(Zc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(MC,{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(($,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(SN,{activeDateFilter:ue,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:ka,filtersData:k,isMobileFilterOpen:oe,toggleMobileFilter:Ht})]})},p1=[{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}],wF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,o]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(i.length>0){const m=a.filter(k=>{var M,L,b,I,S;const w=i.toLowerCase();return k.title.toLowerCase().includes(w)||((M=k.description)==null?void 0:M.toLowerCase().includes(w))||((L=k.instructor)==null?void 0:L.toLowerCase().includes(w))||((b=k.tags)==null?void 0:b.some(C=>C.toLowerCase().includes(w)))||((I=k.category)==null?void 0:I.toLowerCase().includes(w))||((S=k.subcategory)==null?void 0:S.toLowerCase().includes(w))});e(m);const g=a.filter(k=>k.title.toLowerCase().includes(i.toLowerCase())).map(k=>k.title).slice(0,3),y=a.flatMap(k=>k.tags??[]).filter(k=>k.toLowerCase().includes(i.toLowerCase())).filter((k,w,M)=>M.indexOf(k)===w).slice(0,3),x=a.filter(k=>k.instructor?k.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(k=>k.instructor).filter((k,w,M)=>M.indexOf(k)===w).slice(0,2);l([...g,...y,...x]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=m=>{o(m),r==null||r(m.length>0,m)},p=m=>{o(m),h(!1)},f=()=>{o(""),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:m=>u(m.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(Rt,{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((m,g)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(m),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"}),m]})})},g))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},MF=({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(wF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),bF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[o,c]=j.useState(new Set),l=h=>{const u=new Set(o);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=o.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 ${o==="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"} ${o==="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(Ys,{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(Qa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${o==="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,x)=>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},x)}))}),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:m(a.content,o==="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(bo,{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,x)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},x))}),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:bC[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(qo,{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(Xs,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},vF=({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:o="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,f]=j.useState([]),[m,g]=j.useState([]),[y,x]=j.useState([]),[k,w]=j.useState({}),[M,L]=j.useState(""),[b,I]=j.useState({}),[S,C]=j.useState(!1),[N,q]=j.useState(c),[R,D]=j.useState(new Set),[_,T]=j.useState(i),[z,V]=j.useState("grid"),[G,E]=j.useState(1),[re,ne]=j.useState([]),[oe,ae]=j.useState(!1),[se,ee]=j.useState([]),[de,ve]=j.useState([]),[W,Q]=j.useState(!0),[pe,he]=j.useState("all"),[me,ie]=j.useState(""),Pe=$=>$.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Qe]=j.useState(n),[st,yt]=j.useState(null),xt=N9(d),ot=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ge=j.useCallback(($,K)=>{h&&h({domain:"news",name:$,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),gt=j.useCallback(()=>({filters:{...b},categories:qe.categories.length?qe.categories:b.categories?[b.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:b.author?[b.author]:[],companies:qe.companies.length?qe.companies:b.company?[b.company]:[],dateFilter:pe,readTimeRange:qe.readTime}),[pe,b,qe]),rt=j.useCallback(()=>({page:G,pageSize:N,totalResults:m.length,sortBy:_,viewMode:z}),[G,m.length,N,_,z]),Fa=j.useRef(!1);j.useEffect(()=>{const $=localStorage.getItem(o);$&&D(new Set(JSON.parse($)))},[o]),j.useEffect(()=>{const $=new URLSearchParams(window.location.search),K={};e.forEach(ct=>{const dt=$.get(ct);dt&&(K[ct]=dt)}),I(K);const xe=$.get("q"),Se=$.get("categories");let We=[...p];if(xe&&(We=We.filter(ct=>ct.title.toLowerCase().includes(xe.toLowerCase())),L(xe),Lt(xe)),Se){const ct=Se.trim().toLowerCase().replace(/\s+/g,"-");Qe(dt=>({...dt,categories:[ct]})),We=We.filter(dt=>dt.categories.some(Oa=>Pe(Oa)===ct))}x(We);const Ha={};e.forEach(ct=>{const dt=$.get(ct);dt&&(Ha[ct]=dt)}),I(Ha)},[p]),j.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){he(K);const xe=Us(p,b,se,K);g(xe),E(1),kt(xe)}},[p]);const Lt=$=>{if(!$.trim())return;const K=[...se,$.trim()];ee(K);const xe=Us(p,b,K,pe);g(xe),E(1),kt(xe),L(""),Ge("news_search_submitted",{query:$,searchFilters:K,...gt()})},kt=$=>{const K=Hc($,e);w(K)},xa=$=>{he($),F($),IN($)},F=$=>{const K=Us(p,b,se,$);g(K),E(1),kt(K)};j.useEffect(()=>{localStorage.setItem(o,JSON.stringify(Array.from(R)))},[R,o]),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(Xe=>({...Xe,categories:Array.isArray(Xe.categories)?Xe.categories:[],topTag:fD(Xe.title||"")})),We={};for(const Xe of Se){const mt=Xe.topTag;mt&&(We[mt]=(We[mt]||0)+1)}const Ha=Object.entries(We).sort((Xe,mt)=>mt[1]-Xe[1]).slice(0,10).map(([Xe])=>Xe);ve(Ha);const ct=new Set;Se.forEach(Xe=>{Xe.categories.forEach(mt=>{ct.add(Pe(mt))})});const dt=Array.from(ct).map(Xe=>({id:Xe,name:Xe.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(nc=>Pe(nc)===Xe)).length,color:"bg-gray-100 text-gray-800"}));f(Se),g(Se),x(Se),ne(dt);const Oa=Hc(Se,e);w(Oa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V($=>{const K=$==="grid"?"list":"grid";return Ge("news_listing_viewmode_changed",{viewMode:K}),K})};j.useMemo(()=>p.filter($=>$.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter($=>$.isBreaking),[p]);const J=Math.ceil(m.length/N),we=m.slice((G-1)*N,G*N),He=($,K)=>{xt.allowSaving&&D(xe=>{const Se=new Set(xe),We=Se.has($);return We?Se.delete($):Se.add($),Ge(We?"news_article_unbookmarked":"news_article_bookmarked",{articleId:$,positionInList:K}),Se})},et=($,K)=>{navigator.share?navigator.share({title:$.title,text:$.title,url:$.link}):(navigator.clipboard.writeText($.link),alert("Article link copied to clipboard!")),Ge("news_article_shared",{articleId:$._id,channel:"copy_link"})},Oe=($,K,xe="new_tab",Se="listing")=>{Ge("news_article_opened",{articleId:$._id,slug:$.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Ht=()=>{ae(!oe)},Ot=m.length===0?0:(G-1)*N+1,vr=Math.min(G*N,m.length),rc=()=>{Qe({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const $=Us(p,b,se,pe);g($),E(1),kt($)},ga=()=>{I({}),ee([]),he("all"),rc(),g(p),E(1),kt(p),Ge("news_filters_cleared_all",{})},wr=j.useRef(null),Vt=$=>{E($),Ge("news_listing_page_changed",{page:$,pageSize:N,totalResults:m.length}),setTimeout(()=>{var K;(K=wr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ea=$=>{q($),E(1),Ge("news_listing_items_per_page_changed",{pageSize:$})},ka=($,K)=>{const xe={...b};K?xe[$]=K:delete xe[$];const Se=Us(p,xe,se,pe);I(xe),g(Se),E(1),kt(Se);const We=gt();K?Ge("news_filter_selected",{key:$,value:K,...We}):Ge("news_filter_cleared",{key:$,...We})},ho=$=>{const K=se.filter(Se=>Se!==$);ee(K);const xe=Us(p,b,K,pe);g(xe),E(1),kt(xe),Ge("news_search_filter_removed",{removedKeyword:$,remainingKeywords:K})};return j.useEffect(()=>{Fa.current||W||!m.length&&!p.length||(Ge("news_listing_viewed",{...gt(),...rt()}),Fa.current=!0)},[p.length,Ge,m.length,gt,rt,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(LC,{onSearchChange:$=>{const K=p.filter(xe=>xe.title.toLowerCase().includes($.toLowerCase()));x(K),L($)},title:"Latest News",popularTags:de,generateHref:$=>`/news?q=${$.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(CC,{data:p.map($=>$.title),onSelect:$=>{Lt($)},onTyping:$=>{C(!!$),$||(x(p),L(""))},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:Ht,children:t.jsx(tr,{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:()=>{x(p),L("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),L("")},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(IC,{filters:[...me?[{key:"categories",label:"Categories",value:me.replace(/-/g," "),onRemove:()=>ie("")}]:[],...se.map($=>({key:"search",label:"",value:$,onRemove:()=>ho($)})),...Object.entries(b).map(([$,K])=>({key:$,label:$.replace(/_/g," "),value:K,onRemove:()=>ka($,"")}))],onClearAll:ga})})})})]}),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(NN,{dateFieldLabel:"Date",activeDateFilter:pe,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:k,activeFilters:b,handleFilterChange:ka,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(jC,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(NC,{viewMode:z,onToggleViewMode:B,selectedItemsPerPage:N,onItemsPerPageChange:Ea,totalCount:m.length,startIndex:Ot,endIndex:vr,title:"Latest News"}),m.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(($,K)=>t.jsx("div",{ref:K===0?wr:null,children:t.jsx(kF,{article:$,isBookmarked:R.has($._id),positionInList:K,onToggleBookmark:xe=>He(xe,K),onShare:xe=>et(xe),onOpenArticle:Oe,layout:z,userAccess:xt})},$._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(AC,{currentPage:G,totalPages:J,onPageChange:Vt})})]}):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:ga,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(Zc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(MC,{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(($,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(SN,{activeDateFilter:pe,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:ka,filtersData:k,isMobileFilterOpen:oe,toggleMobileFilter:Ht})]})},p1=[{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}],wF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,o]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(i.length>0){const m=a.filter(k=>{var M,L,b,I,S;const w=i.toLowerCase();return k.title.toLowerCase().includes(w)||((M=k.description)==null?void 0:M.toLowerCase().includes(w))||((L=k.instructor)==null?void 0:L.toLowerCase().includes(w))||((b=k.tags)==null?void 0:b.some(C=>C.toLowerCase().includes(w)))||((I=k.category)==null?void 0:I.toLowerCase().includes(w))||((S=k.subcategory)==null?void 0:S.toLowerCase().includes(w))});e(m);const g=a.filter(k=>k.title.toLowerCase().includes(i.toLowerCase())).map(k=>k.title).slice(0,3),y=a.flatMap(k=>k.tags??[]).filter(k=>k.toLowerCase().includes(i.toLowerCase())).filter((k,w,M)=>M.indexOf(k)===w).slice(0,3),x=a.filter(k=>k.instructor?k.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(k=>k.instructor).filter((k,w,M)=>M.indexOf(k)===w).slice(0,2);l([...g,...y,...x]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=m=>{o(m),r==null||r(m.length>0,m)},p=m=>{o(m),h(!1)},f=()=>{o(""),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:m=>u(m.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(Rt,{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((m,g)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(m),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"}),m]})})},g))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},MF=({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(wF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),bF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[o,c]=j.useState(new Set),l=h=>{const u=new Set(o);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=o.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(Ws,{className:"w-4 h-4"}):t.jsx(er,{className:"w-4 h-4"})]}),u&&t.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(f=>{const m=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
  ${m?"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)})})]})},JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f})=>{const[m,g]=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"}],x=["English","Spanish","French","German","Multiple"],k=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const I=a.languages.includes(b)?a.languages.filter(S=>S!==b):[...a.languages,b];r({...a,languages:I})},M=b=>{const I=a.features.includes(b)?a.features.filter(S=>S!==b):[...a.features,b];r({...a,features:I})},L=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(jo,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),L&&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:[L&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>g(!m),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Ws,{className:`w-4 h-4 transition-transform ${m?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",o," 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:b=>n(b.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(b=>t.jsx("option",{value:b.value,children:b.label},b.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(bF,{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:x.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),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:k.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(b),onChange:()=>M(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},jF=({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,YL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:f,toggleMobileFilter:m,enableMobileFilter:g,showFilterName:y=!0,isMobile:x=!1})=>t.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[g&&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:m,"aria-expanded":f,children:t.jsx(tr,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(JL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(jF,{isOpen:f,onClose:m,title:"Filters",children:t.jsx(JL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),CF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[o,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 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!o&&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(So,{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:bC[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"})]})]})]})},LF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:o,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),m=g=>{l(g),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((g,y)=>t.jsx("div",{ref:y===0?f:null,children:t.jsx(CF,{course:g,isFavorite:e.has(g.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${g.id}-${g.title}`)},g.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(AC,{currentPage:c,totalPages:u,onPageChange:m})})]}):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:o,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},SF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:o})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[f,m]=j.useState(""),[g,y]=j.useState(""),[x,k]=j.useState("relevance"),[w,M]=j.useState(!1),[L,b]=j.useState(1),[I,S]=j.useState(!1),[C,N]=j.useState(!1),[T,R]=j.useState(!0),[D,_]=j.useState(""),[q,z]=j.useState([]),[V,G]=j.useState([]),[E,re]=j.useState("grid"),[ne,oe]=j.useState(r),[ae,se]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=N9(n),le=j.useMemo(()=>({component:"IGamingCoursePage",...o??{}}),[o]),ve=j.useRef(!1),W=j.useMemo(()=>{let F=[...d];switch(f&&(F=F.filter(B=>ie(B.category)===f)),g&&(F=F.filter(B=>ie(B.subcategory)===g)),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))),x){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,g,ae,u,w,x]),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:g||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,g,w]),de=j.useCallback(()=>({page:L,pageSize:ne,totalResults:W.length,sortBy:x,viewMode:E}),[L,W.length,ne,x,E]),me=()=>{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),et=ie(we);if(!Ee)return;F.has(Ee)||F.set(Ee,new Map);const He=F.get(Ee);et&&He.set(et,(He.get(et)??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,et=>et.toUpperCase()),courseCount:Ee}))}))},[c]),qe=F=>{oe(F),b(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Qe=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"},st=F=>{se(F);const B={category:f||void 0,subcategory:g||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Qe(F),...B})};j.useEffect(()=>{(async()=>{try{if(!a){l(p1),h(p1),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=>SC(He.title||"")).filter(He=>!!He).reduce((He,Ht)=>(He[Ht]=(He[Ht]||0)+1,He),{}),et=Object.entries(Ee).sort((He,Ht)=>Ht[1]-He[1]).slice(0,10).map(([He])=>He);z(et)}catch(B){console.error("[Courses] Error loading data:",B),l(p1),h(p1)}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 et;return Ee.title.toLowerCase().includes(B.toLowerCase())||((et=Ee.description)==null?void 0:et.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);m(B===f?"":B),y(""),Q("courses_category_selected",{category:B===f?null:B}),Q("courses_filter_changed",{changedKey:"category",...ue()})},$e=F=>{const B=ie(F);y(B===g?"":B),Q("courses_subcategory_selected",{subcategory:B===g?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...ue()})},gt=()=>{se({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),m(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},rt=()=>{S(!I)},Fa=F=>{b(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(L-1)*ne+1,kt=Math.min(L*ne,W.length),xa=F=>{if(_(F),!F){h(c),G([]);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,et)=>we&&we.toLowerCase().includes(F.toLowerCase())&&et.indexOf(we)===Ee).slice(0,5);G(J),F.trim()&&Q("courses_search_submitted",{query:F,...ue()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(LC,{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(MF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(IC,{filters:[...f?[{key:"category",label:"Category",value:f.replace(/-/g," "),onRemove:()=>m("")}]:[],...g?[{key:"subcategory",label:"Subcategory",value:g.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>se(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...D?[{key:"search",label:"Search",value:D,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:gt}),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(CC,{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(YL,{sortBy:x,onFiltersChange:st,onSortChange:k,onClearFilters:gt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:g,filters:ae,onCategorySelect:ot,onSubcategorySelect:$e,isMobileFilterOpen:I,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!C,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(YL,{filters:ae,sortBy:x,onFiltersChange:st,onSortChange:k,onClearFilters:gt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:g,onCategorySelect:ot,onSubcategorySelect:$e,isMobileFilterOpen:I,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(NC,{viewMode:E,onToggleViewMode:me,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:kt,title:"All Courses"}),T?t.jsx(jC,{totalColumns:3}):t.jsx(LF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:gt,itemsPerPage:ne,handleEnroll:xt,currentPage:L,setCurrentPage:Fa,viewMode:E,userAccess:ee})]})]})]})]})};var Ej={exports:{}},OC={};function IF(a){return a&&a.__esModule?a:{default:a}}OC._=IF;var yA={};function mA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(mA=function(n){return n?r:e})(a)}function NF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=mA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in a)if(o!=="default"&&Object.prototype.hasOwnProperty.call(a,o)){var c=i?Object.getOwnPropertyDescriptor(a,o):null;c&&(c.get||c.set)?Object.defineProperty(n,o,c):n[o]=a[o]}return n.default=a,r&&r.set(a,n),n}yA._=NF;var xj={},KL;function AF(){return KL||(KL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=OC._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(xj)),xj}var y1={exports:{}},QL;function _F(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});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 o(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)}(y1,y1.exports)),y1.exports}var m1={exports:{}},eS;function PF(){return eS||(eS=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(o,c){for(var l in c)Object.defineProperty(o,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(o){let c=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(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)}(m1,m1.exports)),m1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,I){for(var S in I)Object.defineProperty(b,S,{enumerable:!0,get:I[S]})}r(e,{default:function(){return L},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=OC,i=yA,o=t,c=n._(Xj),l=i._(j),d=AF(),h=_F(),u=PF(),p=new Map,f=new Set,m=b=>{if(c.default.preinit){b.forEach(I=>{c.default.preinit(I,{as:"style"})});return}if(typeof window<"u"){let I=document.head;b.forEach(S=>{let C=document.createElement("link");C.type="text/css",C.rel="stylesheet",C.href=S,I.appendChild(C)})}},g=b=>{const{src:I,id:S,onLoad:C=()=>{},onReady:N=null,dangerouslySetInnerHTML:T,children:R="",strategy:D="afterInteractive",onError:_,stylesheets:q}=b,z=S||I;if(z&&f.has(z))return;if(p.has(I)){f.add(z),p.get(I).then(C,_);return}const V=()=>{N&&N(),f.add(z)},G=document.createElement("script"),E=new Promise((re,ne)=>{G.addEventListener("load",function(oe){re(),C&&C.call(this,oe),V()}),G.addEventListener("error",function(oe){ne(oe)})}).catch(function(re){_&&_(re)});T?(G.innerHTML=T.__html||"",V()):R?(G.textContent=typeof R=="string"?R:Array.isArray(R)?R.join(""):"",V()):I&&(G.src=I,p.set(I,E)),(0,h.setAttributesFromProps)(G,b),D==="worker"&&G.setAttribute("type","text/partytown"),G.setAttribute("data-nscript",D),q&&m(q),document.body.appendChild(G)};function y(b){const{strategy:I="afterInteractive"}=b;I==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(b))}):g(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>g(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(b))})}function k(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(I=>{const S=I.id||I.getAttribute("src");f.add(S)})}function w(b){b.forEach(y),k()}function M(b){const{id:I,src:S="",onLoad:C=()=>{},onReady:N=null,strategy:T="afterInteractive",onError:R,stylesheets:D,..._}=b;let{updateScripts:q,scripts:z,getIsSsr:V,appDir:G,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const oe=I||S;re.current||(N&&oe&&f.has(oe)&&N(),re.current=!0)},[N,I,S]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(T==="afterInteractive"?g(b):T==="lazyOnload"&&x(b),ne.current=!0)},[b,T]),(T==="beforeInteractive"||T==="worker")&&(q?(z[T]=(z[T]||[]).concat([{id:I,src:S,onLoad:C,onReady:N,onError:R,..._,nonce:E}]),q(z)):V&&V()?f.add(I||S):V&&!V()&&g({...b,nonce:E})),G){if(D&&D.forEach(oe=>{c.default.preinit(oe,{as:"style"})}),T==="beforeInteractive")return S?(c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{..._,id:I}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:I}])+")"}}));T==="afterInteractive"&&S&&c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const L=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)})(Ej,Ej.exports);var qF=Ej.exports,TF=qF;const RF=NP(TF),DF=`
7807
+ `,children:[t.jsx("span",{children:f.name}),t.jsx("span",{className:"text-xs text-gray-500",children:f.courseCount})]},f.id)})})]},h.id)})})]})},JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f})=>{const[m,g]=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"}],x=["English","Spanish","French","German","Multiple"],k=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const I=a.languages.includes(b)?a.languages.filter(S=>S!==b):[...a.languages,b];r({...a,languages:I})},M=b=>{const I=a.features.includes(b)?a.features.filter(S=>S!==b):[...a.features,b];r({...a,features:I})},L=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(jo,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),L&&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:[L&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>g(!m),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Ws,{className:`w-4 h-4 transition-transform ${m?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",o," 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:b=>n(b.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(b=>t.jsx("option",{value:b.value,children:b.label},b.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(bF,{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:x.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),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:k.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(b),onChange:()=>M(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},jF=({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,YL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:f,toggleMobileFilter:m,enableMobileFilter:g,showFilterName:y=!0,isMobile:x=!1})=>t.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[g&&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:m,"aria-expanded":f,children:t.jsx(tr,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(JL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(jF,{isOpen:f,onClose:m,title:"Filters",children:t.jsx(JL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),CF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[o,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 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!o&&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(So,{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:bC[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"})]})]})]})},LF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:o,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),m=g=>{l(g),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((g,y)=>t.jsx("div",{ref:y===0?f:null,children:t.jsx(CF,{course:g,isFavorite:e.has(g.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${g.id}-${g.title}`)},g.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(AC,{currentPage:c,totalPages:u,onPageChange:m})})]}):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:o,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},SF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:o})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[f,m]=j.useState(""),[g,y]=j.useState(""),[x,k]=j.useState("relevance"),[w,M]=j.useState(!1),[L,b]=j.useState(1),[I,S]=j.useState(!1),[C,N]=j.useState(!1),[q,R]=j.useState(!0),[D,_]=j.useState(""),[T,z]=j.useState([]),[V,G]=j.useState([]),[E,re]=j.useState("grid"),[ne,oe]=j.useState(r),[ae,se]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=N9(n),de=j.useMemo(()=>({component:"IGamingCoursePage",...o??{}}),[o]),ve=j.useRef(!1),W=j.useMemo(()=>{let F=[...d];switch(f&&(F=F.filter(B=>ie(B.category)===f)),g&&(F=F.filter(B=>ie(B.subcategory)===g)),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))),x){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,g,ae,u,w,x]),Q=j.useCallback((F,B)=>{i&&i({domain:"courses",name:F,payload:B,timestamp:new Date().toISOString(),context:de})},[de,i]),pe=j.useCallback(()=>({category:f||void 0,subcategory:g||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,g,w]),he=j.useCallback(()=>({page:L,pageSize:ne,totalResults:W.length,sortBy:x,viewMode:E}),[L,W.length,ne,x,E]),me=()=>{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,He=ie(J),et=ie(we);if(!He)return;F.has(He)||F.set(He,new Map);const Oe=F.get(He);et&&Oe.set(et,(Oe.get(et)??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,He])=>({id:we,name:we.replace(/-/g," ").replace(/\b\w/g,et=>et.toUpperCase()),courseCount:He}))}))},[c]),qe=F=>{oe(F),b(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Qe=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"},st=F=>{se(F);const B={category:f||void 0,subcategory:g||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Qe(F),...B})};j.useEffect(()=>{(async()=>{try{if(!a){l(p1),h(p1),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 He=J.map(Oe=>SC(Oe.title||"")).filter(Oe=>!!Oe).reduce((Oe,Ht)=>(Oe[Ht]=(Oe[Ht]||0)+1,Oe),{}),et=Object.entries(He).sort((Oe,Ht)=>Ht[1]-Oe[1]).slice(0,10).map(([Oe])=>Oe);z(et)}catch(B){console.error("[Courses] Error loading data:",B),l(p1),h(p1)}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(He=>{var et;return He.title.toLowerCase().includes(B.toLowerCase())||((et=He.description)==null?void 0:et.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||q||!W.length&&!c.length||(Q("courses_listing_viewed",{...pe(),...he()}),ve.current=!0)},[c.length,Q,W.length,pe,he,q]);const ot=F=>{const B=ie(F);m(B===f?"":B),y(""),Q("courses_category_selected",{category:B===f?null:B}),Q("courses_filter_changed",{changedKey:"category",...pe()})},Ge=F=>{const B=ie(F);y(B===g?"":B),Q("courses_subcategory_selected",{subcategory:B===g?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...pe()})},gt=()=>{se({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),m(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},rt=()=>{S(!I)},Fa=F=>{b(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(L-1)*ne+1,kt=Math.min(L*ne,W.length),xa=F=>{if(_(F),!F){h(c),G([]);return}const B=c.filter(we=>{var He;return we.title.toLowerCase().includes(F.toLowerCase())||((He=we.description)==null?void 0:He.toLowerCase().includes(F.toLowerCase()))});h(B);const J=B.map(we=>we.title).filter((we,He,et)=>we&&we.toLowerCase().includes(F.toLowerCase())&&et.indexOf(we)===He).slice(0,5);G(J),F.trim()&&Q("courses_search_submitted",{query:F,...pe()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(LC,{onSearchChange:xa,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:T,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),t.jsx(MF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(IC,{filters:[...f?[{key:"category",label:"Category",value:f.replace(/-/g," "),onRemove:()=>m("")}]:[],...g?[{key:"subcategory",label:"Subcategory",value:g.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>se(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...D?[{key:"search",label:"Search",value:D,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:gt}),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(CC,{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(YL,{sortBy:x,onFiltersChange:st,onSortChange:k,onClearFilters:gt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:g,filters:ae,onCategorySelect:ot,onSubcategorySelect:Ge,isMobileFilterOpen:I,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!C,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(YL,{filters:ae,sortBy:x,onFiltersChange:st,onSortChange:k,onClearFilters:gt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:g,onCategorySelect:ot,onSubcategorySelect:Ge,isMobileFilterOpen:I,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(NC,{viewMode:E,onToggleViewMode:me,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:kt,title:"All Courses"}),q?t.jsx(jC,{totalColumns:3}):t.jsx(LF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:gt,itemsPerPage:ne,handleEnroll:xt,currentPage:L,setCurrentPage:Fa,viewMode:E,userAccess:ee})]})]})]})]})};var Ej={exports:{}},OC={};function IF(a){return a&&a.__esModule?a:{default:a}}OC._=IF;var yA={};function mA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(mA=function(n){return n?r:e})(a)}function NF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=mA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in a)if(o!=="default"&&Object.prototype.hasOwnProperty.call(a,o)){var c=i?Object.getOwnPropertyDescriptor(a,o):null;c&&(c.get||c.set)?Object.defineProperty(n,o,c):n[o]=a[o]}return n.default=a,r&&r.set(a,n),n}yA._=NF;var xj={},KL;function AF(){return KL||(KL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=OC._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(xj)),xj}var y1={exports:{}},QL;function _F(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});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 o(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)}(y1,y1.exports)),y1.exports}var m1={exports:{}},eS;function PF(){return eS||(eS=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(o,c){for(var l in c)Object.defineProperty(o,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(o){let c=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(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)}(m1,m1.exports)),m1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,I){for(var S in I)Object.defineProperty(b,S,{enumerable:!0,get:I[S]})}r(e,{default:function(){return L},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=OC,i=yA,o=t,c=n._(Xj),l=i._(j),d=AF(),h=_F(),u=PF(),p=new Map,f=new Set,m=b=>{if(c.default.preinit){b.forEach(I=>{c.default.preinit(I,{as:"style"})});return}if(typeof window<"u"){let I=document.head;b.forEach(S=>{let C=document.createElement("link");C.type="text/css",C.rel="stylesheet",C.href=S,I.appendChild(C)})}},g=b=>{const{src:I,id:S,onLoad:C=()=>{},onReady:N=null,dangerouslySetInnerHTML:q,children:R="",strategy:D="afterInteractive",onError:_,stylesheets:T}=b,z=S||I;if(z&&f.has(z))return;if(p.has(I)){f.add(z),p.get(I).then(C,_);return}const V=()=>{N&&N(),f.add(z)},G=document.createElement("script"),E=new Promise((re,ne)=>{G.addEventListener("load",function(oe){re(),C&&C.call(this,oe),V()}),G.addEventListener("error",function(oe){ne(oe)})}).catch(function(re){_&&_(re)});q?(G.innerHTML=q.__html||"",V()):R?(G.textContent=typeof R=="string"?R:Array.isArray(R)?R.join(""):"",V()):I&&(G.src=I,p.set(I,E)),(0,h.setAttributesFromProps)(G,b),D==="worker"&&G.setAttribute("type","text/partytown"),G.setAttribute("data-nscript",D),T&&m(T),document.body.appendChild(G)};function y(b){const{strategy:I="afterInteractive"}=b;I==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(b))}):g(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>g(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(b))})}function k(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(I=>{const S=I.id||I.getAttribute("src");f.add(S)})}function w(b){b.forEach(y),k()}function M(b){const{id:I,src:S="",onLoad:C=()=>{},onReady:N=null,strategy:q="afterInteractive",onError:R,stylesheets:D,..._}=b;let{updateScripts:T,scripts:z,getIsSsr:V,appDir:G,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const oe=I||S;re.current||(N&&oe&&f.has(oe)&&N(),re.current=!0)},[N,I,S]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(q==="afterInteractive"?g(b):q==="lazyOnload"&&x(b),ne.current=!0)},[b,q]),(q==="beforeInteractive"||q==="worker")&&(T?(z[q]=(z[q]||[]).concat([{id:I,src:S,onLoad:C,onReady:N,onError:R,..._,nonce:E}]),T(z)):V&&V()?f.add(I||S):V&&!V()&&g({...b,nonce:E})),G){if(D&&D.forEach(oe=>{c.default.preinit(oe,{as:"style"})}),q==="beforeInteractive")return S?(c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{..._,id:I}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:I}])+")"}}));q==="afterInteractive"&&S&&c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const L=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)})(Ej,Ej.exports);var qF=Ej.exports,TF=qF;const RF=NP(TF),DF=`
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 zF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=DF}){return t.jsx(XR,{allow:a,children:t.jsx(RF,{id:e,strategy:r,children:n})})}function VC(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 BC(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 o=i[0];let c,l;if("borderBoxSize"in o){const d=o.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 F9="Checkbox",[FF]=ma(F9),[EF,UC]=FF(F9);function HF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:o,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[f,m]=sr({prop:r,defaultProp:i??!1,onChange:d,caller:F9}),[g,y]=v.useState(null),[x,k]=v.useState(null),w=v.useRef(!1),M=g?!!c||!!g.closest("form"):!0,L={checked:f,disabled:o,setChecked:m,control:g,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:nr(i)?!1:i,isFormControl:M,bubbleInput:x,setBubbleInput:k};return t.jsx(EF,{scope:e,...L,children:OF(p)?p(L):n})}var fA="CheckboxTrigger",xA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:o,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:m,bubbleInput:g}=UC(fA,a),y=Ce(i,u),x=v.useRef(d);return v.useEffect(()=>{const k=o==null?void 0:o.form;if(k){const w=()=>p(x.current);return k.addEventListener("reset",w),()=>k.removeEventListener("reset",w)}},[o,p]),t.jsx(fe.button,{type:"button",role:"checkbox","aria-checked":nr(d)?"mixed":d,"aria-required":h,"data-state":MA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:he(e,k=>{k.key==="Enter"&&k.preventDefault()}),onClick:he(r,k=>{p(w=>nr(w)?!0:!w),g&&m&&(f.current=k.isPropagationStopped(),f.current||k.stopPropagation())})})});xA.displayName=fA;var $C=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(HF,{__scopeCheckbox:r,checked:i,defaultChecked:o,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(xA,{...p,ref:e,__scopeCheckbox:r}),f&&t.jsx(wA,{__scopeCheckbox:r})]})})});$C.displayName=F9;var gA="CheckboxIndicator",kA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,o=UC(gA,r);return t.jsx(ur,{present:n||nr(o.checked)||o.checked===!0,children:t.jsx(fe.span,{"data-state":MA(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});kA.displayName=gA;var vA="CheckboxBubbleInput",wA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:f,setBubbleInput:m}=UC(vA,a),g=Ce(r,m),y=VC(o),x=BC(n);v.useEffect(()=>{const w=f;if(!w)return;const M=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(M,"checked").set,I=!i.current;if(y!==o&&b){const S=new Event("click",{bubbles:I});w.indeterminate=nr(o),b.call(w,nr(o)?!1:o),w.dispatchEvent(S)}},[f,y,o,i]);const k=v.useRef(nr(o)?!1:o);return t.jsx(fe.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:g,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});wA.displayName=vA;function OF(a){return typeof a=="function"}function nr(a){return a==="indeterminate"}function MA(a){return nr(a)?"indeterminate":a?"checked":"unchecked"}const GC=v.forwardRef(({className:a,...e},r)=>t.jsx($C,{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(kA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(Mo,{className:"h-4 w-4"})})}));GC.displayName=$C.displayName;const VF=b9("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"}}),t1=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(VF({variant:e}),a),...r}));t1.displayName="Alert";const BF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));BF.displayName="AlertTitle";const a1=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));a1.displayName="AlertDescription";function UF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:o="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(""),[m,g]=j.useState(!1),y=x=>{x.preventDefault(),a(h,p,m)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Te,{className:"space-y-1",children:[t.jsx(Re,{className:"text-2xl font-bold",children:o}),t.jsx(Be,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(je,{className:"space-y-4",children:[i&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{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(We,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(Lc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(We,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>f(x.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(GC,{id:"remember",checked:m,onCheckedChange:x=>g(x),disabled:n}),t.jsx(ye,{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(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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 $F=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(UF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function GF({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:o="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(m,g)=>d(y=>({...y,[m]:g})),f=m=>{if(m.preventDefault(),u(""),"password"in l&&("confirmPassword"in l||"password2"in l)){const y=l.confirmPassword??l.password2;if(l.password!==y){u("Passwords do not match");return}}const g={...l};if("confirmPassword"in g&&!("password2"in g)&&(g.password2=g.confirmPassword,delete g.confirmPassword),"fullName"in g&&!("first_name"in g)&&!("last_name"in g)){const y=String(g.fullName||"").trim().split(/\s+/).filter(Boolean);y.length>0&&(g.first_name=y[0],y.length>1&&(g.last_name=y.slice(1).join(" "))),delete g.fullName}a(g)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Te,{className:"space-y-1",children:[t.jsx(Re,{className:"text-2xl font-bold",children:o}),t.jsx(Be,{children:c})]}),t.jsxs("form",{onSubmit:f,children:[t.jsxs(je,{className:"space-y-4",children:[(i||h)&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:i||h})]}),e.map(m=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:m.name,children:m.label}),t.jsx(We,{id:m.name,type:m.type||"text",placeholder:m.placeholder,required:m.required,disabled:n,value:l[m.name]||"",onChange:g=>p(m.name,g.target.value)})]},m.name))]}),t.jsxs(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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 WF=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(GF,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})}),ZF=a=>{let e=0;return a.length>=8&&(e+=1),/[A-Z]/.test(a)&&(e+=1),/[a-z]/.test(a)&&(e+=1),/\d/.test(a)&&(e+=1),/[^A-Za-z0-9]/.test(a)&&(e+=1),a?e<=2?{label:"Weak",score:e}:e<=4?{label:"Good",score:e}:{label:"Strong",score:e}:{label:"",score:0}};function XF({onSubmit:a,fields:e,optionalFields:r=[],onLoginClick:n,isLoading:i=!1,error:o,title:c="Create Account",description:l="Join iGaming Career in seconds",privacyNote:d="We respect your privacy. Your data is protected and never shared without consent."}){const[h,u]=j.useState({}),[p,f]=j.useState(""),[m,g]=j.useState(!1),[y,x]=j.useState({}),k=j.useMemo(()=>{const S=e.find(C=>C.type==="password"||C.name==="password");return S&&h[S.name]||""},[e,h]),w=j.useMemo(()=>ZF(k),[k]),M=(S,C)=>u(N=>({...N,[S]:C})),L=S=>{if(S.preventDefault(),f(""),"password"in h&&("confirmPassword"in h||"password2"in h)){const N=h.confirmPassword??h.password2;if(h.password!==N){f("Passwords do not match");return}}const C={...h};if("confirmPassword"in C&&!("password2"in C)&&(C.password2=C.confirmPassword,delete C.confirmPassword),"fullName"in C&&!("first_name"in C)&&!("last_name"in C)){const N=String(C.fullName||"").trim().split(/\s+/).filter(Boolean);N.length>0&&(C.first_name=N[0],N.length>1&&(C.last_name=N.slice(1).join(" "))),delete C.fullName}a(C)},b=S=>t.jsx("button",{type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 text-xs font-medium text-muted-foreground hover:text-foreground",onClick:()=>x(C=>({...C,[S]:!C[S]})),disabled:i,children:y[S]?t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(vc,{className:"h-3.5 w-3.5"})," Hide"]}):t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(bo,{className:"h-3.5 w-3.5"})," Show"]})}),I=S=>{const C=S.type==="password"||S.name.toLowerCase().includes("password");return t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:S.name,children:S.label}),t.jsxs("div",{className:C?"relative":void 0,children:[t.jsx(We,{id:S.name,type:C?y[S.name]?"text":"password":S.type||"text",placeholder:S.placeholder,required:S.required,disabled:i,value:h[S.name]||"",onChange:N=>M(S.name,N.target.value),className:C?"pr-20":void 0}),C?b(S.name):null]}),C&&S.name==="password"&&w.label?t.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(_c,{className:"h-3.5 w-3.5"})," Strength:"]}),t.jsx("span",{className:w.label==="Weak"?"text-destructive":w.label==="Good"?"text-amber-500":"text-emerald-500",children:w.label})]}):null]},S.name)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Te,{className:"space-y-1",children:[t.jsx(Re,{className:"text-2xl font-bold",children:c}),t.jsx(Be,{children:l})]}),t.jsxs("form",{onSubmit:L,children:[t.jsxs(je,{className:"space-y-4",children:[(o||p)&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:o||p})]}),t.jsx("div",{className:"space-y-4",children:e.map(S=>I(S))}),r.length>0&&t.jsxs("div",{className:"space-y-3 pt-2",children:[t.jsx("button",{type:"button",onClick:()=>g(S=>!S),className:"text-sm font-medium text-accent hover:underline",disabled:i,children:m?"Hide optional details":"Complete your profile (optional)"}),m&&t.jsx("div",{className:"space-y-4 rounded-lg border border-dashed border-muted-foreground/40 p-4",children:r.map(S=>I(S))})]})]}),t.jsxs(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:i,children:i?"Creating account...":"Create Account"}),t.jsx("p",{className:"text-center text-xs text-muted-foreground",children:d}),n&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:n,className:"text-accent hover:underline font-medium",disabled:i,children:"Sign in"})]})]})]})]})}const JF=({onSubmit:a,fields:e,optionalFields:r,onLoginClick:n,isLoading:i=!1,error:o="",appName:c="Your App",logo:l,title:d="Create Account",description:h="Join iGaming Career in seconds",privacyNote:u})=>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:[l||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:c})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(XF,{onSubmit:a,fields:e,optionalFields:r,onLoginClick:n,isLoading:i,error:o,title:d,description:h,privacyNote:u})]})});function YF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:o="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(Te,{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(At,{className:"h-6 w-6 text-green-600"})})}),t.jsx(Re,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Be,{className:"text-center",children:l})]}),t.jsx(ao,{className:"flex flex-col space-y-4",children:e&&t.jsxs(U,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Te,{className:"space-y-1",children:[t.jsx(Re,{className:"text-2xl font-bold",children:o}),t.jsx(Be,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(je,{className:"space-y-4",children:[n&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{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(We,{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(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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(U,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const KF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(YF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function tS(a,[e,r]){return Math.min(r,Math.max(e,a))}const QF=["top","right","bottom","left"],dr=Math.min,_t=Math.max,f9=Math.round,f1=Math.floor,ua=a=>({x:a,y:a}),eE={left:"right",right:"left",bottom:"top",top:"bottom"},tE={start:"end",end:"start"};function Hj(a,e,r){return _t(a,dr(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function ec(a){return a.split("-")[1]}function WC(a){return a==="x"?"y":"x"}function ZC(a){return a==="y"?"height":"width"}const aE=new Set(["top","bottom"]);function la(a){return aE.has(qa(a))?"y":"x"}function XC(a){return WC(la(a))}function rE(a,e,r){r===void 0&&(r=!1);const n=ec(a),i=XC(a),o=ZC(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=x9(c)),[c,x9(c)]}function nE(a){const e=x9(a);return[Oj(a),e,Oj(e)]}function Oj(a){return a.replace(/start|end/g,e=>tE[e])}const aS=["left","right"],rS=["right","left"],iE=["top","bottom"],sE=["bottom","top"];function oE(a,e,r){switch(a){case"top":case"bottom":return r?e?rS:aS:e?aS:rS;case"left":case"right":return e?iE:sE;default:return[]}}function cE(a,e,r,n){const i=ec(a);let o=oE(qa(a),r==="start",n);return i&&(o=o.map(c=>c+"-"+i),e&&(o=o.concat(o.map(Oj)))),o}function x9(a){return a.replace(/left|right|bottom|top/g,e=>eE[e])}function lE(a){return{top:0,right:0,bottom:0,left:0,...a}}function bA(a){return typeof a!="number"?lE(a):{top:a,right:a,bottom:a,left:a}}function g9(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 nS(a,e,r){let{reference:n,floating:i}=a;const o=la(e),c=XC(e),l=ZC(c),d=qa(e),h=o==="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 m;switch(d){case"top":m={x:u,y:n.y-i.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:p};break;case"left":m={x:n.x-i.width,y:p};break;default:m={x:n.x,y:n.y}}switch(ec(e)){case"start":m[c]-=f*(r&&h?-1:1);break;case"end":m[c]+=f*(r&&h?-1:1);break}return m}const dE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:c}=r,l=o.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}=nS(h,n,d),f=n,m={},g=0;for(let y=0;y<l.length;y++){const{name:x,fn:k}=l[y],{x:w,y:M,data:L,reset:b}=await k({x:u,y:p,initialPlacement:n,placement:f,strategy:i,middlewareData:m,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,m={...m,[x]:{...m[x],...L}},b&&g<=50&&(g++,typeof b=="object"&&(b.placement&&(f=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):b.rects),{x:u,y:p}=nS(h,f,d)),y=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:m}};async function Xc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:m=0}=Pa(e,a),g=bA(m),x=l[f?p==="floating"?"reference":"floating":p],k=g9(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(x)))==null||r?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.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(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),L=await(o.isElement==null?void 0:o.isElement(M))?await(o.getScale==null?void 0:o.getScale(M))||{x:1,y:1}:{x:1,y:1},b=g9(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(k.top-b.top+g.top)/L.y,bottom:(b.bottom-k.bottom+g.bottom)/L.y,left:(k.left-b.left+g.left)/L.x,right:(b.right-k.right+g.right)/L.x}}const hE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=bA(u),f={x:r,y:n},m=XC(i),g=ZC(m),y=await c.getDimensions(h),x=m==="y",k=x?"top":"left",w=x?"bottom":"right",M=x?"clientHeight":"clientWidth",L=o.reference[g]+o.reference[m]-f[m]-o.floating[g],b=f[m]-o.reference[m],I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=I?I[M]:0;(!S||!await(c.isElement==null?void 0:c.isElement(I)))&&(S=l.floating[M]||o.floating[g]);const C=L/2-b/2,N=S/2-y[g]/2-1,T=dr(p[k],N),R=dr(p[w],N),D=T,_=S-y[g]-R,q=S/2-y[g]/2+C,z=Hj(D,q,_),V=!d.arrow&&ec(i)!=null&&q!==z&&o.reference[g]/2-(q<D?T:R)-y[g]/2<0,G=V?q<D?q-D:q-_:0;return{[m]:f[m]+G,data:{[m]:z,centerOffset:q-z-G,...V&&{alignmentOffset:G}},reset:V}}}),uE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=Pa(a,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const k=qa(i),w=la(l),M=qa(l)===l,L=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=f||(M||!y?[x9(l)]:nE(l)),I=g!=="none";!f&&I&&b.push(...cE(l,y,g,L));const S=[l,...b],C=await Xc(e,x),N=[];let T=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&N.push(C[k]),p){const q=rE(i,c,L);N.push(C[q[0]],C[q[1]])}if(T=[...T,{placement:i,overflows:N}],!N.every(q=>q<=0)){var R,D;const q=(((R=o.flip)==null?void 0:R.index)||0)+1,z=S[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(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(m){case"bestFit":{var _;const G=(_=T.filter(E=>{if(I){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];G&&(V=G);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function iS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function sS(a){return QF.some(e=>a[e]>=0)}const pE=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 o=await Xc(e,{...i,elementContext:"reference"}),c=iS(o,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:sS(c)}}}case"escaped":{const o=await Xc(e,{...i,altBoundary:!0}),c=iS(o,r.floating);return{data:{escapedOffsets:c,escaped:sS(c)}}}default:return{}}}}},jA=new Set(["left","top"]);async function yE(a,e){const{placement:r,platform:n,elements:i}=a,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=ec(r),d=la(r)==="y",h=jA.has(c)?-1:1,u=o&&d?-1:1,p=Pa(e,a);let{mainAxis:f,crossAxis:m,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(m=l==="end"?g*-1:g),d?{x:m*u,y:f*h}:{x:f*h,y:m*u}}const mE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:o,placement:c,middlewareData:l}=e,d=await yE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:o+d.y,data:{...d,placement:c}}}}},fE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:k,y:w}=x;return{x:k,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Xc(e,d),p=la(qa(i)),f=WC(p);let m=h[f],g=h[p];if(o){const x=f==="y"?"top":"left",k=f==="y"?"bottom":"right",w=m+u[x],M=m-u[k];m=Hj(w,m,M)}if(c){const x=p==="y"?"top":"left",k=p==="y"?"bottom":"right",w=g+u[x],M=g-u[k];g=Hj(w,g,M)}const y=l.fn({...e,[f]:m,[p]:g});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:o,[p]:c}}}}}},xE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),f=WC(p);let m=u[f],g=u[p];const y=Pa(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=f==="y"?"height":"width",L=o.reference[f]-o.floating[M]+x.mainAxis,b=o.reference[f]+o.reference[M]-x.mainAxis;m<L?m=L:m>b&&(m=b)}if(h){var k,w;const M=f==="y"?"width":"height",L=jA.has(qa(i)),b=o.reference[p]-o.floating[M]+(L&&((k=c.offset)==null?void 0:k[p])||0)+(L?0:x.crossAxis),I=o.reference[p]+o.reference[M]+(L?0:((w=c.offset)==null?void 0:w[p])||0)-(L?x.crossAxis:0);g<b?g=b:g>I&&(g=I)}return{[f]:m,[p]:g}}}},gE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:o,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Xc(e,h),p=qa(i),f=ec(i),m=la(i)==="y",{width:g,height:y}=o.floating;let x,k;p==="top"||p==="bottom"?(x=p,k=f===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(k=p,x=f==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=g-u.left-u.right,L=dr(y-u[x],w),b=dr(g-u[k],M),I=!e.middlewareData.shift;let S=L,C=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(C=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=w),I&&!f){const T=_t(u.left,0),R=_t(u.right,0),D=_t(u.top,0),_=_t(u.bottom,0);m?C=g-2*(T!==0||R!==0?T+R:_t(u.left,u.right)):S=y-2*(D!==0||_!==0?D+_:_t(u.top,u.bottom))}await d({...e,availableWidth:C,availableHeight:S});const N=await c.getDimensions(l.floating);return g!==N.width||y!==N.height?{reset:{rects:!0}}:{}}}};function E9(){return typeof window<"u"}function tc(a){return CA(a)?(a.nodeName||"").toLowerCase():"#document"}function zt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(CA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function CA(a){return E9()?a instanceof Node||a instanceof zt(a).Node:!1}function ea(a){return E9()?a instanceof Element||a instanceof zt(a).Element:!1}function ya(a){return E9()?a instanceof HTMLElement||a instanceof zt(a).HTMLElement:!1}function oS(a){return!E9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof zt(a).ShadowRoot}const kE=new Set(["inline","contents"]);function r1(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!kE.has(i)}const vE=new Set(["table","td","th"]);function wE(a){return vE.has(tc(a))}const ME=[":popover-open",":modal"];function H9(a){return ME.some(e=>{try{return a.matches(e)}catch{return!1}})}const bE=["transform","translate","scale","rotate","perspective"],jE=["transform","translate","scale","rotate","perspective","filter"],CE=["paint","layout","strict","content"];function JC(a){const e=YC(),r=ea(a)?ta(a):a;return bE.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)||jE.some(n=>(r.willChange||"").includes(n))||CE.some(n=>(r.contain||"").includes(n))}function LE(a){let e=hr(a);for(;ya(e)&&!Zo(e);){if(JC(e))return e;if(H9(e))return null;e=hr(e)}return null}function YC(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const SE=new Set(["html","body","#document"]);function Zo(a){return SE.has(tc(a))}function ta(a){return zt(a).getComputedStyle(a)}function O9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function hr(a){if(tc(a)==="html")return a;const e=a.assignedSlot||a.parentNode||oS(a)&&a.host||fa(a);return oS(e)?e.host:e}function LA(a){const e=hr(a);return Zo(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&r1(e)?e:LA(e)}function Jc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=LA(a),o=i===((n=a.ownerDocument)==null?void 0:n.body),c=zt(i);if(o){const l=Vj(c);return e.concat(c,c.visualViewport||[],r1(i)?i:[],l&&r?Jc(l):[])}return e.concat(i,Jc(i,[],r))}function Vj(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function SA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),o=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=f9(r)!==o||f9(n)!==c;return l&&(r=o,n=c),{width:r,height:n,$:l}}function KC(a){return ea(a)?a:a.contextElement}function Ho(a){const e=KC(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=SA(e);let c=(o?f9(r.width):r.width)/n,l=(o?f9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const IE=ua(0);function IA(a){const e=zt(a);return!YC()||!e.visualViewport?IE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function NE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==zt(a)?!1:e}function no(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),o=KC(a);let c=ua(1);e&&(n?ea(n)&&(c=Ho(n)):c=Ho(a));const l=NE(o,r,n)?IA(o):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(o){const f=zt(o),m=n&&ea(n)?zt(n):n;let g=f,y=Vj(g);for(;y&&n&&m!==g;){const x=Ho(y),k=y.getBoundingClientRect(),w=ta(y),M=k.left+(y.clientLeft+parseFloat(w.paddingLeft))*x.x,L=k.top+(y.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=M,h+=L,g=zt(y),y=Vj(g)}}return g9({width:u,height:p,x:d,y:h})}function V9(a,e){const r=O9(a).scrollLeft;return e?e.left+r:no(fa(a)).left+r}function NA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-V9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function AE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const o=i==="fixed",c=fa(n),l=e?H9(e.floating):!1;if(n===c||l&&o)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!o)&&((tc(n)!=="body"||r1(c))&&(d=O9(n)),ya(n))){const m=no(n);h=Ho(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const f=c&&!p&&!o?NA(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 _E(a){return Array.from(a.getClientRects())}function PE(a){const e=fa(a),r=O9(a),n=a.ownerDocument.body,i=_t(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=_t(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+V9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=_t(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:c,y:l}}const cS=25;function qE(a,e){const r=zt(a),n=fa(a),i=r.visualViewport;let o=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){o=i.width,c=i.height;const u=YC();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=V9(n);if(h<=0){const u=n.ownerDocument,p=u.body,f=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-m);g<=cS&&(o-=g)}else h<=cS&&(o+=h);return{width:o,height:c,x:l,y:d}}const TE=new Set(["absolute","fixed"]);function RE(a,e){const r=no(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,o=ya(a)?Ho(a):ua(1),c=a.clientWidth*o.x,l=a.clientHeight*o.y,d=i*o.x,h=n*o.y;return{width:c,height:l,x:d,y:h}}function lS(a,e,r){let n;if(e==="viewport")n=qE(a,r);else if(e==="document")n=PE(fa(a));else if(ea(e))n=RE(e,r);else{const i=IA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return g9(n)}function AA(a,e){const r=hr(a);return r===e||!ea(r)||Zo(r)?!1:ta(r).position==="fixed"||AA(r,e)}function DE(a,e){const r=e.get(a);if(r)return r;let n=Jc(a,[],!1).filter(l=>ea(l)&&tc(l)!=="body"),i=null;const o=ta(a).position==="fixed";let c=o?hr(a):a;for(;ea(c)&&!Zo(c);){const l=ta(c),d=JC(c);!d&&l.position==="fixed"&&(i=null),(o?!d&&!i:!d&&l.position==="static"&&!!i&&TE.has(i.position)||r1(c)&&!d&&AA(a,c))?n=n.filter(u=>u!==c):i=l,c=hr(c)}return e.set(a,n),n}function zE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?H9(e)?[]:DE(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=lS(e,u,i);return h.top=_t(p.top,h.top),h.right=dr(p.right,h.right),h.bottom=dr(p.bottom,h.bottom),h.left=_t(p.left,h.left),h},lS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function FE(a){const{width:e,height:r}=SA(a);return{width:e,height:r}}function EE(a,e,r){const n=ya(e),i=fa(e),o=r==="fixed",c=no(a,!0,o,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=V9(i)}if(n||!n&&!o)if((tc(e)!=="body"||r1(i))&&(l=O9(e)),n){const m=no(e,!0,o,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}else i&&h();o&&!n&&i&&h();const u=i&&!n&&!o?NA(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 gj(a){return ta(a).position==="static"}function dS(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 _A(a,e){const r=zt(a);if(H9(a))return r;if(!ya(a)){let i=hr(a);for(;i&&!Zo(i);){if(ea(i)&&!gj(i))return i;i=hr(i)}return r}let n=dS(a,e);for(;n&&wE(n)&&gj(n);)n=dS(n,e);return n&&Zo(n)&&gj(n)&&!JC(n)?r:n||LE(a)||r}const HE=async function(a){const e=this.getOffsetParent||_A,r=this.getDimensions,n=await r(a.floating);return{reference:EE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function OE(a){return ta(a).direction==="rtl"}const VE={convertOffsetParentRelativeRectToViewportRelativeRect:AE,getDocumentElement:fa,getClippingRect:zE,getOffsetParent:_A,getElementRects:HE,getClientRects:_E,getDimensions:FE,getScale:Ho,isElement:ea,isRTL:OE};function PA(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function BE(a,e){let r=null,n;const i=fa(a);function o(){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),o();const h=a.getBoundingClientRect(),{left:u,top:p,width:f,height:m}=h;if(l||e(),!f||!m)return;const g=f1(p),y=f1(i.clientWidth-(u+f)),x=f1(i.clientHeight-(p+m)),k=f1(u),M={rootMargin:-g+"px "+-y+"px "+-x+"px "+-k+"px",threshold:_t(0,dr(1,d))||1};let L=!0;function b(I){const S=I[0].intersectionRatio;if(S!==d){if(!L)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!PA(h,a.getBoundingClientRect())&&c(),L=!1}try{r=new IntersectionObserver(b,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(b,M)}r.observe(a)}return c(!0),o}function UE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=KC(a),u=i||o?[...h?Jc(h):[],...Jc(e)]:[];u.forEach(k=>{i&&k.addEventListener("scroll",r,{passive:!0}),o&&k.addEventListener("resize",r)});const p=h&&l?BE(h,r):null;let f=-1,m=null;c&&(m=new ResizeObserver(k=>{let[w]=k;w&&w.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var M;(M=m)==null||M.observe(e)})),r()}),h&&!d&&m.observe(h),m.observe(e));let g,y=d?no(a):null;d&&x();function x(){const k=no(a);y&&!PA(y,k)&&r(),y=k,g=requestAnimationFrame(x)}return r(),()=>{var k;u.forEach(w=>{i&&w.removeEventListener("scroll",r),o&&w.removeEventListener("resize",r)}),p==null||p(),(k=m)==null||k.disconnect(),m=null,d&&cancelAnimationFrame(g)}}const $E=mE,GE=fE,WE=uE,ZE=gE,XE=pE,hS=hE,JE=xE,YE=(a,e,r)=>{const n=new Map,i={platform:VE,...r},o={...i.platform,_c:n};return dE(a,e,{...i,platform:o})};var KE=typeof document<"u",QE=function(){},s9=KE?j.useLayoutEffect:QE;function k9(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(!k9(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 o=i[n];if(!(o==="_owner"&&a.$$typeof)&&!k9(a[o],e[o]))return!1}return!0}return a!==a&&e!==e}function qA(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function uS(a,e){const r=qA(a);return Math.round(e*r)/r}function kj(a){const e=v.useRef(a);return s9(()=>{e.current=a}),e}function eH(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,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,m]=v.useState(n);k9(f,n)||m(n);const[g,y]=v.useState(null),[x,k]=v.useState(null),w=v.useCallback(E=>{E!==I.current&&(I.current=E,y(E))},[]),M=v.useCallback(E=>{E!==S.current&&(S.current=E,k(E))},[]),L=o||g,b=c||x,I=v.useRef(null),S=v.useRef(null),C=v.useRef(u),N=d!=null,T=kj(d),R=kj(i),D=kj(h),_=v.useCallback(()=>{if(!I.current||!S.current)return;const E={placement:e,strategy:r,middleware:f};R.current&&(E.platform=R.current),YE(I.current,S.current,E).then(re=>{const ne={...re,isPositioned:D.current!==!1};q.current&&!k9(C.current,ne)&&(C.current=ne,M9.flushSync(()=>{p(ne)}))})},[f,e,r,R,D]);s9(()=>{h===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const q=v.useRef(!1);s9(()=>(q.current=!0,()=>{q.current=!1}),[]),s9(()=>{if(L&&(I.current=L),b&&(S.current=b),L&&b){if(T.current)return T.current(L,b,_);_()}},[L,b,_,T,N]);const z=v.useMemo(()=>({reference:I,floating:S,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:L,floating:b}),[L,b]),G=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=uS(V.floating,u.x),ne=uS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",...qA(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:G}),[u,_,z,V,G])}const tH=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?hS({element:n.current,padding:i}).fn(r):{}:n?hS({element:n,padding:i}).fn(r):{}}}},aH=(a,e)=>({...$E(a),options:[a,e]}),rH=(a,e)=>({...GE(a),options:[a,e]}),nH=(a,e)=>({...JE(a),options:[a,e]}),iH=(a,e)=>({...WE(a),options:[a,e]}),sH=(a,e)=>({...ZE(a),options:[a,e]}),oH=(a,e)=>({...XE(a),options:[a,e]}),cH=(a,e)=>({...tH(a),options:[a,e]});var lH="Arrow",TA=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...o}=a;return t.jsx(fe.svg,{...o,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"})})});TA.displayName=lH;var dH=TA,QC="Popper",[RA,B9]=ma(QC),[hH,DA]=RA(QC),zA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(hH,{scope:e,anchor:n,onAnchorChange:i,children:r})};zA.displayName=QC;var FA="PopperAnchor",EA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,o=DA(FA,r),c=v.useRef(null),l=Ce(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&&o.onAnchorChange(d.current)}),n?null:t.jsx(fe.div,{...i,ref:l})});EA.displayName=FA;var eL="PopperContent",[uH,pH]=RA(eL),HA=v.forwardRef((a,e)=>{var W,Q,ue,de,me,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:g,...y}=a,x=DA(eL,r),[k,w]=v.useState(null),M=Ce(e,Pe=>w(Pe)),[L,b]=v.useState(null),I=BC(L),S=(I==null?void 0:I.width)??0,C=(I==null?void 0:I.height)??0,N=n+(o!=="center"?"-"+o:""),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(mH),altBoundary:D},{refs:q,floatingStyles:z,placement:V,isPositioned:G,middlewareData:E}=eH({strategy:"fixed",placement:N,whileElementsMounted:(...Pe)=>UE(...Pe,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[aH({mainAxis:i+C,alignmentAxis:c}),d&&rH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?nH():void 0,..._}),d&&iH({..._}),sH({..._,apply:({elements:Pe,rects:qe,availableWidth:Qe,availableHeight:st})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Qe}px`),ot.setProperty("--radix-popper-available-height",`${st}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),L&&cH({element:L,padding:l}),fH({arrowWidth:S,arrowHeight:C}),f&&oH({strategy:"referenceHidden",..._})]}),[re,ne]=BA(V),oe=ir(g);pt(()=>{G&&(oe==null||oe())},[G,oe]);const ae=(W=E.arrow)==null?void 0:W.x,se=(Q=E.arrow)==null?void 0:Q.y,ee=((ue=E.arrow)==null?void 0:ue.centerOffset)!==0,[le,ve]=v.useState();return pt(()=>{k&&ve(window.getComputedStyle(k).zIndex)},[k]),t.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:G?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=E.transformOrigin)==null?void 0:de.x,(me=E.transformOrigin)==null?void 0:me.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(uH,{scope:r,placedSide:re,onArrowChange:b,arrowX:ae,arrowY:se,shouldHideArrow:ee,children:t.jsx(fe.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:G?void 0:"none"}})})})});HA.displayName=eL;var OA="PopperArrow",yH={top:"bottom",right:"left",bottom:"top",left:"right"},VA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,o=pH(OA,n),c=yH[o.placedSide];return t.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:t.jsx(dH,{...i,ref:r,style:{...i.style,display:"block"}})})});VA.displayName=OA;function mH(a){return a!==null}var fH=a=>({name:"transformOrigin",options:a,fn(e){var x,k,w;const{placement:r,rects:n,middlewareData:i}=e,c=((x=i.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=BA(r),p={start:"0%",center:"50%",end:"100%"}[u],f=(((k=i.arrow)==null?void 0:k.x)??0)+l/2,m=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let g="",y="";return h==="bottom"?(g=c?p:`${f}px`,y=`${-d}px`):h==="top"?(g=c?p:`${f}px`,y=`${n.floating.height+d}px`):h==="right"?(g=`${-d}px`,y=c?p:`${m}px`):h==="left"&&(g=`${n.floating.width+d}px`,y=c?p:`${m}px`),{data:{x:g,y}}}});function BA(a){const[e,r="center"]=a.split("-");return[e,r]}var UA=zA,tL=EA,$A=HA,GA=VA;function xH(a){const e=gH(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(vH);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:o})});return r.displayName=`${a}.Slot`,r}function gH(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=MH(i),l=wH(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 kH=Symbol("radix.slottable");function vH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===kH}function wH(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function MH(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 WA=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"}),bH="VisuallyHidden",jH=v.forwardRef((a,e)=>t.jsx(fe.span,{...a,ref:e,style:{...WA,...a.style}}));jH.displayName=bH;var CH=[" ","Enter","ArrowUp","ArrowDown"],LH=[" ","Enter"],io="Select",[U9,$9,SH]=AS(io),[ac]=ma(io,[SH,B9]),G9=B9(),[IH,xr]=ac(io),[NH,AH]=ac(io),ZA=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:o,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:f,required:m,form:g}=a,y=G9(e),[x,k]=v.useState(null),[w,M]=v.useState(null),[L,b]=v.useState(!1),I=eC(h),[S,C]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:io}),[N,T]=sr({prop:c,defaultProp:l,onChange:d,caller:io}),R=v.useRef(null),D=x?g||!!x.closest("form"):!0,[_,q]=v.useState(new Set),z=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(UA,{...y,children:t.jsxs(IH,{required:m,scope:e,trigger:x,onTriggerChange:k,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:L,onValueNodeHasChildrenChange:b,contentId:Na(),value:N,onValueChange:T,open:S,onOpenChange:C,dir:I,triggerPointerDownPosRef:R,disabled:f,children:[t.jsx(U9.Provider,{scope:e,children:t.jsx(NH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{q(G=>new Set(G).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{q(G=>{const E=new Set(G);return E.delete(V),E})},[]),children:r})}),D?t.jsxs(g_,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:V=>T(V.target.value),disabled:f,form:g,children:[N===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},z):null]})})};ZA.displayName=io;var XA="SelectTrigger",JA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,o=G9(r),c=xr(XA,r),l=c.disabled||n,d=Ce(e,c.onTriggerChange),h=$9(r),u=v.useRef("touch"),[p,f,m]=v_(y=>{const x=h().filter(M=>!M.disabled),k=x.find(M=>M.value===c.value),w=w_(x,y,k);w!==void 0&&c.onValueChange(w.value)}),g=y=>{l||(c.onOpenChange(!0),m()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(tL,{asChild:!0,...o,children:t.jsx(fe.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":k_(c.value)?"":void 0,...i,ref:d,onClick:he(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&g(y)}),onPointerDown:he(i.onPointerDown,y=>{u.current=y.pointerType;const x=y.target;x.hasPointerCapture(y.pointerId)&&x.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(g(y),y.preventDefault())}),onKeyDown:he(i.onKeyDown,y=>{const x=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(x&&y.key===" ")&&CH.includes(y.key)&&(g(),y.preventDefault())})})})});JA.displayName=XA;var YA="SelectValue",KA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:o,placeholder:c="",...l}=a,d=xr(YA,r),{onValueNodeHasChildrenChange:h}=d,u=o!==void 0,p=Ce(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(fe.span,{...l,ref:p,style:{pointerEvents:"none"},children:k_(d.value)?t.jsx(t.Fragment,{children:c}):o})});KA.displayName=YA;var _H="SelectIcon",QA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(fe.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});QA.displayName=_H;var PH="SelectPortal",e_=a=>t.jsx(P9,{asChild:!0,...a});e_.displayName=PH;var so="SelectContent",t_=v.forwardRef((a,e)=>{const r=xr(so,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const o=n;return o?M9.createPortal(t.jsx(a_,{scope:a.__scopeSelect,children:t.jsx(U9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),o):null}return t.jsx(r_,{...a,ref:e})});t_.displayName=so;var Yt=10,[a_,gr]=ac(so),qH="SelectContentImpl",TH=xH("SelectContent.RemoveScroll"),r_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:x,...k}=a,w=xr(so,r),[M,L]=v.useState(null),[b,I]=v.useState(null),S=Ce(e,W=>L(W)),[C,N]=v.useState(null),[T,R]=v.useState(null),D=$9(r),[_,q]=v.useState(!1),z=v.useRef(!1);v.useEffect(()=>{if(M)return PC(M)},[M]),_C();const V=v.useCallback(W=>{const[Q,...ue]=D().map(ie=>ie.ref.current),[de]=ue.slice(-1),me=document.activeElement;for(const ie of W)if(ie===me||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&b&&(b.scrollTop=0),ie===de&&b&&(b.scrollTop=b.scrollHeight),ie==null||ie.focus(),document.activeElement!==me))return},[D,b]),G=v.useCallback(()=>V([C,M]),[V,C,M]);v.useEffect(()=>{_&&G()},[_,G]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=de=>{var me,ie;W={x:Math.abs(Math.round(de.pageX)-(((me=re.current)==null?void 0:me.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,oe]=v_(W=>{const Q=D().filter(me=>!me.disabled),ue=Q.find(me=>me.ref.current===document.activeElement),de=w_(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)&&(N(W),de&&(z.current=!0))},[w.value]),se=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"?Bj:n_,ve=le===Bj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:x}:{};return t.jsx(a_,{scope:r,content:M,viewport:b,onViewportChange:I,itemRefCallback:ae,selectedItem:C,onItemLeave:se,itemTextRefCallback:ee,focusSelectedItem:G,selectedItemText:T,position:n,isPositioned:_,searchRef:ne,children:t.jsx(T9,{as:TH,allowPinchZoom:!0,children:t.jsx(_9,{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(A9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,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(),...k,...ve,onPlaced:()=>q(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:he(k.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&oe(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let de=D().filter(me=>!me.disabled).map(me=>me.ref.current);if(["ArrowUp","End"].includes(W.key)&&(de=de.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const me=W.target,ie=de.indexOf(me);de=de.slice(ie+1)}setTimeout(()=>V(de)),W.preventDefault()}})})})})})})});r_.displayName=qH;var RH="SelectItemAlignedPosition",n_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,o=xr(so,r),c=gr(so,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=Ce(e,S=>u(S)),f=$9(r),m=v.useRef(!1),g=v.useRef(!0),{viewport:y,selectedItem:x,selectedItemText:k,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&h&&y&&x&&k){const S=o.trigger.getBoundingClientRect(),C=h.getBoundingClientRect(),N=o.valueNode.getBoundingClientRect(),T=k.getBoundingClientRect();if(o.dir!=="rtl"){const me=T.left-C.left,ie=N.left-me,Pe=S.left-ie,qe=S.width+Pe,Qe=Math.max(qe,C.width),st=window.innerWidth-Yt,yt=tS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const me=C.right-T.right,ie=window.innerWidth-N.right-me,Pe=window.innerWidth-S.right-ie,qe=S.width+Pe,Qe=Math.max(qe,C.width),st=window.innerWidth-Yt,yt=tS(ie,[Yt,Math.max(Yt,st-Qe)]);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),G=parseInt(q.borderBottomWidth,10),E=parseInt(q.paddingBottom,10),re=z+V+_+E+G,ne=Math.min(x.offsetHeight*5,re),oe=window.getComputedStyle(y),ae=parseInt(oe.paddingTop,10),se=parseInt(oe.paddingBottom,10),ee=S.top+S.height/2-Yt,le=D-ee,ve=x.offsetHeight/2,W=x.offsetTop+ve,Q=z+V+W,ue=re-Q;if(Q<=ee){const me=R.length>0&&x===R[R.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(le,ve+(me?se:0)+ie+G),qe=Q+Pe;l.style.height=qe+"px"}else{const me=R.length>0&&x===R[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,z+y.offsetTop+(me?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(()=>m.current=!0)}},[f,o.trigger,o.valueNode,l,h,y,x,k,o.dir,n]);pt(()=>M(),[M]);const[L,b]=v.useState();pt(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const I=v.useCallback(S=>{S&&g.current===!0&&(M(),w==null||w(),g.current=!1)},[M,w]);return t.jsx(zH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:m,onScrollButtonChange:I,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:t.jsx(fe.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});n_.displayName=RH;var DH="SelectPopperPosition",Bj=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...o}=a,c=G9(r);return t.jsx($A,{...c,...o,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.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)"}})});Bj.displayName=DH;var[zH,aL]=ac(so,{}),Uj="SelectViewport",i_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,o=gr(Uj,r),c=aL(Uj,r),l=Ce(e,o.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(U9.Slot,{scope:r,children:t.jsx(fe.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 m=Math.abs(d.current-u.scrollTop);if(m>0){const g=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),k=Math.max(y,x);if(k<g){const w=k+m,M=Math.min(g,w),L=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=L>0?L:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});i_.displayName=Uj;var s_="SelectGroup",[FH,EH]=ac(s_),HH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(FH,{scope:r,id:i,children:t.jsx(fe.div,{role:"group","aria-labelledby":i,...n,ref:e})})});HH.displayName=s_;var o_="SelectLabel",c_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=EH(o_,r);return t.jsx(fe.div,{id:i.id,...n,ref:e})});c_.displayName=o_;var v9="SelectItem",[OH,l_]=ac(v9),d_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...c}=a,l=xr(v9,r),d=gr(v9,r),h=l.value===n,[u,p]=v.useState(o??""),[f,m]=v.useState(!1),g=Ce(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),x=v.useRef("touch"),k=()=>{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(OH,{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(U9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(fe.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:g,onFocus:he(c.onFocus,()=>m(!0)),onBlur:he(c.onBlur,()=>m(!1)),onClick:he(c.onClick,()=>{x.current!=="mouse"&&k()}),onPointerUp:he(c.onPointerUp,()=>{x.current==="mouse"&&k()}),onPointerDown:he(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:he(c.onPointerMove,w=>{var M;x.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):x.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 L;((L=d.searchRef)==null?void 0:L.current)!==""&&w.key===" "||(LH.includes(w.key)&&k(),w.key===" "&&w.preventDefault())})})})})});d_.displayName=v9;var uc="SelectItemText",h_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...o}=a,c=xr(uc,r),l=gr(uc,r),d=l_(uc,r),h=AH(uc,r),[u,p]=v.useState(null),f=Ce(e,k=>p(k),d.onItemTextChange,k=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,k,d.value,d.disabled)}),m=u==null?void 0:u.textContent,g=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:x}=h;return pt(()=>(y(g),()=>x(g)),[y,x,g]),t.jsxs(t.Fragment,{children:[t.jsx(fe.span,{id:d.textId,...o,ref:f}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?M9.createPortal(o.children,c.valueNode):null]})});h_.displayName=uc;var u_="SelectItemIndicator",p_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return l_(u_,r).isSelected?t.jsx(fe.span,{"aria-hidden":!0,...n,ref:e}):null});p_.displayName=u_;var $j="SelectScrollUpButton",y_=v.forwardRef((a,e)=>{const r=gr($j,a.__scopeSelect),n=aL($j,a.__scopeSelect),[i,o]=v.useState(!1),c=Ce(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;o(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(f_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});y_.displayName=$j;var Gj="SelectScrollDownButton",m_=v.forwardRef((a,e)=>{const r=gr(Gj,a.__scopeSelect),n=aL(Gj,a.__scopeSelect),[i,o]=v.useState(!1),c=Ce(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;o(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(f_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});m_.displayName=Gj;var f_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,o=gr("SelectScrollButton",r),c=v.useRef(null),l=$9(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(fe.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=o.onItemLeave)==null||h.call(o),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:he(i.onPointerLeave,()=>{d()})})}),VH="SelectSeparator",x_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(fe.div,{"aria-hidden":!0,...n,ref:e})});x_.displayName=VH;var Wj="SelectArrow",BH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=G9(r),o=xr(Wj,r),c=gr(Wj,r);return o.open&&c.position==="popper"?t.jsx(GA,{...i,...n,ref:e}):null});BH.displayName=Wj;var UH="SelectBubbleInput",g_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),o=Ce(n,i),c=VC(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(fe.select,{...r,style:{...WA,...r.style},ref:o,defaultValue:e})});g_.displayName=UH;function k_(a){return a===""||a===void 0}function v_(a){const e=ir(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]),o=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function w_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,o=r?a.indexOf(r):-1;let c=$H(a,Math.max(o,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 $H(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var GH=ZA,M_=JA,WH=KA,ZH=QA,XH=e_,b_=t_,JH=i_,j_=c_,C_=d_,YH=h_,KH=p_,L_=y_,S_=m_,rL=x_;const QH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],eO=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},tO=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:o,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=eO(o),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(mr,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(Ta,{className:"sm:max-w-lg",children:[t.jsxs(fr,{className:"space-y-2",children:[t.jsxs(Da,{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(Nt,{className:"h-5 w-5"})}),c]}),t.jsx(z9,{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(Xa,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:QH.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(rL,{className:"my-4"}),t.jsxs(Ra,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx(U,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx(U,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx(U,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},aO=[{icon:bc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:Po,label:"Settings",path:"/dashboard/settings"}];function rO({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:o=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:aO.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(U,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(Sc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const nO=b9("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 at({className:a,variant:e,...r}){return t.jsx("div",{className:ce(nO({variant:e}),a),...r})}function iO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:o,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(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>o(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx(U,{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(Te,{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(at,{variant:"secondary",children:u.type})]}),t.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),t.jsx(Re,{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(wo,{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(Be,{children:u.description})]}),t.jsxs(je,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(f=>t.jsx(at,{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(Te,{children:t.jsxs(Re,{className:"flex items-center gap-2",children:[t.jsx(Ys,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(je,{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(Te,{children:t.jsxs(Re,{className:"flex items-center gap-2",children:[t.jsx(Qt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),t.jsx(je,{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(at,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var W9="Switch",[sO]=ma(W9),[oO,cO]=sO(W9),I_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[f,m]=v.useState(null),g=Ce(e,M=>m(M)),y=v.useRef(!1),x=f?u||!!f.closest("form"):!0,[k,w]=sr({prop:i,defaultProp:o??!1,onChange:h,caller:W9});return t.jsxs(oO,{scope:r,checked:k,disabled:l,children:[t.jsx(fe.button,{type:"button",role:"switch","aria-checked":k,"aria-required":c,"data-state":P_(k),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:g,onClick:he(a.onClick,M=>{w(L=>!L),x&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),x&&t.jsx(__,{control:f,bubbles:!y.current,name:n,value:d,checked:k,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});I_.displayName=W9;var N_="SwitchThumb",A_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=cO(N_,r);return t.jsx(fe.span,{"data-state":P_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});A_.displayName=N_;var lO="SwitchBubbleInput",__=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},o)=>{const c=v.useRef(null),l=Ce(c,o),d=VC(r),h=BC(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&m){const g=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(g)}},[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}})});__.displayName=lO;function P_(a){return a?"checked":"unchecked"}var q_=I_,dO=A_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(q_,{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(dO,{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=q_.displayName;function hO(a){const e=uO(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(yO);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:o})});return r.displayName=`${a}.Slot`,r}function uO(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=fO(i),l=mO(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 pO=Symbol("radix.slottable");function yO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===pO}function mO(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function fO(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 Z9="Popover",[T_]=ma(Z9,[B9]),n1=B9(),[xO,kr]=T_(Z9),R_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!1}=a,l=n1(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,f]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:Z9});return t.jsx(UA,{...l,children:t.jsx(xO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};R_.displayName=Z9;var D_="PopoverAnchor",gO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(D_,r),o=n1(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(tL,{...o,...n,ref:e})});gO.displayName=D_;var z_="PopoverTrigger",F_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(z_,r),o=n1(r),c=Ce(e,i.triggerRef),l=t.jsx(fe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B_(i.open),...n,ref:c,onClick:he(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(tL,{asChild:!0,...o,children:l})});F_.displayName=z_;var nL="PopoverPortal",[kO,vO]=T_(nL,{forceMount:void 0}),E_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,o=kr(nL,e);return t.jsx(kO,{scope:e,forceMount:r,children:t.jsx(ur,{present:r||o.open,children:t.jsx(P9,{asChild:!0,container:i,children:n})})})};E_.displayName=nL;var Xo="PopoverContent",H_=v.forwardRef((a,e)=>{const r=vO(Xo,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,o=kr(Xo,a.__scopePopover);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(MO,{...i,ref:e}):t.jsx(bO,{...i,ref:e})})});H_.displayName=Xo;var wO=hO("PopoverContent.RemoveScroll"),MO=v.forwardRef((a,e)=>{const r=kr(Xo,a.__scopePopover),n=v.useRef(null),i=Ce(e,n),o=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return PC(c)},[]),t.jsx(T9,{as:wO,allowPinchZoom:!0,children:t.jsx(O_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),o.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;o.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:he(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),bO=v.forwardRef((a,e)=>{const r=kr(Xo,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(O_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),O_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,f=kr(Xo,r),m=n1(r);return _C(),t.jsx(_9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(A9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>f.onOpenChange(!1),children:t.jsx($A,{"data-state":B_(f.open),role:"dialog",id:f.contentId,...m,...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)"}})})})}),V_="PopoverClose",jO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(V_,r);return t.jsx(fe.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});jO.displayName=V_;var CO="PopoverArrow",LO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=n1(r);return t.jsx(GA,{...i,...n,ref:e})});LO.displayName=CO;function B_(a){return a?"open":"closed"}var SO=R_,IO=F_,NO=E_,U_=H_;const AO=SO,_O=IO,$_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(NO,{children:t.jsx(U_,{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})}));$_.displayName=U_.displayName;const Zj=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}));Zj.displayName="Textarea";const Yc=GH,Kc=WH,Jo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(M_,{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(ZH,{asChild:!0,children:t.jsx(oA,{className:"h-4 w-4 opacity-50"})})]}));Jo.displayName=M_.displayName;const G_=v.forwardRef(({className:a,...e},r)=>t.jsx(L_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(Gz,{className:"h-4 w-4"})}));G_.displayName=L_.displayName;const W_=v.forwardRef(({className:a,...e},r)=>t.jsx(S_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(oA,{className:"h-4 w-4"})}));W_.displayName=S_.displayName;const Yo=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx(XH,{children:t.jsxs(b_,{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(G_,{}),t.jsx(JH,{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(W_,{})]})}));Yo.displayName=b_.displayName;const PO=v.forwardRef(({className:a,...e},r)=>t.jsx(j_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));PO.displayName=j_.displayName;const Ko=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(C_,{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(KH,{children:t.jsx(Bz,{className:"h-4 w-4"})})}),t.jsx(YH,{children:e})]}));Ko.displayName=C_.displayName;const qO=v.forwardRef(({className:a,...e},r)=>t.jsx(rL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));qO.displayName=rL.displayName;function TO({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const o=new Date().getFullYear(),c=Array.from({length:40},(m,g)=>`${o-g}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""});j.useEffect(()=>{if(n){const[m,g]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:m||"",endYear:g==="Present"?"":g||"",isPresent:g==="Present",location:n.location||"",summary:n.summary||"",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""})},[n,a]);const[h,u]=j.useState(!1),p=(m,g)=>d(y=>({...y,[m]:g})),f=()=>{const m=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,g={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:m,summary:l.summary.trim()||void 0,location:l.location.trim()||void 0,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(g):r(g),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(Da,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(ye,{children:"Title"}),t.jsx(We,{value:l.title,onChange:m=>p("title",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(ye,{children:"Company"}),t.jsx(We,{value:l.company,onChange:m=>p("company",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(ye,{children:"Location (optional)"}),t.jsx(We,{value:l.location,onChange:m=>p("location",m.target.value),placeholder:"e.g., Malta or Remote"})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(ye,{children:"Start Year"}),t.jsxs(Yc,{onValueChange:m=>p("startYear",m),value:l.startYear,children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select year"})}),t.jsx(Yo,{children:c.map(m=>t.jsx(Ko,{value:m,children:m},m))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(ye,{children:"End Year"}),t.jsxs(Yc,{onValueChange:m=>p("endYear",m),value:l.endYear,children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select year"})}),t.jsx(Yo,{children:c.map(m=>t.jsx(Ko,{value:m,children:m},m))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:m=>p("isPresent",m.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(ye,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(ye,{children:"Summary (optional)"}),t.jsx(Zj,{placeholder:"e.g., Led product roadmap for iGaming platform",value:l.summary,onChange:m=>p("summary",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(ye,{children:"Tags (comma-separated)"}),t.jsx(Zj,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:m=>p("tags",m.target.value)})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:f,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var RO=Symbol("radix.slottable");function DO(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=RO,e}var Z_="AlertDialog",[zO]=ma(Z_,[VN]),za=VN(),X_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(nA,{...n,...r,modal:!0})};X_.displayName=Z_;var FO="AlertDialogTrigger",EO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(iA,{...i,...n,ref:e})});EO.displayName=FO;var HO="AlertDialogPortal",J_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(sA,{...n,...r})};J_.displayName=HO;var OO="AlertDialogOverlay",Y_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(DC,{...i,...n,ref:e})});Y_.displayName=OO;var Oo="AlertDialogContent",[VO,BO]=zO(Oo),UO=DO("AlertDialogContent"),K_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,o=za(r),c=v.useRef(null),l=Ce(e,c),d=v.useRef(null);return t.jsx(Fz,{contentName:Oo,titleName:Q_,docsSlug:"alert-dialog",children:t.jsx(VO,{scope:r,cancelRef:d,children:t.jsxs(zC,{role:"alertdialog",...o,...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(UO,{children:n}),t.jsx(GO,{contentRef:c})]})})})});K_.displayName=Oo;var Q_="AlertDialogTitle",eP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(FC,{...i,...n,ref:e})});eP.displayName=Q_;var tP="AlertDialogDescription",aP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(EC,{...i,...n,ref:e})});aP.displayName=tP;var $O="AlertDialogAction",rP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(HC,{...i,...n,ref:e})});rP.displayName=$O;var nP="AlertDialogCancel",iP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=BO(nP,r),o=za(r),c=Ce(e,i);return t.jsx(HC,{...o,...n,ref:c})});iP.displayName=nP;var GO=({contentRef:a})=>{const e=`\`${Oo}\` requires a description for the component to be accessible for screen reader users.
7811
+ `;function zF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=DF}){return t.jsx(XR,{allow:a,children:t.jsx(RF,{id:e,strategy:r,children:n})})}function VC(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 BC(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 o=i[0];let c,l;if("borderBoxSize"in o){const d=o.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 F9="Checkbox",[FF]=ma(F9),[EF,UC]=FF(F9);function HF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:o,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[f,m]=sr({prop:r,defaultProp:i??!1,onChange:d,caller:F9}),[g,y]=v.useState(null),[x,k]=v.useState(null),w=v.useRef(!1),M=g?!!c||!!g.closest("form"):!0,L={checked:f,disabled:o,setChecked:m,control:g,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:nr(i)?!1:i,isFormControl:M,bubbleInput:x,setBubbleInput:k};return t.jsx(EF,{scope:e,...L,children:OF(p)?p(L):n})}var fA="CheckboxTrigger",xA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:o,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:m,bubbleInput:g}=UC(fA,a),y=Ce(i,u),x=v.useRef(d);return v.useEffect(()=>{const k=o==null?void 0:o.form;if(k){const w=()=>p(x.current);return k.addEventListener("reset",w),()=>k.removeEventListener("reset",w)}},[o,p]),t.jsx(fe.button,{type:"button",role:"checkbox","aria-checked":nr(d)?"mixed":d,"aria-required":h,"data-state":MA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:ue(e,k=>{k.key==="Enter"&&k.preventDefault()}),onClick:ue(r,k=>{p(w=>nr(w)?!0:!w),g&&m&&(f.current=k.isPropagationStopped(),f.current||k.stopPropagation())})})});xA.displayName=fA;var $C=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(HF,{__scopeCheckbox:r,checked:i,defaultChecked:o,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(xA,{...p,ref:e,__scopeCheckbox:r}),f&&t.jsx(wA,{__scopeCheckbox:r})]})})});$C.displayName=F9;var gA="CheckboxIndicator",kA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,o=UC(gA,r);return t.jsx(ur,{present:n||nr(o.checked)||o.checked===!0,children:t.jsx(fe.span,{"data-state":MA(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});kA.displayName=gA;var vA="CheckboxBubbleInput",wA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:f,setBubbleInput:m}=UC(vA,a),g=Ce(r,m),y=VC(o),x=BC(n);v.useEffect(()=>{const w=f;if(!w)return;const M=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(M,"checked").set,I=!i.current;if(y!==o&&b){const S=new Event("click",{bubbles:I});w.indeterminate=nr(o),b.call(w,nr(o)?!1:o),w.dispatchEvent(S)}},[f,y,o,i]);const k=v.useRef(nr(o)?!1:o);return t.jsx(fe.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:g,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});wA.displayName=vA;function OF(a){return typeof a=="function"}function nr(a){return a==="indeterminate"}function MA(a){return nr(a)?"indeterminate":a?"checked":"unchecked"}const GC=v.forwardRef(({className:a,...e},r)=>t.jsx($C,{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(kA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(Mo,{className:"h-4 w-4"})})}));GC.displayName=$C.displayName;const VF=b9("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"}}),t1=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(VF({variant:e}),a),...r}));t1.displayName="Alert";const BF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));BF.displayName="AlertTitle";const a1=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));a1.displayName="AlertDescription";function UF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:o="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(""),[m,g]=j.useState(!1),y=x=>{x.preventDefault(),a(h,p,m)};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:o}),t.jsx(Ue,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(je,{className:"space-y-4",children:[i&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{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(Te,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(Lc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Te,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>f(x.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(GC,{id:"remember",checked:m,onCheckedChange:x=>g(x),disabled:n}),t.jsx(le,{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(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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 $F=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(UF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function GF({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:o="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(m,g)=>d(y=>({...y,[m]:g})),f=m=>{if(m.preventDefault(),u(""),"password"in l&&("confirmPassword"in l||"password2"in l)){const y=l.confirmPassword??l.password2;if(l.password!==y){u("Passwords do not match");return}}const g={...l};if("confirmPassword"in g&&!("password2"in g)&&(g.password2=g.confirmPassword,delete g.confirmPassword),"fullName"in g&&!("first_name"in g)&&!("last_name"in g)){const y=String(g.fullName||"").trim().split(/\s+/).filter(Boolean);y.length>0&&(g.first_name=y[0],y.length>1&&(g.last_name=y.slice(1).join(" "))),delete g.fullName}a(g)};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:o}),t.jsx(Ue,{children:c})]}),t.jsxs("form",{onSubmit:f,children:[t.jsxs(je,{className:"space-y-4",children:[(i||h)&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:i||h})]}),e.map(m=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:m.name,children:m.label}),t.jsx(Te,{id:m.name,type:m.type||"text",placeholder:m.placeholder,required:m.required,disabled:n,value:l[m.name]||"",onChange:g=>p(m.name,g.target.value)})]},m.name))]}),t.jsxs(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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 WF=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(GF,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})}),ZF=a=>{let e=0;return a.length>=8&&(e+=1),/[A-Z]/.test(a)&&(e+=1),/[a-z]/.test(a)&&(e+=1),/\d/.test(a)&&(e+=1),/[^A-Za-z0-9]/.test(a)&&(e+=1),a?e<=2?{label:"Weak",score:e}:e<=4?{label:"Good",score:e}:{label:"Strong",score:e}:{label:"",score:0}};function XF({onSubmit:a,fields:e,optionalFields:r=[],onLoginClick:n,isLoading:i=!1,error:o,title:c="Create Account",description:l="Join iGaming Career in seconds",privacyNote:d="We respect your privacy. Your data is protected and never shared without consent."}){const[h,u]=j.useState({}),[p,f]=j.useState(""),[m,g]=j.useState(!1),[y,x]=j.useState({}),k=j.useMemo(()=>{const S=e.find(C=>C.type==="password"||C.name==="password");return S&&h[S.name]||""},[e,h]),w=j.useMemo(()=>ZF(k),[k]),M=(S,C)=>u(N=>({...N,[S]:C})),L=S=>{if(S.preventDefault(),f(""),"password"in h&&("confirmPassword"in h||"password2"in h)){const N=h.confirmPassword??h.password2;if(h.password!==N){f("Passwords do not match");return}}const C={...h};if("confirmPassword"in C&&!("password2"in C)&&(C.password2=C.confirmPassword,delete C.confirmPassword),"fullName"in C&&!("first_name"in C)&&!("last_name"in C)){const N=String(C.fullName||"").trim().split(/\s+/).filter(Boolean);N.length>0&&(C.first_name=N[0],N.length>1&&(C.last_name=N.slice(1).join(" "))),delete C.fullName}a(C)},b=S=>t.jsx("button",{type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 text-xs font-medium text-muted-foreground hover:text-foreground",onClick:()=>x(C=>({...C,[S]:!C[S]})),disabled:i,children:y[S]?t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(vc,{className:"h-3.5 w-3.5"})," Hide"]}):t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(bo,{className:"h-3.5 w-3.5"})," Show"]})}),I=S=>{const C=S.type==="password"||S.name.toLowerCase().includes("password");return t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:S.name,children:S.label}),t.jsxs("div",{className:C?"relative":void 0,children:[t.jsx(Te,{id:S.name,type:C?y[S.name]?"text":"password":S.type||"text",placeholder:S.placeholder,required:S.required,disabled:i,value:h[S.name]||"",onChange:N=>M(S.name,N.target.value),className:C?"pr-20":void 0}),C?b(S.name):null]}),C&&S.name==="password"&&w.label?t.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[t.jsxs("span",{className:"inline-flex items-center gap-1",children:[t.jsx(_c,{className:"h-3.5 w-3.5"})," Strength:"]}),t.jsx("span",{className:w.label==="Weak"?"text-destructive":w.label==="Good"?"text-amber-500":"text-emerald-500",children:w.label})]}):null]},S.name)};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:c}),t.jsx(Ue,{children:l})]}),t.jsxs("form",{onSubmit:L,children:[t.jsxs(je,{className:"space-y-4",children:[(o||p)&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:o||p})]}),t.jsx("div",{className:"space-y-4",children:e.map(S=>I(S))}),r.length>0&&t.jsxs("div",{className:"space-y-3 pt-2",children:[t.jsx("button",{type:"button",onClick:()=>g(S=>!S),className:"text-sm font-medium text-accent hover:underline",disabled:i,children:m?"Hide optional details":"Complete your profile (optional)"}),m&&t.jsx("div",{className:"space-y-4 rounded-lg border border-dashed border-muted-foreground/40 p-4",children:r.map(S=>I(S))})]})]}),t.jsxs(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:i,children:i?"Creating account...":"Create Account"}),t.jsx("p",{className:"text-center text-xs text-muted-foreground",children:d}),n&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:n,className:"text-accent hover:underline font-medium",disabled:i,children:"Sign in"})]})]})]})]})}const JF=({onSubmit:a,fields:e,optionalFields:r,onLoginClick:n,isLoading:i=!1,error:o="",appName:c="Your App",logo:l,title:d="Create Account",description:h="Join iGaming Career in seconds",privacyNote:u})=>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:[l||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:c})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(XF,{onSubmit:a,fields:e,optionalFields:r,onLoginClick:n,isLoading:i,error:o,title:d,description:h,privacyNote:u})]})});function YF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:o="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(At,{className:"h-6 w-6 text-green-600"})})}),t.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Ue,{className:"text-center",children:l})]}),t.jsx(ao,{className:"flex flex-col space-y-4",children:e&&t.jsxs(U,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx(Gs,{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:o}),t.jsx(Ue,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(je,{className:"space-y-4",children:[n&&t.jsxs(t1,{variant:"destructive",children:[t.jsx(Nt,{className:"h-4 w-4"}),t.jsx(a1,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{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(Te,{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(ao,{className:"flex flex-col space-y-4",children:[t.jsx(U,{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(U,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const KF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:o="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:o})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(YF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function tS(a,[e,r]){return Math.min(r,Math.max(e,a))}const QF=["top","right","bottom","left"],dr=Math.min,_t=Math.max,f9=Math.round,f1=Math.floor,ua=a=>({x:a,y:a}),eE={left:"right",right:"left",bottom:"top",top:"bottom"},tE={start:"end",end:"start"};function Hj(a,e,r){return _t(a,dr(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function ec(a){return a.split("-")[1]}function WC(a){return a==="x"?"y":"x"}function ZC(a){return a==="y"?"height":"width"}const aE=new Set(["top","bottom"]);function la(a){return aE.has(qa(a))?"y":"x"}function XC(a){return WC(la(a))}function rE(a,e,r){r===void 0&&(r=!1);const n=ec(a),i=XC(a),o=ZC(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=x9(c)),[c,x9(c)]}function nE(a){const e=x9(a);return[Oj(a),e,Oj(e)]}function Oj(a){return a.replace(/start|end/g,e=>tE[e])}const aS=["left","right"],rS=["right","left"],iE=["top","bottom"],sE=["bottom","top"];function oE(a,e,r){switch(a){case"top":case"bottom":return r?e?rS:aS:e?aS:rS;case"left":case"right":return e?iE:sE;default:return[]}}function cE(a,e,r,n){const i=ec(a);let o=oE(qa(a),r==="start",n);return i&&(o=o.map(c=>c+"-"+i),e&&(o=o.concat(o.map(Oj)))),o}function x9(a){return a.replace(/left|right|bottom|top/g,e=>eE[e])}function lE(a){return{top:0,right:0,bottom:0,left:0,...a}}function bA(a){return typeof a!="number"?lE(a):{top:a,right:a,bottom:a,left:a}}function g9(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 nS(a,e,r){let{reference:n,floating:i}=a;const o=la(e),c=XC(e),l=ZC(c),d=qa(e),h=o==="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 m;switch(d){case"top":m={x:u,y:n.y-i.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:p};break;case"left":m={x:n.x-i.width,y:p};break;default:m={x:n.x,y:n.y}}switch(ec(e)){case"start":m[c]-=f*(r&&h?-1:1);break;case"end":m[c]+=f*(r&&h?-1:1);break}return m}const dE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:c}=r,l=o.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}=nS(h,n,d),f=n,m={},g=0;for(let y=0;y<l.length;y++){const{name:x,fn:k}=l[y],{x:w,y:M,data:L,reset:b}=await k({x:u,y:p,initialPlacement:n,placement:f,strategy:i,middlewareData:m,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,m={...m,[x]:{...m[x],...L}},b&&g<=50&&(g++,typeof b=="object"&&(b.placement&&(f=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):b.rects),{x:u,y:p}=nS(h,f,d)),y=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:m}};async function Xc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:m=0}=Pa(e,a),g=bA(m),x=l[f?p==="floating"?"reference":"floating":p],k=g9(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(x)))==null||r?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.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(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),L=await(o.isElement==null?void 0:o.isElement(M))?await(o.getScale==null?void 0:o.getScale(M))||{x:1,y:1}:{x:1,y:1},b=g9(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(k.top-b.top+g.top)/L.y,bottom:(b.bottom-k.bottom+g.bottom)/L.y,left:(k.left-b.left+g.left)/L.x,right:(b.right-k.right+g.right)/L.x}}const hE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=bA(u),f={x:r,y:n},m=XC(i),g=ZC(m),y=await c.getDimensions(h),x=m==="y",k=x?"top":"left",w=x?"bottom":"right",M=x?"clientHeight":"clientWidth",L=o.reference[g]+o.reference[m]-f[m]-o.floating[g],b=f[m]-o.reference[m],I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=I?I[M]:0;(!S||!await(c.isElement==null?void 0:c.isElement(I)))&&(S=l.floating[M]||o.floating[g]);const C=L/2-b/2,N=S/2-y[g]/2-1,q=dr(p[k],N),R=dr(p[w],N),D=q,_=S-y[g]-R,T=S/2-y[g]/2+C,z=Hj(D,T,_),V=!d.arrow&&ec(i)!=null&&T!==z&&o.reference[g]/2-(T<D?q:R)-y[g]/2<0,G=V?T<D?T-D:T-_:0;return{[m]:f[m]+G,data:{[m]:z,centerOffset:T-z-G,...V&&{alignmentOffset:G}},reset:V}}}),uE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=Pa(a,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const k=qa(i),w=la(l),M=qa(l)===l,L=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=f||(M||!y?[x9(l)]:nE(l)),I=g!=="none";!f&&I&&b.push(...cE(l,y,g,L));const S=[l,...b],C=await Xc(e,x),N=[];let q=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&N.push(C[k]),p){const T=rE(i,c,L);N.push(C[T[0]],C[T[1]])}if(q=[...q,{placement:i,overflows:N}],!N.every(T=>T<=0)){var R,D;const T=(((R=o.flip)==null?void 0:R.index)||0)+1,z=S[T];if(z&&(!(p==="alignment"?w!==la(z):!1)||q.every(E=>la(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:T,overflows:q},reset:{placement:z}};let V=(D=q.filter(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(m){case"bestFit":{var _;const G=(_=q.filter(E=>{if(I){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];G&&(V=G);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function iS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function sS(a){return QF.some(e=>a[e]>=0)}const pE=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 o=await Xc(e,{...i,elementContext:"reference"}),c=iS(o,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:sS(c)}}}case"escaped":{const o=await Xc(e,{...i,altBoundary:!0}),c=iS(o,r.floating);return{data:{escapedOffsets:c,escaped:sS(c)}}}default:return{}}}}},jA=new Set(["left","top"]);async function yE(a,e){const{placement:r,platform:n,elements:i}=a,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=ec(r),d=la(r)==="y",h=jA.has(c)?-1:1,u=o&&d?-1:1,p=Pa(e,a);let{mainAxis:f,crossAxis:m,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(m=l==="end"?g*-1:g),d?{x:m*u,y:f*h}:{x:f*h,y:m*u}}const mE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:o,placement:c,middlewareData:l}=e,d=await yE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:o+d.y,data:{...d,placement:c}}}}},fE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:k,y:w}=x;return{x:k,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Xc(e,d),p=la(qa(i)),f=WC(p);let m=h[f],g=h[p];if(o){const x=f==="y"?"top":"left",k=f==="y"?"bottom":"right",w=m+u[x],M=m-u[k];m=Hj(w,m,M)}if(c){const x=p==="y"?"top":"left",k=p==="y"?"bottom":"right",w=g+u[x],M=g-u[k];g=Hj(w,g,M)}const y=l.fn({...e,[f]:m,[p]:g});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:o,[p]:c}}}}}},xE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),f=WC(p);let m=u[f],g=u[p];const y=Pa(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=f==="y"?"height":"width",L=o.reference[f]-o.floating[M]+x.mainAxis,b=o.reference[f]+o.reference[M]-x.mainAxis;m<L?m=L:m>b&&(m=b)}if(h){var k,w;const M=f==="y"?"width":"height",L=jA.has(qa(i)),b=o.reference[p]-o.floating[M]+(L&&((k=c.offset)==null?void 0:k[p])||0)+(L?0:x.crossAxis),I=o.reference[p]+o.reference[M]+(L?0:((w=c.offset)==null?void 0:w[p])||0)-(L?x.crossAxis:0);g<b?g=b:g>I&&(g=I)}return{[f]:m,[p]:g}}}},gE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:o,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Xc(e,h),p=qa(i),f=ec(i),m=la(i)==="y",{width:g,height:y}=o.floating;let x,k;p==="top"||p==="bottom"?(x=p,k=f===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(k=p,x=f==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=g-u.left-u.right,L=dr(y-u[x],w),b=dr(g-u[k],M),I=!e.middlewareData.shift;let S=L,C=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(C=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=w),I&&!f){const q=_t(u.left,0),R=_t(u.right,0),D=_t(u.top,0),_=_t(u.bottom,0);m?C=g-2*(q!==0||R!==0?q+R:_t(u.left,u.right)):S=y-2*(D!==0||_!==0?D+_:_t(u.top,u.bottom))}await d({...e,availableWidth:C,availableHeight:S});const N=await c.getDimensions(l.floating);return g!==N.width||y!==N.height?{reset:{rects:!0}}:{}}}};function E9(){return typeof window<"u"}function tc(a){return CA(a)?(a.nodeName||"").toLowerCase():"#document"}function zt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(CA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function CA(a){return E9()?a instanceof Node||a instanceof zt(a).Node:!1}function ea(a){return E9()?a instanceof Element||a instanceof zt(a).Element:!1}function ya(a){return E9()?a instanceof HTMLElement||a instanceof zt(a).HTMLElement:!1}function oS(a){return!E9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof zt(a).ShadowRoot}const kE=new Set(["inline","contents"]);function r1(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!kE.has(i)}const vE=new Set(["table","td","th"]);function wE(a){return vE.has(tc(a))}const ME=[":popover-open",":modal"];function H9(a){return ME.some(e=>{try{return a.matches(e)}catch{return!1}})}const bE=["transform","translate","scale","rotate","perspective"],jE=["transform","translate","scale","rotate","perspective","filter"],CE=["paint","layout","strict","content"];function JC(a){const e=YC(),r=ea(a)?ta(a):a;return bE.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)||jE.some(n=>(r.willChange||"").includes(n))||CE.some(n=>(r.contain||"").includes(n))}function LE(a){let e=hr(a);for(;ya(e)&&!Zo(e);){if(JC(e))return e;if(H9(e))return null;e=hr(e)}return null}function YC(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const SE=new Set(["html","body","#document"]);function Zo(a){return SE.has(tc(a))}function ta(a){return zt(a).getComputedStyle(a)}function O9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function hr(a){if(tc(a)==="html")return a;const e=a.assignedSlot||a.parentNode||oS(a)&&a.host||fa(a);return oS(e)?e.host:e}function LA(a){const e=hr(a);return Zo(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&r1(e)?e:LA(e)}function Jc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=LA(a),o=i===((n=a.ownerDocument)==null?void 0:n.body),c=zt(i);if(o){const l=Vj(c);return e.concat(c,c.visualViewport||[],r1(i)?i:[],l&&r?Jc(l):[])}return e.concat(i,Jc(i,[],r))}function Vj(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function SA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),o=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=f9(r)!==o||f9(n)!==c;return l&&(r=o,n=c),{width:r,height:n,$:l}}function KC(a){return ea(a)?a:a.contextElement}function Ho(a){const e=KC(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=SA(e);let c=(o?f9(r.width):r.width)/n,l=(o?f9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const IE=ua(0);function IA(a){const e=zt(a);return!YC()||!e.visualViewport?IE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function NE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==zt(a)?!1:e}function no(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),o=KC(a);let c=ua(1);e&&(n?ea(n)&&(c=Ho(n)):c=Ho(a));const l=NE(o,r,n)?IA(o):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(o){const f=zt(o),m=n&&ea(n)?zt(n):n;let g=f,y=Vj(g);for(;y&&n&&m!==g;){const x=Ho(y),k=y.getBoundingClientRect(),w=ta(y),M=k.left+(y.clientLeft+parseFloat(w.paddingLeft))*x.x,L=k.top+(y.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=M,h+=L,g=zt(y),y=Vj(g)}}return g9({width:u,height:p,x:d,y:h})}function V9(a,e){const r=O9(a).scrollLeft;return e?e.left+r:no(fa(a)).left+r}function NA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-V9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function AE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const o=i==="fixed",c=fa(n),l=e?H9(e.floating):!1;if(n===c||l&&o)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!o)&&((tc(n)!=="body"||r1(c))&&(d=O9(n)),ya(n))){const m=no(n);h=Ho(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const f=c&&!p&&!o?NA(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 _E(a){return Array.from(a.getClientRects())}function PE(a){const e=fa(a),r=O9(a),n=a.ownerDocument.body,i=_t(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=_t(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+V9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=_t(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:c,y:l}}const cS=25;function qE(a,e){const r=zt(a),n=fa(a),i=r.visualViewport;let o=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){o=i.width,c=i.height;const u=YC();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=V9(n);if(h<=0){const u=n.ownerDocument,p=u.body,f=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-m);g<=cS&&(o-=g)}else h<=cS&&(o+=h);return{width:o,height:c,x:l,y:d}}const TE=new Set(["absolute","fixed"]);function RE(a,e){const r=no(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,o=ya(a)?Ho(a):ua(1),c=a.clientWidth*o.x,l=a.clientHeight*o.y,d=i*o.x,h=n*o.y;return{width:c,height:l,x:d,y:h}}function lS(a,e,r){let n;if(e==="viewport")n=qE(a,r);else if(e==="document")n=PE(fa(a));else if(ea(e))n=RE(e,r);else{const i=IA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return g9(n)}function AA(a,e){const r=hr(a);return r===e||!ea(r)||Zo(r)?!1:ta(r).position==="fixed"||AA(r,e)}function DE(a,e){const r=e.get(a);if(r)return r;let n=Jc(a,[],!1).filter(l=>ea(l)&&tc(l)!=="body"),i=null;const o=ta(a).position==="fixed";let c=o?hr(a):a;for(;ea(c)&&!Zo(c);){const l=ta(c),d=JC(c);!d&&l.position==="fixed"&&(i=null),(o?!d&&!i:!d&&l.position==="static"&&!!i&&TE.has(i.position)||r1(c)&&!d&&AA(a,c))?n=n.filter(u=>u!==c):i=l,c=hr(c)}return e.set(a,n),n}function zE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?H9(e)?[]:DE(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=lS(e,u,i);return h.top=_t(p.top,h.top),h.right=dr(p.right,h.right),h.bottom=dr(p.bottom,h.bottom),h.left=_t(p.left,h.left),h},lS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function FE(a){const{width:e,height:r}=SA(a);return{width:e,height:r}}function EE(a,e,r){const n=ya(e),i=fa(e),o=r==="fixed",c=no(a,!0,o,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=V9(i)}if(n||!n&&!o)if((tc(e)!=="body"||r1(i))&&(l=O9(e)),n){const m=no(e,!0,o,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}else i&&h();o&&!n&&i&&h();const u=i&&!n&&!o?NA(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 gj(a){return ta(a).position==="static"}function dS(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 _A(a,e){const r=zt(a);if(H9(a))return r;if(!ya(a)){let i=hr(a);for(;i&&!Zo(i);){if(ea(i)&&!gj(i))return i;i=hr(i)}return r}let n=dS(a,e);for(;n&&wE(n)&&gj(n);)n=dS(n,e);return n&&Zo(n)&&gj(n)&&!JC(n)?r:n||LE(a)||r}const HE=async function(a){const e=this.getOffsetParent||_A,r=this.getDimensions,n=await r(a.floating);return{reference:EE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function OE(a){return ta(a).direction==="rtl"}const VE={convertOffsetParentRelativeRectToViewportRelativeRect:AE,getDocumentElement:fa,getClippingRect:zE,getOffsetParent:_A,getElementRects:HE,getClientRects:_E,getDimensions:FE,getScale:Ho,isElement:ea,isRTL:OE};function PA(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function BE(a,e){let r=null,n;const i=fa(a);function o(){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),o();const h=a.getBoundingClientRect(),{left:u,top:p,width:f,height:m}=h;if(l||e(),!f||!m)return;const g=f1(p),y=f1(i.clientWidth-(u+f)),x=f1(i.clientHeight-(p+m)),k=f1(u),M={rootMargin:-g+"px "+-y+"px "+-x+"px "+-k+"px",threshold:_t(0,dr(1,d))||1};let L=!0;function b(I){const S=I[0].intersectionRatio;if(S!==d){if(!L)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!PA(h,a.getBoundingClientRect())&&c(),L=!1}try{r=new IntersectionObserver(b,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(b,M)}r.observe(a)}return c(!0),o}function UE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=KC(a),u=i||o?[...h?Jc(h):[],...Jc(e)]:[];u.forEach(k=>{i&&k.addEventListener("scroll",r,{passive:!0}),o&&k.addEventListener("resize",r)});const p=h&&l?BE(h,r):null;let f=-1,m=null;c&&(m=new ResizeObserver(k=>{let[w]=k;w&&w.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var M;(M=m)==null||M.observe(e)})),r()}),h&&!d&&m.observe(h),m.observe(e));let g,y=d?no(a):null;d&&x();function x(){const k=no(a);y&&!PA(y,k)&&r(),y=k,g=requestAnimationFrame(x)}return r(),()=>{var k;u.forEach(w=>{i&&w.removeEventListener("scroll",r),o&&w.removeEventListener("resize",r)}),p==null||p(),(k=m)==null||k.disconnect(),m=null,d&&cancelAnimationFrame(g)}}const $E=mE,GE=fE,WE=uE,ZE=gE,XE=pE,hS=hE,JE=xE,YE=(a,e,r)=>{const n=new Map,i={platform:VE,...r},o={...i.platform,_c:n};return dE(a,e,{...i,platform:o})};var KE=typeof document<"u",QE=function(){},s9=KE?j.useLayoutEffect:QE;function k9(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(!k9(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 o=i[n];if(!(o==="_owner"&&a.$$typeof)&&!k9(a[o],e[o]))return!1}return!0}return a!==a&&e!==e}function qA(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function uS(a,e){const r=qA(a);return Math.round(e*r)/r}function kj(a){const e=v.useRef(a);return s9(()=>{e.current=a}),e}function eH(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,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,m]=v.useState(n);k9(f,n)||m(n);const[g,y]=v.useState(null),[x,k]=v.useState(null),w=v.useCallback(E=>{E!==I.current&&(I.current=E,y(E))},[]),M=v.useCallback(E=>{E!==S.current&&(S.current=E,k(E))},[]),L=o||g,b=c||x,I=v.useRef(null),S=v.useRef(null),C=v.useRef(u),N=d!=null,q=kj(d),R=kj(i),D=kj(h),_=v.useCallback(()=>{if(!I.current||!S.current)return;const E={placement:e,strategy:r,middleware:f};R.current&&(E.platform=R.current),YE(I.current,S.current,E).then(re=>{const ne={...re,isPositioned:D.current!==!1};T.current&&!k9(C.current,ne)&&(C.current=ne,M9.flushSync(()=>{p(ne)}))})},[f,e,r,R,D]);s9(()=>{h===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const T=v.useRef(!1);s9(()=>(T.current=!0,()=>{T.current=!1}),[]),s9(()=>{if(L&&(I.current=L),b&&(S.current=b),L&&b){if(q.current)return q.current(L,b,_);_()}},[L,b,_,q,N]);const z=v.useMemo(()=>({reference:I,floating:S,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:L,floating:b}),[L,b]),G=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=uS(V.floating,u.x),ne=uS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",...qA(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:G}),[u,_,z,V,G])}const tH=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?hS({element:n.current,padding:i}).fn(r):{}:n?hS({element:n,padding:i}).fn(r):{}}}},aH=(a,e)=>({...$E(a),options:[a,e]}),rH=(a,e)=>({...GE(a),options:[a,e]}),nH=(a,e)=>({...JE(a),options:[a,e]}),iH=(a,e)=>({...WE(a),options:[a,e]}),sH=(a,e)=>({...ZE(a),options:[a,e]}),oH=(a,e)=>({...XE(a),options:[a,e]}),cH=(a,e)=>({...tH(a),options:[a,e]});var lH="Arrow",TA=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...o}=a;return t.jsx(fe.svg,{...o,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"})})});TA.displayName=lH;var dH=TA,QC="Popper",[RA,B9]=ma(QC),[hH,DA]=RA(QC),zA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(hH,{scope:e,anchor:n,onAnchorChange:i,children:r})};zA.displayName=QC;var FA="PopperAnchor",EA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,o=DA(FA,r),c=v.useRef(null),l=Ce(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&&o.onAnchorChange(d.current)}),n?null:t.jsx(fe.div,{...i,ref:l})});EA.displayName=FA;var eL="PopperContent",[uH,pH]=RA(eL),HA=v.forwardRef((a,e)=>{var W,Q,pe,he,me,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:g,...y}=a,x=DA(eL,r),[k,w]=v.useState(null),M=Ce(e,Pe=>w(Pe)),[L,b]=v.useState(null),I=BC(L),S=(I==null?void 0:I.width)??0,C=(I==null?void 0:I.height)??0,N=n+(o!=="center"?"-"+o:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},R=Array.isArray(h)?h:[h],D=R.length>0,_={padding:q,boundary:R.filter(mH),altBoundary:D},{refs:T,floatingStyles:z,placement:V,isPositioned:G,middlewareData:E}=eH({strategy:"fixed",placement:N,whileElementsMounted:(...Pe)=>UE(...Pe,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[aH({mainAxis:i+C,alignmentAxis:c}),d&&rH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?nH():void 0,..._}),d&&iH({..._}),sH({..._,apply:({elements:Pe,rects:qe,availableWidth:Qe,availableHeight:st})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Qe}px`),ot.setProperty("--radix-popper-available-height",`${st}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),L&&cH({element:L,padding:l}),fH({arrowWidth:S,arrowHeight:C}),f&&oH({strategy:"referenceHidden",..._})]}),[re,ne]=BA(V),oe=ir(g);pt(()=>{G&&(oe==null||oe())},[G,oe]);const ae=(W=E.arrow)==null?void 0:W.x,se=(Q=E.arrow)==null?void 0:Q.y,ee=((pe=E.arrow)==null?void 0:pe.centerOffset)!==0,[de,ve]=v.useState();return pt(()=>{k&&ve(window.getComputedStyle(k).zIndex)},[k]),t.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:G?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[(he=E.transformOrigin)==null?void 0:he.x,(me=E.transformOrigin)==null?void 0:me.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(uH,{scope:r,placedSide:re,onArrowChange:b,arrowX:ae,arrowY:se,shouldHideArrow:ee,children:t.jsx(fe.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:G?void 0:"none"}})})})});HA.displayName=eL;var OA="PopperArrow",yH={top:"bottom",right:"left",bottom:"top",left:"right"},VA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,o=pH(OA,n),c=yH[o.placedSide];return t.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:t.jsx(dH,{...i,ref:r,style:{...i.style,display:"block"}})})});VA.displayName=OA;function mH(a){return a!==null}var fH=a=>({name:"transformOrigin",options:a,fn(e){var x,k,w;const{placement:r,rects:n,middlewareData:i}=e,c=((x=i.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=BA(r),p={start:"0%",center:"50%",end:"100%"}[u],f=(((k=i.arrow)==null?void 0:k.x)??0)+l/2,m=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let g="",y="";return h==="bottom"?(g=c?p:`${f}px`,y=`${-d}px`):h==="top"?(g=c?p:`${f}px`,y=`${n.floating.height+d}px`):h==="right"?(g=`${-d}px`,y=c?p:`${m}px`):h==="left"&&(g=`${n.floating.width+d}px`,y=c?p:`${m}px`),{data:{x:g,y}}}});function BA(a){const[e,r="center"]=a.split("-");return[e,r]}var UA=zA,tL=EA,$A=HA,GA=VA;function xH(a){const e=gH(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(vH);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:o})});return r.displayName=`${a}.Slot`,r}function gH(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=MH(i),l=wH(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 kH=Symbol("radix.slottable");function vH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===kH}function wH(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function MH(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 WA=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"}),bH="VisuallyHidden",jH=v.forwardRef((a,e)=>t.jsx(fe.span,{...a,ref:e,style:{...WA,...a.style}}));jH.displayName=bH;var CH=[" ","Enter","ArrowUp","ArrowDown"],LH=[" ","Enter"],io="Select",[U9,$9,SH]=AS(io),[ac]=ma(io,[SH,B9]),G9=B9(),[IH,xr]=ac(io),[NH,AH]=ac(io),ZA=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:o,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:f,required:m,form:g}=a,y=G9(e),[x,k]=v.useState(null),[w,M]=v.useState(null),[L,b]=v.useState(!1),I=eC(h),[S,C]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:io}),[N,q]=sr({prop:c,defaultProp:l,onChange:d,caller:io}),R=v.useRef(null),D=x?g||!!x.closest("form"):!0,[_,T]=v.useState(new Set),z=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(UA,{...y,children:t.jsxs(IH,{required:m,scope:e,trigger:x,onTriggerChange:k,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:L,onValueNodeHasChildrenChange:b,contentId:Na(),value:N,onValueChange:q,open:S,onOpenChange:C,dir:I,triggerPointerDownPosRef:R,disabled:f,children:[t.jsx(U9.Provider,{scope:e,children:t.jsx(NH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{T(G=>new Set(G).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{T(G=>{const E=new Set(G);return E.delete(V),E})},[]),children:r})}),D?t.jsxs(g_,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:V=>q(V.target.value),disabled:f,form:g,children:[N===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},z):null]})})};ZA.displayName=io;var XA="SelectTrigger",JA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,o=G9(r),c=xr(XA,r),l=c.disabled||n,d=Ce(e,c.onTriggerChange),h=$9(r),u=v.useRef("touch"),[p,f,m]=v_(y=>{const x=h().filter(M=>!M.disabled),k=x.find(M=>M.value===c.value),w=w_(x,y,k);w!==void 0&&c.onValueChange(w.value)}),g=y=>{l||(c.onOpenChange(!0),m()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(tL,{asChild:!0,...o,children:t.jsx(fe.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":k_(c.value)?"":void 0,...i,ref:d,onClick:ue(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&g(y)}),onPointerDown:ue(i.onPointerDown,y=>{u.current=y.pointerType;const x=y.target;x.hasPointerCapture(y.pointerId)&&x.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(g(y),y.preventDefault())}),onKeyDown:ue(i.onKeyDown,y=>{const x=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(x&&y.key===" ")&&CH.includes(y.key)&&(g(),y.preventDefault())})})})});JA.displayName=XA;var YA="SelectValue",KA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:o,placeholder:c="",...l}=a,d=xr(YA,r),{onValueNodeHasChildrenChange:h}=d,u=o!==void 0,p=Ce(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(fe.span,{...l,ref:p,style:{pointerEvents:"none"},children:k_(d.value)?t.jsx(t.Fragment,{children:c}):o})});KA.displayName=YA;var _H="SelectIcon",QA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(fe.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});QA.displayName=_H;var PH="SelectPortal",e_=a=>t.jsx(P9,{asChild:!0,...a});e_.displayName=PH;var so="SelectContent",t_=v.forwardRef((a,e)=>{const r=xr(so,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const o=n;return o?M9.createPortal(t.jsx(a_,{scope:a.__scopeSelect,children:t.jsx(U9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),o):null}return t.jsx(r_,{...a,ref:e})});t_.displayName=so;var Yt=10,[a_,gr]=ac(so),qH="SelectContentImpl",TH=xH("SelectContent.RemoveScroll"),r_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:x,...k}=a,w=xr(so,r),[M,L]=v.useState(null),[b,I]=v.useState(null),S=Ce(e,W=>L(W)),[C,N]=v.useState(null),[q,R]=v.useState(null),D=$9(r),[_,T]=v.useState(!1),z=v.useRef(!1);v.useEffect(()=>{if(M)return PC(M)},[M]),_C();const V=v.useCallback(W=>{const[Q,...pe]=D().map(ie=>ie.ref.current),[he]=pe.slice(-1),me=document.activeElement;for(const ie of W)if(ie===me||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&b&&(b.scrollTop=0),ie===he&&b&&(b.scrollTop=b.scrollHeight),ie==null||ie.focus(),document.activeElement!==me))return},[D,b]),G=v.useCallback(()=>V([C,M]),[V,C,M]);v.useEffect(()=>{_&&G()},[_,G]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=he=>{var me,ie;W={x:Math.abs(Math.round(he.pageX)-(((me=re.current)==null?void 0:me.x)??0)),y:Math.abs(Math.round(he.pageY)-(((ie=re.current)==null?void 0:ie.y)??0))}},pe=he=>{W.x<=10&&W.y<=10?he.preventDefault():M.contains(he.target)||E(!1),document.removeEventListener("pointermove",Q),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",pe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",pe,{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,oe]=v_(W=>{const Q=D().filter(me=>!me.disabled),pe=Q.find(me=>me.ref.current===document.activeElement),he=w_(Q,W,pe);he&&setTimeout(()=>he.ref.current.focus())}),ae=v.useCallback((W,Q,pe)=>{const he=!z.current&&!pe;(w.value!==void 0&&w.value===Q||he)&&(N(W),he&&(z.current=!0))},[w.value]),se=v.useCallback(()=>M==null?void 0:M.focus(),[M]),ee=v.useCallback((W,Q,pe)=>{const he=!z.current&&!pe;(w.value!==void 0&&w.value===Q||he)&&R(W)},[w.value]),de=n==="popper"?Bj:n_,ve=de===Bj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:g,hideWhenDetached:y,avoidCollisions:x}:{};return t.jsx(a_,{scope:r,content:M,viewport:b,onViewportChange:I,itemRefCallback:ae,selectedItem:C,onItemLeave:se,itemTextRefCallback:ee,focusSelectedItem:G,selectedItemText:q,position:n,isPositioned:_,searchRef:ne,children:t.jsx(T9,{as:TH,allowPinchZoom:!0,children:t.jsx(_9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:ue(i,W=>{var Q;(Q=w.trigger)==null||Q.focus({preventScroll:!0}),W.preventDefault()}),children:t.jsx(A9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:t.jsx(de,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...k,...ve,onPlaced:()=>T(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:ue(k.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&oe(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let he=D().filter(me=>!me.disabled).map(me=>me.ref.current);if(["ArrowUp","End"].includes(W.key)&&(he=he.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const me=W.target,ie=he.indexOf(me);he=he.slice(ie+1)}setTimeout(()=>V(he)),W.preventDefault()}})})})})})})});r_.displayName=qH;var RH="SelectItemAlignedPosition",n_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,o=xr(so,r),c=gr(so,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=Ce(e,S=>u(S)),f=$9(r),m=v.useRef(!1),g=v.useRef(!0),{viewport:y,selectedItem:x,selectedItemText:k,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&h&&y&&x&&k){const S=o.trigger.getBoundingClientRect(),C=h.getBoundingClientRect(),N=o.valueNode.getBoundingClientRect(),q=k.getBoundingClientRect();if(o.dir!=="rtl"){const me=q.left-C.left,ie=N.left-me,Pe=S.left-ie,qe=S.width+Pe,Qe=Math.max(qe,C.width),st=window.innerWidth-Yt,yt=tS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const me=C.right-q.right,ie=window.innerWidth-N.right-me,Pe=window.innerWidth-S.right-ie,qe=S.width+Pe,Qe=Math.max(qe,C.width),st=window.innerWidth-Yt,yt=tS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.right=yt+"px"}const R=f(),D=window.innerHeight-Yt*2,_=y.scrollHeight,T=window.getComputedStyle(h),z=parseInt(T.borderTopWidth,10),V=parseInt(T.paddingTop,10),G=parseInt(T.borderBottomWidth,10),E=parseInt(T.paddingBottom,10),re=z+V+_+E+G,ne=Math.min(x.offsetHeight*5,re),oe=window.getComputedStyle(y),ae=parseInt(oe.paddingTop,10),se=parseInt(oe.paddingBottom,10),ee=S.top+S.height/2-Yt,de=D-ee,ve=x.offsetHeight/2,W=x.offsetTop+ve,Q=z+V+W,pe=re-Q;if(Q<=ee){const me=R.length>0&&x===R[R.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(de,ve+(me?se:0)+ie+G),qe=Q+Pe;l.style.height=qe+"px"}else{const me=R.length>0&&x===R[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,z+y.offsetTop+(me?ae:0)+ve)+pe;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(()=>m.current=!0)}},[f,o.trigger,o.valueNode,l,h,y,x,k,o.dir,n]);pt(()=>M(),[M]);const[L,b]=v.useState();pt(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const I=v.useCallback(S=>{S&&g.current===!0&&(M(),w==null||w(),g.current=!1)},[M,w]);return t.jsx(zH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:m,onScrollButtonChange:I,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:t.jsx(fe.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});n_.displayName=RH;var DH="SelectPopperPosition",Bj=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...o}=a,c=G9(r);return t.jsx($A,{...c,...o,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.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)"}})});Bj.displayName=DH;var[zH,aL]=ac(so,{}),Uj="SelectViewport",i_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,o=gr(Uj,r),c=aL(Uj,r),l=Ce(e,o.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(U9.Slot,{scope:r,children:t.jsx(fe.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:ue(i.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=c;if(f!=null&&f.current&&p){const m=Math.abs(d.current-u.scrollTop);if(m>0){const g=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),k=Math.max(y,x);if(k<g){const w=k+m,M=Math.min(g,w),L=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=L>0?L:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});i_.displayName=Uj;var s_="SelectGroup",[FH,EH]=ac(s_),HH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(FH,{scope:r,id:i,children:t.jsx(fe.div,{role:"group","aria-labelledby":i,...n,ref:e})})});HH.displayName=s_;var o_="SelectLabel",c_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=EH(o_,r);return t.jsx(fe.div,{id:i.id,...n,ref:e})});c_.displayName=o_;var v9="SelectItem",[OH,l_]=ac(v9),d_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...c}=a,l=xr(v9,r),d=gr(v9,r),h=l.value===n,[u,p]=v.useState(o??""),[f,m]=v.useState(!1),g=Ce(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),x=v.useRef("touch"),k=()=>{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(OH,{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(U9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(fe.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:g,onFocus:ue(c.onFocus,()=>m(!0)),onBlur:ue(c.onBlur,()=>m(!1)),onClick:ue(c.onClick,()=>{x.current!=="mouse"&&k()}),onPointerUp:ue(c.onPointerUp,()=>{x.current==="mouse"&&k()}),onPointerDown:ue(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:ue(c.onPointerMove,w=>{var M;x.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ue(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:ue(c.onKeyDown,w=>{var L;((L=d.searchRef)==null?void 0:L.current)!==""&&w.key===" "||(LH.includes(w.key)&&k(),w.key===" "&&w.preventDefault())})})})})});d_.displayName=v9;var uc="SelectItemText",h_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...o}=a,c=xr(uc,r),l=gr(uc,r),d=l_(uc,r),h=AH(uc,r),[u,p]=v.useState(null),f=Ce(e,k=>p(k),d.onItemTextChange,k=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,k,d.value,d.disabled)}),m=u==null?void 0:u.textContent,g=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:x}=h;return pt(()=>(y(g),()=>x(g)),[y,x,g]),t.jsxs(t.Fragment,{children:[t.jsx(fe.span,{id:d.textId,...o,ref:f}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?M9.createPortal(o.children,c.valueNode):null]})});h_.displayName=uc;var u_="SelectItemIndicator",p_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return l_(u_,r).isSelected?t.jsx(fe.span,{"aria-hidden":!0,...n,ref:e}):null});p_.displayName=u_;var $j="SelectScrollUpButton",y_=v.forwardRef((a,e)=>{const r=gr($j,a.__scopeSelect),n=aL($j,a.__scopeSelect),[i,o]=v.useState(!1),c=Ce(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;o(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(f_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});y_.displayName=$j;var Gj="SelectScrollDownButton",m_=v.forwardRef((a,e)=>{const r=gr(Gj,a.__scopeSelect),n=aL(Gj,a.__scopeSelect),[i,o]=v.useState(!1),c=Ce(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;o(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(f_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});m_.displayName=Gj;var f_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,o=gr("SelectScrollButton",r),c=v.useRef(null),l=$9(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(fe.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:ue(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:ue(i.onPointerMove,()=>{var h;(h=o.onItemLeave)==null||h.call(o),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:ue(i.onPointerLeave,()=>{d()})})}),VH="SelectSeparator",x_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(fe.div,{"aria-hidden":!0,...n,ref:e})});x_.displayName=VH;var Wj="SelectArrow",BH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=G9(r),o=xr(Wj,r),c=gr(Wj,r);return o.open&&c.position==="popper"?t.jsx(GA,{...i,...n,ref:e}):null});BH.displayName=Wj;var UH="SelectBubbleInput",g_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),o=Ce(n,i),c=VC(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(fe.select,{...r,style:{...WA,...r.style},ref:o,defaultValue:e})});g_.displayName=UH;function k_(a){return a===""||a===void 0}function v_(a){const e=ir(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]),o=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function w_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,o=r?a.indexOf(r):-1;let c=$H(a,Math.max(o,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 $H(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var GH=ZA,M_=JA,WH=KA,ZH=QA,XH=e_,b_=t_,JH=i_,j_=c_,C_=d_,YH=h_,KH=p_,L_=y_,S_=m_,rL=x_;const QH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],eO=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},tO=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:o,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=eO(o),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(mr,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(Ta,{className:"sm:max-w-lg",children:[t.jsxs(fr,{className:"space-y-2",children:[t.jsxs(Da,{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(Nt,{className:"h-5 w-5"})}),c]}),t.jsx(z9,{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(Xa,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:QH.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(rL,{className:"my-4"}),t.jsxs(Ra,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx(U,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx(U,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx(U,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},aO=[{icon:bc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:Po,label:"Settings",path:"/dashboard/settings"}];function rO({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:o=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:aO.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(U,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(Sc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const nO=b9("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 at({className:a,variant:e,...r}){return t.jsx("div",{className:ce(nO({variant:e}),a),...r})}function iO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:o,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(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>o(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx(U,{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(at,{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(wo,{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(Ue,{children:u.description})]}),t.jsxs(je,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(f=>t.jsx(at,{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(Ys,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(je,{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(je,{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(at,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var W9="Switch",[sO]=ma(W9),[oO,cO]=sO(W9),I_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[f,m]=v.useState(null),g=Ce(e,M=>m(M)),y=v.useRef(!1),x=f?u||!!f.closest("form"):!0,[k,w]=sr({prop:i,defaultProp:o??!1,onChange:h,caller:W9});return t.jsxs(oO,{scope:r,checked:k,disabled:l,children:[t.jsx(fe.button,{type:"button",role:"switch","aria-checked":k,"aria-required":c,"data-state":P_(k),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:g,onClick:ue(a.onClick,M=>{w(L=>!L),x&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),x&&t.jsx(__,{control:f,bubbles:!y.current,name:n,value:d,checked:k,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});I_.displayName=W9;var N_="SwitchThumb",A_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=cO(N_,r);return t.jsx(fe.span,{"data-state":P_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});A_.displayName=N_;var lO="SwitchBubbleInput",__=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},o)=>{const c=v.useRef(null),l=Ce(c,o),d=VC(r),h=BC(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&m){const g=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(g)}},[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}})});__.displayName=lO;function P_(a){return a?"checked":"unchecked"}var q_=I_,dO=A_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(q_,{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(dO,{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=q_.displayName;function hO(a){const e=uO(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(yO);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:o})});return r.displayName=`${a}.Slot`,r}function uO(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=fO(i),l=mO(o,i.props);return i.type!==v.Fragment&&(l.ref=n?oo(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 pO=Symbol("radix.slottable");function yO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===pO}function mO(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function fO(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 Z9="Popover",[T_]=ma(Z9,[B9]),n1=B9(),[xO,kr]=T_(Z9),R_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!1}=a,l=n1(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,f]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:Z9});return t.jsx(UA,{...l,children:t.jsx(xO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};R_.displayName=Z9;var D_="PopoverAnchor",gO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(D_,r),o=n1(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(tL,{...o,...n,ref:e})});gO.displayName=D_;var z_="PopoverTrigger",F_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(z_,r),o=n1(r),c=Ce(e,i.triggerRef),l=t.jsx(fe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B_(i.open),...n,ref:c,onClick:ue(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(tL,{asChild:!0,...o,children:l})});F_.displayName=z_;var nL="PopoverPortal",[kO,vO]=T_(nL,{forceMount:void 0}),E_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,o=kr(nL,e);return t.jsx(kO,{scope:e,forceMount:r,children:t.jsx(ur,{present:r||o.open,children:t.jsx(P9,{asChild:!0,container:i,children:n})})})};E_.displayName=nL;var Xo="PopoverContent",H_=v.forwardRef((a,e)=>{const r=vO(Xo,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,o=kr(Xo,a.__scopePopover);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(MO,{...i,ref:e}):t.jsx(bO,{...i,ref:e})})});H_.displayName=Xo;var wO=hO("PopoverContent.RemoveScroll"),MO=v.forwardRef((a,e)=>{const r=kr(Xo,a.__scopePopover),n=v.useRef(null),i=Ce(e,n),o=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return PC(c)},[]),t.jsx(T9,{as:wO,allowPinchZoom:!0,children:t.jsx(O_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ue(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),o.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:ue(a.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;o.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:ue(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),bO=v.forwardRef((a,e)=>{const r=kr(Xo,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(O_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),O_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,f=kr(Xo,r),m=n1(r);return _C(),t.jsx(_9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(A9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>f.onOpenChange(!1),children:t.jsx($A,{"data-state":B_(f.open),role:"dialog",id:f.contentId,...m,...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)"}})})})}),V_="PopoverClose",jO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=kr(V_,r);return t.jsx(fe.button,{type:"button",...n,ref:e,onClick:ue(a.onClick,()=>i.onOpenChange(!1))})});jO.displayName=V_;var CO="PopoverArrow",LO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=n1(r);return t.jsx(GA,{...i,...n,ref:e})});LO.displayName=CO;function B_(a){return a?"open":"closed"}var SO=R_,IO=F_,NO=E_,U_=H_;const AO=SO,_O=IO,$_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(NO,{children:t.jsx(U_,{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})}));$_.displayName=U_.displayName;const Zj=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}));Zj.displayName="Textarea";const Yc=GH,Kc=WH,Jo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(M_,{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(ZH,{asChild:!0,children:t.jsx(oA,{className:"h-4 w-4 opacity-50"})})]}));Jo.displayName=M_.displayName;const G_=v.forwardRef(({className:a,...e},r)=>t.jsx(L_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(Gz,{className:"h-4 w-4"})}));G_.displayName=L_.displayName;const W_=v.forwardRef(({className:a,...e},r)=>t.jsx(S_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(oA,{className:"h-4 w-4"})}));W_.displayName=S_.displayName;const Yo=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx(XH,{children:t.jsxs(b_,{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(G_,{}),t.jsx(JH,{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(W_,{})]})}));Yo.displayName=b_.displayName;const PO=v.forwardRef(({className:a,...e},r)=>t.jsx(j_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));PO.displayName=j_.displayName;const Ko=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(C_,{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(KH,{children:t.jsx(Bz,{className:"h-4 w-4"})})}),t.jsx(YH,{children:e})]}));Ko.displayName=C_.displayName;const qO=v.forwardRef(({className:a,...e},r)=>t.jsx(rL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));qO.displayName=rL.displayName;function TO({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const o=new Date().getFullYear(),c=Array.from({length:40},(m,g)=>`${o-g}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""});j.useEffect(()=>{if(n){const[m,g]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:m||"",endYear:g==="Present"?"":g||"",isPresent:g==="Present",location:n.location||"",summary:n.summary||"",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""})},[n,a]);const[h,u]=j.useState(!1),p=(m,g)=>d(y=>({...y,[m]:g})),f=()=>{const m=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,g={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:m,summary:l.summary.trim()||void 0,location:l.location.trim()||void 0,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(g):r(g),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(Da,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(le,{children:"Title"}),t.jsx(Te,{value:l.title,onChange:m=>p("title",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(le,{children:"Company"}),t.jsx(Te,{value:l.company,onChange:m=>p("company",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(le,{children:"Location (optional)"}),t.jsx(Te,{value:l.location,onChange:m=>p("location",m.target.value),placeholder:"e.g., Malta or Remote"})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(le,{children:"Start Year"}),t.jsxs(Yc,{onValueChange:m=>p("startYear",m),value:l.startYear,children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select year"})}),t.jsx(Yo,{children:c.map(m=>t.jsx(Ko,{value:m,children:m},m))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(le,{children:"End Year"}),t.jsxs(Yc,{onValueChange:m=>p("endYear",m),value:l.endYear,children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select year"})}),t.jsx(Yo,{children:c.map(m=>t.jsx(Ko,{value:m,children:m},m))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:m=>p("isPresent",m.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(le,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(le,{children:"Summary (optional)"}),t.jsx(Zj,{placeholder:"e.g., Led product roadmap for iGaming platform",value:l.summary,onChange:m=>p("summary",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(le,{children:"Tags (comma-separated)"}),t.jsx(Zj,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:m=>p("tags",m.target.value)})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:f,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var RO=Symbol("radix.slottable");function DO(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=RO,e}var Z_="AlertDialog",[zO]=ma(Z_,[VN]),za=VN(),X_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(nA,{...n,...r,modal:!0})};X_.displayName=Z_;var FO="AlertDialogTrigger",EO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(iA,{...i,...n,ref:e})});EO.displayName=FO;var HO="AlertDialogPortal",J_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(sA,{...n,...r})};J_.displayName=HO;var OO="AlertDialogOverlay",Y_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(DC,{...i,...n,ref:e})});Y_.displayName=OO;var Oo="AlertDialogContent",[VO,BO]=zO(Oo),UO=DO("AlertDialogContent"),K_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,o=za(r),c=v.useRef(null),l=Ce(e,c),d=v.useRef(null);return t.jsx(Fz,{contentName:Oo,titleName:Q_,docsSlug:"alert-dialog",children:t.jsx(VO,{scope:r,cancelRef:d,children:t.jsxs(zC,{role:"alertdialog",...o,...i,ref:l,onOpenAutoFocus:ue(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(UO,{children:n}),t.jsx(GO,{contentRef:c})]})})})});K_.displayName=Oo;var Q_="AlertDialogTitle",eP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(FC,{...i,...n,ref:e})});eP.displayName=Q_;var tP="AlertDialogDescription",aP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(EC,{...i,...n,ref:e})});aP.displayName=tP;var $O="AlertDialogAction",rP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(HC,{...i,...n,ref:e})});rP.displayName=$O;var nP="AlertDialogCancel",iP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=BO(nP,r),o=za(r),c=Ce(e,i);return t.jsx(HC,{...o,...n,ref:c})});iP.displayName=nP;var GO=({contentRef:a})=>{const e=`\`${Oo}\` requires a description for the component to be accessible for screen reader users.
7812
7812
 
7813
7813
  You can add a description to the \`${Oo}\` by passing a \`${tP}\` 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 \`${Oo}\`. 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},WO=X_,ZO=J_,sP=Y_,oP=K_,cP=rP,lP=iP,dP=eP,hP=aP;const XO=WO,JO=ZO,uP=v.forwardRef(({className:a,...e},r)=>t.jsx(sP,{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}));uP.displayName=sP.displayName;const pP=v.forwardRef(({className:a,...e},r)=>t.jsxs(JO,{children:[t.jsx(uP,{}),t.jsx(oP,{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})]}));pP.displayName=oP.displayName;const yP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});yP.displayName="AlertDialogHeader";const mP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});mP.displayName="AlertDialogFooter";const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(dP,{ref:r,className:ce("text-lg font-semibold",a),...e}));fP.displayName=dP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(hP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));xP.displayName=hP.displayName;const gP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce(Kj(),a),...e}));gP.displayName=cP.displayName;const kP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce(Kj({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));kP.displayName=lP.displayName;function pS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[o,c]=j.useState("");j.useEffect(()=>{a||c("")},[a]);const l=()=>{o.trim()&&(r(o.trim()),c(""),e())};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(ye,{children:n}),t.jsx(We,{value:o,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!o.trim(),children:"Add"})]})]})})}const yS=["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 YO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[o,c]=j.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=yS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"skill",children:"Skill Name"}),t.jsx(We,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.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(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const mS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function KO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[o,c]=j.useState(mS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(mS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"topic",children:"Topic"}),t.jsx(We,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.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(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const QO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],eV=["Native","Fluent","Intermediate","Basic"];function tV({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState({name:"",proficiency:""}),o=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(ye,{children:"Language"}),t.jsxs(Yc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select a language"})}),t.jsx(Yo,{children:QO.map(c=>t.jsx(Ko,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(ye,{children:"Proficiency"}),t.jsxs(Yc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select proficiency"})}),t.jsx(Yo,{children:eV.map(c=>t.jsx(Ko,{value:c,children:c},c))})]})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:o,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function aV({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=j.useState(a),[o,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(null),[p,f]=j.useState(null),[m,g]=j.useState(!1),[y,x]=j.useState(!1),[k,w]=j.useState(!1),[M,L]=j.useState(!1),[b,I]=j.useState(!1),S=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],C=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],N=()=>{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(U,{onClick:D,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(co,{defaultValue:"personal",className:"w-full",children:[t.jsxs(pr,{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(Te,{children:[t.jsx(Re,{children:"Personal Details"}),t.jsx(Be,{children:"Update your personal information"})]}),t.jsx(je,{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(ye,{htmlFor:"fullName",children:"Full Name"}),t.jsx(We,{id:"fullName",value:n.personalDetails.fullName??"",onChange:_=>T("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"email",children:"Email"}),t.jsx(We,{id:"email",type:"email",value:n.personalDetails.email??"",onChange:_=>T("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"phone",children:"Phone"}),t.jsx(We,{id:"phone",value:n.personalDetails.phone??"",onChange:_=>T("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"location",children:"Location"}),t.jsx(We,{id:"location",value:n.personalDetails.location??"",onChange:_=>T("personalDetails","location",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Work Experience"}),t.jsx(Be,{children:"Your iGaming industry experience"})]}),t.jsxs(je,{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}),_.location&&t.jsx("p",{className:"text-xs text-muted-foreground",children:_.location})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>{const q=n.workExperience.find(z=>z.id===_.id);f(q||null),c(!0)},children:"Edit"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(q=>t.jsx(at,{variant:"secondary",children:q},q))}),_.summary&&t.jsx("p",{className:"text-sm text-muted-foreground",children:_.summary})]},_.id)),t.jsx(U,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(TO,{open:o,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(XO,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(pP,{children:[t.jsxs(yP,{children:[t.jsx(fP,{children:"Delete Experience"}),t.jsx(xP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(mP,{children:[t.jsx(kP,{children:"Cancel"}),t.jsx(gP,{onClick:N,className:"bg-destructive text-white",children:"Delete"})]})]})}),t.jsxs(Ne,{value:"job-search",children:[t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Job Search Details"}),t.jsx(Be,{children:"Define your ideal job preferences"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{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(U,{variant:"outline",size:"sm",onClick:()=>g(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{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(U,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{children:"Employment Type"}),t.jsxs(AO,{children:[t.jsx(_O,{asChild:!0,children:t.jsx(U,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx($_,{className:"w-64 p-2 space-y-2",children:S.map(_=>{const q=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(z=>{const G=z.jobSearchDetails.employmentType.includes(_)?z.jobSearchDetails.employmentType.filter(E=>E!==_):[...z.jobSearchDetails.employmentType,_];return{...z,jobSearchDetails:{...z.jobSearchDetails,employmentType:G}}}),children:[t.jsx(GC,{checked:q}),t.jsx(ye,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(pS,{open:m,onClose:()=>g(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:[...q.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(pS,{open:y,onClose:()=>x(!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(Te,{children:[t.jsx(Re,{children:"Skill Set"}),t.jsx(Be,{children:"Your professional skills and expertise"})]}),t.jsxs(je,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{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(U,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(YO,{open:k,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(Te,{children:[t.jsx(Re,{children:"Languages"}),t.jsx(Be,{children:"Your spoken and professional languages"})]}),t.jsxs(je,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,q)=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(z=>({...z,languages:z.languages.filter((V,G)=>G!==q)})),children:"✕"})]},`${_.name}-${q}`))}),t.jsx(U,{variant:"outline",onClick:()=>I(!0),children:"Add Language"})]})]}),t.jsx(tV,{open:b,onClose:()=>I(!1),onAdded:_=>i(q=>({...q,languages:[...q.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Alerts & Subscriptions"}),t.jsx(Be,{children:"Manage your notification preferences"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(ye,{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(ye,{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(ye,{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(Te,{children:[t.jsx(Re,{children:"Preferences"}),t.jsx(Be,{children:"Customize your platform experience"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{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(U,{variant:"outline",size:"sm",onClick:()=>L(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(ye,{htmlFor:"language",children:"Language"}),t.jsxs(Yc,{value:n.preferences.language,onValueChange:_=>T("preferences","language",_),children:[t.jsx(Jo,{id:"language",children:t.jsx(Kc,{placeholder:"Select your preferred language"})}),t.jsx(Yo,{children:C.map(_=>t.jsx(Ko,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(ye,{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(KO,{open:M,onClose:()=>L(!1),onAdded:_=>i(q=>({...q,preferences:{...q.preferences,topics:Array.from(new Set([...q.preferences.topics,_]))}}))})]})]})]})}const rV=a=>a<1024?`${a} B`:a<1024*1024?`${(a/1024).toFixed(1)} KB`:`${(a/(1024*1024)).toFixed(1)} MB`,fS=800;function nV({onCVChange:a,previewText:e,previewStatus:r="idle",previewErrorMessage:n}){const[i,o]=j.useState(!1),[c,l]=j.useState(null),[d,h]=j.useState(null),[u,p]=j.useState(null),[f,m]=j.useState(!1);j.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const g=j.useMemo(()=>c?{name:c.name,size:rV(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),y=async L=>{var S;const b=(S=L.target.files)==null?void 0:S[0];if(!b)return;if(b.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const I=URL.createObjectURL(b);l(b),h(I),m(!1),a(b)},x=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),m(!1),a(null)},k=(e==null?void 0:e.replace(/\s{2,}/g," ").replace(/\n{3,}/g,`
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},WO=X_,ZO=J_,sP=Y_,oP=K_,cP=rP,lP=iP,dP=eP,hP=aP;const XO=WO,JO=ZO,uP=v.forwardRef(({className:a,...e},r)=>t.jsx(sP,{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}));uP.displayName=sP.displayName;const pP=v.forwardRef(({className:a,...e},r)=>t.jsxs(JO,{children:[t.jsx(uP,{}),t.jsx(oP,{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})]}));pP.displayName=oP.displayName;const yP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});yP.displayName="AlertDialogHeader";const mP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});mP.displayName="AlertDialogFooter";const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(dP,{ref:r,className:ce("text-lg font-semibold",a),...e}));fP.displayName=dP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(hP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));xP.displayName=hP.displayName;const gP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce(Kj(),a),...e}));gP.displayName=cP.displayName;const kP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce(Kj({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));kP.displayName=lP.displayName;function pS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[o,c]=j.useState("");j.useEffect(()=>{a||c("")},[a]);const l=()=>{o.trim()&&(r(o.trim()),c(""),e())};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(le,{children:n}),t.jsx(Te,{value:o,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!o.trim(),children:"Add"})]})]})})}const yS=["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 YO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[o,c]=j.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=yS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"skill",children:"Skill Name"}),t.jsx(Te,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.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(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const mS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function KO({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState(""),[o,c]=j.useState(mS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(mS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"topic",children:"Topic"}),t.jsx(Te,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.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(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const QO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],eV=["Native","Fluent","Intermediate","Basic"];function tV({open:a,onClose:e,onAdded:r}){const[n,i]=j.useState({name:"",proficiency:""}),o=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(le,{children:"Language"}),t.jsxs(Yc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select a language"})}),t.jsx(Yo,{children:QO.map(c=>t.jsx(Ko,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(le,{children:"Proficiency"}),t.jsxs(Yc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Jo,{children:t.jsx(Kc,{placeholder:"Select proficiency"})}),t.jsx(Yo,{children:eV.map(c=>t.jsx(Ko,{value:c,children:c},c))})]})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:o,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function aV({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=j.useState(a),[o,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(null),[p,f]=j.useState(null),[m,g]=j.useState(!1),[y,x]=j.useState(!1),[k,w]=j.useState(!1),[M,L]=j.useState(!1),[b,I]=j.useState(!1),S=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],C=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],N=()=>{l&&(i(_=>{const T={..._,workExperience:_.workExperience.filter(z=>z.id!==l)};return e({type:"profile",payload:T}),T}),d(null))},q=(_,T,z)=>{i(V=>({...V,[_]:{...V[_],[T]:z}}))},R=(_,T,z)=>{i(V=>({...V,[_]:{...V[_],[T]: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(U,{onClick:D,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(co,{defaultValue:"personal",className:"w-full",children:[t.jsxs(pr,{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(Ue,{children:"Update your personal information"})]}),t.jsx(je,{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(le,{htmlFor:"fullName",children:"Full Name"}),t.jsx(Te,{id:"fullName",value:n.personalDetails.fullName??"",onChange:_=>q("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"email",children:"Email"}),t.jsx(Te,{id:"email",type:"email",value:n.personalDetails.email??"",onChange:_=>q("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"phone",children:"Phone"}),t.jsx(Te,{id:"phone",value:n.personalDetails.phone??"",onChange:_=>q("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"location",children:"Location"}),t.jsx(Te,{id:"location",value:n.personalDetails.location??"",onChange:_=>q("personalDetails","location",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"dob",children:"Date of Birth"}),t.jsx(Te,{id:"dob",type:"date",value:n.personalDetails.dob??"",onChange:_=>q("personalDetails","dob",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"address",children:"Address"}),t.jsx(Te,{id:"address",value:n.personalDetails.address??"",onChange:_=>q("personalDetails","address",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"nationality",children:"Nationality"}),t.jsx(Te,{id:"nationality",value:n.personalDetails.nationality??"",onChange:_=>q("personalDetails","nationality",_.target.value)})]}),t.jsxs("div",{className:"space-y-2 md:col-span-2",children:[t.jsx(le,{htmlFor:"summary",children:"Summary"}),t.jsx(Te,{id:"summary",value:n.personalDetails.summary??"",onChange:_=>q("personalDetails","summary",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Work Experience"}),t.jsx(Ue,{children:"Your iGaming industry experience"})]}),t.jsxs(je,{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}),_.location&&t.jsx("p",{className:"text-xs text-muted-foreground",children:_.location})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>{const T=n.workExperience.find(z=>z.id===_.id);f(T||null),c(!0)},children:"Edit"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(T=>t.jsx(at,{variant:"secondary",children:T},T))}),_.summary&&t.jsx("p",{className:"text-sm text-muted-foreground",children:_.summary})]},_.id)),t.jsx(U,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(TO,{open:o,onClose:()=>{c(!1),f(null)},existingExperience:p,onAdded:_=>{i(T=>({...T,workExperience:[...T.workExperience,_]}))},onUpdated:_=>{i(T=>({...T,workExperience:T.workExperience.map(z=>z.id===_.id?_:z)}))}}),t.jsx(XO,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(pP,{children:[t.jsxs(yP,{children:[t.jsx(fP,{children:"Delete Experience"}),t.jsx(xP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(mP,{children:[t.jsx(kP,{children:"Cancel"}),t.jsx(gP,{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(Ue,{children:"Define your ideal job preferences"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(T=>({...T,jobSearchDetails:{...T.jobSearchDetails,desiredRoles:Array.from(new Set([...T.jobSearchDetails.desiredRoles,_]))}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>g(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(T=>({...T,jobSearchDetails:{...T.jobSearchDetails,locations:T.jobSearchDetails.locations.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{children:"Employment Type"}),t.jsxs(AO,{children:[t.jsx(_O,{asChild:!0,children:t.jsx(U,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx($_,{className:"w-64 p-2 space-y-2",children:S.map(_=>{const T=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(z=>{const G=z.jobSearchDetails.employmentType.includes(_)?z.jobSearchDetails.employmentType.filter(E=>E!==_):[...z.jobSearchDetails.employmentType,_];return{...z,jobSearchDetails:{...z.jobSearchDetails,employmentType:G}}}),children:[t.jsx(GC,{checked:T}),t.jsx(le,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(pS,{open:m,onClose:()=>g(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(T=>({...T,jobSearchDetails:{...T.jobSearchDetails,desiredRoles:[...T.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(pS,{open:y,onClose:()=>x(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:_=>i(T=>({...T,jobSearchDetails:{...T.jobSearchDetails,locations:[...T.jobSearchDetails.locations,_]}}))})]}),t.jsxs(Ne,{value:"skills",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Skill Set"}),t.jsx(Ue,{children:"Your professional skills and expertise"})]}),t.jsxs(je,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(T=>({...T,skills:T.skills.filter(z=>z!==_)})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(YO,{open:k,onClose:()=>w(!1),onAdded:_=>i(T=>({...T,skills:Array.from(new Set([...T.skills,_]))}))})]}),t.jsxs(Ne,{value:"languages",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Languages"}),t.jsx(Ue,{children:"Your spoken and professional languages"})]}),t.jsxs(je,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,T)=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(z=>({...z,languages:z.languages.filter((V,G)=>G!==T)})),children:"✕"})]},`${_.name}-${T}`))}),t.jsx(U,{variant:"outline",onClick:()=>I(!0),children:"Add Language"})]})]}),t.jsx(tV,{open:b,onClose:()=>I(!1),onAdded:_=>i(T=>({...T,languages:[...T.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Alerts & Subscriptions"}),t.jsx(Ue,{children:"Manage your notification preferences"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(le,{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(le,{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(le,{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(Ue,{children:"Customize your platform experience"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(T=>({...T,preferences:{...T.preferences,topics:T.preferences.topics.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>L(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(le,{htmlFor:"language",children:"Language"}),t.jsxs(Yc,{value:n.preferences.language,onValueChange:_=>q("preferences","language",_),children:[t.jsx(Jo,{id:"language",children:t.jsx(Kc,{placeholder:"Select your preferred language"})}),t.jsx(Yo,{children:C.map(_=>t.jsx(Ko,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(le,{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(KO,{open:M,onClose:()=>L(!1),onAdded:_=>i(T=>({...T,preferences:{...T.preferences,topics:Array.from(new Set([...T.preferences.topics,_]))}}))})]})]})]})}const rV=a=>a<1024?`${a} B`:a<1024*1024?`${(a/1024).toFixed(1)} KB`:`${(a/(1024*1024)).toFixed(1)} MB`,fS=800;function nV({onCVChange:a,previewText:e,previewStatus:r="idle",previewErrorMessage:n}){const[i,o]=j.useState(!1),[c,l]=j.useState(null),[d,h]=j.useState(null),[u,p]=j.useState(null),[f,m]=j.useState(!1);j.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const g=j.useMemo(()=>c?{name:c.name,size:rV(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),y=async L=>{var S;const b=(S=L.target.files)==null?void 0:S[0];if(!b)return;if(b.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const I=URL.createObjectURL(b);l(b),h(I),m(!1),a(b)},x=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),m(!1),a(null)},k=(e==null?void 0:e.replace(/\s{2,}/g," ").replace(/\n{3,}/g,`
7818
7818
 
7819
- `).trim())??"",w=k.length>fS,M=f?k:w?`${k.slice(0,fS)}…`:k;return t.jsxs(mr,{open:i,onOpenChange:o,children:[t.jsx(Xz,{asChild:!0,children:t.jsxs(U,{children:[t.jsx(Za,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),t.jsxs(Ta,{className:"sm:max-w-2xl",children:[t.jsxs(fr,{children:[t.jsx(Da,{children:"Upload your CV"}),t.jsx(z9,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(We,{type:"file",accept:"application/pdf",onChange:y}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"Accepted format: PDF only. Text extraction should be handled by the host application if needed."})]}),u&&t.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&g&&t.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(wc,{className:"h-5 w-5 text-primary"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-medium",children:g.name}),t.jsxs("p",{className:"text-xs text-muted-foreground",children:[g.size," • Updated ",g.lastModified]})]})]}),t.jsx(at,{variant:"secondary",children:"Stored"})]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&t.jsx(U,{variant:"outline",size:"sm",asChild:!0,children:t.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),t.jsxs(U,{variant:"destructive",size:"sm",onClick:x,children:[t.jsx(Ro,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),t.jsxs("div",{className:"rounded-md border border-muted p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&t.jsx(at,{variant:"outline",children:"Parsing..."})]}),r==="error"?t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n||"Text preview is unavailable for this file."}):M?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"mt-2 max-h-48 overflow-y-auto rounded-md border bg-muted/30 p-2",children:t.jsx("p",{className:"whitespace-pre-wrap text-sm text-muted-foreground",children:M})}),w&&t.jsx(U,{variant:"link",size:"sm",className:"px-0",onClick:()=>m(L=>!L),children:f?"Show less":"Show full text"})]}):t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Upload a PDF to preview extracted text from the host app."})]})]}),t.jsx(Ra,{children:t.jsx(U,{variant:"outline",onClick:()=>o(!1),children:"Close"})})]})]})}function iV({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:o,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=M=>({savedJobs:M.saved,recommendedJobs:M.recommended,applications:M.applications}),[f,m]=j.useState({saved:a||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{m({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const g=M=>{m(L=>{if(L.saved.some(S=>S.id===M.id))return L;const I={...L,saved:[...L.saved,M]};return u==null||u({type:"jobs",payload:p(I)}),I})},y=M=>{m(L=>{const b={...L,saved:L.saved.filter(I=>I.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},x=M=>{m(L=>{const b={...L,recommended:L.recommended.filter(I=>I.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},k=M=>{const L=f.recommended.find(b=>b.id===M);L&&(m(b=>{const I={...b,applications:[...b.applications,{...L,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(I)}),I}),n(M))},w=({job:M,view:L})=>{var C;const b=f.saved.some(N=>N.id===M.id),I=M.city?`${M.city}, ${M.country}`:M.location,S=M.salaryMin&&M.salaryMax?`${M.salaryMin}–${M.salaryMax} ${M.salaryCurrency||""}`:void 0;return t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(Re,{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(wo,{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"})," ",I]})]})]}),L==="applications"&&M.status&&t.jsx(at,{variant:"secondary",children:M.status})]}),S&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:S})]}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[M.department&&t.jsx(at,{variant:"outline",children:M.department}),(C=M.skills)==null?void 0:C.slice(0,6).map(N=>t.jsx(at,{variant:"secondary",children:N},N))]}),L==="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:[L==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{size:"sm",onClick:()=>k(M.id),children:"Apply Now"}),t.jsx(U,{variant:b?"secondary":"outline",size:"sm",disabled:b,onClick:()=>g(M),children:b?"Saved":"Save Job"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>x(M.id),children:"Remove"})]}),L==="saved"&&t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>y(M.id),children:"Remove"}),L==="applications"&&t.jsx(U,{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(U,{variant:"outline",onClick:h,children:"Set Job Alerts"}),t.jsx(nV,{onCVChange:o,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),t.jsxs(co,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",f.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",f.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",f.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.recommended.map(M=>t.jsx(w,{job:M,view:"recommended"},M.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.saved.length===0?t.jsx(be,{children:t.jsxs(je,{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(U,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):f.saved.map(M=>t.jsx(w,{job:M,view:"saved"},M.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.applications.length===0?t.jsx(be,{children:t.jsxs(je,{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(U,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):f.applications.map(M=>t.jsx(w,{job:M,view:"applications"},M.id))})})]})]})}function sV(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c);l.displayName=o+"Context";const d=r.length;r=[...r,c];const h=p=>{var k;const{scope:f,children:m,...g}=p,y=((k=f==null?void 0:f[a])==null?void 0:k[d])||l,x=v.useMemo(()=>g,Object.values(g));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,g=v.useContext(m);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,oV(i,...e)]}function oV(...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(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var cV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vP=cV.reduce((a,e)=>{const r=Jj(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),iL="Progress",sL=100,[lV]=sV(iL),[dV,hV]=lV(iL),wP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:o=uV,...c}=a;(i||i===0)&&!xS(i)&&console.error(pV(`${i}`,"Progress"));const l=xS(i)?i:sL;n!==null&&!gS(n,l)&&console.error(yV(`${n}`,"Progress"));const d=gS(n,l)?n:null,h=w9(d)?o(d,l):void 0;return t.jsx(dV,{scope:r,value:d,max:l,children:t.jsx(vP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":w9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":jP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});wP.displayName=iL;var MP="ProgressIndicator",bP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=hV(MP,r);return t.jsx(vP.div,{"data-state":jP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});bP.displayName=MP;function uV(a,e){return`${Math.round(a/e*100)}%`}function jP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function w9(a){return typeof a=="number"}function xS(a){return w9(a)&&!isNaN(a)&&a>0}function gS(a,e){return w9(a)&&!isNaN(a)&&a<=e&&a>=0}function pV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${sL}\`.`}function yV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7819
+ `).trim())??"",w=k.length>fS,M=f?k:w?`${k.slice(0,fS)}…`:k;return t.jsxs(mr,{open:i,onOpenChange:o,children:[t.jsx(Xz,{asChild:!0,children:t.jsxs(U,{children:[t.jsx(Za,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),t.jsxs(Ta,{className:"sm:max-w-2xl",children:[t.jsxs(fr,{children:[t.jsx(Da,{children:"Upload your CV"}),t.jsx(z9,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(Te,{type:"file",accept:"application/pdf",onChange:y}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"Accepted format: PDF only. Text extraction should be handled by the host application if needed."})]}),u&&t.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&g&&t.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(wc,{className:"h-5 w-5 text-primary"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-medium",children:g.name}),t.jsxs("p",{className:"text-xs text-muted-foreground",children:[g.size," • Updated ",g.lastModified]})]})]}),t.jsx(at,{variant:"secondary",children:"Stored"})]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&t.jsx(U,{variant:"outline",size:"sm",asChild:!0,children:t.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),t.jsxs(U,{variant:"destructive",size:"sm",onClick:x,children:[t.jsx(Ro,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),t.jsxs("div",{className:"rounded-md border border-muted p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&t.jsx(at,{variant:"outline",children:"Parsing..."})]}),r==="error"?t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n||"Text preview is unavailable for this file."}):M?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"mt-2 max-h-48 overflow-y-auto rounded-md border bg-muted/30 p-2",children:t.jsx("p",{className:"whitespace-pre-wrap text-sm text-muted-foreground",children:M})}),w&&t.jsx(U,{variant:"link",size:"sm",className:"px-0",onClick:()=>m(L=>!L),children:f?"Show less":"Show full text"})]}):t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Upload a PDF to preview extracted text from the host app."})]})]}),t.jsx(Ra,{children:t.jsx(U,{variant:"outline",onClick:()=>o(!1),children:"Close"})})]})]})}function iV({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:o,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=M=>({savedJobs:M.saved,recommendedJobs:M.recommended,applications:M.applications}),[f,m]=j.useState({saved:a||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{m({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const g=M=>{m(L=>{if(L.saved.some(S=>S.id===M.id))return L;const I={...L,saved:[...L.saved,M]};return u==null||u({type:"jobs",payload:p(I)}),I})},y=M=>{m(L=>{const b={...L,saved:L.saved.filter(I=>I.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},x=M=>{m(L=>{const b={...L,recommended:L.recommended.filter(I=>I.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},k=M=>{const L=f.recommended.find(b=>b.id===M);L&&(m(b=>{const I={...b,applications:[...b.applications,{...L,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(I)}),I}),n(M))},w=({job:M,view:L})=>{var C;const b=f.saved.some(N=>N.id===M.id),I=M.city?`${M.city}, ${M.country}`:M.location,S=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(wo,{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"})," ",I]})]})]}),L==="applications"&&M.status&&t.jsx(at,{variant:"secondary",children:M.status})]}),S&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:S})]}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[M.department&&t.jsx(at,{variant:"outline",children:M.department}),(C=M.skills)==null?void 0:C.slice(0,6).map(N=>t.jsx(at,{variant:"secondary",children:N},N))]}),L==="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:[L==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{size:"sm",onClick:()=>k(M.id),children:"Apply Now"}),t.jsx(U,{variant:b?"secondary":"outline",size:"sm",disabled:b,onClick:()=>g(M),children:b?"Saved":"Save Job"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>x(M.id),children:"Remove"})]}),L==="saved"&&t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>y(M.id),children:"Remove"}),L==="applications"&&t.jsx(U,{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(U,{variant:"outline",onClick:h,children:"Set Job Alerts"}),t.jsx(nV,{onCVChange:o,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),t.jsxs(co,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",f.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",f.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",f.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.recommended.map(M=>t.jsx(w,{job:M,view:"recommended"},M.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.saved.length===0?t.jsx(be,{children:t.jsxs(je,{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(U,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):f.saved.map(M=>t.jsx(w,{job:M,view:"saved"},M.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.applications.length===0?t.jsx(be,{children:t.jsxs(je,{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(U,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):f.applications.map(M=>t.jsx(w,{job:M,view:"applications"},M.id))})})]})]})}function sV(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c);l.displayName=o+"Context";const d=r.length;r=[...r,c];const h=p=>{var k;const{scope:f,children:m,...g}=p,y=((k=f==null?void 0:f[a])==null?void 0:k[d])||l,x=v.useMemo(()=>g,Object.values(g));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,g=v.useContext(m);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,oV(i,...e)]}function oV(...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(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var cV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vP=cV.reduce((a,e)=>{const r=Jj(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),iL="Progress",sL=100,[lV]=sV(iL),[dV,hV]=lV(iL),wP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:o=uV,...c}=a;(i||i===0)&&!xS(i)&&console.error(pV(`${i}`,"Progress"));const l=xS(i)?i:sL;n!==null&&!gS(n,l)&&console.error(yV(`${n}`,"Progress"));const d=gS(n,l)?n:null,h=w9(d)?o(d,l):void 0;return t.jsx(dV,{scope:r,value:d,max:l,children:t.jsx(vP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":w9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":jP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});wP.displayName=iL;var MP="ProgressIndicator",bP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=hV(MP,r);return t.jsx(vP.div,{"data-state":jP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});bP.displayName=MP;function uV(a,e){return`${Math.round(a/e*100)}%`}function jP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function w9(a){return typeof a=="number"}function xS(a){return w9(a)&&!isNaN(a)&&a>0}function gS(a,e){return w9(a)&&!isNaN(a)&&a<=e&&a>=0}function pV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${sL}\`.`}function yV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7820
7820
  - a positive number
7821
7821
  - less than the value passed to \`max\` (or ${sL} if no \`max\` prop is set)
7822
7822
  - \`null\` or \`undefined\` if the progress is indeterminate.
7823
7823
 
7824
- Defaulting to \`null\`.`}var CP=wP,mV=bP;const LP=v.forwardRef(({className:a,value:e,...r},n)=>t.jsx(CP,{ref:n,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...r,children:t.jsx(mV,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));LP.displayName=CP.displayName;function fV({enrolledCourses:a,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:i,onContinue:o,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=j.useState({enrolled:a||[],recommended:r||[],saved:e||[]});j.useEffect(()=>{p({enrolled:a||[],recommended:r||[],saved:e||[]})},[a,r,e]);const f=k=>i(k),m=k=>{p(w=>{if(w.saved.some(b=>b.id===k.id))return w;const L={...w,saved:[...w.saved,{...k,saved:!0}],recommended:w.recommended.map(b=>b.id===k.id?{...b,saved:!0}:b)};return l==null||l(k.id),L})},g=k=>{p(w=>{const M={...w,saved:w.saved.filter(L=>L.id!==k),recommended:w.recommended.map(L=>L.id===k?{...L,saved:!1}:L)};return d==null||d(k),M})},y=k=>{p(w=>{const M={...w,recommended:w.recommended.filter(L=>L.id!==k)};return h==null||h(k),M})},x=({course:k,view:w})=>{const M=u.saved.some(L=>L.id===k.id);return t.jsxs(be,{children:[t.jsx(Te,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(Re,{className:"text-lg",children:k.title}),t.jsx(Be,{children:k.provider})]}),t.jsx(at,{variant:"outline",children:k.level})]})}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsx("span",{children:k.duration}),k.certificate&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(La,{className:"h-4 w-4"}),"Certificate"]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:k.tags.map(L=>t.jsx(at,{variant:"secondary",children:L},L))}),w==="enrolled"&&k.progress!==void 0&&t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex justify-between text-sm",children:[t.jsx("span",{className:"text-muted-foreground",children:"Progress"}),t.jsxs("span",{className:"font-medium",children:[k.progress,"%"]})]}),t.jsx(LP,{value:k.progress})]}),w==="recommended"&&k.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",k.reason]}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>o(k.id),children:"Continue Learning"}),w==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>f(k.id),children:"Enroll Now"}),t.jsx(U,{variant:M?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:M,onClick:()=>m(k),children:M?"Saved":"Save Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>y(k.id),children:"Remove"}),!h&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",size:"sm",onClick:()=>f(k.id),children:"Start Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>g(k.id),children:"Remove Saved"}),!d&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};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:"Courses"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),t.jsx(U,{onClick:c,children:"Explore All Courses"})]}),t.jsxs(co,{defaultValue:"enrolled",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[t.jsxs(Ie,{value:"enrolled",children:[t.jsx(Wt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),t.jsxs(Ie,{value:"recommended",children:[t.jsx(Ys,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),t.jsxs(Ie,{value:"certificates",children:[t.jsx(La,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),t.jsx(Ne,{value:"enrolled",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(Wt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(k=>t.jsx(x,{course:k,view:"enrolled"},k.id))})}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(k=>t.jsx(x,{course:k,view:"recommended"},k.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{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 courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(k=>t.jsx(x,{course:k,view:"saved"},k.id))})}),t.jsx(Ne,{value:"certificates",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(La,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),t.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(k=>t.jsxs(be,{children:[t.jsx(Te,{children:t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:t.jsx(La,{className:"h-6 w-6 text-accent"})}),t.jsxs("div",{className:"flex-1",children:[t.jsx(Re,{className:"text-base",children:k.title}),t.jsx(Be,{children:k.issuer}),t.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",k.date]})]})]})}),t.jsx(je,{children:t.jsx(U,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},k.id))})})]})]})}function xV({recommendedNews:a,savedArticles:e,categories:r,selectedCategory:n,onRead:i,onSave:o,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=j.useState({recommended:a||[],saved:e||[]});j.useEffect(()=>{p({recommended:a||[],saved:e||[]})},[a,e]);const f=x=>{p(k=>{if(k.saved.some(L=>L.id===x.id))return k;const M={recommended:k.recommended.map(L=>L.id===x.id?{...L,saved:!0}:L),saved:[...k.saved,{...x,saved:!0}]};return o(x.id),M})},m=x=>{p(k=>{const w={recommended:k.recommended.map(M=>M.id===x?{...M,saved:!1}:M),saved:k.saved.filter(M=>M.id!==x)};return c==null||c(x),w})},g=x=>{p(k=>{const w={...k,recommended:k.recommended.filter(M=>M.id!==x)};return l==null||l(x),w})},y=({article:x,view:k})=>{const w=u.saved.some(M=>M.id===x.id);return t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsxs("div",{className:"flex justify-between items-start mb-2",children:[t.jsx(at,{variant:"secondary",children:x.category}),t.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),t.jsx(Re,{className:"text-lg",children:x.title}),t.jsxs(Be,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),t.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(M=>t.jsx(at,{variant:"outline",className:"text-xs",children:M},M))}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[t.jsx(U,{size:"sm",onClick:()=>i(x.id),children:"Read Article"}),k==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>f(x),children:w?"Saved":"Save"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>g(x.id),children:"Remove"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),k==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>m(x.id),children:"Remove Saved"}),!c&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};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:"News"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),t.jsxs(U,{variant:"outline",onClick:h,children:[t.jsx(jo,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),t.jsxs(co,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"recommended",children:[t.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),t.jsxs(Ne,{value:"recommended",className:"space-y-4",children:[t.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[t.jsx(U,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>t.jsx(U,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>t.jsx(y,{article:x,view:"recommended"},x.id))})]}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{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 articles yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>t.jsx(y,{article:x,view:"saved"},x.id))})})]})]})}function gV({settings:a,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:i}=a,o=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),t.jsxs(co,{defaultValue:"notifications",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"notifications",children:[t.jsx(vo,{className:"h-4 w-4 mr-2"}),"Notifications"]}),t.jsxs(Ie,{value:"account",children:[t.jsx(Pc,{className:"h-4 w-4 mr-2"}),"Account"]}),t.jsxs(Ie,{value:"subscription",children:[t.jsx(gc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),t.jsxs(Ie,{value:"connected",children:[t.jsx(jc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),t.jsx(Ne,{value:"notifications",children:t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Notification Preferences"}),t.jsx(Be,{children:"Choose how you want to be notified"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(ye,{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:r.emailNotifications,onCheckedChange:d=>o({emailNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(ye,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),t.jsx(Kt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>o({pushNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(ye,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),t.jsx(Kt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>o({weeklyDigest:d})})]}),t.jsxs("div",{className:"border-t pt-4 space-y-4",children:[t.jsx("h4",{className:"font-medium",children:"Content Alerts"}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(ye,{htmlFor:"job-alerts-set",children:"Job Alerts"}),t.jsx(Kt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>o({jobAlerts:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(ye,{htmlFor:"course-updates",children:"Course Updates"}),t.jsx(Kt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>o({courseUpdates:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(ye,{htmlFor:"news-digest",children:"News Digest"}),t.jsx(Kt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>o({newsDigest:d})})]})]})]})]})}),t.jsx(Ne,{value:"account",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Password"}),t.jsx(Be,{children:"Change your account password"})]}),t.jsx(je,{children:t.jsx(U,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Delete Account"}),t.jsx(Be,{children:"Permanently delete your account and all data"})]}),t.jsx(je,{children:t.jsx(U,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),t.jsx(Ne,{value:"subscription",children:t.jsxs(be,{children:[t.jsx(Te,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(Re,{children:"Subscription Plan"}),t.jsx(Be,{children:"Manage your membership"})]}),i.isPremium&&t.jsx(at,{children:"Premium"})]})}),t.jsx(je,{className:"space-y-4",children:i.isPremium?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[t.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),t.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[t.jsx("li",{children:"✓ Unlimited job applications"}),t.jsx("li",{children:"✓ Access to all courses"}),t.jsx("li",{children:"✓ Priority support"}),t.jsx("li",{children:"✓ Advanced analytics"}),t.jsx("li",{children:"✓ Ad-free experience"})]})]}),t.jsx(U,{variant:"outline",children:"Manage Subscription"})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),t.jsx(U,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),t.jsx(Ne,{value:"connected",children:t.jsxs(be,{children:[t.jsxs(Te,{children:[t.jsx(Re,{children:"Connected Accounts"}),t.jsx(Be,{children:"Manage linked accounts and integrations"})]}),t.jsx(je,{className:"space-y-4",children:n.map(d=>t.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&t.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?t.jsx(U,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):t.jsx(U,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function kV({user:a,profileData:e,jobsDashboard:r,alerts:n,snapshot:i,feedItems:o,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:f,onUpdateProfile:m}){const[g,y]=j.useState("overview"),x=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},k=()=>console.log("/logout"),w=C=>console.log(C),M=async C=>{await m({type:"courses",payload:C})},L=(...C)=>console.log("Action:",...C),b=async C=>{await m({type:"news",payload:C})},I=f||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:a.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},S=async C=>{await m({type:"settings",payload:C})};return t.jsx(rO,{user:a,onLogout:k,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:t.jsxs(co,{value:g,onValueChange:y,className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[t.jsxs(Ie,{value:"overview",className:"flex items-center gap-2",children:[t.jsx(Ma,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),t.jsxs(Ie,{value:"profile",className:"flex items-center gap-2",children:[t.jsx(Dc,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),t.jsxs(Ie,{value:"jobs",className:"flex items-center gap-2",children:[t.jsx(vt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),t.jsxs(Ie,{value:"courses",className:"flex items-center gap-2",children:[t.jsx(Wt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),t.jsxs(Ie,{value:"news",className:"flex items-center gap-2",children:[t.jsx(Sa,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"News"})]}),t.jsxs(Ie,{value:"settings",className:"flex items-center gap-2",children:[t.jsx(Po,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),t.jsx(Ne,{value:"overview",className:"mt-6",children:t.jsx(iO,{userName:a.name,feedItems:o,alerts:n,snapshot:i,onSave:L,onApply:L,onEnroll:C=>M({action:"enroll",courseId:C}),onRead:C=>b({action:"read",articleId:C})})}),t.jsx(Ne,{value:"profile",className:"mt-6",children:t.jsx(aV,{profile:e,onUpdate:C=>m(C)})}),t.jsx(Ne,{value:"jobs",className:"mt-6",children:t.jsx(iV,{savedJobs:x.savedJobs,applications:x.applications,recommendedJobs:x.recommendedJobs,onApply:C=>console.log("Applied:",C),onRemove:C=>console.log("Removed:",C),onUploadCV:c??(C=>console.log("Upload CV changed:",(C==null?void 0:C.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async C=>{await m({type:"jobs",payload:C.payload})}})}),t.jsx(Ne,{value:"courses",className:"mt-6",children:t.jsx(fV,{enrolledCourses:(u==null?void 0:u.enrolledCourses)||[],savedCourses:(u==null?void 0:u.savedCourses)||[],recommendedCourses:(u==null?void 0:u.recommendedCourses)||[],certificates:(u==null?void 0:u.certificates)||[],onEnroll:C=>M({action:"enroll",courseId:C}),onContinue:C=>M({action:"continue",courseId:C}),onExplore:()=>M({action:"explore"}),onSave:C=>M({action:"save",courseId:C}),onRemoveSaved:C=>M({action:"remove-saved",courseId:C}),onRemoveRecommended:C=>M({action:"remove-recommended",courseId:C})})}),t.jsx(Ne,{value:"news",className:"mt-6",children:t.jsx(xV,{recommendedNews:(p==null?void 0:p.recommendedNews)||[],savedArticles:(p==null?void 0:p.savedArticles)||[],categories:(p==null?void 0:p.categories)||[],selectedCategory:(p==null?void 0:p.selectedCategory)||"all",onRead:C=>b({action:"read",articleId:C}),onSave:C=>b({action:"save",articleId:C}),onRemoveSaved:C=>b({action:"remove-saved",articleId:C}),onRemoveRecommended:C=>b({action:"remove-recommended",articleId:C}),onCategoryChange:C=>b({action:"category",category:C}),onManagePreferences:()=>b({action:"manage-preferences"})})}),t.jsx(Ne,{value:"settings",className:"mt-6",children:t.jsx(gV,{settings:I,onUpdate:S})})]})})}exports.Advantages=XI;exports.Analytics=zF;exports.Banner=Zc;exports.Button=U;exports.Cart=cN;exports.Chatbot=oN;exports.ConsentBanner=MN;exports.ConsentProvider=wN;exports.CourseTypes=dN;exports.Courses=KI;exports.CoursesPage=SF;exports.Dashboard=kV;exports.Destinations=QI;exports.FAQ=iN;exports.FeatureJobs=WR;exports.Features=nN;exports.Footer=uD;exports.FooterLib=gN;exports.ForEmployers=hN;exports.ForgotPassword=KF;exports.Gallery=sN;exports.GroupPrices=lT;exports.Header=gF;exports.HeaderAlternative=xN;exports.Hero=eN;exports.HeroAlternative=uN;exports.HomePage=GR;exports.IgamingCareerHome=nD;exports.Input=We;exports.JobDetailPage=xF;exports.JobListings=hD;exports.JobSearchWidget=fN;exports.Listing=pF;exports.Login=$F;exports.MobileNav=CN;exports.Navbar=pD;exports.NewsPage=vF;exports.Newsletter=mN;exports.NotificationModal=bN;exports.Partners=kN;exports.Register=WF;exports.RegisterV2=JF;exports.SearchableSelect=I9;exports.Services=tN;exports.ServicesNoIcons=lN;exports.SidebarNewsletter=MC;exports.SignInPromptModal=tO;exports.SlidingSummary=dT;exports.TagBadge=Qj;exports.TagPicker=Mq;exports.Testimonials=aN;exports.TrustSignals=yN;exports.ValueProposition=pN;exports.Videos=rN;exports.useConsent=wC;
7824
+ Defaulting to \`null\`.`}var CP=wP,mV=bP;const LP=v.forwardRef(({className:a,value:e,...r},n)=>t.jsx(CP,{ref:n,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...r,children:t.jsx(mV,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));LP.displayName=CP.displayName;function fV({enrolledCourses:a,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:i,onContinue:o,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=j.useState({enrolled:a||[],recommended:r||[],saved:e||[]});j.useEffect(()=>{p({enrolled:a||[],recommended:r||[],saved:e||[]})},[a,r,e]);const f=k=>i(k),m=k=>{p(w=>{if(w.saved.some(b=>b.id===k.id))return w;const L={...w,saved:[...w.saved,{...k,saved:!0}],recommended:w.recommended.map(b=>b.id===k.id?{...b,saved:!0}:b)};return l==null||l(k.id),L})},g=k=>{p(w=>{const M={...w,saved:w.saved.filter(L=>L.id!==k),recommended:w.recommended.map(L=>L.id===k?{...L,saved:!1}:L)};return d==null||d(k),M})},y=k=>{p(w=>{const M={...w,recommended:w.recommended.filter(L=>L.id!==k)};return h==null||h(k),M})},x=({course:k,view:w})=>{const M=u.saved.some(L=>L.id===k.id);return t.jsxs(be,{children:[t.jsx(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:k.title}),t.jsx(Ue,{children:k.provider})]}),t.jsx(at,{variant:"outline",children:k.level})]})}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsx("span",{children:k.duration}),k.certificate&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(La,{className:"h-4 w-4"}),"Certificate"]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:k.tags.map(L=>t.jsx(at,{variant:"secondary",children:L},L))}),w==="enrolled"&&k.progress!==void 0&&t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex justify-between text-sm",children:[t.jsx("span",{className:"text-muted-foreground",children:"Progress"}),t.jsxs("span",{className:"font-medium",children:[k.progress,"%"]})]}),t.jsx(LP,{value:k.progress})]}),w==="recommended"&&k.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",k.reason]}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>o(k.id),children:"Continue Learning"}),w==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>f(k.id),children:"Enroll Now"}),t.jsx(U,{variant:M?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:M,onClick:()=>m(k),children:M?"Saved":"Save Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>y(k.id),children:"Remove"}),!h&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",size:"sm",onClick:()=>f(k.id),children:"Start Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>g(k.id),children:"Remove Saved"}),!d&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};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:"Courses"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),t.jsx(U,{onClick:c,children:"Explore All Courses"})]}),t.jsxs(co,{defaultValue:"enrolled",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[t.jsxs(Ie,{value:"enrolled",children:[t.jsx(Wt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),t.jsxs(Ie,{value:"recommended",children:[t.jsx(Ys,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),t.jsxs(Ie,{value:"certificates",children:[t.jsx(La,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),t.jsx(Ne,{value:"enrolled",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(Wt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(k=>t.jsx(x,{course:k,view:"enrolled"},k.id))})}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(k=>t.jsx(x,{course:k,view:"recommended"},k.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{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 courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(k=>t.jsx(x,{course:k,view:"saved"},k.id))})}),t.jsx(Ne,{value:"certificates",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(La,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),t.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(k=>t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:t.jsx(La,{className:"h-6 w-6 text-accent"})}),t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-base",children:k.title}),t.jsx(Ue,{children:k.issuer}),t.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",k.date]})]})]})}),t.jsx(je,{children:t.jsx(U,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},k.id))})})]})]})}function xV({recommendedNews:a,savedArticles:e,categories:r,selectedCategory:n,onRead:i,onSave:o,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=j.useState({recommended:a||[],saved:e||[]});j.useEffect(()=>{p({recommended:a||[],saved:e||[]})},[a,e]);const f=x=>{p(k=>{if(k.saved.some(L=>L.id===x.id))return k;const M={recommended:k.recommended.map(L=>L.id===x.id?{...L,saved:!0}:L),saved:[...k.saved,{...x,saved:!0}]};return o(x.id),M})},m=x=>{p(k=>{const w={recommended:k.recommended.map(M=>M.id===x?{...M,saved:!1}:M),saved:k.saved.filter(M=>M.id!==x)};return c==null||c(x),w})},g=x=>{p(k=>{const w={...k,recommended:k.recommended.filter(M=>M.id!==x)};return l==null||l(x),w})},y=({article:x,view:k})=>{const w=u.saved.some(M=>M.id===x.id);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start mb-2",children:[t.jsx(at,{variant:"secondary",children:x.category}),t.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),t.jsx(De,{className:"text-lg",children:x.title}),t.jsxs(Ue,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),t.jsx(je,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),t.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(M=>t.jsx(at,{variant:"outline",className:"text-xs",children:M},M))}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[t.jsx(U,{size:"sm",onClick:()=>i(x.id),children:"Read Article"}),k==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>f(x),children:w?"Saved":"Save"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>g(x.id),children:"Remove"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),k==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>m(x.id),children:"Remove Saved"}),!c&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};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:"News"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),t.jsxs(U,{variant:"outline",onClick:h,children:[t.jsx(jo,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),t.jsxs(co,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"recommended",children:[t.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),t.jsxs(Ne,{value:"recommended",className:"space-y-4",children:[t.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[t.jsx(U,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>t.jsx(U,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>t.jsx(y,{article:x,view:"recommended"},x.id))})]}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(je,{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 articles yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>t.jsx(y,{article:x,view:"saved"},x.id))})})]})]})}function gV({settings:a,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:i}=a,o=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),t.jsxs(co,{defaultValue:"notifications",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"notifications",children:[t.jsx(vo,{className:"h-4 w-4 mr-2"}),"Notifications"]}),t.jsxs(Ie,{value:"account",children:[t.jsx(Pc,{className:"h-4 w-4 mr-2"}),"Account"]}),t.jsxs(Ie,{value:"subscription",children:[t.jsx(gc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),t.jsxs(Ie,{value:"connected",children:[t.jsx(jc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),t.jsx(Ne,{value:"notifications",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Notification Preferences"}),t.jsx(Ue,{children:"Choose how you want to be notified"})]}),t.jsxs(je,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(le,{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:r.emailNotifications,onCheckedChange:d=>o({emailNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(le,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),t.jsx(Kt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>o({pushNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(le,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),t.jsx(Kt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>o({weeklyDigest:d})})]}),t.jsxs("div",{className:"border-t pt-4 space-y-4",children:[t.jsx("h4",{className:"font-medium",children:"Content Alerts"}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(le,{htmlFor:"job-alerts-set",children:"Job Alerts"}),t.jsx(Kt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>o({jobAlerts:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(le,{htmlFor:"course-updates",children:"Course Updates"}),t.jsx(Kt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>o({courseUpdates:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(le,{htmlFor:"news-digest",children:"News Digest"}),t.jsx(Kt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>o({newsDigest:d})})]})]})]})]})}),t.jsx(Ne,{value:"account",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Password"}),t.jsx(Ue,{children:"Change your account password"})]}),t.jsx(je,{children:t.jsx(U,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Delete Account"}),t.jsx(Ue,{children:"Permanently delete your account and all data"})]}),t.jsx(je,{children:t.jsx(U,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),t.jsx(Ne,{value:"subscription",children:t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(De,{children:"Subscription Plan"}),t.jsx(Ue,{children:"Manage your membership"})]}),i.isPremium&&t.jsx(at,{children:"Premium"})]})}),t.jsx(je,{className:"space-y-4",children:i.isPremium?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[t.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),t.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[t.jsx("li",{children:"✓ Unlimited job applications"}),t.jsx("li",{children:"✓ Access to all courses"}),t.jsx("li",{children:"✓ Priority support"}),t.jsx("li",{children:"✓ Advanced analytics"}),t.jsx("li",{children:"✓ Ad-free experience"})]})]}),t.jsx(U,{variant:"outline",children:"Manage Subscription"})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),t.jsx(U,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),t.jsx(Ne,{value:"connected",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Connected Accounts"}),t.jsx(Ue,{children:"Manage linked accounts and integrations"})]}),t.jsx(je,{className:"space-y-4",children:n.map(d=>t.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&t.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?t.jsx(U,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):t.jsx(U,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function kV({user:a,profileData:e,jobsDashboard:r,alerts:n,snapshot:i,feedItems:o,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:f,onUpdateProfile:m}){const[g,y]=j.useState("overview"),x=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},k=()=>console.log("/logout"),w=C=>console.log(C),M=async C=>{await m({type:"courses",payload:C})},L=(...C)=>console.log("Action:",...C),b=async C=>{await m({type:"news",payload:C})},I=f||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:a.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},S=async C=>{await m({type:"settings",payload:C})};return t.jsx(rO,{user:a,onLogout:k,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:t.jsxs(co,{value:g,onValueChange:y,className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[t.jsxs(Ie,{value:"overview",className:"flex items-center gap-2",children:[t.jsx(Ma,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),t.jsxs(Ie,{value:"profile",className:"flex items-center gap-2",children:[t.jsx(Dc,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),t.jsxs(Ie,{value:"jobs",className:"flex items-center gap-2",children:[t.jsx(vt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),t.jsxs(Ie,{value:"courses",className:"flex items-center gap-2",children:[t.jsx(Wt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),t.jsxs(Ie,{value:"news",className:"flex items-center gap-2",children:[t.jsx(Sa,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"News"})]}),t.jsxs(Ie,{value:"settings",className:"flex items-center gap-2",children:[t.jsx(Po,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),t.jsx(Ne,{value:"overview",className:"mt-6",children:t.jsx(iO,{userName:a.name,feedItems:o,alerts:n,snapshot:i,onSave:L,onApply:L,onEnroll:C=>M({action:"enroll",courseId:C}),onRead:C=>b({action:"read",articleId:C})})}),t.jsx(Ne,{value:"profile",className:"mt-6",children:t.jsx(aV,{profile:e,onUpdate:C=>m(C)})}),t.jsx(Ne,{value:"jobs",className:"mt-6",children:t.jsx(iV,{savedJobs:x.savedJobs,applications:x.applications,recommendedJobs:x.recommendedJobs,onApply:C=>console.log("Applied:",C),onRemove:C=>console.log("Removed:",C),onUploadCV:c??(C=>console.log("Upload CV changed:",(C==null?void 0:C.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async C=>{await m({type:"jobs",payload:C.payload})}})}),t.jsx(Ne,{value:"courses",className:"mt-6",children:t.jsx(fV,{enrolledCourses:(u==null?void 0:u.enrolledCourses)||[],savedCourses:(u==null?void 0:u.savedCourses)||[],recommendedCourses:(u==null?void 0:u.recommendedCourses)||[],certificates:(u==null?void 0:u.certificates)||[],onEnroll:C=>M({action:"enroll",courseId:C}),onContinue:C=>M({action:"continue",courseId:C}),onExplore:()=>M({action:"explore"}),onSave:C=>M({action:"save",courseId:C}),onRemoveSaved:C=>M({action:"remove-saved",courseId:C}),onRemoveRecommended:C=>M({action:"remove-recommended",courseId:C})})}),t.jsx(Ne,{value:"news",className:"mt-6",children:t.jsx(xV,{recommendedNews:(p==null?void 0:p.recommendedNews)||[],savedArticles:(p==null?void 0:p.savedArticles)||[],categories:(p==null?void 0:p.categories)||[],selectedCategory:(p==null?void 0:p.selectedCategory)||"all",onRead:C=>b({action:"read",articleId:C}),onSave:C=>b({action:"save",articleId:C}),onRemoveSaved:C=>b({action:"remove-saved",articleId:C}),onRemoveRecommended:C=>b({action:"remove-recommended",articleId:C}),onCategoryChange:C=>b({action:"category",category:C}),onManagePreferences:()=>b({action:"manage-preferences"})})}),t.jsx(Ne,{value:"settings",className:"mt-6",children:t.jsx(gV,{settings:I,onUpdate:S})})]})})}exports.Advantages=XI;exports.Analytics=zF;exports.Banner=Zc;exports.Button=U;exports.Cart=cN;exports.Chatbot=oN;exports.ConsentBanner=MN;exports.ConsentProvider=wN;exports.CourseTypes=dN;exports.Courses=KI;exports.CoursesPage=SF;exports.Dashboard=kV;exports.Destinations=QI;exports.FAQ=iN;exports.FeatureJobs=WR;exports.Features=nN;exports.Footer=uD;exports.FooterLib=gN;exports.ForEmployers=hN;exports.ForgotPassword=KF;exports.Gallery=sN;exports.GroupPrices=lT;exports.Header=gF;exports.HeaderAlternative=xN;exports.Hero=eN;exports.HeroAlternative=uN;exports.HomePage=GR;exports.IgamingCareerHome=nD;exports.Input=Te;exports.JobDetailPage=xF;exports.JobListings=hD;exports.JobSearchWidget=fN;exports.Listing=pF;exports.Login=$F;exports.MobileNav=CN;exports.Navbar=pD;exports.NewsPage=vF;exports.Newsletter=mN;exports.NotificationModal=bN;exports.Partners=kN;exports.Register=WF;exports.RegisterV2=JF;exports.SearchableSelect=I9;exports.Services=tN;exports.ServicesNoIcons=lN;exports.SidebarNewsletter=MC;exports.SignInPromptModal=tO;exports.SlidingSummary=dT;exports.TagBadge=Qj;exports.TagPicker=Mq;exports.Testimonials=aN;exports.TrustSignals=yN;exports.ValueProposition=pN;exports.Videos=rN;exports.useConsent=wC;