From 5f6671d2cd6a5d251cd9d83f331f77a9dfb5ee86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A8=D7=97=D7=9C=D7=99?= Date: Tue, 6 Aug 2024 13:35:03 +0300 Subject: [PATCH] Updates --- assets/{index-BVn5WrZ_.js => index-DDOsfOtD.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-BVn5WrZ_.js => index-DDOsfOtD.js} (99%) diff --git a/assets/index-BVn5WrZ_.js b/assets/index-DDOsfOtD.js similarity index 99% rename from assets/index-BVn5WrZ_.js rename to assets/index-DDOsfOtD.js index 6ac4713..19760cc 100644 --- a/assets/index-BVn5WrZ_.js +++ b/assets/index-DDOsfOtD.js @@ -516,4 +516,4 @@ return result$$;`.replaceAll("$$",String(nk)));return nk+=1,(l,a)=>i(o,l,a)},t$= animation: none !important; transition: none !important; } - `,a=document.createElement("style");if(a.type="text/css",a.id="stopAnimationsStyle",a.innerText=l,s.stopAnimations)document.head.appendChild(a);else{const u=document.getElementById("stopAnimationsStyle");u&&u.remove()}}return s})};return c.jsx(rue.Provider,{value:{settings:t,handleToggle:r},children:e})},iue=".foirstein.diversitech.co.il/#/",Un=`https://login${iue}`;function Rn({url:e}){return f.useEffect(()=>{window.location.href=e},[e]),null}const sue=()=>{const[e,t]=f.useState(!!Qd("jwt")),n=e?Jm():null;return f.useEffect(()=>{t(!!Qd("jwt"))},[]),c.jsx(Xz,{children:c.jsxs(oue,{children:[c.jsx("nav",{className:"navbar",children:c.jsx(Ice,{})}),c.jsxs("div",{className:"content",children:[c.jsx("div",{className:"Accessibility",children:c.jsx(nue,{})}),c.jsxs(Vz,{children:[(!e||n=="Student")&&window.location.replace("https://login.foirstein.diversitech.co.il"),e&&(n=="Admin"||n=="Librarian")&&c.jsx(Et,{path:"/items",element:c.jsx(tt,{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/homePage",element:c.jsx(Rn,{url:Un})}),c.jsx(Et,{path:"/Librarian",element:c.jsx("div",{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/items",element:c.jsx(tt,{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/itemsPendingApproval",element:c.jsx(tt,{children:c.jsx(KX,{})})}),c.jsx(Et,{path:"/items/add",element:c.jsx(tt,{children:c.jsx(Q$,{})})}),c.jsx(Et,{path:"/tag-list",element:c.jsx(tt,{children:c.jsx(mle,{})})}),c.jsx(Et,{path:"/tags/add",element:c.jsx(tt,{children:c.jsx(g_,{})})}),c.jsx(Et,{path:"/items/borrowingItems",element:c.jsx(tt,{children:c.jsx(Wce,{})})}),c.jsx(Et,{path:"/borrowing",element:c.jsx(tt,{children:c.jsx(mE,{})})}),c.jsx(Et,{path:"/returning",element:c.jsx(tt,{children:c.jsx(bE,{})})}),c.jsx(Et,{path:"/studentRequest",element:c.jsx(tt,{children:c.jsx(Nle,{})})}),c.jsx(Et,{path:"/borrowing",element:c.jsx(tt,{children:c.jsx(mE,{})})}),c.jsx(Et,{path:"/returning",element:c.jsx(tt,{children:c.jsx(bE,{})})}),c.jsx(Et,{path:"/search",element:c.jsx(Rn,{url:`${Un}search`})}),c.jsx(Et,{path:"/ActivityLog",element:c.jsx(Rn,{url:`${Un}ActivityLog`})}),c.jsx(Et,{path:"/Charts",element:c.jsx(Rn,{url:`${Un}Charts`})}),c.jsx(Et,{path:"/changePermission",element:c.jsx(Rn,{url:`${Un}changePermission`})}),c.jsx(Et,{path:"/UserManagementComponent",element:c.jsx(Rn,{url:`${Un}UserManagementComponent`})}),c.jsx(Et,{path:"/login",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/profile",element:c.jsx(Rn,{url:`${Un}profile"`})}),c.jsx(Et,{path:"/profileform",element:c.jsx(Rn,{url:`${Un}profileform`})}),c.jsx(Et,{path:"/ManagerDashboard",element:c.jsx(Rn,{url:`${Un}ManagerDashboard`})}),c.jsx(Et,{path:"/view-reports",element:c.jsx(Rn,{url:`${Un}view-reports`})}),c.jsx(Et,{path:"/report/:reportId",element:c.jsx(Rn,{url:`${Un}report/`})}),c.jsx(Et,{path:"login/register",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/reset-password",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/password-reset-success",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question/reset-password/password-reset-success/logi",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question/reset-password/password-reset-success/login/home",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/passwordRecovery",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/StatusListView",element:c.jsx(Rn,{url:"https://search.foirstein.diversitech.co.il/#/StatusListView"})}),c.jsx(Et,{path:"/SavedItemsScreen",element:c.jsx(Rn,{url:"https://search.foirstein.diversitech.co.il/#/SavedItemsScreen"})}),c.jsx(Et,{path:"*",element:c.jsx("h1",{children:"Page Not Found"})})]}),c.jsx(Dce,{})]})]})})};function lue(){f.useEffect(()=>{const t=n=>{if(["https://login.foirstein.diversitech.co.il","https://diversi-tech.github.io"].includes(n.origin)){const o=n.data.token;o&&sessionStorage.setItem("token",o)}};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[]);const e=qc({typography:{fontFamily:"Rubik"}});return c.jsxs(c.Fragment,{children:["ReactDOM.createRoot(document.getElementById('root')).render(",c.jsxs(qn.StrictMode,{children:[c.jsxs(Vx,{theme:e,children:[c.jsx(jI,{}),c.jsx(sue,{})]}),","]}),", )"]})}const aue=qc({typography:{fontFamily:"Rubik"},components:{MuiTypography:{styleOverrides:{root:{fontFamily:"Rubik, Arial, sans-serif"}}}}});Tb.createRoot(document.getElementById("root")).render(c.jsxs(qn.StrictMode,{children:[c.jsxs(Vx,{theme:aue,children:[c.jsx(jI,{}),c.jsx(lue,{})]}),","]})); + `,a=document.createElement("style");if(a.type="text/css",a.id="stopAnimationsStyle",a.innerText=l,s.stopAnimations)document.head.appendChild(a);else{const u=document.getElementById("stopAnimationsStyle");u&&u.remove()}}return s})};return c.jsx(rue.Provider,{value:{settings:t,handleToggle:r},children:e})},iue=".foirstein.diversitech.co.il/#/",Un=`https://login${iue}`;function Rn({url:e}){return f.useEffect(()=>{window.location.href=e},[e]),null}const sue=()=>{const[e,t]=f.useState(!!Qd("jwt")),n=e?Jm():null;return f.useEffect(()=>{t(!!Qd("jwt"))},[]),c.jsx(Xz,{children:c.jsxs(oue,{children:[c.jsx("nav",{className:"navbar",children:c.jsx(Ice,{})}),c.jsxs("div",{className:"content",children:[c.jsx("div",{className:"Accessibility",children:c.jsx(nue,{})}),c.jsxs(Vz,{children:[(!e||n=="Student")&&window.location.replace("https://login.foirstein.diversitech.co.il"),e&&(n=="Admin"||n=="Librarian")&&c.jsx(Et,{path:"/",element:c.jsx(tt,{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/homePage",element:c.jsx(Rn,{url:Un})}),c.jsx(Et,{path:"/Librarian",element:c.jsx("div",{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/items",element:c.jsx(tt,{children:c.jsx(mb,{})})}),c.jsx(Et,{path:"/itemsPendingApproval",element:c.jsx(tt,{children:c.jsx(KX,{})})}),c.jsx(Et,{path:"/items/add",element:c.jsx(tt,{children:c.jsx(Q$,{})})}),c.jsx(Et,{path:"/tag-list",element:c.jsx(tt,{children:c.jsx(mle,{})})}),c.jsx(Et,{path:"/tags/add",element:c.jsx(tt,{children:c.jsx(g_,{})})}),c.jsx(Et,{path:"/items/borrowingItems",element:c.jsx(tt,{children:c.jsx(Wce,{})})}),c.jsx(Et,{path:"/borrowing",element:c.jsx(tt,{children:c.jsx(mE,{})})}),c.jsx(Et,{path:"/returning",element:c.jsx(tt,{children:c.jsx(bE,{})})}),c.jsx(Et,{path:"/studentRequest",element:c.jsx(tt,{children:c.jsx(Nle,{})})}),c.jsx(Et,{path:"/borrowing",element:c.jsx(tt,{children:c.jsx(mE,{})})}),c.jsx(Et,{path:"/returning",element:c.jsx(tt,{children:c.jsx(bE,{})})}),c.jsx(Et,{path:"/search",element:c.jsx(Rn,{url:`${Un}search`})}),c.jsx(Et,{path:"/ActivityLog",element:c.jsx(Rn,{url:`${Un}ActivityLog`})}),c.jsx(Et,{path:"/Charts",element:c.jsx(Rn,{url:`${Un}Charts`})}),c.jsx(Et,{path:"/changePermission",element:c.jsx(Rn,{url:`${Un}changePermission`})}),c.jsx(Et,{path:"/UserManagementComponent",element:c.jsx(Rn,{url:`${Un}UserManagementComponent`})}),c.jsx(Et,{path:"/login",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/profile",element:c.jsx(Rn,{url:`${Un}profile"`})}),c.jsx(Et,{path:"/profileform",element:c.jsx(Rn,{url:`${Un}profileform`})}),c.jsx(Et,{path:"/ManagerDashboard",element:c.jsx(Rn,{url:`${Un}ManagerDashboard`})}),c.jsx(Et,{path:"/view-reports",element:c.jsx(Rn,{url:`${Un}view-reports`})}),c.jsx(Et,{path:"/report/:reportId",element:c.jsx(Rn,{url:`${Un}report/`})}),c.jsx(Et,{path:"login/register",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/reset-password",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/password-reset-success",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question/reset-password/password-reset-success/logi",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"login/security-question/reset-password/password-reset-success/login/home",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/passwordRecovery",element:c.jsx(Rn,{url:`${Un}login`})}),c.jsx(Et,{path:"/StatusListView",element:c.jsx(Rn,{url:"https://search.foirstein.diversitech.co.il/#/StatusListView"})}),c.jsx(Et,{path:"/SavedItemsScreen",element:c.jsx(Rn,{url:"https://search.foirstein.diversitech.co.il/#/SavedItemsScreen"})}),c.jsx(Et,{path:"*",element:c.jsx("h1",{children:"Page Not Found"})})]}),c.jsx(Dce,{})]})]})})};function lue(){f.useEffect(()=>{const t=n=>{if(["https://login.foirstein.diversitech.co.il","https://diversi-tech.github.io"].includes(n.origin)){const o=n.data.token;o&&sessionStorage.setItem("token",o)}};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[]);const e=qc({typography:{fontFamily:"Rubik"}});return c.jsxs(c.Fragment,{children:["ReactDOM.createRoot(document.getElementById('root')).render(",c.jsxs(qn.StrictMode,{children:[c.jsxs(Vx,{theme:e,children:[c.jsx(jI,{}),c.jsx(sue,{})]}),","]}),", )"]})}const aue=qc({typography:{fontFamily:"Rubik"},components:{MuiTypography:{styleOverrides:{root:{fontFamily:"Rubik, Arial, sans-serif"}}}}});Tb.createRoot(document.getElementById("root")).render(c.jsxs(qn.StrictMode,{children:[c.jsxs(Vx,{theme:aue,children:[c.jsx(jI,{}),c.jsx(lue,{})]}),","]})); diff --git a/index.html b/index.html index ebbeb1e..88aaf26 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ מרחבית - +