-
Notifications
You must be signed in to change notification settings - Fork 1
/
sc-frame-three.html
542 lines (477 loc) · 60.9 KB
/
sc-frame-three.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SC bar demo</title>
<style>
body {
margin: 0;
height: 100%;
font-family: "skolar sans pe";
font-size: 18px;
overflow-x: hidden;
/*When the sidebar expands, don't let the page grow sideways.*/
background-color: rgb(250, 249, 248);
color: rgb(34, 33, 32);
line-height: 1.4;
}
/* Icons */
.icon {
cursor: pointer;
width: 32px;
height: 32px;
fill: white;
display: inline-block;
border-radius: 50%;
}
#sc-logo {
margin: 0 4px 0 8px;
}
#closebtn {
margin: 0 8px 0 0;
}
#openbtn {
margin: 0 8px 0 16px;
}
.activeIcon:hover{
background-color: rgba(255,255,255,0.2);
}
#glass {
margin: 0 8px 0 16px;
}
#threedots {
margin: 0 16px 0 0;
}
/* Sidebar */
#sidebar {
height: 100%;
width: 300px;
position: fixed;
top: 0;
left: 0;
z-index: 10;
/*Ensure that sidebar and topbar remain the same elevation, except when modal sidebar is active on small screens. Also, ensure that the shadow of the sidebar does not show where it butts ou against the topbar. */
background-color: white;
transform: translateX(-300px);
/* Start with sidebar off the screen. Transitions are applied to this property. */
}
#sidebarHead {
background-color: rgb(116, 115, 114);
color: white;
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0 0 8px;
}
#sidebarLeft {
display: flex;
}
#sidebarTitle {
font-family: "skolar pe";
font-variant-caps: small-caps;
font-size: 22.6px;
}
#sidebarBody {
height: 100%
}
ul {
margin: 0;
padding: 48px 36px;
list-style-type: none;
}
li {
padding: 8px 0;
margin: 4px 0;
font-variant-caps: all-small-caps;
letter-spacing: 0.05em;
font-weight: 500
}
li b {
font-weight: 800
}
/* Topbar (AKA toolbar, AKA app-bar)*/
#topbar {
position: sticky;
color: white;
top: 0;
/*Hide the menu icon when opening sidebar.*/
z-index: 10;
/* Ensure main content does not show on animation */
}
/* The first layer of the topbar. */
#titlebar {
background-color: rgb(206, 132, 0);
height: 64px;
display: flex;
justify-content: space-between;
align-items: flex-start; /* This makes it easier to change to the Home page layout. Otherwise use center and no padding.*/
padding-top: 16px;
box-sizing: border-box;
}
#titlebarLeft,
#titlebarRight,
#titlebarCenter {
min-width: 0;
/*Due to a quirk in CSS, this is required to activate the text-overflow ellipsis on the title.*/
display: flex;
}
#titlebarCenter{
display: flex;
flex-direction: column;
justify-content: center;
transform: translateY(60px);
}
#titlebarRight {
box-shadow: 0px 0px 16px rgb(206, 132, 0); /* Since I can't get text-overflow: elipsis to work, maybe a shadow will make it less harsh?*/
background-color: rgb(206, 132, 0);
}
#titlebarTitle {
font-size: 22.6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
/* This only takes effect when the sidebar is closed. I haven't figured out how to apply it when the icons have been transformed.*/
}
#titlebarSiteTitle {
font-size: 48px;
font-family: "skolar pe";
font-variant-caps: small-caps;
text-align: center;
line-height: 0.9;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;/* This only takes effect when the sidebar is closed. I haven't figured out how to apply it when the icons have been transformed.*/
}
#titlebarSiteSubtitle{
text-align: center;
font-style: italic;
font-size: 22.6px;
}
/* The second layer of the topbar, yawn, this is boring. */
#tabbar {
background-color: rgb(179, 120, 0);
padding: 0 16px;
box-sizing: border-box;
height: 40px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05), 2px 2px 2px rgba(0, 0, 0, 0.05), 4px 4px 4px rgba(0, 0, 0, 0.05), 8px 8px 8px rgba(0, 0, 0, 0.05);
}
#tabbar span {
padding: 0px 16px;
display: table-cell;
margin: 0;
line-height: 1;
font-size: 16px;
letter-spacing: 0.5px;
font-weight: 500;
height: 32px;
vertical-align: middle;
border-top: 4px solid rgba(0, 0, 0, 0);
border-bottom: 4px solid rgba(0, 0, 0, 0);
opacity: 0.8;
white-space: pre;
font-variant-caps: all-small-caps;
}
#tabbar span:first-of-type {
border-bottom: 4px solid gold;
font-weight: 700;
opacity: 1;
}
/* Text content. Also boring! */
#content {
margin: 60px 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
padding: 0 16px;
position: relative;
z-index: 0;
}
article {
max-width: 720px;
font-family: "skolar pe"
}
h1 {
color: #757575;
font-family: "skolar pe";
font-variant-caps: small-caps;
font-weight: normal;
text-align: center;
font-size: 38px;
}
/* Transitions. Fun! */
#titlebar, #tabbar{
will-change: transform;
transition: transform 300ms ease-in-out;
}
#titlebarCenter{
transition: transform 300ms ease-in-out;
}
#titlebarSiteSubtitle{
transition: all 300ms ease-in-out;
}
#titlebarSiteTitle{
transition: transform 300ms ease-in-out;
}
/* Add and remove via js to things that move. It is removed to prevent unwanted animations on zoom or page resize. */
.transitionTransformX {
will-change: transform;
transition: transform 200ms ease-in-out;
}
/* Most media queries are handled in JS. This ensures that modal sidebar stays above main content at all times.*/
@media only screen and (min-width: 721px) {
#content {
padding: 0 32px;
}
}
@media only screen and (max-width: 720px) {
#sidebar {
z-index: 20;
}
#topbar, #content{
transition: opacity 200ms ease-in-out;
}
#content {
padding: 0 16px;
}
}
</style>
</head>
<body>
<nav id="sidebar" class="animatableTransformX">
<div id="sidebarHead">
<span id="sidebarLeft">
<span class="icon" id="sc-logo"><svg viewBox="0 0 8000 8000" style="width:30px;height:90%" display="block" pointer-events="none">
<defs />
<g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" transform="matrix(.1 0 0 -.1 0 8000)">
<path d="M39730 74861c-2167-1091-4101-2638-5710-4566a19782 19782 0 01-3767-7108c-3-23 502-1864 1767-6437 975-3523 1773-6416 1775-6430 2-17 8-25 21-24 21 1 3495 1381 3505 1392 4 4-47 117-112 252-1092 2257-1975 5120-2303 7465-153 1094-165 1952-35 2630 299 1565 1104 3144 2265 4440 144 162 517 537 689 694 626 571 1265 1029 2018 1446l177 99v3143c0 1729-3 3142-7 3142-5 0-132-62-283-138zm0 0M15159 64460c-761-2304-1035-4766-809-7267a19782 19782 0 012362-7689c14-19 1673-964 5801-3303 3181-1801 5791-3283 5802-3291 13-11 23-12 32-2 14 15 1495 3447 1494 3462 0 6-116 50-257 99-2368 824-5017 2224-6907 3650-882 666-1497 1264-1885 1835-895 1318-1442 3004-1538 4741a10353 10353 0 00401 3427l55 196-2222 2222a347714 347714 0 01-2227 2217c-3-3-49-137-102-297zm0 0M5139 39730c1091-2167 2638-4101 4566-5710a19782 19782 0 017108-3767c23-3 1864 502 6437 1767 3523 975 6416 1773 6430 1775 17 2 25 8 24 21-1 21-1381 3495-1392 3505-4 4-117-47-252-112-2257-1092-5120-1975-7465-2303-1094-153-1952-165-2630-35-1565 299-3144 1104-4440 2265-162 144-537 517-694 689a10353 10353 0 00-1446 2018l-99 177H8143c-1729 0-3142-3-3142-7 0-5 62-132 138-283zm0 0M15540 15159c2304-761 4766-1035 7267-809a19782 19782 0 017689 2362c19 14 964 1673 3303 5801 1801 3181 3283 5791 3291 5802 11 13 12 23 2 32-15 14-3447 1495-3462 1494-6 0-50-116-99-257-824-2368-2224-5017-3650-6907-666-882-1264-1497-1835-1885-1318-895-3004-1442-4741-1538a10353 10353 0 00-3427 401l-196 55-2222-2222a347714 347714 0 01-2217-2227c3-3 137-49 297-102zm0 0M40270 5139c2167 1091 4101 2638 5710 4566a19782 19782 0 013767 7108c3 23-502 1864-1767 6437-975 3523-1773 6416-1775 6430-2 17-8 25-21 24-21-1-3495-1381-3505-1392-4-4 47-117 112-252 1092-2257 1975-5120 2303-7465 153-1094 165-1952 35-2630-299-1565-1104-3144-2265-4440-144-162-517-537-689-694a10353 10353 0 00-2018-1446l-177-99V8143c0-1729 3-3142 7-3142 5 0 132 62 283 138zm0 0M64841 15540c761 2304 1035 4766 809 7267a19782 19782 0 01-2362 7689c-14 19-1673 964-5801 3303-3181 1801-5791 3283-5802 3291-13 11-23 12-32 2-14-15-1495-3447-1494-3462 0-6 116-50 257-99 2368-824 5017-2224 6907-3650 882-666 1497-1264 1885-1835 895-1318 1442-3004 1538-4741a10353 10353 0 00-401-3427l-55-196 2222-2222c1223-1223 2224-2220 2227-2217s49 137 102 297zm0 0M74861 40270c-1091 2167-2638 4101-4566 5710a19782 19782 0 01-7108 3767c-23 3-1864-502-6437-1767-3523-975-6416-1773-6430-1775-17-2-25-8-24-21 1-21 1381-3495 1392-3505 4-4 117 47 252 112 2257 1092 5120 1975 7465 2303 1094 153 1952 165 2630 35 1565-299 3144-1104 4440-2265 162-144 537-517 694-689 571-626 1029-1265 1446-2018l99-177h3143c1729 0 3142 3 3142 7 0 5-62 132-138 283zm0 0M64460 64841c-2304 761-4766 1035-7267 809a19782 19782 0 01-7689-2362c-19-14-964-1673-3303-5801-1801-3181-3283-5791-3291-5802-11-13-12-23-2-32 15-14 3447-1495 3462-1494 6 0 50 116 99 257 824 2368 2224 5017 3650 6907 666 882 1264 1497 1835 1885 1318 895 3004 1442 4741 1538a10353 10353 0 003427-401l196-55 2222 2222c1223 1223 2220 2224 2217 2227s-137 49-297 102zm0 0" />
<path d="M40270 74861c2167-1091 4101-2638 5710-4566a19782 19782 0 003767-7108c3-23-502-1864-1767-6437-975-3523-1773-6416-1775-6430-2-17-8-25-21-24-21 1-3495 1381-3505 1392-4 4 47 117 112 252 1092 2257 1975 5120 2303 7465 153 1094 165 1952 35 2630-299 1565-1104 3144-2265 4440-144 162-517 537-689 694a10353 10353 0 01-2018 1446l-177 99v3143c0 1729 3 3142 7 3142 5 0 132-62 283-138zm0 0M64841 64460c761-2304 1035-4766 809-7267a19782 19782 0 00-2362-7689c-14-19-1673-964-5801-3303-3181-1801-5791-3283-5802-3291-13-11-23-12-32-2-14 15-1495 3447-1494 3462 0 6 116 50 257 99 2368 824 5017 2224 6907 3650 882 666 1497 1264 1885 1835 895 1318 1442 3004 1538 4741a10353 10353 0 01-401 3427l-55 196 2222 2222c1223 1223 2224 2220 2227 2217s49-137 102-297zm0 0M74861 39730c-1091-2167-2638-4101-4566-5710a19782 19782 0 00-7108-3767c-23-3-1864 502-6437 1767-3523 975-6416 1773-6430 1775-17 2-25 8-24 21 1 21 1381 3495 1392 3505 4 4 117-47 252-112 2257-1092 5120-1975 7465-2303 1094-153 1952-165 2630-35 1565 299 3144 1104 4440 2265 162 144 537 517 694 689 571 626 1029 1265 1446 2018l99 177h3143c1729 0 3142-3 3142-7 0-5-62-132-138-283zm0 0M64460 15159c-2304-761-4766-1035-7267-809a19782 19782 0 00-7689 2362c-19 14-964 1673-3303 5801-1801 3181-3283 5791-3291 5802-11 13-12 23-2 32 15 14 3447 1495 3462 1494 6 0 50-116 99-257 824-2368 2224-5017 3650-6907 666-882 1264-1497 1835-1885 1318-895 3004-1442 4741-1538a10353 10353 0 013427 401l196 55 2222-2222c1223-1223 2220-2224 2217-2227s-137-49-297-102zm0 0M39730 5139c-2167 1091-4101 2638-5710 4566a19782 19782 0 00-3767 7108c-3 23 502 1864 1767 6437 975 3523 1773 6416 1775 6430 2 17 8 25 21 24 21-1 3495-1381 3505-1392 4-4-47-117-112-252-1092-2257-1975-5120-2303-7465-153-1094-165-1952-35-2630 299-1565 1104-3144 2265-4440 144-162 517-537 689-694 626-571 1265-1029 2018-1446l177-99V8143c0-1729-3-3142-7-3142-5 0-132 62-283 138zm0 0M15159 15540c-761 2304-1035 4766-809 7267a19782 19782 0 002362 7689c14 19 1673 964 5801 3303 3181 1801 5791 3283 5802 3291 13 11 23 12 32 2 14-15 1495-3447 1494-3462 0-6-116-50-257-99-2368-824-5017-2224-6907-3650-882-666-1497-1264-1885-1835-895-1318-1442-3004-1538-4741a10353 10353 0 01401-3427l55-196-2222-2222a347714 347714 0 00-2227-2217c-3 3-49 137-102 297zm0 0M5139 40270c1091 2167 2638 4101 4566 5710a19782 19782 0 007108 3767c23 3 1864-502 6437-1767 3523-975 6416-1773 6430-1775 17-2 25-8 24-21-1-21-1381-3495-1392-3505-4-4-117 47-252 112-2257 1092-5120 1975-7465 2303-1094 153-1952 165-2630 35-1565-299-3144-1104-4440-2265-162-144-537-517-694-689a10353 10353 0 01-1446-2018l-99-177H8143c-1729 0-3142 3-3142 7 0 5 62 132 138 283zm0 0M15540 64841c2304 761 4766 1035 7267 809a19782 19782 0 007689-2362c19-14 964-1673 3303-5801 1801-3181 3283-5791 3291-5802 11-13 12-23 2-32-15-14-3447-1495-3462-1494-6 0-50 116-99 257-824 2368-2224 5017-3650 6907-666 882-1264 1497-1835 1885-1318 895-3004 1442-4741 1538a10353 10353 0 01-3427-401l-196-55-2222 2222a347714 347714 0 00-2217 2227c3 3 137 49 297 102zm0 0" />
<circle cx="40000" cy="40000" r="6000" />
</g>
</svg></span>
<span id="sidebarTitle">SuttaCentral</span>
</span>
<span id="sidebarRight">
<span class="icon activeIcon" id="closebtn" onclick="closeNav()"><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="-4 -4 24 24" width="24">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" /></svg></span>
</span>
</div>
<div id="sidebarBody">
<ul>
<li><b>Sutta</b></li>
<li>Long</li>
<li> Middle</li>
<li>Connected</li>
<li> Numbered</li>
<li><b>Vinaya</b></li>
<li><b>Abhidhamma</b></li>
</ul>
</div>
</nav>
<header id="topbar" class="animatableTransformX animatableTransformY">
<div id="titlebar">
<span id="titlebarLeft" class="animatableTransformX">
<span class="icon activeIcon animatableTransformX" id="openbtn" onclick="openNav()"><svg viewBox="-4 -4 24 24" preserveAspectRatio="xMidYMid meet" focusable="false" style="pointer-events: none; display: block; width: 24; height: 24;">
<g>
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>
</g>
</svg></span>
<span id="titlebarTitle" class="animatableTransformX">De Finibus Bonorum et Malorum — Cicero</span>
</span>
<span id="titlebarRight" class="animatableTransformX">
<span class="icon" id="glass"><svg viewBox="-4 -4 24 24" preserveAspectRatio="xMidYMid meet" focusable="false" style="pointer-events: none; display: block; width: 24; height: 24;">
<g>
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</g>
</svg></span>
<span class="icon" id="threedots"><svg viewBox="-4 -4 24 24" preserveAspectRatio="xMidYMid meet" focusable="false" style="pointer-events: none; display: block; width: 24; height: 24;">
<g>
<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path>
</g>
</svg></span>
</span>
</div>
<div id="tabbar">
<span>Text</span>
<span>Information</span>
<span>Tools</span>
<span>Parallels</span>
</div>
</header>
<main id="content" class="animatableTransformX">
<article id="article" class="animatableTransformX">
<h1>De Finibus Bonorum et Malorum</h1>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
<p><x>But</x> <x>I</x> <x>must</x> <x>explain</x> <x>to</x> <x>you</x> <x>how</x> <x>all</x> <x>this</x> <x>mistaken</x> <x>idea</x> <x>of</x> <x>denouncing</x> <x>pleasure</x> <x>and</x> <x>praising</x> <x>pain</x> <x>was</x> <x>born</x> <x>and</x> <x>I</x> <x>will</x> <x>give</x> <x>you</x> <x>a</x> <x>complete</x> <x>account</x> <x>of</x> <x>the</x> <x>system,</x> <x>and</x> <x>expound</x> <x>the</x> <x>actual</x> <x>teachings</x> <x>of</x> <x>the</x> <x>great</x> <x>explorer</x> <x>of</x> <x>the</x> <x>truth,</x> <x>the</x> <x>master-builder</x> <x>of</x> <x>human</x> <x>happiness.</x> <x>No</x> <x>one</x> <x>rejects,</x> <x>dislikes,</x> <x>or</x> <x>avoids</x> <x>pleasure</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pleasure,</x> <x>but</x> <x>because</x> <x>those</x> <x>who</x> <x>do</x> <x>not</x> <x>know</x> <x>how</x> <x>to</x> <x>pursue</x> <x>pleasure</x> <x>rationally</x> <x>encounter</x> <x>consequences</x> <x>that</x> <x>are</x> <x>extremely</x> <x>painful.</x> <x>Nor</x> <x>again</x> <x>is</x> <x>there</x> <x>anyone</x> <x>who</x> <x>loves</x> <x>or</x> <x>pursues</x> <x>or</x> <x>desires</x> <x>to</x> <x>obtain</x> <x>pain</x> <x>of</x> <x>itself,</x> <x>because</x> <x>it</x> <x>is</x> <x>pain,</x> <x>but</x> <x>because</x> <x>occasionally</x> <x>circumstances</x> <x>occur</x> <x>in</x> <x>which</x> <x>toil</x> <x>and</x> <x>pain</x> <x>can</x> <x>procure</x> <x>him</x> <x>some</x> <x>great</x> <x>pleasure.</x> <x>To</x> <x>take</x> <x>a</x> <x>trivial</x> <x>example,</x> <x>which</x> <x>of</x> <x>us</x> <x>ever</x> <x>undertakes</x> <x>laborious</x> <x>physical</x> <x>exercise,</x> <x>except</x> <x>to</x> <x>obtain</x> <x>some</x> <x>advantage</x> <x>from</x> <x>it?</x> <x>But</x> <x>who</x> <x>has</x> <x>any</x> <x>right</x> <x>to</x> <x>find</x> <x>fault</x> <x>with</x> <x>a</x> <x>man</x> <x>who</x> <x>chooses</x> <x>to</x> <x>enjoy</x> <x>a</x> <x>pleasure</x> <x>that</x> <x>has</x> <x>no</x> <x>annoying</x> <x>consequences,</x> <x>or</x> <x>one</x> <x>who</x> <x>avoids</x> <x>a</x> <x>pain</x> <x>that</x> <x>produces</x> <x>no</x> <x>resultant</x> pleasure?</p>
</article>
</main>
<script>
var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
document.getElementById("titlebar").style.transform = "none";
document.getElementById("tabbar").style.transform = "none";
document.getElementById("tabbar").style.boxShadow = "1px 1px 1px rgba(0,0,0,0.05), 2px 2px 2px rgba(0,0,0,0.05), 4px 4px 4px rgba(0,0,0,0.05), 8px 8px 8px rgba(0,0,0,0.05)";
} else {
document.getElementById("titlebar").style.transform = "translateY(-104px)";
document.getElementById("tabbar").style.transform = "translateY(-104px)";
document.getElementById("tabbar").style.boxShadow = "none";
}
prevScrollpos = currentScrollPos;
}
function openNav() {
document.getElementById("sidebar").style.transform = "none"; // Move sidebar on to page.
document.getElementById("sidebar").style.boxShadow = "1px 1px 1px rgba(0,0,0,0.05), 2px 2px 2px rgba(0,0,0,0.05), 4px 4px 4px rgba(0,0,0,0.05), 8px 8px 8px rgba(0,0,0,0.05)"; // Add shadow so that sidebar sits at same height as topbar.
document.querySelectorAll('.animatableTransformX').forEach(el => el.classList.add('transitionTransformX')); // Apply class to get elements ready for transition.
setTimeout(function() {
document.querySelectorAll('.animatableTransformX').forEach(el => el.classList.remove('transitionTransformX'));
}, 500);// Remove class to prevent unwanted transitions when zooming or resizing.
var mqls = [
window.matchMedia("(max-width: 720px)"),
window.matchMedia("(min-width: 721px) and (max-width: 1084px)"),
window.matchMedia("(min-width: 1085px)")
]
function mediaqueryresponse(mql){
if (mqls[0].matches){ // small width
document.getElementById("topbar").style.transform = "none";
document.getElementById("content").style.transform = "none"; // Ensure container is always centered when in small width.
document.getElementById("titlebarRight").style.transform = "none"; //Ensure titlebar elements are in normal position
document.getElementById("titlebarLeft").style.transform = "none";
document.getElementById("titlebarLeft").style.pointerEvents = "auto";
document.getElementById("openbtn").style.opacity = "1";
document.getElementById("article").style.width = "100%";
document.getElementById("article").style.transform = "none";
document.getElementById("topbar").style.opacity = "0.5";
document.getElementById("content").style.opacity = "0.5"; // Create blur with opacity. Normally you add a shim, but this seems simpler and looks fine.
document.getElementById("topbar").style.filter = "blur(4px)";
document.getElementById("content").style.filter = "blur(4px)";
}
if (mqls[1].matches){ // medium width
document.getElementById("topbar").style.transform = "translateX(300px)";
document.getElementById("content").style.transform = "translateX(300px)"; // Push topbar and main content 300px to the right.
document.getElementById("titlebarRight").style.transform = "translateX(-300px)"; // Move icons back so they stay in place.
document.getElementById("titlebarLeft").style.transform = "translateX(-42px)"; //Shift open button and topbar title to the left.
document.getElementById("titlebarLeft").style.pointerEvents = "none";
setTimeout(function() {
document.getElementById("openbtn").style.opacity = "0";
}, 100);
document.getElementById("article").style.transform = "translateX(-150px)"; // This finds the right position on the page
document.getElementById("article").style.width = "calc(100vw - 364px)"; // calculate article width = page width minus sidebar minus padding
document.getElementById("topbar").style.opacity = "1";
document.getElementById("content").style.opacity = "1"; // Ensure that blur is removed when the modal sidebar has been opened, and then the screen is resized smaller.
document.getElementById("topbar").style.filter = "none";
document.getElementById("content").style.filter = "none";
}
if (mqls[2].matches){ // big width
document.getElementById("topbar").style.transform = "translateX(300px)";
document.getElementById("content").style.transform = "translateX(300px)"; // Push topbar and main content 300px to the right.
document.getElementById("titlebarRight").style.transform = "translateX(-300px)"; // Move icons back so they stay in place.
document.getElementById("titlebarLeft").style.transform = "translateX(-42px)"; //Shift open button and topbar title to the left.
document.getElementById("titlebarLeft").style.pointerEvents = "none";
setTimeout(function() {
document.getElementById("openbtn").style.opacity = "0";
}, 100);
document.getElementById("article").style.width = "100%";
document.getElementById("article").style.transform = "translateX(-150px)";
document.getElementById("topbar").style.opacity = "1";
document.getElementById("content").style.opacity = "1"; // Ensure that blur is removed when the modal sidebar has been opened, and then the screen is resized smaller.
document.getElementById("topbar").style.filter = "none";
document.getElementById("content").style.filter = "none";
}
}
for (var i=0; i<mqls.length; i++){
mediaqueryresponse(mqls[i]) // call listener function explicitly at run time
mqls[i].addListener(mediaqueryresponse) // attach listener function to listen in on state changes
}
}
function closeNav() {
document.getElementById("sidebar").style.transform = "translateX(-300px)"; // Move sidebar off page.
setTimeout(function() {
document.getElementById("sidebar").style.boxShadow = "none";
}, 200);
document.querySelectorAll('.animatableTransformX').forEach(el => el.classList.add('transitionTransformX')); // Apply class to get elements ready for transition.
setTimeout(function() {
document.querySelectorAll('.animatableTransformX').forEach(el => el.classList.remove('transitionTransformX'));
}, 500);// Remove class to prevent unwanted transitions when zooming or resizing.
var mqls = [
window.matchMedia("(max-width: 720px)"),
window.matchMedia("(min-width: 721px) and (max-width: 1084px)"),
window.matchMedia("(min-width: 1085px)")
]
function mediaqueryresponse(mql){
if (mqls[0].matches){ // small width
document.getElementById("topbar").style.transform = "none";
document.getElementById("content").style.transform = "none";
document.getElementById("titlebarRight").style.transform = "none";
document.getElementById("titlebarLeft").style.transform = "none";
document.getElementById("titlebarLeft").style.pointerEvents = "auto";
document.getElementById("openbtn").style.opacity = "1";
document.getElementById("article").style.width = "100%";
document.getElementById("article").style.transform = "none";
document.getElementById("topbar").style.opacity = "1";
document.getElementById("content").style.opacity = "1"; // Make container look normal
document.getElementById("topbar").style.filter = "none";
document.getElementById("content").style.filter = "none";
}
if (mqls[1].matches){ // medium width
document.getElementById("topbar").style.transform = "none";
document.getElementById("content").style.transform = "none"; // Return topbar and main content to normal.
document.getElementById("titlebarRight").style.transform = "none"; // Move icons back so they stay in place.
document.getElementById("titlebarLeft").style.transform = "none"; //Shift open button and topbar title to normal.
document.getElementById("titlebarLeft").style.pointerEvents = "auto";
setTimeout(function() {
document.getElementById("openbtn").style.opacity = "1";
}, 100);
document.getElementById("article").style.transform = "none";
document.getElementById("article").style.width = "100%";
document.getElementById("topbar").style.opacity = "1";
document.getElementById("content").style.opacity = "1"; // Remove blur
document.getElementById("topbar").style.filter = "none";
document.getElementById("content").style.filter = "none";
}
if (mqls[2].matches){ // big width
document.getElementById("topbar").style.transform = "none";
document.getElementById("content").style.transform = "none"; // Return topbar and main content to normal.
document.getElementById("titlebarRight").style.transform = "none"; // Move icons back so they stay in place.
document.getElementById("titlebarLeft").style.transform = "none"; // Return open button and topbar title to normal.
setTimeout(function() {
document.getElementById("openbtn").style.opacity = "1";
}, 100);
document.getElementById("titlebarLeft").style.pointerEvents = "auto";
document.getElementById("article").style.width = "100%";
document.getElementById("article").style.transform = "none";
document.getElementById("topbar").style.opacity = "1";
document.getElementById("content").style.opacity = "1"; // Remove blur
document.getElementById("topbar").style.filter = "none";
document.getElementById("content").style.filter = "none";
}
}
for (var i=0; i<mqls.length; i++){
mediaqueryresponse(mqls[i]) // call listener function explicitly at run time
mqls[i].addListener(mediaqueryresponse) // attach listener function to listen in on state changes
}
}
</script>
</body>
</html>