PageSourceSearch

https://www.mydemenageur.com/_next/static/chunks/711-c210410f8958c42b14c4.js

js mydemenageur.com collected 2026-10-08 23:33:50 UTC 7,978 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[711],{1204:function(e,t,r){var n=r(85893),a=r(7564),s=r(67294),c=r(41664),i=r(25675),u=r(74227),o=r(55765),l=r(11163),d=r(37739),h=r(78784),f=r(14494),v=r(31955);t.Z=(0,f.$j)(null,(function(e){return{authActions:(0,h.DE)(d,e)}}))((function(e){var t,r,d,h,f=(0,o.B)("NO_TOKEN",u.dh),p=(0,a.Z)(f,2),x=p[0],m=p[1],g=s.useState(!1),b=(0,a.Z)(g,2),j=b[0],w=b[1],N=(0,l.useRouter)();s.useEffect((function(){}),[]);return(0,n.jsx)("div",{className:"top-0 sticky z-50",children:(0,n.jsxs)("nav",{className:"py-4 px-4 md:px-20 flex justify-between items-center bg-white drop-shadow-lg",children:[(0,n.jsxs)("div",{className:"flex items-center space-x-6",children:[(0,n.jsx)("div",{children:(0,n.jsx)(c.default,{href:"/",children:(0,n.jsx)("a",{className:"block",children:(0,n.jsx)(i.default,{src:"/images/svg/logo_large_black.svg",height:54,width:191,alt:"MyDemenageur logo"})})})}),(0,n.jsx)("div",{className:"flex justify-start",children:(0,n.jsx)(c.default,{href:"/admin",children:(0,n.jsx)("a",{className:"hover:text-new-brand-violet hover:underline font-bold",children:"Accueil"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(c.default,{href:"/admin/utilisateurs",children:(0,n.jsx)("a",{className:"hover:text-new-brand-violet hover:underline font-bold",children:"Utilisateurs"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(c.default,{href:"/admin/statistiques",children:(0,n.jsx)("a",{className:"hover:text-new-brand-violet hover:underline font-bold",children:"Statistiques"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(c.default,{href:"/admin/cms",children:(0,n.jsx)("a",{className:"hover:text-new-brand-violet hover:underline font-bold",children:"Cms"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(c.default,{href:"/admin/moderation",children:(0,n.jsx)("a",{className:"hover:text-new-brand-violet hover:underline font-bold",children:"Mod\xe9ration"})})})]}),(0,n.jsx)("div",{className:"flex space-x-4",children:(0,n.jsx)("a",{className:"hidden lg:visible lg:flex items-center gap-4 hover:no-underline cursor-pointer",onClick:function(){return w(!j)},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"pr-2",children:(0,n.jsx)("h2",{className:"font-medium",suppressHydrationWarning:!0,children:null!==(t=x.user)&&void 0!==t&&t.firstname&&null!==(r=x.user)&&void 0!==r&&r.lastname?"".concat(x.user.firstname," ").concat(x.user.lastname):"".concat(null===(d=x.user)||void 0===d?void 0:d.username)})}),(0,n.jsx)(i.default,{src:"/images/svg/vector.svg",className:j?"transform rotate-180 transition duration-300 linear":"transform -rotate-0 transition duration-300 linear",alt:"image d'un vecteur",height:15,width:15})]})})}),j&&(0,n.jsxs)("div",{className:"absolute top-20 right-36 pr-20 pl-4 py-6 text-left hidden lg:flex flex-col gap-2 drop-shadow-lg rounded-lg border border-solid border-gray-300 bg-white",children:[(0,n.jsxs)("div",{className:"flex space-x-2",children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#8142FF",children:[(0,n.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})]}),(0,n.jsx)(c.default,{href:"/profil/[profilId]",as:"/profil/".concat(null===(h=x.user)||void 0===h?void 0:h.username),children:(0,n.jsx)("a",{className:"gap-2 font-medium",children:"Voir mon profil"})})]}),(0,n.jsx)("div",{children:(0,n.jsxs)("a",{onClick:function(){return t=x,void N.push("/").then((function(){m("NO_TOKEN"),v.Z.remove("md_token"),e.authActions.logout(t.user)}));var t},className:"font-medium flex gap-2 hover:cursor-pointer",children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#8412FF",children:[(0,n.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"})]}),"D\xe9connexion"]})})]})]})})}))},8593:function(e,t,r){var n=r(85893);r(67294);t.Z=function(e){return(0,n.jsx)("div",{className:"border-2 border-solid border-gray-dashboard rounded-xl",children:(0,n.jsxs)("div",{className:"p-4",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold",children:e.title}),(0,n.jsx)("div",{className:"text-new-brand-violet text-2xl font-bold",children:e.stat})]})})}},55765:function(e,t,r){r.d(t,{B:function(){return i}});
1var n=r(7564),a=r(67294),s=r(96245),c=r(31955),i=function(e,t){var r=a.useState((function(){try{var r={isAuthenticated:!1,user:null},n=c.Z.get(t);return n?(r.user=(0,s.Z)(n),r.isAuthenticated=!0,r):r}catch(a){return console.error(a),e}})),i=(0,n.Z)(r,2),u=i[0],o=i[1];return[u,function(e){try{c.Z.set(t,e,{expires:20}),o(e)}catch(r){console.error(r)}}]}},9063:function(e,t,r){r.d(t,{EQ:function(){return l},c_:function(){return d},gz:function(){return h},pE:function(){return f},iv:function(){return v},jm:function(){return p}});var n=r(809),a=r.n(n),s=r(30266),c=r(9669),i=r.n(c),u=r(5468),o=r(529),l=function(){var e=(0,s.Z)(a().mark((function e(t,r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.ZP.get("/GenericServices/global-count-by-date?startDate=".concat(t.toISOString(),"&endDate=").concat(r.toISOString()));case 3:return n=e.sent,e.abrupt("return",n);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t,r){return e.apply(this,arguments)}}(),d=function(){var e=(0,s.Z)(a().mark((function e(t,r,n){var s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,s=null,!n){e.next=8;break}return e.next=5,i().get("".concat(u.ZP,"/GenericServices/stats?startDate=").concat(t.toISOString(),"&endDate=").concat(r.toISOString()));case 5:s=e.sent,e.next=11;break;case 8:return e.next=10,o.ZP.get("/GenericServices/stats?startDate=".concat(t.toISOString(),"&endDate=").concat(r.toISOString()));case 10:s=e.sent;case 11:return e.abrupt("return",s);case 14:return e.prev=14,e.t0=e.catch(0),e.abrupt("return",e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(t,r,n){return e.apply(this,arguments)}}(),h=function(){var e=(0,s.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=null,e.next=4,i().put("".concat(u.ZP,"/AbTests"));case 4:return t=e.sent,e.abrupt("return",t);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=(0,s.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=null,e.next=4,i().put("".concat(u.ZP,"/FormAbTests/").concat(t));case 4:return r=e.sent,e.abrupt("return",r);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=(0,s.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=null,e.next=4,i().get("".concat(u.ZP,"/Users/").concat(t,"/get-ab-test"));case 4:return r=e.sent,e.abrupt("return",r);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=(0,s.Z)(a().mark((function e(t,r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=null,e.next=4,i().put("".concat(u.ZP,"/Users/").concat(t,"/").concat(r,"/update-ab-test"));case 4:return n=e.sent,e.abrupt("return",n);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.