gedcom-ts 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +130 -0
- package/README.md +7 -7
- package/dist/commons/Act.d.ts +7 -2
- package/dist/commons/DateAct.d.ts +37 -0
- package/dist/commons/Identificator.enum.d.ts +5 -131
- package/dist/commons/Identifier.enum.d.ts +131 -0
- package/dist/commons/Note.d.ts +2 -2
- package/dist/export/GEDCOM.d.ts +0 -3
- package/dist/import/ReadGed.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.mjs +1 -1
- package/dist/utils/gedcom/actExtraction.d.ts +6 -0
- package/dist/utils/gedcom/personName.d.ts +6 -0
- package/dist/utils/gedcom/pointers.d.ts +3 -0
- package/dist/utils/multimedia/collectRelativeMediaPaths.d.ts +2 -0
- package/package.json +4 -3
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x11810c=_0xdd4c;(function(_0x7343e4,_0x335673){const _0xe9ca95=_0xdd4c,_0x1d6e7a=_0x7343e4();while(!![]){try{const _0x3c710c=parseInt(_0xe9ca95(0x1db))/0x1*(parseInt(_0xe9ca95(0x154))/0x2)+-parseInt(_0xe9ca95(0x19e))/0x3+-parseInt(_0xe9ca95(0x248))/0x4*(parseInt(_0xe9ca95(0x1c9))/0x5)+parseInt(_0xe9ca95(0x219))/0x6*(-parseInt(_0xe9ca95(0x1ad))/0x7)+-parseInt(_0xe9ca95(0x1a5))/0x8*(parseInt(_0xe9ca95(0x14e))/0x9)+-parseInt(_0xe9ca95(0x195))/0xa*(parseInt(_0xe9ca95(0xfe))/0xb)+parseInt(_0xe9ca95(0x140))/0xc;if(_0x3c710c===_0x335673)break;else _0x1d6e7a['push'](_0x1d6e7a['shift']());}catch(_0x39f6e1){_0x1d6e7a['push'](_0x1d6e7a['shift']());}}}(_0x28be,0xe3868));var ne=Object['defineProperty'],re=(_0x57b59f,_0x1a9861,_0x2454ff)=>_0x1a9861 in _0x57b59f?ne(_0x57b59f,_0x1a9861,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2454ff}):_0x57b59f[_0x1a9861]=_0x2454ff,a=(_0x2333a6,_0x8588e4,_0x17c903)=>re(_0x2333a6,typeof _0x8588e4!='symbol'?_0x8588e4+'':_0x8588e4,_0x17c903),G=[0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f],U=['JAN',_0x11810c(0x130),_0x11810c(0x145),_0x11810c(0x1ef),'MAY',_0x11810c(0x1f5),_0x11810c(0x101),_0x11810c(0x1b4),'SEP',_0x11810c(0x204),_0x11810c(0x178),'DEC'],S=class{constructor(_0x4555c5){const _0xa61a19=_0x11810c;a(this,_0xa61a19(0x102)),a(this,_0xa61a19(0xfd),null),a(this,'month',null),a(this,'year');if(_0x4555c5&&_0x4555c5!=='inconnue'){let _0xfb7bfc=_0x4555c5[_0xa61a19(0x127)]()[_0xa61a19(0x109)](/\s+/);switch(_0xfb7bfc[_0xa61a19(0x1eb)]){case 0x1:if(_0xfb7bfc[0x0]['includes']('/')){let [_0x184387,_0x2194a8]=_0xfb7bfc[0x0]['split']('/');this['month']=this['convertMonth'](_0x184387),this['year']=Number(_0x2194a8);}else this[_0xa61a19(0x23e)]=null,this['year']=Number(_0xfb7bfc[0x0]);break;case 0x2:if(_0xfb7bfc[0x0]==='BEF'||_0xfb7bfc[0x0]==='ABT'){if(this[_0xa61a19(0x102)]=_0xfb7bfc[0x0],_0xfb7bfc[0x1][_0xa61a19(0x1ee)]('/')){let [_0x5d4c0c,_0x85d788]=_0xfb7bfc[0x1][_0xa61a19(0x109)]('/');this['month']=this['convertMonth'](_0x5d4c0c),this[_0xa61a19(0x241)]=Number(_0x85d788);}else this['month']=null,this[_0xa61a19(0x241)]=Number(_0xfb7bfc[0x1]);}else{if(_0xfb7bfc[0x0][_0xa61a19(0x1ee)]('/')){let [_0x5f0f7b,_0x43d599]=_0xfb7bfc[0x0]['split']('/');this['month']=this[_0xa61a19(0x161)](_0x5f0f7b),this['year']=Number(_0x43d599);}else this[_0xa61a19(0x23e)]=_0xfb7bfc[0x0]??null,this['year']=Number(_0xfb7bfc[0x1]);}break;case 0x3:if(_0xfb7bfc[0x0]===_0xa61a19(0x16c)||_0xfb7bfc[0x0]===_0xa61a19(0x18d))this[_0xa61a19(0x102)]=_0xfb7bfc[0x0],this['month']=_0xfb7bfc[0x1],this[_0xa61a19(0x241)]=Number(_0xfb7bfc[0x2]);else{if(_0xfb7bfc[0x1][_0xa61a19(0x1ee)]('/')){let [_0x99eb83,_0x5704e5]=_0xfb7bfc[0x1][_0xa61a19(0x109)]('/');this[_0xa61a19(0x23e)]=this[_0xa61a19(0x161)](_0x99eb83),this['year']=Number(_0x5704e5);}else this['day']=Number(_0xfb7bfc[0x0])>=0x1&&Number(_0xfb7bfc[0x0])<=0x1f?Number(_0xfb7bfc[0x0]):null,this['month']=_0xfb7bfc[0x1],this['year']=Number(_0xfb7bfc[0x2]);}break;}}}get['date'](){const _0x29a2a8=_0x11810c;return this[_0x29a2a8(0x241)]?this[_0x29a2a8(0x23e)]?this[_0x29a2a8(0xfd)]?this['day']+'\x20'+this['month']+'\x20'+this[_0x29a2a8(0x241)]:this['month']+'\x20'+this[_0x29a2a8(0x241)]:''+this['year']:null;}['convertMonth'](_0x327eac){const _0x1ca332=_0x11810c;switch(_0x327eac){case'1':return _0x1ca332(0x196);case'2':return _0x1ca332(0x130);case'3':return _0x1ca332(0x145);case'4':return _0x1ca332(0x1ef);case'5':return _0x1ca332(0x202);case'6':return _0x1ca332(0x1f5);case'7':return'JUL';case'8':return'AUG';case'9':return'SEP';case'10':return'OCT';case'11':return'NOV';case'12':return'DEC';default:return null;}}['isValid'](){const _0x1b6935=_0x11810c;let _0x849662=new Date()['getFullYear']();if(this[_0x1b6935(0x241)]&&(this['year']<0x0||this[_0x1b6935(0x241)]>_0x849662))return!0x1;if(this['year']&&!this[_0x1b6935(0x23e)]&&!this['day'])return!0x0;if(this[_0x1b6935(0x23e)]&&!U[_0x1b6935(0x1ee)](this[_0x1b6935(0x23e)]))return!0x1;if(this['year']&&this['month']&&!this['day'])return!0x0;if(this[_0x1b6935(0xfd)]){let _0x388fd8=this[_0x1b6935(0x241)]%0x4===0x0&&this[_0x1b6935(0x241)]%0x64!==0x0||this[_0x1b6935(0x241)]%0x190===0x0,_0x158ea2;if(this['month']===_0x1b6935(0x130)&&_0x388fd8)_0x158ea2=0x1d;else{let _0x1c9301=U[_0x1b6935(0x148)](_0x32b21c=>_0x32b21c===this[_0x1b6935(0x23e)]);_0x158ea2=G[_0x1b6935(0x247)](_0x3c9466=>_0x3c9466<=new Date(this['year'],_0x1c9301,0x0)[_0x1b6935(0x1e6)]())[_0x1b6935(0x1eb)];}return G[_0x1b6935(0x1ee)](this['day'])&&this[_0x1b6935(0xfd)]<=_0x158ea2;}return!0x1;}},oe=(_0x15848c,_0x570641,_0x258fea)=>_0x15848c?_0x570641?_0x258fea?_0x258fea+'\x20'+_0x570641+'\x20'+_0x15848c:_0x570641+'\x20'+_0x15848c:''+_0x15848c:'',F=class{constructor(_0x4841a7,_0x5ae3b9){const _0x2613bf=_0x11810c;a(this,_0x2613bf(0x1d0),null),a(this,'coordinate'),(_0x4841a7&&(this[_0x2613bf(0x1d0)]=_0x4841a7),this['coordinate']=_0x5ae3b9??new N());}['addCity'](_0x29bd1f){const _0x4c77b2=_0x11810c;this[_0x4c77b2(0x1d0)]=_0x29bd1f;}},N=class{constructor(_0x461f8e,_0x116a64){const _0x333954=_0x11810c;a(this,_0x333954(0x1d3)),a(this,_0x333954(0x1be)),(this[_0x333954(0x1d3)]=_0x461f8e,this['longitude']=_0x116a64);}[_0x11810c(0x237)]([_0x53ae85,_0x1652e4]){const _0x2622f7=_0x11810c;this[_0x2622f7(0x1d3)]=_0x53ae85,this[_0x2622f7(0x1be)]=_0x1652e4;}},P=(_0x65f522=>(_0x65f522['ABBR']='ABBR',_0x65f522['ADDR']=_0x11810c(0x216),_0x65f522['ADR1']=_0x11810c(0x10c),_0x65f522['ADR2']='ADDR2',_0x65f522[_0x11810c(0x1b8)]=_0x11810c(0x1b8),_0x65f522[_0x11810c(0x21b)]='AFN',_0x65f522[_0x11810c(0x146)]=_0x11810c(0x146),_0x65f522['AGNC']='AGNC',_0x65f522['ALIA']=_0x11810c(0x224),_0x65f522[_0x11810c(0x1cf)]='ANCE',_0x65f522['ANCI']=_0x11810c(0xf9),_0x65f522['ANUL']=_0x11810c(0x1d6),_0x65f522[_0x11810c(0x171)]=_0x11810c(0x171),_0x65f522['AUTH']=_0x11810c(0x190),_0x65f522['BAPL']='BAPL',_0x65f522[_0x11810c(0x173)]=_0x11810c(0x173),_0x65f522[_0x11810c(0x14c)]='BARM',_0x65f522[_0x11810c(0x17e)]='BASM',_0x65f522[_0x11810c(0x223)]=_0x11810c(0x223),_0x65f522['BLES']=_0x11810c(0x23b),_0x65f522[_0x11810c(0x137)]=_0x11810c(0x137),_0x65f522[_0x11810c(0x185)]=_0x11810c(0x185),_0x65f522[_0x11810c(0x22f)]=_0x11810c(0x22f),_0x65f522[_0x11810c(0x132)]=_0x11810c(0x132),_0x65f522['CAUS']=_0x11810c(0x1ed),_0x65f522[_0x11810c(0x230)]=_0x11810c(0x230),_0x65f522['CHAN']='CHAN',_0x65f522[_0x11810c(0x1ca)]=_0x11810c(0x1ca),_0x65f522[_0x11810c(0x1d5)]=_0x11810c(0x1d5),_0x65f522[_0x11810c(0x129)]=_0x11810c(0x129),_0x65f522[_0x11810c(0x1a3)]=_0x11810c(0x1a3),_0x65f522[_0x11810c(0x20f)]=_0x11810c(0x20f),_0x65f522[_0x11810c(0x11f)]=_0x11810c(0x11f),_0x65f522['CONF']=_0x11810c(0x113),_0x65f522[_0x11810c(0xfa)]='CONL',_0x65f522[_0x11810c(0x17d)]='CONT',_0x65f522[_0x11810c(0x1cb)]=_0x11810c(0x1cb),_0x65f522['CORP']=_0x11810c(0x1dc),_0x65f522['CREM']=_0x11810c(0x15c),_0x65f522['CTRY']=_0x11810c(0x1f3),_0x65f522[_0x11810c(0x115)]=_0x11810c(0x115),_0x65f522[_0x11810c(0x17c)]=_0x11810c(0x17c),_0x65f522['DEAT']='DEAT',_0x65f522[_0x11810c(0x16b)]=_0x11810c(0x16b),_0x65f522[_0x11810c(0x1fb)]=_0x11810c(0x1fb),_0x65f522[_0x11810c(0x117)]=_0x11810c(0x117),_0x65f522[_0x11810c(0x1b6)]=_0x11810c(0x1b6),_0x65f522['DIVF']='DIVF',_0x65f522['DSCR']=_0x11810c(0x226),_0x65f522[_0x11810c(0x20a)]=_0x11810c(0x20a),_0x65f522[_0x11810c(0x1d7)]=_0x11810c(0x1d7),_0x65f522[_0x11810c(0x1f6)]='ENDL',_0x65f522[_0x11810c(0x18c)]='ENGA',_0x65f522[_0x11810c(0x208)]=_0x11810c(0x208),_0x65f522[_0x11810c(0x1de)]='FAM',_0x65f522['FAMC']='FAMC',_0x65f522[_0x11810c(0x136)]='FAMF',_0x65f522[_0x11810c(0x1cc)]='FAMS',_0x65f522[_0x11810c(0x172)]=_0x11810c(0x172),_0x65f522[_0x11810c(0x1e4)]='FILE',_0x65f522['FORM']='FORM',_0x65f522[_0x11810c(0x1bc)]=_0x11810c(0x1bc),_0x65f522[_0x11810c(0x1e7)]=_0x11810c(0x1e7),_0x65f522['GRAD']=_0x11810c(0x225),_0x65f522[_0x11810c(0x14a)]='HEAD',_0x65f522['HUSB']='HUSB',_0x65f522[_0x11810c(0x20c)]='IDNO',_0x65f522['IMMI']=_0x11810c(0x119),_0x65f522['INDI']=_0x11810c(0x157),_0x65f522[_0x11810c(0x16e)]='LANG',_0x65f522['LEGA']='LEGA',_0x65f522[_0x11810c(0x133)]=_0x11810c(0x133),_0x65f522['MARC']=_0x11810c(0x213),_0x65f522[_0x11810c(0x179)]='MARL',_0x65f522[_0x11810c(0x22a)]=_0x11810c(0x22a),_0x65f522['MARS']=_0x11810c(0x1a0),_0x65f522['MEDI']=_0x11810c(0x23f),_0x65f522['NAME']=_0x11810c(0x15d),_0x65f522[_0x11810c(0x1bd)]=_0x11810c(0x1bd),_0x65f522['NATU']=_0x11810c(0x118),_0x65f522['NCHI']=_0x11810c(0x11a),_0x65f522['NICK']=_0x11810c(0x103),_0x65f522['NMR']=_0x11810c(0x1a6),_0x65f522['NOTE']=_0x11810c(0x169),_0x65f522['NPFX']=_0x11810c(0x125),_0x65f522['NSFX']=_0x11810c(0x1b0),_0x65f522['OBJE']='OBJE',_0x65f522[_0x11810c(0x108)]='OCCU',_0x65f522['ORDI']=_0x11810c(0x1af),_0x65f522[_0x11810c(0x1f0)]='ORDN',_0x65f522[_0x11810c(0x1d2)]=_0x11810c(0x1d2),_0x65f522[_0x11810c(0x13d)]='PEDI',_0x65f522['PHON']=_0x11810c(0x1fd),_0x65f522['PLAC']='PLAC',_0x65f522[_0x11810c(0x167)]=_0x11810c(0x167),_0x65f522[_0x11810c(0x142)]=_0x11810c(0x142),_0x65f522[_0x11810c(0x13a)]='PROP',_0x65f522[_0x11810c(0x1d1)]=_0x11810c(0x1d1),_0x65f522['QUAY']=_0x11810c(0x1e1),_0x65f522['REFN']='REFN',_0x65f522[_0x11810c(0x1ae)]=_0x11810c(0x1ae),_0x65f522[_0x11810c(0x1a1)]='RELI',_0x65f522[_0x11810c(0x1f4)]=_0x11810c(0x1f4),_0x65f522[_0x11810c(0x245)]=_0x11810c(0x245),_0x65f522[_0x11810c(0x211)]=_0x11810c(0x211),_0x65f522[_0x11810c(0x1ac)]=_0x11810c(0x1ac),_0x65f522[_0x11810c(0x126)]='RFN',_0x65f522[_0x11810c(0x124)]=_0x11810c(0x124),_0x65f522[_0x11810c(0x23c)]='ROLE',_0x65f522[_0x11810c(0x1bb)]=_0x11810c(0x1bb),_0x65f522[_0x11810c(0x15f)]='SLGC',_0x65f522[_0x11810c(0x217)]=_0x11810c(0x217),_0x65f522[_0x11810c(0x188)]=_0x11810c(0x188),_0x65f522[_0x11810c(0x12a)]=_0x11810c(0x12a),_0x65f522[_0x11810c(0x240)]='SSN',_0x65f522[_0x11810c(0x1c5)]=_0x11810c(0x1c5),_0x65f522[_0x11810c(0x22e)]=_0x11810c(0x22e),_0x65f522[_0x11810c(0x229)]=_0x11810c(0x229),_0x65f522['SUBN']=_0x11810c(0x112),_0x65f522[_0x11810c(0x1e3)]=_0x11810c(0x1e3),_0x65f522[_0x11810c(0x10f)]=_0x11810c(0x10f),_0x65f522['TEXT']=_0x11810c(0x1aa),_0x65f522[_0x11810c(0x1dd)]='TIME',_0x65f522[_0x11810c(0x14b)]=_0x11810c(0x14b),_0x65f522[_0x11810c(0x1c4)]=_0x11810c(0x1c4),_0x65f522[_0x11810c(0x1fc)]='TYPE',_0x65f522[_0x11810c(0x184)]=_0x11810c(0x184),_0x65f522['WIFE']=_0x11810c(0x1a8),_0x65f522['WILL']='WILL',_0x65f522))(P||{}),E=class{constructor(_0x1eb7bd){const _0x2ce799=_0x11810c;a(this,_0x2ce799(0x13f)),a(this,'file'),this[_0x2ce799(0x122)]=_0x1eb7bd;}get['filename'](){const _0x246b94=_0x11810c;return this[_0x246b94(0x122)][_0x246b94(0x15b)];}},g=class{constructor(){const _0x53b1bc=_0x11810c;a(this,_0x53b1bc(0x13f)),a(this,_0x53b1bc(0x15e),[]);}[_0x11810c(0x19f)](_0x1c475c){const _0x1cb7f6=_0x11810c;let _0x3028fc=_0x1c475c[_0x1cb7f6(0x122)]?.['name']??'',_0x3edf5f=(this[_0x1cb7f6(0x13f)]??'')[_0x1cb7f6(0x1ce)](/\/+$/,'');_0x1c475c['relativePath']=_0x3edf5f?_0x3edf5f+'/'+_0x3028fc:_0x3028fc,this['files'][_0x1cb7f6(0x100)](_0x1c475c);}[_0x11810c(0x1f8)](_0x358bb8){const _0x21fca3=_0x11810c;let _0x3ff970=this[_0x21fca3(0x15e)][_0x21fca3(0x148)]((_0x2e1ab0,_0x309f3e)=>_0x309f3e===_0x358bb8);_0x3ff970>=0x0&&this['files'][_0x21fca3(0x151)](_0x3ff970,0x1);}[_0x11810c(0x149)](){const _0x358120=_0x11810c;this[_0x358120(0x15e)]=[];}};function y(_0x1bc96f){const _0x5a5a00=_0x11810c;let _0x453839=_0x1bc96f[_0x5a5a00(0x214)](),_0x3e2df2=_0x453839['indexOf']('\x20');if(_0x3e2df2<=0x0)return null;let _0x27a8a0=_0x453839[_0x5a5a00(0x242)](0x0,_0x3e2df2),_0x456aa5=_0x453839[_0x5a5a00(0x242)](_0x3e2df2+0x1)[_0x5a5a00(0x214)](),_0x4bc1d2=_0x456aa5[_0x5a5a00(0x11c)]('\x20');if(_0x4bc1d2<=0x0)return{'level':_0x27a8a0,'tag':_0x456aa5,'value':''};let _0x21ab8b=_0x456aa5[_0x5a5a00(0x242)](0x0,_0x4bc1d2),_0x330098=_0x456aa5['slice'](_0x4bc1d2+0x1);return{'level':_0x27a8a0,'tag':_0x21ab8b,'value':_0x330098};}function ae(_0x111ee){const _0x40b0b7=_0x11810c;let _0x28abcd=_0x111ee['lastIndexOf']('.');return _0x28abcd<=0x0?{'stem':_0x111ee,'ext':''}:{'stem':_0x111ee[_0x40b0b7(0x242)](0x0,_0x28abcd),'ext':_0x111ee[_0x40b0b7(0x242)](_0x28abcd)};}function le(_0x260a72,_0x53acec,_0x40aa1c){return _0x40aa1c===0x0?''+_0x260a72+_0x53acec:_0x260a72+'_'+_0x40aa1c+_0x53acec;}function C(_0x2e3a29,_0x342e79,_0x46f085){const _0xfc38a3=_0x11810c;let _0x43f354=new Set(_0x46f085),_0x3ceda7=_0x2e3a29[_0xfc38a3(0x1ce)](/\/+$/,''),_0x378575=_0x342e79['replace'](/^[/\\]+|[/\\]+/g,''),{stem:_0x4bd73f,ext:_0x4dbd12}=ae(_0x378575),_0x1ccca2=0x2710;for(let _0x40223e=0x0;_0x40223e<_0x1ccca2;_0x40223e++){let _0x50fae3=le(_0x4bd73f,_0x4dbd12,_0x40223e),_0x3d0aa4=_0x3ceda7?_0x3ceda7+'/'+_0x50fae3:_0x50fae3;if(!_0x43f354[_0xfc38a3(0x10d)](_0x3d0aa4))return _0x3d0aa4;}throw new Error(_0xfc38a3(0x14d));}var $=class{constructor(_0x4805e1,_0x2e3f1c,_0x8cdb6a,_0x53ae5e,_0x33161a,_0x4f34da,_0x4baa05){const _0x4df915=_0x11810c;a(this,_0x4df915(0x164)),a(this,'dateAct',null),a(this,'place',null),a(this,_0x4df915(0x193),[]),a(this,'newMultimediaFiles',new Map()),a(this,'multimediaFiles',new g()),a(this,_0x4df915(0x191)),(this[_0x4df915(0x164)]=_0x4805e1,_0x2e3f1c&&(this[_0x4df915(0x1e0)]=_0x2e3f1c),_0x8cdb6a&&(this[_0x4df915(0x150)]=_0x8cdb6a),_0x53ae5e?.[_0x4df915(0x1eb)]>0x0&&(this[_0x4df915(0x193)]=_0x53ae5e),_0x33161a&&(this[_0x4df915(0x11e)]=_0x33161a),_0x4f34da&&(this[_0x4df915(0x159)]=_0x4f34da),_0x4baa05&&(this[_0x4df915(0x191)]=_0x4baa05));}get[_0x11810c(0x15e)](){const _0x269bb7=_0x11810c;return Array[_0x269bb7(0x16a)](this['newMultimediaFiles']['values']());}get[_0x11810c(0x1c6)](){const _0x1bd6e4=_0x11810c;return Array['from'](this[_0x1bd6e4(0x159)][_0x1bd6e4(0x209)]());}[_0x11810c(0x134)](_0x27a0d4,_0x1a1cfa){const _0x30bc31=_0x11810c;let _0x43393c=_0x1a1cfa??this['INDIS'][0x0];if(_0x43393c===void 0x0||!_0x27a0d4?.[_0x30bc31(0x122)])return;let _0x210c23=_0x43393c+'/'+this[_0x30bc31(0x164)],_0x4e94f6=this[_0x30bc31(0x1c8)](),_0x57d172=C(_0x210c23,_0x27a0d4[_0x30bc31(0x122)]['name'],_0x4e94f6);_0x27a0d4['relativePath']=_0x57d172,this['multimediaFiles'][_0x30bc31(0x15e)][_0x30bc31(0x100)](_0x27a0d4),this['newMultimediaFiles'][_0x30bc31(0x11b)](_0x57d172,_0x27a0d4);}['removeMultimedia'](_0x18e3be){const _0xd47ff9=_0x11810c;let _0x3503c7=Array['from'](this[_0xd47ff9(0x159)][_0xd47ff9(0x209)]())['find']((_0x5c9bcc,_0x279344)=>_0x18e3be===_0x279344);if(_0x3503c7){this[_0xd47ff9(0x159)]['delete'](_0x3503c7);let _0x4d4f3d=this[_0xd47ff9(0x11e)]['files']['findIndex'](_0x2a101e=>_0x2a101e[_0xd47ff9(0x13f)]===_0x3503c7);_0x4d4f3d>=0x0&&this[_0xd47ff9(0x11e)]['files'][_0xd47ff9(0x151)](_0x4d4f3d,0x1);}}['mediaRelativePathsInUse'](){const _0x3ab576=_0x11810c;return[...this[_0x3ab576(0x159)]['keys'](),...this['multimediaFiles'][_0x3ab576(0x15e)]['map'](_0x1c3d87=>_0x1c3d87[_0x3ab576(0x13f)])[_0x3ab576(0x247)](_0x35e41e=>!!_0x35e41e)];}[_0x11810c(0x17a)](_0x1b8054){const _0x252867=_0x11810c;this[_0x252867(0x164)]=_0x1b8054;}[_0x11810c(0x116)](_0x19a65d){const _0x48f329=_0x11810c;this[_0x48f329(0x193)]=_0x19a65d;}[_0x11810c(0x1e5)](_0x339292){const _0x49a2d2=_0x11810c;this[_0x49a2d2(0x150)]=_0x339292;}[_0x11810c(0x21f)](_0x1124d3){const _0x4dc92e=_0x11810c;_0x1124d3?.[_0x4dc92e(0x1fa)]()&&(this[_0x4dc92e(0x1e0)]=_0x1124d3);}},M=class{constructor(){a(this,'list',[]);}['add'](_0x5d3548){const _0x4b93c6=_0x11810c;this[_0x4b93c6(0x19d)][_0x4b93c6(0x100)](_0x5d3548);}[_0x11810c(0x165)](_0xa22e4a,_0x2127b9){this['list'][_0x2127b9]=_0xa22e4a;}[_0x11810c(0x1f8)](_0x43a69c){const _0x137a4e=_0x11810c;let _0x346713=this[_0x137a4e(0x19d)][_0x137a4e(0x148)]((_0x2f0d67,_0x4a5b7f)=>_0x4a5b7f===_0x43a69c);_0x346713>=0x0&&this['list'][_0x137a4e(0x151)](_0x346713,0x1);}[_0x11810c(0x149)](){const _0x303380=_0x11810c;this[_0x303380(0x19d)]=[];}[_0x11810c(0x220)](){const _0x5abfc5=_0x11810c;this[_0x5abfc5(0x19d)]=[...this['list']]['sort']((_0x395c81,_0x1da5d1)=>{const _0x1de4ec=_0x5abfc5;let _0x3a6bb7=_0x395c81['dateAct']?.['year']||0x0,_0x34378a=_0x1da5d1['dateAct']?.['year']||0x0;if(_0x3a6bb7!==_0x34378a)return _0x3a6bb7-_0x34378a;let _0x1bb91c=_0x395c81['dateAct']?.['month']||'',_0x4df580=_0x1da5d1[_0x1de4ec(0x1e0)]?.['month']||'',_0x314735=['JAN',_0x1de4ec(0x130),'MAR','APR','MAY',_0x1de4ec(0x1f5),_0x1de4ec(0x101),'AUG',_0x1de4ec(0x1c1),_0x1de4ec(0x204),_0x1de4ec(0x178),'DEC'],_0x418c9a=_0x314735[_0x1de4ec(0x11c)](_0x1bb91c),_0x5533b7=_0x314735[_0x1de4ec(0x11c)](_0x4df580);if(_0x418c9a!==_0x5533b7)return _0x418c9a-_0x5533b7;let _0x589ff2=_0x395c81['dateAct']?.[_0x1de4ec(0xfd)]||0x0,_0x404ffe=_0x1da5d1[_0x1de4ec(0x1e0)]?.[_0x1de4ec(0xfd)]||0x0;return _0x589ff2-_0x404ffe;});}},L=class extends M{[_0x11810c(0x1d8)](_0x2c3426,_0x4156d5,_0x6d2757){const _0xa9be95=_0x11810c;let _0xaf592=[],_0x19d43f=_0x1c9a77=>_0x1c9a77[_0xa9be95(0x214)]()['startsWith']('1\x20'),_0x2b6e0d=_0x5b35cb=>{const _0x29de3f=_0xa9be95;let _0x232080=_0x5b35cb[_0x29de3f(0x11c)]('@I');if(_0x232080<0x0)return null;let _0x2a68a6=_0x5b35cb['indexOf']('@',_0x232080+0x2);if(_0x2a68a6<=_0x232080)return null;let _0x2cd9c0=_0x5b35cb[_0x29de3f(0x242)](_0x232080+0x2,_0x2a68a6);return/^\d+$/[_0x29de3f(0x239)](_0x2cd9c0)?Number(_0x2cd9c0):null;};for(let _0x59435e=0x0;_0x59435e<_0x2c3426[_0xa9be95(0x1eb)];_0x59435e++){let _0x54ba9d=_0x2c3426[_0x59435e];if(_0x54ba9d[_0xa9be95(0x183)](_0xa9be95(0x13c))||_0x54ba9d['startsWith'](_0xa9be95(0x201))){let _0x12658e=_0x2b6e0d(_0x54ba9d);_0x12658e!==null&&_0x4156d5['push'](_0x12658e);}if(_0x54ba9d['startsWith'](_0xa9be95(0x1b2))||_0x54ba9d['startsWith'](_0xa9be95(0x1b5))||_0x54ba9d[_0xa9be95(0x183)]('1\x20MARR')){let _0x557fa0=[_0x54ba9d],_0x53a192=_0x59435e+0x1,_0x1927fa=_0x2c3426[_0x53a192];for(;_0x1927fa&&!_0x19d43f(_0x1927fa);)_0x557fa0[_0xa9be95(0x100)](_0x1927fa),_0x53a192+=0x1,_0x1927fa=_0x2c3426[_0x53a192];_0xaf592[_0xa9be95(0x100)](_0x557fa0),_0x59435e=_0x53a192-0x1;}}this[_0xa9be95(0x232)](_0xaf592[_0xa9be95(0x247)](_0x4261f8=>_0x4261f8[_0xa9be95(0x1eb)]>0x1),_0x4156d5,_0x6d2757);}['convertToActs'](_0xac7061,_0x6ac30,_0x379396){const _0x3ac122=_0x11810c;for(let _0x5e4c9f of _0xac7061){let _0x3dc087=_0x5e4c9f[0x0],_0x4d6a01=_0x3dc087[_0x3ac122(0x1ee)](_0x3ac122(0x223))?_0x3ac122(0x223):_0x3dc087[_0x3ac122(0x1ee)](_0x3ac122(0x1a2))?'DEAT':'MARR',_0x99dee3,_0x4eeb84=new F(),_0x4d6e84=new g(),_0x3463e3=new Map(),_0x57c629=[];for(let _0x2cc352=0x1;_0x2cc352<_0x5e4c9f['length'];_0x2cc352++){let _0x38d889=_0x5e4c9f[_0x2cc352],_0x342b3b=y(_0x38d889);if(!_0x342b3b)continue;let {tag:_0x11318e,value:_0x4640a6}=_0x342b3b;switch(_0x11318e){case _0x3ac122(0x17c):{let _0x20aa8a=_0x4640a6;_0x20aa8a!==_0x3ac122(0x166)&&(_0x99dee3=new S(_0x20aa8a));break;}case _0x3ac122(0x228):{let _0x4362b3=_0x4640a6;_0x4eeb84[_0x3ac122(0x227)](_0x4362b3);break;}case _0x3ac122(0xfb):case _0x3ac122(0x187):{let _0x32fc7f=_0x4640a6;_0x57c629['push'](Number(_0x32fc7f));break;}case'FILE':{let _0x2c9e61=_0x4640a6[_0x3ac122(0x127)](),_0x3a2fac=_0x379396['get'](_0x2c9e61),_0x4c3aaf=new E(_0x3a2fac);_0x4c3aaf[_0x3ac122(0x13f)]=_0x2c9e61,_0x4d6e84['files'][_0x3ac122(0x100)](_0x4c3aaf),_0x3463e3[_0x3ac122(0x11b)](_0x2c9e61,_0x4c3aaf);break;}default:break;}_0x57c629[_0x3ac122(0x1eb)]===0x2&&_0x4eeb84[_0x3ac122(0x17f)][_0x3ac122(0x237)](_0x57c629);}if(_0x99dee3||_0x4eeb84){let _0x320923=new $(_0x4d6a01,_0x99dee3,_0x4eeb84,[],_0x4d6e84,_0x3463e3);_0x320923['addIndis'](_0x6ac30),this['add'](_0x320923);}}}},v=class{constructor(){const _0x5c059e=_0x11810c;a(this,_0x5c059e(0x193),[]),a(this,_0x5c059e(0x164)),a(this,'lines');}['updateLines'](_0x39c4a8){const _0x294523=_0x11810c;_0x39c4a8?.[_0x294523(0x1eb)]>0x0&&(this[_0x294523(0x13b)]=_0x39c4a8);}[_0x11810c(0x120)](){this['lines']=[];}[_0x11810c(0x17a)](_0x421cc0){this['type']=_0x421cc0;}['addIndis'](_0x1b7c4d){this['INDIS']=_0x1b7c4d;}},b=class{constructor(){a(this,'list',[]);}[_0x11810c(0x141)](_0x50907d){const _0x32eff8=_0x11810c;this['list'][_0x32eff8(0x100)](_0x50907d);}['updateFromIndex'](_0x10c711,_0x33bfcf){this['list'][_0x33bfcf]=_0x10c711;}[_0x11810c(0x1f8)](_0x592d39){const _0x5d581c=_0x11810c;let _0x1ae5eb=this['list'][_0x5d581c(0x148)]((_0x4231ab,_0x4f47be)=>_0x4f47be===_0x592d39);_0x1ae5eb>=0x0&&this[_0x5d581c(0x19d)]['splice'](_0x1ae5eb,0x1);}['removeAll'](){const _0x302891=_0x11810c;this[_0x302891(0x19d)]=[];}},D=(_0x47a0cf=>(_0x47a0cf['M']='M',_0x47a0cf['F']='F',_0x47a0cf))(D||{}),R=class{constructor(_0x1f87d9,_0x1f74e3,_0xe0467b,_0x52d9fb,_0x3ce4f6,_0x5f29ae,_0x3517c1,_0x4e0953,_0x535992,_0x1bc60f){const _0x21b979=_0x11810c;a(this,_0x21b979(0x21d)),a(this,_0x21b979(0x157)),a(this,_0x21b979(0x1bb)),a(this,'firstnames'),a(this,_0x21b979(0x1f7)),a(this,'FAMC'),a(this,_0x21b979(0x1cc),[]),a(this,'newMultimediaFiles',new Map()),a(this,_0x21b979(0x11e),new g()),a(this,_0x21b979(0x152),new M()),a(this,_0x21b979(0x191),new b()),(this['INDI']=_0x3517c1,this[_0x21b979(0x1bb)]=_0x1f74e3,this[_0x21b979(0x1ff)]=_0x3ce4f6,this[_0x21b979(0x1cc)]=_0x5f29ae??[],this['sosa']=_0x1f87d9,this['firstnames']=_0xe0467b??[],this['lastname']=_0x52d9fb??'',_0x4e0953&&_0x4e0953[_0x21b979(0x15e)][_0x21b979(0x1eb)]>0x0&&(this[_0x21b979(0x11e)]=_0x4e0953),_0x1bc60f&&_0x1bc60f[_0x21b979(0x19d)][_0x21b979(0x1eb)]>0x0&&(this[_0x21b979(0x152)]=_0x1bc60f));}get[_0x11810c(0x15e)](){const _0x2ddcbc=_0x11810c;return Array['from'](this['newMultimediaFiles'][_0x2ddcbc(0x16d)]());}get[_0x11810c(0x1c6)](){const _0x2d16b=_0x11810c;return Array['from'](this['newMultimediaFiles'][_0x2d16b(0x209)]());}[_0x11810c(0x246)](_0x42e9e9,_0x348ed8,_0x54e597,_0x281917){const _0x5ea675=_0x11810c;let _0x25f5d8=_0x42e9e9['map'](_0xdbad6a=>_0xdbad6a['replace'](/[\n\r]+/g,''));_0x25f5d8['forEach'](_0x422f62=>{this['parsePersonLine'](_0x422f62,_0x54e597,_0x281917);}),this[_0x5ea675(0x135)](_0x25f5d8);let _0x29affb=new L();_0x29affb[_0x5ea675(0x1d8)](_0x25f5d8,[this['INDI']],_0x54e597),this[_0x5ea675(0x1cc)]?.[_0x5ea675(0x1eb)]>0x0&&_0x348ed8&&this[_0x5ea675(0x1cc)][_0x5ea675(0x11d)](_0x3f05c7=>{let _0x412d4e=_0x348ed8['get'](_0x3f05c7);_0x29affb['extractActsInfo'](_0x412d4e,[],_0x54e597);}),this[_0x5ea675(0x152)]=_0x29affb,this['acts']['sortByDate']();}[_0x11810c(0x198)](_0x3e00aa,_0x190b85,_0x4241a7){const _0x4947e2=_0x11810c;let _0x3e55f1=y(_0x3e00aa);if(!_0x3e55f1)return;let {level:_0x4b85f0,tag:_0x2bb787,value:_0x1a62ac}=_0x3e55f1;if(_0x4b85f0==='0'&&_0x2bb787['startsWith']('@I')){this[_0x4947e2(0x205)](_0x3e00aa);return;}switch(_0x2bb787){case _0x4947e2(0x1bb):this[_0x4947e2(0x1bf)](_0x1a62ac);break;case _0x4947e2(0x1ff):this['createFAMCFromValue'](_0x1a62ac);break;case _0x4947e2(0x1cc):this['createFAMSFromValue'](_0x1a62ac);break;case _0x4947e2(0x169):this[_0x4947e2(0x243)](_0x1a62ac,_0x4241a7);break;case _0x4947e2(0x1e4):this[_0x4947e2(0x194)](_0x1a62ac,_0x190b85);break;default:break;}}[_0x11810c(0x205)](_0x22f38d){const _0x31dddf=_0x11810c;let _0x48a81f=_0x22f38d['indexOf']('@I');if(_0x48a81f<0x0)return;let _0x4db8f8=_0x22f38d[_0x31dddf(0x11c)]('@',_0x48a81f+0x2);if(_0x4db8f8<=_0x48a81f||!_0x22f38d['includes'](_0x31dddf(0x157),_0x4db8f8))return;let _0xc7ca99=_0x22f38d[_0x31dddf(0x242)](_0x48a81f+0x2,_0x4db8f8);/^\d+$/['test'](_0xc7ca99)&&(this[_0x31dddf(0x157)]=Number(_0xc7ca99));}['createSexFromValue'](_0x1c5f4){const _0x2179bd=_0x11810c;let _0x3a553=_0x1c5f4[_0x2179bd(0x127)]();(_0x3a553==='M'||_0x3a553==='F')&&(this['SEX']=_0x3a553);}['createFAMCFromValue'](_0x4dc867){const _0x349c04=_0x11810c;let _0x2d3e3b=_0x4dc867[_0x349c04(0x127)](),_0x2e2420=/^@F(\d+)@$/['exec'](_0x2d3e3b);_0x2e2420?.[0x1]&&(this['FAMC']=Number(_0x2e2420[0x1]));}['createFAMSFromValue'](_0x1734bc){const _0x43f0c9=_0x11810c;let _0x863007=_0x1734bc['trim'](),_0x49c1d9=/^@F(\d+)@$/[_0x43f0c9(0x21c)](_0x863007);_0x49c1d9?.[0x1]&&this['FAMS'][_0x43f0c9(0x100)](Number(_0x49c1d9[0x1]));}[_0x11810c(0x194)](_0x160835,_0x4d386b){const _0x4118cb=_0x11810c;if(!_0x4d386b?.[_0x4118cb(0x180)]||!_0x160835)return;let _0x5ef67a=_0x160835[_0x4118cb(0x127)](),_0x578a82=new E(_0x4d386b[_0x4118cb(0x18a)](_0x5ef67a));_0x578a82[_0x4118cb(0x13f)]=_0x5ef67a,this[_0x4118cb(0x11e)][_0x4118cb(0x15e)][_0x4118cb(0x100)](_0x578a82),this[_0x4118cb(0x159)]['set'](_0x5ef67a,_0x578a82);}['addNoteFromGedcom'](_0x4468ac,_0x270450){const _0x42e477=_0x11810c;let _0x200516=_0x4468ac[_0x42e477(0x127)]();if(!_0x200516)return;let _0x38d462=/^@N(\d+)@$/['exec'](_0x200516);if(_0x38d462?.[0x1]&&_0x270450?.['size']){let _0x17923c=Number(_0x38d462[0x1]),_0x38bf97=_0x270450['get'](_0x17923c);if(!_0x38bf97||_0x38bf97[_0x42e477(0x1eb)]===0x0)return;let _0x376ac0=new v();_0x376ac0[_0x42e477(0x21e)]([..._0x38bf97]),this[_0x42e477(0x157)]&&_0x376ac0[_0x42e477(0x116)]([this[_0x42e477(0x157)]]),this['notes'][_0x42e477(0x141)](_0x376ac0);return;}let _0x56e27b=new v();_0x56e27b[_0x42e477(0x21e)]([_0x200516]),this[_0x42e477(0x157)]&&_0x56e27b['addIndis']([this[_0x42e477(0x157)]]),this[_0x42e477(0x191)]['addNote'](_0x56e27b);}[_0x11810c(0x134)](_0x207862){const _0x29daf4=_0x11810c;if(!this[_0x29daf4(0x157)]||!_0x207862?.[_0x29daf4(0x122)])return;let _0xac5b0f=''+this['INDI'],_0x25f406=this['mediaRelativePathsInUse'](),_0x3c2f07=C(_0xac5b0f,_0x207862['file'][_0x29daf4(0x15b)],_0x25f406);_0x207862[_0x29daf4(0x13f)]=_0x3c2f07,this[_0x29daf4(0x11e)]['files'][_0x29daf4(0x100)](_0x207862),this[_0x29daf4(0x159)][_0x29daf4(0x11b)](_0x3c2f07,_0x207862);}['deleteMultimedia'](_0xcdbbd2){const _0x4996c5=_0x11810c;this['newMultimediaFiles']['delete'](_0xcdbbd2);let _0x3af986=this['multimediaFiles']['files'][_0x4996c5(0x148)](_0x1117a0=>_0x1117a0[_0x4996c5(0x13f)]===_0xcdbbd2);_0x3af986>=0x0&&this['multimediaFiles'][_0x4996c5(0x15e)]['splice'](_0x3af986,0x1);}['mediaRelativePathsInUse'](){const _0x451cd5=_0x11810c;return[...this['newMultimediaFiles']['keys'](),...this[_0x451cd5(0x11e)]['files'][_0x451cd5(0xfc)](_0x20be11=>_0x20be11['relativePath'])[_0x451cd5(0x247)](_0x36c93d=>!!_0x36c93d)];}[_0x11810c(0x135)](_0x378d3e){const _0x51dc93=_0x11810c;let _0x1a56f3;for(let _0x20e7ee of _0x378d3e){let _0xccee35=y(_0x20e7ee);if(_0xccee35?.[_0x51dc93(0x153)]===_0x51dc93(0x15d)){_0x1a56f3=_0xccee35[_0x51dc93(0x189)];break;}}if(!_0x1a56f3)return;let _0xa1fd30=/\/([^/]+)\//[_0x51dc93(0x21c)](_0x1a56f3);this[_0x51dc93(0x1c7)]=(_0xa1fd30?_0x1a56f3[_0x51dc93(0x1ce)](_0xa1fd30[0x0],''):_0x1a56f3)[_0x51dc93(0x1ce)](/"/g,'')[_0x51dc93(0x1ce)](/\/+/g,'')['trim']()[_0x51dc93(0x109)](/\s+/)[_0x51dc93(0x247)](Boolean),this[_0x51dc93(0x1f7)]=_0xa1fd30?.[0x1]?.['trim']()['toUpperCase']()??'';}};function _0xdd4c(_0x176b06,_0x5bfcb1){_0x176b06=_0x176b06-0xf9;const _0x28be4b=_0x28be();let _0xdd4c18=_0x28be4b[_0x176b06];return _0xdd4c18;}import _0x5ffce5 from'jszip';var Z='\x0a';function me(_0x82bac2){const _0x4e2a39=_0x11810c;if(!_0x82bac2?.[_0x4e2a39(0x1eb)])return'';let _0x1dc363='',_0x2c4eef=!0x1;for(let _0x4acb79 of _0x82bac2){let _0x4300a6=y(_0x4acb79[_0x4e2a39(0x214)]());if(!_0x4300a6)continue;let {level:_0x4611d2,tag:_0x399db4,value:_0x59d974}=_0x4300a6;if(_0x4611d2==='0'&&_0x59d974===_0x4e2a39(0x169)&&_0x399db4[_0x4e2a39(0x183)]('@N')&&_0x399db4[_0x4e2a39(0x123)]('@')){_0x2c4eef=!0x0;continue;}if(_0x399db4===_0x4e2a39(0x169)){_0x1dc363=_0x59d974,_0x2c4eef=!0x0;continue;}if(_0x399db4===_0x4e2a39(0x11f)){_0x1dc363+=_0x59d974,_0x2c4eef=!0x0;continue;}if(_0x399db4===_0x4e2a39(0x17d)){_0x1dc363+=(_0x1dc363?'\x0a':'')+_0x59d974,_0x2c4eef=!0x0;continue;}}return _0x2c4eef?_0x1dc363[_0x4e2a39(0x1ce)](/\r\n/g,'\x0a')[_0x4e2a39(0x1ce)](/\r/g,'\x0a'):_0x82bac2['filter'](_0x326b8a=>_0x326b8a[_0x4e2a39(0x1eb)]>0x0)['join']('\x0a')['replace'](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a');}function he(_0x301a41,_0x274697){const _0x9036d5=_0x11810c;let _0x22e34c=me(_0x301a41[_0x9036d5(0x13b)]??[]);if(!_0x22e34c[_0x9036d5(0x127)]())return'';let _0x2f5323=_0x274697+0x1,_0x5709e9=_0x22e34c['split']('\x0a');for(;_0x5709e9[_0x9036d5(0x1eb)]>0x0&&_0x5709e9[0x0]==='';)_0x5709e9[_0x9036d5(0x233)]();if(_0x5709e9['length']===0x0)return'';let [_0x2bca9e,..._0x5c85d3]=_0x5709e9,_0x27277f=_0x274697+'\x20NOTE\x20'+_0x2bca9e+Z;return _0x5c85d3[_0x9036d5(0x1eb)]===0x0?_0x27277f:_0x27277f+_0x5c85d3[_0x9036d5(0xfc)](_0x11ace2=>_0x2f5323+'\x20CONT\x20'+_0x11ace2+Z)['join']('');}function k(_0xa45609,_0x3f1385){const _0x155787=_0x11810c;return _0xa45609?.[_0x155787(0x19d)]?.[_0x155787(0x1eb)]?_0xa45609['list']['map'](_0x3cdb61=>he(_0x3cdb61,_0x3f1385))['join'](''):'';}var d='\x0a',_=(_0x79d8f6,_0x510d5e,_0x4e5d72)=>{const _0x573553=_0x11810c;let _0x302d9d=_0x510d5e[_0x573553(0x13f)]?.[_0x573553(0x127)]();if(_0x302d9d&&_0x302d9d[_0x573553(0x1ee)]('/'))return _0x302d9d;let _0x5b5f23=_0x302d9d||_0x510d5e[_0x573553(0x122)][_0x573553(0x15b)];return _0x4e5d72[_0x573553(0x1eb)]===0x1?_0x4e5d72[0x0]+'/'+_0x79d8f6[_0x573553(0x164)]+'/'+_0x5b5f23:_0x573553(0xff)+(_0x4e5d72[_0x573553(0x1eb)]>0x1?_0x4e5d72['join']('-'):'unknown')+'/'+_0x79d8f6[_0x573553(0x164)]+'/'+_0x5b5f23;},q=(_0x18d78d,_0x4e239d)=>{const _0x436bc7=_0x11810c;let _0xd7c949=URL[_0x436bc7(0x1a7)](_0x18d78d),_0x227470=document['createElement']('a');_0x227470[_0x436bc7(0x218)]=_0xd7c949,_0x227470[_0x436bc7(0x1a9)]=_0x4e239d,_0x227470['click'](),setTimeout(()=>URL[_0x436bc7(0x10a)](_0xd7c949),0x0);},I=class{constructor(_0x266ce4,_0x5d765a,_0x5863df){const _0x2cb608=_0x11810c;a(this,'title'),a(this,'persons'),a(this,'onCreate',Date[_0x2cb608(0x163)]()),a(this,_0x2cb608(0x176),!0x1);let _0x2ee30c=_0x266ce4?.[_0x2cb608(0x127)]();this[_0x2cb608(0x21a)]=_0x2ee30c?_0x2ee30c+'_gedcom-ts_'+this['onCreate']:_0x2cb608(0x13e)+this[_0x2cb608(0x203)],this[_0x2cb608(0x235)]=_0x5d765a,this['haveFiles']=_0x5863df;}get['beginGedcom'](){const _0x511057=_0x11810c;let _0x33a27a=new Date(),_0x31fc8e={'day':_0x511057(0x181),'month':_0x511057(0x181),'year':'numeric'};return'0\x20HEAD'+d+'1\x20SOUR\x20generated\x20by\x20gedcom-ts'+d+_0x511057(0x182)+_0x33a27a['toLocaleDateString'](_0x511057(0x1f1),_0x31fc8e)+d+_0x511057(0x177)+_0x33a27a['toLocaleTimeString']('fr-FR')+d+_0x511057(0x156)+this[_0x511057(0x21a)]+d+'1\x20GEDC'+d+'2\x20FORM\x20LINEAGE-LINKED'+d+_0x511057(0x234)+d;}get['contentGedcom'](){const _0x565914=_0x11810c;return this[_0x565914(0x235)]['map'](_0x4c7835=>new V(_0x4c7835,this[_0x565914(0x176)])['line']())['join']('')+new H(this['persons'])[_0x565914(0x13b)]();}['gedcomBlob'](){const _0x3833cb=_0x11810c;return new Blob([''+this[_0x3833cb(0x144)]+this[_0x3833cb(0x1df)]+'TRLR'],{'type':_0x3833cb(0x104)});}},X=class extends I{constructor(..._0x2decda){const _0x3aa73b=_0x11810c;let [_0x428670,_0x2c2f78]=typeof _0x2decda[0x0]==_0x3aa73b(0x139)?[_0x2decda[0x0],_0x2decda[0x1]]:[void 0x0,_0x2decda[0x0]];super(_0x428670,_0x2c2f78,!0x0),a(this,'zip'),this[_0x3aa73b(0x210)]=new _0x5ffce5();}async[_0x11810c(0x1a9)](){const _0x3b2361=_0x11810c;this['zip'][_0x3b2361(0x122)](this['title']+'.ged',this['gedcomBlob']()),this['persons'][_0x3b2361(0x11d)](_0x5c1ec5=>{const _0x2bf09a=_0x3b2361;let _0x5131b3=this[_0x2bf09a(0x19b)](_0x5c1ec5);this[_0x2bf09a(0x18e)](_0x5c1ec5[_0x2bf09a(0x15e)],_0x5c1ec5[_0x2bf09a(0x11e)]['files'])[_0x2bf09a(0x11d)](_0x30ffdb=>{const _0xb4c051=_0x2bf09a;let _0x4f4c8a=this[_0xb4c051(0x1f2)](_0x30ffdb,_0x5131b3);this[_0xb4c051(0x197)](_0x30ffdb,_0x4f4c8a);}),_0x5c1ec5[_0x2bf09a(0x152)][_0x2bf09a(0x19d)]['forEach'](_0x54fa15=>{const _0x32b89a=_0x2bf09a;let _0x4205cd=this['resolveActIndis'](_0x5131b3,_0x54fa15);this['collectMediaFiles'](_0x54fa15['files'],_0x54fa15['multimediaFiles'][_0x32b89a(0x15e)])[_0x32b89a(0x11d)](_0xc8093e=>{const _0x14c53b=_0x32b89a;let _0xe15cee=_(_0x54fa15,_0xc8093e,_0x4205cd);this[_0x14c53b(0x197)](_0xc8093e,_0xe15cee);});});}),this[_0x3b2361(0x210)][_0x3b2361(0x175)]({'type':'blob','compression':_0x3b2361(0x1ec),'compressionOptions':{'level':0x9}})[_0x3b2361(0x236)](_0x48bd08=>{const _0x3f487b=_0x3b2361;q(_0x48bd08,this[_0x3f487b(0x21a)]+_0x3f487b(0x16f));});}['collectMediaFiles'](..._0x3bca43){const _0x48616f=_0x11810c;let _0x184676=new Map();for(let _0x30f92a of _0x3bca43)if(_0x30f92a?.[_0x48616f(0x1eb)])for(let _0x22fa95 of _0x30f92a){if(!_0x22fa95?.['file'])continue;let _0x27effb=_0x22fa95[_0x48616f(0x13f)]||_0x22fa95[_0x48616f(0x122)]['name'];_0x184676['has'](_0x27effb)||_0x184676['set'](_0x27effb,_0x22fa95);}return Array[_0x48616f(0x16a)](_0x184676['values']());}[_0x11810c(0x19b)](_0x53a9b8){const _0xf6f28a=_0x11810c;if(typeof _0x53a9b8['INDI']==_0xf6f28a(0x1da))return''+_0x53a9b8['INDI'];for(let _0x16d75a of _0x53a9b8['acts'][_0xf6f28a(0x19d)]){let _0x58e888=_0x16d75a['INDIS']['find'](_0x5c1c84=>typeof _0x5c1c84=='number');if(_0x58e888!==void 0x0)return''+_0x58e888;}return'';}[_0x11810c(0x168)](_0x21a80a,_0x3b286a){const _0x5e3c4b=_0x11810c;let _0xf99eb2=new Set();return _0x21a80a&&_0xf99eb2[_0x5e3c4b(0x19f)](_0x21a80a),_0x3b286a[_0x5e3c4b(0x193)][_0x5e3c4b(0x247)](_0x544aa8=>typeof _0x544aa8==_0x5e3c4b(0x1da))[_0x5e3c4b(0x11d)](_0x1dc831=>_0xf99eb2[_0x5e3c4b(0x19f)](''+_0x1dc831)),Array['from'](_0xf99eb2);}[_0x11810c(0x1f2)](_0x415fdb,_0x29f3e8){const _0x51366b=_0x11810c;let _0x9ba43f=_0x29f3e8[_0x51366b(0x1ce)](/\/+$/,''),_0x51709c=_0x415fdb['relativePath']?.[_0x51366b(0x127)]();if(_0x51709c&&_0x51709c[_0x51366b(0x1ee)]('/'))return _0x51709c;let _0x366789=_0x51709c||_0x415fdb[_0x51366b(0x122)]['name'];return _0x9ba43f?_0x9ba43f+'/'+_0x366789:_0x366789;}[_0x11810c(0x197)](_0xb0dd18,_0x14ca45){const _0x41789a=_0x11810c;let {file:_0x11c4e3,relativePath:_0x1052b3}=_0xb0dd18;_0x11c4e3&&this[_0x41789a(0x210)]['file'](_0x14ca45||_0x1052b3||_0x11c4e3[_0x41789a(0x15b)],_0x11c4e3);}},J=class extends I{constructor(..._0x10cf63){const _0x3e4322=_0x11810c;let [_0x54c877,_0x407936]=typeof _0x10cf63[0x0]==_0x3e4322(0x139)?[_0x10cf63[0x0],_0x10cf63[0x1]]:[void 0x0,_0x10cf63[0x0]];super(_0x54c877,_0x407936,!0x1);}[_0x11810c(0x1a9)](){const _0x4dd914=_0x11810c;q(this[_0x4dd914(0x15a)](),this['title']+_0x4dd914(0x174));}},H=class{constructor(_0x3b3b9f){a(this,'informationFamilies',new Map()),_0x3b3b9f['forEach'](_0x3d83e8=>{const _0x3c001e=_0xdd4c;let {FAMS:_0x4d19d7,FAMC:_0x4dfead,INDI:_0x35c13d}=_0x3d83e8;_0x4d19d7['length']>0x0&&this[_0x3c001e(0x1a4)]('1\x20'+(_0x3d83e8['SEX']==='M'?_0x3c001e(0x106):_0x3c001e(0x1a8))+'\x20@I'+_0x35c13d+'@\x0a',_0x4d19d7),_0x4dfead&&this[_0x3c001e(0x1a4)]('1\x20CHIL\x20@I'+_0x35c13d+'@\x0a',[_0x4dfead]);});}[_0x11810c(0x13b)](){const _0x3dbbd9=_0x11810c;let _0x371f15=[];for(let [_0xae3418,_0x495a55]of this['informationFamilies']['entries']())_0x371f15[_0x3dbbd9(0x100)](_0x3dbbd9(0x199)+_0xae3418+_0x3dbbd9(0x19a),_0x495a55[_0x3dbbd9(0x12e)](''));return _0x371f15[_0x3dbbd9(0x12e)]('');}[_0x11810c(0x1a4)](_0x1c2e63,_0x4f790b){const _0x44d53f=_0x11810c;_0x4f790b[_0x44d53f(0x11d)](_0x506287=>{const _0x5b5225=_0x44d53f;if(this[_0x5b5225(0x222)][_0x5b5225(0x10d)](_0x506287)){let _0xde37ec=this[_0x5b5225(0x222)][_0x5b5225(0x18a)](_0x506287);_0xde37ec[_0x5b5225(0x100)](_0x1c2e63),this['informationFamilies'][_0x5b5225(0x11b)](_0x506287,_0xde37ec);}else this[_0x5b5225(0x222)][_0x5b5225(0x11b)](_0x506287,[_0x1c2e63]);});}},V=class{constructor(_0x1cc197,_0x129e84){const _0xf3e435=_0x11810c;a(this,_0xf3e435(0x157)),a(this,_0xf3e435(0x15d)),a(this,_0xf3e435(0x1bb),''),a(this,_0xf3e435(0x1cc)),a(this,_0xf3e435(0x1ff)),a(this,'FILES',''),a(this,'ACTS',''),a(this,_0xf3e435(0x238),''),(this[_0xf3e435(0x157)]=this['getIndi'](_0x1cc197),this['NAME']=this[_0xf3e435(0x1c3)](_0x1cc197),this[_0xf3e435(0x1bb)]=this['getSex'](_0x1cc197),this[_0xf3e435(0x1cc)]=this[_0xf3e435(0x105)](_0x1cc197),this[_0xf3e435(0x1ff)]=this['getFamc'](_0x1cc197),_0x129e84&&_0x1cc197['multimediaFiles'][_0xf3e435(0x15e)]['length']>0x0&&(this[_0xf3e435(0x20e)]=this['getFiles'](_0x1cc197)),_0x1cc197[_0xf3e435(0x152)][_0xf3e435(0x19d)]?.['length']>0x0&&(this[_0xf3e435(0x12c)]=new Y(_0x1cc197)['line']()),_0x1cc197[_0xf3e435(0x191)][_0xf3e435(0x19d)]['length']>0x0&&(this[_0xf3e435(0x238)]=k(_0x1cc197[_0xf3e435(0x191)],0x1)));}['line'](){const _0x165a2d=_0x11810c;return this[_0x165a2d(0x157)]+this['NAME']+this[_0x165a2d(0x1bb)]+this[_0x165a2d(0x20e)]+this['ACTS']+this['NOTES']+this[_0x165a2d(0x1cc)]+this[_0x165a2d(0x1ff)];}[_0x11810c(0x1c0)](_0x26c7c7,_0x4e8dc2,_0x38a94b='1'){const _0x2732bc=_0x11810c;return _0x4e8dc2?.[_0x2732bc(0xfc)](_0x183372=>_0x38a94b+'\x20FILE\x20'+_0x26c7c7+'/'+_0x183372[_0x2732bc(0x12f)]+d)['join']('')??'';}['getIndi'](_0x3b268c){const _0x1b919a=_0x11810c;return _0x1b919a(0x107)+_0x3b268c[_0x1b919a(0x157)]+'@\x20INDI'+d;}[_0x11810c(0x1c3)](_0x356c68){const _0x509d16=_0x11810c;let _0x1eff7e=_0x356c68[_0x509d16(0x1c7)]?.[_0x509d16(0x1eb)]>0x0?[..._0x356c68[_0x509d16(0x1c7)]]:[],_0x521eae=_0x356c68[_0x509d16(0x1f7)]??'';if(_0x1eff7e||_0x521eae){let _0x57173a=_0x509d16(0x1ea);return _0x1eff7e&&_0x1eff7e['length']>0x0&&(_0x1eff7e[0x0]='\x22'+_0x1eff7e[0x0]+'\x22',_0x57173a+='\x20'+_0x1eff7e[_0x509d16(0x12e)]('\x20')),_0x521eae&&_0x521eae[_0x509d16(0x1eb)]>0x0&&(_0x57173a+='\x20/'+_0x521eae+'/'),_0x57173a+d;}return'';}[_0x11810c(0x17b)](_0x130dac){const _0x5c6e98=_0x11810c;return'1\x20SEX\x20'+_0x130dac[_0x5c6e98(0x1bb)]+d;}['getFiles'](_0x16896f){const _0xe835df=_0x11810c;return _0x16896f[_0xe835df(0x11e)]?.['files']['map'](_0x514527=>'1\x20FILE\x20'+_0x514527[_0xe835df(0x13f)]+d)['join']('')??'';}[_0x11810c(0x105)](_0x14b4e5){const _0x2bc48f=_0x11810c;return _0x14b4e5[_0x2bc48f(0x1cc)]['filter'](_0x2261aa=>_0x2261aa>=0x0)[_0x2bc48f(0xfc)](_0xfea51a=>'1\x20FAMS\x20@F'+_0xfea51a+'@'+d)[_0x2bc48f(0x12e)]('');}[_0x11810c(0x192)](_0x318158){const _0x677e4=_0x11810c;return _0x318158[_0x677e4(0x1ff)]?_0x677e4(0x1e9)+_0x318158[_0x677e4(0x1ff)]+'@'+d:'';}},j=class o{constructor(_0x57059a,_0x282eac){const _0x18fe9c=_0x11810c;a(this,'TYPE'),a(this,_0x18fe9c(0x138)),a(this,_0x18fe9c(0x17c)),a(this,_0x18fe9c(0x238)),a(this,'FILES'),a(this,'ownerIndi'),(this['ownerIndi']=_0x282eac,this[_0x18fe9c(0x1fc)]=this[_0x18fe9c(0x12b)](_0x57059a),this[_0x18fe9c(0x138)]=this[_0x18fe9c(0x212)](_0x57059a),this[_0x18fe9c(0x17c)]=this['getDate'](_0x57059a),this[_0x18fe9c(0x238)]=k(_0x57059a['notes'],0x2),this[_0x18fe9c(0x20e)]=this['getFile'](_0x57059a));}static[_0x11810c(0x111)](_0x2c0cf9){const _0x178e1b=_0x11810c;return _0x2c0cf9['date']?''+(_0x2c0cf9['day']?_0x2c0cf9[_0x178e1b(0xfd)]+'\x20':'')+(_0x2c0cf9['month']?_0x2c0cf9['month']+'\x20':'')+(_0x2c0cf9['year']?''+_0x2c0cf9[_0x178e1b(0x241)]:''):'';}['line'](){const _0x179e14=_0x11810c;return this[_0x179e14(0x1fc)]+this['DATE']+this[_0x179e14(0x138)]+this['NOTES']+this['FILES'];}[_0x11810c(0x23a)](_0xe27c4){const _0x31fa76=_0x11810c;let _0x53d1c1=new Map();return[..._0xe27c4[_0x31fa76(0x15e)],..._0xe27c4[_0x31fa76(0x11e)]['files']][_0x31fa76(0x11d)](_0x2437c0=>{const _0x257264=_0x31fa76;if(!_0x2437c0?.['file'])return;let _0x4e13e7=_0x2437c0['relativePath']||_0x2437c0[_0x257264(0x122)][_0x257264(0x15b)];_0x53d1c1[_0x257264(0x10d)](_0x4e13e7)||_0x53d1c1[_0x257264(0x11b)](_0x4e13e7,_0x2437c0);}),Array[_0x31fa76(0x16a)](_0x53d1c1['values']())[_0x31fa76(0xfc)](_0x123213=>{const _0x5c72ff=_0x31fa76;let _0x378d60=new Set();return typeof this[_0x5c72ff(0x131)]==_0x5c72ff(0x1da)&&_0x378d60['add'](''+this['ownerIndi']),_0xe27c4[_0x5c72ff(0x193)]['filter'](_0x3bbf94=>typeof _0x3bbf94==_0x5c72ff(0x1da))['forEach'](_0x1f620d=>_0x378d60[_0x5c72ff(0x19f)](''+_0x1f620d)),_0x5c72ff(0x12d)+_(_0xe27c4,_0x123213,Array[_0x5c72ff(0x16a)](_0x378d60))+d;})['join']('');}[_0x11810c(0x12b)](_0xace364){return'1\x20'+_0xace364['type']+d;}['getDate'](_0x1e2b09){const _0x3ddddc=_0x11810c;return _0x1e2b09?.[_0x3ddddc(0x1e0)]?.[_0x3ddddc(0x22d)]?_0x3ddddc(0x121)+o[_0x3ddddc(0x111)](_0x1e2b09[_0x3ddddc(0x1e0)])+d:'';}[_0x11810c(0x212)](_0x5e8a8a){const _0x40c386=_0x11810c;if(!_0x5e8a8a[_0x40c386(0x150)])return'';let {city:_0x25c030,coordinate:_0x10d572}=_0x5e8a8a[_0x40c386(0x150)];if(_0x25c030){let _0x5d191b='2\x20PLAC\x20'+_0x5e8a8a['place']['city']+d,_0x2d3092='';return _0x10d572[_0x40c386(0x1d3)]&&_0x10d572['longitude']&&(_0x2d3092='3\x20MAP'+d+_0x40c386(0x1fe)+_0x10d572[_0x40c386(0x1d3)]+d+'4\x20LONG\x20'+_0x10d572['longitude']+d),_0x5d191b+_0x2d3092;}return'';}},Y=class{constructor(_0x27ec6c){const _0x997d65=_0x11810c;a(this,'acts'),a(this,'INDI'),(this['acts']=_0x27ec6c['acts'][_0x997d65(0x19d)],this['INDI']=_0x27ec6c[_0x997d65(0x157)]);}['line'](){const _0x5ff755=_0x11810c;return this[_0x5ff755(0x152)][_0x5ff755(0xfc)](_0x55c51f=>new j(_0x55c51f,this['INDI'])[_0x5ff755(0x1cd)]())[_0x5ff755(0x12e)]('');}},w=class{constructor(_0x46bb4d){const _0x4b0155=_0x11810c;a(this,'informationPersons',[]),a(this,'informationFamilies',new Map()),a(this,'informationNotes',new Map()),_0x46bb4d!==void 0x0&&this[_0x4b0155(0x143)](_0x46bb4d);}['ingestGedcomText'](_0x3bb61e){const _0x5405e5=_0x11810c;let _0x468c9d=_0x3bb61e[_0x5405e5(0x109)]('\x0a')[_0x5405e5(0xfc)](_0x4f7374=>_0x4f7374[_0x5405e5(0x1ce)](/\r$/,'')),_0x236df7=[],_0x153732=()=>{const _0x47e573=_0x5405e5;_0x236df7[_0x47e573(0x1eb)]!==0x0&&(this['ingestRecordBlock'](_0x236df7['join']('\x0a')),_0x236df7=[]);};for(let _0xf70de4 of _0x468c9d)_0xf70de4[_0x5405e5(0x183)]('0\x20')?(_0x153732(),_0x236df7=[_0xf70de4]):_0x236df7[_0x5405e5(0x1eb)]>0x0&&_0x236df7['push'](_0xf70de4);_0x153732();}async[_0x11810c(0x1b3)](_0x1fcde3){const _0x16fd60=_0x11810c;if(typeof _0x1fcde3['stream']!=_0x16fd60(0x231)||typeof TextDecoderStream>'u'){this['ingestGedcomText'](await _0x1fcde3['text']());return;}let _0x52c913=_0x1fcde3[_0x16fd60(0x155)]()[_0x16fd60(0x1e2)](new TextDecoderStream())['getReader'](),_0x4ae911='',_0x4b43f9=null,_0xf02a0a=()=>{const _0xb3cacc=_0x16fd60;if(!_0x4b43f9||_0x4b43f9['length']===0x0){_0x4b43f9=null;return;}let _0x4ff8d1=_0x4b43f9['join']('\x0a');_0x4b43f9=null,this[_0xb3cacc(0x162)](_0x4ff8d1);};for(;;){let {done:_0x234c44,value:_0x3fe818}=await _0x52c913[_0x16fd60(0x200)]();if(_0x3fe818){_0x4ae911+=_0x3fe818;let _0x370675=_0x4ae911['indexOf']('\x0a');for(;_0x370675!==-0x1;){let _0x3a76cc=_0x4ae911[_0x16fd60(0x242)](0x0,_0x370675);_0x4ae911=_0x4ae911[_0x16fd60(0x242)](_0x370675+0x1),_0x370675=_0x4ae911['indexOf']('\x0a');let _0x30d39f=_0x3a76cc[_0x16fd60(0x1ce)](/\r$/,'');_0x30d39f[_0x16fd60(0x183)]('0\x20')?(_0xf02a0a(),_0x4b43f9=[_0x30d39f]):_0x4b43f9&&_0x4b43f9[_0x16fd60(0x100)](_0x30d39f);}}if(_0x234c44){if(_0x4ae911[_0x16fd60(0x1eb)]>0x0){let _0x890a3f=_0x4ae911[_0x16fd60(0x1ce)](/\r$/,'');_0x890a3f['startsWith']('0\x20')?(_0xf02a0a(),_0x4b43f9=[_0x890a3f]):_0x4b43f9&&_0x4b43f9[_0x16fd60(0x100)](_0x890a3f);}_0xf02a0a();break;}}}[_0x11810c(0x162)](_0x38f169){const _0x28ba5d=_0x11810c;let _0x1b576e=_0x38f169[_0x28ba5d(0x109)]('\x0a')[0x0]?.['trimStart']()??'',_0x5d3371=_0x1b576e['startsWith']('0\x20')?_0x1b576e[_0x28ba5d(0x242)](0x2):_0x1b576e;switch(''+_0x5d3371[0x0]+_0x5d3371[0x1]){case'@I':this['splitInformationPersons'](_0x38f169);break;case'@F':this['splitInformationFamilies'](_0x38f169);break;case'@N':this['splitInformationNotes'](_0x38f169);break;case'@S':break;default:break;}}['splitInformationPersons'](_0x3567a4){const _0x1a1379=_0x11810c;this['informationPersons']['push'](_0x3567a4[_0x1a1379(0x109)]('\x0a'));}['splitInformationFamilies'](_0x3ed1e4){const _0x3bb8ee=_0x11810c;let _0x42ecdf=this['extractXrefId'](_0x3ed1e4,'@F');if(_0x42ecdf===null)return;let _0x4d3d18=_0x3ed1e4['split']('\x0a')['slice'](0x1);this[_0x3bb8ee(0x222)][_0x3bb8ee(0x11b)](_0x42ecdf,_0x4d3d18);}[_0x11810c(0x110)](_0x176237){const _0x335780=_0x11810c;let _0x12035a=this[_0x335780(0x10e)](_0x176237,'@N');if(_0x12035a===null)return;let _0x530b82=_0x176237[_0x335780(0x109)]('\x0a')['slice'](0x1);this[_0x335780(0x221)]['set'](_0x12035a,_0x530b82);}[_0x11810c(0x10e)](_0x494b5a,_0x567262){const _0x43bd2c=_0x11810c;let _0x54ba77=_0x494b5a['indexOf'](_0x567262);if(_0x54ba77<0x0)return null;let _0x144a81=_0x494b5a[_0x43bd2c(0x11c)]('@',_0x54ba77+_0x567262['length']);if(_0x144a81<=_0x54ba77)return null;let _0x308a9b=_0x494b5a['slice'](_0x54ba77+_0x567262[_0x43bd2c(0x1eb)],_0x144a81);return/^\d+$/[_0x43bd2c(0x239)](_0x308a9b)?Number(_0x308a9b):null;}},K=_0x3b5173=>{const _0x36098a=_0x11810c;let _0x4694ff=_0x3b5173[_0x36098a(0xfc)](_0x4e6f1c=>_0x4e6f1c[_0x36098a(0x157)])['sort']((_0x496355,_0x296a74)=>_0x496355-_0x296a74);return _0x4694ff[_0x4694ff[_0x36098a(0x1eb)]-0x1]+0x1;},x=class o extends w{constructor(_0x31c53f,_0x698883,_0x57e79e,_0x42a335){const _0x2d176b=_0x11810c;super(_0x31c53f),a(this,_0x2d176b(0x235)),a(this,'mapPersons'),a(this,'partnersMap'),a(this,_0x2d176b(0x22b)),a(this,_0x2d176b(0x1b9)),a(this,_0x2d176b(0x128)),(this['mapFiles']=_0x698883??new Map(),this[_0x2d176b(0x128)]=_0x57e79e??new Map(),this[_0x2d176b(0x14f)]=_0x42a335??new Map(),_0x31c53f!==void 0x0&&this['finalizeAfterParse']());}static async['fromGedcomFile'](_0x4fd524,_0x1f4476,_0x25096a,_0x9cf56a){let _0xcaa867=new o(void 0x0,_0x1f4476,_0x25096a,_0x9cf56a);return await _0xcaa867['ingestGedcomFileStream'](_0x4fd524),_0xcaa867['finalizeAfterParse'](),_0xcaa867;}['finalizeAfterParse'](){const _0x2c8756=_0x11810c;this[_0x2c8756(0x235)]=this['createPersons'](),this[_0x2c8756(0x235)]?.[_0x2c8756(0x1eb)]>0x0&&this[_0x2c8756(0x235)]['forEach'](_0x547b46=>{const _0x24e1c2=_0x2c8756;let _0x2751f5=_0x547b46['acts'][_0x24e1c2(0x19d)];_0x2751f5['length']>0x0&&_0x2751f5[_0x24e1c2(0x11d)](_0x2f1e6d=>{const _0x42c626=_0x24e1c2;if(this['placesMap'][_0x42c626(0x10d)](_0x2f1e6d[_0x42c626(0x150)][_0x42c626(0x1d0)])){let {latitude:_0x389657,longitude:_0x23410f}=this['placesMap'][_0x42c626(0x18a)](_0x2f1e6d['place']['city'])[_0x42c626(0x17f)];(_0x389657===0x0||_0x389657)&&(_0x23410f===0x0||_0x23410f)||this['placesMap'][_0x42c626(0x11b)](_0x2f1e6d[_0x42c626(0x150)][_0x42c626(0x1d0)],_0x2f1e6d[_0x42c626(0x150)]);}else this[_0x42c626(0x128)]['set'](_0x2f1e6d[_0x42c626(0x150)][_0x42c626(0x1d0)],_0x2f1e6d[_0x42c626(0x150)]);});}),this[_0x2c8756(0x1f9)]=new Map(),this[_0x2c8756(0x22b)]=new Map(),this[_0x2c8756(0x207)]();}['groupPartners'](){const _0x366969=_0x11810c;[...this[_0x366969(0x235)]]['forEach'](_0x2cab5f=>{const _0x396408=_0x366969;if(_0x2cab5f[_0x396408(0x1cc)]?.[_0x396408(0x1eb)]>0x0&&_0x2cab5f['FAMS']['forEach'](_0x3e4748=>{const _0x4060f8=_0x396408;let _0x423634=[_0x2cab5f];this['partnersMap'][_0x4060f8(0x10d)](_0x3e4748)&&(_0x423634=[..._0x423634,...this['partnersMap'][_0x4060f8(0x18a)](_0x3e4748)]),this[_0x4060f8(0x1f9)]['set'](_0x3e4748,_0x423634);}),_0x2cab5f['FAMC']){let _0x22ad22=[_0x2cab5f];this[_0x396408(0x22b)]['has'](_0x2cab5f['FAMC'])&&(_0x22ad22=[..._0x22ad22,...this[_0x396408(0x22b)]['get'](_0x2cab5f['FAMC'])]),this[_0x396408(0x22b)][_0x396408(0x11b)](_0x2cab5f['FAMC'],_0x22ad22);}});}['createDirectAncestries'](_0xdc4824){const _0x11ad4d=_0x11810c;return this['haveParentsOfPerson'](_0xdc4824,[])[_0x11ad4d(0x20b)]((_0x3cd26b,_0x5a9f4b)=>_0x3cd26b['sosa']-_0x5a9f4b[_0x11ad4d(0x21d)]);}['generateUniqueIndi'](){return K(this['persons']);}[_0x11810c(0x10b)](_0x442e8a,_0x287b54,_0x10e9ea){const _0x2d2b7e=_0x11810c;let _0x2fd7ad=Object[_0x2d2b7e(0x244)]({},_0x442e8a);if(_0x2fd7ad['sosa']=_0x10e9ea?_0x10e9ea*0x2+(_0x442e8a[_0x2d2b7e(0x1bb)]==='F'?0x1:0x0):0x1,this['partnersMap']['has'](_0x2fd7ad['FAMC'])){let _0x223192=[...this[_0x2d2b7e(0x1f9)][_0x2d2b7e(0x18a)](_0x2fd7ad[_0x2d2b7e(0x1ff)])];_0x223192&&_0x223192[_0x2d2b7e(0x1eb)]>0x0&&_0x223192[_0x2d2b7e(0x11d)](_0x25290b=>{const _0x1fa61f=_0x2d2b7e;this[_0x1fa61f(0x10b)](_0x25290b,_0x287b54,_0x2fd7ad['sosa']);});}return _0x287b54['push'](_0x2fd7ad),_0x287b54;}['createPersons'](){const _0x56ef61=_0x11810c;return this[_0x56ef61(0x1d4)]?.['length']>0x0?this['informationPersons'][_0x56ef61(0xfc)](_0x3024f4=>{const _0x1a6932=_0x56ef61;let _0x289057=new R();return _0x289057[_0x1a6932(0x246)](_0x3024f4,this[_0x1a6932(0x222)],this[_0x1a6932(0x1b9)],this[_0x1a6932(0x221)]),this[_0x1a6932(0x14f)][_0x1a6932(0x11b)](_0x289057[_0x1a6932(0x157)],_0x289057),_0x289057;})[_0x56ef61(0x20b)]((_0x3b7444,_0x453b4b)=>_0x3b7444[_0x56ef61(0x1ff)]-_0x453b4b[_0x56ef61(0x1ff)]):[];}};import _0x4459ae from'jszip';var de=async _0x7579e=>{const _0x380878=_0x11810c;if(_0x7579e&&_0x7579e instanceof File){let {type:_0x4cdeb0}=_0x7579e;return _0x4cdeb0===_0x380878(0x1c2)?ge(_0x7579e):Q(_0x7579e);}throw new Error('file\x20must\x20be\x20a\x20File');},Q=async(_0x33045b,_0x3a030a)=>{const _0x437463=_0x11810c;if(_0x33045b){if(/\.ged$/[_0x437463(0x239)](_0x33045b?.[_0x437463(0x15b)]))return x[_0x437463(0x20d)](_0x33045b,_0x3a030a);throw new Error(_0x437463(0x160));}throw new Error('Le\x20fichier\x20envoyé\x20doit-etre\x20un\x20File');},fe=async(_0x14c1ab,_0x45e329)=>{const _0x40be99=_0x11810c;let _0x557b1e=await _0x14c1ab[_0x40be99(0x19c)](_0x40be99(0x18b)),_0x41b7a3=_0x557b1e[_0x40be99(0x170)][_0x40be99(0x242)](_0x557b1e['byteOffset'],_0x557b1e['byteOffset']+_0x557b1e[_0x40be99(0x18f)]),_0xf22e0e=new Blob([_0x41b7a3]);return new File([_0xf22e0e],_0x45e329);},Ae=async _0x41eaee=>{const _0x23134a=_0x11810c;let _0x5410e8=await new _0x4459ae()[_0x23134a(0x1ba)](_0x41eaee),_0x4279b0=new Map(),_0x15e3d8=[];return _0x5410e8[_0x23134a(0x11d)]((_0x67bc6c,_0x256d38)=>{const _0x1c9f94=_0x23134a;_0x256d38[_0x1c9f94(0x23d)]||_0x15e3d8[_0x1c9f94(0x100)](new Promise((_0x5ec5bd,_0x5a2dd5)=>{const _0x4d907d=_0x1c9f94;fe(_0x256d38,_0x67bc6c)[_0x4d907d(0x236)](_0xfd289b=>{const _0x1119a8=_0x4d907d;_0x4279b0[_0x1119a8(0x11b)](_0x67bc6c,_0xfd289b),_0x5ec5bd();})['catch'](_0x5a2dd5);}));}),await Promise[_0x23134a(0x147)](_0x15e3d8),_0x4279b0;},ge=async _0x2673b0=>{const _0x592b19=_0x11810c;if(_0x2673b0){let _0x5df0e5=await Ae(_0x2673b0['slice']()),_0x22d945=/\.ged$/;for(let _0x47391c of _0x5df0e5['keys']())if(_0x22d945[_0x592b19(0x239)](_0x47391c))return await Q(_0x5df0e5[_0x592b19(0x18a)](_0x47391c),_0x5df0e5);throw new Error(_0x592b19(0x1b7));}throw new Error(_0x592b19(0x186));};function Me(_0x47a79b,_0x5ecc47){const _0x86b778=_0x11810c;let _0x375e54=_0x86b778(0x1e8)+encodeURIComponent(_0x47a79b)+_0x86b778(0x114),_0x6b3955=new XMLHttpRequest();_0x6b3955['open'](_0x86b778(0x22c),_0x375e54,!0x0),_0x6b3955['onload']=function(){const _0x216f50=_0x86b778;if(_0x6b3955['status']>=0xc8&&_0x6b3955[_0x216f50(0x158)]<0x190){let _0x4a6754=JSON['parse'](_0x6b3955['responseText'])['map'](_0xfded9=>{const _0xb35a71=_0x216f50;let {display_name:_0x41e255,lat:_0x4c5eac,lon:_0x169d64}=_0xfded9,_0x2bd399=_0x41e255[_0xb35a71(0x109)](',\x20'),_0x59cf86=_0x2bd399[0x0]+',\x20'+_0x2bd399[_0x2bd399[_0xb35a71(0x1eb)]-0x2]+',\x20'+_0x2bd399[_0x2bd399['length']-0x1];return new F(_0x59cf86,new N(_0x4c5eac,_0x169d64));});_0x5ecc47(_0x4a6754);}else _0x5ecc47([]);},_0x6b3955['onerror']=function(){_0x5ecc47([]);},_0x6b3955[_0x86b778(0x215)]();}var ee=(_0x2de4ac,_0x4c2e49,_0x287b62,_0x3fb1f1)=>{const _0x2a1746=_0x11810c;if(_0x3fb1f1=_0x3fb1f1??new Map(),_0x287b62=_0x287b62??0x1,_0x3fb1f1[_0x2a1746(0x11b)](_0x2de4ac[_0x2a1746(0x157)],_0x287b62),_0x4c2e49['has'](_0x2de4ac['FAMC'])){let _0x3da594=_0x4c2e49[_0x2a1746(0x18a)](_0x2de4ac[_0x2a1746(0x1ff)]);_0x3da594?.[_0x2a1746(0x1eb)]>0x1&&(_0x3da594=[..._0x3da594][_0x2a1746(0x20b)]((_0x56a938,_0x4a92a0)=>_0x56a938[_0x2a1746(0x1bb)]&&_0x4a92a0[_0x2a1746(0x1bb)]?_0x4a92a0['SEX'][_0x2a1746(0x1ab)](_0x56a938[_0x2a1746(0x1bb)]):0x0)),_0x3da594['forEach'](_0x2849f7=>{const _0x49d8c9=_0x2a1746;_0x2849f7['SEX']&&(_0x3fb1f1=ee(_0x2849f7,_0x4c2e49,_0x287b62*0x2+(_0x2849f7[_0x49d8c9(0x1bb)]==='M'?0x0:0x1),_0x3fb1f1));});}return _0x3fb1f1;},Fe=(_0x586293,_0xbd9153)=>{const _0xf72d95=_0x11810c;let _0x489c8e=[_0xf72d95(0x223),_0xf72d95(0x1a2)],_0x4d5989=[..._0x586293[_0xf72d95(0x19d)]][_0xf72d95(0xfc)](_0x515639=>_0x515639['type']);return _0x489c8e=[..._0x489c8e]['filter'](_0x50abc7=>!_0x4d5989['includes'](_0x50abc7)),_0x489c8e['push'](_0xf72d95(0x22a)),_0xbd9153&&([..._0x489c8e][_0xf72d95(0x1ee)](_0xbd9153['type'])||_0x489c8e['push'](_0xbd9153[_0xf72d95(0x164)])),_0x489c8e;},O=class extends M{constructor(_0x1abd26){super(),a(this,'year'),this['year']=_0x1abd26;}},z=class{constructor(_0x558e0e){const _0x4c8adb=_0x11810c;a(this,_0x4c8adb(0x1b1),[]),(this[_0x4c8adb(0x1b1)]=[..._0x558e0e]['reduce']((_0x1849d7,_0x4cf8c4)=>{const _0x39c6fc=_0x4c8adb;let _0x5d57d1,{dateAct:_0x5b561b,INDIS:_0x1bda6c}=_0x4cf8c4;if(_0x5b561b?.[_0x39c6fc(0x241)]){let _0x5438e2=Number(_0x5b561b[_0x39c6fc(0x241)]),_0x57333e=_0x1849d7[_0x39c6fc(0x148)](_0x210559=>_0x210559?.['year']===_0x5438e2);_0x57333e>=0x0?(_0x5d57d1=_0x1849d7[_0x57333e],_0x5d57d1['list'][_0x39c6fc(0x206)](_0x526c0c=>_0x526c0c[_0x39c6fc(0x193)]['find'](_0x5a2391=>_0x1bda6c[_0x39c6fc(0x1ee)](_0x5a2391)))||(_0x5d57d1[_0x39c6fc(0x19f)](_0x4cf8c4),_0x1849d7[_0x57333e]=_0x5d57d1)):(_0x5d57d1=new O(_0x5438e2),_0x5d57d1[_0x39c6fc(0x19f)](_0x4cf8c4),_0x1849d7['push'](_0x5d57d1));}return _0x1849d7;},[]),this[_0x4c8adb(0x1d9)]());}[_0x11810c(0x1d9)](){const _0x9bead1=_0x11810c;this[_0x9bead1(0x1b1)]=[...this['events']][_0x9bead1(0x20b)]((_0x2e9734,_0x165415)=>_0x2e9734['year']-_0x165415[_0x9bead1(0x241)]);}};function _0x28be(){const _0xe5af24=['byteLength','AUTH','notes','getFamc','INDIS','createMultimediaFilesFromValue','3730UWPmPH','JAN','zipFile','parsePersonLine','0\x20@F','@\x20FAM\x0a','resolvePersonIndi','async','list','4155291anhUYg','add','MARS','RELI','DEAT','CHRA','setInformationFamilies','16bpRFiQ','NMR','createObjectURL','WIFE','download','TEXT','localeCompare','RETI','826sqgZzK','RELA','ORDI','NSFX','events','1\x20BIRT','ingestGedcomFileStream','AUG','1\x20DEAT','DIV','You\x20don\x27t\x20have\x20any\x20.ged\x20File\x20in\x20your\x20.gdz\x20File','ADOP','mapFiles','loadAsync','SEX','GEDC','NATI','longitude','createSexFromValue','getFileLines','SEP','application/zip','getName','TRLR','STAE','keysFiles','firstnames','mediaRelativePathsInUse','310jkYbmu','CHAR','COPR','FAMS','line','replace','ANCE','city','PUBL','PAGE','latitude','informationPersons','CHIL','ANUL','EMIG','extractActsInfo','sortByYear','number','8bjrAYI','CORP','TIME','FAM','contentGedcom','dateAct','QUAY','pipeThrough','SURN','FILE','updatePlace','getDate','GIVN','https://nominatim.openstreetmap.org/search.php?city=','1\x20FAMC\x20@F','1\x20NAME','length','DEFLATE','CAUS','includes','APR','ORDN','fr-FR','resolveZipPath','CTRY','REPO','JUN','ENDL','lastname','removeFromIndex','partnersMap','isValid','DESI','TYPE','PHON','4\x20LATI\x20','FAMC','read','1\x20WIFE','MAY','onCreate','OCT','createIndiFromZeroLine','find','groupPartners','EVEN','keys','EDUC','sort','IDNO','fromGedcomFile','FILES','CITY','zip','RESN','getPlace','MARC','trimStart','send','ADDR','SLGS','href','21570BgjJFa','title','AFN','exec','sosa','updateLines','updateDateAct','sortByDate','informationNotes','informationFamilies','BIRT','ALIA','GRAD','DSCR','addCity','PLAC','SUBM','MARR','childsMap','GET','date','STAT','CALN','CENS','function','convertToActs','shift','1\x20CHAR\x20UTF-8','persons','then','addCoordinates','NOTES','test','getFile','BLES','ROLE','dir','month','MEDI','SSN','year','slice','addNoteFromGedcom','assign','RESI','createPersonJson','filter','8540ZZxeyZ','ANCI','CONL','LATI','map','day','4763ZXZWab','media/events/','push','JUL','typeDateAct','NICK','application/x-gedcom','getFams','HUSB','0\x20@I','OCCU','split','revokeObjectURL','haveParentsOfPerson','ADDR1','has','extractXrefId','TEMP','splitInformationNotes','formatDate','SUBN','CONF','&polygon_geojson=1&format=jsonv2','DATA','addIndis','DEST','NATU','IMMI','NCHI','set','indexOf','forEach','multimediaFiles','CONC','removeLines','2\x20DATE\x20','file','endsWith','RIN','NPFX','RFN','trim','placesMap','CHR','SPFX','getType','ACTS','2\x20FILE\x20','join','filename','FEB','ownerIndi','CAST','MARB','addMultimedia','createFirstnamesAndLastnameJson','FAMF','BLOB','PLACE','string','PROP','lines','1\x20HUSB','PEDI','gedcom-ts_','relativePath','40018440gdcned','addNote','PROB','ingestGedcomText','beginGedcom','MAR','AGE','all','findIndex','removeAll','HEAD','TITL','BARM','Impossible\x20de\x20trouver\x20un\x20nom\x20de\x20fichier\x20média\x20disponible','6566706fmxsFY','mapPersons','place','splice','acts','tag','289882DExkbc','stream','1\x20FILE\x20','INDI','status','newMultimediaFiles','gedcomBlob','name','CREM','NAME','files','SLGC','Le\x20type\x20doit-être\x20au\x20format:\x20application/x-gedcom','convertMonth','ingestRecordBlock','now','type','updateFromIndex','inconnue','POST','resolveActIndis','NOTE','from','DESC','BEF','values','LANG','.zip','buffer','ASSO','FCOM','BAPM','.ged','generateAsync','haveFiles','2\x20TIME\x20','NOV','MARL','updateType','getSex','DATE','CONT','BASM','coordinate','size','2-digit','1\x20DATE\x20','startsWith','VERS','BURI','Le\x20fichier\x20envoyé\x20doit-etre\x20un\x20File','LONG','SOUR','value','get','uint8array','ENGA','ABT','collectMediaFiles'];_0x28be=function(){return _0xe5af24;};return _0x28be();}export{$ as Act,M as Acts,O as ActsByYear,N as CoordinateGPS,S as DateAct,z as EventsByYears,J as ExportGedcomFile,X as ExportGedzipFile,P as Identificator,E as MultimediaFile,g as MultimediaFiles,v as Note,b as Notes,R as Person,F as Place,x as ReadGed,D as Sex,ee as createSosaMap,oe as dateToDateLine,G as days,Me as getCityCoordinates,de as importGedFile,U as months,Fe as remainingTypesAct};
|
|
1
|
+
const _0x4a7418=_0x3bd6;(function(_0x5c3ac3,_0x15dee3){const _0x3979c4=_0x3bd6,_0x364fc3=_0x5c3ac3();while(!![]){try{const _0x439cd6=parseInt(_0x3979c4(0x212))/0x1*(parseInt(_0x3979c4(0x191))/0x2)+-parseInt(_0x3979c4(0x173))/0x3*(parseInt(_0x3979c4(0x111))/0x4)+parseInt(_0x3979c4(0x13e))/0x5*(-parseInt(_0x3979c4(0x21f))/0x6)+parseInt(_0x3979c4(0x1aa))/0x7*(-parseInt(_0x3979c4(0x126))/0x8)+parseInt(_0x3979c4(0x1ec))/0x9*(-parseInt(_0x3979c4(0x14a))/0xa)+parseInt(_0x3979c4(0x211))/0xb+-parseInt(_0x3979c4(0xd3))/0xc*(parseInt(_0x3979c4(0x1c0))/0xd);if(_0x439cd6===_0x15dee3)break;else _0x364fc3['push'](_0x364fc3['shift']());}catch(_0x2c5619){_0x364fc3['push'](_0x364fc3['shift']());}}}(_0x33ab,0x76a49));var dt=Object[_0x4a7418(0x1b4)],ft=(_0x181bce,_0x4dfce8,_0x5c707c)=>_0x4dfce8 in _0x181bce?dt(_0x181bce,_0x4dfce8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c707c}):_0x181bce[_0x4dfce8]=_0x5c707c,l=(_0x3a60b6,_0x55ec3f,_0x183993)=>ft(_0x3a60b6,typeof _0x55ec3f!='symbol'?_0x55ec3f+'':_0x55ec3f,_0x183993),g=(_0x398e8f=>(_0x398e8f['ABBR']='ABBR',_0x398e8f[_0x4a7418(0x12e)]=_0x4a7418(0x12e),_0x398e8f[_0x4a7418(0x11e)]=_0x4a7418(0x11e),_0x398e8f[_0x4a7418(0xd8)]='ADR2',_0x398e8f[_0x4a7418(0x1fa)]='ADOP',_0x398e8f['AFN']=_0x4a7418(0x102),_0x398e8f[_0x4a7418(0x140)]='AGE',_0x398e8f[_0x4a7418(0x112)]='AGNC',_0x398e8f[_0x4a7418(0x18d)]=_0x4a7418(0x18d),_0x398e8f[_0x4a7418(0x168)]=_0x4a7418(0x168),_0x398e8f['ANCI']=_0x4a7418(0xcd),_0x398e8f['ANUL']=_0x4a7418(0x135),_0x398e8f[_0x4a7418(0x1e6)]=_0x4a7418(0x1e6),_0x398e8f[_0x4a7418(0xd7)]='AUTH',_0x398e8f['BAPL']='BAPL',_0x398e8f[_0x4a7418(0x1ff)]='BAPM',_0x398e8f[_0x4a7418(0x187)]='BARM',_0x398e8f[_0x4a7418(0x14e)]='BASM',_0x398e8f[_0x4a7418(0xe6)]=_0x4a7418(0xe6),_0x398e8f['BLES']=_0x4a7418(0x21c),_0x398e8f[_0x4a7418(0x1fb)]=_0x4a7418(0x1fb),_0x398e8f[_0x4a7418(0x1b3)]='BURI',_0x398e8f['CALN']='CALN',_0x398e8f[_0x4a7418(0x139)]='CAST',_0x398e8f[_0x4a7418(0x148)]=_0x4a7418(0x148),_0x398e8f['CENS']=_0x4a7418(0xe7),_0x398e8f[_0x4a7418(0xe8)]=_0x4a7418(0xe8),_0x398e8f[_0x4a7418(0x178)]=_0x4a7418(0x178),_0x398e8f[_0x4a7418(0x1f7)]='CHIL',_0x398e8f[_0x4a7418(0x1f4)]='CHR',_0x398e8f['CHRA']='CHRA',_0x398e8f[_0x4a7418(0x180)]=_0x4a7418(0x180),_0x398e8f['CONC']=_0x4a7418(0x176),_0x398e8f['CONF']=_0x4a7418(0xea),_0x398e8f['CONL']=_0x4a7418(0x1bf),_0x398e8f[_0x4a7418(0x1d8)]=_0x4a7418(0x1d8),_0x398e8f[_0x4a7418(0xde)]='COPR',_0x398e8f[_0x4a7418(0x1cc)]=_0x4a7418(0x1cc),_0x398e8f['CREM']=_0x4a7418(0x1ac),_0x398e8f[_0x4a7418(0x11c)]='CTRY',_0x398e8f[_0x4a7418(0x1de)]='DATA',_0x398e8f[_0x4a7418(0x19d)]=_0x4a7418(0x19d),_0x398e8f[_0x4a7418(0x1b7)]=_0x4a7418(0x1b7),_0x398e8f['DESC']=_0x4a7418(0x132),_0x398e8f[_0x4a7418(0x1ca)]='DESI',_0x398e8f[_0x4a7418(0xfa)]=_0x4a7418(0xfa),_0x398e8f[_0x4a7418(0x1ef)]=_0x4a7418(0x1ef),_0x398e8f[_0x4a7418(0x108)]='DIVF',_0x398e8f[_0x4a7418(0x16b)]='DSCR',_0x398e8f[_0x4a7418(0x13d)]=_0x4a7418(0x13d),_0x398e8f['EMIG']=_0x4a7418(0x1b8),_0x398e8f[_0x4a7418(0x1e3)]=_0x4a7418(0x1e3),_0x398e8f[_0x4a7418(0x1a9)]=_0x4a7418(0x1a9),_0x398e8f[_0x4a7418(0x196)]=_0x4a7418(0x196),_0x398e8f[_0x4a7418(0x174)]=_0x4a7418(0x174),_0x398e8f[_0x4a7418(0x1f6)]=_0x4a7418(0x1f6),_0x398e8f['FAMF']='FAMF',_0x398e8f['FAMS']='FAMS',_0x398e8f['FCOM']=_0x4a7418(0x20b),_0x398e8f['FILE']='FILE',_0x398e8f['FORM']=_0x4a7418(0xef),_0x398e8f['GEDC']=_0x4a7418(0x13a),_0x398e8f[_0x4a7418(0x172)]=_0x4a7418(0x172),_0x398e8f['GRAD']='GRAD',_0x398e8f[_0x4a7418(0x115)]='HEAD',_0x398e8f['HUSB']='HUSB',_0x398e8f['IDNO']=_0x4a7418(0xe9),_0x398e8f[_0x4a7418(0x1e7)]=_0x4a7418(0x1e7),_0x398e8f['INDI']='INDI',_0x398e8f['LANG']='LANG',_0x398e8f['LEGA']=_0x4a7418(0x1b5),_0x398e8f['MARB']='MARB',_0x398e8f['MARC']='MARC',_0x398e8f['MARL']=_0x4a7418(0x1b0),_0x398e8f[_0x4a7418(0x1b1)]=_0x4a7418(0x1b1),_0x398e8f['MARS']=_0x4a7418(0x1db),_0x398e8f['MEDI']=_0x4a7418(0x20e),_0x398e8f['NAME']='NAME',_0x398e8f['NATI']='NATI',_0x398e8f['NATU']=_0x4a7418(0x19e),_0x398e8f[_0x4a7418(0x185)]='NCHI',_0x398e8f['NICK']='NICK',_0x398e8f['NMR']=_0x4a7418(0x19b),_0x398e8f['NOTE']=_0x4a7418(0x151),_0x398e8f[_0x4a7418(0x1c7)]='NPFX',_0x398e8f[_0x4a7418(0x1cb)]='NSFX',_0x398e8f[_0x4a7418(0x121)]='OBJE',_0x398e8f[_0x4a7418(0x15a)]=_0x4a7418(0x15a),_0x398e8f['ORDI']=_0x4a7418(0xd6),_0x398e8f['ORDN']=_0x4a7418(0x162),_0x398e8f['PAGE']='PAGE',_0x398e8f[_0x4a7418(0xf4)]=_0x4a7418(0xf4),_0x398e8f['PHON']=_0x4a7418(0x1eb),_0x398e8f[_0x4a7418(0x209)]=_0x4a7418(0x209),_0x398e8f['POST']='POST',_0x398e8f['PROB']=_0x4a7418(0x175),_0x398e8f[_0x4a7418(0x1f9)]=_0x4a7418(0x1f9),_0x398e8f['PUBL']='PUBL',_0x398e8f[_0x4a7418(0x1f5)]='QUAY',_0x398e8f['REFN']='REFN',_0x398e8f[_0x4a7418(0xed)]='RELA',_0x398e8f['RELI']=_0x4a7418(0x128),_0x398e8f[_0x4a7418(0x17a)]=_0x4a7418(0x17a),_0x398e8f[_0x4a7418(0x1c3)]='RESI',_0x398e8f[_0x4a7418(0xce)]=_0x4a7418(0xce),_0x398e8f[_0x4a7418(0x11b)]=_0x4a7418(0x11b),_0x398e8f[_0x4a7418(0x166)]=_0x4a7418(0x166),_0x398e8f['RIN']=_0x4a7418(0x16d),_0x398e8f['ROLE']='ROLE',_0x398e8f[_0x4a7418(0x1af)]=_0x4a7418(0x1af),_0x398e8f['SLGC']=_0x4a7418(0x195),_0x398e8f['SLGS']=_0x4a7418(0x224),_0x398e8f[_0x4a7418(0x130)]=_0x4a7418(0x130),_0x398e8f[_0x4a7418(0x131)]=_0x4a7418(0x131),_0x398e8f[_0x4a7418(0x125)]='SSN',_0x398e8f['STAE']=_0x4a7418(0x155),_0x398e8f[_0x4a7418(0x1c4)]=_0x4a7418(0x1c4),_0x398e8f[_0x4a7418(0x170)]=_0x4a7418(0x170),_0x398e8f[_0x4a7418(0x1e8)]='SUBN',_0x398e8f[_0x4a7418(0x123)]=_0x4a7418(0x123),_0x398e8f[_0x4a7418(0x1ba)]=_0x4a7418(0x1ba),_0x398e8f[_0x4a7418(0x163)]='TEXT',_0x398e8f['TIME']='TIME',_0x398e8f['TITL']=_0x4a7418(0x1c8),_0x398e8f[_0x4a7418(0x1b2)]=_0x4a7418(0x1b2),_0x398e8f['TYPE']=_0x4a7418(0x22e),_0x398e8f[_0x4a7418(0x150)]=_0x4a7418(0x150),_0x398e8f['WIFE']=_0x4a7418(0x189),_0x398e8f['WILL']='WILL',_0x398e8f))(g||{}),H=[0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f],$=['JAN','FEB',_0x4a7418(0x215),'APR',_0x4a7418(0x15c),'JUN',_0x4a7418(0x1c5),'AUG','SEP',_0x4a7418(0x15f),_0x4a7418(0x14b),_0x4a7418(0xe4)],At={0x1:_0x4a7418(0x1e9),0x2:_0x4a7418(0x1e5),0x3:_0x4a7418(0x215),0x4:'APR',0x5:'MAY',0x6:_0x4a7418(0x216),0x7:_0x4a7418(0x1c5),0x8:'AUG',0x9:'SEP',0xa:_0x4a7418(0x15f),0xb:'NOV',0xc:'DEC'},T=class{constructor(_0x1d8018){const _0x39b3f9=_0x4a7418;l(this,_0x39b3f9(0x204)),l(this,'day',null),l(this,_0x39b3f9(0x1fd),null),l(this,_0x39b3f9(0x20c)),l(this,_0x39b3f9(0x16a),null),l(this,'endMonth',null),l(this,_0x39b3f9(0xfb));let _0x4a5639=_0x1d8018?.['trim']();if(!_0x4a5639||_0x4a5639===_0x39b3f9(0xdb)||this[_0x39b3f9(0xff)](_0x4a5639))return;let _0x128bb5=_0x4a5639['split'](/\s+/);switch(_0x128bb5[_0x39b3f9(0x1a8)]){case 0x1:this['parseSinglePart'](_0x128bb5[0x0]);break;case 0x2:this[_0x39b3f9(0x221)](_0x128bb5[0x0],_0x128bb5[0x1]);break;case 0x3:this['parseThreeParts'](_0x128bb5[0x0],_0x128bb5[0x1],_0x128bb5[0x2]);break;case 0x4:this['parseFourParts'](_0x128bb5[0x0],_0x128bb5[0x1],_0x128bb5[0x2],_0x128bb5[0x3]);break;default:break;}}get[_0x4a7418(0x164)](){const _0x2ed808=_0x4a7418;if(!this['year'])return null;if(this[_0x2ed808(0x204)]===_0x2ed808(0x1e4)&&this[_0x2ed808(0xfb)]){let _0x3a9379=this['formatCoreDate'](this[_0x2ed808(0x171)],this[_0x2ed808(0x1fd)],this['year']),_0x3747a9=this[_0x2ed808(0x194)](this['endDay'],this['endMonth'],this[_0x2ed808(0xfb)]);return _0x2ed808(0x10a)+_0x3a9379+_0x2ed808(0x207)+_0x3747a9;}if(this[_0x2ed808(0x204)]===_0x2ed808(0x149)&&this['endYear']){let _0xe48f6c=this['formatCoreDate'](this[_0x2ed808(0x171)],this['month'],this[_0x2ed808(0x20c)]),_0x41b3d5=this[_0x2ed808(0x194)](this[_0x2ed808(0x16a)],this[_0x2ed808(0x136)],this[_0x2ed808(0xfb)]);return'FROM\x20'+_0xe48f6c+_0x2ed808(0x14c)+_0x41b3d5;}let _0x23533c=this['month']?this[_0x2ed808(0x171)]?this[_0x2ed808(0x171)]+'\x20'+this[_0x2ed808(0x1fd)]+'\x20'+this['year']:this['month']+'\x20'+this['year']:''+this[_0x2ed808(0x20c)];return this['typeDateAct']?this['typeDateAct']+'\x20'+_0x23533c:_0x23533c;}[_0x4a7418(0x10b)](_0x272a6b,_0x43828f,_0x27e0e5){const _0xc2364b=_0x4a7418;this['clearDate'](),this[_0xc2364b(0x20c)]=_0x272a6b,this[_0xc2364b(0x1fd)]=_0x43828f??null,this[_0xc2364b(0x171)]=_0x27e0e5??null;}[_0x4a7418(0x220)](_0x4c6186,_0x5879cd,_0x411747,_0x19a685){const _0x218322=_0x4a7418;this[_0x218322(0x154)](),this['typeDateAct']=_0x4c6186,this[_0x218322(0x20c)]=_0x5879cd,this[_0x218322(0x1fd)]=_0x411747??null,this[_0x218322(0x171)]=_0x19a685??null;}[_0x4a7418(0x182)](_0xaa134f,_0xaf33b3){const _0x42689d=_0x4a7418;this['clearDate'](),this['typeDateAct']=_0x42689d(0x1e4),this[_0x42689d(0x20c)]=_0xaa134f[_0x42689d(0x20c)],this[_0x42689d(0x1fd)]=_0xaa134f[_0x42689d(0x1fd)]??null,this['day']=_0xaa134f['day']??null,this[_0x42689d(0xfb)]=_0xaf33b3['year'],this[_0x42689d(0x136)]=_0xaf33b3[_0x42689d(0x1fd)]??null,this[_0x42689d(0x16a)]=_0xaf33b3['day']??null;}[_0x4a7418(0x1e1)](_0x574a75,_0x4e6e8e){const _0x4fe83d=_0x4a7418;this['clearDate'](),this[_0x4fe83d(0x204)]='FROM',this['year']=_0x574a75[_0x4fe83d(0x20c)],this[_0x4fe83d(0x1fd)]=_0x574a75['month']??null,this['day']=_0x574a75[_0x4fe83d(0x171)]??null,this['endYear']=_0x4e6e8e[_0x4fe83d(0x20c)],this['endMonth']=_0x4e6e8e['month']??null,this[_0x4fe83d(0x16a)]=_0x4e6e8e['day']??null;}[_0x4a7418(0x154)](){const _0x481ba7=_0x4a7418;this[_0x481ba7(0x204)]=void 0x0,this[_0x481ba7(0x171)]=null,this[_0x481ba7(0x1fd)]=null,this[_0x481ba7(0x20c)]=void 0x0,this['endDay']=null,this['endMonth']=null,this[_0x481ba7(0xfb)]=void 0x0;}[_0x4a7418(0xe3)](_0x4548e3){return At[_0x4548e3]??null;}['parseSinglePart'](_0x2c3d9e){const _0x5d2863=_0x4a7418;if(_0x2c3d9e[_0x5d2863(0xfc)]('/')){this['assignMonthYearFromSlash'](_0x2c3d9e);return;}this[_0x5d2863(0x1fd)]=null,this['year']=Number(_0x2c3d9e);}[_0x4a7418(0x221)](_0x4d3a39,_0x3c44f7){const _0x513e4f=_0x4a7418;if(this['isRelativeType'](_0x4d3a39)){if(this[_0x513e4f(0x204)]=_0x4d3a39,_0x3c44f7[_0x513e4f(0xfc)]('/')){this['assignMonthYearFromSlash'](_0x3c44f7);return;}this[_0x513e4f(0x1fd)]=null,this[_0x513e4f(0x20c)]=Number(_0x3c44f7);return;}if(_0x4d3a39['includes']('/')){this[_0x513e4f(0x19c)](_0x4d3a39);return;}this[_0x513e4f(0x1fd)]=this['parseMonthToken'](_0x4d3a39),this[_0x513e4f(0x20c)]=Number(_0x3c44f7);}[_0x4a7418(0x153)](_0x54882c,_0x21e4ea,_0x2ed46d){const _0x2e77dc=_0x4a7418;if(this[_0x2e77dc(0x143)](_0x54882c)){this['typeDateAct']=_0x54882c,this[_0x2e77dc(0x1fd)]=this['parseMonthToken'](_0x21e4ea),this['year']=Number(_0x2ed46d);return;}if(_0x21e4ea['includes']('/')){this[_0x2e77dc(0x19c)](_0x21e4ea);return;}let _0x22cc75=Number(_0x54882c);this[_0x2e77dc(0x171)]=_0x22cc75>=0x1&&_0x22cc75<=0x1f?_0x22cc75:null,this[_0x2e77dc(0x1fd)]=this['parseMonthToken'](_0x21e4ea),this[_0x2e77dc(0x20c)]=Number(_0x2ed46d);}['parseFourParts'](_0x387399,_0x2db37e,_0x157c76,_0x1893b9){const _0x33be1a=_0x4a7418;if(!this['isRelativeType'](_0x387399))return;this['typeDateAct']=_0x387399;let _0x5e87a7=Number(_0x2db37e);this['day']=_0x5e87a7>=0x1&&_0x5e87a7<=0x1f?_0x5e87a7:null,this[_0x33be1a(0x1fd)]=this[_0x33be1a(0x138)](_0x157c76),this[_0x33be1a(0x20c)]=Number(_0x1893b9);}[_0x4a7418(0x19c)](_0x4dac35){const _0x46ece6=_0x4a7418;let [_0x33d930,_0xed201e]=_0x4dac35['split']('/');this[_0x46ece6(0x1fd)]=this[_0x46ece6(0xe3)](_0x33d930),this[_0x46ece6(0x20c)]=Number(_0xed201e);}['parseMonthToken'](_0x2d21e2){return $['includes'](_0x2d21e2)?_0x2d21e2:null;}[_0x4a7418(0x194)](_0x54cef2,_0xa5dc5b,_0x45eea8){return _0x45eea8?_0xa5dc5b?_0x54cef2?_0x54cef2+'\x20'+_0xa5dc5b+'\x20'+_0x45eea8:_0xa5dc5b+'\x20'+_0x45eea8:''+_0x45eea8:'';}[_0x4a7418(0xff)](_0x429dfc){const _0x28b591=_0x4a7418;let _0x378482=/^BET\s+(.+)\s+AND\s+(.+)$/[_0x28b591(0x18c)](_0x429dfc);if(_0x378482?.[0x1]&&_0x378482?.[0x2]){let _0x4a2bc3=this['parseCoreDateValue'](_0x378482[0x1]),_0x2e091f=this['parseCoreDateValue'](_0x378482[0x2]);return!_0x4a2bc3||!_0x2e091f?!0x1:(this[_0x28b591(0x182)](_0x4a2bc3,_0x2e091f),!0x0);}let _0x6c70b2=/^FROM\s+(.+)\s+TO\s+(.+)$/['exec'](_0x429dfc);if(_0x6c70b2?.[0x1]&&_0x6c70b2?.[0x2]){let _0x5171f0=this[_0x28b591(0x19f)](_0x6c70b2[0x1]),_0x251723=this[_0x28b591(0x19f)](_0x6c70b2[0x2]);return!_0x5171f0||!_0x251723?!0x1:(this[_0x28b591(0x1e1)](_0x5171f0,_0x251723),!0x0);}return!0x1;}[_0x4a7418(0x19f)](_0x1bf323){const _0x34f6d2=_0x4a7418;let _0x43d90f=_0x1bf323['trim']()[_0x34f6d2(0x1f8)](/\s+/);if(_0x43d90f[_0x34f6d2(0x1a8)]===0x1){let _0x5e3c77=Number(_0x43d90f[0x0]);return Number['isFinite'](_0x5e3c77)?{'year':_0x5e3c77}:null;}if(_0x43d90f[_0x34f6d2(0x1a8)]===0x2){if(_0x43d90f[0x0]['includes']('/')){let [_0x136220,_0x295517]=_0x43d90f[0x0][_0x34f6d2(0x1f8)]('/'),_0x2f5739=Number(_0x295517);return Number[_0x34f6d2(0x11d)](_0x2f5739)?{'year':_0x2f5739,'month':this[_0x34f6d2(0xe3)](_0x136220)}:null;}let _0x137217=this[_0x34f6d2(0x138)](_0x43d90f[0x0]),_0x13ae0e=Number(_0x43d90f[0x1]);return Number['isFinite'](_0x13ae0e)?{'year':_0x13ae0e,'month':_0x137217}:null;}if(_0x43d90f[_0x34f6d2(0x1a8)]===0x3){let _0x3741f6=Number(_0x43d90f[0x0]),_0x5325d4=this[_0x34f6d2(0x138)](_0x43d90f[0x1]),_0x2dc9de=Number(_0x43d90f[0x2]);return Number['isFinite'](_0x2dc9de)?{'year':_0x2dc9de,'month':_0x5325d4,'day':_0x3741f6>=0x1&&_0x3741f6<=0x1f?_0x3741f6:null}:null;}return null;}['isRelativeType'](_0xb63dc1){return _0xb63dc1==='BEF'||_0xb63dc1==='ABT'||_0xb63dc1==='AFT';}[_0x4a7418(0xe0)](){const _0x1190a9=_0x4a7418;let _0x5af34a=new Date()[_0x1190a9(0x200)]();if(this['year']&&(this[_0x1190a9(0x20c)]<0x0||this[_0x1190a9(0x20c)]>_0x5af34a))return!0x1;if(this[_0x1190a9(0x20c)]&&!this[_0x1190a9(0x1fd)]&&!this['day'])return!0x0;if(this['month']&&!$['includes'](this[_0x1190a9(0x1fd)]))return!0x1;if(this[_0x1190a9(0x20c)]&&this[_0x1190a9(0x1fd)]&&!this[_0x1190a9(0x171)])return!0x0;if(this[_0x1190a9(0x171)]){let _0x3f68c2=this[_0x1190a9(0x20c)]%0x4===0x0&&this[_0x1190a9(0x20c)]%0x64!==0x0||this['year']%0x190===0x0,_0x4ae434;if(this['month']===_0x1190a9(0x1e5)&&_0x3f68c2)_0x4ae434=0x1d;else{let _0x36581c=$['findIndex'](_0x2aa8fa=>_0x2aa8fa===this[_0x1190a9(0x1fd)]);_0x4ae434=H[_0x1190a9(0x12d)](_0x511e6d=>_0x511e6d<=new Date(this[_0x1190a9(0x20c)],_0x36581c,0x0)['getDate']())[_0x1190a9(0x1a8)];}return H[_0x1190a9(0xfc)](this[_0x1190a9(0x171)])&&this[_0x1190a9(0x171)]<=_0x4ae434;}return!0x1;}},gt=(_0x1e3da8,_0x468071,_0x58d546)=>_0x1e3da8?_0x468071?_0x58d546?_0x58d546+'\x20'+_0x468071+'\x20'+_0x1e3da8:_0x468071+'\x20'+_0x1e3da8:''+_0x1e3da8:'',E=class{constructor(_0x34590b,_0x5b3d64){const _0x5ba4f4=_0x4a7418;l(this,_0x5ba4f4(0x1ab),null),l(this,'coordinate'),(_0x34590b&&(this['city']=_0x34590b),this[_0x5ba4f4(0x1bb)]=_0x5b3d64??new v());}['addCity'](_0x53311e){const _0x2f5345=_0x4a7418;this[_0x2f5345(0x1ab)]=_0x53311e;}},v=class{constructor(_0x3e6443,_0x2eb696){const _0x147994=_0x4a7418;l(this,'latitude'),l(this,_0x147994(0x1d0)),(this[_0x147994(0xfe)]=_0x3e6443,this[_0x147994(0x1d0)]=_0x2eb696);}['addCoordinates']([_0x59856c,_0x19e7d8]){this['latitude']=_0x59856c,this['longitude']=_0x19e7d8;}},N=class{constructor(_0x2432e4){const _0x311569=_0x4a7418;l(this,'relativePath'),l(this,_0x311569(0xd1)),this[_0x311569(0xd1)]=_0x2432e4;}get['filename'](){return this['file']['name'];}},y=class{constructor(){const _0x4c0ce4=_0x4a7418;l(this,_0x4c0ce4(0x122)),l(this,_0x4c0ce4(0x114),[]);}[_0x4a7418(0xe2)](_0x26f2a7){const _0x33b3c1=_0x4a7418;let _0xfea81=_0x26f2a7[_0x33b3c1(0xd1)]?.['name']??'',_0x5cde64=(this[_0x33b3c1(0x122)]??'')[_0x33b3c1(0x1a4)](/\/+$/,'');_0x26f2a7['relativePath']=_0x5cde64?_0x5cde64+'/'+_0xfea81:_0xfea81,this[_0x33b3c1(0x114)][_0x33b3c1(0x203)](_0x26f2a7);}['removeFromIndex'](_0x4002af){const _0x1a0e84=_0x4a7418;let _0x23fff5=this['files']['findIndex']((_0x4104c2,_0x554e4c)=>_0x554e4c===_0x4002af);_0x23fff5>=0x0&&this['files'][_0x1a0e84(0x16c)](_0x23fff5,0x1);}['removeAll'](){const _0x1c8f4c=_0x4a7418;this[_0x1c8f4c(0x114)]=[];}},D=class{constructor(){const _0x322e8a=_0x4a7418;l(this,'INDIS',[]),l(this,_0x322e8a(0x218)),l(this,_0x322e8a(0x226));}['updateLines'](_0x2d54fb){_0x2d54fb?.['length']>0x0&&(this['lines']=_0x2d54fb);}['removeLines'](){const _0x1d772e=_0x4a7418;this[_0x1d772e(0x226)]=[];}['updateType'](_0x584f16){this['type']=_0x584f16;}['addIndis'](_0x1dc291){const _0x4c9a38=_0x4a7418;this[_0x4c9a38(0x205)]=_0x1dc291;}},P=class{constructor(){l(this,'list',[]);}[_0x4a7418(0x118)](_0x139b24){const _0x3d9920=_0x4a7418;this[_0x3d9920(0x117)][_0x3d9920(0x203)](_0x139b24);}['updateFromIndex'](_0xa6afed,_0x1c2da7){this['list'][_0x1c2da7]=_0xa6afed;}[_0x4a7418(0x21a)](_0x172cac){const _0x226a50=_0x4a7418;let _0x3d90a6=this['list']['findIndex']((_0x3595c0,_0x589208)=>_0x589208===_0x172cac);_0x3d90a6>=0x0&&this[_0x226a50(0x117)][_0x226a50(0x16c)](_0x3d90a6,0x1);}[_0x4a7418(0x1a3)](){const _0x4fccdf=_0x4a7418;this[_0x4fccdf(0x117)]=[];}};function M(_0x3e7b42){const _0x197d5d=_0x4a7418;let _0x4bf747=_0x3e7b42['trimStart'](),_0x5f2ef8=_0x4bf747['indexOf']('\x20');if(_0x5f2ef8<=0x0)return null;let _0xf3ed68=_0x4bf747[_0x197d5d(0x1fc)](0x0,_0x5f2ef8),_0x5382c5=_0x4bf747[_0x197d5d(0x1fc)](_0x5f2ef8+0x1)['trimStart'](),_0x321307=_0x5382c5['indexOf']('\x20');if(_0x321307<=0x0)return{'level':_0xf3ed68,'tag':_0x5382c5,'value':''};let _0x53fc1a=_0x5382c5[_0x197d5d(0x1fc)](0x0,_0x321307),_0x52db32=_0x5382c5['slice'](_0x321307+0x1);return{'level':_0xf3ed68,'tag':_0x53fc1a,'value':_0x52db32};}function yt(_0x4c14af){const _0x24ac37=_0x4a7418;let _0x234f60=_0x4c14af['lastIndexOf']('.');return _0x234f60<=0x0?{'stem':_0x4c14af,'ext':''}:{'stem':_0x4c14af[_0x24ac37(0x1fc)](0x0,_0x234f60),'ext':_0x4c14af[_0x24ac37(0x1fc)](_0x234f60)};}function Mt(_0x2b4195,_0x116a3d,_0x3bebb1){return _0x3bebb1===0x0?''+_0x2b4195+_0x116a3d:_0x2b4195+'_'+_0x3bebb1+_0x116a3d;}function L(_0x58b127,_0x42ed10,_0x2fd698){const _0x38746a=_0x4a7418;let _0x53ec4b=new Set(_0x2fd698),_0x1b3b73=_0x58b127['replace'](/\/+$/,''),_0x1af30f=_0x42ed10[_0x38746a(0x1a4)](/^[/\\]+|[/\\]+/g,''),{stem:_0x55d5d1,ext:_0x744d18}=yt(_0x1af30f),_0xe8fbdd=0x2710;for(let _0xf879fe=0x0;_0xf879fe<_0xe8fbdd;_0xf879fe++){let _0x4b67bb=Mt(_0x55d5d1,_0x744d18,_0xf879fe),_0x22c69c=_0x1b3b73?_0x1b3b73+'/'+_0x4b67bb:_0x4b67bb;if(!_0x53ec4b[_0x38746a(0x14f)](_0x22c69c))return _0x22c69c;}throw new Error(_0x38746a(0x159));}function w(_0x198989,_0x4f8728){const _0x598e78=_0x4a7418;return[..._0x198989,..._0x4f8728[_0x598e78(0x1c2)](_0x4efa32=>_0x4efa32[_0x598e78(0x122)])[_0x598e78(0x12d)](_0xe7bec8=>!!_0xe7bec8)];}function O(_0x46fc78,_0x5aade7){const _0x2a6c44=_0x4a7418;let _0x266396=_0x46fc78[_0x2a6c44(0x208)](),_0x168064=new RegExp('^@'+_0x5aade7+_0x2a6c44(0x1f3))['exec'](_0x266396);return _0x168064?.[0x1]?Number(_0x168064[0x1]):null;}function tt(_0x28b1a8,_0x3af584,_0x54574){const _0x29e17f=_0x4a7418;let _0x167cc8='@'+_0x3af584,_0x1b7eb5=_0x28b1a8[_0x29e17f(0x13f)](_0x167cc8);if(_0x1b7eb5<0x0)return null;let _0x2df921=_0x28b1a8['indexOf']('@',_0x1b7eb5+_0x167cc8[_0x29e17f(0x1a8)]);if(_0x2df921<=_0x1b7eb5||!_0x28b1a8[_0x29e17f(0xfc)](_0x54574,_0x2df921))return null;let _0x576ecb=_0x28b1a8[_0x29e17f(0x1fc)](_0x1b7eb5+_0x167cc8[_0x29e17f(0x1a8)],_0x2df921);return/^\d+$/[_0x29e17f(0x10f)](_0x576ecb)?Number(_0x576ecb):null;}function et(_0x478085,_0xe514a0){const _0x31a7f5=_0x4a7418;let _0x4809a5='@'+_0xe514a0,_0x1f91c5=_0x478085[_0x31a7f5(0x13f)](_0x4809a5);if(_0x1f91c5<0x0)return null;let _0x38ef9a=_0x478085['indexOf']('@',_0x1f91c5+_0x4809a5[_0x31a7f5(0x1a8)]);if(_0x38ef9a<=_0x1f91c5)return null;let _0x4d5407=_0x478085[_0x31a7f5(0x1fc)](_0x1f91c5+_0x4809a5[_0x31a7f5(0x1a8)],_0x38ef9a);return/^\d+$/['test'](_0x4d5407)?Number(_0x4d5407):null;}var Ft=['BIRT','DEAT',_0x4a7418(0x1b1),'BURI','CHR',_0x4a7418(0x1ef)];function nt(_0x1a5a39,_0x368cae){const _0x2eda59=_0x4a7418;let _0x462ffb=[],_0x3b26f1=[..._0x368cae],_0x4c2311=_0x422075=>_0x422075[_0x2eda59(0x201)]()['startsWith']('1\x20');for(let _0x5bd8c8=0x0;_0x5bd8c8<_0x1a5a39['length'];_0x5bd8c8++){let _0x1d78cf=_0x1a5a39[_0x5bd8c8];if(_0x1d78cf['startsWith'](_0x2eda59(0x1d5))||_0x1d78cf[_0x2eda59(0x17c)](_0x2eda59(0xda))){let _0x161e32=et(_0x1d78cf,'I');_0x161e32!==null&&_0x3b26f1[_0x2eda59(0x203)](_0x161e32);}if(Ft[_0x2eda59(0x190)](_0x215df0=>_0x1d78cf['startsWith']('1\x20'+_0x215df0))){let _0x44756c=[_0x1d78cf],_0x7d02d2=_0x5bd8c8+0x1,_0x2fc554=_0x1a5a39[_0x7d02d2];for(;_0x2fc554&&!_0x4c2311(_0x2fc554);)_0x44756c['push'](_0x2fc554),_0x7d02d2+=0x1,_0x2fc554=_0x1a5a39[_0x7d02d2];_0x462ffb[_0x2eda59(0x203)](_0x44756c),_0x5bd8c8=_0x7d02d2-0x1;}}return{'entries':_0x462ffb['filter'](_0x13be2a=>_0x13be2a['length']>0x1),'indis':_0x3b26f1};}var Et=[_0x4a7418(0xe6),_0x4a7418(0x1b7),'MARR',_0x4a7418(0x1b3),_0x4a7418(0x1f4),_0x4a7418(0x1ef)],rt=['BIRT',_0x4a7418(0x1f4),_0x4a7418(0x1b1),_0x4a7418(0x1ef),_0x4a7418(0x1b7),'BURI'],st=[_0x4a7418(0x1e9),_0x4a7418(0x1e5),'MAR','APR',_0x4a7418(0x15c),'JUN',_0x4a7418(0x1c5),_0x4a7418(0x156),_0x4a7418(0x12f),_0x4a7418(0x15f),_0x4a7418(0x14b),'DEC'],B=class{constructor(_0x2a7656,_0x385558,_0x52a796,_0x466c9e,_0x4c864c,_0x3bf7e2,_0x53a2be){const _0x5b25af=_0x4a7418;l(this,_0x5b25af(0x218)),l(this,'dateAct',null),l(this,_0x5b25af(0x1ed),null),l(this,'INDIS',[]),l(this,_0x5b25af(0x1d3),new Map()),l(this,'multimediaFiles',new y()),l(this,_0x5b25af(0x228),new P()),(this[_0x5b25af(0x218)]=_0x2a7656,_0x385558&&(this['dateAct']=_0x385558),_0x52a796&&(this['place']=_0x52a796),_0x466c9e?.[_0x5b25af(0x1a8)]>0x0&&(this['INDIS']=_0x466c9e),_0x4c864c&&(this['multimediaFiles']=_0x4c864c),_0x3bf7e2&&(this[_0x5b25af(0x1d3)]=_0x3bf7e2),_0x53a2be&&(this[_0x5b25af(0x228)]=_0x53a2be));}get[_0x4a7418(0x114)](){const _0x597cb4=_0x4a7418;return Array[_0x597cb4(0x12b)](this['newMultimediaFiles']['values']());}get[_0x4a7418(0x11a)](){const _0x1b1cfc=_0x4a7418;return Array['from'](this[_0x1b1cfc(0x1d3)][_0x1b1cfc(0x152)]());}['addMultimedia'](_0x43fe82,_0x522c5e){const _0x30ecbf=_0x4a7418;let _0x28a2df=_0x522c5e??this[_0x30ecbf(0x205)][0x0];if(_0x28a2df===void 0x0||!_0x43fe82?.[_0x30ecbf(0xd1)])return;let _0x5548a9=_0x28a2df+'/'+this[_0x30ecbf(0x218)],_0x4db91c=this['mediaRelativePathsInUse'](),_0x29e975=L(_0x5548a9,_0x43fe82[_0x30ecbf(0xd1)]['name'],_0x4db91c);_0x43fe82['relativePath']=_0x29e975,this[_0x30ecbf(0x206)]['files'][_0x30ecbf(0x203)](_0x43fe82),this[_0x30ecbf(0x1d3)][_0x30ecbf(0x186)](_0x29e975,_0x43fe82);}[_0x4a7418(0x14d)](_0x31572b){const _0x480e5e=_0x4a7418;let _0x4d3568=Array[_0x480e5e(0x12b)](this['newMultimediaFiles']['keys']())[_0x480e5e(0x1c9)]((_0x927916,_0x43b59d)=>_0x31572b===_0x43b59d);if(_0x4d3568){this['newMultimediaFiles'][_0x480e5e(0x183)](_0x4d3568);let _0x1afbf6=this['multimediaFiles'][_0x480e5e(0x114)]['findIndex'](_0x36fb2f=>_0x36fb2f[_0x480e5e(0x122)]===_0x4d3568);_0x1afbf6>=0x0&&this['multimediaFiles'][_0x480e5e(0x114)][_0x480e5e(0x16c)](_0x1afbf6,0x1);}}[_0x4a7418(0x10c)](){const _0x297819=_0x4a7418;return w(this[_0x297819(0x1d3)][_0x297819(0x152)](),this[_0x297819(0x206)][_0x297819(0x114)]);}['updateType'](_0x30355a){this['type']=_0x30355a;}['addIndis'](_0x39f231){this['INDIS']=_0x39f231;}[_0x4a7418(0x213)](_0x4f7783){const _0x251ef9=_0x4a7418;this[_0x251ef9(0x1ed)]=_0x4f7783;}['updateDateAct'](_0x53c2bb){const _0x2355a8=_0x4a7418;_0x53c2bb?.[_0x2355a8(0xe0)]()&&(this['dateAct']=_0x53c2bb);}},F=class{constructor(){const _0x1b4e52=_0x4a7418;l(this,_0x1b4e52(0x117),[]);}['add'](_0x1a796e){const _0x1fa7c8=_0x4a7418;this[_0x1fa7c8(0x117)]['push'](_0x1a796e);}['updateFromIndex'](_0x336c23,_0x573aea){this['list'][_0x573aea]=_0x336c23;}[_0x4a7418(0x21a)](_0x2b8354){const _0x1ded7f=_0x4a7418;let _0x121f12=this[_0x1ded7f(0x117)][_0x1ded7f(0xe1)]((_0x148525,_0x428903)=>_0x428903===_0x2b8354);_0x121f12>=0x0&&this[_0x1ded7f(0x117)]['splice'](_0x121f12,0x1);}['removeAll'](){this['list']=[];}['sortByDate'](){const _0x20c402=_0x4a7418;this[_0x20c402(0x117)]=[...this['list']][_0x20c402(0xf7)]((_0x156909,_0x2b22d8)=>{const _0x36359d=_0x20c402;let _0x353974=this[_0x36359d(0x214)](_0x156909),_0x1e7227=this[_0x36359d(0x214)](_0x2b22d8),_0x5d2ee9=this['compareMarriageAndDivorce'](_0x156909,_0x2b22d8);if(_0x5d2ee9!==0x0)return _0x5d2ee9;if(!_0x353974&&!_0x1e7227)return this[_0x36359d(0x137)](_0x156909[_0x36359d(0x218)],_0x2b22d8[_0x36359d(0x218)]);if(!_0x353974&&_0x1e7227)return 0x1;if(_0x353974&&!_0x1e7227)return-0x1;let _0x1a522d=_0x156909[_0x36359d(0xd4)][_0x36359d(0x20c)],_0x179d4f=_0x2b22d8['dateAct'][_0x36359d(0x20c)];if(_0x1a522d!==_0x179d4f)return _0x1a522d-_0x179d4f;let _0x2a7c1a=_0x156909['dateAct']?.[_0x36359d(0x1fd)]||'',_0xeba6b7=_0x2b22d8[_0x36359d(0xd4)]?.[_0x36359d(0x1fd)]||'',_0x41be30=st[_0x36359d(0x13f)](_0x2a7c1a),_0x5d21b3=st[_0x36359d(0x13f)](_0xeba6b7),_0x5997dc=_0x41be30===-0x1?Number[_0x36359d(0x160)]:_0x41be30,_0x2c156b=_0x5d21b3===-0x1?Number[_0x36359d(0x160)]:_0x5d21b3;if(_0x5997dc!==_0x2c156b)return _0x5997dc-_0x2c156b;let _0x2da380=_0x156909[_0x36359d(0xd4)]?.[_0x36359d(0x171)]||0x0,_0x5d7f26=_0x2b22d8[_0x36359d(0xd4)]?.[_0x36359d(0x171)]||0x0;return _0x2da380-_0x5d7f26;});}[_0x4a7418(0x214)](_0x1e813b){const _0x25f511=_0x4a7418;let _0x135386=_0x1e813b[_0x25f511(0xd4)]?.['year'];return Number[_0x25f511(0x11d)](_0x135386)&&_0x135386>0x0;}['compareByTypeOrder'](_0x461352,_0xfdfd89){const _0x75f35c=_0x4a7418;let _0x4de190=rt[_0x75f35c(0x13f)](_0x461352),_0x414a02=rt['indexOf'](_0xfdfd89);return _0x4de190-_0x414a02;}[_0x4a7418(0x1ad)](_0xb55d29,_0x4994b9){const _0x395278=_0x4a7418;return!(_0xb55d29['type']===_0x395278(0x1b1)&&_0x4994b9['type']===_0x395278(0x1ef)||_0xb55d29[_0x395278(0x218)]===_0x395278(0x1ef)&&_0x4994b9['type']==='MARR')||!this['haveSameParticipants'](_0xb55d29,_0x4994b9)?0x0:_0xb55d29['type']==='MARR'?-0x1:0x1;}['haveSameParticipants'](_0x228dc1,_0x469933){const _0x1d7256=_0x4a7418;if(_0x228dc1['INDIS'][_0x1d7256(0x1a8)]===0x0||_0x469933[_0x1d7256(0x205)]['length']===0x0||_0x228dc1[_0x1d7256(0x205)][_0x1d7256(0x1a8)]!==_0x469933['INDIS'][_0x1d7256(0x1a8)])return!0x1;let _0x5de616=[..._0x228dc1[_0x1d7256(0x205)]]['sort']((_0x2e5f42,_0x129709)=>_0x2e5f42-_0x129709),_0x55872d=[..._0x469933['INDIS']]['sort']((_0x3e41b1,_0x2f4ca9)=>_0x3e41b1-_0x2f4ca9);return _0x5de616['every']((_0x5b36e6,_0x17a4c5)=>_0x5b36e6===_0x55872d[_0x17a4c5]);}},G=class extends F{[_0x4a7418(0x158)](_0x4e4f58,_0x3a690c,_0x32ae7f){const _0x4770fa=_0x4a7418;let _0x52079b=nt(_0x4e4f58,_0x3a690c);this['convertToActs'](_0x52079b['entries'],_0x52079b[_0x4770fa(0x1f0)],_0x32ae7f);}['convertToActs'](_0x582284,_0x4f6e8d,_0x378ca3){const _0x14ebf3=_0x4a7418;for(let _0x90de00 of _0x582284){let _0x217706=_0x90de00[0x0],_0x120eb2=this[_0x14ebf3(0x1d1)](_0x217706);if(!_0x120eb2)continue;let _0x44c902,_0x88b1e=new E(),_0x498ff8=new y(),_0x2d8786=new Map(),_0x5e84ff=[];for(let _0x5b7385=0x1;_0x5b7385<_0x90de00[_0x14ebf3(0x1a8)];_0x5b7385++){let _0x15299b=_0x90de00[_0x5b7385],_0x3c6102=M(_0x15299b);if(!_0x3c6102)continue;let {tag:_0x51a648,value:_0x36591c}=_0x3c6102;switch(_0x51a648){case'DATE':{let _0x243f6d=_0x36591c;_0x243f6d!=='inconnue'&&(_0x44c902=new T(_0x243f6d));break;}case _0x14ebf3(0x209):{let _0x26fce8=_0x36591c;_0x88b1e[_0x14ebf3(0x229)](_0x26fce8);break;}case _0x14ebf3(0x1e0):case _0x14ebf3(0x1d4):{let _0x13870e=_0x36591c;_0x5e84ff['push'](Number(_0x13870e));break;}case _0x14ebf3(0x210):{let _0x476c22=_0x36591c['trim'](),_0x5e916c=_0x378ca3[_0x14ebf3(0x188)](_0x476c22),_0x1bc2fe=new N(_0x5e916c);_0x1bc2fe[_0x14ebf3(0x122)]=_0x476c22,_0x498ff8[_0x14ebf3(0x114)]['push'](_0x1bc2fe),_0x2d8786[_0x14ebf3(0x186)](_0x476c22,_0x1bc2fe);break;}default:break;}_0x5e84ff[_0x14ebf3(0x1a8)]===0x2&&_0x88b1e[_0x14ebf3(0x1bb)][_0x14ebf3(0x104)](_0x5e84ff);}if(_0x44c902||_0x88b1e){let _0x4c4c94=new B(_0x120eb2,_0x44c902,_0x88b1e,[],_0x498ff8,_0x2d8786);_0x4c4c94['addIndis'](_0x4f6e8d),this['add'](_0x4c4c94);}}}[_0x4a7418(0x1d1)](_0x27440d){const _0x52822c=_0x4a7418;return Et['find'](_0x172973=>_0x27440d[_0x52822c(0xfc)](_0x172973))??null;}};function it(_0x37c5d8){const _0x2462c2=_0x4a7418;let _0x16557e=/\/([^/]+)\//[_0x2462c2(0x18c)](_0x37c5d8);return{'firstnames':(_0x16557e?_0x37c5d8[_0x2462c2(0x1a4)](_0x16557e[0x0],''):_0x37c5d8)['replace'](/"/g,'')[_0x2462c2(0x1a4)](/\/+/g,'')['trim']()['split'](/\s+/)[_0x2462c2(0x12d)](Boolean),'lastname':_0x16557e?.[0x1]?.[_0x2462c2(0x208)]()[_0x2462c2(0x116)]()??''};}function ot(_0x53c28e){const _0x303054=_0x4a7418;for(let _0x305022 of _0x53c28e){let _0x117675=M(_0x305022);if(_0x117675?.[_0x303054(0x1d6)]===_0x303054(0x1e2))return _0x117675[_0x303054(0x219)];}return null;}var R=(_0x209f4a=>(_0x209f4a['M']='M',_0x209f4a['F']='F',_0x209f4a))(R||{}),S=class{constructor(_0x49193d,_0x362719,_0x582f72,_0x26aff1,_0xa5a2a6,_0x3a3063,_0xdac742,_0x1e2fe2,_0xb67e98,_0x1cf28){const _0x2d289c=_0x4a7418;l(this,'sosa'),l(this,'INDI'),l(this,'SEX'),l(this,_0x2d289c(0x13b)),l(this,_0x2d289c(0x167)),l(this,_0x2d289c(0x1f6)),l(this,_0x2d289c(0xf3),[]),l(this,'newMultimediaFiles',new Map()),l(this,_0x2d289c(0x206),new y()),l(this,'acts',new F()),l(this,_0x2d289c(0x228),new P()),(this['INDI']=_0xdac742,this[_0x2d289c(0x1af)]=_0x362719,this['FAMC']=_0xa5a2a6,this['FAMS']=_0x3a3063??[],this[_0x2d289c(0xd5)]=_0x49193d,this['firstnames']=_0x582f72??[],this[_0x2d289c(0x167)]=_0x26aff1??'',_0x1e2fe2&&_0x1e2fe2['files'][_0x2d289c(0x1a8)]>0x0&&(this[_0x2d289c(0x206)]=_0x1e2fe2),_0x1cf28&&_0x1cf28['list']['length']>0x0&&(this[_0x2d289c(0x199)]=_0x1cf28));}get[_0x4a7418(0x114)](){const _0x3b9dea=_0x4a7418;return Array[_0x3b9dea(0x12b)](this[_0x3b9dea(0x1d3)]['values']());}get['keysFiles'](){const _0x3b389d=_0x4a7418;return Array[_0x3b389d(0x12b)](this[_0x3b389d(0x1d3)][_0x3b389d(0x152)]());}[_0x4a7418(0x124)](_0x3c5c3f,_0x469c0c,_0x11efdd,_0x9657dc){const _0x7d3ac9=_0x4a7418;let _0x2ffa02=_0x3c5c3f['map'](_0x1d7823=>_0x1d7823['replace'](/[\n\r]+/g,''));_0x2ffa02['forEach'](_0x23a68b=>{const _0x49b60d=_0x3bd6;this[_0x49b60d(0x133)](_0x23a68b,_0x11efdd,_0x9657dc);}),this['createFirstnamesAndLastnameJson'](_0x2ffa02);let _0x356920=new G(),_0x187413=typeof this[_0x7d3ac9(0x1bc)]=='number'?[this[_0x7d3ac9(0x1bc)]]:[];_0x356920['extractActsInfo'](_0x2ffa02,_0x187413,_0x11efdd),this[_0x7d3ac9(0xf3)]?.['length']>0x0&&_0x469c0c&&this[_0x7d3ac9(0xf3)][_0x7d3ac9(0x19a)](_0x3dbe15=>{const _0x335ecd=_0x7d3ac9;let _0x49ac0c=_0x469c0c[_0x335ecd(0x188)](_0x3dbe15);_0x356920[_0x335ecd(0x158)](_0x49ac0c,[],_0x11efdd);}),this[_0x7d3ac9(0x199)]=_0x356920,this[_0x7d3ac9(0x199)][_0x7d3ac9(0x145)]();}[_0x4a7418(0x133)](_0x3b0e4c,_0x4f6baf,_0x28d0e3){const _0x787ef8=_0x4a7418;let _0x325794=M(_0x3b0e4c);if(!_0x325794)return;let {level:_0x47f935,tag:_0x30ef09,value:_0x23693e}=_0x325794;if(_0x47f935==='0'&&_0x30ef09['startsWith']('@I')){this[_0x787ef8(0x18b)](_0x3b0e4c);return;}switch(_0x30ef09){case _0x787ef8(0x1af):this['createSexFromValue'](_0x23693e);break;case'FAMC':this[_0x787ef8(0x15e)](_0x23693e);break;case'FAMS':this[_0x787ef8(0x127)](_0x23693e);break;case'NOTE':this[_0x787ef8(0x1be)](_0x23693e,_0x28d0e3);break;case _0x787ef8(0x210):this[_0x787ef8(0x177)](_0x23693e,_0x4f6baf);break;default:break;}}[_0x4a7418(0x18b)](_0x31d8e5){const _0x476dd3=_0x4a7418;let _0x55d262=tt(_0x31d8e5,'I',_0x476dd3(0x1bc));_0x55d262!==null&&(this[_0x476dd3(0x1bc)]=_0x55d262);}[_0x4a7418(0x105)](_0x38d5ea){const _0x1e4ea9=_0x4a7418;let _0x47a253=_0x38d5ea[_0x1e4ea9(0x208)]();(_0x47a253==='M'||_0x47a253==='F')&&(this['SEX']=_0x47a253);}[_0x4a7418(0x15e)](_0x41522f){const _0x29ee61=_0x4a7418;let _0xabe6f9=O(_0x41522f,'F');_0xabe6f9!==null&&(this[_0x29ee61(0x1f6)]=_0xabe6f9);}[_0x4a7418(0x127)](_0x305e84){const _0x5da10f=_0x4a7418;let _0x1622ef=O(_0x305e84,'F');_0x1622ef!==null&&this[_0x5da10f(0xf3)][_0x5da10f(0x203)](_0x1622ef);}['createMultimediaFilesFromValue'](_0x5c3bad,_0x3f40b0){const _0x5ba02e=_0x4a7418;if(!_0x3f40b0?.[_0x5ba02e(0x20f)]||!_0x5c3bad)return;let _0x3142b0=_0x5c3bad[_0x5ba02e(0x208)](),_0x1a516f=new N(_0x3f40b0['get'](_0x3142b0));_0x1a516f['relativePath']=_0x3142b0,this['multimediaFiles'][_0x5ba02e(0x114)][_0x5ba02e(0x203)](_0x1a516f),this[_0x5ba02e(0x1d3)][_0x5ba02e(0x186)](_0x3142b0,_0x1a516f);}[_0x4a7418(0x1be)](_0x12506a,_0x79344e){const _0x289221=_0x4a7418;let _0x4cb1cd=_0x12506a['trim']();if(!_0x4cb1cd)return;let _0x211a11=O(_0x4cb1cd,'N');if(_0x211a11!==null&&_0x79344e?.['size']){let _0x526b0d=_0x79344e['get'](_0x211a11);if(!_0x526b0d||_0x526b0d['length']===0x0)return;let _0xafa145=new D();_0xafa145['updateLines']([..._0x526b0d]),typeof this[_0x289221(0x1bc)]=='number'&&_0xafa145['addIndis']([this['INDI']]),this[_0x289221(0x228)]['addNote'](_0xafa145);return;}let _0x3607fe=new D();_0x3607fe[_0x289221(0x1da)]([_0x4cb1cd]),typeof this['INDI']==_0x289221(0xf5)&&_0x3607fe['addIndis']([this[_0x289221(0x1bc)]]),this[_0x289221(0x228)]['addNote'](_0x3607fe);}[_0x4a7418(0x1f1)](_0x3a7ec7){const _0x5ec750=_0x4a7418;if(typeof this['INDI']!=_0x5ec750(0xf5)||!_0x3a7ec7?.[_0x5ec750(0xd1)])return;let _0x4add39=''+this['INDI'],_0x21ad49=this['mediaRelativePathsInUse'](),_0x59313e=L(_0x4add39,_0x3a7ec7[_0x5ec750(0xd1)][_0x5ec750(0x15d)],_0x21ad49);_0x3a7ec7[_0x5ec750(0x122)]=_0x59313e,this[_0x5ec750(0x206)]['files']['push'](_0x3a7ec7),this['newMultimediaFiles']['set'](_0x59313e,_0x3a7ec7);}[_0x4a7418(0x18a)](_0x423984){const _0x1f0b40=_0x4a7418;this[_0x1f0b40(0x1d3)]['delete'](_0x423984);let _0x389337=this['multimediaFiles'][_0x1f0b40(0x114)][_0x1f0b40(0xe1)](_0x4c5e06=>_0x4c5e06['relativePath']===_0x423984);_0x389337>=0x0&&this['multimediaFiles'][_0x1f0b40(0x114)][_0x1f0b40(0x16c)](_0x389337,0x1);}[_0x4a7418(0x10c)](){const _0x234d53=_0x4a7418;return w(this['newMultimediaFiles'][_0x234d53(0x152)](),this['multimediaFiles']['files']);}[_0x4a7418(0x16f)](_0x13ad76){const _0x36762b=_0x4a7418;let _0x3e3b96=ot(_0x13ad76);if(!_0x3e3b96)return;let _0x97254f=it(_0x3e3b96);this['firstnames']=_0x97254f['firstnames'],this[_0x36762b(0x167)]=_0x97254f['lastname'];}},U=class extends F{constructor(_0x5c1c76){super(),l(this,'year'),this['year']=_0x5c1c76;}},J=class{constructor(_0x3e75ff){const _0x3f83e6=_0x4a7418;l(this,_0x3f83e6(0x22a),[]),(this[_0x3f83e6(0x22a)]=[..._0x3e75ff]['reduce']((_0x64de0b,_0x3f8441)=>{const _0x1decaf=_0x3f83e6;let _0x17a8ec,{dateAct:_0x1a8992,INDIS:_0x4ba93f}=_0x3f8441;if(_0x1a8992?.[_0x1decaf(0x20c)]){let _0x4dded9=Number(_0x1a8992['year']),_0xc8159b=_0x64de0b[_0x1decaf(0xe1)](_0x17beea=>_0x17beea?.[_0x1decaf(0x20c)]===_0x4dded9);_0xc8159b>=0x0?(_0x17a8ec=_0x64de0b[_0xc8159b],_0x17a8ec[_0x1decaf(0x117)]['find'](_0x1d0ce8=>_0x1d0ce8[_0x1decaf(0x205)][_0x1decaf(0x1c9)](_0x4b90e=>_0x4ba93f[_0x1decaf(0xfc)](_0x4b90e)))||(_0x17a8ec['add'](_0x3f8441),_0x64de0b[_0xc8159b]=_0x17a8ec)):(_0x17a8ec=new U(_0x4dded9),_0x17a8ec[_0x1decaf(0xe2)](_0x3f8441),_0x64de0b['push'](_0x17a8ec));}return _0x64de0b;},[]),this['sortByYear']());}['sortByYear'](){const _0x3f2f83=_0x4a7418;this['events']=[...this[_0x3f2f83(0x22a)]]['sort']((_0x49f0fd,_0x47bd54)=>_0x49f0fd[_0x3f2f83(0x20c)]-_0x47bd54['year']);}},k=class{constructor(_0x5217a8){const _0x55c301=_0x4a7418;l(this,'informationPersons',[]),l(this,'informationFamilies',new Map()),l(this,_0x55c301(0x1fe),new Map()),_0x5217a8!==void 0x0&&this[_0x55c301(0x20d)](_0x5217a8);}['ingestGedcomText'](_0x1b8e9e){const _0x4fb68b=_0x4a7418;let _0x53bbb1=_0x1b8e9e['split']('\x0a')[_0x4fb68b(0x1c2)](_0x50bcdc=>_0x50bcdc[_0x4fb68b(0x1a4)](/\r$/,'')),_0x46276a=[],_0x29fd50=()=>{const _0x4dc912=_0x4fb68b;_0x46276a[_0x4dc912(0x1a8)]!==0x0&&(this['ingestRecordBlock'](_0x46276a[_0x4dc912(0xdf)]('\x0a')),_0x46276a=[]);};for(let _0x483800 of _0x53bbb1)_0x483800['startsWith']('0\x20')?(_0x29fd50(),_0x46276a=[_0x483800]):_0x46276a['length']>0x0&&_0x46276a['push'](_0x483800);_0x29fd50();}async['ingestGedcomFileStream'](_0x304559){const _0x407d22=_0x4a7418;if(typeof _0x304559['stream']!='function'||typeof TextDecoderStream>'u'){this[_0x407d22(0x20d)](await _0x304559[_0x407d22(0x157)]());return;}let _0x31b7c6=_0x304559['stream']()[_0x407d22(0x21b)](new TextDecoderStream())['getReader'](),_0x3ae970='',_0x4d3a42=null,_0x330abd=()=>{const _0x5703c9=_0x407d22;if(!_0x4d3a42||_0x4d3a42['length']===0x0){_0x4d3a42=null;return;}let _0x432f84=_0x4d3a42[_0x5703c9(0xdf)]('\x0a');_0x4d3a42=null,this[_0x5703c9(0x1c1)](_0x432f84);};for(;;){let {done:_0x4baf5e,value:_0x1a43d6}=await _0x31b7c6['read']();if(_0x1a43d6){_0x3ae970+=_0x1a43d6;let _0x5b41cc=_0x3ae970['indexOf']('\x0a');for(;_0x5b41cc!==-0x1;){let _0x554bab=_0x3ae970[_0x407d22(0x1fc)](0x0,_0x5b41cc);_0x3ae970=_0x3ae970['slice'](_0x5b41cc+0x1),_0x5b41cc=_0x3ae970[_0x407d22(0x13f)]('\x0a');let _0x46687b=_0x554bab['replace'](/\r$/,'');_0x46687b[_0x407d22(0x17c)]('0\x20')?(_0x330abd(),_0x4d3a42=[_0x46687b]):_0x4d3a42&&_0x4d3a42[_0x407d22(0x203)](_0x46687b);}}if(_0x4baf5e){if(_0x3ae970[_0x407d22(0x1a8)]===0x0){_0x330abd();break;}let _0x16107e=_0x3ae970[_0x407d22(0x1a4)](/\r$/,'');_0x16107e[_0x407d22(0x17c)]('0\x20')?(_0x330abd(),_0x4d3a42=[_0x16107e]):_0x4d3a42&&_0x4d3a42[_0x407d22(0x203)](_0x16107e),_0x330abd();break;}}}['ingestRecordBlock'](_0x151f64){const _0x12445b=_0x4a7418;let _0x459450=_0x151f64[_0x12445b(0x1f8)]('\x0a')[0x0]?.[_0x12445b(0x201)]()??'',_0x5c84d7=_0x459450['startsWith']('0\x20')?_0x459450[_0x12445b(0x1fc)](0x2):_0x459450;switch(''+_0x5c84d7[0x0]+_0x5c84d7[0x1]){case'@I':this[_0x12445b(0x1b6)](_0x151f64);break;case'@F':this[_0x12445b(0x179)](_0x151f64);break;case'@N':this[_0x12445b(0x21d)](_0x151f64);break;case'@S':break;default:break;}}['splitInformationPersons'](_0x3b10fd){const _0x124ca1=_0x4a7418;this[_0x124ca1(0x1cf)]['push'](_0x3b10fd['split']('\x0a'));}['splitInformationFamilies'](_0x1da34d){const _0x549120=_0x4a7418;let _0x308b1d=this['extractXrefId'](_0x1da34d,'@F');if(_0x308b1d===null)return;let _0x50bdfb=_0x1da34d['split']('\x0a')['slice'](0x1);this[_0x549120(0x197)]['set'](_0x308b1d,_0x50bdfb);}['splitInformationNotes'](_0x394475){const _0x328fdf=_0x4a7418;let _0x23fae5=this[_0x328fdf(0x1df)](_0x394475,'@N');if(_0x23fae5===null)return;let _0x29fbb6=_0x394475['split']('\x0a')['slice'](0x1);this[_0x328fdf(0x1fe)]['set'](_0x23fae5,_0x29fbb6);}[_0x4a7418(0x1df)](_0x1f1b8b,_0x4a5834){const _0x35aee6=_0x4a7418;let _0x2e5327=_0x1f1b8b['indexOf'](_0x4a5834);if(_0x2e5327<0x0)return null;let _0x4963ea=_0x1f1b8b[_0x35aee6(0x13f)]('@',_0x2e5327+_0x4a5834[_0x35aee6(0x1a8)]);if(_0x4963ea<=_0x2e5327)return null;let _0x27597a=_0x1f1b8b[_0x35aee6(0x1fc)](_0x2e5327+_0x4a5834[_0x35aee6(0x1a8)],_0x4963ea);return/^\d+$/['test'](_0x27597a)?Number(_0x27597a):null;}},at=_0x5343ae=>{const _0xa758a=_0x4a7418;let _0x470351=_0x5343ae[_0xa758a(0x1c2)](_0xf85f59=>_0xf85f59[_0xa758a(0x1bc)])[_0xa758a(0x12d)](_0x2e690b=>typeof _0x2e690b==_0xa758a(0xf5))['sort']((_0x5b7f44,_0x57fe42)=>_0x5b7f44-_0x57fe42);return _0x470351[_0xa758a(0x1a8)]===0x0?0x1:_0x470351[_0x470351[_0xa758a(0x1a8)]-0x1]+0x1;},b=class o extends k{constructor(_0x215411,_0x374d64,_0x4d415b,_0x3c8859){const _0x91b57b=_0x4a7418;super(_0x215411),l(this,_0x91b57b(0xe5)),l(this,_0x91b57b(0xfd)),l(this,'partnersMap'),l(this,_0x91b57b(0x144)),l(this,_0x91b57b(0x10e)),l(this,'placesMap'),(this['mapFiles']=_0x374d64??new Map(),this['placesMap']=_0x4d415b??new Map(),this[_0x91b57b(0xfd)]=_0x3c8859??new Map(),_0x215411!==void 0x0&&this['finalizeAfterParse']());}static async[_0x4a7418(0x12c)](_0x27a9d2,_0x5980e1,_0x35abbf,_0x49d2ce){const _0x484598=_0x4a7418;let _0x540dbc=new o(void 0x0,_0x5980e1,_0x35abbf,_0x49d2ce);return await _0x540dbc[_0x484598(0x222)](_0x27a9d2),_0x540dbc['finalizeAfterParse'](),_0x540dbc;}[_0x4a7418(0x1dc)](){const _0x43d4fa=_0x4a7418;this[_0x43d4fa(0xe5)]=this[_0x43d4fa(0x1bd)](),this['hydratePlacesFromActs'](),this['partnersMap']=new Map(),this[_0x43d4fa(0x144)]=new Map(),this[_0x43d4fa(0x1a6)]();}[_0x4a7418(0x1a6)](){const _0x4c13f3=_0x4a7418;this[_0x4c13f3(0xe5)]['forEach'](_0x4ef84f=>{const _0x2ebeb5=_0x4c13f3;this[_0x2ebeb5(0x202)](_0x4ef84f),this['linkPersonAsChild'](_0x4ef84f);});}[_0x4a7418(0x198)](_0x2d0270){const _0x238bc4=_0x4a7418;return this[_0x238bc4(0x227)](_0x2d0270,[])[_0x238bc4(0xf7)]((_0x363d58,_0x5753e4)=>_0x363d58[_0x238bc4(0xd5)]-_0x5753e4[_0x238bc4(0xd5)]);}[_0x4a7418(0x110)](){const _0x4aac54=_0x4a7418;return at(this[_0x4aac54(0xe5)]);}['haveParentsOfPerson'](_0x44f0b7,_0x10a5b9,_0x2405e0){const _0x3ed917=_0x4a7418;let _0x513aa9=Object['assign']({},_0x44f0b7);if(_0x513aa9['sosa']=_0x2405e0?_0x2405e0*0x2+(_0x44f0b7['SEX']==='F'?0x1:0x0):0x1,this['partnersMap'][_0x3ed917(0x14f)](_0x513aa9['FAMC'])){let _0x1e2a8b=[...this['partnersMap']['get'](_0x513aa9['FAMC'])];_0x1e2a8b['length']>0x0&&_0x1e2a8b[_0x3ed917(0x19a)](_0x101e90=>{const _0x4ec0f7=_0x3ed917;this['haveParentsOfPerson'](_0x101e90,_0x10a5b9,_0x513aa9[_0x4ec0f7(0xd5)]);});}return _0x10a5b9['push'](_0x513aa9),_0x10a5b9;}[_0x4a7418(0x1bd)](){const _0x35809b=_0x4a7418;return this['informationPersons']?.['length']?this[_0x35809b(0x1cf)][_0x35809b(0x1c2)](_0x354194=>this[_0x35809b(0x193)](_0x354194))['sort']((_0x3c1707,_0x193043)=>(_0x3c1707['FAMC']??Number['MAX_SAFE_INTEGER'])-(_0x193043['FAMC']??Number[_0x35809b(0x160)])):[];}[_0x4a7418(0x193)](_0x4bc2ee){const _0xeddf17=_0x4a7418;let _0x25e153=new S();return _0x25e153[_0xeddf17(0x124)](_0x4bc2ee,this['informationFamilies'],this['mapFiles'],this[_0xeddf17(0x1fe)]),typeof _0x25e153[_0xeddf17(0x1bc)]==_0xeddf17(0xf5)&&this['mapPersons'][_0xeddf17(0x186)](_0x25e153[_0xeddf17(0x1bc)],_0x25e153),_0x25e153;}['hydratePlacesFromActs'](){const _0x14aa80=_0x4a7418;this[_0x14aa80(0xe5)]['forEach'](_0x361814=>{const _0x47ccfb=_0x14aa80;_0x361814[_0x47ccfb(0x199)][_0x47ccfb(0x117)]['forEach'](_0x49764c=>{const _0x2636fa=_0x47ccfb;let _0x33a200=_0x49764c[_0x2636fa(0x1ed)]?.[_0x2636fa(0x1ab)];_0x33a200&&this[_0x2636fa(0x22b)](_0x33a200,_0x49764c['place']);});});}[_0x4a7418(0x22b)](_0x4925af,_0x4b8b95){const _0x11fc94=_0x4a7418;let _0x3972c9=this['placesMap'][_0x11fc94(0x188)](_0x4925af);if(!_0x3972c9){this['placesMap']['set'](_0x4925af,_0x4b8b95);return;}let {latitude:_0x2709f5,longitude:_0x57eb33}=_0x3972c9[_0x11fc94(0x1bb)];(_0x2709f5===0x0||_0x2709f5)&&(_0x57eb33===0x0||_0x57eb33)||this[_0x11fc94(0x1ce)][_0x11fc94(0x186)](_0x4925af,_0x4b8b95);}['linkPersonAsPartner'](_0x58bafa){const _0x1313d6=_0x4a7418;_0x58bafa[_0x1313d6(0xf3)]?.[_0x1313d6(0x1a8)]&&_0x58bafa['FAMS'][_0x1313d6(0x19a)](_0x4bc7cc=>{const _0xf284d2=_0x1313d6;let _0x45b9c0=this[_0xf284d2(0x1a5)][_0xf284d2(0x188)](_0x4bc7cc)??[];this['partnersMap'][_0xf284d2(0x186)](_0x4bc7cc,[_0x58bafa,..._0x45b9c0]);});}[_0x4a7418(0x165)](_0x13b3b9){const _0xc46902=_0x4a7418;if(!_0x13b3b9['FAMC'])return;let _0xa4cd64=this[_0xc46902(0x144)][_0xc46902(0x188)](_0x13b3b9['FAMC'])??[];this['childsMap']['set'](_0x13b3b9[_0xc46902(0x1f6)],[_0x13b3b9,..._0xa4cd64]);}};import{unzipSync as _0x2525b7}from'fflate';function _0x3bd6(_0x1b1f46,_0x55ff32){_0x1b1f46=_0x1b1f46-0xcd;const _0x33ab35=_0x33ab();let _0x3bd66f=_0x33ab35[_0x1b1f46];return _0x3bd66f;}var Pt=async _0x478a86=>{if(!(_0x478a86 instanceof File))throw new Error('file\x20must\x20be\x20a\x20File');let {type:_0x51e7af}=_0x478a86;return _0x51e7af==='application/zip'?Dt(_0x478a86):lt(_0x478a86);},lt=async(_0x28c4a9,_0x7c7ac0)=>{const _0x2d3537=_0x4a7418;if(!(_0x28c4a9 instanceof File))throw new Error(_0x2d3537(0x1d7));if(!/\.ged$/[_0x2d3537(0x10f)](_0x28c4a9[_0x2d3537(0x15d)]))throw new Error(_0x2d3537(0x129));return b[_0x2d3537(0x12c)](_0x28c4a9,_0x7c7ac0);},vt=async _0x3fb90d=>{const _0x2d1931=_0x4a7418;let _0x3942d8=_0x2525b7(new Uint8Array(await _0x3fb90d['arrayBuffer']())),_0x1772ac=new Map();for(let [_0x527080,_0xa2ce60]of Object['entries'](_0x3942d8))_0x527080[_0x2d1931(0x17e)]('/')||_0x1772ac[_0x2d1931(0x186)](_0x527080,new File([Uint8Array['from'](_0xa2ce60)],_0x527080));return _0x1772ac;},Dt=async _0x51180d=>{const _0x2e8c7e=_0x4a7418;if(!(_0x51180d instanceof File))throw new Error('Le\x20fichier\x20envoyé\x20doit-etre\x20un\x20File');let _0x5a8089=await vt(_0x51180d[_0x2e8c7e(0x1fc)]()),_0x1ca960=/\.ged$/;for(let _0x16ccf1 of _0x5a8089[_0x2e8c7e(0x152)]())if(_0x1ca960[_0x2e8c7e(0x10f)](_0x16ccf1))return lt(_0x5a8089['get'](_0x16ccf1),_0x5a8089);throw new Error(_0x2e8c7e(0x109));};function _0x33ab(){const _0x43d0a4=['1\x20HUSB','tag','Le\x20fichier\x20envoyé\x20doit-etre\x20un\x20File','CONT','\x20CONT\x20','updateLines','MARS','finalizeAfterParse','getName','DATA','extractXrefId','LATI','updateFromToDates','NAME','ENDL','BET','FEB','ASSO','IMMI','SUBN','JAN','1\x20CHIL\x20@I','PHON','1395HvzEjv','place','getIndi','DIV','indis','addMultimedia','send','(\x5cd+)@$','CHR','QUAY','FAMC','CHIL','split','PROP','ADOP','BLOB','slice','month','informationNotes','BAPM','getFullYear','trimStart','linkPersonAsPartner','push','typeDateAct','INDIS','multimediaFiles','\x20AND\x20','trim','PLAC','unknown','FCOM','year','ingestGedcomText','MEDI','size','FILE','10134146pSkZpZ','83euhQKh','updatePlace','hasSortableDate','MAR','JUN','FILES','type','value','removeFromIndex','pipeThrough','BLES','splitInformationNotes','parse','2496ObOrWs','updateQualifiedDate','parseTwoParts','ingestGedcomFileStream','1\x20FILE\x20','SLGS','formatDate','lines','haveParentsOfPerson','notes','addCity','events','upsertPlace','1\x20DATE\x20','NOTES','TYPE','.ged','ANCI','RESN','contentGedcom','beginGedcom','file','resolveZipPath','1147140NqRnwe','dateAct','sosa','ORDI','AUTH','ADR2','1\x20GEDC','1\x20WIFE','inconnue','all','getFamc','COPR','join','isValid','findIndex','add','convertMonth','DEC','persons','BIRT','CENS','CHAN','IDNO','CONF','gedcom-ts_','getPlace','RELA','toLocaleTimeString','FORM','download','gedcomBlob','.zip','FAMS','PEDI','number','resolvePersonIndi','sort','arrayBuffer','2\x20FORM\x20LINEAGE-LINKED','DEST','endYear','includes','mapPersons','latitude','tryParseRangeDate','onerror','responseText','AFN','1\x20SOUR\x20generated\x20by\x20gedcom-ts','addCoordinates','createSexFromValue','onload','setInformationFamilies','DIVF','You\x20don\x27t\x20have\x20any\x20.ged\x20File\x20in\x20your\x20.gdz\x20File','BET\x20','updateExactDate','mediaRelativePathsInUse','https://nominatim.openstreetmap.org/search.php?city=','mapFiles','test','generateUniqueIndi','9804vYVQdE','AGNC','line','files','HEAD','toUpperCase','list','addNote','2\x20TIME\x20','keysFiles','RETI','CTRY','isFinite','ADR1','2\x20FILE\x20','getFams','OBJE','relativePath','SURN','createPersonJson','SSN','24rnsOAC','createFAMSFromValue','RELI','Le\x20type\x20doit-être\x20au\x20format:\x20application/x-gedcom','2\x20DATE\x20','from','fromGedcomFile','filter','ADDR','SEP','SOUR','SPFX','DESC','parsePersonLine','getSex','ANUL','endMonth','compareByTypeOrder','parseMonthToken','CAST','GEDC','firstnames','status','EDUC','1015nTlPnZ','indexOf','AGE','now','_gedcom-ts_','isRelativeType','childsMap','sortByDate','entries','getFiles','CAUS','FROM','39790XwoZKr','NOV','\x20TO\x20','removeMultimedia','BASM','has','VERS','NOTE','keys','parseThreeParts','clearDate','STAE','AUG','text','extractActsInfo','Impossible\x20de\x20trouver\x20un\x20nom\x20de\x20fichier\x20média\x20disponible','OCCU','localeCompare','MAY','name','createFAMCFromValue','OCT','MAX_SAFE_INTEGER','ACTS','ORDN','TEXT','date','linkPersonAsChild','RFN','lastname','ANCE','PLACE','endDay','DSCR','splice','RIN','fr-FR','createFirstnamesAndLastnameJson','SUBM','day','GIVN','87NbooPf','FAM','PROB','CONC','createMultimediaFilesFromValue','CHAR','splitInformationFamilies','REPO','toLocaleDateString','startsWith','getType','endsWith','\x20@I','CITY','application/zip','updateBetweenDates','delete','getFile','NCHI','set','BARM','get','WIFE','deleteMultimedia','createIndiFromZeroLine','exec','ALIA','HUSB','title','some','22166PZnDQr','0\x20@F','buildPerson','formatCoreDate','SLGC','EVEN','informationFamilies','createDirectAncestries','acts','forEach','NMR','assignMonthYearFromSlash','DATE','NATU','parseCoreDateValue','application/x-gedcom','4\x20LATI\x20','string','removeAll','replace','partnersMap','groupPartners','media/events/','length','ENGA','244923XFhKzj','city','CREM','compareMarriageAndDivorce','1\x20NAME','SEX','MARL','MARR','TRLR','BURI','defineProperty','LEGA','splitInformationPersons','DEAT','EMIG','1\x20FAMC\x20@F','TEMP','coordinate','INDI','createPersons','addNoteFromGedcom','CONL','65QrIbbT','ingestRecordBlock','map','RESI','STAT','JUL','ownerIndi','NPFX','TITL','find','DESI','NSFX','CORP','haveFiles','placesMap','informationPersons','longitude','resolveTypeAct','resolveActIndis','newMultimediaFiles','LONG'];_0x33ab=function(){return _0x43d0a4;};return _0x33ab();}import{zip as _0x4662b1}from'fflate';var ct='\x0a';function St(_0x4a12f8){const _0x552958=_0x4a7418;if(!_0x4a12f8?.[_0x552958(0x1a8)])return'';let _0x581cb4='',_0x3779ab=!0x1;for(let _0xf96c55 of _0x4a12f8){let _0x2809e4=M(_0xf96c55[_0x552958(0x201)]());if(!_0x2809e4)continue;let {level:_0x3371eb,tag:_0x5b7b9a,value:_0xa5c53c}=_0x2809e4;if(_0x3371eb==='0'&&_0xa5c53c==='NOTE'&&_0x5b7b9a[_0x552958(0x17c)]('@N')&&_0x5b7b9a['endsWith']('@')){_0x3779ab=!0x0;continue;}if(_0x5b7b9a===_0x552958(0x151)){_0x581cb4=_0xa5c53c,_0x3779ab=!0x0;continue;}if(_0x5b7b9a===_0x552958(0x176)){_0x581cb4+=_0xa5c53c,_0x3779ab=!0x0;continue;}if(_0x5b7b9a===_0x552958(0x1d8)){_0x581cb4+=(_0x581cb4?'\x0a':'')+_0xa5c53c,_0x3779ab=!0x0;continue;}}return _0x3779ab?_0x581cb4['replace'](/\r\n/g,'\x0a')[_0x552958(0x1a4)](/\r/g,'\x0a'):_0x4a12f8['filter'](_0x541258=>_0x541258[_0x552958(0x1a8)]>0x0)['join']('\x0a')['replace'](/\r\n/g,'\x0a')[_0x552958(0x1a4)](/\r/g,'\x0a');}function Rt(_0x3cbd70,_0x289223){const _0x186f8c=_0x4a7418;let _0x3544ca=St(_0x3cbd70[_0x186f8c(0x226)]??[]);if(!_0x3544ca[_0x186f8c(0x208)]())return'';let _0x2ddf63=_0x289223+0x1,_0x1285fb=_0x3544ca[_0x186f8c(0x1f8)]('\x0a');for(;_0x1285fb[_0x186f8c(0x1a8)]>0x0&&_0x1285fb[0x0]==='';)_0x1285fb['shift']();if(_0x1285fb[_0x186f8c(0x1a8)]===0x0)return'';let [_0x2f6096,..._0x4e3c11]=_0x1285fb,_0x5c6aeb=_0x289223+'\x20NOTE\x20'+_0x2f6096+ct;return _0x4e3c11[_0x186f8c(0x1a8)]===0x0?_0x5c6aeb:_0x5c6aeb+_0x4e3c11[_0x186f8c(0x1c2)](_0x4bdb59=>_0x2ddf63+_0x186f8c(0x1d9)+_0x4bdb59+ct)[_0x186f8c(0xdf)]('');}function z(_0x2ffc16,_0x35779c){const _0x205c41=_0x4a7418;return _0x2ffc16?.['list']?.['length']?_0x2ffc16[_0x205c41(0x117)][_0x205c41(0x1c2)](_0x29e239=>Rt(_0x29e239,_0x35779c))[_0x205c41(0xdf)](''):'';}var p='\x0a',xt={'day':'2-digit','month':'2-digit','year':'numeric'},ut=(_0x374339,_0x5436af,_0x5d74a4)=>{const _0xdd6dce=_0x4a7418;let _0x18609c=_0x5436af[_0xdd6dce(0x122)]?.['trim']();if(_0x18609c&&_0x18609c[_0xdd6dce(0xfc)]('/'))return _0x18609c;let _0x73807a=_0x18609c||_0x5436af[_0xdd6dce(0xd1)]['name'];return _0x5d74a4['length']===0x1?_0x5d74a4[0x0]+'/'+_0x374339[_0xdd6dce(0x218)]+'/'+_0x73807a:_0xdd6dce(0x1a7)+(_0x5d74a4[_0xdd6dce(0x1a8)]>0x1?_0x5d74a4[_0xdd6dce(0xdf)]('-'):_0xdd6dce(0x20a))+'/'+_0x374339[_0xdd6dce(0x218)]+'/'+_0x73807a;},ht=(_0x222b7e,_0x2e5bfc)=>{const _0x1e8eab=_0x4a7418;let _0x4d3020=URL['createObjectURL'](_0x222b7e),_0x2cb2cf=document['createElement']('a');_0x2cb2cf['href']=_0x4d3020,_0x2cb2cf[_0x1e8eab(0xf0)]=_0x2e5bfc,_0x2cb2cf['click'](),setTimeout(()=>URL['revokeObjectURL'](_0x4d3020),0x0);},j=(..._0x57da6)=>{const _0x38872c=_0x4a7418;let _0x3f5bcf=new Map();for(let _0x5090eb of _0x57da6)if(_0x5090eb?.['length'])for(let _0x585484 of _0x5090eb){if(!_0x585484?.['file'])continue;let _0x819991=_0x585484[_0x38872c(0x122)]||_0x585484[_0x38872c(0xd1)]['name'];_0x3f5bcf[_0x38872c(0x14f)](_0x819991)||_0x3f5bcf[_0x38872c(0x186)](_0x819991,_0x585484);}return Array[_0x38872c(0x12b)](_0x3f5bcf['values']());},V=class{constructor(_0x5d61f2,_0x3e7db1,_0x3689ae){const _0x3affa7=_0x4a7418;l(this,_0x3affa7(0x18f)),l(this,_0x3affa7(0xe5)),l(this,'onCreate',Date[_0x3affa7(0x141)]()),l(this,_0x3affa7(0x1cd),!0x1);let _0xe87c0a=_0x5d61f2?.['trim']();this['title']=_0xe87c0a?_0xe87c0a+_0x3affa7(0x142)+this['onCreate']:_0x3affa7(0xeb)+this['onCreate'],this['persons']=_0x3e7db1,this[_0x3affa7(0x1cd)]=_0x3689ae;}get[_0x4a7418(0xd0)](){const _0xf4ca5d=_0x4a7418;let _0x5ef325=new Date();return'0\x20HEAD'+p+_0xf4ca5d(0x103)+p+_0xf4ca5d(0x22c)+_0x5ef325[_0xf4ca5d(0x17b)]('fr-FR',xt)+p+_0xf4ca5d(0x119)+_0x5ef325[_0xf4ca5d(0xee)](_0xf4ca5d(0x16e))+p+'1\x20FILE\x20'+this['title']+p+_0xf4ca5d(0xd9)+p+_0xf4ca5d(0xf9)+p+'1\x20CHAR\x20UTF-8'+p;}get['contentGedcom'](){const _0x9c932d=_0x4a7418;return this['persons'][_0x9c932d(0x1c2)](_0x2817b6=>new q(_0x2817b6,this[_0x9c932d(0x1cd)])['line']())[_0x9c932d(0xdf)]('')+new Z(this['persons'])[_0x9c932d(0x226)]();}[_0x4a7418(0xf1)](){const _0x4796b6=_0x4a7418;return new Blob([''+this['beginGedcom']+this[_0x4796b6(0xcf)]+_0x4796b6(0x1b2)],{'type':_0x4796b6(0x1a0)});}},W=class extends V{constructor(..._0x96bf38){const _0x2615e6=_0x4a7418;let [_0x2219b1,_0xa0ebd]=typeof _0x96bf38[0x0]==_0x2615e6(0x1a2)?[_0x96bf38[0x0],_0x96bf38[0x1]]:[void 0x0,_0x96bf38[0x0]];super(_0x2219b1,_0xa0ebd,!0x0);}async[_0x4a7418(0xf0)](){const _0x3b01a5=_0x4a7418;let _0x31e02a={};_0x31e02a[this[_0x3b01a5(0x18f)]+_0x3b01a5(0x22f)]=new Uint8Array(await this[_0x3b01a5(0xf1)]()[_0x3b01a5(0xf8)]());let _0x27c761=[];this['persons'][_0x3b01a5(0x19a)](_0x5b22f3=>{const _0x4b6041=_0x3b01a5;let _0x3d62ba=this[_0x4b6041(0xf6)](_0x5b22f3);j(_0x5b22f3[_0x4b6041(0x114)],_0x5b22f3['multimediaFiles']['files'])[_0x4b6041(0x19a)](_0x115a89=>{const _0x5b9cf8=_0x4b6041;let _0xb11723=this[_0x5b9cf8(0xd2)](_0x115a89,_0x3d62ba);_0x27c761[_0x5b9cf8(0x203)](this['zipFile'](_0x31e02a,_0x115a89,_0xb11723));}),_0x5b22f3[_0x4b6041(0x199)]['list'][_0x4b6041(0x19a)](_0x4afaae=>{const _0x1462b7=_0x4b6041;let _0x18e5ec=this[_0x1462b7(0x1d2)](_0x3d62ba,_0x4afaae);j(_0x4afaae['files'],_0x4afaae[_0x1462b7(0x206)][_0x1462b7(0x114)])[_0x1462b7(0x19a)](_0x177d2d=>{let _0x5b3bd8=ut(_0x4afaae,_0x177d2d,_0x18e5ec);_0x27c761['push'](this['zipFile'](_0x31e02a,_0x177d2d,_0x5b3bd8));});});}),await Promise[_0x3b01a5(0xdc)](_0x27c761),_0x4662b1(_0x31e02a,{'level':0x9},(_0x5136e8,_0x2ad522)=>{if(_0x5136e8)throw _0x5136e8;let _0x1fa53a=Uint8Array['from'](_0x2ad522);setTimeout(()=>{const _0xa16e27=_0x3bd6;ht(new Blob([_0x1fa53a],{'type':_0xa16e27(0x181)}),this['title']+_0xa16e27(0xf2));},0x0);});}[_0x4a7418(0xf6)](_0x194689){const _0x1ee968=_0x4a7418;if(typeof _0x194689[_0x1ee968(0x1bc)]=='number')return''+_0x194689[_0x1ee968(0x1bc)];for(let _0xaad4f4 of _0x194689[_0x1ee968(0x199)][_0x1ee968(0x117)]){let _0x4e8bea=_0xaad4f4['INDIS']['find'](_0x33a1a8=>typeof _0x33a1a8==_0x1ee968(0xf5));if(_0x4e8bea!==void 0x0)return''+_0x4e8bea;}return'';}['resolveActIndis'](_0x416a33,_0x46a527){const _0x3ce6d7=_0x4a7418;let _0x561ded=new Set();return _0x416a33&&_0x561ded[_0x3ce6d7(0xe2)](_0x416a33),_0x46a527['INDIS'][_0x3ce6d7(0x12d)](_0x24aad7=>typeof _0x24aad7=='number')['forEach'](_0x247325=>_0x561ded[_0x3ce6d7(0xe2)](''+_0x247325)),Array[_0x3ce6d7(0x12b)](_0x561ded);}['resolveZipPath'](_0x4493a5,_0x27c016){const _0x14e8af=_0x4a7418;let _0x58b863=_0x27c016[_0x14e8af(0x1a4)](/\/+$/,''),_0x3cde4f=_0x4493a5[_0x14e8af(0x122)]?.[_0x14e8af(0x208)]();if(_0x3cde4f&&_0x3cde4f[_0x14e8af(0xfc)]('/'))return _0x3cde4f;let _0xfebb5d=_0x3cde4f||_0x4493a5[_0x14e8af(0xd1)]['name'];return _0x58b863?_0x58b863+'/'+_0xfebb5d:_0xfebb5d;}async['zipFile'](_0x3a13f5,_0x435724,_0x13186c){let {file:_0x3c14cf,relativePath:_0x4ea456}=_0x435724;if(!_0x3c14cf)return;let _0x1b17c0=_0x13186c||_0x4ea456||_0x3c14cf['name'];_0x3a13f5[_0x1b17c0]=new Uint8Array(await _0x3c14cf['arrayBuffer']());}},_=class extends V{constructor(..._0x3b20ca){let [_0x56e93b,_0x124ac9]=typeof _0x3b20ca[0x0]=='string'?[_0x3b20ca[0x0],_0x3b20ca[0x1]]:[void 0x0,_0x3b20ca[0x0]];super(_0x56e93b,_0x124ac9,!0x1);}[_0x4a7418(0xf0)](){const _0x28f624=_0x4a7418;ht(this[_0x28f624(0xf1)](),this[_0x28f624(0x18f)]+_0x28f624(0x22f));}},Z=class{constructor(_0x277d08){const _0x3c42a4=_0x4a7418;l(this,_0x3c42a4(0x197),new Map()),_0x277d08['forEach'](_0x2cc2b4=>{const _0x490800=_0x3c42a4;let {FAMS:_0x48ac3d,FAMC:_0x42ca93,INDI:_0x26a2a9}=_0x2cc2b4;_0x48ac3d[_0x490800(0x1a8)]>0x0&&this[_0x490800(0x107)]('1\x20'+(_0x2cc2b4[_0x490800(0x1af)]==='M'?_0x490800(0x18e):_0x490800(0x189))+_0x490800(0x17f)+_0x26a2a9+'@\x0a',_0x48ac3d),_0x42ca93&&this[_0x490800(0x107)](_0x490800(0x1ea)+_0x26a2a9+'@\x0a',[_0x42ca93]);});}['lines'](){const _0xcf4402=_0x4a7418;let _0x28791a=[];for(let [_0x1b6f1a,_0x230dda]of this[_0xcf4402(0x197)][_0xcf4402(0x146)]())_0x28791a[_0xcf4402(0x203)](_0xcf4402(0x192)+_0x1b6f1a+'@\x20FAM\x0a',_0x230dda[_0xcf4402(0xdf)](''));return _0x28791a[_0xcf4402(0xdf)]('');}[_0x4a7418(0x107)](_0x569b55,_0x3c7e75){const _0x3147d9=_0x4a7418;_0x3c7e75[_0x3147d9(0x19a)](_0x3f892d=>{const _0x45f145=_0x3147d9;if(this['informationFamilies']['has'](_0x3f892d)){let _0x2c136d=this[_0x45f145(0x197)][_0x45f145(0x188)](_0x3f892d);_0x2c136d[_0x45f145(0x203)](_0x569b55),this[_0x45f145(0x197)][_0x45f145(0x186)](_0x3f892d,_0x2c136d);}else this[_0x45f145(0x197)][_0x45f145(0x186)](_0x3f892d,[_0x569b55]);});}},q=class{constructor(_0x37fa2e,_0x5a7d73){const _0x5ec8e9=_0x4a7418;l(this,_0x5ec8e9(0x1bc)),l(this,'NAME'),l(this,'SEX',''),l(this,'FAMS'),l(this,_0x5ec8e9(0x1f6)),l(this,_0x5ec8e9(0x217),''),l(this,_0x5ec8e9(0x161),''),l(this,_0x5ec8e9(0x22d),''),(this['INDI']=this[_0x5ec8e9(0x1ee)](_0x37fa2e),this[_0x5ec8e9(0x1e2)]=this[_0x5ec8e9(0x1dd)](_0x37fa2e),this['SEX']=this[_0x5ec8e9(0x134)](_0x37fa2e),this['FAMS']=this['getFams'](_0x37fa2e),this[_0x5ec8e9(0x1f6)]=this['getFamc'](_0x37fa2e),_0x5a7d73&&_0x37fa2e[_0x5ec8e9(0x206)][_0x5ec8e9(0x114)][_0x5ec8e9(0x1a8)]>0x0&&(this[_0x5ec8e9(0x217)]=this[_0x5ec8e9(0x147)](_0x37fa2e)),_0x37fa2e[_0x5ec8e9(0x199)][_0x5ec8e9(0x117)]?.[_0x5ec8e9(0x1a8)]>0x0&&(this['ACTS']=new Q(_0x37fa2e)[_0x5ec8e9(0x113)]()),_0x37fa2e[_0x5ec8e9(0x228)][_0x5ec8e9(0x117)][_0x5ec8e9(0x1a8)]>0x0&&(this[_0x5ec8e9(0x22d)]=z(_0x37fa2e[_0x5ec8e9(0x228)],0x1)));}[_0x4a7418(0x113)](){const _0xee7675=_0x4a7418;return this[_0xee7675(0x1bc)]+this['NAME']+this[_0xee7675(0x1af)]+this['FILES']+this[_0xee7675(0x161)]+this[_0xee7675(0x22d)]+this['FAMS']+this['FAMC'];}[_0x4a7418(0x1ee)](_0x166b5d){return'0\x20@I'+_0x166b5d['INDI']+'@\x20INDI'+p;}[_0x4a7418(0x1dd)](_0x190a6d){const _0xc45c6f=_0x4a7418;let _0x1645bd=_0x190a6d[_0xc45c6f(0x13b)]?.[_0xc45c6f(0x1a8)]>0x0?[..._0x190a6d['firstnames']]:[],_0x3ad596=_0x190a6d[_0xc45c6f(0x167)]??'';if(_0x1645bd[_0xc45c6f(0x1a8)]>0x0||_0x3ad596['length']>0x0){let _0x9a072d=_0xc45c6f(0x1ae);return _0x1645bd['length']>0x0&&(_0x1645bd[0x0]='\x22'+_0x1645bd[0x0]+'\x22',_0x9a072d+='\x20'+_0x1645bd['join']('\x20')),_0x3ad596&&_0x3ad596[_0xc45c6f(0x1a8)]>0x0&&(_0x9a072d+='\x20/'+_0x3ad596+'/'),_0x9a072d+p;}return'';}[_0x4a7418(0x134)](_0x25e895){const _0x30e80f=_0x4a7418;return'1\x20SEX\x20'+_0x25e895[_0x30e80f(0x1af)]+p;}[_0x4a7418(0x147)](_0x508194){const _0x50fdcb=_0x4a7418;return _0x508194[_0x50fdcb(0x206)]?.['files']['map'](_0x550f37=>_0x50fdcb(0x223)+_0x550f37['relativePath']+p)[_0x50fdcb(0xdf)]('')??'';}[_0x4a7418(0x120)](_0xc604b8){const _0x39532f=_0x4a7418;return _0xc604b8[_0x39532f(0xf3)][_0x39532f(0x12d)](_0x3210ac=>_0x3210ac>=0x0)[_0x39532f(0x1c2)](_0x59792b=>'1\x20FAMS\x20@F'+_0x59792b+'@'+p)[_0x39532f(0xdf)]('');}[_0x4a7418(0xdd)](_0x52a42b){const _0x1b4c30=_0x4a7418;return _0x52a42b['FAMC']?_0x1b4c30(0x1b9)+_0x52a42b[_0x1b4c30(0x1f6)]+'@'+p:'';}},K=class o{constructor(_0x140939,_0x2d0202){const _0x243d56=_0x4a7418;l(this,_0x243d56(0x22e)),l(this,'PLACE'),l(this,'DATE'),l(this,'NOTES'),l(this,_0x243d56(0x217)),l(this,_0x243d56(0x1c6)),(this['ownerIndi']=_0x2d0202,this['TYPE']=this[_0x243d56(0x17d)](_0x140939),this[_0x243d56(0x169)]=this[_0x243d56(0xec)](_0x140939),this[_0x243d56(0x19d)]=this['getDate'](_0x140939),this[_0x243d56(0x22d)]=z(_0x140939['notes'],0x2),this['FILES']=this[_0x243d56(0x184)](_0x140939));}static[_0x4a7418(0x225)](_0x228ee7){const _0x5b7c49=_0x4a7418;return _0x228ee7[_0x5b7c49(0x164)]??'';}['line'](){const _0x3cac09=_0x4a7418;return this[_0x3cac09(0x22e)]+this['DATE']+this[_0x3cac09(0x169)]+this[_0x3cac09(0x22d)]+this[_0x3cac09(0x217)];}[_0x4a7418(0x184)](_0x295949){const _0x5a87f7=_0x4a7418;let _0x1fbf85=this[_0x5a87f7(0x1d2)](_0x295949);return j(_0x295949[_0x5a87f7(0x114)],_0x295949[_0x5a87f7(0x206)]['files'])[_0x5a87f7(0x1c2)](_0x3c11a4=>_0x5a87f7(0x11f)+ut(_0x295949,_0x3c11a4,_0x1fbf85)+p)[_0x5a87f7(0xdf)]('');}[_0x4a7418(0x1d2)](_0x1d811a){const _0xd7efe1=_0x4a7418;let _0x401438=new Set();return typeof this[_0xd7efe1(0x1c6)]==_0xd7efe1(0xf5)&&_0x401438['add'](''+this[_0xd7efe1(0x1c6)]),_0x1d811a[_0xd7efe1(0x205)]['filter'](_0x4baf2f=>typeof _0x4baf2f==_0xd7efe1(0xf5))['forEach'](_0x4cf3d3=>_0x401438['add'](''+_0x4cf3d3)),Array['from'](_0x401438);}[_0x4a7418(0x17d)](_0x188515){return'1\x20'+_0x188515['type']+p;}['getDate'](_0x2827f6){const _0x5e063f=_0x4a7418;return _0x2827f6?.['dateAct']?.['date']?_0x5e063f(0x12a)+o[_0x5e063f(0x225)](_0x2827f6[_0x5e063f(0xd4)])+p:'';}['getPlace'](_0x3c88af){const _0x521927=_0x4a7418;let _0x15b658=_0x3c88af['place']?.[_0x521927(0x1ab)];if(!_0x15b658)return'';let {latitude:_0x5d77e7,longitude:_0x56e32f}=_0x3c88af[_0x521927(0x1ed)]['coordinate'],_0x40884d='2\x20PLAC\x20'+_0x15b658+p;return!_0x5d77e7||!_0x56e32f?_0x40884d:_0x40884d+('3\x20MAP'+p+_0x521927(0x1a1)+_0x5d77e7+p+'4\x20LONG\x20'+_0x56e32f+p);}},Q=class{constructor(_0x47b5b5){const _0x5f153b=_0x4a7418;l(this,'acts'),l(this,'INDI'),(this['acts']=_0x47b5b5['acts'][_0x5f153b(0x117)],this[_0x5f153b(0x1bc)]=_0x47b5b5['INDI']);}['line'](){const _0x326c02=_0x4a7418;return this[_0x326c02(0x199)]['map'](_0x460d32=>new K(_0x460d32,this[_0x326c02(0x1bc)])['line']())['join']('');}},mt=(_0x383692,_0x2331cd,_0x1232de,_0x3277c6)=>{const _0x2ed0e2=_0x4a7418;if(_0x3277c6=_0x3277c6??new Map(),_0x1232de=_0x1232de??0x1,typeof _0x383692['INDI']!='number')return _0x3277c6;if(_0x3277c6[_0x2ed0e2(0x186)](_0x383692[_0x2ed0e2(0x1bc)],_0x1232de),_0x2331cd[_0x2ed0e2(0x14f)](_0x383692['FAMC'])){let _0xae2d96=_0x2331cd[_0x2ed0e2(0x188)](_0x383692['FAMC']);_0xae2d96?.[_0x2ed0e2(0x1a8)]>0x1&&(_0xae2d96=[..._0xae2d96][_0x2ed0e2(0xf7)]((_0x95fb49,_0x2f3d46)=>_0x95fb49[_0x2ed0e2(0x1af)]&&_0x2f3d46[_0x2ed0e2(0x1af)]?_0x2f3d46['SEX'][_0x2ed0e2(0x15b)](_0x95fb49[_0x2ed0e2(0x1af)]):0x0)),_0xae2d96[_0x2ed0e2(0x19a)](_0xaeefaf=>{const _0x457458=_0x2ed0e2;_0xaeefaf[_0x457458(0x1af)]&&(_0x3277c6=mt(_0xaeefaf,_0x2331cd,_0x1232de*0x2+(_0xaeefaf[_0x457458(0x1af)]==='M'?0x0:0x1),_0x3277c6));});}return _0x3277c6;},It=[_0x4a7418(0xe6),_0x4a7418(0x1b7),_0x4a7418(0x1b3),'CHR'],Ct=['MARR','DIV'],$t=(_0x2fad52,_0x48d75b)=>{const _0x290dc5=_0x4a7418;let _0x56c91c=new Set(_0x2fad52[_0x290dc5(0x117)]['map'](_0x3f7497=>_0x3f7497[_0x290dc5(0x218)])),_0x5b14c3=[...It[_0x290dc5(0x12d)](_0xe41f11=>!_0x56c91c[_0x290dc5(0x14f)](_0xe41f11)),...Ct];return _0x48d75b&&(_0x5b14c3[_0x290dc5(0xfc)](_0x48d75b[_0x290dc5(0x218)])||_0x5b14c3[_0x290dc5(0x203)](_0x48d75b[_0x290dc5(0x218)])),_0x5b14c3;};function Lt(_0x5d6d3f,_0xb1df65){const _0xc0052e=_0x4a7418;let _0x5d6288=_0xc0052e(0x10d)+encodeURIComponent(_0x5d6d3f)+'&polygon_geojson=1&format=jsonv2',_0x1c9010=new XMLHttpRequest();_0x1c9010['open']('GET',_0x5d6288,!0x0),_0x1c9010[_0xc0052e(0x106)]=function(){const _0x458e29=_0xc0052e;if(_0x1c9010['status']>=0xc8&&_0x1c9010[_0x458e29(0x13c)]<0x190){let _0x2b6207=JSON[_0x458e29(0x21e)](_0x1c9010[_0x458e29(0x101)])[_0x458e29(0x1c2)](_0x4d1f58=>{const _0x4f8a0b=_0x458e29;let {display_name:_0xa735bc,lat:_0x40e59d,lon:_0x5900c6}=_0x4d1f58,_0x3f46ad=_0xa735bc['split'](',\x20'),_0x73eef5=_0x3f46ad[0x0]+',\x20'+_0x3f46ad[_0x3f46ad[_0x4f8a0b(0x1a8)]-0x2]+',\x20'+_0x3f46ad[_0x3f46ad['length']-0x1];return new E(_0x73eef5,new v(_0x40e59d,_0x5900c6));});_0xb1df65(_0x2b6207);}else _0xb1df65([]);},_0x1c9010[_0xc0052e(0x100)]=function(){_0xb1df65([]);},_0x1c9010[_0xc0052e(0x1f2)]();}var rn=g;export{B as Act,F as Acts,U as ActsByYear,v as CoordinateGPS,T as DateAct,J as EventsByYears,_ as ExportGedcomFile,W as ExportGedzipFile,rn as Identificator,g as Identifier,N as MultimediaFile,y as MultimediaFiles,D as Note,P as Notes,S as Person,E as Place,b as ReadGed,R as Sex,mt as createSosaMap,gt as dateToDateLine,H as days,Lt as getCityCoordinates,Pt as importGedFile,$ as months,$t as remainingTypesAct};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function extractNumericPointer(value: string, prefix: string): number | null;
|
|
2
|
+
export declare function extractEntityIdFromZeroLine(line: string, prefix: string, entityTag: string): number | null;
|
|
3
|
+
export declare function extractPointerIdFromLine(line: string, prefix: string): number | null;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gedcom-ts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.",
|
|
5
5
|
"author": "Bertrand Jaunet <bertrand.jaunet@gmail.com>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/*",
|
|
9
|
-
"LICENSE"
|
|
9
|
+
"LICENSE",
|
|
10
|
+
"CHANGELOG.md"
|
|
10
11
|
],
|
|
11
12
|
"main": "dist/index.cjs",
|
|
12
13
|
"type": "module",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"lint:fix": "eslint . --fix"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"
|
|
38
|
+
"fflate": "^0.8.2"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"@eslint/js": "^10.0.1",
|