-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbotbob.min.js
788 lines (784 loc) · 119 KB
/
botbob.min.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
// ==UserScript==
// @name BotBob
// @version 1.5.2
// @description Bot for creating campaigns
// @author Guilherme Bellotti <[email protected]>
// @icon https://raw.githubusercontent.com/guilhermebellotti/botbob-public/main/logo-brainiac.svg
// @updateURL https://raw.githubusercontent.com/guilhermebellotti/botbob-public/main/botbob.min.js
// @downloadURL https://raw.githubusercontent.com/guilhermebellotti/botbob-public/main/botbob.min.js
// @supportURL https://github.com/guilhermebellotti/botbob/issues
// @namespace https://dafiti.com.br/
// @match http://bob.dafiti.com.br/*
// @grant none
// ==/UserScript==
!function(){var a="@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format(\"woff2\");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format(\"woff2\");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format(\"woff2\");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format(\"woff2\");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format(\"woff2\");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format(\"woff2\");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu4mxK.woff2) format(\"woff2\");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fCRc4EsA.woff2) format(\"woff2\");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fABc4EsA.woff2) format(\"woff2\");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fCBc4EsA.woff2) format(\"woff2\");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fBxc4EsA.woff2) format(\"woff2\");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fCxc4EsA.woff2) format(\"woff2\");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fChc4EsA.woff2) format(\"woff2\");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format(\"woff2\");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2) format(\"woff2\");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format(\"woff2\");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2) format(\"woff2\");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2) format(\"woff2\");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2) format(\"woff2\");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2) format(\"woff2\");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format(\"woff2\");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}:root{--color-main:#e5e5e5;--color-secondary:#5a5a5a;--color-tertiary:#868686;--color-fourth:#000;--color-fifth:#fff;--color-light:rgba(90,90,90,.58039)}#botbob *{font-size:18px;font-family:Roboto,sans-serif;font-weight:400;box-sizing:border-box;padding:0;margin:0}#botbob button{box-shadow:none;outline:none;border:none;cursor:pointer;padding:8px 12px;color:#fff;color:var(--color-fifth);background-color:#5a5a5a;background-color:var(--color-secondary);transition:all .175s ease-in-out}#botbob button:active,#botbob button:hover{background-color:#000;background-color:var(--color-fourth)}#botbob ::placeholder{color:#868686;color:var(--color-tertiary)}#botbob input,#botbob select,#botbob textarea{padding:10px 13px;color:#000;color:var(--color-fourth);border:none;outline:1px solid #868686;outline:1px solid var(--color-tertiary);background-color:transparent;transition:all .175s ease-in-out;font-size:15px}#botbob input:active,#botbob input:hover,#botbob select:active,#botbob select:hover,#botbob textarea:active,#botbob textarea:hover{outline-color:#000;outline-color:var(--color-fourth);color:#000;color:var(--color-fourth)}#botbob input:focus,#botbob select:focus,#botbob textarea:focus{box-shadow:0 0 .25em #000;box-shadow:0 0 .25em var(--color-fourth)}#botbob textarea{resize:none}#botbob label{margin-bottom:10px;font-size:14px}#botbob.bot-popup{position:absolute;min-width:70px;width:0;height:0;right:30px;top:150px;z-index:2;overflow:hidden;padding-top:32px;transition:all .175s ease-in-out}#botbob .bot-container{position:relative;background-color:#e5e5e5;background-color:var(--color-main);max-width:100%;padding:25px 20px;transition:all .175s ease-in-out;z-index:-1;visibility:hidden;opacity:0}#botbob.showBotBob,#botbob .showBotBob{opacity:1;z-index:2;visibility:visible;width:auto;height:auto}#botbob .wrapper-bot{display:flex;flex-direction:column;width:100%}#botbob .content-bot,#botbob .header-bot{display:flex;justify-content:center}#botbob .header-bot{margin:0 0 60px;flex-direction:column;align-items:center}#botbob .header-bot .header-description{border:1px solid #000;border:1px solid var(--color-fourth);padding:8px 25px;margin-top:20px}#botbob .header-bot h1{text-align:center;font-size:24px;font-weight:700}#botbob .version-bot{color:#fff;display:flex;gap:5px;flex-direction:row;align-items:baseline;padding:5px 0 30px;justify-content:space-between;transition:all .175s ease-in-out}#botbob .alert-update,#botbob .version-current{background-color:#868686;background-color:var(--color-tertiary);padding:5px 10px;font-size:12px}#botbob .alert-update{margin:0;background-color:#000;background-color:var(--color-fourth)}#botbob .form-data{width:100%;min-width:350px;max-width:350px}#botbob .group-input{display:flex;flex-direction:column;margin-bottom:30px}#botbob .group-input:last-of-type{margin-bottom:0}#botbob .group-input textarea{min-height:80px}#botbob .group-buttons{display:flex;justify-content:flex-end}#botbob .btn{margin:5px}#botbob .btn.btn-primary{background-color:#000;background-color:var(--color-fourth);color:#fff;color:var(--color-fifth)}#botbob .btn.btn-primary:hover{background-color:#5a5a5a;background-color:var(--color-secondary)}#botbob .btn.btn-previous{background-color:transparent;padding:0;display:flex}#botbob .btn.btn-previous:hover{transform:scale(1.1)}#botbob .btn.btn-reset{padding:5px 10px;font-size:12px;margin:0}#botbob .reset-bot{display:flex;justify-content:flex-end;margin:0}#botbob .btn-showHidden{position:absolute;top:0;right:0;margin:0 auto;z-index:3;font-size:13px;padding:8px 9px}#botbob .content-previous{position:absolute;top:20px;left:10px}\n/*# sourceMappingURL=styles.css.map */\n",b=document.createElement("style");b.type="text/css",b.styleSheet?b.styleSheet.cssText=a:b.appendChild(document.createTextNode(a)),(document.head||document.getElementsByTagName("head")[0]).appendChild(b)}();
function buttonPrevious(e){if(e==typeof e==="string")console.error("Error: This format is not expected. Please enter only 'string' format.");else{const t=document.createElement("div"),a=document.createElement("button");a.innerHTML="<svg width='26' height='16' viewBox='0 0 26 16' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0.292892 7.2929C-0.0976315 7.68342 -0.0976314 8.31658 0.292893 8.70711L6.65686 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41421 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928934C7.68054 0.538409 7.04738 0.538409 6.65685 0.928934L0.292892 7.2929ZM26 7L1 7L1 9L26 9L26 7Z' fill='black'/></svg>",a.setAttribute("class",variablesStyle.button+" "+variablesStyle.buttonPrevious),t.appendChild(a),t.setAttribute("class",variablesStyle.previousContent),document.getElementsByClassName(variablesStyle.header)[0].appendChild(t),a.addEventListener("click",function(e){localStorage.removeItem(storeClicked),cleanScreen(),screenHome()})}}var versionBotBob="1.5.2";function buttonShowHidden(e){const t=document.createElement("button");t.setAttribute("class",variablesStyle.button+" "+variablesStyle.buttonShowHidden),document.querySelector("."+variablesStyle.container).appendChild(t),localStorage.getItem(showHiddenPopup)===variablesStyle.showBotBob?(t.innerText="Fechar",t.setAttribute("title","Fechar BotBob"),document.querySelector("."+variablesStyle.containerContent).classList.add(variablesStyle.showBotBob),document.querySelector("."+variablesStyle.container).classList.add(variablesStyle.showBotBob)):(t.innerText="Abrir Bot",document.querySelector("."+variablesStyle.containerContent).classList.remove(variablesStyle.showBotBob),t.innerText="Abrir Bot",t.setAttribute("title","Abrir BotBob"),document.querySelector("."+variablesStyle.container).classList.remove(variablesStyle.showBotBob)),t.addEventListener("click",function(e){document.querySelector("."+variablesStyle.containerContent).classList.toggle(variablesStyle.showBotBob),document.querySelector("."+variablesStyle.container).classList.toggle(variablesStyle.showBotBob),localStorage.setItem(showHiddenPopup,variablesStyle.showBotBob),document.querySelector("."+variablesStyle.containerContent).classList.contains(variablesStyle.showBotBob)?(t.innerText="Fechar",t.setAttribute("title","Fechar BotBob"),localStorage.setItem(showHiddenPopup,variablesStyle.showBotBob)):(t.innerText="Abrir Bot",t.setAttribute("title","Abrir BotBob"),localStorage.setItem(showHiddenPopup,"hidden"))})}var versionBotBob="1.5.2";function revisionPage(){if(activeChangeRevision||"true"===localStorage.getItem("activeChangeRevision")){let i=1;const n=setInterval(()=>{if(50<=++i)return clearInterval(n),activeChangeRevision=!1,localStorage.setItem("activeChangeRevision",activeChangeRevision),!1;const e=document.querySelector("#revisions_select");var t=parseInt(e.options[1].innerText.split(",")[0])+1;const a=document.querySelector("#revisionBotBob"),o=null===e?"0":t;localStorage.setItem("newNumberRevision",o),localStorage.setItem("activeChangeRevision",activeChangeRevision),null!==a&&(a.value=o),null!==a&&a.value===o.toString()&&(clearInterval(n),activeChangeRevision=!1,localStorage.setItem("activeChangeRevision",activeChangeRevision)),console.log(t)},50)}}var versionBotBob="1.5.2";function checkUpdates(e){var t=new XMLHttpRequest;t.open("GET","https://raw.githubusercontent.com/guilhermebellotti/botbob-public/main/botbob.min.js",!0),t.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var t=this.responseText.search(/\b(\w*version\w*)\b/g),t=this.responseText.slice(t,-1).slice(7,18).replace(/\s/g,"");if(console.log("Versão disponível: v"+t),versionBotBob<t){let e=document.createElement("span");e.setAttribute("class",variablesStyle.alertUpdate),e.setAttribute("title","Atualize sua versão através do plugin"),e.innerText="Nova versão disponível - v"+t,document.querySelector(".version-bot").prepend(e)}}},t.send()}var versionBotBob="1.5.2";function cleanScreen(e){document.getElementsByClassName(variablesStyle.header)[0].remove(),document.getElementsByClassName(variablesStyle.wrapper)[0].remove(),0<document.getElementsByClassName(variablesStyle.content).length&&document.getElementsByClassName(variablesStyle.content)[0].remove()}var versionBotBob="1.5.2";function createButtons(t,a){const o=document.createElement("div"),i=document.createElement("div");if(i.className=variablesStyle.groupButton,o.className=variablesStyle.content,t==typeof t==="array")console.error("Error: Insert only 'arrays' in the first parameter");else for(let e=0;e<t.length;e++){const n=t[e],l=document.createElement("button");l.setAttribute("class",variablesStyle.button),void 0===n.id?console.log("Undefined id in button"):l.id=n.id,void 0===n.title&&void 0===n.name?(console.log("Undefined title in button"),l.setAttribute("title",errors.button.title)):(l.setAttribute("title",n.title||n.name),l.setAttribute("data-url",n.link||"Undefined")),void 0===n.name?(console.log("Undefined name in button"),l.textContent=errors.button.name):l.textContent=n.name,i.appendChild(l),o.appendChild(i),(null==a?document.getElementsByClassName(variablesStyle.containerContent)[0]:a).appendChild(o),l.addEventListener("click",function(e){localStorage.setItem(storeClicked,e.target.innerHTML),localStorage.setItem(urlCampaign,e.target.getAttribute("data-url"));for(let e=0;e<stores.length;e++){var t=stores[e];t.name===localStorage.getItem(storeClicked)&&localStorage.setItem(storeClickedNumber,t.number)}if(e.target.innerHTML===n.name){var a=document.getElementsByClassName(variablesStyle.groupButton);for(let e=0;e<a.length;e++){const o=a[e];o.remove()}createFields(this.innerHTML)}})}}var versionBotBob="1.5.2";function createFields(t){if(t==typeof t!=="string"&&stores.some(e=>e.name===t)){buttonPrevious(t),0<document.getElementsByClassName("header-bot").length?document.querySelector("."+variablesStyle.header).childNodes[0].innerHTML="Loja selecionada":header("Loja selecionada");const f=document.createElement("div"),x=document.createElement("span"),T=(x.innerText=localStorage.getItem(storeClicked)||t,f.appendChild(x),f.setAttribute("class",variablesStyle.headerDescriptions),document.querySelector("."+variablesStyle.header).appendChild(f),document.createElement("form")),B=(T.setAttribute("class",variablesStyle.form),T.setAttribute("name","sendDatas"),T.setAttribute("action",""),T.setAttribute("method","get"),document.createElement("div")),_=(B.setAttribute("class",variablesStyle.groupButton),document.createElement("button"));_.innerHTML="Criar campanha",_.classList.add(variablesStyle.button),_.setAttribute("class",variablesStyle.button+" "+variablesStyle.buttonPrimary),_.setAttribute("title",_.innerText),T.addEventListener("submit",e=>{var t={},e=(e.preventDefault(),Object.keys(T.elements).forEach(e=>{e=T.elements[e];"submit"!==e.type&&(t[e.name]=e.value,localStorage.setItem(e.name,e.value))}),localStorage.setItem("newNumberRevision","0"),t.newNumberRevision=localStorage.getItem("newNumberRevision"),t.dateConverted=localStorage.getItem("dateConverted"),t.dateConvertedBR=localStorage.getItem("dateConvertedBR"),localStorage.getItem("inputBoostSku_input"));0<e.length?(t.inputBoostSkuCheck_input="&boost="+e,localStorage.setItem(inputBoostSkuCheck_input,"&boost="+e)):(t.inputBoostSkuCheck_input="",localStorage.setItem(inputBoostSkuCheck_input,"")),localStorage.setItem(showHiddenPopup,"hidden"),checkTitlePageCampaign(t),htmlToBob(t)});for(let e=0;e<fields.length;e++){const M=fields[e],A=document.createElement(M.tag),R=document.createElement("label"),k=document.createElement("div");if(k.id=M.id,k.setAttribute("class",""+variablesStyle.groupInput),k.setAttribute("title",M.description),k.appendChild(R),k.appendChild(A),void 0===M.tag?console.log(errors.field.type):(A.setAttribute("spellcheck","true"),A.setAttribute("type",fields[e].type),A.setAttribute("value",localStorage.getItem(fields[e].id+"_"+fields[e].tag)?localStorage.getItem(fields[e].id+"_"+fields[e].tag):""),!0===M.required&&(A.required=!0),void 0!==fields[e].type&&"select"!==fields[e].type||A.removeAttribute("type")),void 0===M.id?console.log(errors.field.id):!0===M.hidden?(k.style.display="none",A.id=fields[e].id+"_"+M.tag,A.setAttribute("name",fields[e].id+"_"+M.tag),A.setAttribute("type","hidden"),A.removeAttribute("required")):(A.id=fields[e].id+"_"+M.tag,A.setAttribute("name",fields[e].id+"_"+M.tag)),void 0===M.label?console.log(errors.field.label):R.innerHTML=fields[e].label,void 0===M.placeholder?console.log(errors.field.placeholder):A.placeholder=localStorage.getItem(fields[e].id+"_"+fields[e].tag)||fields[e].placeholder,"inputFilters"===M.id){let a=[];for(var o in M.options)if(M.options.hasOwnProperty(o)){let e={};e[o]=M.options[o],e.tempSortName=M.options[o].label.toLowerCase(),a.push(e)}a.sort(function(e,t){e=e.tempSortName,t=t.tempSortName;return t<e?1:e<t?-1:0});for(let t=0,e=a.length;t<e;t++){let e=a[t];for(var i in delete e.tempSortName,e){var n;e.hasOwnProperty(i)&&(n=i)}var l=e[n];for(let e=0;e<l.store.length;e++)if(l.store[e]==localStorage.getItem(storeClickedNumber)){const q=document.createElement("option");q.innerText=l.label,q.setAttribute("title",l.description),q.setAttribute("value",l.name),q.setAttribute("data-categorie",l.categorie),A.appendChild(q)}}}if("inputMetaRobots"===M.id)for(let e=0;e<M.options.length;e++){var a=M.options[e];const F=document.createElement("option");"Não"!==(F.innerText=a)&&"No"!==a||(F.value=metaRobotsNoIndex),"Sim"!==a&&"Yes"!==a||(F.value=metaRobotsIndex),A.appendChild(F)}if("inputMetaDescription"===M.id&&(A.setAttribute("value",d(localStorage.getItem("inputTitle_input"),localStorage.getItem("inputSubTitle_input"),localStorage.getItem("storeClicked"))),localStorage.setItem("inputMetaDescription_textarea",d(localStorage.getItem("inputTitle_input"),localStorage.getItem("inputSubTitle_input"),localStorage.getItem("storeClicked")))),"inputTypeCampaign"===M.id)for(let e=0;e<M.options.length;e++){var r=M.options[e];const L=document.createElement("option");"Normal (sem cupom)"!==(L.innerText=r)&&"normal (sem cupom)"!==r||(L.value="Normal (sem cupom)"),"Simples (apenas título)"!==r&&"simples (apenas titulo)"!==r||(L.value="Simples (apenas título)"),"Planilha"!==r&&"planilha"!==r||(L.value="Planilha"),"1x Cupom"!==r&&"1x cupom"!==r||(L.value="1x Cupom"),"2x Cupom"!==r&&"2x cupom"!==r||(L.value="2x Cupom"),"3x Cupom"!==r&&"3x cupom"!==r||(L.value="3x Cupom"),"Estilo (imagem)"!==r&&"estilo (imagem)"!==r||(L.value="Estilo (imagem)"),"Categoria (fundo cinza)"!==r&&"categoria (fundo cinza)"!==r||(L.value="Categoria (fundo cinza)"),"Campanha app (imagem QR Code)"!==r&&"campanha app (imagem qr code)"!==r||(L.value="Campanha app (imagem QR Code)"),A.appendChild(L)}function s(e,t){var a=e.split(", ");for(let e=0;e<a.length;e++){var o=a[e];localStorage.getItem("storeClickedNumber")===o&&(t.style.display="none",t.setAttribute("disabled",""))}}if("inputCategorieCampaign"===M.id)for(let e=0;e<M.options.length;e++){var c=M.options[e];const P=document.createElement("option");"Todos"!==(P.innerText=c)&&"todos"!==c||(s("",P),P.value="Todos"),"Feminino"!==c&&"feminino"!==c||(s("91",P),P.value="Feminino"),"Masculino"!==c&&"masculino"!==c||(s("91",P),P.value="Masculino"),"Infantil"!==c&&"infantil"!==c||(s("92",P),P.value="Infantil"),"Casa"!==c&&"casa"!==c||(s("91, 92",P),P.value="Casa"),A.appendChild(P)}T.appendChild(k),T.appendChild(B),B.appendChild(_)}function d(e,t,a){var o=0<e?.length||0<t?.length?". ":"";return`${0<e?.length?e:""}${0<t?.length?" "+t:""}${o}Melhor preço e entrega rápida é na ${a}. Devolução e troca grátis.`}function e(){document.getElementById("inputMetaDescription_textarea").innerText=localStorage.getItem("inputMetaDescription_textarea")}if(document.getElementsByClassName(variablesStyle.content)[0].appendChild(T),null!==localStorage.getItem("inputTJ_textarea")&&(document.getElementById("inputTJ_textarea").innerText=document.getElementById("inputTJ_textarea").getAttribute("value")),null!==localStorage.getItem("inputMetaDescription_textarea")&&e(),null!==localStorage.getItem("inputDescription_textarea")&&(document.getElementById("inputDescription_textarea").innerText=document.getElementById("inputDescription_textarea").getAttribute("value")),null!==localStorage.getItem("inputCodeSpreadsheet_textarea")&&(document.getElementById("inputCodeSpreadsheet_textarea").innerText=document.getElementById("inputCodeSpreadsheet_textarea").getAttribute("value")),localStorage.getItem("inputMetaRobots_select")===metaRobotsIndex&&(document.getElementById("inputMetaRobots_select").options.selectedIndex=0,document.getElementById("inputMetaDescription_textarea").setAttribute("type","text"),document.getElementById("inputMetaDescription_textarea").value=localStorage.getItem("inputMetaDescription_textarea"),document.getElementById("inputMetaDescription").style.display="flex"),null!==localStorage.getItem("filterSelected")){var u=document.getElementById("inputFilters_select"),w=localStorage.getItem("filterSelected");for(let e=0;e<u.options.length;e++){var p=u.options[e];p.value===w&&(u.selectedIndex=p.index)}}document.getElementById("inputMetaRobots_select").addEventListener("change",function(){var e=this.options[this.selectedIndex];localStorage.setItem("inputMetaRobots_select",e.value),e.value===metaRobotsNoIndex?(document.getElementById("inputMetaDescription").style.display="none",document.getElementById("inputMetaDescription_textarea").setAttribute("type","hidden"),document.getElementById("inputMetaDescription_textarea").removeAttribute("required"),document.getElementById("inputMetaDescription_textarea").value=""):(document.getElementById("inputMetaDescription").style.display="flex",document.getElementById("inputMetaDescription_textarea").setAttribute("type","text"),document.getElementById("inputMetaDescription_textarea").value=localStorage.getItem("inputMetaDescription_textarea"))}),document.getElementById("inputFilters_select").addEventListener("change",function(){var e=this.options[this.selectedIndex];localStorage.setItem(filterSelected,e.value)}),document.getElementById("inputTitle_input").addEventListener("change",function(){localStorage.setItem("inputTitle_input",this.value),localStorage.setItem("inputMetaDescription_textarea",d(localStorage.getItem("inputTitle_input"),localStorage.getItem("inputSubTitle_input"),localStorage.getItem("storeClicked"))),e()}),document.getElementById("inputSubTitle_input").addEventListener("change",function(){localStorage.setItem("inputSubTitle_input",this.value),localStorage.setItem("inputMetaDescription_textarea",d(localStorage.getItem("inputTitle_input"),localStorage.getItem("inputSubTitle_input"),localStorage.getItem("storeClicked"))),e()});const E=document.querySelectorAll("[id*=Cupom]");function m(){document.querySelector("#inputTitle_input").setAttribute("placeholder","2 Slipons Santa Lolla");const e=document.querySelector("#inputTJ");e.style.display="flex",e.querySelector("textarea").setAttribute("type","text");for(let e=0;e<fields.length;e++){var t,a=fields[e];1==a.required&&"flex"===document.getElementById(a.id).style.display&&(document.getElementById(a.id+"_"+a.tag).required=!0),"inputTitlePage"===a.id&&(document.getElementById(a.id+"_"+a.tag).required=!1),"inputCodeSpreadsheet"===a.id&&(document.getElementById(a.id+"_"+a.tag).required=!1),document.getElementById(a.id).style.display="flex",!0===a.hidden&&(document.getElementById(a.id).style.display="none"),"inputTitlePage"===a.id&&(t=document.querySelector(`#${a.id} label`).textContent.replace("*"," "),document.querySelector(`#${a.id} label`).innerHTML=t),localStorage.getItem("inputMetaRobots_select")===metaRobotsIndex&&(document.getElementById("inputMetaDescription").style.display="flex")}}function g(){localStorage.setItem("inputTypeCampaign_select","Normal (sem cupom)"),m();for(let e=0;e<fields.length;e++){var t=fields[e];"inputTypeCampaign"!=t.id&&"inputURL"!=t.id&&"inputProductList"!=t.id&&"inputTitle"!=t.id&&"inputSubTitle"!=t.id&&"inputTJ"!=t.id&&"inputMetaRobots"!=t.id&&"inputMetaDescription"!=t.id&&"inputTitlePage"!=t.id&&"inputCategorieCampaign"!=t.id&&"inputFilters"!=t.id&&(document.getElementById(t.id).style.display="none",document.getElementById(t.id+"_"+t.tag).required=!1)}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText)}function b(){localStorage.setItem("inputTypeCampaign_select","Simples (apenas título)"),m();for(let e=0;e<fields.length;e++){var t=fields[e];"inputURL"!=t.id&&"inputTitle"!=t.id&&"inputProductList"!=t.id&&"inputMetaRobots"!=t.id&&"inputMetaDescription"!=t.id&&"inputTypeCampaign"!=t.id&&"inputTitlePage"!=t.id&&"inputBoostSku"!=t.id&&"inputBoostSku"!=t.id&&(document.getElementById(t.id).style.display="none",document.getElementById(t.id+"_"+t.tag).required=!1)}}function y(){localStorage.setItem("inputTypeCampaign_select","Planilha"),m();for(let e=0;e<fields.length;e++){var t,a=fields[e];document.getElementById("inputCodeSpreadsheet").style.display="flex","inputURL"!=a.id&&"inputProductList"!=a.id&&"inputMetaRobots"!=a.id&&"inputMetaDescription"!=a.id&&"inputTypeCampaign"!=a.id&&"inputCodeSpreadsheet"!=a.id&&"inputBoostSku"!=a.id&&"inputTitlePage"!=a.id&&(document.getElementById(a.id).style.display="none",document.getElementById(a.id+"_"+a.tag).required=!1),"inputTitlePage"===a.id&&(t=document.createTextNode("*"),document.querySelector(`#${a.id} label`).appendChild(t))}localStorage.getItem("inputMetaRobots_select")===metaRobotsIndex&&(document.getElementById("inputMetaDescription").style.display="flex"),document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText)}function h(){localStorage.setItem("inputTypeCampaign_select","1x Cupom"),m();for(let e=0;e<E.length;e++){const t=E[e];0<t.querySelectorAll("[id*=Cupom1x]").length&&(t.style.display="flex",t.querySelector("input").required=!0,t.querySelector("input").setAttribute("type","text"),t.querySelector("input").style.display="flex",t.querySelector("input").innerText=t.querySelector("input").getAttribute("value"))}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText)}function C(){localStorage.setItem("inputTypeCampaign_select","2x Cupom"),m();for(let e=0;e<E.length;e++){const t=E[e];0<t.querySelectorAll("[id*=Cupom1x], [id*=Cupom2x]").length&&(t.style.display="flex",t.querySelector("input").setAttribute("type","text"),t.querySelector("input").style.display="flex",t.querySelector("input").innerText=t.querySelector("input").getAttribute("value"))}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText)}function S(){localStorage.setItem("inputTypeCampaign_select","3x Cupom"),m();for(let e=0;e<E.length;e++){const t=E[e];0<t.querySelectorAll("[id*=Cupom1x], [id*=Cupom2x], [id*=Cupom3x]").length&&(t.style.display="flex",t.querySelector("input").setAttribute("type","text"),t.querySelector("input").style.display="flex",t.querySelector("input").innerText=t.querySelector("input").getAttribute("value"))}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText)}function D(){const e=document.querySelector("#inputImageBg"),t=document.querySelector("#inputDescription"),a=document.querySelector("#inputTitle_input");localStorage.setItem("inputTypeCampaign_select","Estilo (imagem)"),m();for(let e=0;e<fields.length;e++){var o=fields[e];"inputURL"!=o.id&&"inputTitle"!=o.id&&"inputProductList"!=o.id&&"inputMetaRobots"!=o.id&&"inputMetaDescription"!=o.id&&"inputTypeCampaign"!=o.id&&"inputMetaDescription"!=o.id&&"inputBoostSku"!=o.id&&"inputTitlePage"!=o.id&&(document.getElementById(o.id).style.display="none",document.getElementById(o.id+"_"+o.tag).required=!1)}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText),e.style.display="flex",e.querySelector("input").setAttribute("type","text"),t.style.display="flex",t.querySelector("textarea").style.minHeight="150px",a.setAttribute("placeholder","Só dá verão com @cabralsoyo")}function N(){const e=document.querySelector("#inputImageQrCode");localStorage.setItem("inputTypeCampaign_select","Campanha app (imagem QR Code)"),m();for(let e=0;e<fields.length;e++){var t=fields[e];"inputTypeCampaign"!=t.id&&"inputURL"!=t.id&&"inputProductList"!=t.id&&"inputTitle"!=t.id&&"inputSubTitle"!=t.id&&"inputTJ"!=t.id&&"inputMetaRobots"!=t.id&&"inputMetaDescription"!=t.id&&"inputTitlePage"!=t.id&&"inputBoostSku"!=t.id&&"inputCategorieCampaign"!=t.id&&"inputFilters"!=t.id&&(document.getElementById(t.id).style.display="none",document.getElementById(t.id+"_"+t.tag).required=!1)}document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText),e.style.display="flex",e.querySelector("input").setAttribute("type","text")}function v(){localStorage.setItem("inputCategorieCampaign_select","Todos");for(let e=0;e<inputFilters_select.options.length;e++){const t=inputFilters_select.options[e];t.style.display="none",t.getAttribute("data-categorie").includes("Todos")&&(t.style.display="block"),t.getAttribute("value").includes("semFiltros")&&(t.style.display="block")}}function H(){localStorage.setItem("inputCategorieCampaign_select","Infantil");for(let e=0;e<inputFilters_select.options.length;e++){const t=inputFilters_select.options[e];t.style.display="none",t.getAttribute("data-categorie").includes("Infantil")&&"92"!==localStorage.getItem("storeClickedNumber")&&(t.style.display="block"),t.getAttribute("value").includes("semFiltros")&&(t.style.display="block")}}function I(){localStorage.setItem("inputTitleCupom1x_input",""),localStorage.setItem("inputTitleCupom2x_input",""),localStorage.setItem("inputTitleCupom3x_input",""),localStorage.setItem("inputCupom1x_input",""),localStorage.setItem("inputCupom2x_input",""),localStorage.setItem("inputCupom3x_input","")}"1"===localStorage.getItem("storeClickedNumber")?v():"91"===localStorage.getItem("storeClickedNumber")&&H(),"Normal (sem cupom)"===localStorage.getItem("inputTypeCampaign_select")&&(g(),document.getElementById("inputTitlePage_input").required=!1,document.getElementById("inputTypeCampaign_select").options.selectedIndex=0,I()),"Simples (apenas título)"===localStorage.getItem("inputTypeCampaign_select")&&(b(),document.getElementById("inputTitlePage_input").required=!1,document.getElementById("inputTypeCampaign_select").options.selectedIndex=1,I()),"Planilha"===localStorage.getItem("inputTypeCampaign_select")&&(y(),document.getElementById("inputTitlePage_input").required=!0,document.getElementById("inputTypeCampaign_select").options.selectedIndex=2,I()),"1x Cupom"===localStorage.getItem("inputTypeCampaign_select")&&(h(),document.getElementById("inputTypeCampaign_select").options.selectedIndex=3),"2x Cupom"===localStorage.getItem("inputTypeCampaign_select")&&(C(),document.getElementById("inputTypeCampaign_select").options.selectedIndex=4),"3x Cupom"===localStorage.getItem("inputTypeCampaign_select")&&(S(),document.getElementById("inputTypeCampaign_select").options.selectedIndex=5),"Estilo (imagem)"===localStorage.getItem("inputTypeCampaign_select")&&(D(),document.getElementById("inputTypeCampaign_select").options.selectedIndex=6),"Campanha app (imagem QR Code)"===localStorage.getItem("inputTypeCampaign_select")&&(N(),document.getElementById("inputTypeCampaign_select").options.selectedIndex=7),document.getElementById("inputTypeCampaign_select").addEventListener("change",function(){switch(this.options[this.selectedIndex].value){case"Normal (sem cupom)":g();break;case"Simples (apenas título)":b();break;case"Planilha":y();break;case"1x Cupom":h();break;case"2x Cupom":C();break;case"3x Cupom":S();break;case"Estilo (imagem)":D();break;case"Categoria (fundo cinza)":{const e=document.querySelector("#inputDescription"),a=document.querySelector("#inputTitle_input");localStorage.setItem("inputTypeCampaign_select","Categoria (fundo cinza)"),m();for(let e=0;e<fields.length;e++){var t=fields[e];"inputURL"!=t.id&&"inputTitle"!=t.id&&"inputProductList"!=t.id&&"inputMetaRobots"!=t.id&&"inputMetaDescription"!=t.id&&"inputTypeCampaign"!=t.id&&"inputCategorieCampaign"!=t.id&&"inputFilters"!=t.id&&"inputBoostSku"!=t.id&&"inputTitlePage"!=t.id&&(document.getElementById(t.id).style.display="none",document.getElementById(t.id+"_"+t.tag).required=!1)}0===document.getElementById("inputMetaRobots_select").options.selectedIndex&&(document.getElementById("inputMetaDescription").style.display="none"),document.querySelector(".btn.btn-primary").innerHTML="Criar campanha",_.setAttribute("title",_.innerText),e.style.display="flex",e.querySelector("textarea").style.minHeight="150px",e.querySelector("textarea").setAttribute("placeholder","Botas masculinas são calçados resistentes, cheios de estilo e fundamentais para os dias mais frios ou chuvosos. Das chelsea boots masculinas às botas sociais, as peças feitas em couro são versáteis, ideais tanto para usar num visual descolado de escritório quanto para fechar aquele look para a balada. Dentre os modelos da temporada, os coturnos e as chelsea boots são botas casuais, perfeitas para produções do dia a dia. Muitas botas masculinas são produzidas em camurça, que é um material rústico, geralmente marrom ou preto, perfeita para uma produção elegante e despretensiosa. Vale lembrar que as botas masculinas de cano alto e solado emborrachado são ideais para o uso no dia a dia, mas os modelos trekking servem até para aventuras em trilhas, matas e montanhas."),a.setAttribute("placeholder","Botas masculinas")}break;case"Campanha app (imagem QR Code)":N();break;default:g()}}),document.getElementById("inputCategorieCampaign_select").addEventListener("change",function(){switch(this.options[this.selectedIndex].value){case"Todos":v();break;case"Feminino":localStorage.setItem("inputCategorieCampaign_select","Feminino");for(let e=0;e<inputFilters_select.options.length;e++){const t=inputFilters_select.options[e];t.style.display="none",t.getAttribute("data-categorie").includes("Feminino")&&"91"!=localStorage.getItem("storeClickedNumber")&&(t.style.display="block"),t.getAttribute("value").includes("semFiltros")&&(t.style.display="block")}break;case"Masculino":localStorage.setItem("inputCategorieCampaign_select","Masculino");for(let e=0;e<inputFilters_select.options.length;e++){const a=inputFilters_select.options[e];a.style.display="none",a.style.display="none",a.getAttribute("data-categorie").includes("Masculino")&&"91"!==localStorage.getItem("storeClickedNumber")&&(a.style.display="block"),a.getAttribute("value").includes("semFiltros")&&(a.style.display="block")}break;case"Infantil":H();break;case"Casa":localStorage.setItem("inputCategorieCampaign_select","Casa");for(let e=0;e<inputFilters_select.options.length;e++){const o=inputFilters_select.options[e];o.style.display="none",o.getAttribute("data-categorie").includes("Casa")&&"91"!==localStorage.getItem("storeClickedNumber")&&"92"!==localStorage.getItem("storeClickedNumber")&&(o.style.display="block",o.setAttribute("selected","")),o.getAttribute("value").includes("semFiltros")&&(o.style.display="block")}break;default:v()}});var U=["#inputTitlePage_input","#inputTitle_input","#inputSubTitle_input","#inputTJ_textarea","#inputMetaDescription_textarea","#inputURL_input","#inputProductList_input","#inputTitleCupom1x_input","#inputCupom1x_input","#inputTitleCupom2x_input","#inputCupom2x_input","#inputTitleCupom3x_input","#inputCupom3x_input"];for(let e=0;e<U.length;e++){var K=U[e];document.querySelector(""+K).addEventListener("change",function(){var e;(e=this).value=e.value.replace(/(^\s*)|(\s*$)/gi,"").replace(/[ ]{2,}/gi," ").replace(/\n +/,"\n")})}return document.querySelector("#inputURL_input").addEventListener("change",function(){var e;(e=this).value=e.value.replace(/^https?:\/\//g,"").replace(/www.dafiti.com.br?/g,"").replace(/www.tricae.com.br?/g,"").replace(/www.kanui.com.br?/g,"").replace(/[&#,+()$~%.'":*?<>{}]/g,"").replace(/(^\/*)|(\/*$)/gi,"").replace(/[/]{2,}/gi," ").replace(/[\u0300-\u036f]/g,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/(^\s*)|(\s*$)/gi,"").replace(/[ ]{2,}/gi," ").replace(/\n +/,"\n").replace(/ /g,"-").replace(/([()])|([\*])/g,"").toLowerCase()}),document.querySelector("#inputBoostSku_input").addEventListener("change",function(){var e;(e=this).value=e.value.split(/\s*,\s*/),e.value=e.value.replace(/(^\s*)|(\s*$)/gi,"").replace(/\s/g,",").replace(/,,+/g,",").replace(/(^,*)|(,*$)/g,"").replace(/([()])|([\*])/g,"")}),document.querySelector("#inputProductList_input").addEventListener("change",function(){var e;(e=this).value=e.value.replace(/([()])|([\*])/g,"")}),document.getElementById("inputTJ_textarea").style.minHeight="150px",document.getElementById("inputCodeSpreadsheet_textarea").style.minHeight="175px",T}console.error("Error: This format is not expected and/or not exist store")}var versionBotBob="1.5.2";function header(e,t){if(e==typeof e==="string")console.error("Error: This format is not expected. Please enter only 'string' format.");else{const a=document.createElement("div"),o=(a.setAttribute("class",variablesStyle.wrapper),document.createElement("div")),i=document.createElement("h1");i.innerHTML=e,o.classList=variablesStyle.header,o.appendChild(i),(void 0===t?document.getElementsByClassName(variablesStyle.containerContent)[0]:t).appendChild(o)}}var versionBotBob="1.5.2";function htmlToBob(params){switch(createURLBob(params),console.log(params.inputFilters_select+`("${params.inputURL_input}")`),"semFiltros"===params.inputFilters_select?filterBob="":eval(params.inputFilters_select+`("${params.inputURL_input}")`),localStorage.getItem("inputTypeCampaign_select")){case"Simples (apenas título)":campanhaSimples(params),localStorage.setItem(dataCampaign,htmlBob);break;case"Planilha":codePlanilha(params),localStorage.setItem(dataCampaign,htmlBob);break;case"1x Cupom":cupom1x(params),localStorage.setItem(dataCampaign,htmlBob);break;case"2x Cupom":cupom2x(params),localStorage.setItem(dataCampaign,htmlBob);break;case"3x Cupom":cupom3x(params),localStorage.setItem(dataCampaign,htmlBob);break;case"Estilo (imagem)":campanhaImagem(params),localStorage.setItem(dataCampaign,htmlBob);break;case"Categoria (fundo cinza)":campanhaCategoria(params),localStorage.setItem(dataCampaign,htmlBob);break;case"Campanha app (imagem QR Code)":campanhaQrCode(params),localStorage.setItem(dataCampaign,htmlBob);break;default:semCupom(params),localStorage.setItem(dataCampaign,htmlBob)}localStorage.setItem(createURLCampaign,createURL),window.location.href===localStorage.getItem(urlCampaign)?(document.querySelector(inputURLBob).innerHTML=localStorage.getItem(createURLCampaign),setTimeout(()=>{document.querySelector("#submit-static-page").dispatchEvent(eventClick)},1e3)):alert("Loja selecionada é diferente da atual.")}var versionBotBob="1.5.2",containerBob=document.getElementById("folder-items-content"),inputURLBob=".cms_foldertype_container",activeChangeRevision=!0,storeClicked="storeClicked",storeClickedNumber="storeClickedNumber",dataCampaign="dataCampaign",urlCampaign="urlCampaign",createURLCampaign="createURLCampaign",showHiddenPopup="showHiddenPopup",filterSelected="filterSelected",inputBoostSkuCheck_input="inputBoostSkuCheck_input",createdByBotBob="createdByBotBob",createURL="",htmlBob="",filterBob="",titlePageCampaign="",checkSubtitle="",checkSku="",metaRobotsIndex="index,follow",metaRobotsNoIndex="noindex,nofollow",eventClick=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0,clientX:20}),variablesStyle={showBotBob:"showBotBob",containerID:"botbob",container:"bot-popup",containerContent:"bot-container",wrapper:"wrapper-bot",content:"content-bot",header:"header-bot",headerDescriptions:"header-description",button:"btn",buttonPrimary:"btn-primary",buttonPrevious:"btn-previous",buttonShowHidden:"btn-showHidden",groupButton:"group-buttons",previousContent:"content-previous",form:"form-data",groupInput:"group-input",versionBot:"version-bot",versionBotCurrent:"version-current",alertUpdate:"alert-update",resetBot:"reset-bot",buttonReset:"btn-reset",buttonResetId:"btn-reset"},stores=[{id:"storeDafiti",name:"Dafiti",link:"http://bob.dafiti.com.br/cms/index/index/store/1",number:"1"},{id:"storeKanui",name:"Kanui",link:"http://bob.dafiti.com.br/cms/index/index/store/92",number:"92"},{id:"storeTricae",name:"Tricae",link:"http://bob.dafiti.com.br/cms/index/index/store/91",number:"91"}],fields=[{id:"inputTypeCampaign",tag:"select",label:"Qual é o tipo de campanha?*",description:"Campanha de planilha, normal, com cupom ou com imagem?",placeholder:"Escolha",options:["Normal (sem cupom)","Simples (apenas título)","Planilha","1x Cupom","2x Cupom","3x Cupom","Estilo (imagem)","Campanha app (imagem QR Code)"],main:!0},{id:"inputCodeSpreadsheet",tag:"textarea",label:"Insira o código gerado pela planilha*",description:"Copie e cole o código gerado pela planilha neste campo",placeholder:`{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="text-box-brand-campaign">
<h1>Promoção Relâmpago</h1>
<h2>Conjuntos longos até 80% OFF*</h2>
<span class="detalhe-bottom-title"></span>
<p>
*Válido apenas em produtos e cores selecionadas para esta campanha, por
tempo limitado e/ou enquanto durar o estoque. Frete não incluso no
desconto.
</p>
</div>
<!--text-box-brand-campaign-->
</div>
<!--banner-text-box-->`,main:!0,hidden:!0,required:!0},{id:"inputURL",tag:"input",type:"text",label:"URL da campanha*",description:"Insira o link da campanha (URL a ser criada)",placeholder:"categ-week/campanha-infantil-semana-das-categorias",main:!0,required:!0},{id:"inputProductList",tag:"input",type:"text",label:"Tag da campanha (product list)*",description:"Insira a lista de produtos da campanha",placeholder:"603ff0a8d48f652ced47e404",main:!0,required:!0},{id:"inputImageBg",tag:"input",type:"text",label:"Link da imagem (tamanho 1041x350px)*",description:"Insira o link da imagem (1041x350) que será usada na campanha",placeholder:"https://dafitistatic.dafiti.com.br/dynamic_yield/cms/static/dafiti/images/31dd4951112e9__image20211130121919.png",required:!1,hidden:!0},{id:"inputImageQrCode",tag:"input",type:"text",label:"Link da imagem (tamanho 170x170px)*",description:"Insira o link da imagem (170x170) do QR Code",placeholder:"https://dafitistatic.dafiti.com.br/dynamic_yield/cms/static/dafiti/images/20648b4d893b8__black-day-app.png",required:!1,hidden:!0},{id:"inputTitle",tag:"input",type:"text",label:"Título da campanha*",description:"Insira o título da campanha",placeholder:"2 Slipons Santa Lolla",required:!0},{id:"inputSubTitle",tag:"input",type:"text",label:"Subtítulo da campanha",description:"Insira o subtítulo da campanha",placeholder:"por R$109,90"},{id:"inputTJ",tag:"textarea",type:"text",label:"Texto legal da campanha*",description:"Insira o texto jurídico que será usado na campanha",placeholder:"*Válido apenas em produtos e cores selecionadas para esta campanha, por tempo limitado e/ou enquanto durar o estoque. A promoção pode ser alterada sem aviso prévio. Imagem meramente ilustrativa. Frete não incluso no desconto.",required:!0},{id:"inputDescription",tag:"textarea",type:"text",label:"Descrição*",description:"Insira a descrição da campanha",placeholder:"É tempo de festa, meus consagrados! Na medida em que o verão se aproxima e a onda de calor aumenta, nós buscamos produções na medida para curtir os dias mais quentes do ano. Aqui, convidamos o influencer carioca para ilustrar as melhores escolhas dessa temporada que está por vir. Cheers!",required:!1,hidden:!0},{id:"inputMetaRobots",tag:"select",label:"Habilitar Meta tags (indexação/robots)",description:"Irá indexar a página?",placeholder:"Selecione",options:["Sim","Não"],main:!0},{id:"inputMetaDescription",tag:"textarea",type:"text",label:"Descrição da campanha (meta tag):",description:"Insira a descrição da campanha, caso esteja indexando",placeholder:"Dafiti Oferta UAU do dia! Não perca essa oportunidade e garanta sua bolsa da Santa Lolla.",value:"",main:!0},{id:"inputTitleCupom1x",tag:"input",type:"text",label:"Título para o cupom 1*:",description:"Insira o título para o cupom 2",placeholder:"3 POR R$129*",hidden:!0,required:!0},{id:"inputCupom1x",tag:"input",type:"text",label:"Código do cupom 1*:",description:"Insira o código do cupom 1",placeholder:"3CA129M",hidden:!0,required:!0},{id:"inputTitleCupom2x",tag:"input",type:"text",label:"Título para o cupom 2*:",description:"Insira o título para o cupom 2",placeholder:"4 POR R$169*",hidden:!0,required:!0},{id:"inputCupom2x",tag:"input",type:"text",label:"Código do cupom 2*:",description:"Insira o código do cupom 2",placeholder:"4CA169M",hidden:!0,required:!0},{id:"inputTitleCupom3x",tag:"input",type:"text",label:"Título para o cupom 3*:",description:"Insira o título para o cupom 3",placeholder:"5 por R$199*",hidden:!0,required:!0},{id:"inputCupom3x",tag:"input",type:"text",label:"Código do cupom 3*:",description:"Insira o código do cupom 3",placeholder:"5CA199M",hidden:!0,required:!0},{id:"inputTitlePage",tag:"input",type:"text",label:"Título da página personalizado (sem o nome da loja)",description:"Insira um título personalizado sem o nome da loja",placeholder:"Só hoje - 2 Slipons Santa Lolla por R$109,90",main:!0},{id:"inputBoostSku",tag:"input",type:"text",label:"Boost em até 10 SKUs (separe por vírgula)",description:"Insira os códigos dos SKUs para dar o boost. Limite de 10 SKUs separados por vírgula.",placeholder:"MA574BEF18UEN,MA574BEF62LHP,MA574BEF04ZUL,MA574BEF70CPH,MA574BEF74BIB",main:!0},{id:"inputCategorieCampaign",tag:"select",label:"Exibir filtros para",description:"Campanha masc, fem, kids ...",placeholder:"Escolha",options:["Todos","Feminino","Masculino","Infantil","Casa"],main:!1},{id:"inputFilters",tag:"select",label:"Filtro da campanha",description:"Filtros disponíveis para a campanha",placeholder:"Selecione",options:[{store:[1,91,92],categorie:[""],name:"semFiltros",label:"-- Sem filtros --",description:"Campanha sem filtro"},{store:[1],categorie:["Todos","Feminino","Masculino","Infantil","Casa"],name:"categoriaMascFemKidHome",label:"Categorias - Masc, Fem, Kids e Home",description:"Filtro de categorias: Masc, Fem, Kids e Home"},{store:[1,92],categorie:["Todos","Feminino","Masculino"],name:"roupasTamanhoPadrao",label:"Tamanho - Roupa Padrão (P, M, G e GG)",description:"Filtro de tamanho de roupas: P, M, G e GG"},{store:[1,92],categorie:["Todos","Feminino","Masculino"],name:"roupasTamanhoNumero",label:"Tamanho - Roupa Número (34, 36 ... 50)",description:"Filtro de tamanho de roupas: 34, 36 ... 50"},{store:[1,91],categorie:["Todos","Infantil"],name:"roupasTamanhoKid",label:"Tamanho - Roupa Kids (1, 2 ... 16)",description:"Filtro de tamanho de roupas Kids: 1, 2 ... 16"},{store:[1,91],categorie:["Todos","Infantil"],name:"roupasTamanhoBebe",label:"Tamanho - Roupa Bêbe (RN, PP ... 3)",description:"Filtro de tamanho de roupas Bêbe: RN, PP ... 3"},{store:[1],categorie:["Todos","Feminino"],name:"roupasCalcadosAcessoriosFem",label:"Categorias - Roupas, Calçados e Acessórios (Fem)",description:"Filtro de categorias: Roupas, Calçados e Acessórios"},{store:[1],categorie:["Todos","Masculino"],name:"roupasCalcadosAcessoriosMasc",label:"Categorias - Roupas, Calçados e Acessórios (Masc)",description:"Filtro de categorias: Roupas, Calçados e Acessórios"},{store:[92],categorie:["Todos","Feminino"],name:"roupasCalcadosAcessoriosFemKanui",label:"Categorias - Roupas, Calçados e Acessórios (Fem)",description:"Filtro de categorias: Roupas, Calçados e Acessórios"},{store:[92],categorie:["Todos","Masculino"],name:"roupasCalcadosAcessoriosMascKanui",label:"Categorias - Roupas, Calçados e Acessórios (Masc)",description:"Filtro de categorias: Roupas, Calçados e Acessórios"},{store:[91],categorie:["Todos","Infantil"],name:"roupasCalcadosAcessoriosTricae",label:"Categorias - Roupas, Calçados e Acessórios",description:"Filtro de categorias: Roupas, Calçados e Acessórios"},{store:[1,91],categorie:["Todos","Infantil"],name:"categoriaMeninoMenina",label:"Categorias - Menino e Menina",description:"Filtro de categorias: Menino e Menina"},{store:[1,92],categorie:["Todos","Feminino","Masculino"],name:"categoriaMascFem",label:"Categorias - Masc e Fem",description:"Filtro de categorias: Masc e Fem"},{store:[1,92],categorie:["Todos","Feminino","Masculino"],name:"calcadosTamanho",label:"Tamanho - Calçados (34, 35 ... 44)",description:"Filtro de tamanho de calçados: 34, 35 ... 44"},{store:[1,91],categorie:["Todos","Infantil"],name:"calcadosTamanhoKid",label:"Tamanho - Calçados Kids (22, 23 ... 30)",description:"Filtro de tamanho de calçados Kids: 22, 23 ... 30"},{store:[1],categorie:["Todos","Feminino","Masculino","Infantil"],name:"categoriaMascFemKid",label:"Categorias - Masc, Fem e Kids",description:"Filtro de categorias: Masc, Fem e Kids"},{store:[1,91,92],categorie:["Todos","Feminino","Masculino","Infantil"],name:"marcasAdidasReservaOsklenNikePuma",label:"Marcas - Editar no CMS",description:"Exemplo para criar filtro de marcas"},{store:[1,92],categorie:["Todos","Feminino"],name:"tamanhoRoupasCalcadosFem",label:"Tamanho - Roupas Fem (P, M ... GG) e Calçados Fem (34, 35 ... 40)",description:"Filtro de roupas e calçados: Roupas Fem (P, M ... GG) e Calçados Fem (34, 35 ... 40)"},{store:[1,92],categorie:["Todos","Masculino"],name:"tamanhoRoupasCalcadosMasc",label:"Tamanho - Roupas Masc (P, M ... GG) e Calçados Masc (37, 38 ... 44)",description:"Filtro de roupas e calçados: Roupas Masc (P, M ... GG) e Calçados Masc (37, 38 ... 44)"},{store:[1],categorie:["Todos","Infantil"],name:"tamanhoRoupasCalcadosKid",label:"Tamanho - Roupas Kids (1, 2 ... 16) e Calçados Kids (22, 23 ... 30)",description:"Filtro de roupas e calçados: Roupas Kids (1, 2 ... 16) e Calçados Kids (22, 23 ... 30)"},{store:[91],categorie:["Todos","Infantil"],name:"tamanhoRoupasCalcadosTricae",label:"Tamanho - Roupas Kids (1, 2 ... 16) e Calçados Kids (22, 23 ... 30) (Tricae)",description:"Filtro de roupas e calçados: Roupas Kids (1, 2 ... 16) e Calçados Kids (22, 23 ... 30)"},{store:[1],categorie:["Todos","Infantil"],name:"roupasCalcados",label:"Categorias - Roupas e Calçados (Menino e Menina)",description:"Filtro de categoria Roupas e Calçados (Menino e Menina)"},{store:[91],categorie:["Todos","Infantil"],name:"roupasCalcadosTricae",label:"Categorias - Roupas e Calçados (Menino e Menina)",description:"Filtro de categoria Roupas e Calçados (Menino e Menina)"},{store:[1],categorie:["Todos","Masculino","Feminino"],name:"categoriaGeneroMascFem",label:"Categorias - Fem e Masc (Roupas, Calçados e Acessórios)",description:"Filtro de categoria Fem e Masc (Roupas, Calçados e Acessórios)"},{store:[92],categorie:["Todos","Masculino","Feminino"],name:"categoriaGeneroMascFemKanui",label:"Categorias - Fem e Masc (Roupas, Calçados e Acessórios)",description:"Filtro de categoria Fem e Masc (Roupas, Calçados e Acessórios)"}]}],errors={button:{name:"Dê nome ao botão",title:"Dê um título ou um nome"},field:{type:"Insira a tag do elemento",id:"Dê um id para o campo",label:"O campo não tem label",placeholder:"O campo não tem placeholder"}},versionBotBob="1.5.2",versionBotBob=(!function(){"use strict";let e=localStorage.getItem("showHiddenPopup");checkUpdates();const t=document.createElement("div"),a=(t.setAttribute("class",variablesStyle.containerContent),document.createElement("div")),o=document.createElement("span"),i=(a.setAttribute("class",variablesStyle.versionBot),a.appendChild(o),o.setAttribute("class",variablesStyle.versionBotCurrent),o.setAttribute("title","Sua versão atual é: v"+versionBotBob),o.innerHTML="BotBob: v"+versionBotBob,console.log("Sua versão do BotBob: v"+versionBotBob),document.createElement("div")),n=document.createElement("button"),l=(i.setAttribute("class",variablesStyle.resetBot),i.appendChild(n),n.setAttribute("title","Limpa todos os dados do formulário"),n.setAttribute("class",variablesStyle.button+" "+variablesStyle.buttonReset),n.setAttribute("id",""+variablesStyle.buttonResetId),n.setAttribute("type","reset"),n.innerText="Resetar BotBob",document.createElement("div")),r=(l.setAttribute("class",variablesStyle.container),l.setAttribute("id",variablesStyle.containerID),l.appendChild(t),l.appendChild(a),a.appendChild(i),document.body.appendChild(l),"show"===localStorage.getItem(showHiddenPopup)?document.querySelector("."+variablesStyle.containerContent).classList.add("show"):document.querySelector("."+variablesStyle.containerContent).classList.remove("show"),buttonShowHidden(),document.getElementById(variablesStyle.buttonResetId)),s=(r.addEventListener("click",()=>{null===!document.querySelector(`.${variablesStyle.content} form`)&&document.getElementsByClassName(variablesStyle.form)[0].reset(),localStorage.clear(),document.location.reload(!0)}),new Date);s.setDate(s.getDate()-1);var c=s.toLocaleDateString("en-US"),c=(localStorage.setItem("dateConverted",c),s.toLocaleDateString("pt-BR"));localStorage.setItem("dateConvertedBR",c),checkSubtitle=localStorage.getItem("inputSubTitle_input")?" "+localStorage.getItem("inputSubTitle_input"):"",titlePageCampaign=localStorage.getItem("inputTitlePage_input")?""+localStorage.getItem("inputTitlePage_input"):""+localStorage.getItem("inputTitle_input")+checkSubtitle,-1!=window.location.href.indexOf("http://bob.dafiti.com.br/cms/index/build-folder")?(window.onload=function(){setTimeout(()=>{revisionPage()},250)},localStorage.getItem(dataCampaign)?containerBob.innerHTML=localStorage.getItem(dataCampaign):screenHome(),setTimeout(()=>{localStorage.clear(),localStorage.setItem(showHiddenPopup,e)},2e3)):screenHome()}(),"1.5.2");
/** @preserve Get version BotBob */function screenHome(){const e=document.createElement("div");if(e.setAttribute("class",variablesStyle.wrapper),null===localStorage.getItem(storeClicked))header("Selecione a loja"),createButtons(stores,e);else{header("Loja selecionada");const t=document.createElement("div");t.className=variablesStyle.content,document.querySelector("."+variablesStyle.containerContent).appendChild(t),createFields(localStorage.getItem(storeClicked)),null!==localStorage.getItem(createURLCampaign)&&htmlToBob(localStorage)}document.querySelector("."+variablesStyle.containerContent).appendChild(e)}var versionBotBob="1.5.2";function checkTitlePageCampaign(e){checkSubtitle=0<e.inputSubTitle_input.length?" "+e.inputSubTitle_input:"",titlePageCampaign=null===localStorage.getItem("inputTitlePage_input")||""===localStorage.getItem("inputTitlePage_input")?""+e.inputTitle_input+checkSubtitle:localStorage.getItem("inputTitlePage_input")}
/** @preserve Inject HTML's campaign */
function createURLBob(value){ return (createURL = `<select id="foldertype-selection"class="form_input"><option disabled="disabled"selected="selected">Select folder type</option><option value="1">Homepage</option><option value="2">Static Page</option><option value="3">Catalog Listing Page</option><option value="4">Static Block</option><option value="5">Brands List</option><option value="6">Shop-in-Shop</option><option value="7">Look</option><option value="8">Lookbook</option><option value="9">App Home Item</option><option value="10">App Home</option><option value="11">Campaign</option><option value="12">Thumbnail</option><option value="13">App Menu</option></select><select id="static-page-selection"class="form_input"><option value="0"disabled="disabled"selected="selected">Select Static Page type</option><option value="1">Default</option><option value="2">Size Guide</option></select><input type="hidden"name="fk_cms_static_page_type"value="1"/><label for="page-key">Key:</label><input type="text"class="form_input"name="key"value="${value.inputURL_input}"id="static-page-key"/> <input class="form_button"type="submit"id="submit-static-page"value="Create Page"/> <input type="hidden"name="fk_cms_folder_type"value="2"/>`)};
function calcadosTamanho(value){ return (filterBob = `<!-- Tamanho Calçados -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-34/">34</a></li>
<li><a href="/${value}/tamanho-35/">35</a></li>
<li><a href="/${value}/tamanho-36/">36</a></li>
<li><a href="/${value}/tamanho-37/">37</a></li>
<li><a href="/${value}/tamanho-38/">38</a></li>
<li><a href="/${value}/tamanho-39/">39</a></li>
<li><a href="/${value}/tamanho-40/">40</a></li>
<li><a href="/${value}/tamanho-41/">41</a></li>
<li><a href="/${value}/tamanho-42/">42</a></li>
<li><a href="/${value}/tamanho-43/">43</a></li>
<li><a href="/${value}/tamanho-44/">44</a></li>
</ul>
</nav>
`)};
function calcadosTamanhoKid(value){ return (filterBob = `<!-- Tamanho Calçados Kid -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-22/">22</a></li>
<li><a href="/${value}/tamanho-23/">23</a></li>
<li><a href="/${value}/tamanho-24/">24</a></li>
<li><a href="/${value}/tamanho-25/">25</a></li>
<li><a href="/${value}/tamanho-26/">26</a></li>
<li><a href="/${value}/tamanho-27/">27</a></li>
<li><a href="/${value}/tamanho-28/">28</a></li>
<li><a href="/${value}/tamanho-29/">29</a></li>
<li><a href="/${value}/tamanho-30/">30</a></li>
</ul>
</nav>
`)};
function categoriaGeneroMascFem(value){ return (filterBob = `<!-- Masc e Fem -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/?segment=feminino">FEMININO</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-femininas/">Roupas</a></li>
<li><a href="/${value}/calcados-femininos/">Calçados</a></li>
<li><a href="/${value}/bolsas-e-acessorios-femininos/">Acessórios</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/?segment=masculino">MASCULINO</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-masculinas/">Roupas</a></li>
<li><a href="/${value}/calcados-masculinos/">Calçados</a></li>
<li><a href="/${value}/bolsas-e-acessorios-masculinos/">Acessórios</a></li>
</ul>
</nav>
`)};
function categoriaGeneroMascFemKanui(value){ return (filterBob = `<!-- Masc e Fem -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/?segment=feminino">FEMININO</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-femininas/">Roupas</a></li>
<li><a href="/${value}/calcados-femininos/">Calçados</a></li>
<li><a href="/${value}/acessorios-femininos/">Acessórios</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/?segment=masculino">MASCULINO</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-masculinas/">Roupas</a></li>
<li><a href="/${value}/calcados-masculinos/">Calçados</a></li>
<li><a href="/${value}/acessorios-masculinos/">Acessórios</a></li>
</ul>
</nav>
`)};
function categoriaMascFem(value){ return (filterBob = `<!-- Masc e Fem -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li>
<a href="/${value}/?segment=feminino">Feminino</a>
</li>
<li>
<a href="/${value}/?segment=masculino">Masculino</a>
</li>
</ul>
</nav>
`)};
function categoriaMascFemKid(value){ return (filterBob = `<!-- Masc, Fem, Kid e Home -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/?segment=feminino">Feminino</a></li>
<li><a href="/${value}/?segment=masculino">Masculino</a></li>
<li><a href="/${value}/?segment=menina--menino">Infantil</a></li>
</ul>
</nav>
`)};
function categoriaMascFemKidHome(value){ return (filterBob = `<!-- Masc, Fem, Kid e Home -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/?segment=feminino">Feminino</a></li>
<li><a href="/${value}/?segment=masculino">Masculino</a></li>
<li><a href="/${value}/?segment=menina--menino">Infantil</a></li>
<li><a href="/${value}/casa/">Casa</a></li>
</ul>
</nav>
`)};
function categoriaMeninoMenina(value){ return (filterBob = `<!-- Menino e Menina -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li>
<a href="/${value}/?gender=menina">Menina</a>
</li>
<li>
<a href="/${value}/?gender=menino">Menino</a>
</li>
</ul>
</nav>
`)};
function marcasAdidasReservaOsklenNikePuma(value){ return (filterBob = `<!-- Marcas -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/adidas--adidas-originals--adidas-performance--adidas-skateboarding/">Adidas</a></li>
<li><a href="/${value}/reserva/">Reserva</a></li>
<li><a href="/${value}/osklen/">Osklen</a></li>
<li><a href="/${value}/nike--nike-sb--nike-sportswear/">Nike</a></li>
<li><a href="/${value}/puma/">Puma</a></li>
</ul>
</nav>
`)};
function roupasCalcados(value){ return (filterBob = `<!-- Roupas e Calçados -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas-infantis/">Roupas</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-infantis/?gender=menina">menina</a></li>
<li><a href="/${value}/roupas-infantis/?gender=menino">menino</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados-infantis/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados-infantis/?gender=menina">menina</a></li>
<li><a href="/${value}/calcados-infantis/?gender=menino">menino</a></li>
</ul>
</nav>
`)};
function roupasCalcadosAcessoriosFem(value){ return (filterBob = `<!-- Roupas, Calçados e Acessórios -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/roupas-femininas/">Roupas</a></li>
<li><a href="/${value}/calcados-femininos/">Calçados</a></li>
<li><a href="/${value}/bolsas-e-acessorios-femininos/">Acessórios</a></li>
</ul>
</nav>
`)};
function roupasCalcadosAcessoriosFemKanui(value){ return (filterBob = `<!-- Roupas, Calçados e Acessórios -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/roupas-femininas/">Roupas</a></li>
<li><a href="/${value}/calcados-femininos/">Calçados</a></li>
<li><a href="/${value}/acessorios-femininos/">Acessórios</a></li>
</ul>
</nav>
`)};
function roupasCalcadosAcessoriosMasc(value){ return (filterBob = `<!-- Roupas, Calçados e Acessórios -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/roupas-masculinas/">Roupas</a></li>
<li><a href="/${value}/calcados-masculinos/">Calçados</a></li>
<li><a href="/${value}/bolsas-e-acessorios-masculinos/">Acessórios</a></li>
</ul>
</nav>
`)};
function roupasCalcadosAcessoriosMascKanui(value){ return (filterBob = `<!-- Roupas, Calçados e Acessórios -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/roupas-masculinas/">Roupas</a></li>
<li><a href="/${value}/calcados-masculinos/">Calçados</a></li>
<li><a href="/${value}/acessorios-masculinos/">Acessórios</a></li>
</ul>
</nav>
`)};
function roupasCalcadosAcessoriosTricae(value){ return (filterBob = `<!-- Roupas, Calçados e Acessórios -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/roupas/">Roupas</a></li>
<li><a href="/${value}/calcados/">Calçados</a></li>
<li><a href="/${value}/acessorios/">Acessórios</a></li>
</ul>
</nav>
`)};
function roupasCalcadosTricae(value){ return (filterBob = `<!-- Roupas e Calçados -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas/">Roupas</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas/?gender=menina">menina</a></li>
<li><a href="/${value}/roupas/?gender=menino">menino</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados/?gender=menina">menina</a></li>
<li><a href="/${value}/calcados/?gender=menino">menino</a></li>
</ul>
</nav>
`)};
function roupasTamanhoBebe(value){ return (filterBob = `<!-- Tamanho Bebe -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-Recém+nascido/">Recém nascido</a></li>
<li><a href="/${value}/tamanho-PP">PP</a></li>
<li><a href="/${value}/tamanho-P/">P</a></li>
<li><a href="/${value}/tamanho-M/">M</a></li>
<li><a href="/${value}/tamanho-G/">G</a></li>
<li><a href="/${value}/tamanho-1/">1</a></li>
<li><a href="/${value}/tamanho-2/">2</a></li>
<li><a href="/${value}/tamanho-3/">3</a></li>
</ul>
</nav>
`)};
function roupasTamanhoKid(value){ return (filterBob = `<!-- Roupas Kid -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-1/">1</a></li>
<li><a href="/${value}/tamanho-2/">2</a></li>
<li><a href="/${value}/tamanho-3/">3</a></li>
<li><a href="/${value}/tamanho-4/">4</a></li>
<li><a href="/${value}/tamanho-6/">6</a></li>
<li><a href="/${value}/tamanho-8/">8</a></li>
<li><a href="/${value}/tamanho-10/">10</a></li>
<li><a href="/${value}/tamanho-12/">12</a></li>
<li><a href="/${value}/tamanho-14/">14</a></li>
<li><a href="/${value}/tamanho-16/">16</a></li>
</ul>
</nav>
`)};
function roupasTamanhoNumero(value){ return (filterBob = `<!-- Tamanho de Roupas -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-34/">34</a></li>
<li><a href="/${value}/tamanho-36/">36</a></li>
<li><a href="/${value}/tamanho-38/">38</a></li>
<li><a href="/${value}/tamanho-40/">40</a></li>
<li><a href="/${value}/tamanho-42/">42</a></li>
<li><a href="/${value}/tamanho-44/">44</a></li>
<li><a href="/${value}/tamanho-46/">46</a></li>
<li><a href="/${value}/tamanho-48/">48</a></li>
<li><a href="/${value}/tamanho-50/">50</a></li>
</ul>
</nav>
`)};
function roupasTamanhoPadrao(value){ return (filterBob = `<!-- Roupas -->
<nav class="cms-nav" data-catalog="ajax">
<ul>
<li><a href="/${value}/tamanho-P/">P</a></li>
<li><a href="/${value}/tamanho-M/">M</a></li>
<li><a href="/${value}/tamanho-G/">G</a></li>
<li><a href="/${value}/tamanho-GG/">GG</a></li>
</ul>
</nav>
`)};
function tamanhoRoupasCalcadosFem(value){ return (filterBob = `<!-- Calçados e Vestuário -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados-femininos/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados-femininos/tamanho-34/">34</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-35/">35</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-36/">36</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-37/">37</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-38/">38</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-39/">39</a></li>
<li><a href="/${value}/calcados-femininos/tamanho-40/">40</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas-femininas/">Vestuário</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-femininas/tamanho-P/">P</a></li>
<li><a href="/${value}/roupas-femininas/tamanho-M/">M</a></li>
<li><a href="/${value}/roupas-femininas/tamanho-G/">G</a></li>
<li><a href="/${value}/roupas-femininas/tamanho-GG/">GG</a></li>
</ul>
</nav>
`)};
function tamanhoRoupasCalcadosKid(value){ return (filterBob = `<!-- Calçados e Vestuário -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas-infantis/">Vestuário</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-infantis/tamanho-1/">1</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-2/">2</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-3/">3</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-4/">4</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-6/">6</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-8/">8</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-10/">10</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-12/">12</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-14/">14</a></li>
<li><a href="/${value}/roupas-infantis/tamanho-16/">16</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados-infantis/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados-infantis/tamanho-22/">22</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-23/">23</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-24/">24</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-25/">25</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-26/">26</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-27/">27</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-28/">28</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-29/">29</a></li>
<li><a href="/${value}/calcados-infantis/tamanho-30/">30</a></li>
</ul>
</nav>
`)};
function tamanhoRoupasCalcadosMasc(value){ return (filterBob = `<!-- Calçados e Vestuário -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados-masculinos/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados-masculinos/tamanho-37/">37</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-38/">38</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-39/">39</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-40/">40</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-41/">41</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-42/">42</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-43/">43</a></li>
<li><a href="/${value}/calcados-masculinos/tamanho-44/">44</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas-masculinas/">Vestuário</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas-masculinas/tamanho-P/">P</a></li>
<li><a href="/${value}/roupas-masculinas/tamanho-M/">M</a></li>
<li><a href="/${value}/roupas-masculinas/tamanho-G/">G</a></li>
<li><a href="/${value}/roupas-masculinas/tamanho-GG/">GG</a></li>
</ul>
</nav>
`)};
function tamanhoRoupasCalcadosTricae(value){ return (filterBob = `<!-- Calçados e Vestuário -->
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/roupas/">Vestuário</a>
</h2>
</div>
<ul>
<li><a href="/${value}/roupas/tamanho-1/">1</a></li>
<li><a href="/${value}/roupas/tamanho-2/">2</a></li>
<li><a href="/${value}/roupas/tamanho-3/">3</a></li>
<li><a href="/${value}/roupas/tamanho-4/">4</a></li>
<li><a href="/${value}/roupas/tamanho-6/">6</a></li>
<li><a href="/${value}/roupas/tamanho-8/">8</a></li>
<li><a href="/${value}/roupas/tamanho-10/">10</a></li>
<li><a href="/${value}/roupas/tamanho-12/">12</a></li>
<li><a href="/${value}/roupas/tamanho-14/">14</a></li>
<li><a href="/${value}/roupas/tamanho-16/">16</a></li>
</ul>
</nav>
<nav class="cms-nav nav-2-menus" data-catalog="ajax">
<div class="title-about-dafiti">
<h2>
<a href="/${value}/calcados/">Calçados</a>
</h2>
</div>
<ul>
<li><a href="/${value}/calcados/tamanho-22/">22</a></li>
<li><a href="/${value}/calcados/tamanho-23/">23</a></li>
<li><a href="/${value}/calcados/tamanho-24/">24</a></li>
<li><a href="/${value}/calcados/tamanho-25/">25</a></li>
<li><a href="/${value}/calcados/tamanho-26/">26</a></li>
<li><a href="/${value}/calcados/tamanho-27/">27</a></li>
<li><a href="/${value}/calcados/tamanho-28/">28</a></li>
<li><a href="/${value}/calcados/tamanho-29/">29</a></li>
<li><a href="/${value}/calcados/tamanho-30/">30</a></li>
</ul>
</nav>
`)};
function campanhaCategoria(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{style-category-feb-2021:latest}
<div class="banner-text-box">
<div class="text-box-brand-campaign">
<h1>${value.inputTitle_input}</h1>
<p>
${value.inputDescription_textarea}
</p>
</div>
<div class="more-info">Ver mais</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function campanhaImagem(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-curadoria:latest}
<div class="featured-post">
<figure>
<img src="${value.inputImageBg_input}"title="${value.inputTitle_input}">
</figure>
<div class="text-featured">
<h1 class="title-featured">${value.inputTitle_input}</h1>
<p>${value.inputDescription_textarea}</p>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function campanhaQrCode(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="text-box-brand-campaign">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
</div>
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box"style="min-height:240px">
<div class="box-brand-campaign-1-cupom">
<div class="text-box-brand-campaign box-aside-left"style="width:58%">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
<div class="text-box-brand-campaign box-aside-right">
<div class="voucher">
<img src="${value.inputImageQrCode_input}"style="width:170px;margin:0 auto">
<h3>Utilize este QR Code para baixar nosso aplicativo</h3>
</div>
</div>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function campanhaSimples(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="text-box-brand-campaign">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function codePlanilha(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
${value.inputCodeSpreadsheet_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function cupom1x(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="33"style="overflow-y:scroll;width:95%;max-height:800px">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="box-brand-campaign-1-cupom">
<div class="text-box-brand-campaign box-aside-left">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
<div class="text-box-brand-campaign box-aside-right">
<div class="tutorial-voucher">
<span class="seta-tutorial-voucher"></span>
<p>UTILIZE O CUPOM NA PÁGINA DE PAGAMENTO</p>
<a onclick="lightbox_open();"><span>?</span>Como utilizar o cupom?</a>
</div>
<div class="voucher">
<h2>${value.inputTitleCupom1x_input}</h2>
<span class="cupom">${value.inputCupom1x_input}</span>
<h3 id="clickMe">Copie o cupom acima</h3>
</div>
</div>
</div>
</div>
{tutorial-cupom-landings:latest}
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function cupom2x(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="38"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="box-brand-campaign-2-cupons">
<div class="text-box-brand-campaign box-aside-left"style="width:48%">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
<div class="text-box-brand-campaign box-aside-right">
<div class="voucher margin-left">
<h2>${value.inputTitleCupom1x_input}</h2>
<span class="cupom">${value.inputCupom1x_input}</span>
<h3 id="clickMe">Copie o cupom acima</h3>
</div>
<div class="voucher">
<h2>${value.inputTitleCupom2x_input}</h2>
<span class="cupom">${value.inputCupom2x_input}</span>
<h3>Copie o cupom acima</h3>
</div>
</div>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function cupom3x(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="45"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="box-brand-campaign-3-cupons">
<div class="text-box-brand-campaign box-aside-left"style="width:38%">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
<div class="text-box-brand-campaign box-aside-right">
<div class="voucher margin-left">
<h2>${value.inputTitleCupom1x_input}</h2>
<span class="cupom">${value.inputCupom1x_input}</span>
<h3>Copie o cupom acima</h3>
</div>
<div class="voucher">
<h2>${value.inputTitleCupom2x_input}</h2>
<span class="cupom">${value.inputCupom2x_input}</span>
<h3>Copie o cupom acima</h3>
</div>
<div class="voucher">
<h2>${value.inputTitleCupom3x_input}</h2>
<span class="cupom">${value.inputCupom3x_input}</span>
<h3>Copie o cupom acima</h3>
</div>
</div>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function encerrarUrl(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="noindex,nofollow"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="9"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{days-left-control:latest}
<script sync type="text/javascript">
var dataRedir = "${value.dateConverted}"
if(comparaData(dataRedir) < 0){
window.location = "https://www.dafiti.com.br/campanha-encerrada/?date="+dataRedir;
}
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="3"style="width:95%;max-height:800px;overflow-y:scroll">
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function encerrarUrlTricae(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="noindex,nofollow"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="2"style="width:95%;max-height:800px;overflow-y:scroll">
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="25"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus:latest}
<div id="header-encerrado"class="header-lp">
<div class="txt-titulo col-bn-12">
<h1>Ops... essa campanha encerrou no dia <strong>${value.dateConvertedBR}</strong></h1>
<div class="txt-subtitulo">
Mas não se preocupe tem outras campanhas ótimas na
<a href="/"style="text-decoration:underline">página inicial.</a>
</div>
<div class="nav-encerrado">
<ul>
<li><strong>CALÇADOS</strong></li>
<li>
<a href="https://www.tricae.com.br/calcados/?&segment=menina">menina</a>
</li>
<li>
<a href="https://www.tricae.com.br/calcados/?&segment=menino">menino</a>
</li>
</ul>
<ul>
<li><strong>ROUPAS</strong></li>
<li>
<a href="https://www.tricae.com.br/roupas/?&segment=menina">menina</a>
</li>
<li>
<a href="https://www.tricae.com.br/roupas/?&segment=menino">menino</a>
</li>
</ul>
<ul>
<li><strong>BEBÊS</strong></li>
<li>
<a href="https://www.tricae.com.br/bebes/?&segment=menina">menina</a>
</li>
<li>
<a href="https://www.tricae.com.br/bebes/?&segment=menino">menino</a>
</li>
<li>
<a href="https://www.tricae.com.br/enxoval-para-bebe/">enxoval</a>
</li>
</ul>
<ul>
<li><strong>MAMÃES</strong></li>
<li><a href="https://www.tricae.com.br/mamaes/roupas/">roupas</a></li>
<li>
<a href="https://www.tricae.com.br/mamaes/sapatilhas-mamaes/">calçados</a>
</li>
<li>
<a href="https://www.tricae.com.br/mamaes/lingeries/">lingeries</a>
</li>
</ul>
<div class="btns-encerrado">
<a href="https://www.tricae.com.br/brinquedos/">BRINQUEDOS</a>
<a href="https://www.tricae.com.br/quarto/">QUARTO</a>
<a href="https://www.tricae.com.br/volta-as-aulas/">ESCOLAR</a><br/>
<a href="https://www.tricae.com.br/enxoval-para-bebe/">ENXOVAL</a>
<a href="https://www.tricae.com.br/acessorios/">ACESSÓRIOS</a>
<a href="https://www.tricae.com.br/campanhas/outlet/">OUTLET</a>
</div>
</div>
</div>
</div>
<style>.nav-encerrado{text-align:center;margin:10px 0 0 120px}.nav-encerrado strong{font-weight:600}#header-encerrado ul{float:left;font-size:15px}#header-encerrado li{list-style:none;margin-right:15px}#header-encerrado .txt-titulo{height:170px}.btns-encerrado{float:left;margin-left:40px}.btns-encerrado a{display:inline-table;border:1px solid #fff;padding:5px;margin:5px 5px 0 0;font-size:15px;width:110px}.btns-encerrado a:hover{background:#fff;color:#7cc7c5}@media (max-width:640px){.nav-encerrado{display:none!important}}</style>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};
function semCupom(value){ return (htmlBob = `<input type="hidden"value="${localStorage.getItem(storeClickedNumber)}"name="fk_store_store"/> <input type="hidden"value="1"id="current_device"name="current_device"/><div name="Page Title"><div id="itemsSet_1"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Page Title</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_1_1"type="text"style="width:95%"value="${titlePageCampaign} | ${localStorage.getItem(storeClicked)}"/></div><div style="float:left;width:14%"><img id="itemTrash_1_1"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Robots"><div id="itemsSet_4"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Robots</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_4_5"type="text"style="width:95%"value="${value.inputMetaRobots_select}"/></div><div style="float:left;width:14%"><img id="itemTrash_4_5"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Block at begin of body"><div id="itemsSet_6"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Block at begin of body</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_6_8"cols="50"rows="5"style="width:95%;max-height:800px;overflow-y:scroll">
<script type="text/javascript"sync>
var campaign_name = "${value.inputProductList_input}";
</script>
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_6_8"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Product list"><div id="itemsSet_8"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Product list</label></div><div style="float:left;width:70%"><input class="form_input"name="meta_8_15"type="text"style="width:95%"value="all-products/?q=${
value.inputProductList_input
}&tag=${value.inputProductList_input}${value.inputBoostSkuCheck_input}"/></div><div style="float:left;width:14%"><img id="itemTrash_8_15"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><div name="Meta Description"><div id="itemsSet_3"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Meta Description</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_3_3"cols="50"rows="3"style="width:95%;max-height:800px;overflow:hidden">
${value.inputMetaDescription_textarea}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_3_3"src="/img/crystal/delete.png"style="cursor:pointer"/></div><div style="clear:both"></div></div></div><input id="revisionBotBob"type="hidden"name="revision"value="${value.newNumberRevision}"/> <input type="hidden"name="key"value="${value.inputURL_input}"/> <input type="hidden"name="fk_cms_folder_type"value="2"/> <input type="hidden"name="id_cms_shop"value="1"/><div id="itemsSet_9"style="margin-bottom:15px"><div style="float:left;width:16%"><label>Banner Full</label></div><div style="float:left;width:70%"><textarea class="form_input"name="meta_9_35"cols="50"rows="11"style="width:95%;max-height:800px;overflow-y:scroll">
${localStorage.getItem("createdByBotBob")}
{css-brands-landings-menus-2022:latest}
<div class="banner-text-box">
<div class="text-box-brand-campaign">
<h1>${value.inputTitle_input}</h1>
<h2>${value.inputSubTitle_input}</h2>
<span class="detalhe-bottom-title"></span>
<p>${value.inputTJ_textarea}</p>
</div>
</div>
${filterBob}
</textarea></div><div style="float:left;width:14%"><img id="itemTrash_9_35"src="/img/crystal/delete.png"style="cursor:pointer"/> <img style="margin-left:5px;cursor:pointer"src="/img/crystal/img_search.png"/></div><div style="clear:both"></div></div>`)};var versionBotBob="1.5.2";var tagBot = `<!-- Created with BotBob v1.5.2 -->`; localStorage.setItem(createdByBotBob, tagBot);var tagBotJs = `// Created with BotBob v1.5.2`;