strapi-admin-portal 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -60
- package/dist/index.mjs +1 -60
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,60 +1 @@
|
|
|
1
|
-
"use strict";var ms=Object.create;var ot=Object.defineProperty;var ys=Object.getOwnPropertyDescriptor;var gs=Object.getOwnPropertyNames;var vs=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty;var s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xs=(e,t)=>{for(var r in t)ot(e,r,{get:t[r],enumerable:!0})},Or=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gs(t))!bs.call(e,o)&&o!==r&&ot(e,o,{get:()=>t[o],enumerable:!(n=ys(t,o))||n.enumerable});return e};var Pr=(e,t,r)=>(r=e!=null?ms(vs(e)):{},Or(t||!e||!e.__esModule?ot(r,"default",{value:e,enumerable:!0}):r,e)),ws=e=>Or(ot({},"__esModule",{value:!0}),e);var Xt=s((Fh,Cn)=>{"use strict";function pc(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}Cn.exports=pc});var Zt=s(($h,jn)=>{"use strict";function lc(e){return e}jn.exports=lc});var Tn=s((zh,En)=>{"use strict";var fc=Xt(),An=Math.max;function dc(e,t,r){return t=An(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=An(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=n[o];return c[t]=r(a),fc(e,this,c)}}En.exports=dc});var qn=s((Gh,In)=>{"use strict";function hc(e){return function(){return e}}In.exports=hc});var Jt=s((Bh,Rn)=>{"use strict";var mc=typeof global=="object"&&global&&global.Object===Object&&global;Rn.exports=mc});var le=s((Vh,Nn)=>{"use strict";var yc=Jt(),gc=typeof self=="object"&&self&&self.Object===Object&&self,vc=yc||gc||Function("return this")();Nn.exports=vc});var Qt=s((Uh,kn)=>{"use strict";var bc=le(),xc=bc.Symbol;kn.exports=xc});var Fn=s((Hh,Ln)=>{"use strict";var Dn=Qt(),Mn=Object.prototype,wc=Mn.hasOwnProperty,Sc=Mn.toString,ze=Dn?Dn.toStringTag:void 0;function _c(e){var t=wc.call(e,ze),r=e[ze];try{e[ze]=void 0;var n=!0}catch{}var o=Sc.call(e);return n&&(t?e[ze]=r:delete e[ze]),o}Ln.exports=_c});var zn=s((Wh,$n)=>{"use strict";var Oc=Object.prototype,Pc=Oc.toString;function Cc(e){return Pc.call(e)}$n.exports=Cc});var Ge=s((Yh,Vn)=>{"use strict";var Gn=Qt(),jc=Fn(),Ac=zn(),Ec="[object Null]",Tc="[object Undefined]",Bn=Gn?Gn.toStringTag:void 0;function Ic(e){return e==null?e===void 0?Tc:Ec:Bn&&Bn in Object(e)?jc(e):Ac(e)}Vn.exports=Ic});var Q=s((Kh,Un)=>{"use strict";function qc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Un.exports=qc});var wt=s((Xh,Hn)=>{"use strict";var Rc=Ge(),Nc=Q(),kc="[object AsyncFunction]",Dc="[object Function]",Mc="[object GeneratorFunction]",Lc="[object Proxy]";function Fc(e){if(!Nc(e))return!1;var t=Rc(e);return t==Dc||t==Mc||t==kc||t==Lc}Hn.exports=Fc});var Yn=s((Zh,Wn)=>{"use strict";var $c=le(),zc=$c["__core-js_shared__"];Wn.exports=zc});var Zn=s((Jh,Xn)=>{"use strict";var er=Yn(),Kn=(function(){var e=/[^.]+$/.exec(er&&er.keys&&er.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Gc(e){return!!Kn&&Kn in e}Xn.exports=Gc});var Qn=s((Qh,Jn)=>{"use strict";var Bc=Function.prototype,Vc=Bc.toString;function Uc(e){if(e!=null){try{return Vc.call(e)}catch{}try{return e+""}catch{}}return""}Jn.exports=Uc});var to=s((em,eo)=>{"use strict";var Hc=wt(),Wc=Zn(),Yc=Q(),Kc=Qn(),Xc=/[\\^$.*+?()[\]{}|]/g,Zc=/^\[object .+?Constructor\]$/,Jc=Function.prototype,Qc=Object.prototype,eu=Jc.toString,tu=Qc.hasOwnProperty,ru=RegExp("^"+eu.call(tu).replace(Xc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nu(e){if(!Yc(e)||Wc(e))return!1;var t=Hc(e)?ru:Zc;return t.test(Kc(e))}eo.exports=nu});var no=s((tm,ro)=>{"use strict";function ou(e,t){return e?.[t]}ro.exports=ou});var St=s((rm,oo)=>{"use strict";var iu=to(),au=no();function su(e,t){var r=au(e,t);return iu(r)?r:void 0}oo.exports=su});var tr=s((nm,io)=>{"use strict";var cu=St(),uu=(function(){try{var e=cu(Object,"defineProperty");return e({},"",{}),e}catch{}})();io.exports=uu});var co=s((om,so)=>{"use strict";var pu=qn(),ao=tr(),lu=Zt(),fu=ao?function(e,t){return ao(e,"toString",{configurable:!0,enumerable:!1,value:pu(t),writable:!0})}:lu;so.exports=fu});var po=s((im,uo)=>{"use strict";var du=800,hu=16,mu=Date.now;function yu(e){var t=0,r=0;return function(){var n=mu(),o=hu-(n-r);if(r=n,o>0){if(++t>=du)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}uo.exports=yu});var fo=s((am,lo)=>{"use strict";var gu=co(),vu=po(),bu=vu(gu);lo.exports=bu});var rr=s((sm,ho)=>{"use strict";var xu=Zt(),wu=Tn(),Su=fo();function _u(e,t){return Su(wu(e,t,xu),e+"")}ho.exports=_u});var yo=s((cm,mo)=>{"use strict";function Ou(){this.__data__=[],this.size=0}mo.exports=Ou});var Be=s((um,go)=>{"use strict";function Pu(e,t){return e===t||e!==e&&t!==t}go.exports=Pu});var Ve=s((pm,vo)=>{"use strict";var Cu=Be();function ju(e,t){for(var r=e.length;r--;)if(Cu(e[r][0],t))return r;return-1}vo.exports=ju});var xo=s((lm,bo)=>{"use strict";var Au=Ve(),Eu=Array.prototype,Tu=Eu.splice;function Iu(e){var t=this.__data__,r=Au(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Tu.call(t,r,1),--this.size,!0}bo.exports=Iu});var So=s((fm,wo)=>{"use strict";var qu=Ve();function Ru(e){var t=this.__data__,r=qu(t,e);return r<0?void 0:t[r][1]}wo.exports=Ru});var Oo=s((dm,_o)=>{"use strict";var Nu=Ve();function ku(e){return Nu(this.__data__,e)>-1}_o.exports=ku});var Co=s((hm,Po)=>{"use strict";var Du=Ve();function Mu(e,t){var r=this.__data__,n=Du(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Po.exports=Mu});var Ue=s((mm,jo)=>{"use strict";var Lu=yo(),Fu=xo(),$u=So(),zu=Oo(),Gu=Co();function Oe(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])}}Oe.prototype.clear=Lu;Oe.prototype.delete=Fu;Oe.prototype.get=$u;Oe.prototype.has=zu;Oe.prototype.set=Gu;jo.exports=Oe});var Eo=s((ym,Ao)=>{"use strict";var Bu=Ue();function Vu(){this.__data__=new Bu,this.size=0}Ao.exports=Vu});var Io=s((gm,To)=>{"use strict";function Uu(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}To.exports=Uu});var Ro=s((vm,qo)=>{"use strict";function Hu(e){return this.__data__.get(e)}qo.exports=Hu});var ko=s((bm,No)=>{"use strict";function Wu(e){return this.__data__.has(e)}No.exports=Wu});var nr=s((xm,Do)=>{"use strict";var Yu=St(),Ku=le(),Xu=Yu(Ku,"Map");Do.exports=Xu});var He=s((wm,Mo)=>{"use strict";var Zu=St(),Ju=Zu(Object,"create");Mo.exports=Ju});var $o=s((Sm,Fo)=>{"use strict";var Lo=He();function Qu(){this.__data__=Lo?Lo(null):{},this.size=0}Fo.exports=Qu});var Go=s((_m,zo)=>{"use strict";function ep(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}zo.exports=ep});var Vo=s((Om,Bo)=>{"use strict";var tp=He(),rp="__lodash_hash_undefined__",np=Object.prototype,op=np.hasOwnProperty;function ip(e){var t=this.__data__;if(tp){var r=t[e];return r===rp?void 0:r}return op.call(t,e)?t[e]:void 0}Bo.exports=ip});var Ho=s((Pm,Uo)=>{"use strict";var ap=He(),sp=Object.prototype,cp=sp.hasOwnProperty;function up(e){var t=this.__data__;return ap?t[e]!==void 0:cp.call(t,e)}Uo.exports=up});var Yo=s((Cm,Wo)=>{"use strict";var pp=He(),lp="__lodash_hash_undefined__";function fp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pp&&t===void 0?lp:t,this}Wo.exports=fp});var Xo=s((jm,Ko)=>{"use strict";var dp=$o(),hp=Go(),mp=Vo(),yp=Ho(),gp=Yo();function Pe(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])}}Pe.prototype.clear=dp;Pe.prototype.delete=hp;Pe.prototype.get=mp;Pe.prototype.has=yp;Pe.prototype.set=gp;Ko.exports=Pe});var Qo=s((Am,Jo)=>{"use strict";var Zo=Xo(),vp=Ue(),bp=nr();function xp(){this.size=0,this.__data__={hash:new Zo,map:new(bp||vp),string:new Zo}}Jo.exports=xp});var ti=s((Em,ei)=>{"use strict";function wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}ei.exports=wp});var We=s((Tm,ri)=>{"use strict";var Sp=ti();function _p(e,t){var r=e.__data__;return Sp(t)?r[typeof t=="string"?"string":"hash"]:r.map}ri.exports=_p});var oi=s((Im,ni)=>{"use strict";var Op=We();function Pp(e){var t=Op(this,e).delete(e);return this.size-=t?1:0,t}ni.exports=Pp});var ai=s((qm,ii)=>{"use strict";var Cp=We();function jp(e){return Cp(this,e).get(e)}ii.exports=jp});var ci=s((Rm,si)=>{"use strict";var Ap=We();function Ep(e){return Ap(this,e).has(e)}si.exports=Ep});var pi=s((Nm,ui)=>{"use strict";var Tp=We();function Ip(e,t){var r=Tp(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}ui.exports=Ip});var fi=s((km,li)=>{"use strict";var qp=Qo(),Rp=oi(),Np=ai(),kp=ci(),Dp=pi();function Ce(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])}}Ce.prototype.clear=qp;Ce.prototype.delete=Rp;Ce.prototype.get=Np;Ce.prototype.has=kp;Ce.prototype.set=Dp;li.exports=Ce});var hi=s((Dm,di)=>{"use strict";var Mp=Ue(),Lp=nr(),Fp=fi(),$p=200;function zp(e,t){var r=this.__data__;if(r instanceof Mp){var n=r.__data__;if(!Lp||n.length<$p-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Fp(n)}return r.set(e,t),this.size=r.size,this}di.exports=zp});var yi=s((Mm,mi)=>{"use strict";var Gp=Ue(),Bp=Eo(),Vp=Io(),Up=Ro(),Hp=ko(),Wp=hi();function je(e){var t=this.__data__=new Gp(e);this.size=t.size}je.prototype.clear=Bp;je.prototype.delete=Vp;je.prototype.get=Up;je.prototype.has=Hp;je.prototype.set=Wp;mi.exports=je});var _t=s((Lm,vi)=>{"use strict";var gi=tr();function Yp(e,t,r){t=="__proto__"&&gi?gi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}vi.exports=Yp});var or=s((Fm,bi)=>{"use strict";var Kp=_t(),Xp=Be();function Zp(e,t,r){(r!==void 0&&!Xp(e[t],r)||r===void 0&&!(t in e))&&Kp(e,t,r)}bi.exports=Zp});var wi=s(($m,xi)=>{"use strict";function Jp(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),c=a.length;c--;){var u=a[e?c:++o];if(r(i[u],u,i)===!1)break}return t}}xi.exports=Jp});var _i=s((zm,Si)=>{"use strict";var Qp=wi(),el=Qp();Si.exports=el});var Ai=s((Ye,Ae)=>{"use strict";var tl=le(),ji=typeof Ye=="object"&&Ye&&!Ye.nodeType&&Ye,Oi=ji&&typeof Ae=="object"&&Ae&&!Ae.nodeType&&Ae,rl=Oi&&Oi.exports===ji,Pi=rl?tl.Buffer:void 0,Ci=Pi?Pi.allocUnsafe:void 0;function nl(e,t){if(t)return e.slice();var r=e.length,n=Ci?Ci(r):new e.constructor(r);return e.copy(n),n}Ae.exports=nl});var Ti=s((Gm,Ei)=>{"use strict";var ol=le(),il=ol.Uint8Array;Ei.exports=il});var Ri=s((Bm,qi)=>{"use strict";var Ii=Ti();function al(e){var t=new e.constructor(e.byteLength);return new Ii(t).set(new Ii(e)),t}qi.exports=al});var ki=s((Vm,Ni)=>{"use strict";var sl=Ri();function cl(e,t){var r=t?sl(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Ni.exports=cl});var Mi=s((Um,Di)=>{"use strict";function ul(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}Di.exports=ul});var $i=s((Hm,Fi)=>{"use strict";var pl=Q(),Li=Object.create,ll=(function(){function e(){}return function(t){if(!pl(t))return{};if(Li)return Li(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();Fi.exports=ll});var Gi=s((Wm,zi)=>{"use strict";function fl(e,t){return function(r){return e(t(r))}}zi.exports=fl});var ir=s((Ym,Bi)=>{"use strict";var dl=Gi(),hl=dl(Object.getPrototypeOf,Object);Bi.exports=hl});var ar=s((Km,Vi)=>{"use strict";var ml=Object.prototype;function yl(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ml;return e===r}Vi.exports=yl});var Hi=s((Xm,Ui)=>{"use strict";var gl=$i(),vl=ir(),bl=ar();function xl(e){return typeof e.constructor=="function"&&!bl(e)?gl(vl(e)):{}}Ui.exports=xl});var Ee=s((Zm,Wi)=>{"use strict";function wl(e){return e!=null&&typeof e=="object"}Wi.exports=wl});var Ki=s((Jm,Yi)=>{"use strict";var Sl=Ge(),_l=Ee(),Ol="[object Arguments]";function Pl(e){return _l(e)&&Sl(e)==Ol}Yi.exports=Pl});var sr=s((Qm,Ji)=>{"use strict";var Xi=Ki(),Cl=Ee(),Zi=Object.prototype,jl=Zi.hasOwnProperty,Al=Zi.propertyIsEnumerable,El=Xi((function(){return arguments})())?Xi:function(e){return Cl(e)&&jl.call(e,"callee")&&!Al.call(e,"callee")};Ji.exports=El});var cr=s((ey,Qi)=>{"use strict";var Tl=Array.isArray;Qi.exports=Tl});var ur=s((ty,ea)=>{"use strict";var Il=9007199254740991;function ql(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Il}ea.exports=ql});var Ot=s((ry,ta)=>{"use strict";var Rl=wt(),Nl=ur();function kl(e){return e!=null&&Nl(e.length)&&!Rl(e)}ta.exports=kl});var na=s((ny,ra)=>{"use strict";var Dl=Ot(),Ml=Ee();function Ll(e){return Ml(e)&&Dl(e)}ra.exports=Ll});var ia=s((oy,oa)=>{"use strict";function Fl(){return!1}oa.exports=Fl});var pr=s((Ke,Te)=>{"use strict";var $l=le(),zl=ia(),ca=typeof Ke=="object"&&Ke&&!Ke.nodeType&&Ke,aa=ca&&typeof Te=="object"&&Te&&!Te.nodeType&&Te,Gl=aa&&aa.exports===ca,sa=Gl?$l.Buffer:void 0,Bl=sa?sa.isBuffer:void 0,Vl=Bl||zl;Te.exports=Vl});var la=s((iy,pa)=>{"use strict";var Ul=Ge(),Hl=ir(),Wl=Ee(),Yl="[object Object]",Kl=Function.prototype,Xl=Object.prototype,ua=Kl.toString,Zl=Xl.hasOwnProperty,Jl=ua.call(Object);function Ql(e){if(!Wl(e)||Ul(e)!=Yl)return!1;var t=Hl(e);if(t===null)return!0;var r=Zl.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ua.call(r)==Jl}pa.exports=Ql});var da=s((ay,fa)=>{"use strict";var ef=Ge(),tf=ur(),rf=Ee(),nf="[object Arguments]",of="[object Array]",af="[object Boolean]",sf="[object Date]",cf="[object Error]",uf="[object Function]",pf="[object Map]",lf="[object Number]",ff="[object Object]",df="[object RegExp]",hf="[object Set]",mf="[object String]",yf="[object WeakMap]",gf="[object ArrayBuffer]",vf="[object DataView]",bf="[object Float32Array]",xf="[object Float64Array]",wf="[object Int8Array]",Sf="[object Int16Array]",_f="[object Int32Array]",Of="[object Uint8Array]",Pf="[object Uint8ClampedArray]",Cf="[object Uint16Array]",jf="[object Uint32Array]",A={};A[bf]=A[xf]=A[wf]=A[Sf]=A[_f]=A[Of]=A[Pf]=A[Cf]=A[jf]=!0;A[nf]=A[of]=A[gf]=A[af]=A[vf]=A[sf]=A[cf]=A[uf]=A[pf]=A[lf]=A[ff]=A[df]=A[hf]=A[mf]=A[yf]=!1;function Af(e){return rf(e)&&tf(e.length)&&!!A[ef(e)]}fa.exports=Af});var ma=s((sy,ha)=>{"use strict";function Ef(e){return function(t){return e(t)}}ha.exports=Ef});var ga=s((Xe,Ie)=>{"use strict";var Tf=Jt(),ya=typeof Xe=="object"&&Xe&&!Xe.nodeType&&Xe,Ze=ya&&typeof Ie=="object"&&Ie&&!Ie.nodeType&&Ie,If=Ze&&Ze.exports===ya,lr=If&&Tf.process,qf=(function(){try{var e=Ze&&Ze.require&&Ze.require("util").types;return e||lr&&lr.binding&&lr.binding("util")}catch{}})();Ie.exports=qf});var fr=s((cy,xa)=>{"use strict";var Rf=da(),Nf=ma(),va=ga(),ba=va&&va.isTypedArray,kf=ba?Nf(ba):Rf;xa.exports=kf});var dr=s((uy,wa)=>{"use strict";function Df(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}wa.exports=Df});var _a=s((py,Sa)=>{"use strict";var Mf=_t(),Lf=Be(),Ff=Object.prototype,$f=Ff.hasOwnProperty;function zf(e,t,r){var n=e[t];(!($f.call(e,t)&&Lf(n,r))||r===void 0&&!(t in e))&&Mf(e,t,r)}Sa.exports=zf});var Pa=s((ly,Oa)=>{"use strict";var Gf=_a(),Bf=_t();function Vf(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=n?n(r[c],e[c],c,r,e):void 0;u===void 0&&(u=e[c]),o?Bf(r,c,u):Gf(r,c,u)}return r}Oa.exports=Vf});var ja=s((fy,Ca)=>{"use strict";function Uf(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}Ca.exports=Uf});var hr=s((dy,Aa)=>{"use strict";var Hf=9007199254740991,Wf=/^(?:0|[1-9]\d*)$/;function Yf(e,t){var r=typeof e;return t=t??Hf,!!t&&(r=="number"||r!="symbol"&&Wf.test(e))&&e>-1&&e%1==0&&e<t}Aa.exports=Yf});var Ta=s((hy,Ea)=>{"use strict";var Kf=ja(),Xf=sr(),Zf=cr(),Jf=pr(),Qf=hr(),ed=fr(),td=Object.prototype,rd=td.hasOwnProperty;function nd(e,t){var r=Zf(e),n=!r&&Xf(e),o=!r&&!n&&Jf(e),i=!r&&!n&&!o&&ed(e),a=r||n||o||i,c=a?Kf(e.length,String):[],u=c.length;for(var h in e)(t||rd.call(e,h))&&!(a&&(h=="length"||o&&(h=="offset"||h=="parent")||i&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Qf(h,u)))&&c.push(h);return c}Ea.exports=nd});var qa=s((my,Ia)=>{"use strict";function od(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Ia.exports=od});var Na=s((yy,Ra)=>{"use strict";var id=Q(),ad=ar(),sd=qa(),cd=Object.prototype,ud=cd.hasOwnProperty;function pd(e){if(!id(e))return sd(e);var t=ad(e),r=[];for(var n in e)n=="constructor"&&(t||!ud.call(e,n))||r.push(n);return r}Ra.exports=pd});var mr=s((gy,ka)=>{"use strict";var ld=Ta(),fd=Na(),dd=Ot();function hd(e){return dd(e)?ld(e,!0):fd(e)}ka.exports=hd});var Ma=s((vy,Da)=>{"use strict";var md=Pa(),yd=mr();function gd(e){return md(e,yd(e))}Da.exports=gd});var Ba=s((by,Ga)=>{"use strict";var La=or(),vd=Ai(),bd=ki(),xd=Mi(),wd=Hi(),Fa=sr(),$a=cr(),Sd=na(),_d=pr(),Od=wt(),Pd=Q(),Cd=la(),jd=fr(),za=dr(),Ad=Ma();function Ed(e,t,r,n,o,i,a){var c=za(e,r),u=za(t,r),h=a.get(u);if(h){La(e,r,h);return}var l=i?i(c,u,r+"",e,t,a):void 0,d=l===void 0;if(d){var _=$a(u),w=!_&&_d(u),v=!_&&!w&&jd(u);l=u,_||w||v?$a(c)?l=c:Sd(c)?l=xd(c):w?(d=!1,l=vd(u,!0)):v?(d=!1,l=bd(u,!0)):l=[]:Cd(u)||Fa(u)?(l=c,Fa(c)?l=Ad(c):(!Pd(c)||Od(c))&&(l=wd(u))):d=!1}d&&(a.set(u,l),o(l,u,n,i,a),a.delete(u)),La(e,r,l)}Ga.exports=Ed});var yr=s((xy,Ua)=>{"use strict";var Td=yi(),Id=or(),qd=_i(),Rd=Ba(),Nd=Q(),kd=mr(),Dd=dr();function Va(e,t,r,n,o){e!==t&&qd(t,function(i,a){if(o||(o=new Td),Nd(i))Rd(e,t,a,r,Va,n,o);else{var c=n?n(Dd(e,a),i,a+"",e,t,o):void 0;c===void 0&&(c=i),Id(e,a,c)}},kd)}Ua.exports=Va});var Ka=s((wy,Ya)=>{"use strict";var Md=yr(),Ha=Q();function Wa(e,t,r,n,o,i){return Ha(e)&&Ha(t)&&(i.set(t,e),Md(e,t,void 0,Wa,i),i.delete(t)),e}Ya.exports=Wa});var Za=s((Sy,Xa)=>{"use strict";var Ld=Be(),Fd=Ot(),$d=hr(),zd=Q();function Gd(e,t,r){if(!zd(r))return!1;var n=typeof t;return(n=="number"?Fd(r)&&$d(t,r.length):n=="string"&&t in r)?Ld(r[t],e):!1}Xa.exports=Gd});var Qa=s((_y,Ja)=>{"use strict";var Bd=rr(),Vd=Za();function Ud(e){return Bd(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&Vd(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var c=r[n];c&&e(t,c,n,i)}return t})}Ja.exports=Ud});var ts=s((Oy,es)=>{"use strict";var Hd=yr(),Wd=Qa(),Yd=Wd(function(e,t,r,n){Hd(e,t,r,n)});es.exports=Yd});var ns=s((Py,rs)=>{"use strict";var Kd=Xt(),Xd=rr(),Zd=Ka(),Jd=ts(),Qd=Xd(function(e){return e.push(void 0,Zd),Kd(Jd,void 0,e)});rs.exports=Qd});var rh={};xs(rh,{initialiseInjections:()=>th});module.exports=ws(rh);var ss=require("react-dom/client");var ee=require("react"),os=require("react-intl");var k=function(){return k=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};function oe(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Cr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ss=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,jr=Cr(function(e){return Ss.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var S=Pr(require("react"));var j="-ms-",ie="-moz-",x="-webkit-",it="comm",te="rule",me="decl";var Ar="@import";var Er="@namespace",at="@keyframes";var Tr="@layer";var At=Math.abs,Ne=String.fromCharCode,ke=Object.assign;function Ir(e,t){return E(e,0)^45?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}function st(e){return e.trim()}function V(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,r){return e.replace(t,r)}function ye(e,t,r){return e.indexOf(t,r)}function E(e,t){return e.charCodeAt(t)|0}function U(e,t,r){return e.slice(t,r)}function D(e){return e.length}function ct(e){return e.length}function ae(e,t){return t.push(e),e}function qr(e,t){return e.map(t).join("")}function Et(e,t){return e.filter(function(r){return!V(r,t)})}var ut=1,ge=1,Rr=0,$=0,q=0,be="";function De(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ut,column:ge,length:a,return:"",siblings:c}}function K(e,t){return ke(De("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function se(e){for(;e.root;)e=K(e.root,{children:[e]});ae(e,e.siblings)}function Nr(){return q}function kr(){return q=$>0?E(be,--$):0,ge--,q===10&&(ge=1,ut--),q}function z(){return q=$<Rr?E(be,$++):0,ge++,q===10&&(ge=1,ut++),q}function X(){return E(be,$)}function Me(){return $}function pt(e,t){return U(be,e,t)}function ve(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dr(e){return ut=ge=1,Rr=D(be=e),$=0,[]}function Mr(e){return be="",e}function lt(e){return st(pt($-1,Tt(e===91?e+2:e===40?e+1:e)))}function Lr(e){for(;(q=X())&&q<33;)z();return ve(e)>2||ve(q)>3?"":" "}function Fr(e,t){for(;--t&&z()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return pt(e,Me()+(t<6&&X()==32&&z()==32))}function Tt(e){for(;z();)switch(q){case e:return $;case 34:case 39:e!==34&&e!==39&&Tt(q);break;case 40:e===41&&Tt(e);break;case 92:z();break}return $}function $r(e,t){for(;z()&&e+q!==57;)if(e+q===84&&X()===47)break;return"/*"+pt(t,$-1)+"*"+Ne(e===47?e:z())}function zr(e){for(;!ve(X());)z();return pt(e,$)}function Vr(e){return Mr(ft("",null,null,null,[""],e=Dr(e),0,[0],e))}function ft(e,t,r,n,o,i,a,c,u){for(var h=0,l=0,d=a,_=0,w=0,v=0,O=1,R=1,I=1,T=0,C="",f=o,b=i,y=n,p=C;R;)switch(v=T,T=z()){case 40:if(v!=108&&E(p,d-1)==58){ye(p+=g(lt(T),"&","&\f"),"&\f",At(h?c[h-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:p+=lt(T);break;case 9:case 10:case 13:case 32:p+=Lr(v);break;case 92:p+=Fr(Me()-1,7);continue;case 47:switch(X()){case 42:case 47:ae(_s($r(z(),Me()),t,r,u),u),(ve(v||1)==5||ve(X()||1)==5)&&D(p)&&U(p,-1,void 0)!==" "&&(p+=" ");break;default:p+="/"}break;case 123*O:c[h++]=D(p)*I;case 125*O:case 59:case 0:switch(T){case 0:case 125:R=0;case 59+l:I==-1&&(p=g(p,/\f/g,"")),w>0&&(D(p)-d||O===0&&v===47)&&ae(w>32?Br(p+";",n,r,d-1,u):Br(g(p," ","")+";",n,r,d-2,u),u);break;case 59:p+=";";default:if(ae(y=Gr(p,t,r,h,l,o,c,C,f=[],b=[],d,i),i),T===123)if(l===0)ft(p,t,y,y,f,i,d,c,b);else{switch(_){case 99:if(E(p,3)===110)break;case 108:if(E(p,2)===97)break;default:l=0;case 100:case 109:case 115:}l?ft(e,y,y,n&&ae(Gr(e,y,y,0,0,o,c,C,o,f=[],d,b),b),o,b,d,c,n?f:b):ft(p,y,y,y,[""],b,0,c,b)}}h=l=w=0,O=I=1,C=p="",d=a;break;case 58:d=1+D(p),w=v;default:if(O<1){if(T==123)--O;else if(T==125&&O++==0&&kr()==125)continue}switch(p+=Ne(T),T*O){case 38:I=l>0?1:(p+="\f",-1);break;case 44:c[h++]=(D(p)-1)*I,I=1;break;case 64:X()===45&&(p+=lt(z())),_=X(),l=d=D(C=p+=zr(Me())),T++;break;case 45:v===45&&D(p)==2&&(O=0)}}return i}function Gr(e,t,r,n,o,i,a,c,u,h,l,d){for(var _=o-1,w=o===0?i:[""],v=ct(w),O=0,R=0,I=0;O<n;++O)for(var T=0,C=U(e,_+1,_=At(R=a[O])),f=e;T<v;++T)(f=st(R>0?w[T]+" "+C:g(C,/&\f/g,w[T])))&&(u[I++]=f);return De(e,t,r,o===0?te:c,u,h,l,d)}function _s(e,t,r,n){return De(e,t,r,it,Ne(Nr()),U(e,2,-2),0,n)}function Br(e,t,r,n,o){return De(e,t,r,me,U(e,0,n),U(e,n+1,-1),n,o)}function It(e,t,r){switch(Ir(e,t)){case 5103:return x+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return x+e+e;case 4855:return x+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+ie+e+j+e+e;case 5936:switch(E(e,t+11)){case 114:return x+e+j+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+j+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+j+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return x+e+j+e+e;case 6165:return x+e+j+"flex-"+e+e;case 5187:return x+e+g(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return x+e+j+"flex-item-"+g(e,/flex-|-self/g,"")+(V(e,/flex-|baseline/)?"":j+"grid-row-"+g(e,/flex-|-self/g,""))+e;case 4675:return x+e+j+"flex-line-pack"+g(e,/align-content|flex-|-self/g,"")+e;case 5548:return x+e+j+g(e,"shrink","negative")+e;case 5292:return x+e+j+g(e,"basis","preferred-size")+e;case 6060:return x+"box-"+g(e,"-grow","")+x+e+j+g(e,"grow","positive")+e;case 4554:return x+g(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+j+"flex-pack:$3"),/space-between/,"justify")+x+e+e;case 4200:if(!V(e,/flex-|baseline/))return j+"grid-column-align"+U(e,t)+e;break;case 2592:case 3360:return j+g(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,V(n.props,/grid-\w+-end/)})?~ye(e+(r=r[t].value),"span",0)?e:j+g(e,"-start","")+e+j+"grid-row-span:"+(~ye(r,"span",0)?V(r,/\d+/):+V(r,/\d+/)-+V(e,/\d+/))+";":j+g(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return V(n.props,/grid-\w+-start/)})?e:j+g(g(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,x+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(E(e,t+1)){case 109:if(E(e,t+4)!==45)break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+ie+(E(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ye(e,"stretch",0)?It(g(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return g(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,h){return j+o+":"+i+h+(a?j+o+"-span:"+(c?u:+u-+i)+h:"")+e});case 4949:if(E(e,t+6)===121)return g(e,":",":"+x)+e;break;case 6444:switch(E(e,E(e,14)===45?18:11)){case 120:return g(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+x+(E(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+j+"$2box$3")+e;case 100:return g(e,":",":"+j)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(e,"scroll-","scroll-snap-")+e}return e}function xe(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Ur(e,t,r,n){switch(e.type){case Tr:if(e.children.length)break;case Ar:case Er:case me:return e.return=e.return||e.value;case it:return"";case at:return e.return=e.value+"{"+xe(e.children,n)+"}";case te:if(!D(e.value=e.props.join(",")))return""}return D(r=xe(e.children,n))?e.return=e.value+"{"+r+"}":""}function Hr(e){var t=ct(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Wr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Yr(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case me:e.return=It(e.value,e.length,r);return;case at:return xe([K(e,{value:g(e.value,"@","@"+x)})],n);case te:if(e.length)return qr(r=e.props,function(o){switch(V(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":se(K(e,{props:[g(o,/:(read-\w+)/,":"+ie+"$1")]})),se(K(e,{props:[o]})),ke(e,{props:Et(r,n)});break;case"::placeholder":se(K(e,{props:[g(o,/:(plac\w+)/,":"+x+"input-$1")]})),se(K(e,{props:[g(o,/:(plac\w+)/,":"+ie+"$1")]})),se(K(e,{props:[g(o,/:(plac\w+)/,j+"input-$1")]})),se(K(e,{props:[o]})),ke(e,{props:Et(r,n)});break}return""})}}var Kr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ln="active",gt="data-styled-version",we="6.3.9",Ut=`/*!sc*/
|
|
2
|
-
`,Fe=typeof window<"u"&&typeof document<"u",H=S.default.createContext===void 0,Os=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production");var Xr=/invalid hook call/i,dt=new Set,Ps=function(e,t){if(process.env.NODE_ENV!=="production"){if(H)return;var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
3
|
-
`)+`You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
5
|
-
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
6
|
-
`,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Xr.test(a)?(i=!1,dt.delete(n)):o.apply(void 0,oe([a],c,!1))},typeof S.default.useState=="function"&&S.default.useState(null),i&&!dt.has(n)&&(console.warn(n),dt.add(n))}catch(a){Xr.test(a.message)&&dt.delete(n)}finally{console.error=o}}},Ht=Object.freeze([]),Se=Object.freeze({});function Cs(e,t,r){return r===void 0&&(r=Se),e.theme!==r.theme&&e.theme||t||r.theme}var Dt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),js=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,As=/(^-|-$)/g;function Zr(e){return e.replace(js,"-").replace(As,"")}var Es=/(a)(d)/gi,Jr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Mt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Jr(t%52)+r;return(Jr(t%52)+r).replace(Es,"$1-$2")}var qt,re=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},fn=function(e){return re(5381,e)};function Ts(e){return Mt(fn(e)>>>0)}function dn(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Rt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var hn=typeof Symbol=="function"&&Symbol.for,mn=hn?Symbol.for("react.memo"):60115,Is=hn?Symbol.for("react.forward_ref"):60112,qs={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Rs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ns=((qt={})[Is]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qt[mn]=yn,qt);function Qr(e){return("type"in(t=e)&&t.type.$$typeof)===mn?yn:"$$typeof"in e?Ns[e.$$typeof]:qs;var t}var ks=Object.defineProperty,Ds=Object.getOwnPropertyNames,en=Object.getOwnPropertySymbols,Ms=Object.getOwnPropertyDescriptor,Ls=Object.getPrototypeOf,tn=Object.prototype;function gn(e,t,r){if(typeof t!="string"){if(tn){var n=Ls(t);n&&n!==tn&&gn(e,n,r)}var o=Ds(t);en&&(o=o.concat(en(t)));for(var i=Qr(e),a=Qr(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Rs||r&&r[u]||a&&u in a||i&&u in i)){var h=Ms(t,u);try{ks(e,u,h)}catch{}}}}return e}function pe(e){return typeof e=="function"}function Wt(e){return typeof e=="object"&&"styledComponentId"in e}function ue(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function vt(e,t){return e.join(t||"")}function _e(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Lt(e,t,r){if(r===void 0&&(r=!1),!r&&!_e(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Lt(e[n],t[n]);else if(_e(t))for(var n in t)e[n]=Lt(e[n],t[n]);return e}function Yt(e,t){Object.defineProperty(e,"toString",{value:t})}var Fs=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
7
|
-
|
|
8
|
-
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
9
|
-
|
|
10
|
-
- Are you trying to reuse it across renders?
|
|
11
|
-
- Are you accidentally calling collectStyles twice?
|
|
12
|
-
|
|
13
|
-
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
14
|
-
|
|
15
|
-
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
16
|
-
|
|
17
|
-
- Does this error occur on the client and is your target falsy?
|
|
18
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
19
|
-
|
|
20
|
-
`,5:`The clone method cannot be used on the client!
|
|
21
|
-
|
|
22
|
-
- Are you running in a client-like environment on the server?
|
|
23
|
-
- Are you trying to run SSR on the client?
|
|
24
|
-
|
|
25
|
-
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
26
|
-
|
|
27
|
-
- Are you using a custom target that isn't mounted?
|
|
28
|
-
- Does your document not have a valid head element?
|
|
29
|
-
- Have you accidentally removed a style tag manually?
|
|
30
|
-
|
|
31
|
-
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
32
|
-
|
|
33
|
-
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
34
|
-
|
|
35
|
-
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
36
|
-
|
|
37
|
-
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
38
|
-
|
|
39
|
-
`,14:`ThemeProvider: "theme" prop is required.
|
|
40
|
-
|
|
41
|
-
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
42
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
43
|
-
as for instance in your render method then you may be running into this limitation.
|
|
44
|
-
|
|
45
|
-
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
46
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
47
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function $s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function M(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error($s.apply(void 0,oe([Fs[e]],t,!1)).trim())}var zs=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw M(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=0,h=(a=0,r.length);a<h;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++,u++);u>0&&this._cGroup>t&&(this._cIndex+=u)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+=this.tag.getRule(a)+Ut;return r},e})(),Gs=1<<30,mt=new Map,bt=new Map,yt=1,Le=function(e){if(mt.has(e))return mt.get(e);for(;bt.has(yt);)yt++;var t=yt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Gs))throw M(16,"".concat(t));return mt.set(e,t),bt.set(t,e),t},Bs=function(e,t){yt=t+1,mt.set(e,t),bt.set(t,e)},Vs="style[".concat(J,"][").concat(gt,'="').concat(we,'"]'),Us=new RegExp("^".concat(J,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),rn=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Ft=function(e){if(!e)return document;if(rn(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(rn(t))return t}return document},Hs=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ws=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Ut),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(Us);if(u){var h=0|parseInt(u[1],10),l=u[2];h!==0&&(Bs(l,h),Hs(e,l,u[3]),e.getTag().insertRules(h,o)),o.length=0}else o.push(c)}}},Nt=function(e){for(var t=Ft(e.options.target).querySelectorAll(Vs),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(J)!==ln&&(Ws(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function $t(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var vn=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var u=Array.from(c.querySelectorAll("style[".concat(J,"]")));return u[u.length-1]})(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(J,ln),n.setAttribute(gt,we);var a=$t();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Ys=(function(){function e(t){this.element=vn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var n;if(r.sheet)return r.sheet;for(var o=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,a=o.length;i<a;i++){var c=o[i];if(c.ownerNode===r)return c}throw M(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),Ks=(function(){function e(t){this.element=vn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Xs=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),nn=Fe,Zs={isServer:!Fe,useCSSOMInjection:!Os},$e=(function(){function e(t,r,n){t===void 0&&(t=Se),r===void 0&&(r={});var o=this;this.options=k(k({},Zs),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Fe&&nn&&(nn=!1,Nt(this)),Yt(this,function(){return(function(i){for(var a=i.getTag(),c=a.length,u="",h=function(d){var _=(function(I){return bt.get(I)})(d);if(_===void 0)return"continue";var w=i.names.get(_);if(w===void 0||!w.size)return"continue";var v=a.getGroup(d);if(v.length===0)return"continue";var O=J+".g"+d+'[id="'+_+'"]',R="";w.forEach(function(I){I.length>0&&(R+=I+",")}),u+=v+O+'{content:"'+R+'"}'+Ut},l=0;l<c;l++)h(l);return u})(o)})}return e.registerId=function(t){return Le(t)},e.prototype.rehydrate=function(){!this.server&&Fe&&Nt(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(k(k({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Fe&&t.target!==this.options.target&&Ft(this.options.target)!==Ft(t.target)&&Nt(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Xs(o):n?new Ys(o):new Ks(o)})(this.options),new zs(t)));var t},e.prototype.hasNameForId=function(t,r){var n,o;return(o=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){Le(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Le(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Le(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Js=/&/g,Z=47,ce=42;function on(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,n=0,o=!1,i=0;i<t;i++){var a=e.charCodeAt(i);if(n!==0||o||a!==Z||e.charCodeAt(i+1)!==ce)if(o)a===ce&&e.charCodeAt(i+1)===Z&&(o=!1,i++);else if(a!==34&&a!==39||i!==0&&e.charCodeAt(i-1)===92){if(n===0){if(a===123)r++;else if(a===125&&--r<0)return!0}}else n===0?n=a:n===a&&(n=0);else o=!0,i++}return r!==0||n!==0}function bn(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=bn(r.children,t)),r})}function xn(e){var t,r,n,o=e===void 0?Se:e,i=o.options,a=i===void 0?Se:i,c=o.plugins,u=c===void 0?Ht:c,h=function(v,O,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):v},l=u.slice();l.push(function(v){v.type===te&&v.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),v.props[0]=v.props[0].replace(Js,r).replace(n,h))}),a.prefix&&l.push(Yr),l.push(Ur);var d=[],_=Hr(l.concat(Wr(function(v){return d.push(v)}))),w=function(v,O,R,I){O===void 0&&(O=""),R===void 0&&(R=""),I===void 0&&(I="&"),t=I,r=O,n=void 0;var T=(function(f){if(!on(f))return f;for(var b=f.length,y="",p=0,m=0,N=0,G=!1,P=0;P<b;P++){var B=f.charCodeAt(P);if(N!==0||G||B!==Z||f.charCodeAt(P+1)!==ce)if(G)B===ce&&f.charCodeAt(P+1)===Z&&(G=!1,P++);else if(B!==34&&B!==39||P!==0&&f.charCodeAt(P-1)===92){if(N===0)if(B===123)m++;else if(B===125){if(--m<0){for(var L=P+1;L<b;){var Je=f.charCodeAt(L);if(Je===59||Je===10)break;L++}L<b&&f.charCodeAt(L)===59&&L++,m=0,P=L-1,p=L;continue}m===0&&(y+=f.substring(p,P+1),p=P+1)}else B===59&&m===0&&(y+=f.substring(p,P+1),p=P+1)}else N===0?N=B:N===B&&(N=0);else G=!0,P++}if(p<b){var Qe=f.substring(p);on(Qe)||(y+=Qe)}return y})((function(f){if(f.indexOf("//")===-1)return f;for(var b=f.length,y=[],p=0,m=0,N=0,G=0;m<b;){var P=f.charCodeAt(m);if(P!==34&&P!==39||m!==0&&f.charCodeAt(m-1)===92)if(N===0)if(P===Z&&m+1<b&&f.charCodeAt(m+1)===ce){for(m+=2;m+1<b&&(f.charCodeAt(m)!==ce||f.charCodeAt(m+1)!==Z);)m++;m+=2}else if(P===40&&m>=3&&(32|f.charCodeAt(m-1))==108&&(32|f.charCodeAt(m-2))==114&&(32|f.charCodeAt(m-3))==117)G=1,m++;else if(G>0)P===41?G--:P===40&&G++,m++;else if(P===ce&&m+1<b&&f.charCodeAt(m+1)===Z)m>p&&y.push(f.substring(p,m)),p=m+=2;else if(P===Z&&m+1<b&&f.charCodeAt(m+1)===Z){for(m>p&&y.push(f.substring(p,m));m<b&&f.charCodeAt(m)!==10;)m++;p=m}else m++;else m++;else N===0?N=P:N===P&&(N=0),m++}return p===0?f:(p<b&&y.push(f.substring(p)),y.join(""))})(v)),C=Vr(R||O?"".concat(R," ").concat(O," { ").concat(T," }"):T);return a.namespace&&(C=bn(C,a.namespace)),d=[],xe(C,_),d};return w.hash=u.length?u.reduce(function(v,O){return O.name||M(15),re(v,O.name)},5381).toString():"",w}var Qs=new $e,zt=xn(),Gt={shouldForwardProp:void 0,styleSheet:Qs,stylis:zt},Kt=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(Gt)}}:S.default.createContext(Gt),Nh=Kt.Consumer,ec=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:S.default.createContext(void 0);function Bt(){return H?Gt:S.default.useContext(Kt)}function tc(e){if(H||!S.default.useMemo)return e.children;var t=Bt().styleSheet,r=S.default.useMemo(function(){var i=t;return e.sheet?i=e.sheet:e.target&&(i=i.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(i=i.reconstructWithOptions({useCSSOMInjection:!1})),i},[e.disableCSSOMInjection,e.sheet,e.target,t]),n=S.default.useMemo(function(){return xn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=S.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:n}},[e.shouldForwardProp,r,n]);return S.default.createElement(Kt.Provider,{value:o},S.default.createElement(ec.Provider,{value:n},e.children))}var an=(function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=zt);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Yt(this,function(){throw M(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=zt),this.name+t.hash},e})();function rc(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Kr||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var nc=function(e){return e>="A"&&e<="Z"};function sn(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;nc(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var wn=function(e){return e==null||e===!1||e===""},Sn=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!wn(n)&&(Array.isArray(n)&&n.isCss||pe(n)?t.push("".concat(sn(r),":"),n,";"):_e(n)?t.push.apply(t,oe(oe(["".concat(r," {")],Sn(n),!1),["}"],!1)):t.push("".concat(sn(r),": ").concat(rc(r,n),";")))}return t};function ne(e,t,r,n,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(wn(e))return o;if(Wt(e))return o.push(".".concat(e.styledComponentId)),o;if(pe(e)){if(!pe(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return o.push(e),o;var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof an||_e(i)||i===null||console.error("".concat(dn(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),ne(i,t,r,n,o)}var a;if(e instanceof an)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(_e(e)){for(var c=Sn(e),u=0;u<c.length;u++)o.push(c[u]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(u=0;u<e.length;u++)ne(e[u],t,r,n,o);return o}function _n(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(pe(r)&&!Wt(r))return!1}return!0}var oc=fn(we),ic=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&_n(t),this.componentId=r,this.baseHash=re(oc,r),this.baseStyle=n,$e.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ue(o,this.staticRulesId);else{var i=vt(ne(this.rules,t,r,n)),a=Mt(re(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=ue(o,a),this.staticRulesId=a}else{for(var u=re(this.baseHash,n.hash),h="",l=0;l<this.rules.length;l++){var d=this.rules[l];if(typeof d=="string")h+=d,process.env.NODE_ENV!=="production"&&(u=re(u,d));else if(d){var _=vt(ne(d,t,r,n));u=re(re(u,String(l)),_),h+=_}}if(h){var w=Mt(u>>>0);if(!r.hasNameForId(this.componentId,w)){var v=n(h,".".concat(w),void 0,this.componentId);r.insertRules(this.componentId,w,v)}o=ue(o,w)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(Le(this.componentId)):""}},e})(),xt=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:S.default.createContext(void 0),kh=xt.Consumer;function On(e){if(H)return e.children;var t=S.default.useContext(xt),r=S.default.useMemo(function(){return(function(n,o){if(!n)throw M(14);if(pe(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw M(7);return i}if(Array.isArray(n)||typeof n!="object")throw M(8);return o?k(k({},o),n):n})(e.theme,t)},[e.theme,t]);return e.children?S.default.createElement(xt.Provider,{value:r},e.children):null}var kt={},cn=new Set;function ac(e,t,r){var n=Wt(e),o=e,i=!Rt(e),a=t.attrs,c=a===void 0?Ht:a,u=t.componentId,h=u===void 0?(function(f,b){var y=typeof f!="string"?"sc":Zr(f);kt[y]=(kt[y]||0)+1;var p="".concat(y,"-").concat(Ts(we+y+kt[y]));return b?"".concat(b,"-").concat(p):p})(t.displayName,t.parentComponentId):u,l=t.displayName,d=l===void 0?(function(f){return Rt(f)?"styled.".concat(f):"Styled(".concat(dn(f),")")})(e):l,_=t.displayName&&t.componentId?"".concat(Zr(t.displayName),"-").concat(t.componentId):t.componentId||h,w=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,v=t.shouldForwardProp;if(n&&o.shouldForwardProp){var O=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;v=function(f,b){return O(f,b)&&R(f,b)}}else v=O}var I=new ic(r,_,n?o.componentStyle:void 0);function T(f,b){return(function(y,p,m){var N=y.attrs,G=y.componentStyle,P=y.defaultProps,B=y.foldedComponentIds,L=y.styledComponentId,Je=y.target,Qe=H?void 0:S.default.useContext(xt),hs=Bt(),Pt=y.shouldForwardProp||hs.shouldForwardProp;process.env.NODE_ENV!=="production"&&S.default.useDebugValue&&S.default.useDebugValue(L);var xr=Cs(p,Qe,P)||(H?void 0:Se),W=(function(tt,fe,rt){for(var de,Y=k(k({},fe),{className:void 0,theme:rt}),jt=0;jt<tt.length;jt+=1){var nt=pe(de=tt[jt])?de(Y):de;for(var he in nt)he==="className"?Y.className=ue(Y.className,nt[he]):he==="style"?Y.style=k(k({},Y.style),nt[he]):Y[he]=nt[he]}return"className"in fe&&typeof fe.className=="string"&&(Y.className=ue(Y.className,fe.className)),Y})(N,p,xr),qe=W.as||Je,Re={};for(var F in W)W[F]===void 0||F[0]==="$"||F==="as"||F==="theme"&&W.theme===xr||(F==="forwardedAs"?Re.as=W.forwardedAs:Pt&&!Pt(F,qe)||(Re[F]=W[F],Pt||process.env.NODE_ENV!=="development"||jr(F)||cn.has(F)||!Dt.has(qe)||(cn.add(F),console.warn('styled-components: it looks like an unknown prop "'.concat(F,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var wr=(function(tt,fe){var rt=Bt(),de=tt.generateAndInjectStyles(fe,rt.styleSheet,rt.stylis);return process.env.NODE_ENV!=="production"&&S.default.useDebugValue&&S.default.useDebugValue(de.className),de})(G,W),et=wr.className,Sr=wr.css;process.env.NODE_ENV!=="production"&&y.warnTooManyClasses&&y.warnTooManyClasses(et);var Ct=ue(B,L);et&&(Ct+=" "+et),W.className&&(Ct+=" "+W.className),Re[Rt(qe)&&!Dt.has(qe)?"class":"className"]=Ct,m&&(Re.ref=m);var _r=(0,S.createElement)(qe,Re);return H&&Sr?S.default.createElement(S.default.Fragment,null,S.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(L,"-").concat(et),children:Sr}),_r):_r})(C,f,b)}T.displayName=d;var C=S.default.forwardRef(T);return C.attrs=w,C.componentStyle=I,C.displayName=d,C.shouldForwardProp=v,C.foldedComponentIds=n?ue(o.foldedComponentIds,o.styledComponentId):"",C.styledComponentId=_,C.target=n?o.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(f){this._foldedDefaultProps=n?(function(b){for(var y=[],p=1;p<arguments.length;p++)y[p-1]=arguments[p];for(var m=0,N=y;m<N.length;m++)Lt(b,N[m],!0);return b})({},o.defaultProps,f):f}}),process.env.NODE_ENV!=="production"&&(Ps(d,_),C.warnTooManyClasses=(function(f,b){var y={},p=!1;return function(m){if(!p&&(y[m]=!0,Object.keys(y).length>=200)){var N=b?' with the id of "'.concat(b,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(f).concat(N,`.
|
|
48
|
-
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
49
|
-
Example:
|
|
50
|
-
const Component = styled.div.attrs(props => ({
|
|
51
|
-
style: {
|
|
52
|
-
background: props.background,
|
|
53
|
-
},
|
|
54
|
-
}))\`width: 100%;\`
|
|
55
|
-
|
|
56
|
-
<Component />`),p=!0,y={}}}})(d,_)),Yt(C,function(){return".".concat(C.styledComponentId)}),i&&gn(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function un(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var pn=function(e){return Object.assign(e,{isCss:!0})};function sc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(pe(e)||_e(e))return pn(ne(un(Ht,oe([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?ne(n):pn(ne(un(n,t)))}function Vt(e,t,r){if(r===void 0&&(r=Se),!t)throw M(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,sc.apply(void 0,oe([o],i,!1)))};return n.attrs=function(o){return Vt(e,t,k(k({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Vt(e,t,k(k({},r),o))},n}var Pn=function(e){return Vt(ac,e)},cc=Pn;Dt.forEach(function(e){cc[e]=Pn(e)});var Dh=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=_n(t),$e.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,n,o){var i=o(vt(ne(this.rules,r,n,o)),""),a=this.componentId+t;n.insertRules(a,a,i)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,n,o){t>2&&$e.registerId(this.componentId+t);var i=this.componentId+t;this.isStatic?n.hasNameForId(i,i)||this.createStyles(t,r,n,o):(this.removeStyles(t,n),this.createStyles(t,r,n,o))},e})();var uc=/^\s*<\/[a-z]/i,Mh=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var n=$t(),o=vt([n&&'nonce="'.concat(n,'"'),"".concat(J,'="true"'),"".concat(gt,'="').concat(we,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw M(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw M(2);var n=t.instance.toString();if(!n)return[];var o=((r={})[J]="",r[gt]=we,r.dangerouslySetInnerHTML={__html:n},r),i=$t();return i&&(o.nonce=i),[S.default.createElement("style",k({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new $e({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw M(2);return S.default.createElement(tc,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){if(this.sealed)throw M(2);this.seal();var r=require("stream").Transform,n=this.instance,o=this._emitSheetCSS,i=new r({transform:function(c,u,h){var l=c.toString(),d=o();if(n.clearTag(),uc.test(l)){var _=l.indexOf(">")+1,w=l.slice(0,_),v=l.slice(_);this.push(w+d+v)}else this.push(d+l);h()}});if("on"in t&&typeof t.on=="function"&&"pipe"in t){var a=t;return a.on("error",function(c){i.emit("error",c)}),a.pipe(i)}if("pipe"in t&&typeof t.pipe=="function")return t.pipe(i);throw new Error("Unsupported stream type")},e})();process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
57
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
58
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var ht="__sc-".concat(J,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[ht]||(window[ht]=0),window[ht]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
59
|
-
|
|
60
|
-
See https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.`),window[ht]+=1);var is=Pr(ns()),gr=require("react/jsx-runtime"),eh=({children:e,store:t,configurations:r})=>{let n=(0,ee.useSyncExternalStore)(t.subscribe,t.getState),o=n.admin_app.theme.currentTheme||"light",i=n.admin_app.language.locale||"en",a=r.translations||{},[c,u]=(0,ee.useState)(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),h=(0,ee.useMemo)(()=>(0,is.default)(a[i],a.en),[i,a]),l=(0,ee.useMemo)(()=>r.themes[o==="system"?c:o],[o,c,r.themes]);return(0,ee.useEffect)(()=>{let d=matchMedia("(prefers-color-scheme: dark)"),_=w=>{u(w.matches?"dark":"light")};return d.addEventListener("change",_),()=>d.removeEventListener("change",_)},[]),(0,gr.jsx)(On,{theme:l,children:(0,gr.jsx)(os.IntlProvider,{locale:i,messages:h,children:e})})},as=eh;var vr=require("react/jsx-runtime"),cs=async(e,t,r)=>{let n=t.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${r.id}`)||n.removeRoot(r.id);let i=br(r.route,e.location.pathname);if(!i)return;let a=r.Component(),c=await us(r.selector);if(!c||!br(r.route,window.location.pathname))return;if(!n.getRoot(r.id)){let d=document.getElementById(r.id);d||(d=document.createElement("div"),d.id=r.id,c.after(d)),n.setRoot(r.id,(0,ss.createRoot)(d))}let h=(await a).default,l=n.getRoot(r.id);l&&l.render((0,vr.jsx)(as,{store:t.store,configurations:t.configurations,children:(0,vr.jsx)(h,{...i})}))};var ls=async e=>{let t=e.router,r=0;for(;!t?.router?.state?.location&&r<100;)await new Promise(n=>setTimeout(n,10)),r++;if(!t?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}t.router.subscribe(n=>ps(n,e)),ps(t.router.state,e)},ps=(e,t)=>{let r=t.domInjections?.routes||[];Promise.all(r.map(n=>cs(e,t,n)))},us=(e,t=5e3)=>new Promise(r=>{let n=document.querySelector(e);if(n)return r(n);let o=new MutationObserver(()=>{let i=document.querySelector(e);i&&(o.disconnect(),r(i))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),r(null)},t)}),fs=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:r,...n}=e;if(r&&t.domInjections.routes.some(i=>i.id===r)){console.warn(`Injection route with id ${r} already exists. Skipping registration.`);return}let o=r||`injection-${Math.random().toString(36).substring(2,9)}`;t.domInjections.routes.push({id:o,...n})},ds=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let r=t.domInjections.routes.findIndex(n=>n.id===e);if(r===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}t.domInjections.routes.splice(r,1),t.domInjections.removeRoot(e)},br=(e,t)=>{let r=e.split("/").filter(Boolean),n=t.split("/").filter(Boolean);if(r.length!==n.length)return null;let o={};for(let i=0;i<r.length;i++)if(r[i].startsWith(":"))o[r[i].replace(/^:/,"")]=n[i];else if(r[i]!==n[i])return null;return o};var th=e=>{let t=e.domInjections;if(t)return t;ls(e);let r={routes:[],roots:{},registerRoute:n=>fs(n,e),unregisterRoute:n=>ds(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=r,r};0&&(module.exports={initialiseInjections});
|
|
1
|
+
"use strict";var oi=Object.create;var G=Object.defineProperty;var ai=Object.getOwnPropertyDescriptor;var si=Object.getOwnPropertyNames;var ui=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty;var i=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),pi=(e,r)=>{for(var t in r)G(e,t,{get:r[t],enumerable:!0})},he=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of si(r))!ci.call(e,o)&&o!==t&&G(e,o,{get:()=>r[o],enumerable:!(n=ai(r,o))||n.enumerable});return e};var fi=(e,r,t)=>(t=e!=null?oi(ui(e)):{},he(r||!e||!e.__esModule?G(t,"default",{value:e,enumerable:!0}):t,e)),li=e=>he(G({},"__esModule",{value:!0}),e);var H=i((sp,ge)=>{"use strict";function di(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}ge.exports=di});var $=i((up,ve)=>{"use strict";function hi(e){return e}ve.exports=hi});var qe=i((cp,ye)=>{"use strict";var gi=H(),me=Math.max;function vi(e,r,t){return r=me(r===void 0?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=me(n.length-r,0),u=Array(a);++o<a;)u[o]=n[r+o];o=-1;for(var s=Array(r+1);++o<r;)s[o]=n[o];return s[r]=t(u),gi(e,this,s)}}ye.exports=vi});var xe=i((pp,be)=>{"use strict";function mi(e){return function(){return e}}be.exports=mi});var K=i((fp,je)=>{"use strict";var yi=typeof global=="object"&&global&&global.Object===Object&&global;je.exports=yi});var v=i((lp,_e)=>{"use strict";var qi=K(),bi=typeof self=="object"&&self&&self.Object===Object&&self,xi=qi||bi||Function("return this")();_e.exports=xi});var V=i((dp,Ie)=>{"use strict";var ji=v(),_i=ji.Symbol;Ie.exports=_i});var Pe=i((hp,Se)=>{"use strict";var Oe=V(),Te=Object.prototype,Ii=Te.hasOwnProperty,Oi=Te.toString,S=Oe?Oe.toStringTag:void 0;function Ti(e){var r=Ii.call(e,S),t=e[S];try{e[S]=void 0;var n=!0}catch{}var o=Oi.call(e);return n&&(r?e[S]=t:delete e[S]),o}Se.exports=Ti});var we=i((gp,Ae)=>{"use strict";var Si=Object.prototype,Pi=Si.toString;function Ai(e){return Pi.call(e)}Ae.exports=Ai});var P=i((vp,Ee)=>{"use strict";var Ce=V(),wi=Pe(),Ci=we(),Ri="[object Null]",Ei="[object Undefined]",Re=Ce?Ce.toStringTag:void 0;function Mi(e){return e==null?e===void 0?Ei:Ri:Re&&Re in Object(e)?wi(e):Ci(e)}Ee.exports=Mi});var h=i((mp,Me)=>{"use strict";function Di(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}Me.exports=Di});var N=i((yp,De)=>{"use strict";var Li=P(),Fi=h(),Gi="[object AsyncFunction]",Ni="[object Function]",zi="[object GeneratorFunction]",Bi="[object Proxy]";function Ui(e){if(!Fi(e))return!1;var r=Li(e);return r==Ni||r==zi||r==Gi||r==Bi}De.exports=Ui});var Fe=i((qp,Le)=>{"use strict";var Hi=v(),$i=Hi["__core-js_shared__"];Le.exports=$i});var ze=i((bp,Ne)=>{"use strict";var W=Fe(),Ge=(function(){var e=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ki(e){return!!Ge&&Ge in e}Ne.exports=Ki});var Ue=i((xp,Be)=>{"use strict";var Vi=Function.prototype,Wi=Vi.toString;function Ji(e){if(e!=null){try{return Wi.call(e)}catch{}try{return e+""}catch{}}return""}Be.exports=Ji});var $e=i((jp,He)=>{"use strict";var Qi=N(),Xi=ze(),Yi=h(),Zi=Ue(),ki=/[\\^$.*+?()[\]{}|]/g,eo=/^\[object .+?Constructor\]$/,ro=Function.prototype,to=Object.prototype,no=ro.toString,io=to.hasOwnProperty,oo=RegExp("^"+no.call(io).replace(ki,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ao(e){if(!Yi(e)||Xi(e))return!1;var r=Qi(e)?oo:eo;return r.test(Zi(e))}He.exports=ao});var Ve=i((_p,Ke)=>{"use strict";function so(e,r){return e?.[r]}Ke.exports=so});var z=i((Ip,We)=>{"use strict";var uo=$e(),co=Ve();function po(e,r){var t=co(e,r);return uo(t)?t:void 0}We.exports=po});var J=i((Op,Je)=>{"use strict";var fo=z(),lo=(function(){try{var e=fo(Object,"defineProperty");return e({},"",{}),e}catch{}})();Je.exports=lo});var Ye=i((Tp,Xe)=>{"use strict";var ho=xe(),Qe=J(),go=$(),vo=Qe?function(e,r){return Qe(e,"toString",{configurable:!0,enumerable:!1,value:ho(r),writable:!0})}:go;Xe.exports=vo});var ke=i((Sp,Ze)=>{"use strict";var mo=800,yo=16,qo=Date.now;function bo(e){var r=0,t=0;return function(){var n=qo(),o=yo-(n-t);if(t=n,o>0){if(++r>=mo)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}Ze.exports=bo});var rr=i((Pp,er)=>{"use strict";var xo=Ye(),jo=ke(),_o=jo(xo);er.exports=_o});var Q=i((Ap,tr)=>{"use strict";var Io=$(),Oo=qe(),To=rr();function So(e,r){return To(Oo(e,r,Io),e+"")}tr.exports=So});var ir=i((wp,nr)=>{"use strict";function Po(){this.__data__=[],this.size=0}nr.exports=Po});var A=i((Cp,or)=>{"use strict";function Ao(e,r){return e===r||e!==e&&r!==r}or.exports=Ao});var w=i((Rp,ar)=>{"use strict";var wo=A();function Co(e,r){for(var t=e.length;t--;)if(wo(e[t][0],r))return t;return-1}ar.exports=Co});var ur=i((Ep,sr)=>{"use strict";var Ro=w(),Eo=Array.prototype,Mo=Eo.splice;function Do(e){var r=this.__data__,t=Ro(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():Mo.call(r,t,1),--this.size,!0}sr.exports=Do});var pr=i((Mp,cr)=>{"use strict";var Lo=w();function Fo(e){var r=this.__data__,t=Lo(r,e);return t<0?void 0:r[t][1]}cr.exports=Fo});var lr=i((Dp,fr)=>{"use strict";var Go=w();function No(e){return Go(this.__data__,e)>-1}fr.exports=No});var hr=i((Lp,dr)=>{"use strict";var zo=w();function Bo(e,r){var t=this.__data__,n=zo(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}dr.exports=Bo});var C=i((Fp,gr)=>{"use strict";var Uo=ir(),Ho=ur(),$o=pr(),Ko=lr(),Vo=hr();function y(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}y.prototype.clear=Uo;y.prototype.delete=Ho;y.prototype.get=$o;y.prototype.has=Ko;y.prototype.set=Vo;gr.exports=y});var mr=i((Gp,vr)=>{"use strict";var Wo=C();function Jo(){this.__data__=new Wo,this.size=0}vr.exports=Jo});var qr=i((Np,yr)=>{"use strict";function Qo(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}yr.exports=Qo});var xr=i((zp,br)=>{"use strict";function Xo(e){return this.__data__.get(e)}br.exports=Xo});var _r=i((Bp,jr)=>{"use strict";function Yo(e){return this.__data__.has(e)}jr.exports=Yo});var X=i((Up,Ir)=>{"use strict";var Zo=z(),ko=v(),ea=Zo(ko,"Map");Ir.exports=ea});var R=i((Hp,Or)=>{"use strict";var ra=z(),ta=ra(Object,"create");Or.exports=ta});var Pr=i(($p,Sr)=>{"use strict";var Tr=R();function na(){this.__data__=Tr?Tr(null):{},this.size=0}Sr.exports=na});var wr=i((Kp,Ar)=>{"use strict";function ia(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}Ar.exports=ia});var Rr=i((Vp,Cr)=>{"use strict";var oa=R(),aa="__lodash_hash_undefined__",sa=Object.prototype,ua=sa.hasOwnProperty;function ca(e){var r=this.__data__;if(oa){var t=r[e];return t===aa?void 0:t}return ua.call(r,e)?r[e]:void 0}Cr.exports=ca});var Mr=i((Wp,Er)=>{"use strict";var pa=R(),fa=Object.prototype,la=fa.hasOwnProperty;function da(e){var r=this.__data__;return pa?r[e]!==void 0:la.call(r,e)}Er.exports=da});var Lr=i((Jp,Dr)=>{"use strict";var ha=R(),ga="__lodash_hash_undefined__";function va(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ha&&r===void 0?ga:r,this}Dr.exports=va});var Gr=i((Qp,Fr)=>{"use strict";var ma=Pr(),ya=wr(),qa=Rr(),ba=Mr(),xa=Lr();function q(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}q.prototype.clear=ma;q.prototype.delete=ya;q.prototype.get=qa;q.prototype.has=ba;q.prototype.set=xa;Fr.exports=q});var Br=i((Xp,zr)=>{"use strict";var Nr=Gr(),ja=C(),_a=X();function Ia(){this.size=0,this.__data__={hash:new Nr,map:new(_a||ja),string:new Nr}}zr.exports=Ia});var Hr=i((Yp,Ur)=>{"use strict";function Oa(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}Ur.exports=Oa});var E=i((Zp,$r)=>{"use strict";var Ta=Hr();function Sa(e,r){var t=e.__data__;return Ta(r)?t[typeof r=="string"?"string":"hash"]:t.map}$r.exports=Sa});var Vr=i((kp,Kr)=>{"use strict";var Pa=E();function Aa(e){var r=Pa(this,e).delete(e);return this.size-=r?1:0,r}Kr.exports=Aa});var Jr=i((ef,Wr)=>{"use strict";var wa=E();function Ca(e){return wa(this,e).get(e)}Wr.exports=Ca});var Xr=i((rf,Qr)=>{"use strict";var Ra=E();function Ea(e){return Ra(this,e).has(e)}Qr.exports=Ea});var Zr=i((tf,Yr)=>{"use strict";var Ma=E();function Da(e,r){var t=Ma(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}Yr.exports=Da});var et=i((nf,kr)=>{"use strict";var La=Br(),Fa=Vr(),Ga=Jr(),Na=Xr(),za=Zr();function b(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}b.prototype.clear=La;b.prototype.delete=Fa;b.prototype.get=Ga;b.prototype.has=Na;b.prototype.set=za;kr.exports=b});var tt=i((of,rt)=>{"use strict";var Ba=C(),Ua=X(),Ha=et(),$a=200;function Ka(e,r){var t=this.__data__;if(t instanceof Ba){var n=t.__data__;if(!Ua||n.length<$a-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new Ha(n)}return t.set(e,r),this.size=t.size,this}rt.exports=Ka});var it=i((af,nt)=>{"use strict";var Va=C(),Wa=mr(),Ja=qr(),Qa=xr(),Xa=_r(),Ya=tt();function x(e){var r=this.__data__=new Va(e);this.size=r.size}x.prototype.clear=Wa;x.prototype.delete=Ja;x.prototype.get=Qa;x.prototype.has=Xa;x.prototype.set=Ya;nt.exports=x});var B=i((sf,at)=>{"use strict";var ot=J();function Za(e,r,t){r=="__proto__"&&ot?ot(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}at.exports=Za});var Y=i((uf,st)=>{"use strict";var ka=B(),es=A();function rs(e,r,t){(t!==void 0&&!es(e[r],t)||t===void 0&&!(r in e))&&ka(e,r,t)}st.exports=rs});var ct=i((cf,ut)=>{"use strict";function ts(e){return function(r,t,n){for(var o=-1,a=Object(r),u=n(r),s=u.length;s--;){var c=u[e?s:++o];if(t(a[c],c,a)===!1)break}return r}}ut.exports=ts});var ft=i((pf,pt)=>{"use strict";var ns=ct(),is=ns();pt.exports=is});var vt=i((M,j)=>{"use strict";var os=v(),gt=typeof M=="object"&&M&&!M.nodeType&&M,lt=gt&&typeof j=="object"&&j&&!j.nodeType&&j,as=lt&<.exports===gt,dt=as?os.Buffer:void 0,ht=dt?dt.allocUnsafe:void 0;function ss(e,r){if(r)return e.slice();var t=e.length,n=ht?ht(t):new e.constructor(t);return e.copy(n),n}j.exports=ss});var yt=i((ff,mt)=>{"use strict";var us=v(),cs=us.Uint8Array;mt.exports=cs});var xt=i((lf,bt)=>{"use strict";var qt=yt();function ps(e){var r=new e.constructor(e.byteLength);return new qt(r).set(new qt(e)),r}bt.exports=ps});var _t=i((df,jt)=>{"use strict";var fs=xt();function ls(e,r){var t=r?fs(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}jt.exports=ls});var Ot=i((hf,It)=>{"use strict";function ds(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}It.exports=ds});var Pt=i((gf,St)=>{"use strict";var hs=h(),Tt=Object.create,gs=(function(){function e(){}return function(r){if(!hs(r))return{};if(Tt)return Tt(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();St.exports=gs});var wt=i((vf,At)=>{"use strict";function vs(e,r){return function(t){return e(r(t))}}At.exports=vs});var Z=i((mf,Ct)=>{"use strict";var ms=wt(),ys=ms(Object.getPrototypeOf,Object);Ct.exports=ys});var k=i((yf,Rt)=>{"use strict";var qs=Object.prototype;function bs(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||qs;return e===t}Rt.exports=bs});var Mt=i((qf,Et)=>{"use strict";var xs=Pt(),js=Z(),_s=k();function Is(e){return typeof e.constructor=="function"&&!_s(e)?xs(js(e)):{}}Et.exports=Is});var _=i((bf,Dt)=>{"use strict";function Os(e){return e!=null&&typeof e=="object"}Dt.exports=Os});var Ft=i((xf,Lt)=>{"use strict";var Ts=P(),Ss=_(),Ps="[object Arguments]";function As(e){return Ss(e)&&Ts(e)==Ps}Lt.exports=As});var ee=i((jf,zt)=>{"use strict";var Gt=Ft(),ws=_(),Nt=Object.prototype,Cs=Nt.hasOwnProperty,Rs=Nt.propertyIsEnumerable,Es=Gt((function(){return arguments})())?Gt:function(e){return ws(e)&&Cs.call(e,"callee")&&!Rs.call(e,"callee")};zt.exports=Es});var re=i((_f,Bt)=>{"use strict";var Ms=Array.isArray;Bt.exports=Ms});var te=i((If,Ut)=>{"use strict";var Ds=9007199254740991;function Ls(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ds}Ut.exports=Ls});var U=i((Of,Ht)=>{"use strict";var Fs=N(),Gs=te();function Ns(e){return e!=null&&Gs(e.length)&&!Fs(e)}Ht.exports=Ns});var Kt=i((Tf,$t)=>{"use strict";var zs=U(),Bs=_();function Us(e){return Bs(e)&&zs(e)}$t.exports=Us});var Wt=i((Sf,Vt)=>{"use strict";function Hs(){return!1}Vt.exports=Hs});var ne=i((D,I)=>{"use strict";var $s=v(),Ks=Wt(),Xt=typeof D=="object"&&D&&!D.nodeType&&D,Jt=Xt&&typeof I=="object"&&I&&!I.nodeType&&I,Vs=Jt&&Jt.exports===Xt,Qt=Vs?$s.Buffer:void 0,Ws=Qt?Qt.isBuffer:void 0,Js=Ws||Ks;I.exports=Js});var kt=i((Pf,Zt)=>{"use strict";var Qs=P(),Xs=Z(),Ys=_(),Zs="[object Object]",ks=Function.prototype,eu=Object.prototype,Yt=ks.toString,ru=eu.hasOwnProperty,tu=Yt.call(Object);function nu(e){if(!Ys(e)||Qs(e)!=Zs)return!1;var r=Xs(e);if(r===null)return!0;var t=ru.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Yt.call(t)==tu}Zt.exports=nu});var rn=i((Af,en)=>{"use strict";var iu=P(),ou=te(),au=_(),su="[object Arguments]",uu="[object Array]",cu="[object Boolean]",pu="[object Date]",fu="[object Error]",lu="[object Function]",du="[object Map]",hu="[object Number]",gu="[object Object]",vu="[object RegExp]",mu="[object Set]",yu="[object String]",qu="[object WeakMap]",bu="[object ArrayBuffer]",xu="[object DataView]",ju="[object Float32Array]",_u="[object Float64Array]",Iu="[object Int8Array]",Ou="[object Int16Array]",Tu="[object Int32Array]",Su="[object Uint8Array]",Pu="[object Uint8ClampedArray]",Au="[object Uint16Array]",wu="[object Uint32Array]",p={};p[ju]=p[_u]=p[Iu]=p[Ou]=p[Tu]=p[Su]=p[Pu]=p[Au]=p[wu]=!0;p[su]=p[uu]=p[bu]=p[cu]=p[xu]=p[pu]=p[fu]=p[lu]=p[du]=p[hu]=p[gu]=p[vu]=p[mu]=p[yu]=p[qu]=!1;function Cu(e){return au(e)&&ou(e.length)&&!!p[iu(e)]}en.exports=Cu});var nn=i((wf,tn)=>{"use strict";function Ru(e){return function(r){return e(r)}}tn.exports=Ru});var an=i((L,O)=>{"use strict";var Eu=K(),on=typeof L=="object"&&L&&!L.nodeType&&L,F=on&&typeof O=="object"&&O&&!O.nodeType&&O,Mu=F&&F.exports===on,ie=Mu&&Eu.process,Du=(function(){try{var e=F&&F.require&&F.require("util").types;return e||ie&&ie.binding&&ie.binding("util")}catch{}})();O.exports=Du});var oe=i((Cf,cn)=>{"use strict";var Lu=rn(),Fu=nn(),sn=an(),un=sn&&sn.isTypedArray,Gu=un?Fu(un):Lu;cn.exports=Gu});var ae=i((Rf,pn)=>{"use strict";function Nu(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}pn.exports=Nu});var ln=i((Ef,fn)=>{"use strict";var zu=B(),Bu=A(),Uu=Object.prototype,Hu=Uu.hasOwnProperty;function $u(e,r,t){var n=e[r];(!(Hu.call(e,r)&&Bu(n,t))||t===void 0&&!(r in e))&&zu(e,r,t)}fn.exports=$u});var hn=i((Mf,dn)=>{"use strict";var Ku=ln(),Vu=B();function Wu(e,r,t,n){var o=!t;t||(t={});for(var a=-1,u=r.length;++a<u;){var s=r[a],c=n?n(t[s],e[s],s,t,e):void 0;c===void 0&&(c=e[s]),o?Vu(t,s,c):Ku(t,s,c)}return t}dn.exports=Wu});var vn=i((Df,gn)=>{"use strict";function Ju(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}gn.exports=Ju});var se=i((Lf,mn)=>{"use strict";var Qu=9007199254740991,Xu=/^(?:0|[1-9]\d*)$/;function Yu(e,r){var t=typeof e;return r=r??Qu,!!r&&(t=="number"||t!="symbol"&&Xu.test(e))&&e>-1&&e%1==0&&e<r}mn.exports=Yu});var qn=i((Ff,yn)=>{"use strict";var Zu=vn(),ku=ee(),ec=re(),rc=ne(),tc=se(),nc=oe(),ic=Object.prototype,oc=ic.hasOwnProperty;function ac(e,r){var t=ec(e),n=!t&&ku(e),o=!t&&!n&&rc(e),a=!t&&!n&&!o&&nc(e),u=t||n||o||a,s=u?Zu(e.length,String):[],c=s.length;for(var l in e)(r||oc.call(e,l))&&!(u&&(l=="length"||o&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||tc(l,c)))&&s.push(l);return s}yn.exports=ac});var xn=i((Gf,bn)=>{"use strict";function sc(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}bn.exports=sc});var _n=i((Nf,jn)=>{"use strict";var uc=h(),cc=k(),pc=xn(),fc=Object.prototype,lc=fc.hasOwnProperty;function dc(e){if(!uc(e))return pc(e);var r=cc(e),t=[];for(var n in e)n=="constructor"&&(r||!lc.call(e,n))||t.push(n);return t}jn.exports=dc});var ue=i((zf,In)=>{"use strict";var hc=qn(),gc=_n(),vc=U();function mc(e){return vc(e)?hc(e,!0):gc(e)}In.exports=mc});var Tn=i((Bf,On)=>{"use strict";var yc=hn(),qc=ue();function bc(e){return yc(e,qc(e))}On.exports=bc});var Rn=i((Uf,Cn)=>{"use strict";var Sn=Y(),xc=vt(),jc=_t(),_c=Ot(),Ic=Mt(),Pn=ee(),An=re(),Oc=Kt(),Tc=ne(),Sc=N(),Pc=h(),Ac=kt(),wc=oe(),wn=ae(),Cc=Tn();function Rc(e,r,t,n,o,a,u){var s=wn(e,t),c=wn(r,t),l=u.get(c);if(l){Sn(e,t,l);return}var f=a?a(s,c,t+"",e,r,u):void 0,d=f===void 0;if(d){var m=An(c),T=!m&&Tc(c),de=!m&&!T&&wc(c);f=c,m||T||de?An(s)?f=s:Oc(s)?f=_c(s):T?(d=!1,f=xc(c,!0)):de?(d=!1,f=jc(c,!0)):f=[]:Ac(c)||Pn(c)?(f=s,Pn(s)?f=Cc(s):(!Pc(s)||Sc(s))&&(f=Ic(c))):d=!1}d&&(u.set(c,f),o(f,c,n,a,u),u.delete(c)),Sn(e,t,f)}Cn.exports=Rc});var ce=i((Hf,Mn)=>{"use strict";var Ec=it(),Mc=Y(),Dc=ft(),Lc=Rn(),Fc=h(),Gc=ue(),Nc=ae();function En(e,r,t,n,o){e!==r&&Dc(r,function(a,u){if(o||(o=new Ec),Fc(a))Lc(e,r,u,t,En,n,o);else{var s=n?n(Nc(e,u),a,u+"",e,r,o):void 0;s===void 0&&(s=a),Mc(e,u,s)}},Gc)}Mn.exports=En});var Gn=i(($f,Fn)=>{"use strict";var zc=ce(),Dn=h();function Ln(e,r,t,n,o,a){return Dn(e)&&Dn(r)&&(a.set(r,e),zc(e,r,void 0,Ln,a),a.delete(r)),e}Fn.exports=Ln});var zn=i((Kf,Nn)=>{"use strict";var Bc=A(),Uc=U(),Hc=se(),$c=h();function Kc(e,r,t){if(!$c(t))return!1;var n=typeof r;return(n=="number"?Uc(t)&&Hc(r,t.length):n=="string"&&r in t)?Bc(t[r],e):!1}Nn.exports=Kc});var Un=i((Vf,Bn)=>{"use strict";var Vc=Q(),Wc=zn();function Jc(e){return Vc(function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,u&&Wc(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var s=t[n];s&&e(r,s,n,a)}return r})}Bn.exports=Jc});var $n=i((Wf,Hn)=>{"use strict";var Qc=ce(),Xc=Un(),Yc=Xc(function(e,r,t,n){Qc(e,r,t,n)});Hn.exports=Yc});var Vn=i((Jf,Kn)=>{"use strict";var Zc=H(),kc=Q(),ep=Gn(),rp=$n(),tp=kc(function(e){return e.push(void 0,ep),Zc(rp,void 0,e)});Kn.exports=tp});var op={};pi(op,{initialiseInjections:()=>ip});module.exports=li(op);var Yn=require("react-dom/client");var g=require("react"),Wn=require("react-intl"),Jn=require("@strapi/design-system"),Qn=fi(Vn()),pe=require("react/jsx-runtime"),np=({children:e,store:r,configurations:t})=>{let n=(0,g.useSyncExternalStore)(r.subscribe,r.getState),o=n.admin_app.theme.currentTheme||"light",a=n.admin_app.language.locale||"en",u=t.translations||{},[s,c]=(0,g.useState)(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),l=(0,g.useMemo)(()=>(0,Qn.default)(u[a],u.en),[a,u]),f=(0,g.useMemo)(()=>t.themes[o==="system"?s:o],[o,s,t.themes]);return(0,g.useEffect)(()=>{let d=matchMedia("(prefers-color-scheme: dark)"),m=T=>{c(T.matches?"dark":"light")};return d.addEventListener("change",m),()=>d.removeEventListener("change",m)},[]),(0,pe.jsx)(Jn.DesignSystemProvider,{theme:f,locale:a,children:(0,pe.jsx)(Wn.IntlProvider,{locale:a,messages:l,children:e})})},Xn=np;var fe=require("react/jsx-runtime"),Zn=async(e,r,t)=>{let n=r.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${t.id}`)||n.removeRoot(t.id);let a=le(t.route,e.location.pathname);if(!a)return;let u=t.Component(),s=await kn(t.selector);if(!s||!le(t.route,window.location.pathname))return;if(!n.getRoot(t.id)){let d=document.getElementById(t.id);d||(d=document.createElement("div"),d.id=t.id,s.after(d)),n.setRoot(t.id,(0,Yn.createRoot)(d))}let l=(await u).default,f=n.getRoot(t.id);f&&f.render((0,fe.jsx)(Xn,{store:r.store,configurations:r.configurations,children:(0,fe.jsx)(l,{...a})}))};var ri=async e=>{let r=e.router,t=0;for(;!r?.router?.state?.location&&t<100;)await new Promise(n=>setTimeout(n,10)),t++;if(!r?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}r.router.subscribe(n=>ei(n,e)),ei(r.router.state,e)},ei=(e,r)=>{let t=r.domInjections?.routes||[];Promise.all(t.map(n=>Zn(e,r,n)))},kn=(e,r=5e3)=>new Promise(t=>{let n=document.querySelector(e);if(n)return t(n);let o=new MutationObserver(()=>{let a=document.querySelector(e);a&&(o.disconnect(),t(a))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),t(null)},r)}),ti=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:t,...n}=e;if(t&&r.domInjections.routes.some(a=>a.id===t)){console.warn(`Injection route with id ${t} already exists. Skipping registration.`);return}let o=t||`injection-${Math.random().toString(36).substring(2,9)}`;r.domInjections.routes.push({id:o,...n})},ni=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let t=r.domInjections.routes.findIndex(n=>n.id===e);if(t===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}r.domInjections.routes.splice(t,1),r.domInjections.removeRoot(e)},le=(e,r)=>{let t=e.split("/").filter(Boolean),n=r.split("/").filter(Boolean);if(t.length!==n.length)return null;let o={};for(let a=0;a<t.length;a++)if(t[a].startsWith(":"))o[t[a].replace(/^:/,"")]=n[a];else if(t[a]!==n[a])return null;return o},ii=e=>{let t=e?.getState()?.admin_app?.theme?.currentTheme;requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:"light"})}),requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:"dark"})}),requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:t})})};var ip=e=>{let r=e.domInjections;if(r)return r;ri(e);let t={routes:[],roots:{},registerRoute:n=>ti(n,e),unregisterRoute:n=>ni(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n],e.store&&ii(e.store))}};return e.domInjections=t,t};0&&(module.exports={initialiseInjections});
|
package/dist/index.mjs
CHANGED
|
@@ -1,60 +1 @@
|
|
|
1
|
-
var ls=Object.create;var xr=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ds=Object.getOwnPropertyNames;var hs=Object.getPrototypeOf,ms=Object.prototype.hasOwnProperty;var ys=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ds(t))!ms.call(e,o)&&o!==r&&xr(e,o,{get:()=>t[o],enumerable:!(n=fs(t,o))||n.enumerable});return e};var vs=(e,t,r)=>(r=e!=null?ls(hs(e)):{},gs(t||!e||!e.__esModule?xr(r,"default",{value:e,enumerable:!0}):r,e));var Yt=s((zh,wn)=>{"use strict";function cc(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}wn.exports=cc});var Kt=s((Gh,Sn)=>{"use strict";function uc(e){return e}Sn.exports=uc});var Pn=s((Bh,On)=>{"use strict";var pc=Yt(),_n=Math.max;function lc(e,t,r){return t=_n(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=_n(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=n[o];return c[t]=r(a),pc(e,this,c)}}On.exports=lc});var jn=s((Vh,Cn)=>{"use strict";function fc(e){return function(){return e}}Cn.exports=fc});var Xt=s((Uh,An)=>{"use strict";var dc=typeof global=="object"&&global&&global.Object===Object&&global;An.exports=dc});var pe=s((Hh,En)=>{"use strict";var hc=Xt(),mc=typeof self=="object"&&self&&self.Object===Object&&self,yc=hc||mc||Function("return this")();En.exports=yc});var Zt=s((Wh,Tn)=>{"use strict";var gc=pe(),vc=gc.Symbol;Tn.exports=vc});var Nn=s((Yh,Rn)=>{"use strict";var In=Zt(),qn=Object.prototype,bc=qn.hasOwnProperty,xc=qn.toString,$e=In?In.toStringTag:void 0;function wc(e){var t=bc.call(e,$e),r=e[$e];try{e[$e]=void 0;var n=!0}catch{}var o=xc.call(e);return n&&(t?e[$e]=r:delete e[$e]),o}Rn.exports=wc});var Dn=s((Kh,kn)=>{"use strict";var Sc=Object.prototype,_c=Sc.toString;function Oc(e){return _c.call(e)}kn.exports=Oc});var ze=s((Xh,Fn)=>{"use strict";var Mn=Zt(),Pc=Nn(),Cc=Dn(),jc="[object Null]",Ac="[object Undefined]",Ln=Mn?Mn.toStringTag:void 0;function Ec(e){return e==null?e===void 0?Ac:jc:Ln&&Ln in Object(e)?Pc(e):Cc(e)}Fn.exports=Ec});var Q=s((Zh,$n)=>{"use strict";function Tc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}$n.exports=Tc});var bt=s((Jh,zn)=>{"use strict";var Ic=ze(),qc=Q(),Rc="[object AsyncFunction]",Nc="[object Function]",kc="[object GeneratorFunction]",Dc="[object Proxy]";function Mc(e){if(!qc(e))return!1;var t=Ic(e);return t==Nc||t==kc||t==Rc||t==Dc}zn.exports=Mc});var Bn=s((Qh,Gn)=>{"use strict";var Lc=pe(),Fc=Lc["__core-js_shared__"];Gn.exports=Fc});var Hn=s((em,Un)=>{"use strict";var Jt=Bn(),Vn=(function(){var e=/[^.]+$/.exec(Jt&&Jt.keys&&Jt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function $c(e){return!!Vn&&Vn in e}Un.exports=$c});var Yn=s((tm,Wn)=>{"use strict";var zc=Function.prototype,Gc=zc.toString;function Bc(e){if(e!=null){try{return Gc.call(e)}catch{}try{return e+""}catch{}}return""}Wn.exports=Bc});var Xn=s((rm,Kn)=>{"use strict";var Vc=bt(),Uc=Hn(),Hc=Q(),Wc=Yn(),Yc=/[\\^$.*+?()[\]{}|]/g,Kc=/^\[object .+?Constructor\]$/,Xc=Function.prototype,Zc=Object.prototype,Jc=Xc.toString,Qc=Zc.hasOwnProperty,eu=RegExp("^"+Jc.call(Qc).replace(Yc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tu(e){if(!Hc(e)||Uc(e))return!1;var t=Vc(e)?eu:Kc;return t.test(Wc(e))}Kn.exports=tu});var Jn=s((nm,Zn)=>{"use strict";function ru(e,t){return e?.[t]}Zn.exports=ru});var xt=s((om,Qn)=>{"use strict";var nu=Xn(),ou=Jn();function iu(e,t){var r=ou(e,t);return nu(r)?r:void 0}Qn.exports=iu});var Qt=s((im,eo)=>{"use strict";var au=xt(),su=(function(){try{var e=au(Object,"defineProperty");return e({},"",{}),e}catch{}})();eo.exports=su});var no=s((am,ro)=>{"use strict";var cu=jn(),to=Qt(),uu=Kt(),pu=to?function(e,t){return to(e,"toString",{configurable:!0,enumerable:!1,value:cu(t),writable:!0})}:uu;ro.exports=pu});var io=s((sm,oo)=>{"use strict";var lu=800,fu=16,du=Date.now;function hu(e){var t=0,r=0;return function(){var n=du(),o=fu-(n-r);if(r=n,o>0){if(++t>=lu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}oo.exports=hu});var so=s((cm,ao)=>{"use strict";var mu=no(),yu=io(),gu=yu(mu);ao.exports=gu});var er=s((um,co)=>{"use strict";var vu=Kt(),bu=Pn(),xu=so();function wu(e,t){return xu(bu(e,t,vu),e+"")}co.exports=wu});var po=s((pm,uo)=>{"use strict";function Su(){this.__data__=[],this.size=0}uo.exports=Su});var Ge=s((lm,lo)=>{"use strict";function _u(e,t){return e===t||e!==e&&t!==t}lo.exports=_u});var Be=s((fm,fo)=>{"use strict";var Ou=Ge();function Pu(e,t){for(var r=e.length;r--;)if(Ou(e[r][0],t))return r;return-1}fo.exports=Pu});var mo=s((dm,ho)=>{"use strict";var Cu=Be(),ju=Array.prototype,Au=ju.splice;function Eu(e){var t=this.__data__,r=Cu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Au.call(t,r,1),--this.size,!0}ho.exports=Eu});var go=s((hm,yo)=>{"use strict";var Tu=Be();function Iu(e){var t=this.__data__,r=Tu(t,e);return r<0?void 0:t[r][1]}yo.exports=Iu});var bo=s((mm,vo)=>{"use strict";var qu=Be();function Ru(e){return qu(this.__data__,e)>-1}vo.exports=Ru});var wo=s((ym,xo)=>{"use strict";var Nu=Be();function ku(e,t){var r=this.__data__,n=Nu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}xo.exports=ku});var Ve=s((gm,So)=>{"use strict";var Du=po(),Mu=mo(),Lu=go(),Fu=bo(),$u=wo();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=Du;_e.prototype.delete=Mu;_e.prototype.get=Lu;_e.prototype.has=Fu;_e.prototype.set=$u;So.exports=_e});var Oo=s((vm,_o)=>{"use strict";var zu=Ve();function Gu(){this.__data__=new zu,this.size=0}_o.exports=Gu});var Co=s((bm,Po)=>{"use strict";function Bu(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Po.exports=Bu});var Ao=s((xm,jo)=>{"use strict";function Vu(e){return this.__data__.get(e)}jo.exports=Vu});var To=s((wm,Eo)=>{"use strict";function Uu(e){return this.__data__.has(e)}Eo.exports=Uu});var tr=s((Sm,Io)=>{"use strict";var Hu=xt(),Wu=pe(),Yu=Hu(Wu,"Map");Io.exports=Yu});var Ue=s((_m,qo)=>{"use strict";var Ku=xt(),Xu=Ku(Object,"create");qo.exports=Xu});var ko=s((Om,No)=>{"use strict";var Ro=Ue();function Zu(){this.__data__=Ro?Ro(null):{},this.size=0}No.exports=Zu});var Mo=s((Pm,Do)=>{"use strict";function Ju(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Do.exports=Ju});var Fo=s((Cm,Lo)=>{"use strict";var Qu=Ue(),ep="__lodash_hash_undefined__",tp=Object.prototype,rp=tp.hasOwnProperty;function np(e){var t=this.__data__;if(Qu){var r=t[e];return r===ep?void 0:r}return rp.call(t,e)?t[e]:void 0}Lo.exports=np});var zo=s((jm,$o)=>{"use strict";var op=Ue(),ip=Object.prototype,ap=ip.hasOwnProperty;function sp(e){var t=this.__data__;return op?t[e]!==void 0:ap.call(t,e)}$o.exports=sp});var Bo=s((Am,Go)=>{"use strict";var cp=Ue(),up="__lodash_hash_undefined__";function pp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=cp&&t===void 0?up:t,this}Go.exports=pp});var Uo=s((Em,Vo)=>{"use strict";var lp=ko(),fp=Mo(),dp=Fo(),hp=zo(),mp=Bo();function Oe(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])}}Oe.prototype.clear=lp;Oe.prototype.delete=fp;Oe.prototype.get=dp;Oe.prototype.has=hp;Oe.prototype.set=mp;Vo.exports=Oe});var Yo=s((Tm,Wo)=>{"use strict";var Ho=Uo(),yp=Ve(),gp=tr();function vp(){this.size=0,this.__data__={hash:new Ho,map:new(gp||yp),string:new Ho}}Wo.exports=vp});var Xo=s((Im,Ko)=>{"use strict";function bp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Ko.exports=bp});var He=s((qm,Zo)=>{"use strict";var xp=Xo();function wp(e,t){var r=e.__data__;return xp(t)?r[typeof t=="string"?"string":"hash"]:r.map}Zo.exports=wp});var Qo=s((Rm,Jo)=>{"use strict";var Sp=He();function _p(e){var t=Sp(this,e).delete(e);return this.size-=t?1:0,t}Jo.exports=_p});var ti=s((Nm,ei)=>{"use strict";var Op=He();function Pp(e){return Op(this,e).get(e)}ei.exports=Pp});var ni=s((km,ri)=>{"use strict";var Cp=He();function jp(e){return Cp(this,e).has(e)}ri.exports=jp});var ii=s((Dm,oi)=>{"use strict";var Ap=He();function Ep(e,t){var r=Ap(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}oi.exports=Ep});var si=s((Mm,ai)=>{"use strict";var Tp=Yo(),Ip=Qo(),qp=ti(),Rp=ni(),Np=ii();function Pe(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])}}Pe.prototype.clear=Tp;Pe.prototype.delete=Ip;Pe.prototype.get=qp;Pe.prototype.has=Rp;Pe.prototype.set=Np;ai.exports=Pe});var ui=s((Lm,ci)=>{"use strict";var kp=Ve(),Dp=tr(),Mp=si(),Lp=200;function Fp(e,t){var r=this.__data__;if(r instanceof kp){var n=r.__data__;if(!Dp||n.length<Lp-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Mp(n)}return r.set(e,t),this.size=r.size,this}ci.exports=Fp});var li=s((Fm,pi)=>{"use strict";var $p=Ve(),zp=Oo(),Gp=Co(),Bp=Ao(),Vp=To(),Up=ui();function Ce(e){var t=this.__data__=new $p(e);this.size=t.size}Ce.prototype.clear=zp;Ce.prototype.delete=Gp;Ce.prototype.get=Bp;Ce.prototype.has=Vp;Ce.prototype.set=Up;pi.exports=Ce});var wt=s(($m,di)=>{"use strict";var fi=Qt();function Hp(e,t,r){t=="__proto__"&&fi?fi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}di.exports=Hp});var rr=s((zm,hi)=>{"use strict";var Wp=wt(),Yp=Ge();function Kp(e,t,r){(r!==void 0&&!Yp(e[t],r)||r===void 0&&!(t in e))&&Wp(e,t,r)}hi.exports=Kp});var yi=s((Gm,mi)=>{"use strict";function Xp(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),c=a.length;c--;){var u=a[e?c:++o];if(r(i[u],u,i)===!1)break}return t}}mi.exports=Xp});var vi=s((Bm,gi)=>{"use strict";var Zp=yi(),Jp=Zp();gi.exports=Jp});var _i=s((We,je)=>{"use strict";var Qp=pe(),Si=typeof We=="object"&&We&&!We.nodeType&&We,bi=Si&&typeof je=="object"&&je&&!je.nodeType&&je,el=bi&&bi.exports===Si,xi=el?Qp.Buffer:void 0,wi=xi?xi.allocUnsafe:void 0;function tl(e,t){if(t)return e.slice();var r=e.length,n=wi?wi(r):new e.constructor(r);return e.copy(n),n}je.exports=tl});var Pi=s((Vm,Oi)=>{"use strict";var rl=pe(),nl=rl.Uint8Array;Oi.exports=nl});var Ai=s((Um,ji)=>{"use strict";var Ci=Pi();function ol(e){var t=new e.constructor(e.byteLength);return new Ci(t).set(new Ci(e)),t}ji.exports=ol});var Ti=s((Hm,Ei)=>{"use strict";var il=Ai();function al(e,t){var r=t?il(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Ei.exports=al});var qi=s((Wm,Ii)=>{"use strict";function sl(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}Ii.exports=sl});var ki=s((Ym,Ni)=>{"use strict";var cl=Q(),Ri=Object.create,ul=(function(){function e(){}return function(t){if(!cl(t))return{};if(Ri)return Ri(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();Ni.exports=ul});var Mi=s((Km,Di)=>{"use strict";function pl(e,t){return function(r){return e(t(r))}}Di.exports=pl});var nr=s((Xm,Li)=>{"use strict";var ll=Mi(),fl=ll(Object.getPrototypeOf,Object);Li.exports=fl});var or=s((Zm,Fi)=>{"use strict";var dl=Object.prototype;function hl(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||dl;return e===r}Fi.exports=hl});var zi=s((Jm,$i)=>{"use strict";var ml=ki(),yl=nr(),gl=or();function vl(e){return typeof e.constructor=="function"&&!gl(e)?ml(yl(e)):{}}$i.exports=vl});var Ae=s((Qm,Gi)=>{"use strict";function bl(e){return e!=null&&typeof e=="object"}Gi.exports=bl});var Vi=s((ey,Bi)=>{"use strict";var xl=ze(),wl=Ae(),Sl="[object Arguments]";function _l(e){return wl(e)&&xl(e)==Sl}Bi.exports=_l});var ir=s((ty,Wi)=>{"use strict";var Ui=Vi(),Ol=Ae(),Hi=Object.prototype,Pl=Hi.hasOwnProperty,Cl=Hi.propertyIsEnumerable,jl=Ui((function(){return arguments})())?Ui:function(e){return Ol(e)&&Pl.call(e,"callee")&&!Cl.call(e,"callee")};Wi.exports=jl});var ar=s((ry,Yi)=>{"use strict";var Al=Array.isArray;Yi.exports=Al});var sr=s((ny,Ki)=>{"use strict";var El=9007199254740991;function Tl(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=El}Ki.exports=Tl});var St=s((oy,Xi)=>{"use strict";var Il=bt(),ql=sr();function Rl(e){return e!=null&&ql(e.length)&&!Il(e)}Xi.exports=Rl});var Ji=s((iy,Zi)=>{"use strict";var Nl=St(),kl=Ae();function Dl(e){return kl(e)&&Nl(e)}Zi.exports=Dl});var ea=s((ay,Qi)=>{"use strict";function Ml(){return!1}Qi.exports=Ml});var cr=s((Ye,Ee)=>{"use strict";var Ll=pe(),Fl=ea(),na=typeof Ye=="object"&&Ye&&!Ye.nodeType&&Ye,ta=na&&typeof Ee=="object"&&Ee&&!Ee.nodeType&&Ee,$l=ta&&ta.exports===na,ra=$l?Ll.Buffer:void 0,zl=ra?ra.isBuffer:void 0,Gl=zl||Fl;Ee.exports=Gl});var aa=s((sy,ia)=>{"use strict";var Bl=ze(),Vl=nr(),Ul=Ae(),Hl="[object Object]",Wl=Function.prototype,Yl=Object.prototype,oa=Wl.toString,Kl=Yl.hasOwnProperty,Xl=oa.call(Object);function Zl(e){if(!Ul(e)||Bl(e)!=Hl)return!1;var t=Vl(e);if(t===null)return!0;var r=Kl.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&oa.call(r)==Xl}ia.exports=Zl});var ca=s((cy,sa)=>{"use strict";var Jl=ze(),Ql=sr(),ef=Ae(),tf="[object Arguments]",rf="[object Array]",nf="[object Boolean]",of="[object Date]",af="[object Error]",sf="[object Function]",cf="[object Map]",uf="[object Number]",pf="[object Object]",lf="[object RegExp]",ff="[object Set]",df="[object String]",hf="[object WeakMap]",mf="[object ArrayBuffer]",yf="[object DataView]",gf="[object Float32Array]",vf="[object Float64Array]",bf="[object Int8Array]",xf="[object Int16Array]",wf="[object Int32Array]",Sf="[object Uint8Array]",_f="[object Uint8ClampedArray]",Of="[object Uint16Array]",Pf="[object Uint32Array]",A={};A[gf]=A[vf]=A[bf]=A[xf]=A[wf]=A[Sf]=A[_f]=A[Of]=A[Pf]=!0;A[tf]=A[rf]=A[mf]=A[nf]=A[yf]=A[of]=A[af]=A[sf]=A[cf]=A[uf]=A[pf]=A[lf]=A[ff]=A[df]=A[hf]=!1;function Cf(e){return ef(e)&&Ql(e.length)&&!!A[Jl(e)]}sa.exports=Cf});var pa=s((uy,ua)=>{"use strict";function jf(e){return function(t){return e(t)}}ua.exports=jf});var fa=s((Ke,Te)=>{"use strict";var Af=Xt(),la=typeof Ke=="object"&&Ke&&!Ke.nodeType&&Ke,Xe=la&&typeof Te=="object"&&Te&&!Te.nodeType&&Te,Ef=Xe&&Xe.exports===la,ur=Ef&&Af.process,Tf=(function(){try{var e=Xe&&Xe.require&&Xe.require("util").types;return e||ur&&ur.binding&&ur.binding("util")}catch{}})();Te.exports=Tf});var pr=s((py,ma)=>{"use strict";var If=ca(),qf=pa(),da=fa(),ha=da&&da.isTypedArray,Rf=ha?qf(ha):If;ma.exports=Rf});var lr=s((ly,ya)=>{"use strict";function Nf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}ya.exports=Nf});var va=s((fy,ga)=>{"use strict";var kf=wt(),Df=Ge(),Mf=Object.prototype,Lf=Mf.hasOwnProperty;function Ff(e,t,r){var n=e[t];(!(Lf.call(e,t)&&Df(n,r))||r===void 0&&!(t in e))&&kf(e,t,r)}ga.exports=Ff});var xa=s((dy,ba)=>{"use strict";var $f=va(),zf=wt();function Gf(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=n?n(r[c],e[c],c,r,e):void 0;u===void 0&&(u=e[c]),o?zf(r,c,u):$f(r,c,u)}return r}ba.exports=Gf});var Sa=s((hy,wa)=>{"use strict";function Bf(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}wa.exports=Bf});var fr=s((my,_a)=>{"use strict";var Vf=9007199254740991,Uf=/^(?:0|[1-9]\d*)$/;function Hf(e,t){var r=typeof e;return t=t??Vf,!!t&&(r=="number"||r!="symbol"&&Uf.test(e))&&e>-1&&e%1==0&&e<t}_a.exports=Hf});var Pa=s((yy,Oa)=>{"use strict";var Wf=Sa(),Yf=ir(),Kf=ar(),Xf=cr(),Zf=fr(),Jf=pr(),Qf=Object.prototype,ed=Qf.hasOwnProperty;function td(e,t){var r=Kf(e),n=!r&&Yf(e),o=!r&&!n&&Xf(e),i=!r&&!n&&!o&&Jf(e),a=r||n||o||i,c=a?Wf(e.length,String):[],u=c.length;for(var h in e)(t||ed.call(e,h))&&!(a&&(h=="length"||o&&(h=="offset"||h=="parent")||i&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Zf(h,u)))&&c.push(h);return c}Oa.exports=td});var ja=s((gy,Ca)=>{"use strict";function rd(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Ca.exports=rd});var Ea=s((vy,Aa)=>{"use strict";var nd=Q(),od=or(),id=ja(),ad=Object.prototype,sd=ad.hasOwnProperty;function cd(e){if(!nd(e))return id(e);var t=od(e),r=[];for(var n in e)n=="constructor"&&(t||!sd.call(e,n))||r.push(n);return r}Aa.exports=cd});var dr=s((by,Ta)=>{"use strict";var ud=Pa(),pd=Ea(),ld=St();function fd(e){return ld(e)?ud(e,!0):pd(e)}Ta.exports=fd});var qa=s((xy,Ia)=>{"use strict";var dd=xa(),hd=dr();function md(e){return dd(e,hd(e))}Ia.exports=md});var La=s((wy,Ma)=>{"use strict";var Ra=rr(),yd=_i(),gd=Ti(),vd=qi(),bd=zi(),Na=ir(),ka=ar(),xd=Ji(),wd=cr(),Sd=bt(),_d=Q(),Od=aa(),Pd=pr(),Da=lr(),Cd=qa();function jd(e,t,r,n,o,i,a){var c=Da(e,r),u=Da(t,r),h=a.get(u);if(h){Ra(e,r,h);return}var l=i?i(c,u,r+"",e,t,a):void 0,d=l===void 0;if(d){var S=ka(u),w=!S&&wd(u),v=!S&&!w&&Pd(u);l=u,S||w||v?ka(c)?l=c:xd(c)?l=vd(c):w?(d=!1,l=yd(u,!0)):v?(d=!1,l=gd(u,!0)):l=[]:Od(u)||Na(u)?(l=c,Na(c)?l=Cd(c):(!_d(c)||Sd(c))&&(l=bd(u))):d=!1}d&&(a.set(u,l),o(l,u,n,i,a),a.delete(u)),Ra(e,r,l)}Ma.exports=jd});var hr=s((Sy,$a)=>{"use strict";var Ad=li(),Ed=rr(),Td=vi(),Id=La(),qd=Q(),Rd=dr(),Nd=lr();function Fa(e,t,r,n,o){e!==t&&Td(t,function(i,a){if(o||(o=new Ad),qd(i))Id(e,t,a,r,Fa,n,o);else{var c=n?n(Nd(e,a),i,a+"",e,t,o):void 0;c===void 0&&(c=i),Ed(e,a,c)}},Rd)}$a.exports=Fa});var Va=s((_y,Ba)=>{"use strict";var kd=hr(),za=Q();function Ga(e,t,r,n,o,i){return za(e)&&za(t)&&(i.set(t,e),kd(e,t,void 0,Ga,i),i.delete(t)),e}Ba.exports=Ga});var Ha=s((Oy,Ua)=>{"use strict";var Dd=Ge(),Md=St(),Ld=fr(),Fd=Q();function $d(e,t,r){if(!Fd(r))return!1;var n=typeof t;return(n=="number"?Md(r)&&Ld(t,r.length):n=="string"&&t in r)?Dd(r[t],e):!1}Ua.exports=$d});var Ya=s((Py,Wa)=>{"use strict";var zd=er(),Gd=Ha();function Bd(e){return zd(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&Gd(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var c=r[n];c&&e(t,c,n,i)}return t})}Wa.exports=Bd});var Xa=s((Cy,Ka)=>{"use strict";var Vd=hr(),Ud=Ya(),Hd=Ud(function(e,t,r,n){Vd(e,t,r,n)});Ka.exports=Hd});var Ja=s((jy,Za)=>{"use strict";var Wd=Yt(),Yd=er(),Kd=Va(),Xd=Xa(),Zd=Yd(function(e){return e.push(void 0,Kd),Wd(Xd,void 0,e)});Za.exports=Zd});import{createRoot as nh}from"react-dom/client";import{useSyncExternalStore as Jd,useState as Qd,useEffect as eh,useMemo as Qa}from"react";import{IntlProvider as th}from"react-intl";var k=function(){return k=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};function ne(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function wr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var bs=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sr=wr(function(e){return bs.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});import j,{createElement as ws}from"react";var C="-ms-",oe="-moz-",x="-webkit-",nt="comm",ee="rule",he="decl";var _r="@import";var Or="@namespace",ot="@keyframes";var Pr="@layer";var Ct=Math.abs,Re=String.fromCharCode,Ne=Object.assign;function Cr(e,t){return E(e,0)^45?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}function it(e){return e.trim()}function V(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,r){return e.replace(t,r)}function me(e,t,r){return e.indexOf(t,r)}function E(e,t){return e.charCodeAt(t)|0}function U(e,t,r){return e.slice(t,r)}function D(e){return e.length}function at(e){return e.length}function ie(e,t){return t.push(e),e}function jr(e,t){return e.map(t).join("")}function jt(e,t){return e.filter(function(r){return!V(r,t)})}var st=1,ye=1,Ar=0,$=0,q=0,ve="";function ke(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:st,column:ye,length:a,return:"",siblings:c}}function K(e,t){return Ne(ke("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ae(e){for(;e.root;)e=K(e.root,{children:[e]});ie(e,e.siblings)}function Er(){return q}function Tr(){return q=$>0?E(ve,--$):0,ye--,q===10&&(ye=1,st--),q}function z(){return q=$<Ar?E(ve,$++):0,ye++,q===10&&(ye=1,st++),q}function X(){return E(ve,$)}function De(){return $}function ct(e,t){return U(ve,e,t)}function ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ir(e){return st=ye=1,Ar=D(ve=e),$=0,[]}function qr(e){return ve="",e}function ut(e){return it(ct($-1,At(e===91?e+2:e===40?e+1:e)))}function Rr(e){for(;(q=X())&&q<33;)z();return ge(e)>2||ge(q)>3?"":" "}function Nr(e,t){for(;--t&&z()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return ct(e,De()+(t<6&&X()==32&&z()==32))}function At(e){for(;z();)switch(q){case e:return $;case 34:case 39:e!==34&&e!==39&&At(q);break;case 40:e===41&&At(e);break;case 92:z();break}return $}function kr(e,t){for(;z()&&e+q!==57;)if(e+q===84&&X()===47)break;return"/*"+ct(t,$-1)+"*"+Re(e===47?e:z())}function Dr(e){for(;!ge(X());)z();return ct(e,$)}function Fr(e){return qr(pt("",null,null,null,[""],e=Ir(e),0,[0],e))}function pt(e,t,r,n,o,i,a,c,u){for(var h=0,l=0,d=a,S=0,w=0,v=0,_=1,R=1,I=1,T=0,P="",f=o,b=i,y=n,p=P;R;)switch(v=T,T=z()){case 40:if(v!=108&&E(p,d-1)==58){me(p+=g(ut(T),"&","&\f"),"&\f",Ct(h?c[h-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:p+=ut(T);break;case 9:case 10:case 13:case 32:p+=Rr(v);break;case 92:p+=Nr(De()-1,7);continue;case 47:switch(X()){case 42:case 47:ie(xs(kr(z(),De()),t,r,u),u),(ge(v||1)==5||ge(X()||1)==5)&&D(p)&&U(p,-1,void 0)!==" "&&(p+=" ");break;default:p+="/"}break;case 123*_:c[h++]=D(p)*I;case 125*_:case 59:case 0:switch(T){case 0:case 125:R=0;case 59+l:I==-1&&(p=g(p,/\f/g,"")),w>0&&(D(p)-d||_===0&&v===47)&&ie(w>32?Lr(p+";",n,r,d-1,u):Lr(g(p," ","")+";",n,r,d-2,u),u);break;case 59:p+=";";default:if(ie(y=Mr(p,t,r,h,l,o,c,P,f=[],b=[],d,i),i),T===123)if(l===0)pt(p,t,y,y,f,i,d,c,b);else{switch(S){case 99:if(E(p,3)===110)break;case 108:if(E(p,2)===97)break;default:l=0;case 100:case 109:case 115:}l?pt(e,y,y,n&&ie(Mr(e,y,y,0,0,o,c,P,o,f=[],d,b),b),o,b,d,c,n?f:b):pt(p,y,y,y,[""],b,0,c,b)}}h=l=w=0,_=I=1,P=p="",d=a;break;case 58:d=1+D(p),w=v;default:if(_<1){if(T==123)--_;else if(T==125&&_++==0&&Tr()==125)continue}switch(p+=Re(T),T*_){case 38:I=l>0?1:(p+="\f",-1);break;case 44:c[h++]=(D(p)-1)*I,I=1;break;case 64:X()===45&&(p+=ut(z())),S=X(),l=d=D(P=p+=Dr(De())),T++;break;case 45:v===45&&D(p)==2&&(_=0)}}return i}function Mr(e,t,r,n,o,i,a,c,u,h,l,d){for(var S=o-1,w=o===0?i:[""],v=at(w),_=0,R=0,I=0;_<n;++_)for(var T=0,P=U(e,S+1,S=Ct(R=a[_])),f=e;T<v;++T)(f=it(R>0?w[T]+" "+P:g(P,/&\f/g,w[T])))&&(u[I++]=f);return ke(e,t,r,o===0?ee:c,u,h,l,d)}function xs(e,t,r,n){return ke(e,t,r,nt,Re(Er()),U(e,2,-2),0,n)}function Lr(e,t,r,n,o){return ke(e,t,r,he,U(e,0,n),U(e,n+1,-1),n,o)}function Et(e,t,r){switch(Cr(e,t)){case 5103:return x+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return x+e+e;case 4855:return x+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+oe+e+C+e+e;case 5936:switch(E(e,t+11)){case 114:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+C+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return x+e+C+e+e;case 6165:return x+e+C+"flex-"+e+e;case 5187:return x+e+g(e,/(\w+).+(:[^]+)/,x+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return x+e+C+"flex-item-"+g(e,/flex-|-self/g,"")+(V(e,/flex-|baseline/)?"":C+"grid-row-"+g(e,/flex-|-self/g,""))+e;case 4675:return x+e+C+"flex-line-pack"+g(e,/align-content|flex-|-self/g,"")+e;case 5548:return x+e+C+g(e,"shrink","negative")+e;case 5292:return x+e+C+g(e,"basis","preferred-size")+e;case 6060:return x+"box-"+g(e,"-grow","")+x+e+C+g(e,"grow","positive")+e;case 4554:return x+g(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3"+C+"flex-pack:$3"),/space-between/,"justify")+x+e+e;case 4200:if(!V(e,/flex-|baseline/))return C+"grid-column-align"+U(e,t)+e;break;case 2592:case 3360:return C+g(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,V(n.props,/grid-\w+-end/)})?~me(e+(r=r[t].value),"span",0)?e:C+g(e,"-start","")+e+C+"grid-row-span:"+(~me(r,"span",0)?V(r,/\d+/):+V(r,/\d+/)-+V(e,/\d+/))+";":C+g(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return V(n.props,/grid-\w+-start/)})?e:C+g(g(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,x+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(E(e,t+1)){case 109:if(E(e,t+4)!==45)break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+oe+(E(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~me(e,"stretch",0)?Et(g(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return g(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,c,u,h){return C+o+":"+i+h+(a?C+o+"-span:"+(c?u:+u-+i)+h:"")+e});case 4949:if(E(e,t+6)===121)return g(e,":",":"+x)+e;break;case 6444:switch(E(e,E(e,14)===45?18:11)){case 120:return g(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+x+(E(e,14)===45?"inline-":"")+"box$3$1"+x+"$2$3$1"+C+"$2box$3")+e;case 100:return g(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(e,"scroll-","scroll-snap-")+e}return e}function be(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function $r(e,t,r,n){switch(e.type){case Pr:if(e.children.length)break;case _r:case Or:case he:return e.return=e.return||e.value;case nt:return"";case ot:return e.return=e.value+"{"+be(e.children,n)+"}";case ee:if(!D(e.value=e.props.join(",")))return""}return D(r=be(e.children,n))?e.return=e.value+"{"+r+"}":""}function zr(e){var t=at(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Gr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Br(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case he:e.return=Et(e.value,e.length,r);return;case ot:return be([K(e,{value:g(e.value,"@","@"+x)})],n);case ee:if(e.length)return jr(r=e.props,function(o){switch(V(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ae(K(e,{props:[g(o,/:(read-\w+)/,":"+oe+"$1")]})),ae(K(e,{props:[o]})),Ne(e,{props:jt(r,n)});break;case"::placeholder":ae(K(e,{props:[g(o,/:(plac\w+)/,":"+x+"input-$1")]})),ae(K(e,{props:[g(o,/:(plac\w+)/,":"+oe+"$1")]})),ae(K(e,{props:[g(o,/:(plac\w+)/,C+"input-$1")]})),ae(K(e,{props:[o]})),Ne(e,{props:jt(r,n)});break}return""})}}var Vr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",an="active",mt="data-styled-version",xe="6.3.9",Bt=`/*!sc*/
|
|
2
|
-
`,Le=typeof window<"u"&&typeof document<"u",H=j.createContext===void 0,Ss=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production");var Ur=/invalid hook call/i,lt=new Set,_s=function(e,t){if(process.env.NODE_ENV!=="production"){if(H)return;var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
3
|
-
`)+`You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
5
|
-
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
6
|
-
`,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Ur.test(a)?(i=!1,lt.delete(n)):o.apply(void 0,ne([a],c,!1))},typeof j.useState=="function"&&j.useState(null),i&&!lt.has(n)&&(console.warn(n),lt.add(n))}catch(a){Ur.test(a.message)&<.delete(n)}finally{console.error=o}}},Vt=Object.freeze([]),we=Object.freeze({});function Os(e,t,r){return r===void 0&&(r=we),e.theme!==r.theme&&e.theme||t||r.theme}var Nt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),Ps=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Cs=/(^-|-$)/g;function Hr(e){return e.replace(Ps,"-").replace(Cs,"")}var js=/(a)(d)/gi,Wr=function(e){return String.fromCharCode(e+(e>25?39:97))};function kt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Wr(t%52)+r;return(Wr(t%52)+r).replace(js,"$1-$2")}var Tt,te=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},sn=function(e){return te(5381,e)};function As(e){return kt(sn(e)>>>0)}function cn(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function It(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var un=typeof Symbol=="function"&&Symbol.for,pn=un?Symbol.for("react.memo"):60115,Es=un?Symbol.for("react.forward_ref"):60112,Ts={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Is={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ln={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qs=((Tt={})[Es]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Tt[pn]=ln,Tt);function Yr(e){return("type"in(t=e)&&t.type.$$typeof)===pn?ln:"$$typeof"in e?qs[e.$$typeof]:Ts;var t}var Rs=Object.defineProperty,Ns=Object.getOwnPropertyNames,Kr=Object.getOwnPropertySymbols,ks=Object.getOwnPropertyDescriptor,Ds=Object.getPrototypeOf,Xr=Object.prototype;function fn(e,t,r){if(typeof t!="string"){if(Xr){var n=Ds(t);n&&n!==Xr&&fn(e,n,r)}var o=Ns(t);Kr&&(o=o.concat(Kr(t)));for(var i=Yr(e),a=Yr(t),c=0;c<o.length;++c){var u=o[c];if(!(u in Is||r&&r[u]||a&&u in a||i&&u in i)){var h=ks(t,u);try{Rs(e,u,h)}catch{}}}}return e}function ue(e){return typeof e=="function"}function Ut(e){return typeof e=="object"&&"styledComponentId"in e}function ce(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function yt(e,t){return e.join(t||"")}function Se(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Dt(e,t,r){if(r===void 0&&(r=!1),!r&&!Se(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Dt(e[n],t[n]);else if(Se(t))for(var n in t)e[n]=Dt(e[n],t[n]);return e}function Ht(e,t){Object.defineProperty(e,"toString",{value:t})}var Ms=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
7
|
-
|
|
8
|
-
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
9
|
-
|
|
10
|
-
- Are you trying to reuse it across renders?
|
|
11
|
-
- Are you accidentally calling collectStyles twice?
|
|
12
|
-
|
|
13
|
-
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
14
|
-
|
|
15
|
-
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
16
|
-
|
|
17
|
-
- Does this error occur on the client and is your target falsy?
|
|
18
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
19
|
-
|
|
20
|
-
`,5:`The clone method cannot be used on the client!
|
|
21
|
-
|
|
22
|
-
- Are you running in a client-like environment on the server?
|
|
23
|
-
- Are you trying to run SSR on the client?
|
|
24
|
-
|
|
25
|
-
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
26
|
-
|
|
27
|
-
- Are you using a custom target that isn't mounted?
|
|
28
|
-
- Does your document not have a valid head element?
|
|
29
|
-
- Have you accidentally removed a style tag manually?
|
|
30
|
-
|
|
31
|
-
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
32
|
-
|
|
33
|
-
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
34
|
-
|
|
35
|
-
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
36
|
-
|
|
37
|
-
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
38
|
-
|
|
39
|
-
`,14:`ThemeProvider: "theme" prop is required.
|
|
40
|
-
|
|
41
|
-
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
42
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
43
|
-
as for instance in your render method then you may be running into this limitation.
|
|
44
|
-
|
|
45
|
-
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
46
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
47
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ls(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function M(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ls.apply(void 0,ne([Ms[e]],t,!1)).trim())}var Fs=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw M(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var c=this.indexOfGroup(t+1),u=0,h=(a=0,r.length);a<h;a++)this.tag.insertRule(c,r[a])&&(this.groupSizes[t]++,c++,u++);u>0&&this._cGroup>t&&(this._cIndex+=u)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+=this.tag.getRule(a)+Bt;return r},e})(),$s=1<<30,dt=new Map,gt=new Map,ht=1,Me=function(e){if(dt.has(e))return dt.get(e);for(;gt.has(ht);)ht++;var t=ht++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>$s))throw M(16,"".concat(t));return dt.set(e,t),gt.set(t,e),t},zs=function(e,t){ht=t+1,dt.set(e,t),gt.set(t,e)},Gs="style[".concat(J,"][").concat(mt,'="').concat(xe,'"]'),Bs=new RegExp("^".concat(J,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Zr=function(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Mt=function(e){if(!e)return document;if(Zr(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(Zr(t))return t}return document},Vs=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Us=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Bt),o=[],i=0,a=n.length;i<a;i++){var c=n[i].trim();if(c){var u=c.match(Bs);if(u){var h=0|parseInt(u[1],10),l=u[2];h!==0&&(zs(l,h),Vs(e,l,u[3]),e.getTag().insertRules(h,o)),o.length=0}else o.push(c)}}},qt=function(e){for(var t=Mt(e.options.target).querySelectorAll(Gs),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(J)!==an&&(Us(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Lt(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var dn=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var u=Array.from(c.querySelectorAll("style[".concat(J,"]")));return u[u.length-1]})(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(J,an),n.setAttribute(mt,xe);var a=Lt();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Hs=(function(){function e(t){this.element=dn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var n;if(r.sheet)return r.sheet;for(var o=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,a=o.length;i<a;i++){var c=o[i];if(c.ownerNode===r)return c}throw M(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),Ws=(function(){function e(t){this.element=dn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Ys=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Jr=Le,Ks={isServer:!Le,useCSSOMInjection:!Ss},Fe=(function(){function e(t,r,n){t===void 0&&(t=we),r===void 0&&(r={});var o=this;this.options=k(k({},Ks),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Le&&Jr&&(Jr=!1,qt(this)),Ht(this,function(){return(function(i){for(var a=i.getTag(),c=a.length,u="",h=function(d){var S=(function(I){return gt.get(I)})(d);if(S===void 0)return"continue";var w=i.names.get(S);if(w===void 0||!w.size)return"continue";var v=a.getGroup(d);if(v.length===0)return"continue";var _=J+".g"+d+'[id="'+S+'"]',R="";w.forEach(function(I){I.length>0&&(R+=I+",")}),u+=v+_+'{content:"'+R+'"}'+Bt},l=0;l<c;l++)h(l);return u})(o)})}return e.registerId=function(t){return Me(t)},e.prototype.rehydrate=function(){!this.server&&Le&&qt(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(k(k({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Le&&t.target!==this.options.target&&Mt(this.options.target)!==Mt(t.target)&&qt(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Ys(o):n?new Hs(o):new Ws(o)})(this.options),new Fs(t)));var t},e.prototype.hasNameForId=function(t,r){var n,o;return(o=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&o!==void 0&&o},e.prototype.registerName=function(t,r){Me(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Me(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Me(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Xs=/&/g,Z=47,se=42;function Qr(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,n=0,o=!1,i=0;i<t;i++){var a=e.charCodeAt(i);if(n!==0||o||a!==Z||e.charCodeAt(i+1)!==se)if(o)a===se&&e.charCodeAt(i+1)===Z&&(o=!1,i++);else if(a!==34&&a!==39||i!==0&&e.charCodeAt(i-1)===92){if(n===0){if(a===123)r++;else if(a===125&&--r<0)return!0}}else n===0?n=a:n===a&&(n=0);else o=!0,i++}return r!==0||n!==0}function hn(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=hn(r.children,t)),r})}function mn(e){var t,r,n,o=e===void 0?we:e,i=o.options,a=i===void 0?we:i,c=o.plugins,u=c===void 0?Vt:c,h=function(v,_,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):v},l=u.slice();l.push(function(v){v.type===ee&&v.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),v.props[0]=v.props[0].replace(Xs,r).replace(n,h))}),a.prefix&&l.push(Br),l.push($r);var d=[],S=zr(l.concat(Gr(function(v){return d.push(v)}))),w=function(v,_,R,I){_===void 0&&(_=""),R===void 0&&(R=""),I===void 0&&(I="&"),t=I,r=_,n=void 0;var T=(function(f){if(!Qr(f))return f;for(var b=f.length,y="",p=0,m=0,N=0,G=!1,O=0;O<b;O++){var B=f.charCodeAt(O);if(N!==0||G||B!==Z||f.charCodeAt(O+1)!==se)if(G)B===se&&f.charCodeAt(O+1)===Z&&(G=!1,O++);else if(B!==34&&B!==39||O!==0&&f.charCodeAt(O-1)===92){if(N===0)if(B===123)m++;else if(B===125){if(--m<0){for(var L=O+1;L<b;){var Ze=f.charCodeAt(L);if(Ze===59||Ze===10)break;L++}L<b&&f.charCodeAt(L)===59&&L++,m=0,O=L-1,p=L;continue}m===0&&(y+=f.substring(p,O+1),p=O+1)}else B===59&&m===0&&(y+=f.substring(p,O+1),p=O+1)}else N===0?N=B:N===B&&(N=0);else G=!0,O++}if(p<b){var Je=f.substring(p);Qr(Je)||(y+=Je)}return y})((function(f){if(f.indexOf("//")===-1)return f;for(var b=f.length,y=[],p=0,m=0,N=0,G=0;m<b;){var O=f.charCodeAt(m);if(O!==34&&O!==39||m!==0&&f.charCodeAt(m-1)===92)if(N===0)if(O===Z&&m+1<b&&f.charCodeAt(m+1)===se){for(m+=2;m+1<b&&(f.charCodeAt(m)!==se||f.charCodeAt(m+1)!==Z);)m++;m+=2}else if(O===40&&m>=3&&(32|f.charCodeAt(m-1))==108&&(32|f.charCodeAt(m-2))==114&&(32|f.charCodeAt(m-3))==117)G=1,m++;else if(G>0)O===41?G--:O===40&&G++,m++;else if(O===se&&m+1<b&&f.charCodeAt(m+1)===Z)m>p&&y.push(f.substring(p,m)),p=m+=2;else if(O===Z&&m+1<b&&f.charCodeAt(m+1)===Z){for(m>p&&y.push(f.substring(p,m));m<b&&f.charCodeAt(m)!==10;)m++;p=m}else m++;else m++;else N===0?N=O:N===O&&(N=0),m++}return p===0?f:(p<b&&y.push(f.substring(p)),y.join(""))})(v)),P=Fr(R||_?"".concat(R," ").concat(_," { ").concat(T," }"):T);return a.namespace&&(P=hn(P,a.namespace)),d=[],be(P,S),d};return w.hash=u.length?u.reduce(function(v,_){return _.name||M(15),te(v,_.name)},5381).toString():"",w}var Zs=new Fe,Ft=mn(),$t={shouldForwardProp:void 0,styleSheet:Zs,stylis:Ft},Wt=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)($t)}}:j.createContext($t),Dh=Wt.Consumer,Js=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:j.createContext(void 0);function zt(){return H?$t:j.useContext(Wt)}function Qs(e){if(H||!j.useMemo)return e.children;var t=zt().styleSheet,r=j.useMemo(function(){var i=t;return e.sheet?i=e.sheet:e.target&&(i=i.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(i=i.reconstructWithOptions({useCSSOMInjection:!1})),i},[e.disableCSSOMInjection,e.sheet,e.target,t]),n=j.useMemo(function(){return mn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=j.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:r,stylis:n}},[e.shouldForwardProp,r,n]);return j.createElement(Wt.Provider,{value:o},j.createElement(Js.Provider,{value:n},e.children))}var en=(function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Ft);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Ht(this,function(){throw M(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Ft),this.name+t.hash},e})();function ec(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in Vr||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var tc=function(e){return e>="A"&&e<="Z"};function tn(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;tc(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var yn=function(e){return e==null||e===!1||e===""},gn=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!yn(n)&&(Array.isArray(n)&&n.isCss||ue(n)?t.push("".concat(tn(r),":"),n,";"):Se(n)?t.push.apply(t,ne(ne(["".concat(r," {")],gn(n),!1),["}"],!1)):t.push("".concat(tn(r),": ").concat(ec(r,n),";")))}return t};function re(e,t,r,n,o){if(o===void 0&&(o=[]),typeof e=="string")return e&&o.push(e),o;if(yn(e))return o;if(Ut(e))return o.push(".".concat(e.styledComponentId)),o;if(ue(e)){if(!ue(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return o.push(e),o;var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof en||Se(i)||i===null||console.error("".concat(cn(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),re(i,t,r,n,o)}var a;if(e instanceof en)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(Se(e)){for(var c=gn(e),u=0;u<c.length;u++)o.push(c[u]);return o}if(!Array.isArray(e))return o.push(e.toString()),o;for(u=0;u<e.length;u++)re(e[u],t,r,n,o);return o}function vn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ue(r)&&!Ut(r))return!1}return!0}var rc=sn(xe),nc=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&vn(t),this.componentId=r,this.baseHash=te(rc,r),this.baseStyle=n,Fe.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ce(o,this.staticRulesId);else{var i=yt(re(this.rules,t,r,n)),a=kt(te(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var c=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,c)}o=ce(o,a),this.staticRulesId=a}else{for(var u=te(this.baseHash,n.hash),h="",l=0;l<this.rules.length;l++){var d=this.rules[l];if(typeof d=="string")h+=d,process.env.NODE_ENV!=="production"&&(u=te(u,d));else if(d){var S=yt(re(d,t,r,n));u=te(te(u,String(l)),S),h+=S}}if(h){var w=kt(u>>>0);if(!r.hasNameForId(this.componentId,w)){var v=n(h,".".concat(w),void 0,this.componentId);r.insertRules(this.componentId,w,v)}o=ce(o,w)}}return{className:o,css:typeof window>"u"?r.getTag().getGroup(Me(this.componentId)):""}},e})(),vt=H?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:j.createContext(void 0),Mh=vt.Consumer;function bn(e){if(H)return e.children;var t=j.useContext(vt),r=j.useMemo(function(){return(function(n,o){if(!n)throw M(14);if(ue(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw M(7);return i}if(Array.isArray(n)||typeof n!="object")throw M(8);return o?k(k({},o),n):n})(e.theme,t)},[e.theme,t]);return e.children?j.createElement(vt.Provider,{value:r},e.children):null}var Rt={},rn=new Set;function oc(e,t,r){var n=Ut(e),o=e,i=!It(e),a=t.attrs,c=a===void 0?Vt:a,u=t.componentId,h=u===void 0?(function(f,b){var y=typeof f!="string"?"sc":Hr(f);Rt[y]=(Rt[y]||0)+1;var p="".concat(y,"-").concat(As(xe+y+Rt[y]));return b?"".concat(b,"-").concat(p):p})(t.displayName,t.parentComponentId):u,l=t.displayName,d=l===void 0?(function(f){return It(f)?"styled.".concat(f):"Styled(".concat(cn(f),")")})(e):l,S=t.displayName&&t.componentId?"".concat(Hr(t.displayName),"-").concat(t.componentId):t.componentId||h,w=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,v=t.shouldForwardProp;if(n&&o.shouldForwardProp){var _=o.shouldForwardProp;if(t.shouldForwardProp){var R=t.shouldForwardProp;v=function(f,b){return _(f,b)&&R(f,b)}}else v=_}var I=new nc(r,S,n?o.componentStyle:void 0);function T(f,b){return(function(y,p,m){var N=y.attrs,G=y.componentStyle,O=y.defaultProps,B=y.foldedComponentIds,L=y.styledComponentId,Ze=y.target,Je=H?void 0:j.useContext(vt),ps=zt(),_t=y.shouldForwardProp||ps.shouldForwardProp;process.env.NODE_ENV!=="production"&&j.useDebugValue&&j.useDebugValue(L);var yr=Os(p,Je,O)||(H?void 0:we),W=(function(et,le,tt){for(var fe,Y=k(k({},le),{className:void 0,theme:tt}),Pt=0;Pt<et.length;Pt+=1){var rt=ue(fe=et[Pt])?fe(Y):fe;for(var de in rt)de==="className"?Y.className=ce(Y.className,rt[de]):de==="style"?Y.style=k(k({},Y.style),rt[de]):Y[de]=rt[de]}return"className"in le&&typeof le.className=="string"&&(Y.className=ce(Y.className,le.className)),Y})(N,p,yr),Ie=W.as||Ze,qe={};for(var F in W)W[F]===void 0||F[0]==="$"||F==="as"||F==="theme"&&W.theme===yr||(F==="forwardedAs"?qe.as=W.forwardedAs:_t&&!_t(F,Ie)||(qe[F]=W[F],_t||process.env.NODE_ENV!=="development"||Sr(F)||rn.has(F)||!Nt.has(Ie)||(rn.add(F),console.warn('styled-components: it looks like an unknown prop "'.concat(F,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var gr=(function(et,le){var tt=zt(),fe=et.generateAndInjectStyles(le,tt.styleSheet,tt.stylis);return process.env.NODE_ENV!=="production"&&j.useDebugValue&&j.useDebugValue(fe.className),fe})(G,W),Qe=gr.className,vr=gr.css;process.env.NODE_ENV!=="production"&&y.warnTooManyClasses&&y.warnTooManyClasses(Qe);var Ot=ce(B,L);Qe&&(Ot+=" "+Qe),W.className&&(Ot+=" "+W.className),qe[It(Ie)&&!Nt.has(Ie)?"class":"className"]=Ot,m&&(qe.ref=m);var br=ws(Ie,qe);return H&&vr?j.createElement(j.Fragment,null,j.createElement("style",{precedence:"styled-components",href:"sc-".concat(L,"-").concat(Qe),children:vr}),br):br})(P,f,b)}T.displayName=d;var P=j.forwardRef(T);return P.attrs=w,P.componentStyle=I,P.displayName=d,P.shouldForwardProp=v,P.foldedComponentIds=n?ce(o.foldedComponentIds,o.styledComponentId):"",P.styledComponentId=S,P.target=n?o.target:e,Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(f){this._foldedDefaultProps=n?(function(b){for(var y=[],p=1;p<arguments.length;p++)y[p-1]=arguments[p];for(var m=0,N=y;m<N.length;m++)Dt(b,N[m],!0);return b})({},o.defaultProps,f):f}}),process.env.NODE_ENV!=="production"&&(_s(d,S),P.warnTooManyClasses=(function(f,b){var y={},p=!1;return function(m){if(!p&&(y[m]=!0,Object.keys(y).length>=200)){var N=b?' with the id of "'.concat(b,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(f).concat(N,`.
|
|
48
|
-
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
49
|
-
Example:
|
|
50
|
-
const Component = styled.div.attrs(props => ({
|
|
51
|
-
style: {
|
|
52
|
-
background: props.background,
|
|
53
|
-
},
|
|
54
|
-
}))\`width: 100%;\`
|
|
55
|
-
|
|
56
|
-
<Component />`),p=!0,y={}}}})(d,S)),Ht(P,function(){return".".concat(P.styledComponentId)}),i&&fn(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),P}function nn(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var on=function(e){return Object.assign(e,{isCss:!0})};function ic(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ue(e)||Se(e))return on(re(nn(Vt,ne([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?re(n):on(re(nn(n,t)))}function Gt(e,t,r){if(r===void 0&&(r=we),!t)throw M(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,ic.apply(void 0,ne([o],i,!1)))};return n.attrs=function(o){return Gt(e,t,k(k({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Gt(e,t,k(k({},r),o))},n}var xn=function(e){return Gt(oc,e)},ac=xn;Nt.forEach(function(e){ac[e]=xn(e)});var Lh=(function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=vn(t),Fe.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,n,o){var i=o(yt(re(this.rules,r,n,o)),""),a=this.componentId+t;n.insertRules(a,a,i)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,n,o){t>2&&Fe.registerId(this.componentId+t);var i=this.componentId+t;this.isStatic?n.hasNameForId(i,i)||this.createStyles(t,r,n,o):(this.removeStyles(t,n),this.createStyles(t,r,n,o))},e})();var sc=/^\s*<\/[a-z]/i,Fh=(function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var n=Lt(),o=yt([n&&'nonce="'.concat(n,'"'),"".concat(J,'="true"'),"".concat(mt,'="').concat(xe,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(r,"</style>")},this.getStyleTags=function(){if(t.sealed)throw M(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw M(2);var n=t.instance.toString();if(!n)return[];var o=((r={})[J]="",r[mt]=xe,r.dangerouslySetInnerHTML={__html:n},r),i=Lt();return i&&(o.nonce=i),[j.createElement("style",k({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new Fe({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw M(2);return j.createElement(Qs,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){if(this.sealed)throw M(2);this.seal();var r=ys("stream").Transform,n=this.instance,o=this._emitSheetCSS,i=new r({transform:function(c,u,h){var l=c.toString(),d=o();if(n.clearTag(),sc.test(l)){var S=l.indexOf(">")+1,w=l.slice(0,S),v=l.slice(S);this.push(w+d+v)}else this.push(d+l);h()}});if("on"in t&&typeof t.on=="function"&&"pipe"in t){var a=t;return a.on("error",function(c){i.emit("error",c)}),a.pipe(i)}if("pipe"in t&&typeof t.pipe=="function")return t.pipe(i);throw new Error("Unsupported stream type")},e})();process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
57
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
58
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var ft="__sc-".concat(J,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[ft]||(window[ft]=0),window[ft]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
59
|
-
|
|
60
|
-
See https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.`),window[ft]+=1);var ts=vs(Ja());import{jsx as es}from"react/jsx-runtime";var rh=({children:e,store:t,configurations:r})=>{let n=Jd(t.subscribe,t.getState),o=n.admin_app.theme.currentTheme||"light",i=n.admin_app.language.locale||"en",a=r.translations||{},[c,u]=Qd(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),h=Qa(()=>(0,ts.default)(a[i],a.en),[i,a]),l=Qa(()=>r.themes[o==="system"?c:o],[o,c,r.themes]);return eh(()=>{let d=matchMedia("(prefers-color-scheme: dark)"),S=w=>{u(w.matches?"dark":"light")};return d.addEventListener("change",S),()=>d.removeEventListener("change",S)},[]),es(bn,{theme:l,children:es(th,{locale:i,messages:h,children:e})})},rs=rh;import{jsx as ns}from"react/jsx-runtime";var os=async(e,t,r)=>{let n=t.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${r.id}`)||n.removeRoot(r.id);let i=mr(r.route,e.location.pathname);if(!i)return;let a=r.Component(),c=await is(r.selector);if(!c||!mr(r.route,window.location.pathname))return;if(!n.getRoot(r.id)){let d=document.getElementById(r.id);d||(d=document.createElement("div"),d.id=r.id,c.after(d)),n.setRoot(r.id,nh(d))}let h=(await a).default,l=n.getRoot(r.id);l&&l.render(ns(rs,{store:t.store,configurations:t.configurations,children:ns(h,{...i})}))};var ss=async e=>{let t=e.router,r=0;for(;!t?.router?.state?.location&&r<100;)await new Promise(n=>setTimeout(n,10)),r++;if(!t?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}t.router.subscribe(n=>as(n,e)),as(t.router.state,e)},as=(e,t)=>{let r=t.domInjections?.routes||[];Promise.all(r.map(n=>os(e,t,n)))},is=(e,t=5e3)=>new Promise(r=>{let n=document.querySelector(e);if(n)return r(n);let o=new MutationObserver(()=>{let i=document.querySelector(e);i&&(o.disconnect(),r(i))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),r(null)},t)}),cs=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:r,...n}=e;if(r&&t.domInjections.routes.some(i=>i.id===r)){console.warn(`Injection route with id ${r} already exists. Skipping registration.`);return}let o=r||`injection-${Math.random().toString(36).substring(2,9)}`;t.domInjections.routes.push({id:o,...n})},us=(e,t)=>{if(!t.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let r=t.domInjections.routes.findIndex(n=>n.id===e);if(r===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}t.domInjections.routes.splice(r,1),t.domInjections.removeRoot(e)},mr=(e,t)=>{let r=e.split("/").filter(Boolean),n=t.split("/").filter(Boolean);if(r.length!==n.length)return null;let o={};for(let i=0;i<r.length;i++)if(r[i].startsWith(":"))o[r[i].replace(/^:/,"")]=n[i];else if(r[i]!==n[i])return null;return o};var zy=e=>{let t=e.domInjections;if(t)return t;ss(e);let r={routes:[],roots:{},registerRoute:n=>cs(n,e),unregisterRoute:n=>us(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n])}};return e.domInjections=r,r};export{zy as initialiseInjections};
|
|
1
|
+
var ri=Object.create;var pe=Object.defineProperty;var ti=Object.getOwnPropertyDescriptor;var ni=Object.getOwnPropertyNames;var ii=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty;var i=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ai=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of ni(r))!oi.call(e,o)&&o!==t&&pe(e,o,{get:()=>r[o],enumerable:!(n=ti(r,o))||n.enumerable});return e};var si=(e,r,t)=>(t=e!=null?ri(ii(e)):{},ai(r||!e||!e.__esModule?pe(t,"default",{value:e,enumerable:!0}):t,e));var B=i((ap,fe)=>{"use strict";function ui(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}fe.exports=ui});var U=i((sp,le)=>{"use strict";function ci(e){return e}le.exports=ci});var ge=i((up,he)=>{"use strict";var pi=B(),de=Math.max;function fi(e,r,t){return r=de(r===void 0?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=de(n.length-r,0),u=Array(a);++o<a;)u[o]=n[r+o];o=-1;for(var s=Array(r+1);++o<r;)s[o]=n[o];return s[r]=t(u),pi(e,this,s)}}he.exports=fi});var me=i((cp,ve)=>{"use strict";function li(e){return function(){return e}}ve.exports=li});var H=i((pp,ye)=>{"use strict";var di=typeof global=="object"&&global&&global.Object===Object&&global;ye.exports=di});var g=i((fp,qe)=>{"use strict";var hi=H(),gi=typeof self=="object"&&self&&self.Object===Object&&self,vi=hi||gi||Function("return this")();qe.exports=vi});var $=i((lp,be)=>{"use strict";var mi=g(),yi=mi.Symbol;be.exports=yi});var Ie=i((dp,_e)=>{"use strict";var xe=$(),je=Object.prototype,qi=je.hasOwnProperty,bi=je.toString,T=xe?xe.toStringTag:void 0;function xi(e){var r=qi.call(e,T),t=e[T];try{e[T]=void 0;var n=!0}catch{}var o=bi.call(e);return n&&(r?e[T]=t:delete e[T]),o}_e.exports=xi});var Te=i((hp,Oe)=>{"use strict";var ji=Object.prototype,_i=ji.toString;function Ii(e){return _i.call(e)}Oe.exports=Ii});var S=i((gp,Ae)=>{"use strict";var Se=$(),Oi=Ie(),Ti=Te(),Si="[object Null]",Pi="[object Undefined]",Pe=Se?Se.toStringTag:void 0;function Ai(e){return e==null?e===void 0?Pi:Si:Pe&&Pe in Object(e)?Oi(e):Ti(e)}Ae.exports=Ai});var h=i((vp,we)=>{"use strict";function wi(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}we.exports=wi});var F=i((mp,Ce)=>{"use strict";var Ci=S(),Ri=h(),Ei="[object AsyncFunction]",Mi="[object Function]",Di="[object GeneratorFunction]",Li="[object Proxy]";function Fi(e){if(!Ri(e))return!1;var r=Ci(e);return r==Mi||r==Di||r==Ei||r==Li}Ce.exports=Fi});var Ee=i((yp,Re)=>{"use strict";var Gi=g(),Ni=Gi["__core-js_shared__"];Re.exports=Ni});var Le=i((qp,De)=>{"use strict";var K=Ee(),Me=(function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function zi(e){return!!Me&&Me in e}De.exports=zi});var Ge=i((bp,Fe)=>{"use strict";var Bi=Function.prototype,Ui=Bi.toString;function Hi(e){if(e!=null){try{return Ui.call(e)}catch{}try{return e+""}catch{}}return""}Fe.exports=Hi});var ze=i((xp,Ne)=>{"use strict";var $i=F(),Ki=Le(),Vi=h(),Wi=Ge(),Ji=/[\\^$.*+?()[\]{}|]/g,Qi=/^\[object .+?Constructor\]$/,Xi=Function.prototype,Yi=Object.prototype,Zi=Xi.toString,ki=Yi.hasOwnProperty,eo=RegExp("^"+Zi.call(ki).replace(Ji,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ro(e){if(!Vi(e)||Ki(e))return!1;var r=$i(e)?eo:Qi;return r.test(Wi(e))}Ne.exports=ro});var Ue=i((jp,Be)=>{"use strict";function to(e,r){return e?.[r]}Be.exports=to});var G=i((_p,He)=>{"use strict";var no=ze(),io=Ue();function oo(e,r){var t=io(e,r);return no(t)?t:void 0}He.exports=oo});var V=i((Ip,$e)=>{"use strict";var ao=G(),so=(function(){try{var e=ao(Object,"defineProperty");return e({},"",{}),e}catch{}})();$e.exports=so});var We=i((Op,Ve)=>{"use strict";var uo=me(),Ke=V(),co=U(),po=Ke?function(e,r){return Ke(e,"toString",{configurable:!0,enumerable:!1,value:uo(r),writable:!0})}:co;Ve.exports=po});var Qe=i((Tp,Je)=>{"use strict";var fo=800,lo=16,ho=Date.now;function go(e){var r=0,t=0;return function(){var n=ho(),o=lo-(n-t);if(t=n,o>0){if(++r>=fo)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}Je.exports=go});var Ye=i((Sp,Xe)=>{"use strict";var vo=We(),mo=Qe(),yo=mo(vo);Xe.exports=yo});var W=i((Pp,Ze)=>{"use strict";var qo=U(),bo=ge(),xo=Ye();function jo(e,r){return xo(bo(e,r,qo),e+"")}Ze.exports=jo});var er=i((Ap,ke)=>{"use strict";function _o(){this.__data__=[],this.size=0}ke.exports=_o});var P=i((wp,rr)=>{"use strict";function Io(e,r){return e===r||e!==e&&r!==r}rr.exports=Io});var A=i((Cp,tr)=>{"use strict";var Oo=P();function To(e,r){for(var t=e.length;t--;)if(Oo(e[t][0],r))return t;return-1}tr.exports=To});var ir=i((Rp,nr)=>{"use strict";var So=A(),Po=Array.prototype,Ao=Po.splice;function wo(e){var r=this.__data__,t=So(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():Ao.call(r,t,1),--this.size,!0}nr.exports=wo});var ar=i((Ep,or)=>{"use strict";var Co=A();function Ro(e){var r=this.__data__,t=Co(r,e);return t<0?void 0:r[t][1]}or.exports=Ro});var ur=i((Mp,sr)=>{"use strict";var Eo=A();function Mo(e){return Eo(this.__data__,e)>-1}sr.exports=Mo});var pr=i((Dp,cr)=>{"use strict";var Do=A();function Lo(e,r){var t=this.__data__,n=Do(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this}cr.exports=Lo});var w=i((Lp,fr)=>{"use strict";var Fo=er(),Go=ir(),No=ar(),zo=ur(),Bo=pr();function m(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}m.prototype.clear=Fo;m.prototype.delete=Go;m.prototype.get=No;m.prototype.has=zo;m.prototype.set=Bo;fr.exports=m});var dr=i((Fp,lr)=>{"use strict";var Uo=w();function Ho(){this.__data__=new Uo,this.size=0}lr.exports=Ho});var gr=i((Gp,hr)=>{"use strict";function $o(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t}hr.exports=$o});var mr=i((Np,vr)=>{"use strict";function Ko(e){return this.__data__.get(e)}vr.exports=Ko});var qr=i((zp,yr)=>{"use strict";function Vo(e){return this.__data__.has(e)}yr.exports=Vo});var J=i((Bp,br)=>{"use strict";var Wo=G(),Jo=g(),Qo=Wo(Jo,"Map");br.exports=Qo});var C=i((Up,xr)=>{"use strict";var Xo=G(),Yo=Xo(Object,"create");xr.exports=Yo});var Ir=i((Hp,_r)=>{"use strict";var jr=C();function Zo(){this.__data__=jr?jr(null):{},this.size=0}_r.exports=Zo});var Tr=i(($p,Or)=>{"use strict";function ko(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}Or.exports=ko});var Pr=i((Kp,Sr)=>{"use strict";var ea=C(),ra="__lodash_hash_undefined__",ta=Object.prototype,na=ta.hasOwnProperty;function ia(e){var r=this.__data__;if(ea){var t=r[e];return t===ra?void 0:t}return na.call(r,e)?r[e]:void 0}Sr.exports=ia});var wr=i((Vp,Ar)=>{"use strict";var oa=C(),aa=Object.prototype,sa=aa.hasOwnProperty;function ua(e){var r=this.__data__;return oa?r[e]!==void 0:sa.call(r,e)}Ar.exports=ua});var Rr=i((Wp,Cr)=>{"use strict";var ca=C(),pa="__lodash_hash_undefined__";function fa(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ca&&r===void 0?pa:r,this}Cr.exports=fa});var Mr=i((Jp,Er)=>{"use strict";var la=Ir(),da=Tr(),ha=Pr(),ga=wr(),va=Rr();function y(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}y.prototype.clear=la;y.prototype.delete=da;y.prototype.get=ha;y.prototype.has=ga;y.prototype.set=va;Er.exports=y});var Fr=i((Qp,Lr)=>{"use strict";var Dr=Mr(),ma=w(),ya=J();function qa(){this.size=0,this.__data__={hash:new Dr,map:new(ya||ma),string:new Dr}}Lr.exports=qa});var Nr=i((Xp,Gr)=>{"use strict";function ba(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}Gr.exports=ba});var R=i((Yp,zr)=>{"use strict";var xa=Nr();function ja(e,r){var t=e.__data__;return xa(r)?t[typeof r=="string"?"string":"hash"]:t.map}zr.exports=ja});var Ur=i((Zp,Br)=>{"use strict";var _a=R();function Ia(e){var r=_a(this,e).delete(e);return this.size-=r?1:0,r}Br.exports=Ia});var $r=i((kp,Hr)=>{"use strict";var Oa=R();function Ta(e){return Oa(this,e).get(e)}Hr.exports=Ta});var Vr=i((ef,Kr)=>{"use strict";var Sa=R();function Pa(e){return Sa(this,e).has(e)}Kr.exports=Pa});var Jr=i((rf,Wr)=>{"use strict";var Aa=R();function wa(e,r){var t=Aa(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this}Wr.exports=wa});var Xr=i((tf,Qr)=>{"use strict";var Ca=Fr(),Ra=Ur(),Ea=$r(),Ma=Vr(),Da=Jr();function q(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}q.prototype.clear=Ca;q.prototype.delete=Ra;q.prototype.get=Ea;q.prototype.has=Ma;q.prototype.set=Da;Qr.exports=q});var Zr=i((nf,Yr)=>{"use strict";var La=w(),Fa=J(),Ga=Xr(),Na=200;function za(e,r){var t=this.__data__;if(t instanceof La){var n=t.__data__;if(!Fa||n.length<Na-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new Ga(n)}return t.set(e,r),this.size=t.size,this}Yr.exports=za});var et=i((of,kr)=>{"use strict";var Ba=w(),Ua=dr(),Ha=gr(),$a=mr(),Ka=qr(),Va=Zr();function b(e){var r=this.__data__=new Ba(e);this.size=r.size}b.prototype.clear=Ua;b.prototype.delete=Ha;b.prototype.get=$a;b.prototype.has=Ka;b.prototype.set=Va;kr.exports=b});var N=i((af,tt)=>{"use strict";var rt=V();function Wa(e,r,t){r=="__proto__"&&rt?rt(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}tt.exports=Wa});var Q=i((sf,nt)=>{"use strict";var Ja=N(),Qa=P();function Xa(e,r,t){(t!==void 0&&!Qa(e[r],t)||t===void 0&&!(r in e))&&Ja(e,r,t)}nt.exports=Xa});var ot=i((uf,it)=>{"use strict";function Ya(e){return function(r,t,n){for(var o=-1,a=Object(r),u=n(r),s=u.length;s--;){var c=u[e?s:++o];if(t(a[c],c,a)===!1)break}return r}}it.exports=Ya});var st=i((cf,at)=>{"use strict";var Za=ot(),ka=Za();at.exports=ka});var lt=i((E,x)=>{"use strict";var es=g(),ft=typeof E=="object"&&E&&!E.nodeType&&E,ut=ft&&typeof x=="object"&&x&&!x.nodeType&&x,rs=ut&&ut.exports===ft,ct=rs?es.Buffer:void 0,pt=ct?ct.allocUnsafe:void 0;function ts(e,r){if(r)return e.slice();var t=e.length,n=pt?pt(t):new e.constructor(t);return e.copy(n),n}x.exports=ts});var ht=i((pf,dt)=>{"use strict";var ns=g(),is=ns.Uint8Array;dt.exports=is});var mt=i((ff,vt)=>{"use strict";var gt=ht();function os(e){var r=new e.constructor(e.byteLength);return new gt(r).set(new gt(e)),r}vt.exports=os});var qt=i((lf,yt)=>{"use strict";var as=mt();function ss(e,r){var t=r?as(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}yt.exports=ss});var xt=i((df,bt)=>{"use strict";function us(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}bt.exports=us});var It=i((hf,_t)=>{"use strict";var cs=h(),jt=Object.create,ps=(function(){function e(){}return function(r){if(!cs(r))return{};if(jt)return jt(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}})();_t.exports=ps});var Tt=i((gf,Ot)=>{"use strict";function fs(e,r){return function(t){return e(r(t))}}Ot.exports=fs});var X=i((vf,St)=>{"use strict";var ls=Tt(),ds=ls(Object.getPrototypeOf,Object);St.exports=ds});var Y=i((mf,Pt)=>{"use strict";var hs=Object.prototype;function gs(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||hs;return e===t}Pt.exports=gs});var wt=i((yf,At)=>{"use strict";var vs=It(),ms=X(),ys=Y();function qs(e){return typeof e.constructor=="function"&&!ys(e)?vs(ms(e)):{}}At.exports=qs});var j=i((qf,Ct)=>{"use strict";function bs(e){return e!=null&&typeof e=="object"}Ct.exports=bs});var Et=i((bf,Rt)=>{"use strict";var xs=S(),js=j(),_s="[object Arguments]";function Is(e){return js(e)&&xs(e)==_s}Rt.exports=Is});var Z=i((xf,Lt)=>{"use strict";var Mt=Et(),Os=j(),Dt=Object.prototype,Ts=Dt.hasOwnProperty,Ss=Dt.propertyIsEnumerable,Ps=Mt((function(){return arguments})())?Mt:function(e){return Os(e)&&Ts.call(e,"callee")&&!Ss.call(e,"callee")};Lt.exports=Ps});var k=i((jf,Ft)=>{"use strict";var As=Array.isArray;Ft.exports=As});var ee=i((_f,Gt)=>{"use strict";var ws=9007199254740991;function Cs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ws}Gt.exports=Cs});var z=i((If,Nt)=>{"use strict";var Rs=F(),Es=ee();function Ms(e){return e!=null&&Es(e.length)&&!Rs(e)}Nt.exports=Ms});var Bt=i((Of,zt)=>{"use strict";var Ds=z(),Ls=j();function Fs(e){return Ls(e)&&Ds(e)}zt.exports=Fs});var Ht=i((Tf,Ut)=>{"use strict";function Gs(){return!1}Ut.exports=Gs});var re=i((M,_)=>{"use strict";var Ns=g(),zs=Ht(),Vt=typeof M=="object"&&M&&!M.nodeType&&M,$t=Vt&&typeof _=="object"&&_&&!_.nodeType&&_,Bs=$t&&$t.exports===Vt,Kt=Bs?Ns.Buffer:void 0,Us=Kt?Kt.isBuffer:void 0,Hs=Us||zs;_.exports=Hs});var Qt=i((Sf,Jt)=>{"use strict";var $s=S(),Ks=X(),Vs=j(),Ws="[object Object]",Js=Function.prototype,Qs=Object.prototype,Wt=Js.toString,Xs=Qs.hasOwnProperty,Ys=Wt.call(Object);function Zs(e){if(!Vs(e)||$s(e)!=Ws)return!1;var r=Ks(e);if(r===null)return!0;var t=Xs.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Wt.call(t)==Ys}Jt.exports=Zs});var Yt=i((Pf,Xt)=>{"use strict";var ks=S(),eu=ee(),ru=j(),tu="[object Arguments]",nu="[object Array]",iu="[object Boolean]",ou="[object Date]",au="[object Error]",su="[object Function]",uu="[object Map]",cu="[object Number]",pu="[object Object]",fu="[object RegExp]",lu="[object Set]",du="[object String]",hu="[object WeakMap]",gu="[object ArrayBuffer]",vu="[object DataView]",mu="[object Float32Array]",yu="[object Float64Array]",qu="[object Int8Array]",bu="[object Int16Array]",xu="[object Int32Array]",ju="[object Uint8Array]",_u="[object Uint8ClampedArray]",Iu="[object Uint16Array]",Ou="[object Uint32Array]",p={};p[mu]=p[yu]=p[qu]=p[bu]=p[xu]=p[ju]=p[_u]=p[Iu]=p[Ou]=!0;p[tu]=p[nu]=p[gu]=p[iu]=p[vu]=p[ou]=p[au]=p[su]=p[uu]=p[cu]=p[pu]=p[fu]=p[lu]=p[du]=p[hu]=!1;function Tu(e){return ru(e)&&eu(e.length)&&!!p[ks(e)]}Xt.exports=Tu});var kt=i((Af,Zt)=>{"use strict";function Su(e){return function(r){return e(r)}}Zt.exports=Su});var rn=i((D,I)=>{"use strict";var Pu=H(),en=typeof D=="object"&&D&&!D.nodeType&&D,L=en&&typeof I=="object"&&I&&!I.nodeType&&I,Au=L&&L.exports===en,te=Au&&Pu.process,wu=(function(){try{var e=L&&L.require&&L.require("util").types;return e||te&&te.binding&&te.binding("util")}catch{}})();I.exports=wu});var ne=i((wf,on)=>{"use strict";var Cu=Yt(),Ru=kt(),tn=rn(),nn=tn&&tn.isTypedArray,Eu=nn?Ru(nn):Cu;on.exports=Eu});var ie=i((Cf,an)=>{"use strict";function Mu(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}an.exports=Mu});var un=i((Rf,sn)=>{"use strict";var Du=N(),Lu=P(),Fu=Object.prototype,Gu=Fu.hasOwnProperty;function Nu(e,r,t){var n=e[r];(!(Gu.call(e,r)&&Lu(n,t))||t===void 0&&!(r in e))&&Du(e,r,t)}sn.exports=Nu});var pn=i((Ef,cn)=>{"use strict";var zu=un(),Bu=N();function Uu(e,r,t,n){var o=!t;t||(t={});for(var a=-1,u=r.length;++a<u;){var s=r[a],c=n?n(t[s],e[s],s,t,e):void 0;c===void 0&&(c=e[s]),o?Bu(t,s,c):zu(t,s,c)}return t}cn.exports=Uu});var ln=i((Mf,fn)=>{"use strict";function Hu(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}fn.exports=Hu});var oe=i((Df,dn)=>{"use strict";var $u=9007199254740991,Ku=/^(?:0|[1-9]\d*)$/;function Vu(e,r){var t=typeof e;return r=r??$u,!!r&&(t=="number"||t!="symbol"&&Ku.test(e))&&e>-1&&e%1==0&&e<r}dn.exports=Vu});var gn=i((Lf,hn)=>{"use strict";var Wu=ln(),Ju=Z(),Qu=k(),Xu=re(),Yu=oe(),Zu=ne(),ku=Object.prototype,ec=ku.hasOwnProperty;function rc(e,r){var t=Qu(e),n=!t&&Ju(e),o=!t&&!n&&Xu(e),a=!t&&!n&&!o&&Zu(e),u=t||n||o||a,s=u?Wu(e.length,String):[],c=s.length;for(var l in e)(r||ec.call(e,l))&&!(u&&(l=="length"||o&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Yu(l,c)))&&s.push(l);return s}hn.exports=rc});var mn=i((Ff,vn)=>{"use strict";function tc(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}vn.exports=tc});var qn=i((Gf,yn)=>{"use strict";var nc=h(),ic=Y(),oc=mn(),ac=Object.prototype,sc=ac.hasOwnProperty;function uc(e){if(!nc(e))return oc(e);var r=ic(e),t=[];for(var n in e)n=="constructor"&&(r||!sc.call(e,n))||t.push(n);return t}yn.exports=uc});var ae=i((Nf,bn)=>{"use strict";var cc=gn(),pc=qn(),fc=z();function lc(e){return fc(e)?cc(e,!0):pc(e)}bn.exports=lc});var jn=i((zf,xn)=>{"use strict";var dc=pn(),hc=ae();function gc(e){return dc(e,hc(e))}xn.exports=gc});var Pn=i((Bf,Sn)=>{"use strict";var _n=Q(),vc=lt(),mc=qt(),yc=xt(),qc=wt(),In=Z(),On=k(),bc=Bt(),xc=re(),jc=F(),_c=h(),Ic=Qt(),Oc=ne(),Tn=ie(),Tc=jn();function Sc(e,r,t,n,o,a,u){var s=Tn(e,t),c=Tn(r,t),l=u.get(c);if(l){_n(e,t,l);return}var f=a?a(s,c,t+"",e,r,u):void 0,d=f===void 0;if(d){var v=On(c),O=!v&&xc(c),ce=!v&&!O&&Oc(c);f=c,v||O||ce?On(s)?f=s:bc(s)?f=yc(s):O?(d=!1,f=vc(c,!0)):ce?(d=!1,f=mc(c,!0)):f=[]:Ic(c)||In(c)?(f=s,In(s)?f=Tc(s):(!_c(s)||jc(s))&&(f=qc(c))):d=!1}d&&(u.set(c,f),o(f,c,n,a,u),u.delete(c)),_n(e,t,f)}Sn.exports=Sc});var se=i((Uf,wn)=>{"use strict";var Pc=et(),Ac=Q(),wc=st(),Cc=Pn(),Rc=h(),Ec=ae(),Mc=ie();function An(e,r,t,n,o){e!==r&&wc(r,function(a,u){if(o||(o=new Pc),Rc(a))Cc(e,r,u,t,An,n,o);else{var s=n?n(Mc(e,u),a,u+"",e,r,o):void 0;s===void 0&&(s=a),Ac(e,u,s)}},Ec)}wn.exports=An});var Mn=i((Hf,En)=>{"use strict";var Dc=se(),Cn=h();function Rn(e,r,t,n,o,a){return Cn(e)&&Cn(r)&&(a.set(r,e),Dc(e,r,void 0,Rn,a),a.delete(r)),e}En.exports=Rn});var Ln=i(($f,Dn)=>{"use strict";var Lc=P(),Fc=z(),Gc=oe(),Nc=h();function zc(e,r,t){if(!Nc(t))return!1;var n=typeof r;return(n=="number"?Fc(t)&&Gc(r,t.length):n=="string"&&r in t)?Lc(t[r],e):!1}Dn.exports=zc});var Gn=i((Kf,Fn)=>{"use strict";var Bc=W(),Uc=Ln();function Hc(e){return Bc(function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,u&&Uc(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var s=t[n];s&&e(r,s,n,a)}return r})}Fn.exports=Hc});var zn=i((Vf,Nn)=>{"use strict";var $c=se(),Kc=Gn(),Vc=Kc(function(e,r,t,n){$c(e,r,t,n)});Nn.exports=Vc});var Un=i((Wf,Bn)=>{"use strict";var Wc=B(),Jc=W(),Qc=Mn(),Xc=zn(),Yc=Jc(function(e){return e.push(void 0,Qc),Wc(Xc,void 0,e)});Bn.exports=Yc});import{createRoot as ip}from"react-dom/client";var Kn=si(Un());import{useSyncExternalStore as Zc,useState as kc,useEffect as ep,useMemo as Hn}from"react";import{IntlProvider as rp}from"react-intl";import{DesignSystemProvider as tp}from"@strapi/design-system";import{jsx as $n}from"react/jsx-runtime";var np=({children:e,store:r,configurations:t})=>{let n=Zc(r.subscribe,r.getState),o=n.admin_app.theme.currentTheme||"light",a=n.admin_app.language.locale||"en",u=t.translations||{},[s,c]=kc(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),l=Hn(()=>(0,Kn.default)(u[a],u.en),[a,u]),f=Hn(()=>t.themes[o==="system"?s:o],[o,s,t.themes]);return ep(()=>{let d=matchMedia("(prefers-color-scheme: dark)"),v=O=>{c(O.matches?"dark":"light")};return d.addEventListener("change",v),()=>d.removeEventListener("change",v)},[]),$n(tp,{theme:f,locale:a,children:$n(rp,{locale:a,messages:l,children:e})})},Vn=np;import{jsx as Wn}from"react/jsx-runtime";var Jn=async(e,r,t)=>{let n=r.domInjections;if(!n){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}document.querySelector(`#${t.id}`)||n.removeRoot(t.id);let a=ue(t.route,e.location.pathname);if(!a)return;let u=t.Component(),s=await Qn(t.selector);if(!s||!ue(t.route,window.location.pathname))return;if(!n.getRoot(t.id)){let d=document.getElementById(t.id);d||(d=document.createElement("div"),d.id=t.id,s.after(d)),n.setRoot(t.id,ip(d))}let l=(await u).default,f=n.getRoot(t.id);f&&f.render(Wn(Vn,{store:r.store,configurations:r.configurations,children:Wn(l,{...a})}))};var Yn=async e=>{let r=e.router,t=0;for(;!r?.router?.state?.location&&t<100;)await new Promise(n=>setTimeout(n,10)),t++;if(!r?.router?.state?.location){console.warn("Strapi router not ready after 5s, skipping injection initialization.");return}r.router.subscribe(n=>Xn(n,e)),Xn(r.router.state,e)},Xn=(e,r)=>{let t=r.domInjections?.routes||[];Promise.all(t.map(n=>Jn(e,r,n)))},Qn=(e,r=5e3)=>new Promise(t=>{let n=document.querySelector(e);if(n)return t(n);let o=new MutationObserver(()=>{let a=document.querySelector(e);a&&(o.disconnect(),t(a))});o.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{o.disconnect(),t(null)},r)}),Zn=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before registering injection routes.");return}let{id:t,...n}=e;if(t&&r.domInjections.routes.some(a=>a.id===t)){console.warn(`Injection route with id ${t} already exists. Skipping registration.`);return}let o=t||`injection-${Math.random().toString(36).substring(2,9)}`;r.domInjections.routes.push({id:o,...n})},kn=(e,r)=>{if(!r.domInjections?.routes){console.warn("Injection system not initialised. Please call initialiseInjections(app) before unregistering injection routes.");return}let t=r.domInjections.routes.findIndex(n=>n.id===e);if(t===-1){console.warn(`Injection route with id ${e} does not exist. Skipping unregistration.`);return}r.domInjections.routes.splice(t,1),r.domInjections.removeRoot(e)},ue=(e,r)=>{let t=e.split("/").filter(Boolean),n=r.split("/").filter(Boolean);if(t.length!==n.length)return null;let o={};for(let a=0;a<t.length;a++)if(t[a].startsWith(":"))o[t[a].replace(/^:/,"")]=n[a];else if(t[a]!==n[a])return null;return o},ei=e=>{let t=e?.getState()?.admin_app?.theme?.currentTheme;requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:"light"})}),requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:"dark"})}),requestAnimationFrame(()=>{e?.dispatch({type:"admin/setAppTheme",payload:t})})};var sl=e=>{let r=e.domInjections;if(r)return r;Yn(e);let t={routes:[],roots:{},registerRoute:n=>Zn(n,e),unregisterRoute:n=>kn(n,e),getRoot:n=>e.domInjections?.roots[n],setRoot:(n,o)=>{e.domInjections&&(e.domInjections.roots[n]=o)},removeRoot:n=>{if(!e.domInjections)return;let o=e.domInjections.roots[n];o&&(setTimeout(()=>o.unmount(),0),delete e.domInjections.roots[n],e.store&&ei(e.store))}};return e.domInjections=t,t};export{sl as initialiseInjections};
|
package/package.json
CHANGED