import{__require as n}from"./conversions.mjs";var t,e;function r(){if(e)return t;e=1;const r=n();function o(n){const t=function(){const n={},t=Object.keys(r);for(let e=t.length,r=0;r<e;r++)n[t[r]]={distance:-1,parent:null};return n}(),e=[n];for(t[n].distance=0;e.length;){const n=e.pop(),o=Object.keys(r[n]);for(let r=o.length,c=0;c<r;c++){const r=o[c],s=t[r];-1===s.distance&&(s.distance=t[n].distance+1,s.parent=n,e.unshift(r))}}return t}function c(n,t){return function(e){return t(n(e))}}function s(n,t){const e=[t[n].parent,n];let o=r[t[n].parent][n],s=t[n].parent;for(;t[s].parent;)e.unshift(t[s].parent),o=c(r[t[s].parent][s],o),s=t[s].parent;return o.conversion=e,o}return t=function(n){const t=o(n),e={},r=Object.keys(t);for(let n=r.length,o=0;o<n;o++){const n=r[o];null!==t[n].parent&&(e[n]=s(n,t))}return e}}export{r as __require};