Updates
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2564],{2134:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/databases",function(){return a(8096)}])},8096:(e,s,a)=>{"use strict";a.r(s),a.d(s,{DatabasesContext:()=>h,__N_SSP:()=>o,default:()=>j});var t=a(4848),n=a(6540),r=a(8181),l=a(3647),i=a(18),d=a(2992),c=a(4435);function u(){var e;let{databases:s,setTargetDatabase:a,user:r}=n.useContext(h);return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,t.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,t.jsx)("h1",{className:"text-3xl m-0",children:"Databases"}),(0,t.jsxs)("a",{href:"/admin/".concat(null==r?void 0:r.id,"/databases/add-database"),className:"button flex items-center gap-2",children:[(0,t.jsx)("span",{className:"symbol",children:"+"}),(0,t.jsx)("span",{children:"Add Database"})]})]}),(0,t.jsx)(l.A,{user:r})]}),(null==r?void 0:null===(e=r.verification_status)||void 0===e?void 0:e.toString().match(/1/))?(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(d.A,{databases:s,setTargetDatabase:a,user:r}),(0,t.jsx)(c.A,{user:r})]}):(0,t.jsx)(i.A,{})]})}var x=a(1670),o=!0;let h=n.createContext({});function j(e){let{user:s,databases:a}=e,l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"Databases | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[i,d]=n.useState();return(0,t.jsx)(h.Provider,{value:{user:s,databases:a,targetDatabase:i,setTargetDatabase:d},children:(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(r.A,{head:l,user:s,children:(0,t.jsx)(u,{})}),(0,t.jsx)(x.A,{targetDatabase:i})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[7391,9950,636,6593,8792],()=>s(2134)),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2564],{2134:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/databases",function(){return s(8096)}])},8096:(e,a,s)=>{"use strict";s.r(a),s.d(a,{DatabasesContext:()=>h,__N_SSP:()=>o,default:()=>j});var t=s(4848),n=s(6540),r=s(4725),l=s(3647),i=s(18),d=s(2992),c=s(4435);function u(){var e;let{databases:a,setTargetDatabase:s,user:r}=n.useContext(h);return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,t.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,t.jsx)("h1",{className:"text-3xl m-0",children:"Databases"}),(0,t.jsxs)("a",{href:"/admin/".concat(null==r?void 0:r.id,"/databases/add-database"),className:"button flex items-center gap-2",children:[(0,t.jsx)("span",{className:"symbol",children:"+"}),(0,t.jsx)("span",{children:"Add Database"})]})]}),(0,t.jsx)(l.A,{user:r})]}),(null==r?void 0:null===(e=r.verification_status)||void 0===e?void 0:e.toString().match(/1/))?(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(d.A,{databases:a,setTargetDatabase:s,user:r}),(0,t.jsx)(c.A,{user:r})]}):(0,t.jsx)(i.A,{})]})}var x=s(1670),o=!0;let h=n.createContext({});function j(e){let{user:a,databases:s}=e,l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"Databases | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[i,d]=n.useState();return(0,t.jsx)(h.Provider,{value:{user:a,databases:s,targetDatabase:i,setTargetDatabase:d},children:(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(r.A,{head:l,children:(0,t.jsx)(u,{})}),(0,t.jsx)(x.A,{targetDatabase:i})]})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1335,3348,4725,1840,636,6593,8792],()=>a(2134)),_N_E=e.O()}]);
|
||||
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4076],{6892:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/databases/[single]/edit-database",function(){return t(8708)}])},8064:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(4848);function r(e){var a;let{database:t,user:r}=e,d=null===(a=t.active_clone_parent_db)||void 0===a?void 0:a.replace(/datasquirel_user_\d+_/,""),l="/admin/".concat(null==r?void 0:r.id,"/databases/").concat(d);return(0,s.jsx)("div",{className:"info green",children:(0,s.jsxs)("span",{className:"text font-normal",children:["This database is an active clone of"," ",(0,s.jsx)("b",{children:(0,s.jsx)("a",{href:l,target:"_blank",className:"query-url",children:d})})]})})}t(6540)},7220:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},7290:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},4266:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},3419:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},6051:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},8708:(e,a,t)=>{"use strict";t.r(a),t.d(a,{EditDatabaseContext:()=>b,__N_SSP:()=>j,default:()=>v});var s=t(4848),r=t(6540),d=t(8181),l=t(2592),n=t(5844),i=t(3647),c=t(1710),h=t(5481),u=t(2778);function x(){let{user:e,dbImage:a,setDbImage:t,database:d}=r.useContext(b),[l,n]=r.useState(!1);return r.useRef(),(0,s.jsx)("section",{className:"paper",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[l&&(0,s.jsx)(c.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),e&&a?(0,s.jsx)(h.A,{user:e,dbImage:a,setDbImage:t,database:d,setLoading:n}):(0,s.jsx)("span",{children:"No User and Database Image present"})]}),e&&a&&t?(0,s.jsx)(u.A,{user:e,dbImage:a,setDbImage:t,database:d}):(0,s.jsx)("span",{children:"Database Image could not be rendered"})]})})}var o=t(8064);function m(){let{database:e,user:a}=r.useContext(b);return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(n.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:["Edit"," ",(0,s.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:null==e?void 0:e.db_name})]})]}),(0,s.jsx)(i.A,{user:a})]}),(null==e?void 0:e.active_clone)&&a?(0,s.jsx)(o.A,{database:e,user:a}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(x,{})]})}var p=t(1990),j=!0;let b=r.createContext({});function v(e){let{user:a,database:t,query:n}=e,i=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[c,h]=r.useState(t.db_image);return(0,s.jsx)(b.Provider,{value:{user:a,database:t,dbImage:c,setDbImage:h},children:(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(d.A,{head:i,user:a,extraHeaderContent:(0,s.jsx)(p.A,{database:t,query:n,user:a}),children:(0,s.jsx)(m,{})}),(0,s.jsx)(l.A,{setDbImage:h})]})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[6428,1335,7391,3865,8319,4770,636,6593,8792],()=>a(6892)),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4076],{6892:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/databases/[single]/edit-database",function(){return t(8708)}])},8064:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(4848);function r(e){var a;let{database:t,user:r}=e,d=null===(a=t.active_clone_parent_db)||void 0===a?void 0:a.replace(/datasquirel_user_\d+_/,""),l="/admin/".concat(null==r?void 0:r.id,"/databases/").concat(d);return(0,s.jsx)("div",{className:"info green",children:(0,s.jsxs)("span",{className:"text font-normal",children:["This database is an active clone of"," ",(0,s.jsx)("b",{children:(0,s.jsx)("a",{href:l,target:"_blank",className:"query-url",children:d})})]})})}t(6540)},7220:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},7290:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},4266:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},3419:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},6051:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(5737).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},8708:(e,a,t)=>{"use strict";t.r(a),t.d(a,{EditDatabaseContext:()=>b,__N_SSP:()=>j,default:()=>v});var s=t(4848),r=t(6540),d=t(4725),l=t(2592),n=t(5844),i=t(3647),c=t(1710),h=t(5481),u=t(2778);function x(){let{user:e,dbImage:a,setDbImage:t,database:d}=r.useContext(b),[l,n]=r.useState(!1);return r.useRef(),(0,s.jsx)("section",{className:"paper",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[l&&(0,s.jsx)(c.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),e&&a?(0,s.jsx)(h.A,{user:e,dbImage:a,setDbImage:t,database:d,setLoading:n}):(0,s.jsx)("span",{children:"No User and Database Image present"})]}),e&&a&&t?(0,s.jsx)(u.A,{user:e,dbImage:a,setDbImage:t,database:d}):(0,s.jsx)("span",{children:"Database Image could not be rendered"})]})})}var o=t(8064);function m(){let{database:e,user:a}=r.useContext(b);return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(n.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:["Edit"," ",(0,s.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:null==e?void 0:e.db_name})]})]}),(0,s.jsx)(i.A,{user:a})]}),(null==e?void 0:e.active_clone)&&a?(0,s.jsx)(o.A,{database:e,user:a}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(x,{})]})}var p=t(1990),j=!0;let b=r.createContext({});function v(e){let{user:a,database:t,query:n}=e,i=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[c,h]=r.useState(t.db_image);return(0,s.jsx)(b.Provider,{value:{user:a,database:t,dbImage:c,setDbImage:h},children:(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(d.A,{head:i,extraHeaderContent:(0,s.jsx)(p.A,{database:t,query:n,user:a}),children:(0,s.jsx)(m,{})}),(0,s.jsx)(l.A,{setDbImage:h})]})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1335,3348,4725,675,331,636,6593,8792],()=>a(6892)),_N_E=e.O()}]);
|
||||
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6377],{3152:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/databases/[single]/users/[user]/change-password",function(){return a(1064)}])},7220:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},7290:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},4266:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},3419:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},6051:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},1064:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSP:()=>h,default:()=>p});var t=a(4848),d=a(6540),r=a(4725),n=a(1990),l=a(3647),i=a(5844),o=a(9020),c=a(1710);function u(e){let{singleUser:s,database:a,user:r}=e,[n,u]=d.useState(!1);return(0,t.jsxs)(d.Fragment,{children:[n&&(0,t.jsx)(c.A,{width:"20px"}),(0,t.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,t.jsx)("div",{className:"w-full justify-between flex-wrap",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(i.A,{}),(0,t.jsxs)("h1",{className:"text-3xl m-0",children:["Change Password For"," ",(0,t.jsxs)("u",{children:[s.first_name," ",s.last_name]})]})]})}),(0,t.jsx)(l.A,{user:r})]}),(0,t.jsx)("section",{className:"paper",children:(0,t.jsx)("div",{className:"w-full flex-col items-stretch",children:(0,t.jsxs)("form",{className:"flex flex-col items-stretch gap-4",onSubmit:e=>{var t;e.preventDefault(),u(!0);let d=document.getElementById("password"),n=document.getElementById("password-repeat"),l=new RegExp("".concat(d.value));if(!(null==n?void 0:null===(t=n.value)||void 0===t?void 0:t.match(l))){window.alert("Passwords dont Match!");return}if(!window.confirm("change this User's password?")){u(!1);return}(0,o.A)("/api/changeDbUserPassword",{method:"POST",body:{userId:s.id,password:d.value,dbId:a.id}},!0).then(e=>{e.success&&(window.location.pathname="/admin/".concat(null==r?void 0:r.id,"/databases/").concat(a.db_slug,"/users/").concat(s.id))}).catch(e=>{console.log(e.message)}).finally(()=>{setTimeout(()=>{u(!1)},2e3)})},children:[(0,t.jsx)("input",{id:"password",name:"password",type:"password",placeholder:"New Password",required:!0}),(0,t.jsx)("input",{id:"password-repeat",name:"password-repeat",type:"password",placeholder:"Repeat New Password",onInput:e=>{var s;let a=document.getElementById("password"),t=document.getElementById("password-repeat"),d=(null==a?void 0:a.value)?new RegExp("".concat(a.value)):null;d&&((null==t?void 0:null===(s=t.value)||void 0===s?void 0:s.match(d))?t.classList.remove("warning"):t.classList.add("warning"))},required:!0}),(0,t.jsx)("button",{children:"Change Password"})]})})})]})}var h=!0;function p(e){let{user:s,database:a,table:d,dbSchemaData:l,singleUser:i,query:o,confirmedDelegetedUser:c}=e,h="".concat(i.first_name," ").concat(i.last_name,' Users | Datasquirel"'),p=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:h}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,t.jsx)(r.A,{head:p,extraHeaderContent:(0,t.jsx)(n.A,{database:a,query:o,confirmedDelegetedUser:c,user:s}),children:(0,t.jsx)(u,{singleUser:i,database:a,user:s})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,675,636,6593,8792],()=>s(3152)),_N_E=e.O()}]);
|
||||
-1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9326],{3545:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media",function(){return t(3517)}])},3517:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>_,__N_SSP:()=>g,default:()=>A});var a=t(4848),i=t(6540),l=t(8181),r=t(3647),n=t(5655),d=t(18),o=t(5094),c=t(900);function u(){var e;let{media:s,setTargetMedia:t,user:l,folders:u,staticHost:x}=i.useContext(_);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,a.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,a.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,a.jsxs)(c.A,{children:[(0,a.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Media"})]}),(0,a.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,n.PB)("add-folder-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Folder"})]})]})]}),(0,a.jsx)(r.A,{user:l})]}),(null==l?void 0:null===(e=l.verification_status)||void 0===e?void 0:e.toString().match(/1/))?(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(o.A,{media:s,setTargetMedia:t,folders:u,staticHost:x,user:l}),s&&s[0]&&(0,a.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,a.jsx)(d.A,{})]})}var x=t(3142),j=t(1828),m=t(1923),p=t(6217),h=t(431),N=t(1720),w=t(1710),f=t(9200),g=!0;let _=i.createContext({});function A(e){let{user:s,media:t,folders:r,staticHost:n}=e,d=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,c]=i.useState(null),[g,A]=i.useState(null),[b,v]=i.useState(null),[y,M]=i.useState(!1),[F,C]=i.useState(null);return(0,a.jsx)(_.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:C,folders:r,staticHost:n},children:(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)(l.A,{head:d,user:s,children:[y&&(0,a.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,a.jsx)(u,{}),(0,a.jsx)(x.A,{setNewMedia:c,setLoading:M}),(0,a.jsx)(h.A,{setNewFile:A,setLoading:M}),(0,a.jsx)(f.A,{setNewVideo:v,setLoading:M})]}),(0,a.jsx)(j.A,{newMedia:o,setNewMedia:c,newFile:g,setNewFile:A,newVideo:b,setNewVideo:v}),(0,a.jsx)(m.A,{targetMedia:F,setTargetMedia:C,staticHost:n,media:t}),(0,a.jsx)(p.A,{}),(0,a.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,7391,9551,636,6593,8792],()=>s(3545)),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9326],{3545:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media",function(){return t(3517)}])},3517:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>_,__N_SSP:()=>g,default:()=>A});var a=t(4848),i=t(6540),l=t(4725),n=t(3647),r=t(5655),d=t(18),o=t(5094),c=t(900);function u(){var e;let{media:s,setTargetMedia:t,user:l,folders:u,staticHost:x}=i.useContext(_);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,a.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,a.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,a.jsxs)(c.A,{children:[(0,a.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,r.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Media"})]}),(0,a.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,r.PB)("add-folder-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Folder"})]})]})]}),(0,a.jsx)(n.A,{user:l})]}),(null==l?void 0:null===(e=l.verification_status)||void 0===e?void 0:e.toString().match(/1/))?(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(o.A,{media:s,setTargetMedia:t,folders:u,staticHost:x,user:l}),s&&s[0]&&(0,a.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,r.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,a.jsx)(d.A,{})]})}var x=t(3142),j=t(1828),m=t(1923),p=t(6217),h=t(431),N=t(1720),w=t(1710),f=t(9200),g=!0;let _=i.createContext({});function A(e){let{user:s,media:t,folders:n,staticHost:r}=e,d=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,c]=i.useState(null),[g,A]=i.useState(null),[b,v]=i.useState(null),[y,M]=i.useState(!1),[F,C]=i.useState(null);return(0,a.jsx)(_.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:C,folders:n,staticHost:r},children:(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)(l.A,{head:d,children:[y&&(0,a.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,a.jsx)(u,{}),(0,a.jsx)(x.A,{setNewMedia:c,setLoading:M}),(0,a.jsx)(h.A,{setNewFile:A,setLoading:M}),(0,a.jsx)(f.A,{setNewVideo:v,setLoading:M})]}),(0,a.jsx)(j.A,{newMedia:o,setNewMedia:c,newFile:g,setNewFile:A,newVideo:b,setNewVideo:v}),(0,a.jsx)(m.A,{targetMedia:F,setTargetMedia:C,staticHost:r,media:t}),(0,a.jsx)(p.A,{}),(0,a.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,7473,636,6593,8792],()=>s(3545)),_N_E=e.O()}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{2444:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media/[...folder]",function(){return t(9478)}])},5844:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var r=t(4848),l=t(7216);function i(){return(0,r.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,r.jsx)(l.A,{})})}t(6540)},7220:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},9478:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>v,__N_SSP:()=>g,default:()=>_});var r=t(4848),l=t(6540),i=t(8181),a=t(3142),n=t(1828),d=t(1923),o=t(6217),c=t(5844),u=t(3647),x=t(5655),j=t(18),h=t(5094),p=t(900),m=t(7220);function f(e){var s;let{media:t,setTargetMedia:i,user:a,folders:n,query:d,staticHost:o,folder:f}=l.useContext(v);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(m.A,{size:20}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:d.folder[d.folder.length-1]})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Media"})]}),(0,r.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,x.PB)("add-folder-popoup",e=>{var s;null==e||null===(s=e.querySelector("input"))||void 0===s||s.focus()})},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Folder"})]})]})]}),(0,r.jsx)(u.A,{user:a})]}),(null==a?void 0:null===(s=a.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(h.A,{media:t,setTargetMedia:i,folders:n,folder:f,staticHost:o,user:a}),t&&t[0]&&(0,r.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,r.jsx)(j.A,{})]})}var w=t(431),N=t(1720),A=t(1710),y=t(9200),g=!0;let v=l.createContext({});function _(e){let{user:s,media:t,folders:c,query:u,staticHost:x,folderNameFull:j}=e,h=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[p,m]=l.useState(null),[g,_]=l.useState(null),[b,k]=l.useState(null),[C,M]=l.useState(!1),[F,S]=l.useState(null);return(0,r.jsx)(v.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:S,folders:c,query:u,staticHost:x,folder:j},children:(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)(i.A,{head:h,user:s,children:[C&&(0,r.jsx)(A.A,{screen:!0,title:"Processing Files ..."}),(0,r.jsx)(f,{}),(0,r.jsx)(a.A,{setNewMedia:m,setLoading:M}),(0,r.jsx)(w.A,{setNewFile:_,setLoading:M}),(0,r.jsx)(y.A,{setNewVideo:k,setLoading:M})]}),(0,r.jsx)(n.A,{newMedia:p,setNewMedia:m,newFile:g,setNewFile:_,folder:j,newVideo:b,setNewVideo:k}),(0,r.jsx)(d.A,{targetMedia:F,staticHost:x,setTargetMedia:S,media:t}),(0,r.jsx)(o.A,{folder:j}),(0,r.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,7391,9551,636,6593,8792],()=>s(2444)),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{2444:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media/[...folder]",function(){return t(9478)}])},5844:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var r=t(4848),l=t(7216);function i(){return(0,r.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,r.jsx)(l.A,{})})}t(6540)},7220:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},9478:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>v,__N_SSP:()=>g,default:()=>_});var r=t(4848),l=t(6540),i=t(4725),a=t(3142),n=t(1828),d=t(1923),o=t(6217),c=t(5844),u=t(3647),x=t(5655),j=t(18),h=t(5094),p=t(900),m=t(7220);function f(e){var s;let{media:t,setTargetMedia:i,user:a,folders:n,query:d,staticHost:o,folder:f}=l.useContext(v);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(m.A,{size:20}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:d.folder[d.folder.length-1]})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Media"})]}),(0,r.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,x.PB)("add-folder-popoup",e=>{var s;null==e||null===(s=e.querySelector("input"))||void 0===s||s.focus()})},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Folder"})]})]})]}),(0,r.jsx)(u.A,{user:a})]}),(null==a?void 0:null===(s=a.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(h.A,{media:t,setTargetMedia:i,folders:n,folder:f,staticHost:o,user:a}),t&&t[0]&&(0,r.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,r.jsx)(j.A,{})]})}var w=t(431),N=t(1720),A=t(1710),y=t(9200),g=!0;let v=l.createContext({});function _(e){let{user:s,media:t,folders:c,query:u,staticHost:x,folderNameFull:j}=e,h=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[p,m]=l.useState(null),[g,_]=l.useState(null),[b,k]=l.useState(null),[C,M]=l.useState(!1),[F,S]=l.useState(null);return(0,r.jsx)(v.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:S,folders:c,query:u,staticHost:x,folder:j},children:(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)(i.A,{head:h,children:[C&&(0,r.jsx)(A.A,{screen:!0,title:"Processing Files ..."}),(0,r.jsx)(f,{}),(0,r.jsx)(a.A,{setNewMedia:m,setLoading:M}),(0,r.jsx)(w.A,{setNewFile:_,setLoading:M}),(0,r.jsx)(y.A,{setNewVideo:k,setLoading:M})]}),(0,r.jsx)(n.A,{newMedia:p,setNewMedia:m,newFile:g,setNewFile:_,folder:j,newVideo:b,setNewVideo:k}),(0,r.jsx)(d.A,{targetMedia:F,staticHost:x,setTargetMedia:S,media:t}),(0,r.jsx)(o.A,{folder:j}),(0,r.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,7473,636,6593,8792],()=>s(2444)),_N_E=e.O()}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{9922:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/settings",function(){return l(9241)}])},4909:(e,s,l)=>{"use strict";l.d(s,{A:()=>a});let a=(0,l(5737).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},9241:(e,s,l)=>{"use strict";l.r(s),l.d(s,{SettingsContext:()=>p,__N_SSP:()=>x,default:()=>g});var a=l(4848),i=l(6540),t=l(8181),r=l(3647),n=l(4060),c=l(2659),d=l(5655),o=l(900);function u(e){let{user:s,image:l,setImage:t}=e,r=i.useRef();return(0,a.jsxs)("div",{className:"paper w-full items-center",children:[(0,a.jsx)("h2",{className:"m-0 text-xl",children:"User Image"}),(0,a.jsx)("div",{className:"bg-white rounded-full overflow-hidden w-24 h-24",children:(0,a.jsx)("img",{src:l?"string"==typeof l?l:l.imageBase64Full:"/images/database-placeholder.png",alt:"User Image",width:100,className:"w-full h-full object-cover",ref:r,"data-imagepreview":"image"})}),(0,a.jsxs)("div",{className:"w-full flex-col",id:"upload-user-image-options",children:[(0,a.jsxs)(o.A,{column:!0,className:"w-full",children:[(0,a.jsx)("button",{className:"outlined gray w-full whitespace-normal",onClick:e=>{(0,d.PB)("user-media-popup")},children:"Choose image From your Uploads"}),(0,a.jsx)("button",{className:"secondary w-full whitespace-normal",onClick:e=>{var s,l;null===(l=e.target.closest("#upload-user-image-options"))||void 0===l||null===(s=l.querySelector("input"))||void 0===s||s.click()},children:(0,a.jsx)("span",{children:"Choose image From your Computer"})})]}),(0,a.jsx)("input",{type:"file",accept:".png,.jpg,.jpeg,.webp",placeholder:"Choose Image",className:"hidden",onChange:async e=>{var s;let l=e.target,a=null==l?void 0:null===(s=l.files)||void 0===s?void 0:s[0];a&&t(await (0,c.A)({imageInputFile:a,maxWidth:400}))}})]})]})}function m(){let{user:e,image:s,setImage:l,activeUser:t}=i.useContext(p),[c,d]=i.useState(!1);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,a.jsxs)("div",{className:"w-full flex items-center justify-between",children:[(0,a.jsx)("h1",{className:"text-3xl m-0",children:"Settings"}),(0,a.jsx)("div",{children:!(null==e?void 0:e.social_login)&&(0,a.jsx)("a",{href:"/send-password-reset-link",className:"button outlined",children:"Reset Password"})})]}),(0,a.jsx)(r.A,{user:e})]}),(0,a.jsx)("section",{className:"p-0",children:(0,a.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-8 items-stretch",children:[(0,a.jsxs)("div",{className:"paper w-full",children:[(0,a.jsx)("h2",{className:"m-0 text-xl",children:"Account Information"}),(0,a.jsxs)("div",{className:"flex flex-row w-full",children:[(0,a.jsx)("span",{children:"USER ID"}),(0,a.jsx)("b",{className:"info w-auto",children:e.id})]}),(0,a.jsx)(n.A,{user:t,image:s})]}),(0,a.jsx)("div",{className:"items-stretch",children:(0,a.jsx)(u,{image:s,setImage:l})})]})}),!1]})}l(1710),l(9020);var h=l(2592),x=!0;let p=i.createContext({});function g(e){let{user:s,databases:l,activeUser:r}=e,n=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[c,d]=i.useState(r.image);return(0,a.jsx)(t.A,{head:n,user:s,children:(0,a.jsxs)(p.Provider,{value:{user:s,image:c,setImage:d,activeUser:r},children:[(0,a.jsx)(m,{}),(0,a.jsx)(h.A,{setDbImage:d})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,7391,8319,4060,636,6593,8792],()=>s(9922)),_N_E=e.O()}]);
|
||||
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7262],{7259:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su",function(){return l(514)}])},5175:(e,s,l)=>{"use strict";l.d(s,{A:()=>n});var t=l(4848),r=l(3430),a=l(6540);function n(e){let{userObject:s,userPage:l}=e,n=a.useContext(r.AppContext).user,i=Object.keys(s),[o,c]=a.useState(!1),[d,u]=a.useState(0),[h,m]=a.useState(!l);return(0,t.jsxs)("div",{className:"card col green w-full overflow-hidden"+(h?l?" h-[100px]":" h-[85px]":" "),children:[(0,t.jsxs)("div",{className:"items-center w-full",children:[(0,t.jsx)("img",{src:s.image_thumbnail,alt:"",className:"rounded-full object-cover"+(l?" w-16 h-16":" w-12 h-12")}),!l&&(0,t.jsxs)("h3",{className:"m-0 text-xl",children:[s.first_name," ",s.last_name," "]}),(0,t.jsxs)("div",{className:"ml-auto",children:[(0,t.jsx)("button",{className:"outlined gray small-text",onClick:e=>{h?m(!1):m(!0)},children:h?"More Details":"Collapse"}),!l&&(0,t.jsx)("a",{href:"/admin/".concat(null==n?void 0:n.id,"/users/").concat(s.id),className:"button outlined gray small-text",children:"View User"})]})]}),(0,t.jsx)("div",{className:"card no-hover col w-full light-gray-bg",children:i.map((e,l)=>(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsxs)("span",{style:{wordBreak:"break-all"},children:[e,":"," ",(0,t.jsx)("b",{children:s[e]})]})}),l<i.length-1&&(0,t.jsx)("hr",{})]},l+1))}),(0,t.jsx)("button",{className:"outlined gray small-text w-full",onClick:e=>{m(!0)},children:"Collapse"})]})}},514:(e,s,l)=>{"use strict";l.r(s),l.d(s,{__N_SSP:()=>d,default:()=>u});var t=l(4848),r=l(6540),a=l(9020),n=l(1710),i=l(5175);function o(e){let{data:s}=e;Object.keys(s.users[0]);let[l,o]=r.useState(null),[c,d]=r.useState(0),[u,h]=r.useState(!1);function m(){(0,a.A)("/api/admin/grabErrorLogs").then(e=>{var s;if((null==e?void 0:e.log)&&"string"==typeof e.log&&!(null===(s=e.log)||void 0===s?void 0:s.match(/./))){o("No Logs Yet");return}(null==e?void 0:e.log)&&o("No Logs"),o(e.log.replace(/\n|\r|\n\r|\\n/gm,"<br/>"))})}return console.log(typeof l),r.useEffect(()=>{m(),0===c&&setInterval(()=>{m()},1e4)},[c]),(0,t.jsx)(r.Fragment,{children:(0,t.jsxs)("div",{className:"items-stretch gap-10 w-full",children:[(0,t.jsxs)("section",{className:"paper w-full",children:[(0,t.jsx)("h2",{className:"text-xl m-0 mb-6",children:"Users"}),(0,t.jsx)("div",{className:"flex-col items-stretch gap-10",children:s.users.map((e,s)=>(0,t.jsx)(i.A,{userObject:e},s+1))})]}),(0,t.jsxs)("section",{className:"paper",children:[(0,t.jsxs)("div",{className:"w-full justify-between",children:[(0,t.jsx)("h2",{className:"text-xl m-0",children:"Error Logs"}),(0,t.jsx)("div",{children:(0,t.jsxs)("button",{onClick:e=>{window.confirm("Clear Error Logs?")&&(h(!0),(0,a.A)("/api/admin/clearErrorLogs",{method:"POST"}).then(e=>{d(e=>e+1)}),setTimeout(()=>{h(!1)},2e3))},className:"outlined gray relative",children:[u&&(0,t.jsx)(n.A,{width:"20px"}),"Clear Error Log"]})})]}),l&&(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:l||"No Log"}}),"string"!=typeof l&&(0,t.jsx)(n.A,{position:"relative",width:"25px"})]})]})})}var c=l(4725),d=!0;function u(e){let{user:s,data:l}=e,r=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,t.jsx)(c.A,{head:r,children:(0,t.jsx)(o,{data:l})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,636,6593,8792],()=>s(7259)),_N_E=e.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1654],{7508:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/backups",function(){return s(2235)}])},5501:(e,a,s)=>{"use strict";s.d(a,{A:()=>t});let t=(0,s(5737).A)("FolderSync",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]])},2235:(e,a,s)=>{"use strict";s.r(a),s.d(a,{__N_SSP:()=>p,default:()=>h});var t=s(4848),n=s(6540),c=s(4725),r=s(9020),i=s(1710),u=s(5501),l=s(3430);function d(){let e=n.useContext(l.AppContext).user,[a,s]=n.useState(!1),[c,d]=n.useState([]),[p,h]=n.useState(0);return n.useEffect(()=>{(0,r.A)("/api/admin/grabBackups").then(e=>{d(e.backups)})},[p]),(0,t.jsxs)(n.Fragment,{children:[a&&(0,t.jsx)(i.A,{}),(0,t.jsxs)("div",{className:"w-full justify-between",children:[(0,t.jsx)("h2",{className:"text-xl m-0",children:"Backups"}),(0,t.jsx)("div",{children:(0,t.jsx)("button",{onClick:e=>{window.confirm("Create new backup?")&&(s(!0),(0,r.A)("/api/admin/createNewBackup").then(e=>{h(e=>e+1),setTimeout(()=>{s(!1)},2e3)}))},className:"relative",children:"Create New Backup"})})]}),(0,t.jsxs)("section",{className:c&&c[0]?"p-0 gap-4":"paper",children:[!c&&(0,t.jsx)(i.A,{}),c&&c[0]&&c.sort((e,a)=>parseInt(e)>parseInt(a)?-1:1).map((a,s)=>{let n=new Date(parseInt(a));return(0,t.jsxs)("a",{href:"/admin/".concat(null==e?void 0:e.id,"/backups/").concat(a),className:"card w-full items-center",children:[(0,t.jsx)(u.A,{}),(0,t.jsx)("b",{children:"Backup:"}),(0,t.jsx)("span",{children:n.toString()})]},a)}),c&&!c[0]&&(0,t.jsx)("span",{children:"No Backups Yet"})]})]})}var p=!0;function h(e){let{user:a,data:s}=e,n=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"Backups | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Databases backups"})]});return(0,t.jsx)(c.A,{head:n,children:(0,t.jsx)(d,{})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1335,3348,4725,636,6593,8792],()=>a(7508)),_N_E=e.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9548],{9116:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/console",function(){return t(8158)}])},8158:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSP:()=>d,default:()=>m});var s=t(4848),n=t(6540),o=t(4787);async function a(e){let{socket:l}=e,{Terminal:s}=t(2975),{FitAddon:n}=t(9195),o=new n,a=document.getElementById("terminalWrapper"),i=document.getElementById("terminal"),r=Math.round(a.clientWidth/12),c=new s({cols:r,rows:6});c.open(i),o.fit(),l.on("console",e=>{c.write(e)});{let e=new n,t=document.getElementById("shell"),o=new s({cols:r,rows:17});o.open(t),e.fit(),l.on("shell",e=>{o.write(e)}),o.onKey((e,t)=>{l.emit("shell",e.key)})}return c}var i=t(911);function r(e){let{socketDomain:l}=e,[t,r]=n.useState(null),[c,d]=n.useState(null),[m,u]=n.useState("");return n.useEffect(()=>{if(console.log("Socket Domain =>",l),!l)return;let e=(0,o.io)(l,{extraHeaders:{"X-Socket-Paradigm":"Console"}});e.on("connect",()=>{r(e),console.log("Socket Connected!")}),setInterval(()=>{e.emit("get-log")},1e3),e.on("console-log",e=>{console.log("Fetched Log",e),u(e.replace((0,i.A)(),"")),setTimeout(()=>{let e=document.getElementById("logHistoryWrapper");e&&(e.scrollTop=e.scrollHeight)},200)})},[]),n.useEffect(()=>{if(t)return a({socket:t}).then(e=>{d(e)}),function(){var e,l;null===(e=document.getElementById("terminal"))||void 0===e||e.childNodes.forEach(e=>{var l;null===(l=e.parentNode)||void 0===l||l.removeChild(e)}),null===(l=document.getElementById("shell"))||void 0===l||l.childNodes.forEach(e=>{var l;null===(l=e.parentNode)||void 0===l||l.removeChild(e)}),null==c||c.dispose()}},[t]),(0,s.jsxs)(n.Fragment,{children:[(0,s.jsxs)("div",{className:"w-full justify-between",children:[(0,s.jsx)("h2",{className:"text-2xl m-0",children:"Console"}),(0,s.jsx)("button",{onClick:e=>{t&&t.emit("log","Logging to the console")},children:"Log console"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-6 w-full items-stretch",children:[(0,s.jsx)("section",{className:"paper bg-slate-900",id:"terminalWrapper",children:(0,s.jsx)("div",{className:"flex flex-col w-full gap-10 items-start justify-start terminal",children:(0,s.jsxs)("div",{className:"flex flex-col items-start w-full",children:[(0,s.jsx)("h2",{className:"m-0 text-white text-base",children:"Shell"}),(0,s.jsx)("hr",{className:"opacity-20"}),(0,s.jsx)("div",{id:"shell",className:"relative grow z-50 overflow-hidden w-full h-[340px]"})]})})}),(0,s.jsx)("section",{className:"paper bg-slate-500",id:"terminalWrapper",children:(0,s.jsx)("div",{className:"flex flex-col w-full gap-10 items-start justify-start terminal",children:(0,s.jsxs)("div",{className:"flex flex-col items-start w-full",children:[(0,s.jsx)("h2",{className:"m-0 text-white text-base",children:"Server Log"}),(0,s.jsx)("hr",{className:"opacity-20"}),(0,s.jsx)("div",{id:"terminal",className:"relative grow z-50 overflow-hidden w-full h-[150px]"})]})})})]})]})}t(5044);var c=t(4725),d=!0;function m(e){let{user:l,data:t,socketDomain:n}=e,o=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Console | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Databases Console"})]});return(0,s.jsx)(c.A,{head:o,children:(0,s.jsx)(r,{socketDomain:n})})}}},e=>{var l=l=>e(e.s=l);e.O(0,[160,1335,3348,4946,4725,636,6593,8792],()=>l(9116)),_N_E=e.O()}]);
|
||||
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6977],{836:(e,a,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/docs/create-page",function(){return r(4121)}])},4121:(e,a,r)=>{"use strict";r.r(a),r.d(a,{__N_SSP:()=>_,default:()=>d});var s=r(4848);r(6540);var t=r(5972),n=r(4725),_=!0;function d(e){let{user:a,data:r}=e,_=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,s.jsx)(n.A,{head:_,children:(0,s.jsx)(t.A,{data:r,user:a})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1335,3348,3813,4725,9268,5972,636,6593,8792],()=>a(836)),_N_E=e.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1501],{3256:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/docs/edit-page",function(){return s(1105)}])},1105:(e,a,s)=>{"use strict";s.r(a),s.d(a,{__N_SSP:()=>d,default:()=>_});var r=s(4848);s(6540);var t=s(5972),n=s(4725),d=!0;function _(e){let{user:a,data:s}=e,d=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,r.jsx)(n.A,{head:d,children:(0,r.jsx)(t.A,{data:s,user:a})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1335,3348,3813,4725,9268,5972,636,6593,8792],()=>a(3256)),_N_E=e.O()}]);
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1985],{4186:(e,r,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/docs/pages/[id]",function(){return s(7159)}])},7159:(e,r,s)=>{"use strict";s.r(r),s.d(r,{__N_SSP:()=>i,default:()=>_});var a=s(4848),n=s(6540),t=s(5972);function d(e){let{data:r,user:s}=e,{targetDocPage:d}=r;return(0,a.jsx)(n.Fragment,{children:(0,a.jsx)(t.A,{data:d,user:s})})}var u=s(4725),i=!0;function _(e){let{user:r,data:s}=e,n=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,a.jsx)(u.A,{head:n,children:(0,a.jsx)(d,{data:s,user:r})})}}},e=>{var r=r=>e(e.s=r);e.O(0,[1335,3348,3813,4725,9268,5972,636,6593,8792],()=>r(4186)),_N_E=e.O()}]);
|
||||
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3779],{830:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/envar",function(){return n(7597)}])},7597:(e,t,n)=>{"use strict";let s;n.r(t),n.d(t,{__N_SSP:()=>c,default:()=>p});var a=n(4848),r=n(6540),i=n(1710),l=n(9020);function o(e){let{envObject:t,envKey:n}=e,[o,d]=r.useState(!1),[u,c]=r.useState(!1),[p,m]=r.useState(t[n]),[h,x]=r.useState(!1);return(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)("form",{className:"grid grid-cols-2 items-center gap2 w-full hover:bg-slate-100 py-2 px-4 relative",onSubmit:e=>{e.preventDefault(),o&&(c(!0),setTimeout(()=>{c(!1)},1e3))},children:[u&&(0,a.jsx)(i.A,{width:"20px"}),(0,a.jsx)("span",{children:n}),(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{type:o?"text":"password",onFocus:e=>{"password"==e.target.type&&(e.target.type="text"),x(!0),d(!0)},onBlur:e=>{window.clearTimeout(s),s=setTimeout(()=>{"text"==e.target.type&&(e.target.type="password"),x(!1),d(!1)},2e3)},value:p,onChange:e=>{m(e.target.value)}}),h?(0,a.jsx)("div",{className:"button secondary",onClick:e=>{e.preventDefault(),o&&(c(!0),(0,l.A)("/api/admin/updateEnv",{method:"post",body:{key:n,value:p}}).then(e=>{e.success?window.location.reload():window.alert(e.error)}).finally(()=>{setTimeout(()=>{c(!1)},1e3)}))},children:"Update"}):(0,a.jsx)("div",{className:"button outlined",onClick:e=>{d(!o),x(!0)},children:"Reveal"})]})]})})}function d(e){let{data:t}=e,{envObject:n}=t,[s,i]=r.useState(n),l=Object.keys(s);return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsxs)("div",{className:"w-full justify-between",children:[(0,a.jsx)("h2",{className:"text-2xl m-0",children:"Environment Variables"}),(0,a.jsx)("button",{onClick:e=>{let t=window.prompt("What is the new ENV name?"),n=window.prompt("ENV Value");t&&n&&i(e=>{let s={...e};return s[t]=n,s})},children:"Add Environment Variable"})]}),(0,a.jsx)("section",{className:"paper",children:l.map((e,t)=>(0,a.jsx)(o,{envObject:s,envKey:e},t))})]})}var u=n(4725),c=!0;function p(e){let{user:t,data:n}=e,s=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"Console | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Databases Console"})]});return(0,a.jsx)(u.A,{head:s,children:(0,a.jsx)(d,{data:n})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[1335,3348,4725,636,6593,8792],()=>t(830)),_N_E=e.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3783],{7796:(e,r,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/error-logs",function(){return s(8416)}])},8416:(e,r,s)=>{"use strict";s.r(r),s.d(r,{__N_SSP:()=>c,default:()=>d});var t=s(4848),n=s(6540),o=s(9020),a=s(1710);function l(){let[e,r]=n.useState(null),[s,l]=n.useState(!1),[i,c]=n.useState(0);function d(){(0,o.A)("/api/admin/grabErrorLogs").then(e=>{var s;if("string"!=typeof e.log||(null===(s=e.log)||void 0===s?void 0:s.match(/./)))r("");else{r("No Logs Yet");return}r(e.log.replace(/\n|\r|\n\r|\\n/gm,"<br/>"))})}return n.useEffect(()=>{d(),0===i&&setInterval(()=>{d()},1e4)},[i]),(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("div",{className:"w-full justify-between",children:[(0,t.jsx)("h2",{className:"text-xl m-0",children:"Error Logs"}),(0,t.jsx)("div",{children:(0,t.jsxs)("button",{onClick:e=>{window.confirm("Clear Error Logs?")&&(l(!0),(0,o.A)("/api/admin/clearErrorLogs",{method:"POST"}).then(e=>{console.log(e),c(e=>e+1)}),setTimeout(()=>{l(!1)},2e3))},className:"outlined gray relative",children:[s&&(0,t.jsx)(a.A,{width:"20px"}),"Clear Error Log"]})})]}),(0,t.jsxs)("section",{className:"paper",children:[e&&(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:e||"No Log"}}),!e&&(0,t.jsx)(a.A,{position:"relative",width:"25px"})]})]})}var i=s(4725),c=!0;function d(e){let{user:r,data:s}=e,n=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,t.jsx)(i.A,{head:n,children:(0,t.jsx)(l,{})})}}},e=>{var r=r=>e(e.s=r);e.O(0,[1335,3348,4725,636,6593,8792],()=>r(7796)),_N_E=e.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7471],{6708:(s,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/load-balancing",function(){return a(5812)}])},5139:(s,e,a)=>{"use strict";a.d(e,{A:()=>n});var l=a(4848);a(6540);var r=a(7220),t=a(856);function n(s){let{slugText:e,justIcon:a,noIcon:n,title:i,outlined:c,extraClasses:d}=s;return(0,l.jsxs)("div",{className:(0,t.QP)("button small-text hover:!bg-transparent",c?" outlined gray bg-white":" ghost light-gray",d),onClick:s=>{navigator.clipboard.writeText(e).then(()=>{alert('Copied: "'.concat(e,'"'))})},style:c?void 0:{padding:0},children:[!n&&(0,l.jsx)(r.A,{size:c?15:20}),!a&&(0,l.jsx)("span",{className:"text-slate-500 dark:text-slate-300",children:i||"Copy Slug"})]})}},5125:(s,e,a)=>{"use strict";a.d(e,{A:()=>i});var l=a(4848),r=a(5139),t=a(2750),n=a(856);function i(s){var e;let{server:a,noLoadBalance:r}=s;return(0,l.jsxs)("div",{className:"stack w-full",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(t.A,{size:15,opacity:.5}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{children:a.host}),r?(0,l.jsx)(l.Fragment,{}):a.loadBalanced?(0,l.jsx)("span",{className:"info green small",children:"Load Balanced"}):(0,l.jsx)("button",{children:"Add to Load Balancer"})]})]}),(0,l.jsx)("div",{className:(0,n.QP)("stack border-0 border-l border-solid border-s-slate-200 dark:border-white/20","pl-6 ml-2 -mt-4 pt-2 w-full gap-0"),children:(0,l.jsx)("ul",{className:"p-0 m-0 pl-4",children:null===(e=a.users)||void 0===e?void 0:e.map((s,e)=>(0,l.jsx)(c,{user:s},e))})})]})}function c(s){let{user:e}=s;return(0,l.jsx)("li",{className:(0,n.QP)("w-full"),children:(0,l.jsxs)("div",{className:"stack gap-0",children:[(0,l.jsxs)("span",{children:["user: ",(0,l.jsx)("b",{children:e.name})]}),(0,l.jsxs)("span",{children:["pass:"," ",(0,l.jsx)("b",{children:(0,l.jsx)(r.A,{slugText:e.password,title:"********",extraClasses:"inline",noIcon:!0})})]})]})})}},7220:(s,e,a)=>{"use strict";a.d(e,{A:()=>l});let l=(0,a(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},5812:(s,e,a)=>{"use strict";a.r(e),a.d(e,{__N_SSP:()=>d,default:()=>o});var l=a(4848),r=a(6540),t=a(3430),n=a(5125);function i(){let s=r.useContext(t.AppContext).pageProps.servers;return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between",children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-2",children:[(0,l.jsx)("h2",{className:"text-xl m-0",children:"Load Balancing"}),(0,l.jsx)("span",{children:"Distribute database load accross servers"})]}),(0,l.jsx)("div",{})]}),(0,l.jsxs)("section",{className:"paper",children:[(0,l.jsx)("h2",{className:"text-base m-0",children:"Servers"}),(0,l.jsx)("div",{className:"flex flex-col gap-2 w-full",children:s.map((s,e)=>(0,l.jsx)(n.A,{server:s},e))})]})]})}var c=a(4725),d=!0;function o(s){let{user:e,data:a}=s,r=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"Load Balancing"}),(0,l.jsx)("meta",{name:"description",content:"Distribute db load accross servers"})]});return(0,l.jsx)(c.A,{head:r,children:(0,l.jsx)(i,{})})}}},s=>{var e=e=>s(s.s=e);s.O(0,[1335,3348,4725,636,6593,8792],()=>e(6708)),_N_E=s.O()}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2719],{8330:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/servers",function(){return r(5492)}])},5139:(e,s,r)=>{"use strict";r.d(s,{A:()=>n});var l=r(4848);r(6540);var a=r(7220),t=r(856);function n(e){let{slugText:s,justIcon:r,noIcon:n,title:i,outlined:d,extraClasses:c}=e;return(0,l.jsxs)("div",{className:(0,t.QP)("button small-text hover:!bg-transparent",d?" outlined gray bg-white":" ghost light-gray",c),onClick:e=>{navigator.clipboard.writeText(s).then(()=>{alert('Copied: "'.concat(s,'"'))})},style:d?void 0:{padding:0},children:[!n&&(0,l.jsx)(a.A,{size:d?15:20}),!r&&(0,l.jsx)("span",{className:"text-slate-500 dark:text-slate-300",children:i||"Copy Slug"})]})}},5125:(e,s,r)=>{"use strict";r.d(s,{A:()=>i});var l=r(4848),a=r(5139),t=r(2750),n=r(856);function i(e){var s;let{server:r,noLoadBalance:a}=e;return(0,l.jsxs)("div",{className:"stack w-full",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(t.A,{size:15,opacity:.5}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{children:r.host}),a?(0,l.jsx)(l.Fragment,{}):r.loadBalanced?(0,l.jsx)("span",{className:"info green small",children:"Load Balanced"}):(0,l.jsx)("button",{children:"Add to Load Balancer"})]})]}),(0,l.jsx)("div",{className:(0,n.QP)("stack border-0 border-l border-solid border-s-slate-200 dark:border-white/20","pl-6 ml-2 -mt-4 pt-2 w-full gap-0"),children:(0,l.jsx)("ul",{className:"p-0 m-0 pl-4",children:null===(s=r.users)||void 0===s?void 0:s.map((e,s)=>(0,l.jsx)(d,{user:e},s))})})]})}function d(e){let{user:s}=e;return(0,l.jsx)("li",{className:(0,n.QP)("w-full"),children:(0,l.jsxs)("div",{className:"stack gap-0",children:[(0,l.jsxs)("span",{children:["user: ",(0,l.jsx)("b",{children:s.name})]}),(0,l.jsxs)("span",{children:["pass:"," ",(0,l.jsx)("b",{children:(0,l.jsx)(a.A,{slugText:s.password,title:"********",extraClasses:"inline",noIcon:!0})})]})]})})}},7220:(e,s,r)=>{"use strict";r.d(s,{A:()=>l});let l=(0,r(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},5492:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSP:()=>c,default:()=>o});var l=r(4848),a=r(6540),t=r(3430),n=r(5125);function i(){let e=a.useContext(t.AppContext).pageProps.servers;return(0,l.jsxs)(a.Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between",children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-2",children:[(0,l.jsx)("h2",{className:"text-xl m-0",children:"Servers"}),(0,l.jsx)("span",{children:"All Servers"})]}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{children:"Add Server"})})]}),(0,l.jsxs)("section",{className:"paper",children:[(0,l.jsx)("div",{className:"flex flex-col gap-2 w-full",children:e.map((e,s)=>(0,l.jsx)(n.A,{server:e,noLoadBalance:!0},s))}),(0,l.jsx)("button",{className:"w-full outlined dashed gray",children:"Add Server"})]})]})}var d=r(4725),c=!0;function o(e){let{user:s,data:r}=e,a=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"Load Balancing"}),(0,l.jsx)("meta",{name:"description",content:"Distribute db load accross servers"})]});return(0,l.jsx)(d.A,{head:a,children:(0,l.jsx)(i,{})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,636,6593,8792],()=>s(8330)),_N_E=e.O()}]);
|
||||
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9751],{1861:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/users",function(){return l(4856)}])},5175:(e,s,l)=>{"use strict";l.d(s,{A:()=>n});var t=l(4848),a=l(3430),r=l(6540);function n(e){let{userObject:s,userPage:l}=e,n=r.useContext(a.AppContext).user,c=Object.keys(s),[i,d]=r.useState(!1),[u,o]=r.useState(0),[h,m]=r.useState(!l);return(0,t.jsxs)("div",{className:"card col green w-full overflow-hidden"+(h?l?" h-[100px]":" h-[85px]":" "),children:[(0,t.jsxs)("div",{className:"items-center w-full",children:[(0,t.jsx)("img",{src:s.image_thumbnail,alt:"",className:"rounded-full object-cover"+(l?" w-16 h-16":" w-12 h-12")}),!l&&(0,t.jsxs)("h3",{className:"m-0 text-xl",children:[s.first_name," ",s.last_name," "]}),(0,t.jsxs)("div",{className:"ml-auto",children:[(0,t.jsx)("button",{className:"outlined gray small-text",onClick:e=>{h?m(!1):m(!0)},children:h?"More Details":"Collapse"}),!l&&(0,t.jsx)("a",{href:"/admin/".concat(null==n?void 0:n.id,"/users/").concat(s.id),className:"button outlined gray small-text",children:"View User"})]})]}),(0,t.jsx)("div",{className:"card no-hover col w-full light-gray-bg",children:c.map((e,l)=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsxs)("span",{style:{wordBreak:"break-all"},children:[e,":"," ",(0,t.jsx)("b",{children:s[e]})]})}),l<c.length-1&&(0,t.jsx)("hr",{})]},l+1))}),(0,t.jsx)("button",{className:"outlined gray small-text w-full",onClick:e=>{m(!0)},children:"Collapse"})]})}},4856:(e,s,l)=>{"use strict";l.r(s),l.d(s,{__N_SSP:()=>i,default:()=>d});var t=l(4848),a=l(6540),r=l(5175);function n(e){let{data:s}=e;return(0,t.jsx)(a.Fragment,{children:(0,t.jsxs)("section",{className:"items-start justify-start p-6",children:[(0,t.jsxs)("div",{className:"flex flex-row items-center w-full gap-20 mb-6 justify-between",children:[(0,t.jsx)("h2",{className:"text-xl m-0",children:"Users"}),(0,t.jsx)("a",{href:"/su/users/new",className:"button",children:"Add User"})]}),(0,t.jsx)("div",{className:"flex-col items-stretch gap-10 w-full",children:s.users.map((e,s)=>(0,t.jsx)(r.A,{userObject:e},s+1))})]})})}var c=l(4725),i=!0;function d(e){let{user:s,data:l}=e,a=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,t.jsx)(c.A,{head:a,children:(0,t.jsx)(n,{data:l})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,636,6593,8792],()=>s(1861)),_N_E=e.O()}]);
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7888],{72:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/su/users/new",function(){return t(4278)}])},4278:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>l,default:()=>c});var a=t(4848),n=t(6540);function r(e){let{data:s}=e;return(0,a.jsx)(n.Fragment,{children:(0,a.jsxs)("section",{className:"items-start justify-start p-6",children:[(0,a.jsx)("div",{className:"flex flex-row items-center w-full gap-20 mb-6 justify-between",children:(0,a.jsx)("h2",{className:"text-xl m-0",children:"New User"})}),(0,a.jsx)("section",{className:"paper",children:(0,a.jsx)("h2",{className:"text-base m-0",children:"Info"})})]})})}var i=t(4725),l=!0;function c(e){let{user:s,data:t}=e,n=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,a.jsx)(i.A,{head:n,children:(0,a.jsx)(r,{data:t})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1335,3348,4725,636,6593,8792],()=>s(72)),_N_E=e.O()}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3681],{5429:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/users/databases",function(){return a(2796)}])},5844:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var l=a(4848),t=a(7216);function n(){return(0,l.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,l.jsx)(t.A,{})})}a(6540)},5655:(e,s,a)=>{"use strict";a.d(s,{Ay:()=>r,PB:()=>c,fs:()=>i});var l=a(4848),t=a(6897),n=a(6540);function r(e){let{children:s,title:a,data:r,fullPage:c,wrapperClasses:d,closePopupDispatch:o,wrapperStyle:u,noContainer:p}=e;return c?(0,l.jsxs)("div",{className:"popup-bg overflow-hidden "+(d||""),"data-popupid":a||null,style:u,children:[p?(0,l.jsx)(n.Fragment,{children:s}):(0,l.jsx)("div",{className:"relative w-full h-full z-50","data-data":r?JSON.stringify(r):"",children:s}),(0,l.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{i(),o&&o()},children:(0,l.jsx)(t.A,{color:"white",size:20})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{i(),o&&o()}})]}):(0,l.jsxs)("div",{className:"popup-bg","data-popupid":a||null,children:[p?(0,l.jsx)(n.Fragment,{children:s}):(0,l.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":r?JSON.stringify(r):"",children:[s,(0,l.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{i(),o&&o()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,l.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{i(),o&&o()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{i(),o&&o()}})]})}function c(e,s){let a=document.querySelector("[data-popupid='".concat(e,"']"));a&&(a.style.display="flex",null==s||s(a))}function i(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),null==e||e()}},4909:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});let l=(0,a(5737).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},2796:(e,s,a)=>{"use strict";a.r(s),a.d(s,{AllDatabasesUsersContext:()=>p,__N_SSP:()=>u,default:()=>x});var l=a(4848),t=a(6540),n=a(8181),r=a(361),c=a(3647);function i(e){let{databases:s,user:a}=e;return(0,l.jsx)(t.Fragment,{children:(0,l.jsxs)("section",{className:"p-4 items-start gap-4 overflow-visible",children:[(0,l.jsx)("h2",{className:"text-xl m-0",children:"Database Users"}),(0,l.jsx)("div",{className:"flex flex-wrap gap-6",children:s&&s[0]?s.map((e,s)=>(0,l.jsxs)("a",{href:"/admin/".concat(null==a?void 0:a.id,"/users/databases/").concat(e.db_slug),className:"border border-slate-200 border-solid rounded px-6 py-4 hover:border-primary flex items-center gap-2",children:[(0,l.jsx)("img",{src:e.db_image,className:"w-8 h-8 rounded-full object-cover",alt:""}),e.db_name]},s+1)):(0,l.jsx)("span",{children:"No Databases Yet"})})]})})}var d=a(5844);function o(){let{databases:e,user:s}=t.useContext(p);return(0,l.jsxs)(t.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(d.A,{}),(0,l.jsx)("h1",{className:"text-3xl m-0",children:"All Databases Users"})]}),(0,l.jsxs)("a",{href:"/admin/".concat(null==s?void 0:s.id,"/users/add-user"),className:"flex items-center gap-2 whitespace-normal button",children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add New User"})]})]}),(0,l.jsx)(c.A,{user:s})]}),(0,l.jsx)(i,{databases:e,user:s})]})}var u=!0;let p=t.createContext({});function x(e){let{user:s,users:a,databases:c}=e,i=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"Users | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[d,u]=t.useState(null),[x,m]=t.useState();return(0,l.jsx)(p.Provider,{value:{user:s,users:a,targetUser:x,setTargetUser:m,databases:c},children:(0,l.jsxs)(t.Fragment,{children:[(0,l.jsx)(n.A,{head:i,user:s,children:(0,l.jsx)(o,{})}),x&&(0,l.jsx)(r.A,{targetUser:x,user:s,setTargetUser:m})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[7391,6383,636,6593,8792],()=>s(5429)),_N_E=e.O()}]);
|
||||
-1
@@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4397],{3198:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/users/databases/[database]",function(){return a(8606)}])},5844:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var t=a(4848),l=a(7216);function n(){return(0,t.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,t.jsx)(l.A,{})})}a(6540)},5655:(e,s,a)=>{"use strict";a.d(s,{Ay:()=>r,PB:()=>c,fs:()=>i});var t=a(4848),l=a(6897),n=a(6540);function r(e){let{children:s,title:a,data:r,fullPage:c,wrapperClasses:d,closePopupDispatch:o,wrapperStyle:u,noContainer:p}=e;return c?(0,t.jsxs)("div",{className:"popup-bg overflow-hidden "+(d||""),"data-popupid":a||null,style:u,children:[p?(0,t.jsx)(n.Fragment,{children:s}):(0,t.jsx)("div",{className:"relative w-full h-full z-50","data-data":r?JSON.stringify(r):"",children:s}),(0,t.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{i(),o&&o()},children:(0,t.jsx)(l.A,{color:"white",size:20})}),(0,t.jsx)("div",{className:"popup-canceller",onClick:e=>{i(),o&&o()}})]}):(0,t.jsxs)("div",{className:"popup-bg","data-popupid":a||null,children:[p?(0,t.jsx)(n.Fragment,{children:s}):(0,t.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":r?JSON.stringify(r):"",children:[s,(0,t.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{i(),o&&o()},children:(0,t.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,t.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{i(),o&&o()},children:(0,t.jsx)("span",{className:"font-normal",children:"✖"})}),(0,t.jsx)("div",{className:"popup-canceller",onClick:e=>{i(),o&&o()}})]})}function c(e,s){let a=document.querySelector("[data-popupid='".concat(e,"']"));a&&(a.style.display="flex",null==s||s(a))}function i(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),null==e||e()}},4909:(e,s,a)=>{"use strict";a.d(s,{A:()=>t});let t=(0,a(5737).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},8606:(e,s,a)=>{"use strict";a.r(s),a.d(s,{SingleDatabaseUsersContext:()=>u,__N_SSP:()=>o,default:()=>p});var t=a(4848),l=a(6540),n=a(8181),r=a(361),c=a(3647),i=a(5844);function d(){let{database:e,users:s,user:a}=l.useContext(u);return(0,t.jsxs)(l.Fragment,{children:[(0,t.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,t.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(i.A,{}),(0,t.jsxs)("h1",{className:"text-3xl m-0",children:[e.db_name," Users"]})]}),(0,t.jsxs)("a",{href:"/admin/".concat(null==a?void 0:a.id,"/users/add-user?db=").concat(e.db_slug),className:"flex items-center gap-2 whitespace-normal button",children:[(0,t.jsx)("span",{className:"symbol",children:"+"}),(0,t.jsx)("span",{children:"Add New User"})]})]}),(0,t.jsx)(c.A,{user:a})]}),(0,t.jsx)("div",{className:"paper w-full flex-col items-stretch",children:s&&s[0]?s.map(s=>{var l;return(0,t.jsxs)("a",{href:"/admin/".concat(null==a?void 0:a.id,"/users/databases/").concat(e.db_slug,"/").concat(s.id),className:"w-full flex items-center gap-2 p-4 border border-solid border-slate-200 rounded cursor-pointer hover:border-slate-400 flex-wrap",onClick:e=>{if(e.target.closest("button"))return e.preventDefault()},children:[(0,t.jsx)("img",{src:s.image_thumbnail,alt:"",className:"w-10 h-10 rounded-full object-cover bg-slate-200"}),(0,t.jsxs)("div",{className:"flex-col items-start gap-1",children:[(0,t.jsxs)("span",{className:"font-bold",children:[s.first_name," ",s.last_name]}),(0,t.jsx)("span",{className:"text-xs text-slate-500",children:null===(l=s.date_created)||void 0===l?void 0:l.substring(0,16)})]}),(0,t.jsx)("button",{className:"ml-auto outlined gray pointer-events-none",children:"Edit User"})]})}):(0,t.jsx)("span",{children:"No Users for this database yet"})})]})}var o=!0;let u=l.createContext({});function p(e){let{user:s,users:a,database:c}=e,i="".concat(c.db_name,' Users | Datasquirel"'),o=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:i}),(0,t.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[p,x]=l.useState(null),[m,h]=l.useState();return(0,t.jsx)(u.Provider,{value:{user:s,users:a,targetUser:m,setTargetUser:h,database:c},children:(0,t.jsx)(l.Fragment,{children:(0,t.jsxs)(n.A,{head:o,user:s,children:[(0,t.jsx)(d,{}),(0,t.jsx)(r.A,{targetUser:m,user:s,setTargetUser:h})]})})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[7391,6383,636,6593,8792],()=>s(3198)),_N_E=e.O()}]);
|
||||
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user