owncast/static/web/_next/static/chunks/7590.5339f77c17d3d934.js

1 line
7.8 KiB
JavaScript
Raw Normal View History

2024-02-07 22:05:09 +03:00
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7590],{53482:function(e,t,r){r.r(t),r.d(t,{erlang:function(){return N}});var n=["-type","-spec","-export_type","-opaque"],i=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],a=/[\->,;]/,o=["->",";",","],c=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],s=/[\+\-\*\/<>=\|:!]/,u=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],l=/[<\(\[\{]/,_=["<<","(","[","{"],f=/[>\)\]\}]/,p=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],d=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],b=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,k=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function g(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),x(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function h(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;0<e.current().length;){if(x(e.current(),r))return!0;e.backUp(1)}e.next()}return!1}function y(e){return w(e,'"',"\\")}function v(e){return w(e,"'","\\")}function w(e,t,r){for(;!e.eol();){var n=e.next();if(n==t)return!0;n==r&&e.next()}return!1}function x(e,t){return -1<t.indexOf(e)}function S(e,t,r){var n,i,a;switch("comment"==(n=z(t.current(),t.column(),t.indentation(),r)).type||"whitespace"==n.type||(e.tokenStack=(0<(a=(i=e.tokenStack).length-1)&&"record"===i[a].type&&"dot"===n.type?i.pop():(0<a&&"group"===i[a].type&&i.pop(),i.push(n)),i),e.tokenStack=function(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return E(e,{g:["{"]});case"]":return E(e,{i:["["]});case")":return E(e,{i:["("]});case">>":return E(e,{i:["<<"]});case"end":return E(e,{i:["begin","case","fun","if","receive","try"]});case",":return E(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return E(e,{r:["when"],m:["try","if","case","receive"]});case";":return E(e,{E:["case","fun","if","receive","try","when"]});case"catch":return E(e,{e:["try"]});case"of":return E(e,{e:["case"]});case"after":return E(e,{e:["receive","try"]});default:return e}}(e.tokenStack)),r){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:re