1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3702],{6489:function(e,o){/*! 2 * cookie 3 * Copyright(c) 2012-2014 Roman Shtylman 4 * Copyright(c) 2015 Douglas Christopher Wilson 5 * MIT Licensed 6 */o.parse=function(e,o){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var i={},r=e.split(";"),n=(o||{}).decode||t,s=0;s<r.length;s++){var a=r[s],c=a.indexOf("=");if(!(c<0)){var f=a.substring(0,c).trim();if(void 0==i[f]){var l=a.substring(c+1,a.length).trim();'"'===l[0]&&(l=l.slice(1,-1)),i[f]=function(e,o){try{return o(e)}catch(o){return e}}(l,n)}}}return i},o.serialize=function(e,o,t){var n=t||{},s=n.encode||i;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!r.test(e))throw TypeError("argument name is invalid");var a=s(o);if(a&&!r.test(a))throw TypeError("argument val is invalid");var c=e+"="+a;if(null!=n.maxAge){var f=n.maxAge-0;if(isNaN(f)||!isFinite(f))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(f)}if(n.domain){if(!r.test(n.domain))throw TypeError("option domain is invalid");c+="; Domain="+n.domain}if(n.path){if(!r.test(n.path))throw TypeError("option path is invalid");c+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw TypeError("option expires is invali
6d");c+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(c+="; HttpOnly"),n.secure&&(c+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var t=decodeURIComponent,i=encodeURIComponent,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},7041:function(e,o,t){var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var o,t=1,i=arguments.length;t<i;t++)for(var r in o=arguments[t])Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);return e}).apply(this,arguments)},r=this&&this.__rest||function(e,o){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>o.indexOf(i)&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>o.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]]);return t};Object.defineProperty(o,"__esModule",{value:!0}),o.checkCookies=o.hasCookie=o.removeCookies=o.deleteCookie=o.setCookies=o.setCookie=o.getCookie=o.getCookies=void 0;var n=t(6489),isClientSide=function(){return"undefined"!=typeof window},stringify=function(e){void 0===e&&(e="");try{var o=JSON.stringify(e);return/^[\{\[]/.test(o)?o:e}catch(o){return e}};o.getCookies=function(e){if(e&&(o=e.req),!isClientSide())return o&&o.cookies?o.cookies:o&&o.headers&&o.headers.cookie?(0,n.parse)(o.headers.cookie):{};for(var o,t={},i=document.cookie?document.cookie.split("; "):[],r=0,s=i.length;r<s;r++){var a=i[r].split("="),c=a.slice(1).join("=");t[a[0]]=c}return t},o.getCookie=function(e,t){var i,r=(0,o.getCookies)(t)[e];if(void 0!==r)return"true"===(i=r?r.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent):r)||"false"!==i&&("undefined"!==i?"null"===i?null:i:void 0)},o.setCookie=function(e,o,t){if(t){var s,a,c,f=t.req,l=t.res,u=r(t,["req","res"]);a=f,c=l,s=u}var d=(0,n.serialize)(e,stringify(o),i({path:"/"},s));if(isClientSide())document.cookie=d;else if(c&&a){var p=c.getHeader("Set-Cookie");if(Array.isArray(p)||(p=p?[String(p)]:[]),c.setHeader("Set-Cookie",p.concat(d)),a&&a.cookies){var h=a.cookies;""===o?delete h[e]:h[e]=stringify(o)}if(a&&a.headers&&a.headers.cookie){var h=(0,n.parse)(a.headers.cookie);""===o?delete h[e]:h[e]=stringify(o),a.headers.cookie=Object.entries(h).reduce(function(e,o){return e.concat("".concat(o[0],"=").concat(o[1],";"))},"")}}},o.setCookies=function(e,t,i){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,o.setCookie)(e,t,i)},o.deleteCookie=function(e,t){return(0,o.setCookie)(e,"",i(i({},t),{maxAge:-1}))},o.removeCookies=function(e,t){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,o.deleteCookie)(e,t)},o.hasCookie=function(e,t){return!!e&&(0,o.getCookies)(t).hasOwnProperty(e)},o.checkCookies=function(e,t){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,o.hasCookie)(e,t)}},3702:function(e,o,t){t.r(o);var i=t(5893),r=t(5005),n=t(7041),s=t(1163);o.default=()=>{let e=(0,s.useRouter)(),logout=()=>{(0,n.removeCookies)("user"),e.reload()};return(0,i.jsx)(r.Z,{className:"position-fixed bottom-0 end-0 mb-2 me-3",variant:"danger",onClick:()=>logout(),children:(0,i.jsx)("i",{className:"fa fa-power-off"})})}}}]);
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.