import{C as u,c as C,a as d,b as R,d as A,e as b,f as v,g as x,r as P,v as S}from"../assets/contract-Qrs4QEiv.js";import{mountCharacterCreator as L}from"../assets/creator-D2dxB1Ao.js";import{characterAssetUrl as H,composeCharacter as I,loadCharacterAvatar as M}from"../assets/avatar-Wh2vRFi4.js";import"../assets/schemas-DQxGDFXJ.js";import"../assets/preview-Bg2FRQuf.js";import"../assets/avatar-BEKAZIeX.js";import"../assets/scenes-BTLfAamk.js";function p(e,s){const r=structuredClone(e),t=String(s),c=[...r.parts.flatMap(a=>[a.asset,...a.thumbnail?[a.thumbnail]:[]]),...r.rigs.flatMap(a=>[a.asset,a.defaultAnimations,...a.clips.map(o=>o.asset)])];for(const a of c)a.url=new URL(a.file,t.endsWith("/")?t:t+"/").href;return r}export{u as CHARACTER_PROFILE,C as characterAppearance,H as characterAssetUrl,d as characterHiddenSlots,R as characterLimits,A as characterPartIssue,b as characterRecipeSchema,v as characterSlots,I as composeCharacter,x as defaultCharacterRecipe,M as loadCharacterAvatar,L as mountCharacterCreator,P as reconcileCharacterParts,p as resolveCharacterPack,S as validateCharacterRecipe};
