Merge branch 'dev' into 'features/typesense'

# Conflicts:
#   routes/events.php
This commit is contained in:
JOSSERAND GIOVANNI p2405212 committed 2025-12-07 15:14:51 +00:00
commit b8ccef3fb5
35 files changed
+220 -21

No files matched your search

+23 -1
View File
@@ -59,7 +59,9 @@ class EventsController extends Controller
try {
return response()->json(['data' => Events::all()]);
$events = Events::with('tasks')->get();
return response()->json(['data' => $events]);
} catch (\Exception $e) {
Log::info($e->getMessage());
@@ -67,6 +69,7 @@ class EventsController extends Controller
}
}
public function delete(Request $request, int $id): JsonResponse {
if ($request->user()->role != 1) {
@@ -83,4 +86,23 @@ class EventsController extends Controller
return response()->json(['message' => "Server error"], 500);
}
}
public function getEvent(Request $request, int $id): JsonResponse {
try {
$event = Events::find($id);
return response()->json([
"id" => $event->id,
"name" => $event->name,
"description" => $event->description,
"created_at" => $event->created_at,
"updated_at" => $event->updated_at,
"tasks" => $event->tasks,
]);
} catch (\Exception $e) {
Log::info($e->getMessage());
return response()->json(['message' => "Server error"], 500);
}
}
}
+12 -10
View File
@@ -7,6 +7,8 @@ use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Log;
use App\Services\GetRole;
use App\Services\UserService;
class UserController extends Controller
{
@@ -15,6 +17,15 @@ class UserController extends Controller
return true;
}
public function me(Request $request): JsonResponse {
try {
return response()->json(UserService::getData($request->user()->id));
} catch(\Exception $e) {
Log::info($e->getMessage());
return response()->json(['message' => "Server error"], 500);
}
}
public function create(Request $request): JsonResponse {
User::create([
"name" => $request["name"],
@@ -61,16 +72,7 @@ class UserController extends Controller
public function getUser(Request $request, int $id): JsonResponse {
try {
$user = User::find($id);
return response()->json([
'id' => $user->id,
'name' => $user->name,
'lastname' => $user->lastname,
'email' => $user->email,
'phone' => $user->phone ? $user->phone : "null",
'validate' => $user->validate,
'role' => $user->role,
]);
return response()->json(UserService::getData($id));
} catch(\Exception $e) {
Log::info($e->getMessage());
return response()->json(['message' => "Server error"], 500);
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Services;
class GetRole
{
public static function getRole($role)
{
return match ($role) {
1 => "Président",
2 => "Gérant",
3 => "Bénévole",
default => "Utilisateur",
};
}
}
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Services;
use App\Models\User;
class UserService
{
public static function getData(int $id) : array {
$user = User::find($id);
return [
"id" => $user->id,
"name" => $user->name,
"lastname" => $user->lastname,
"email" => $user->email,
"role" => GetRole::getRole($user->role),
"phone" => $user->phone,
"created_at" => $user->created_at,
"updated_at" => $user->updated_at,
"verfied_at" => $user->verfied_at,
"validate" => $user->validate,
"tasks" => $user->tasks
];
}
}
Regular → Executable
View File
File mode changed.
+1 -1
View File
@@ -48,7 +48,7 @@
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
"npx concurrently -c \"#93c5fd,#c4b5fd\" \"php artisan serve --host=localhost --port=8000\" \"php artisan pail --timeout=0\" --names=server,logs --kill-others"
],
"test": [
"@php artisan config:clear --ansi",
@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('cache', function (Blueprint $table) {
$table->string('key')->primary();
$table->mediumText('value');
$table->integer('expiration');
});
Schema::create('cache_locks', function (Blueprint $table) {
$table->string('key')->primary();
$table->string('owner');
$table->integer('expiration');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('cache');
Schema::dropIfExists('cache_locks');
}
};
+6 -2
View File
@@ -1,7 +1,8 @@
server {
listen 80;
root /var/www/app/public;
server_name 127.0.0.1;
root /var/www/app/public;
index index.php index.html;
location / {
@@ -9,8 +10,11 @@ server {
}
location ~ \.php$ {
fastcgi_pass php:9000;
include fastcgi_params;
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME 127.0.0.1;
fastcgi_param HTTPS off;
}
}
+1
View File
@@ -0,0 +1 @@
*{margin:0;padding:0;width:100%;box-sizing:border-box;overflow-x:hidden}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width: 768px){.content{padding:.7rem;z-index:1}}.content{padding:1.5rem;z-index:1}a{font-weight:500;color:#646cff;text-decoration:inherit}body{margin:0;display:flex;place-items:center;width:100%;min-width:320px;min-height:100vh}.glassCard{width:100%;padding:10px;height:fit-content;background:#ffffffa6;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80,inset 0 -1px #ffffff1a,inset 0 0 8px 4px #fff6;position:relative;overflow:hidden}h1{font-size:3.2em;line-height:1.1}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}._footer_ilvdx_1{width:100%;display:flex;align-items:center;height:fit-content;padding:2rem}._footerContent_ilvdx_9{display:flex;width:100%;justify-content:center;gap:2rem}._link_ilvdx_16{color:#000;width:fit-content;text-align:center}@media screen and (max-width: 480px){._footer_ilvdx_1{padding:1rem}._footerContent_ilvdx_9{flex-direction:column;align-items:center;gap:.5rem}}._headerContainer_1unhr_1{position:relative;height:fit-content;overflow:visible}._header_1unhr_1{display:flex;align-items:center;padding:.8rem;height:fit-content;z-index:2;position:relative;justify-content:space-between}._activeHeaderContent_1unhr_20{display:flex;justify-content:space-between;width:100%;opacity:1;transition:opacity .3s ease;pointer-events:auto}._inactiveHeaderContent_1unhr_28{opacity:0;pointer-events:none;transition:opacity .3s ease;position:absolute;top:.8rem;left:.8rem}._inactiveMobileMenu_1unhr_38{max-height:0;position:absolute;top:100%;left:0}._activeMobileMenu_1unhr_45{transition:max-height 3s ease;max-height:500px;display:flex;flex-direction:column;align-items:start;gap:.5rem}._headerLeftContent_1unhr_57{display:flex;width:fit-content;align-items:center;gap:1.5rem;font-size:1.2rem}._headerRightContent_1unhr_65{width:fit-content;display:flex;align-items:center}._logo_1unhr_71{height:4rem;width:auto;flex-shrink:0}._logoLink_1unhr_77{display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;flex-shrink:0}._link_1unhr_87{color:#000;width:fit-content;text-align:center;font-weight:700;border-bottom:2px solid transparent}._link_1unhr_87:hover{border-bottom:2px solid #019AFF}._activeLink_1unhr_100{width:fit-content;text-align:center;font-weight:700;color:#019aff;border-bottom:2px solid #019AFF}svg{width:fit-content}._bellBtn_1unhr_112,._profileLink_1unhr_112{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform .5s ease;background:none;padding:7px;border-radius:50%;width:55px;height:55px;position:relative}._bellBtn_1unhr_112 svg{stroke:#000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}._bellBtn_1unhr_112:focus{outline:none}._bellBtn_1unhr_112:focus-visible{outline:2px solid black}._activeBellBtn_1unhr_141{transform:translateY(-4px);background:#bfbfbf80}._activeBellBtn_1unhr_141 svg{stroke:#019aff}._bellBtn_1unhr_112:hover{transform:translateY(-4px);background:#bfbfbf80}._bellBtn_1unhr_112:hover svg{stroke:#019aff}._profileLink_1unhr_112:hover{transform:translateY(-4px);background:#bfbfbf80}._profileLink_1unhr_112:hover svg{fill:#019aff}._bellBtn_1unhr_112 svg{height:28px}._profileLink_1unhr_112 svg{height:40px}._notificationDiv_1unhr_174{position:absolute;width:250px;top:105%;right:2rem;opacity:0;transform:translateY(-10px);transition:opacity .3s ease,transform .3s ease;z-index:0}._activeNotificationDiv_1unhr_185{opacity:1;transform:translateY(0);z-index:3}._notification_1unhr_174{margin-bottom:7%;display:flex;justify-content:space-between;align-items:center}._notificationBadge_1unhr_199{position:absolute;top:6px;right:9px;width:15px;height:15px;background-color:red;border-radius:50%}._closeBtn_1unhr_209{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;background:none;margin:0;width:fit-content}._closeBtn_1unhr_209:focus{outline:none}._closeBtn_1unhr_209:focus-visible{outline:2px solid black}._burgerBtn_1unhr_227{flex-direction:column;justify-content:space-between;width:30px;height:22px;border:none;cursor:pointer;display:none;z-index:10}._burgerBar_1unhr_238{width:100%;height:3px;background-color:#000;border-radius:2px;transition:all .3s ease}._activeBurgerBtn_1unhr_246 ._burgerBar_1unhr_238:nth-child(1){transform:translateY(10px) rotate(45deg)}._activeBurgerBtn_1unhr_246 ._burgerBar_1unhr_238:nth-child(2){opacity:0}._activeBurgerBtn_1unhr_246 ._burgerBar_1unhr_238:nth-child(3){transform:translateY(-9px) rotate(-45deg)}._navLinks_1unhr_257{display:flex;align-items:center;justify-content:centerLine truncated
+61
View File
@@ -0,0 +1,61 @@
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const v of d.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&o(v)}).observe(document,{childList:!0,subtree:!0});function f(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(s){if(s.ep)return;s.ep=!0;const d=f(s);fetch(s.href,d)}})();var Vo={exports:{}},Gu={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var am;function my(){if(am)return Gu;am=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function f(o,s,d){var v=null;if(d!==void 0&&(v=""+d),s.key!==void 0&&(v=""+s.key),"key"in s){d={};for(var g in s)g!=="key"&&(d[g]=s[g])}else d=s;return s=d.ref,{$$typeof:i,type:o,key:v,ref:s!==void 0?s:null,props:d}}return Gu.Fragment=r,Gu.jsx=f,Gu.jsxs=f,Gu}var nm;function vy(){return nm||(nm=1,Vo.exports=my()),Vo.exports}var T=vy(),Zo={exports:{}},me={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var um;function yy(){if(um)return me;um=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),v=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),N=Symbol.iterator;function B(S){return S===null||typeof S!="object"?null:(S=N&&S[N]||S["@@iterator"],typeof S=="function"?S:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,J={};function Q(S,L,Z){this.props=S,this.context=L,this.refs=J,this.updater=Z||G}Q.prototype.isReactComponent={},Q.prototype.setState=function(S,L){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,L,"setState")},Q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=Q.prototype;function ne(S,L,Z){this.props=S,this.context=L,this.refs=J,this.updater=Z||G}var Ce=ne.prototype=new I;Ce.constructor=ne,k(Ce,Q.prototype),Ce.isPureReactComponent=!0;var se=Array.isArray;function j(){}var W={H:null,A:null,T:null,S:null},pe=Object.prototype.hasOwnProperty;function he(S,L,Z){var P=Z.ref;return{$$typeof:i,type:S,key:L,ref:P!==void 0?P:null,props:Z}}function Be(S,L){return he(S.type,L,S.props)}function ke(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function et(S){var L={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(Z){return L[Z]})}var Oe=/\/+/g;function Ne(S,L){return typeof S=="object"&&S!==null&&S.key!=null?et(""+S.key):L.toString(36)}function Fe(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(j,j):(S.status="pending",S.then(function(L){S.status==="pending"&&(S.status="fulfilled",S.value=L)},function(L){S.status==="pending"&&(S.status="rejected",S.reason=L)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function D(S,L,Z,P,de){var ve=typeof S;(ve==="undefined"||ve==="boolean")&&(S=null);var je=!1;if(S===null)je=!0;else switch(ve){case"bigint":case"string":case"number":je=!0;break;case"object":switch(S.$$typeof){case i:case r:je=!0;break;case x:return je=S._init,D(je(S._payload),L,Z,P,de)}}if(je)return de=de(S),je=P===""?"."+Ne(S,0):P,se(de)?(Z="",je!=null&&(Z=je.replace(Oe,"$&/")+"/"),D(de,L,Z,"",function(tt){return tt})):de!=null&&(ke(de)&&(de=Be(de,Z+(de.key==null||S&&S.key===de.key?"":(""+de.key).replace(Oe,"$&/")+"/")+je)),L.push(de)),1;je=0;var yt=P===""?".":P+":";if(se(S))for(var Ie=0;Ie<S.length;Ie++)P=S[Ie],ve=yt+Ne(P,Ie),je+=D(P,L,Z,ve,de);else if(Ie=B(S),typeof Ie=="function")for(S=Ie.call(S),Ie=0;!(P=S.next()).done;)P=P.value,ve=yt+Ne(P,Ie++),je+=D(P,L,Z,ve,de);else if(ve==="object"){if(typeof S.then=="function")return D(Fe(S),L,Z,P,de);throw L=String(S),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return je}function V(S,L,Z){if(S==null)return S;var P=[],de=0;return D(S,P,"","",function(ve){return L.call(Z,ve,de++)}),P}function te(S){if(S._status===-1){var L=S._result;L=L(),L.then(function(Z){(S._status===0||S._status===-1)&&(S._status=1,S._result=Z)},function(Z){(S._status===0||S._status===-1)&&(S._status=2,S._result=Z)}),S._status===-1&&(S._status=0,S._result=L)}if(S._status===1)return S._result.default;throw S._result}var Se=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},ye={map:V,forEach:function(S,L,Z){V(S,function(){L.apply(this,arguments)},Z)},count:function(S){var L=0;return V(S,function(){L++}),L},toArray:function(S){return V(S,function(L){return L})||[]},only:function(S){if(!ke(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return me.Activity=E,me.Children=ye,me.Component=Q,me.Fragment=f,me.Profiler=s,me.PureComponent=ne,me.StrictMode=o,me.Suspense=y,me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,me.__COMPILER_RUNTIME={__proto__:null,c:function(S){return W.H.useMemoCache(S)}},me.cache=function(S){return function(){return S.apply(null,arguments)}},me.cacheSignal=function(){return null},me.cloneElement=function(S,L,Z){if(S==nuLine truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var rm;function gy(){return rm||(rm=1,(function(i){function r(D,V){var te=D.length;D.push(V);e:for(;0<te;){var Se=te-1>>>1,ye=D[Se];if(0<s(ye,V))D[Se]=V,D[te]=ye,te=Se;else break e}}function f(D){return D.length===0?null:D[0]}function o(D){if(D.length===0)return null;var V=D[0],te=D.pop();if(te!==V){D[0]=te;e:for(var Se=0,ye=D.length,S=ye>>>1;Se<S;){var L=2*(Se+1)-1,Z=D[L],P=L+1,de=D[P];if(0>s(Z,te))P<ye&&0>s(de,Z)?(D[Se]=de,D[P]=te,Se=P):(D[Se]=Z,D[L]=te,Se=L);else if(P<ye&&0>s(de,te))D[Se]=de,D[P]=te,Se=P;else break e}}return V}function s(D,V){var te=D.sortIndex-V.sortIndex;return te!==0?te:D.id-V.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var v=Date,g=v.now();i.unstable_now=function(){return v.now()-g}}var y=[],m=[],x=1,E=null,N=3,B=!1,G=!1,k=!1,J=!1,Q=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function Ce(D){for(var V=f(m);V!==null;){if(V.callback===null)o(m);else if(V.startTime<=D)o(m),V.sortIndex=V.expirationTime,r(y,V);else break;V=f(m)}}function se(D){if(k=!1,Ce(D),!G)if(f(y)!==null)G=!0,j||(j=!0,et());else{var V=f(m);V!==null&&Fe(se,V.startTime-D)}}var j=!1,W=-1,pe=5,he=-1;function Be(){return J?!0:!(i.unstable_now()-he<pe)}function ke(){if(J=!1,j){var D=i.unstable_now();he=D;var V=!0;try{e:{G=!1,k&&(k=!1,I(W),W=-1),B=!0;var te=N;try{t:{for(Ce(D),E=f(y);E!==null&&!(E.expirationTime>D&&Be());){var Se=E.callback;if(typeof Se=="function"){E.callback=null,N=E.priorityLevel;var ye=Se(E.expirationTime<=D);if(D=i.unstable_now(),typeof ye=="function"){E.callback=ye,Ce(D),V=!0;break t}E===f(y)&&o(y),Ce(D)}else o(y);E=f(y)}if(E!==null)V=!0;else{var S=f(m);S!==null&&Fe(se,S.startTime-D),V=!1}}break e}finally{E=null,N=te,B=!1}V=void 0}}finally{V?et():j=!1}}}var et;if(typeof ne=="function")et=function(){ne(ke)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,Ne=Oe.port2;Oe.port1.onmessage=ke,et=function(){Ne.postMessage(null)}}else et=function(){Q(ke,0)};function Fe(D,V){W=Q(function(){D(i.unstable_now())},V)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(D){D.callback=null},i.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<D?Math.floor(1e3/D):5},i.unstable_getCurrentPriorityLevel=function(){return N},i.unstable_next=function(D){switch(N){case 1:case 2:case 3:var V=3;break;default:V=N}var te=N;N=V;try{return D()}finally{N=te}},i.unstable_requestPaint=function(){J=!0},i.unstable_runWithPriority=function(D,V){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=N;N=D;try{return V()}finally{N=te}},i.unstable_scheduleCallback=function(D,V,te){var Se=i.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?Se+te:Se):te=Se,D){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=te+ye,D={id:x++,callback:V,priorityLevel:D,startTime:te,expirationTime:ye,sortIndex:-1},te>Se?(D.sortIndex=te,r(m,D),f(y)===null&&D===f(m)&&(k?(I(W),W=-1):k=!0,Fe(se,te-Se))):(D.sortIndex=ye,r(y,D),G||B||(G=!0,j||(j=!0,et()))),D},i.unstable_shouldYield=Be,i.unstable_wrapCallback=function(D){var V=N;return function(){var te=N;N=V;try{return D.apply(this,arguments)}finally{N=te}}}})(Jo)),Jo}var cm;function py(){return cm||(cm=1,Ko.exports=gy()),Ko.exports}var $o={exports:{}},zt={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var om;function by(){if(om)return zt;om=1;var i=uf();function r(y){var m="https://react.dev/errors/"+y;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)m+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+y+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var o={d:{f,r:function(){throw Error(r(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},s=Symbol.for("react.portal");function d(y,m,x){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:E==null?null:""+E,children:y,containerInfo:m,implementation:x}}var v=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(y,m){if(y==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,zt.createPortal=function(y,m){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(r(299));return d(y,m,null,x)},zt.flushSync=function(y){var m=v.T,x=o.p;try{if(v.T=null,o.p=2,y)return y()}finally{v.T=m,o.p=x,o.d.f()}},zt.preconnect=function(y,m){typeof y=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(y,m))},zt.prefetchDNS=function(y){typeof y=="string"&&o.d.D(y)},zt.preinit=function(y,m){if(typeof y=="string"&&m&&typeof m.as=="string"){var x=m.as,E=g(x,m.crossOrigin),N=typeof m.integrity=="string"?m.integrity:void 0,B=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;x==="style"?o.d.S(y,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:E,integrity:N,fetchPriority:B}):x==="script"&&o.d.X(y,{crossOrigin:E,integrity:N,fetchPriority:B,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},zt.preinitModule=function(y,m){if(typeof y=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var x=g(m.as,m.crossOrigin);o.d.M(y,{crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(y)},zt.preload=function(y,m){if(typeof y=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var x=m.as,E=g(x,m.crossOrigin);o.d.L(y,x,{crossOrigin:E,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},zt.preloadModule=function(y,m){if(typeof y=="string")if(m){var x=g(m.as,m.crossOrigin);o.d.m(y,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(y)},zt.requestFormReset=function(y){o.d.r(y)},zt.unstable_batchedUpdates=function(y,m){return y(m)},zt.useFormState=function(y,m,x){return v.H.useFormState(y,m,x)},zt.useFormStatus=function(){return v.H.useHostTransitionStatus()},zt.version="19.2.0",zt}var fm;function Sy(){if(fm)return $o.exports;fm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),$o.exports=by(),$o.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sm;function Ey(){if(sm)return Xu;sm=1;var i=py(),r=uf(),f=Sy();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function v(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(d(e)!==e)throw Error(o(188))}function m(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return y(n),e;if(u===a)return y(n),t;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var c=!1,h=n.child;h;){if(h===l){c=!0,l=n,a=u;break}if(h===a){c=!0,a=n,l=u;break}h=h.sibling}if(!c){for(h=u.child;h;){if(h===l){c=!0,l=u,a=n;break}if(h===a){c=!0,a=u,l=n;break}h=h.sibling}if(!c)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var E=Object.assign,N=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),Ce=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),Be=Symbol.for("react.memo_cache_sentinel"),ke=Symbol.iterator;function et(e){return e===null||typeof e!="object"?null:(e=ke&&e[ke]||e["@@iterator"],typeof e=="function"?e:null)}var Oe=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Oe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case Q:return"Profiler";case J:return"StrictMode";case se:return"Suspense";case j:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case ne:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case Ce:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case pe:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var Fe=Array.isArray,D=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},Se=[],ye=-1;function S(e){return{current:e}}function L(e){0>ye||(e.current=Se[ye],Se[ye]=null,ye--)}function Z(e,t){ye++,Se[ye]=e.current,e.current=t}var P=S(null),de=S(null),ve=S(null),je=S(null);function yt(e,t){switch(Z(ve,t),Z(de,e),Z(P,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Mh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Mh(t),e=Ch(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(P),Z(P,e)}function Ie(){L(P),L(de),L(ve)}function tt(e){e.memoizedState!==null&&Z(je,e);var t=P.current,l=Ch(t,e.type);t!==l&&(Z(de,e),Z(P,l))}function fl(e){de.current===e&&(L(P),L(de)),je.current===e&&(L(je),Hu._currentValue=te)}var an,ei;function Mt(e){if(an===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);an=t&&t[1]||"",ei=-1<l.stack.indexOf(`
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+an+e+ei}var Jn=!1;function $n(e,t){if(!e||Jn)return"";Jn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(w){var O=w}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(w){O=w}e.call(Y.prototype)}}else{try{throw Error()}catch(w){O=w}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(w){if(w&&O&&typeof w.stack=="string")return[w.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],h=u[1];if(c&&h){var p=c.split(`
`),A=h.split(`
`);for(n=a=0;a<p.length&&!p[a].includes("DetermineComponentFrameRoot");)a++;for(;n<A.length&&!A[n].includes("DetermineComponentFrameRoot");)n++;if(a===p.length||n===A.length)for(a=p.length-1,n=A.length-1;1<=a&&0<=n&&p[a]!==A[n];)n--;for(;1<=a&&0<=n;a--,n--)if(p[a]!==A[n]){if(a!==1||n!==1)do if(a--,n--,0>n||p[a]!==A[n]){var H=`
`+p[a].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=a&&0<=n);break}}}finally{Jn=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Mt(l):""}function ti(e,t){switch(e.tag){case 26:case 27:case 5:return Mt(e.type);case 16:return Mt("Lazy");case 13:return e.child!==t&&t!==null?Mt("Suspense Fallback"):Mt("Suspense");case 19:return Mt("SuspenseList");case 0:case 15:return $n(e.type,!1);case 11:return $n(e.type.render,!1);case 1:return $n(e.type,!0);case 31:return Mt("Activity");default:return""}}function li(e){try{var t="",l=null;do t+=ti(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var kn=Object.prototype.hasOwnProperty,Fn=i.unstable_scheduleCallback,Wn=i.unstable_cancelCallback,Ol=i.unstable_shouldYield,Na=i.unstable_requestPaint,_t=i.unstable_now,Pn=i.unstable_getCurrentPriorityLevel,Kt=i.unstable_ImmediatePriority,Jt=i.unstable_UserBlockingPriority,ja=i.unstable_NormalPriority,jr=i.unstable_LowPriority,nn=i.unstable_IdlePriority,Ur=i.log,sl=i.unstable_setDisableYieldValue,Il=null,Tt=null;function dl(e){if(typeof Ur=="function"&&sl(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Il,e)}catch{}}var Ct=Math.clz32?Math.clz32:ni,ai=Math.log,un=Math.LN2;function ni(e){return e>>>=0,e===0?32:31-(ai(e)/un|0)|0}var ea=256,rn=262144,Ua=4194304;function Nl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function wa(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var h=a&134217727;return h!==0?(a=h&~u,a!==0?n=Nl(a):(c&=h,c!==0?n=Nl(c):l||(l=h&~e,l!==0&&(n=Nl(l))))):(h=a&~u,h!==0?n=Nl(h):c!==0?n=Nl(c):l||(l=a&~e,l!==0&&(n=Nl(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function _l(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function cn(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ui(){var e=Ua;return Ua<<=1,(Ua&62914560)===0&&(Ua=4194304),e}function In(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function b(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function M(e,t,l,a,n,u){var c=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var h=e.entanglements,p=e.expirationTimes,A=e.hiddenUpdates;for(l=c&~l;0<l;){var H=31-Ct(l),Y=1<<H;h[H]=0,p[H]=-1;var O=A[H];if(O!==null)for(A[H]=null,H=0;H<O.length;H++){var w=O[H];w!==null&&(w.lane&=-536870913)}l&=~Y}a!==0&&U(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(c&~t))}function U(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Ct(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function X(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Ct(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function K(e,t){var l=t&-t;return l=(l&42)!==0?1:ue(l),(l&(e.suspendedLanes|t))!==0?0:l}function ue(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ie(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function le(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:Fh(e.type))}function re(e,t){var l=V.p;try{return V.p=e,t()}finally{V.p=l}}var ce=Math.random().toString(36).slice(2),$="__reactFiber$"+ce,F="__reactProps$"+ce,Ee="__reactContainer$"+ce,Ge="__reactEvents$"+ce,ct="__reactListeners$"+ce,gt="__reactHandles$"+ce,Ke="__reactResources$"+ce,He="__reactMarker$"+ce;function hl(e){delete e[$],delete e[F],delete e[Ge],delete e[ct],delete e[gt]}function $t(e){var t=e[$];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Ee]||l[$]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Uh(e);e!==null;){if(l=e[$])return l;e=Uh(e)}return t}e=l,l=e.parentNode}return null}function Rt(e){if(e=e[$]||e[Ee]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function xt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Tl(e){var t=e[Ke];return t||(t=e[Ke]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function We(e){e[He]=!0}var xl=new Set,Ba={};function kt(e,t){_e(e,t),_e(e+"Capture",t)}function _e(e,t){for(Ba[e]=t,e=0;e<t.length;e++)xl.add(t[e])}var mt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2 Line truncated
`).replace(B0,"")}function xh(e,t){return t=Th(t),Th(e)===t}function Ve(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||fn(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&fn(e,""+a);break;case"className":Ha(e,"class",a);break;case"tabIndex":Ha(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ha(e,l,a);break;case"style":xf(e,a,u);break;case"data":if(t!=="object"){Ha(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=ri(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&Ve(e,t,"name",n.name,n,null),Ve(e,t,"formEncType",n.formEncType,n,null),Ve(e,t,"formMethod",n.formMethod,n,null),Ve(e,t,"formTarget",n.formTarget,n,null)):(Ve(e,t,"encType",n.encType,n,null),Ve(e,t,"method",n.method,n,null),Ve(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=ri(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=wl);break;case"onScroll":a!=null&&ze("scroll",e);break;case"onScrollEnd":a!=null&&ze("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=ri(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":ze("beforetoggle",e),ze("toggle",e),Ul(e,"popover",a);break;case"xlinkActuate":ml(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ml(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ml(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ml(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ml(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ml(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ml(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ml(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ml(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ul(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=fv.get(l)||l,Ul(e,l,a))}}function zo(e,t,l,a,n,u){switch(l){case"style":xf(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof a=="string"?fn(e,a):(typeof a=="number"||typeof a=="bigint")&&fn(e,""+a);break;case"onScroll":a!=null&&ze("scroll",e);break;case"onScrollEnd":a!=null&&ze("scrollend",e);break;case"onClick":a!=null&&(e.onclick=wl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne Line truncated
* react-router v7.9.4
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var Bm=i=>{throw TypeError(i)},xy=(i,r,f)=>r.has(i)||Bm("Cannot "+f),ko=(i,r,f)=>(xy(i,r,"read from private field"),f?f.call(i):r.get(i)),zy=(i,r,f)=>r.has(i)?Bm("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(i):r.set(i,f),hm="popstate";function My(i={}){function r(o,s){let{pathname:d,search:v,hash:g}=o.location;return ku("",{pathname:d,search:v,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function f(o,s){return typeof s=="string"?s:Aa(s)}return Ry(r,f,null,i)}function Te(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function rt(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Cy(){return Math.random().toString(36).substring(2,10)}function mm(i,r){return{usr:i.state,key:i.key,idx:r}}function ku(i,r,f=null,o){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?Da(r):r,state:f,key:r&&r.key||o||Cy()}}function Aa({pathname:i="/",search:r="",hash:f=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),f&&f!=="#"&&(i+=f.charAt(0)==="#"?f:"#"+f),i}function Da(i){let r={};if(i){let f=i.indexOf("#");f>=0&&(r.hash=i.substring(f),i=i.substring(0,f));let o=i.indexOf("?");o>=0&&(r.search=i.substring(o),i=i.substring(0,o)),i&&(r.pathname=i)}return r}function Ry(i,r,f,o={}){let{window:s=document.defaultView,v5Compat:d=!1}=o,v=s.history,g="POP",y=null,m=x();m==null&&(m=0,v.replaceState({...v.state,idx:m},""));function x(){return(v.state||{idx:null}).idx}function E(){g="POP";let J=x(),Q=J==null?null:J-m;m=J,y&&y({action:g,location:k.location,delta:Q})}function N(J,Q){g="PUSH";let I=ku(k.location,J,Q);m=x()+1;let ne=mm(I,m),Ce=k.createHref(I);try{v.pushState(ne,"",Ce)}catch(se){if(se instanceof DOMException&&se.name==="DataCloneError")throw se;s.location.assign(Ce)}d&&y&&y({action:g,location:k.location,delta:1})}function B(J,Q){g="REPLACE";let I=ku(k.location,J,Q);m=x();let ne=mm(I,m),Ce=k.createHref(I);v.replaceState(ne,"",Ce),d&&y&&y({action:g,location:k.location,delta:0})}function G(J){return Hm(J)}let k={get action(){return g},get location(){return i(s,v)},listen(J){if(y)throw new Error("A history only accepts one active listener");return s.addEventListener(hm,E),y=J,()=>{s.removeEventListener(hm,E),y=null}},createHref(J){return r(s,J)},createURL:G,encodeLocation(J){let Q=G(J);return{pathname:Q.pathname,search:Q.search,hash:Q.hash}},push:N,replace:B,go(J){return v.go(J)}};return k}function Hm(i,r=!1){let f="http://localhost";typeof window<"u"&&(f=window.location.origin!=="null"?window.location.origin:window.location.href),Te(f,"No window.location.(origin|href) available to create URL");let o=typeof i=="string"?i:Aa(i);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=f+o),new URL(o,f)}var $u,vm=class{constructor(i){if(zy(this,$u,new Map),i)for(let[r,f]of i)this.set(r,f)}get(i){if(ko(this,$u).has(i))return ko(this,$u).get(i);if(i.defaultValue!==void 0)return i.defaultValue;throw new Error("No value found for context")}set(i,r){ko(this,$u).set(i,r)}};$u=new WeakMap;var Ay=new Set(["lazy","caseSensitive","path","id","index","children"]);function Dy(i){return Ay.has(i)}var Oy=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Ny(i){return Oy.has(i)}function jy(i){return i.index===!0}function Fu(i,r,f=[],o={},s=!1){return i.map((d,v)=>{let g=[...f,String(v)],y=typeof d.id=="string"?d.id:g.join("-");if(Te(d.index!==!0||!d.children,"Cannot specify children on an index route"),Te(s||!o[y],`Found a route id collision on id "${y}". Route id's must be globally unique within Data Router usages`),jy(d)){let m={...d,...r(d),id:y};return o[y]=m,m}else{let m={...d,...r(d),id:y,children:void 0};return o[y]=m,d.children&&(m.children=Fu(d.children,r,g,o,s)),m}})}function Ma(i,r,f="/"){return Sr(i,r,f,!1)}function Sr(i,r,f,o){let s=typeof r=="string"?Da(r):r,d=ol(s.pathname||"/",f);if(d==null)return null;let v=Lm(i);wy(v);let g=null;for(let y=0;g==null&&y<v.length;++y){let m=Ky(d);g=Zy(v[y],m,o)}return g}function Uy(i,r){let{route:f,pathname:o,params:s}=i;return{id:f.id,pathname:o,params:s,data:r[f.id],loaderData:r[f.id],handle:f.handle}}function Lm(i,r=[],f=[],o="",s=!1){let d=(v,g,y=s,m)=>{let x={relativePath:m===void 0?v.path||"":m,caseSensitive:v.caseSensitive===!0,childrenIndex:g,route:v};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(o)&&y)return;Te(x.relativePath.startsWith(o),`Absolute route path "${x.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(o.length)}let E=Dl([o,x.relativePath]),N=f.concat(x);v.children&&v.children.length>0&&(Te(v.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Lm(v.children,r,N,E,y)),!(v.path==null&&!v.index)&&r.push({path:E,score:Xy(E,v.index),routesMeta:N})};return i.forEach((v,g)=>{if(v.path===""||!v.path Line truncated
`,""):String(f.body);return{path:r,submission:{formMethod:d,formAction:v,formEncType:f.formEncType,formData:void 0,json:void 0,text:E}}}else if(f.formEncType==="application/json"){if(!Ht(d))return o();try{let E=typeof f.body=="string"?JSON.parse(f.body):f.body;return{path:r,submission:{formMethod:d,formAction:v,formEncType:f.formEncType,formData:void 0,json:E,text:void 0}}}catch{return o()}}}Te(typeof FormData=="function","FormData is not available in this environment");let g,y;if(f.formData)g=nf(f.formData),y=f.formData;else if(f.body instanceof FormData)g=nf(f.body),y=f.body;else if(f.body instanceof URLSearchParams)g=f.body,y=xm(g);else if(f.body==null)g=new URLSearchParams,y=new FormData;else try{g=new URLSearchParams(f.body),y=xm(g)}catch{return o()}let m={formMethod:d,formAction:v,formEncType:f&&f.formEncType||"application/x-www-form-urlencoded",formData:y,json:void 0,text:void 0};if(Ht(m.formMethod))return{path:r,submission:m};let x=Da(r);return i&&x.search&&of(x.search)&&g.append("index",""),x.search=`?${g}`,{path:Aa(x),submission:m}}function pm(i,r,f,o,s,d,v,g,y,m,x,E,N,B,G,k,J,Q,I,ne){let Ce=ne?Qt(ne[1])?ne[1].error:ne[1].data:void 0,se=s.createURL(d.location),j=s.createURL(y),W;if(x&&d.errors){let Oe=Object.keys(d.errors)[0];W=v.findIndex(Ne=>Ne.route.id===Oe)}else if(ne&&Qt(ne[1])){let Oe=ne[0];W=v.findIndex(Ne=>Ne.route.id===Oe)-1}let pe=ne?ne[1].statusCode:void 0,he=pe&&pe>=400,Be={currentUrl:se,currentParams:d.matches[0]?.params||{},nextUrl:j,nextParams:v[0].params,...g,actionResult:Ce,actionStatus:pe},ke=v.map((Oe,Ne)=>{let{route:Fe}=Oe,D=null;if(W!=null&&Ne>W?D=!1:Fe.lazy?D=!0:cf(Fe)?x?D=lf(Fe,d.loaderData,d.errors):og(d.loaderData,d.matches[Ne],Oe)&&(D=!0):D=!1,D!==null)return af(f,o,i,Oe,m,r,D);let V=he?!1:E||se.pathname+se.search===j.pathname+j.search||se.search!==j.search||fg(d.matches[Ne],Oe),te={...Be,defaultShouldRevalidate:V},Se=Mr(Oe,te);return af(f,o,i,Oe,m,r,Se,te)}),et=[];return G.forEach((Oe,Ne)=>{if(x||!v.some(L=>L.route.id===Oe.routeId)||B.has(Ne))return;let Fe=d.fetchers.get(Ne),D=Fe&&Fe.state!=="idle"&&Fe.data===void 0,V=Ma(J,Oe.path,Q);if(!V){if(I&&D)return;et.push({key:Ne,routeId:Oe.routeId,path:Oe.path,matches:null,match:null,request:null,controller:null});return}if(k.has(Ne))return;let te=Er(V,Oe.path),Se=new AbortController,ye=Vn(s,Oe.path,Se.signal),S=null;if(N.has(Ne))N.delete(Ne),S=Qn(f,o,ye,V,te,m,r);else if(D)E&&(S=Qn(f,o,ye,V,te,m,r));else{let L={...Be,defaultShouldRevalidate:he?!1:E};Mr(te,L)&&(S=Qn(f,o,ye,V,te,m,r,L))}S&&et.push({key:Ne,routeId:Oe.routeId,path:Oe.path,matches:S,match:te,request:ye,controller:Se})}),{dsMatches:ke,revalidatingFetchers:et}}function cf(i){return i.loader!=null||i.middleware!=null&&i.middleware.length>0}function lf(i,r,f){if(i.lazy)return!0;if(!cf(i))return!1;let o=r!=null&&i.id in r,s=f!=null&&f[i.id]!==void 0;return!o&&s?!1:typeof i.loader=="function"&&i.loader.hydrate===!0?!0:!o&&!s}function og(i,r,f){let o=!r||f.route.id!==r.route.id,s=!i.hasOwnProperty(f.route.id);return o||s}function fg(i,r){let f=i.route.path;return i.pathname!==r.pathname||f!=null&&f.endsWith("*")&&i.params["*"]!==r.params["*"]}function Mr(i,r){if(i.route.shouldRevalidate){let f=i.route.shouldRevalidate(r);if(typeof f=="boolean")return f}return r.defaultShouldRevalidate}function bm(i,r,f,o,s,d){let v;if(i){let m=o[i];Te(m,`No route found to patch children into: routeId = ${i}`),m.children||(m.children=[]),v=m.children}else v=f;let g=[],y=[];if(r.forEach(m=>{let x=v.find(E=>Zm(m,E));x?y.push({existingRoute:x,newRoute:m}):g.push(m)}),g.length>0){let m=Fu(g,s,[i||"_","patch",String(v?.length||"0")],o);v.push(...m)}if(d&&y.length>0)for(let m=0;m<y.length;m++){let{existingRoute:x,newRoute:E}=y[m],N=x,[B]=Fu([E],s,[],{},!0);Object.assign(N,{element:B.element?B.element:N.element,errorElement:B.errorElement?B.errorElement:N.errorElement,hydrateFallbackElement:B.hydrateFallbackElement?B.hydrateFallbackElement:N.hydrateFallbackElement})}}function Zm(i,r){return"id"in i&&"id"in r&&i.id===r.id?!0:i.index===r.index&&i.path===r.path&&i.caseSensitive===r.caseSensitive?(!i.children||i.children.length===0)&&(!r.children||r.children.length===0)?!0:i.children.every((f,o)=>r.children?.some(s=>Zm(f,s))):!1}var Sm=new WeakMap,Qm=({key:i,route:r,manifest:f,mapRouteProperties:o})=>{let s=f[r.id];if(Te(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let d=s.lazy[i];if(!d)return;let v=Sm.get(s);v||(v={},Sm.set(s,v));let g=v[i];if(g)return g;let y=(async()=>{let m=Dy(i),E=s[i]!==void 0&&i!=="hasErrorBoundary";if(m)rt(!m,"Route property "+i+" is not a supported lazy route property. This property will be ignored."),v[i]=Promise.resolve();else if(E)rt(!1,`Route "${s.id}" has a static property "${i}" defined. The lazy property will be ignored.`);else{let N=await d();N!=null&&(Object.assign(s,{[i]:N}),Object.assign(s,o(s)))}typeof s.lazy=="object"&&(s.lazy[i]=void 0,Object.values(s.lazy).every(N=>N===void 0)&&(s.lazy=void 0))})();return v[i]=y,y},Em=new WeakMap;fun Line truncated
Please change the parent <Route path="${I}"> to <Route path="${I==="/"?"*":`${I}/*`}">.`)}let N=Oa(),B;B=N;let G=B.pathname||"/",k=G;if(x!=="/"){let I=x.replace(/^\//,"").split("/");k="/"+G.replace(/^\//,"").split("/").slice(I.length).join("/")}let J=Ma(i,{pathname:k});return rt(E||J!=null,`No routes matched location "${B.pathname}${B.search}${B.hash}" `),rt(J==null||J[J.length-1].route.element!==void 0||J[J.length-1].route.Component!==void 0||J[J.length-1].route.lazy!==void 0,`Matched leaf route at location "${B.pathname}${B.search}${B.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Yg(J&&J.map(I=>Object.assign({},I,{params:Object.assign({},y,I.params),pathname:Dl([x,d.encodeLocation?d.encodeLocation(I.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathname]),pathnameBase:I.pathnameBase==="/"?x:Dl([x,d.encodeLocation?d.encodeLocation(I.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathnameBase])})),v,f,o,s)}function Bg(){let i=Qg(),r=Wu(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),f=i instanceof Error?i.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},d={padding:"2px 4px",backgroundColor:o},v=null;return console.error("Error handled by React Router default ErrorBoundary:",i),v=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:d},"ErrorBoundary")," or"," ",C.createElement("code",{style:d},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},r),f?C.createElement("pre",{style:s},f):null,v)}var Hg=C.createElement(Bg,null),Lg=class extends C.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,r){return r.location!==i.location||r.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:r.error,location:r.location,revalidation:i.revalidation||r.revalidation}}componentDidCatch(i,r){this.props.unstable_onError?this.props.unstable_onError(i,r):console.error("React Router caught the following error during render",i)}render(){return this.state.error!==void 0?C.createElement(El.Provider,{value:this.props.routeContext},C.createElement(sf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function qg({routeContext:i,match:r,children:f}){let o=C.useContext(ln);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),C.createElement(El.Provider,{value:i},f)}function Yg(i,r=[],f=null,o=null,s=null){if(i==null){if(!f)return null;if(f.errors)i=f.matches;else if(r.length===0&&!f.initialized&&f.matches.length>0)i=f.matches;else return null}let d=i,v=f?.errors;if(v!=null){let m=d.findIndex(x=>x.route.id&&v?.[x.route.id]!==void 0);Te(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(v).join(",")}`),d=d.slice(0,Math.min(d.length,m+1))}let g=!1,y=-1;if(f)for(let m=0;m<d.length;m++){let x=d[m];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(y=m),x.route.id){let{loaderData:E,errors:N}=f,B=x.route.loader&&!E.hasOwnProperty(x.route.id)&&(!N||N[x.route.id]===void 0);if(x.route.lazy||B){g=!0,y>=0?d=d.slice(0,y+1):d=[d[0]];break}}}return d.reduceRight((m,x,E)=>{let N,B=!1,G=null,k=null;f&&(N=v&&x.route.id?v[x.route.id]:void 0,G=x.route.errorElement||Hg,g&&(y<0&&E===0?(ev("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,k=null):y===E&&(B=!0,k=x.route.hydrateFallbackElement||null)));let J=r.concat(d.slice(0,E+1)),Q=()=>{let I;return N?I=G:B?I=k:x.route.Component?I=C.createElement(x.route.Component,null):x.route.element?I=x.route.element:I=m,C.createElement(qg,{match:x,routeContext:{outlet:m,matches:J,isDataRoute:f!=null},children:I})};return f&&(x.route.ErrorBoundary||x.route.errorElement||E===0)?C.createElement(Lg,{location:f.location,revalidation:f.revalidation,component:G,error:N,children:Q(),routeContext:{outlet:null,matches:J,isDataRoute:!0},unstable_onError:o}):Q()},null)}function df(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Gg(i){let r=C.useContext(ln);return Te(r,df(i)),r}function Xg(i){let r=C.useContext(Pu);return Te(r,df(i)),r}function Vg(i){let r=C.useContext(El);return Te(r,df(i)),r}function hf(i){let r=Vg(i),f=r.matches[r.matches.length-1];return Te(f.route.id,`${i} can only be used on routes that contain a uniqu Line truncated
+3
View File
@@ -0,0 +1,3 @@
<svg width="60px" height="60px" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M34.325 52.5C33.8855 53.2577 33.2546 53.8866 32.4956 54.3238C31.7365 54.761 30.8759 54.9911 30 54.9911C29.1241 54.9911 28.2635 54.761 27.5044 54.3238C26.7454 53.8866 26.1145 53.2577 25.675 52.5M45 20C45 16.0218 43.4196 12.2064 40.6066 9.3934C37.7936 6.58035 33.9782 5 30 5C26.0218 5 22.2064 6.58035 19.3934 9.3934C16.5804 12.2064 15 16.0218 15 20C15 37.5 7.5 42.5 7.5 42.5H52.5C52.5 42.5 45 37.5 45 20Z" stroke="#1E1E1E" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 605 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>

After

Width:  |  Height:  |  Size: 222 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

+2 -2
View File
@@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sae-front</title>
<script type="module" crossorigin src="/assets/index-Hf0teXvl.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cv4kaukA.css">
<script type="module" crossorigin src="/assets/index-F5-D1tpH.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CGb94hkx.css">
</head>
<body>
<div id="root"></div>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M480-492.31q-57.75 0-98.87-41.12Q340-574.56 340-632.31q0-57.75 41.13-98.87 41.12-41.13 98.87-41.13 57.75 0 98.87 41.13Q620-690.06 620-632.31q0 57.75-41.13 98.88-41.12 41.12-98.87 41.12ZM180-187.69v-88.93q0-29.38 15.96-54.42 15.96-25.04 42.66-38.5 59.3-29.07 119.65-43.61 60.35-14.54 121.73-14.54t121.73 14.54q60.35 14.54 119.65 43.61 26.7 13.46 42.66 38.5Q780-306 780-276.62v88.93H180Zm60-60h480v-28.93q0-12.15-7.04-22.5-7.04-10.34-19.11-16.88-51.7-25.46-105.42-38.58Q534.7-367.69 480-367.69q-54.7 0-108.43 13.11-53.72 13.12-105.42 38.58-12.07 6.54-19.11 16.88-7.04 10.35-7.04 22.5v28.93Zm240-304.62q33 0 56.5-23.5t23.5-56.5q0-33-23.5-56.5t-56.5-23.5q-33 0-56.5 23.5t-23.5 56.5q0 33 23.5 56.5t56.5 23.5Zm0-80Zm0 384.62Z"/></svg>

After

Width:  |  Height:  |  Size: 844 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m80-280 150-400h86l150 400h-82l-34-96H196l-32 96H80Zm140-164h104l-48-150h-6l-50 150Zm328 164v-76l202-252H556v-72h282v76L638-352h202v72H548ZM360-760l120-120 120 120H360ZM480-80 360-200h240L480-80Z"/></svg>

After

Width:  |  Height:  |  Size: 320 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor">
<path d="M 480,-880 360,-760 H 600 Z M 360,-200 480,-80 600,-200 Z" />
<path d="M 71.679924,-674.40094 H 398.50264 v 60.67705 l -208.59362,252.3436 h 214.5832 v 75.7812 H 65.690344 v -60.67705 L 274.28397,-598.61973 H 71.679924 Z" />
<path d="M 769.04932,-356.43238 H 612.27858 l -24.73957,70.83329 H 486.75782 l 144.01033,-388.80185 h 119.53118 l 144.01033,388.80185 H 793.52847 Z m -131.77076,-72.13537 h 106.51035 l -53.12496,-154.68741 z" />
</svg>

After

Width:  |  Height:  |  Size: 545 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M340-160q-125 0-212.5-87.5T40-460q0-125 87.5-212.5T340-760q52 0 98 16.5t84 45.5l42-42 56 56-42 42q29 38 45.5 84.5T640-460q0 125-87.5 212.5T340-160Zm440 0L640-300l56-56 44 44v-488h80v487l43-43 57 56-140 140ZM240-800v-80h200v80H240Zm100 560q92 0 156-64t64-156q0-92-64-156t-156-64q-92 0-156 64t-64 156q0 92 64 156t156 64Zm-40-180h80v-200h-80v200Zm40-40Z"/></svg>

After

Width:  |  Height:  |  Size: 475 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M340-160q-125 0-212.5-87.5T40-460q0-125 87.5-212.5T340-760q52 0 98 16.5t84 45.5l42-42 56 56-42 42q29 38 45.5 84.5T640-460q0 125-87.5 212.5T340-160Zm400 0v-488l-44 44-56-56 140-140 140 140-57 56-43-43v487h-80ZM240-800v-80h200v80H240Zm100 560q92 0 156-64t64-156q0-92-64-156t-156-64q-92 0-156 64t-64 156q0 92 64 156t156 64Zm-40-180h80v-200h-80v200Zm40-40Z"/></svg>

After

Width:  |  Height:  |  Size: 477 B

+1
View File
@@ -27,3 +27,4 @@ Route::middleware(['web', 'auth:sanctum'])->delete('/events/{id}', [EventsContro
Route::middleware(['web', 'auth:sanctum'])->get('/events/search', [SearchController::class, "searchEvents"]);
Route::middleware(['web', 'auth:sanctum'])->get('/events/{id}', [EventsController::class, "getEvent"]);
+1 -3
View File
@@ -10,9 +10,7 @@ use App\Http\Controllers\TasksController;
Route::middleware(['web', 'auth:sanctum'])->get('/users/me', function (Request $request) {
return $request->user();
});
Route::middleware(['web', 'auth:sanctum'])->get('/users/me', [UserController::class, "me"]);
Route::middleware(['web', 'auth:sanctum'])->delete('/users', [UserController::class, "delete"]);
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Regular → Executable
View File
File mode changed.
+20
View File
@@ -0,0 +1,20 @@
meta {
name: Get event
type: http
seq: 7
}
get {
url: {{url}}/api/events/{{id}}
body: none
auth: inherit
}
vars:pre-request {
id:
}
settings {
encodeUrl: true
timeout: 0
}
+2 -2
View File
@@ -18,8 +18,8 @@ body:json {
}
vars:pre-request {
email: test@example.com
password: password
email: quentin@test.fr
password: azerty
}
assert {