ScopeSentry/static/assets/index-EWI9jeY3.js

2 lines
66 KiB
JavaScript
Raw Normal View History

2024-06-16 15:27:55 +00:00
import{ce as e,aH as t,aI as r,cf as n,a2 as o,cg as i,ch as a,ci as s}from"./index-RTeQX4Z1.js";function c(e,t){return function(){return e.apply(t,arguments)}}const{toString:l}=Object.prototype,{getPrototypeOf:u}=Object,f=(e=>t=>{const r=l.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),p=e=>(e=e.toLowerCase(),t=>f(t)===e),y=e=>t=>typeof t===e,{isArray:d}=Array,h=y("undefined");const m=p("ArrayBuffer");const b=y("string"),g=y("function"),w=y("number"),v=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==f(e))return!1;const t=u(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},O=p("Date"),E=p("File"),A=p("Blob"),j=p("FileList"),R=p("URLSearchParams");function P(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),d(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(n=0;n<i;n++)a=o[n],t.call(null,e[a],a,e)}}function x(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,N=e=>!h(e)&&e!==T;const _=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&u(Uint8Array)),F=p("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),k=p("RegExp"),C=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};P(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},I="abcdefghijklmnopqrstuvwxyz",U="0123456789",B={DIGIT:U,ALPHA:I,ALPHA_DIGIT:I+I.toUpperCase()+U};const L=p("AsyncFunction"),M={isArray:d,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=f(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:b,isNumber:w,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:S,isUndefined:h,isDate:O,isFile:E,isBlob:A,isRegExp:k,isFunction:g,isStream:e=>v(e)&&g(e.pipe),isURLSearchParams:R,isTypedArray:_,isFileList:j,forEach:P,merge:function e(){const{caseless:t}=N(this)&&this||{},r={},n=(n,o)=>{const i=t&&x(r,o)||o;S(r[i])&&S(n)?r[i]=e(r[i],n):S(n)?r[i]=e({},n):d(n)?r[i]=n.slice():r[i]=n};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&P(arguments[o],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(P(t,((t,n)=>{r&&g(t)?e[n]=c(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&u(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:f,kindOfTest:p,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!w(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:F,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:C,freezeMethods:e=>{C(e,((t,r)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];g(n)&&(t.enumerable=!1,"writable