import{__require as e}from"./getOrderData.mjs";import{__require as r}from"../getComments.mjs";var t,o;function n(){if(o)return t;o=1;const n=e(),i=r();return t=function(e,r,t,o){if("comment"===e.type)return o;const s=n(t,e);e.position=s&&s.position?s.position:1/0,e.initialIndex=r;const m=i.beforeNode([],e.prev(),e),u=i.afterNode([],e.next(),e);return[...o,...m,e,...u]}}export{n as __require};