@scalant/resume-builder 10.1.7 → 10.1.8
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.
- package/dist/resume-builder.es.js +90 -88
- package/dist/resume-builder.umd.js +15 -15
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ var ei = Object.defineProperty, ti = Object.defineProperties;
|
|
|
2
2
|
var ri = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var pa = Object.getOwnPropertySymbols;
|
|
4
4
|
var oo = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ao = (C, $, V) => $ in C ? ei(C, $, { enumerable: !0, configurable: !0, writable: !0, value: V }) : C[$] = V,
|
|
5
|
+
var ao = (C, $, V) => $ in C ? ei(C, $, { enumerable: !0, configurable: !0, writable: !0, value: V }) : C[$] = V, gr = (C, $) => {
|
|
6
6
|
for (var V in $ || ($ = {}))
|
|
7
7
|
oo.call($, V) && ao(C, V, $[V]);
|
|
8
8
|
if (pa)
|
|
@@ -4952,20 +4952,20 @@ const setGlobalConfig = (C) => {
|
|
|
4952
4952
|
token: vr,
|
|
4953
4953
|
components: or,
|
|
4954
4954
|
cssVar: _r
|
|
4955
|
-
} = Ut, fr = __rest$1a(Ut, ["algorithm", "token", "components", "cssVar"]), sr = Jt && (!Array.isArray(Jt) || Jt.length > 0) ? createTheme(Jt) : defaultTheme,
|
|
4955
|
+
} = Ut, fr = __rest$1a(Ut, ["algorithm", "token", "components", "cssVar"]), sr = Jt && (!Array.isArray(Jt) || Jt.length > 0) ? createTheme(Jt) : defaultTheme, yr = {};
|
|
4956
4956
|
Object.entries(or || {}).forEach((Nt) => {
|
|
4957
4957
|
let [mt, St] = Nt;
|
|
4958
4958
|
const Pt = Object.assign({}, St);
|
|
4959
|
-
"algorithm" in Pt && (Pt.algorithm === !0 ? Pt.theme = sr : (Array.isArray(Pt.algorithm) || typeof Pt.algorithm == "function") && (Pt.theme = createTheme(Pt.algorithm)), delete Pt.algorithm),
|
|
4959
|
+
"algorithm" in Pt && (Pt.algorithm === !0 ? Pt.theme = sr : (Array.isArray(Pt.algorithm) || typeof Pt.algorithm == "function") && (Pt.theme = createTheme(Pt.algorithm)), delete Pt.algorithm), yr[mt] = Pt;
|
|
4960
4960
|
});
|
|
4961
4961
|
const vt = Object.assign(Object.assign({}, seedToken), vr);
|
|
4962
4962
|
return Object.assign(Object.assign({}, fr), {
|
|
4963
4963
|
theme: sr,
|
|
4964
4964
|
token: vt,
|
|
4965
|
-
components:
|
|
4965
|
+
components: yr,
|
|
4966
4966
|
override: Object.assign({
|
|
4967
4967
|
override: vt
|
|
4968
|
-
},
|
|
4968
|
+
}, yr),
|
|
4969
4969
|
cssVar: _r
|
|
4970
4970
|
});
|
|
4971
4971
|
}, [It]);
|
|
@@ -14204,7 +14204,7 @@ function useAlign(C, $, V, F, K, J, ee) {
|
|
|
14204
14204
|
var ln = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pt, hn = Ne.x + kr, On = Ne.y + Jr, jn = hn + Le, Pn = On + De, Tn = Math.max(hn, ln.left), Zt = Math.max(On, ln.top), mr = Math.min(jn, ln.right), Fr = Math.min(Pn, ln.bottom);
|
|
14205
14205
|
return Math.max(0, (mr - Tn) * (Fr - Zt));
|
|
14206
14206
|
}, $r = function() {
|
|
14207
|
-
sr = Ne.y + Dt,
|
|
14207
|
+
sr = Ne.y + Dt, yr = sr + De, vt = Ne.x + Tt, Nt = vt + Le;
|
|
14208
14208
|
};
|
|
14209
14209
|
var ue, ve, fe, de, he = $, ge = he.ownerDocument, Se = getWin(he), _e = Se.getComputedStyle(he), ye = _e.width, be = _e.height, Ce = _e.position, Re = he.style.left, we = he.style.top, Oe = he.style.right, $e = he.style.bottom, Fe = he.style.overflow, ke = _objectSpread2(_objectSpread2({}, K[F]), J), Ae = ge.createElement("div");
|
|
14210
14210
|
(ue = he.parentElement) === null || ue === void 0 || ue.appendChild(Ae), Ae.style.left = "".concat(he.offsetLeft, "px"), Ae.style.top = "".concat(he.offsetTop, "px"), Ae.style.position = Ce, Ae.style.height = "".concat(he.offsetHeight, "px"), Ae.style.width = "".concat(he.offsetWidth, "px"), he.style.left = "0", he.style.top = "0", he.style.right = "auto", he.style.bottom = "auto", he.style.overflow = "hidden";
|
|
@@ -14250,10 +14250,10 @@ function useAlign(C, $, V, F, K, J, ee) {
|
|
|
14250
14250
|
Pe.x -= at, Pe.y -= ct;
|
|
14251
14251
|
var _t = ke.points || [], wt = _slicedToArray(_t, 2), At = wt[0], xt = wt[1], bt = splitPoints(xt), kt = splitPoints(At), Rt = getAlignPoint(Pe, bt), Ot = getAlignPoint(Ne, kt), It = _objectSpread2({}, ke), Tt = Rt.x - Ot.x + ot, Dt = Rt.y - Ot.y + et, Ht = ir(Tt, Dt), Wt = ir(Tt, Dt, ut), zt = getAlignPoint(Pe, ["t", "l"]), Bt = getAlignPoint(Ne, ["t", "l"]), Kt = getAlignPoint(Pe, ["b", "r"]), qt = getAlignPoint(Ne, ["b", "r"]), Ut = ke.overflow || {}, Jt = Ut.adjustX, vr = Ut.adjustY, or = Ut.shiftX, _r = Ut.shiftY, fr = function(Jr) {
|
|
14252
14252
|
return typeof Jr == "boolean" ? Jr : Jr >= 0;
|
|
14253
|
-
}, sr,
|
|
14253
|
+
}, sr, yr, vt, Nt;
|
|
14254
14254
|
$r();
|
|
14255
14255
|
var mt = fr(vr), St = kt[0] === bt[0];
|
|
14256
|
-
if (mt && kt[0] === "t" && (
|
|
14256
|
+
if (mt && kt[0] === "t" && (yr > ht.bottom || se.current.bt)) {
|
|
14257
14257
|
var Pt = Dt;
|
|
14258
14258
|
St ? Pt -= De - Be : Pt = zt.y - qt.y - et;
|
|
14259
14259
|
var Mt = ir(Tt, Pt), Lt = ir(Tt, Pt, ut);
|
|
@@ -14290,7 +14290,7 @@ function useAlign(C, $, V, F, K, J, ee) {
|
|
|
14290
14290
|
var Nr = or === !0 ? 0 : or;
|
|
14291
14291
|
typeof Nr == "number" && (vt < ut.left && (Tt -= vt - ut.left - ot, Pe.x + We < ut.left + Nr && (Tt += Pe.x - ut.left + We - Nr)), Nt > ut.right && (Tt -= Nt - ut.right - ot, Pe.x > ut.right - Nr && (Tt += Pe.x - ut.right + Nr)));
|
|
14292
14292
|
var Ar = _r === !0 ? 0 : _r;
|
|
14293
|
-
typeof Ar == "number" && (sr < ut.top && (Dt -= sr - ut.top - et, Pe.y + Be < ut.top + Ar && (Dt += Pe.y - ut.top + Be - Ar)),
|
|
14293
|
+
typeof Ar == "number" && (sr < ut.top && (Dt -= sr - ut.top - et, Pe.y + Be < ut.top + Ar && (Dt += Pe.y - ut.top + Be - Ar)), yr > ut.bottom && (Dt -= yr - ut.bottom - et, Pe.y > ut.bottom - Ar && (Dt += Pe.y - ut.bottom + Ar)));
|
|
14294
14294
|
var Br = Ne.x + Tt, Dr = Br + Le, Cr = Ne.y + Dt, qr = Cr + De, Kr = Pe.x, pr = Kr + We, Qt = Pe.y, ar = Qt + Be, Gt = Math.max(Br, Kr), Yt = Math.min(Dr, pr), ur = (Gt + Yt) / 2, Tr = ur - Br, Lr = Math.max(Cr, Qt), Yr = Math.min(qr, ar), Xr = (Lr + Yr) / 2, Qr = Xr - Cr;
|
|
14295
14295
|
ee == null || ee($, It);
|
|
14296
14296
|
var Ur = yt.right - Ne.x - (Tt + Ne.width), nr = yt.bottom - Ne.y - (Dt + Ne.height);
|
|
@@ -14425,7 +14425,7 @@ function generateTrigger() {
|
|
|
14425
14425
|
useLayoutEffect$1(function(Zt) {
|
|
14426
14426
|
(!Zt || Ot) && Jt(!0);
|
|
14427
14427
|
}, [Ot]);
|
|
14428
|
-
var vr = React.useState(null), or = _slicedToArray(vr, 2), _r = or[0], fr = or[1], sr = React.useState(null),
|
|
14428
|
+
var vr = React.useState(null), or = _slicedToArray(vr, 2), _r = or[0], fr = or[1], sr = React.useState(null), yr = _slicedToArray(sr, 2), vt = yr[0], Nt = yr[1], mt = function(mr) {
|
|
14429
14429
|
Nt([mr.clientX, mr.clientY]);
|
|
14430
14430
|
}, St = useAlign(Ot, yt, xe && vt !== null ? vt : st, we, $e, Fe, Ne), Pt = _slicedToArray(St, 11), Mt = Pt[0], Lt = Pt[1], Ft = Pt[2], Xt = Pt[3], er = Pt[4], lr = Pt[5], cr = Pt[6], Er = Pt[7], br = Pt[8], Pr = Pt[9], dr = Pt[10], Mr = useAction(Ye, re, oe, ae), Vr = _slicedToArray(Mr, 2), Nr = Vr[0], Ar = Vr[1], Br = Nr.has("click"), Dr = Ar.has("click") || Ar.has("contextMenu"), Cr = useEvent(function() {
|
|
14431
14431
|
Ut || dr();
|
|
@@ -14799,7 +14799,7 @@ var _excluded$w = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
|
|
|
14799
14799
|
}, [Dt]), React.useEffect(function() {
|
|
14800
14800
|
It && pe && Tt(!1), pe && !Ze.current && it(!1);
|
|
14801
14801
|
}, [pe]);
|
|
14802
|
-
var or = useLock(), _r = _slicedToArray(or, 2), fr = _r[0], sr = _r[1],
|
|
14802
|
+
var or = useLock(), _r = _slicedToArray(or, 2), fr = _r[0], sr = _r[1], yr = React.useRef(!1), vt = function(Qt) {
|
|
14803
14803
|
var ar = fr(), Gt = Qt.key, Yt = Gt === "Enter";
|
|
14804
14804
|
if (Yt && (le !== "combobox" && Qt.preventDefault(), Dt || zt(!0)), sr(!!at), Gt === "Backspace" && !ar && Je && !at && ae.length) {
|
|
14805
14805
|
for (var ur = _toConsumableArray(ae), Tr = null, Lr = ur.length - 1; Lr >= 0; Lr -= 1) {
|
|
@@ -14816,9 +14816,9 @@ var _excluded$w = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
|
|
|
14816
14816
|
}
|
|
14817
14817
|
for (var Xr = arguments.length, Qr = new Array(Xr > 1 ? Xr - 1 : 0), Ur = 1; Ur < Xr; Ur++)
|
|
14818
14818
|
Qr[Ur - 1] = arguments[Ur];
|
|
14819
|
-
if (Dt && (!Yt || !
|
|
14819
|
+
if (Dt && (!Yt || !yr.current)) {
|
|
14820
14820
|
var nr;
|
|
14821
|
-
Yt && (
|
|
14821
|
+
Yt && (yr.current = !0), (nr = ft.current) === null || nr === void 0 || nr.onKeyDown.apply(nr, [Qt].concat(Qr));
|
|
14822
14822
|
}
|
|
14823
14823
|
Ge == null || Ge.apply(void 0, [Qt].concat(Qr));
|
|
14824
14824
|
}, Nt = function(Qt) {
|
|
@@ -14828,7 +14828,7 @@ var _excluded$w = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
|
|
|
14828
14828
|
var ur;
|
|
14829
14829
|
(ur = ft.current) === null || ur === void 0 || ur.onKeyUp.apply(ur, [Qt].concat(Gt));
|
|
14830
14830
|
}
|
|
14831
|
-
Qt.key === "Enter" && (
|
|
14831
|
+
Qt.key === "Enter" && (yr.current = !1), We == null || We.apply(void 0, [Qt].concat(Gt));
|
|
14832
14832
|
}, mt = function(Qt) {
|
|
14833
14833
|
var ar = ae.filter(function(Gt) {
|
|
14834
14834
|
return Gt !== Qt;
|
|
@@ -14838,7 +14838,7 @@ var _excluded$w = ["id", "prefixCls", "className", "showSearch", "tagRender", "d
|
|
|
14838
14838
|
values: [Qt]
|
|
14839
14839
|
});
|
|
14840
14840
|
}, St = function() {
|
|
14841
|
-
|
|
14841
|
+
yr.current = !1;
|
|
14842
14842
|
}, Pt = React.useRef(!1), Mt = function() {
|
|
14843
14843
|
it(!0), pe || (Le && !Pt.current && Le.apply(void 0, arguments), De.includes("focus") && zt(!0)), Pt.current = !0;
|
|
14844
14844
|
}, Lt = function() {
|
|
@@ -15663,14 +15663,14 @@ function RawList(C, $) {
|
|
|
15663
15663
|
fe(Pt, Te);
|
|
15664
15664
|
}
|
|
15665
15665
|
}, [ft, Ze, Te]);
|
|
15666
|
-
var
|
|
15666
|
+
var yr = useGetSize(Te, be, $e, ee), vt = he == null ? void 0 : he({
|
|
15667
15667
|
start: ft,
|
|
15668
15668
|
end: Ze,
|
|
15669
15669
|
virtual: Pe,
|
|
15670
15670
|
offsetX: Le,
|
|
15671
15671
|
offsetY: st,
|
|
15672
15672
|
rtl: Ee,
|
|
15673
|
-
getSize:
|
|
15673
|
+
getSize: yr
|
|
15674
15674
|
}), Nt = useChildren$1(Te, ft, Ze, ce, Le, we, ne, rt), mt = null;
|
|
15675
15675
|
J && (mt = _objectSpread2(_defineProperty({}, re ? "height" : "maxHeight", J), ScrollStyle), ke && (mt.overflowY = "hidden", ce && (mt.overflowX = "hidden"), Xe && (mt.pointerEvents = "none")));
|
|
15676
15676
|
var St = {};
|
|
@@ -16135,8 +16135,8 @@ var Select$1 = /* @__PURE__ */ React.forwardRef(function(C, $) {
|
|
|
16135
16135
|
if (fr) {
|
|
16136
16136
|
var sr;
|
|
16137
16137
|
if (Ut === void 0 && (Ut = fr == null ? void 0 : fr[fe || qe.label]), Jt === void 0 && (Jt = (sr = fr == null ? void 0 : fr.key) !== null && sr !== void 0 ? sr : qt), vr = fr == null ? void 0 : fr.disabled, or = fr == null ? void 0 : fr.title, process.env.NODE_ENV !== "production" && !fe) {
|
|
16138
|
-
var
|
|
16139
|
-
|
|
16138
|
+
var yr = fr == null ? void 0 : fr[qe.label];
|
|
16139
|
+
yr !== void 0 && !/* @__PURE__ */ React.isValidElement(yr) && !/* @__PURE__ */ React.isValidElement(Ut) && yr !== Ut && warningOnce(!1, "`label` of `value` is not same as `label` in Select options.");
|
|
16140
16140
|
}
|
|
16141
16141
|
}
|
|
16142
16142
|
return {
|
|
@@ -16249,8 +16249,8 @@ var Select$1 = /* @__PURE__ */ React.forwardRef(function(C, $) {
|
|
|
16249
16249
|
var Jt = Ut(), vr = _slicedToArray(Jt, 2), or = vr[0], _r = vr[1];
|
|
16250
16250
|
se(or, _r);
|
|
16251
16251
|
} else if (!Kt && me && qt !== "clear") {
|
|
16252
|
-
var fr = Ut(), sr = _slicedToArray(fr, 2),
|
|
16253
|
-
me(
|
|
16252
|
+
var fr = Ut(), sr = _slicedToArray(fr, 2), yr = sr[0], vt = sr[1];
|
|
16253
|
+
me(yr, vt);
|
|
16254
16254
|
}
|
|
16255
16255
|
}, It = useRefFunc(function(zt, Bt) {
|
|
16256
16256
|
var Kt, qt = Ne ? Bt.selected : !0;
|
|
@@ -20892,12 +20892,12 @@ var _excluded$i = ["prefixCls", "rootClassName", "style", "className", "tabIndex
|
|
|
20892
20892
|
bt.current = !1;
|
|
20893
20893
|
};
|
|
20894
20894
|
}, []);
|
|
20895
|
-
var sr = useKeyRecords(),
|
|
20895
|
+
var sr = useKeyRecords(), yr = sr.registerPath, vt = sr.unregisterPath, Nt = sr.refreshOverflowKeys, mt = sr.isSubPathKey, St = sr.getKeyPath, Pt = sr.getKeys, Mt = sr.getSubPathKeys, Lt = React.useMemo(function() {
|
|
20896
20896
|
return {
|
|
20897
|
-
registerPath:
|
|
20897
|
+
registerPath: yr,
|
|
20898
20898
|
unregisterPath: vt
|
|
20899
20899
|
};
|
|
20900
|
-
}, [
|
|
20900
|
+
}, [yr, vt]), Ft = React.useMemo(function() {
|
|
20901
20901
|
return {
|
|
20902
20902
|
isSubPathKey: mt
|
|
20903
20903
|
};
|
|
@@ -26242,14 +26242,14 @@ function RangePicker(C, $) {
|
|
|
26242
26242
|
var kr = _toConsumableArray(yt);
|
|
26243
26243
|
nr && (kr[st] = nr), $e(kr, $r);
|
|
26244
26244
|
}
|
|
26245
|
-
}),
|
|
26245
|
+
}), yr = function(rr, ir) {
|
|
26246
26246
|
return (
|
|
26247
26247
|
// Trigger change only when date changed
|
|
26248
26248
|
fillIndex(yt, ir, rr)
|
|
26249
26249
|
);
|
|
26250
26250
|
}, vt = function(rr, ir) {
|
|
26251
26251
|
var $r = yt;
|
|
26252
|
-
rr && ($r =
|
|
26252
|
+
rr && ($r = yr(rr, st)), Qe(st);
|
|
26253
26253
|
var kr = et($r);
|
|
26254
26254
|
pt($r), Wt(st, kr === null), kr === null ? Ye(!1, {
|
|
26255
26255
|
force: !0
|
|
@@ -26287,7 +26287,7 @@ function RangePicker(C, $) {
|
|
|
26287
26287
|
}, Ar = function(rr) {
|
|
26288
26288
|
vt(rr);
|
|
26289
26289
|
}, Br = function(rr) {
|
|
26290
|
-
lr(rr ?
|
|
26290
|
+
lr(rr ? yr(rr, st) : null), Lt("cell");
|
|
26291
26291
|
}, Dr = function(rr) {
|
|
26292
26292
|
Ye(!0), ct(rr);
|
|
26293
26293
|
}, Cr = function() {
|
|
@@ -26337,7 +26337,7 @@ function RangePicker(C, $) {
|
|
|
26337
26337
|
onNow: Ar,
|
|
26338
26338
|
cellRender: pr
|
|
26339
26339
|
})), ur = function(rr, ir) {
|
|
26340
|
-
var $r =
|
|
26340
|
+
var $r = yr(rr, ir);
|
|
26341
26341
|
pt($r);
|
|
26342
26342
|
}, Tr = function() {
|
|
26343
26343
|
Ze("input");
|
|
@@ -26635,7 +26635,7 @@ function Picker(C, $) {
|
|
|
26635
26635
|
Ht(dt()), lt(!1, {
|
|
26636
26636
|
force: !0
|
|
26637
26637
|
});
|
|
26638
|
-
},
|
|
26638
|
+
}, yr = function(Yt) {
|
|
26639
26639
|
!fe && !Ge.current.nativeElement.contains(document.activeElement) && Ge.current.focus(), lt(!0), We == null || We(Yt);
|
|
26640
26640
|
}, vt = function() {
|
|
26641
26641
|
Ht(null), lt(!1, {
|
|
@@ -26765,7 +26765,7 @@ function Picker(C, $) {
|
|
|
26765
26765
|
disabled: fe,
|
|
26766
26766
|
open: rt,
|
|
26767
26767
|
onOpenChange: lt,
|
|
26768
|
-
onClick:
|
|
26768
|
+
onClick: yr,
|
|
26769
26769
|
onClear: vt,
|
|
26770
26770
|
invalid: qt,
|
|
26771
26771
|
onInvalid: function(Yt) {
|
|
@@ -30222,7 +30222,7 @@ var TabNode = function($) {
|
|
|
30222
30222
|
horizontal: be,
|
|
30223
30223
|
indicator: le,
|
|
30224
30224
|
rtl: te
|
|
30225
|
-
}),
|
|
30225
|
+
}), yr = sr.style;
|
|
30226
30226
|
useEffect(function() {
|
|
30227
30227
|
xt();
|
|
30228
30228
|
}, [ee, Ct, dt, stringify(fr), stringify(tt), be]), useEffect(function() {
|
|
@@ -30269,7 +30269,7 @@ var TabNode = function($) {
|
|
|
30269
30269
|
})
|
|
30270
30270
|
}), /* @__PURE__ */ React.createElement("div", {
|
|
30271
30271
|
className: classNames("".concat(ue, "-ink-bar"), _defineProperty({}, "".concat(ue, "-ink-bar-animated"), J.inkBar)),
|
|
30272
|
-
style:
|
|
30272
|
+
style: yr
|
|
30273
30273
|
}))))), /* @__PURE__ */ React.createElement(OperationNode$1, _extends({}, C, {
|
|
30274
30274
|
removeAriaLabel: ae == null ? void 0 : ae.removeAriaLabel,
|
|
30275
30275
|
ref: _e,
|
|
@@ -46230,7 +46230,7 @@ Include complex / elaborate Projects done outside work if your tech work experie
|
|
|
46230
46230
|
// Update specific form data
|
|
46231
46231
|
updateFormData: (C, $) => {
|
|
46232
46232
|
const { formId: V, data: F } = $.payload;
|
|
46233
|
-
C.forms[V] && (C.forms[V] =
|
|
46233
|
+
C.forms[V] && (C.forms[V] = gr(gr({}, C.forms[V]), F));
|
|
46234
46234
|
},
|
|
46235
46235
|
// Reset specific form data
|
|
46236
46236
|
resetFormData: (C, $) => {
|
|
@@ -48783,7 +48783,7 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
48783
48783
|
query: ({ payload: $ }) => ({
|
|
48784
48784
|
url: "/resume/preferences/update",
|
|
48785
48785
|
method: "PATCH",
|
|
48786
|
-
body:
|
|
48786
|
+
body: gr({}, $)
|
|
48787
48787
|
}),
|
|
48788
48788
|
invalidatesTags: ["ResumeLink"]
|
|
48789
48789
|
}),
|
|
@@ -49806,7 +49806,7 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
49806
49806
|
}, [V, te, me]);
|
|
49807
49807
|
const ce = () => sn(null, null, function* () {
|
|
49808
49808
|
var Ce;
|
|
49809
|
-
const ye = ee == null ? void 0 : ee.personalInfoAndSocial, be = xr(
|
|
49809
|
+
const ye = ee == null ? void 0 : ee.personalInfoAndSocial, be = xr(gr({}, ye), {
|
|
49810
49810
|
additionalProfiles: F
|
|
49811
49811
|
});
|
|
49812
49812
|
V(
|
|
@@ -49831,7 +49831,7 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
49831
49831
|
portfolio: ye.personalWebsite,
|
|
49832
49832
|
isPopulated: !0,
|
|
49833
49833
|
mark_complete: ae
|
|
49834
|
-
}, we =
|
|
49834
|
+
}, we = gr({}, Re);
|
|
49835
49835
|
ADDITIONAL_PROFILES.forEach((Oe) => {
|
|
49836
49836
|
const $e = F.find((Fe) => Fe.type === Oe.value);
|
|
49837
49837
|
we[Oe.value] = $e ? $e.url : "";
|
|
@@ -49851,7 +49851,7 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
49851
49851
|
updateFormData({
|
|
49852
49852
|
formId: FORM_ID$5,
|
|
49853
49853
|
data: {
|
|
49854
|
-
personalInfoAndSocial: xr(
|
|
49854
|
+
personalInfoAndSocial: xr(gr({}, be), {
|
|
49855
49855
|
additionalProfiles: F
|
|
49856
49856
|
})
|
|
49857
49857
|
}
|
|
@@ -49884,10 +49884,10 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
49884
49884
|
}, he = (ye, be, Ce) => {
|
|
49885
49885
|
ve(ye, (Re) => {
|
|
49886
49886
|
var we;
|
|
49887
|
-
return be === "type" && Ce === PROFILE_TYPES.SCALER ? xr(
|
|
49887
|
+
return be === "type" && Ce === PROFILE_TYPES.SCALER ? xr(gr({}, Re), {
|
|
49888
49888
|
type: Ce,
|
|
49889
49889
|
url: ((we = J == null ? void 0 : J.personal_details) == null ? void 0 : we.scaler) || Re.url
|
|
49890
|
-
}) : xr(
|
|
49890
|
+
}) : xr(gr({}, Re), {
|
|
49891
49891
|
[be]: Ce
|
|
49892
49892
|
});
|
|
49893
49893
|
});
|
|
@@ -50382,9 +50382,9 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
50382
50382
|
}, Ce = () => {
|
|
50383
50383
|
const xe = re == null ? void 0 : re.scaler_resume_template_structure;
|
|
50384
50384
|
if (!xe) return null;
|
|
50385
|
-
const Te = Object.keys(xe)[0], Ne = xe[Te], je = xr(
|
|
50386
|
-
sections: Ne.sections.map((Me) => Me.name === "Skills" ? xr(
|
|
50387
|
-
config: xr(
|
|
50385
|
+
const Te = Object.keys(xe)[0], Ne = xe[Te], je = xr(gr({}, Ne), {
|
|
50386
|
+
sections: Ne.sections.map((Me) => Me.name === "Skills" ? xr(gr({}, Me), {
|
|
50387
|
+
config: xr(gr({}, Me.config), {
|
|
50388
50388
|
view: V ? "view2" : "view1"
|
|
50389
50389
|
})
|
|
50390
50390
|
}) : Me)
|
|
@@ -50405,23 +50405,25 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
50405
50405
|
})
|
|
50406
50406
|
);
|
|
50407
50407
|
}, Fe = (xe) => {
|
|
50408
|
-
const
|
|
50408
|
+
const Te = pe.find(
|
|
50409
50409
|
(je) => je.subtopic_id === xe.skill_id
|
|
50410
|
-
) || {
|
|
50410
|
+
), Ne = xr(gr({}, Te || {
|
|
50411
50411
|
subtopic_id: xe.skill_id,
|
|
50412
50412
|
subtopic: xe.name
|
|
50413
|
-
}
|
|
50413
|
+
}), {
|
|
50414
|
+
proficiency_period: xe.proficiency_period
|
|
50415
|
+
});
|
|
50414
50416
|
J(Ne), te(!0);
|
|
50415
50417
|
}, ke = () => sn(null, null, function* () {
|
|
50416
50418
|
var Te;
|
|
50417
50419
|
const xe = Ce();
|
|
50418
50420
|
try {
|
|
50419
|
-
const Ne =
|
|
50421
|
+
const Ne = gr({
|
|
50420
50422
|
form_stage: "skills_details_form",
|
|
50421
50423
|
skills: Re.map((je) => {
|
|
50422
50424
|
var qe, Ue, Ke;
|
|
50423
50425
|
let Me = null;
|
|
50424
|
-
return le && ((qe = le.language) != null && qe.includes(je.skill_id) ? Me = CATEGORY_TYPE_MAP.language : (Ue = le.framework) != null && Ue.includes(je.skill_id) ? Me = CATEGORY_TYPE_MAP.framework : (Ke = le.tools) != null && Ke.includes(je.skill_id) && (Me = CATEGORY_TYPE_MAP.tools)), xr(
|
|
50426
|
+
return le && ((qe = le.language) != null && qe.includes(je.skill_id) ? Me = CATEGORY_TYPE_MAP.language : (Ue = le.framework) != null && Ue.includes(je.skill_id) ? Me = CATEGORY_TYPE_MAP.framework : (Ke = le.tools) != null && Ke.includes(je.skill_id) && (Me = CATEGORY_TYPE_MAP.tools)), xr(gr({}, je), {
|
|
50425
50427
|
category_type: Me
|
|
50426
50428
|
});
|
|
50427
50429
|
}),
|
|
@@ -50450,7 +50452,7 @@ const dynamicBaseQuery = (C, $, V) => sn(null, null, function* () {
|
|
|
50450
50452
|
if (Re.find(
|
|
50451
50453
|
(Me) => Me.skill_id === xe.subtopic_id
|
|
50452
50454
|
)) {
|
|
50453
|
-
const Me = Re.map((qe) => qe.skill_id === xe.subtopic_id ? xr(
|
|
50455
|
+
const Me = Re.map((qe) => qe.skill_id === xe.subtopic_id ? xr(gr({}, qe), {
|
|
50454
50456
|
proficiency_period: {
|
|
50455
50457
|
years: Te,
|
|
50456
50458
|
months: Ne
|
|
@@ -59893,7 +59895,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
59893
59895
|
(le) => le.scalantResumeBuilder.formStore.forms[$]
|
|
59894
59896
|
), [ee] = Form.useForm(), [te, re] = useState(!1), oe = (le, pe) => {
|
|
59895
59897
|
const ve = ((J == null ? void 0 : J.projectItems) || []).map(
|
|
59896
|
-
(fe) => fe.index === F ? xr(
|
|
59898
|
+
(fe) => fe.index === F ? xr(gr({}, fe), {
|
|
59897
59899
|
formData: pe,
|
|
59898
59900
|
completed: PROJECT_FORM_REQUIRED_FIELDS.every(
|
|
59899
59901
|
(de) => pe[de]
|
|
@@ -59912,7 +59914,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
59912
59914
|
const le = (J == null ? void 0 : J.projectItems) || [];
|
|
59913
59915
|
console.log("currentItems", le, F);
|
|
59914
59916
|
const pe = le.map(
|
|
59915
|
-
(ue) => ue.index === F ? xr(
|
|
59917
|
+
(ue) => ue.index === F ? xr(gr({}, ue), { expanded: !ue.expanded }) : ue
|
|
59916
59918
|
);
|
|
59917
59919
|
K(
|
|
59918
59920
|
updateFormData({
|
|
@@ -59923,7 +59925,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
59923
59925
|
}, ne = () => {
|
|
59924
59926
|
re(!0);
|
|
59925
59927
|
}, ie = () => {
|
|
59926
|
-
const pe = ((J == null ? void 0 : J.projectItems) || []).filter((ue) => ue.index !== F).map((ue, ve) => xr(
|
|
59928
|
+
const pe = ((J == null ? void 0 : J.projectItems) || []).filter((ue) => ue.index !== F).map((ue, ve) => xr(gr({}, ue), {
|
|
59927
59929
|
index: ve
|
|
59928
59930
|
}));
|
|
59929
59931
|
K(updateFormData({ formId: $, data: { projectItems: pe } })), re(!1);
|
|
@@ -60092,7 +60094,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60092
60094
|
formId: FORM_ID$3,
|
|
60093
60095
|
data: {
|
|
60094
60096
|
projectItems: [
|
|
60095
|
-
...de.map((ge) => xr(
|
|
60097
|
+
...de.map((ge) => xr(gr({}, ge), { expanded: !1 })),
|
|
60096
60098
|
{
|
|
60097
60099
|
index: he,
|
|
60098
60100
|
completed: !1,
|
|
@@ -60107,7 +60109,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60107
60109
|
}
|
|
60108
60110
|
})
|
|
60109
60111
|
);
|
|
60110
|
-
}, pe = (de) => de.map((he) => xr(
|
|
60112
|
+
}, pe = (de) => de.map((he) => xr(gr({}, he.id && { id: he.id }), {
|
|
60111
60113
|
title: he.formData.title,
|
|
60112
60114
|
description: he.formData.description,
|
|
60113
60115
|
project_link: he.formData.project_link,
|
|
@@ -60185,7 +60187,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60185
60187
|
(ve) => ve.scalantResumeBuilder.formStore.forms[$]
|
|
60186
60188
|
), [ee] = Form.useForm(), [te, re] = useState(!1), oe = (ve, fe) => {
|
|
60187
60189
|
const he = ((J == null ? void 0 : J.educationItems) || []).map(
|
|
60188
|
-
(ge) => ge.index === F ? xr(
|
|
60190
|
+
(ge) => ge.index === F ? xr(gr({}, ge), {
|
|
60189
60191
|
formData: fe,
|
|
60190
60192
|
completed: EDUCATION_FORM_REQUIRED_FIELDS.every(
|
|
60191
60193
|
(Se) => fe[Se]
|
|
@@ -60202,7 +60204,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60202
60204
|
);
|
|
60203
60205
|
}, ae = () => {
|
|
60204
60206
|
const fe = ((J == null ? void 0 : J.educationItems) || []).map(
|
|
60205
|
-
(de) => de.index === F ? xr(
|
|
60207
|
+
(de) => de.index === F ? xr(gr({}, de), {
|
|
60206
60208
|
expanded: !de.expanded
|
|
60207
60209
|
}) : de
|
|
60208
60210
|
);
|
|
@@ -60219,7 +60221,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60219
60221
|
}, ie = () => {
|
|
60220
60222
|
const fe = ((J == null ? void 0 : J.educationItems) || []).filter(
|
|
60221
60223
|
(de) => de.index !== F
|
|
60222
|
-
).map((de, he) => xr(
|
|
60224
|
+
).map((de, he) => xr(gr({}, de), {
|
|
60223
60225
|
index: he
|
|
60224
60226
|
}));
|
|
60225
60227
|
K(
|
|
@@ -60247,7 +60249,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60247
60249
|
form: ee,
|
|
60248
60250
|
layout: "vertical",
|
|
60249
60251
|
onValuesChange: oe,
|
|
60250
|
-
initialValues:
|
|
60252
|
+
initialValues: gr({
|
|
60251
60253
|
grade_type: "cgpa"
|
|
60252
60254
|
}, C.formData)
|
|
60253
60255
|
},
|
|
@@ -60398,7 +60400,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60398
60400
|
updateFormData({
|
|
60399
60401
|
formId: C,
|
|
60400
60402
|
data: {
|
|
60401
|
-
customEducation: xr(
|
|
60403
|
+
customEducation: xr(gr({}, ee), {
|
|
60402
60404
|
formData: ie
|
|
60403
60405
|
})
|
|
60404
60406
|
}
|
|
@@ -60494,7 +60496,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60494
60496
|
short_description: _e.short_description
|
|
60495
60497
|
}
|
|
60496
60498
|
}))
|
|
60497
|
-
} :
|
|
60499
|
+
} : gr({}, initialFormData$2);
|
|
60498
60500
|
return pe.customEducation = F != null && F.resume_custom_section && Object.keys(F == null ? void 0 : F.resume_custom_section).length ? {
|
|
60499
60501
|
id: (ue = F == null ? void 0 : F.resume_custom_section) == null ? void 0 : ue.id,
|
|
60500
60502
|
completed: !0,
|
|
@@ -60507,7 +60509,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60507
60509
|
id: (ge = F == null ? void 0 : F.resume_custom_section) == null ? void 0 : ge.id,
|
|
60508
60510
|
user_id: (Se = F == null ? void 0 : F.resume_custom_section) == null ? void 0 : Se.user_id
|
|
60509
60511
|
}
|
|
60510
|
-
} : null,
|
|
60512
|
+
} : null, gr({}, pe);
|
|
60511
60513
|
}, [F == null ? void 0 : F.education, F == null ? void 0 : F.resume_custom_section]);
|
|
60512
60514
|
useEffect(() => {
|
|
60513
60515
|
J || V(
|
|
@@ -60524,7 +60526,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60524
60526
|
formId: FORM_ID$2,
|
|
60525
60527
|
data: {
|
|
60526
60528
|
educationItems: [
|
|
60527
|
-
...pe.map((ve) => xr(
|
|
60529
|
+
...pe.map((ve) => xr(gr({}, ve), { expanded: !1 })),
|
|
60528
60530
|
{
|
|
60529
60531
|
index: ue,
|
|
60530
60532
|
completed: !1,
|
|
@@ -60543,7 +60545,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60543
60545
|
}
|
|
60544
60546
|
})
|
|
60545
60547
|
);
|
|
60546
|
-
}, se = (pe) => pe.map((ue) => xr(
|
|
60548
|
+
}, se = (pe) => pe.map((ue) => xr(gr({}, ue.id && { id: ue.id }), {
|
|
60547
60549
|
university: ue.formData.university,
|
|
60548
60550
|
degree: ue.formData.degree,
|
|
60549
60551
|
field: ue.formData.field,
|
|
@@ -60569,7 +60571,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60569
60571
|
isPopulated: !0,
|
|
60570
60572
|
mark_complete: re,
|
|
60571
60573
|
educations: fe,
|
|
60572
|
-
resume_custom_section:
|
|
60574
|
+
resume_custom_section: gr({}, ue == null ? void 0 : ue.formData)
|
|
60573
60575
|
};
|
|
60574
60576
|
yield oe({
|
|
60575
60577
|
resumeId: (de = F == null ? void 0 : F.resume_details) == null ? void 0 : de.id,
|
|
@@ -60626,7 +60628,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60626
60628
|
(Se) => Se.scalantResumeBuilder.formStore.forms[$]
|
|
60627
60629
|
), [ee, te] = useState(!1), [re] = Form.useForm(), oe = (Se, _e) => {
|
|
60628
60630
|
const be = ((J == null ? void 0 : J.workExperienceItems) || []).map(
|
|
60629
|
-
(Ce) => Ce.index === F ? xr(
|
|
60631
|
+
(Ce) => Ce.index === F ? xr(gr({}, Ce), {
|
|
60630
60632
|
formData: _e,
|
|
60631
60633
|
completed: WORK_EXPERIENCE_FORM_REQUIRED_FIELDS.every(
|
|
60632
60634
|
(Re) => _e[Re]
|
|
@@ -60643,7 +60645,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60643
60645
|
);
|
|
60644
60646
|
}, ae = () => {
|
|
60645
60647
|
const _e = ((J == null ? void 0 : J.workExperienceItems) || []).map(
|
|
60646
|
-
(ye) => ye.index === F ? xr(
|
|
60648
|
+
(ye) => ye.index === F ? xr(gr({}, ye), { expanded: !ye.expanded }) : ye
|
|
60647
60649
|
);
|
|
60648
60650
|
K(
|
|
60649
60651
|
updateFormData({
|
|
@@ -60656,7 +60658,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60656
60658
|
}, ie = () => {
|
|
60657
60659
|
const _e = ((J == null ? void 0 : J.workExperienceItems) || []).filter(
|
|
60658
60660
|
(ye) => ye.index !== F
|
|
60659
|
-
).map((ye, be) => xr(
|
|
60661
|
+
).map((ye, be) => xr(gr({}, ye), {
|
|
60660
60662
|
index: be
|
|
60661
60663
|
}));
|
|
60662
60664
|
K(
|
|
@@ -60810,7 +60812,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60810
60812
|
formId: FORM_ID$1,
|
|
60811
60813
|
data: {
|
|
60812
60814
|
workExperienceItems: [
|
|
60813
|
-
...de.map((ge) => xr(
|
|
60815
|
+
...de.map((ge) => xr(gr({}, ge), { expanded: !1 })),
|
|
60814
60816
|
{
|
|
60815
60817
|
index: he,
|
|
60816
60818
|
completed: !1,
|
|
@@ -60829,7 +60831,7 @@ const { Text: Text$7 } = Typography, DeleteConfirmationModal = ({
|
|
|
60829
60831
|
}
|
|
60830
60832
|
})
|
|
60831
60833
|
);
|
|
60832
|
-
}, pe = (de) => de.map((he) => xr(
|
|
60834
|
+
}, pe = (de) => de.map((he) => xr(gr({}, he.id && { id: he.id }), {
|
|
60833
60835
|
user_id: J == null ? void 0 : J.user_id,
|
|
60834
60836
|
company: he.formData.company,
|
|
60835
60837
|
position: he.formData.position,
|
|
@@ -60931,7 +60933,7 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
60931
60933
|
const V = useDispatch(), F = useSelector(
|
|
60932
60934
|
(oe) => oe.scalantResumeBuilder.formStore.forms[$]
|
|
60933
60935
|
), [K] = Form.useForm(), J = (oe, ae) => {
|
|
60934
|
-
const ne =
|
|
60936
|
+
const ne = gr({}, ae);
|
|
60935
60937
|
isHtmlEmpty(ne.description) && (ne.description = "");
|
|
60936
60938
|
const ie = (F == null ? void 0 : F.achievementsItems) || [C], se = ie.findIndex(
|
|
60937
60939
|
(ce) => ce.id === C.id
|
|
@@ -60939,16 +60941,16 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
60939
60941
|
let me;
|
|
60940
60942
|
se === -1 ? me = [
|
|
60941
60943
|
...ie,
|
|
60942
|
-
xr(
|
|
60944
|
+
xr(gr({}, C), { formData: ne, saved: !0 })
|
|
60943
60945
|
] : me = ie.map(
|
|
60944
|
-
(ce) => ce.id === C.id ? xr(
|
|
60946
|
+
(ce) => ce.id === C.id ? xr(gr({}, ce), { formData: ne, saved: !0 }) : ce
|
|
60945
60947
|
), V(
|
|
60946
60948
|
updateFormData({
|
|
60947
60949
|
formId: $,
|
|
60948
60950
|
data: { achievementsItems: me }
|
|
60949
60951
|
})
|
|
60950
60952
|
);
|
|
60951
|
-
}, ee = xr(
|
|
60953
|
+
}, ee = xr(gr({}, C.formData), {
|
|
60952
60954
|
description: isHtmlEmpty((te = C.formData) == null ? void 0 : te.description) ? "" : (re = C.formData) == null ? void 0 : re.description
|
|
60953
60955
|
});
|
|
60954
60956
|
return /* @__PURE__ */ React__default.createElement(
|
|
@@ -61016,7 +61018,7 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
61016
61018
|
);
|
|
61017
61019
|
return;
|
|
61018
61020
|
}
|
|
61019
|
-
const pe = ce.map((ve) => xr(
|
|
61021
|
+
const pe = ce.map((ve) => xr(gr({}, ve.id && { id: ve.id }), {
|
|
61020
61022
|
description: isHtmlEmpty(ve.formData.description) ? "" : ve.formData.description
|
|
61021
61023
|
}));
|
|
61022
61024
|
try {
|
|
@@ -61307,7 +61309,7 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
61307
61309
|
const me = FORM_STEPS.find((le) => le.key === se);
|
|
61308
61310
|
if (!me) return null;
|
|
61309
61311
|
let ce = !1;
|
|
61310
|
-
return ne.includes(se) && (ce = !0), xr(
|
|
61312
|
+
return ne.includes(se) && (ce = !0), xr(gr({}, me), {
|
|
61311
61313
|
status: getFormStatus(
|
|
61312
61314
|
se,
|
|
61313
61315
|
K,
|
|
@@ -61586,8 +61588,8 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
61586
61588
|
), [ee] = useUpdateResumePreferencesMutation(), te = (ne) => sn(null, [ne], function* ({ key: ae }) {
|
|
61587
61589
|
var ie;
|
|
61588
61590
|
J(ae), $(
|
|
61589
|
-
setResumeData(xr(
|
|
61590
|
-
resume_meta: xr(
|
|
61591
|
+
setResumeData(xr(gr({}, V), {
|
|
61592
|
+
resume_meta: xr(gr({}, V == null ? void 0 : V.resume_meta), {
|
|
61591
61593
|
font_size: ae
|
|
61592
61594
|
})
|
|
61593
61595
|
}))
|
|
@@ -61651,7 +61653,7 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
61651
61653
|
);
|
|
61652
61654
|
}, Button = (F) => {
|
|
61653
61655
|
var K = F, { children: C, onClick: $ } = K, V = so(K, ["children", "onClick"]);
|
|
61654
|
-
return /* @__PURE__ */ React__default.createElement(Button$2,
|
|
61656
|
+
return /* @__PURE__ */ React__default.createElement(Button$2, gr({ type: "primary", onClick: $ }, V), C);
|
|
61655
61657
|
}, TEMPLATE_CONFIG = {
|
|
61656
61658
|
renderCv: {
|
|
61657
61659
|
sections: [
|
|
@@ -61921,7 +61923,7 @@ const CustomFormItem = ({ item: C, formId: $ }) => {
|
|
|
61921
61923
|
[ce]: TEMPLATE_CONFIG[ce]
|
|
61922
61924
|
};
|
|
61923
61925
|
$(
|
|
61924
|
-
setResumeData(xr(
|
|
61926
|
+
setResumeData(xr(gr({}, re), {
|
|
61925
61927
|
scaler_resume_template_structure: le
|
|
61926
61928
|
}))
|
|
61927
61929
|
), yield oe({
|
|
@@ -62911,7 +62913,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
62911
62913
|
(C, $, V) => {
|
|
62912
62914
|
Object.defineProperty($, "__esModule", {
|
|
62913
62915
|
value: !0
|
|
62914
|
-
}), $.VerbosityLevel = $.Util = $.UnknownErrorException = $.UnexpectedResponseException = $.UNSUPPORTED_FEATURES = $.TextRenderingMode = $.StreamType = $.RenderingIntentFlag = $.PermissionFlag = $.PasswordResponses = $.PasswordException = $.PageActionEventType = $.OPS = $.MissingPDFException = $.IsLittleEndianCached = $.IsEvalSupportedCached = $.InvalidPDFException = $.ImageKind = $.IDENTITY_MATRIX = $.FormatError = $.FontType = $.FONT_IDENTITY_MATRIX = $.DocumentActionEventType = $.CMapCompressionType = $.BaseException = $.AnnotationType = $.AnnotationStateModelType = $.AnnotationReviewState = $.AnnotationReplyType = $.AnnotationMode = $.AnnotationMarkedState = $.AnnotationFlag = $.AnnotationFieldFlag = $.AnnotationBorderStyleType = $.AnnotationActionEventType = $.AbortException = void 0, $.arrayByteLength = ct, $.arraysToBytes = _t, $.assert = tt, $.bytesToString = Qe, $.createObjectURL =
|
|
62916
|
+
}), $.VerbosityLevel = $.Util = $.UnknownErrorException = $.UnexpectedResponseException = $.UNSUPPORTED_FEATURES = $.TextRenderingMode = $.StreamType = $.RenderingIntentFlag = $.PermissionFlag = $.PasswordResponses = $.PasswordException = $.PageActionEventType = $.OPS = $.MissingPDFException = $.IsLittleEndianCached = $.IsEvalSupportedCached = $.InvalidPDFException = $.ImageKind = $.IDENTITY_MATRIX = $.FormatError = $.FontType = $.FONT_IDENTITY_MATRIX = $.DocumentActionEventType = $.CMapCompressionType = $.BaseException = $.AnnotationType = $.AnnotationStateModelType = $.AnnotationReviewState = $.AnnotationReplyType = $.AnnotationMode = $.AnnotationMarkedState = $.AnnotationFlag = $.AnnotationFieldFlag = $.AnnotationBorderStyleType = $.AnnotationActionEventType = $.AbortException = void 0, $.arrayByteLength = ct, $.arraysToBytes = _t, $.assert = tt, $.bytesToString = Qe, $.createObjectURL = yr, $.createPromiseCapability = sr, $.createValidAbsoluteUrl = ut, $.escapeString = Wt, $.getModificationDate = fr, $.getVerbosityLevel = Ge, $.info = Xe, $.isArrayBuffer = or, $.isArrayEqual = _r, $.isAscii = zt, $.isBool = Ut, $.isNum = Jt, $.isSameOrigin = rt, $.isString = vr, $.objectFromMap = xt, $.objectSize = At, $.removeNullCharacters = it, $.setVerbosityLevel = We, $.shadow = pt, $.string32 = wt, $.stringToBytes = at, $.stringToPDFString = Ht, $.stringToUTF16BEString = Bt, $.stringToUTF8String = Kt, $.unreachable = Je, $.utf8StringToString = qt, $.warn = Ye, V(5);
|
|
62915
62917
|
function F(vt, Nt) {
|
|
62916
62918
|
for (var mt = 0; mt < Nt.length; mt++) {
|
|
62917
62919
|
var St = Nt[mt];
|
|
@@ -63811,7 +63813,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
63811
63813
|
};
|
|
63812
63814
|
}), vt;
|
|
63813
63815
|
}
|
|
63814
|
-
function
|
|
63816
|
+
function yr(vt) {
|
|
63815
63817
|
var Nt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", mt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
63816
63818
|
if (URL.createObjectURL && typeof Blob != "undefined" && !mt)
|
|
63817
63819
|
return URL.createObjectURL(new Blob([vt], {
|
|
@@ -66508,7 +66510,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66508
66510
|
Bt(nt, gt);
|
|
66509
66511
|
}
|
|
66510
66512
|
}
|
|
66511
|
-
function
|
|
66513
|
+
function yr(Ie, Ve, nt) {
|
|
66512
66514
|
if (Jt(Ie, Ve, nt), !(nt.bytesFilled < nt.elementSize)) {
|
|
66513
66515
|
Nt(Ie);
|
|
66514
66516
|
var gt = nt.bytesFilled % nt.elementSize;
|
|
@@ -66523,7 +66525,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66523
66525
|
var nt = Ie._pendingPullIntos.peek();
|
|
66524
66526
|
or(Ie);
|
|
66525
66527
|
var gt = Ie._controlledReadableByteStream._state;
|
|
66526
|
-
gt === "closed" ? sr(Ie) :
|
|
66528
|
+
gt === "closed" ? sr(Ie) : yr(Ie, Ve, nt), Wt(Ie);
|
|
66527
66529
|
}
|
|
66528
66530
|
function Nt(Ie) {
|
|
66529
66531
|
var Ve = Ie._pendingPullIntos.shift();
|
|
@@ -74848,11 +74850,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74848
74850
|
wt.push.apply(wt, me(Jt));
|
|
74849
74851
|
}
|
|
74850
74852
|
for (var vr = it.annotationStorage, or = [], _r = 0, fr = wt; _r < fr.length; _r++) {
|
|
74851
|
-
var sr = fr[_r],
|
|
74852
|
-
switch (or.push(
|
|
74853
|
+
var sr = fr[_r], yr = sr.id;
|
|
74854
|
+
switch (or.push(yr), sr.type) {
|
|
74853
74855
|
case "text": {
|
|
74854
74856
|
var vt = sr.defaultValue || "";
|
|
74855
|
-
vr.setValue(
|
|
74857
|
+
vr.setValue(yr, {
|
|
74856
74858
|
value: vt,
|
|
74857
74859
|
valueAsString: vt
|
|
74858
74860
|
});
|
|
@@ -74861,7 +74863,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74861
74863
|
case "checkbox":
|
|
74862
74864
|
case "radiobutton": {
|
|
74863
74865
|
var Nt = sr.defaultValue === sr.exportValues;
|
|
74864
|
-
vr.setValue(
|
|
74866
|
+
vr.setValue(yr, {
|
|
74865
74867
|
value: Nt
|
|
74866
74868
|
});
|
|
74867
74869
|
break;
|
|
@@ -74869,7 +74871,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74869
74871
|
case "combobox":
|
|
74870
74872
|
case "listbox": {
|
|
74871
74873
|
var mt = sr.defaultValue || "";
|
|
74872
|
-
vr.setValue(
|
|
74874
|
+
vr.setValue(yr, {
|
|
74873
74875
|
value: mt
|
|
74874
74876
|
});
|
|
74875
74877
|
break;
|
|
@@ -74877,7 +74879,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74877
74879
|
default:
|
|
74878
74880
|
continue;
|
|
74879
74881
|
}
|
|
74880
|
-
var St = document.getElementById(
|
|
74882
|
+
var St = document.getElementById(yr);
|
|
74881
74883
|
!St || !Pe.has(St) || St.dispatchEvent(new Event("resetform"));
|
|
74882
74884
|
}
|
|
74883
74885
|
if (it.enableScripting) {
|