(function(e,l){if(typeof module=="object"&&module.exports){module.exports=l(e);return}e.ProfileReminderPages=l(e),e.document&&e.document.addEventListener("DOMContentLoaded",e.ProfileReminderPages.init)})(typeof globalThis!="undefined"?globalThis:window,function(e){"use strict";function l(n){return String(n==null?"":n).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function p(n){var r=String(n==null?"":n).trim();return/^[1-9][0-9]*$/.test(r)?r:""}function d(n){var r=n||{},i=p(r.personId),a=String(r.displayName||"").trim(),t=String(r.missingFieldLabel||r.missingField||"").trim();return!i||!a||!t?null:{personId:i,displayName:a,label:t,handlingStatus:String(r.handlingStatus||"").trim(),updatedAt:String(r.updatedAt||"").trim()}}function s(n,r){var i=Array.isArray(n)?n.map(d).filter(Boolean):[],a="profile-tree.html?genealogyId="+encodeURIComponent(r||"");return i.length?i.map(function(t){return' 待完善:"+l(t.label)+(t.updatedAt?" · 最近更新 "+l(t.updatedAt):"")+''+l(t.displayName)+"