From 21f3507dad58e989eae22fcbd4a91bd9056b5277 Mon Sep 17 00:00:00 2001 From: SciLor Date: Sun, 6 Oct 2024 18:12:34 +0000 Subject: [PATCH] Update frontend (make web) --- .../www/web/assets/{index-M-VOF1oZ.js => index-D40z9TiR.js} | 2 +- contrib/data/www/web/index.html | 2 +- teddycloud_web | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename contrib/data/www/web/assets/{index-M-VOF1oZ.js => index-D40z9TiR.js} (99%) diff --git a/contrib/data/www/web/assets/index-M-VOF1oZ.js b/contrib/data/www/web/assets/index-D40z9TiR.js similarity index 99% rename from contrib/data/www/web/assets/index-M-VOF1oZ.js rename to contrib/data/www/web/assets/index-D40z9TiR.js index 853a2e61..7bfface1 100644 --- a/contrib/data/www/web/assets/index-M-VOF1oZ.js +++ b/contrib/data/www/web/assets/index-D40z9TiR.js @@ -512,7 +512,7 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function FR(){return FR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function $Re(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ORe(e,t){return e.button===0&&(!t||t==="_self")&&!$Re(e)}const NRe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],kRe="6";try{window.__reactRouterVersion=kRe}catch{}const ARe="startTransition",e4=Eg[ARe];function MRe(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=BTe({window:a,v5Compat:!0}));let i=o.current,[s,c]=l.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=l.useCallback(f=>{u&&e4?e4(()=>c(f)):c(f)},[c,u]);return l.useLayoutEffect(()=>i.listen(d),[i,d]),l.createElement(TRe,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const DRe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PRe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mt=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:i,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,p=_Re(t,NRe),{basename:g}=l.useContext(Ac),m,b=!1;if(typeof u=="string"&&PRe.test(u)&&(m=u,DRe))try{let S=new URL(window.location.href),C=u.startsWith("//")?new URL(S.protocol+u):new URL(u),x=ZO(C.pathname,g);C.origin===S.origin&&x!=null?u=x+C.search+C.hash:b=!0}catch{}let v=fRe(u,{relative:a}),y=LRe(u,{replace:i,state:s,target:c,preventScrollReset:d,relative:a,unstable_viewTransition:f});function h(S){r&&r(S),S.defaultPrevented||y(S)}return l.createElement("a",FR({},p,{href:m||v,onClick:b||o?r:h,ref:n,target:c}))});var t4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(t4||(t4={}));var n4;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(n4||(n4={}));function LRe(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,c=JO(),u=ys(),d=Mq(e,{relative:i});return l.useCallback(f=>{if(ORe(f,n)){f.preventDefault();let p=r!==void 0?r:cb(u)===cb(d);c(e,{replace:p,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s})}},[u,c,d,r,a,n,e,o,i,s])}const Lq="/web/assets/logo-aw46LCqE.png",Fq=ce.createContext(void 0),ey=()=>{const e=l.useContext(Fq);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},r4=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},FRe=({children:e})=>{const{t}=zt(),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState([]),d=(f,p,g)=>{console.log("Play audio: "+f);const m=document.getElementById("globalAudioPlayer");m.src=f,p?(r(p.picture),o(p.series||p.episode?p.series:r4(decodeURI(f).replace("500304E0",t("audio.unknownSource")))),s(p.episode),u(g||[0])):(console.log(decodeURI(f)),r(decodeURI(f).includes(".taf?")?"/img_unknown.png":Lq),o(""),s(r4(decodeURI(f))),u([])),m.play()};return w.jsx(Fq.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:i,songTracks:c},children:e})},jRe=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(PG)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(twe)}],BRe=()=>{const{t:e}=zt();return w.jsxs(w.Fragment,{children:[w.jsx(_0,{width:200,children:w.jsx(Ai,{mode:"inline",style:{height:"100%",borderRight:0},items:jRe})}),w.jsxs(Mi,{style:{padding:"0 24px 24px"},children:[w.jsxs(Dd,{style:{margin:"16px 0"},children:[w.jsx(Hu,{children:"Home"}),w.jsx(Hu,{children:"List"}),w.jsx(Hu,{children:"App"})]}),w.jsxs(yG,{style:{padding:24,margin:0,minHeight:280},children:[w.jsx("p",{children:e("welcome.title")}),w.jsx("p",{children:"Sample datepicker from ant design:"}),w.jsx(jd,{})]})]})]})};var Fa=function(){return Fa=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?Wr(Vd,--Mo):0,pd--,Rr===10&&(pd=1,ny--),Rr}function ni(){return Rr=Mo2||BR(Rr)>3?"":" "}function XRe(e,t){for(;--t&&ni()&&!(Rr<48||Rr>102||Rr>57&&Rr<65||Rr>70&&Rr<97););return ay(e,nv()+(t<6&&nc()==32&&ni()==32))}function zR(e){for(;ni();)switch(Rr){case e:return Mo;case 34:case 39:e!==34&&e!==39&&zR(Rr);break;case 40:e===41&&zR(e);break;case 92:ni();break}return Mo}function ZRe(e,t){for(;ni()&&e+Rr!==57;)if(e+Rr===84&&nc()===47)break;return"/*"+ay(t,Mo-1)+"*"+tN(e===47?e:ni())}function QRe(e){for(;!BR(nc());)ni();return ay(e,Mo)}function JRe(e){return KRe(rv("",null,null,null,[""],e=qRe(e),0,[0],e))}function rv(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,m=0,b=1,v=1,y=1,h=0,S="",C=a,x=o,E=r,I=S;v;)switch(m=h,h=ni()){case 40:if(m!=108&&Wr(I,f-1)==58){tv(I+=sn(S1(h),"&","&\f"),"&\f",zq(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:I+=S1(h);break;case 9:case 10:case 13:case 32:I+=YRe(m);break;case 92:I+=XRe(nv()-1,7);continue;case 47:switch(nc()){case 42:case 47:Ff(e_e(ZRe(ni(),nv()),t,n,c),c);break;default:I+="/"}break;case 123*b:s[u++]=yi(I)*y;case 125*b:case 59:case 0:switch(h){case 0:case 125:v=0;case 59+d:y==-1&&(I=sn(I,/\f/g,"")),g>0&&yi(I)-f&&Ff(g>32?i4(I+";",r,n,f-1,c):i4(sn(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Ff(E=o4(I,t,n,u,d,a,s,S,C=[],x=[],f,o),o),h===123)if(d===0)rv(I,t,E,E,C,o,f,s,x);else switch(p===99&&Wr(I,3)===110?100:p){case 100:case 108:case 109:case 115:rv(e,E,E,r&&Ff(o4(e,E,E,0,0,a,s,S,a,C=[],f,x),x),a,x,f,s,r?C:x);break;default:rv(I,E,E,E,[""],x,0,s,x)}}u=d=g=0,b=y=1,S=I="",f=i;break;case 58:f=1+yi(I),g=m;default:if(b<1){if(h==123)--b;else if(h==125&&b++==0&&GRe()==125)continue}switch(I+=tN(h),h*b){case 38:y=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(yi(I)-1)*y,y=1;break;case 64:nc()===45&&(I+=S1(ni())),p=nc(),d=f=yi(S=I+=QRe(nv())),h++;break;case 45:m===45&&yi(I)==2&&(b=0)}}return o}function o4(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],m=Uq(g),b=0,v=0,y=0;b0?g[h]+" "+S:sn(S,/&\f/g,g[h])))&&(c[y++]=C);return ry(e,t,n,a===0?ty:s,c,u,d,f)}function e_e(e,t,n,r){return ry(e,t,n,jq,tN(WRe()),fd(e,2,-2),0,r)}function i4(e,t,n,r,a){return ry(e,t,n,eN,fd(e,0,r),fd(e,r+1,-1),r,a)}function Wq(e,t,n){switch(URe(e,t)){case 5103:return Tn+"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 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Tn+e+e;case 4789:return up+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tn+e+up+e+Xn+e+e;case 5936:switch(Wr(e,t+11)){case 114:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Tn+e+Xn+e+e;case 6165:return Tn+e+Xn+"flex-"+e+e;case 5187:return Tn+e+sn(e,/(\w+).+(:[^]+)/,Tn+"box-$1$2"+Xn+"flex-$1$2")+e;case 5443:return Tn+e+Xn+"flex-item-"+sn(e,/flex-|-self/g,"")+(Gi(e,/flex-|baseline/)?"":Xn+"grid-row-"+sn(e,/flex-|-self/g,""))+e;case 4675:return Tn+e+Xn+"flex-line-pack"+sn(e,/align-content|flex-|-self/g,"")+e;case 5548:return Tn+e+Xn+sn(e,"shrink","negative")+e;case 5292:return Tn+e+Xn+sn(e,"basis","preferred-size")+e;case 6060:return Tn+"box-"+sn(e,"-grow","")+Tn+e+Xn+sn(e,"grow","positive")+e;case 4554:return Tn+sn(e,/([^-])(transform)/g,"$1"+Tn+"$2")+e;case 6187:return sn(sn(sn(e,/(zoom-|grab)/,Tn+"$1"),/(image-set)/,Tn+"$1"),e,"")+e;case 5495:case 3959:return sn(e,/(image-set\([^]*)/,Tn+"$1$`$1");case 4968:return sn(sn(e,/(.+:)(flex-)?(.*)/,Tn+"box-pack:$3"+Xn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Tn+e+e;case 4200:if(!Gi(e,/flex-|baseline/))return Xn+"grid-column-align"+fd(e,t)+e;break;case 2592:case 3360:return Xn+sn(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,Gi(r.props,/grid-\w+-end/)})?~tv(e+(n=n[t].value),"span",0)?e:Xn+sn(e,"-start","")+e+Xn+"grid-row-span:"+(~tv(n,"span",0)?Gi(n,/\d+/):+Gi(n,/\d+/)-+Gi(e,/\d+/))+";":Xn+sn(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Gi(r.props,/grid-\w+-start/)})?e:Xn+sn(sn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return sn(e,/(.+)-inline(.+)/,Tn+"$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(yi(e)-1-t>6)switch(Wr(e,t+1)){case 109:if(Wr(e,t+4)!==45)break;case 102:return sn(e,/(.+:)(.+)-([^]+)/,"$1"+Tn+"$2-$3$1"+up+(Wr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tv(e,"stretch",0)?Wq(sn(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return sn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return Xn+a+":"+o+u+(i?Xn+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if(Wr(e,t+6)===121)return sn(e,":",":"+Tn)+e;break;case 6444:switch(Wr(e,Wr(e,14)===45?18:11)){case 120:return sn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Tn+(Wr(e,14)===45?"inline-":"")+"box$3$1"+Tn+"$2$3$1"+Xn+"$2box$3")+e;case 100:return sn(e,":",":"+Xn)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return sn(e,"scroll-","scroll-snap-")+e}return e}function fb(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case eN:e.return=Wq(e.value,e.length,n);return;case Bq:return fb([$s(e,{value:sn(e.value,"@","@"+Tn)})],r);case ty:if(e.length)return VRe(n=e.props,function(a){switch(Gi(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ru($s(e,{props:[sn(a,/:(read-\w+)/,":"+up+"$1")]})),ru($s(e,{props:[a]})),jR(e,{props:a4(n,r)});break;case"::placeholder":ru($s(e,{props:[sn(a,/:(plac\w+)/,":"+Tn+"input-$1")]})),ru($s(e,{props:[sn(a,/:(plac\w+)/,":"+up+"$1")]})),ru($s(e,{props:[sn(a,/:(plac\w+)/,Xn+"input-$1")]})),ru($s(e,{props:[a]})),jR(e,{props:a4(n,r)});break}return""})}}var o_e={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,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},Xa={},gd=typeof process<"u"&&Xa!==void 0&&(Xa.REACT_APP_SC_ATTR||Xa.SC_ATTR)||"data-styled",Gq="active",qq="data-styled-version",oy="6.1.13",nN=`/*!sc*/ + */function FR(){return FR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function $Re(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ORe(e,t){return e.button===0&&(!t||t==="_self")&&!$Re(e)}const NRe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],kRe="6";try{window.__reactRouterVersion=kRe}catch{}const ARe="startTransition",e4=Eg[ARe];function MRe(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=BTe({window:a,v5Compat:!0}));let i=o.current,[s,c]=l.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=l.useCallback(f=>{u&&e4?e4(()=>c(f)):c(f)},[c,u]);return l.useLayoutEffect(()=>i.listen(d),[i,d]),l.createElement(TRe,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const DRe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PRe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mt=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:i,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,p=_Re(t,NRe),{basename:g}=l.useContext(Ac),m,b=!1;if(typeof u=="string"&&PRe.test(u)&&(m=u,DRe))try{let S=new URL(window.location.href),C=u.startsWith("//")?new URL(S.protocol+u):new URL(u),x=ZO(C.pathname,g);C.origin===S.origin&&x!=null?u=x+C.search+C.hash:b=!0}catch{}let v=fRe(u,{relative:a}),y=LRe(u,{replace:i,state:s,target:c,preventScrollReset:d,relative:a,unstable_viewTransition:f});function h(S){r&&r(S),S.defaultPrevented||y(S)}return l.createElement("a",FR({},p,{href:m||v,onClick:b||o?r:h,ref:n,target:c}))});var t4;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(t4||(t4={}));var n4;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(n4||(n4={}));function LRe(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,c=JO(),u=ys(),d=Mq(e,{relative:i});return l.useCallback(f=>{if(ORe(f,n)){f.preventDefault();let p=r!==void 0?r:cb(u)===cb(d);c(e,{replace:p,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s})}},[u,c,d,r,a,n,e,o,i,s])}const Lq="/web/assets/logo-aw46LCqE.png",Fq=ce.createContext(void 0),ey=()=>{const e=l.useContext(Fq);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},r4=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},FRe=({children:e})=>{const{t}=zt(),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState([]),d=(f,p,g)=>{console.log("Play audio: "+f);const m=document.getElementById("globalAudioPlayer");m.src=f,p?(r(p.picture),o(p.series||p.episode?p.series:r4(decodeURI(f).replace("500304E0",t("audio.unknownSource")))),s(p.episode)):(r(decodeURI(f).includes(".taf?")?"/img_unknown.png":Lq),o(""),s(r4(decodeURI(f)))),u(g||[0]),m.play()};return w.jsx(Fq.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:i,songTracks:c},children:e})},jRe=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(PG)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(twe)}],BRe=()=>{const{t:e}=zt();return w.jsxs(w.Fragment,{children:[w.jsx(_0,{width:200,children:w.jsx(Ai,{mode:"inline",style:{height:"100%",borderRight:0},items:jRe})}),w.jsxs(Mi,{style:{padding:"0 24px 24px"},children:[w.jsxs(Dd,{style:{margin:"16px 0"},children:[w.jsx(Hu,{children:"Home"}),w.jsx(Hu,{children:"List"}),w.jsx(Hu,{children:"App"})]}),w.jsxs(yG,{style:{padding:24,margin:0,minHeight:280},children:[w.jsx("p",{children:e("welcome.title")}),w.jsx("p",{children:"Sample datepicker from ant design:"}),w.jsx(jd,{})]})]})]})};var Fa=function(){return Fa=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?Wr(Vd,--Mo):0,pd--,Rr===10&&(pd=1,ny--),Rr}function ni(){return Rr=Mo2||BR(Rr)>3?"":" "}function XRe(e,t){for(;--t&&ni()&&!(Rr<48||Rr>102||Rr>57&&Rr<65||Rr>70&&Rr<97););return ay(e,nv()+(t<6&&nc()==32&&ni()==32))}function zR(e){for(;ni();)switch(Rr){case e:return Mo;case 34:case 39:e!==34&&e!==39&&zR(Rr);break;case 40:e===41&&zR(e);break;case 92:ni();break}return Mo}function ZRe(e,t){for(;ni()&&e+Rr!==57;)if(e+Rr===84&&nc()===47)break;return"/*"+ay(t,Mo-1)+"*"+tN(e===47?e:ni())}function QRe(e){for(;!BR(nc());)ni();return ay(e,Mo)}function JRe(e){return KRe(rv("",null,null,null,[""],e=qRe(e),0,[0],e))}function rv(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,m=0,b=1,v=1,y=1,h=0,S="",C=a,x=o,E=r,I=S;v;)switch(m=h,h=ni()){case 40:if(m!=108&&Wr(I,f-1)==58){tv(I+=sn(S1(h),"&","&\f"),"&\f",zq(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:I+=S1(h);break;case 9:case 10:case 13:case 32:I+=YRe(m);break;case 92:I+=XRe(nv()-1,7);continue;case 47:switch(nc()){case 42:case 47:Ff(e_e(ZRe(ni(),nv()),t,n,c),c);break;default:I+="/"}break;case 123*b:s[u++]=yi(I)*y;case 125*b:case 59:case 0:switch(h){case 0:case 125:v=0;case 59+d:y==-1&&(I=sn(I,/\f/g,"")),g>0&&yi(I)-f&&Ff(g>32?i4(I+";",r,n,f-1,c):i4(sn(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Ff(E=o4(I,t,n,u,d,a,s,S,C=[],x=[],f,o),o),h===123)if(d===0)rv(I,t,E,E,C,o,f,s,x);else switch(p===99&&Wr(I,3)===110?100:p){case 100:case 108:case 109:case 115:rv(e,E,E,r&&Ff(o4(e,E,E,0,0,a,s,S,a,C=[],f,x),x),a,x,f,s,r?C:x);break;default:rv(I,E,E,E,[""],x,0,s,x)}}u=d=g=0,b=y=1,S=I="",f=i;break;case 58:f=1+yi(I),g=m;default:if(b<1){if(h==123)--b;else if(h==125&&b++==0&&GRe()==125)continue}switch(I+=tN(h),h*b){case 38:y=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(yi(I)-1)*y,y=1;break;case 64:nc()===45&&(I+=S1(ni())),p=nc(),d=f=yi(S=I+=QRe(nv())),h++;break;case 45:m===45&&yi(I)==2&&(b=0)}}return o}function o4(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],m=Uq(g),b=0,v=0,y=0;b0?g[h]+" "+S:sn(S,/&\f/g,g[h])))&&(c[y++]=C);return ry(e,t,n,a===0?ty:s,c,u,d,f)}function e_e(e,t,n,r){return ry(e,t,n,jq,tN(WRe()),fd(e,2,-2),0,r)}function i4(e,t,n,r,a){return ry(e,t,n,eN,fd(e,0,r),fd(e,r+1,-1),r,a)}function Wq(e,t,n){switch(URe(e,t)){case 5103:return Tn+"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 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Tn+e+e;case 4789:return up+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tn+e+up+e+Xn+e+e;case 5936:switch(Wr(e,t+11)){case 114:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Tn+e+Xn+sn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Tn+e+Xn+e+e;case 6165:return Tn+e+Xn+"flex-"+e+e;case 5187:return Tn+e+sn(e,/(\w+).+(:[^]+)/,Tn+"box-$1$2"+Xn+"flex-$1$2")+e;case 5443:return Tn+e+Xn+"flex-item-"+sn(e,/flex-|-self/g,"")+(Gi(e,/flex-|baseline/)?"":Xn+"grid-row-"+sn(e,/flex-|-self/g,""))+e;case 4675:return Tn+e+Xn+"flex-line-pack"+sn(e,/align-content|flex-|-self/g,"")+e;case 5548:return Tn+e+Xn+sn(e,"shrink","negative")+e;case 5292:return Tn+e+Xn+sn(e,"basis","preferred-size")+e;case 6060:return Tn+"box-"+sn(e,"-grow","")+Tn+e+Xn+sn(e,"grow","positive")+e;case 4554:return Tn+sn(e,/([^-])(transform)/g,"$1"+Tn+"$2")+e;case 6187:return sn(sn(sn(e,/(zoom-|grab)/,Tn+"$1"),/(image-set)/,Tn+"$1"),e,"")+e;case 5495:case 3959:return sn(e,/(image-set\([^]*)/,Tn+"$1$`$1");case 4968:return sn(sn(e,/(.+:)(flex-)?(.*)/,Tn+"box-pack:$3"+Xn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Tn+e+e;case 4200:if(!Gi(e,/flex-|baseline/))return Xn+"grid-column-align"+fd(e,t)+e;break;case 2592:case 3360:return Xn+sn(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,Gi(r.props,/grid-\w+-end/)})?~tv(e+(n=n[t].value),"span",0)?e:Xn+sn(e,"-start","")+e+Xn+"grid-row-span:"+(~tv(n,"span",0)?Gi(n,/\d+/):+Gi(n,/\d+/)-+Gi(e,/\d+/))+";":Xn+sn(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Gi(r.props,/grid-\w+-start/)})?e:Xn+sn(sn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return sn(e,/(.+)-inline(.+)/,Tn+"$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(yi(e)-1-t>6)switch(Wr(e,t+1)){case 109:if(Wr(e,t+4)!==45)break;case 102:return sn(e,/(.+:)(.+)-([^]+)/,"$1"+Tn+"$2-$3$1"+up+(Wr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tv(e,"stretch",0)?Wq(sn(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return sn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return Xn+a+":"+o+u+(i?Xn+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if(Wr(e,t+6)===121)return sn(e,":",":"+Tn)+e;break;case 6444:switch(Wr(e,Wr(e,14)===45?18:11)){case 120:return sn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Tn+(Wr(e,14)===45?"inline-":"")+"box$3$1"+Tn+"$2$3$1"+Xn+"$2box$3")+e;case 100:return sn(e,":",":"+Xn)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return sn(e,"scroll-","scroll-snap-")+e}return e}function fb(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case eN:e.return=Wq(e.value,e.length,n);return;case Bq:return fb([$s(e,{value:sn(e.value,"@","@"+Tn)})],r);case ty:if(e.length)return VRe(n=e.props,function(a){switch(Gi(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ru($s(e,{props:[sn(a,/:(read-\w+)/,":"+up+"$1")]})),ru($s(e,{props:[a]})),jR(e,{props:a4(n,r)});break;case"::placeholder":ru($s(e,{props:[sn(a,/:(plac\w+)/,":"+Tn+"input-$1")]})),ru($s(e,{props:[sn(a,/:(plac\w+)/,":"+up+"$1")]})),ru($s(e,{props:[sn(a,/:(plac\w+)/,Xn+"input-$1")]})),ru($s(e,{props:[a]})),jR(e,{props:a4(n,r)});break}return""})}}var o_e={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,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},Xa={},gd=typeof process<"u"&&Xa!==void 0&&(Xa.REACT_APP_SC_ATTR||Xa.SC_ATTR)||"data-styled",Gq="active",qq="data-styled-version",oy="6.1.13",nN=`/*!sc*/ `,pb=typeof window<"u"&&"HTMLElement"in window,i_e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Xa!==void 0&&Xa.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Xa.REACT_APP_SC_DISABLE_SPEEDY!==""?Xa.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Xa.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Xa!==void 0&&Xa.SC_DISABLE_SPEEDY!==void 0&&Xa.SC_DISABLE_SPEEDY!==""&&Xa.SC_DISABLE_SPEEDY!=="false"&&Xa.SC_DISABLE_SPEEDY),iy=Object.freeze([]),md=Object.freeze({});function s_e(e,t,n){return n===void 0&&(n=md),e.theme!==n.theme&&e.theme||t||n.theme}var Kq=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","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","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),l_e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,c_e=/(^-|-$)/g;function s4(e){return e.replace(l_e,"-").replace(c_e,"")}var u_e=/(a)(d)/gi,uh=52,l4=function(e){return String.fromCharCode(e+(e>25?39:97))};function HR(e){var t,n="";for(t=Math.abs(e);t>uh;t=t/uh|0)n=l4(t%uh)+n;return(l4(t%uh)+n).replace(u_e,"$1-$2")}var w1,Yq=5381,Ou=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Xq=function(e){return Ou(Yq,e)};function d_e(e){return HR(Xq(e)>>>0)}function f_e(e){return e.displayName||e.name||"Component"}function x1(e){return typeof e=="string"&&!0}var Zq=typeof Symbol=="function"&&Symbol.for,Qq=Zq?Symbol.for("react.memo"):60115,p_e=Zq?Symbol.for("react.forward_ref"):60112,g_e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},m_e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Jq={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},h_e=((w1={})[p_e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},w1[Qq]=Jq,w1);function c4(e){return("type"in(t=e)&&t.type.$$typeof)===Qq?Jq:"$$typeof"in e?h_e[e.$$typeof]:g_e;var t}var v_e=Object.defineProperty,b_e=Object.getOwnPropertyNames,u4=Object.getOwnPropertySymbols,y_e=Object.getOwnPropertyDescriptor,S_e=Object.getPrototypeOf,d4=Object.prototype;function eK(e,t,n){if(typeof t!="string"){if(d4){var r=S_e(t);r&&r!==d4&&eK(e,r,n)}var a=b_e(t);u4&&(a=a.concat(u4(t)));for(var o=c4(e),i=c4(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var w_e=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,o=a;t>=o;)if((o<<=1)<0)throw tm(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=a;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r,i=a;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,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 t0&&(v+="".concat(y,","))}),c+="".concat(m).concat(b,'{content:"').concat(v,'"}').concat(nN)},d=0;d0?".".concat(t):p},d=c.slice();d.push(function(p){p.type===ty&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(k_e,n).replace(r,u))}),i.prefix&&d.push(a_e),d.push(t_e);var f=function(p,g,m,b){g===void 0&&(g=""),m===void 0&&(m=""),b===void 0&&(b="&"),t=b,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var v=p.replace(A_e,""),y=JRe(m||g?"".concat(m," ").concat(g," { ").concat(v," }"):v);i.namespace&&(y=rK(y,i.namespace));var h=[];return fb(y,n_e(d.concat(r_e(function(S){return h.push(S)})))),h};return f.hash=c.length?c.reduce(function(p,g){return g.name||tm(15),Ou(p,g.name)},Yq).toString():"",f}var D_e=new nK,VR=M_e(),aK=ce.createContext({shouldForwardProp:void 0,styleSheet:D_e,stylis:VR});aK.Consumer;ce.createContext(void 0);function m4(){return l.useContext(aK)}var P_e=function(){function e(t,n){var r=this;this.inject=function(a,o){o===void 0&&(o=VR);var i=r.name+o.hash;a.hasNameForId(r.id,i)||a.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,aN(this,function(){throw tm(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=VR),this.name+t.hash},e}(),L_e=function(e){return e>="A"&&e<="Z"};function h4(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var s=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,s)}a=Gl(a,i),this.staticRulesId=i}else{for(var c=Ou(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(u,".".concat(g),void 0,this.componentId)),a=Gl(a,g)}}return a},e}(),sK=ce.createContext(void 0);sK.Consumer;var C1={};function z_e(e,t,n){var r=rN(e),a=e,o=!x1(e),i=t.attrs,s=i===void 0?iy:i,c=t.componentId,u=c===void 0?function(C,x){var E=typeof C!="string"?"sc":s4(C);C1[E]=(C1[E]||0)+1;var I="".concat(E,"-").concat(d_e(oy+E+C1[E]));return x?"".concat(x,"-").concat(I):I}(t.displayName,t.parentComponentId):c,d=t.displayName,f=d===void 0?function(C){return x1(C)?"styled.".concat(C):"Styled(".concat(f_e(C),")")}(e):d,p=t.displayName&&t.componentId?"".concat(s4(t.displayName),"-").concat(t.componentId):t.componentId||u,g=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,m=t.shouldForwardProp;if(r&&a.shouldForwardProp){var b=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;m=function(C,x){return b(C,x)&&v(C,x)}}else m=b}var y=new B_e(n,p,r?a.componentStyle:void 0);function h(C,x){return function(E,I,R){var T=E.attrs,_=E.componentStyle,$=E.defaultProps,P=E.foldedComponentIds,D=E.styledComponentId,A=E.target,O=ce.useContext(sK),N=m4(),k=E.shouldForwardProp||N.shouldForwardProp,M=s_e(I,O,$)||md,L=function(U,te,X){for(var G,V=Fa(Fa({},te),{className:void 0,theme:X}),q=0;qU_e().token,nm=Oa(Ai)` height: 100%; border-right: 0; diff --git a/contrib/data/www/web/index.html b/contrib/data/www/web/index.html index 80aec143..047474c8 100644 --- a/contrib/data/www/web/index.html +++ b/contrib/data/www/web/index.html @@ -12,7 +12,7 @@ --> TeddyCloud - + diff --git a/teddycloud_web b/teddycloud_web index 8e97cb7b..8e03cefe 160000 --- a/teddycloud_web +++ b/teddycloud_web @@ -1 +1 @@ -Subproject commit 8e97cb7bb7e72de8f0ec46a1ed472615d32ad467 +Subproject commit 8e03cefe099a8626640e2609bd33d3f16a95627c