filesbox/web/dist/71550.de0f5c8c.async.js

2 lines
996 B
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[71550],{71550:function(h,o,c){"use strict";c.r(o),c.d(o,{http:function(){return k}});function e(n,r){return n.skipToEnd(),r.cur=t,"error"}function d(n,r){return n.match(/^HTTP\/\d\.\d/)?(r.cur=s,"keyword"):n.match(/^[A-Z]+/)&&/[ \t]/.test(n.peek())?(r.cur=p,"keyword"):e(n,r)}function s(n,r){var u=n.match(/^\d+/);if(!u)return e(n,r);r.cur=l;var f=Number(u[0]);return f>=100&&f<400?"atom":"error"}function l(n,r){return n.skipToEnd(),r.cur=t,null}function p(n,r){return n.eatWhile(/\S/),r.cur=a,"string.special"}function a(n,r){return n.match(/^HTTP\/\d\.\d$/)?(r.cur=t,"keyword"):e(n,r)}function t(n){return n.sol()&&!n.eat(/[ \t]/)?n.match(/^.*?:/)?"atom":(n.skipToEnd(),"error"):(n.skipToEnd(),"string")}function i(n){return n.skipToEnd(),null}const k={name:"http",token:function(n,r){var u=r.cur;return u!=t&&u!=i&&n.eatSpace()?null:u(n,r)},blankLine:function(n){n.cur=i},startState:function(){return{cur:d}}}}}]);