mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
1 line
971 B
JavaScript
Vendored
1 line
971 B
JavaScript
Vendored
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6395],{36395:function(r,n,t){function u(r,n){return r.skipToEnd(),n.cur=f,"error"}function e(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=c,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=i,"keyword"):u(r,n)}function c(r,n){var t=r.match(/^\d+/);if(!t)return u(r,n);n.cur=o;var e=Number(t[0]);return e>=100&&e<400?"atom":"error"}function o(r,n){return r.skipToEnd(),n.cur=f,null}function i(r,n){return r.eatWhile(/\S/),n.cur=a,"string.special"}function a(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=f,"keyword"):u(r,n)}function f(r){return!r.sol()||r.eat(/[ \t]/)?(r.skipToEnd(),"string"):r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error")}function s(r){return r.skipToEnd(),null}t.r(n),t.d(n,{http:function(){return k}});let k={name:"http",token:function(r,n){var t=n.cur;return t!=f&&t!=s&&r.eatSpace()?null:t(r,n)},blankLine:function(r){r.cur=s},startState:function(){return{cur:e}}}}}]); |