dsql-admin/dsql-app/.local_dist/static/chunks/pages/_app-d52aa62bd48f175b.js

1 line
87 KiB
JavaScript
Raw Normal View History

2025-01-14 15:27:08 +00:00
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{1028:function(t,n,e){"use strict";var r=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))(function(i,u){function a(t){try{c(r.next(t))}catch(t){u(t)}}function o(t){try{c(r.throw(t))}catch(t){u(t)}}function c(t){var n;t.done?i(t.value):((n=t.value)instanceof e?n:new e(function(t){t(n)})).then(a,o)}c((r=r.apply(t,n||[])).next())})},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n,e,i){return r(this,void 0,void 0,function*(){let r;let o=localStorage.getItem(i||"csrf"),c={"Content-Type":"application/json"};if(e&&o&&(c[(0,a.default)()]=o),"string"==typeof n)try{r="post"===n?(yield fetch(t,{method:n,headers:c})).json():(yield fetch(t)).json()}catch(t){console.log("FetchAPI error #1:",t.message),r=null}else if("object"==typeof n)try{let e;if(n.body&&"object"==typeof n.body){let t=u.default.cloneDeep(n.body);n.body=JSON.stringify(t)}if(n.headers){n.headers=u.default.merge(n.headers,c);let r=Object.assign({},n);e=yield fetch(t,r)}else{let r=Object.assign(Object.assign({},n),{headers:c});e=yield fetch(t,r)}r=e.json()}catch(t){console.log("FetchAPI error #2:",t.message),r=null}else try{let n=yield fetch(t);r=yield n.json()}catch(t){console.log("FetchAPI error #3:",t.message),r=null}return r})};let u=i(e(2543)),a=i(e(9770))},9770:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){return"x-csrf-key"}},2543:function(t,n,e){var r;t=e.nmd(t),(function(){var i,u="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",c=1/0,l=0/0,f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",h="[object Array]",p="[object Boolean]",d="[object Date]",v="[object Error]",g="[object Function]",_="[object GeneratorFunction]",m="[object Map]",y="[object Number]",x="[object Object]",w="[object Promise]",b="[object RegExp]",j="[object Set]",k="[object String]",A="[object Symbol]",N="[object WeakMap]",E="[object ArrayBuffer]",I="[object DataView]",S="[object Float32Array]",z="[object Float64Array]",L="[object Int8Array]",O="[object Int16Array]",C="[object Int32Array]",R="[object Uint8Array]",D="[object Uint8ClampedArray]",W="[object Uint16Array]",B="[object Uint32Array]",U=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,T=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,P=RegExp(F.source),$=RegExp(q.source),G=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(Q.source),X=/^\s+/,tt=/\s/,tn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,te=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,ti=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tu=/[()=,{}\[\]\/\s]/,ta=/\\(\\)?/g,to=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tc=/\w*$/,tl=/^[-+]0x[0-9a-f]+$/i,tf=/^0b[01]+$/i,ts=/^\[object .+?Constructor\]$/,th=/^0o[0-7]+$/i,tp=/^(?:0|[1-9]\d*)$/,td=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tv=/($^)/,tg=/['\n\r\u2028\u2029\\]/g,t_="\ud800-\udfff",tm="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ty="\\u2700-\\u27bf",tx="a-z\\xdf-\\xf6\\xf8-\\xff",tw="A-Z\\xc0-\\xd6\\xd8-\\xde",tb="\\ufe0e\\ufe0f",tj="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tk="[']",tA="["+tj+"]",tN="["+tm+"]",tE="["+tx+"]",tI="[^"+t_+tj+"\\d+"+ty+tx+tw+"]",tS="\ud83c[\udffb-\udfff]",tz="[^"+t_+"]",tL="(?:\ud83c[\udde6-\uddff]){2}",tO="[\ud800-\udbff][\udc00-\udfff]",tC="["+tw+"]",tR="\\u200d",tD="(?:"+tE+"|"+tI+")",tW="(?:"+tC+"|"+tI+")",tB="(?:"+tk+"(?:d|ll|m|re|s|t|ve))?",tU="(?:"+tk+"(?:D|LL|M|RE|S|T|VE))?",tM="(?:"+tN+"|"+tS+")?",tT="["+tb+"]?",tF="(?: