PageSourceSearch

https://bronislawpilsudski.pl/wp-content/themes/kadence-child/js/custom.js?ver=6.2.13

js bronislawpilsudski.pl collected 2026-10-03 01:27:35 UTC 91,294 bytes, 2,624 lines download raw bytes

1function addOverlayToImg() {
2    const newEl = document.createElement('div');
3    newEl.classList.add('img-overlay');
4    document.querySelector('.post-thumbnail-inner').appendChild(newEl);
5
6}
7
8document.addEventListener('DOMContentLoaded', (event) => {
9
10    addEventOnMenu()
11    if (document.body.classList.contains('post-template-default')) {
12        addOverlayToImg();
13        changeExternLenght();
14    }
15	
16    if (location.href.includes('mapa-podrozy/') || location.href.includes('en/travel-map/') || location.href.includes('ja/')) {
17		addMapToPage();
18    }
19	
20    if (location.href.includes('/?s=') && !location.href.includes('/en/?s=')) {
21        changeSearchTitle();
22    }
23    if (location.href.includes('kalendarium')) {
24        addBlank();
25    }
26});
27
28const addBlank = () => {
29    const allLinks = document.querySelectorAll('.btn-left.another-page a');
30    allLinks.forEach(link => link.target = "_blank");
31}
32
33const addEventOnMenu = () => {
34    const dropItems = document.querySelectorAll('#mobile-menu .menu-item-has-children');
35    const classesToAdd = ['show-drawer', 'active', 'pop-animated'];
36    dropItems.forEach(item => {
37        item.addEventListener('mouseenter', () => {
38            item.lastElementChild.classList.add(...classesToAdd);
39        })
40        item.addEventListener('mouseleave', () => {
41            item.lastElementChild.classList.remove(...classesToAdd);
42        })
43    })
44}
45
46const changeSearchTitle = () => {
47    const title = document.querySelector('.page-title.search-title').innerHTML;
48    document.querySelector('.page-title.search-title').innerHTML = title.replace('Search Results for', 'Wyniki wyszukiwania dla');
49}
50
51const changeExternLenght = () => {
52    const externs = document.querySelectorAll('p.excerpt.post_excerpt');
53    externs.forEach(extern => {
54        extern.innerText = extern.innerText.slice(0, 50);
55        if (!extern.innerText.includes('...')) extern.innerText = extern.innerText + '...';
56    })
57}
58/*MAP*/
59const markersEN = [
60    {
61        id: 1,
62        coordinates: [54.972222, 25.975],
63        desc: {
64            title: 'ZUŁÓW',
65            content: 'place of birth, family home, childhood',
66            img: [{
67                src: '/wp-content/uploads/2021/12/1_Zulow-1.jpg',
68                description: 'Zułów, view of Piorun Lake. '
69            },
70            {
71                src: '/wp-content/uploads/2021/12/1_Zulow-2.jpg',
72                description: 'Zułów, outline of the foundations of the Piłsudskis’ manor and the smokehouse.'
73            }
74            ]
75        },
76        group: 'home'
77    },
78    {
79        id: 2,
80        coordinates: [54.683333, 25.283333],
81        desc: {
82            title: 'VILNIUS',
83            content: 'education, gymnasium, apartments, “Spójnia,” mother’s death',
84            img: [{
85                src: '/wp-content/uploads/2021/12/2_Wilno1.jpg',
86                description: 'House at Trocka Street – Piłsudskis’ first apartment in Vilnius.'
87            }]
88        },
89        group: 'home'
90    },
91    {
92        id: 3,
93        coordinates: [59.933333, 30.266667],
94        desc: {
95            title: 'ST. PETERSBURG',
96            content: 'gymnasium, university, detention, trial, place of father’s and Maria Żarnowska’s death',
97            img: [{
98                src: '/wp-content/uploads/2021/12/3_Petersburg_Easy-Resize.com_.jpg',
99                description: 'St. Petersburg in the late 19th century.'
100            },
101            {
102                src: '/wp-content/uploads/2022/05/Petersburg-scaled.jpg',
103                description: 'The tenement house where Bronisław Piłsudski rented a room (photo by Danuta Onyszkiewicz.)'
104            }]
105        },
106        group: 'museum'
107    },
108    {
109        id: 4,
110        coordinates: [55.75, 37.616667],
111        desc: {
112            title: 'MOSCOW – BUTYRKI',
113            content: 'transitional prison',
114            img: [{
115                src: '/wp-content/uploads/2021/12/4_Moskwa_Butyrki.jpg',
116                description: 'Moscow, Butyrka prison.'
117            }]
118        },
119        group: 'trip'
120    },
121    {
122        id: 5,
123        coordinates: [46.466667, 30.733333],
124        desc: {
125            title: 'ODESSA',
126            content: 'beginning of deportation on the “Nizhny N
126ovgorod” ship"',
127            img: [{
128                src: '/wp-content/uploads/2021/12/5_Odessa.jpg',
129                description: 'Odessa coast.'
130            }]
131        },
132        group: 'trip'
133    },
134    {
135        id: 6,
136        coordinates: [50.897778, 142.16],
137        desc: {
138            title: 'ALEXANDROVSK',
139            content: 'the first encounter with Sakhalin, farewell to the island',
140            img: [{
141                src: '/wp-content/uploads/2021/12/6_Aleksandrowsk.jpg',
142                description: '“Imperial Harbor” on the coast of Alexandrovsk-Sakhalinsky Photo from Bronisław Piłsudski’s album, from the collection of the Polish Academy of Arts and Sciences.'
143            }]
144        },
145        group: 'trip'
146    },
147    {
148        id: 7,
149        coordinates: [50.828195, 142.774338],
150        desc: {
151            title: 'RYKOVSKOYE',
152            content: 'arrival on foot from Alexandrovsk to the place of deportation, imprisonment, forced labor, beginning of ethnographic work, educational activities, botanical research, weather station, meeting with Lev Sternberg',
153            link: {
154                address: '/en/activities/',
155                text: 'see Activities'
156            },
157            img: [{
158                src: '/wp-content/uploads/2021/12/7_Rykowskoje.jpg',
159                description: '“Rykovskoye village: military barracks on the right, prison warehouse on the left” Photo from Bronisław Piłsudski’s album; from the collection of the Polish Academy of Arts and Sciences.'
160            }]
161        },
162        group: 'work'
163    },
164    {
165        id: 8,
166        coordinates: [46.63613926896697, 142.77337415025934],
167        desc: {
168            title: 'KORSAKOV',
169            content: 'encounters with Ainu culture in 1896, weather station, organizing the school, preparing the draft legislation, and beginning of the major research expedition on the Ainu people',
170            link: {
171                address: '/en/timeline/#1902',
172                text: 'Timeline 1902'
173            },
174            img: [{
175                src: '/wp-content/uploads/2021/12/8_Korsakowsk.jpg',
176                description: '"“Harbor of Korsakov village” Photo from Bronisław Piłsudski’s album; from the collection of the Polish Academy of Arts and Sciences.'
177            }]
178        },
179        group: 'work'
180    },
181    {
182        id: 9,
183        coordinates: [43.166667, 131.933333],
184        desc: {
185            title: 'VLADIVOSTOK',
186            content: '1899 – starting work as a curator at the Museum of the Amur Region Research Society; preparing two collections for the Paris World Exposition; last place of residence before leaving Russia; 1905 – contacts with Russian revolutionaries and activists ',
187            link: {
188                address: '/en/timeline/#1899',
189                text: 'Timeline 1899'
190            },
191            img: [{
192                src: '/wp-content/uploads/2022/02/Wladywostok.jpg',
193                description: 'Vladivostok in the early 20th century.'
194            }]
195        },
196        group: 'museum'
197    },
198    {
199        id: 10,
200        coordinates: [47.316667, 142.8],
201        desc: {
202            title: 'SIYANTSY',
203            content: 'collecting ethnographic materials, organizing a literacy school, the first contact with Ainu people',
204            img: [{
205                src: '/wp-content/uploads/2022/02/Ajnowie-scaled.jpeg',
206                description: 'Ainu people. Photo from the collection of the Archives of New Records in Warszawa.'
207            }]
208        },
209        group: 'research'
210    },
211    {
212        id: 11,
213        coordinates: [47.033333, 142.033333],
214        desc: {
215            title: 'MAUKA',
216            content: 'census of Ainu people, recording Ainu songs with a phonograph',
217            img: []
218        },
219        group: 'research'
220    },
221    {
222        id: 12,
223        coordinates: [41.766667, 140.733333],
224        desc: {
225            title: 'HAKADOTE',
226            content: 'first and subsequent stay in Japan, 1902; 1903: beginning of a research expedition with Sieroszewski to Hokkaido',
227            link: {
228                address: '/en/timeline/#1902',
229                text: 'Timeline 1902, 1903'
230            },
231            img: []
232        },
233        group: 'work'
234    },
235    {
236        id: 13,
237        coordinates: [47.650894, 142.569852],
238        desc: {
239            title: 'OTOSAN',
240            content: 'the Bear Festival, ritual of separation',
241            img: []
242        },
243        group: 'research'
244    },
245    {
246        id: 14,
247        coordinates: [47.848943, 142.513320],
248        desc: {
249            title: 'SIERAROKO',
250            content: 'the Bear Festival',
251            img: []
252        },
253        group: 'research'
254    },
255    {
256        id: 15,
257        coordinates: [47.372338, 142.908372],
258        desc: {
259            title: 'RURE',
260            content: 'recording oral accounts, songs, legends, first recordings of hauki (“songs about heroes”), translations',
261            img: []
262        },
263        group: 'research'
264    },
265    {
266        id: 16,
267        coordinates: [47.452949, 142.739295],
268        desc: {
269            title: 'AI',
270            content: 'research base, learning the Ainu language, marriage with Chūhsamma, family',
271            img: []
272        },
273        group: 'work'
274    },
275    {
276        id: 17,
277        coordinates: [46.848499, 143.173411],
278        desc: {
279            title: 'TUNAICHA',
280            content: 'recording hauki and oina (“songs about gods”)',
281            img: []
282        },
283        group: 'research'
284    },
285    {
286        id: 18,
287        coordinates: [42.55, 141.35],
288        desc: {
289            title: 'SHIRAOI',
290            content: 'research on the life and culture of the Ainu people, cooperation with Wacław Sieroszewski, site of Poland’s commemoration of Bronisław Piłsudski with a bust erected at the Upopoy Ainu Culture Museum',
291            img: [{
292                src: '/wp-content/uploads/2022/02/popiersie-w-Shiraoi-1.jpg',
293                description: 'Bronisław Piłsudski’s bust.'
294            }]
295        },
296        group: 'research'
297    },
298    {
299        id: 19,
300        coordinates: [42.316667, 140.966667],
301        desc: {
302            title: 'MURORAN',
303            content: 'research expedition, cooperation with Wacław Sieroszewski',
304            img: []
305        },
306        group: 'research'
307    },
308    {
309        id: 20,
310        coordinates: [42.583333, 142.133333],
311        desc: {
312            title: 'BIRATORI',
313            content: 'discontinuation of the research',
314            img: []
315        },
316        group: 'research'
317    },
318    {
319        id: 21,
320        coordinates: [43.066667, 141.35],
321        desc: {
322            title: 'SAPPORO',
323            content: 'return of the research team',
324            img: []
325        },
326        group: 'work'
327    },
328    {
329        id: 22,
330        coordinates: [47.421229, 142.777928],
331        desc: {
332            title: 'NAIBUCHI',
333            content: 'supporting the organization of literacy schools, teaching, fox sacrifice ritual, outbreak of the Russo-Japanese War',
334            link: {
335                address: '/en/timeline/#1904',
336                text: 'Timeline February 1904'
337            },
338            img: []
339        },
340        group: 'research'
341    },
342    {
343        id: 23,
344        coordinates: [49.328100, 143.443677],
345        desc: {
346            title: 'TARAYKA',
347            content: 'research among the Ainu and Orok people',
348            img: []
349        },
350        group: 'research'
351    },
352    {
353        id: 24,
354        coordinates: [49.068956, 142.950391],
355        desc: {
356            title: 'NAYORO',
357            content: 'research among the Ainu and Orok people',
358            img: []
359        },
360        group: 'research'
361    },
362    {
363        id: 26,
364        coordinates: [46.966667, 142.733333],
365        desc: {
366            title: 'VLADIMIROVKA',
367            content: 'preparations for departure; the site of Bronisław Piłsudski’s commemoration by Russians: ',
368            img: [{
369                src: '/wp-content/uploads/2021/12/Pomnik-Bronislawa-Pilsudskiego-przed-Sachalinskim-Muzeum-Regionalnym.jpg',
370                description: 'Bronisław Piłsudski Heritage Institute, his monument.'
371            }]
372        },
373        group: 'monument'
374    },
375    {
376        id: 27,
377        coordinates: [47.650894, 142.569852],
378        desc: {
379            title: 'OTOSAN',
380            content: 'the Bear Festival, ritual of separation',
381            img: []
382        },
383        group: 'research'
384    },
385
386    {
387        id: 28,
388        coordinates: [50.192172, 142.688022],
389        desc: {
390            title: 'ONOR',
391            content: 'drafting regulations on the preservation of customs and governance of the Ainu people',
392            img: []
393        },
394        group: 'work'
395    },
396    {
397        id: 29,
398        coordinates: [50.850278, 142.66],
399        desc: {
400            title: 'DERBINSKOYE',
401            content: 'the last place to stay before leaving Sakhalin',
402            img: []
403        },
404        group: 'work'
405    },
406    {
407        id: 30,
408        coordinates: [53.14218559172102, 140.7420727915451],
409        desc: {
410            title: 'NIKOLAYEVSK',
411            content: 'recording stories of the Ainu people from the Amur Valley',
412            img: []
413        },
414        group: 'research'
415    },
416    {
417        id: 31,
418        coordinates: [51.727083, 140.184129],
419        desc: {
420            title: 'MARIINSK',
421            content: 'recording Olcha peoples’ stories',
422            img: []
423        },
424        group: 'research'
425    },
426    {
427        id: 32,
428        coordinates: [48.466667, 135.1],
429        desc: {
430            title: 'KHABAROVSK',
431            content: 'collecting information about the Ainu people living at the Amur estuary; first publication on social relations',
432            img: []
433        },
434        group: 'research'
435    },
436    {
437        id: 33,
438        coordinates: [34.683333, 135.183333],
439        desc: {
440            title: 'KOBE',
441            content: 'assistance in Nicholas Russel’s office',
442            img: []
443        },
444        group: 'work'
445    },
446    {
447        id: 34,
448        coordinates: [49.46230865516606, 136.60759004260225],
449        desc: {
450            title: 'TROITSKOYE',
451            content: 'collecting materials concerning the Nanai people',
452            img: []
453        },
454        group: 'research'
455    },
456    {
457        id: 35,
458        coordinates: [35.689722, 139.692222],
459        desc: {
460            title: 'TOKYO',
461            content: 'contacts with researchers studying the life of the Ainu people, socialists, women’s rights activists, artists, and Chinese revolutionaries; establishing the Polish-Japanese Society; research on excavations (shell hills)',
462            img: [{
463                src: '/wp-content/uploads/2021/12/35_Tokio.jpg',
464                description: 'Temple in Tokyo.'
465            }]
466        },
467        group: 'work'
468    },
469    /*{
470        id: 36,
471        coordinates: [31.2, 121.5],
472        desc:{
473            title:  'SZANGHAI',
474            content: 'przystanek w podróży',
475            img:[]
476        },
477        group: 'trip'
478    },*/
479    {
480        id: 37,
481        coordinates: [32.783333, 129.866667],
482        desc: {
483            title: 'NAGASAKI',
484            content: 'the first and the last place where Bronisław Piłsudski stayed in Japan',
485            img: [{
486                src: '/wp-content/uploads/2022/02/Ulica-w-Nagasaki.jpeg',
487                description: 'Nagasaki at the turn of the 20th century.'
488            }]
489        },
490        group: 'work'
491    },
492    {
493        id: 38,
494        coordinates: [47.609722, -122.333056],
495        desc: {
496            title: 'SEATTLE',
497            content: 'stop during the journey &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp',
498            img: [{
499                src: '/wp-content/uploads/2022/04/Seattle.png',
500                description: 'Seattle.'
501            }]
502        },
503        group: 'trip'
504    },
505    {
506        id: 39,
507        coordinates: [41.881944, -87.627778],
508        desc: {
509            title: 'CHICAGO',
510            content: 'a stop during the journey, cold preventing attendance at the 9th Congress of the Polish Socialist Party',
511            img: [{
512                src: '/wp-content/uploads/2021/12/39_Chicago.jpg',
513                description: 'Street in Chicago.'
514            }]
515        },
516        group: 'trip'
517    },
518    {
519        id: 40,
520        coordinates: [40.716667, -74],
521        desc: {
522            title: 'NEW YORK',
523            content: 'contacts with the Smithsonian Institution, starting a trip to Europe',
524            img: [{
525                src: '/wp-content/uploads/2021/12/Nowy-York.jpeg',
526                description: 'New York.'
527            }]
528        },
529        group: 'museum'
530    },
531    {
532        id: 41,
533        coordinates: [51.5, -0.116667],
534        desc: {
535            title: 'LONDON',
536            content: 'stop during the journey, meeting Ainu people from the Saru Valley in 1910',
537            img: [{
538                src: '/wp-content/uploads/2022/03/Londyn-tower-bridge.jpeg',
539                description: 'Tower Bridge.'
540            }]
541        },
542        group: 'trip'
543    },
544    {
545        id: 42,
546        coordinates: [50.061389, 19.938333],
547        desc: {
548            title: 'KRAKÓW',
549            content: 'close contacts with Bronisław’s brother, Józef Piłsudski; ties with the Polish Academy of Arts and Sciences, meeting with Maria Żarnowska',
550            img: [{
551                src: '/wp-content/uploads/2021/12/42_Krakow.jpg',
552                description: 'Kraków, St. Mary’s Church.'
553            }]
554        },
555        group: 'monument'
556    },
557    {
558        id: 43,
559        coordinates: [49.299444, 19.951944],
560        desc: {
561            title: 'ZAKOPANE',
562            content: 'meeting with Józef after nineteen years, family conference attended by four brothers;, working for the Tatra Society, participation in the creation of the museum, editing the newly created “Rocznik Podhalański” magazine, commemorating Bronisław Piłsudski with a symbolic grave at the “Pęksowy Brzyzek” Cemetery',
563            img: [{
564                src: '/wp-content/uploads/2021/12/43_Zakopane.jpg',
565                description: 'Zakopane: Krupówki Street.'
566            }]
567        },
568        group: 'monument'
569    },
570    {
571        id: 44,
572        coordinates: [50.230556, 12.8725],
573        desc: {
574            title: 'KARLSBAD',
575            content: 'stay at the resort with Maria Żarnowska',
576            img: []
577        },
578        group: 'trip'
579    },
580    {
581        id: 45,
582        coordinates: [49.842, 24.031997],
583        desc: {
584            title: 'LVIV',
585            content: 'living together with Maria Żarnowska, working, contacts with Benedykt Dybowski',
586            img: []
587        },
588        group: 'home'
589    },
590    {
591        id: 46,
592        coordinates: [49.701667, 20.425556],
593        desc: {
594            title: 'LIMANOWA',
595            content: 'meeting with Edmund Płoski, former exile on Sakhalin',
596            img: []
597        },
598        group: 'trip'
599    },
600    {
601        id: 47,
602        coordinates: [50.087778, 14.421111],
603        desc: {
604            title: 'PRAGUE',
605            content: 'exploring museums',
606            img: []
607        },
608        group: 'museum'
609    },
610    {
611        id: 48,
612        coordinates: [46.990278, 6.930556],
613        desc: {
614            title: 'NEUCHÂTEL',
615            content: 'ethnological studies ',
616            img: []
617        },
618        group: 'work'
619    },
620    {
621        id: 49,
622        coordinates: [50.833333, 4.35],
623        desc: {
624            title: 'BRUSSELS',
625            content: 'work at the Solvay Institute',
626            img: []
627        },
628        group: 'work'
629    },
630    {
631        id: 50,
632        coordinates: [48.216667, 16.366667],
633        desc: {
634            title: 'VIENNA',
635            content: 'work on the Polish Encyclopedia"',
636            img: []
637        },
638        group: 'work'
639    },
640    {
641        id: 51,
642        coordinates: [46.516667, 6.633333],
643        desc: {
644            title: 'LAUSANNE',
645            content: 'drafting of the Polish Encyclopedia as a representative of the Viennese fraction; Polish-Lithuanian Committee, working on an agreement between Poles and Lithuanians',
646            img: []
647        },
648        group: 'work'
649    },
650    {
651        id: 52,
652        coordinates: [48, 7.85],
653        desc: {
654            title: 'FRIBOURG',
655            content: 'editing the Polish Encyclopedia, formation of the General Committee for Relief for War Victims in Lithuania',
656            img: []
657        },
658        group: 'work'
659    },
660    {
661        id: 53,
662        coordinates: [47.226667, 8.818333],
663        desc: {
664            title: 'RAPERSWIL',
665            content: 'visiting the Polish Museum and the library, working on texts',
666            img: []
667        },
668        group: 'museum'
669    },
670    {
671        id: 54,
672        coordinates: [46.466667, 6.85],
673        desc: {
674            title: 'VEVEY',
675            content: 'staying',
676            img: []
677        },
678        group: 'home'
679    },
680
681    {
682        id: 55,
683        coordinates: [47.383333, 8.533333],
684        desc: {
685            title: 'ZURYCH',
686            content: 'living at Gabriel Narutowicz’s house',
687            img: []
688        },
689        group: 'home'
690    },
691    {
692        id: 56,
693        coordinates: [46.2, 6.15],
694        desc: {
695            title: 'GENEVA',
696            content: 'staying',
697            img: []
698        },
699        group: 'home'
700    },
701    {
702        id: 57,
703        coordinates: [48.866667, 2.35],
704        desc: {
705            title: 'PARIS',
706            content: 'attending lectures at the Sorbonne, contacts with Polish intellectuals including Maria Skłodowska-Curie, Maria Żarnowska’s radiotherapy, working for the Polish National Committee, death',
707            img: [{
708                src: '/wp-content/uploads/2021/12/57_Paryz.jpg',
709                description: 'Paris – Pont Alexandre III.'
710            }]
711        },
712        group: 'home'
713    },
714    {
715        id: 59,
716        coordinates: [50.040628, 18.700848],
717        desc: {
718            title: 'ŻORY',
719            content: 'researcher’s monument',
720            img: [{
721                src: '/wp-content/uploads/2022/02/Pilsudski-i-Ajnka-pomnik-w-Zorach.jpg',
722                description: 'researcher’s monument.'
723            }]
724        },
725        group: 'monument'
726    },
727    {
728        id: 60,
729        coordinates: [47.316667, 142.75],
730        desc: {
731            title: 'GALKINO-VRASSKOYE',
732            content: 'weather station',
733            img: []
734        },
735        group: 'work'
736    },
737
738]
739
740const markersJA = [
741    {
742        id: 1,
743        coordinates: [54.972222, 25.975],
744        desc: {
745            title: 'ズーウフ',
746            content: '生誕地、家族の家、子供時代',
747            img: [{
748                src: '/wp-content/uploads/2021/12/1_Zulow-1.jpg',
749                description: 'ズーウフ、ピョルン湖の景色 '
750            },
751            {
752                src: '/wp-content/uploads/2021/12/1_Zulow-2.jpg',
753                description: 'ズーウフ、ピウスツキ家の屋敷と燻製場の土台の輪郭'
754            }
755            ]
756        },
757        group: 'home'
758    },
759    {
760        id: 2,
761        coordinates: [54.683333, 25.283333],
762        desc: {
763            title: 'ヴィリニュス',
764            content: 'ヴィリニュス—教育、中学校、アパート、「スプィニャ」、母の死',
765            img: [{
766                src: '/wp-content/uploads/2021/12/2_Wilno1.jpg',
767                description: 'トロツカ通りの家―ピウスツキ家のヴィリニュスでの最初のアパート'
768            }]
769        },
770        group: 'home'
771    },
772    {
773        id: 3,
774        coordinates: [59.933333, 30.266667],
775        desc: {
776            title: 'サンクト・ペテルブル',
777            content: 'サンクト・ペテルブル—中学校、大学での勉強、拘留、裁判、父とマリア・ジャルノフスカが亡くなった場所',
778            img: [{
779                src: '/wp-content/uploads/2021/12/3_Petersburg_Easy-Resize.com_.jpg',
780                description: '19世紀末のサンクト・ペテルブルグ'
781            },
782            {
783                src: '/wp-content/uploads/2022/05/Petersburg-scaled.jpg',
784                description: 'ブロニスワフ・ピウスツキが下宿した共同住宅(ダヌタ・オヌィシュキェヴィチ撮影)'
785            }]
786        },
787        group: 'museum'
788    },
789    {
790        id: 4,
791        coordinates: [55.75, 37.616667],
792        desc: {
793            title: 'モスクワ',
794            content: 'モスクワ—ブティルカ—中継監獄',
795            img: [{
796                src: '/wp-content/uploads/2021/12/4_Moskwa_Butyrki.jpg',
797                description: 'モスクワ、ブティルカ監獄'
798            }]
799        },
800        group: 'trip'
801    },
802    {
803        id: 5,
804        coordinates: [46.466667, 30.733333],
805        desc: {
806            title: 'オデーサ',
807            content: 'オデーサ—「ニージニイ・ノヴゴロド号」による移送の開始',
808            img: [{
809                src: '/wp-content/uploads/2021/12/5_Odessa.jpg',
810                description: 'オデーサ海岸'
811            }]
812        },
813        group: 'trip'
814    },
815    {
816        id: 6,
817        coordinates: [50.897778, 142.16],
818        desc: {
819            title: 'アレクサンドロフスク',
820            content: 'アレクサンドロフスク—サハリンとの最初の出会い、島との別れ',
821            img: [{
822                src: '/wp-content/uploads/2021/12/6_Aleksandrowsk.jpg',
823                description: 'アレクサンドロフスク・サハリンスキー沿岸の「皇帝湾」の写真、ポーランド芸術・科学ã
823‚¢ã‚«ãƒ‡ãƒŸãƒ¼æ‰€è”µã®ãƒ–ロニスワフ・ピウスツキのサハリン写真アルバムより'
824            }]
825        },
826        group: 'trip'
827    },
828    {
829        id: 7,
830        coordinates: [50.828195, 142.774338],
831        desc: {
832            title: 'ルィコフスコエ',
833            content: 'ルィコフスコエ—アレクサンドロフスクから徒歩で到着。流刑、監禁、強制労働の地であり、ここで民族学の仕事を開始し、教育活動、植物調査を行い、測候所を設け、レフ・シュテルンベルグと出会った。',
834            link: {
835                address: '/ja/活動/',
836                text: '「活動」を参照'
837            },
838            img: [{
839                src: '/wp-content/uploads/2021/12/7_Rykowskoje.jpg',
840                description: '「ルィコフスコエ村、右側に兵舎、左側に囚人収容施設」の写真、ポーランド芸術・科学アカデミー所蔵のブロニスワフ・ピウスツキのサハリン写真アルバムより'
841            }]
842        },
843        group: 'work'
844    },
845    {
846        id: 8,
847        coordinates: [46.63613926896697, 142.77337415025934],
848        desc: {
849            title: 'コルサコフ',
850            content: '1896年にアイヌ文化と出会う、測候所、学校の設立、規定草稿の準備、大規模なアイヌ文化調査旅行の開始 ',
851            link: {
852                address: '/ja/ブロニスワフ・ピウスツキ年譜/#1902',
853                text: '「年譜」 1902年'
854            },
855            img: [{
856                src: '/wp-content/uploads/2021/12/8_Korsakowsk.jpg',
857                description: '「コルサコフ港」の写真、ポーランド芸術・科学アカデミー所蔵のブロニスワフ・ピウスツキのサハリン写真アルバムより'
858            }]
859        },
860        group: 'work'
861    },
862    {
863        id: 9,
864        coordinates: [43.166667, 131.933333],
865        desc: {
866            title: 'ウラジオストク',
867            content: 'ウラジオストク—1899年—アムール地方研究協会の博物館で資料管理人としての仕事を開始。パリ万国博覧会のために二つのコレクションを準備。ロシアを去る前の最後の居住地。1905年—ロシア人革命家らと接触 ',
868            link: {
869                address: '/ja/ブロニスワフ・ピウスツキ年譜/#1899',
870                text: '「年譜」 1899年'
871            },
872            img: [{
873                src: '/wp-content/uploads/2022/02/Wladywostok.jpg',
874                description: '20世紀初めのウラジオストク'
875            }]
876        },
877        group: 'museum'
878    },
879    {
880        id: 10,
881        coordinates: [47.316667, 142.8],
882        desc: {
883            title: 'シヤンツィ',
884            content: '民族学資料の収集、識字学校の設立、アイヌ人との最初の出会い',
885            img: [{
886                src: '/wp-content/uploads/2022/02/Ajnowie-scaled.jpeg',
887                description: 'アイヌ人の写真、ワルシャワ近・現代文書館のコレクションより'
888            }]
889        },
890        group: 'research'
891    },
892    {
893        id: 11,
894        coordinates: [47.033333, 142.033333],
895        desc: {
896            title: 'マウカ',
897            content: 'アイヌ人の人口調査。蝋管蓄音機でアイヌの歌謡を録音',
898            img: []
899        },
900        group: 'research'
901    },
902    {
903        id: 12,
904        coordinates: [41.766667, 140.733333],
905        desc: {
906            title: '函館',
907            content: '1902年の最初の日本滞在。1903年、シェロシェフスキとの北海道調査旅行の開始',
908            link: {
909                address: '/ja/ブロニスワフ・ピウスツキ年譜/#1902',
910                text: '「年譜」 1902、1903年'
911            },
912            img: []
913        },
914        group: 'work'
915    },
916    {
917        id: 13,
918        coordinates: [47.650894, 142.569852],
919        desc: {
920            title: 'オトサン',
921            content: '熊祭り、別離の儀式',
922            img: []
923        },
924        group: 'research'
925    },
926    {
927        id: 14,
928        coordinates: [47.848943, 142.513320],
929        desc: {
930            title: 'セラロコ',
931            content: '熊祭り',
932            img: []
933        },
934        group: 'research'
935    },
936    {
937        id: 15,
938        coordinates: [47.372338, 142.908372],
939        desc: {
940            title: 'ロレー',
941            content: '口碑、歌謡、伝説の採録、ハウキ(「英雄詞曲」)の最初の採録、翻訳',
942            img: []
943        },
944        group: 'research'
945    },
946    {
947        id: 16,
948        coordinates: [47.452949, 142.739295],
949        desc: {
950            title: 'アイ',
951            content: '調査の基地、アイヌ語の学習、チュフサンマとの結婚、家族',
952            img: []
953        },
954        group: 'work'
955    },
956    {
957        id: 17,
958        coordinates: [46.848499, 143.173411],
959        desc: {
960            title: 'トゥナイチャ',
961            content: 'ハウキとオイナ(「神謡」)の採録',
962            img: []
963        },
964        group: 'research'
965    },
966    {
967        id: 18,
968        coordinates: [42.55, 141.35],
969        desc: {
970            title: '白老',
971            content: 'アイヌ人の生活と文化の調査、ヴァツワフ・シェロシェフスキとの協力、ポーランドによるブロニスワフ・ピウスツキ顕彰の地、アイヌ文化博物館「ウポポイ」に胸像建立',
972            img: [{
973                src: '/wp-content/uploads/2022/02/popiersie-w-Shiraoi-1.jpg',
974                description: 'ブロニスワフ・ピウスツキの胸像.'
975            }]
976        },
977        group: 'research'
978    },
979    {
980        id: 19,
981        coordinates: [42.316667, 140.966667],
982        desc: {
983            title: '室蘭',
984            content: '調査旅行、ヴァツワフ・シェロシェフスキとの協力',
985            img: []
986        },
987        group: 'research'
988    },
989    {
990        id: 20,
991        coordinates: [42.583333, 142.133333],
992        desc: {
993            title: '平取',
994            content: '調査の中止',
995            img: []
996        },
997        group: 'research'
998    },
999    {
1000        id: 21,
1001        coordinates: [43.066667, 141.35],
1002        desc: {
1003            title: '札幌',
1004            content: '調査団の帰還',
1005            img: []
1006        },
1007        group: 'work'
1008    },
1009    {
1010        id: 22,
1011        coordinates: [47.421229, 142.777928],
1012        desc: {
1013            title: 'ナイブチ',
1014            content: '識字学校設立の支援、教育、狐送り、日露戦争の勃発 ',
1015            link: {
1016                address: '/ja/ブロニスワフ・ピウスツキ年譜/#1904',
1017                text: '「年譜」1904年2月'
1018            },
1019            img: []
1020        },
1021        group: 'research'
1022    },
1023    {
1024        id: 23,
1025        coordinates: [49.328100, 143.443677],
1026        desc: {
1027            title: 'タライカ',
1028            content: 'アイヌ人とウイルタ人の調査',
1029            img: []
1030        },
1031        group: 'research'
1032    },
1033    {
1034        id: 24,
1035        coordinates: [49.068956, 142.950391],
1036        desc: {
1037            title: 'ナヨロ',
1038            content: 'アイヌ人とウイルタ人の調査',
1039            img: []
1040        },
1041        group: 'research'
1042    },
1043    {
1044        id: 26,
1045        coordinates: [46.966667, 142.733333],
1046        desc: {
1047            title: 'ウラジミロフカ',
1048            content: '出発の準備。ロシア人によるブロニスワフ・ピウスツキ顕彰の地、ブロニスワフ・ピウスツキ遺産研究所と彼の記念碑',
1049            img: [{
1050                src: '/wp-content/uploads/2021/12/Pomnik-Bronislawa-Pilsudskiego-przed-Sachalinskim-Muzeum-Regionalnym.jpg',
1051                description: '研究者の胸像はサハリン地方博物館の前にあります'
1052            }]
1053        },
1054        group: 'monument'
1055    },
1056    {
1057        id: 27,
1058        coordinates: [47.650894, 142.569852],
1059        desc: {
1060            title: 'オトサン',
1061            content: '熊祭り、別離の儀式',
1062            img: []
1063        },
1064        group: 'research'
1065    },
1066
1067    {
1068        id: 28,
1069        coordinates: [50.192172, 142.688022],
1070        desc: {
1071            title: 'オノール',
1072            content: 'アイヌの習俗整備と統治に関する規定草稿',
1073            img: []
1074        },
1075        group: 'work'
1076    },
1077    {
1078        id: 29,
1079        coordinates: [50.850278, 142.66],
1080        desc: {
1081            title: 'デルビンスコエ',
1082            content: 'サハリンを去る前に最後に滞在した場所',
1083            img: []
1084        },
1085        group: 'work'
1086    },
1087    {
1088        id: 30,
1089        coordinates: [53.14218559172102, 140.7420727915451],
1090        desc: {
1091            title: 'ニコラエフスク',
1092            content: 'アムール川流域から来たアイヌ人の民話を記録',
1093            img: []
1094        },
1095        group: 'research'
1096    },
1097    {
1098        id: 31,
1099        coordinates: [51.727083, 140.184129],
1100        desc: {
1101            title: 'マリインスク',
1102            content: 'ウリチ(旧称オリチャ)人の民話を採録',
1103            img: []
1104        },
1105        group: 'research'
1106    },
1107    {
1108        id: 32,
1109        coordinates: [48.466667, 135.1],
1110        desc: {
1111            title: 'ハバロフスク',
1112            content: 'アムール川河口に住むアイヌ人に関する情報を収集。社会的関係に関する最初の出版物',
1113            img: []
1114        },
1115        group: 'research'
1116    },
1117    {
1118        id: 33,
1119        coordinates: [34.683333, 135.183333],
1120        desc: {
1121            title: '神戸',
1122            content: 'ニコライ・ラッセルの事務所の手伝い',
1123            img: []
1124        },
1125        group: 'work'
1126    },
1127    {
1128        id: 34,
1129        coordinates: [49.46230865516606, 136.60759004260225],
1130        desc: {
1131            title: 'トロイツコエ',
1132            content: 'ナナイ(旧称ゴリド)人の資料収集',
1133            img: []
1134        },
1135        group: 'research'
1136    },
1137    {
1138        id: 35,
1139        coordinates: [35.689722, 139.692222],
1140        desc: {
1141            title: '東京',
1142            content: 'アイヌ研究家、社会主義者、女性解放運動家、音楽家、中国人革命家との交流。「日本・ポーランド協会」の設立。発掘物(貝
1142塚)の調査',
1143            img: [{
1144                src: '/wp-content/uploads/2021/12/35_Tokio.jpg',
1145                description: '東京の寺院'
1146            }]
1147        },
1148        group: 'work'
1149    },
1150    /*{
1151        id: 36,
1152        coordinates: [31.2, 121.5],
1153        desc:{
1154            title:  'SZANGHAI',
1155            content: 'przystanek w podróży',
1156            img:[]
1157        },
1158        group: 'trip'
1159    },*/
1160    {
1161        id: 37,
1162        coordinates: [32.783333, 129.866667],
1163        desc: {
1164            title: '長崎',
1165            content: '長崎—ブロニスワフ・ピウスツキが日本に滞在した、最初で最後の場所',
1166            img: [{
1167                src: '/wp-content/uploads/2022/02/Ulica-w-Nagasaki.jpeg',
1168                description: '20世紀初頭の長崎'
1169            }]
1170        },
1171        group: 'work'
1172    },
1173    {
1174        id: 38,
1175        coordinates: [47.609722, -122.333056],
1176        desc: {
1177            title: 'シアトル',
1178            content: '旅行中の一時的滞在 &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp',
1179            img: [{
1180                src: '/wp-content/uploads/2022/04/Seattle.png',
1181                description: 'シアトル.'
1182            }]
1183        },
1184        group: 'trip'
1185    },
1186    {
1187        id: 39,
1188        coordinates: [41.881944, -87.627778],
1189        desc: {
1190            title: 'シカゴ',
1191            content: '旅行中の一時的滞在、第9回ポーランド社会党大会は風邪のため欠席',
1192            img: [{
1193                src: '/wp-content/uploads/2021/12/39_Chicago.jpg',
1194                description: 'シカゴの通り'
1195            }]
1196        },
1197        group: 'trip'
1198    },
1199    {
1200        id: 40,
1201        coordinates: [40.716667, -74],
1202        desc: {
1203            title: 'ニューヨーク',
1204            content: 'スミソニアン研究所と接触、ヨーロッパへの旅の開始',
1205            img: [{
1206                src: '/wp-content/uploads/2021/12/Nowy-York.jpeg',
1207                description: 'ニューヨーク.'
1208            }]
1209        },
1210        group: 'museum'
1211    },
1212    {
1213        id: 41,
1214        coordinates: [51.5, -0.116667],
1215        desc: {
1216            title: 'ロンドン',
1217            content: '旅行中の一時的滞在、1910年に北海道沙流地方から来たアイヌ人たちとの出会い',
1218            img: [{
1219                src: '/wp-content/uploads/2022/03/Londyn-tower-bridge.jpeg',
1220                description: 'タワー・ブリッジ'
1221            }]
1222        },
1223        group: 'trip'
1224    },
1225    {
1226        id: 42,
1227        coordinates: [50.061389, 19.938333],
1228        desc: {
1229            title: 'クラクフ',
1230            content: 'ブロニスワフの弟ユゼフ・ピウスツキと親しく交流。ポーランド科学アカデミーとの繋がり、マリア・ジャルノフスカとの再会',
1231            img: [{
1232                src: '/wp-content/uploads/2021/12/42_Krakow.jpg',
1233                description: 'クラクフ、聖マリア聖堂'
1234            }]
1235        },
1236        group: 'monument'
1237    },
1238    {
1239        id: 43,
1240        coordinates: [49.299444, 19.951944],
1241        desc: {
1242            title: 'ザコパネ',
1243            content: '19年ぶりにユゼフと再会、4兄弟が出席した家族会議、タトラ協会のための仕事、博物館設立に参加、新たに創刊された『ポトハレ年報』の編集。ペンクソヴィ・ブジゼク墓地にブロニスワフ・ピウスツキのシンボリックな墓を設けて顕彰',
1244            img: [{
1245                src: '/wp-content/uploads/2021/12/43_Zakopane.jpg',
1246                description: 'ザコパネ、クルプフキ通り'
1247            }]
1248        },
1249        group: 'monument'
1250    },
1251    {
1252        id: 44,
1253        coordinates: [50.230556, 12.8725],
1254        desc: {
1255            title: 'カールスバード',
1256            content: 'マリア・ジャルノフスカとリゾート地に滞在',
1257            img: []
1258        },
1259        group: 'trip'
1260    },
1261    {
1262        id: 45,
1263        coordinates: [49.842, 24.031997],
1264        desc: {
1265            title: 'リヴィウ',
1266            content: 'マリア・ジャルノフスカと暮らす、仕事、ベネディクト・ディボフスキと交流',
1267            img: []
1268        },
1269        group: 'home'
1270    },
1271    {
1272        id: 46,
1273        coordinates: [49.701667, 20.425556],
1274        desc: {
1275            title: 'リマノヴァ',
1276            content: '元サハリン流刑囚エドムンド・プウォスキと会う',
1277            img: []
1278        },
1279        group: 'trip'
1280    },
1281    {
1282        id: 47,
1283        coordinates: [50.087778, 14.421111],
1284        desc: {
1285            title: 'プラハ',
1286            content: '博物館調査',
1287            img: []
1288        },
1289        group: 'museum'
1290    },
1291    {
1292        id: 48,
1293        coordinates: [46.990278, 6.930556],
1294        desc: {
1295            title: 'ヌーシャテル',
1296            content: '民族学研究 ',
1297            img: []
1298        },
1299        group: 'work'
1300    },
1301    {
1302        id: 49,
1303        coordinates: [50.833333, 4.35],
1304        desc: {
1305            title: 'ブリュッセル',
1306            content: 'ソルヴェー研究所で仕事',
1307            img: []
1308        },
1309        group: 'work'
1310    },
1311    {
1312        id: 50,
1313        coordinates: [48.216667, 16.366667],
1314        desc: {
1315            title: 'ウィーン',
1316            content: '『ポーランド百科事典』の仕事',
1317            img: []
1318        },
1319        group: 'work'
1320    },
1321    {
1322        id: 51,
1323        coordinates: [46.516667, 6.633333],
1324        desc: {
1325            title: 'ローザンヌ',
1326            content: 'ウィーン派の代表として『ポーランド百科事典』の起草。ポーランド・リトアニア委員会、ポーランド人とリトアニア人の和解に努める',
1327            img: []
1328        },
1329        group: 'work'
1330    },
1331    {
1332        id: 52,
1333        coordinates: [48, 7.85],
1334        desc: {
1335            title: 'フリブール',
1336            content: '『ポーランド百科事典』の編集、「リトアニア戦争犠牲者支援運営委員会」の設立',
1337            img: []
1338        },
1339        group: 'work'
1340    },
1341    {
1342        id: 53,
1343        coordinates: [47.226667, 8.818333],
1344        desc: {
1345            title: 'ラッパースヴィル',
1346            content: 'ポーランド博物館とその図書館訪問、テキストの仕事',
1347            img: []
1348        },
1349        group: 'museum'
1350    },
1351    {
1352        id: 54,
1353        coordinates: [46.466667, 6.85],
1354        desc: {
1355            title: 'ヴヴェイ',
1356            content: '滞在',
1357            img: []
1358        },
1359        group: 'home'
1360    },
1361
1362    {
1363        id: 55,
1364        coordinates: [47.383333, 8.533333],
1365        desc: {
1366            title: 'チューリヒ',
1367            content: 'ガブリエル・ナルトヴィチ家に寄寓',
1368            img: []
1369        },
1370        group: 'home'
1371    },
1372    {
1373        id: 56,
1374        coordinates: [46.2, 6.15],
1375        desc: {
1376            title: 'ジュネーブ',
1377            content: '滞在',
1378            img: []
1379        },
1380        group: 'home'
1381    },
1382    {
1383        id: 57,
1384        coordinates: [48.866667, 2.35],
1385        desc: {
1386            title: 'パリ',
1387            content: 'ソルボンヌ大学の講義を聴講、マリア・スクウォドフスカ=キュリーらポーランド知識人たちと交流、ラジウム線によるマリア・ジャルノフスカの放射線療法、ポーランド国民委員会のための仕事、死',
1388            img: [{
1389                src: '/wp-content/uploads/2021/12/57_Paryz.jpg',
1390                description: 'パリ—アレクサンドル三世橋'
1391            }]
1392        },
1393        group: 'home'
1394    },
1395    {
1396        id: 59,
1397        coordinates: [50.040628, 18.700848],
1398        desc: {
1399            title: 'ジョルィ',
1400            content: 'ピウスツキの記念碑',
1401            img: [{
1402                src: '/wp-content/uploads/2022/02/Pilsudski-i-Ajnka-pomnik-w-Zorach.jpg',
1403                description: 'ピウスツキの記念碑'
1404            }]
1405        },
1406        group: 'monument'
1407    },
1408    {
1409        id: 60,
1410        coordinates: [47.316667, 142.75],
1411        desc: {
1412            title: 'ガルキノ=ヴラスコエ',
1413            content: '測候所',
1414            img: []
1415        },
1416        group: 'work'
1417    },
1418
1419]
1420
1421const markers = [
1422    {
1423        id: 1,
1424        coordinates: [54.972222, 25.975],
1425        desc: {
1426            title: 'ZUŁÓW',
1427            content: 'miejsce urodzenia, dom rodzinny, dzieciństwo',
1428            img: [{
1429                src: '/wp-content/uploads/2021/12/1_Zulow-1.jpg',
1430                description: 'Zułów, widok na jezioro Piorun. '
1431            },
1432            {
1433                src: '/wp-content/uploads/2021/12/1_Zulow-2.jpg',
1434                description: 'Zułów, zarys fundamentów dworku Piłsudskich i wędzarnia.'
1435            }
1436            ]
1437        },
1438        group: 'home'
1439    },
1440    {
1441        id: 2,
1442        coordinates: [54.683333, 25.283333],
1443        desc: {
1444            title: 'WILNO',
1445            content: 'nauka, gimnazjum, mieszkania, „Spójnia”, śmierć matki',
1446            img: [{
1447                src: '/wp-content/uploads/2021/12/2_Wilno1.jpg',
1448                description: 'Dom przy ulicy Trockiej – pierwsze mieszkanie Piłsudskich w Wilnie.'
1449            }]
1450        },
1451        group: 'home'
1452    },
1453    {
1454        id: 3,
1455        coordinates: [59.933333, 30.266667],
1456        desc: {
1457            title: 'PETERSBURG',
1458            content: 'gimnazjum, studia, areszt, proces sądowy, miejsce śmierci ojca i Marii Żarnowskiej',
1459            img: [{
1460                src: '/wp-content/uploads/2021/12/3_Petersburg_Easy-Resize.com_.jpg',
1461                description: 'Petersburg pod koniec XIX wieku.'
1462            },
1463            {
1464                src: '/wp-content/uploads/2022/05/Petersburg-scaled.jpg',
1465                description: 'Kamienica, w której mieszkał na stancji Bronisław Piłsudski (fot. Danuta Onyszkiewicz).'
1466            }]
1467        },
1468        group: 'museum'
1469    },
1470    {
1471        id: 4,
1472        coordinates: [55.75, 37.616667],
1473        desc: {
1474            title: 'MOSKWA – BUTYRKI',
1475            content: 'więzienie przejściowe',
1476            img: [{
1477                src: '/wp-content/uploads/2021/12/4_Moskwa_Butyrki.jpg',
1478                description: 'Moskwa, więzienie Butyrki.'
1479            }]
1480        },
1481        group: 'trip'
1482    },
1483    {
1484        id: 5,
1485        coordinates: [46.466667, 30.733333],
1486        desc: {
1487            title: 'ODESSA',
1488            content: 'początek drogi na zesłanie statkiem "Niżny Nowogród"',
1489            img: [{
1490                src: '/wp-content/uploads/2021/12/5_Odessa.jpg',
1491                description: 'Wybrzeże w Odessie.'
1492            }]
1493        },
1494        group: 'trip'
1495    },
1496    {
1497        id: 6,
1498        coordinates: [50.897778, 142.16],
1499        desc: {
1500            title: 'ALEKSANDROWSK',
1501            content: 'pierwsze zetknięcie z Sachalinem, pożegnanie z wyspą',
1502            img: [{
1503                src: '/wp-content/uploads/2021/12/6_Aleksandrowsk.jpg',
1504                description: '"Przystań imperatorska" u wybrzeży Aleksandrowska Sachalińskiego. Fotografia z albumu Bronisława Piłsudskiego ze zbiorów Polskiej Akademii Umiejętności.'
1505            }]
1506        },
1507        group: 'trip'
1508    },
1509    {
1510        id: 7,
1511        coordinates: [50.828195, 142.774338],
1512        desc: {
1513            title: 'RYKOWSKOJE',
1514            content: 'dotarcie na piechotę z Aleksandrowska do miejsca zsyłki, więzienie, praca katorż
1514nicza, początek pracy etnograficznej, działalność edukacyjna, badania botaniczne, stacja meteorologiczna, spotkanie z Lwem Szternbergiem',
1515            link: {
1516                address: '/dzialalnosc/',
1517                text: 'zobacz Działalność'
1518            },
1519            img: [{
1520                src: '/wp-content/uploads/2021/12/7_Rykowskoje.jpg',
1521                description: '"Wieś Rykowskoje: po prawej koszary wojskowe, po lewej więzienne magazyny". Fotografia z albumu Bronisława Piłsudskiego ze zbiorów Polskiej Akademii Umiejętności.'
1522            }]
1523        },
1524        group: 'work'
1525    },
1526    {
1527        id: 8,
1528        coordinates: [46.63613926896697, 142.77337415025934],
1529        desc: {
1530            title: 'KORSAKOW',
1531            content: 'spotkania z kulturą Ajnów 1896, stacja meteorologiczna, organizacja szkoły, projekt przepisów prawnych, początek dużej wyprawy badawczej nad Ajnami',
1532            link: {
1533                address: '/kalendarium-zycia/#1902',
1534                text: 'Kalendarium życia 1902'
1535            },
1536            img: [{
1537                src: '/wp-content/uploads/2021/12/8_Korsakowsk.jpg',
1538                description: '"Przystań wioski korsakowskiej". Fotografia z albumu Bronisława Piłsudskiego ze zbiorów Polskiej Akademii Umiejętności.'
1539            }]
1540        },
1541        group: 'work'
1542    },
1543    {
1544        id: 9,
1545        coordinates: [43.166667, 131.933333],
1546        desc: {
1547            title: 'WŁADYWOSTOK',
1548            content: '1899 - początek pracy jako kurator w Muzeum Towarzystwa Badań Kraju Amurskiego, przygotowanie dwóch kolekcji na Wystawę Światową w Paryżu, ostatnie miejsce pobytu przed opuszczeniem Rosji, 1905 - kontakty z rewolucjonistami i działaczami rosyjskimi',
1549            link: {
1550                address: '/kalendarium-zycia/#1899',
1551                text: 'Kalendarium życia 1899'
1552            },
1553            img: [{
1554                src: '/wp-content/uploads/2022/02/Wladywostok.jpg',
1555                description: 'Władywostok na początku XX wieku.'
1556            }]
1557        },
1558        group: 'museum'
1559    },
1560    {
1561        id: 10,
1562        coordinates: [47.316667, 142.8],
1563        desc: {
1564            title: 'SIJANCY',
1565            content: 'zbieranie materiałów etnograficznych, organizacja szkoły czytania i pisania, pierwszy kontakt z Ajnami',
1566            img: [{
1567                src: '/wp-content/uploads/2022/02/Ajnowie-scaled.jpeg',
1568                description: 'Ajnowie. Fotografia ze zbiorów Archiwum Akt Nowych w Warszawie.'
1569            }]
1570        },
1571        group: 'research'
1572    },
1573    {
1574        id: 11,
1575        coordinates: [47.033333, 142.033333],
1576        desc: {
1577            title: 'MAUKA',
1578            content: 'spis ludności ajnuskiej, nagrania pieśni Ajnów fonografem',
1579            img: []
1580        },
1581        group: 'research'
1582    },
1583    {
1584        id: 12,
1585        coordinates: [41.766667, 140.733333],
1586        desc: {
1587            title: 'HAKODATE',
1588            content: 'pierwszy i kolejny pobyt w Japonii, 1902, 1903; początek wyprawy badawczej z Sieroszewskim na Hokkaido',
1589            link: {
1590                address: '/kalendarium-zycia/#1902',
1591                text: 'Kalendarium życia 1902, 1903'
1592            },
1593            img: []
1594        },
1595        group: 'work'
1596    },
1597    {
1598        id: 13,
1599        coordinates: [47.650894, 142.569852],
1600        desc: {
1601            title: 'OTOSAN',
1602            content: 'zbieranie materiałów etnograficznych, organizacja szkoły czytania i pisania, Święto Niedźwiedzia',
1603            img: []
1604        },
1605        group: 'research'
1606    },
1607    {
1608        id: 14,
1609        coordinates: [47.848943, 142.513320],
1610        desc: {
1611            title: 'SIERAROKO',
1612            content: 'Święto Niedźwiedzia',
1613            img: []
1614        },
1615        group: 'research'
1616    },
1617    {
1618        id: 15,
1619        coordinates: [47.372338, 142.908372],
1620        desc: {
1621            title: 'RURE',
1622            content: 'zapisy podań ustnych, pieśni, legend, pierwsze nagrania hauki („pieśni o bohaterach”), tłumaczenia',
1623            img: []
1624        },
1625        group: 'research'
1626    },
1627    {
1628        id: 16,
1629        coordinates: [47.452949, 142.739295],
1630        desc: {
1631            title: 'AI',
1632            content: 'baza wypadowa badań, nauka języka Ajnów, ślub z Ciusammą, rodzina',
1633            img: []
1634        },
1635        group: 'work'
1636    },
1637    {
1638        id: 17,
1639        coordinates: [46.848499, 143.173411],
1640        desc: {
1641            title: 'TUNAJCZA',
1642            content: 'nagrania hauki i oina („pieśni o bogach”)',
1643            img: []
1644        },
1645        group: 'research'
1646    },
1647    {
1648        id: 18,
1649        coordinates: [42.55, 141.35],
1650        desc: {
1651            title: 'SHIRAOI',
1652            content: 'Badania życia i kultury Ajnów, współpraca z Wacławem Sieroszewskim, miejsce upamiętnienia Bronis
1652ława Piłsudskiego przez Polskę przez postawienie popiersia na terenie Muzeum Kultury Ajnów Upopoy',
1653            img: [{
1654                src: '/wp-content/uploads/2022/02/popiersie-w-Shiraoi-1.jpg',
1655                description: 'Popiersie Bronisława Piłsudskiego.'
1656            }]
1657        },
1658        group: 'research'
1659    },
1660    {
1661        id: 19,
1662        coordinates: [42.316667, 140.966667],
1663        desc: {
1664            title: 'MURORAN',
1665            content: 'wyprawa badawcza, współpraca z Wacławem Sieroszewskim',
1666            img: []
1667        },
1668        group: 'research'
1669    },
1670    {
1671        id: 20,
1672        coordinates: [42.583333, 142.133333],
1673        desc: {
1674            title: 'BIRATORI',
1675            content: 'przerwanie badań',
1676            img: []
1677        },
1678        group: 'research'
1679    },
1680    {
1681        id: 21,
1682        coordinates: [43.066667, 141.35],
1683        desc: {
1684            title: 'SAPPORO',
1685            content: 'powrót zespołu badawczego',
1686            img: []
1687        },
1688        group: 'work'
1689    },
1690    {
1691        id: 22,
1692        coordinates: [47.421229, 142.777928],
1693        desc: {
1694            title: 'NAJBUCZI',
1695            content: 'wspieranie organizacji szkoły czytania i pisania, nauczanie, rytuał ofiary z lisa, wybuch wojny japońsko-rosyjskiej',
1696            link: {
1697                address: '/kalendarium-zycia/#1904',
1698                text: 'Kalendarium życia luty 1904'
1699            },
1700            img: []
1701        },
1702        group: 'research'
1703    },
1704    {
1705        id: 23,
1706        coordinates: [49.328100, 143.443677],
1707        desc: {
1708            title: 'TARAJKA',
1709            content: 'badania wśród Ajnów i Oroków',
1710            img: []
1711        },
1712        group: 'research'
1713    },
1714    {
1715        id: 24,
1716        coordinates: [49.068956, 142.950391],
1717        desc: {
1718            title: 'NAJORO',
1719            content: 'badania wśród Ajnów i Oroków',
1720            img: []
1721        },
1722        group: 'research'
1723    },
1724    {
1725        id: 26,
1726        coordinates: [46.966667, 142.733333],
1727        desc: {
1728            title: 'WŁADIMIROWKA',
1729            content: 'Przygotowania do wyjazdu, miejsce upamiętnienia Bronisława Piłsudskiego przez Rosjan: Instytut Dziedzictwa Bronisława Piłsudskiego, pomnik jemu postawiony',
1730            img: [{
1731                src: '/wp-content/uploads/2021/12/Pomnik-Bronislawa-Pilsudskiego-przed-Sachalinskim-Muzeum-Regionalnym.jpg',
1732                description: 'Popiersie badacza znajduje się przed Sachalińskim Muzeum Regionalnym.'
1733            }]
1734        },
1735        group: 'monument'
1736    },
1737    {
1738        id: 27,
1739        coordinates: [47.650894, 142.569852],
1740        desc: {
1741            title: 'OTOSAN',
1742            content: 'Święto Niedźwiedzia, rytuał rozstania',
1743            img: []
1744        },
1745        group: 'research'
1746    },
1747
1748    {
1749        id: 28,
1750        coordinates: [50.192172, 142.688022],
1751        desc: {
1752            title: 'ONOR',
1753            content: 'Projekt regulacji odnośnie zachowania obyczajów i zarządzania Ajnami',
1754            img: []
1755        },
1756        group: 'work'
1757    },
1758    {
1759        id: 29,
1760        coordinates: [50.850278, 142.66],
1761        desc: {
1762            title: 'DERBINSKOJE',
1763            content: 'ostatnie miejsce pobytu przed opuszczeniem Sachalinu',
1764            img: []
1765        },
1766        group: 'work'
1767    },
1768    {
1769        id: 30,
1770        coordinates: [53.14218559172102, 140.7420727915451],
1771        desc: {
1772            title: 'NIKOŁAJEWSK',
1773            content: 'nagrania opowieści Ajnów z doliny Amuru',
1774            img: []
1775        },
1776        group: 'research'
1777    },
1778    {
1779        id: 31,
1780        coordinates: [51.727083, 140.184129],
1781        desc: {
1782            title: 'MARIINSKOJE',
1783            content: 'nagrania opowieści Olczów',
1784            img: []
1785        },
1786        group: 'research'
1787    },
1788    {
1789        id: 32,
1790        coordinates: [48.466667, 135.1],
1791        desc: {
1792            title: 'CHABAROWSK',
1793            content: 'zbieranie informacji o Ajnach żyjących u ujścia Amuru, pierwsza publikacja z zakresu stosunków społecznych',
1794            img: []
1795        },
1796        group: 'research'
1797    },
1798    {
1799        id: 33,
1800        coordinates: [34.683333, 135.183333],
1801        desc: {
1802            title: 'KOBE',
1803            content: 'pomoc w biurze Nicholasa Russela',
1804            img: []
1805        },
1806        group: 'work'
1807    },
1808    {
1809        id: 34,
1810        coordinates: [49.46230865516606, 136.60759004260225],
1811        desc: {
1812            title: 'TROICKOJE',
1813            content: 'zbieranie materiałów dotyczących Nanajów',
1814            img: []
1815        },
1816        group: 'research'
1817    },
1818    {
1819        id: 35,
1820        coordinates: [35.689722, 139.692222],
1821        desc: {
1822            title: 'TOKIO',
1823            content: 'kontakty z badaczami życia Ajnów, socjalistami, działaczkami na rzecz praw kobiet, artystami oraz z rewolucjonistami chińskimi, zawiązanie Towarz
1823ystwa Polsko-Japońskiego, badania nad wykopaliskami (pagórki muszlowe)',
1824            img: [{
1825                src: '/wp-content/uploads/2021/12/35_Tokio.jpg',
1826                description: 'Świątynia w Tokio.'
1827            }]
1828        },
1829        group: 'work'
1830    },
1831    /*{
1832        id: 36,
1833        coordinates: [31.2, 121.5],
1834        desc:{
1835            title:  'SZANGHAI',
1836            content: 'przystanek w podróży',
1837            img:[]
1838        },
1839        group: 'trip'
1840    },*/
1841    {
1842        id: 37,
1843        coordinates: [32.783333, 129.866667],
1844        desc: {
1845            title: 'NAGASAKI',
1846            content: 'pierwsze i ostatnie miejsce pobytu Bronisława Piłsudskiego w Japonii',
1847            img: [{
1848                src: '/wp-content/uploads/2022/02/Ulica-w-Nagasaki.jpeg',
1849                description: 'Nagasaki na przełomie XIX i XX wieku.'
1850            }]
1851        },
1852        group: 'work'
1853    },
1854    {
1855        id: 38,
1856        coordinates: [47.609722, -122.333056],
1857        desc: {
1858            title: 'SEATTLE',
1859            content: 'przystanek w podróży &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp',
1860            img: [{
1861                src: '/wp-content/uploads/2022/04/Seattle.png',
1862                description: 'Seattle.'
1863            }]
1864        },
1865        group: 'trip'
1866    },
1867    {
1868        id: 39,
1869        coordinates: [41.881944, -87.627778],
1870        desc: {
1871            title: 'CHICAGO',
1872            content: 'przystanek w podróży, przeziębienie uniemożliwiające wzięcie udziału w V Zjeździe Polskiej Partii Socjalistycznej',
1873            img: [{
1874                src: '/wp-content/uploads/2021/12/39_Chicago.jpg',
1875                description: 'Ulica Chicago.'
1876            }]
1877        },
1878        group: 'trip'
1879    },
1880    {
1881        id: 40,
1882        coordinates: [40.716667, -74],
1883        desc: {
1884            title: 'NOWY JORK',
1885            content: 'kontakty z Smithsonian Institution, początek drogi do Europy',
1886            img: [{
1887                src: '/wp-content/uploads/2021/12/Nowy-York.jpeg',
1888                description: 'Nowy Jork.'
1889            }]
1890        },
1891        group: 'museum'
1892    },
1893    {
1894        id: 41,
1895        coordinates: [51.5, -0.116667],
1896        desc: {
1897            title: 'LONDYN',
1898            content: 'przystanek w podróży, spotkanie z Ajnami z doliny Saru w roku 1910',
1899            img: [{
1900                src: '/wp-content/uploads/2022/03/Londyn-tower-bridge.jpeg',
1901                description: 'Tower Bridge.'
1902            }]
1903        },
1904        group: 'trip'
1905    },
1906    {
1907        id: 42,
1908        coordinates: [50.061389, 19.938333],
1909        desc: {
1910            title: 'KRAKÓW',
1911            content: 'bliskie kontakty z bratem Józefem Piłsudskim; związki z Polską Akademią Umiejętności, spotkanie z Marią Żarnowską',
1912            img: [{
1913                src: '/wp-content/uploads/2021/12/42_Krakow.jpg',
1914                description: 'Kraków, Kościół Mariacki.'
1915            }]
1916        },
1917        group: 'monument'
1918    },
1919    {
1920        id: 43,
1921        coordinates: [49.299444, 19.951944],
1922        desc: {
1923            title: 'ZAKOPANE',
1924            content: 'spotkanie po dziewiętnastu latach z Józefem, konferencja rodzinna z udziałem czterech braci, praca dla Towarzystwa Tatrzańskiego, udział w tworzeniu muzeum, redakcja powstającego „Rocznika Podhalańskiego”, upamiętnienie Bronisława Piłsudskiego poprzez symboliczny grób na Pęksowym Brzyzku',
1925            img: [{
1926                src: '/wp-content/uploads/2021/12/43_Zakopane.jpg',
1927                description: 'Zakopane: Krupówki.'
1928            }]
1929        },
1930        group: 'monument'
1931    },
1932    {
1933        id: 44,
1934        coordinates: [50.230556, 12.8725],
1935        desc: {
1936            title: 'KARLSBAD',
1937            content: 'pobyt w kurorcie z Marią Żarnowską',
1938            img: []
1939        },
1940        group: 'trip'
1941    },
1942    {
1943        id: 45,
1944        coordinates: [49.842, 24.031997],
1945        desc: {
1946            title: 'LWÓW',
1947            content: 'wspólne mieszkanie z Marią Żarnowską, praca, kontakty z Benedyktem Dybowskim',
1948            img: []
1949        },
1950        group: 'home'
1951    },
1952    {
1953        id: 46,
1954        coordinates: [49.701667, 20.425556],
1955        desc: {
1956            title: 'LIMANOWA',
1957            content: 'wizyta u zesłańca z Sachalinu Edmunda Płoskiego',
1958            img: []
1959        },
1960        group: 'trip'
1961    },
1962    {
1963        id: 47,
1964        coordinates: [50.087778, 14.421111],
1965        desc: {
1966            title: 'PRAGA',
1967            content: 'poznawanie muzeów',
1968            img: []
1969        },
1970        group: 'museum'
1971    },
1972    {
1973        id: 48,
1974        coordinates: [46.990278, 6.930556],
1975        desc: {
1976            title: 'NEUCHÂTEL',
1977            content: 'studia etnologiczne ',
1978            img: []
1979        },
1980        group: 'work'
1981    },
1982    {
1983        id: 49,
1984        coordinates: [50.833333, 4.35],
1985        desc: {
1986            title: 'BRUKSELA',
1987            content: 'praca w Instytucie Solvaya',
1988            img: []
1989        },
1990        group: 'work'
1991    },
1992    {
1993        id: 50,
1994        coordinates: [48.216667, 16.366667],
1995        desc: {
1996            title: 'WIEDEŃ',
1997            content: 'praca nad "Encyklopedią polską"',
1998            img: []
1999        },
2000        group: 'work'
2001    },
2002    {
2003        id: 51,
2004        coordinates: [46.516667, 6.633333],
2005        desc: {
2006            title: 'LOZANNA',
2007            content: 'opracowanie "Encyklopedii polskiej" jako przedstawiciel frakcji wiedeńskiej, Komitet Polsko-Litewski, praca na rzecz porozumienia między Polakami a Litwinami',
2008            img: []
2009        },
2010        group: 'work'
2011    },
2012    {
2013        id: 52,
2014        coordinates: [48, 7.85],
2015        desc: {
2016            title: 'FRYBURG',
2017            content: 'redakcja "Encyklopedii polskiej", powołanie Komitetu Generalnego Pomocy Ofiarom Wojny na Litwie',
2018            img: []
2019        },
2020        group: 'work'
2021    },
2022    {
2023        id: 53,
2024        coordinates: [47.226667, 8.818333],
2025        desc: {
2026            title: 'RAPERSWIL',
2027            content: 'odwiedziny polskiego muzeum i biblioteki, praca nad tekstami',
2028            img: []
2029        },
2030        group: 'museum'
2031    },
2032    {
2033        id: 54,
2034        coordinates: [46.466667, 6.85],
2035        desc: {
2036            title: 'VEVEY',
2037            content: 'miejsce pobytu',
2038            img: []
2039        },
2040        group: 'home'
2041    },
2042
2043    {
2044        id: 55,
2045        coordinates: [47.383333, 8.533333],
2046        desc: {
2047            title: 'ZURYCH',
2048            content: 'mieszkanie u Gabriela Narutowicza',
2049            img: []
2050        },
2051        group: 'home'
2052    },
2053    {
2054        id: 56,
2055        coordinates: [46.2, 6.15],
2056        desc: {
2057            title: 'GENEWA',
2058            content: 'miejsce pobytu',
2059            img: []
2060        },
2061        group: 'home'
2062    },
2063    {
2064        id: 57,
2065        coordinates: [48.866667, 2.35],
2066        desc: {
2067            title: 'PARYÅ»',
2068            content: 'uczestnictwo w wykładach na Sorbonie, kontakty z polskimi intelektualistami, m.in. Marią Skłodowską-Curie, radioterapia Marii Żarnowskiej, praca dla Komitetu Narodowego Polskiego, śmierć',
2069            img: [{
2070                src: '/wp-content/uploads/2021/12/57_Paryz.jpg',
2071                description: 'Paryż - most Aleksandra III.'
2072            }]
2073        },
2074        group: 'home'
2075    },
2076    {
2077        id: 59,
2078        coordinates: [50.040628, 18.700848],
2079        desc: {
2080            title: 'ŻORY',
2081            content: 'pomnik badacza',
2082            img: [{
2083                src: '/wp-content/uploads/2022/02/Pilsudski-i-Ajnka-pomnik-w-Zorach.jpg',
2084                description: 'Pomnik Bronisława Piłsudskiego.'
2085            }]
2086        },
2087        group: 'monument'
2088    },
2089    {
2090        id: 60,
2091        coordinates: [47.316667, 142.75],
2092        desc: {
2093            title: 'GAŁKINO-WRASSKOJE',
2094            content: 'stacja meteorologiczna',
2095            img: []
2096        },
2097        group: 'work'
2098    },
2099
2100]
2101
2102function changeIcon(type) {
2103
2104    var newIcon = L.icon({
2105        iconUrl: `/wp-content/uploads/2021/12/${type}.png`,
2106        iconSize: [25, 30],
2107        iconAnchor: [12, 30],
2108        popupAnchor: [10, -25]
2109    })
2110    return newIcon;
2111}
2112
2113
2114function createMarkers(L) {
2115    const mapLayers = {
2116        work: [],
2117        monument: [],
2118        museum: [],
2119        trip: [],
2120        home: [],
2121        research: []
2122    }
2123    if (location.href.includes('en/travel-map/')) {
2124        markersEN.forEach(item => {
2125            var itemMarker = L.marker(item.coordinates, { icon: changeIcon(item.group) });
2126            let imgSec = '';
2127            let link = '';
2128            item.desc.img.map(image => {
2129                const newImg = `<div class="wp-block-image"><figure class='aligncenter size-large'><a href="${image.src}"><img src="${image.src}" /></a><figcaption><p class='img-desc'>${image.description}</p></figcaption></figure></div>`;
2130                imgSec = imgSec + newImg;
2131            })
2132            if (item.desc.link) {
2133                link = `<div class='pop-link'><img src="/wp-content/uploads/2022/02/arrow-blue.svg" /><a href=${item.desc.link.address} target='_blank' style='display: block'>${item.desc.link.text}</a></div>`;
2134            }
2135
2136            const popContent = `<div class="popup-header"><h6>${item.desc.title}</h6></div><div class='popup-content'>
2137		<p>${item.desc.content}${link}</p><div class='pop-img'>${imgSec}</div>
2138		</div>`
2139            itemMarker.bindPopup(popContent);
2140            mapLayers[item.group].push(itemMarker);
2141        })
2142    } else if (location.href.includes('ja/')) {
2143        markersJA.forEach(item => {
2144            var itemMarker = L.marker(item.coordinates, { icon: changeIcon(item.group) });
2145            let imgSec = '';
2146            let link = '';
2147            item.desc.img.map(image => {
2148                const newImg = `<div class="wp-block-image"><figure class='aligncenter size-large'><a href="${image.src}"><img src="${image.src}" /></a><figcaption><p class='img-desc'>${image.description}</p></figcaption></figure></div>`;
2149                imgSec = imgSec + newImg;
2150            })
2151            if (item.desc.link) {
2152                link = `<div class='pop-link'><img src="/wp-content/uploads/2022/02/arrow-blue.svg" /><a href=${item.desc.link.address} target='_blank' style='display: block'>${item.desc.link.text}</a></div>`;
2153            }
2154
2155            const popContent = `<div class="popup-header"><h6>${item.desc.title}</h6></div><div class='popup-content'>
2156		<p>${item.desc.content}${link}</p><div class='pop-img'>${imgSec}</div>
2157		</div>`
2158            itemMarker.bindPopup(popContent);
2159            mapLayers[item.group].push(itemMarker);
2160        })
2161    }  else {
2162        markers.forEach(item => {
2163            var itemMarker = L.marker(item.coordinates, { icon: changeIcon(item.group) });
2164            let imgSec = '';
2165            let link = '';
2166            item.desc.img.map(image => {
2167                const newImg = `<div class="wp-block-image"><figure class='aligncenter size-large'><a href="${image.src}"><img src="${image.src}" /></a><figcaption><p class='img-desc'>${image.description}</p></figcaption></figure></div>`;
2168                imgSec = imgSec + newImg;
2169            })
2170            if (item.desc.link) {
2171                link = `<div class='pop-link'><img src="/wp-content/uploads/2022/02/arrow-blue.svg" /><a href=${item.desc.link.address} target='_blank' style='display: block'>${item.desc.link.text}</a></div>`;
2172            }
2173
2174            const popContent = `<div class="popup-header"><h6>${item.desc.title}</h6></div><div class='popup-content'>
2175		<p>${item.desc.content}${link}</p><div class='pop-img'>${imgSec}</div>
2176		</div>`
2177            itemMarker.bindPopup(popContent);
2178            mapLayers[item.group].push(itemMarker);
2179        })
2180    }
2181    return mapLayers;
2182}
2183
2184function addMapToPage() {
2185	if (jQuery('#map').length != 0){
2186    var map = L.map('map').setView([54.972222, 25.975], 2.7);
2187    L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
2188        minZoom: 2.7,
2189        maxZoom: 10,
2190        tileSize: 256,
2191        reuseTiles: true,
2192        unloadInvisibleTiles: true,
2193        paddingTopLeft: [20, 20],
2194        attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',
2195    }).addTo(map);
2196
2197    var southWest = L.latLng(-10, -180),
2198        northEast = L.latLng(89, 180);
2199    var bounds = L.latLngBounds(southWest, northEast);
2200    map.setMaxBounds(bounds);
2201    map.on('drag', function () {
2202        map.panInsideBounds(bounds, { animate: true });
2203    });
2204
2205    const mapLayers = createMarkers(L);
2206    var work = L.layerGroup(mapLayers.work);
2207    var monument = L.layerGroup(mapLayers.monument);
2208    var museum = L.layerGroup(mapLayers.museum);
2209    var trip = L.layerGroup(mapLayers.trip);
2210    var home = L.layerGroup(mapLayers.home);
2211    var research = L.layerGroup(mapLayers.research);
2212
2213    var overlayMaps = {
2214        "Dom": home,
2215        "Podróż": trip,
2216        "Muzeum": museum,
2217        "Badania Etnograficzne": research,
2218        "Pomnik": monument,
2219        "Praca": work
2220    }
2221    var overlayMapsEN = {
2222        "Home": home,
2223        "Trip": trip,
2224        "Museum": museum,
2225        "Ethnographic Research": research,
2226        "Monument": monument,
2227        "Work": work
2228    }
2229	var overlayMapsJA = {
2230        "ホーム": home,
2231        "旅行": trip,
2232        "博物館": museum,
2233        "民族学調査": research,
2234        "記念碑": monument,
2235        "仕事": work
2236    }
2237    if (location.href.includes('en/travel-map/')) {
2238        L.control.layers(null, overlayMapsEN, {
2239            // 		collapsed: false
2240        }).addTo(map);
2241        overlayMapsEN["Home"].addTo(map);
2242        overlayMapsEN["Trip"].addTo(map);
2243        overlayMapsEN["Museum"].addTo(map);
2244        overlayMapsEN["Ethnographic Research"].addTo(map);
2245        overlayMapsEN["Monument"].addTo(map);
2246        overlayMapsEN["Work"].addTo(map);
2247    } else if(location.href.includes('ja/')) {
2248        L.control.layers(null, overlayMapsJA, {}).addTo(map);
2249        overlayMapsJA["ホーム"].addTo(map);
2250        overlayMapsJA["旅行"].addTo(map);
2251        overlayMapsJA["博物館"].addTo(map);
2252        overlayMapsJA["民族学調査"].addTo(map);
2253        overlayMapsJA["記念碑"].addTo(map);
2254        overlayMapsJA["仕事"].addTo(map);
2255    } else {
2256        L.control.layers(null, overlayMaps, {
2257            // 		collapsed: false
2258        }).addTo(map);
2259        overlayMaps["Dom"].addTo(map);
2260        overlayMaps["Podróż"].addTo(map);
2261        overlayMaps["Muzeum"].addTo(map);
2262        overlayMaps["Badania Etnograficzne"].addTo(map);
2263        overlayMaps["Pomnik"].addTo(map);
2264        overlayMaps["Praca"].addTo(map);
2265    }
2266	
2267
2268    const iconUrls = ['/wp-content/uploads/2021/12/home.png', '/wp-content/uploads/2021/12/trip.png', '/wp-content/uploads/2021/12/museum.png', '/wp-content/uploads/2021/12/research.png', '/wp-content/uploads/2021/12/monument.png', '/wp-content/uploads/2021/12/work.png'];
2269
2270    const controlLabels = document.querySelectorAll('#map .leaflet-control-layers-overlays>label>div>span');
2271    controlLabels.forEach((item, index) => {
2272        const newIcon = document.createElement('img');
2273        newIcon.src = iconUrls[index];
2274        item.prepend(newIcon);
2275    })
2276
2277    // 	map.on('popupopen', function (e) {
2278    // 		console.log(e.target._popup._latlng);
2279    //     map.setView(e.target._popup._latlng);
2280
2281    // });
2282
2283
2284    var polylinePoints1 = [
2285        [54.971682, 25.974997],
2286        [54.684658, 25.271293],
2287        [59.932102, 30.311387],
2288        [55.750366, 37.617999],
2289        [46.475457, 30.765428],
2290        [41.001756, 28.975023],
2291        [40.346299, 25.3701116],
2292        [40.0582734, 24.8348205],
2293        [39.6679193, 24.567191],
2294        [39.02221, 24.6103608],
2295        [38.5126735, 24.9579474],
2296        [34.9873778, 27.7754402],
2297        [31.273505, 32.301693],
2298        [31.273505, 32.301693],
2299        [11.8618935, 43.9413617],
2300        [6.915312, 79.848220],
2301        [6.915312, 79.84822],
2302        [6.9018467, 90.8565304],
2303        [6.9814215, 93.8225483],
2304        [6.6660777, 95.5680188],
2305        [5.9979208, 96.5198397],
2306        [3.040117, 101.361244],
2307        [2.9595862, 101.1827015],
2308        [2.907909, 101.1312033],
2309        [2.7684492, 101.1840734],
2310        [2.6705742, 101.2843155],
2311        [2.3888094, 101.6357798],
2312        [1.803205, 102.2834297],
2313        [1.4533543, 103.0130556],
2314        [1.289905, 103.885310],
2315        [19.026525, 114.403845],
2316        [32.720296, 129.824767],
2317        [32.7412514, 129.8281226],
2318        [33.0214094, 129.3335347],
2319        [33.2440899, 129.3048923],
2320        [33.4851437, 129.2981287],
2321        [34.4297675, 129.6129948],
2322        [36.2991435, 130.1967576],
2323        [39.7618559, 131.6124574],
2324        [42.2560664, 131.8814307],
2325        [43.133823, 131.9132323],
2326        [42.6278469, 132.4280009],
2327        [42.3288493, 133.2864067],
2328        [42.2840912, 133.9646007],
2329        [42.509682, 134.7332348],
2330        [44.1628178, 137.3803773],
2331        [47.6245824, 140.7662944],
2332        [48.2080839, 141.2112131],
2333        [48.7320702, 141.3786708],
2334        [49.851012, 141.6836883],
2335        [50.3956535, 141.8313261],
2336        [50.6659851, 141.9535862],
2337        [50.7923454, 142.0153386],
2338        [50.8408251, 142.0078436],
2339        [50.8736903, 142.0553152],
2340        [50.897778, 142.16],
2341        [50.8937048, 142.2155701],
2342        [50.828195, 142.774338]
2343    ];
2344    var polylinePoints2 = [
2345        [43.166667, 131.933333],
2346        [42.8068685, 132.143735],
2347        [42.5720719, 132.4016168],
2348        [42.4151635, 132.7389089],
2349        [42.3439563, 133.0045161],
2350        [42.3345045, 133.1605496],
2351        [42.3428884, 133.2358091],
2352        [42.3634029, 133.3111032],
2353        [45.9502854, 142.4057626],
2354        [46.1789705, 142.6618281],
2355        [46.3389278, 142.7647245],
2356        [46.4875336, 142.8019965],
2357        [46.6361393, 142.7733742],
2358        [46.6390179, 142.7735537],
2359        [46.9740952, 142.819652],
2360        [47.316667, 142.8],
2361        [47.316667, 142.8],
2362        [47.18124, 142.4046575],
2363        [47.033333, 142.033333],
2364        [47.033333, 142.033333],
2365        [47.033333, 142.033333],
2366        [45.8782504, 140.7086547],
2367        [42.1953959, 139.1458042],
2368        [41.7887382, 139.1376882],
2369        [41.5175745, 139.4775685],
2370        [41.451891, 139.6112419],
2371        [41.4045492, 139.7693801],
2372        [41.3769991, 139.9897521],
2373        [41.3665939, 140.2004264],
2374        [41.3800888, 140.3231033],
2375        [41.4099451, 140.440367],
2376        [41.4561987, 140.5385018],
2377        [41.4900593, 140.579044],
2378        [41.5612942, 140.6394564],
2379        [41.6201765, 140.6779957],
2380        [41.766667, 140.733333],
2381        [46.6361393, 142.7733742],
2382        [47.2388853, 142.6256094],
2383        [47.6453367, 142.549192],
2384        [47.848943, 142.51332],
2385        [47.6678163, 142.5452449],
2386        [47.656851, 142.5549337],
2387        [47.650894, 142.569852],
2388        [47.650894, 142.569852],
2389        [47.4838381, 142.6818588],
2390        [47.316667, 142.8],
2391        [47.316667, 142.8],
2392        [47.372338, 142.908372],
2393        [47.372338, 142.908372],
2394        [47.3789208, 142.881769],
2395        [47.39943, 142.8091353],
2396        [47.452949, 142.739295],
2397        [46.848499, 143.173411],
2398        [46.8562841, 143.1603622],
2399        [46.8537338, 143.1260251],
2400        [46.8678716, 143.0813691],
2401        [47.372338, 142.908372],
2402        [47.421229, 142.777928],
2403        [47.4219775, 142.7797362],
2404        [47.421229, 142.777928],
2405        [47.4688417, 142.6924918],
2406        [47.650894, 142.569852],
2407        [48.9659744, 143.0293847],
2408        [49.068956, 142.950391],
2409        [49.068956, 142.950391],
2410        [49.1278484, 142.9691082],
2411        [49.2380813, 143.1022283],
2412        [49.3281, 143.443677],
2413        [49.068956, 142.950391],
2414        [50.192172, 142.688022],
2415        [50.192172, 142.688022],
2416        [50.828195, 142.774338],
2417        [49.068956, 142.950391],
2418        [48.932319, 142.9242367],
2419        [48.5783245, 142.7303241],
2420        [47.848943, 142.51332],
2421        [47.316667, 142.8],
2422        [47.421229, 142.777928],
2423        [47.452949, 142.739295],
2424        [47.4688417, 142.6924918],
2425        [50.828195, 142.774338],
2426        [50.850278, 142.66],
2427        [50.897778, 142.16],
2428        [50.850278, 142.66],
2429        [50.897778, 142.16],
2430        [51.7542699, 141.6116477],
2431        [52.1871136, 141.5902049],
2432        [52.8747828, 141.313595],
2433        [53.1421856, 140.7420728],
2434        [53.1421856, 140.7420728],
2435        [53.0654655, 140.1197797],
2436        [51.9789828, 140.5955212],
2437        [51.4412467, 139.7899414],
2438        [50.4835807, 137.504325],
2439        [49.3240679, 136.8047477],
2440        [48.7972929, 136.0768994],
2441        [48.466667, 135.1],
2442        [51.727083, 140.184129],
2443        [51.7247888, 140.1943369],
2444        [51.7170629, 140.1997161],
2445        [48.466667, 135.1],
2446        [47.3376347, 134.8914398],
2447        [43.166667, 131.933333]
2448    ]
2449
2450    var polylinePoints3 = [
2451        [50.828195, 142.774338],
2452        [50.8352991, 142.8075091],
2453        [50.9424882, 142.2098647],
2454        [50.8384119, 141.949755],
2455        [50.7575772, 141.8695723],
2456        [50.6750088, 141.8226099],
2457        [50.2882657, 141.5934734],
2458        [49.7876902, 141.353441],
2459        [49.2017373, 141.2708303],
2460        [48.4249275, 141.1495203],
2461        [47.7063882, 141.1400003],
2462        [47.1763543, 141.1674374],
2463        [46.6462069, 141.2365399],
2464        [46.3563588, 141.3845904],
2465        [46.0513134, 141.4880444],
2466        [45.8066676, 142.0359783],
2467        [45.7573132, 142.6888615],
2468        [45.8551716, 143.3786738],
2469        [46.006354, 143.7848708],
2470        [46.20314, 143.8945823],
2471        [46.4075195, 143.9553465],
2472        [46.6008769, 143.9442613],
2473        [46.8073329, 143.8581594],
2474        [47.0070519, 143.7160429],
2475        [47.191102, 143.4622035],
2476        [47.3426868, 143.1862701],
2477        [47.4087716, 143.076688],
2478        [47.4579752, 142.9228724],
2479        [47.4497656, 142.8494203],
2480        [47.4136667, 142.814466],
2481        [47.316667, 142.75],
2482        [47.316667, 142.75],
2483        [47.1427827, 142.7889045],
2484        [47.0520993, 142.7973059],
2485        [46.9651586, 142.7892273],
2486        [46.6361393, 142.7733742],
2487        [46.6361393, 142.7733742],
2488        [46.4967538, 142.7694799],
2489        [46.3573676, 142.7546473],
2490        [46.2254705, 142.7098673],
2491        [46.1087348, 142.6214437],
2492        [46.0414026, 142.5224883],
2493        [45.9587835, 142.407328],
2494        [45.8759901, 142.2650732],
2495        [45.87322, 142.068252],
2496        [45.9398641, 141.8687155],
2497        [46.0483687, 141.7455355],
2498        [46.3487466, 141.5082592],
2499        [46.5119732, 141.4272321],
2500        [46.6827239, 141.3787661],
2501        [47.0166282, 141.3250448],
2502        [48.2870652, 141.2729085],
2503        [49.5063118, 141.3758174],
2504        [51.5950587, 141.5384288],
2505        [52.0810803, 141.5628766],
2506        [52.196255, 141.5627917],
2507        [52.2538379, 141.5531183],
2508        [52.3046936, 141.5351713],
2509        [52.5333294, 141.476814],
2510        [52.7241004, 141.4130471],
2511        [52.7690676, 141.3856437],
2512        [52.8090387, 141.3416911],
2513        [52.8872409, 141.2205085],
2514        [53.0112352, 140.9778775],
2515        [53.080481, 140.8718274],
2516        [53.1421856, 140.7420728],
2517        [53.1421856, 140.7420728],
2518        [53.0948476, 140.6516427],
2519        [53.0737175, 140.4515805],
2520        [53.1760352, 140.2103063],
2521        [53.1759051, 140.076227],
2522        [53.136119, 139.9532536],
2523        [53.063399, 139.9268104],
2524        [52.9906786, 139.9662633],
2525        [52.7326268, 140.1869239],
2526        [52.3423366, 140.5387925],
2527        [52.2394466, 140.5490944],
2528        [52.1365563, 140.5264659],
2529        [51.9676845, 140.3995269],
2530        [51.5245689, 139.9687802],
2531        [51.3334058, 139.512545],
2532        [51.2976817, 139.147507],
2533        [50.915208, 138.3388082],
2534        [50.5511229, 137.7882291],
2535        [50.3626598, 137.5058075],
2536        [50.1174863, 137.2478247],
2537        [49.8154162, 137.1023439],
2538        [49.3954952, 136.8219749],
2539        [49.2481479, 136.7159354],
2540        [49.1006214, 136.533852],
2541        [49.0321402, 136.4624087],
2542        [48.9635925, 136.3582482],
2543        [48.8478261, 136.1177814],
2544        [48.6404437, 135.6179601],
2545        [48.4671111, 135.1000095],
2546        [48.466667, 135.1],
2547        [47.3196582, 135.0621824],
2548        [45.8428866, 134.2542328],
2549        [43.166667, 131.933333],
2550
2551    ]
2552
2553    var polylinePoints4P1 = [
2554        [43.126326, 131.892118],
2555        [32.783333, 129.866667],
2556        [34.683333, 135.183333],
2557        [35.689722, 139.692222],
2558        [35.628664, 179.480962]
2559    ]
2560    var polylinePoints4P2 = [
2561        [42.262147, -179.707589],
2562        [47.609722, -122.333056],
2563        [41.881944, -87.627778],
2564        [40.716667, -74],
2565        [51.5, -0.116667],
2566        [52.514493, 13.404813],
2567        [50.061389, 19.938333],
2568        [49.299444, 19.951944],
2569        [49.842, 24.031997]
2570    ];
2571
2572    var polylinePoints5 = [
2573        [50.061389, 19.938333],
2574        [50.087778, 14.421111],
2575        [48.216667, 16.366667],
2576        [46.990278, 6.930556],
2577        [50.833333, 4.35]
2578    ]
2579    var polylinePoints6 = [
2580        [50.061389, 19.938333],
2581        [48.216667, 16.366667],
2582        [47.226667, 8.818333],
2583        [46.466667, 6.85],
2584        [46.2, 6.15],
2585        [47.383333, 8.533333],
2586        [48.866667, 2.35]
2587    ]
2588    if (location.href.includes('en/travel-map/')) {
2589        var polylineEN = L.polyline(polylinePoints1, { color: '#153B59', weight: 4 }).bindTooltip('Zułów → Vilnius → St. Petersburg → Moscow → Odessa → Istanbul → Port Said (Egypt) → Colombo (Sri Lanka) → Port Klang (Malaysia) → Singapore → Nagasaki → Vladivostok → Alexandrovsk → Rykovskoye', { sticky: true }).addTo(map);
2590        var polylineEN = L.polyline(polylinePoints2, { color: '#E7A73B', weight: 4 }).bindTooltip('Vladivostok → Korsakov → Siyantsy → Mauka → Hakodate on Hokkaido → Korsakov → Sieraroko → Otosan → Takoye → Siyantsy → Rure → Ai → Rure → Obusaki → Ochopohka → Tunaycha → Airupo → Rure → Naibuchi → Siyantsy → Takoye → Sakayama → Rure → Naibuchi → Hakodate → Korsakov → Naibuchi → Otosan → Vari → Naioro → Tarayka → Naioro → Onor → Rykovskoye → vicinity of Onor → Naioro → Sieraroko → Otosan → Ai → Otosan → Korsakov → Sieraroko → Korsakov → Siyancy → Naibuchi → Ai → Otosan → Onor → Rykovskoye → Derbinskoye → Alexandrovsk → Nikolayevsk → Khabarovsk → Mariinsk → Khabarovsk → Vladivostok → Ai → Vladivostok', { sticky: true }).addTo(map);
2591        var polylineEN = L.polyline(polylinePoints3, { color: '#734D0D', weight: 4 }).bindTooltip('Rykovskoye → Galkino-Vrasskoye → Korsakov → Nikolayevsk → Khabarovsk → Vladivostok ', { sticky: true }).addTo(map);
2592        var polylineEN = L.polyline(polylinePoints4P1, { color: 'red', weight: 4 }).bindTooltip('Vladivostok → Nagasaki → Kobe → Tokyo → Seattle → Chicago → New York → London → Berlin → Cracow →  Zakopane → Lviv', { sticky: true }).addTo(map);
2593        var polylineEN = L.polyline(polylinePoints4P2, { color: 'red', weight: 4 }).bindTooltip('Vladivostok → Nagasaki → Kobe → Tokyo → Seattle → Chicago → New York → London → Berlin → Cracow →  Zakopane → Lviv', { sticky: true }).addTo(map);
2594        var polylineEN = L.polyline(polylinePoints5, { color: '#ffd12b', weight: 4 }).addTo(map);
2595        var polylineEN = L.polyline(polylinePoints6, { color: '#266973', weight: 4 }).bindTooltip('Kraków → Vienna → Raperswil → Vevey → Geneva → Zurich → Paris', { sticky: true }).addTo(map);
2596		
2597    } else if (location.href.includes('ja/')) {
2598		
2599        var polylineJA = L.polyline(polylinePoints1, { color: '#153B59', weight: 4 }).bindTooltip('ズーウフ → ヴィリニュス → サンクト・ペテルブルグ → モスクワ → オデーサ → イスタンブール → ポートサイド(エジプト) → コロンボ(スリランカ) → ポート・クラン(マレーシア) → シンガポール → 長崎 → ウラジオストク → アレクサンドロフスク → ルィコフスコエ ', { sticky: true }).addTo(map);
2600        var polylineJA = L.polyline(polylinePoints2, { color: '#E7A73B', weight: 4 }).bindTooltip('ウラジオストク → コルサコフ → シヤンツィ → マウカ → 北海道・函館 → コルサコフ → セラロコ → オトサン → タコエ → シヤンツィ → ロレー → アイ → ロレー → オブサキ → オチョポフカ → トゥナイチャ → アイルポ → ロレー → ナイブチ → シヤンツィ → タコエ → サカヤマ → ロレー →  ナイブチ→ 函館 → コルサコフ → ナイブチ → オトサン → ヴァリ → ナヨロ → タライカ → ナヨロ → オノール → ルィコフスコエ → オノール付近 → ナヨロ → セラロコ → オトサン → アイ → オトサン → コルサコフ → セラロコ → コルサコフ → シヤンツィ → ナイブチ → アイ → オトサン → オノール → ルィコフスコエ → デルビンスコエ → アレクサンドロフスク → ニコラエフスク → ハバロフスク → マリインスク → ハバロフスク → ウラジオストク → アイ → ウラジオストク', { sticky: true }).addTo(map);
2601        var polylineJA = L.polyline(polylinePoints3, { color: '#734D0D', weight: 4 }).bindTooltip('ルィコフスコエ → ガルキノ=ヴラスコエ → コルサコフ → ニコラエフスク → ハバロフスク → ウラジオストク ', { sticky: true }).addTo(map);
2602        var polylineJA = L.polyline(polylinePoints4P1, { color: 'red', weight: 4 }).bindTooltip('ウラジオストク → 長崎 → 神戸 → 東京 →シアトル → シカゴ → ニューヨーク → ロンドン → ベルリン → クラクフ → ザコパネ → リヴィウ', { sticky: true }).addTo(map);
2603        var polylineJA = L.polyline(polylinePoints4P2, { color: 'red', weight: 4 }).bindTooltip('ウラジオストク → 長崎 → 神戸 → 東京 →シアトル → シカゴ → ニューヨーク → ロンドン → ベルリン → クラクフ → ザコパネ → リヴィウ', { sticky: true }).addTo(map);
2604        var polylineJA = L.polyline(polylinePoints5, { color: '#ffd12b', weight: 4 }).addTo(map);
2605        var polylineJA = L.polyline(polylinePoints6, { color: '#266973', weight: 4 }).bindTooltip('クラクフ → ウィーン → ラッパースヴィル → ヴヴェイ → ジュネーブ → チューリヒ → パリ', { sticky: true }).addTo(map);
2606		
2607    } else {
2608		
2609        var polyline = L.polyline(polylinePoints1, { color: '#153B59', weight: 4 }).bindTooltip('Zułów → Wilno → Petersburg → Moskwa → Odessa → Stambuł → Port Said (Egipt) → Kolombo (Sri Lanka) → Port Klang (Malezja) → Singapur → Nagasaki → Władywostok → -Aleksandrowsk → Rykowskoje ', { sticky: true }).addTo(map);
2610        var polyline = L.polyline(polylinePoints2, { color: '#E7A73B', weight: 4 }).bindTooltip('Władywostok → Korsakow → Sijancy → Mauka → Hakodate na Hokkaido → Korsakow → Sieraroko → Otosan → Takoje → Sijancy → Rure → Ai → Rure → Obusaki → Ociohpoka → Tunajcza → Airupo → Rure → Najbuczi → Sijancy → Takoje → Sakajama → Rure → Najbuczi → Hakodate → Korsakow → Najbuczi → Otosan → Wari → Najoro → Tarajka → Najoro → Onor → Rykowskoje → okolice Onoru → Najoro → Sieraroko → Otosan → Ai → Otosan → Korsakow → Sieraroko → Korsakow → Sijancy → Najbuczi → Ai → Otosan → Onor → Rykowskoje → Derbinskoje → Aleksandrowsk → Nikołajewsk → Chabrowsk → Mariinskoje → Chabrowsk → Władywostok → Ai → Władywostok', { sticky: true }).addTo(map);
2611        var polyline = L.polyline(polylinePoints3, { color: '#734D0D', weight: 4 }).bindTooltip('Rykowskoje → Gałkino-Wrasskoje → Korsakow → Nikołajewsk → Chabrowsk → Władywostok ', { sticky: true }).addTo(map);
2612        var polyline = L.polyline(polylinePoints4P1, { color: 'red', weight: 4 }).bindTooltip('Wladywostok → Nagasaki → Kobe → Tokio → Seattle → Chicago → Nowy Jork → Londyn → Berlin → Kraków → Zakopane → Lwów', { sticky: true }).addTo(map);
2613        var polyline = L.polyline(polylinePoints4P2, { color: 'red', weight: 4 }).bindTooltip('Wladywostok → Nagasaki → Kobe → Tokio → Seattle → Chicago → Nowy Jork → Londyn → Berlin → Kraków → Zakopane → Lwów', { sticky: true }).addTo(map);
2614        var polyline = L.polyline(polylinePoints5, { color: '#ffd12b', weight: 4 }).addTo(map);
2615        var polyline = L.polyline(polylinePoints6, { color: '#266973', weight: 4 }).bindTooltip('Kraków → Wiedeń → Rapperswil → Vevey → Genewa → Zurich → Paryż', { sticky: true }).addTo(map);
2616    }
2617
2618
2619
2620
2621    //L.Control.Zoom({ position: 'topleft' }).addTo(map);
2622	}
2623
2624}

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.