Fix Image
This commit is contained in:
1 parent
627654e0a7
commit
eb3516bfb2
6 files changed
+11
-6
No files matched your search
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{j as e,M as le,a as q,T as f,B as w,b as P,c as C,A as Ce,d as re,L as T,C as L,I as O,e as be,f as D,P as $,g as we,u as Se,h as ce,i as X,k as Z,D as Q,l as W,m as F,n as K,o as ue,p as Pe,q as de,r as he,s as Fe,S as M,t as Ae,G as v,v as J,w as Ee,x as ke,y as De,z as $e,F as Ie,E as Te,H as Ue}from"./mui-CxHUbSMi.js";import{u as Y,a as R,b as H,c as Oe,d as qe,L as E,e as Me,O as Le,f as Re,r as N,g as B,h as z,q as ee,i as te,j as ne,Q as Be,k as ze,l as Ne,R as Qe,m as We}from"./tanstack-xmxrKlZO.js";import{c as Ke,r as y}from"./react-DXd9vB-a.js";import{i as U,B as He,a as Ve,b as _e,u as A,t as m}from"./i18n-DJgSTqOl.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function a(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=a(r);fetch(r.href,i)}})();var G={},ae=Ke;G.createRoot=ae.createRoot,G.hydrateRoot=ae.hydrateRoot;const _=15,S="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let oe;class Ge{constructor(){if(this.hasAuth=()=>this.token!==void 0,this.isAdmin=()=>{var n;return this.hasAuth()&&((n=this.self)==null?void 0:n.isAdmin)},this.getAuthenticatedUser=()=>this.self,this.getCurrentSession=()=>[this.token,this.refreshToken],this.logIn=async(n,a)=>{const{user:o,token:r}=await(await this.post("login",{email:n,password:a})).json();this.self=o,this.token=r},this.logOut=async()=>{try{return await(await this.postAuth("logout")).json()}catch{return!1}finally{this.self=void 0,this.token=void 0}},this.posts=async n=>{const a=`posts?p=${n??0}&l=${_}`;return this.token?await(await this.getAuth(a)).json():await(await this.get(a)).json()},this.deletePost=async n=>await(await this.delete(`posts/${n}?l=${_}`)).json(),this.user=async n=>{var a;return await(await this.getAuth(`users/${n??((a=this.self)==null?void 0:a.id)}`)).json()},this.updateUser=async(n,a)=>await(await this.patch(`users/${a??"self"}`,n)).json(),this.updateUserImage=async(n,a)=>{const o=new FormData;return n.image&&o.append("image",n.image),!n.image&&n.predefined&&o.append("predefined",n.predefined),await(await this.postAuthRaw(`users/${a??"self"}/image`,o)).json()},this.newPost=async n=>await(await this.postAuth(`posts?l=${_}`,{...n})).json(),this.updatePost=async(n,a)=>await(await this.patch(`posts/${a}`,n)).json(),this.post=async(n,a,o)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:o,body:JSON.stringify(a)});if(r.ok)return r;throw await r.json()},this.postAuth=async(n,a,o)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...o},body:JSON.stringify(a)});if(r.ok)return r;throw await r.json()},this.postAuthRaw=async(n,a,o)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...o},body:a});if(r.ok)return r;throw await r.json()},this.get=async(n,a)=>{const o=await fetch(`${S}${n}`,{mode:"cors",method:"get",headers:a});if(o.ok)return o;throw await o.json()},this.getAuth=async(n,a)=>{const o=await fetch(`${S}${n}`,{mode:"cors",method:"get",headers:{token:this.token??"",...a}});if(o.ok)return o;throw await o.json()},this.delete=async(n,a)=>{const o=await fetch(`${S}${n}`,{mode:"cors",method:"delete",headers:{token:this.token??"",...a}});if(o.ok)return o;throw await o.json()},this.patch=async(n,a,o)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"patch",headers:{token:this.token??"",...o},body:JSON.stringify(a)});if(r.ok)return r;throw await r.json()},oe)throw new Error("New instance cannot be created!!");oe=this}}const g=new Ge;var k=(t=>(t.NOT_FOUND="NotFound",t.UNAUTHORIZED="Unauthorized",t.FAILED_UPDATE="FailedUpdate",t.MISSING_FIELD="MissingField",t))(k||{});U.use(He).use(Ve).use(_e).init({fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},backend:{loadPath:"/phpCourse/exam/dist/locales/{{lng}}/{{ns}}.json"}});const Xe=({anchorEl:t,handleClose:n})=>e.jsxs(le,{anchorEl:t,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!t,onClose:n,sx:{"& .MuiMenu-paper":{minWidth:"240px"}},children:[e.jsx(q,{selected:U.language==="en",onClick:()=>{U.changeLanguage("en"),n()},children:"English"},"de"),e.jsx(q,{selected:U.language==="de",onClick:()=>{U.changeLanguage("de"),n()},children:"Deutsch"},"en")]});var b=(t=>(t.INDEX="/",t.PROFILE="/profile",t))(b||{});const I=({error:t,context:n,color:a="error.main"})=>{const{t:o}=A();if(console.log(t,n),!t)return null;if(t.code)switch(t.code){caLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{j as e,M as le,a as q,T as y,B as w,b as P,c as C,A as Ce,d as re,L as T,C as L,I as O,e as be,f as D,P as $,g as we,u as Se,h as ce,i as X,k as Z,D as Q,l as W,m as F,n as K,o as ue,p as Pe,q as de,r as he,s as Fe,S as M,t as Ae,G as v,v as J,w as Ee,x as ke,y as De,z as $e,F as Ie,E as Te,H as Ue}from"./mui-CxHUbSMi.js";import{u as Y,a as R,b as H,c as Oe,d as qe,L as E,e as Me,O as Le,f as Re,r as N,g as B,h as z,q as ee,i as te,j as ne,Q as Be,k as ze,l as Ne,R as Qe,m as We}from"./tanstack-xmxrKlZO.js";import{c as Ke,r as f}from"./react-DXd9vB-a.js";import{i as U,B as He,a as Ve,b as _e,u as A,t as m}from"./i18n-DJgSTqOl.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function o(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(r){if(r.ep)return;r.ep=!0;const i=o(r);fetch(r.href,i)}})();var G={},ae=Ke;G.createRoot=ae.createRoot,G.hydrateRoot=ae.hydrateRoot;const _=15,S="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let oe;class Ge{constructor(){if(this.hasAuth=()=>this.token!==void 0,this.isAdmin=()=>{var n;return this.hasAuth()&&((n=this.self)==null?void 0:n.isAdmin)},this.getAuthenticatedUser=()=>this.self,this.getCurrentSession=()=>[this.token,this.refreshToken],this.logIn=async(n,o)=>{const{user:a,token:r}=await(await this.post("login",{email:n,password:o})).json();this.self=a,this.token=r},this.logOut=async()=>{try{return await(await this.postAuth("logout")).json()}catch{return!1}finally{this.self=void 0,this.token=void 0}},this.posts=async n=>{const o=`posts?p=${n??0}&l=${_}`;return this.token?await(await this.getAuth(o)).json():await(await this.get(o)).json()},this.deletePost=async n=>await(await this.delete(`posts/${n}?l=${_}`)).json(),this.user=async n=>{var o;return await(await this.getAuth(`users/${n??((o=this.self)==null?void 0:o.id)}`)).json()},this.updateUser=async(n,o)=>{const a=await(await this.patch(`users/${o??"self"}`,n)).json();return this.self=a,a},this.updateUserImage=async(n,o)=>{const a=new FormData;n.image&&a.append("image",n.image),!n.image&&n.predefined&&a.append("predefined",n.predefined);const r=await(await this.postAuthRaw(`users/${o??"self"}/image`,a)).json();return this.self=r,r},this.newPost=async n=>await(await this.postAuth(`posts?l=${_}`,{...n})).json(),this.updatePost=async(n,o)=>await(await this.patch(`posts/${o}`,n)).json(),this.post=async(n,o,a)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:a,body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuth=async(n,o,a)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...a},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuthRaw=async(n,o,a)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...a},body:o});if(r.ok)return r;throw await r.json()},this.get=async(n,o)=>{const a=await fetch(`${S}${n}`,{mode:"cors",method:"get",headers:o});if(a.ok)return a;throw await a.json()},this.getAuth=async(n,o)=>{const a=await fetch(`${S}${n}`,{mode:"cors",method:"get",headers:{token:this.token??"",...o}});if(a.ok)return a;throw await a.json()},this.delete=async(n,o)=>{const a=await fetch(`${S}${n}`,{mode:"cors",method:"delete",headers:{token:this.token??"",...o}});if(a.ok)return a;throw await a.json()},this.patch=async(n,o,a)=>{const r=await fetch(`${S}${n}`,{mode:"cors",method:"patch",headers:{token:this.token??"",...a},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},oe)throw new Error("New instance cannot be created!!");oe=this}}const g=new Ge;var k=(t=>(t.NOT_FOUND="NotFound",t.UNAUTHORIZED="Unauthorized",t.FAILED_UPDATE="FailedUpdate",t.MISSING_FIELD="MissingField",t))(k||{});U.use(He).use(Ve).use(_e).init({fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},backend:{loadPath:"/phpCourse/exam/dist/locales/{{lng}}/{{ns}}.json"}});const Xe=({anchorEl:t,handleClose:n})=>e.jsxs(le,{anchorEl:t,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!t,onClose:n,sx:{"& .MuiMenu-paper":{minWidth:"240px"}},children:[e.jsx(q,{selected:U.language==="en",onClick:()=>{U.changeLanguage("en"),n()},children:"English"},"de"),e.jsx(q,{selected:U.language==="de",onClick:()=>{U.changeLanguage("de"),n()},children:"Deutsch"},"en")]});var b=(t=>(t.INDEX="/",t.PROFILE="/profile",t))(b||{});const I=({error:t,context:n,color:o="error.main"})=>{const{t:a}=A();if(consolLine truncated
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-B5V9Za9P.js"></script>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CMO4zI4G.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/react-DXd9vB-a.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-CxHUbSMi.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-xmxrKlZO.js">
|
||||
|
||||
Vendored
+1
-1
@@ -4822,7 +4822,7 @@ var drawChart = (function (exports) {
|
||||
</script>
|
||||
<script>
|
||||
/*<!--*/
|
||||
const data = {"version":2,"tree":{"name":"root","children":[{"name":"assets/zustand-Cc7ZFYQr.js","children":[{"name":"\u0000/node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"aa8703b4-1","name":"use-sync-external-store-shim.production.min.js?commonjs-exports"},{"uid":"aa8703b4-5","name":"use-sync-external-store-shim.production.min.js?commonjs-proxy"},{"name":"use-sync-external-store-shim","children":[{"uid":"aa8703b4-13","name":"with-selector.production.min.js?commonjs-exports"},{"uid":"aa8703b4-17","name":"with-selector.production.min.js?commonjs-proxy"}]}]},{"name":"shim","children":[{"uid":"aa8703b4-7","name":"index.js?commonjs-module"},{"uid":"aa8703b4-11","name":"index.js?commonjs-proxy"},{"uid":"aa8703b4-19","name":"with-selector.js?commonjs-module"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"aa8703b4-3","name":"use-sync-external-store-shim.production.min.js"},{"name":"use-sync-external-store-shim/with-selector.production.min.js","uid":"aa8703b4-15"}]},{"name":"shim","children":[{"uid":"aa8703b4-9","name":"index.js"},{"uid":"aa8703b4-21","name":"with-selector.js"}]}]},{"name":"zustand@4.5.4_@types+react@18.3.3_react@18.3.1/node_modules/zustand/esm","children":[{"uid":"aa8703b4-23","name":"vanilla.mjs"},{"uid":"aa8703b4-25","name":"index.mjs"}]}]}]},{"name":"assets/index-B5V9Za9P.js","children":[{"name":"\u0000vite/modulepreload-polyfill.js","uid":"aa8703b4-27"},{"name":"\u0000/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js?commonjs-exports","uid":"aa8703b4-29"},{"name":"node_modules/.pnpm","children":[{"name":"react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js","uid":"aa8703b4-31"},{"name":"@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto","children":[{"uid":"aa8703b4-81","name":"300.css"},{"uid":"aa8703b4-83","name":"400.css"},{"uid":"aa8703b4-85","name":"500.css"},{"uid":"aa8703b4-87","name":"700.css"}]}]},{"name":"src","children":[{"uid":"aa8703b4-33","name":"constanst.ts"},{"name":"api/Api.ts","uid":"aa8703b4-35"},{"name":"components","children":[{"name":"Error","children":[{"uid":"aa8703b4-37","name":"Errors.ts"},{"uid":"aa8703b4-45","name":"ErrorComponent.tsx"}]},{"name":"Menus","children":[{"name":"Language/LanguageMenu.tsx","uid":"aa8703b4-41"},{"name":"User/UserMenu.tsx","uid":"aa8703b4-49"}]},{"name":"Forms","children":[{"name":"Login/LoginForm.tsx","uid":"aa8703b4-47"},{"name":"Post/PostForm.tsx","uid":"aa8703b4-55"}]},{"name":"Header/Header.tsx","uid":"aa8703b4-51"},{"name":"Dialogs","children":[{"name":"PostEdit/PostEditDialog.tsx","uid":"aa8703b4-59"},{"name":"UserEdit/UserEditDialog.tsx","uid":"aa8703b4-67"},{"name":"UserImage/UserImageDialog.tsx","uid":"aa8703b4-69"}]},{"name":"Post/Post.tsx","uid":"aa8703b4-61"},{"name":"Profile/Profile.tsx","uid":"aa8703b4-71"}]},{"uid":"aa8703b4-39","name":"i18n.ts"},{"name":"types/Routes.ts","uid":"aa8703b4-43"},{"name":"routes","children":[{"uid":"aa8703b4-53","name":"__root.tsx"},{"uid":"aa8703b4-65","name":"index.tsx"},{"name":"profile","children":[{"uid":"aa8703b4-75","name":"index.tsx"},{"uid":"aa8703b4-77","name":"$id.tsx"}]}]},{"name":"utils/date.ts","uid":"aa8703b4-57"},{"name":"queries","children":[{"uid":"aa8703b4-63","name":"postsQuery.ts"},{"uid":"aa8703b4-73","name":"profileQuery.ts"}]},{"uid":"aa8703b4-79","name":"routeTree.gen.ts"},{"uid":"aa8703b4-89","name":"main.tsx"}]},{"uid":"aa8703b4-91","name":"index.html"}]},{"name":"assets/i18n-DJgSTqOl.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"void-elements@3.1.0/node_modules/void-elements/index.js","uid":"aa8703b4-93"},{"name":"html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","uid":"aa8703b4-95"},{"name":"react-i18next@15.0.0_i18next@23.12.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-i18next/dist/es","children":[{"uid":"aa8703b4-97","name":"utils.js"},{"uid":"aa8703b4-99","name":"unescape.js"},{"uid":"aa8703b4-101","name":"defaults.js"},{"uid":"aa8703b4-103","name":"i18nInstance.js"},{"uid":"aa8703b4-105","name":"TransWithoutContext.js"},{"uid":"aa8703b4-107","name":"initReactI18next.js"},{"uid":"aa8703b4-109","name":"context.js"},{"uid":"aa8703b4-111","name":"Trans.js"},{"uid":"aa8703b4-113","name":"useTranslation.js"},{"uid":"aa8703b4-115","name":"withTranslation.js"},{"uid":"aa8703b4-117","name":"Translation.js"},{"uid":"aa8703b4-119","name":"I18nextProvider.js"},{"uid":"aa8703b4-121","name":"useSSR.js"},{"uid":"aa8703b4-123","name":"withSSR.js"},{"uid":"aa8703b4-125","name":"index.js"}]},{"name":"i18next@23.12.2/node_modules/i18next/dist/esm/i18next.js","uid":"aa8703b4-127"},{"name":"i18next-browser-languagedetector@8.0.0/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetectoLine truncated
|
||||
const data = {"version":2,"tree":{"name":"root","children":[{"name":"assets/zustand-Cc7ZFYQr.js","children":[{"name":"\u0000/node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"94558adf-1","name":"use-sync-external-store-shim.production.min.js?commonjs-exports"},{"uid":"94558adf-5","name":"use-sync-external-store-shim.production.min.js?commonjs-proxy"},{"name":"use-sync-external-store-shim","children":[{"uid":"94558adf-13","name":"with-selector.production.min.js?commonjs-exports"},{"uid":"94558adf-17","name":"with-selector.production.min.js?commonjs-proxy"}]}]},{"name":"shim","children":[{"uid":"94558adf-7","name":"index.js?commonjs-module"},{"uid":"94558adf-11","name":"index.js?commonjs-proxy"},{"uid":"94558adf-19","name":"with-selector.js?commonjs-module"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"94558adf-3","name":"use-sync-external-store-shim.production.min.js"},{"name":"use-sync-external-store-shim/with-selector.production.min.js","uid":"94558adf-15"}]},{"name":"shim","children":[{"uid":"94558adf-9","name":"index.js"},{"uid":"94558adf-21","name":"with-selector.js"}]}]},{"name":"zustand@4.5.4_@types+react@18.3.3_react@18.3.1/node_modules/zustand/esm","children":[{"uid":"94558adf-23","name":"vanilla.mjs"},{"uid":"94558adf-25","name":"index.mjs"}]}]}]},{"name":"assets/index-CMO4zI4G.js","children":[{"name":"\u0000vite/modulepreload-polyfill.js","uid":"94558adf-27"},{"name":"\u0000/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js?commonjs-exports","uid":"94558adf-29"},{"name":"node_modules/.pnpm","children":[{"name":"react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js","uid":"94558adf-31"},{"name":"@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto","children":[{"uid":"94558adf-81","name":"300.css"},{"uid":"94558adf-83","name":"400.css"},{"uid":"94558adf-85","name":"500.css"},{"uid":"94558adf-87","name":"700.css"}]}]},{"name":"src","children":[{"uid":"94558adf-33","name":"constanst.ts"},{"name":"api/Api.ts","uid":"94558adf-35"},{"name":"components","children":[{"name":"Error","children":[{"uid":"94558adf-37","name":"Errors.ts"},{"uid":"94558adf-45","name":"ErrorComponent.tsx"}]},{"name":"Menus","children":[{"name":"Language/LanguageMenu.tsx","uid":"94558adf-41"},{"name":"User/UserMenu.tsx","uid":"94558adf-49"}]},{"name":"Forms","children":[{"name":"Login/LoginForm.tsx","uid":"94558adf-47"},{"name":"Post/PostForm.tsx","uid":"94558adf-55"}]},{"name":"Header/Header.tsx","uid":"94558adf-51"},{"name":"Dialogs","children":[{"name":"PostEdit/PostEditDialog.tsx","uid":"94558adf-59"},{"name":"UserEdit/UserEditDialog.tsx","uid":"94558adf-67"},{"name":"UserImage/UserImageDialog.tsx","uid":"94558adf-69"}]},{"name":"Post/Post.tsx","uid":"94558adf-61"},{"name":"Profile/Profile.tsx","uid":"94558adf-71"}]},{"uid":"94558adf-39","name":"i18n.ts"},{"name":"types/Routes.ts","uid":"94558adf-43"},{"name":"routes","children":[{"uid":"94558adf-53","name":"__root.tsx"},{"uid":"94558adf-65","name":"index.tsx"},{"name":"profile","children":[{"uid":"94558adf-75","name":"index.tsx"},{"uid":"94558adf-77","name":"$id.tsx"}]}]},{"name":"utils/date.ts","uid":"94558adf-57"},{"name":"queries","children":[{"uid":"94558adf-63","name":"postsQuery.ts"},{"uid":"94558adf-73","name":"profileQuery.ts"}]},{"uid":"94558adf-79","name":"routeTree.gen.ts"},{"uid":"94558adf-89","name":"main.tsx"}]},{"uid":"94558adf-91","name":"index.html"}]},{"name":"assets/i18n-DJgSTqOl.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"void-elements@3.1.0/node_modules/void-elements/index.js","uid":"94558adf-93"},{"name":"html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","uid":"94558adf-95"},{"name":"react-i18next@15.0.0_i18next@23.12.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-i18next/dist/es","children":[{"uid":"94558adf-97","name":"utils.js"},{"uid":"94558adf-99","name":"unescape.js"},{"uid":"94558adf-101","name":"defaults.js"},{"uid":"94558adf-103","name":"i18nInstance.js"},{"uid":"94558adf-105","name":"TransWithoutContext.js"},{"uid":"94558adf-107","name":"initReactI18next.js"},{"uid":"94558adf-109","name":"context.js"},{"uid":"94558adf-111","name":"Trans.js"},{"uid":"94558adf-113","name":"useTranslation.js"},{"uid":"94558adf-115","name":"withTranslation.js"},{"uid":"94558adf-117","name":"Translation.js"},{"uid":"94558adf-119","name":"I18nextProvider.js"},{"uid":"94558adf-121","name":"useSSR.js"},{"uid":"94558adf-123","name":"withSSR.js"},{"uid":"94558adf-125","name":"index.js"}]},{"name":"i18next@23.12.2/node_modules/i18next/dist/esm/i18next.js","uid":"94558adf-127"},{"name":"i18next-browser-languagedetector@8.0.0/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetectoLine truncated
|
||||
|
||||
const run = () => {
|
||||
const width = window.innerWidth;
|
||||
|
||||
Reference in new issue
Block a user