import{getDocUrl as o}from"./lib/dev-hub-url.js";import{defineSmartComponent as t}from"./lib/smart/define-smart-component.js";import{i18n as e}from"./translation.js";import"./cc-smart-container.js";import{CcAddonInfoClient as n}from"./cc-addon-info.client.js";import"./cc-addon-info.js";t({selector:'cc-addon-info[smart-mode="materia-kv"]',params:{apiConfig:{type:Object},ownerId:{type:String},addonId:{type:String}},onContextUpdate({context:t,updateComponent:a,signal:r}){const{apiConfig:d,ownerId:i,addonId:c}=t,p=new n({apiConfig:d,ownerId:i,addonId:c,providerId:"kv",signal:r});a("state",{type:"loading",type:"loading",creationDate:"2025-08-06 15:03:00"}),a("docLink",{text:e("cc-addon-info.doc-link.materia-kv"),href:o("/addons/materia-kv")}),p._getAddon().then((o=>{a("state",{type:"loaded",creationDate:o.creationDate})})).catch((o=>{console.error(o),a("state",{type:"error"})}))}});
//# sourceMappingURL=cc-addon-info.smart-materia-kv.js.map
