mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-12 03:16:16 +01:00
17 lines
1.2 MiB
JavaScript
17 lines
1.2 MiB
JavaScript
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,()=>{var o,i,r={69119:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.whitespaceEscapeCharsRegex=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|:)/gim,t.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},16750:(e,t,r)=>{"use strict";t.J=void 0;var s=r(69119);function o(t){try{return decodeURIComponent(t)}catch(e){return t}}t.J=function(e){if(!e)return s.BLANK_URL;for(var t,r=o(e);(t=(r=o(r=r.replace(s.ctrlCharactersRegex,"").replace(s.htmlEntitiesRegex,function(e,t){return String.fromCharCode(t)}).replace(s.htmlCtrlEntityRegex,"").replace(s.ctrlCharactersRegex,"").replace(s.whitespaceEscapeCharsRegex,"").trim())).match(s.ctrlCharactersRegex)||r.match(s.htmlEntitiesRegex)||r.match(s.htmlCtrlEntityRegex)||r.match(s.whitespaceEscapeCharsRegex))&&0<t.length;);e=r;if(!e)return s.BLANK_URL;if(-1<s.relativeFirstCharacters.indexOf(e[0]))return e;var n=e.match(s.urlSchemeRegex);if(!n)return e;n=n[0];return s.invalidProtocolRegex.test(n)?s.BLANK_URL:e}},67526:(e,t)=>{"use strict";t.byteLength=function(e){var e=u(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){for(var t,r=u(e),n=r[0],r=r[1],s=new c(3*(n+r)/4-r),o=0,i=0<r?n-4:n,a=0;a<i;a+=4)t=l[e.charCodeAt(a)]<<18|l[e.charCodeAt(a+1)]<<12|l[e.charCodeAt(a+2)]<<6|l[e.charCodeAt(a+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=255&t;return 2===r&&(t=l[e.charCodeAt(a)]<<2|l[e.charCodeAt(a+1)]>>4,s[o++]=255&t),1===r&&(t=l[e.charCodeAt(a)]<<10|l[e.charCodeAt(a+1)]<<4|l[e.charCodeAt(a+2)]>>2,s[o++]=t>>8&255,s[o++]=255&t),s},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,s=[],o=0,i=r-n;o<i;o+=16383)s.push(function(e,t,r){for(var n,s=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(a[(n=n)>>18&63]+a[n>>12&63]+a[n>>6&63]+a[63&n]);return s.join("")}(e,o,i<o+16383?i:o+16383));return 1==n?(t=e[r-1],s.push(a[t>>2]+a[t<<4&63]+"==")):2==n&&(t=(e[r-2]<<8)+e[r-1],s.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),s.join("")};for(var a=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)a[n]=r[n],l[r.charCodeAt(n)]=n;function u(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");return[e=-1===e?t:e,e===t?0:4-e%4]}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},48287:(D,r,e)=>{"use strict";const g=e(67526),o=e(251),t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,n=(r.Buffer=u,r.SlowBuffer=function(e){return u.alloc(+(e=+e!=e?0:e))},r.INSPECT_MAX_BYTES=50,2147483647);function c(e){if(e>n)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return Object.setPrototypeOf(e,u.prototype),e}function u(e,t,r){if("number"!=typeof e)return s(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return a(e)}function s(t,r,e){if("string"==typeof t){var n=t,s=r;if(!u.isEncoding(s="string"==typeof s&&""!==s?s:"utf8"))throw new TypeError("Unknown encoding: "+s);var o=0|f(n,s);let e=c(o);return n=e.write(n,s),e=n!==o?e.slice(0,n):e}if(ArrayBuffer.isView(t))return T(s=t,Uint8Array)?h((o=new Uint8Array(s)).buffer,o.byteOffset,o.byteLength):p(s);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&
|
||
|
${e.replace(/`/g,"``").replace(/\$/g,"`$")}
|
||
|
"@`:/^[_\/-]/.test(e)?e:`'${e.replace(/'/g,"''")}'`,lo=(t,r,e,n="")=>{let s=!1,o="";var i=(...e)=>o+=" "+e.map(r).join(" "),a=(...e)=>o+=e.map(r).join(" "),l=()=>o+=" "+e,c=(e=1)=>o+=" ".repeat(e),u=t.get("headers");o+="curl"+n;const p=t.get("curlOptions");if($.List.isList(p)&&!p.isEmpty()&&i(...t.get("curlOptions")),i("-X",t.get("method")),l(),c(),a(""+t.get("url")),u&&u.size)for(var h of t.get("headers").entries()){l(),c();var[h,d]=h;a("-H",h+": "+d),s=s||/^content-type$/i.test(h)&&/^multipart\/form-data$/i.test(d)}const f=t.get("body");if(f)if(s&&["POST","PUT","PATCH"].includes(t.get("method")))for(var[m,g]of f.entrySeq()){m=so(m);l(),c(),a("-F"),g instanceof B.File&&"string"==typeof g.valueOf()?i(m+"="+g.data+(g.type?";type="+g.type:"")):g instanceof B.File?i(m+"=@"+g.name+(g.type?";type="+g.type:"")):i(m+"="+g)}else if(f instanceof B.File)l(),c(),a(`--data-binary '@${f.name}'`);else{l(),c(),a("-d ");let e=f;$.Map.isMap(e)?a(function(e){let t=[];for(var[r,n]of e.get("body").entrySeq()){r=so(r);n instanceof B.File?t.push(` "${r}": {
|
||
|
"name": "${n.name}"${n.type?`,
|
||
|
"type": "${n.type}"`:""}
|
||
|
}`):t.push(` "${r}": `+JSON.stringify(n,null,2).replace(/(\r\n|\r|\n)/g,"\n "))}return`{
|
||
|
${t.join(",\n")}
|
||
|
}`}(t)):a(e="string"!=typeof e?JSON.stringify(e):e)}else f||"POST"!==t.get("method")||(l(),c(),a("-d ''"));return o},co=e=>lo(e,ao,"`\n",".exe"),uo=e=>lo(e,oo,"\\\n"),po=e=>lo(e,io,"^\n"),ho=e=>e||(0,$.Map)(),fo=o(ho,e=>{const r=e.get("languages"),t=e.get("generators",(0,$.Map)());return!r||r.isEmpty()?t:t.filter((e,t)=>r.includes(t))}),mo=e=>({fn:r})=>fo(e).map((e,t)=>{t=r["requestSnippetGenerator_"+t];return"function"!=typeof t?null:e.set("fn",t)}).filter(e=>e),go=o(ho,e=>e.get("activeLanguage")),yo=o(ho,e=>e.get("defaultExpanded"));var Tr=cI(46942),le=cI.n(Tr),vo=cI(59399);const bo={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},wo={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},Eo=({request:e,requestSnippetsSelectors:t,getComponent:r})=>{const n=(0,ae.useRef)(null),s=r("ArrowUpIcon"),o=r("ArrowDownIcon"),i=r("SyntaxHighlighter",!0),[a,l]=(0,ae.useState)(t.getSnippetGenerators()?.keySeq().first()),[c,u]=(0,ae.useState)(t?.getDefaultExpanded()),p=t.getSnippetGenerators(),h=p.get(a),d=h.get("fn")(e),f=()=>{u(!c)},m=e=>{var{target:t,deltaY:r}=e,{scrollHeight:t,offsetHeight:n,scrollTop:s}=t;n<t&&(0===s&&r<0||t<=n+s&&0<r)&&e.preventDefault()};return(0,ae.useEffect)(()=>{},[]),(0,ae.useEffect)(()=>{const e=Array.from(n.current.childNodes).filter(e=>!!e.nodeType&&e.classList?.contains("curl-command"));return e.forEach(e=>e.addEventListener("mousewheel",m,{passive:!1})),()=>{e.forEach(e=>e.removeEventListener("mousewheel",m))}},[e]),ae.createElement("div",{className:"request-snippets",ref:n},ae.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},ae.createElement("h4",{onClick:()=>f(),style:{cursor:"pointer"}},"Snippets"),ae.createElement("button",{onClick:()=>f(),style:{border:"none",background:"none"},title:c?"Collapse operation":"Expand operation"},c?ae.createElement(o,{className:"arrow",width:"10",height:"10"}):ae.createElement(s,{className:"arrow",width:"10",height:"10"}))),c&&ae.createElement("div",{className:"curl-command"},ae.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},p.entrySeq().map(([t,e])=>ae.createElement("div",{className:le()("btn",{active:t===a}),style:(e=>e===a?wo:bo)(t),key:t,onClick:()=>{var e=t;a!==e&&l(e)}},ae.createElement("h4",{style:t===a?{color:"white"}:{}},e.get("title"))))),ae.createElement("div",{className:"copy-to-clipboard"},ae.createElement(vo.CopyToClipboard,{text:d},ae.createElement("button",null))),ae.createElement("div",null,ae.createElement(i,{language:h.get("syntax"),className:"curl microlight",renderPlainText:({children:e,PlainTextViewer:t})=>ae.createElement(t,{className:"curl"},e)},d))))},xo=()=>({components:{RequestSnippets:Eo},fn:U,statePlugins:{requestSnippets:{selectors:z}}});class So extends ae.Component{static defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:Z().List([])};constructor(e,t){super(e,t);var{expanded:e,collapsedContent:t}=this.props;this.state={expanded:e,collapsedContent:t||So.defaultProps.collapsedContent}}componentDidMount(){var{hideSelfOnExpand:e,expanded:t,modelName:r}=this.props;e&&t&&this.props.onToggle(r,t)}UNSAFE_componentWillReceiveProps(e){this.props.expanded!==e.expanded&&this.setState({expanded:e.expanded})}toggleCollapsed=()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})};onLoad=e=>{var t;e&&this.props.layoutSelectors&&(t=this.props.layoutSelectors.getScrollToKey(),Z().is(t,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.pare
|
||
|
CAUSE: `+e.stack)}}};class lc extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(ac,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const e=t["cause"];(this.cause=e)instanceof Error&&"stack"in e&&(this.stack=this.stack+`
|
||
|
CAUSE: `+e.stack)}}}const cc=lc,uc=class extends cc{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}};var pc=cI(65606);const hc={"@@functional/placeholder":!0};function c(e){return e===hc}function i(r){return function e(t){return 0===arguments.length||c(t)?e:r.apply(this,arguments)}}function t(n){return function e(t,r){switch(arguments.length){case 0:return e;case 1:return c(t)?e:i(function(e){return n(t,e)});default:return c(t)&&c(r)?e:c(t)?i(function(e){return n(e,r)}):c(r)?i(function(e){return n(t,e)}):n(t,r)}}}function dc(o){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return c(r)?e:t(function(e,t){return o(r,e,t)});case 2:return c(r)&&c(n)?e:c(r)?t(function(e,t){return o(e,n,t)}):c(n)?t(function(e,t){return o(r,e,t)}):i(function(e){return o(r,n,e)});default:return c(r)&&c(n)&&c(s)?e:c(r)&&c(n)?t(function(e,t){return o(e,t,s)}):c(r)&&c(s)?t(function(e,t){return o(e,n,t)}):c(n)&&c(s)?t(function(e,t){return o(r,e,t)}):c(r)?i(function(e){return o(e,n,s)}):c(n)?i(function(e){return o(r,e,s)}):c(s)?i(function(e){return o(r,n,e)}):o(r,n,s)}}}const fc=Number.isInteger||function(e){return(0|e)===e};function mc(e){return"[object String]"===Object.prototype.toString.call(e)}function gc(e,t){e=e<0?t.length+e:e;return mc(t)?t.charAt(e):t[e]}function yc(e,t){for(var r=t,n=0;n<e.length;n+=1){if(null==r)return;var s=e[n],r=fc(s)?gc(s,r):r[s]}return r}const vc=dc(function(e,t,r){return e(yc(t,r))});function bc(e){return new RegExp(e.source,e.flags||(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function wc(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function Ec(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return 1;n+=1}}function xc(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const Sc="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var _c=Object.prototype.toString;const kc=function(){return"[object Arguments]"===_c.call(arguments)?function(e){return"[object Arguments]"===_c.call(e)}:function(e){return xc("callee",e)}}();var Ac=!{toString:null}.propertyIsEnumerable("toString"),Oc=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Cc=function(){return arguments.propertyIsEnumerable("length")}();const jc="function"!=typeof Object.keys||Cc?i(function(e){if(Object(e)!==e)return[];var t,r,n=[],s=Cc&&kc(e);for(t in e)!xc(t,e)||s&&"length"===t||(n[n.length]=t);if(Ac)for(r=Oc.length-1;0<=r;)xc(t=Oc[r],e)&&!function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1}(n,t)&&(n[n.length]=t),--r;return n}):i(function(e){return Object(e)!==e?[]:Object.keys(e)}),Pc=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Nc(e,t,r,n){e=wc(e);function s(e,t){return Ic(e,t,r.slice(),n.slice())}return!Ec(function(e,t){return!Ec(s,t,e)},wc(t),e)}function Ic(e,t,r,n){if(Sc(e,t))return!0;var s=Pc(e);if(s!==Pc(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){e=String(e).match(/^function (\w*)/);return null==e?"":e[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e==typeof t&&Sc(e.valueOf(),t.valueOf()))break;return!1;case"Date":if(Sc(e.valueOf(),t.valueOf()))break;return!1;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(
|
||
|
`+"\x3c!-- input string --\x3e\n")+s(r+2))+n.charsToString(c)+"\n",d.forEach(e=>{e.state===i.SEM_PRE?(r+=1,t=(t=(t=(t+=s(r))+`<node name="${e.name}" index="${e.phraseIndex}" length="${e.phraseLength}">
|
||
|
`)+s(r+2))+n.charsToString(c,e.phraseIndex,e.phraseLength)+"\n"):(t=(t+=s(r))+`</node><!-- name="${e.name}" -->
|
||
|
`,--r)}),t+="</root>\n"}},iA={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,r)=>{let n=e;for(;!(void 0===t||t<0);){if(void 0===r){n=e.slice(t);break}if(r<=0)return"";n=e.slice(t,t+r);break}return String.fromCodePoint(...n)}},m={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case m.ALT:return"ALT";case m.CAT:return"CAT";case m.REP:return"REP";case m.RNM:return"RNM";case m.TRG:return"TRG";case m.TBS:return"TBS";case m.TLS:return"TLS";case m.UDT:return"UDT";case m.AND:return"AND";case m.NOT:return"NOT";case m.ACTIVE:return"ACTIVE";case m.EMPTY:return"EMPTY";case m.MATCH:return"MATCH";case m.NOMATCH:return"NOMATCH";case m.SEM_PRE:return"SEM_PRE";case m.SEM_POST:return"SEM_POST";case m.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}},aA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["slash",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),lA=(e,t,r,n,s)=>{if(e===m.SEM_PRE){if(!1===Array.isArray(s))throw new Error("parser's user data must be an array");s.push(["path-template",iA.charsToString(t,r,n)])}return m.SEM_OK},cA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["path",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),uA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["path-literal",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),pA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["query",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),hA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["query-marker",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),dA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["fragment",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),fA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["fragment-marker",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),mA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["template-expression",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),gA=(e,t,r,n,s)=>(e===m.SEM_PRE?s.push(["template-expression-param-name",iA.charsToString(t,r,n)]):m.SEM_POST,m.SEM_OK),yA=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path",lower:"path",index:1,isBkr:!1},this.rules[2]={name:"path-segment",lower:"path-segment",index:2,isBkr:!1},this.rules[3]={name:"query",lower:"query",index:3,isBkr:!1},this.rules[4]={name:"query-literal",lower:"query-literal",index:4,isBkr:!1},this.rules[5]={name:"query-marker",lower:"query-marker",index:5,isBkr:!1},this.rules[6]={name:"fragment",lower:"fragment",index:6,isBkr:!1},this.rules[7]={name:"fragment-literal",lower:"fragment-literal",index:7,isBkr:!1},this.rules[8]={name:"fragment-marker",lower:"fragment-marker",index:8,isBkr:!1},this.rules[9]={name:"slash",lower:"slash",index:9,isBkr:!1},this.rules[10]={name:"path-literal",lower:"path-literal",index:10,isBkr:!1},this.rules[11]={name:"template-expression",lower:"template-expression",index:11,isBkr:!1},this.rules[12]={name:"template-expression-param-name",lower:"template-expression-param-name",index:12,isBkr:!1},this.rules[13]={name:"unreserved",lower:"unreserved",index:13,isBkr:!1},this.rules[14]={name:"pct-encoded",lower:"pct-encoded",index:14,isBkr:!1},this.rules[15]={name:"sub-delims",lower:"sub-delims",index:15,isBkr:!1},this.rules[16]={name:"sub-delims-no-slash",lower:"sub-delims-no-slash",index:16,isBkr:!1},this.rules[17]={name:"ALPHA",lower:"alpha",index:17,isBkr:!1},this.rules[18]={name:"DIGIT",lower:"digit",index:18,isBkr:!1},this.rules[19]={name:"HEXDIG",lower:"hexdig",index:19,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:5},this.rules[0].opcodes[5]={type:4,index:3},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:2,children:[8,9]},this.rules[0].opcodes[8]={type:4,index:8},this.rules[0].opcodes[9]={type:4,index:6},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,6]},th
|
||
|
The error may be correlated with this previous error:
|
||
|
${u.current.stack}
|
||
|
|
||
|
`),e}cO(()=>{u.current=void 0,w.current=void 0,v.current=k});const A=N.useMemo(()=>N.createElement(O,{...k,ref:t}),[t,O,k]);return N.useMemo(()=>P?N.createElement(s.Provider,{value:c},A):A,[s,A,c])}const n=N.memo(r);if(n.WrappedComponent=O,n.displayName=r.displayName=t,l){const e=N.forwardRef(function(e,t){return N.createElement(n,{...e,reactReduxForwardedRef:t})});return e.displayName=t,e.WrappedComponent=O,SO(e,O)}return SO(n,O)}}function CO({store:t,context:e,children:r,serverState:n,stabilityCheck:s="once",identityFunctionCheck:o="once"}){const i=N.useMemo(()=>{var e=lO(t);return{store:t,subscription:e,getServerState:n?()=>n:void 0,stabilityCheck:s,identityFunctionCheck:o}},[t,n,s,o]),a=N.useMemo(()=>t.getState(),[t]);return cO(()=>{const e=i["subscription"];return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,a]),N.createElement((e||UA).Provider,{value:i},r)}G.useSyncExternalStoreWithSelector;Fr=ae.useSyncExternalStore,_O=Fr;var Ib=cI(83488),jO=cI.n(Ib);const PO=(s,o,e)=>ve(e?((n,s)=>e=>{const t=n()["fn"];class r extends ae.Component{render(){return ae.createElement(CO,{store:s},ae.createElement(e,q()({},this.props,this.context)))}}return r.displayName=`WithRoot(${t.getDisplayName(e)})`,r})(s,e):jO(),OO((e,t)=>{const r={...t,...s()},n=o.prototype?.mapStateToProps||(e=>({state:e}));return n(e,r)}),(n=>e=>{const t=n()["fn"];class r extends ae.Component{render(){return ae.createElement(e,q()({},n(),this.props,this.context))}}return r.displayName=`WithSystem(${t.getDisplayName(e)})`,r})(s))(o),NO=(e,t,r,n)=>{for(const s in t){const o=t[s];"function"==typeof o&&o(r[s],n[s],e())}},IO=(s,o,i)=>(e,t,r={})=>{if("string"!=typeof e)throw new TypeError("Need a string, to fetch a component. Was given a "+typeof e);var n=i(e);return n?t?"root"===t?PO(s,n,o()):PO(s,n):n:(r.failSilently||s().log.warn("Could not find component:",e),null)},TO=e=>e.displayName||e.name||"Component",MO=({getComponents:e,getStore:t,getSystem:r})=>{u=IO(r,t,e);var n,o,i,s,a,l,c,u=Xe(u,(...e)=>JSON.stringify(e));return o=r,n=(e,r)=>{const t=o()["fn"],n=i(e,"root");class s extends ae.Component{constructor(e,t){super(e,t),NO(o,r,e,{})}UNSAFE_componentWillReceiveProps(e){NO(o,r,e,this.props)}render(){var e=or()(this.props,r?Object.keys(r):[]);return ae.createElement(n,e)}}return s.displayName=`WithMappedContainer(${t.getDisplayName(n)})`,s},{rootInjects:{getComponent:i=u,makeMappedContainer:ai(n,(...e)=>e),render:(s=r,a=t,l=IO,c=e,e=>{const t=l(s,a,c)("App","root"),r=BA["createRoot"];r(e).render(ae.createElement(t,null))})},fn:{getDisplayName:TO}}},RO=({React:e,getSystem:t,getStore:r,getComponents:n})=>{const s={},o=parseInt(e?.version,10);return 16<=o&&o<18&&(s.render=(i=t,a=r,l=IO,c=n,e=>{var t=l(i,a,c)("App","root");BA.render(ae.createElement(t,null),e)})),{rootInjects:s};var i,a,l,c};function DO(e){let a=e["fn"];return{statePlugins:{spec:{actions:{download:i=>({errActions:t,specSelectors:r,specActions:n,getConfigs:e})=>{let s=a["fetch"];e=e();function o(e){if(e instanceof Error||400<=e.status){n.updateLoadingStatus("failed"),t.newThrownErr(Object.assign(new Error((e.message||e.statusText)+" "+i),{source:"fetch"}));if(!e.status&&e instanceof Error){try{let e;if("URL"in B?e=new URL(i):(e=document.createElement("a")).href=i,"https:"!==e.protocol&&"https:"===B.location.protocol){const i=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${e.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void t.newThrownErr(i)}if(e.origin!==B.location.origin){const i=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${e.origin}) does not match the page (${B.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});t.newThrownErr(i)}}catch(e){return}return}else return}n.updateLoadingStatus("success"),n.updateSpec(e.text),r.url()!==i&&n.updateUrl(i)}i=i||r.url(),n.updateLoadingStatus("loading"),
|