PageSourceSearch

https://pvantonacci.github.io/assets/js/search-data.js

js pvantonacci.github.io collected 2026-10-03 09:48:00 UTC 15,575 bytes, 489 lines download raw bytes

1// get the ninja-keys element
2const ninja = document.querySelector('ninja-keys');
3
4// add the home and posts menu items
5ninja.data = [{
6    id: "nav-about",
7    title: "About",
8    section: "Navigation",
9    handler: () => {
10      window.location.href = "/";
11    },
12  },{id: "nav-research",
13          title: "Research",
14          description: "",
15          section: "Navigation",
16          handler: () => {
17            window.location.href = "/publications/";
18          },
19        },{id: "nav-cv",
20          title: "CV",
21          description: "",
22          section: "Navigation",
23          handler: () => {
24            window.location.href = "/cv/";
25          },
26        },{id: "post-a-post-with-plotly-js",
27        
28          title: "a post with plotly.js",
29        
30        description: "this is what included plotly.js code could look like",
31        section: "Posts",
32        handler: () => {
33          
34            window.location.href = "/blog/2025/plotly/";
35          
36        },
37      },{id: "post-a-post-with-image-galleries",
38        
39          title: "a post with image galleries",
40        
41        description: "this is what included image galleries could look like",
42        section: "Posts",
43        handler: () => {
44          
45            window.location.href = "/blog/2024/photo-gallery/";
46          
47        },
48      },{id: "post-a-post-with-tabs",
49        
50          title: "a post with tabs",
51        
52        description: "this is what included tabs in a post could look like",
53        section: "Posts",
54        handler: () => {
55          
56            window.location.href = "/blog/2024/tabs/";
57          
58        },
59      },{id: "post-a-post-with-typograms",
60        
61          title: "a post with typograms",
62        
63        description: "this is what included typograms code could look like",
64        section: "Posts",
65        handler: () => {
66          
67            window.location.href = "/blog/2024/typograms/";
68          
69        },
70      },{id: "post-a-post-that-can-be-cited",
71        
72          title: "a post that can be cited",
73        
74        description: "this is what a post that can be cited looks like",
75        section: "Posts",
76        handler: () => {
77          
78            window.location.href = "/blog/2024/post-citation/";
79          
80        },
81      },{id: "post-a-post-with-pseudo-code",
82        
83          title: "a post with pseudo code",
84        
85        description: "this is what included pseudo code could look like",
86        section: "Posts",
87        handler: () => {
88          
89            window.location.href = "/blog/2024/pseudocode/";
90          
91        },
92      },{id: "post-a-post-with-code-diff",
93        
94          title: "a post with code diff",
95        
96        description: "this is how you can display code diffs",
97        section: "Posts",
98        handler: () => {
99          
100            window.location.href = "/blog/2024/code-diff/";
101          
102        },
103      },{id: "post-a-post-with-advanced-image-components",
104        
105          title: "a post with advanced image components",
106        
107        description: "this is what advanced image components could look like",
108        section: "Posts",
109        handler: () => {
110          
111            window.location.href = "/blog/2024/advanced-images/";
112          
113        },
114      },{id: "post-a-post-with-vega-lite",
115        
116          title: "a post with vega lite",
117        
118        description: "this is what included vega lite code could look like",
119        section: "Posts",
120        handler: () => {
121          
122            window.location.href = "/blog/2024/vega-lite/";
123          
124        },
125      },{id: "post-a-post-with-geojson",
126        
127          title: "a post with geojson",
128        
129        description: "this is what included geojson code could look like",
130        section: "Posts",
131        handler: () => {
132          
133            window.location.href = "/blog/2024/geojson-map/";
134          
135        },
136      },{id: "post-a-post-with-echarts",
137        
138          title: "a post with echarts",
139        
140        description: "this is what included echarts code could look like",
141        section: "Posts",
142        handler: () => {
143          
144            window.location.href = "/blog/2024/echarts/";
145          
146        },
147      },{id: "post-a-post-with-chart-js",
148        
149          title: "a post with chart.js",
150        
151        description: "this is what included chart.js code could look like",
152        section: "Posts",
153        handler: () => {
154          
155            window.location.href = "/blog/2024/chartjs/";
156          
157        },
158      },{id: "post-a-post-with-tikzjax",
159        
160          title: "a post with TikZJax",
161        
162        description: "this is what included TikZ code could look like",
163        section: "Posts",
164        handler: () => {
165          
166            window.location.href = "/blog/2023/tikzjax/";
167          
168        },
169      },{id: "post-a-post-with-bibliography",
170        
171          title: "a post with bibliography",
172        
173        description: "an example of a blog post with bibliography",
174        section: "Posts",
175        handler: () => {
176          
177            window.location.href = "/blog/2023/post-bibliography/";
178          
179        },
180      },{id: "post-a-post-with-jupyter-notebook",
181        
182          title: "a post with jupyter notebook",
183        
184        description: "an example of a blog post with jupyter notebook",
185        section: "Posts",
186        handler: () => {
187          
188            window.location.href = "/blog/2023/jupyter-notebook/";
189          
190        },
191      },{id: "post-a-post-with-custom-blockquotes",
192        
193          title: "a post with custom blockquotes",
194        
195        description: "an example of a blog post with custom blockquotes",
196        section: "Posts",
197        handler: () => {
198          
199            window.location.href = "/blog/2023/custom-blockquotes/";
200          
201        },
202      },{id: "post-a-post-with-table-of-contents-on-a-sidebar",
203        
204          title: "a post with table of contents on a sidebar",
205        
206        description: "an example of a blog post with table of contents on a sidebar",
207        section: "Posts",
208        handler: () => {
209          
210            window.location.href = "/blog/2023/sidebar-table-of-contents/";
211          
212        },
213      },{id: "post-a-post-with-audios",
214        
215          title: "a post with audios",
216        
217        description: "this is what included audios could look like",
218        section: "Posts",
219        handler: () => {
220          
221            window.location.href = "/blog/2023/audios/";
222          
223        },
224      },{id: "post-a-post-with-videos",
225        
226          title: "a post with videos",
227        
228        description: "this is what included videos could look like",
229        section: "Posts",
230        handler: () => {
231          
232            window.location.href = "/blog/2023/videos/";
233          
234        },
235      },{id: "post-displaying-beautiful-tables-with-bootstrap-tables",
236        
237          title: "displaying beautiful tables with Bootstrap Tables",
238        
239        description: "an example of how to use Bootstrap Tables",
240        section: "Posts",
241        handler: () => {
242          
243            window.location.href = "/blog/2023/tables/";
244          
245        },
246      },{id: "post-a-post-with-table-of-contents",
247        
248          title: "a post with table of contents",
249        
250        description: "an example of a blog post with table of contents",
251        section: "Posts",
252        handler: () => {
253          
254            window.location.href = "/blog/2023/table-of-contents/";
255          
256        },
257      },{id: "post-a-post-with-giscus-comments",
258        
259          title: "a post with giscus comments",
260        
261        description: "an example of a blog post with giscus comments",
262        section: "Posts",
263        handler: () => {
264          
265            window.location.href = "/blog/2022/giscus-comments/";
266          
267        },
268      },{id: "post-a-post-with-redirect",
269        
270          title: "a post with redirect",
271        
272        description: "you can also redirect to assets like pdf",
273        section: "Posts",
274        handler: () => {
275          
276            window.location.href = "/assets/pdf/example_pdf.pdf";
277          
278        },
279      },{id: "post-a-post-with-diagrams",
280        
281          title: "a post with diagrams",
282        
283        description: "an example of a blog post with diagrams",
284        section: "Posts",
285        handler: () => {
286          
287            window.location.href = "/blog/2021/diagrams/";
288          
289        },
290      },{id: "post-a-distill-style-blog-post",
291        
292          title: "a distill-style blog post",
293        
294        description: "an example of a distill-style blog post and main elements",
295        section: "Posts",
296        handler: () => {
297          
298            window.location.href = "/blog/2021/distill/";
299          
300        },
301      },{id: "post-a-post-with-twitter",
302        
303          title: "a post with twitter",
304        
305        description: "an example of a blog post with twitter",
306        section: "Posts",
307        handler: () => {
308          
309            window.location.href = "/blog/2020/twitter/";
310          
311        },
312      },{id: "post-a-post-with-disqus-comments",
313        
314          title: "a post with disqus comments",
315        
316        description: "an example of a blog post with disqus comments",
317        section: "Posts",
318        handler: () => {
319          
320            window.location.href = "/blog/2015/disqus-comments/";
321          
322        },
323      },{id: "post-a-post-with-math",
324        
325          title: "a post with math",
326        
327        description: "an example of a blog post with some math",
328        section: "Posts",
329        handler: () => {
330          
331            window.location.href = "/blog/2015/math/";
332          
333        },
334      },{id: "post-a-post-with-code",
335        
336          title: "a post with code",
337        
338        description: "an example of a blog post with some code",
339        section: "Posts",
340        handler: () => {
341          
342            window.location.href = "/blog/2015/code/";
343          
344        },
345      },{id: "post-a-post-with-images",
346        
347          title: "a post with images",
348        
349        description: "this is what included images could look like",
350        section: "Posts",
351        handler: () => {
352          
353            window.location.href = "/blog/2015/images/";
354          
355        },
356      },{id: "post-a-post-with-formatting-and-links",
357        
358          title: "a post with formatting and links",
359        
360        description: "march & april, looking forward to summer",
361        section: "Posts",
362        handler: () => {
363          
364            window.location.href = "/blog/2015/formatting-and-links/";
365          
366        },
367      },{id: "books-the-godfather",
368          title: 'The Godfather',
369          description: "",
370          section: "Books",handler: () => {
371              window.location.href = "/books/the_godfather/";
372            },},{id: "news-a-simple-inline-announcement",
373          title: 'A simple inline announcement.',
374          description: "",
375          section: "News",}
375,{id: "news-a-long-announcement-with-details",
376          title: 'A long announcement with details',
377          description: "",
378          section: "News",handler: () => {
379              window.location.href = "/news/announcement_2/";
380            },},{id: "news-a-simple-inline-announcement-with-markdown-emoji-sparkles-smile",
381          title: 'A simple inline announcement with Markdown emoji! :sparkles: :smile:',
382          description: "",
383          section: "News",},{id: "projects-project-1",
384          title: 'project 1',
385          description: "with background image",
386          section: "Projects",handler: () => {
387              window.location.href = "/projects/1_project/";
388            },},{id: "projects-project-2",
389          title: 'project 2',
390          description: "a project with a background image and giscus comments",
391          section: "Projects",handler: () => {
392              window.location.href = "/projects/2_project/";
393            },},{id: "projects-project-3-with-very-long-name",
394          title: 'project 3 with very long name',
395          description: "a project that redirects to another website",
396          section: "Projects",handler: () => {
397              window.location.href = "/projects/3_project/";
398            },},{id: "projects-project-4",
399          title: 'project 4',
400          description: "another without an image",
401          section: "Projects",handler: () => {
402              window.location.href = "/projects/4_project/";
403            },},{id: "projects-project-5",
404          title: 'project 5',
405          description: "a project with a background image",
406          section: "Projects",handler: () => {
407              window.location.href = "/projects/5_project/";
408            },},{id: "projects-project-6",
409          title: 'project 6',
410          description: "a project with no image",
411          section: "Projects",handler: () => {
412              window.location.href = "/projects/6_project/";
413            },},{id: "projects-project-7",
414          title: 'project 7',
415          description: "with background image",
416          section: "Projects",handler: () => {
417              window.location.href = "/projects/7_project/";
418            },},{id: "projects-project-8",
419          title: 'project 8',
420          description: "an other project with a background image and giscus comments",
421          section: "Projects",handler: () => {
422              window.location.href = "/projects/8_project/";
423            },},{id: "projects-project-9",
424          title: 'project 9',
425          description: "another project with an image 🎉",
426          section: "Projects",handler: () => {
427              window.location.href = "/projects/9_project/";
428            },},{
429        id: 'social-email',
430        title: 'email',
431        section: 'Socials',
432        handler: () => {
433          window.open("mailto:%79%6F%75@%65%78%61%6D%70%6C%65.%63%6F%6D", "_blank");
434        },
435      },{
436        id: 'social-inspire',
437        title: 'Inspire HEP',
438        section: 'Socials',
439        handler: () => {
440          window.open("https://inspirehep.net/authors/1010907", "_blank");
441        },
442      },{
443        id: 'social-rss',
444        title: 'RSS Feed',
445        section: 'Socials',
446        handler: () => {
447          window.open("/feed.xml", "_blank");
448        },
449      },{
450        id: 'social-scholar',
451        title: 'Google Scholar',
452        section: 'Socials',
453        handler: () => {
454          window.open("https://scholar.google.com/citations?user=qc6CJjYAAAAJ", "_blank");
455        },
456      },{
457        id: 'social-custom_social',
458        title: 'Custom_social',
459        section: 'Socials',
460        handler: () => {
461          window.open("https://www.alberteinstein.com/", "_blank");
462        },
463      },{
464      id: 'light-theme',
465      title: 'Change theme to light',
466      description: 'Change the theme of the site to Light',
467      section: 'Theme',
468      handler: () => {
469        setThemeSetting("light");
470      },
471    },
472    {
473      id: 'dark-theme',
474      title: 'Change theme to dark',
475      description: 'Change the theme of the site to Dark',
476      section: 'Theme',
477      handler: () => {
478        setThemeSetting("dark");
479      },
480    },
481    {
482      id: 'system-theme',
483      title: 'Use system default theme',
484      description: 'Change the theme of the site to System Default',
485      section: 'Theme',
486      handler: () => {
487        setThemeSetting("system");
488      },
489    },];

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.