Le projet demande de pouvoir authentifier les utilisateurs présents. Le but étant de leurs associer un "contexte"
(cours, informations personnelles, ...). Pour que ceux-ci puissent accomplir différentes actions nécéssitantes une
identification (permission, info personelles, ...).
## Méthode
Lorsque qu'un utilisateur se connecte au serveur, nous lui envoyons un token qui sera stocké dans le
navigateur. Ce token est unique à l'utilisateur et pourra être ré-envoyé dans les futures requêtes
pour identifier l'utilisateur.
Ce token est donc une chaine de 64 caractères suivant la norme ISO_8859_1(8bits par cararctère) aléatoires,ce qui est d'après nos recherches suffisant.
De plus une limite de 5 token par utilisateur sera ajoutée de sorte à
1) S'assurer qu'une personne ne noie la base de donnée de tokens.
2) Ajouter une protection supplémentaire pour assurer qu'un token est bien unique à un utilisateur.
## Autres méthodes envisagée
### Oauth2
C'est un protocol d'identification vastement utilisé permettant, en plus d'identifier les requettes,
de gérer leurs permissions. Un utilisateur créen un token peut lui attribuer des permissions
spécifique qui restrainderaients les permissions d'utilisation de ce token. C'est très utile pour
déployer des api de site pouvant notament être accédé par des ordinateurs / bots. Ca n'est en
revanche pas l'objectif du projet et l'option n'a donc pas été retenue
### Spring Sessions / Tomcat sessions
Il aurait été possible de laisser une librairie automatiser les sessions. Malheuresement, celà
implique de devoir se plier au format de la dite librairie. L'implémentation d'un système de gestion
de token maison semblai à la fois, non-imposible et interessant à notre apprentisage. C'est pourquoi
- Maxime Bartha: Extension publication scientifique
- William Karpinski: Extension gestion des horaires
- Léo Moulin: Extension inscription des étudiants
## Dévelopement
```
$ ./gradlew backend:run frontend:run --parallel
```
permet de lancer le frontend sur [http://localhost:5173](http://localhost:5173) ansi que le frontend sur [http://localhost:8080](http://localhost:8080)
varjK=Object.defineProperty;varMK=(e,t,r)=>tine?jK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;varie=(e,t,r)=>(MK(e,typeoft!="symbol"?t+"":t,r),r),DK=(e,t,r)=>{if(!t.has(e))throwTypeError("Cannot "+r)};varfp=(e,t,r)=>(DK(e,t,"read from private field"),r?r.call(e):t.get(e)),RE=(e,t,r)=>{if(t.has(e))throwTypeError("Cannot add the same private member more than once");tinstanceofWeakSet?t.add(e):t.set(e,r)};functionM2(e,t){for(varr=0;r<t.length;r++){constn=t[r];if(typeofn!="string"&&!Array.isArray(n)){for(constiinn)if(i!=="default"&&!(iine)){consts=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}returnObject.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){constt=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(constiofdocument.querySelectorAll('link[rel="modulepreload"]'))n(i);newMutationObserver(i=>{for(constsofi)if(s.type==="childList")for(constoofs.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});functionr(i){consts={};returni.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}functionn(i){if(i.ep)return;i.ep=!0;consts=r(i);fetch(i.href,s)}})();varen=typeofglobalThis<"u"?globalThis:typeofwindow<"u"?window:typeofglobal<"u"?global:typeofself<"u"?self:{};functionTt(e){returne&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}functionFK(e){if(e.__esModule)returne;vart=e.default;if(typeoft=="function"){varr=functionn(){returnthisinstanceofn?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}elser={};returnObject.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){vari=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){returne[n]}})}),r}varnd={},LK=nd.byteLength=qK,BK=nd.toByteArray=KK,UK=nd.fromByteArray=GK,so=[],is=[],VK=typeofUint8Array<"u"?Uint8Array:Array,IE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(varzu=0,zK=IE.length;zu<zK;++zu)so[zu]=IE[zu],is[IE.charCodeAt(zu)]=zu;is[45]=62;is[95]=63;functionE3(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");r===-1&&(r=t);varn=r===t?0:4-r%4;return[r,n]}functionqK(e){vart=E3(e),r=t[0],n=t[1];return(r+n)*3/4-n}functionWK(e,t,r){return(t+r)*3/4-r}functionKK(e){vart,r=E3(e),n=r[0],i=r[1],s=newVK(WK(e,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c<l;c+=4)t=is[e.charCodeAt(c)]<<18|is[e.charCodeAt(c+1)]<<12|is[e.charCodeAt(c+2)]<<6|is[e.charCodeAt(c+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=t&255;returni===2&&(t=is[e.charCodeAt(c)]<<2|is[e.charCodeAt(c+1)]>>4,s[o++]=t&255),i===1&&(t=is[e.charCodeAt(c)]<<10|is[e.charCodeAt(c+1)]<<4|is[e.charCodeAt(c+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}functionHK(e){returnso[e>>18&63]+so[e>>12&63]+so[e>>6&63]+so[e&63]}functionJK(e,t,r){for(varn,i=[],s=t;s<r;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(HK(n));returni.join("")}functionGK(e){for(vart,r=e.length,n=r%3,i=[],s=16383,o=0,l=r-n;o<l;o+=s)i.push(JK(e,o,o+s>l?l:o+s));returnn===1?(t=e[r-1],i.push(so[t>>2]+so[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],i.push(so[t>>10]+so[t>>4&63]+so[t<<2&63]+"=")),i.join("")}constYK=M2({__proto__:null,byteLength:LK,default:nd,fromByteArray:UK,toByteArray:BK},[nd]);varyy={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */varXK=yy.read=function(e,t,r,n,i){vars,o,l=i*8-n-1,c=(1<<l)-1,h=c>>1,v=-7,y=r?i-1:0,S=r?-1:1,b=e[t+y];for(y+=S,s=b&(1<<-v)-1,b>>=-v,v+=l;v>0;s=s*256+e[t+y],y+=S,v-=8);for(o=s&(1<<-v)-1,s>>=-v,v+=n;v>0;o=o*256+e[t+y],y+=S,v-=8);if(s===0)s=1-h;else{if(s===c)returno?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-h}return(b?-1:1)*o*Math.pow(2,s-n)},QK=yy.write=function(e,t,r,n,i,s){varo,l,c,h=s*8-i-1,v=(1<<h)-1,y=v>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:s-1,_=n?1:-1,$=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=v):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+y>=1?t+=S/c:t+=S*Math.pow(2,1-y),t*c>=2&&(o++,c/=2),o+y>=v?(l=0,o=v):o+y>=1?(l=(t*c-1)*Math.pow(2,i),o=o+y):(l=t*Math.pow(2,y-1)*Math.pow(2,i),o=0));i>=8;e[r+b]=l&255,b+=_,l/=256,i-=8);for(o=o<<i|l,h+=i;h>0;e[r+b]=o&255,b+=_,o/=256,h-=8);e[r+b-_]|=$*128};constZK=M2({__proto__:null,default:yy,read:XK,write:QK},[yy]);varS3={exports:{}},Yt={};/**
*/var Ud=Symbol.for("react.element"),eH=Symbol.for("react.portal"),tH=Symbol.for("react.fragment"),rH=Symbol.for("react.strict_mode"),nH=Symbol.for("react.profiler"),iH=Symbol.for("react.provider"),sH=Symbol.for("react.context"),oH=Symbol.for("react.forward_ref"),aH=Symbol.for("react.suspense"),lH=Symbol.for("react.memo"),uH=Symbol.for("react.lazy"),iP=Symbol.iterator;function cH(e){return e===null||typeof e!="object"?null:(e=iP&&e[iP]||e["@@iterator"],typeof e=="function"?e:null)}var w3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_3=Object.assign,x3={};function Qc(e,t,r){this.props=e,this.context=t,this.refs=x3,this.updater=r||w3}Qc.prototype.isReactComponent={};Qc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Qc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function A3(){}A3.prototype=Qc.prototype;function D2(e,t,r){this.props=e,this.context=t,this.refs=x3,this.updater=r||w3}var F2=D2.prototype=new A3;F2.constructor=D2;_3(F2,Qc.prototype);F2.isPureReactComponent=!0;var sP=Array.isArray,O3=Object.prototype.hasOwnProperty,L2={current:null},C3={key:!0,ref:!0,__self:!0,__source:!0};function $3(e,t,r){var n,i={},s=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)O3.call(t,n)&&!C3.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var c=Array(l),h=0;h<l;h++)c[h]=arguments[h+2];i.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:Ud,type:e,key:s,ref:o,props:i,_owner:L2.current}}function fH(e,t){return{$$typeof:Ud,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function B2(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ud}function pH(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){returnt[r]})}varoP=/\/+/g;functionNE(e,t){returntypeofe=="object"&&e!==null&&e.key!=null?pH(""+e.key):t.toString(36)}functionUg(e,t,r,n,i){vars=typeofe;(s==="undefined"||s==="boolean")&&(e=null);varo=!1;if(e===null)o=!0;elseswitch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){caseUd:caseeH:o=!0}}if(o)returno=e,i=i(o),e=n===""?"."+NE(o,0):n,sP(i)?(r="",e!=null&&(r=e.replace(oP,"$&/")+"/"),Ug(i,t,r,"",function(h){returnh})):i!=null&&(B2(i)&&(i=fH(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(oP,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",sP(e))for(varl=0;l<e.length;l++){s=e[l];varc=n+NE(s,l);o+=Ug(s,t,r,c,i)}elseif(c=cH(e),typeofc=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=n+NE(s,l++),o+=Ug(s,t,r,c,i);elseif(s==="object")throwt=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");returno}functionQm(e,t,r){if(e==null)returne;varn=[],i=0;returnUg(e,n,"","",function(s){returnt.call(r,s,i++)}),n}functiondH(e){if(e._status===-1){vart=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)returne._result.default;throwe._result}varZn={current:null},Vg={transition:null},hH={ReactCurrentDispatcher:Zn,ReactCurrentBatchConfig:Vg,ReactCurrentOwner:L2};Yt.Children={map:Qm,forEach:function(e,t,r){Qm(e,function(){t.apply(this,arguments)},r)},count:function(e){vart=0;returnQm(e,function(){t++}),t},toArray:function(e){returnQm(e,function(t){returnt})||[]},only:function(e){if(!B2(e))throwError("React.Children.only expected to receive a single React element child.");returne}};Yt.Component=Qc;Yt.Fragment=tH;Yt.Profiler=nH;Yt.PureComponent=D2;Yt.StrictMode=rH;Yt.Suspense=aH;Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hH;Yt.cloneElement=function(e,t,r){if(e==null)throwError("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");varn=_3({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void0&&(s=t.ref,o=L2.current),t.key!==void0&&(i=""+t.key),e.type&&e.type.defaultProps)varl=e.type.defaultProps;for(cint)O3.call(t,c)&&!C3.hasOwnProperty(c)&&(n[c]=t[c]===void0&&l!==void0?l[c]:t[c])}varc=arguments.length-2;if(c===1)n.children=r;elseif(1<c){l=Array(c);for(varh=0;h<c;h++)l[h]=arguments[h+2];n.children=l}return{$$typeof:Ud,type:e.type,key:i,ref:s,props:n,_owner:o}};Yt.createContext=function(e){returne={$$typeof:sH,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:iH,_conLine truncated
`;return l.replace(/\n$/,"")}var aue=oue,lue=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],uue=["scalar","sequence","mapping"];function cue(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function fue(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(lue.indexOf(r)===-1)throw new Hn('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=cue(t.styleAliases||null),uue.indexOf(this.kind)===-1)throw new Hn('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var An=fue;function pR(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function pue(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Hw(e){return this.extend(e)}Hw.prototype.extend=function(t){var r=[],n=[];if(t instanceof An)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new Hn("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof An))throw new Hn("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new Hn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new Hn("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof An))throw new Hn("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Hw.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=pR(i,"implicit"),i.compiledExplicit=pR(i,"explicit"),i.compiledTypeMap=pue(i.compiledImplicit,i.compiledExplicit),i};var BD=Hw,UD=new An("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),VD=new An("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),zD=new An("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),qD=new BD({explicit:[UD,VD,zD]});function due(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function hue(){return null}function mue(e){return e===null}var WD=new An("tag:yaml.org,2002:null",{kind:"scalar",resolve:due,construct:hue,predicate:mue,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function gue(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function yue(e){return e==="true"||e==="True"||e==="TRUE"}function vue(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var KD=new An("tag:yaml.org,2002:bool",{kind:"scalar",resolve:gue,construct:yue,predicate:vue,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function bue(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Eue(e){return 48<=e&&e<=55}function Sue(e){return 48<=e&&e<=57}function wue(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!bue(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!Eue(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!Sue(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function _ue(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if
Line truncated
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?" ":e===95?"":e===76?"\u2028":e===80?"\u2029":""}function rce(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var uF=new Array(256),cF=new Array(256);for(var qu=0;qu<256;qu++)uF[qu]=mR(qu)?1:0,cF[qu]=mR(qu);function nce(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||mA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function fF(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=aue(r),new Hn(t,r)}function Et(e,t){throw fF(e,t)}function Ay(e,t){e.onWarning&&e.onWarning.call(null,fF(e,t))}var gR={YAML:function(t,r,n){var i,s,o;t.version!==null&&Et(t,"duplication of %YAML directive"),n.length!==1&&Et(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Et(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&Et(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Ay(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&Et(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],aF.test(i)||Et(t,"ill-formed tag handle (first argument) of the TAG directive"),Ja.call(t.tagMap,i)&&Et(t,'there is a previously declared suffix for "'+i+'" tag handle'),lF.test(s)||Et(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Et(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function La(e,t,r,n){var i,s,o,l;if(t<r){if(l=e.input.slice(t,r),n)for(i=0,s=l.length;i<s;i+=1)o=l.charCodeAt(i),o===9||32<=o&&o<=1114111||Et(e,"expected valid JSON character");else Yue.test(l)&&Et(e,"the stream contains non-printable characters");e.result+=l}}function yR(e,t,r,n){var i,s,o,l;for(ln.isObject(r)||Et(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,l=i.length;o<l;o+=1)s=i[o],Ja.call(t,s)||(t[s]=r[s],n[s]=!0)}function sc(e,t,r,n,i,s,o,l,c){var h,v;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),h=0,v=i.length;h<v;h+=1)Array.isArray(i[h])&&Et(e,"nested arrays are not supported inside keys"),typeof i=="object"&&hR(i[h])==="[object Object]"&&(i[h]="[object Object]");if(typeof i=="object"&&hR(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(h=0,v=s.length;h<v;h+=1)yR(e,t,s[h],r);else yR(e,t,s,r);else!e.json&&!Ja.call(r,i)&&Ja.call(t,i)&&(e.line=o||e.line,e.lineStart=l||e.lineStart,e.position=c||e.position,Et(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function gA(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Et(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Qr(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Jl(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(co(i))for(gA(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Ay(e,"deficient indentation"),n}function I0(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||di(r)))}function yA(e,t){t===1?e.result+=" ":t>1&&(e.result+=ln.repeat(`
`,t-1))}function ice(e,t,r){var n,i,s,o,l,c,h,v,y=e.kind,S=e.result,b;if(b=e.input.charCodeAt(e.position),di(b)||ic(b)||b===35||b===38||b===42||b===33||b===124||b===62||b===39||b===34||b===37||b===64||b===96||(b===63||b===45)&&(i=e.input.charCodeAt(e.position+1),di(i)||r&&ic(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,l=!1;b!==0;){if(b===58){if(i=e.input.charCodeAt(e.position+1),di(i)||r&&ic(i))break}else if(b===35){if(n=e.input.charCodeAt(e.position-1),di(n))break}else{if(e.position===e.lineStart&&I0(e)||r&&ic(b))break;if(co(b))if(c=e.line,h=e.lineStart,v=e.lineIndent,Qr(e,!1,-1),e.lineIndent>=t){l=!0,b=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=h,e.lineIndent=v;break}}l&&(La(e,s,o,!1),yA(e,e.line-c),s=o=e.position,l=!1),Jl(b)||(o=e.position+1),b=e.input.charCodeAt(++e.position)}return La(e,s,o,!1),e.result?!0:(e.kind=y,e.result=S,!1)}function sce(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(La(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else co(r)?(La(e,n,i,!0),yA(e,Qr(e,!1,t)),n=i=e.position):e.position===e.lineStart&&I0(e)?Et(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Et(e,"unexpected end of the stream within a single quoted scalar")}function oce(e,t){var r,n,i,s,o,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return La(e,r,e.position,!0),e.position++,!0;if(l===92){if(La(e,r,e.position,!0),l=e.input.charCodeAt(++e.position),co(l))Qr(e,!1,t);else if(l<256&&uF[l])e.result+=cF[l],e.position++;else if((o=ece(l))>0){for(i=o,s=0;i>0;i--)l=e.input.charCodeAt(++e.position),(o=Zue(l))>=0?s=(s<<4)+o:Et(e,"expected hexadecimal character");e.result+=rce(s),e.position++}else Et(e,"unknown escape sequence");r=n=e.position}else co(l)?(La(e,r,n,!0),yA(e,Qr(e,!1,t)),r=n=e.position):e.position===e.lineStart&&I0(e)?Et(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Et(e,"unexpected end of the stream within a double quoted scalar")}function ace(e,t){var r=!0,n,i,s,o=e.tag,l,c=e.anchor,h,v,y,S,b,_=Object.create(null),$,P,x,A;if(A=e.input.charCodeAt(e.position),A===91)v=93,b=!1,l=[];else if(A===123)v=125,b=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),A=e.input.charCodeAt(++e.position);A!==0;){if(Qr(e,!0,t),A=e.input.charCodeAt(e.position),A===v)return e.position++,e.tag=o,e.anchor=c,e.kind=b?"mapping":"sequence",e.result=l,!0;r?A===44&&Et(e,"expected the node content, but found ','"):Et(e,"missed comma between flow collection entries"),P=$=x=null,y=S=!1,A===63&&(h=e.input.charCodeAt(e.position+1),di(h)&&(y=S=!0,e.position++,Qr(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,Nc(e,t,_y,!1,!0),P=e.tag,$=e.result,Qr(e,!0,t),A=e.input.charCodeAt(e.position),(S||e.line===n)&&A===58&&(y=!0,A=e.input.charCodeAt(++e.position),Qr(e,!0,t),Nc(e,t,_y,!1,!0),x=e.result),b?sc(e,l,_,P,$,x,n,i,s):y?l.push(sc(e,null,_,P,$,x,n,i,s)):l.push($),Qr(e,!0,t),A=e.input.charCodeAt(e.position),A===44?(r=!0,A=e.input.charCodeAt(++e.position)):r=!1}Et(e,"unexpected end of the stream within a flow collection")}function lce(e,t){var r,n,i=UE,s=!1,o=!1,l=t,c=0,h=!1,v,y;if(y=e.input.charCodeAt(e.position),y===124)n=!1;else if(y===62)n=!0;else return!1;for(e.kind="scalar",e.result="";y!==0;)if(y=e.input.charCodeAt(++e.position),y===43||y===45)UE===i?i=y===43?dR:Gue:Et(e,"repeat of a chomping mode identifier");else if((v=tce(y))>=0)v===0?Et(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Et(e,"repeat of an indentation width identifier"):(l=t+v-1,o=!0);else break;if(Jl(y)){do y=e.input.charCodeAt(++e.position);while(Jl(y));if(y===35)do y=e.input.charCodeAt(++e.position);while(!co(y)&&y!==0)}for(;y!==0;){for(gA(e),e.lineIndent=0,y=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&y===32;)e.lineIndent++,y=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),co(y)){c++;continue}if(e.lineIndent<l){i===dR?e.result+=ln.repeat(`
`,s?1+c:c),s=!0,o=!0,c=0,r=e.position;!co(y)&&y!==0;)y=e.input.charCodeAt(++e.position);La(e,r,e.position,!1)}return!0}function vR(e,t){var r,n=e.tag,i=e.anchor,s=[],o,l=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Et(e,"tab characters must not be used in indentation")),!(c!==45||(o=e.input.charCodeAt(e.position+1),!di(o))));){if(l=!0,e.position++,Qr(e,!0,-1)&&e.lineIndent<=t){s.push(null),c=e.input.charCodeAt(e.position);continue}if(r=e.line,Nc(e,t,oF,!1,!0),s.push(e.result),Qr(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&c!==0)Et(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return l?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function uce(e,t,r){var n,i,s,o,l,c,h=e.tag,v=e.anchor,y={},S=Object.create(null),b=null,_=null,$=null,P=!1,x=!1,A;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=y),A=e.input.charCodeAt(e.position);A!==0;){if(!P&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Et(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(A===63||A===58)&&di(n))A===63?(P&&(sc(e,y,S,b,_,null,o,l,c),b=_=$=null),x=!0,P=!0,i=!0):P?(P=!1,i=!0):Et(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,A=n;else{if(o=e.line,l=e.lineStart,c=e.position,!Nc(e,r,sF,!1,!0))break;if(e.line===s){for(A=e.input.charCodeAt(e.position);Jl(A);)A=e.input.charCodeAt(++e.position);if(A===58)A=e.input.charCodeAt(++e.position),di(A)||Et(e,"a whitespace character is expected after the key-value separator within a block mapping"),P&&(sc(e,y,S,b,_,null,o,l,c),b=_=$=null),x=!0,P=!1,i=!1,b=e.tag,_=e.result;else if(x)Et(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=h,e.anchor=v,!0}else if(x)Et(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=h,e.anchor=v,!0}if((e.line===s||e.lineIndent>t)&&(P&&(o=e.line,l=e.lineStart,c=e.position),Nc(e,t,xy,!0,i)&&(P?_=e.result:$=e.result),P||(sc(e,y,S,b,_,$,o,l,c),b=_=$=null),Qr(e,!0,-1),A=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&A!==0)Et(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return P&&sc(e,y,S,b,_,null,o,l,c),x&&(e.tag=h,e.anchor=v,e.kind="mapping",e.result=y),x}function cce(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&Et(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):Et(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!di(o);)o===33&&(n?Et(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),aF.test(i)||Et(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),Que.test(s)&&Et(e,"tag suffix cannot contain flow indicator characters")}s&&!lF.test(s)&&Et(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{Et(e,"tag name is malformed: "+s)}return r?e.tag=s:Ja.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:Et(e,'undeclared tag handle "'+i+'"'),!0}function fce(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&Et(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!di(r)&&!ic(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Et(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function pce(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!di(n)&&!ic(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Et(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Ja.call(e.anchorMap,r)||Et(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Qr(e,!0,-1),!0}function Nc(e,t,r,n,i){var s,o,l,c=1,h=!1,v=!1,y,S,b,_,$,P;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=l=xy===r||oF===r,n&&Qr(e,!0,-1)&&(h=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;cce(e)||fce(e);)Qr(e,!0,-1)?(h=!0,l=s,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):l=!1;if(l&&(l=h||i),(c===1||xy===r)&&(_y===r||sF===r?$=t:$=t+1,P=e.position-e.lineStart,c===1?l&&(vR(e,P)||uce(e,P,$))||ace(e,$)?v=!0:(o&&lce(e,$)||sce(e,$)||oce(e,$)?v=!0:pce(e)?(v=!0,(e.tag!==null||e.anchor!=
Line truncated
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new nce(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,Et(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)dce(r);return r.documents}function hce(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=pF(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function mce(e,t){var r=pF(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new Hn("expected a single document in the stream, but found more")}}var gce=hce,yce=mce,dF={loadAll:gce,load:yce},hF=Object.prototype.toString,mF=Object.prototype.hasOwnProperty,vA=65279,vce=9,sd=10,bce=13,Ece=32,Sce=33,wce=34,Jw=35,_ce=37,xce=38,Ace=39,Oce=42,gF=44,Cce=45,Oy=58,$ce=61,kce=62,Tce=63,Pce=64,yF=91,vF=93,Rce=96,bF=123,Ice=124,EF=125,Bn={};Bn[0]="\\0";Bn[7]="\\a";Bn[8]="\\b";Bn[9]="\\t";Bn[10]="\\n";Bn[11]="\\v";Bn[12]="\\f";Bn[13]="\\r";Bn[27]="\\e";Bn[34]='\\"';Bn[92]="\\\\";Bn[133]="\\N";Bn[160]="\\_";Bn[8232]="\\L";Bn[8233]="\\P";var Nce=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],jce=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Mce(e,t){var r,n,i,s,o,l,c;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],l=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&mF.call(c.styleAliases,l)&&(l=c.styleAliases[l]),r[o]=l;return r}function Dce(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new Hn("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+ln.repeat("0",n-t.length)+t}var Fce=1,od=2;function Lce(e){this.schema=e.schema||mA,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=ln.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Mce(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?od:Fce,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function bR(e,t){for(var r=ln.repeat(" ",t),n=0,i=-1,s="",o,l=e.length;n<l;)i=e.indexOf(`
`))},"after:highlightElement":({result:se})=>{c.useBR&&(se.value=se.value.replace(/\n/g,"<br>"))}},A=/^(<[^>]+>|\t)+/gm,C={"after:highlightElement":({result:se})=>{c.tabReplace&&(se.value=se.value.replace(A,_e=>_e.replace(/\t/g,c.tabReplace)))}};function j(se){let _e=null;const Z=v(se);if(h(Z))return;be("before:highlightElement",{el:se,language:Z}),_e=se;const V=_e.textContent,q=Z?y(V,{language:Z,ignoreIllegals:!0}):_(V);be("after:highlightElement",{el:se,result:q,text:V}),se.innerHTML=q.value,P(se,Z,q.language),se.result={language:q.language,re:q.relevance,relavance:q.relevance},q.second_best&&(se.second_best={language:q.second_best.language,re:q.second_best.relevance,relavance:q.second_best.relevance})}function U(se){se.useBR&&(ts("10.3.0","'useBR' will be removed entirely in v11.0"),ts("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),c=dI(c,se)}const z=()=>{if(z.called)return;z.called=!0,ts("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(j)};function J(){ts("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ee=!0}let ee=!1;function Q(){if(document.readyState==="loading"){ee=!0;return}document.querySelectorAll("pre code").forEach(j)}function f(){ee&&Q()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",f,!1);function ce(se,_e){let Z=null;try{Z=_e(e)}catch(V){if(oS("Language definition for '{}' could not be registered.".replace("{}",se)),i)oS(V);else throw V;Z=l}Z.name||(Z.name=se),t[se]=Z,Z.rawDefinition=_e.bind(null,e),Z.aliases&&he(Z.aliases,{languageName:se})}function L(se){delete t[se];for(const _e of Object.keys(r))r[_e]===se&&delete r[_e]}function Fe(){return Object.keys(t)}function Xe(se){ts("10.4.0","requireLanguage will be removed entirely in v11."),ts("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const _e=Ye(se);if(_e)return _e;throw new Error("The '{}' language is required, but not loaded.".replace("{}",se))}function Ye(se){return se=(se||"").toLowerCase(),t[se]||t[r[se]]}function he(se,{languageName:_e}){typeof se=="string"&&(se=[se]),se.forEach(Z=>{r[Z.toLowerCase()]=_e})}function de(se){const _e=Ye(se);return _e&&!_e.disableAutodetect}function ge(se){se["before:highlightBlock"]&&!se["before:highlightElement"]&&(se["before:highlightElement"]=_e=>{se["before:highlightBlock"](Object.assign({block:_e.el},_e))}),se["after:highlightBlock"]&&!se["after:highlightElement"]&&(se["after:highlightElement"]=_e=>{se["after:highlightBlock"](Object.assign({block:_e.el},_e))})}function pe(se){ge(se),n.push(se)}function be(se,_e){const Z=se;n.forEach(function(V){V[Z]&&V[Z](_e)})}function ye(se){return ts("10.2.0","fixMarkup will be removed entirely in v11.0"),ts("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),$(se)}function Le(se){return ts("10.7.0","highlightBlock will be removed entirely in v12.0"),ts("10.7.0","Please use highlightElement now."),j(se)}Object.assign(e,{highlight:y,highlightAuto:_,highlightAll:Q,fixMarkup:ye,highlightElement:j,highlightBlock:Le,configure:U,initHighlighting:z,initHighlightingOnLoad:J,registerLanguage:ce,unregisterLanguage:L,listLanguages:Fe,getLanguage:Ye,registerAliases:he,requireLanguage:Xe,autoDetection:de,inherit:dI,addPlugin:pe,vuePlugin:xge(e).VuePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=wge;for(const se in ig)typeof ig[se]=="object"&&lL(ig[se]);return Object.assign(e,ig),e.addPlugin(x),e.addPlugin(Age),e.addPlugin(C),e};var $ge=Cge({}),kge=$ge,mL={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(t.printf=r);function r(){console.log(i.apply(null,arguments))}function n(s,o){return i.apply(null,[s].concat(o))}function i(s){for(var o=1,l=[].slice.call(arguments),c=0,h=s.length,v="",y,S=!1,b,_,$=!1,P,x=function(){return l[o++]},A=function(){for(var C="";/\d/.test(s[c]);)C+=s[c++],y=s[c];return C.length>0?parseInt(C):null};c<h;++c)if(y=s[c],S)switch(S=!1,y=="."?($=!1,y=s[++c]):y=="0"&&s[c+1]=="."?($=!0,c+=2,y=s[c]):$=!0,P=A(),y){case"b":v+=parseInt(x(),10).toString(2);break;case"c":b=x(),typeof b=="string"||b instanceof String?v+=b:v+=String.fromCharCode(parseInt(b,10));break;case"d":v+=parseInt(x(),10);break;case"f":_=String(parseFloat(x()).toFixed(P||6)),v+=$?_:_.replace(/^0/,"");break;case"j":v+=JSON.stringify(x());break;case"o":v+="0"+parseInt(x(),10).toString(8);break;case"s":v+=x();break;case"x":v+="0x"+parseInt(x(),10).toString(16);break;case"X":v+="0x"+parseInt(x(),10).toString(16).toUpperCase();break;default:v+=y;break}else y==="%"?S=!0:v+=y;return v}})()})(mL);var Tge=mL.exports,Pge=Tge,rl=nl(Error),Rge=rl;rl.eval=nl(EvalError);rl.range=nl(RangeError);rl.reference=nl(ReferenceError);rl.syntax=nl(SyntaxError);rl.type=nl(TypeError);rl.uri=nl(URIError);rl.create=nl;function nl(e){return t.displayName=e.displayName||e
Line truncated
*/var SEe=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)i.hasOwnProperty(s)&&(n[s]=i[s])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),wEe=Object.prototype.hasOwnProperty;function u_(e,t){return wEe.call(e,t)}function c_(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var n=[];for(var i in e)u_(e,i)&&n.push(i);return n}function Ti(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function f_(e){for(var t=0,r=e.length,n;t<r;){if(n=e.charCodeAt(t),n>=48&&n<=57){t++;continue}return!1}return!0}function Ml(e){return e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function BL(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function p_(e){if(e===void 0)return!0;if(e){if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(p_(e[t]))return!0}else if(typeof e=="object"){for(var n=c_(e),i=n.length,s=0;s<i;s++)if(p_(e[n[s]]))return!0}}return!1}function BI(e,t){var r=[e];for(var n in t){var i=typeof t[n]=="object"?JSON.stringify(t[n],null,2):t[n];typeof i<"u"&&r.push(n+":"+i)}returnr.join(`
`)}var UL=function(e){SEe(t,e);function t(r,n,i,s,o){var l=this.constructor,c=e.call(this,BI(r,{name:n,index:i,operation:s,tree:o}))||this;return c.name=n,c.index=i,c.operation=s,c.tree=o,Object.setPrototypeOf(c,l.prototype),c.message=BI(r,{name:n,index:i,operation:s,tree:o}),c}return t}(Error),zr=UL,_Ee=Ti,lc={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var n=e[t];return delete e[t],{newDocument:r,removed:n}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:function(e,t,r){var n=pd(r,this.path);n&&(n=Ti(n));var i=Gl(r,{op:"remove",path:this.from}).removed;return Gl(r,{op:"add",path:this.path,value:i}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=pd(r,this.from);return Gl(r,{op:"add",path:this.path,value:Ti(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:dd(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},xEe={add:function(e,t,r){return f_(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){var n=e.splice(t,1);return{newDocument:r,removed:n[0]}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:lc.move,copy:lc.copy,test:lc.test,_get:lc._get};function pd(e,t){if(t=="")return e;var r={op:"_get",path:t};return Gl(e,r),r.value}function Gl(e,t,r,n,i,s){if(r===void 0&&(r=!1),n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=0),r&&(typeof r=="function"?r(t,0,e,t.path):Iy(t,0)),t.path===""){var o={newDocument:e};if(t.op==="add")return o.newDocument=t.value,o;if(t.op==="replace")return o.newDocument=t.value,o.removed=e,o;if(t.op==="move"||t.op==="copy")return o.newDocument=pd(e,t.from),t.op==="move"&&(o.removed=e),o;if(t.op==="test"){if(o.test=dd(e,t.value),o.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",s,t,e);return o.newDocument=e,o}else{if(t.op==="remove")return o.removed=e,o.newDocument=null,o;if(t.op==="_get")return t.value=e,o;if(r)throw new zr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",s,t,e);return o}}else{n||(e=Ti(e));var l=t.path||"",c=l.split("/"),h=e,v=1,y=c.length,S=void 0,b=void 0,_=void 0;for(typeof r=="function"?_=r:_=Iy;;){if(b=c[v],b&&b.indexOf("~")!=-1&&(b=BL(b)),i&&(b=="__proto__"||b=="prototype"&&v>0&&c[v-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&S===void 0&&(h[b]===void 0?S=c.slice(0,v).join("/"):v==y-1&&(S=t.path),S!==void 0&&_(t,0,e,S)),v++,Array.isArray(h)){if(b==="-")b=h.length;else{if(r&&!f_(b))throw new zr("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",s,t,e);f_(b)&&(b=~~b)}if(v>=y){if(r&&t.op==="add"&&b>h.length)throw new zr("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",s,t,e);var o=xEe[t.op].call(t,h,b,e);if(o.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",s,t,e);return o}}else if(v>=y){var o=lc[t.op].call(t,h,b,e);if(o.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",s,t,e);return o}if(h=h[b],r&&v<y&&(!h||typeof h!="object"))throw new zr("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",s,t,e)}}}function Pa(e,t,r,n,i){if(n===void 0&&(n=!0),i===void 0&&(i=!0),r&&!Array.isArray(t))throw new zr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(e=Ti(e));for(var s=new Array(t.length),o=0,l=t.length;o<l;o++)s[o]=Gl(e,t[o],r,!0,i,o),e=s[o].newDocument;return s.newDocument=e,s}function AEe(e,t,r){var n=Gl(e,t);if(n.test===!1)throw new zr("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument}function Iy(e,t,r,n){if(typeof e!="object"||e===null||Array.isArray(e))throw new zr("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);if(lc[e.op]){if(typeof e.path!="string")throw new zr("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(e.path.indexOf("/")!==0&&e.path.length>0)throw new zr('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if((e.op==="move"||e.op==="copy")&&typeof e.from!="string")throw new zr("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&e.value===void 0)throw new zr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&p_(e.value))throw new zr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERA
Line truncated
CAUSE:${n.stack}`)}}}const Kr=SCe;class wCe extends Kr{constructor(t,r){if(super(t,r),r!=null&&typeof r=="object"){const{cause:n,...i}=r;Object.assign(this,i)}}}const yh=wCe;class wn extends Kr{}class _Ce extends wn{}const fo=_Ce;class xCe extends Kr{constructor(r,n){super(r,{cause:n.cause});ie(this,"plugin");this.plugin=n.plugin}}const AO=async(e,t,r)=>{const n=await Promise.all(r.map(By([e],[t])));return r.filter((i,s)=>n[s])},OO=async(e,t,r)=>{let n;for(const i of r)try{const s=await i[e].call(i,...t);return{plugin:i,result:s}}catch(s){n=new xCe("Error while running plugin",{cause:s,plugin:i})}return Promise.reject(n)};class T_ extends Kr{}class CO extends Kr{}class ACe extends CO{}const t6=ACe;class OCe extends t6{}const r6=OCe,CCe=async(e,t)=>{const r=t.resolve.resolvers.map(i=>{const s=Object.create(i);return Object.assign(s,t.resolve.resolverOpts)}),n=await AO("canRead",e,r);if(hh(n))throw new r6(e.uri);try{const{result:i}=await OO("read",[e],n);return i}catch(i){throw new CO(`Errorwhilereadingfile"${e.uri}"`,{cause:i})}},$Ce=async(e,t)=>{const r=t.parse.parsers.map(i=>{const s=Object.create(i);return Object.assign(s,t.parse.parserOpts)}),n=await AO("canParse",e,r);if(hh(n))throw new r6(e.uri);try{const{plugin:i,result:s}=await OO("parse",[e],n);return!i.allowEmpty&&s.isEmpty?Promise.reject(new T_(`Errorwhileparsingfile"${e.uri}".Fileisempty.`)):s}catch(i){throw new T_(`Errorwhileparsingfile"${e.uri}"`,{cause:i})}},n6=async(e,t)=>{const r=nu({uri:gh(qr(e)),mediaType:t.parse.mediaType}),n=await CCe(r,t);return $Ce(nu({...r,data:n}),t)};function kCe(e){return e===null}var TCe=kCe,PCe=So,RCe=ri,ICe="[object Number]";function NCe(e){return typeof e=="number"||RCe(e)&&PCe(e)==ICe}var jCe=NCe,MCe=So,DCe=ri,FCe="[object Boolean]";function LCe(e){return e===!0||e===!1||DCe(e)&&MCe(e)==FCe}var BCe=LCe;let UCe=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Givenelement\`${t}\` is not an Element instance`);constr={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(r.attributes=this.serialiseObject(t.attributes));constn=this.serialiseContent(t.content);returnn!==void0&&(r.content=n),r}deserialise(t){if(!t.element)thrownewError("Given value is not an object containing an element name");constr=this.namespace.getElementClass(t.element),n=newr;n.element!==t.element&&(n.element=t.element),t.meta&&this.deserialiseObject(t.meta,n.meta),t.attributes&&this.deserialiseObject(t.attributes,n.attributes);consti=this.deserialiseContent(t.content);return(i!==void0||n.content===null)&&(n.content=i),n}serialiseContent(t){if(tinstanceofthis.namespace.elements.Element)returnthis.serialise(t);if(tinstanceofthis.namespace.KeyValuePair){constr={key:this.serialise(t.key)};returnt.value&&(r.value=this.serialise(t.value)),r}returnt&&t.map?t.length===0?void0:t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)returnthis.deserialise(t);if(t.key){constr=newthis.namespace.KeyValuePair(this.deserialise(t.key));returnt.value&&(r.value=this.deserialise(t.value)),r}if(t.map)returnt.map(this.deserialise,this)}returnt}serialiseObject(t){constr={};if(t.forEach((n,i)=>{n&&(r[i.toValue()]=this.serialise(n))}),Object.keys(r).length!==0)returnr}deserialiseObject(t,r){Object.keys(t).forEach(n=>{r.set(n,this.deserialise(t[n]))})}};varVCe=UCe,zCe=oA;functionqCe(e,t){returnzCe(e,t)}varWCe=qCe;letKCe=classi6{constructor(t,r){this.key=t,this.value=r}clone(){constt=newi6;returnthis.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}};varY0=KCe,HCe="Expected a function";functionJCe(e){if(typeofe!="function")thrownewTypeError(HCe);returnfunction(){vart=arguments;switch(t.length){case0:return!e.call(this);case1:return!e.call(this,t[0]);case2:return!e.call(this,t[0],t[1]);case3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}varX0=JCe;constGCe=X0;function$S(e){returntypeofe=="string"?t=>t.element===e:e.constructor&&e.extend?t=>tinstanceofe:e}lets6=classP_{constructor(t){this.elements=t||[]}toValue(){returnthis.elements.map(t=>t.toValue())}map(t,r){returnthis.elements.map(t,r)}flatMap(t,r){returnthis.map(t,r).reduce((n,i)=>n.concat(i),[])}compactMap(t,r){constn=[];returnthis.forEach(i=>{consts=t.bind(r)(i);s&&n.push(s)}),n}filter(t,r){returnt=$S(t),newP_(this.elements.filter(t,r))}reject(t,r){returnt=$S(t),newP_(this.elements.filter(GCe(t),r))}find(t,r){returnt=$S(t),this.elements.find(t,r)}forEach(t,r){this.elements.forEach(t,r)}reduce(t,r){returnthis.elements.reduce(t,r)}includes(t){returnthis.elements.some(r=>r.equals(t))}shift(){returnthis.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){returnthis.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){returnthis.elements[t]}getValue(t){constr=this.elements[t];if(r)retuLine truncated
`));const Xe=ce-9,Ye=Math.round(Math.random()*(Xe>15?15:Xe)),he=this.randomUUID(Xe);return`${he.substring(0,Ye)}${Fe}${he.substring(Ye)}${Ye.toString(16)}`}),b(this,"parseStamp",(ce,L)=>{if(L&&!/t0|t[1-9]\d{1,}/.test(L))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const Fe=L?L.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Ye=>{const he={$r:pe=>[...Array(pe)].map(()=>"r").join(""),$s:pe=>[...Array(pe)].map(()=>"s").join(""),$t:pe=>[...Array(pe)].map(()=>"t").join("")},de=Ye.slice(0,2),ge=parseInt(Ye.slice(2),10);return he[de](ge)}).replace(/^(.*?)(t{8,})(.*)$/g,(Ye,he,de)=>ce.substring(he.length,he.length+de.length)):ce;if(Fe.length===8)return new Date(parseInt(Fe,16)*1e3);if(Fe.length<10)throw new Error("Stamp length invalid");const Xe=parseInt(Fe.substring(Fe.length-1),16);return new Date(parseInt(Fe.substring(Xe,Xe+8),16)*1e3)}),b(this,"setCounter",ce=>{this.counter=ce});const z=h(h({},x),U);this.counter=0,this.debug=!1,this.dict=[],this.version=$;const{dictionary:J,shuffle:ee,length:Q,counter:f}=z;return this.uuidLength=Q,this.setDictionary(J,ee),this.setCounter(f),this.debug=z.debug,this.log(this.dict),this.log(`GeneratorinstantiatedwithDictionarySize${this.dictLength}andcountersetto${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};b(A,"default",A);var C=A;return S(_)})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(M6);var Z$e=M6.exports;const eke=Tt(Z$e);class tke extends yh{constructor(r,n){super(r,n);ie(this,"value");typeof n<"u"&&(this.value=n.value)}}const rke=tke,jO=Vt({props:{uuid:null,length:null,identityMap:null},init({length:e=6}={}){this.length=6,this.uuid=new eke({length:e}),this.identityMap=new WeakMap},methods:{identify(e){if(!un(e))throw new rke("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&Ft(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const t=new Wo(this.generateId());return this.identityMap.set(e,t),t},forget(e){return this.identityMap.has(e)?(this.identityMap.delete(e),!0):!1},generateId(){return this.uuid.randomUUID()}}});jO({length:6});class nke extends Array{constructor(){super(...arguments);ie(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new fo("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new fo("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new fo("latest method in MediaTypes class is not yet implemented.")}}const ike=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return un(e)&&(e.meta.length>0&&(n.meta=Ge(e.meta)),e.attributes.length>0&&(n.attributes=Ge(e.attributes))),Sh(n,r,{toolboxCreator:C6,visitorOptions:{nodeTypeGetter:mf}})},bs=e=>(t,r={})=>ike(t,{...r,Type:e});et.refract=bs(et);mr.refract=bs(mr);Wo.refract=bs(Wo);Ko.refract=bs(Ko);I_.refract=bs(I_);R_.refract=bs(R_);j_.refract=bs(j_);N_.refract=bs(N_);Jy.refract=bs(Jy);Gy.refract=bs(Gy);js.refract=bs(js);Yy.refract=bs(Yy);const ske=(e,t)=>{const r=new j6({predicate:e});return $n(t,r),new yd(r.result)},D6=(e,t)=>{const r=new j6({predicate:e,returnOnTrue:qt});return $n(t,r),aB(void 0,[0],r.result)},F6=e=>typeof(e==null?void 0:e.type)=="string"?e.type:mf(e),L6={EphemeralObject:["content"],EphemeralArray:["content"],...gf},B6=(e,t,{keyMap:r=L6,...n}={})=>$n(e,t,{keyMap:r,nodeTypeGetter:F6,nodePredicate:na,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});B6[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=L6,...r}={})=>$n[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:F6,nodePredicate:na,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});class oke{constructor(t){ie(this,"type","EphemeralArray");ie(this,"content",[]);ie(this,"reference");this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}}class ake{constructor(t){ie(this,"type","EphemeralObject");ie(this,"content",[]);ie(this,"reference");this.content=t,this.reference={}}toReference(){return this.reference}toOb
Line truncated
*/dC.parse=z6e;dC.serialize=q6e;var V6e=Object.prototype.toString,gg=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;functionz6e(e,t){if(typeofe!="string")thrownewTypeError("argument str must be a string");for(varr={},n=t||{},i=n.decode||W6e,s=0;s<e.length;){varo=e.indexOf("=",s);if(o===-1)break;varl=e.indexOf(";",s);if(l===-1)l=e.length;elseif(l<o){s=e.lastIndexOf(";",o-1)+1;continue}varc=e.slice(s,o).trim();if(r[c]===void0){varh=e.slice(o+1,l).trim();h.charCodeAt(0)===34&&(h=h.slice(1,-1)),r[c]=J6e(h,i)}s=l+1}returnr}functionq6e(e,t,r){varn=r||{},i=n.encode||K6e;if(typeofi!="function")thrownewTypeError("option encode is invalid");if(!gg.test(e))thrownewTypeError("argument name is invalid");vars=i(t);if(s&&!gg.test(s))thrownewTypeError("argument val is invalid");varo=e+"="+s;if(n.maxAge!=null){varl=n.maxAge-0;if(isNaN(l)||!isFinite(l))thrownewTypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(l)}if(n.domain){if(!gg.test(n.domain))thrownewTypeError("option domain is invalid");o+="; Domain="+n.domain}if(n.path){if(!gg.test(n.path))thrownewTypeError("option path is invalid");o+="; Path="+n.path}if(n.expires){varc=n.expires;if(!H6e(c)||isNaN(c.valueOf()))thrownewTypeError("option expires is invalid");o+="; Expires="+c.toUTCString()}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.partitioned&&(o+="; Partitioned"),n.priority){varh=typeofn.priority=="string"?n.priority.toLowerCase():n.priority;switch(h){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:thrownewTypeError("option priority is invalid")}}if(n.sameSite){varv=typeofn.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(v){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:thrownewTypeError("option sameSite is invalid")}}returno}functionW6e(e){returne.indexOf("%")!==-1?decodeURIComponent(e):e}functionK6e(e){returnencodeURIComponent(e)}functionH6e(e){returnV6e.call(e)==="[object Date]"||einstanceofDate}functionJ6e(e,t){try{returnt(e)}catch{returne}}/*!
`&&(k=k.slice(0,k.length-1))}catch(N){return console.error(N),"error: could not generate yaml example"}return k.replace(/\t/g," ")},KU=a=>(u,p,d)=>{const{fn:g}=a();if(u&&!u.xml&&(u.xml={}),u&&!u.xml.name){if(!u.$$ref&&(u.type||u.items||u.properties||u.additionalProperties))return`<?xmlversion="1.0"encoding="UTF-8"?>
`&&(k=k.slice(0,k.length-1))}catch(N){return console.error(N),"error: could not generate yaml example"}return k.replace(/\t/g," ")},AK=a=>(u,p,d)=>{const{fn:g}=a();if(u&&!u.xml&&(u.xml={}),u&&!u.xml.name){if(!u.$$ref&&(u.type||u.items||u.properties||u.additionalProperties))return`<?xmlversion="1.0"encoding="UTF-8"?>
<!--XMLexamplecannotbegenerated;rootelementnameisundefined-->`;if(u.$$ref){let E=u.$$ref.match(/\S*\/(\S+)$/);u.xml.name=E[1]}}return g.jsonSchema202012.memoizedCreateXMLExample(u,p,d)},OK=a=>(u,p="",d={},g=void 0)=>{const{fn:E}=a();return typeof(u==null?void 0:u.toJS)=="function"&&(u=u.toJS()),typeof(g==null?void 0:g.toJS)=="function"&&(g=g.toJS()),/xml/.test(p)?E.jsonSchema202012.getXmlSampleSchema(u,d,g):/(yaml|yml)/.test(p)?E.jsonSchema202012.getYamlSampleSchema(u,d,p,g):E.jsonSchema202012.getJsonSampleSchema(u,d,p,g)},eP=({getSystem:a})=>{const u=_K(a),p=xK(a),d=AK(a),g=OK(a);return{fn:{jsonSchema202012:{sampleFromSchema:QT,sampleFromSchemaGeneric:En,sampleEncoderAPI:WT,sampleFormatAPI:qm,sampleMediaTypeAPI:HT,createXMLExample:XT,memoizedSampleFromSchema:EK,memoizedCreateXMLExample:bK,getJsonSampleSchema:u,getYamlSampleSchema:p,getXmlSampleSchema:d,getSampleSchema:g}}}};function tP(){return[Uk,EE,VT,eP,hW]}const{GIT_DIRTY:CK,GIT_COMMIT:$K,PACKAGE_VERSION:kK,BUILD_TIME:TK}={PACKAGE_VERSION:"5.11.8",GIT_COMMIT:"g925ff51d",GIT_DIRTY:!0,BUILD_TIME:"Fri, 23 Feb 2024 11:44:58 GMT"};function Jm(a){We.versions=We.versions||{},We.versions.swaggerUi={version:kK,gitRevision:$K,gitDirty:CK,buildTimestamp:TK};const u={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:`${window.location.protocol}//${window.location.host}${window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`,persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:W=>W,responseInterceptor:W=>W,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[tP],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}};let p=a.queryConfigEnabled?(()=>{let W={},G=We.location.search;if(!G)return{};if(G!=""){let H=G.substr(1).split("&");for(let ne in H)Object.prototype.hasOwnProperty.call(H,ne)&&(ne=H[ne].split("="),W[decodeURIComponent(ne[0])]=ne[1]&&decodeURIComponent(ne[1])||"")}return W})():{};const d=a.domNode;delete a.domNode;const g=Q()({},u,a,p),E={system:{configs:g.configs},plugins:g.presets,pluginsOptions:g.pluginsOptions,state:Q()({layout:{layout:g.layout,filter:g.filter},spec:{spec:"",url:g.url},requestSnippets:g.requestSnippets},g.initialState)};if(g.initialState)for(var O in g.initialState)Object.prototype.hasOwnProperty.call(g.initialState,O)&&g.initialState[O]===void 0&&delete E.state[O];var k=new kn(E);k.register([g.plugins,()=>({fn:g.fn,components:g.components,state:g.state})]);var N=k.getSystem();const D=W=>{let G=N.specSelectors.getLocalConfig?N.specSelectors.getLocalConfig():{},H=Q()({},G,g,W||{},p);if(d&&(H.domNode=d),k.setConfigs(H),N.configsActions.loaded(),W!==null&&(!p.url&&typeof H.spec=="object"&&Object.keys(H.spec).length?(N.specActions.updateUrl(""),N.specActions.updateLoadingStatus("success"),N.specActions.updateSpec(JSON.stringify(H.spec))):N.specActions.download&&H.url&&!H.urls&&(N.specActions.updateUrl(H.url),N.specActions.download(H.url))),H.domNode)N.render(H.domNode,"App");else if(H.dom_id){let ne=document.querySelector(H.dom_id);N.render(ne,"App")}else H.dom_id===null||H.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return N},F=p.config||g.configUrl;return F&&N.specActions&&N.specActions.getConfigByUrl?(N.specActions.getConfigByUrl({url:F,loadRemoteConfig:!0,requestInterceptor:g.requestInterceptor,responseInterceptor:g.responseInterceptor},D),N):D()}Jm.System=kn,Jm.presets={base:Uk,apis:tP},Jm.plugins={Auth:$u,Configs:$o,DeepLining:Tu,Err:Pu,Filter:Vf,Icons:El,JSONSchema5Samples:E$,JSONSchema202012:VT,JSONSchema202012Samples:eP,Layout:Gf,Logs:Nu,OpenAPI30:EE,OpenAPI31:EE,OnComplete:Yf,RequestSnippets:ci,Spec:z$,SwaggerClient:Y$,Util:X$,View:nk,ViewLegacy:ik,DownloadUrl:sk,SafeRender:uk};var PK=Jm})();var Pze=DU.A;Pze({url:"openapi.yaml",dom_id:"#app"});
Userherobrine=newUser("brine","hero","admin@admin.com","in your WalLs","ShadowsLand",newGregorianCalendar(2005,4,3).getTime(),null,Role.Admin,"admin");
Userherobrinenul=newUser("brine","heronul","pasadmin@student.com","in your WalLs","ShadowsLand",newGregorianCalendar(2005,4,3).getTime(),null,Role.Admin,"admin");
//On va stocker les token qu'on va sauvegarder au préalable dans une liste pour tester que les tokens remplacés sont bien ceux avec la date d'expi la plus jeune
//A la fin il ne devrait donc rester que les 5 derniers tokens de tokenList
Loaded 100 of 118 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.