import{f as r}from"./chartBusibess.7f3af0e7.js";function u(e,o,l="/",n){const a=e.map(t=>{const{key:c}=t;return t.value=o[c]||l,t});return n?a.filter(t=>t.value):a}function s(e,o,l=!0){const n={};for(let a in e){const t=o[a];l?n[t||a]=e[a]:t&&(n[t]=e[a])}return n}const p={zsk_product_temp:"product",zsk_personal_temp:"personal",zsk_org_temp:"organization",zsk_geographical_temp:"geographical",zsk_event_temp:"event"},g={product:"zsk_product_temp",personal:"zsk_personal_temp",organization:"zsk_org_temp",geographical:"zsk_geographical_temp",event:"zsk_event_temp"},k=[{label:"\u5F02\u540D",key:"variantPersonalName"},{label:"\u6027\u522B",key:"gender"},{label:"\u65F6\u4EE3",key:"period"},{label:"\u51FA\u751F\u5E74",key:"birthDate"},{label:"\u5352\u5E74",key:"deathDate"},{label:"\u7C4D\u8D2F",key:"nativePlace"},{label:"\u4F20\u7565",key:"biography"}],d=[{label:"\u4EBA\u7269",value:"personal",checked:!0,count:0,filter({targetType:e}){return e==="personal"},icon:r("person")},{label:"\u673A\u6784",value:"organization",checked:!0,count:0,filter({targetType:e}){return["org","organization"].includes(e)},icon:r("org")},{label:"\u4E8B\u4EF6",value:"event",checked:!0,count:0,filter({targetType:e}){return e==="event"},icon:r("event")},{label:"\u5730\u540D",value:"geographical",checked:!0,count:0,filter({targetType:e}){return e==="geographical"},icon:r("geo")},{label:"\u7269\u4EA7",value:"product",checked:!0,count:0,filter({targetType:e}){return e==="product"},icon:r("product")},{label:"\u8457\u8FF0",value:"writing",checked:!0,count:0,filter({targetType:e}){return e==="writing"},icon:r("writing")},{label:"\u6210\u679C",value:"achievement",checked:!0,count:0,filter({targetType:e}){return e==="achievement"},icon:r("achievement")}];export{s as a,p as b,u as d,d as k,k as p,g as t};
