mini-rbac/backend/static/assets/useFlexGapSupport.f5eec5c4.js

2 lines
14 KiB
JavaScript

import{m as K,V as Ie,v as Le,a2 as Me,n as De,j as be,a6 as I,k as m,S as Q,l as P,al as Ge,Y as Re,am as me,r as Fe,a3 as Be}from"./index.ab0d47a4.js";function Ue(e,t){return function(r){return e(t(r))}}function Nn(e,t){for(var r=K({},e),n=0;n<t.length;n+=1){var a=t[n];delete r[a]}return r}function Kn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=e;if(Array.isArray(e)&&(a=Ie(e)[0]),!a)return null;var s=Le(a,t,n);return s.props=r?K(K({},s.props),t):s.props,Me(De(s.props.class)!=="object","class must be string"),s}function He(){this.__data__=[],this.size=0}function Ae(e,t){return e===t||e!==e&&t!==t}function B(e,t){for(var r=e.length;r--;)if(Ae(e[r][0],t))return r;return-1}var ze=Array.prototype,Ne=ze.splice;function Ke(e){var t=this.__data__,r=B(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Ne.call(t,r,1),--this.size,!0}function qe(e){var t=this.__data__,r=B(t,e);return r<0?void 0:t[r][1]}function We(e){return B(this.__data__,e)>-1}function Je(e,t){var r=this.__data__,n=B(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function y(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}y.prototype.clear=He;y.prototype.delete=Ke;y.prototype.get=qe;y.prototype.has=We;y.prototype.set=Je;function Xe(){this.__data__=new y,this.size=0}function Ye(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Ze(e){return this.__data__.get(e)}function Qe(e){return this.__data__.has(e)}var Ve="[object AsyncFunction]",ke="[object Function]",et="[object GeneratorFunction]",tt="[object Proxy]";function Te(e){if(!be(e))return!1;var t=I(e);return t==ke||t==et||t==Ve||t==tt}var rt=m["__core-js_shared__"];const H=rt;var V=function(){var e=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function nt(e){return!!V&&V in e}var at=Function.prototype,st=at.toString;function x(e){if(e!=null){try{return st.call(e)}catch{}try{return e+""}catch{}}return""}var it=/[\\^$.*+?()[\]{}|]/g,ot=/^\[object .+?Constructor\]$/,ut=Function.prototype,ft=Object.prototype,ct=ut.toString,lt=ft.hasOwnProperty,pt=RegExp("^"+ct.call(lt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gt(e){if(!be(e)||nt(e))return!1;var t=Te(e)?pt:ot;return t.test(x(e))}function dt(e,t){return e==null?void 0:e[t]}function S(e,t){var r=dt(e,t);return gt(r)?r:void 0}var ht=S(m,"Map");const j=ht;var vt=S(Object,"create");const C=vt;function yt(){this.__data__=C?C(null):{},this.size=0}function _t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var bt="__lodash_hash_undefined__",mt=Object.prototype,At=mt.hasOwnProperty;function Tt(e){var t=this.__data__;if(C){var r=t[e];return r===bt?void 0:r}return At.call(t,e)?t[e]:void 0}var wt=Object.prototype,$t=wt.hasOwnProperty;function xt(e){var t=this.__data__;return C?t[e]!==void 0:$t.call(t,e)}var Et="__lodash_hash_undefined__";function St(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=C&&t===void 0?Et:t,this}function $(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}$.prototype.clear=yt;$.prototype.delete=_t;$.prototype.get=Tt;$.prototype.has=xt;$.prototype.set=St;function Ot(){this.size=0,this.__data__={hash:new $,map:new(j||y),string:new $}}function Pt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function U(e,t){var r=e.__data__;return Pt(t)?r[typeof t=="string"?"string":"hash"]:r.map}function jt(e){var t=U(this,e).delete(e);return this.size-=t?1:0,t}function Ct(e){return U(this,e).get(e)}function It(e){return U(this,e).has(e)}function Lt(e,t){var r=U(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function E(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}E.prototype.clear=Ot;E.prototype.delete=jt;E.prototype.get=Ct;E.prototype.has=It;E.prototype.set=Lt;var Mt=200;function Dt(e,t){var r=this.__data__;if(r instanceof y){var n=r.__data__;if(!j||n.length<Mt-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new E(n)}return r.set(e,t),this.size=r.size,this}function b(e){var t=this.__data__=new y(e);this.size=t.size}b.prototype.clear=Xe;b.prototype.delete=Ye;b.prototype.get=Ze;b.prototype.has=Qe;b.prototype.set=Dt;var Gt="__lodash_hash_undefined__";function Rt(e){return this.__data__.set(e,Gt),this}function Ft(e){return this.__data__.has(e)}function R(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new E;++t<r;)this.add(e[t])}R.prototype.add=R.prototype.push=Rt;R.prototype.has=Ft;function Bt(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Ut(e,t){return e.has(t)}var Ht=1,zt=2;function we(e,t,r,n,a,s){var u=r&Ht,f=e.length,c=t.length;if(f!=c&&!(u&&c>f))return!1;var o=s.get(e),h=s.get(t);if(o&&h)return o==t&&h==e;var p=-1,l=!0,v=r&zt?new R:void 0;for(s.set(e,t),s.set(t,e);++p<f;){var g=e[p],d=t[p];if(n)var _=u?n(d,g,p,t,e,s):n(g,d,p,e,t,s);if(_!==void 0){if(_)continue;l=!1;break}if(v){if(!Bt(t,function(A,T){if(!Ut(v,T)&&(g===A||a(g,A,r,n,s)))return v.push(T)})){l=!1;break}}else if(!(g===d||a(g,d,r,n,s))){l=!1;break}}return s.delete(e),s.delete(t),l}var Nt=m.Uint8Array;const k=Nt;function Kt(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function qt(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Wt=1,Jt=2,Xt="[object Boolean]",Yt="[object Date]",Zt="[object Error]",Qt="[object Map]",Vt="[object Number]",kt="[object RegExp]",er="[object Set]",tr="[object String]",rr="[object Symbol]",nr="[object ArrayBuffer]",ar="[object DataView]",ee=Q?Q.prototype:void 0,z=ee?ee.valueOf:void 0;function sr(e,t,r,n,a,s,u){switch(r){case ar:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case nr:return!(e.byteLength!=t.byteLength||!s(new k(e),new k(t)));case Xt:case Yt:case Vt:return Ae(+e,+t);case Zt:return e.name==t.name&&e.message==t.message;case kt:case tr:return e==t+"";case Qt:var f=Kt;case er:var c=n&Wt;if(f||(f=qt),e.size!=t.size&&!c)return!1;var o=u.get(e);if(o)return o==t;n|=Jt,u.set(e,t);var h=we(f(e),f(t),n,a,s,u);return u.delete(e),h;case rr:if(z)return z.call(e)==z.call(t)}return!1}function ir(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var or=Array.isArray;const F=or;function ur(e,t,r){var n=t(e);return F(e)?n:ir(n,r(e))}function fr(e,t){for(var r=-1,n=e==null?0:e.length,a=0,s=[];++r<n;){var u=e[r];t(u,r,e)&&(s[a++]=u)}return s}function cr(){return[]}var lr=Object.prototype,pr=lr.propertyIsEnumerable,te=Object.getOwnPropertySymbols,gr=te?function(e){return e==null?[]:(e=Object(e),fr(te(e),function(t){return pr.call(e,t)}))}:cr;const dr=gr;function hr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var vr="[object Arguments]";function re(e){return P(e)&&I(e)==vr}var $e=Object.prototype,yr=$e.hasOwnProperty,_r=$e.propertyIsEnumerable,br=re(function(){return arguments}())?re:function(e){return P(e)&&yr.call(e,"callee")&&!_r.call(e,"callee")};const mr=br;function Ar(){return!1}var xe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ne=xe&&typeof module=="object"&&module&&!module.nodeType&&module,Tr=ne&&ne.exports===xe,ae=Tr?m.Buffer:void 0,wr=ae?ae.isBuffer:void 0,$r=wr||Ar;const q=$r;var xr=9007199254740991,Er=/^(?:0|[1-9]\d*)$/;function Sr(e,t){var r=typeof e;return t=t==null?xr:t,!!t&&(r=="number"||r!="symbol"&&Er.test(e))&&e>-1&&e%1==0&&e<t}var Or=9007199254740991;function Ee(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Or}var Pr="[object Arguments]",jr="[object Array]",Cr="[object Boolean]",Ir="[object Date]",Lr="[object Error]",Mr="[object Function]",Dr="[object Map]",Gr="[object Number]",Rr="[object Object]",Fr="[object RegExp]",Br="[object Set]",Ur="[object String]",Hr="[object WeakMap]",zr="[object ArrayBuffer]",Nr="[object DataView]",Kr="[object Float32Array]",qr="[object Float64Array]",Wr="[object Int8Array]",Jr="[object Int16Array]",Xr="[object Int32Array]",Yr="[object Uint8Array]",Zr="[object Uint8ClampedArray]",Qr="[object Uint16Array]",Vr="[object Uint32Array]",i={};i[Kr]=i[qr]=i[Wr]=i[Jr]=i[Xr]=i[Yr]=i[Zr]=i[Qr]=i[Vr]=!0;i[Pr]=i[jr]=i[zr]=i[Cr]=i[Nr]=i[Ir]=i[Lr]=i[Mr]=i[Dr]=i[Gr]=i[Rr]=i[Fr]=i[Br]=i[Ur]=i[Hr]=!1;function kr(e){return P(e)&&Ee(e.length)&&!!i[I(e)]}function en(e){return function(t){return e(t)}}var Se=typeof exports=="object"&&exports&&!exports.nodeType&&exports,O=Se&&typeof module=="object"&&module&&!module.nodeType&&module,tn=O&&O.exports===Se,N=tn&&Ge.process,rn=function(){try{var e=O&&O.require&&O.require("util").types;return e||N&&N.binding&&N.binding("util")}catch{}}();const se=rn;var ie=se&&se.isTypedArray,nn=ie?en(ie):kr;const Oe=nn;var an=Object.prototype,sn=an.hasOwnProperty;function on(e,t){var r=F(e),n=!r&&mr(e),a=!r&&!n&&q(e),s=!r&&!n&&!a&&Oe(e),u=r||n||a||s,f=u?hr(e.length,String):[],c=f.length;for(var o in e)(t||sn.call(e,o))&&!(u&&(o=="length"||a&&(o=="offset"||o=="parent")||s&&(o=="buffer"||o=="byteLength"||o=="byteOffset")||Sr(o,c)))&&f.push(o);return f}var un=Object.prototype;function fn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||un;return e===r}var cn=Ue(Object.keys,Object);const ln=cn;var pn=Object.prototype,gn=pn.hasOwnProperty;function dn(e){if(!fn(e))return ln(e);var t=[];for(var r in Object(e))gn.call(e,r)&&r!="constructor"&&t.push(r);return t}function hn(e){return e!=null&&Ee(e.length)&&!Te(e)}function vn(e){return hn(e)?on(e):dn(e)}function oe(e){return ur(e,vn,dr)}var yn=1,_n=Object.prototype,bn=_n.hasOwnProperty;function mn(e,t,r,n,a,s){var u=r&yn,f=oe(e),c=f.length,o=oe(t),h=o.length;if(c!=h&&!u)return!1;for(var p=c;p--;){var l=f[p];if(!(u?l in t:bn.call(t,l)))return!1}var v=s.get(e),g=s.get(t);if(v&&g)return v==t&&g==e;var d=!0;s.set(e,t),s.set(t,e);for(var _=u;++p<c;){l=f[p];var A=e[l],T=t[l];if(n)var Z=u?n(T,A,l,t,e,s):n(A,T,l,e,t,s);if(!(Z===void 0?A===T||a(A,T,r,n,s):Z)){d=!1;break}_||(_=l=="constructor")}if(d&&!_){var L=e.constructor,M=t.constructor;L!=M&&"constructor"in e&&"constructor"in t&&!(typeof L=="function"&&L instanceof L&&typeof M=="function"&&M instanceof M)&&(d=!1)}return s.delete(e),s.delete(t),d}var An=S(m,"DataView");const W=An;var Tn=S(m,"Promise");const J=Tn;var wn=S(m,"Set");const X=wn;var $n=S(m,"WeakMap");const Y=$n;var ue="[object Map]",xn="[object Object]",fe="[object Promise]",ce="[object Set]",le="[object WeakMap]",pe="[object DataView]",En=x(W),Sn=x(j),On=x(J),Pn=x(X),jn=x(Y),w=I;(W&&w(new W(new ArrayBuffer(1)))!=pe||j&&w(new j)!=ue||J&&w(J.resolve())!=fe||X&&w(new X)!=ce||Y&&w(new Y)!=le)&&(w=function(e){var t=I(e),r=t==xn?e.constructor:void 0,n=r?x(r):"";if(n)switch(n){case En:return pe;case Sn:return ue;case On:return fe;case Pn:return ce;case jn:return le}return t});const ge=w;var Cn=1,de="[object Arguments]",he="[object Array]",D="[object Object]",In=Object.prototype,ve=In.hasOwnProperty;function Ln(e,t,r,n,a,s){var u=F(e),f=F(t),c=u?he:ge(e),o=f?he:ge(t);c=c==de?D:c,o=o==de?D:o;var h=c==D,p=o==D,l=c==o;if(l&&q(e)){if(!q(t))return!1;u=!0,h=!1}if(l&&!h)return s||(s=new b),u||Oe(e)?we(e,t,r,n,a,s):sr(e,t,c,r,n,a,s);if(!(r&Cn)){var v=h&&ve.call(e,"__wrapped__"),g=p&&ve.call(t,"__wrapped__");if(v||g){var d=v?e.value():e,_=g?t.value():t;return s||(s=new b),a(d,_,r,n,s)}}return l?(s||(s=new b),mn(e,t,r,n,a,s)):!1}function Pe(e,t,r,n,a){return e===t?!0:e==null||t==null||!P(e)&&!P(t)?e!==e&&t!==t:Ln(e,t,r,n,Pe,a)}function qn(e,t){return Pe(e,t)}function Mn(e,t,r,n){for(var a=e.length,s=r+(n?1:-1);n?s--:++s<a;)if(t(e[s],s,e))return s;return-1}function Dn(e){return e!==e}function Gn(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function Rn(e,t,r){return t===t?Gn(e,t,r):Mn(e,Dn,r)}function Wn(e,t){var r=e==null?0:e.length;return!!r&&Rn(e,t,0)>-1}function Jn(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}function je(e,t){if(e.classList)return e.classList.contains(t);var r=e.className;return" ".concat(r," ").indexOf(" ".concat(t," "))>-1}function ye(e,t){e.classList?e.classList.add(t):je(e,t)||(e.className="".concat(e.className," ").concat(t))}function _e(e,t){if(e.classList)e.classList.remove(t);else if(je(e,t)){var r=e.className;e.className=" ".concat(r," ").replace(" ".concat(t," ")," ")}}var Fn=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:t,appear:r,css:!0,onBeforeEnter:function(a){a.style.height="0px",a.style.opacity="0",ye(a,t)},onEnter:function(a){Re(function(){a.style.height="".concat(a.scrollHeight,"px"),a.style.opacity="1"})},onAfterEnter:function(a){a&&(_e(a,t),a.style.height=null,a.style.opacity=null)},onBeforeLeave:function(a){ye(a,t),a.style.height="".concat(a.offsetHeight,"px"),a.style.opacity=null},onLeave:function(a){setTimeout(function(){a.style.height="0px",a.style.opacity="0"})},onAfterLeave:function(a){a&&(_e(a,t),a.style&&(a.style.height=null,a.style.opacity=null))}}};const Xn=Fn;var Bn=function(){return me()&&window.document.documentElement},Ce=function(t){if(me()&&window.document.documentElement){var r=Array.isArray(t)?t:[t],n=window.document.documentElement;return r.some(function(a){return a in n.style})}return!1},Un=function(t,r){if(!Ce(t))return!1;var n=document.createElement("div"),a=n.style[t];return n.style[t]=r,n.style[t]!==a};function Yn(e,t){return!Array.isArray(e)&&t!==void 0?Un(e,t):Ce(e)}var G,Hn=function(){if(!Bn())return!1;if(G!==void 0)return G;var t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="column",t.style.rowGap="1px",t.appendChild(document.createElement("div")),t.appendChild(document.createElement("div")),document.body.appendChild(t),G=t.scrollHeight===1,document.body.removeChild(t),G};const Zn=function(){var e=Fe(!1);return Be(function(){e.value=Hn()}),e};export{Ae as A,Ee as B,Sr as C,mr as D,Zn as E,X as F,qt as G,Bn as H,Yn as I,E as M,b as S,k as U,hn as a,on as b,ir as c,ur as d,ge as e,en as f,dr as g,F as h,fn as i,q as j,vn as k,oe as l,Pe as m,se as n,Mn as o,Xn as p,R as q,Ut as r,cr as s,Jn as t,Wn as u,qn as v,Nn as w,Kn as x,Ue as y,S as z};