forked from CrackerCat/frida_app_hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
baoxianshi_helper.js
2019 lines (2013 loc) · 130 KB
/
baoxianshi_helper.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
webpackJsonp([19], {
148: function(e, t, s) {
"use strict";
t.a = function(e) {
var t = 0;
return e.map(function(e) {
e.isHide || e.prodOrderList.map(function(e) {
e.hadChoice && !e.hide && (t += 1 * e.totalBaof || 0)
}
)
}
),
t
}
,
t.e = function(e, t) {
var a = {};
e && (e.recipientInfo && (a.recipientInfo = u(e.recipientInfo)),
e.personOrderList && e.personOrderList.map(function(e) {
a[e.key] = u(e)
}
));
{
if (!t)
return a;
if ("string" == typeof t)
return a[t];
if (t.constructor === Array) {
var r = [];
for (var i in a)
-1 !== t.indexOf(i) && r.push(a[i]);
return r
}
}
}
,
t.b = function(e) {
var t = (new Date).getTime();
return {
key: t,
titleName: "待完善险种",
policyType: "manual_insurance",
mulInsOrderList: [{
eleOrderList: e,
key: t,
title: !0
}],
liabilityOrderList: [],
companyId: null ,
hide: !1,
trade: !1,
companyName: "",
autoImport: !1,
liabilityShowType: 0,
required: !1
}
}
,
t.c = function(e) {
return e.productGroupList.every(function(e) {
return !!e.prodOrderList.filter(function(e) {
return !!e.hadChoice && !e.hide
}
).length
}
)
}
,
t.d = function(e) {
return e.productGroupList.every(function(e) {
var t = e.prodOrderList.filter(function(e) {
return !!e.hadChoice && !e.hide
}
);
return !!t.length && t.every(function(e) {
return function(e) {
var t = !0
, a = function(n) {
if (!n)
return n;
var o = i()({}, n, {
common: {},
mulInsOrderList: []
});
return n.mulInsOrderList.map(function(r) {
var i = u(r);
"common" == i.key ? o.common = i : i.title && !i.groupKey && (i.isGroup ? (i.insuranceId.constructor == Array ? i.insuranceId : [i.insuranceId]).map(function(t) {
var e = n.mulInsOrderList.filter(function(e) {
return e.key === t
}
)[0];
if (e) {
var a = u(e);
void 0 !== r.account && (a.account = r.account),
void 0 !== r.accountData && (a.accountData = r.accountData),
r.eleOrderList.map(function(e) {
"title" != e.key && "insuranceId" != e.key && (a[e.key] = i[e.key])
}
),
o.mulInsOrderList.push(s.i(l.a)(a))
}
}
) : o.mulInsOrderList.push(i))
}
),
o
}
(e);
if (a.policyType) {
var r = a.mulInsOrderList.filter(function(e) {
return e.title
}
);
t = !!r.length && r.every(function(t) {
return ["name", "iDuration", "pPeriod"].every(function(e) {
return void 0 !== t[e] && null !== t[e]
}
)
}
)
}
return t
}
(e)
}
)
}
)
}
;
var a = s(4)
, r = (s.n(a),
s(10))
, i = s.n(r)
, l = s(3);
function u(e) {
var a = {}
, t = function(t) {
"eleOrderList" == t ? e[t].map(function(e) {
a[e.key] = e.value
}
) : e.eleOrderList && !e.eleOrderList.every(function(e) {
return e.key !== t
}
) || (a[t] = e[t])
}
;
for (var r in e)
t(r);
return a
}
},
17: function(e, t, a) {
"use strict";
a.d(t, "a", function() {
return i
}
);
var r = navigator.userAgent
, i = (/Android/i.test(r),
/(iPhone|iPad|iPod)/i.test(r),
"ontouchstart" in window || window.DocumentTouch && (document,
window.DocumentTouch),
function() {
return /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && 3 === window.devicePixelRatio && (375 === window.screen.width && 812 === window.screen.height || 375 === window.screen.height && 812 === window.screen.width) || /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && 2 === window.devicePixelRatio && (414 === window.screen.width && 896 === window.screen.height || 414 === window.screen.height && 896 === window.screen.width) || /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && 3 === window.devicePixelRatio && (414 === window.screen.width && 896 === window.screen.height || 414 === window.screen.height && 896 === window.screen.width)
}
)
},
2: function(e, t) {
e.exports = Vue
},
3: function(e, t, p) {
"use strict";
p.d(t, "g", function() {
return f
}
),
p.d(t, "j", function() {
return m
}
),
p.d(t, "h", function() {
return v
}
),
t.f = h,
t.e = D,
t.c = g,
t.d = y,
t.b = O,
t.i = function(e, t) {
var a = t ? new Date(t) : new Date
, r = new Date(e)
, i = a.getFullYear() - r.getFullYear();
(a.getMonth() - r.getMonth() < 0 || a.getMonth() - r.getMonth() == 0 && a.getDate() - r.getDate() < 0) && i--;
return i
}
,
t.l = b,
t.a = L,
p.d(t, "k", function() {
return I
}
);
var a = p(52)
, n = p.n(a)
, r = p(46)
, o = p.n(r)
, i = p(2)
, s = (p.n(i),
p(59))
, l = p.n(s)
, u = p(58)
, c = p.n(u)
, d = p(17)
, _ = -1 !== location.hostname.search(/pbf\.winbaoxian\.com/)
, f = _
, m = -1 !== location.hostname.search(/localhost|192\.168|172\.0\.0\.1/)
, v = p.i(d.a)() ? 34 : 0;
function h(e) {
var t = Math.round((new Date - e) / 1e3);
return t < 60 ? t + "秒前" : 60 <= t && t < 3600 ? Math.round(t / 60) + "分钟前" : 3600 <= t && t < 86400 ? Math.round(t / 60 / 60) + "小时前" : 86400 <= t && t < 2592e3 ? Math.round(t / 60 / 60 / 24) + "天前" : void 0
}
function D(e) {
var i = "个十百千万@#%亿^&~"
, t = "零一二三四五六七八九"
, n = (e + "").split("")
, a = [];
if (12 < n.length)
throw new Error("too big");
for (var r = 0, o = n.length - 1; r <= o; r++)
(1 == o || 5 == o || 9 == o) && 0 == r ? "1" != n[r] && a.push(t.charAt(n[r])) : a.push(t.charAt(n[r])),
r != o && a.push(i.charAt(o - r));
return a.join("").replace(/零([十百千万亿@#%^&~])/g, function(e, t, a) {
if (-1 != (a = i.indexOf(t))) {
if ("亿" == t)
return t;
if ("万" == t)
return t;
if ("0" == n[o - a])
return "零"
}
return ""
}
).replace(/零+/g, "零").replace(/零([万亿])/g, function(e, t) {
return t
}
).replace(/亿[万千百]/g, "亿").replace(/[零]$/, "").replace(/[@#%^&~]/g, function(e) {
return {
"@": "十",
"#": "百",
"%": "千",
"^": "十",
"&": "百",
"~": "千"
}[e]
}
).replace(/([亿万])([一-九])/g, function(e, t, a, r) {
return -1 != (r = i.indexOf(t)) && "0" == n[o - r] ? t + "零" + a : e
}
)
}
function g(e) {
var t = e.pageId
, a = void 0 === t ? "" : t
, r = (e.isProduct,
e.heartBeatRate)
, i = void 0 === r ? 1e3 : r
, n = e.projectInfo
, o = void 0 === n ? {
url: location.href
} : n
, s = e.Vue
, l = e.name
, u = void 0 === l ? p.i({
NODE_ENV: "production"
}).PKG_NAME : l
, c = e.version
, d = void 0 === c ? p.i({
NODE_ENV: "production"
}).PKG_VERSION : c;
window.WeiyiStatSDK && window.WeiyiStatSDK.init({
pageId: a,
isProduct: f,
heartBeatRate: i,
projectInfo: o,
Vue: s,
name: u,
version: d
})
}
function y() {
window.appBridge && appBridge.checkAppFeature("APP_VIEW") ? appBridge.gotoAppView("login") : window.location.href = (_ ? "https://app.winbaoxian.com" : "//app.winbaoxian.cn") + "/user/login?requestUrl=" + encodeURIComponent(location.href)
}
function O(e, t) {
if (0 === arguments.length)
return null ;
var a = t || "{y}-{m}-{d} {h}:{i}:{s}"
, r = void 0;
if (null !== e) {
"object" === (void 0 === e ? "undefined" : o()(e)) ? r = e : (10 === ("" + e).length && (e = 1e3 * parseInt(e)),
r = new Date(e));
var i = {
y: r.getFullYear(),
m: r.getMonth() + 1,
d: r.getDate(),
h: r.getHours(),
i: r.getMinutes(),
s: r.getSeconds(),
a: r.getDay()
};
return a.replace(/{(y|m|d|h|i|s|a)+}/g, function(e, t) {
var a = i[t];
return "a" === t ? ["日", "一", "二", "三", "四", "五", "六"][a] : (0 < e.length && a < 10 && (a = "0" + a),
a || 0)
}
)
}
}
function b(e, t) {
e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var a = new RegExp("[\\?&]" + e + "=([^&#]*)").exec(t || location.search);
return null === a ? "" : decodeURIComponent(a[1].replace(/\+/g, " "))
}
function L(e) {
var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : new n.a;
if (!e || "object" !== (void 0 === e ? "undefined" : o()(e)))
return e;
if (t.has(e))
return t.get(e);
var a = void 0
, r = e.constructor;
switch (r) {
case RegExp:
a = new r(e);
break;
case Date:
a = new r(e.getTime());
break;
default:
a = new r
}
for (var i in t.set(e, a),
e)
e.hasOwnProperty(i) && (a[i] = "object" === o()(e[i]) ? L(e[i], t) : e[i]);
return a
}
var I = new l.a(c.a)
},
337: function(e, t, a) {
"use strict";
t.a = function(t, a) {
var e = t[p("0x0")][p("0x1") + p("0x2")]
, r = {};
null !== t[p("0x3") + p("0x4")] && (r["insuranceT" + p("0x4")] = t[p("0x3") + p("0x4")]);
r[p("0x5")] = 1 * e[0][p("0x6")],
r[p("0x7")] = 1 * e[0][p("0x8")],
e[1] && (p("0x9") != p("0x9") ? r[p("0xa")] += "i=" + ele + ";" : (r.applicantAge = isNaN(1 * e[1][p("0x6")]) ? 0 : 1 * e[1][p("0x6")],
r.applicantSex = isNaN(1 * e[1].sex) ? 0 : 1 * e[1].sex));
var i = []
, n = []
, o = t[p("0xb") + "upList"].filter(function(e) {
return e[p("0xc")] === a[p("0xd") + "ey"]
}
)[0][p("0xe") + p("0xf")][p("0x10")]();
o && o[p("0x11")](function(e) {
"Tvstc" !== p("0x12") ? (i[p("0x13")](e[p("0xc")]),
e.mulInsOrderList[p("0x11")](function(e) {
n[p("0x13")](e[p("0xc")])
}
)) : r[p("0x14")] += "p=" + ele + ";"
}
),
r[p("0x14")] = "",
r[p("0xa")] = "",
i[p("0x15")](function(e, t) {
return e - t
}
),
i[p("0x11")](function(e) {
r.product += "p=" + e + ";"
}
),
n[p("0x15")](function(e, t) {
return e - t
}
),
n.map(function(e) {
"vWpRc" !== p("0x16") ? r[p("0xa")] += "i=" + e + ";" : r[p("0x3") + "ypeId"] = t[p("0x3") + "ypeId"]
}
),
r.params = JSON[p("0x17")](t);
var s = "";
for (var l in r)
s += l + "=" + r[l] + "&";
return delete r.params,
d.a[p("0x18")][p("0x19")](JSON[p("0x17")](u()({}, r, {
signMd5: c()(s)
})), d.a.enc[p("0x1a")][p("0x1b")](p("0x1c") + p("0x1d")), {
mode: d.a[p("0x1e")][p("0x1f")],
padding: d.a[p("0x20")][p("0x21")]
})[p("0x22")]() || c()(s) || "20190929"
}
;
var r, i, n = a(10), u = a.n(n), o = a(785), c = a.n(o), s = a(653), d = a.n(s), l = ["ist", "slice", "map", "GiYeu", "push", "product", "sort", "dkzHP", "stringify", "AES", "encrypt", "Utf8", "parse", "67u3Dg5fcc", "06UntP", "mode", "ECB", "pad", "Pkcs7", "toString", "personData", "personOrde", "rList", "insuranceT", "ypeId", "insuredAge", "age", "insuredSex", "sex", "lfXTM", "insurance", "productGro", "key", "groupDataK", "prodOrderL"];
r = l,
i = 475,
function(e) {
for (; --e; )
r.push(r.shift())
}
(++i);
var p = function(e, t) {
return l[e -= 0]
}
},
338: function(e, t) {
var n;
document.createTouch || (document.createTouch = function(e, t, a, r, i, n, o) {
return new s(t,a,{
pageX: r,
pageY: i,
screenX: n,
screenY: o,
clientX: r - window.pageXOffset,
clientY: i - window.pageYOffset
},0,0)
}
),
document.createTouchList || (document.createTouchList = function() {
for (var e = a(), t = 0; t < arguments.length; t++)
e[t] = arguments[t];
return e.length = arguments.length,
e
}
);
var s = function(e, t, a, r, i) {
r = r || 0,
i = i || 0,
this.identifier = t,
this.target = e,
this.clientX = a.clientX + r,
this.clientY = a.clientY + i,
this.screenX = a.screenX + r,
this.screenY = a.screenY + i,
this.pageX = a.pageX + r,
this.pageY = a.pageY + i
}
;
function a() {
var e = [];
return e.item = function(e) {
return this[e] || null
}
,
e.identifiedTouch = function(e) {
return this[e + 1] || null
}
,
e
}
function r(i) {
return function(e) {
var t, a, r;
1 === e.which && (("mousedown" === e.type || !n || n && !n.dispatchEvent) && (n = e.target),
t = i,
a = e,
(r = document.createEvent("Event")).initEvent(t, !0, !0),
r.altKey = a.altKey,
r.ctrlKey = a.ctrlKey,
r.metaKey = a.metaKey,
r.shiftKey = a.shiftKey,
r.touches = l(a),
r.targetTouches = l(a),
r.changedTouches = o(a),
n.dispatchEvent(r),
"mouseup" === e.type && (n = null ))
}
}
function o(e) {
var t = a();
return t.push(new s(n,1,e,0,0)),
t
}
function l(e) {
return "mouseup" === e.type ? a() : o(e)
}
function i() {
!function() {
for (var e = [window, document.documentElement], t = ["ontouchstart", "ontouchmove", "ontouchcancel", "ontouchend"], a = 0; a < e.length; a++)
for (var r = 0; r < t.length; r++)
e[a] && void 0 === e[a][t[r]] && (e[a][t[r]] = null )
}
(),
window.addEventListener("mousedown", r("touchstart"), !0),
window.addEventListener("mousemove", r("touchmove"), !0),
window.addEventListener("mouseup", r("touchend"), !0)
}
i.multiTouchOffset = 75,
window.self !== window.top && new i
},
47: function(e, t, a) {
"use strict";
a.d(t, "d", function() {
return o
}
),
a.d(t, "b", function() {
return s
}
),
a.d(t, "c", function() {
return u
}
),
a.d(t, "a", function() {
return p
}
);
var r = a(9)
, i = a.n(r);
function n(e, t) {
e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var a = new RegExp("[\\?&]" + e + "=([^&#]*)").exec(t || location.search);
return null === a ? "" : decodeURIComponent(a[1].replace(/\+/g, " "))
}
-1 !== location.hostname.search(/pbf\.winbaoxian\.com/) || (-1 !== location.hostname.search(/pbf\.winbaoxian\.cn/) || location.hostname.search(/192\.168|localhost/));
var o = n("planbookId")
, s = n("pbType")
, l = (n("cId"),
n("preview"));
!o && 1 != l && localStorage.getItem("intellectScheme") && JSON.parse(localStorage.getItem("intellectScheme"))["s" + o];
var u = n("uuid")
, c = (n("schemeUuid"),
location.search ? location.search.substr(1) : "")
, d = {};
c && (d = i.a.parse(c));
var p = d
},
735: function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", {
value: !0
});
// var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__ = __webpack_require__(30), __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__), __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__ = __webpack_require__(147), __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__), __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__ = __webpack_require__(46), __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__), __WEBPACK_IMPORTED_MODULE_3__env_js__ = __webpack_require__(17), __WEBPACK_IMPORTED_MODULE_4__md5Token_min_js__ = __webpack_require__(337), __WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js__ = __webpack_require__(338), __WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js__), __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__ = __webpack_require__(47), __WEBPACK_IMPORTED_MODULE_7__planbook_utils_js__ = __webpack_require__(148), baseApiPath;
var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__ = __webpack_require__(30), __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify__), __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__ = __webpack_require__(147), __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__), __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__ = __webpack_require__(46), __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof__), __WEBPACK_IMPORTED_MODULE_3__env_js__ = __webpack_require__(17), __WEBPACK_IMPORTED_MODULE_4__md5Token_min_js__ = __webpack_require__(337), __WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js__ = __webpack_require__(338), __WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__static_js_touch_simulator_js__), __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__ = __webpack_require__(47), baseApiPath;
window.__webpack_require__ = __webpack_require__(337)["a"];
// var __WEBPACK_IMPORTED_MODULE_7__planbook_utils_js__ = __webpack_require__(148)
var s = '{"pbType":"","insuranceTypeId":6911,"totalBaof":1740,"personData":{"personOrderList":[{"birthday":"","title":true,"name":"","sex":1,"age":30,"key":"insuredInfo"},{"birthday":"","label":"投保人信息","title":false,"name":"","applicantAndInsuredSame":0,"sex":1,"age":30,"key":"applicantInfo"}],"recipientInfo":{"title":false,"name":"","sex":1,"shareTitle":"","key":"recipientInfo","coverId":0,"coverName":"模板1"}},"productGroupList":[{"key":"allMainInsData","prodOrderList":[{"key":3159,"titleName":"福禄相伴两全保险(SJ3)","tradeId":-1,"companyId":1,"companyName":"中国人寿","liabilityShowType":0,"inputResultSwitch":false,"totalBaof":"1740.00","common":{},"mulInsOrderList":[{"code":"SJ3","isFollowing":false,"calculatorType":"","feeBaseType":"baoe2baof","allowSamePerson":false,"scale":2,"canRenewFlag":false,"title":true,"iDuration":"a80","pPeriod":"b20","baoe":100000,"feeType":"baoe2baof","durationType":0,"required":true,"roundingMode":"HALF_UP","trade":false,"feeBase":10000,"huomian":"","name":"福禄相伴两全保险","resultFormulaRef":null,"disabled":true,"reduceBaof":null,"key":19533,"account":false,"isCheckbox":false,"showPlanDesc":false,"pPeriodDesc":"20年","baoeDesc":"10万","baofDesc":1740,"iDurationDesc":"至80岁","maxAge":60,"baof":1740,"eleOrderInResult":[{"value":"iDuration","label":"保险期间"},{"value":"pPeriod","label":"交费期间"},{"value":"baoe","label":"保额"}]}]}]}],"theme":"healthy","coverId":0,"commonData":{"feedbackUrl":"","compare":true,"withVerify":false,"discussUrl":"","featureUrl":""},"displayFormatSort":"responsibility","categorySort":"healthy","title":"福禄相伴两全保险"}'
var ss = JSON.parse(s);
var sign = window.__webpack_require__(ss,{groupDataKey: "allMainInsData"});
console.log(sign);
var res = '{"personData": {"recipientInfo": {"eleOrderList": [{"value": false, "key": "title"}, {"value": "", "key": "name"}, {"value": 1, "key": "sex"}], "key": "recipientInfo"}, "personOrderList": [{"birthday": "", "eleOrderList": [{"value": true, "key": "title"}, {"value": 1, "key": "sex"}, {"opts": [0, 60], "value": 30, "key": "age"}], "key": "insuredInfo"}, {"birthday": "", "eleOrderList": [{"value": true, "key": "title"}, {"value": 1, "key": "sex"}, {"opts": [16, 70], "value": 30, "key": "age"}], "key": "applicantInfo"}]}, "displayFormatSort": "responsibility", "commonData": {"feedbackUrl": "", "compare": true, "withVerify": false, "discussUrl": "", "featureUrl": ""}, "theme": "healthy", "categorySort": "healthy", "productGroupList": [{"defNum": 1, "prodOrderList": [{"mulInsOrderList": [{"code": "1571", "isFollowing": false, "calculatorType": "", "feeBaseType": "baoe2baof", "allowSamePerson": false, "scale": 2, "canRenewFlag": false, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u5b88\u62a4\u767e\u5206\u767e", "value": true, "key": "title"}, {"optConf": null, "common": false, "opts": [{"val": "a60", "desc": "\u81f360\u5c81"}, {"val": "a70", "desc": "\u81f370\u5c81"}, {"val": "a80", "desc": "\u81f380\u5c81"}], "componentName": "cmCommonSelect", "isDisabled": null, "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "a80", "key": "iDuration", "isHide": false}, {"optConf": null, "common": false, "opts": [{"val": "b10", "desc": "10\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b30", "desc": "30\u5e74"}], "componentName": "cmCommonSelect", "isDisabled": null, "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b20", "key": "pPeriod", "isHide": false}, {"optConf": null, "common": false, "opts": [{"val": 1, "desc": "80\u5c81\u8d77"}, {"val": 2, "desc": "70\u5c81\u8d77"}, {"val": 3, "desc": "60\u5c81\u8d77"}], "componentName": "cmCommonSelect", "isDisabled": null, "labelName": "\u91cd\u75be\u9669\u8eab\u6545\u8d23\u4efb\u8d77\u59cb\u65f6\u95f4", "value": 1, "key": "extra1", "isHide": true}, {"common": false, "regExpMessage": "", "componentName": "cmCommonInput", "isDisabled": null, "labelName": "\u4fdd\u989d", "value": 300000, "key": "baoe", "regExp": "", "isHide": null, "compareItem": null}], "feeType": "baoe2baof", "durationType": 0, "required": true, "roundingMode": "HALF_UP", "trade": false, "feeBase": 10000, "huomian": "", "name": "\u5b88\u62a4\u767e\u5206\u767e", "resultFormulaRef": null, "reduceBaof": null, "key": 20936, "account": false, "isCheckbox": false}, {"code": "1572", "isFollowing": false, "calculatorType": "", "feeBaseType": "baoe2baof", "allowSamePerson": false, "scale": 2, "canRenewFlag": false, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u5b88\u62a4\u767e\u5206\u767e\u75be", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "a999", "desc": "\u7ec8\u8eab"}], "componentName": "cmCommonSelect", "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "a999", "key": "iDuration", "isHide": false}, {"common": false, "opts": [{"val": "b10", "desc": "10\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b30", "desc": "30\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b10", "key": "pPeriod", "isHide": true}, {"optConf": null, "common": false, "opts": [{"val": 1, "desc": "80\u5c81\u8d77"}, {"val": 2, "desc": "70\u5c81\u8d77"}, {"val": 3, "desc": "60\u5c81\u8d77"}], "componentName": "cmCommonSelect", "isDisabled": false, "labelName": "\u91cd\u75be\u9669\u8eab\u6545\u8d23\u4efb\u8d77\u59cb\u65f6\u95f4", "value": "1", "key": "extra1", "isHide": true}, {"componentName": "cmCommonInput", "common": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "feeType": "baoe2baof", "durationType": 0, "required": false, "roundingMode": "HALF_UP", "refInsuranceId": "-1", "trade": false, "feeBase": 10000, "huomian": "", "name": "\u5b88\u62a4\u767e\u5206\u767e\u75be", "resultFormulaRef": null, "reduceBaof": null, "key": 20937, "account": false, "isCheckbox": false}, {"code": "1382", "isFollowing": true, "calculatorType": "", "feeBaseType": "baoe2baof", "allowSamePerson": false, "scale": 2, "canRenewFlag": false, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u798f\u661f\u8f7b\u75c7", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "a999", "desc": "\u7ec8\u8eab"}], "componentName": "cmCommonSelect", "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "a999", "key": "iDuration", "isHide": false}, {"common": false, "opts": [{"val": "b10", "desc": "10\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b30", "desc": "30\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b10", "key": "pPeriod", "isHide": false}, {"unit": "", "common": false, "regExpMessage": "", "componentName": "cmCommonInput", "isDisabled": false, "labelName": "\u4fdd\u989d", "value": 60000, "key": "baoe", "regExp": "", "isHide": false}], "feeType": "baoe2baof", "durationType": 0, "required": false, "roundingMode": "HALF_UP", "refInsuranceId": "", "trade": false, "feeBase": 10000, "huomian": "", "name": "\u798f\u661f\u8f7b\u75c7", "resultFormulaRef": null, "reduceBaof": null, "key": 19005, "account": false, "isCheckbox": false}, {"code": "1385", "isFollowing": false, "calculatorType": "", "allowSamePerson": false, "scale": 2, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u8f7b\u75c710\u8c41\u514d\uff08\u88ab\u4fdd\u4eba\uff09", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "b1", "desc": "1\u5e74"}, {"val": "b2", "desc": "2\u5e74"}, {"val": "b3", "desc": "3\u5e74"}, {"val": "b4", "desc": "4\u5e74"}, {"val": "b5", "desc": "5\u5e74"}, {"val": "b6", "desc": "6\u5e74"}, {"val": "b7", "desc": "7\u5e74"}, {"val": "b8", "desc": "8\u5e74"}, {"val": "b9", "desc": "9\u5e74"}, {"val": "b10", "desc": "10\u5e74"}, {"val": "b11", "desc": "11\u5e74"}, {"val": "b12", "desc": "12\u5e74"}, {"val": "b13", "desc": "13\u5e74"}, {"val": "b14", "desc": "14\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b16", "desc": "16\u5e74"}, {"val": "b17", "desc": "17\u5e74"}, {"val": "b18", "desc": "18\u5e74"}, {"val": "b19", "desc": "19\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b21", "desc": "21\u5e74"}, {"val": "b22", "desc": "22\u5e74"}, {"val": "b23", "desc": "23\u5e74"}, {"val": "b24", "desc": "24\u5e74"}, {"val": "b25", "desc": "25\u5e74"}, {"val": "b26", "desc": "26\u5e74"}, {"val": "b27", "desc": "27\u5e74"}, {"val": "b28", "desc": "28\u5e74"}, {"val": "b29", "desc": "29\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b1", "key": "pPeriod", "isHide": true}, {"componentName": "cmCommonInput", "common": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "durationType": 0, "pMinus": "1", "required": false, "roundingMode": "HALF_UP", "refInsuranceId": "-1", "trade": false, "huomian": "beiHuomian", "name": "\u8f7b\u75c710\u8c41\u514d\uff08\u88ab\u4fdd\u4eba\uff09", "reduceBaof": null, "key": 19144, "account": false, "isCheckbox": false, "dMinus": "0"}, {"code": "1385", "isFollowing": false, "calculatorType": "", "allowSamePerson": false, "scale": 2, "eleOrderList": [{"common": false, "componentName": "cmCommonTitle", "isDisabled": false, "labelName": "\u8f7b\u75c710\u8c41\u514d\uff08\u6295\u4fdd\u4eba\uff09", "value": true, "key": "title", "isHide": false}, {"common": false, "opts": [{"val": "b1", "desc": "1\u5e74"}, {"val": "b2", "desc": "2\u5e74"}, {"val": "b3", "desc": "3\u5e74"}, {"val": "b4", "desc": "4\u5e74"}, {"val": "b5", "desc": "5\u5e74"}, {"val": "b6", "desc": "6\u5e74"}, {"val": "b7", "desc": "7\u5e74"}, {"val": "b8", "desc": "8\u5e74"}, {"val": "b9", "desc": "9\u5e74"}, {"val": "b10", "desc": "10\u5e74"}, {"val": "b11", "desc": "11\u5e74"}, {"val": "b12", "desc": "12\u5e74"}, {"val": "b13", "desc": "13\u5e74"}, {"val": "b14", "desc": "14\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b16", "desc": "16\u5e74"}, {"val": "b17", "desc": "17\u5e74"}, {"val": "b18", "desc": "18\u5e74"}, {"val": "b19", "desc": "19\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b21", "desc": "21\u5e74"}, {"val": "b22", "desc": "22\u5e74"}, {"val": "b23", "desc": "23\u5e74"}, {"val": "b24", "desc": "24\u5e74"}, {"val": "b25", "desc": "25\u5e74"}, {"val": "b26", "desc": "26\u5e74"}, {"val": "b27", "desc": "27\u5e74"}, {"val": "b28", "desc": "28\u5e74"}, {"val": "b29", "desc": "29\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b1", "key": "pPeriod", "isHide": true}, {"componentName": "cmCommonInput", "common": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "durationType": 0, "pMinus": "1", "required": false, "roundingMode": "HALF_UP", "refInsuranceId": "-1", "trade": false, "huomian": "touHuomian", "name": "\u8f7b\u75c710\u8c41\u514d\uff08\u6295\u4fdd\u4eba\uff09", "reduceBaof": null, "key": 19141, "account": false, "isCheckbox": false, "dMinus": "0"}, {"code": "1296", "isFollowing": false, "calculatorType": "", "allowSamePerson": false, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u8c41\u514d\u91cd\u75beB18", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "b1", "desc": "1\u5e74\u4ea4"}, {"val": "b2", "desc": "2\u5e74\u4ea4"}, {"val": "b3", "desc": "3\u5e74\u4ea4"}, {"val": "b4", "desc": "4\u5e74\u4ea4"}, {"val": "b5", "desc": "5\u5e74\u4ea4"}, {"val": "b6", "desc": "6\u5e74\u4ea4"}, {"val": "b7", "desc": "7\u5e74\u4ea4"}, {"val": "b8", "desc": "8\u5e74\u4ea4"}, {"val": "b9", "desc": "9\u5e74\u4ea4"}, {"val": "b10", "desc": "10\u5e74\u4ea4"}, {"val": "b11", "desc": "11\u5e74\u4ea4"}, {"val": "b12", "desc": "12\u5e74\u4ea4"}, {"val": "b13", "desc": "13\u5e74\u4ea4"}, {"val": "b14", "desc": "14\u5e74\u4ea4"}, {"val": "b15", "desc": "15\u5e74\u4ea4"}, {"val": "b16", "desc": "16\u5e74\u4ea4"}, {"val": "b17", "desc": "17\u5e74\u4ea4"}, {"val": "b18", "desc": "18\u5e74\u4ea4"}, {"val": "b19", "desc": "19\u5e74\u4ea4"}, {"val": "b20", "desc": "20\u5e74\u4ea4"}, {"val": "b21", "desc": "21\u5e74\u4ea4"}, {"val": "b22", "desc": "22\u5e74\u4ea4"}, {"val": "b23", "desc": "23\u5e74\u4ea4"}, {"val": "b24", "desc": "24\u5e74\u4ea4"}, {"val": "b25", "desc": "25\u5e74\u4ea4"}, {"val": "b26", "desc": "26\u5e74\u4ea4"}, {"val": "b27", "desc": "27\u5e74\u4ea4"}, {"val": "b28", "desc": "28\u5e74\u4ea4"}, {"val": "b29", "desc": "29\u5e74\u4ea4"}, {"val": "b30", "desc": "30\u5e74\u4ea4"}, {"val": "b31", "desc": "31\u5e74\u4ea4"}, {"val": "b32", "desc": "32\u5e74\u4ea4"}, {"val": "b33", "desc": "33\u5e74\u4ea4"}, {"val": "b34", "desc": "34\u5e74\u4ea4"}, {"val": "b35", "desc": "35\u5e74\u4ea4"}, {"val": "b36", "desc": "36\u5e74\u4ea4"}, {"val": "b37", "desc": "37\u5e74\u4ea4"}, {"val": "b38", "desc": "38\u5e74\u4ea4"}, {"val": "b39", "desc": "39\u5e74\u4ea4"}, {"val": "b40", "desc": "40\u5e74\u4ea4"}, {"val": "b41", "desc": "41\u5e74\u4ea4"}, {"val": "b42", "desc": "42\u5e74\u4ea4"}, {"val": "b43", "desc": "43\u5e74\u4ea4"}, {"val": "b44", "desc": "44\u5e74\u4ea4"}, {"val": "b45", "desc": "45\u5e74\u4ea4"}, {"val": "b46", "desc": "46\u5e74\u4ea4"}, {"val": "b47", "desc": "47\u5e74\u4ea4"}, {"val": "b48", "desc": "48\u5e74\u4ea4"}, {"val": "b49", "desc": "49\u5e74\u4ea4"}, {"val": "b50", "desc": "50\u5e74\u4ea4"}, {"val": "b51", "desc": "51\u5e74\u4ea4"}, {"val": "b52", "desc": "52\u5e74\u4ea4"}, {"val": "b53", "desc": "53\u5e74\u4ea4"}, {"val": "b54", "desc": "54\u5e74\u4ea4"}, {"val": "b55", "desc": "55\u5e74\u4ea4"}, {"val": "b56", "desc": "56\u5e74\u4ea4"}, {"val": "b57", "desc": "57\u5e74\u4ea4"}, {"val": "b58", "desc": "58\u5e74\u4ea4"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b1", "key": "pPeriod", "isHide": true}, {"componentName": "cmCommonInput", "common": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "durationType": 1, "pMinus": "1", "required": false, "groupKey": "touhm", "refInsuranceId": "-1", "groupName": "\u6295\u4fdd\u4eba\u8c41\u514d", "trade": false, "huomian": "shuangHuomian", "name": "\u8c41\u514d\u91cd\u75beB18", "key": 17559, "account": false, "isCheckbox": false, "dMinus": "0"}, {"code": "1295", "isFollowing": true, "calculatorType": "", "allowSamePerson": false, "scale": 2, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u8c41\u514d\u5b9a\u671fA18", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "b2", "desc": "2\u5e74"}, {"val": "b3", "desc": "3\u5e74"}, {"val": "b4", "desc": "4\u5e74"}, {"val": "b5", "desc": "5\u5e74"}, {"val": "b6", "desc": "6\u5e74"}, {"val": "b7", "desc": "7\u5e74"}, {"val": "b8", "desc": "8\u5e74"}, {"val": "b9", "desc": "9\u5e74"}, {"val": "b10", "desc": "10\u5e74"}, {"val": "b11", "desc": "11\u5e74"}, {"val": "b12", "desc": "12\u5e74"}, {"val": "b13", "desc": "13\u5e74"}, {"val": "b14", "desc": "14\u5e74"}, {"val": "b15", "desc": "15\u5e74"}, {"val": "b16", "desc": "16\u5e74"}, {"val": "b17", "desc": "17\u5e74"}, {"val": "b18", "desc": "18\u5e74"}, {"val": "b19", "desc": "19\u5e74"}, {"val": "b20", "desc": "20\u5e74"}, {"val": "b21", "desc": "21\u5e74"}, {"val": "b22", "desc": "22\u5e74"}, {"val": "b23", "desc": "23\u5e74"}, {"val": "b24", "desc": "24\u5e74"}, {"val": "b25", "desc": "25\u5e74"}, {"val": "b26", "desc": "26\u5e74"}, {"val": "b27", "desc": "27\u5e74"}, {"val": "b28", "desc": "28\u5e74"}, {"val": "b29", "desc": "29\u5e74"}, {"val": "b30", "desc": "30\u5e74"}, {"val": "b31", "desc": "31\u5e74"}, {"val": "b32", "desc": "32\u5e74"}, {"val": "b33", "desc": "33\u5e74"}, {"val": "b34", "desc": "34\u5e74"}, {"val": "b35", "desc": "35\u5e74"}, {"val": "b36", "desc": "36\u5e74"}, {"val": "b37", "desc": "37\u5e74"}, {"val": "b38", "desc": "38\u5e74"}, {"val": "b39", "desc": "39\u5e74"}, {"val": "b40", "desc": "40\u5e74"}, {"val": "b41", "desc": "41\u5e74"}, {"val": "b42", "desc": "42\u5e74"}, {"val": "b43", "desc": "43\u5e74"}, {"val": "b44", "desc": "44\u5e74"}, {"val": "b45", "desc": "45\u5e74"}, {"val": "b46", "desc": "46\u5e74"}, {"val": "b47", "desc": "47\u5e74"}, {"val": "b48", "desc": "48\u5e74"}, {"val": "b49", "desc": "49\u5e74"}, {"val": "b50", "desc": "50\u5e74"}, {"val": "b51", "desc": "51\u5e74"}, {"val": "b52", "desc": "52\u5e74"}, {"val": "b53", "desc": "53\u5e74"}, {"val": "b54", "desc": "54\u5e74"}, {"val": "b55", "desc": "55\u5e74"}, {"val": "b56", "desc": "56\u5e74"}, {"val": "b57", "desc": "57\u5e74"}, {"val": "b58", "desc": "58\u5e74"}, {"val": "b59", "desc": "59\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "b2", "key": "iDuration", "isHide": false}, {"common": false, "opts": [{"val": "b1", "desc": "1\u5e74\u4ea4"}, {"val": "b2", "desc": "2\u5e74\u4ea4"}, {"val": "b3", "desc": "3\u5e74\u4ea4"}, {"val": "b4", "desc": "4\u5e74\u4ea4"}, {"val": "b5", "desc": "5\u5e74\u4ea4"}, {"val": "b6", "desc": "6\u5e74\u4ea4"}, {"val": "b7", "desc": "7\u5e74\u4ea4"}, {"val": "b8", "desc": "8\u5e74\u4ea4"}, {"val": "b9", "desc": "9\u5e74\u4ea4"}, {"val": "b10", "desc": "10\u5e74\u4ea4"}, {"val": "b11", "desc": "11\u5e74\u4ea4"}, {"val": "b12", "desc": "12\u5e74\u4ea4"}, {"val": "b13", "desc": "13\u5e74\u4ea4"}, {"val": "b14", "desc": "14\u5e74\u4ea4"}, {"val": "b15", "desc": "15\u5e74\u4ea4"}, {"val": "b16", "desc": "16\u5e74\u4ea4"}, {"val": "b17", "desc": "17\u5e74\u4ea4"}, {"val": "b18", "desc": "18\u5e74\u4ea4"}, {"val": "b19", "desc": "19\u5e74\u4ea4"}, {"val": "b20", "desc": "20\u5e74\u4ea4"}, {"val": "b21", "desc": "21\u5e74\u4ea4"}, {"val": "b22", "desc": "22\u5e74\u4ea4"}, {"val": "b23", "desc": "23\u5e74\u4ea4"}, {"val": "b24", "desc": "24\u5e74\u4ea4"}, {"val": "b25", "desc": "25\u5e74\u4ea4"}, {"val": "b26", "desc": "26\u5e74\u4ea4"}, {"val": "b27", "desc": "27\u5e74\u4ea4"}, {"val": "b28", "desc": "28\u5e74\u4ea4"}, {"val": "b29", "desc": "29\u5e74\u4ea4"}, {"val": "b30", "desc": "30\u5e74\u4ea4"}, {"val": "b31", "desc": "31\u5e74\u4ea4"}, {"val": "b32", "desc": "32\u5e74\u4ea4"}, {"val": "b33", "desc": "33\u5e74\u4ea4"}, {"val": "b34", "desc": "34\u5e74\u4ea4"}, {"val": "b35", "desc": "35\u5e74\u4ea4"}, {"val": "b36", "desc": "36\u5e74\u4ea4"}, {"val": "b37", "desc": "37\u5e74\u4ea4"}, {"val": "b38", "desc": "38\u5e74\u4ea4"}, {"val": "b39", "desc": "39\u5e74\u4ea4"}, {"val": "b40", "desc": "40\u5e74\u4ea4"}, {"val": "b41", "desc": "41\u5e74\u4ea4"}, {"val": "b42", "desc": "42\u5e74\u4ea4"}, {"val": "b43", "desc": "43\u5e74\u4ea4"}, {"val": "b44", "desc": "44\u5e74\u4ea4"}, {"val": "b45", "desc": "45\u5e74\u4ea4"}, {"val": "b46", "desc": "46\u5e74\u4ea4"}, {"val": "b47", "desc": "47\u5e74\u4ea4"}, {"val": "b48", "desc": "48\u5e74\u4ea4"}, {"val": "b49", "desc": "49\u5e74\u4ea4"}, {"val": "b50", "desc": "50\u5e74\u4ea4"}, {"val": "b51", "desc": "51\u5e74\u4ea4"}, {"val": "b52", "desc": "52\u5e74\u4ea4"}, {"val": "b53", "desc": "53\u5e74\u4ea4"}, {"val": "b54", "desc": "54\u5e74\u4ea4"}, {"val": "b55", "desc": "55\u5e74\u4ea4"}, {"val": "b56", "desc": "56\u5e74\u4ea4"}, {"val": "b57", "desc": "57\u5e74\u4ea4"}, {"val": "b58", "desc": "58\u5e74\u4ea4"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b1", "key": "pPeriod", "isHide": true}, {"componentName": "cmCommonInput", "common": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "durationType": 0, "pMinus": "1", "required": false, "groupKey": "touhm", "roundingMode": "HALF_UP", "refInsuranceId": "-1", "groupName": "\u6295\u4fdd\u4eba\u8c41\u514d", "trade": false, "huomian": "shuangHuomian", "name": "\u8c41\u514d\u5b9a\u671fA18", "reduceBaof": null, "key": 17560, "account": false, "isCheckbox": false, "dMinus": "0"}, {"code": "1570", "isFollowing": false, "calculatorType": "", "feeBaseType": "baoe2baof", "allowSamePerson": false, "scale": 2, "canRenewFlag": false, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u624b\u672f\u6d25\u8d34", "value": true, "key": "title"}, {"optConf": null, "common": false, "opts": [{"val": "b1", "desc": "1\u5e74"}], "componentName": "cmCommonSelect", "isDisabled": null, "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "b1", "key": "iDuration", "isHide": false}, {"common": false, "opts": [{"val": "b1", "desc": "1\u5e74"}], "componentName": "cmCommonSelect", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b1", "key": "pPeriod", "isHide": true}, {"common": false, "opts": [{"val": "0", "desc": "\u7eed\u4fdd"}, {"val": "1", "desc": "\u65b0\u5355"}], "componentName": "cmCommonRadioBtn", "isDisabled": null, "labelName": "\u662f\u5426\u65b0\u5355", "value": "0", "key": "isNewInsure", "isHide": false}, {"common": false, "regExpMessage": "", "componentName": "cmCommonInput", "isDisabled": null, "labelName": "\u4fdd\u989d", "value": 10000, "key": "baoe", "regExp": "", "isHide": null, "compareItem": null}], "feeType": "baoe2baof", "durationType": 0, "required": false, "roundingMode": "HALF_UP", "trade": false, "feeBase": 10000, "huomian": "", "name": "\u624b\u672f\u6d25\u8d34", "resultFormulaRef": null, "reduceBaof": null, "key": 20963, "account": false, "isCheckbox": false}], "companyId": 2, "hide": false, "titleName": "\u5b88\u62a4\u767e\u5206\u767e", "trade": false, "companyName": "\u4e2d\u56fd\u5e73\u5b89", "autoImport": true, "liabilityShowType": 0, "key": 3902, "required": true, "tradeId": -1}, {"companyName": "\u4e2d\u56fd\u4eba\u5bff", "autoImport": true, "liabilityShowType": 1, "required": true, "relation": true, "mulInsOrderList": [{"code": "SJ2", "isFollowing": false, "calculatorType": "", "allowSamePerson": false, "scale": 2, "eleOrderList": [{"componentName": "cmCommonTitle", "isDisabled": true, "common": false, "labelName": "\u767e\u4e07\u5982\u610f\u884c\u4e24\u5168\u4fdd\u9669\uff08\u5e86\u5178\u7248\uff09 ", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "a75", "desc": "\u81f375\u5c81"}, {"val": "a80", "desc": "\u81f380\u5c81"}], "componentName": "cmCommonRadioBtn", "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "a75", "key": "iDuration", "isHide": false}, {"common": false, "opts": [{"val": "b15", "desc": "15\u5e74"}, {"val": "b20", "desc": "20\u5e74"}], "componentName": "cmCommonRadioBtn", "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b15", "key": "pPeriod", "isHide": false}, {"unit": "", "common": false, "regExpMessage": "", "componentName": "cmCommonInput", "isDisabled": false, "labelName": "\u4fdd\u989d", "value": 100000, "key": "baoe", "regExp": "", "isHide": false}], "durationType": 0, "required": true, "roundingMode": "HALF_UP", "trade": false, "huomian": "", "name": "\u767e\u4e07\u5982\u610f\u884c\u4e24\u5168\u4fdd\u9669\uff08\u5e86\u5178\u7248\uff09 ", "reduceBaof": null, "key": 19308, "account": false, "isCheckbox": false}, {"code": "R37", "isFollowing": true, "calculatorType": "", "allowSamePerson": false, "scale": 2, "eleOrderList": [{"componentName": "cmCommonTitle", "common": false, "labelName": "\u9644\u52a0\u767e\u4e07\u5982\u610f\u884c\u610f\u5916\u4f24\u5bb3\u4f4f\u9662\u5b9a\u989d\u7ed9\u4ed8\u533b\u7597\u4fdd\u9669\uff08\u5e86\u5178\u7248\uff09", "value": true, "key": "title"}, {"common": false, "opts": [{"val": "a75", "desc": "\u81f375\u5c81"}, {"val": "a80", "desc": "\u81f380\u5c81"}], "componentName": "cmCommonSelect", "isDisabled": false, "labelName": "\u4fdd\u9669\u671f\u95f4", "value": "a75", "key": "iDuration", "isHide": true}, {"common": false, "opts": [{"val": "b15", "desc": "15\u5e74"}, {"val": "b20", "desc": "20\u5e74"}], "componentName": "cmCommonSelect", "isDisabled": false, "labelName": "\u4ea4\u8d39\u671f\u95f4", "value": "b15", "key": "pPeriod", "isHide": true}, {"common": false, "componentName": "cmCommonInput", "isDisabled": false, "labelName": "\u4fdd\u989d", "value": "", "key": "baoe", "isHide": true}], "durationType": 0, "required": false, "roundingMode": "HALF_UP", "refInsuranceId": "-1", "trade": false, "huomian": "", "name": "\u9644\u52a0\u767e\u4e07\u5982\u610f\u884c\u610f\u5916\u4f24\u5bb3\u4f4f\u9662\u5b9a\u989d\u7ed9\u4ed8\u533b\u7597\u4fdd\u9669\uff08\u5e86\u5178\u7248\uff09", "reduceBaof": null, "key": 19309, "account": false, "isCheckbox": false}], "companyId": 1, "hide": false, "titleName": "\u767e\u4e07\u5982\u610f\u884c\uff08\u5e86\u5178\u7248\uff09\uff08SJ2\uff09 ", "trade": false, "isTemp": true, "restrictList": [], "key": 3005, "tradeId": -1}], "maxNum": 5, "key": "allMainInsData"}], "title": "\u5b88\u62a4\u767e\u5206\u767e"}'
var s = JSON.parse(res);
var helperJs = {
makePlanbook: function(s) {
var t = {
pbType: "",
insuranceTypeId: __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId ? 1 * __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId : gPlanbookId,
// companyId: "",
// recordSetting: s.inputData.recordSetting,
totalBaof: 124,
// totalBaof: 1 * __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_7__planbook_utils_js__.a)(s.inputData.productGroupList).toFixed(2),
personData: helperJs.convertProductData(s).personData,
productGroupList: [],
theme: s.theme,
coverId: s.coverId,
commonData: s.commonData,
displayFormatSort: s.displayFormatSort,
categorySort: s.categorySort,
title: s.title || document.title,
userUuid: __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.userUuid,
videoTypeKey: "normal"
};
s.productGroupList.map(function(e) {
var a = {
key: e.key,
prodOrderList: []
};
e.prodOrderList.map(function(e) {
if (e.hadChoice && !e.hide) {
e.mulInsOrderList.map(function(a, e, t) {
a.eleOrderInResult = [];
var r = void 0;
a.refInsuranceId && -2 != a.refInsuranceId && (r = -1 == a.refInsuranceId ? "common" == t[0].key ? t[1] : t[0] : helperJs.filterArr(t, a.refInsuranceId)),
a.eleOrderList && a.eleOrderList.map(function(t) {
var e = r && r.eleOrderList && r.eleOrderList.filter(function(e) {
return e.key === t.key
}
)[0];
-1 !== ["title", "calMethod", "customRate", "company"].indexOf(t.key) || t.isHide && (!t.isHide || t.isDisabled || !e || e.isHide) || a.eleOrderInResult.push({
value: t.key,
label: t.labelName
})
}
)
}
);
var t = helperJs.convertProductData(s, e).productData;
t.mulInsOrderList.map(function(e) {
"shuangHuomian" == e.huomian && e.shmInsData && e.shmInsData.title && t.mulInsOrderList.push(e.shmInsData)
}
),
a.prodOrderList.push(t)
}
}
),
t.productGroupList.push(a)
});
return t;
},
convertProductData: function(e, n) {
var o = this
, t = {}
, a = {
personOrderList: [],
recipientInfo: {}
};
e && e.inputData && e.inputData.personData && (e.inputData.personData.recipientInfo && (a.recipientInfo = o.convertCalData(e.inputData.personData.recipientInfo)),
e.inputData.personData.personOrderList && e.inputData.personData.personOrderList.map(function(e) {
a.personOrderList.push(o.convertCalData(e))
}
),
t.personData = a);
var s = {
key: n && n.key,
titleName: n && n.titleName,
tradeId: n && n.tradeId,
companyId: n && n.companyId,
companyName: n && n.companyName,
isTemp: n && n.isTemp,
liabilityShowType: n && n.liabilityShowType,
liabilityOrderList: n && n.liabilityOrderList,
inputResultSwitch: n && n.inputResultSwitch,
policyType: n && n.policyType,
totalBaof: n && n.totalBaof,
common: {},
mulInsOrderList: []
};
return n && n.adjustBaoeData && (s.adjustBaoeData = n.adjustBaoeData),
n && (n.mulInsOrderList.map(function(r, e) {
var i = o.convertCalData(r);
if ("common" == i.key)
s.common = i;
else if (i.title && !i.groupKey) {
if (i.isGroup)
(i.insuranceId.constructor == Array ? i.insuranceId : [i.insuranceId]).map(function(e) {
var t = o.filterArr(n.mulInsOrderList, e);
if (t) {
var a = o.convertCalData(t);
void 0 !== r.account && (a.account = r.account),
void 0 !== r.accountData && (a.accountData = r.accountData),
r.eleOrderList.map(function(e) {
"title" != e.key && "insuranceId" != e.key && (a[e.key] = i[e.key])
}
),
s.mulInsOrderList.push(o.deepCopy({}, a))
}
}
);
else
s.mulInsOrderList.push(i)
}
}
),
t.productData = s),
t
},
convertCalData: function(e) {
var t = {};
for (var a in e)
"eleOrderList" == a ? e[a].map(function(e) {
t[e.key] = e.value
}
) : e.eleOrderList && this.getArraySubEle(e.eleOrderList, "key", a) || (t[a] = e[a]);
return t
},
}
window.gPlanbookId = __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId ? 1 * __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId : null ,
window.helperJs = helperJs
console.log(helperJs.makePlanbook(s))
return
-1 !== location.hostname.search(/pbf\.winbaoxian\.com/) ? baseApiPath = "https://app.winbaoxian.com" : -1 !== location.hostname.search(/pbf\.winbaoxian\.cn/) ? baseApiPath = "//app.winbaoxian.cn" : -1 !== location.hostname.search(/pbf-uat\.winbaoxian\.cn/) ? baseApiPath = "//planbook-uat.winbaoxian.cn" : -1 !== location.hostname.search(/192\.168|localhost/) && (baseApiPath = "//app.winbaoxian.cn"),
window.baseApiPath = baseApiPath,
window.allApiUrl = {
initInputDataApi: baseApiPath + "/planBook/V2/getInitData",
calculateDataApi: baseApiPath + "/planBook/V2/calculate",
queryAdvertApi: baseApiPath + "/planBook/queryAdvert",
createPlanbookApi: baseApiPath + "/planBook/V2/uploadResult",
getAddAndTake: baseApiPath + "/planBook/V2/addAndTake/"
};
var positionTop = 0
, helperJs = {
setBaseAttribute: function() {
if (document.documentElement.style.fontSize = 20 <= window.innerWidth / 375 * 16 ? 20 : window.innerWidth / 375 * 16 + "px",
window.devicePixelRatio && 2 <= devicePixelRatio) {
var e = document.createElement("div");
e.style.border = ".5px solid transparent",
document.body.appendChild(e),
1 == e.offsetHeight && document.querySelector("html").classList.add("hairlines"),
document.body.removeChild(e)
}
},
fixedViewportOffset: function() {
var e = navigator.userAgent.toLowerCase().match(/cpu iphone os ((\d*)_(.*)?) like mac os/);
if (e && e[2] && 12 <= e[2]) {
var t = appBridge.isApp() && /weiyi\/((\d+)(\.(\d+))?(\.(\d+))?)?\s/gi.exec(navigator.userAgent.toLowerCase());
(t && (4 == t[2] && (6 == t[4] || 8 <= t[4]) || 5 <= t[2]) || appBridge.isWechat() || window.Jax && Jax.isBrokerApp()) && document.body.addEventListener("blur", function(e) {
-1 !== ["TEXTAREA", "INPUT", "SELECT"].indexOf(e.target.tagName) && setTimeout(function() {
window.scrollTo(0, document.documentElement.scrollTop || document.body.scrollTop)
}
, 100)
}
, !0)
}
},
loadVerifyJs: function(e) {
var a = [];
e && e.initData && e.initData.inputData.commonData.withVerify && a.push("//res.winbaoxian.com/planbookVerify/verifyRules" + __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId + ".js"),
-1 !== location.hostname.search(/192\.168|localhost/) && e.initData.inputData.commonData.withVerify && (a.push("../../verifyJs/planbook/commonVerify.js"),
a.push("../../verifyJs/planbook/verifyRules" + __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId + ".js"),
e.initData.inputData.productGroupList.map(function(e, t) {
e.prodOrderList.map(function(e, t) {
a.push("../../verifyJs/product/prodRule" + e.key + ".js"),
e.mulInsOrderList.map(function(e, t) {
a.push("../../verifyJs/insurance/insRule" + e.key + ".js")
}
)
}
)
}
)),
a.length && a.map(function(e) {
var t = document.createElement("script");
t.type = "text/javascript",
t.async = !0,
t.src = e,
document.body.insertBefore(t, document.scripts[document.scripts.length - 1])
}
)
},
getQueryString: function(e) {
var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)")
, a = window.location.search.substr(1).match(t);
return null != a ? unescape(a[2]) : null
},
getUrlParam: function(e, t) {
e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var a = new RegExp("[\\?&]" + e + "=([^&#]*)").exec(t || location.search);
return null === a ? "" : decodeURIComponent(a[1].replace(/\+/g, " "))
},
getAgeFromBirth: function(e, t) {
var a = t ? new Date(t) : new Date
, r = new Date(e)
, i = a.getFullYear() - r.getFullYear();
return (a.getMonth() - r.getMonth() < 0 || a.getMonth() - r.getMonth() == 0 && a.getDate() - r.getDate() < 0) && i--,
i
},
deleteObjPro: function(e, t) {
return e.map(function(e) {
if (!e || !t || void 0 === t[e])
return !1;
delete t[e]
}
),
t
},
deepCopy: function(e, t) {
for (var a in e || (e = {}),
t)
void 0 !== t[a] && null !== t[a] && "object" === __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_typeof___default()(t[a]) ? (e[a] = t[a].constructor === Array ? [] : {},
this.deepCopy(e[a], t[a])) : e[a] = t[a];
return e
},
filterArr: function(e, t) {
return e && e.filter(function(e) {
return e.key == t
}
)[0]
},
isObjExist: function(e, t) {
return t.reduce(function(e, t) {
return e && e[t] ? e[t] : null
}
, e)
},
getDefaultAge: function(e) {
var t = helperJs.filterArr(e.eleOrderList, "age")
, a = 2 == helperJs.filterArr(e.eleOrderList, "sex").value && t.optsF && t.optsF.length ? t.optsF : t.opts;
return (t.value < a[0] || t.value > a[1]) && (t.value = a[0],
e.birthday = ""),
e
},
gotoLogin: function() {
window.appBridge && appBridge.checkAppFeature("APP_VIEW") ? appBridge.gotoAppView("login") : window.location.href = "//planbook-uat.winbaoxian.cn" == baseApiPath ? "//pbf-uat.winbaoxian.cn/planBook/tools/login/pages/login.html?requestUrl=" + encodeURIComponent(location.href) : baseApiPath + "/user/login?requestUrl=" + encodeURIComponent(location.href)
},
getInitData: function(a, r) {
helperJs.vueAxios({
self: a.prototype,
type: "get",
url: allApiUrl.initInputDataApi,
data: {
insuranceTypeId: 1 * __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.a.planbookId,
resultUuid: -1 !== ["annual_survey"].indexOf(__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b) ? __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.c || null : __WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.c || gStorageUuid || null
}
}, function(e) {
var t;
if (e.data.success && e.data.data && (t = e.data.data),
window.isDebug && (t = testInputData,
alert("当前为测试数据,前端调试用")),
t) {
if (document.title = t.title,
window.appBridge && appBridge.checkAppFeature("CHANGE_WEBVIEW_TITLE") && appBridge.changeWebviewTitle(document.title),
t.companyId && (t.initData.companyId = t.companyId),
t.userCompanyId && (t.initData.userCompanyId = t.userCompanyId),
t.initData.saleStatus = t.saleStatus,
t.initData.brokerFlag = t.brokerFlag || null ,
t.initData.interestProductList = t.interestProductList || null ,
t.initData.inputData.personData && t.initData.inputData.personData.personOrderList)
t.initData.inputData.personData.personOrderList.map(function(e) {
"applicantInfo" === e.key && e.eleOrderList.splice(1, 0, {
key: "applicantAndInsuredSame",
value: 0,
labelName: "投被保人是同一人",
componentName: "cmInfoRadio",
opts: [{
val: 0,
desc: "否"
}, {
val: 1,
desc: "是"
}]
}),
e.eleOrderList.every(function(e) {
return "name" !== e.key
}
) && e.eleOrderList.splice(1, 0, {
key: "name",
value: "",
maxlength: 16
})
}
);
__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b ? -1 !== ["annual_survey"].indexOf(__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b) ? r && r(t) : helperJs.changeInitData(t, a, function() {
helperJs.getInitDataFromResult(t, a, function() {
helperJs.initStart(t, r)
}
)
}
) : helperJs.assignInitData(t, t.exportData ? JSON.parse(t.exportData) : null , function() {
helperJs.initStart(t, r)
}
)
}
}
)
},
initStart: function(e, t) {
helperJs.loadVerifyJs(e);
var a = helperJs.deepCopy({}, e.initData);
a.popupData || (a.popupData = a.popupData || {}),
void 0 === a.popupData.popupName && (a.popupData.popupName = ""),
window.globalInitData = helperJs.deepCopy({}, a);
var r = helperJs.deepCopy({}, e.verifyData);
if (window.verifyData = r,
!__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b) {
var i = a.inputData.personData.recipientInfo;
i && i.eleOrderList.map(function(e) {
"name" !== e.key && "sex" !== e.key || (e.isHide = !0)
}
)
}
helperJs.analysisInitData(a, r, !0),
a.inputData.productGroupList.map(function(e) {
e.prodOrderList.map(function(e) {
helperJs.analysisCondition(e, r, a)
}
)
}
),
t && t(a, e)
},
changeInitData: function(e, t, a) {
if (!__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b)
return a && a(),
!1;
if (this.isObjExist(e, ["initData", "inputData", "personData", "personOrderList"])) {
var r = e.initData.inputData.personData.personOrderList;
r.length && (__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b.match("record") && (r.map(function(e, t) {
var a = -1;
e.eleOrderList = e.eleOrderList.filter(function(e) {
return "name" !== e.key
}
),
e.eleOrderList.map(function(e, t) {
"sex" === e.key && (a = t),
"title" === e.key && (e.value = !0,
e.isShowCheckbox = !1)
}
),
0 <= a && e.eleOrderList.splice(a, 0, {
key: "name",
value: "",
maxlength: 16
})
}
),
e.initData.inputData.recordSetting = {
voiceType: e.userSex || 1
}),
a && a(e))
}
},
getInsPolicyInfo: function(e, t, a) {
if (gResultUuid)
return helperJs.vueAxios({
self: t.prototype,
type: "get",
url: baseApiPath + "/planBook/insurePlan/getInsurePlan?insuredId=" + gCrmId + "&resultUuid=" + gResultUuid
}, function(e) {
e.data.success && e.data.data && a && a(e.data.data)
}
);
a && a()
},
getInitDataFromResult: function(i, n, o) {
if (-1 === ["annual_survey"].indexOf(__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b) && (gResultUuid || gStorageUuid))
return helperJs.vueAxios({
self: n.prototype,
type: "get",
url: baseApiPath + "/planBook/insureScheme/getImportData",
data: {
storageUuid: gStorageUuid || "",
resultUuid: gResultUuid || ""
}
}, function(e) {
if (e.data.success && e.data.data) {
var r = i.initData.inputData.productGroupList
, t = e.data.data
, a = [];
t.productGroupList.map(function(e, t) {
e && (e.prodOrderList.map(function(e, t) {
e.isTemp && a.push(e.key)
}
),
r && r[t] && e.prodOrderList.map(function(e) {
e.policyType && r[t].prodOrderList.push(e)
}
))
}
),
a.length ? helperJs.vueAxios({
self: n.prototype,
type: "get",
url: baseApiPath + "/planBook/productTemp/getTempProducts?productIds=" + a.join(",")
}, function(e) {
r && e.data.success && e.data.data && (e.data.data.map(function(e) {
var t = e.initData.inputData.productGroupList;
for (var a in t.map(function(e, t) {
r[t] && (r[t].prodOrderList = r[t].prodOrderList.concat(e.prodOrderList))
}
),
e.verifyData)
i.verifyData[a] = e.verifyData[a]
}
),
helperJs.assignInitData(i, t, o))
}
) : helperJs.assignInitData(i, t, o)
} else
gStorageUuid = null ,
o && o()
}
);
o && o()
},
assignInitData: function(e, t, a) {
var r = e.initData.inputData.personData;
if (t) {
var i = t.personData;
for (var n in r)
"personOrderList" == n && r[n] && i[n] && r[n].map(function(t, a) {
-1 !== ["annual_survey"].indexOf(__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b) && ["cid", "birthday", "insuranceDay", "name", "policyNo"].map(function(e) {
i[n][a] && i[n][a][e] && (t[e] = i[n][a][e])
}
),
t.eleOrderList.map(function(e, t) {
i[n][a] && void 0 !== i[n][a][e.key] && (__WEBPACK_IMPORTED_MODULE_6__static_js_variables_js__.b || gResultUuid || !gStorageUuid || "name" !== e.key) && (e.value = i[n][a][e.key])
}
)
}
),
"recipientInfo" == n && helperJs.isObjExist(r, [n, "eleOrderList"]) && i[n] && r[n].eleOrderList.map(function(e) {
r[n][e.key] && (e.value = i[n][e.key])
}
);