h=open('index_main.html',encoding='utf-8').read()
i = h.index('const VERIFIED_DETAILS=new Set([')
print('VD start at', i)
j = i + len('const VERIFIED_DETAILS=new Set(')
depth = 0
while j < len(h):
    c = h[j]
    if c == '[':
        depth += 1
    elif c == ']':
        depth -= 1
        if depth == 0:
            end = j
            break
    j += 1
print('VD end at', end)
print('--- VD content (last 600 chars) ---')
print(h[end-600:end+50])
