/*! third party licenses: js/vendor.LICENSE.txt */
import{g as d}from"./logreader-main.mjs";function h(r,c){for(var s=0;s<c.length;s++){const t=c[s];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const e=Object.getOwnPropertyDescriptor(t,a);e&&Object.defineProperty(r,a,e.get?e:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var g=function(r){for(var c=0,s=1,t=2,a=3,e=c,i=0,b=null,o=[],n=0;n<r.length;++n)switch(e){case c:switch(r[n]){case"{":++i,e=s,b=n;break}break;case s:switch(r[n]){case"{":++i;break;case"}":--i,i===0&&(e=c,o.push({start:b,end:n+1}));break;case'"':e=t;break}break;case t:switch(r[n]){case'"':e=s;break;case"\\":e=a;break}break;case a:e=t;break}var f={jsons:[],remainder:r.substring(o[o.length-1].end)};return o.forEach(function(u){f.jsons.push(r.substring(u.start,u.end))}),f};const k=d(g),p=h({__proto__:null,default:k},[g]);export{p as S};
