-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
252 lines (238 loc) · 16.1 KB
/
index.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
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<title id="tab-title" data-bind="text: [
Wiki.pageName(),
Wiki.pageType(),
'PokéClicker Wiki'
].filter(x => x != undefined && x != '').join(' - ')">PokéClicker Wiki</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link href="./pokeclicker/docs/assets/images/favicon.ico" rel="icon" type="image/x-icon">
<!--jQuery-->
<script src="./pokeclicker/docs/libs/jquery.min.js"></script>
<!--Knockout-->
<script src="./pokeclicker/docs/libs/knockout-latest.js"></script>
<!-- New module-based code from './modules' -->
<script src="./pokeclicker/docs/scripts/modules.min.js?v=0.10.21"></script>
<!--Minified scripts-->
<script src="./pokeclicker/docs/scripts/script.min.js?v=0.10.21"></script>
<!--Bootstrap-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
<!--Datatables-->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs5/dt-1.13.1/cr-1.6.1/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs5/dt-1.13.1/cr-1.6.1/datatables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/plug-ins/1.13.6/api/order.neutral().min.js"></script>
<!--Simple Markdown Editor-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
<link href="./styles.css?t=1720507500398" rel="stylesheet">
</head>
<body class="no-select">
<!-- Have this 2nd navbar for spacing of the body -->
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-3">
<div class="container-fluid">
<a class="navbar-brand" href="#!">PokéClicker Wiki</a>
</div>
<div class="collapse navbar-collapse main-nav-collapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<!-- <li class="nav-item">
<a class="nav-link" href="#!">Home</a>
</li> -->
</ul>
<div class="d-flex">
<a data-bs-toggle="modal" data-bs-target="#settings-modal" tabindex="-1" class="btn btn-primary ml-1">⚙️</a>
</div>
</div>
</nav>
<nav id="nav-bar" class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<link id="theme-link" href="https://cdn.jsdelivr.net/npm/bootswatch@5.2.3/dist/yeti/bootstrap.min.css" rel="stylesheet" data-bind="attr: {href: 'https://cdn.jsdelivr.net/npm/bootswatch@5.2.3/dist/' + Settings.getSetting('theme').observableValue() + '/bootstrap.min.css'}">
<div class="container-fluid">
<a class="navbar-brand" href="#!">PokéClicker Wiki</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".main-nav-collapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse main-nav-collapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<!-- <li class="nav-item">
<a class="nav-link" href="#!">Home</a>
</li> -->
</ul>
<div class="d-flex">
<div class="input-group">
<input id="search" type="text" class="form-control typeahead text-dark" autocomplete="off" placeholder="Search" />
<button type="button" class="btn bg-transparent text-dark px-2" style="position: absolute; right: 0; z-index: 100;" aria-label="Clear Search" onclick="document.getElementById('search').value = '';document.getElementById('search').dispatchEvent(new Event('input'));">×</button>
</div>
<a data-bs-toggle="modal" data-bs-target="#settings-modal" tabindex="-1" class="btn btn-secondary ml-1">
<img src="./images/settings.svg" width="22px" />
</a>
<!-- ko ifnot: Wiki.discord.ID() -->
<a href="#!" tabindex="-1" class="btn btn-secondary ml-1" data-bind="attr: { href: `https://discord.pokeclicker.com/proxy?action=login&redirect_uri=${encodeURIComponent(location.origin + location.pathname)}` }">
<img src="./images/user.svg" width="22px" />
</a>
<!-- /ko -->
<!-- ko if: Wiki.discord.ID() -->
<a data-bs-toggle="modal" data-bs-target="#user-modal" tabindex="-1" class="btn btn-secondary p-0" data-bind="tooltip: {
title: Wiki.discord.username ?? '',
html: false,
placement: 'left',
trigger: 'hover'
}">
<img data-bind="attr: { src: `${Wiki.discord.avatar()}` }" onerror="this.src = 'https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a69f118df70ad7828d4_icon_clyde_blurple_RGB.svg'; this.style.padding = '6px'" width="36px" height="36px"/>
</a>
<!-- /ko -->
</div>
</div>
</div>
</nav>
<main role="main" class="container" id="main-content">
<nav id="breadcrumbs" aria-label="breadcrumb">
<ol class="breadcrumb">
<li data-bind="class: 'breadcrumb-item' + (!Wiki.pageType() && !Wiki.pageName() ? ' active' : '')">
<!-- ko if: Wiki.pageType() -->
<a href="#!">Home</a>
<!-- /ko -->
<!-- ko ifnot: Wiki.pageType() -->
<span>Home</span>
<!-- /ko -->
</li>
<!-- ko if: Wiki.pageType() -->
<li data-bind="class: 'breadcrumb-item' + (Wiki.pageType() && !Wiki.pageName() ? ' active' : '')">
<!-- ko if: Wiki.pageName() -->
<a href="#!" data-bind="text: Wiki.pageType(), attr: { href: `#!${Wiki.pageType()}` }"></a>
<!-- /ko -->
<!-- ko ifnot: Wiki.pageName() -->
<span data-bind="text: Wiki.pageType()"></span>
<!-- /ko -->
</li>
<!-- /ko -->
<!-- ko if: Wiki.pageName() -->
<li data-bind="class: 'breadcrumb-item' + (Wiki.pageType() && Wiki.pageName() ? ' active' : '')">
<span data-bind="text: Wiki.pageName()"></span>
</li>
<!-- /ko -->
<!-- ko if: Wiki.discord.ID() -->
<li class="ms-auto">
<a href="#!" data-bind="attr: { href: `#!${Wiki.pageType() || ''}/${Wiki.pageName() || ''}/edit` }">Edit</a>
</li>
<!-- /ko -->
</ol>
</nav>
<div id="page-title">
<!-- ko if: Wiki.pageType() -->
<h1 data-bind="text: Wiki.pageName() ? Wiki.pageName() : Wiki.pageType()"></h1>
<!-- /ko -->
</div>
<div id="wiki-page-custom-content-description"></div>
<div id="page-table-of-contents">
<!-- ko if: Wiki.pageType() && false -->
<div class="border">
<h2>Table of content</h2>
<div>Still work in progress. Will be autogenerated later on.</div>
</div>
<!-- /ko -->
</div>
<div id="wiki-page-content"></div>
<div id="wiki-page-custom-content"></div>
</main>
<footer id="footer" class="footer position-static bottom-0 py-3 navbar-dark bg-dark text-bg-dark">
<div class="container">
<p>
<strong>Disclaimer!</strong>
<br/>This wiki is a work in progress and there may be some missing information or bugs.
<span class="float-end">Up to date as of <code data-bind="text: `v${Wiki.package.version}`"></code></span>
</p>
</div>
</footer>
<div id="toaster"></div>
<div class="modal" id="settings-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Settings</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="table-responsive">
<table class="table table-hover table-striped table-bordered">
<thead class="thead-dark">
<tr>
<th>Name</th>
<th>Option</th>
</tr>
</thead>
<tbody>
<tr data-bind="with: Settings.getSetting('theme')">
<td class="p-2" data-bind="text: $data.displayName"></td>
<td class="p-0">
<select class="form-select" onchange="Settings.setSettingByName(this.name, this.value); Settings.saveDefault();" data-bind="foreach: $data.options, attr: {name}">
<option data-bind="text: $data.text, value: $data.value, attr:{ selected: $parent.observableValue() == $data.value}"></option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<template id="loading">
<div class="text-center" style="margin-top: 30%;">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" preserveAspectRatio="xMidYMid" viewBox="0 0 100 100">
<defs>
<path id="a" fill="#e3e3e3" d="m89.524001 39.431069 5.172118-2.472061s-.257402 3.779332-2.439489 3.945783c-2.38797.182156-2.732629-1.473722-2.732629-1.473722z"></path>
<path id="b" d="M91.80998109 39.84823876a.26324135.48598403-2.241 0 1-.24403631.49590579.26324135.48598403-2.241 0 1-.28204403-.4753188.26324135.48598403-2.241 0 1 .2440373-.49590583.26324135.48598403-2.241 0 1 .28204304.47531884z"></path>
</defs>
<g transform="translate(50 50)">
<g transform="scale(1 -1)">
<g transform="translate(-50 -50)">
<g transform="rotate(344.744 50 50)">
<animateTransform attributeName="transform" calcMode="spline" dur="1.5s" keySplines="0.5 0 0.5 1" keyTimes="0;1" repeatCount="indefinite" type="rotate" values="0 50 50;360 50 50"></animateTransform>
<circle cx="50" cy="50" r="39.891" fill="none" stroke="#725daf" stroke-dasharray="0 300" stroke-width="14.4">
<animate attributeName="stroke-dasharray" calcMode="linear" dur="1.5s" keySplines="0 1 1 0;0 1 1 0" keyTimes="0;0.5;1" repeatCount="indefinite" values="10 300;57.6477853704012 300;4 300"></animate>
</circle>
<circle cx="50" cy="50" r="39.891" fill="none" stroke="#725daf" stroke-dasharray="0 300" stroke-width="7.2">
<animate attributeName="stroke-dasharray" calcMode="linear" dur="1.5s" keySplines="0 1 1 0;0 1 1 0" keyTimes="0;0.5;1" repeatCount="indefinite" values="10 300;57.6477853704012 300;4 300"></animate>
</circle>
<circle cx="50" cy="50" r="32.771" fill="none" stroke="#2f2452" stroke-dasharray="0 300">
<animate attributeName="stroke-dasharray" calcMode="linear" dur="1.5s" keySplines="0 1 1 0;0 1 1 0" keyTimes="0;0.5;1" repeatCount="indefinite" values="10 300;47.3584411113639 300;4 300"></animate>
</circle>
<circle cx="50" cy="50" r="47.371" fill="none" stroke="#2f2452" stroke-dasharray="0 300">
<animate attributeName="stroke-dasharray" calcMode="linear" dur="1.5s" keySplines="0 1 1 0;0 1 1 0" keyTimes="0;0.5;1" repeatCount="indefinite" values="10 300;69.03543042113347 300;4 300"></animate>
</circle>
</g>
</g>
</g>
</g>
<g fill="#8e44ad" stroke="#240731" transform="rotate(15.256 50 50)">
<animateTransform attributeName="transform" calcMode="spline" dur="1.5s" keySplines="0.5 0 0.5 1" keyTimes="0;1" repeatCount="indefinite" type="rotate" values="360 50 50;0 50 50"></animateTransform>
<path fill="#725daf" stroke="#2f2452" d="M82.854264 49.905035c0 .9.645736 2.694965 1.745736 3.794965.3.3.8.6 1 1 .2.5.2 1-.1 1.5-.3.5-.8.9-1.1 1.3-.5.5-.8 1.1-.9 1.7-.2.6-.2 1.2.2 1.8.6 1 2 1.7 2 2.8-.1.9-1 1.5-1.4 2.2-.3.6-.4 1.2-.2 1.9s.5 1.3 1 1.8c1 1 2.4 1.4 3.9 1.5-1.1-1-1.2-2.7-.5-4 .7-1.2 2.2-1.9 2.5-3.3.2-1.2-.4-2.5.1-3.6.7-1.5 3.3-1.3 4.1-2.9.3-.9 0-1.9.3-2.8.2-.7.6-1.1 1-1.5.4-.4.714242-.899514.814242-1.599514.1-.5.106782-.959111.106782-1.659111"></path>
</g>
<g stroke="#240731" transform="rotate(2.241 50 50)">
<path fill="#725daf" stroke="#2f2452" d="M82.8 50c-.1-3.1-.4-6.2-1.3-9.2-.1-.4-.2-.8-.2-1.2-.1-.4-.1-.8 0-1.2.1-.8.3-1.6.7-2.4.8-1.5 2-3 3.8-3.9 1.8-.9 3.8-1 5.6-.2.9.4 1.7 1 2.4 1.8.3.4.7.8 1 1.3.2.5.4 1 .6 1.6 1.4 4.3 1.9 8.8 1.9 13.3"></path>
<animateTransform attributeName="transform" begin="-0.15000000000000002s" calcMode="spline" dur="1.5s" keySplines="0.5 0 0.5 1" keyTimes="0;1" repeatCount="indefinite" type="rotate" values="360 50 50;0 50 50"></animateTransform>
<g stroke="none" transform="rotate(-12.807 88.730478 39.416542)">
<ellipse cx="88.700462" cy="39.417717" fill="#2f2452" rx="5.9977589" ry="5.9572597"></ellipse>
<use xlink:href="#a"></use>
<use xlink:href="#b"></use>
<path fill="#be4868" d="m91.135628 42.691435-4.85622.18758s2.456885 1.547765 4.85622-.18758z"></path>
<path fill="#fff" d="m86.704835 42.862338.223921.543595.176135-.55925zm3.567057-.137104.223921.543595.176135-.55925z"></path>
<g transform="scale(-1 1) rotate(4.482 -.00003224 -2228.00389913)">
<use xlink:href="#a"></use>
<use xlink:href="#b"></use>
</g>
</g>
</g>
</svg>
</div>
</template>
<!-- Main wiki script -->
<script src="bundle.js?t=1728794141278"></script>
</body>
</html>