import{_ as e,a as t,g as n,l as r,n as i,r as a,t as o,v as s,y as c}from"./chunk-NNHCCRGN-DHF3V75i.js";var l=class extends o{static{n(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},u=class extends i{static{n(this,`ArchitectureValueConverter`)}runCustomConverter(e,t,n){if(e.name===`ARCH_ICON`)return t.replace(/[()]/g,``).trim();if(e.name===`ARCH_TEXT_ICON`)return t.replace(/["()]/g,``);if(e.name===`ARCH_TITLE`){let e=t.replace(/^\[|]$/g,``).trim();return(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,`"`).replace(/\\'/g,`'`)),e.trim()}}},d={parser:{TokenBuilder:n(()=>new l,`TokenBuilder`),ValueConverter:n(()=>new u,`ValueConverter`)}};function f(n=t){let i=c(s(n),r),o=c(e({shared:i}),a,d);return i.ServiceRegistry.register(o),{shared:i,Architecture:o}}n(f,`createArchitectureServices`);export{f as n,d as t};