@scalant/resume-builder 17.0.8 → 17.0.10

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.
@@ -19,7 +19,7 @@ var so = (C, $) => {
19
19
  $.indexOf(V) < 0 && io.call(C, V) && (F[V] = C[V]);
20
20
  return F;
21
21
  };
22
- var $r = (C, $, F) => new Promise((V, K) => {
22
+ var Pr = (C, $, F) => new Promise((V, K) => {
23
23
  var J = (re) => {
24
24
  try {
25
25
  te(F.next(re));
@@ -37,7 +37,7 @@ var $r = (C, $, F) => new Promise((V, K) => {
37
37
  });
38
38
  import * as React from "react";
39
39
  import React__default, { isValidElement, version as version$2, useContext, createContext, useRef, useLayoutEffect as useLayoutEffect$2, useEffect, useState, forwardRef, useMemo as useMemo$1, Children, useCallback, useImperativeHandle, cloneElement as cloneElement$1, memo, Component, useDebugValue, PureComponent, createRef } from "react";
40
- import { useDispatch, useSelector, shallowEqual, useStore, batch } from "react-redux";
40
+ import { useDispatch, shallowEqual, useStore, useSelector, batch } from "react-redux";
41
41
  import { createSlice, nanoid, createAction, createAsyncThunk, SHOULD_AUTOBATCH, prepareAutoBatched, isAnyOf, isFulfilled, isRejectedWithValue, combineReducers as combineReducers$1, createSelector, isPlainObject as isPlainObject$2, isAllOf, isRejected, isPending, createNextState, isAsyncThunkAction } from "@reduxjs/toolkit";
42
42
  import * as ReactDOM from "react-dom";
43
43
  import ReactDOM__default, { createPortal, unstable_batchedUpdates, flushSync } from "react-dom";
@@ -14273,10 +14273,10 @@ function useAlign(C, $, F, V, K, J, ee) {
14273
14273
  if (cr && kt[1] === "l" && (Nt > mt.right || se.current.rl)) {
14274
14274
  var wr = Tt;
14275
14275
  ur ? wr -= Le - We : wr = zt.x - qt.x - ot;
14276
- var br = sr(wr, Dt), Pr = sr(wr, Dt, ut);
14276
+ var br = sr(wr, Dt), Tr = sr(wr, Dt, ut);
14277
14277
  // Of course use larger one
14278
14278
  br > Ht || br === Ht && (!Ze || // Choose recommend one
14279
- Pr >= Wt) ? (se.current.rl = !0, Tt = wr, ot = -ot, It.points = [reversePoints(kt, 1), reversePoints(bt, 1)]) : se.current.rl = !1;
14279
+ Tr >= Wt) ? (se.current.rl = !0, Tt = wr, ot = -ot, It.points = [reversePoints(kt, 1), reversePoints(bt, 1)]) : se.current.rl = !1;
14280
14280
  }
14281
14281
  if (cr && kt[1] === "r" && (ht < mt.left || se.current.lr)) {
14282
14282
  var fr = Tt;
@@ -14291,7 +14291,7 @@ function useAlign(C, $, F, V, K, J, ee) {
14291
14291
  typeof kr == "number" && (ht < ut.left && (Tt -= ht - ut.left - ot, Te.x + We < ut.left + kr && (Tt += Te.x - ut.left + We - kr)), Nt > ut.right && (Tt -= Nt - ut.right - ot, Te.x > ut.right - kr && (Tt += Te.x - ut.right + kr)));
14292
14292
  var Nr = _r === !0 ? 0 : _r;
14293
14293
  typeof Nr == "number" && (lr < ut.top && (Dt -= lr - ut.top - rt, Te.y + Be < ut.top + Nr && (Dt += Te.y - ut.top + Be - Nr)), yr > ut.bottom && (Dt -= yr - ut.bottom - rt, Te.y > ut.bottom - Nr && (Dt += Te.y - ut.bottom + Nr)));
14294
- var zr = ke.x + Tt, Fr = zr + Le, Cr = ke.y + Dt, Wr = Cr + De, Yr = Te.x, mr = Yr + We, Qt = Te.y, ar = Qt + Be, Gt = Math.max(zr, Yr), Yt = Math.min(Fr, mr), dr = (Gt + Yt) / 2, Tr = dr - zr, jr = Math.max(Cr, Qt), Xr = Math.min(Wr, ar), Qr = (jr + Xr) / 2, Jr = Qr - Cr;
14294
+ var zr = ke.x + Tt, Fr = zr + Le, Cr = ke.y + Dt, Wr = Cr + De, Yr = Te.x, mr = Yr + We, Qt = Te.y, ar = Qt + Be, Gt = Math.max(zr, Yr), Yt = Math.min(Fr, mr), dr = (Gt + Yt) / 2, $r = dr - zr, jr = Math.max(Cr, Qt), Xr = Math.min(Wr, ar), Qr = (jr + Xr) / 2, Jr = Qr - Cr;
14295
14295
  ee == null || ee($, It);
14296
14296
  var Gr = yt.right - ke.x - (Tt + ke.width), nr = yt.bottom - ke.y - (Dt + ke.height);
14297
14297
  Et === 1 && (Tt = Math.round(Tt), Gr = Math.round(Gr)), Ct === 1 && (Dt = Math.round(Dt), nr = Math.round(nr));
@@ -14301,7 +14301,7 @@ function useAlign(C, $, F, V, K, J, ee) {
14301
14301
  offsetY: Dt / Ct,
14302
14302
  offsetR: Gr / Et,
14303
14303
  offsetB: nr / Ct,
14304
- arrowX: Tr / Et,
14304
+ arrowX: $r / Et,
14305
14305
  arrowY: Jr / Ct,
14306
14306
  scaleX: Et,
14307
14307
  scaleY: Ct,
@@ -14427,7 +14427,7 @@ function generateTrigger() {
14427
14427
  }, [Ot]);
14428
14428
  var hr = React.useState(null), ir = _slicedToArray(hr, 2), _r = ir[0], pr = ir[1], lr = React.useState(null), yr = _slicedToArray(lr, 2), ht = yr[0], Nt = yr[1], vt = function(vr) {
14429
14429
  Nt([vr.clientX, vr.clientY]);
14430
- }, St = useAlign(Ot, yt, xe && ht !== null ? ht : st, we, $e, Fe, ke), Pt = _slicedToArray(St, 11), Mt = Pt[0], Lt = Pt[1], Ft = Pt[2], Xt = Pt[3], er = Pt[4], cr = Pt[5], ur = Pt[6], wr = Pt[7], br = Pt[8], Pr = Pt[9], fr = Pt[10], Dr = useAction(Ye, re, ae, ne), qr = _slicedToArray(Dr, 2), kr = qr[0], Nr = qr[1], zr = kr.has("click"), Fr = Nr.has("click") || Nr.has("contextMenu"), Cr = useEvent(function() {
14430
+ }, St = useAlign(Ot, yt, xe && ht !== null ? ht : st, we, $e, Fe, ke), Pt = _slicedToArray(St, 11), Mt = Pt[0], Lt = Pt[1], Ft = Pt[2], Xt = Pt[3], er = Pt[4], cr = Pt[5], ur = Pt[6], wr = Pt[7], br = Pt[8], Tr = Pt[9], fr = Pt[10], Dr = useAction(Ye, re, ae, ne), qr = _slicedToArray(Dr, 2), kr = qr[0], Nr = qr[1], zr = kr.has("click"), Fr = Nr.has("click") || Nr.has("contextMenu"), Cr = useEvent(function() {
14431
14431
  Ut || fr();
14432
14432
  }), Wr = function() {
14433
14433
  Tt.current && xe && Fr && Bt(!1);
@@ -14438,9 +14438,9 @@ function generateTrigger() {
14438
14438
  Ot && !($e != null && $e[we]) && Cr();
14439
14439
  }, [JSON.stringify(Fe)]);
14440
14440
  var Yr = React.useMemo(function() {
14441
- var Zt = getAlignPopupClassName($e, J, Pr, xe);
14442
- return classNames(Zt, Te == null ? void 0 : Te(Pr));
14443
- }, [Pr, Te, $e, J, xe]);
14441
+ var Zt = getAlignPopupClassName($e, J, Tr, xe);
14442
+ return classNames(Zt, Te == null ? void 0 : Te(Tr));
14443
+ }, [Tr, Te, $e, J, xe]);
14444
14444
  React.useImperativeHandle(V, function() {
14445
14445
  return {
14446
14446
  nativeElement: rt.current,
@@ -14448,7 +14448,7 @@ function generateTrigger() {
14448
14448
  forceAlign: Cr
14449
14449
  };
14450
14450
  });
14451
- var mr = React.useState(0), Qt = _slicedToArray(mr, 2), ar = Qt[0], Gt = Qt[1], Yt = React.useState(0), dr = _slicedToArray(Yt, 2), Tr = dr[0], jr = dr[1], Xr = function() {
14451
+ var mr = React.useState(0), Qt = _slicedToArray(mr, 2), ar = Qt[0], Gt = Qt[1], Yt = React.useState(0), dr = _slicedToArray(Yt, 2), $r = dr[0], jr = dr[1], Xr = function() {
14452
14452
  if (Ae && st) {
14453
14453
  var vr = st.getBoundingClientRect();
14454
14454
  Gt(vr.width), jr(vr.height);
@@ -14547,7 +14547,7 @@ function generateTrigger() {
14547
14547
  forceRender: be,
14548
14548
  autoDestroy: We,
14549
14549
  getPopupContainer: ge,
14550
- align: Pr,
14550
+ align: Tr,
14551
14551
  arrow: Tn,
14552
14552
  arrowPos: Pn,
14553
14553
  ready: Mt,
@@ -14558,7 +14558,7 @@ function generateTrigger() {
14558
14558
  onAlign: Cr,
14559
14559
  stretch: Ae,
14560
14560
  targetWidth: ar / wr,
14561
- targetHeight: Tr / br
14561
+ targetHeight: $r / br
14562
14562
  })));
14563
14563
  });
14564
14564
  return process.env.NODE_ENV !== "production" && ($.displayName = "Trigger"), $;
@@ -14784,7 +14784,7 @@ var _excluded$x = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
14784
14784
  if (!(Je && isValidCount(qt) && (Ut == null ? void 0 : Ut.size) >= qt)) {
14785
14785
  var Yt = !0, dr = Qt;
14786
14786
  _e == null || _e(null);
14787
- var Tr = getSeparatedContent(Qt, Oe, isValidCount(qt) ? qt - Ut.size : void 0), jr = Gt ? null : Tr;
14787
+ var $r = getSeparatedContent(Qt, Oe, isValidCount(qt) ? qt - Ut.size : void 0), jr = Gt ? null : $r;
14788
14788
  return le !== "combobox" && jr && (dr = "", we == null || we(jr), zt(!1), Yt = !1), Re && at !== dr && Re(dr, {
14789
14789
  source: ar ? "typing" : "effect"
14790
14790
  }), Yt;
@@ -14802,16 +14802,16 @@ var _excluded$x = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
14802
14802
  var ir = useLock(), _r = _slicedToArray(ir, 2), pr = _r[0], lr = _r[1], yr = React.useRef(!1), ht = function(Qt) {
14803
14803
  var ar = pr(), Gt = Qt.key, Yt = Gt === "Enter";
14804
14804
  if (Yt && (le !== "combobox" && Qt.preventDefault(), Dt || zt(!0)), lr(!!at), Gt === "Backspace" && !ar && Je && !at && ne.length) {
14805
- for (var dr = _toConsumableArray(ne), Tr = null, jr = dr.length - 1; jr >= 0; jr -= 1) {
14805
+ for (var dr = _toConsumableArray(ne), $r = null, jr = dr.length - 1; jr >= 0; jr -= 1) {
14806
14806
  var Xr = dr[jr];
14807
14807
  if (!Xr.disabled) {
14808
- dr.splice(jr, 1), Tr = Xr;
14808
+ dr.splice(jr, 1), $r = Xr;
14809
14809
  break;
14810
14810
  }
14811
14811
  }
14812
- Tr && oe(dr, {
14812
+ $r && oe(dr, {
14813
14813
  type: "remove",
14814
- values: [Tr]
14814
+ values: [$r]
14815
14815
  });
14816
14816
  }
14817
14817
  for (var Qr = arguments.length, Jr = new Array(Qr > 1 ? Qr - 1 : 0), Gr = 1; Gr < Qr; Gr++)
@@ -14869,7 +14869,7 @@ var _excluded$x = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
14869
14869
  });
14870
14870
  Ft.push(dr);
14871
14871
  }
14872
- for (var Tr = arguments.length, jr = new Array(Tr > 1 ? Tr - 1 : 0), Xr = 1; Xr < Tr; Xr++)
14872
+ for (var $r = arguments.length, jr = new Array($r > 1 ? $r - 1 : 0), Xr = 1; Xr < $r; Xr++)
14873
14873
  jr[Xr - 1] = arguments[Xr];
14874
14874
  Xe == null || Xe.apply(void 0, [Qt].concat(jr));
14875
14875
  }, er = React.useState({}), cr = _slicedToArray(er, 2), ur = cr[1];
@@ -14883,7 +14883,7 @@ var _excluded$x = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
14883
14883
  var mr;
14884
14884
  return [yt.current, (mr = Ct.current) === null || mr === void 0 ? void 0 : mr.getPopupElement()];
14885
14885
  }, Wt, zt, !!_t);
14886
- var Pr = React.useMemo(function() {
14886
+ var Tr = React.useMemo(function() {
14887
14887
  return _objectSpread2(_objectSpread2({}, C), {}, {
14888
14888
  notFoundContent: pe,
14889
14889
  open: Dt,
@@ -14979,7 +14979,7 @@ var _excluded$x = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
14979
14979
  visible: rt && !Dt,
14980
14980
  values: ne
14981
14981
  }), Wr, Dr, Nr && zr), /* @__PURE__ */ React.createElement(BaseSelectContext.Provider, {
14982
- value: Pr
14982
+ value: Tr
14983
14983
  }, Yr);
14984
14984
  });
14985
14985
  process.env.NODE_ENV !== "production" && (BaseSelect.displayName = "BaseSelect");
@@ -15526,8 +15526,8 @@ function RawList(C, $) {
15526
15526
  };
15527
15527
  }
15528
15528
  for (var Mt = 0, Lt, Ft, Xt, er = Pe.length, cr = 0; cr < er; cr += 1) {
15529
- var ur = Pe[cr], wr = Se(ur), br = $e.get(wr), Pr = Mt + (br === void 0 ? ee : br);
15530
- Pr >= Ke && Lt === void 0 && (Lt = cr, Ft = Mt), Pr > Ke + J && Xt === void 0 && (Xt = cr), Mt = Pr;
15529
+ var ur = Pe[cr], wr = Se(ur), br = $e.get(wr), Tr = Mt + (br === void 0 ? ee : br);
15530
+ Tr >= Ke && Lt === void 0 && (Lt = cr, Ft = Mt), Tr > Ke + J && Xt === void 0 && (Xt = cr), Mt = Tr;
15531
15531
  }
15532
15532
  return Lt === void 0 && (Lt = 0, Ft = 0, Xt = Math.ceil(J / ee)), Xt === void 0 && (Xt = Pe.length - 1), Xt = Math.min(Xt + 1, Pe.length - 1), {
15533
15533
  scrollHeight: Mt,
@@ -20918,7 +20918,7 @@ var _excluded$j = ["prefixCls", "rootClassName", "style", "className", "tabIndex
20918
20918
  return {
20919
20919
  list: et.current,
20920
20920
  focus: function(ar) {
20921
- var Gt, Yt = Pt(), dr = refreshElements(Yt, st), Tr = dr.elements, jr = dr.key2element, Xr = dr.element2key, Qr = getFocusableElements(et.current, Tr), Jr = cr != null ? cr : Qr[0] ? Xr.get(Qr[0]) : (Gt = mt.find(function(rr) {
20921
+ var Gt, Yt = Pt(), dr = refreshElements(Yt, st), $r = dr.elements, jr = dr.key2element, Xr = dr.element2key, Qr = getFocusableElements(et.current, $r), Jr = cr != null ? cr : Qr[0] ? Xr.get(Qr[0]) : (Gt = mt.find(function(rr) {
20922
20922
  return !rr.props.disabled;
20923
20923
  })) === null || Gt === void 0 ? void 0 : Gt.key, Gr = jr.get(Jr);
20924
20924
  if (Jr && Gr) {
@@ -20928,22 +20928,22 @@ var _excluded$j = ["prefixCls", "rootClassName", "style", "className", "tabIndex
20928
20928
  }
20929
20929
  };
20930
20930
  });
20931
- var Pr = useMergedState(Fe || [], {
20931
+ var Tr = useMergedState(Fe || [], {
20932
20932
  value: Ne,
20933
20933
  // Legacy convert key to array
20934
20934
  postState: function(ar) {
20935
20935
  return Array.isArray(ar) ? ar : ar == null ? EMPTY_LIST$2 : [ar];
20936
20936
  }
20937
- }), fr = _slicedToArray(Pr, 2), Dr = fr[0], qr = fr[1], kr = function(ar) {
20937
+ }), fr = _slicedToArray(Tr, 2), Dr = fr[0], qr = fr[1], kr = function(ar) {
20938
20938
  if (we) {
20939
20939
  var Gt = ar.key, Yt = Dr.includes(Gt), dr;
20940
20940
  $e ? Yt ? dr = Dr.filter(function(jr) {
20941
20941
  return jr !== Gt;
20942
20942
  }) : dr = [].concat(_toConsumableArray(Dr), [Gt]) : dr = [Gt], qr(dr);
20943
- var Tr = _objectSpread2(_objectSpread2({}, ar), {}, {
20943
+ var $r = _objectSpread2(_objectSpread2({}, ar), {}, {
20944
20944
  selectedKeys: dr
20945
20945
  });
20946
- Yt ? Te == null || Te(Tr) : Ae == null || Ae(Tr);
20946
+ Yt ? Te == null || Te($r) : Ae == null || Ae($r);
20947
20947
  }
20948
20948
  !$e && Qe.length && Wt !== "inline" && ct(EMPTY_LIST$2);
20949
20949
  }, Nr = useMemoCallback(function(Qt) {
@@ -26277,7 +26277,7 @@ function RangePicker(C, $) {
26277
26277
  React.useEffect(function() {
26278
26278
  Ge || cr(null);
26279
26279
  }, [Ge]);
26280
- var wr = React.useState([0, 0, 0]), br = _slicedToArray(wr, 2), Pr = br[0], fr = br[1], Dr = usePresets(Me, qe), qr = function(rr) {
26280
+ var wr = React.useState([0, 0, 0]), br = _slicedToArray(wr, 2), Tr = br[0], fr = br[1], Dr = usePresets(Me, qe), qr = function(rr) {
26281
26281
  cr(rr), Lt("preset");
26282
26282
  }, kr = function(rr) {
26283
26283
  var sr = zt(rr);
@@ -26309,7 +26309,7 @@ function RangePicker(C, $) {
26309
26309
  showTime: wt,
26310
26310
  range: !0,
26311
26311
  multiplePanel: It,
26312
- activeInfo: Pr,
26312
+ activeInfo: Tr,
26313
26313
  disabledDate: Bt,
26314
26314
  onFocus: Fr,
26315
26315
  onBlur: _t,
@@ -26339,7 +26339,7 @@ function RangePicker(C, $) {
26339
26339
  })), dr = function(rr, sr) {
26340
26340
  var Ir = yr(rr, sr);
26341
26341
  pt(Ir);
26342
- }, Tr = function() {
26342
+ }, $r = function() {
26343
26343
  et("input");
26344
26344
  }, jr = function(rr, sr) {
26345
26345
  var Ir = it.length, Mr = it[Ir - 1];
@@ -26413,7 +26413,7 @@ function RangePicker(C, $) {
26413
26413
  value: ur,
26414
26414
  maskFormat: re,
26415
26415
  onChange: dr,
26416
- onInputChange: Tr,
26416
+ onInputChange: $r,
26417
26417
  format: te,
26418
26418
  inputReadOnly: xe,
26419
26419
  disabled: me,
@@ -26570,9 +26570,9 @@ function Picker(C, $) {
26570
26570
  function Xe(Gt) {
26571
26571
  return Gt === null ? null : Ee ? Gt : Gt[0];
26572
26572
  }
26573
- var Ye = useToggleDates(Ce, Se, J), Je = useOpen(_e, be, [fe], ye), tt = _slicedToArray(Je, 2), Ze = tt[0], lt = tt[1], ut = function(Yt, dr, Tr) {
26573
+ var Ye = useToggleDates(Ce, Se, J), Je = useOpen(_e, be, [fe], ye), tt = _slicedToArray(Je, 2), Ze = tt[0], lt = tt[1], ut = function(Yt, dr, $r) {
26574
26574
  if (Ae) {
26575
- var jr = _objectSpread2({}, Tr);
26575
+ var jr = _objectSpread2({}, $r);
26576
26576
  delete jr.range, Ae(Xe(Yt), Xe(dr), jr);
26577
26577
  }
26578
26578
  }, pt = function(Yt) {
@@ -26605,10 +26605,10 @@ function Picker(C, $) {
26605
26605
  });
26606
26606
  }, [Bt]), Ut = function(Yt, dr) {
26607
26607
  if (ke) {
26608
- var Tr = _objectSpread2(_objectSpread2({}, dr), {}, {
26608
+ var $r = _objectSpread2(_objectSpread2({}, dr), {}, {
26609
26609
  mode: dr.mode[0]
26610
26610
  });
26611
- delete Tr.range, ke(Yt[0], Tr);
26611
+ delete $r.range, ke(Yt[0], $r);
26612
26612
  }
26613
26613
  }, Jt = useRangePickerValue(
26614
26614
  Ce,
@@ -26628,8 +26628,8 @@ function Picker(C, $) {
26628
26628
  ge
26629
26629
  ), hr = _slicedToArray(Jt, 2), ir = hr[0], _r = hr[1], pr = useEvent(function(Gt, Yt, dr) {
26630
26630
  if (kt(Yt), Ne && dr !== !1) {
26631
- var Tr = Gt || st[st.length - 1];
26632
- Ne(Tr, Yt);
26631
+ var $r = Gt || st[st.length - 1];
26632
+ Ne($r, Yt);
26633
26633
  }
26634
26634
  }), lr = function() {
26635
26635
  Ht(dt()), lt(!1, {
@@ -26657,11 +26657,11 @@ function Picker(C, $) {
26657
26657
  var ur = usePresets(He), wr = function(Yt) {
26658
26658
  Xt(Yt), Pt("preset");
26659
26659
  }, br = function(Yt) {
26660
- var dr = Ee ? Ye(dt(), Yt) : [Yt], Tr = Ht(dr);
26661
- Tr && !Ee && lt(!1, {
26660
+ var dr = Ee ? Ye(dt(), Yt) : [Yt], $r = Ht(dr);
26661
+ $r && !Ee && lt(!1, {
26662
26662
  force: !0
26663
26663
  });
26664
- }, Pr = function(Yt) {
26664
+ }, Tr = function(Yt) {
26665
26665
  br(Yt);
26666
26666
  }, fr = function(Yt) {
26667
26667
  Xt(Yt), Pt("cell");
@@ -26705,7 +26705,7 @@ function Picker(C, $) {
26705
26705
  presets: ur,
26706
26706
  onPresetHover: wr,
26707
26707
  onPresetSubmit: br,
26708
- onNow: Pr,
26708
+ onNow: Tr,
26709
26709
  cellRender: Nr
26710
26710
  })), Cr = function(Yt) {
26711
26711
  ft(Yt);
@@ -30143,8 +30143,8 @@ var TabNode = function($) {
30143
30143
  case "Delete": {
30144
30144
  var wr = Wt.indexOf(Rt), br = ve.find(function(fr) {
30145
30145
  return fr.key === Rt;
30146
- }), Pr = getRemovable(br == null ? void 0 : br.closable, br == null ? void 0 : br.closeIcon, ae, br == null ? void 0 : br.disabled);
30147
- Pr && (Ft.preventDefault(), Ft.stopPropagation(), ae.onEdit("remove", {
30146
+ }), Tr = getRemovable(br == null ? void 0 : br.closable, br == null ? void 0 : br.closeIcon, ae, br == null ? void 0 : br.disabled);
30147
+ Tr && (Ft.preventDefault(), Ft.stopPropagation(), ae.onEdit("remove", {
30148
30148
  key: Rt,
30149
30149
  event: Ft
30150
30150
  }), wr === Wt.length - 1 ? zt(-1) : zt(1));
@@ -30192,7 +30192,7 @@ var TabNode = function($) {
30192
30192
  return ve.forEach(function(cr) {
30193
30193
  var ur, wr = cr.key, br = (ur = be.current) === null || ur === void 0 ? void 0 : ur.querySelector('[data-node-key="'.concat(genDataNodeKey(wr), '"]'));
30194
30194
  if (br) {
30195
- var Pr = getTabSize(br, er), fr = _slicedToArray(Pr, 4), Dr = fr[0], qr = fr[1], kr = fr[2], Nr = fr[3];
30195
+ var Tr = getTabSize(br, er), fr = _slicedToArray(Tr, 4), Dr = fr[0], qr = fr[1], kr = fr[2], Nr = fr[3];
30196
30196
  Xt.set(wr, {
30197
30197
  width: Dr,
30198
30198
  height: qr,
@@ -46925,12 +46925,17 @@ Include complex / elaborate Projects done outside work if your tech work experie
46925
46925
  title: "Profile Autofill",
46926
46926
  subtitle: "You can upload your resume or upload your LinkedIn profile"
46927
46927
  },
46928
+ uploaded: {
46929
+ title: "Profile Autofill",
46930
+ subtitle: "You can upload your resume or upload your LinkedIn profile"
46931
+ },
46928
46932
  default: {
46929
46933
  title: "Profile Autofill",
46930
46934
  subtitle: "Save time. Upload your existing resume and we will auto-fill all of your details"
46931
46935
  }
46932
46936
  }, SOURCE_OPTIONS = {
46933
- linkedin: "linkedin"
46937
+ linkedin: "linkedin",
46938
+ uploaded: "uploaded"
46934
46939
  }, LINKEDIN_VIDEO_URL = "https://d2beiqkhq929f0.cloudfront.net/public_assets/assets/000/182/325/original/linkedinresumedownloadvideotutorial.mp4?1772441178", getParsingHeaderConfig = (C, $) => HEADER_CONFIG[C] ? HEADER_CONFIG[C] : HEADER_CONFIG[$] ? HEADER_CONFIG[$] : HEADER_CONFIG.default, getSourceFromURL = () => {
46935
46940
  if (typeof window == "undefined")
46936
46941
  return null;
@@ -46939,141 +46944,7 @@ Include complex / elaborate Projects done outside work if your tech work experie
46939
46944
  return Object.values(SOURCE_OPTIONS).forEach((F) => {
46940
46945
  C.get(F) && ($ = F);
46941
46946
  }), $;
46942
- }, AnalyticsContext = createContext(null), AnalyticsProvider = ({ analytics: C, children: $ }) => /* @__PURE__ */ React__default.createElement(AnalyticsContext.Provider, { value: C }, $), useAnalytics = () => useContext(AnalyticsContext), PRODUCT_NAME = "Resume Builder", container$8 = "_container_k1o44_1", card$1 = "_card_k1o44_6", primaryButton = "_primaryButton_k1o44_13", secondaryButton = "_secondaryButton_k1o44_17", centered = "_centered_k1o44_25", fileName = "_fileName_k1o44_32", progressWrap = "_progressWrap_k1o44_36", headerActions = "_headerActions_k1o44_42", headerButton = "_headerButton_k1o44_48", space = "_space_k1o44_52", styles$l = {
46943
- container: container$8,
46944
- card: card$1,
46945
- primaryButton,
46946
- secondaryButton,
46947
- centered,
46948
- fileName,
46949
- progressWrap,
46950
- headerActions,
46951
- headerButton,
46952
- space
46953
- }, { Text: Text$l } = Typography;
46954
- function LinkedinActions() {
46955
- var ae;
46956
- const C = useAnalytics(), [$, F] = useState(!1), V = useSelector(
46957
- (ne) => ne.scalantResumeBuilder.resumeBuilder.resumeData
46958
- ), K = (ae = V == null ? void 0 : V.user_company_profile) == null ? void 0 : ae.linkedin, J = () => {
46959
- F(!0), C == null || C.click("Resume Parsing - Watch to know how", PRODUCT_NAME);
46960
- }, ee = () => {
46961
- F(!1), C == null || C.click("Resume Parsing - Close video modal", PRODUCT_NAME);
46962
- }, te = () => {
46963
- C == null || C.click("Resume Parsing - Go to my LinkedIn", PRODUCT_NAME), ee(), K && globalThis.open(K, "_blank", "noopener,noreferrer");
46964
- }, re = (ne) => {
46965
- ne && ne.preventDefault(), C == null || C.click("Resume Parsing - Go to LinkedIn Profile", PRODUCT_NAME), K && globalThis.open(K, "_blank", "noopener,noreferrer");
46966
- };
46967
- return K ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Flex, { flex: 1, gap: 8, className: styles$l.headerActions }, /* @__PURE__ */ React__default.createElement(
46968
- Button$2,
46969
- {
46970
- variant: "solid",
46971
- color: "primary",
46972
- className: styles$l.headerButton,
46973
- onClick: re,
46974
- href: K,
46975
- target: "_blank"
46976
- },
46977
- "Go to my LinkedIn Profile"
46978
- ), /* @__PURE__ */ React__default.createElement(
46979
- Button$2,
46980
- {
46981
- variant: "outlined",
46982
- color: "primary",
46983
- icon: /* @__PURE__ */ React__default.createElement(RefIcon$8, null),
46984
- className: styles$l.headerButton,
46985
- onClick: J
46986
- },
46987
- "Watch to know how"
46988
- )), /* @__PURE__ */ React__default.createElement(
46989
- Modal,
46990
- {
46991
- open: $,
46992
- onCancel: ee,
46993
- onOk: te,
46994
- okButtonProps: {
46995
- variant: "outlined",
46996
- color: "primary"
46997
- },
46998
- okText: "Go to my LinkedIn",
46999
- width: 500,
47000
- destroyOnHidden: !0,
47001
- centered: !0
47002
- },
47003
- /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, /* @__PURE__ */ React__default.createElement("span", { className: styles$l.space }), /* @__PURE__ */ React__default.createElement("video", { controls: !0, width: "100%" }, /* @__PURE__ */ React__default.createElement("source", { src: LINKEDIN_VIDEO_URL, type: "video/mp4" })), /* @__PURE__ */ React__default.createElement(Text$l, null, "How to download your LinkedIn Profile as a resume"))
47004
- )) : null;
47005
- }
47006
- function Header$2({ parsingStatus: C }) {
47007
- const $ = getSourceFromURL(), F = getParsingHeaderConfig(C, $);
47008
- return /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, flex: 1 }, /* @__PURE__ */ React__default.createElement(PageHeader, { title: F.title, subtitle: F.subtitle }), /* @__PURE__ */ React__default.createElement(LinkedinActions, null));
47009
- }
47010
- const { Paragraph: Paragraph$3, Text: Text$k } = Typography, { Dragger } = Upload, UploadPrompt = ({ onSkip: C, onSelectFile: $ }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
47011
- Dragger,
47012
- {
47013
- multiple: !1,
47014
- accept: ".pdf,.doc,.docx,.txt,.md",
47015
- showUploadList: !1,
47016
- beforeUpload: () => !1,
47017
- onChange: ({ file: F }) => {
47018
- if (F) {
47019
- const V = {
47020
- target: { files: [F.originFileObj || F] }
47021
- };
47022
- $ == null || $(V);
47023
- }
47024
- }
47025
- },
47026
- /* @__PURE__ */ React__default.createElement("div", { className: styles$l.centered }, /* @__PURE__ */ React__default.createElement(RefIcon$h, { style: { fontSize: 40, color: "#1677ff" } }), /* @__PURE__ */ React__default.createElement(Paragraph$3, { style: { marginTop: 12, marginBottom: 0 } }, "Click or drop your old resume to upload"), /* @__PURE__ */ React__default.createElement(Text$k, { type: "secondary" }, "We support PDF, DOCX, TXT & MD below 2MB"))
47027
- ), /* @__PURE__ */ React__default.createElement(Button$2, { block: !0, className: styles$l.secondaryButton, onClick: C }, "Skip and Fill Manually")), { Paragraph: Paragraph$2 } = Typography, Loading = ({ fileName: C = "Resume.pdf", percent: $ = 40 }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement("div", { className: `${styles$l.card} ${styles$l.centered}` }, /* @__PURE__ */ React__default.createElement(RefIcon$o, { style: { fontSize: 40, color: "#1677ff" } }), /* @__PURE__ */ React__default.createElement(Paragraph$2, { className: styles$l.fileName }, C), /* @__PURE__ */ React__default.createElement("div", { className: styles$l.progressWrap }, /* @__PURE__ */ React__default.createElement(Progress, { percent: $, showInfo: !0 }))), /* @__PURE__ */ React__default.createElement(Button$2, { block: !0, disabled: !0, className: styles$l.primaryButton, type: "primary" }, "Continue")), { Paragraph: Paragraph$1, Text: Text$j } = Typography, ErrorState = ({ fileName: C = "Resume.pdf", onRetry: $, onSkip: F }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
47028
- "div",
47029
- {
47030
- className: `${styles$l.card} ${styles$l.centered}`,
47031
- style: { background: "#fff1f0", borderColor: "#ffccc7" }
47032
- },
47033
- /* @__PURE__ */ React__default.createElement(RefIcon$r, { style: { fontSize: 40, color: "#ff4d4f" } }),
47034
- /* @__PURE__ */ React__default.createElement(Paragraph$1, { className: styles$l.fileName, style: { marginBottom: 0 } }, C),
47035
- /* @__PURE__ */ React__default.createElement(Text$j, { type: "secondary" }, "We were not able to analyze anything from the file")
47036
- ), /* @__PURE__ */ React__default.createElement(
47037
- Button$2,
47038
- {
47039
- type: "primary",
47040
- block: !0,
47041
- className: styles$l.primaryButton,
47042
- onClick: $
47043
- },
47044
- "Retry"
47045
- ), /* @__PURE__ */ React__default.createElement(
47046
- Button$2,
47047
- {
47048
- block: !0,
47049
- className: styles$l.secondaryButton,
47050
- type: "text",
47051
- onClick: F
47052
- },
47053
- "Skip and Fill Manually"
47054
- )), { Paragraph, Text: Text$i } = Typography, SuccessState = ({
47055
- fileName: C = "Resume.pdf",
47056
- sections: $ = ["Skills", "Projects", "Education", "Work Experience"],
47057
- onSave: F
47058
- }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
47059
- "div",
47060
- {
47061
- className: `${styles$l.card} ${styles$l.centered}`,
47062
- style: { background: "#f6ffed", borderColor: "#b7eb8f" }
47063
- },
47064
- /* @__PURE__ */ React__default.createElement(RefIcon$q, { style: { fontSize: 40, color: "#52c41a" } }),
47065
- /* @__PURE__ */ React__default.createElement(Paragraph, { className: styles$l.fileName, style: { marginBottom: 0 } }, C),
47066
- /* @__PURE__ */ React__default.createElement(Text$i, { type: "secondary" }, "Sections Parsed: ", $.join(", "))
47067
- ), /* @__PURE__ */ React__default.createElement(
47068
- Button$2,
47069
- {
47070
- type: "primary",
47071
- block: !0,
47072
- className: styles$l.primaryButton,
47073
- onClick: F
47074
- },
47075
- "Continue"
47076
- ));
46947
+ }, AnalyticsContext = createContext(null), AnalyticsProvider = ({ analytics: C, children: $ }) => /* @__PURE__ */ React__default.createElement(AnalyticsContext.Provider, { value: C }, $), useAnalytics = () => useContext(AnalyticsContext), PRODUCT_NAME = "Resume Builder";
47077
46948
  function n(C) {
47078
46949
  for (var $ = arguments.length, F = Array($ > 1 ? $ - 1 : 0), V = 1; V < $; V++) F[V - 1] = arguments[V];
47079
46950
  if (process.env.NODE_ENV !== "production") {
@@ -49470,7 +49341,7 @@ var reactHooksModuleName = /* @__PURE__ */ Symbol(), reactHooksModule = function
49470
49341
  };
49471
49342
  }, createApi = /* @__PURE__ */ buildCreateApi(coreModule(), reactHooksModule());
49472
49343
  let baseUrl = window.location.origin;
49473
- const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49344
+ const dynamicBaseQuery = (C, $, F) => Pr(null, null, function* () {
49474
49345
  return fetchBaseQuery({
49475
49346
  baseUrl,
49476
49347
  prepareHeaders: (K) => {
@@ -49538,48 +49409,217 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49538
49409
  useUpdateResumePreferencesMutation,
49539
49410
  useGetResumeReviewMutation,
49540
49411
  useGetResumeFeedbackMutation
49541
- } = resumeBuilderApi, TOTAL_TIMEOUT_MS = 6e4, PROGRESS_TICK_MS = 500, MAX_PRE_SUCCESS_PERCENT = 99, MIN_PROGRESS_PERCENT = 1, ResumeParsing = ({
49412
+ } = resumeBuilderApi, container$8 = "_container_k1o44_1", card$1 = "_card_k1o44_6", primaryButton = "_primaryButton_k1o44_13", secondaryButton = "_secondaryButton_k1o44_17", centered = "_centered_k1o44_25", fileName = "_fileName_k1o44_32", progressWrap = "_progressWrap_k1o44_36", headerActions = "_headerActions_k1o44_42", headerButton = "_headerButton_k1o44_48", space = "_space_k1o44_52", styles$l = {
49413
+ container: container$8,
49414
+ card: card$1,
49415
+ primaryButton,
49416
+ secondaryButton,
49417
+ centered,
49418
+ fileName,
49419
+ progressWrap,
49420
+ headerActions,
49421
+ headerButton,
49422
+ space
49423
+ }, { Text: Text$l } = Typography;
49424
+ function LinkedinActions() {
49425
+ var ae;
49426
+ const C = useAnalytics(), [$, F] = useState(!1), V = useSelector(
49427
+ (ne) => ne.scalantResumeBuilder.resumeBuilder.resumeData
49428
+ ), K = (ae = V == null ? void 0 : V.user_company_profile) == null ? void 0 : ae.linkedin, J = () => {
49429
+ F(!0), C == null || C.click("Resume Parsing - Watch to know how", PRODUCT_NAME);
49430
+ }, ee = () => {
49431
+ F(!1), C == null || C.click("Resume Parsing - Close video modal", PRODUCT_NAME);
49432
+ }, te = () => {
49433
+ C == null || C.click("Resume Parsing - Go to my LinkedIn", PRODUCT_NAME), ee(), K && globalThis.open(K, "_blank", "noopener,noreferrer");
49434
+ }, re = () => {
49435
+ C == null || C.click("Resume Parsing - Go to LinkedIn Profile", PRODUCT_NAME);
49436
+ };
49437
+ return K ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Flex, { flex: 1, gap: 8, className: styles$l.headerActions }, /* @__PURE__ */ React__default.createElement(
49438
+ Button$2,
49439
+ {
49440
+ variant: "solid",
49441
+ color: "primary",
49442
+ className: styles$l.headerButton,
49443
+ onClick: re,
49444
+ href: K,
49445
+ target: "_blank"
49446
+ },
49447
+ "Go to my LinkedIn Profile"
49448
+ ), /* @__PURE__ */ React__default.createElement(
49449
+ Button$2,
49450
+ {
49451
+ variant: "outlined",
49452
+ color: "primary",
49453
+ icon: /* @__PURE__ */ React__default.createElement(RefIcon$8, null),
49454
+ className: styles$l.headerButton,
49455
+ onClick: J
49456
+ },
49457
+ "Watch to know how"
49458
+ )), /* @__PURE__ */ React__default.createElement(
49459
+ Modal,
49460
+ {
49461
+ open: $,
49462
+ onCancel: ee,
49463
+ onOk: te,
49464
+ okButtonProps: {
49465
+ variant: "outlined",
49466
+ color: "primary"
49467
+ },
49468
+ okText: "Go to my LinkedIn",
49469
+ width: 500,
49470
+ destroyOnHidden: !0,
49471
+ centered: !0
49472
+ },
49473
+ /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, /* @__PURE__ */ React__default.createElement("span", { className: styles$l.space }), /* @__PURE__ */ React__default.createElement("video", { controls: !0, width: "100%" }, /* @__PURE__ */ React__default.createElement("source", { src: LINKEDIN_VIDEO_URL, type: "video/mp4" })), /* @__PURE__ */ React__default.createElement(Text$l, null, "How to download your LinkedIn Profile as a resume"))
49474
+ )) : null;
49475
+ }
49476
+ function UploadedResumeActions({ startTimeout: C, startProgress: $, resumeId: F }) {
49477
+ var ae;
49478
+ const V = useDispatch(), [K] = useParseResumeMutation(), J = useAnalytics(), ee = useSelector((ne) => ne.scalantResumeBuilder.metaData), te = (ae = ee == null ? void 0 : ee.meta) == null ? void 0 : ae.user_uploaded_resume_link, re = () => Pr(null, null, function* () {
49479
+ J == null || J.click(
49480
+ "Resume Parsing - Use my Existing Uploaded Resume",
49481
+ PRODUCT_NAME
49482
+ );
49483
+ try {
49484
+ V(setParsingLoading()), V(setParsingPercent(0)), C(), $(), yield K({
49485
+ resumeId: F,
49486
+ resourceLink: te
49487
+ }).unwrap();
49488
+ } catch (ne) {
49489
+ V(setParsingError("Failed to start parsing."));
49490
+ }
49491
+ });
49492
+ return te ? /* @__PURE__ */ React__default.createElement(Flex, { flex: 1, gap: 8, className: styles$l.headerActions }, /* @__PURE__ */ React__default.createElement(
49493
+ Button$2,
49494
+ {
49495
+ variant: "solid",
49496
+ color: "primary",
49497
+ className: styles$l.headerButton,
49498
+ onClick: re
49499
+ },
49500
+ "Use my Existing Uploaded Resume"
49501
+ )) : null;
49502
+ }
49503
+ function Header$2({ startTimeout: C, startProgress: $, parsingStatus: F, resumeId: V }) {
49504
+ const K = getSourceFromURL(), J = getParsingHeaderConfig(F, K);
49505
+ return /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, flex: 1 }, /* @__PURE__ */ React__default.createElement(PageHeader, { title: J.title, subtitle: J.subtitle }), K === SOURCE_OPTIONS.linkedin && /* @__PURE__ */ React__default.createElement(LinkedinActions, null), K === SOURCE_OPTIONS.uploaded && /* @__PURE__ */ React__default.createElement(
49506
+ UploadedResumeActions,
49507
+ {
49508
+ startTimeout: C,
49509
+ startProgress: $,
49510
+ resumeId: V
49511
+ }
49512
+ ));
49513
+ }
49514
+ const { Paragraph: Paragraph$3, Text: Text$k } = Typography, { Dragger } = Upload, UploadPrompt = ({ onSkip: C, onSelectFile: $ }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
49515
+ Dragger,
49516
+ {
49517
+ multiple: !1,
49518
+ accept: ".pdf,.doc,.docx,.txt,.md",
49519
+ showUploadList: !1,
49520
+ beforeUpload: () => !1,
49521
+ onChange: ({ file: F }) => {
49522
+ if (F) {
49523
+ const V = {
49524
+ target: { files: [F.originFileObj || F] }
49525
+ };
49526
+ $ == null || $(V);
49527
+ }
49528
+ }
49529
+ },
49530
+ /* @__PURE__ */ React__default.createElement("div", { className: styles$l.centered }, /* @__PURE__ */ React__default.createElement(RefIcon$h, { style: { fontSize: 40, color: "#1677ff" } }), /* @__PURE__ */ React__default.createElement(Paragraph$3, { style: { marginTop: 12, marginBottom: 0 } }, "Click or drop your old resume to upload"), /* @__PURE__ */ React__default.createElement(Text$k, { type: "secondary" }, "We support PDF, DOCX, TXT & MD below 2MB"))
49531
+ ), /* @__PURE__ */ React__default.createElement(Button$2, { block: !0, className: styles$l.secondaryButton, onClick: C }, "Skip and Fill Manually")), { Paragraph: Paragraph$2 } = Typography, Loading = ({ fileName: C = "Resume.pdf", percent: $ = 40 }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement("div", { className: `${styles$l.card} ${styles$l.centered}` }, /* @__PURE__ */ React__default.createElement(RefIcon$o, { style: { fontSize: 40, color: "#1677ff" } }), /* @__PURE__ */ React__default.createElement(Paragraph$2, { className: styles$l.fileName }, C), /* @__PURE__ */ React__default.createElement("div", { className: styles$l.progressWrap }, /* @__PURE__ */ React__default.createElement(Progress, { percent: $, showInfo: !0 }))), /* @__PURE__ */ React__default.createElement(Button$2, { block: !0, disabled: !0, className: styles$l.primaryButton, type: "primary" }, "Continue")), { Paragraph: Paragraph$1, Text: Text$j } = Typography, ErrorState = ({ fileName: C = "Resume.pdf", onRetry: $, onSkip: F }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
49532
+ "div",
49533
+ {
49534
+ className: `${styles$l.card} ${styles$l.centered}`,
49535
+ style: { background: "#fff1f0", borderColor: "#ffccc7" }
49536
+ },
49537
+ /* @__PURE__ */ React__default.createElement(RefIcon$r, { style: { fontSize: 40, color: "#ff4d4f" } }),
49538
+ /* @__PURE__ */ React__default.createElement(Paragraph$1, { className: styles$l.fileName, style: { marginBottom: 0 } }, C),
49539
+ /* @__PURE__ */ React__default.createElement(Text$j, { type: "secondary" }, "We were not able to analyze anything from the file")
49540
+ ), /* @__PURE__ */ React__default.createElement(
49541
+ Button$2,
49542
+ {
49543
+ type: "primary",
49544
+ block: !0,
49545
+ className: styles$l.primaryButton,
49546
+ onClick: $
49547
+ },
49548
+ "Retry"
49549
+ ), /* @__PURE__ */ React__default.createElement(
49550
+ Button$2,
49551
+ {
49552
+ block: !0,
49553
+ className: styles$l.secondaryButton,
49554
+ type: "text",
49555
+ onClick: F
49556
+ },
49557
+ "Skip and Fill Manually"
49558
+ )), { Paragraph, Text: Text$i } = Typography, SuccessState = ({
49559
+ fileName: C = "Resume.pdf",
49560
+ sections: $ = ["Skills", "Projects", "Education", "Work Experience"],
49561
+ onSave: F
49562
+ }) => /* @__PURE__ */ React__default.createElement("div", { className: styles$l.container }, /* @__PURE__ */ React__default.createElement(
49563
+ "div",
49564
+ {
49565
+ className: `${styles$l.card} ${styles$l.centered}`,
49566
+ style: { background: "#f6ffed", borderColor: "#b7eb8f" }
49567
+ },
49568
+ /* @__PURE__ */ React__default.createElement(RefIcon$q, { style: { fontSize: 40, color: "#52c41a" } }),
49569
+ /* @__PURE__ */ React__default.createElement(Paragraph, { className: styles$l.fileName, style: { marginBottom: 0 } }, C),
49570
+ /* @__PURE__ */ React__default.createElement(Text$i, { type: "secondary" }, "Sections Parsed: ", $.join(", "))
49571
+ ), /* @__PURE__ */ React__default.createElement(
49572
+ Button$2,
49573
+ {
49574
+ type: "primary",
49575
+ block: !0,
49576
+ className: styles$l.primaryButton,
49577
+ onClick: F
49578
+ },
49579
+ "Continue"
49580
+ )), TOTAL_TIMEOUT_MS = 6e4, PROGRESS_TICK_MS = 500, MAX_PRE_SUCCESS_PERCENT = 99, MIN_PROGRESS_PERCENT = 1, ResumeParsing = ({
49542
49581
  onUploadFile: C,
49543
49582
  onFileUploaded: $,
49544
49583
  onRetry: F,
49545
49584
  onContinue: V,
49546
49585
  onSkip: K
49547
49586
  }) => {
49587
+ var ye;
49548
49588
  const J = useDispatch(), [ee, te] = useState("resume.pdf"), re = useRef(null), ae = useRef(null), ne = useRef(null), oe = useRef(!1), ie = useSelector(
49549
- (ye) => {
49550
- var Se, Ce;
49551
- return (Ce = (Se = ye.scalantResumeBuilder) == null ? void 0 : Se.resumeBuilder) == null ? void 0 : Ce.resumeData;
49589
+ (Se) => {
49590
+ var Ce, Re;
49591
+ return (Re = (Ce = Se.scalantResumeBuilder) == null ? void 0 : Ce.resumeBuilder) == null ? void 0 : Re.resumeData;
49552
49592
  }
49553
49593
  ), se = useSelector(
49554
- (ye) => {
49555
- var Se, Ce;
49556
- return (Ce = (Se = ye.scalantResumeBuilder) == null ? void 0 : Se.resumeParsing) == null ? void 0 : Ce.status;
49594
+ (Se) => {
49595
+ var Ce, Re;
49596
+ return (Re = (Ce = Se.scalantResumeBuilder) == null ? void 0 : Ce.resumeParsing) == null ? void 0 : Re.status;
49557
49597
  }
49558
49598
  ), pe = useSelector(
49559
- (ye) => {
49560
- var Se, Ce;
49561
- return (Ce = (Se = ye.scalantResumeBuilder) == null ? void 0 : Se.resumeParsing) == null ? void 0 : Ce.percent;
49599
+ (Se) => {
49600
+ var Ce, Re;
49601
+ return (Re = (Ce = Se.scalantResumeBuilder) == null ? void 0 : Ce.resumeParsing) == null ? void 0 : Re.percent;
49562
49602
  }
49563
49603
  ), ue = useSelector(
49564
- (ye) => {
49565
- var Se, Ce;
49566
- return (Ce = (Se = ye.scalantResumeBuilder) == null ? void 0 : Se.resumeParsing) == null ? void 0 : Ce.parsedData;
49604
+ (Se) => {
49605
+ var Ce, Re;
49606
+ return (Re = (Ce = Se.scalantResumeBuilder) == null ? void 0 : Ce.resumeParsing) == null ? void 0 : Re.parsedData;
49567
49607
  }
49568
49608
  ), [le] = useParseResumeMutation(), me = useCallback(() => {
49569
49609
  re.current && (globalThis.clearTimeout(re.current), re.current = null);
49570
49610
  }, []), de = useCallback(() => {
49571
49611
  ae.current && (globalThis.clearInterval(ae.current), ae.current = null);
49572
- }, []), ve = useCallback((ye) => {
49573
- const Se = Date.now() - (ye || Date.now()), Ce = Math.min(
49574
- Se / TOTAL_TIMEOUT_MS,
49612
+ }, []), ve = useCallback((Se) => {
49613
+ const Ce = Date.now() - (Se || Date.now()), Re = Math.min(
49614
+ Ce / TOTAL_TIMEOUT_MS,
49575
49615
  MAX_PRE_SUCCESS_PERCENT / 100
49576
49616
  );
49577
- return Math.max(MIN_PROGRESS_PERCENT, Math.floor(Ce * 100));
49617
+ return Math.max(MIN_PROGRESS_PERCENT, Math.floor(Re * 100));
49578
49618
  }, []), fe = useCallback(() => {
49579
49619
  de(), ne.current = Date.now(), ae.current = globalThis.setInterval(() => {
49580
49620
  if (oe.current) return;
49581
- const ye = ve(ne.current);
49582
- J(setParsingPercent(ye));
49621
+ const Se = ve(ne.current);
49622
+ J(setParsingPercent(Se));
49583
49623
  }, PROGRESS_TICK_MS);
49584
49624
  }, [ve, J, de]), ce = useCallback(() => {
49585
49625
  me(), oe.current = !1, re.current = globalThis.setTimeout(() => {
@@ -49587,21 +49627,21 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49587
49627
  }, TOTAL_TIMEOUT_MS);
49588
49628
  }, [me, J]), he = useCallback(() => {
49589
49629
  J(resetParsing()), F == null || F();
49590
- }, [J, F]), ge = (ye) => $r(null, null, function* () {
49591
- var Ce, Re, we;
49592
- const Se = (Re = (Ce = ye == null ? void 0 : ye.target) == null ? void 0 : Ce.files) == null ? void 0 : Re[0];
49593
- if (Se) {
49594
- te(Se.name);
49630
+ }, [J, F]), ge = (Se) => Pr(null, null, function* () {
49631
+ var Re, we, Oe;
49632
+ const Ce = (we = (Re = Se == null ? void 0 : Se.target) == null ? void 0 : Re.files) == null ? void 0 : we[0];
49633
+ if (Ce) {
49634
+ te(Ce.name);
49595
49635
  try {
49596
49636
  if (C) {
49597
- const Oe = yield C(Se);
49598
- $ == null || $(Oe);
49599
- const $e = (we = ie == null ? void 0 : ie.resume_details) == null ? void 0 : we.id;
49600
- if (!$e) throw new Error("Missing resume id");
49601
- J(setParsingLoading()), J(setParsingPercent(0)), ce(), fe(), yield le({ resumeId: $e, resourceLink: Oe }).unwrap();
49637
+ const $e = yield C(Ce);
49638
+ $ == null || $($e);
49639
+ const Fe = (Oe = ie == null ? void 0 : ie.resume_details) == null ? void 0 : Oe.id;
49640
+ if (!Fe) throw new Error("Missing resume id");
49641
+ J(setParsingLoading()), J(setParsingPercent(0)), ce(), fe(), yield le({ resumeId: Fe, resourceLink: $e }).unwrap();
49602
49642
  } else
49603
49643
  throw new Error("Upload file function not provided");
49604
- } catch (Oe) {
49644
+ } catch ($e) {
49605
49645
  J(setParsingError("Failed to start parsing."));
49606
49646
  }
49607
49647
  }
@@ -49625,7 +49665,15 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49625
49665
  me(), de();
49626
49666
  },
49627
49667
  [me, de]
49628
- ), /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(Header$2, { parsingStatus: se }), (!se || se === PARSING_STATUS.IDLE) && /* @__PURE__ */ React__default.createElement(UploadPrompt, { onSkip: be, onSelectFile: ge }), se === PARSING_STATUS.LOADING && /* @__PURE__ */ React__default.createElement(Loading, { fileName: ee, percent: pe }), se === PARSING_STATUS.ERROR && /* @__PURE__ */ React__default.createElement(
49668
+ ), /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(
49669
+ Header$2,
49670
+ {
49671
+ startTimeout: ce,
49672
+ startProgress: fe,
49673
+ parsingStatus: se,
49674
+ resumeId: (ye = ie == null ? void 0 : ie.resume_details) == null ? void 0 : ye.id
49675
+ }
49676
+ ), (!se || se === PARSING_STATUS.IDLE) && /* @__PURE__ */ React__default.createElement(UploadPrompt, { onSkip: be, onSelectFile: ge }), se === PARSING_STATUS.LOADING && /* @__PURE__ */ React__default.createElement(Loading, { fileName: ee, percent: pe }), se === PARSING_STATUS.ERROR && /* @__PURE__ */ React__default.createElement(
49629
49677
  ErrorState,
49630
49678
  {
49631
49679
  fileName: ee,
@@ -49690,7 +49738,7 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49690
49738
  (oe) => oe.scalantResumeBuilder.resumeBuilder.resumeData
49691
49739
  ), ee = useCallback(() => {
49692
49740
  F(setModal({ modalName: MODAL_NAMES.RESUME_REVIEW, isOpen: !1 }));
49693
- }, [F]), te = useCallback(() => $r(null, null, function* () {
49741
+ }, [F]), te = useCallback(() => Pr(null, null, function* () {
49694
49742
  var oe;
49695
49743
  try {
49696
49744
  yield V({
@@ -49967,7 +50015,7 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
49967
50015
  data: he
49968
50016
  })
49969
50017
  );
49970
- }, fe = () => $r(null, null, function* () {
50018
+ }, fe = () => Pr(null, null, function* () {
49971
50019
  var he;
49972
50020
  const ce = de();
49973
50021
  try {
@@ -50164,7 +50212,7 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
50164
50212
  data: fe
50165
50213
  })
50166
50214
  );
50167
- }, de = (ve) => $r(null, null, function* () {
50215
+ }, de = (ve) => Pr(null, null, function* () {
50168
50216
  var ge, be, _e, ye, Se;
50169
50217
  const fe = ((ge = ve == null ? void 0 : ve.totalWorkExperience) == null ? void 0 : ge.yearsExperience) * 12 + ((be = ve == null ? void 0 : ve.totalWorkExperience) == null ? void 0 : be.monthsExperience), ce = ae ? 0 : ((_e = ve == null ? void 0 : ve.totalWorkExperienceInTech) == null ? void 0 : _e.yearsExperienceInTech) * 12 + ((ye = ve == null ? void 0 : ve.totalWorkExperienceInTech) == null ? void 0 : ye.monthsExperienceInTech);
50170
50218
  if (ce > fe) {
@@ -50513,7 +50561,7 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
50513
50561
  })
50514
50562
  );
50515
50563
  }, [F, te, pe]);
50516
- const ue = () => $r(null, null, function* () {
50564
+ const ue = () => Pr(null, null, function* () {
50517
50565
  var Ce;
50518
50566
  const ye = ee == null ? void 0 : ee.personalInfoAndSocial, Se = Rr(or({}, ye), {
50519
50567
  additionalProfiles: V
@@ -50567,9 +50615,9 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
50567
50615
  } catch (Re) {
50568
50616
  return staticMethods.error("Failed to update personal details"), console.error("Error updating personal details:", Re), !1;
50569
50617
  }
50570
- }), le = () => $r(null, null, function* () {
50618
+ }), le = () => Pr(null, null, function* () {
50571
50619
  (yield ue()) && (C == null || C(FORM_KEYS.personal_details, !0));
50572
- }), me = () => $r(null, null, function* () {
50620
+ }), me = () => Pr(null, null, function* () {
50573
50621
  (yield ue()) && (C == null || C(FORM_KEYS.personal_details));
50574
50622
  }), de = (ye, Se) => {
50575
50623
  F(
@@ -51177,7 +51225,7 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
51177
51225
  proficiency_period: xe.proficiency_period
51178
51226
  });
51179
51227
  J(ke), te(!0);
51180
- }, Ae = () => $r(null, null, function* () {
51228
+ }, Ae = () => Pr(null, null, function* () {
51181
51229
  var Pe;
51182
51230
  if (ge.length === 0)
51183
51231
  return staticMethods.error("Please select at least one skill before saving"), !1;
@@ -51218,9 +51266,9 @@ const dynamicBaseQuery = (C, $, F) => $r(null, null, function* () {
51218
51266
  })
51219
51267
  );
51220
51268
  }, [$, ne, ce]);
51221
- const Te = () => $r(null, null, function* () {
51269
+ const Te = () => Pr(null, null, function* () {
51222
51270
  (yield Ae()) && (C == null || C(FORM_KEYS.skills, !0));
51223
- }), Ee = () => $r(null, null, function* () {
51271
+ }), Ee = () => Pr(null, null, function* () {
51224
51272
  (yield Ae()) && (C == null || C(FORM_KEYS.skills));
51225
51273
  });
51226
51274
  return /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical", size: 24, className: styles$c.container }, /* @__PURE__ */ React__default.createElement(SectionFeedback, { feedbackData: ie }), /* @__PURE__ */ React__default.createElement(SkillDemoVideoModal, null), /* @__PURE__ */ React__default.createElement(Flex, { align: "center", gap: 16 }, /* @__PURE__ */ React__default.createElement(Checkbox, { checked: F, onChange: Oe }, /* @__PURE__ */ React__default.createElement(Text$9, null, "Group skills as ", /* @__PURE__ */ React__default.createElement("strong", null, "Languages, Libraries, Tools."))), /* @__PURE__ */ React__default.createElement(Tooltip, { title: SKILL_VIEW_TOOLTIPS.CATEGORIZE }, /* @__PURE__ */ React__default.createElement(RefIcon$g, { style: { color: "#8c8c8c", cursor: "pointer" } }))), ge.length > 0 && /* @__PURE__ */ React__default.createElement(
@@ -60739,7 +60787,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
60739
60787
  }, AiSuggestionBanner = ({ onClick: C }) => {
60740
60788
  const $ = useSelector(
60741
60789
  (J) => J.scalantResumeBuilder.resumeBuilder.resumeData
60742
- ), [F, { isLoading: V }] = useGetResumeReviewMutation(), K = useCallback(() => $r(null, null, function* () {
60790
+ ), [F, { isLoading: V }] = useGetResumeReviewMutation(), K = useCallback(() => Pr(null, null, function* () {
60743
60791
  var J, ee;
60744
60792
  try {
60745
60793
  C == null || C();
@@ -60850,7 +60898,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
60850
60898
  description: isHtmlEmpty(he.formData.description) ? "" : he.formData.description,
60851
60899
  project_link: he.formData.project_link,
60852
60900
  user_id: J == null ? void 0 : J.user_id
60853
- })), de = () => $r(null, null, function* () {
60901
+ })), de = () => Pr(null, null, function* () {
60854
60902
  var be;
60855
60903
  const ce = (ee == null ? void 0 : ee.projectItems) || [];
60856
60904
  if (ce.some((_e) => !_e.completed))
@@ -60870,9 +60918,9 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
60870
60918
  } catch (_e) {
60871
60919
  return staticMethods.error(`Failed to update projects: ${_e.message}`), !1;
60872
60920
  }
60873
- }), ve = () => $r(null, null, function* () {
60921
+ }), ve = () => Pr(null, null, function* () {
60874
60922
  (yield de()) && (C == null || C(FORM_KEYS.projects, !0));
60875
- }), fe = () => $r(null, null, function* () {
60923
+ }), fe = () => Pr(null, null, function* () {
60876
60924
  (yield de()) && (C == null || C(FORM_KEYS.projects));
60877
60925
  });
60878
60926
  return /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, !V && /* @__PURE__ */ React__default.createElement(AiSuggestionBanner, { onClick: F }), /* @__PURE__ */ React__default.createElement(SectionFeedback, { feedbackData: ae }), /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical", style: { width: "100%" } }, /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, ((ee == null ? void 0 : ee.projectItems) || []).map((ce, he) => /* @__PURE__ */ React__default.createElement(
@@ -61310,7 +61358,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61310
61358
  short_description: de.formData.short_description,
61311
61359
  created_at: (/* @__PURE__ */ new Date()).toISOString(),
61312
61360
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
61313
- })), pe = () => $r(null, null, function* () {
61361
+ })), pe = () => Pr(null, null, function* () {
61314
61362
  var ce;
61315
61363
  const me = (K == null ? void 0 : K.educationItems) || [], de = K == null ? void 0 : K.customEducation;
61316
61364
  if (me.some((he) => !he.completed))
@@ -61338,9 +61386,9 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61338
61386
  } catch (he) {
61339
61387
  return staticMethods.error(`Failed to update education details: ${he.message}`), !1;
61340
61388
  }
61341
- }), ue = () => $r(null, null, function* () {
61389
+ }), ue = () => Pr(null, null, function* () {
61342
61390
  (yield pe()) && (C == null || C(FORM_KEYS.education, !0));
61343
- }), le = () => $r(null, null, function* () {
61391
+ }), le = () => Pr(null, null, function* () {
61344
61392
  (yield pe()) && (C == null || C(FORM_KEYS.education));
61345
61393
  });
61346
61394
  return /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical", style: { width: "100%" } }, /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, ((K == null ? void 0 : K.educationItems) || []).map((me, de) => /* @__PURE__ */ React__default.createElement(
@@ -61613,7 +61661,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61613
61661
  status: "active",
61614
61662
  show_user_work_experience_location: !1,
61615
61663
  industry: []
61616
- })), de = () => $r(null, null, function* () {
61664
+ })), de = () => Pr(null, null, function* () {
61617
61665
  var be;
61618
61666
  const ce = (ee == null ? void 0 : ee.workExperienceItems) || [];
61619
61667
  if (ce.some(
@@ -61637,9 +61685,9 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61637
61685
  } catch (_e) {
61638
61686
  return staticMethods.error(`Failed to update work experience details: ${_e}`), !1;
61639
61687
  }
61640
- }), ve = () => $r(null, null, function* () {
61688
+ }), ve = () => Pr(null, null, function* () {
61641
61689
  (yield de()) && (C == null || C(FORM_KEYS.experience, !0));
61642
- }), fe = () => $r(null, null, function* () {
61690
+ }), fe = () => Pr(null, null, function* () {
61643
61691
  (yield de()) && (C == null || C(FORM_KEYS.experience));
61644
61692
  });
61645
61693
  return /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, !V && /* @__PURE__ */ React__default.createElement(AiSuggestionBanner, { onClick: F }), /* @__PURE__ */ React__default.createElement(SectionFeedback, { feedbackData: ae }), /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical", style: { width: "100%" } }, /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0, gap: 16 }, ((ee == null ? void 0 : ee.workExperienceItems) || []).map((ce, he) => /* @__PURE__ */ React__default.createElement(
@@ -61760,7 +61808,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61760
61808
  useEffect(() => {
61761
61809
  K || $(initializeForm({ formId: FORM_ID, initialData: ne }));
61762
61810
  }, [$, K, ne]);
61763
- const oe = () => $r(null, null, function* () {
61811
+ const oe = () => Pr(null, null, function* () {
61764
61812
  var de;
61765
61813
  const ue = (V == null ? void 0 : V.achievementsItems) || [];
61766
61814
  if (ue.some(
@@ -61791,14 +61839,14 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
61791
61839
  } catch (ve) {
61792
61840
  return staticMethods.error(`Failed to update achievements: ${ve.message}`), !1;
61793
61841
  }
61794
- }), ie = () => $r(null, null, function* () {
61842
+ }), ie = () => Pr(null, null, function* () {
61795
61843
  (yield oe()) && ((V == null ? void 0 : V.achievementsItems) || []).some(
61796
61844
  (me) => {
61797
61845
  var de;
61798
61846
  return !isHtmlEmpty((de = me.formData) == null ? void 0 : de.description);
61799
61847
  }
61800
61848
  ) && (C == null || C(FORM_KEYS.achievements));
61801
- }), se = () => $r(null, null, function* () {
61849
+ }), se = () => Pr(null, null, function* () {
61802
61850
  (yield oe()) && ((V == null ? void 0 : V.achievementsItems) || []).some(
61803
61851
  (me) => {
61804
61852
  var de;
@@ -62321,7 +62369,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
62321
62369
  (ne) => ne.scalantResumeBuilder.resumeBuilder.resumeData
62322
62370
  ), V = (ae = F == null ? void 0 : F.resume_meta) == null ? void 0 : ae.font_size, [K, J] = useState(
62323
62371
  V || DEFAULT_FONT_SIZE
62324
- ), [ee] = useUpdateResumePreferencesMutation(), te = (oe) => $r(null, [oe], function* ({ key: ne }) {
62372
+ ), [ee] = useUpdateResumePreferencesMutation(), te = (oe) => Pr(null, [oe], function* ({ key: ne }) {
62325
62373
  var ie;
62326
62374
  J(ne), $(
62327
62375
  setResumeData(Rr(or({}, F), {
@@ -62652,7 +62700,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
62652
62700
  }, se = () => {
62653
62701
  var ue, le;
62654
62702
  oe(), (le = C == null ? void 0 : C.onIconClick) == null || le.call(C, (ue = re == null ? void 0 : re.resume_details) == null ? void 0 : ue.id);
62655
- }, pe = (ue) => $r(null, null, function* () {
62703
+ }, pe = (ue) => Pr(null, null, function* () {
62656
62704
  var me, de, ve;
62657
62705
  J(ue);
62658
62706
  const le = {
@@ -64515,14 +64563,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
64515
64563
  }, {
64516
64564
  key: "bezierBoundingBox",
64517
64565
  value: function(vt, St, Pt, Mt, Lt, Ft, Xt, er) {
64518
- for (var cr = [], ur = [[], []], wr, br, Pr, fr, Dr, qr, kr, Nr, zr = 0; zr < 2; ++zr) {
64519
- if (zr === 0 ? (br = 6 * vt - 12 * Pt + 6 * Lt, wr = -3 * vt + 9 * Pt - 9 * Lt + 3 * Xt, Pr = 3 * Pt - 3 * vt) : (br = 6 * St - 12 * Mt + 6 * Ft, wr = -3 * St + 9 * Mt - 9 * Ft + 3 * er, Pr = 3 * Mt - 3 * St), Math.abs(wr) < 1e-12) {
64566
+ for (var cr = [], ur = [[], []], wr, br, Tr, fr, Dr, qr, kr, Nr, zr = 0; zr < 2; ++zr) {
64567
+ if (zr === 0 ? (br = 6 * vt - 12 * Pt + 6 * Lt, wr = -3 * vt + 9 * Pt - 9 * Lt + 3 * Xt, Tr = 3 * Pt - 3 * vt) : (br = 6 * St - 12 * Mt + 6 * Ft, wr = -3 * St + 9 * Mt - 9 * Ft + 3 * er, Tr = 3 * Mt - 3 * St), Math.abs(wr) < 1e-12) {
64520
64568
  if (Math.abs(br) < 1e-12)
64521
64569
  continue;
64522
- fr = -Pr / br, 0 < fr && fr < 1 && cr.push(fr);
64570
+ fr = -Tr / br, 0 < fr && fr < 1 && cr.push(fr);
64523
64571
  continue;
64524
64572
  }
64525
- kr = br * br - 4 * Pr * wr, Nr = Math.sqrt(kr), !(kr < 0) && (Dr = (-br + Nr) / (2 * wr), 0 < Dr && Dr < 1 && cr.push(Dr), qr = (-br - Nr) / (2 * wr), 0 < qr && qr < 1 && cr.push(qr));
64573
+ kr = br * br - 4 * Tr * wr, Nr = Math.sqrt(kr), !(kr < 0) && (Dr = (-br + Nr) / (2 * wr), 0 < Dr && Dr < 1 && cr.push(Dr), qr = (-br - Nr) / (2 * wr), 0 < qr && qr < 1 && cr.push(qr));
64526
64574
  }
64527
64575
  for (var Fr = cr.length, Cr, Wr = Fr; Fr--; )
64528
64576
  fr = cr[Fr], Cr = 1 - fr, ur[0][Fr] = Cr * Cr * Cr * vt + 3 * Cr * Cr * fr * Pt + 3 * Cr * fr * fr * Lt + fr * fr * fr * Xt, ur[1][Fr] = Cr * Cr * Cr * St + 3 * Cr * Cr * fr * Mt + 3 * Cr * fr * fr * Ft + fr * fr * fr * er;
@@ -67068,20 +67116,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
67068
67116
  return Object.defineProperty(Ie.prototype, "view", {
67069
67117
  get: function() {
67070
67118
  if (!Ht(this))
67071
- throw Pr("view");
67119
+ throw Tr("view");
67072
67120
  return this._view;
67073
67121
  },
67074
67122
  enumerable: !1,
67075
67123
  configurable: !0
67076
67124
  }), Ie.prototype.respond = function(Ve) {
67077
67125
  if (!Ht(this))
67078
- throw Pr("respond");
67126
+ throw Tr("respond");
67079
67127
  if (De(Ve, 1, "respond"), Ve = Xe(Ve, "First parameter"), this._associatedReadableByteStreamController === void 0)
67080
67128
  throw new TypeError("This BYOB request has been invalidated");
67081
67129
  _t(this._view.buffer), er(this._associatedReadableByteStreamController, Ve);
67082
67130
  }, Ie.prototype.respondWithNewView = function(Ve) {
67083
67131
  if (!Ht(this))
67084
- throw Pr("respondWithNewView");
67132
+ throw Tr("respondWithNewView");
67085
67133
  if (De(Ve, 1, "respondWithNewView"), !ArrayBuffer.isView(Ve))
67086
67134
  throw new TypeError("You can only respond with array buffer views");
67087
67135
  if (this._associatedReadableByteStreamController === void 0)
@@ -67449,7 +67497,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
67449
67497
  function br(Ie, Ve, nt) {
67450
67498
  Ie._associatedReadableByteStreamController = Ve, Ie._view = nt;
67451
67499
  }
67452
- function Pr(Ie) {
67500
+ function Tr(Ie) {
67453
67501
  return new TypeError("ReadableStreamBYOBRequest.prototype." + Ie + " can only be used on a ReadableStreamBYOBRequest");
67454
67502
  }
67455
67503
  function fr(Ie) {
@@ -67580,7 +67628,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
67580
67628
  var nt = Ie == null ? void 0 : Ie.abort, gt = Ie == null ? void 0 : Ie.close, $t = Ie == null ? void 0 : Ie.start, jt = Ie == null ? void 0 : Ie.type, Vt = Ie == null ? void 0 : Ie.write;
67581
67629
  return {
67582
67630
  abort: nt === void 0 ? void 0 : dr(nt, Ie, Ve + " has member 'abort' that"),
67583
- close: gt === void 0 ? void 0 : Tr(gt, Ie, Ve + " has member 'close' that"),
67631
+ close: gt === void 0 ? void 0 : $r(gt, Ie, Ve + " has member 'close' that"),
67584
67632
  start: $t === void 0 ? void 0 : jr($t, Ie, Ve + " has member 'start' that"),
67585
67633
  write: Vt === void 0 ? void 0 : Xr(Vt, Ie, Ve + " has member 'write' that"),
67586
67634
  type: jt
@@ -67591,7 +67639,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
67591
67639
  return be(Ie, Ve, [gt]);
67592
67640
  };
67593
67641
  }
67594
- function Tr(Ie, Ve, nt) {
67642
+ function $r(Ie, Ve, nt) {
67595
67643
  return Ke(Ie, nt), function() {
67596
67644
  return be(Ie, Ve, []);
67597
67645
  };
@@ -82144,7 +82192,7 @@ function Page(C, $) {
82144
82192
  const Page$1 = /* @__PURE__ */ React__default.forwardRef(Page);
82145
82193
  displayWorkerWarning();
82146
82194
  pdfExports.GlobalWorkerOptions.workerSrc = "pdf.worker.js";
82147
- const downloadFile = (C, $) => $r(null, null, function* () {
82195
+ const downloadFile = (C, $) => Pr(null, null, function* () {
82148
82196
  try {
82149
82197
  const V = yield (yield fetch(C)).blob(), K = window.URL.createObjectURL(V), J = document.createElement("a");
82150
82198
  J.href = K, J.download = $, document.body.appendChild(J), J.click(), document.body.removeChild(J), window.URL.revokeObjectURL(K);
@@ -82572,25 +82620,11 @@ const MESSAGES = {
82572
82620
  useEffect(() => {
82573
82621
  var Pe;
82574
82622
  const xe = (Pe = $ == null ? void 0 : $.resume_details) == null ? void 0 : Pe.id;
82575
- if (xe !== void 0) {
82576
- if ($e.current !== void 0 && $e.current !== xe) {
82577
- const ke = Re.findIndex(
82578
- (Me) => Me.key === RESUME_BUILDER_STEPS.RESUME_PARSING.key
82579
- );
82580
- ke >= 0 && Ce === ke || (Se(resetParsing()), Se(setCompleted(!1)));
82581
- }
82582
- $e.current = xe;
82583
- }
82584
- }, [(Ee = $ == null ? void 0 : $.resume_details) == null ? void 0 : Ee.id, Se, Re, Ce]), useEffect(() => {
82623
+ xe !== void 0 && ($e.current !== void 0 && $e.current !== xe && (Se(resetParsing()), Se(setCompleted(!1))), $e.current = xe);
82624
+ }, [(Ee = $ == null ? void 0 : $.resume_details) == null ? void 0 : Ee.id, Se]), useEffect(() => {
82585
82625
  var xe;
82586
- if ($) {
82587
- Se(setResumeData($)), Se(setProgram(getResumeProgram(oe))), Se(setReviewData($ == null ? void 0 : $.resume_evaluation_details)), ((xe = $.resume_evaluation_details) == null ? void 0 : xe.evaluation_state) === "ongoing" ? Se(setIsLoading(!0)) : Se(setIsLoading(!1));
82588
- const Pe = Re.findIndex(
82589
- (Me) => Me.key === RESUME_BUILDER_STEPS.RESUME_PARSING.key
82590
- ), ke = Pe >= 0 && Ce === Pe, je = Pe >= 0 && Fe === PARSING_STATUS.SUCCESS && Ce >= Pe;
82591
- !ke && !je && Se(resetSteps());
82592
- }
82593
- }, [$, Se, oe, Fe]), useEffect(() => {
82626
+ $ && (Se(setResumeData($)), Se(setProgram(getResumeProgram(oe))), Se(setReviewData($ == null ? void 0 : $.resume_evaluation_details)), ((xe = $.resume_evaluation_details) == null ? void 0 : xe.evaluation_state) === "ongoing" ? Se(setIsLoading(!0)) : Se(setIsLoading(!1)), Se(resetSteps()));
82627
+ }, [$, Se, oe]), useEffect(() => {
82594
82628
  if ($) {
82595
82629
  const xe = computeStepsWithSkip(ce);
82596
82630
  Se(setSteps(xe));
@@ -83213,7 +83247,7 @@ function Resume({
83213
83247
  }) {
83214
83248
  const [te] = useDeleteResumeMutation(), re = useRef(null), ae = useRef(!1), [ne, oe] = useState(!1), [ie, se] = useState(DELETION_COUNTDOWN), pe = useCallback(() => {
83215
83249
  re.current && (clearInterval(re.current), re.current = null, ae.current = !0, oe(!1));
83216
- }, []), ue = () => $r(null, null, function* () {
83250
+ }, []), ue = () => Pr(null, null, function* () {
83217
83251
  ae.current = !1, oe(!0), se(DELETION_COUNTDOWN), re.current = setInterval(() => {
83218
83252
  se((de) => {
83219
83253
  const ve = de - COUNTDOWN_INTERVAL;
@@ -83303,7 +83337,7 @@ function RenameModal() {
83303
83337
  re == null || re.click("Resume Repository - Rename Modal Cancel", PRODUCT_NAME), F(setIsRenameModalOpen(!1)), F(setRenameModalResumeData({})), $("");
83304
83338
  }, ne = (ie) => {
83305
83339
  $(ie.target.value);
83306
- }, oe = () => $r(null, null, function* () {
83340
+ }, oe = () => Pr(null, null, function* () {
83307
83341
  try {
83308
83342
  const ie = yield ee({
83309
83343
  id: K,
@@ -83357,7 +83391,7 @@ function CreationModal({ onEditResume: C }) {
83357
83391
  ae == null || ae.click("Resume Repository - Creation Modal Cancel", PRODUCT_NAME), V(setIsCreationModalOpen(!1)), V(setCreationModalResumeData({})), F("");
83358
83392
  }, oe = (se) => {
83359
83393
  F(se.target.value);
83360
- }, ie = () => $r(null, null, function* () {
83394
+ }, ie = () => Pr(null, null, function* () {
83361
83395
  var se, pe, ue, le, me, de, ve;
83362
83396
  try {
83363
83397
  const fe = yield te({
@@ -83549,7 +83583,7 @@ function combineReducers(C) {
83549
83583
  return ie = ie || J.length !== Object.keys(ae).length, ie ? se : ae;
83550
83584
  };
83551
83585
  }
83552
- const company_categories = [{ value: 5, label: "large_enterprise" }, { value: 6, label: "large_startups" }, { value: 7, label: "early_startups" }], job_categories = [{ value: 56529, label: "Backend Engineer" }, { value: 56530, label: "FullStack Engineer" }, { value: 56531, label: "Frontend Engineer" }, { value: 56569, label: "Android Engineer" }, { value: 56570, label: "iOS Engineer" }, { value: 179985, label: "Testing Engineer" }, { value: 189726, label: "Data Scientist" }, { value: 189727, label: "Data Analyst" }, { value: 189728, label: "Business Analyst" }, { value: 202365, label: "Data Engineer" }, { value: 221192, label: "DevOps Engineer" }], job_locations = [{ value: "Bangalore", label: "Bangalore" }, { value: "Pune", label: "Pune" }, { value: "Hyderabad", label: "Hyderabad" }, { value: "Gurgaon", label: "Gurgaon" }, { value: "Noida", label: "Noida" }, { value: "Chennai", label: "Chennai" }, { value: "Delhi", label: "Delhi" }, { value: "Chandigarh", label: "Chandigarh" }, { value: "Kolkata", label: "Kolkata" }, { value: "Mumbai", label: "Mumbai" }, { value: "Jaipur", label: "Jaipur" }, { value: "Vadodara", label: "Vadodara" }, { value: "Nagpur", label: "Nagpur" }, { value: "Ahmedabad", label: "Ahmedabad" }, { value: "Kochi", label: "Kochi" }, { value: "Mysore", label: "Mysore" }, { value: "Coimbatore", label: "Coimbatore" }, { value: "Bangkok", label: "Bangkok" }, { value: "Mauritius", label: "Mauritius" }, { value: "Udaipur", label: "Udaipur" }, { value: "Cochin", label: "Cochin" }, { value: "Remote", label: "Remote" }, { value: "Hubballi", label: "Hubballi" }, { value: "Goa", label: "Goa" }, { value: "Trivandrum", label: "Trivandrum" }, { value: "Indore", label: "Indore" }, { value: "London", label: "London" }, { value: "Bhubaneswar", label: "Bhubaneswar" }, { value: "Menlo Park", label: "Menlo Park" }, { value: "Dehradun", label: "Dehradun" }, { value: "Hosur", label: "Hosur" }, { value: "Delaware", label: "Delaware" }, { value: "Amsterdam", label: "Amsterdam" }, { value: "California", label: "California" }, { value: "Mohali", label: "Mohali" }, { value: "New Jersey", label: "New Jersey" }, { value: "Arizona", label: "Arizona" }, { value: "North Carolina", label: "North Carolina" }, { value: "Agra", label: "Agra" }, { value: "Saudi Arabia", label: "Saudi Arabia" }, { value: "Pondicherry", label: "Pondicherry" }, { value: "Vizag", label: "Vizag" }], role_types = [{ value: 198018, label: "internship" }, { value: 198019, label: "full_time" }], seniority_levels = [{ value: 202948, label: "Fresher" }, { value: 202949, label: "Entry - Mid" }, { value: 202950, label: "Mid - Senior" }, { value: 202951, label: "Senior" }], proficiency_mapping = { "Must to Have": 0, "Good to Have": 1, "Bar Raiser": 2, "Must to Have (Eligibility)": 3 }, onboarding_modal_clicked = !0, pipeline_stages = [{ value: "draft", label: "Draft" }, { value: "in_review", label: "In Review" }, { value: "resume_sent", label: "Resume Sent" }, { value: "resume_shortlisted", label: "Resume Shortlisted" }, { value: "interviewing", label: "Interviewing" }, { value: "to_be_offered", label: "To Be Offered" }, { value: "rejected", label: "Rejected" }, { value: "offer_received", label: "Offer Received" }, { value: "offer_withdrawn", label: "Offer Withdrawn" }, { value: "offer_accepted", label: "Offer Accepted" }, { value: "offer_declined", label: "Offer Declined" }, { value: "on_hold", label: "On Hold" }, { value: "joined", label: "Joined" }, { value: "saved", label: "Saved" }, { value: "not_interested", label: "Not Interested" }, { value: "application_withdrawn", label: "Application Withdrawn" }, { value: "application_archived", label: "Application Archived" }], merit_based_skills = [{ id: 37223, title: "Databases and SQL", mentee_module_id: null }, { id: 37183, title: "Data Structures & Algorithms", mentee_module_id: null }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: 3053255 }, { id: 37188, title: "High Level Design", mentee_module_id: 3053256 }, { id: 37189, title: "Frontend (React)", mentee_module_id: 3053258 }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: 3053258 }, { id: 37216, title: "Django", mentee_module_id: 3053258 }, { id: 37244, title: "Angular", mentee_module_id: 3053258 }, { id: 37191, title: "Python Libraries", mentee_module_id: null }, { id: 37192, title: "SQL", mentee_module_id: null }, { id: 37193, title: "Data Analytics - Tools", mentee_module_id: null }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: null }, { id: 37197, title: "Computer Vision", mentee_module_id: 7522793 }, { id: 37198, title: "Natural Language Processing", mentee_module_id: 7522794 }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: null }, { id: 37201, title: "DA tools", mentee_module_id: null }, { id: 37202, title: "Intermediate DSA", mentee_module_id: null }, { id: 37245, title: "DevOps - Data Structures & Algorithms", mentee_module_id: null }, { id: 37245, title: "DevOps - Data Structures & Algorithms", mentee_module_id: null }, { id: 37183, title: "Data Structures & Algorithms", mentee_module_id: null }, { id: 37223, title: "Databases and SQL", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: 7532826 }, { id: 37186, title: "Javascript", mentee_module_id: 7532826 }, { id: 37187, title: "Low Level Design", mentee_module_id: 7532828 }, { id: 37189, title: "Frontend (React)", mentee_module_id: 7532828 }, { id: 37244, title: "Angular", mentee_module_id: 7532828 }, { id: 37188, title: "High Level Design", mentee_module_id: null }, { id: 37192, title: "SQL", mentee_module_id: null }, { id: 37191, title: "Python Libraries", mentee_module_id: null }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: 7522864 }, { id: 37184, title: "Python", mentee_module_id: 5696347 }, { id: 37185, title: "Java", mentee_module_id: 5696347 }, { id: 37186, title: "Javascript", mentee_module_id: 5696347 }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: 5910715 }, { id: 37189, title: "Frontend (React)", mentee_module_id: null }, { id: 37244, title: "Angular", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37226, title: "Data Structures & Algorithms Advanced", mentee_module_id: 7522524 }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: null }, { id: 37188, title: "High Level Design", mentee_module_id: null }, { id: 37247, title: "Shell Scripting and CS Fundamentals", mentee_module_id: 7522518 }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }], career_hub_legacy_upload_button_enabled = !1, v1_onboarding_enabled = !0, v0_onboarding_completed = !0, initial_user_application_stage = 4, is_discussion_hub_enabled = !1, resume_issues = { total_issues: 2 }, default_resume_details = { id: 17407, user_id: 674153, name: "AswanthDefaultResume", default: !0, status: "active", meta: { social_profiles: { codechef: "", codeforces: "", geeksforgeeks: "", github: "", hackerearth: "", hackerrank: "", leetcode: "", portfolio: "" }, job_title: "Fullstack developer 1", interactions: { relevancy_alert_modal_displayed: !0 } }, modified_at: "2025-05-11T15:27:35.000Z", created_at: "2024-02-13T19:39:17.000Z", updated_at: "2025-05-11T15:27:35.000Z" }, resume_builder_skills = { language: [1167, 1150, 1148, 1136, 1128, 1276, 1270, 1218, 1217, 1215, 1213, 1211, 1210, 1209], framework: [1206, 1203, 1200, 1198, 1197, 1196, 1195, 1158, 1157, 1156, 1145, 1133], tools: [2431, 2430, 2435, 1234, 1231, 1229, 1228, 1176, 1175, 2432, 46262, 58475] }, skill_data = [{ id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1128, subtopic: "Javascript", eligible_topic_id: 7591, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1133, subtopic: "Angular", eligible_topic_id: 7580, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1136, subtopic: "CSS", eligible_topic_id: 7586, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1145, subtopic: "Flutter", eligible_topic_id: 8760, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1148, subtopic: "HTML", eligible_topic_id: 7589, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1150, subtopic: "JavaScript", eligible_topic_id: 7591, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1156, subtopic: "React", eligible_topic_id: 7597, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1157, subtopic: "React Native", eligible_topic_id: 8763, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1158, subtopic: "Redux", eligible_topic_id: 8764, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1167, subtopic: "TypeScript", eligible_topic_id: 8768, eligible_class: "Topic" }, { id: null, topic: "Mobile Development", topic_id: 401, subtopic_id: 1175, subtopic: "Android Development", eligible_topic_id: 8753, eligible_class: "Topic" }, { id: null, topic: "Mobile Development", topic_id: 401, subtopic_id: 1176, subtopic: "iOS Development", eligible_topic_id: 8770, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1195, subtopic: ".NET", eligible_topic_id: 7579, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1196, subtopic: "Django", eligible_topic_id: 7587, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1197, subtopic: "Express.js", eligible_topic_id: 8758, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1198, subtopic: "Flask", eligible_topic_id: 8759, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1200, subtopic: "Node.js", eligible_topic_id: 7594, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1203, subtopic: "Ruby on Rails", eligible_topic_id: null, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1206, subtopic: "Spring Boot", eligible_topic_id: 7600, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1209, subtopic: "C", eligible_topic_id: 8755, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1210, subtopic: "Go", eligible_topic_id: 8761, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1211, subtopic: "Java", eligible_topic_id: 7590, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1213, subtopic: "Python", eligible_topic_id: 7596, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1215, subtopic: "Ruby", eligible_topic_id: null, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1217, subtopic: "Scala", eligible_topic_id: 8765, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1218, subtopic: "Swift", eligible_topic_id: 8766, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1228, subtopic: "MongoDB", eligible_topic_id: 8769, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1229, subtopic: "MySQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1231, subtopic: "PostgreSQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1234, subtopic: "SQL Server", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1270, subtopic: "C#", eligible_topic_id: 7584, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1276, subtopic: "C++", eligible_topic_id: 7585, eligible_class: "Topic" }, { id: null, topic: "Cloud Computing", topic_id: 564, subtopic_id: 2430, subtopic: "AWS", eligible_topic_id: 7581, eligible_class: "Topic" }, { id: null, topic: "CloudComputing", topic_id: 564, subtopic_id: 2431, subtopic: "Azure", eligible_topic_id: 8754, eligible_class: "Topic" }, { id: null, topic: "System Design", topic_id: 563, subtopic_id: 2432, subtopic: "Microservices", eligible_topic_id: 7593, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 2435, subtopic: "SQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "Machine Learning", topic_id: 405, subtopic_id: 46262, subtopic: "Tableau", eligible_topic_id: 7604, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 58475, subtopic: "Power BI", eligible_topic_id: null, eligible_class: "Topic" }], commonData = {
83586
+ const company_categories = [{ value: 5, label: "large_enterprise" }, { value: 6, label: "large_startups" }, { value: 7, label: "early_startups" }], job_categories = [{ value: 56529, label: "Backend Engineer" }, { value: 56530, label: "FullStack Engineer" }, { value: 56531, label: "Frontend Engineer" }, { value: 56569, label: "Android Engineer" }, { value: 56570, label: "iOS Engineer" }, { value: 179985, label: "Testing Engineer" }, { value: 189726, label: "Data Scientist" }, { value: 189727, label: "Data Analyst" }, { value: 189728, label: "Business Analyst" }, { value: 202365, label: "Data Engineer" }, { value: 221192, label: "DevOps Engineer" }], job_locations = [{ value: "Bangalore", label: "Bangalore" }, { value: "Pune", label: "Pune" }, { value: "Hyderabad", label: "Hyderabad" }, { value: "Gurgaon", label: "Gurgaon" }, { value: "Noida", label: "Noida" }, { value: "Chennai", label: "Chennai" }, { value: "Delhi", label: "Delhi" }, { value: "Chandigarh", label: "Chandigarh" }, { value: "Kolkata", label: "Kolkata" }, { value: "Mumbai", label: "Mumbai" }, { value: "Jaipur", label: "Jaipur" }, { value: "Vadodara", label: "Vadodara" }, { value: "Nagpur", label: "Nagpur" }, { value: "Ahmedabad", label: "Ahmedabad" }, { value: "Kochi", label: "Kochi" }, { value: "Mysore", label: "Mysore" }, { value: "Coimbatore", label: "Coimbatore" }, { value: "Bangkok", label: "Bangkok" }, { value: "Mauritius", label: "Mauritius" }, { value: "Udaipur", label: "Udaipur" }, { value: "Cochin", label: "Cochin" }, { value: "Remote", label: "Remote" }, { value: "Hubballi", label: "Hubballi" }, { value: "Goa", label: "Goa" }, { value: "Trivandrum", label: "Trivandrum" }, { value: "Indore", label: "Indore" }, { value: "London", label: "London" }, { value: "Bhubaneswar", label: "Bhubaneswar" }, { value: "Menlo Park", label: "Menlo Park" }, { value: "Dehradun", label: "Dehradun" }, { value: "Hosur", label: "Hosur" }, { value: "Delaware", label: "Delaware" }, { value: "Amsterdam", label: "Amsterdam" }, { value: "California", label: "California" }, { value: "Mohali", label: "Mohali" }, { value: "New Jersey", label: "New Jersey" }, { value: "Arizona", label: "Arizona" }, { value: "North Carolina", label: "North Carolina" }, { value: "Agra", label: "Agra" }, { value: "Saudi Arabia", label: "Saudi Arabia" }, { value: "Pondicherry", label: "Pondicherry" }, { value: "Vizag", label: "Vizag" }], role_types = [{ value: 198018, label: "internship" }, { value: 198019, label: "full_time" }], seniority_levels = [{ value: 202948, label: "Fresher" }, { value: 202949, label: "Entry - Mid" }, { value: 202950, label: "Mid - Senior" }, { value: 202951, label: "Senior" }], proficiency_mapping = { "Must to Have": 0, "Good to Have": 1, "Bar Raiser": 2, "Must to Have (Eligibility)": 3 }, onboarding_modal_clicked = !0, pipeline_stages = [{ value: "draft", label: "Draft" }, { value: "in_review", label: "In Review" }, { value: "resume_sent", label: "Resume Sent" }, { value: "resume_shortlisted", label: "Resume Shortlisted" }, { value: "interviewing", label: "Interviewing" }, { value: "to_be_offered", label: "To Be Offered" }, { value: "rejected", label: "Rejected" }, { value: "offer_received", label: "Offer Received" }, { value: "offer_withdrawn", label: "Offer Withdrawn" }, { value: "offer_accepted", label: "Offer Accepted" }, { value: "offer_declined", label: "Offer Declined" }, { value: "on_hold", label: "On Hold" }, { value: "joined", label: "Joined" }, { value: "saved", label: "Saved" }, { value: "not_interested", label: "Not Interested" }, { value: "application_withdrawn", label: "Application Withdrawn" }, { value: "application_archived", label: "Application Archived" }], merit_based_skills = [{ id: 37223, title: "Databases and SQL", mentee_module_id: null }, { id: 37183, title: "Data Structures & Algorithms", mentee_module_id: null }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: 3053255 }, { id: 37188, title: "High Level Design", mentee_module_id: 3053256 }, { id: 37189, title: "Frontend (React)", mentee_module_id: 3053258 }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: 3053258 }, { id: 37216, title: "Django", mentee_module_id: 3053258 }, { id: 37244, title: "Angular", mentee_module_id: 3053258 }, { id: 37191, title: "Python Libraries", mentee_module_id: null }, { id: 37192, title: "SQL", mentee_module_id: null }, { id: 37193, title: "Data Analytics - Tools", mentee_module_id: null }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: null }, { id: 37197, title: "Computer Vision", mentee_module_id: 7522793 }, { id: 37198, title: "Natural Language Processing", mentee_module_id: 7522794 }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: null }, { id: 37201, title: "DA tools", mentee_module_id: null }, { id: 37202, title: "Intermediate DSA", mentee_module_id: null }, { id: 37245, title: "DevOps - Data Structures & Algorithms", mentee_module_id: null }, { id: 37245, title: "DevOps - Data Structures & Algorithms", mentee_module_id: null }, { id: 37183, title: "Data Structures & Algorithms", mentee_module_id: null }, { id: 37223, title: "Databases and SQL", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: 7532826 }, { id: 37186, title: "Javascript", mentee_module_id: 7532826 }, { id: 37187, title: "Low Level Design", mentee_module_id: 7532828 }, { id: 37189, title: "Frontend (React)", mentee_module_id: 7532828 }, { id: 37244, title: "Angular", mentee_module_id: 7532828 }, { id: 37188, title: "High Level Design", mentee_module_id: null }, { id: 37192, title: "SQL", mentee_module_id: null }, { id: 37191, title: "Python Libraries", mentee_module_id: null }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }, { id: 37195, title: "Supervised Learning", mentee_module_id: null }, { id: 37196, title: "Unsupervised Learning", mentee_module_id: 7522864 }, { id: 37184, title: "Python", mentee_module_id: 5696347 }, { id: 37185, title: "Java", mentee_module_id: 5696347 }, { id: 37186, title: "Javascript", mentee_module_id: 5696347 }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: 5910715 }, { id: 37189, title: "Frontend (React)", mentee_module_id: null }, { id: 37244, title: "Angular", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37226, title: "Data Structures & Algorithms Advanced", mentee_module_id: 7522524 }, { id: 37190, title: "Backend (Java Spring/Springboot)", mentee_module_id: null }, { id: 37216, title: "Django", mentee_module_id: null }, { id: 37224, title: "MERN", mentee_module_id: null }, { id: 37184, title: "Python", mentee_module_id: null }, { id: 37185, title: "Java", mentee_module_id: null }, { id: 37186, title: "Javascript", mentee_module_id: null }, { id: 37187, title: "Low Level Design", mentee_module_id: null }, { id: 37188, title: "High Level Design", mentee_module_id: null }, { id: 37247, title: "Shell Scripting and CS Fundamentals", mentee_module_id: 7522518 }, { id: 37194, title: "EDA Fundamentals", mentee_module_id: null }], career_hub_legacy_upload_button_enabled = !1, v1_onboarding_enabled = !0, user_uploaded_resume_link = "https://tourism.gov.in/sites/default/files/2019-04/dummy-pdf_2.pdf", v0_onboarding_completed = !0, initial_user_application_stage = 4, is_discussion_hub_enabled = !1, resume_issues = { total_issues: 2 }, default_resume_details = { id: 17407, user_id: 674153, name: "AswanthDefaultResume", default: !0, status: "active", meta: { social_profiles: { codechef: "", codeforces: "", geeksforgeeks: "", github: "", hackerearth: "", hackerrank: "", leetcode: "", portfolio: "" }, job_title: "Fullstack developer 1", interactions: { relevancy_alert_modal_displayed: !0 } }, modified_at: "2025-05-11T15:27:35.000Z", created_at: "2024-02-13T19:39:17.000Z", updated_at: "2025-05-11T15:27:35.000Z" }, resume_builder_skills = { language: [1167, 1150, 1148, 1136, 1128, 1276, 1270, 1218, 1217, 1215, 1213, 1211, 1210, 1209], framework: [1206, 1203, 1200, 1198, 1197, 1196, 1195, 1158, 1157, 1156, 1145, 1133], tools: [2431, 2430, 2435, 1234, 1231, 1229, 1228, 1176, 1175, 2432, 46262, 58475] }, skill_data = [{ id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1128, subtopic: "Javascript", eligible_topic_id: 7591, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1133, subtopic: "Angular", eligible_topic_id: 7580, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1136, subtopic: "CSS", eligible_topic_id: 7586, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1145, subtopic: "Flutter", eligible_topic_id: 8760, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1148, subtopic: "HTML", eligible_topic_id: 7589, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1150, subtopic: "JavaScript", eligible_topic_id: 7591, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1156, subtopic: "React", eligible_topic_id: 7597, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1157, subtopic: "React Native", eligible_topic_id: 8763, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1158, subtopic: "Redux", eligible_topic_id: 8764, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 1167, subtopic: "TypeScript", eligible_topic_id: 8768, eligible_class: "Topic" }, { id: null, topic: "Mobile Development", topic_id: 401, subtopic_id: 1175, subtopic: "Android Development", eligible_topic_id: 8753, eligible_class: "Topic" }, { id: null, topic: "Mobile Development", topic_id: 401, subtopic_id: 1176, subtopic: "iOS Development", eligible_topic_id: 8770, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1195, subtopic: ".NET", eligible_topic_id: 7579, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1196, subtopic: "Django", eligible_topic_id: 7587, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1197, subtopic: "Express.js", eligible_topic_id: 8758, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1198, subtopic: "Flask", eligible_topic_id: 8759, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1200, subtopic: "Node.js", eligible_topic_id: 7594, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1203, subtopic: "Ruby on Rails", eligible_topic_id: null, eligible_class: "Topic" }, { id: null, topic: "Backend Development", topic_id: 403, subtopic_id: 1206, subtopic: "Spring Boot", eligible_topic_id: 7600, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1209, subtopic: "C", eligible_topic_id: 8755, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1210, subtopic: "Go", eligible_topic_id: 8761, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1211, subtopic: "Java", eligible_topic_id: 7590, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1213, subtopic: "Python", eligible_topic_id: 7596, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1215, subtopic: "Ruby", eligible_topic_id: null, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1217, subtopic: "Scala", eligible_topic_id: 8765, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1218, subtopic: "Swift", eligible_topic_id: 8766, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1228, subtopic: "MongoDB", eligible_topic_id: 8769, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1229, subtopic: "MySQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1231, subtopic: "PostgreSQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 1234, subtopic: "SQL Server", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1270, subtopic: "C#", eligible_topic_id: 7584, eligible_class: "Topic" }, { id: null, topic: "Programming", topic_id: 404, subtopic_id: 1276, subtopic: "C++", eligible_topic_id: 7585, eligible_class: "Topic" }, { id: null, topic: "Cloud Computing", topic_id: 564, subtopic_id: 2430, subtopic: "AWS", eligible_topic_id: 7581, eligible_class: "Topic" }, { id: null, topic: "CloudComputing", topic_id: 564, subtopic_id: 2431, subtopic: "Azure", eligible_topic_id: 8754, eligible_class: "Topic" }, { id: null, topic: "System Design", topic_id: 563, subtopic_id: 2432, subtopic: "Microservices", eligible_topic_id: 7593, eligible_class: "Topic" }, { id: null, topic: "DBMS", topic_id: 406, subtopic_id: 2435, subtopic: "SQL", eligible_topic_id: 7601, eligible_class: "Topic" }, { id: null, topic: "Machine Learning", topic_id: 405, subtopic_id: 46262, subtopic: "Tableau", eligible_topic_id: 7604, eligible_class: "Topic" }, { id: null, topic: "Frontend Development", topic_id: 400, subtopic_id: 58475, subtopic: "Power BI", eligible_topic_id: null, eligible_class: "Topic" }], commonData = {
83553
83587
  company_categories,
83554
83588
  job_categories,
83555
83589
  job_locations,
@@ -83561,6 +83595,7 @@ const company_categories = [{ value: 5, label: "large_enterprise" }, { value: 6,
83561
83595
  merit_based_skills,
83562
83596
  career_hub_legacy_upload_button_enabled,
83563
83597
  v1_onboarding_enabled,
83598
+ user_uploaded_resume_link,
83564
83599
  v0_onboarding_completed,
83565
83600
  initial_user_application_stage,
83566
83601
  is_discussion_hub_enabled,