UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

2,141 lines 163 kB
import { n as g } from "./chunk-Y2CYZVJY-0JxdZxki.js"; import { m as st, p as Vt } from "./src-DtRLxcYO.js"; import { A as $, F as Be, G as er, H as rr, K as ar, O as sr, U as Ce, a as ir, b as Kt, c as nr, i as Pt, r as or, s as N, v as cr, w as lr, x as tt, y as hr, z as Yt } from "./chunk-WYO6CB5R-DDHkKowO.js"; import { t as dr } from "./dist-C0Fwsvsq.js"; import { g as Z, p as Ve } from "./chunk-ICXQ74PX-DR8rL-xF.js"; import { a as Tr, c as se, i as ie, n as pr, r as ne, s as Tt } from "./chunk-32BRIVSS-jAuAwMVV.js"; import { t as Er } from "./chunk-2Q5K7J3B-DlFVJRAn.js"; import { n as ur, t as fr } from "./chunk-ZIRB5QZD-C7OH2FI2.js"; var Ye = dr(), ee = (function() { var e = /* @__PURE__ */ g(function(S, v, M, B) { for (M = M || {}, B = S.length; B--; M[S[B]] = v) ; return M; }, "o"), t = [1, 2], a = [1, 3], r = [1, 4], i = [2, 4], n = [1, 9], s = [1, 11], o = [1, 12], u = [1, 14], T = [1, 15], h = [1, 17], x = [1, 18], E = [1, 19], L = [1, 25], p = [1, 26], _ = [1, 27], f = [1, 28], I = [1, 29], O = [1, 30], b = [1, 31], A = [1, 32], P = [1, 33], k = [1, 34], C = [1, 35], W = [1, 36], K = [1, 37], U = [1, 38], G = [1, 39], J = [1, 40], nt = [1, 42], et = [1, 43], z = [1, 44], it = [1, 45], rt = [1, 46], Y = [1, 47], D = [ 1, 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 49, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], At = [1, 74], kt = [1, 80], m = [1, 81], w = [1, 82], ht = [1, 83], at = [1, 84], F = [1, 85], Ot = [1, 86], oe = [1, 87], ce = [1, 88], le = [1, 89], he = [1, 90], de = [1, 91], Te = [1, 92], pe = [1, 93], Ee = [1, 94], ue = [1, 95], fe = [1, 96], _e = [1, 97], ge = [1, 98], xe = [1, 99], Ie = [1, 100], ye = [1, 101], Re = [1, 102], Oe = [1, 103], Le = [1, 104], be = [1, 105], me = [2, 78], St = [ 4, 5, 17, 51, 53, 54 ], Dt = [ 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], Ae = [ 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], Ut = [ 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 49, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], Se = [ 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], Gt = [5, 52], q = [ 70, 71, 72, 73 ], ot = [1, 151], Xt = { trace: /* @__PURE__ */ g(function() { }, "trace"), yy: {}, symbols_: { error: 2, start: 3, SPACE: 4, NEWLINE: 5, SD: 6, document: 7, line: 8, statement: 9, INVALID: 10, box_section: 11, box_line: 12, participant_statement: 13, create: 14, box: 15, restOfLine: 16, end: 17, signal: 18, autonumber: 19, NUM: 20, off: 21, activate: 22, actor: 23, deactivate: 24, note_statement: 25, links_statement: 26, link_statement: 27, properties_statement: 28, details_statement: 29, title: 30, legacy_title: 31, acc_title: 32, acc_title_value: 33, acc_descr: 34, acc_descr_value: 35, acc_descr_multiline_value: 36, loop: 37, rect: 38, opt: 39, alt: 40, else_sections: 41, par: 42, par_sections: 43, par_over: 44, critical: 45, option_sections: 46, break: 47, option: 48, and: 49, else: 50, participant: 51, AS: 52, participant_actor: 53, destroy: 54, actor_with_config: 55, note: 56, placement: 57, text2: 58, over: 59, actor_pair: 60, links: 61, link: 62, properties: 63, details: 64, spaceList: 65, ",": 66, left_of: 67, right_of: 68, signaltype: 69, "+": 70, "-": 71, "()": 72, ACTOR: 73, config_object: 74, CONFIG_START: 75, CONFIG_CONTENT: 76, CONFIG_END: 77, SOLID_OPEN_ARROW: 78, DOTTED_OPEN_ARROW: 79, SOLID_ARROW: 80, SOLID_ARROW_TOP: 81, SOLID_ARROW_BOTTOM: 82, STICK_ARROW_TOP: 83, STICK_ARROW_BOTTOM: 84, SOLID_ARROW_TOP_DOTTED: 85, SOLID_ARROW_BOTTOM_DOTTED: 86, STICK_ARROW_TOP_DOTTED: 87, STICK_ARROW_BOTTOM_DOTTED: 88, SOLID_ARROW_TOP_REVERSE: 89, SOLID_ARROW_BOTTOM_REVERSE: 90, STICK_ARROW_TOP_REVERSE: 91, STICK_ARROW_BOTTOM_REVERSE: 92, SOLID_ARROW_TOP_REVERSE_DOTTED: 93, SOLID_ARROW_BOTTOM_REVERSE_DOTTED: 94, STICK_ARROW_TOP_REVERSE_DOTTED: 95, STICK_ARROW_BOTTOM_REVERSE_DOTTED: 96, BIDIRECTIONAL_SOLID_ARROW: 97, DOTTED_ARROW: 98, BIDIRECTIONAL_DOTTED_ARROW: 99, SOLID_CROSS: 100, DOTTED_CROSS: 101, SOLID_POINT: 102, DOTTED_POINT: 103, TXT: 104, $accept: 0, $end: 1 }, terminals_: { 2: "error", 4: "SPACE", 5: "NEWLINE", 6: "SD", 10: "INVALID", 14: "create", 15: "box", 16: "restOfLine", 17: "end", 19: "autonumber", 20: "NUM", 21: "off", 22: "activate", 24: "deactivate", 30: "title", 31: "legacy_title", 32: "acc_title", 33: "acc_title_value", 34: "acc_descr", 35: "acc_descr_value", 36: "acc_descr_multiline_value", 37: "loop", 38: "rect", 39: "opt", 40: "alt", 42: "par", 44: "par_over", 45: "critical", 47: "break", 48: "option", 49: "and", 50: "else", 51: "participant", 52: "AS", 53: "participant_actor", 54: "destroy", 56: "note", 59: "over", 61: "links", 62: "link", 63: "properties", 64: "details", 66: ",", 67: "left_of", 68: "right_of", 70: "+", 71: "-", 72: "()", 73: "ACTOR", 75: "CONFIG_START", 76: "CONFIG_CONTENT", 77: "CONFIG_END", 78: "SOLID_OPEN_ARROW", 79: "DOTTED_OPEN_ARROW", 80: "SOLID_ARROW", 81: "SOLID_ARROW_TOP", 82: "SOLID_ARROW_BOTTOM", 83: "STICK_ARROW_TOP", 84: "STICK_ARROW_BOTTOM", 85: "SOLID_ARROW_TOP_DOTTED", 86: "SOLID_ARROW_BOTTOM_DOTTED", 87: "STICK_ARROW_TOP_DOTTED", 88: "STICK_ARROW_BOTTOM_DOTTED", 89: "SOLID_ARROW_TOP_REVERSE", 90: "SOLID_ARROW_BOTTOM_REVERSE", 91: "STICK_ARROW_TOP_REVERSE", 92: "STICK_ARROW_BOTTOM_REVERSE", 93: "SOLID_ARROW_TOP_REVERSE_DOTTED", 94: "SOLID_ARROW_BOTTOM_REVERSE_DOTTED", 95: "STICK_ARROW_TOP_REVERSE_DOTTED", 96: "STICK_ARROW_BOTTOM_REVERSE_DOTTED", 97: "BIDIRECTIONAL_SOLID_ARROW", 98: "DOTTED_ARROW", 99: "BIDIRECTIONAL_DOTTED_ARROW", 100: "SOLID_CROSS", 101: "DOTTED_CROSS", 102: "SOLID_POINT", 103: "DOTTED_POINT", 104: "TXT" }, productions_: [ 0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [8, 1], [11, 0], [11, 2], [12, 2], [12, 1], [12, 1], [9, 1], [9, 2], [9, 4], [9, 2], [9, 4], [9, 3], [9, 3], [9, 2], [9, 3], [9, 3], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [46, 1], [46, 4], [43, 1], [43, 4], [41, 1], [41, 4], [13, 5], [13, 3], [13, 5], [13, 3], [13, 3], [13, 5], [13, 3], [13, 5], [13, 3], [25, 4], [25, 4], [26, 3], [27, 3], [28, 3], [29, 3], [65, 2], [65, 1], [60, 3], [60, 1], [57, 1], [57, 1], [18, 5], [18, 5], [18, 5], [18, 5], [18, 6], [18, 4], [55, 2], [74, 3], [23, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [69, 1], [58, 1] ], performAction: /* @__PURE__ */ g(function(v, M, B, y, X, c, Nt) { var d = c.length - 1; switch (X) { case 3: return y.apply(c[d]), c[d]; case 4: case 10: this.$ = []; break; case 5: case 11: c[d - 1].push(c[d]), this.$ = c[d - 1]; break; case 6: case 7: case 12: case 13: this.$ = c[d]; break; case 8: case 9: case 14: this.$ = []; break; case 16: c[d].type = "createParticipant", this.$ = c[d]; break; case 17: c[d - 1].unshift({ type: "boxStart", boxData: y.parseBoxData(c[d - 2]) }), c[d - 1].push({ type: "boxEnd", boxText: c[d - 2] }), this.$ = c[d - 1]; break; case 19: this.$ = { type: "sequenceIndex", sequenceIndex: Number(c[d - 2]), sequenceIndexStep: Number(c[d - 1]), sequenceVisible: !0, signalType: y.LINETYPE.AUTONUMBER }; break; case 20: this.$ = { type: "sequenceIndex", sequenceIndex: Number(c[d - 1]), sequenceIndexStep: 1, sequenceVisible: !0, signalType: y.LINETYPE.AUTONUMBER }; break; case 21: this.$ = { type: "sequenceIndex", sequenceVisible: !1, signalType: y.LINETYPE.AUTONUMBER }; break; case 22: this.$ = { type: "sequenceIndex", sequenceVisible: !0, signalType: y.LINETYPE.AUTONUMBER }; break; case 23: this.$ = { type: "activeStart", signalType: y.LINETYPE.ACTIVE_START, actor: c[d - 1].actor }; break; case 24: this.$ = { type: "activeEnd", signalType: y.LINETYPE.ACTIVE_END, actor: c[d - 1].actor }; break; case 30: y.setDiagramTitle(c[d].substring(6)), this.$ = c[d].substring(6); break; case 31: y.setDiagramTitle(c[d].substring(7)), this.$ = c[d].substring(7); break; case 32: this.$ = c[d].trim(), y.setAccTitle(this.$); break; case 33: case 34: this.$ = c[d].trim(), y.setAccDescription(this.$); break; case 35: c[d - 1].unshift({ type: "loopStart", loopText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.LOOP_START }), c[d - 1].push({ type: "loopEnd", loopText: c[d - 2], signalType: y.LINETYPE.LOOP_END }), this.$ = c[d - 1]; break; case 36: c[d - 1].unshift({ type: "rectStart", color: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.RECT_START }), c[d - 1].push({ type: "rectEnd", color: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.RECT_END }), this.$ = c[d - 1]; break; case 37: c[d - 1].unshift({ type: "optStart", optText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.OPT_START }), c[d - 1].push({ type: "optEnd", optText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.OPT_END }), this.$ = c[d - 1]; break; case 38: c[d - 1].unshift({ type: "altStart", altText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.ALT_START }), c[d - 1].push({ type: "altEnd", signalType: y.LINETYPE.ALT_END }), this.$ = c[d - 1]; break; case 39: c[d - 1].unshift({ type: "parStart", parText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.PAR_START }), c[d - 1].push({ type: "parEnd", signalType: y.LINETYPE.PAR_END }), this.$ = c[d - 1]; break; case 40: c[d - 1].unshift({ type: "parStart", parText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.PAR_OVER_START }), c[d - 1].push({ type: "parEnd", signalType: y.LINETYPE.PAR_END }), this.$ = c[d - 1]; break; case 41: c[d - 1].unshift({ type: "criticalStart", criticalText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.CRITICAL_START }), c[d - 1].push({ type: "criticalEnd", signalType: y.LINETYPE.CRITICAL_END }), this.$ = c[d - 1]; break; case 42: c[d - 1].unshift({ type: "breakStart", breakText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.BREAK_START }), c[d - 1].push({ type: "breakEnd", optText: y.parseMessage(c[d - 2]), signalType: y.LINETYPE.BREAK_END }), this.$ = c[d - 1]; break; case 44: this.$ = c[d - 3].concat([{ type: "option", optionText: y.parseMessage(c[d - 1]), signalType: y.LINETYPE.CRITICAL_OPTION }, c[d]]); break; case 46: this.$ = c[d - 3].concat([{ type: "and", parText: y.parseMessage(c[d - 1]), signalType: y.LINETYPE.PAR_AND }, c[d]]); break; case 48: this.$ = c[d - 3].concat([{ type: "else", altText: y.parseMessage(c[d - 1]), signalType: y.LINETYPE.ALT_ELSE }, c[d]]); break; case 49: c[d - 3].draw = "participant", c[d - 3].type = "addParticipant", c[d - 3].description = y.parseMessage(c[d - 1]), this.$ = c[d - 3]; break; case 50: c[d - 1].draw = "participant", c[d - 1].type = "addParticipant", this.$ = c[d - 1]; break; case 51: c[d - 3].draw = "actor", c[d - 3].type = "addParticipant", c[d - 3].description = y.parseMessage(c[d - 1]), this.$ = c[d - 3]; break; case 52: case 57: c[d - 1].draw = "actor", c[d - 1].type = "addParticipant", this.$ = c[d - 1]; break; case 53: c[d - 1].type = "destroyParticipant", this.$ = c[d - 1]; break; case 54: c[d - 3].draw = "participant", c[d - 3].type = "addParticipant", c[d - 3].description = y.parseMessage(c[d - 1]), this.$ = c[d - 3]; break; case 55: c[d - 1].draw = "participant", c[d - 1].type = "addParticipant", this.$ = c[d - 1]; break; case 56: c[d - 3].draw = "actor", c[d - 3].type = "addParticipant", c[d - 3].description = y.parseMessage(c[d - 1]), this.$ = c[d - 3]; break; case 58: this.$ = [c[d - 1], { type: "addNote", placement: c[d - 2], actor: c[d - 1].actor, text: c[d] }]; break; case 59: c[d - 2] = [].concat(c[d - 1], c[d - 1]).slice(0, 2), c[d - 2][0] = c[d - 2][0].actor, c[d - 2][1] = c[d - 2][1].actor, this.$ = [c[d - 1], { type: "addNote", placement: y.PLACEMENT.OVER, actor: c[d - 2].slice(0, 2), text: c[d] }]; break; case 60: this.$ = [c[d - 1], { type: "addLinks", actor: c[d - 1].actor, text: c[d] }]; break; case 61: this.$ = [c[d - 1], { type: "addALink", actor: c[d - 1].actor, text: c[d] }]; break; case 62: this.$ = [c[d - 1], { type: "addProperties", actor: c[d - 1].actor, text: c[d] }]; break; case 63: this.$ = [c[d - 1], { type: "addDetails", actor: c[d - 1].actor, text: c[d] }]; break; case 66: this.$ = [c[d - 2], c[d]]; break; case 67: this.$ = c[d]; break; case 68: this.$ = y.PLACEMENT.LEFTOF; break; case 69: this.$ = y.PLACEMENT.RIGHTOF; break; case 70: this.$ = [ c[d - 4], c[d - 1], { type: "addMessage", from: c[d - 4].actor, to: c[d - 1].actor, signalType: c[d - 3], msg: c[d], activate: !0 }, { type: "activeStart", signalType: y.LINETYPE.ACTIVE_START, actor: c[d - 1].actor } ]; break; case 71: this.$ = [ c[d - 4], c[d - 1], { type: "addMessage", from: c[d - 4].actor, to: c[d - 1].actor, signalType: c[d - 3], msg: c[d] }, { type: "activeEnd", signalType: y.LINETYPE.ACTIVE_END, actor: c[d - 4].actor } ]; break; case 72: this.$ = [ c[d - 4], c[d - 1], { type: "addMessage", from: c[d - 4].actor, to: c[d - 1].actor, signalType: c[d - 3], msg: c[d], activate: !0, centralConnection: y.LINETYPE.CENTRAL_CONNECTION }, { type: "centralConnection", signalType: y.LINETYPE.CENTRAL_CONNECTION, actor: c[d - 1].actor } ]; break; case 73: this.$ = [ c[d - 4], c[d - 1], { type: "addMessage", from: c[d - 4].actor, to: c[d - 1].actor, signalType: c[d - 2], msg: c[d], activate: !1, centralConnection: y.LINETYPE.CENTRAL_CONNECTION_REVERSE }, { type: "centralConnectionReverse", signalType: y.LINETYPE.CENTRAL_CONNECTION_REVERSE, actor: c[d - 4].actor } ]; break; case 74: this.$ = [ c[d - 5], c[d - 1], { type: "addMessage", from: c[d - 5].actor, to: c[d - 1].actor, signalType: c[d - 3], msg: c[d], activate: !0, centralConnection: y.LINETYPE.CENTRAL_CONNECTION_DUAL }, { type: "centralConnection", signalType: y.LINETYPE.CENTRAL_CONNECTION, actor: c[d - 1].actor }, { type: "centralConnectionReverse", signalType: y.LINETYPE.CENTRAL_CONNECTION_REVERSE, actor: c[d - 5].actor } ]; break; case 75: this.$ = [ c[d - 3], c[d - 1], { type: "addMessage", from: c[d - 3].actor, to: c[d - 1].actor, signalType: c[d - 2], msg: c[d] } ]; break; case 76: this.$ = { type: "addParticipant", actor: c[d - 1], config: c[d] }; break; case 77: this.$ = c[d - 1].trim(); break; case 78: this.$ = { type: "addParticipant", actor: c[d] }; break; case 79: this.$ = y.LINETYPE.SOLID_OPEN; break; case 80: this.$ = y.LINETYPE.DOTTED_OPEN; break; case 81: this.$ = y.LINETYPE.SOLID; break; case 82: this.$ = y.LINETYPE.SOLID_TOP; break; case 83: this.$ = y.LINETYPE.SOLID_BOTTOM; break; case 84: this.$ = y.LINETYPE.STICK_TOP; break; case 85: this.$ = y.LINETYPE.STICK_BOTTOM; break; case 86: this.$ = y.LINETYPE.SOLID_TOP_DOTTED; break; case 87: this.$ = y.LINETYPE.SOLID_BOTTOM_DOTTED; break; case 88: this.$ = y.LINETYPE.STICK_TOP_DOTTED; break; case 89: this.$ = y.LINETYPE.STICK_BOTTOM_DOTTED; break; case 90: this.$ = y.LINETYPE.SOLID_ARROW_TOP_REVERSE; break; case 91: this.$ = y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE; break; case 92: this.$ = y.LINETYPE.STICK_ARROW_TOP_REVERSE; break; case 93: this.$ = y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE; break; case 94: this.$ = y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED; break; case 95: this.$ = y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED; break; case 96: this.$ = y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED; break; case 97: this.$ = y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED; break; case 98: this.$ = y.LINETYPE.BIDIRECTIONAL_SOLID; break; case 99: this.$ = y.LINETYPE.DOTTED; break; case 100: this.$ = y.LINETYPE.BIDIRECTIONAL_DOTTED; break; case 101: this.$ = y.LINETYPE.SOLID_CROSS; break; case 102: this.$ = y.LINETYPE.DOTTED_CROSS; break; case 103: this.$ = y.LINETYPE.SOLID_POINT; break; case 104: this.$ = y.LINETYPE.DOTTED_POINT; break; case 105: this.$ = y.parseMessage(c[d].trim().substring(1)); break; } }, "anonymous"), table: [ { 3: 1, 4: t, 5: a, 6: r }, { 1: [3] }, { 3: 5, 4: t, 5: a, 6: r }, { 3: 6, 4: t, 5: a, 6: r }, e([ 1, 4, 5, 10, 14, 15, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73 ], i, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, e(D, [2, 5]), { 9: 48, 13: 13, 14: u, 15: T, 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, e(D, [2, 7]), e(D, [2, 8]), e(D, [2, 9]), e(D, [2, 15]), { 13: 49, 51: U, 53: G, 54: J }, { 16: [1, 50] }, { 5: [1, 51] }, { 5: [1, 54], 20: [1, 52], 21: [1, 53] }, { 23: 55, 73: Y }, { 23: 56, 73: Y }, { 5: [1, 57] }, { 5: [1, 58] }, { 5: [1, 59] }, { 5: [1, 60] }, { 5: [1, 61] }, e(D, [2, 30]), e(D, [2, 31]), { 33: [1, 62] }, { 35: [1, 63] }, e(D, [2, 34]), { 16: [1, 64] }, { 16: [1, 65] }, { 16: [1, 66] }, { 16: [1, 67] }, { 16: [1, 68] }, { 16: [1, 69] }, { 16: [1, 70] }, { 16: [1, 71] }, { 23: 72, 55: 73, 73: At }, { 23: 75, 55: 76, 73: At }, { 23: 77, 73: Y }, { 69: 78, 72: [1, 79], 78: kt, 79: m, 80: w, 81: ht, 82: at, 83: F, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, { 57: 106, 59: [1, 107], 67: [1, 108], 68: [1, 109] }, { 23: 110, 73: Y }, { 23: 111, 73: Y }, { 23: 112, 73: Y }, { 23: 113, 73: Y }, e([ 5, 66, 72, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104 ], me), e(D, [2, 6]), e(D, [2, 16]), e(St, [2, 10], { 11: 114 }), e(D, [2, 18]), { 5: [1, 116], 20: [1, 115] }, { 5: [1, 117] }, e(D, [2, 22]), { 5: [1, 118] }, { 5: [1, 119] }, e(D, [2, 25]), e(D, [2, 26]), e(D, [2, 27]), e(D, [2, 28]), e(D, [2, 29]), e(D, [2, 32]), e(D, [2, 33]), e(Dt, i, { 7: 120 }), e(Dt, i, { 7: 121 }), e(Dt, i, { 7: 122 }), e(Ae, i, { 41: 123, 7: 124 }), e(Ut, i, { 43: 125, 7: 126 }), e(Ut, i, { 7: 126, 43: 127 }), e(Se, i, { 46: 128, 7: 129 }), e(Dt, i, { 7: 130 }), { 5: [1, 132], 52: [1, 131] }, { 5: [1, 134], 52: [1, 133] }, e(Gt, me, { 74: 135, 75: [1, 136] }), { 5: [1, 138], 52: [1, 137] }, { 5: [1, 140], 52: [1, 139] }, { 5: [1, 141] }, { 23: 145, 70: [1, 142], 71: [1, 143], 72: [1, 144], 73: Y }, { 69: 146, 78: kt, 79: m, 80: w, 81: ht, 82: at, 83: F, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, e(q, [2, 79]), e(q, [2, 80]), e(q, [2, 81]), e(q, [2, 82]), e(q, [2, 83]), e(q, [2, 84]), e(q, [2, 85]), e(q, [2, 86]), e(q, [2, 87]), e(q, [2, 88]), e(q, [2, 89]), e(q, [2, 90]), e(q, [2, 91]), e(q, [2, 92]), e(q, [2, 93]), e(q, [2, 94]), e(q, [2, 95]), e(q, [2, 96]), e(q, [2, 97]), e(q, [2, 98]), e(q, [2, 99]), e(q, [2, 100]), e(q, [2, 101]), e(q, [2, 102]), e(q, [2, 103]), e(q, [2, 104]), { 23: 147, 73: Y }, { 23: 149, 60: 148, 73: Y }, { 73: [2, 68] }, { 73: [2, 69] }, { 58: 150, 104: ot }, { 58: 152, 104: ot }, { 58: 153, 104: ot }, { 58: 154, 104: ot }, { 4: [1, 157], 5: [1, 159], 12: 156, 13: 158, 17: [1, 155], 51: U, 53: G, 54: J }, { 5: [1, 160] }, e(D, [2, 20]), e(D, [2, 21]), e(D, [2, 23]), e(D, [2, 24]), { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [1, 161], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [1, 162], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [1, 163], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 17: [1, 164] }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [2, 47], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 50: [1, 165], 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 17: [1, 166] }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [2, 45], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 49: [1, 167], 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 17: [1, 168] }, { 17: [1, 169] }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [2, 43], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 48: [1, 170], 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: o, 13: 13, 14: u, 15: T, 17: [1, 171], 18: 16, 19: h, 22: x, 23: 41, 24: E, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: L, 31: p, 32: _, 34: f, 36: I, 37: O, 38: b, 39: A, 40: P, 42: k, 44: C, 45: W, 47: K, 51: U, 53: G, 54: J, 56: nt, 61: et, 62: z, 63: it, 64: rt, 73: Y }, { 16: [1, 172] }, e(D, [2, 50]), { 16: [1, 173] }, e(D, [2, 55]), e(Gt, [2, 76]), { 76: [1, 174] }, { 16: [1, 175] }, e(D, [2, 52]), { 16: [1, 176] }, e(D, [2, 57]), e(D, [2, 53]), { 23: 177, 73: Y }, { 23: 178, 73: Y }, { 23: 179, 73: Y }, { 58: 180, 104: ot }, { 23: 181, 72: [1, 182], 73: Y }, { 58: 183, 104: ot }, { 58: 184, 104: ot }, { 66: [1, 185], 104: [2, 67] }, { 5: [2, 60] }, { 5: [2, 105] }, { 5: [2, 61] }, { 5: [2, 62] }, { 5: [2, 63] }, e(D, [2, 17]), e(St, [2, 11]), { 13: 186, 51: U, 53: G, 54: J }, e(St, [2, 13]), e(St, [2, 14]), e(D, [2, 19]), e(D, [2, 35]), e(D, [2, 36]), e(D, [2, 37]), e(D, [2, 38]), { 16: [1, 187] }, e(D, [2, 39]), { 16: [1, 188] }, e(D, [2, 40]), e(D, [2, 41]), { 16: [1, 189] }, e(D, [2, 42]), { 5: [1, 190] }, { 5: [1, 191] }, { 77: [1, 192] }, { 5: [1, 193] }, { 5: [1, 194] }, { 58: 195, 104: ot }, { 58: 196, 104: ot }, { 58: 197, 104: ot }, { 5: [2, 75] }, { 58: 198, 104: ot }, { 23: 199, 73: Y }, { 5: [2, 58] }, { 5: [2, 59] }, { 23: 200, 73: Y }, e(St, [2, 12]), e(Ae, i, { 7: 124, 41: 201 }), e(Ut, i, { 7: 126, 43: 202 }), e(Se, i, { 7: 129, 46: 203 }), e(D, [2, 49]), e(D, [2, 54]), e(Gt, [2, 77]), e(D, [2, 51]), e(D, [2, 56]), { 5: [2, 70] }, { 5: [2, 71] }, { 5: [2, 72] }, { 5: [2, 73] }, { 58: 204, 104: ot }, { 104: [2, 66] }, { 17: [2, 48] }, { 17: [2, 46] }, { 17: [2, 44] }, { 5: [2, 74] } ], defaultActions: { 5: [2, 1], 6: [2, 2], 108: [2, 68], 109: [2, 69], 150: [2, 60], 151: [2, 105], 152: [2, 61], 153: [2, 62], 154: [2, 63], 180: [2, 75], 183: [2, 58], 184: [2, 59], 195: [2, 70], 196: [2, 71], 197: [2, 72], 198: [2, 73], 200: [2, 66], 201: [2, 48], 202: [2, 46], 203: [2, 44], 204: [2, 74] }, parseError: /* @__PURE__ */ g(function(v, M) { if (M.recoverable) this.trace(v); else { var B = new Error(v); throw B.hash = M, B; } }, "parseError"), parse: /* @__PURE__ */ g(function(v) { var M = this, B = [0], y = [], X = [null], c = [], Nt = this.table, d = "", vt = 0, Ne = 0, we = 0, Ze = 2, Pe = 1, $e = c.slice.call(arguments, 1), Q = Object.create(this.lexer), gt = { yy: {} }; for (var Jt in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Jt) && (gt.yy[Jt] = this.yy[Jt]); Q.setInput(v, gt.yy), gt.yy.lexer = Q, gt.yy.parser = this, typeof Q.yylloc > "u" && (Q.yylloc = {}); var Qt = Q.yylloc; c.push(Qt); var je = Q.options && Q.options.ranges; typeof gt.yy.parseError == "function" ? this.parseError = gt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError; function tr(lt) { B.length = B.length - 2 * lt, X.length = X.length - lt, c.length = c.length - lt; } g(tr, "popStack"); function ke() { var lt = y.pop() || Q.lex() || Pe; return typeof lt != "number" && (lt instanceof Array && (y = lt, lt = y.pop()), lt = M.symbols_[lt] || lt), lt; } g(ke, "lex"); for (var j, Zt, xt, ct, $t, Lt = {}, Mt, pt, De, Bt; ; ) { if (xt = B[B.length - 1], this.defaultActions[xt] ? ct = this.defaultActions[xt] : ((j === null || typeof j > "u") && (j = ke()), ct = Nt[xt] && Nt[xt][j]), typeof ct > "u" || !ct.length || !ct[0]) { var jt = ""; Bt = []; for (Mt in Nt[xt]) this.terminals_[Mt] && Mt > Ze && Bt.push("'" + this.terminals_[Mt] + "'"); Q.showPosition ? jt = "Parse error on line " + (vt + 1) + `: ` + Q.showPosition() + ` Expecting ` + Bt.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : jt = "Parse error on line " + (vt + 1) + ": Unexpected " + (j == Pe ? "end of input" : "'" + (this.terminals_[j] || j) + "'"), this.parseError(jt, { text: Q.match, token: this.terminals_[j] || j, line: Q.yylineno, loc: Qt, expected: Bt }); } if (ct[0] instanceof Array && ct.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + xt + ", token: " + j); switch (ct[0]) { case 1: B.push(j), X.push(Q.yytext), c.push(Q.yylloc), B.push(ct[1]), j = null, Zt ? (j = Zt, Zt = null) : (Ne = Q.yyleng, d = Q.yytext, vt = Q.yylineno, Qt = Q.yylloc, we > 0 && we--); break; case 2: if (pt = this.productions_[ct[1]][1], Lt.$ = X[X.length - pt], Lt._$ = { first_line: c[c.length - (pt || 1)].first_line, last_line: c[c.length - 1].last_line, first_column: c[c.length - (pt || 1)].first_column, last_column: c[c.length - 1].last_column }, je && (Lt._$.range = [c[c.length - (pt || 1)].range[0], c[c.length - 1].range[1]]), $t = this.performAction.apply(Lt, [ d, Ne, vt, gt.yy, ct[1], X, c ].concat($e)), typeof $t < "u") return $t; pt && (B = B.slice(0, -1 * pt * 2), X = X.slice(0, -1 * pt), c = c.slice(0, -1 * pt)), B.push(this.productions_[ct[1]][0]), X.push(Lt.$), c.push(Lt._$), De = Nt[B[B.length - 2]][B[B.length - 1]], B.push(De); break; case 3: return !0; } } return !0; }, "parse") }; Xt.lexer = /* @__PURE__ */ (function() { return { EOF: 1, parseError: /* @__PURE__ */ g(function(v, M) { if (this.yy.parser) this.yy.parser.parseError(v, M); else throw new Error(v); }, "parseError"), setInput: /* @__PURE__ */ g(function(S, v) { return this.yy = v || this.yy || {}, this._input = S, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = { first_line: 1, first_column: 0, last_line: 1, last_column: 0 }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this; }, "setInput"), input: /* @__PURE__ */ g(function() { var S = this._input[0]; return this.yytext += S, this.yyleng++, this.offset++, this.match += S, this.matched += S, S.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), S; }, "input"), unput: /* @__PURE__ */ g(function(S) { var v = S.length, M = S.split(/(?:\r\n?|\n)/g); this._input = S + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - v), this.offset -= v; var B = this.match.split(/(?:\r\n?|\n)/g); this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), M.length - 1 && (this.yylineno -= M.length - 1); var y = this.yylloc.range; return this.yylloc = { first_line: this.yylloc.first_line, last_line: this.yylineno + 1, first_column: this.yylloc.first_column, last_column: M ? (M.length === B.length ? this.yylloc.first_column : 0) + B[B.length - M.length].length - M[0].length : this.yylloc.first_column - v }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - v]), this.yyleng = this.yytext.length, this; }, "unput"), more: /* @__PURE__ */ g(function() { return this._more = !0, this; }, "more"), reject: /* @__PURE__ */ g(function() { if (this.options.backtrack_lexer) this._backtrack = !0; else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). ` + this.showPosition(), { text: "", token: null, line: this.yylineno }); return this; }, "reject"), less: /* @__PURE__ */ g(function(S) { this.unput(this.match.slice(S)); }, "less"), pastInput: /* @__PURE__ */ g(function() { var S = this.matched.substr(0, this.matched.length - this.match.length); return (S.length > 20 ? "..." : "") + S.substr(-20).replace(/\n/g, ""); }, "pastInput"), upcomingInput: /* @__PURE__ */ g(function() { var S = this.match; return S.length < 20 && (S += this._input.substr(0, 20 - S.length)), (S.substr(0, 20) + (S.length > 20 ? "..." : "")).replace(/\n/g, ""); }, "upcomingInput"), showPosition: /* @__PURE__ */ g(function() { var S = this.pastInput(), v = new Array(S.length + 1).join("-"); return S + this.upcomingInput() + ` ` + v + "^"; }, "showPosition"), test_match: /* @__PURE__ */ g(function(S, v) { var M, B, y; if (this.options.backtrack_lexer && (y = { yylineno: this.yylineno, yylloc: { first_line: this.yylloc.first_line, last_line: this.last_line, first_column: this.yylloc.first_column, last_column: this.yylloc.last_column }, yytext: this.yytext, match: this.match, matches: this.matches, matched: this.matched, yyleng: this.yyleng, offset: this.offset, _more: this._more, _input: this._input, yy: this.yy, conditionStack: this.conditionStack.slice(0), done: this.done }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), B = S[0].match(/(?:\r\n?|\n).*/g), B && (this.yylineno += B.length), this.yylloc = { first_line: this.yylloc.last_line, last_line: this.yylineno + 1, first_column: this.yylloc.last_column, last_column: B ? B[B.length - 1].length - B[B.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + S[0].length }, this.yytext += S[0], this.match += S[0], this.matches = S, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(S[0].length), this.matched += S[0], M = this.performAction.call(this, this.yy, this, v, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), M) return M; if (this._backtrack) { for (var X in y) this[X] = y[X]; return !1; } return !1; }, "test_match"), next: /* @__PURE__ */ g(function() { if (this.done) return this.EOF; this._input || (this.done = !0); var S, v, M, B; this._more || (this.yytext = "", this.match = ""); for (var y = this._currentRules(), X = 0; X < y.length; X++) if (M = this._input.match(this.rules[y[X]]), M && (!v || M[0].length > v[0].length)) { if (v = M, B = X, this.options.backtrack_lexer) { if (S = this.test_match(M, y[X]), S !== !1) return S; if (this._backtrack) { v = !1; continue; } else return !1; } else if (!this.options.flex) break; } return v ? (S = this.test_match(v, y[B]), S !== !1 ? S : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text. ` + this.showPosition(), { text: "", token: null, line: this.yylineno }); }, "next"), lex: /* @__PURE__ */ g(function() { var v = this.next(); return v || this.lex(); }, "lex"), begin: /* @__PURE__ */ g(function(v) { this.conditionStack.push(v); }, "begin"), popState: /* @__PURE__ */ g(function() { return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0]; }, "popState"), _currentRules: /* @__PURE__ */ g(function() { return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules; }, "_currentRules"), topState: /* @__PURE__ */ g(function(v) { return v = this.conditionStack.length - 1 - Math.abs(v || 0), v >= 0 ? this.conditionStack[v] : "INITIAL"; }, "topState"), pushState: /* @__PURE__ */ g(function(v) { this.begin(v); }, "pushState"), stateStackSize: /* @__PURE__ */ g(function() { return this.conditionStack.length; }, "stateStackSize"), options: { "case-insensitive": !0 }, performAction: /* @__PURE__ */ g(function(v, M, B, y) { switch (B) { case 0: return 5; case 1: break; case 2: break; case 3: break; case 4: break; case 5: break; case 6: return 20; case 7: return this.begin("CONFIG"), 75; case 8: return 76; case 9: return this.popState(), this.begin("ALIAS"), 77; case 10: return this.popState(), this.popState(), 77; case 11: return M.yytext = M.yytext.trim(), 73; case 12: return M.yytext = M.yytext.trim(), this.begin("ALIAS"), 73; case 13: return M.yytext = M.yytext.trim(), this.popState(), 73; case 14: return this.popState(), 10; case 15: return M.yytext = M.yytext.trim(), this.popState(), 10; case 16: return this.begin("LINE"), 15; case 17: return this.begin("ID"), 51; case 18: return this.begin("ID"),