fn(language$990, config$0, project$1) =>
@html-ui.project-text(
project: $1,
branch: "main",
module: "",
all: false,
start: 0,
then: fn(response$2) =>
@html-ui.rpc(
config: $0,
method: "EventService/GetProjectBranches",
request: "{}",
then: fn(response$3) =>
@html-ui.rpc(
config: $0,
method: "definy_list_accounts",
request: "{}",
then: fn(response$4) =>
match $0.editable {
true =>
@html-ui.rpc(
config: $0,
method: "definy_whoami",
request: "{}",
then: fn(response$5) =>
@html-ui.project-branches-page(
language: $990,
editable: true,
me: @html-ui.after-prefix(
line: @html-ui.segment(segments: @core.string-split(text: $5.text, separator: "\n"), index: 0),
prefix: "account id: "
),
project: $1,
accounts: $4.text,
info: $2,
branches: $3
)
),
false =>
@html-ui.project-branches-page(language: $990, editable: false, me: "", project: $1, accounts: $4.text, info: $2, branches: $3)
}
)
)
)