// @bun
import{EventRegistry as u,OperationSpecRegistry as w}from"@contractspec/lib.contracts-spec";import{DataViewRegistry as x}from"@contractspec/lib.contracts-spec/data-views";import{ContractReferenceDataView as z,ContractReferenceQuery as A,DocsGenerateCommand as B,DocsGeneratedEvent as D,DocsIndexDataView as E,DocsIndexQuery as F,DocsLayoutPresentation as G,DocsPublishCommand as H,DocsPublishedEvent as I,DocsReferencePagePresentation as J,DocsSearchForm as K,ExampleCatalogDataView as L}from"@contractspec/lib.contracts-spec/docs";import{FormRegistry as M}from"@contractspec/lib.contracts-spec/forms";import{PresentationRegistry as N}from"@contractspec/lib.contracts-spec/presentations";import{serializeDataViewSpec as O,serializeEventSpec as Q,serializeFormSpec as T,serializeOperationSpec as U,serializePresentationSpec as V}from"@contractspec/lib.contracts-spec/serialization";var h=null;function W(){let b=new w;return b.register(F).register(A).register(B).register(H),b}function X(){if(!h)h=W();return h}function Y(b,d){return X().get(b,d)}var j=null;function Z(){let b=new u;return b.register(D).register(I),b}function _(){if(!j)j=Z();return j}function $(b,d){return _().get(b,d)}var l=null;function C(){let b=new N;return b.register(G).register(J),b}function P(){if(!l)l=C();return l}function R(b,d){return P().get(b,d)}var m=null;function S(){let b=new x;return b.register(E).register(z).register(L),b}function a(){if(!m)m=S();return m}function p(b,d){return a().get(b,d)}var q=null;function c(){let b=new M;return b.register(K),b}function g(){if(!q)q=c();return q}function t(b,d){return g().get(b)}function fb(b,d){let f=Y(b,d);return U(f)??void 0}function hb(b,d){let f=$(b,d);return Q(f)??void 0}function jb(b,d){let f=R(b,d);return V(f)??void 0}function lb(b,d){let f=p(b,d);return O(f)??void 0}function mb(b,d){let f=t(b,d);return T(f)??void 0}function v(){h=null}function k(){j=null}function o(){l=null}function n(){m=null}function i(){q=null}function qb(){v(),k(),o(),n(),i()}export{jb as resolveSerializedPresentationSpec,fb as resolveSerializedOperationSpec,mb as resolveSerializedFormSpec,hb as resolveSerializedEventSpec,lb as resolveSerializedDataViewSpec,R as resolvePresentationSpec,Y as resolveOperationSpec,t as resolveFormSpec,$ as resolveEventSpec,p as resolveDataViewSpec,o as resetContractSpecPresentationRegistry,v as resetContractSpecOperationRegistry,i as resetContractSpecFormRegistry,k as resetContractSpecEventRegistry,n as resetContractSpecDataViewRegistry,qb as resetAllContractSpecRegistries,P as getContractSpecPresentationRegistry,X as getContractSpecOperationRegistry,g as getContractSpecFormRegistry,_ as getContractSpecEventRegistry,a as getContractSpecDataViewRegistry,C as createContractSpecPresentationRegistry,W as createContractSpecOperationRegistry,c as createContractSpecFormRegistry,Z as createContractSpecEventRegistry,S as createContractSpecDataViewRegistry};
