"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../../../../parchment@3.0.0/node_modules/parchment/dist/parchment.js"),c=100,a=["block","break","cursor","inline","scroll","text"],u=(s,i,o)=>{const t=new l.Registry;return a.forEach(r=>{const e=i.query(r);e&&t.register(e)}),s.forEach(r=>{let e=i.query(r);e||o.error(`Cannot register "${r}" specified in "formats" config. Are you sure it was registered?`);let n=0;for(;e;)if(t.register(e),e="blotName"in e?e.requiredContainer??null:null,n+=1,n>c){o.error(`Cycle detected in registering blot requiredContainer: "${r}"`);break}}),t};exports.default=u;
