-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpopup.html
704 lines (603 loc) · 30.1 KB
/
popup.html
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
<html>
<head>
<title></title>
<style>
/*checkbox input stolen from HS, we really should switch this to be a normal css checkbox, the html and css is over the top*/
.private-form__label--small {
font-size: 12px;
font-size: .75rem;
}
.private-form__label {
padding: .5rem .75rem .25rem 0;
font-family: Avenir Next W02, Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 14px;
font-size: .875rem;
display: inline-block;
vertical-align: middle;
color: #fff;
}
.private-form__toggle-switch {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
display: inline-block;
vertical-align: middle;
}
.sr-only {
position: absolute!important;
width: 1px!important;
height: 1px!important;
margin: -1px!important;
padding: 0!important;
overflow: hidden!important;
clip: rect(0, 0, 0, 0)!important;
border: 0!important;
}
.private-form__toggle-switch--sm .private-form__toggle-switch__inner:not(.private-form__toggle-switch--on),
.private-form__toggle-switch--xs .private-form__toggle-switch__inner:not(.private-form__toggle-switch--on) {
background-color: #f5f8fa;
}
.private-form__toggle-switch--xs .private-form__toggle-switch__handle,
.private-form__toggle-switch--xs .private-form__toggle-switch__inner {
height: 26px;
}
.private-form__toggle-switch--xs .private-form__toggle-switch__inner {
width: 52px;
}
.private-form__toggle-switch--sm .private-form__toggle-switch__inner,
.private-form__toggle-switch--xs .private-form__toggle-switch__inner {
min-width: 0;
}
.private-form__toggle-switch__inner {
border-radius: .1875rem;
background-color: #eaf0f6;
box-shadow: inset 0 0 0 1px #cbd6e2;
display: inline-block;
height: 2.5rem;
min-width: 80px;
position: relative;
vertical-align: middle;
width: auto;
}
*,
:after,
:before {
box-sizing: border-box;
}
.private-checkbox--unlabeled .private-checkbox__text,
.private-form__toggle-switch--sm .private-form__toggle-switch__label,
.private-form__toggle-switch--xs .private-form__toggle-switch__label,
.private-typeahead.hide-search>.private-search-control__wrapper {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.private-form__toggle-switch__label--checked {
padding-left: 1rem;
padding-right: 3.5rem;
}
.private-form__toggle-switch__label {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-smoothing: antialiased;
text-shadow: 0 0 1px transparent;
font-family: Avenir Next W02, Helvetica, Arial, sans-serif;
font-weight: 600;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: block;
line-height: 2.5625rem;
text-transform: uppercase;
visibility: hidden;
white-space: nowrap;
width: 100%;
}
.private-form__toggle-switch--xs .private-form__toggle-switch__handle {
width: 26px;
}
.private-form__toggle-switch--xs .private-form__toggle-switch__handle,
.private-form__toggle-switch--xs .private-form__toggle-switch__inner {
height: 26px;
}
.private-form__toggle-switch__handle {
border-radius: .1875rem;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: all .15s ease-out;
background-color: #fff;
box-shadow: 0 0 0 0.0625rem #cbd6e2, 0 5px 5px 0 rgba(0, 0, 0, .08);
height: 2.5rem;
left: 0;
overflow: hidden;
padding: .4375rem;
position: absolute;
top: 0;
width: 2.5rem;
z-index: 1;
}
svg:not(:root) {
overflow: hidden;
}
.private-checkbox--unlabeled .private-checkbox__text,
.private-form__toggle-switch--sm .private-form__toggle-switch__label,
.private-form__toggle-switch--xs .private-form__toggle-switch__label,
.private-typeahead.hide-search>.private-search-control__wrapper {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.private-form__toggle-switch__label--unchecked {
padding-left: 3.5rem;
padding-right: 1rem;
position: relative;
top: -40px;
visibility: visible;
}
.private-form__toggle-switch--on .private-form__toggle-switch__label--checked,
input:checked~.private-form__toggle-switch__label--checked {
color: #fff;
visibility: visible;
}
.private-form__toggle-switch__label--checked {
padding-left: 1rem;
padding-right: 3.5rem;
}
.private-form__toggle-switch--xs .private-form__toggle-switch--on .private-form__toggle-switch__handle {
padding: .3125rem;
}
.private-form__toggle-switch__icon {
opacity: 0;
}
.private-form__toggle-switch--on .private-form__toggle-switch__icon,
input:checked~.private-form__toggle-switch__icon,
{
opacity: 1;
}
.private-form__toggle-switch--on.private-form__toggle-switch__inner {
background-color: #00a4bd;
box-shadow: none;
}
.private-form__toggle-switch--on .private-form__toggle-switch__handle,
input:checked~.private-form__toggle-switch__handle {
box-shadow: 0 0 0 0.0625rem #00a4bd, 0 5px 5px 0 rgba(0, 0, 0, .08);
left: 100%;
transform: translateX(-100%);
}
.private-form__toggle-switch--on .private-form__toggle-switch__icon {
opacity: 1;
}
/*Tip Banner CSS*/
.c-banner{
display: block;
width: 100%;
color:rgba(255, 255, 255, 0.5);
text-decoration: none;
text-align:center;
margin-top: 5px;
padding:5px;
border-top: 2px solid rgba(63, 180, 249, .8);
}
.c-banner .tip__title{
font-size: 15px;
color:#ff7a59;
}
.c-banner .tip__content{
font-size: 12px;
}
#status {
color: #fff;
}
/*To keep CSS organized and easy to understand this css is following this method https://css-tricks.com/combining-the-powers-of-sem-and-bio-for-improving-css/
Do not let fear of learning a new technique prevent you from contributing, others can help convert your css to fit this flow. so pull request even if it doesn't fit this way of doing things. The important thing is that it works, keeping organized and understandable is second. If everyone finds they hate writing CSS this way we can work out another way to do it.
*/
/*Settings - variables that do not generate visual styles on their own*/
:root {
--buttonColor: #ff7a59;
}
:focus {
outline: none;
}
/*Objects - (namespace: o-) are used for design patterns, such as layouts, where items are being arranged rather than decorated. */
.o-menu-grid {
display: grid;
grid-gap: 5px;
width: 100%;
/*width: calc(100vw - 10px); */
grid-template-columns: 1fr 1fr;
grid-template-areas: "debug bustcache" "movejquery amp" "psrequest psrequest" "designmanager designmanager";
/*margin-right: 5px;*/
}
.o-menu-grid--debug {
grid-template-areas: "debug bustcache" "movejquery amp" "psrequest psrequest" "designmanager designmanager";
}
.o-menu-grid--design-manager {
grid-template-areas: "developermode developermode" "docs docs" "community community" "darktoggle darktoggle" "uitweakstoggle uitweakstoggle" "sprockyterms sprockyterms";
}
#hsDebug {
grid-area: debug;
}
#hsMoveJQueryToFooter {
grid-area: movejquery;
}
#hs_amp {
grid-area: amp;
}
#bustCache {
grid-area: bustcache;
}
#psiScoreRequest {
grid-area: psrequest;
}
#developerMode {
grid-area: developermode;
}
#docs {
grid-area: docs;
}
#community{
grid-area:community;
}
#dark-toggle {
grid-area: darktoggle;
}
#ui-tweaks-toggle{
grid-area: uitweakstoggle;
}
#openDesginManager{
grid-area: designmanager;
}
.c-sprocky-terms{
grid-area:sprockyterms;
}
.c-sprocky-terms a{color:#ff7a59;}
.column_2 {
float: left;
width: 50%;
}
.row:after {
content: "";
display: table;
clear: both;
}
/*Elements - HTML native elements default styles without classes*/
* {
box-sizing: border-box;
}
html, body {
max-height: none;
height: auto;
width: 391px;
min-width: 391px;
}
body {
color: cornflowerblue;
background-color: #33475b;
background: linear-gradient(45deg, #33475b, #2d3e50);
margin: 0;
}
img {
max-width: 100%;
height: auto;
}
/*Components - (namespace: c-) is a small feature that makes up a part of the website/extension. Think buttons, accordions, sliders, modal dialogs, etc. Each component is fully functional by itself and does not rely on any other components. This fact should be considered when you name the component.*/
.c-tab-slider {
width: 100%;
}
.c-tab-slider__tab-selector {
-webkit-appearance: none;
border: 0;
display: block;
width: 50%;
font-size: 13px;
text-transform: uppercase;
font-weight: bold;
border-bottom: 5px transparent solid;
}
.c-tab-slider__controls {
display: flex;
}
.c-tab-slider__tab {
display: block;
width: 100%;
padding: 5px;
}
.c-tab-slider__track {
display: flex;
flex-flow: row;
position: relative;
width: 200%;
max-width: 200%;
visibility: hidden;
}
.c-tab-slider--state-design-manager .c-tab-slider__track {
left: -100vw;
visibility:visible;
-webkit-transition: left 600ms cubic-bezier(0.77, 0, 0.175, 1);
transition: left 600ms cubic-bezier(0.77, 0, 0.175, 1);
}
.c-tab-slider--state-debug .c-tab-slider__track {
visibility:visible;
-webkit-transition: left 600ms cubic-bezier(0.77, 0, 0.175, 1);
transition: left 600ms cubic-bezier(0.77, 0, 0.175, 1);
}
.c-tab-slider--state-design-manager .c-tab-slider__tab-selector--develop,
.c-tab-slider--state-debug .c-tab-slider__tab-selector--debug {
border-bottom-color: var(--buttonColor);
}
.c-tab-slider--state-debug .c-tab-slider__track {
left: 0;
}
.c-btn {
padding: 0;
height: 44px;
display: block;
width: 100%;
border: 3px solid var(--buttonColor);
font-size: 14px;
text-align: center;
text-decoration: none;
overflow: hidden;
cursor: pointer;
-webkit-appearance: none;
background-color: #fff;
}
.c-btn__face-primary,
.c-btn__face-secondary {
display: block;
padding: 0 22px;
line-height: 39px;
transition: margin 0.4s;
}
.c-btn__face-primary {
background-color: var(--buttonColor);
color: #fff;
}
.c-btn__face-secondary {
font-size: 13px;
padding: 0 0;
}
.c-btn:not(.c-btn--graded):hover .c-btn__face-primary,
.c-btn:not(.c-btn--graded):focus .c-btn__face-primary {
margin-top: -39px;
}
.c-btn__psiScore {
display: none;
text-align: center;
}
.c-btn__grades {
font-size: 33px;
padding: 16px;
color: #e43;
}
.c-btn__score {
/*update js*/
font-size: 40px;
display: block;
font-weight: bold;
}
/*Scopes - The purpose of the scope (namespace: s-) is to give us the highest specificity so we can overwrite any styles for a specific purpose.
*/
.c-btn--graded {
/*update js to update the class it adds*/
overflow: initial;
height: initial;
/*background-image: url(https://cdn2.hubspot.net/hubfs/2359872/Dev_Extension/pagespeed-logo.png);*/
background-size: contain;
background-position: center bottom;
background-repeat: no-repeat;
background-size: 150px;
}
.c-btn--graded .c-btn__face-secondary {
display: none;
}
.c-btn--link-list {
cursor: unset;
}
.c-btn--link-list .c-btn__face-secondary {
display: flex;
align-items: center;
justify-content: space-around;
}
.c-btn--link-list a {
padding: 0 10px;
}
.c-btn--link-list a:hover,
.c-btn--link-list a:focus {
color: var(--buttonColor);
}
/*Utility - Sometimes you may want to make changes only for a certain style in a specific place. In that case, utility (namespace: u-) classes can help us update it without changing the whole CSS structure.*/
/*state and JS namespaces
* is-: this indicates the state of the block or element. Most commonly used class is .is-active, like the active link in navigation. */
/*hide Debug mode button, bust cache button, footer jquery, google page speed, when viewing site backend*/
.u-text-orange {
color: var(--buttonColor)!important;
}
body.is-backend .u-hidden-backend {
display: none;
}
body.is-dm1 .u-hidden-dm1 {
display: none;
}
body.is-dm2 .u-hidden-dm2 {
display: none;
}
body.is-hs-docs .u-hidden-hs-docs {
display: none;
}
/*js-: this indicates that the specific element is bound to JavaScript events. For example, js-menu-click indicates that the element is bound to the click event. generally JS classes are only added to the html, as they are for targeting with JS not affecting actual styles.*/
</style>
</head>
<body>
<div class="c-tab-slider">
<div class="c-tab-slider__controls">
<button class="c-tab-slider__tab-selector js-click--tab-debug c-tab-slider__tab-selector--debug" data-i18n="debugTab"><!--Debug--></button>
<button class="c-tab-slider__tab-selector c-tab-slider__tab-selector--develop js-click--tab-develop" data-i18n="developTab"><!--Develop--></button>
</div>
<div class="c-tab-slider__track c-tab-slider--state-debug">
<div class="c-tab-slider__tab" id="debug-tools">
<!--This tab will be focused when the user is not in the design manager -->
<div class="o-menu-grid o-menu-grid--debug">
<button class="c-btn face-button js-click--debug" id="hsDebug">
<div class="c-btn__face-primary" data-i18n="debugButton"><!--Debug Mode--></div>
<div class="c-btn__face-secondary">hsDebug=True</div>
</button>
<button class="c-btn face-button js-click--bust-cache" id="hsCacheBuster">
<div class="c-btn__face-primary" data-i18n="cacheBustButton"><!--Bust Cache--></div>
<div class="c-btn__face-secondary">hsBustCache=[random #]</div>
</button>
<button class="c-btn face-button js-click--move-jquery-to-footer" id="hsMoveJQueryToFooter">
<div class="c-btn__face-primary" data-i18n="footerJqueryButton"><!--Footer jQuery--></div>
<div class="c-btn__face-secondary">hsMoveJQueryToFooter=True</div>
</button>
<button class="c-btn face-button js-click--amp" id="hs_amp">
<div class="c-btn__face-primary">AMP</div>
<div class="c-btn__face-secondary">hs_amp=true</div>
</button>
<button class="c-btn face-button js-click--psi-score-request" id="psiScoreRequest">
<div class="c-btn__face-primary">Google Page Speed Insights</div>
<div class="c-btn__face-secondary" data-i18n="gpsiHover"><!--Score Me!-->
<!--<img style="height: 39px;" src="https://cdn2.hubspot.net/hubfs/2359872/Dev_Extension/pagespeed.png">--></div>
<div class="row c-btn__grades">
<div class="c-btn__psiScore column_2" id="desktop_psi_placeholder" data-i18n="gpsiTestingDesktop"><!--grading desktop...-->
<!--<img src="https://cdn2.hubspot.net/hubfs/2359872/Dev_Extension/NewCorgiDance.gif">--></div>
<div class="c-btn__psiScore column_2" id="mobile_psi_placeholder" data-i18n="gpsiTestingMobile"><!--grading mobile...-->
<!--<img src="https://cdn2.hubspot.net/hubfs/2359872/Dev_Extension/NewCorgiDance.gif">--></div>
</div>
</button>
<a href="https://app.hubspot.com/l/design-manager" target="_blank" class="c-btn face-button" id="openDesginManager">
<div class="c-btn__face-primary" data-i18n="openDesignManager">Open Design Manager</div>
<div class="c-btn__face-secondary" data-i18n="openDesignManager">
Open Design Manager <!-- open design manager -->
</div>
</a>
</div>
</div>
<div class="c-tab-slider__tab" id="design-manager">
<!-- this tab will be focused while the user is in the design manager any features intended only for DM1 or DM2 should get disabled if they do not work in the current version of the design manager -->
<div class="o-menu-grid o-menu-grid--design-manager">
<button class="c-btn face-button js-click--developerMode" id="developerMode">
<div class="c-btn__face-primary">Developer Mode</div>
<div class="c-btn__face-secondary">developerMode=true</div>
</button>
<div class="c-btn c-btn--link-list face-button" id="docs">
<div class="c-btn__face-primary" data-i18n="documentationButton"><!--Documentation--></div>
<div class="c-btn__face-secondary">
<a target="blank" href="https://designers.hubspot.com/en/docs/hubl/hubl-supported-functions" data-i18n="docLinkFunctions">
<!--Functions add opens in new window icon--></a>
<a target="blank" href="https://designers.hubspot.com/docs/hubl/hubl-supported-variables" data-i18n="docLinkVariables"><!--Variables add opens in new window icon--></a> <a target="blank" href="https://designers.hubspot.com/docs/hubl/hubl-supported-filters" data-i18n="docLinkFilters"><!--Filters add opens in new window icon--></a>
<a target="blank" href=" https://designers.hubspot.com/docs/tools/hubdb">HubDB<!--add opens in new window icon--></a>
</div>
</div>
<div class="c-btn c-btn--link-list face-button" id="community">
<div class="c-btn__face-primary" data-i18n="communityButton"><!--Community--></div>
<div class="c-btn__face-secondary">
<!-- this slack link notifies Jon when someone signs up using it, in the future we can add analytics to track people going to it through the extension.-->
<a href="https://join.slack.com/t/hubspotdev/shared_invite/enQtMzcyNDQzNDE0MDgzLTdiMjZhMTgwNGRiNDM1ZDk5NDE4ODViYmQ0YTQwODMzMzA2NjNmZDc2MDhmZmM4OTAxMzY1ZDIwM2U4ZjAwMWQ" target="_blank">Slack</a>
<a target="_blank" href="https://community.hubspot.com/t5/Design/ct-p/designers" data-i18n="comLinkDesign"><!--Design Forum--><!--add opens in new window icon--></a>
<a target="_blank" href="https://integrate.hubspot.com/" data-i18n="comLinkDeveloper"><!--Developer Forum--><!--add opens in new window icon--></a> <a target="blank" href="https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage" data-i18n="comLinkIdeas"><!--Ideas--><!--add opens in new window icon--></a>
</div>
</div>
<div class="c-toggle-field" id="dark-toggle">
<div class="dark-theme-toggle">
<label class="private-form__label private-form__label--small">
<i18n-string data-locale-at-render="en" data-key="DesignEditorsUI.customWidgetEditor.sidebar.fieldEdit.editorOptions.requiredLabel">
<span class="u-text-orange">DM2</span> - <span data-i18n="darkTheme"> <!--Dark Theme--></span>
</i18n-string>
</label>
<label class="uiToggle private-form__toggle-switch private-form__toggle-switch--xs ">
<input type="checkbox" id="darktheme" class="private-form__toggle-input sr-only">
<span class="uiToggleSwitch private-form__toggle-switch__inner" role="presentation">
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--checked" data-i18n="toggleOn">
<!--on-->
</span>
<span class="private-form__toggle-switch__handle">
<svg role="presentation" viewBox="0 0 15 15.343" xmlns="http://www.w3.org/2000/svg"><title data-i18n="toggleCheckmark"></title><path fill="#00a4bd" stroke="#ffffff" stroke-width="2" class="private-form__toggle-switch__icon" d="M1.013 8.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46 2.47 5.492-5.5c.156-.156.346-.234.568-.234.224 0 .413.077.57.233l1.138 1.14c.156.155.234.345.234.568 0 .224-.078.414-.234.57l-6.06 6.06-1.14 1.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03c-.156-.156-.234-.346-.234-.57z"></path></svg>
</span>
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--unchecked" data-i18n="toggleOff">
<!--off-->
</span>
</span>
</label>
</div>
<div id="status"></div>
</div>
<div class="c-toggle-field" id="ui-tweaks-toggle">
<div class="ui-tweaks-toggle">
<label class="private-form__label private-form__label--small">
<i18n-string data-locale-at-render="en" data-key="DesignEditorsUI.customWidgetEditor.sidebar.fieldEdit.editorOptions.requiredLabel">
<span data-i18n="uiTweaksToggleLabel"><!--UI Tweaks/Dev Menu--></span>
</i18n-string>
</label>
<label class="uiToggle private-form__toggle-switch private-form__toggle-switch--xs ">
<input type="checkbox" id="uiTweaks" class="private-form__toggle-input sr-only">
<span class="uiToggleSwitch private-form__toggle-switch__inner" role="presentation">
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--checked" data-i18n="toggleOn">
<!--on-->
</span>
<span class="private-form__toggle-switch__handle">
<svg role="presentation" viewBox="0 0 15 15.343" xmlns="http://www.w3.org/2000/svg"><title data-i18n="toggleCheckmark"></title><path fill="#00a4bd" stroke="#ffffff" stroke-width="2" class="private-form__toggle-switch__icon" d="M1.013 8.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46 2.47 5.492-5.5c.156-.156.346-.234.568-.234.224 0 .413.077.57.233l1.138 1.14c.156.155.234.345.234.568 0 .224-.078.414-.234.57l-6.06 6.06-1.14 1.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03c-.156-.156-.234-.346-.234-.57z"></path></svg>
</span>
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--unchecked" data-i18n="toggleOff">
<!--off-->
</span>
</span>
</label>
</div>
<div id="status"></div>
</div>
<div class="c-sprocky-terms">Sprocky is the Chrome Extension team's 2019 <a href="https://github.com/TheWebTech/HubSpot-Developer-Extension/wiki/What-is-up-with-Sprocky%3F" target="_blank">April Fools joke</a>. By toggling Sprocky on you are stating you understand that Sprocky is a community creation and he is not created by, and his comments are not the views of HubSpot. Enjoy!</div>
<div class="c-toggle-field" id="sprocky-toggle">
<div class="sprocky-toggle">
<label class="private-form__label private-form__label--small">
<i18n-string data-locale-at-render="en" data-key="DesignEditorsUI.customWidgetEditor.sidebar.fieldEdit.editorOptions.requiredLabel">
<span data-i18n="sprockyLabel">Sprocky<!--Sprocky--></span>
</i18n-string>
</label>
<label class="uiToggle private-form__toggle-switch private-form__toggle-switch--xs ">
<input type="checkbox" id="sprocky" class="private-form__toggle-input sr-only">
<span class="uiToggleSwitch private-form__toggle-switch__inner" role="presentation">
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--checked" data-i18n="toggleOn">
<!--on-->
</span>
<span class="private-form__toggle-switch__handle">
<svg role="presentation" viewBox="0 0 15 15.343" xmlns="http://www.w3.org/2000/svg"><title data-i18n="toggleCheckmark"></title><path fill="#00a4bd" stroke="#ffffff" stroke-width="2" class="private-form__toggle-switch__icon" d="M1.013 8.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46 2.47 5.492-5.5c.156-.156.346-.234.568-.234.224 0 .413.077.57.233l1.138 1.14c.156.155.234.345.234.568 0 .224-.078.414-.234.57l-6.06 6.06-1.14 1.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03c-.156-.156-.234-.346-.234-.57z"></path></svg>
</span>
<span class="uiToggleSwitchLabel private-form__toggle-switch__label private-form__toggle-switch__label--unchecked" data-i18n="toggleOff">
<!--off-->
</span>
</span>
</label>
</div>
<div id="status"></div>
</div>
</div>
</div>
</div>
</div>
<a href="" target="_blank" class="c-banner">
<div class="tip__title"></div>
<div class="tip__content"></div>
</a>
<script src="jquery-3.2.1.min.js"></script>
<script src="popup.js"></script>
<script src="easy-translate.js"></script>
</body>
</html>