PageSourceSearch

https://pcscloud.net/FR/res/WD.js?3002cda21294c

js pcscloud.net collected 2026-09-24 18:09:30 UTC 483,382 bytes, 889 lines download raw bytes

1/*
2 30.0.1.0  VersionVI: 01A313016    */
3var __awaiter=this&&this.__awaiter||function(a,b,h,B){function y(p){return p instanceof h?p:new h(function(m){m(p)})}return new (h||(h=Promise))(function(p,m){function f(g){try{c(B.next(g))}catch(k){m(k)}}function d(g){try{c(B["throw"](g))}catch(k){m(k)}}function c(g){g.done?p(g.value):y(g.value).then(f,d)}c((B=B.apply(a,b||[])).next())})},NSPCS;
4(function(a){function b(g){if(g&&(g instanceof y||g.vbToBoolean))return g;if(g)return g[B]}function h(g,k,n){return{m_oValeur:g,m_eAffectation:k,m_iOptions:n}}const B=Symbol();a.ms_oSymbolDepuisWLEnV2=Symbol();a.ms_oSymbolFonctionOriginale=Symbol();class y{toString(g){return String(this.valueOf())}vnToNumber(g){g=this.valueOf();return"number"===typeof g?g:parseFloat(g)}vbToBoolean(){return a.NSUtil.bGetBooleen(this.valueOf())}toJSON(g){return this.valueOf()}_oPatchValueOf(g){g instanceof Object&&
5Object.defineProperty(g,B,{value:this});return g}}a.CBase=y;class p extends y{viGetMembre(g,k,n){k=!1===k?0:!0===k?1:k;return this.viGetMembre2(g,a.NSUtil.sGetFormatLogique(g),k,n)}viGetMembre2(g,k,n,C){C=(v,M)=>{M=M[k];if(void 0!==M)try{return this.viGetPropriete(v,M)}catch(G){}};C=C(0,m)||C(1,f);if(void 0!==C)return C;switch(n){case 1:throw new a.CErreur(616,g);}throw new a.CErreur(605,g);}viGetProprieteGenerique(g,k){if(void 0!==g[0])try{return this.viGetPropriete(0,g[0])}catch(n){}if(void 0!==
6g[1])try{return this.viGetPropriete(1,g[1])}catch(n){}if(void 0!==k)try{return this.viGetMembre(k,!1,4)}catch(n){}a.xThrow603(k)}}const m={ANNEE:0,YEAR:0,MOIS:1,MONTH:1,JOUR:2,DAY:2,HEURE:3,HOUR:3,MINUTE:4,SECONDE:5,SECOND:5,MILLISECONDE:6,MILLISECOND:6,PARTIEDATE:7,DATE:7,PARTIEHEURE:8,TIME:8,NOM:9,NAME:9,CLASSE:21,CLASS:21,OCCURRENCE:23,COUNT:23,VIDE:24,EMPTY:24,DEFAUT:25,DEFAULT:25,NBRECUS:26,NBRECEIVED:26,PARADRESSE:27,BYADDRESS:27,ENJOURS:28,INDAYS:28,ENHEURES:29,INHOURS:29,ENMINUTES:30,INMINUTES:30,
7ENSECONDES:31,INSECONDS:31,ENMILLISECONDES:32,INMILLISECONDS:32,VALEUR:35,VALUE:35,AVANT:36,BEFORE:36,APRES:37,AFTER:37,EXISTE:43,EXIST:43,PARREFERENCE:44,BYREFERENCE:44},f={NOM:0,NAME:0,VALEUR:1,VALUE:1,COULEUR:2,COLOR:2,COULEURFOND:3,BACKGROUNDCOLOR:3,OCCURRENCE:4,COUNT:4,ALIAS:5,IMAGE:6,VISIBLE:7,X:8,Y:9,CURSEURSOURIS:10,MOUSECURSOR:10,POLICEGRAS:11,FONTBOLD:11,POLICEITALIQUE:12,FONTITALIC:12,POLICENOM:13,FONTNAME:13,POLICESOULIGNEE:14,FONTUNDERLINED:14,POLICETAILLE:15,FONTSIZE:15,HAUTEUR:16,HEIGHT:16,
8LARGEUR:17,WIDTH:17,OPACITE:18,OPACITY:18,ENROULE:19,COLLAPSED:19,VALEURINFERIEURE:20,LOWERVALUE:20,VALEURSUPERIEURE:21,UPPERVALUE:21,MODECARTE:22,MAPMODE:22,ZOOM:23,CLASSEHTML:24,HTMLCLASS:24,INDICATION:25,HINT:25,ETAT:26,STATE:26,ENSAISIE:27,INPUTENABLED:27,GRISE:28,GRAYED:28,BORNEMIN:29,MINVALUE:29,BORNEMAX:30,MAXVALUE:30,PLAN:31,PLANE:31,TAUXPARALLAXEY:32,PARALLAXRATEY:32,TAUXPARALLAXEHAUTEUR:33,PARALLAXRATEHEIGHT:33,IMAGEFOND:34,BACKGROUNDIMAGE:34,BULLE:35,TOOLTIP:35,COULEURJAUGE:36,PROGRESSBARCOLOR:36,
9TYPE:37,BOUTONCALENDRIER:38,CALENDARBUTTON:38,NOTE:39,TITRENOTE:40,NOTETITLE:40,CONTENUINITIAL:41,INITIALCONTENT:41,ETATINITIAL:42,INITIALSTATE:42,VALEURINITIALE:43,INITIALVALUE:43,VISIBLEINITIAL:44,INITIALVISIBLE:44,XINITIAL:45,YINITIAL:46,NOMBRECOLONNE:47,NUMBERCOLUMN:47,TEXTEALTERNATIF:48,ALTERNATIVETEXT:48,VIDE:49,EMPTY:49,AXEXMIN:50,XAXISMIN:50,AXEXMAX:51,XAXISMAX:51,AXEYMIN:52,YAXISMIN:52,AXEYMAX:53,YAXISMAX:53,TEXTESANSFORMAT:54,TEXTWITHOUTFORMAT:54,VALEURAFFICHEE:55,DISPLAYEDVALUE:55,BULLETITRE:56,
10TOOLTIPTITLE:56,LIBELLE:57,CAPTION:57,LIBELLEHTML:58,CAPTIONHTML:58,TITRE:59,TITLE:59,DUREEANIMATION:60,ANIMATIONDURATION:60,URL:61,VIGNETTE:62,THUMBNAIL:62,VALEURRENVOYEE:63,RETURNEDVALUE:63,JETONSAISIEENCOURS:64,TOKENCURRENTINPUT:64,JETON:65,TOKEN:65,INFOTRAFIC:66,TRAFFICINFO:66,ANGLEROTATION:67,BEARING:67,ANGLEINCLINAISON:68,TILT:68,MODIFIE:69,MODIFIED:69,ATTRIBUTHTML:70,HTMLATTRIBUTE:70,LISTE:71,LIST:71,CARTE:72,CARD:72,NBCARTEMAX:73,MAXNBCARD:73,VALEURMEMORISEE:74,STOREDVALUE:74,EXTRA:75,CURSEURLIGNE:76,
11LINECURSOR:76,CURSEUR:77,CURSOR:77,FINCURSEUR:78,CURSOREND:78,"POLICEBARR\u00c9E":79,FONTSTRIKEOUT:79};a.iGetAsBase=b;a.iGetAsRValue=function(g,k){g=b(g);return void 0!==g?g.viGetRValue(k):void 0};a.iGetValeurInitiale=function(g,k,n){a.CDebug.s_Assert(void 0===g&&void 0===k||void 0!==k,"Soit oValeurInitiale et eAffectationValeurInitiale doivent \u00eatre soit les deux undefined soit les deux non undefined");return void 0!==g?{m_oValeur:g,m_eAffectation:k,m_iOptions:{m_bForceClone:n}}:void 0};a.iGetValeurAffectation=
12h;a.iGetValeurAffectationDepuisInitiale=function(g){return{m_oValeur:g.m_oValeur,m_eAffectation:g.m_eAffectation,m_iOptions:g.m_iOptions}};class d extends p{viGetRValue(g){return this}viGetAsLRValue(){return null}viGetPropriete(g,k){a.xThrow603_I(g,k)}viGetSousElement(g,k){throw new a.CErreur(602,"[ ]");}viGetIntervalle(g,k,n){throw new a.CErreur(602,"[[ ]]");}viGetAsRValueType(){return null}viGetAsTableau(){return null}viGetAsTableauAssociatif(){return null}viGetAsValeurMultiple(){}viGetAsInterfacePossible(){}viAppelFonction(...g){throw new a.CErreur(602,
13"()");}viAppelFonctionAsynchrone(...g){return new Promise((k,n)=>{const C=this.viAppelFonction.apply(this,g);
13if(107===C.veGetTypeWL()){const v=C.valueOf();if(v instanceof Promise)return v.then(k,n)}return a.NSTypes.ms_DescriptionFonction.viCreationCopie(k,3).viAppelFonction(C)})}}a.CIRValue=d;class c extends d{viGetAsLRValue(){return this}vSetValeur(g,k,n){return this.vSetValeur2(h(g,k,n))}}a.CIValue=c})(NSPCS||(NSPCS={}));const DEBUG=!1;
14(function(a){class b{static s_Assert(h,B){DEBUG&&console.assert(h,B)}}a.CDebug=b})(NSPCS||(NSPCS={}));
15(function(a){function b(y,p){if(void 0!==p)throw new B(603,a.NSProprietes.sGetNomPropriete(y,p));throw new B(603,y);}class h extends Error{constructor(y,p="Unknown error/Erreur inconnue."){super(p);this.number=y;this.name="WDError"}oGetInfo(y){switch(y){case 0:return this.number;default:return this.message;case 19:return this.number+"\n"+this.message}}xPropage(y){void 0!==y&&(this.message+="\n"+y);throw this;}}a.CErreurBase=h;class B extends h{constructor(y,...p){let m;typeof tabWDErrors!=="undefined"&&
16(m=tabWDErrors[y]||tabWDErrors[0],0<p.length&&(m=m.replace(/%(\d+)/g,function(f,d){d=p[d-1];return"undefined"!==typeof d?String(d):f})));super(y,m)}}a.CErreur=B;a.oCatchErreurs=function(y){try{return y()}catch(p){throw new h(0,p.message);}};a.xThrow603_I=b;a.xThrow603=function(y,p){b(y,p)}})(NSPCS||(NSPCS={}));
17(function(a){(function(b){function h(l){return-1!=navigator.userAgent.toLowerCase().indexOf(l)}function B(l){return l[1]}function y(l){return l[2]}function p(l,r,I){const x=[],H=l.length;for(let K=0;K<H;)r.every(function(ba){return ba[0].every(function(O){return l.substr(K,O.length)==O?(x.push(I(ba)),K+=O.length,!1):!0})})&&(x.push(l.charAt(K)),K++);return x}function m(l,r){l=l.m_eAffectation;if(!(r[l]||a.NSOperations.bDansDeserialisation&&2==l&&r[0]&&!r[1]))throw new a.CErreur(602,e[l]);}function f(l){const r=
18new l.constructor;b.bForEachIn(l,function(I,x){r[I]="object"===typeof x&&null!==x?f(x):x;return!0});return r}function d(l){const r={};b.bForEachIn(l,function(I,x){r[I]="object"===typeof x&&null!==x?d(x):x;return!0});return r}function c(l){function r(I){const x={wl:I.m_eTypeWL};void 0!==I.m_tabDimensions&&(x.dimensions=I.m_tabDimensions,x.type_sous_element=r(I.m_oTypeSousElement));void 0!==I.m_oTypeCle&&(x.type_cle=I.m_oTypeCle.m_eTypeWL,x.options=I.m_nOptions,x.type_valeur=r(I.m_oTypeValeur));void 0!==
19I.m_sNom&&(36===I.m_eTypeWL?x.wl=31:x.nom=I.m_sNom);void 0!==I.m_eComposante&&(x.composante=I.m_eComposante,x.dino=I.m_eDino);return x}if(void 0===l)return{type:{wl:0},value:void 0};l=a.NSValues.iAny2RValue(l);return{type:l.voJSONDebogueurType?r(l.voJSONDebogueurType()):{wl:l.veGetTypeWL()},value:l.toJSON(1)}}function g(l){return JSON.stringify(c(l))}function k(l){function r(x,H){x=void 0!==x.dimensions?{m_eWL:x.wl,m_oTypeWLSiTableau:new a.NSTypes.CDescriptionTableau(r(x.type_sous_element,!1),x.dimensions,
202,0)}:void 0!==x.type_cle?{m_eWL:x.wl,m_oTypeWLSiTableauAssociatif:new a.NSTypes.CDescriptionTableauAssociatif(x.options,void 0,r(x.type_valeur,!0),x.type_cle)}:void 0!==x.nom?{m_eWL:x.wl,m_sNomSiTypeDeclare:x.nom}:void 0!==x.composante?{m_eWL:x.wl,m_oTypeWLSiDINO:{m_eComposante:x.composante,m_eDino:x.dino}}:x.wl;return a.NSTypes.iGetDescription(x,H,!0)}if(0!==l.type.wl){var I=r(l.type,!1);try{return a.NSOperations.bDansDeserialisation=!0,I.viCreationCopie(l.value,0,!1)}finally{a.NSOperations.bDansDeserialisation=
21!1}}}function n(l){switch(typeof l){case "object":null!==l&&b.bForEachIn(l,function(r,I){n(I);return!0});break;case "string":(new Image).src=l}}function C(l){return JSON.parse(l)}function v(l){l=location.href.length<l.length||location.href.substring(location.href.length-l.length)!=l?location.href+l:location.href;const r=location.hash.length;if(r>0){const I=l.indexOf(location.hash);l=l.substring(0,I)+l.substring(I+r)}return l}function M(l){function r(x){Reflect.ownKeys(x).forEach(H=>M(x[H]));Object.freeze(x)}
22function I(x){x.forEach(H=>M(H));Object.freeze(x)}l instanceof Array?I(l):l instanceof Object&&r(l);return l}function G(l){return void 0!==l&&null!==l&&(l instanceof Object||"object"==typeof l)}b.ms_oDataPageAWPSansUI=function(){var l=document.currentScript;if(l&&(l=l.m_oDataPageAWPSansUI,void 0!==l))return l}();
22b.ms_bPageAWPSansUI=void 0!=b.ms_oDataPageAWPSansUI;b.ms_oFormulaireWEBDEV=b.ms_bPageAWPSansUI?void 0:document.forms[0];b.ms_sAliasPage=b.ms_oDataPageAWPSansUI?b.ms_oDataPageAWPSansUI.m_sAliasPage:
23b.ms_oFormulaireWEBDEV?b.ms_oFormulaireWEBDEV.name:"";b.bOpr=h("opera");b.bEdge=h("edge/");b.bFF=h("firefox/");b.bCrm=h("chrome/");b.bSfr=!b.bCrm&&h("safari");b.bWK=b.bCrm||b.bSfr;b.bTouch="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;b.bHTML5=null!==window.document.doctype&&window.document.doctype.publicId==="";b.ms_bPageAWP=document.location.pathname.toLowerCase().endsWith(".awp");b.ms_bRTL=(document.documentElement||document).dir==="rtl";b.bVersionNavInf=function(l){const r=
24/Version\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);return!!(r&&r[1]&&parseInt(r[1],10)<l)};b.ms_oTimeoutImmediat={};b.tabParseFormat=function(l,r){return p(l,r,B)};b.tabParseDeformat=function(l,r,I){I&&(l=b.sRemplaceEspaces(l));return p(l,r,y)};const e=["=","<-","<=","=","="];b.xVerifieAffectationUniquement=function(l){m(l,[!0,!1,!1,!0,!0])};b.xVerifieAffectationCopie=function(l){m(l,[!0,!1,!0,!0,!0])};b.xVerifieAffectationReference=function(l){m(l,[!0,!0,!1,!0,!0])};b.xVerifieAffectationAucune=
25function(l){throw new a.CErreur(602,e[l.m_eAffectation]);};b.oCloneObjet=function(l,r){function I(H){for(const K in H)x[K]=H[K]}const x=new I(r);I.prototype=l;return x};b.oCloneSimple=f;b.oCloneDansObjet=d;b.SupprimeToutMembres=function(l){G(l)&&Object.keys(l).forEach(function(r){delete this[r]},l)};b.sConstruitProcedureParams=function(l){return l.map(function(r,I){var x=a.iGetAsBase(r);x=x&&x.viGetAsLRValue()?"PR":"PV";r=encodeURIComponent(g(r));return x+(1+I)+"="+r}).join("&")};b.sMarshallingPageFenetreSimple=
26g;b.sMarshallingPageFenetreMultiple=function(l){return JSON.stringify(l.map(c))};b.xoMarshallingFenetrePageSimple=function(l){return k(JSON.parse(l))};b.xtabMarshallingFenetrePageMultiple=function(l){return JSON.parse(l).map(k)};b.PrechargeImage=n;b.oEvalJSON=function(l,r){return 0<l.length?C(l):r};b.xoEvalJSON=C;b.xsStringifyJSON=function(l,r){l=JSON.stringify(l);return r&&/[^\x00-\x7F]/.test(l)?l.replace(/./g,function(I){const x=I.charCodeAt(0);return x<128?I:"\\u"+b.sCompleteEntier(x,4,16)}):l};
27b.sGetPageAction=function(l=b.ms_oFormulaireWEBDEV,r=!1,I=!1,x=!1){l?l=l.action:(a.CDebug.s_Assert(b.ms_bPageAWPSansUI,"Pas de formulaire (et on n'est pas dans une page AWP sans UI)."),l=b.ms_oDataPageAWPSansUI?b.ms_oDataPageAWPSansUI.m_sURL:"");l.endsWith("#")&&(l=l.substring(0,l.length-1));if(l.length==0||l.startsWith("?"))l=-1!=location.href.indexOf(l)?v(""):v(l);x&&l.indexOf("/")==-1&&l.length>0&&l.toLowerCase().indexOf(".php")==-1&&(l="../"+l);r&&l.indexOf("?")!=-1&&(l=l.substring(0,l.indexOf("?")));
28I&&(l.indexOf("AWPID=")==-1&&"undefined"!=typeof _AWPID_A_?l+=l.indexOf("?")!=-1?_AWPID_A_:_AWPID_P_:"undefined"!=typeof _PHPID_&&(r=_PHPID_.split("="),r.length>0&&l.indexOf(r[0]+"=")==-1&&(l+=(l.indexOf("?")!=-1?"&":"?")+_PHPID_)));return l};b.sCheminImageRes=function(l,r,I=!1){l=l?l:("undefined"!=typeof _WDR_?_WDR_:_WD_)+"res/"+r;I||n(l);return l};b.oDecaleDateJour=function(l,r,I=!1){l.setTime(l.getTime()+r*864E5);I&&l.setUTCHours(0,0,0,0);return l};b.Freeze=M;b.bIsJQuery=function(l){return l&&
29("$"in window&&l instanceof $||l.jquery)};b.bIsObject=G;b.bIsObjectArray=function(l){return G(l)&&"length"in l};b.StorageSetItem=function(l,r,I){let x;switch(l){case 0:x=localStorage;break;case 1:x=sessionStorage}x.setItem(r,I)};b.StorageGetItem=function(l,r){let I;switch(l){case 0:I=localStorage;break;case 1:I=sessionStorage}return I.getItem(r)};b.StorageRemoveItem=function(l,r){let I;switch(l){case 0:I=localStorage;break;case 1:I=sessionStorage}I.removeItem(r)};b.StorageClear=function(l){let r;
30switch(l){case 0:r=localStorage;break;case 1:r=sessionStorage}r.clear()}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
31(function(a){(function(b){b.bForEach=function(B,y,p=B.length){for(let m=0;m<p;m++)if(!y(B[m],m))return!1;return!0};b.bForEachInverse=function(B,y,p=B.length-1){for(;0<=p;p--)if(!y(B[p],p))return!1;return!0};b.bForEachIn=function(B,y){for(const p in B)if(B.hasOwnProperty(p)&&!y(p,B[p]))return!1;return!0};b.SupprimeDansTableau=function(B,y){y=B.indexOf(y);return-1!=y?(B.splice(y,1),!0):!1};
31class h extends a.CIValue{viGetPropriete(B,y){if(a.NSProprietes.bEstProprieteVM(B,y))switch(y){case 23:return b.oGetProprieteSimple(()=>
32this.nGetNbElements(),null,8,B,y);case 24:return b.oGetProprieteVide(this,0,23,y)}return super.viGetPropriete(B,y)}viGetSousElement(B,y){const p=b.xnGetIndiceC(y[B],this.nGetNbElements(),this.eGetModeAgrandissement(),0);return b.iChaineSousElement(this.iGetSousElementIndice(p),B+1,y)}viGetAsTableau(){return this}vSetValeur2(B){return b.xVerifieAffectationAucune(B)}xiGetTableauCherche(){throw new a.CErreur(601);}xiGetTableauTri(){throw new a.CErreur(601);}xiGetTableauSupprime(){return this}xRedimensionne(){throw new a.CErreur(601);
33}xCopieDepuis(){throw new a.CErreur(601);}bDynamique(){return!0}InsereLigne(B,y){this.Insere(B,y[0])}nGetNbDimensions(){return 1}nGetUneDimension(B){return this.nGetNbElements()}nGetDimension0Pas(){return 1}viGetAsTableauType(){return null}}b.CCollection=h})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
34(function(a){(function(b){class h extends a.CIValue{toString(B){return this.viGetRValue(1).toString(B)}vnToNumber(B){return this.viGetRValue(1).vnToNumber(B)}vbToBoolean(){return this.viGetRValue(1).vbToBoolean()}valueOf(){return this.viGetRValue(1).valueOf()}toJSON(B=0){return this.viGetRValue(1).toJSON(B)}viGetMembre2(B,y,p,m){const f=this.viGetRValue(0);return f!==this?f.viGetMembre2(B,y,p,m):super.viGetMembre2(B,y,p,m)}viGetPropriete(B,y){const p=this.viGetRValue(0);return p!==this?p.viGetPropriete(B,
35y):super.viGetPropriete(B,y)}viGetSousElement(B,y){return this.viGetRValue(0).viGetSousElement(B,y)}viGetIntervalle(B,y,p){return this.viGetRValue(0).viGetIntervalle(B,y,p)}veGetTypeWL(B=1){return this.viGetRValue(B).veGetTypeWL(0)}viGetAsRValueType(){const B=this.viGetRValue(0);return B!==this?B.viGetAsRValueType():null}viGetAsTableau(){const B=this.viGetRValue(0);return B!==this?B.viGetAsTableau():null}viGetAsTableauAssociatif(){const B=this.viGetRValue(0);return B!==this?B.viGetAsTableauAssociatif():
36null}viAppelFonction(...B){const y=this.viGetRValue(0);if(y!==this)return y.viAppelFonction.apply(y,B);throw new a.CErreur(602,"()");}}b.CWrapperValue=h})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
37(function(a){(function(b){function h(f,d,c){d=d&&0<d.length?d.toUpperCase():"_BLANK_"+Date.now();c?open(f,d,c):open(f,d)}function B(f,d){if(!f)return null;f=f.frames;try{const k=f[d];if(k)return k}catch(k){}const c=d.toUpperCase();let g=null;Array.prototype.every.call(f,function(k){try{g=k.name.toUpperCase()==c?k:B(k,d)}catch(n){}return!g});return g}function y(f){let d=f.indexOf("?");const c=f.lastIndexOf("?");for(;d<c;)f=f.substring(0,d-1)+"&"+f.substring(d+1),d=f.lastIndexOf("?");return f}function p(f,
38d){if(d.substring(0,4)==="zrl_"){const c=d.indexOf("_",4);
38if(-1!==c){const g=d.substring(0,c+1)+"ATT_"+d.substring(c+1)+"_1";return function(k){return f(k+d)||f(k+g)}}}return function(c){return f(c+d)}}function m(f,d,c=!1,g=!1){function k(){const C=d.getElementById(f+"_");return C&&0<d.getElementsByName(f+"_AS").length?C:null}g=!g;const n=p(function(C){return d.getElementById(C)},f);return c?n("ztr")||n("dwwuz")||n("dwwcz")||n("dzczcon-")||n("dzcz")||n("cz")||n("dww")||n("dz")||n("bz")||n("tz")||
39n("ctz")||n("con-")||d.getElementById(f+"_HTE")||n("lz")||g&&k()||g&&n("")||null:g&&n("")||g&&k()||n("tz")||d.getElementById(f+"_HTE")||n("bz")||n("dz")||n("dww")||n("ztr")}b.sNormaliseURL=y;b.ChangeLocation=function(f,d,c,g){f=y(f);switch(d){case "_blank":h(f,c,g);return;case "_top":c=top;break;case "_parent":c=parent;break;case "_self":c=self;break;default:if((c=B(top,d))&&c.parent==self){open(f,d);return}}c&&c.document.location.assign(f)};b.RemplaceLocation=function(f,d,c,g){f=y(f);switch(d){case "_blank":h(f,
40c,g);return;case "_top":d=top;break;case "_parent":d=parent;break;case "_self":d=self;break;default:d=B(top,d)}d&&d.document.location.replace(f)}
40;b.SubmitLocation=function(f,d,c,g,k,n=""){const C=f.WD_BUTTON_CLICK_.value,v=f.target;d=y(d);f.WD_ACTION_.value=n;f.WD_BUTTON_CLICK_.value=d;d=1;switch(c){case "_blank":k&&(g=g&&0<g.length?g.toUpperCase():"_BLANK_"+Date.now(),h("",g,k),c=g,d=1E3);case "_self":case "_top":case "_parent":f.target=c;break;default:f.target=c.toUpperCase()}let M;try{b.bSfr&&
41(M=window.onpageshow)&&(window.onpageshow=null),f.submit()}catch(G){if(-2147467259!=G.number)throw G;}setTimeout(function(){f.target=v;f.WD_BUTTON_CLICK_.value=C;M&&(window.onpageshow=M)},d)};b.GetElementParId=m;b.GetElementParIdName=function(f,d,c=!1,g=!1){const k=p(function(n){return d.getElementsByName(n)[0]},f);return c?m(f,d,c,g)||k(""):k("")||m(f,d,c,g)}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
42(function(a){(function(b){function h(H){return H.normalize("NFD").replace(/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20D0-\u20ff]/g,"").toUpperCase()}function B(H,K){return H<K?-1:H>K?1:0}function y(H,K,ba){return String(p(H,a.NSValues.iAny2RValue(H),K,void 0,ba))}function p(H,K,ba,O,q){var z=void 0===O?0:O.veGetTypeWL();switch(K.veGetTypeWL()){case 1:return String(K);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:switch(z){case 1:return String(K);case 5:case 9:case 13:return m(K)}break;
43case 5:case 9:case 10:case 13:switch(z){case 1:return String(K);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:case 5:case 9:case 13:return m(K);default:return K.toString()}case 24:case 25:case 26:return K.sToStringAvecInvalide();case 27:return 16==z?K.toString():K.vnToNumber(0);case 28:return K.sPreparePourComparaison(O);case 36:case 37:case 61:case 107:case 141:case 143:case 159:case 169:case 170:if(z=K.viGetAsRValueType())return f(K,z);break;case 111:if(z=K.viGetAsRValueType()){a:{H=
44z;z=a.NSTypes.oGetDescriptionDINO(0,16);const R=H.viGetDescriptionType();if(R===z.m_oDescriptionStatique||R===z.m_oDescriptionDynamique)switch(z=H.vtGetValeurDirect().valueOf(),typeof z){case "undefined":K=null;break a;case "boolean":case "number":case "string":K=p(z,a.NSTypes.iNatif2RValue(z),ba,O,q);break a;default:case "object":case "function":if(null===z){K=null;break a}}K=f(K,H)}return K}break;case 135:return K.xvnPreparePourComparaison(O);case 136:return K.xvsPreparePourComparaison(O,q);case 151:switch(z){case 151:if(z=
45K.viGetAsRValueType())return b.xsStringifyJSON(z.vtGetValeurDirect(),!1)}throw new a.CErreur(601);}if(ba)return h(n(K.toString()));K=a.NSValues.oAny2Natif(H);if(void 0===K||null===K)return null;switch(typeof K){case "string":case "number":return K;default:return String(K)}}function m(H){let K=a.NSOperations.sNumeriqueVersChaine(H,"+077.38f");K=K.replace(/[\-]/g,"A").replace(/[\+]/g,"B");a.NSOperations.oNumerique(3,H)&&(K=K.replace(/\d/g,function(ba){return String.fromCharCode(105-ba.charCodeAt(0))}));
46return K}function f(H,K){K=K.vtGetValeurDirect();try{if(K instanceof Object&&K.toString!==Object.prototype.toString)return String(K);if(null===K||void 0===K)return null;switch(typeof K){case "boolean":return String(H);case "string":case "number":return K;default:return JSON.stringify(K)}}catch(ba){return K}}function d(H,K,ba=!1){H=y(H,ba,!1);K=y(K,ba,!1);ba=K.length;return H.length<=ba?B(H,K):B(H.substring(0,ba),K)}function c(H,K){const ba=H.length,O=K.length;return ba<=O?B(H,K):B(H.substring(ba-
47O),K)}function g(H,K){for(K-=H.length;0<K;K--)H="0"+H;return H}function k(H,K,ba){for(H=String(H);H.length<K;)H+=ba;return H}function n(H,K=!1,ba=!1){return K||ba?ba?H.replace(l,""):K?H.replace(r,""):H:H.replace(e,"$1")}function C(H){return H?"1":"0"}function v(H,K){return(H|0)!==H?(a.CDebug.s_Assert(10===K,"Base autre que 10 sur un r\u00e9el. Base ignor\u00e9e."),H=H.toPrecision(15),-1!==H.indexOf("e")?H.replace(/\.{0,1}0+e/,"e"):H.replace(/\.{0,1}0+$/,"")):H.toString(K)}b.sGetFormatLogique=h;b.nCompareLogique=
48function(H,K){return B(h(H),h(K))};b.nCompareAny=B;b.s_oPreparePourComparaisonAvecType=p;b.nCompareChaineCommencePar=function(H,K){const ba=K.length;return H.length<=ba?B(H,K):B(H.substring(0,ba),K)};b.nCompareChaineFiniPar=c;b.s_bCommencePar=function(H,K,ba=!1){return 0==d(H,K,ba)};b.s_bContient=function(H,K,ba=!1){return-1!=y(H,ba,!1).indexOf(y(K,ba,!1))};b.s_bTerminePar=function(H,K,ba=!1){H=y(H,ba,!1);K=y(K,ba,!1);return 0==c(H,K)};b.sCompleteEntier=function(H,K,ba=10){H="number"===typeof H?H.toString(ba):
49String(H);return g(H,K)};const M=/[^0-9]/g;b.sCompleteEntierChaine=function(H,K){return g(H.replace(M,"0"),K)};b.sCompleteChaine=k;b.sCompleteWL=function(H,K,ba){return k(H,K,ba).substring(0,K)};const G=/\s/g;b.sRemplaceEspaces=function(H,K=""){return H.replace(G,K)};const e=/\s*([^\s]*(\s*[^\s]+)*)\s*/,l=/^\s*/,r=/\s*$/;b.sSupprimeEspacesDebutFin=n;const I=/^(\s*)[^\s].*/,x=/.*[^\s](\s*)$/;b.sSupprimeEspacesInterieur=function(H){return H.replace(I,"$1")+H.replace(G,"")+H.replace(x,"$1")};b.sEncodeInnerHTML=
50function(H,K=!1,ba=!1){ba||(H=H.replace(/&/g,"&amp;"),H=H.replace(/</g,"&lt;"),H=H.replace(/>/g,"&gt;"));K&&(H=H.replace(/\r\n/g,"<br />"),H=H.replace(/\n/g,"<br />"));return H};b.sToString=function(H){const K=a.iGetAsRValue(H,5);if(K)return 1==K.veGetTypeWL()?K.valueOf()?"1":"0":String(K);switch(typeof H){case "boolean":return C(H);case "number":return v(H,10);default:return String(H)}};b.sBooleenEnChaine=C;b.sNombreEnChaine=v})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
51(function(a){(function(b){const h={FullYear:Date.prototype.getFullYear,Month:Date.prototype.getMonth,Date:Date.prototype.getDate,Hours:Date.prototype.getHours,Minutes:Date.prototype.getMinutes,Seconds:Date.prototype.getSeconds,Milliseconds:Date.prototype.getMilliseconds},B={FullYear:Date.prototype.setFullYear,Hours:Date.prototype.setHours},y={FullYear:Date.prototype.getUTCFullYear,Month:Date.prototype.getUTCMonth,Date:Date.prototype.getUTCDate,Hours:Date.prototype.getUTCHours,Minutes:Date.prototype.getUTCMinutes,
52Seconds:Date.prototype.getUTCSeconds,Milliseconds:Date.prototype.getUTCMilliseconds},p={FullYear:Date.prototype.setUTCFullYear,Hours:Date.prototype.setUTCHours};b.sGetDateHeureWL=function(k,n,C){n=n?y:h;let v="";if(24===C||26===C)v+=b.sCompleteEntier(n.FullYear.call(k),4)+b.sCompleteEntier(n.Month.call(k)+1,2)+b.sCompleteEntier(n.Date.call(k),2);if(25===C||26===C)v+=b.sCompleteEntier(n.Hours.call(k),2)+b.sCompleteEntier(n.Minutes.call(k),2)+b.sCompleteEntier(n.Seconds.call(k),2)+b.sCompleteEntier(n.Milliseconds.call(k),
533);return v};const m=/^[0-9]*$/;b.eSetDateHeureFromWL=function(k,n,C,v,M){if(!n.match(m))return n=Date.parse(n),isNaN(n)?2:(k.setTime(n),1);C=C?p:B;let G="19700101",e="000000000";switch(v){case 26:e=b.sCompleteChaine(n.substring(8),9,"0");case 24:G=n.substring(0,8);if(8!==G.length)return 2;break;case 25:if(e=b.sCompleteChaine(n.substring(0,9),9,"0"),n.length<M)return 2}C.FullYear.call(k,parseInt(G.substring(0,4),10),parseInt(G.substr(4,2),10)-1,parseInt(G.substr(6,2),10));C.Hours.call(k,parseInt(e.substring(0,
542),10),parseInt(e.substr(2,2),10),parseInt(e.substr(4,2),10),parseInt(e.substr(6,3),10));return 0};const f=/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/,d=/^[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,c=/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,g=/[-T:\.]/g;b.sCorrigeDateHeureDeserialisation=function(k,n){if(a.NSOperations.bDansDeserialisation){switch(n){case 24:n=f;break;case 25:n=d;break;case 26:n=c;break;default:return k}if(k.match(n))return k.replace(g,"")}return k}})(a.NSUtil||(a.NSUtil=
55{}))})(NSPCS||(NSPCS={}));
56(function(a){(function(b){function h(v){return v&&v.nodeName?v.nodeName.toLowerCase():""}function B(v,M){return h(v)==M}function y(v,M){v=m(v);return!!v&&v.split(/\s/).includes(M)}function p(v,M,G){var e=v.className;if(void 0!==e){const l=void 0!==e.animVal;e=l?e.animVal:e;e=0<e.length?e.split(/\s/):[];let r;void 0!==M&&(r=e.indexOf(M));let I;void 0!==G&&(I=e.indexOf(G));let x=!1;void 0===I?void 0!==r&&-1!==r&&(e.splice(r,1),x=!0):-1==I?(void 0!==r&&-1!==r?e[r]=G:e.push(G),x=!0):void 0!==r&&-1!==
57r&&M!=G&&(e.splice(r,1),x=!0);x&&(M=e.join(" "),l?v.className.baseVal=M:v.className=M)}}function m(v){return(v=v.className)&&void 0!==v.animVal?v.animVal:v}function f(v){return d(v.split(/\s/))}function d(v){return v.filter(function(M,G){return 0<M.length&&G===v.indexOf(M)})}function c(v){return v?parseInt(v,10)||0:0}function g(v,M){return v?v.getBoundingClientRect().left+(v&&v==v.ownerDocument.body?M?0:1:M?1:0)*window.pageXOffset:0}function k(v,M){return v?v.getBoundingClientRect().top+(v&&v==v.ownerDocument.body?
58M?0:1:M?1:0)*window.pageYOffset:0}b.oCreateContextualFragment=function(v,M){return v.createContextualFragment(M)};b.oCreateContextualFragmentSelonElement=function(v,M){const G=document.createRange();G.setStartBefore(v);return G.createContextualFragment(M)};b.sGetNodeName=h;b.bNodeEstType=B;b.bEstFils=function(v,M){if(M&&v){if(v==M)return!0;if(M.contains)return M.contains(v);if(M.compareDocumentPosition)return!!(M.compareDocumentPosition(v)&Node.DOCUMENT_POSITION_CONTAINED_BY);const G=document.body;
59for(;v&&v!=G;){if(v==M)return!0;v=v.parentNode}}return!1};b.bEstDansDocument=function(v){return document.contains?document.contains(v):document.compareDocumentPosition?!!(document.compareDocumentPosition(v)&Node.DOCUMENT_POSITION_CONTAINED_BY):document.body.contains(v)};b.oSupprimeElement=function(v){if(v&&v.parentNode){const M=v.parentNode;if(M)return M.removeChild(v)}return v};b.SupprimeFils=function(v){const M=v.childNodes;let G=0;for(;G<M.length;){const e=M[G];try{v.removeChild(e)}catch(l){G++}}};
60b.sGetInnerText=function(v){return function e(G){G=G.firstChild;let l="";for(;G;)l=G.nodeName=="#text"?l+G.textContent:B(G,"br")?l+"\r\n":l+e(G),G=G.nextSibling;return l}(v)};b.SetClasseHTML=function(v,M){v.className=f(M).join(" ")};b.tabGetClassesHTML=function(v){return f(m(v))};b.sGetClasseHTML=function(v){return(v=v.className)&&void 0!==v.animVal?v.animVal:f(v).join(" ")};b.bAvecClasse=y;b.bRWD=y(document.body,"wbRwd");b.ActiveDesactiveClassName=function(v,M,G){G?p(v,void 0,M):p(v,M,void 0)};b.RemplaceClassNameSiExiste=
61function(v,M,G){y(v,M)&&p(v,M,G)};b.oGetObjectEmbed=function(v,M=!1,G=!1){const e=document.getElementsByName(v);
61if(e&&1<=e.length){if(M&&B(e[0],"object")||G&&B(e[0],"embed"))return e[0];if(1<e.length&&e[1])return e[1]}return document.getElementById(v)};const n=[0,0,1,0,1,.5,0,.5,0,1,.5],C=[0,0,0,1,1,.5,0,0,.5,.5,1];b.DeplaceElement=function(v,M,G,e,l,r=!1,I=!1,x=!1){switch(M){case 0:case 6:break;default:const H=n[M];M=C[M];const K=v.ownerDocument;G=K.body;e=v.offsetParent||G;x=e==G&&x;G=-g(e,l||x);
62e=-k(e,l||x);l=b.oGetCurrentStyle(v);r||0==H||(G+=((K.documentElement.clientWidth||K.body.clientWidth)-(v.offsetWidth+c(l.marginLeft)+c(l.marginRight)))*H);I||0==M||(e+=((K.documentElement.clientHeight||K.body.clientHeight)-(v.offsetHeight+c(l.marginTop)+c(l.marginBottom)))*M)}G!==void 0&&(b.SetStyleLeft(v.style,G,0),v.style.left=G+"px",b.ms_bRTL&&(v.style.right=""));e!==void 0&&(v.style.top=e+"px")};b.nGetBoundingClientRectLeft=g;b.nGetBoundingClientRectTop=k;b.DonneFocus=function(v){clWDUtil.DonneFocus(v,
63!1)};b.tabGetElements=function(v,M,G){let e=[];v&&(e.push(...v.getElementsByTagName("button")),e.push(...v.getElementsByTagName("input")),e.push(...v.getElementsByTagName("select")),e.push(...v.getElementsByTagName("textarea")),M&&e.push(...v.getElementsByTagName("a")),G&&e.push(...v.getElementsByTagName("label")));return e};b.oValideArborescenceFilsUnique=function(v,M){let G=v;return M.every(function(e){const l=G.firstChild;return l?(G=l,!l.nextSibling&&B(l,e)):!1})?G:null};b.bEstGrise=function(v){return v?
64v.hasAttribute("disabled"):!1}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
65(function(a){(function(b){function h(c,g){switch(g){case 0:return{capture:c,passive:!1};case 1:return{capture:c,passive:!0};default:case 2:return c}}function B(c,g,k,n=!1,C=2){c.addEventListener&&c.addEventListener(g,k,h(n,C))}function y(c,g,k=!1){k&&c.stopPropagation&&c.stopPropagation();return g?(c.preventDefault&&c.preventDefault(),!1):!0}function p(c,g,k){if(c)switch(g){case 0:return(k?window.pageXOffset:window.pageYOffset)+(k?c.clientX:c.clientY);case 1:return k?c.screenX:c.screenY;case 2:g=
66b.bHTML5;b.bEdge&&c.target instanceof SVGGraphicsElement&&c.target!==c.currentTarget&&(g=!1);if(g&&(g=k?c.offsetX:c.offsetY,void 0!==g))return g;g=(b.bFF&&!b.bWK?c.explicitOriginalTarget:c.currentTarget)||c.target;return k?c.clientX-b.nGetBoundingClientRectLeft(g,!1):c.clientY-b.nGetBoundingClientRectTop(g,!1)}return 0}function m(c,g){f.forEach(function(k){k(c,g)})}b.AttacheEvent=B;b.DetacheEvent=function(c,g,k,n=!1,C=2){c.removeEventListener&&c.removeEventListener(g,k,h(n,C))};b.bStopPropagation=
67function(c){return y(c,!0)};b.bStopPropagationCond=y;b.oGetTarget=function(c){return c.target};b.oGetOriginalTarget=function(c){return b.bFF&&!b.bWK&&c.explicitOriginalTarget||c.target};b.nSourisPosX=function(c,g){return p(c,g,!0)};b.nSourisPosY=function(c,g){return p(c,g,!1)};b.nSetTimeout=function(c,g){if(b.ms_oTimeoutImmediat===g){if(b.bWK&&"undefined"!=typeof MessageChannel)return g=new MessageChannel,g.port1.onmessage=c,g.port2.postMessage(null),g;g=1}return setTimeout(c,g)};b.ClearTimeout=function(c){typeof c==
68"number"?clearTimeout(c):c.port1.onmessage=b.VideUndefined};const f=[];b.AttacheOnScrollResize=function(c){0==f.length&&(B(window,"scroll",function(g){m(g,!0)},!1,1),B(window,"resize",function(g){m(g,!1)},!1,1));f.includes(c)||f.push(c)};class d{constructor(...c){this.m_tabNotifications=[];c.forEach(g=>this.AddNotification(g))}AddNotification(c){this.m_tabNotifications.push(c)}LanceNotifications(...c){this.m_tabNotifications.forEach(g=>g.apply(window,c))}}b.ms_oNotificationsAjoutHTML=new d;b.ms_oNotificationsFinAJAX=
69new d;b.ms_oNotificationsChangementTranche=new d})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
70(function(a){(function(b){function h(r){r.nodeName=="#text"&&(r=r.parentElement);return(r.ownerDocument||document).defaultView.getComputedStyle(r,void 0)}function B(r,I,x){x.length&&r.insertRule(I+" {"+x+"}",r.cssRules.length)}function y(r){let I=document.createElement("style");I.type="text/css";void 0!==r&&(I.id=r);I=document.head.appendChild(I);b.bWK&&I.appendChild(document.createTextNode(""));return I.sheet}function p(r){return r&&r.style&&(r=r.style.cssText)?(r.length>0&&r.substring(r.length-
711)!=";"&&(r+=";"),r):""}function m(r,I){for(var x of document.getElementsByTagName("style")){const H=c(x,r,I);if(H)return H}for(const H of document.getElementsByTagName("link"))if(H.rel.toLowerCase()=="stylesheet"&&(x=c(H,r,I)))return x;return null}function f(r){try{return r.cssRules}catch(I){return[]}}function d(r){const I=[];for(const x of f(r))x instanceof CSSStyleRule||CSSStyleRule.name===x.constructor.name?I.push(x):(x instanceof CSSImportRule||CSSImportRule.name===x.constructor.name)&&x.styleSheet&&
72I.push(...d(x.styleSheet));return I}function c(r,I,x=!1){r=d(r.sheet);return Array.prototype.find.call(r,g(I,x))}function g(r,I){const x=b.sRemplaceEspaces(r).toLowerCase();return H=>{if(H instanceof CSSStyleRule||CSSStyleRule.name===H.constructor.name){if(I)return b.sRemplaceEspaces(H.selectorText).toLowerCase()==x;if((H=H.selectorText)&&H.split(",").some(K=>b.sRemplaceEspaces(K).toLowerCase()==x))return!0}return!1}}function k(r){return 0<r?r+"px":"0"}function n(r,I,x=!1){return I?x?"":C(r):"none"}
73function C(r){switch(b.sGetNodeName(r)){case "table":return"table";case "tr":return"table-row";
73case "td":return"table-cell";default:return"block"}}function v(r){return r?"url('"+r.replace("\\","\\\\").replace('"','\\"').replace("'","\\'").replace("(","\\(").replace(")","\\)")+"')":"none"}function M(r){r=parseInt(r||"",10);return 0<r?r:0}function G(r,I,x=I){return r.substring(r.indexOf(I)+1,r.lastIndexOf(x))}function e(r,I="",x){if(r=r||I){if(r.startsWith("data:")||r.startsWith("blob:")||x&&r.match(/^\s*[a-z\-]+\(.*\)/))return r;
74"/"==r.charAt(0)||"_WDR_"in window||r.match(/^[a-z]+:\/\//)||(r=_WD_+r)}return x?v(r):r}b.oGetCurrentStyle=h;b.CreeStyle=B;b.oCreeFeuilleStyle=y;b.sGetCSSTexte=function(r,I=!1){return p(m(r,I))};b.sGetCSSTexteElement=p;b.oStyleTrouve=m;b.oGetFeuilleStyle=function(r){return r.sheet};b.tabGetStyleReglesFusion=d;b.oStyleTrouveDansBalise=c;b.StyleSupprime=function(r,I){r.deleteRule(I)};b.SetStyleLeft=b.ms_bRTL?function(r,I,x){r.right=k(I-x)}:function(r,I,x){r.left=k(I-x)};b.sGetDimensionPxPourStyle=k;
75b.SetOpacite=function(r,I){isNaN(r)?r=100:r<0&&(r=Math.max(Math.min(r,100),0));I.style&&(I.style.opacity=String(r/100))};b.bEstDisplay=function(r,I){function x(q){return"none"==q.display}function H(q){return"hidden"==q.visibility}function K(q){return"none"==q.display||"hidden"==q.visibility}if(!r)return!0;var ba=r.offsetParent;let O=null;if(null===ba)return!1;void 0===ba?O=I?K:x:I&&(O=H);if(O)for(I=document.body;r&&r!=I;){ba=h(r);if(O(ba))return!1;r=r.parentElement}return!0};b.SetDisplay=function(r,
76I,x=!1){r&&r.style&&(r.style.display=n(r,I,x))};b.sGetVisibility=function(r,I){if("string"===typeof r)switch(r.toLowerCase()){default:r=!0;break;case "hidden":case "none":case "0":case "false":case "":r=!1}else r=!!r;switch(I){default:case 0:return r?"inherit":"hidden";case 1:return n(null,r,!1);case 2:return n(null,r,!0)}};b.sGetDisplayPourAffiche=n;b.bDansPlan=function(r){const I=document.body;for(;r&&r!=I;){if(b.bAvecClasse(r,"wbPlanConteneur"))return!0;r=r.parentElement}return!1};b.bDansPlanMasque=
77function(r){const I=document.body;for(;r&&r!=I;){if(b.bAvecClasse(r,"wbPlan")&&!b.bAvecClasse(r,"wbActif"))return!0;r=r.parentElement}return!1};b.sGetURICSS=v;b.nGetOffset=M;b.nGetOffsetBorderPourWidth=function(r){return M(r.borderLeftWidth)+M(r.borderRightWidth)};b.nGetOffsetBorderPourHeight=function(r){return M(r.borderTopWidth)+M(r.borderBottomWidth)};b.sExtraitImageDepuisProprieteCSS=function(r){return r?"none"==r?"":r.match(/^\s*url\(/)?G(r,'"')||G(r,"'")||G(r,"(",")"):r:""};b.sConstruitProprieteCSSDepuisImage=
78function(r){return e(r,"",!0)};class l{constructor(){this.m_tabFeuilleStyleRules=this.m_oFeuilleStyle=null;this.m_tabStyle={};this.m_tabStyleNew={}}Creation(){if(!this.m_oFeuilleStyle){const r=y();this.m_tabFeuilleStyleRules=f(r);this.m_oFeuilleStyle=r}this.m_tabStyleNew={}}CreationAjout(){const r={};b.bForEachIn(this.m_tabStyle,function(I,x){r[I]=x;return!0});this.m_tabStyleNew=r}CreationFlush(){const r=this.m_tabStyle;b.bForEachIn(this.m_tabStyleNew,(I,x)=>{const H=r[I];if(x==H)return!0;H!==void 0&&
79this.__StyleSupprime(I);r[I]=x;B(this.m_oFeuilleStyle,I,x);return!0})}CreationFin(){const r=this.m_tabStyle,I=this.m_tabStyleNew;this.m_tabStyle={};b.bForEachIn(r,(x,H)=>{const K=I[x];H==K?(this.m_tabStyle[x]=K,delete I[x]):this.__StyleSupprime(x);return!0});b.bForEachIn(I,(x,H)=>{this.m_tabStyle[x]=H;B(this.m_oFeuilleStyle,x,H);return!0});this.m_tabStyleNew={}}Ajoute(r,I){0<I.length&&(this.m_tabStyleNew[r]=I.join(";"))}Complete(r,I){if(r.length&&I.length)if(this.m_tabStyleNew.hasOwnProperty(r)){const x=
80this.m_tabStyleNew[r].split(";");I.forEach(function(H){const K=H.split(":")[0]+":";b.bForEachInverse(x,function(ba,O){ba.startsWith(K)&&x.splice(O,1);return!0})});this.m_tabStyleNew[r]=x.concat(I).join(";")}else this.Ajoute(r,I)}__StyleSupprime(r){this.m_tabFeuilleStyleRules&&(r=Array.prototype.findIndex.call(this.m_tabFeuilleStyleRules,g(r,!1)),-1!=r&&this.m_oFeuilleStyle.deleteRule(r))}}b.CStyleCache=l})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
81(function(a){(function(b){function h(p,m=NaN,f=0){const d=a.iGetAsBase(p);if(d)return d.vnToNumber(f);switch(typeof p){case "number":return p;case "boolean":return Number(p);case "object":if(1===f&&"undefined"!=typeof clWLangage&&p instanceof clWLangage.WDDuree)return p.m_nValeur/10;if("toNumber"in p){p=p.toNumber();break}default:p=parseFloat(String(p))}return isNaN(p)?m:p}function B(p,m=0,f=0){return a.NSOperations.nArrondiVersZero(h(p,m,f))}function y(p,m,f){if(p<1)return!1;switch(f){default:return p<=
82m;case 1:return p<=m+1;case 2:return!0}}b.bGetBooleen=function(p){const m=a.iGetAsBase(p);return m?m.vbToBoolean():"string"===typeof p?(p=parseInt(p,10),isNaN(p)?!1:0!==p):!!p};b.dGetReel=h;b.nGetEntier=B;b.xnGetIndiceC=function(p,m,f,d,c=!1){p=B(p,d);if(y(p,m,f))return p-1;
82if(c)throw new a.CErreur(612,p,m);throw new a.CErreur(200,p,m);};b.bIndiceWLValide=y;b.sNumToHex=function(p){p=p.toString(16);return p.length==1?"0"+p:p}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
83(function(a){(function(b){function h(m,f,d,c,g){return new B(m?()=>a.NSValues.iAny2RValue(m()):null,f?k=>f(k.m_oValeur):null,void 0,d,c,g)}class B extends b.CWrapperValue{constructor(m,f,d,c,g,k){super();this.m_pfGetValeur=m;this.m_pfSetValeur=f;this.m_pfToJSON=d;this.m_oTypeWL=c;this.m_oNomUtilisateurOuProprieteFamille=g;this.m_eProprieteOpt=k}toJSON(m=0){return void 0!==this.m_pfToJSON?this.m_pfToJSON(m):super.toJSON(m)}viGetRValue(m){switch(m){default:if(this.m_pfGetValeur)return this.m_pfGetValeur();
84a.xThrow603_I(this.m_oNomUtilisateurOuProprieteFamille,this.m_eProprieteOpt);case 7:return this;case 6:return this}}veGetTypeWL(m){switch(typeof this.m_oTypeWL){case "number":return this.m_oTypeWL;case "function":return this.m_oTypeWL();default:case "undefined":return super.veGetTypeWL(m)}}vSetValeur2(m){this.m_pfSetValeur?this.m_pfSetValeur(m):a.xThrow603_I(this.m_oNomUtilisateurOuProprieteFamille,this.m_eProprieteOpt)}}b.CPropriete=B;b.oGetProprieteSimple=h;b.oGetProprieteConstante=function(m,f,
85d,c){return h(()=>m,null,f,d,c)};b.oGetProprieteVide=function(m,f,d,c){return h(()=>0==m.viGetPropriete(f,d).valueOf(),null,1,f,c)};b.oGetProprieteNeFaitRien=function(m,f,d,c){return h(()=>m,()=>{},f,d,c)};class y extends b.CWrapperValue{constructor(m,f){super();this.m_tParent=m;this.m_ePropriete=f}}class p extends y{}b.CProprieteMultiple=p;b.oGetProprieteManipuleSousElement=function(m,f,d,c,g,k){function n(C){C=d.viGetSousElement(0,[C]);return C instanceof a.NSChamps.CObjet&&!C.voGetHTMLElement()?
86null:C}return new B(()=>{const C=m();if(C)return C;try{const v=n(1);if(v)return v.viGetPropriete(g,k)}catch(v){}return c.viCreation()},C=>{f(C);for(let v=1;;v++)try{const M=n(v);if(M)M.viGetPropriete(g,k).vSetValeur2(C);else break}catch(M){break}},void 0,void 0,g,k)}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
87(function(a){(function(b){class h extends a.CIValue{constructor(y){super();this.m_tParent=y}viGetMembre2(y,p,m,f){const d=this.viGetRValue(0);return d!==this?d.viGetMembre2(y,p,m,f):super.viGetMembre2(y,p,m,f)}viGetPropriete(y,p){const m=this.viGetRValue(0);return m!==this?m.viGetPropriete(y,p):super.viGetPropriete(y,p)}viGetSousElement(y,p){const m=this.viGetRValue(0);return m!==this?m.viGetSousElement(y,p):super.viGetSousElement(y,p)}viGetIntervalle(y,p,m){const f=this.viGetRValue(0);return f!==
88this?f.viGetIntervalle(y,p,m):super.viGetIntervalle(y,p,m)}viGetAsRValueType(){const y=this.viGetRValue(0);return y!==this?y.viGetAsRValueType():null}viGetAsTableau(){const y=this.viGetRValue(0);return y!==this?y.viGetAsTableau():null}viGetAsTableauAssociatif(){const y=this.viGetRValue(0);return y!==this?y.viGetAsTableauAssociatif():null}viAppelFonction(...y){const p=this.viGetRValue(0);if(p!==this)return p.viAppelFonction.apply(p,y);throw new a.CErreur(602,"()");}}b.CTSousElement=h;class B extends h{constructor(y){super(y)}toString(y){return this.viGetRValue(1).toString(y)}vnToNumber(y){return this.viGetRValue(1).vnToNumber(y)}vbToBoolean(){return this.viGetRValue(1).vbToBoolean()}valueOf(){return this.viGetRValue(1).valueOf()}toJSON(y=
890){return this.viGetRValue(1).toJSON(y)}veGetTypeWL(y=1){return this.viGetRValue(y).veGetTypeWL(0)}}b.CTSousElementWrapper=B;b.iChaineSousElement=function(y,p,m){return p<m.length?y.viGetSousElement(p,m):y}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
90(function(a){(function(b){function h(){return!0}function B(n,C,v){let M,G;if(M=clWDUtil.pfGetTraitementDirect(n,C,v))return G=function(...e){const l=b.ms_sAliasMoiMeme;try{return b.ms_sAliasMoiMeme=n,M.apply(this,e)}finally{b.ms_sAliasMoiMeme=l}},y(M,G,function(){return(n!==b.ms_sAliasPage?n:"")+C+(v||"")})}function y(n,C,v){C.nNbParametres="nNbParametres"in n?n.nNbParametres:n.length;C.sNom="sNom"in n?n.sNom:n.name||v();a.ms_oSymbolDepuisWLEnV2 in n&&(C[a.ms_oSymbolDepuisWLEnV2]=!0);C[a.ms_oSymbolFonctionOriginale]=
91n[a.ms_oSymbolFonctionOriginale]||n;return C}function p(n){return n.reduce(function(C,v){var M=a.iGetAsRValue(v,7);void 0!==M?(M=M.viGetAsValeurMultiple(),void 0!==M?C.push(...p(M.tabGetValeurs())):C.push(v)):C.push(v);return C},[])}function m(n){let C=g.find(v=>v.oOptions.id===n.id);void 0===C&&(C={tabInstances:[],oOptions:n}
91,g.push(C));return C}function f(n,C){var v=m(C);const M=v.tabInstances;switch(C.timer){default:a.CDebug.s_Assert(!1,"EAutomatismeProc\u00e9dureTimer invalide !");case 0:if(1<=
92M.length)return a.CDebug.s_Assert(1===M.length,"Automatisme 'unique', il ne peut y avoir que un automatisme enregistr\u00e9"),n;break;case 1:c(v);break;case 2:}v=()=>{function e(I){if(0===r||0<--r)return!1;a.CDebug.s_Assert(!1===I||0<C.quand,"__pfAutomatismeProcedureTimer doit avoir plus de un appel.");d(M,M.indexOf(G));return!0}function l(){const I=k;try{return k=G,n()}finally{k=I}}let r=C.repetition;-1!==M.indexOf(G)&&(l(),-1===M.indexOf(G)||e(!0)||(a.CDebug.s_Assert(void 0===G.nInterval,"Il ne doit y avoir que un lancement de timer."),
93G.nInterval=setInterval(()=>{a.CDebug.s_Assert(-1!==M.indexOf(G),"Appel de timer alors que l'on \u00e0 \u00e9t\u00e9 annul\u00e9.");l();e(!1)},C.espacement)))};const G={pfAction:v};M.push(G);return v}function d(n,C){n=n.splice(C,1)[0];void 0!==n.nInterval&&clearInterval(n.nInterval)}function c(n){for(n=n.tabInstances;0<n.length;)d(n,0)}b.ms_sAliasMoiMeme="";b.Vide=h;b.VideUndefined=function(){};b.pfDepuisWLEnV2=function(n,C){const v=2<=arguments.length?n.bind(C):n;v[a.ms_oSymbolDepuisWLEnV2]=!0;v[a.ms_oSymbolFonctionOriginale]=
94n[a.ms_oSymbolFonctionOriginale]||n;return v};b.pfGetTraitement=function(n,C,v=h){return B(n,C,void 0)||v};b.pfGetProcedure=function(n,C,v){return B(n,void 0!==v?[C,v]:C,void 0)||h};b.pfGetTraitementDirect=B;b.oGetWrappersPourNatif=function(n){const C={};b.bForEachIn(n,function(v,M){const G=y(M,function(...e){return a.NSValues.oAny2Natif(M.apply(window,e))},()=>"");C[v]=G;return!0});return C};b.pfGetTraitementCodeAffectation=function(n,C,v,M){const G=a.NSChamps.oGetObjet(C,v,M);return"AppelCodeAffectation"in
95G?function(...e){G.AppelCodeAffectation(()=>{n.apply(this,e)})}:n};b.tabMiseAPlatValeursMultiples=p;b.AutomatismeProcedure=function(n,C,v,M,G){const e=Array.from(C,l=>a.NSValues.oAny2RValue(l));C=()=>G.apply(n,e);switch(v.repetition){case 1:if(v.quand<0||void 0===v.timer)break;default:C=f(C,v)}switch(v.quand){case -2:return clWDUtil.ExecuteFinEvenement(C);case -1:return clWDUtil.ExecuteFinTraitement(C);case 0:return C();default:a.CDebug.s_Assert(0<v.quand,"Le diff\u00e9r\u00e9 ne peut-\u00eatre que positif"),
96setTimeout(C,v.quand)}};const g=[];let k;b.FinAutomatismeProcedure=function(n){if(void 0===n)a.CDebug.s_Assert(void 0!==k,"Appel de FinAutomatismeProcedure() sans automatisme courant !"),g.every(C=>C.tabInstances.every((v,M,G)=>v===k?(d(G,M),!1):!0));else for(const C of g)c(C)}})(a.NSUtil||(a.NSUtil={}))})(NSPCS||(NSPCS={}));
97(function(a){(function(b){function h(w,A){A&&a.NSUtil.AttacheEvent(w,"progress",function(F){F.lengthComputable&&A(F.total,F.loaded)})}function B(){Ua=null;Va=ra=!1;for(const w of ta)w.vLibere();ta.length=0}function y(w,A,F,P){if(p()){const S=a.NSUtil.ms_oFormulaireWEBDEV;w="WD_ACTION_=AJAXEXECUTE&EXECUTEPROCDIRECT="+encodeURIComponent(w);w+="&WD_CONTEXTE_="+encodeURIComponent(A);w=a.NSOperations.sConcatSeparateur(w,"&",a.NSUtil.sConstruitProcedureParams(a.NSUtil.tabMiseAPlatValeursMultiples(F)));
98P.thread||(a.NSChamps.ms_oSynchronisationServeur.OnSubmit(),w=a.NSOperations.sConcatSeparateur(w,"&",d(S.elements)));A={};P.thread&&(A["webdev-options-execution"]="asynchrone");return{m_eMethodeHTTP:2,m_sURL:a.NSUtil.sGetPageAction(),m_sContenu:w,m_oInterne:{m_oFormulaire:S},m_oEntetesHTTPSupplementaires:A}}}function p(){if(!ab){if(document.readyState&&document.readyState!=="interactive"&&document.readyState!=="complete")return!1;ab=!0;if(a.NSUtil.bFF){const w=/Fire[Ff]ox\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);
99(!w||!w[1]||parseInt(w[1],10)<27)&&a.NSUtil.AttacheEvent(window,"beforeunload",B,!0)}}return Va}function m(w,A,F,P,S){const V=[];let ca="",ea=A;if(A&&0<A.indexOf(";")){const ha=A.split(";");1<ha.length&&ha[0].length&&ha[1].length&&(A=ha[0],ea=ha[1])}a.NSChamps.ms_oSynchronisationServeur.OnSubmit();switch(P){case 1:V.push("WD_ACTION_=AJAXCHAMP");V.push("EXECUTE="+F);V.push("WD_CONTEXTE_="+A);ca=c(w,A,!0);Oa&&V.push(encodeURIComponent(Oa)+"="+encodeURIComponent(Ha));break;case 2:V.push("WD_ACTION_=AJAXPAGE");
100V.push("EXECUTE="+F);V.push("WD_CONTEXTE_="+A);ca=d(w.elements);break;case 3:V.push("WD_ACTION_=AJAXEXECUTE");V.push("SCROLLTABLE="+A);V.push(A+"="+F);break;case 4:V.push("WD_ACTION_=AJAXPAGE");V.push("SCROLLTABLE="+A);if(A=w[A])A.value=String(F);ca=d(w.elements);break;case 5:V.push("WD_ACTION_=AJAXPAGE");V.push("CLICTABLE="+A);ca=d(w.elements);break;case 6:V.push("WD_ACTION_=AJAXCHAMP");V.push("CLICTABLE="+A);ca=c(w,ea,!0);break;case 8:V.push("WD_ACTION_=AJAXCHAMP");V.push("ACTIONCHAMP="+(F||""));
101V.push("WD_CONTEXTE_="+A);ca=c(w,A,!0);F=a.NSChamps.iGetInterfaceChamp(A,ha=>ha.viGetAsCalendrier());V.push(f(F.oGetElementHTMLValeur()));V.push(f(F.oGetElementHTMLMois()));F.bGestionTableZR_SansPopup()&&V.push(c(w,a.NSChamps.oGetChampSansCreation(A).m_oTableZRParent.m_sAliasTableZRParent,!1));break;case 9:V.push("WD_ACTION_=AJAXCHAMP");V.push("ACTIONCHAMP="+(F||""));V.push("WD_CONTEXTE_="+A);ca=f(a.NSChamps.oGetChampSansCreation(A).voGetChampFormulaire());break;case 10:if(void 0!==ua)V.push("WD_ACTION_=AJAXCHAMP"),
102V.push("ACTIONCHAMP="+(F||"")),V.push("WD_CONTEXTE_="+A),V.push("WD_PARAM_="+ua),V.push(encodeURIComponent(Oa)+"="+encodeURIComponent(Ha)),ca=c(w,Oa+"_DATA",!0);else return"";break;case 11:V.push("WD_ACTION_=AJAXCHAMP");V.push("SAISIEASSISTEE="+A);ca=c(w,A,!0);break;case 12:V.push("WD_ACTION_=AJAXCHAMP");V.push("ACTIONCHAMP="+F);V.push("WD_CONTEXTE_="+A);ca=c(w,a.NSChamps.CSynchronisationServeur.ms_sNomChamp,!0);break;case 13:V.push("WD_ACTION_=AJAXCHAMP");V.push("ACTIONCHAMP="+F);V.push("WD_CONTEXTE_="+
103A);ca=c(w,A,!0);break;case 14:V.push("WD_ACTION_=AJAXPAGE");V.push("PLANDIFFERE="+F);V.push("WD_CONTEXTE_="+A);ca=d(w.elements);break;case 15:V.push("WD_ACTION_=AJAXEXECUTE");V.push("IMAGEINFORMATIONS=");a.NSUtil.bForEachIn(F,function(ha,na){V.push("II_"+ha+"="+encodeURIComponent(a.NSUtil.xsStringifyJSON(na,!1)));return!0});break;case 16:V.push("WD_ACTION_=AJAXPAGE");V.push("ACTIONCHAMP="+F);V.push("WD_CONTEXTE_="+A);ca=d(w.elements);break;case 17:V.push("WD_ACTION_=AJAXCHAMP");V.push("ACTIONCHAMP="+
104(F||""));V.push("WD_CONTEXTE_="+A);ca=encodeURIComponent(A)+"="+encodeURIComponent("object"===typeof S?JSON.stringify(S):String(S));break;default:Oa&&(ca=encodeURIComponent(Oa)+"="+encodeURIComponent(Ha)),V.push(ca?"WD_ACTION_=AJAXCHAMP":"WD_ACTION_=AJAXEXECUTE"),V.push("EXECUTE="+F),V.push("WD_CONTEXTE_="+A)}ca&&V.push(ca);ua=Ha=Oa=void 0;window.FinSubmitAJAX instanceof Function&&FinSubmitAJAX();return V.join("&")}function f(w){var A=w.type;if(A){let F;switch(A.toLowerCase()){case "textarea":F=!0;
105case "text":case "hidden":case "password":return A=w.value,w.bIndication===!0?A="":F&&(A=A.replace(la,"\r\n")),encodeURIComponent(w.name)+"="+encodeURIComponent(A);case "checkbox":case "radio":if(w.checked)return encodeURIComponent(w.name)+"="+encodeURIComponent(w.value);break;case "select-one":if(w.selectedIndex!==-1)return encodeURIComponent(w.name)+"="+encodeURIComponent(w.options[w.selectedIndex].value);break;case "select-multiple":const P=[];Array.prototype.forEach.call(w.options,S=>{S.selected&&
106P.push(encodeURIComponent(w.name)+"="+S.value)});return P.join("&");case "button":case "file":case "reset":case "submit":break;default:if(A=w.value,void 0!==A)return encodeURIComponent(w.name)+"="+encodeURIComponent(A)}}return""}function d(w){const A=[];Array.prototype.forEach.call(w,F=>{const P=F.name;F.type&&P!=="WD_ACTION_"&&!P.startsWith("PTH_")&&(F=f(F))&&A.push(F)});return A.join("&")}function c(w,A,F){const P=[];w=w[A];w||(A=document.getElementsByName(A))&&(w=A[0]);w&&P.push(f(w));F&&a.NSChamps.ms_oSynchronisationServeur.m_oChamp&&
107P.push(f(a.NSChamps.ms_oSynchronisationServeur.m_oChamp));return P.join("&")}function g(w){w=!!ta.length||!!bb||w;ra!==w&&(ra=w,Ua&&(a.NSUtil.DeplaceElement(Ua,0,void 0,void 0,!0),Ua.style.visibility=a.NSUtil.sGetVisibility(ra,0)))}function k(w,A){A=new db(w.m_oInterne,A);const F=A.m_nID;A.vEnvoi(w);return F}function n(w){const A=new Ra(w.m_oInterne);A.vEnvoi(w);w=A.xoGetResultat();A.vLibere();return w}function C(w,A){return k(w,A)}function v(w,A,F){if(A.substring(0,5)==="<?xml"&&A.match(wa))return null!==
108F;w&&(w.vLibere(),w=null);B();let P=document;a.NSUtil.nSetTimeout(function(){P.write(A);P.close()},a.NSUtil.ms_oTimeoutImmediat);return!1}function M(w,A,F,P,S){return v(w,P,S)?e(A,F,S):{m_eResultat:1}}function G(w,A,F=!1,P=!1){F=(A=A===77&&F)?w+"_POS":"con-"+w;let S=null;P&&(S=document.getElementById("dww"+F)||document.getElementById("dww"+w));S||(S=document.getElementById(F))&&A&&(S=S.getElementsByTagName("table")[0]);S||(S=document.getElementById("ctz"+w));return S}function e(w,A,F){return(F=F.getElementsByTagName("WAJAX")[0])?
109(w=l(w,A,F),Array.prototype.some.call(F.childNodes||[],P=>{switch(P.nodeName){case "CHAMP":return!0;case "JS":return!0;case "MESSAGE_UTILISATEUR":return!0;case "REDIR":return!1;case "LISTE":return!1;case "RESULTAT":return!1;case "TRACE":return!1;case "LIENSOCIAL":return!0;case "VARSYNC":return!1;case "GALERIESIDS":return!1;default:return a.CDebug.s_Assert(!1,"Balise AJAX inconnue."),!0}})&&clWDUtil.m_oNotificationsFinAJAX.LanceNotifications(),w):{m_eResultat:0}}function l(w,A,F){var P=F.firstElementChild,
110S=!1,V=null;F=0;const ca={m_eResultat:1};for(;P;){switch(P.nodeName){case "CHAMP":r(w,P,A);break;case "JS":Aa(P);break;case "MESSAGE_UTILISATEUR":Xa(P);break;case "REDIR":var ea=decodeURI(ia(P));document.location.assign(ea);ea="tel:"!==ea.substring(0,4)&&"email:"!==ea.substring(0,6);ca.m_eResultat=ea?2:0;break;case "LISTE":A.ActionListe(P);S=!0;break;case "RESULTAT":ea=ia(P);switch(Na(P,"FORMAT","")){case "JSON":var ha=void 0;try{ha=a.NSUtil.xoMarshallingFenetrePageSimple(ea)}catch(Ea){ha=a.NSTypes.ms_DescriptionChaine.viCreation()}ea=
111Sa(P,"PARAMETRE",-1);0<=ea?(void 0===ca.m_oParametresSortie&&(ca.m_oParametresSortie={}
111),ca.m_oParametresSortie[ea]=ha):(a.CDebug.s_Assert(!("m_oValeur"in ca)),ca.m_oValeurRetour=ha);break;default:a.CDebug.s_Assert(!("m_oValeur"in ca)),ca.m_oValeurRetour=ea}break;case "TRACE":V=P;break;case "LIENSOCIAL":F=parseInt(ia(P),10);break;case "VARSYNC":var na=P;ea=Na(na,"parentnom","");const ma=Sa(na,"parenttype",0),sa=Na(na,"nom","");na=ia(na);sa&&na&&(ea=a.NSValues.xiGetVariable(sa,ea,ma))&&a.NSOperations.Deserialise(ea,
112na,1024);break;case "GALERIESIDS":if(ea=ia(P))try{clWDUtil.oGetImageInformations(a.NSUtil.xoEvalJSON(ea))}catch(Ea){}break;default:a.CDebug.s_Assert(!1,"Balise AJAX inconnue.")}P=P.nextElementSibling}if(V){ha=V;A=S;S=w.ownerDocument;w=S.body;S=a.NSUtil.GetElementParId("WDAJAX_TRACE",S);ha=ia(ha);for(P=[];V=a.NSUtil.GetElementParId("WB_TRACE",document);)V&&A&&P.push(a.NSUtil.sGetInnerText(V)),a.NSUtil.oSupprimeElement(V);A&&(S&&P.push(a.NSUtil.sGetInnerText(S)),ha&&P.push(ha),ha=P.join("\r\n"));ha.length===
1130?a.NSUtil.oSupprimeElement(S):(S||(S=document.createElement("div"),S.id="WDAJAX_TRACE",S.style.width="1024px",S.style.backgroundColor="#ffd264",S.style.color="#000000",S.style.fontFamily="Courier New,Courier,mono",S.style.fontSize="small",S.style.textAlign="left",S=w.insertBefore(S,w.firstElementChild)),H(S,a.NSUtil.sEncodeInnerHTML(ha,!0),!1))}F&&Ta(F);return ca}function r(w,A,F){function P(ea){var ha=ca[ea];if(void 0!==ha)return ha;a:{var na=S;ha=V;switch(ha){case 1:ha=document.body;break a;case 20:case 27:b:{var ma=
114w.name+"_"+na;if(0!==ea){const sa=a.NSUtil.GetElementParId(ma,document,!0);if(sa){ma=sa;break b}}ma=document.getElementsByName(ma);if(ma.length)ma=ma[0];else{if(0===ea&&(ma=document.querySelectorAll("iframe[name$='_"+na+"']"),1===ma.length)){ma=ma[0];break b}ma=null}}if(ma){ha=ma;break a}}b:{ma=null;if(0!==ea){switch(ha){case 9:case 11:case 35:ma=G(na,ha,!1,3===ea||2===ea);break;case 5:na.substring(na.length-2)==="[]"&&(ma=a.NSUtil.GetElementParId(na.substring(0,na.length-2),document,!0));break;case 47:1===
115ea&&(ma=a.NSUtil.GetElementParId(na,document,!1,!0))}ma||(ma=a.NSUtil.GetElementParId(na,document,!0))}else switch(ha){case 31:case 32:case 39:case 40:case 42:case 43:case 84:case 139:case 3:case 10:case 17:case 109:case 21:case 23:case 45:case 55:case 57:case 105:ma=a.NSUtil.GetElementParId(na,document,!1);break;case 25:ma=a.NSUtil.GetElementParId(na+"_",document,!1);break;case 16:case 4:case 49:case 79:case 8:case 22:ma=document.getElementById(na),a.NSUtil.bNodeEstType(ma,"i")&&(ma=ma.firstElementChild)}ma||
116(ma=w[na]);if(!ma)switch(na=document.getElementsByName(na),ha){case 6:ha=na;break b;default:na.length&&(ma=na[0])}ha=ma}}return ca[ea]=ha}const S=A.attributes.getNamedItem("ALIAS").value,V=Ka(A,"TYPE");let ca=[];for(A=A.firstElementChild;A;A=A.nextElementSibling)switch(A.nodeName){case "PROP":if(-1===Ka(A,"NUM"))u(P,w,V,A,S);else{const ea=yb[Ka(A,"NUM")];ea&&ea(P,V,A,S)}break;case "JS":T(P,V,A,S);break;case "ETAT":E(P,V,A,S);break;case "SELECTION":Q(P,V,A,S);break;case "LIGNES":J(P,w,V,A,S);ca=[];
117break;case "OPTIONS":hb(P,V,A,S);break;case "RECHARGE":nb(P,A,S);break;case "REFRESH":eb(A,S,F);break;case "SAISIEA":ob(A,S);break;case "SAISIEAJETON":ub(A,S);break;case "SAISIEMASQUE":va(A,S);break;case "TREEVIEW":fb(A,S)}}function I(w,A,F,P){const S=ia(F);F=w(0);switch(A){case 8:case 22:case 26:case 33:case 82:case 27:F&&(F.src=S);break;case 7:F&&(F.selectedIndex=parseInt(S,10));break;case 6:w=parseInt(S,10);F&&((A=F.length)?w<0?Array.prototype.forEach.call(F,V=>{V.checked=!1}):w<=A&&(F[w].checked=
118!0):F.checked=0<=w);break;case 5:F&&(F.checked=!!parseInt(S,10));break;case 3:case 10:(F=x(F))&&H(F,a.NSUtil.sEncodeInnerHTML(S,!0),!1);break;case 2:F&&(F.value=S,Ia(P,A,1,S));break;case 12:case 17:case 109:F||(F=w(1));(F=x(F))&&H(F,S,!1);break;case 21:F&&(F=F.getElementsByTagName("ol")[0]);case 23:case 45:(F=x(F))&&H(F,S,21===A);break;case 31:case 32:case 39:case 40:case 42:case 43:case 84:case 139:break;case 44:case 72:case 85:case 100:case 122:Fa(P,1,S);break;case 34:Fa(P,1,parseInt(S,10)!==0);
119break;case 103:if(F&&F.attributes)switch(a.NSUtil.sGetNodeName(F)){case "a":F.setAttribute("href",S);break;case "div":S?F.setAttribute("data-href",S):F.attributes.getNamedItem("data-href")&&F.removeAttribute("data-href")}break;default:F&&(F.value=S)}}function x(w){if(a.NSUtil.bNodeEstType(w,"table"))for(;w&&!a.NSUtil.bNodeEstType(w,"td");)w=w.firstElementChild;return w}function H(w,A,F){w.innerHTML=A;
119F?Array.from(w.getElementsByTagName("script")).forEach(function(P){var S=document.createElement("script");
120S.defer=!1;S.async=!1;void 0!==P.type&&(S.type=P.type);void 0!==P.nonce&&S.setAttribute("nonce",P.nonce);S.appendChild(document.createTextNode(P.innerText));P.replaceWith(S)}):a.CDebug.s_Assert(0===w.getElementsByTagName("script").length,"Balises script inattendue dans une affectation de .innerHTML !")}function K(w,A,F,P,S){P=ia(P);A=A(0);switch(F){case 1:document.title=P;return;case 4:F=null;(S=a.NSUtil.GetElementParId("z_"+S+"_IMG",document,!1))&&!a.NSUtil.bNodeEstType(S,"img")?((F=S.getElementsByTagName("span")[0])&&
121(S=F),F=S):A&&a.NSUtil.bNodeEstType(A,"button")&&(F=A);F?H(F,a.NSUtil.sEncodeInnerHTML(P,!w,w),!1):A&&(A.value=P);return;case 3:A=x(A);break;case 17:case 109:if(A=x(A))a.CDebug.s_Assert(w,"Seule ..Libell\u00e9HTML est autoris\u00e9 sur les ZTRs"),H(A,P,!1);return;case 16:(w=a.NSUtil.GetElementParId(S,document,!1,!0))?A=w:A&&!a.NSUtil.bNodeEstType(A,"a")&&(A=null);if(A){for(;A&&!a.NSUtil.bNodeEstType(A,"a");)A=A.firstElementChild;A&&H(A,P,!1)}return;case 9:case 35:(A=document.getElementById("lz"+S))||
122(A=a.NSUtil.GetElementParId(S,document,!1,!0));break;case 56:case 68:A||(A=document.getElementById("tt"+S))||(A=a.NSUtil.GetElementParId(S,document,!1,!0));break;case 49:A&&(S=A.getElementsByTagName("a")[0])&&(A=S);break;case 55:case 57:case 105:break;default:A=document.getElementById("lz"+S)}A&&H(A,a.NSUtil.sEncodeInnerHTML(P,!w,w),!1)}function ba(w,A,F,P,S,V){let ca=w(0);w=w(1);if(ca&&(F=parseInt(ia(F),10),!(F<0))){var ea=F+"px";switch(A){case 34:break;case 83:Fa(P,V,F);ca=a.NSUtil.GetElementParId(P,
123document,!0);ca.getElementsByTagName("td")[0][S]=F;O(ca,A,P,S,ea,!1);break;case 39:case 40:case 43:V=ca.getElementsByTagName("td")[0];""!==V.style.getPropertyValue(S)?V.style.setProperty(S,ea):V[S]=F;O(ca,A,P,S,ea,!1);for(ca=ca.parentElement;ca&&ca!==document.body;)switch(a.NSUtil.sGetNodeName(ca)){case "table":ca[S]=F;default:ca=ca.parentElement;break;case "div":O(ca,A,P,S,ea,!1),ca=null}break;case 5:case 6:O(w,A,P,S,ea,!1);break;case 44:O(w,A,P,S,ea,!1);O(document.getElementById("con-"+P),A,P,S,
124ea,!1);break;case 3:O(ca!==w&&document.getElementById("bz"+P)||ca,A,P,S,ea,!1);break;case 33:O(document.getElementById(P)||ca,A,P,S,ea,!1);break;default:O(ca,A,P,S,F+"px",!1)}}}function O(w,A,F,P,S,V){if(w){if(V)switch(A){case 5:case 6:(w instanceof HTMLCollection||"undefined"!==typeof RadioNodeList&&w instanceof RadioNodeList||"undefined"!==typeof NodeList&&w instanceof NodeList)&&Array.prototype.forEach.call(w,ca=>{const ea=ca.parentElement;a.NSUtil.bNodeEstType(ea,"label")&&(ca=ea);ca.style.setProperty(P,
125S)});w=a.NSUtil.GetElementParId(F.substring(F.length-2)==="[]"?F.substring(0,F.length-2):F,document,!1,!0);break;case 23:case 45:case 21:case 25:Array.prototype.forEach.call(w.getElementsByTagName("a"),ca=>ca.style.setProperty(P,S))}(w=w.style)&&w.setProperty(P,S)}}function q(w,A,F,P,S,V){var ca;switch(A){case 2:case 4:case 7:case 10:case 14:case 16:case 25:case 3:w=w(0);break;case 56:case 68:z("#c-"+F,P,S);return;case 83:w=((ca=a.NSChamps.iGetInterfaceChamp(F,ea=>ea.viGetAsJauge()))===null||ca===
126void 0?void 0:ca.m_oLibelleInterne)||null;break;default:w=w(1)}O(w,A,F,P,S,V)}function z(w,A,F){Array.prototype.forEach.call(document.getElementsByTagName("style"),P=>{(P=a.NSUtil.oStyleTrouveDansBalise(P,w))&&P.style.setProperty(A,F)})}function R(w,A,F,P){(w=w.firstElementChild)&&Array.prototype.forEach.call(w.attributes,S=>{const V=S.name;var ca=V.toLowerCase();S=S.value;if(0!==F)switch(ca){case "onmouseout":case "onmouseover":case "onclick":A[V]=null;break;default:A.removeAttribute(V)}else switch(ca){case "onmouseout":case "onmouseover":A[V]=
127new Function("","document."+S);break;case "onclick":if(P){ca="";a.NSUtil.bFF&&-1!==S.indexOf("event")&&(ca="event");A[V]=new Function(ca,S);break}default:A.setAttribute(V,S)}})}function u(w,A,F,P,S){switch(F){case 31:try{const V=a.NSUtil.xoEvalJSON(ia(P));V.id=S;clWDUtil.DemontePageInterne(Y(S),S,V,void 0,!0);clWDUtil.MontePageInterne(Y(S),S,V,!1)}catch(V){}return;case 130:case 148:P=a.NSUtil.xoEvalJSON(ia(P));A[S+"_DATA"].wbSetParametreDonnees(P[0],P[1]);return}A=a.NSChamps.oGetObjetInformationsPartielles(S,
128F);if(A instanceof a.NSChamps.CChamp)if(S=A.viGetAsParametres())S.DeduitParam(ia(P));else if(w=w(1))A.vPreAffecteHTML(!0),H(w,ia(P),!1),A.vPostAffecteHTML(!0)}function D(w,A,F,P,S,V){(w=1===w?a.NSChamps.oGetPageCourante():a.NSChamps.oGetObjetInformationsPartielles(P,w))&&w.viGetPropriete(1,A).vSetValeur(S(F),0,{m_oParametresSpecifiques:V})}
128function L(w,A,F,P){(w=w(0))||(w=a.NSUtil.GetElementParId(F,document));switch(A){case 49:w&&!P&&(A=w.getElementsByTagName("a"),A.length&&(w=A[0]))}return w}function T(w,
129A,F,P){const S=ia(F);(w=L(w,A,P,-1!==S.indexOf("getElementsByTagName")))&&function(V){eval("arguments[0]"+S)}(w)}function E(w,A,F,P){if(w=L(w,A,P,!1))A=Sa(F,"INDICE",-1),-1!==A&&(w=w[A]);w&&(A=w,t(F,"GRISE")?A.setAttributeNode(document.createAttribute("DISABLED")):A.removeAttribute("DISABLED"),t(F,"INACTIF")?w.setAttributeNode(document.createAttribute("READONLY")):w.removeAttribute("READONLY"))}function Q(w,A,F,P){if(w=L(w,A,P,!1))w.options[parseInt(ia(F),10)].selected=!0}function J(w,A,F,P,S){const V=
130oGetObjetChamp(S);V&&V.bActionListeDepuisAJAX?V.bActionListeDepuisAJAX(P,-1):(w=w(0))&&N(w,A,F,P,S)}function N(w,A,F,P,S){var V=Ka(P,"DEBUT");const ca=Ka(P,"NOMBRE"),ea=Ka(P,"SELECTION"),ha=Sa(P,"RUPTURES",0),na=Sa(P,"COLONNES",1);var ma=1<na,sa=A[S+"_DATA"];sa&&(sa.value=Na(P,"DATA",""));var Ea=parseInt(A[S+"_DEB"].value,10);sa=G(S,F,!0);let za=aa(sa,F);for(;Ea<V&&da(F,S,Ea,ha,sa,za);)Ea++;if(Ea>=V+ca)for(;da(F,S,Ea,ha,sa,za);)Ea++;if(0<ha)switch(F){case 9:case 11:for(Ea=P.firstElementChild;Ea;){var Ga=
131Ka(Ea,"INDICE");ka(S,Ga,ha,za);Ea=Ea.nextElementSibling}}if(1===Sa(P,"RESETTABLE",0)){Ea=document.getElementById("tt"+S);a.NSUtil.bEstFils(Ea,za)||(Ea=null);var La=za.childNodes;a.NSUtil.bForEachInverse(La,function(Ya){Ya.nodeName==="#text"&&za.removeChild(Ya);return!0});for(var Pa=0;Pa<La.length;){var pb=La[Pa];Ea?(pb===Ea&&(Pa+1<La.length&&La[Pa+1].offsetHeight<=1&&Pa++,Ea=null),Pa++):za.removeChild(pb)}const xa="rgs-"+S+"-";a.NSUtil.bForEachInverse(document.getElementsByTagName("style"),function(Ya){Ya.id.startsWith(xa)&&
132Ya.parentNode.removeChild(Ya);return!0})}La="";Ea=[];Pa=-1;pb=!!P.attributes.getNamedItem("STYLE");for(P=P.firstElementChild;P;P=P.nextElementSibling){Ga=Ka(P,"INDICE");var pa=fa(S+"_"+Ga,za),Ba="";let xa="";var qb="",Ma="";for(const wb of P.children){var Wa=a.NSUtil.sSupprimeEspacesDebutFin(ia(wb));switch(wb.nodeName){case "DEBUT":Ba=Wa;break;case "CORPS":xa=Wa;break;case "FIN":qb=Wa;break;case "STYLE":Ma=Wa;break;case "PI":try{let Za=JSON.parse(Wa);void 0!==Za.alias_original?(Za.id="zrl_"+Ga+"_"+
133Za.alias_original,Za.alias_monte_demonte=Za.alias_original):(Za.id=S+"_"+Ga,Za.alias_monte_demonte=S);Ea.push(Za)}catch(Za){}}}const Ya=t(P,"INVISIBLE");Wa=t(P,"REPLIEE");Ba=Ba+xa+qb;pb&&Ja(S,Ga,Ma);if(!Ya&&!pa){Ma=null;qb=V+ca;for(Pa=Math.max(Pa-1,Ga+1);Pa<qb&&!Ma;Pa++)(Ma=Da(S,!0,Pa,ha,za))||(Ma=fa(S+"_"+Pa,za));if(Ma){Ba&&(ib(Ba)?(a.NSUtil.bNodeEstType(Ma,"td")&&(Ma=Ma.parentElement),Wa||Ba.substring(Ba.length-5).toLowerCase()==="</tr>"?jb(Ma,Ba):cb(Ma,Ba,!0,null)):Ba.substring(Ba.length-5).toLowerCase()===
134"</tr>"?(a.NSUtil.bNodeEstType(Ma,"td")&&(Ma=Ma.parentElement),cb(Ma,Ba,!1,null)):kb(Ma.parentElement.previousElementSibling,Ba));continue}}pa?(pa=document.getElementById(S+"_"+Ga),F===11&&ka(S,Ga,ha,za),Ya?(a.NSUtil.bNodeEstType(pa,"div")&&a.NSUtil.bNodeEstType(pa.parentElement,"td")&&ja(pa.parentElement)&&(pa=pa.parentElement,a.NSUtil.bNodeEstType(pa.parentElement,"tr")&&ja(pa.parentElement)&&(pa=pa.parentElement)),a.NSUtil.oSupprimeElement(pa)):pa&&(a.NSUtil.bNodeEstType(pa,"div")&&a.NSUtil.bNodeEstType(pa.parentElement,
135"td")&&(pa=pa.parentElement),ib(xa)?(Ga=pa,a.NSUtil.bNodeEstType(pa,"td")&&(pa=pa.parentElement),Wa?(jb(pa,xa),pa=ja(pa)?pa:Ga,a.NSUtil.oSupprimeElement(pa)):xa.substring(xa.length-5).toLowerCase()!=="</tr>"?cb(pa,xa,!0,pa.firstElementChild):rb(pa,xa)):xa.substring(xa.length-5).toLowerCase()==="</tr>"?(a.NSUtil.bNodeEstType(pa,"td")?(Ga=pa.parentElement,Wa=pa):(Ga=pa,Wa=pa.lastElementChild),cb(Ga,xa,!1,Wa)):rb(pa,xa)),sa===za&&(sa=G(S,F,!0),za=aa(sa,F))
135):Ba&&(Ga=za,ib(Ba)?Ba.substring(Ba.length-5).toLowerCase()!==
136"</tr>"&&(Ba+="</tr>"):xa.substring(xa.length-5).toLowerCase()==="</tr>"?ma?(Ga=za.lastElementChild,Ba=Ba.substring(0,xa.length-5)):Ba="<tr>"+Ba:ma&&vb(Ba)&&(Ga=za.lastElementChild),kb(Ga,Ba),sa===za&&(sa=G(S,F,!0),za=aa(sa,F)))}La?(La=La.replace(/<\/tr><\/tr>/ig,"</tr>"),La=La.replace(/<tr><tr>/ig,"<tr>"),La=La.replace(/<tr[^>]*>\s*<\/tr>/ig,""),La=La.replace(/<tr[^>]*>\s*<tr/ig,"<tr"),a.NSUtil.bNodeEstType(sa,"td")?H(sa,La,!1):sa.outerHTML=La,sa=G(S,F,!0),za=aa(sa,F)):a.NSUtil.bNodeEstType(za,"tbody")&&
137a.NSUtil.bForEachInverse(za.childNodes,function(xa){0===xa.childNodes.length&&za.removeChild(xa);return!0});Ga=V+ca;for(ma=na;;)if(da(F,S,Ga,ha,sa,za))Ga++,ma=na;else if(ma>1)Ga++,ma--;else break;ca===0&&za!==sa&&za.childNodes.length===0&&a.NSUtil.SupprimeFils(sa);A[S+"_DEB"].value=V;V=A["_"+S+"_OCC"];V===void 0&&(V=A[S+"_OCC"]);V.value=ca;ea>=0&&(w.value=String(ea));Ea.forEach(function(xa){clWDUtil.DemontePageInterne(Y(xa.id),xa.alias_monte_demonte,xa,void 0,!0);clWDUtil.MontePageInterne(Y(xa.id),
138xa.alias_monte_demonte,xa,!1)});switch(F){case 9:case 35:case 11:case 77:a.NSChamps.AppelMethodePtr(a.NSChamps.OnTableZRAfficheAJAX,[S])}a.NSUtil.ms_oNotificationsAjoutHTML.LanceNotifications(null,sa)}function Y(w){var A,F;w=document.getElementById(w);return a.NSUtil.bNodeEstType(w,"table")?(F=(A=w.firstElementChild)===null||A===void 0?void 0:A.firstElementChild)===null||F===void 0?void 0:F.firstElementChild:w}function aa(w,A){let F=null;w&&a.NSUtil.bNodeEstType(w,"table")&&a.NSUtil.bForEach(w.children,
139function(P){return a.NSUtil.bNodeEstType(P,"tbody")?(F=P,A===77&&a.NSUtil.bForEach(P.children,function(S){return a.NSUtil.bNodeEstType(S,"tr")?(F=S,!1):!0}),!1):!0});return F}function da(w,A,F,P,S,V){const ca=fa(A+"_"+F,V);if(!ca)return!1;switch(w){case 9:case 11:ka(A,F,P,V)}V?a.NSUtil.oSupprimeElement(ca):S.removeChild(ca);oa(A,F);return!0}function fa(w,A){if((w=document.getElementById(w))&&A){let F=w.parentElement;for(;F&&F!==A&&ja(F);)w=F,F=w.parentElement}return w}function ja(w){let A=!1;return a.NSUtil.bForEach(w.childNodes,
140function(F){return F.nodeName==="#text"&&0===F.nodeValue.replace(Z,"").length?!0:A?!1:A=!0})}function ka(w,A,F,P){for(let S=0;S<F;S++)a.NSUtil.oSupprimeElement(fa(w+"-H-"+S+"-"+A,P)),a.NSUtil.oSupprimeElement(fa(w+"-B-"+S+"-"+A,P))}function oa(w,A){let F;for(;F=document.getElementById("rgs-"+w+"-"+A);)F.parentNode&&F.parentNode.removeChild(F)}function Da(w,A,F,P,S){for(let V=0;V<P;V++){const ca=fa(w+"-"+(A?"H":"B")+"-"+V+"-"+F,S);if(ca)return ca}return null}function Ja(w,A,F){F.startsWith("<style ")?
141(oa(w,A),document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",F)):F.split("}").forEach(P=>Qa(P))}function Qa(w){const A=w.indexOf("{");if(!(A<=0)){var F=w.substring(0,A),P=w.substring(A+1);P=lb(P,!0,!0);var S=a.NSUtil.oGetFeuilleStyle(document.getElementsByTagName("style")[0]);F.split(",").forEach(V=>{V=lb(V).replace(W,"");if(V.length!==0&&V!=="#"){var ca=sb(V.toLowerCase());P&&a.NSUtil.CreeStyle(ca||S,V,P)}})}}function sb(w){let A;a.NSUtil.bForEach(document.getElementsByTagName("style"),
142function(F){const P=a.NSUtil.oGetFeuilleStyle(F);F=a.NSUtil.tabGetStyleReglesFusion(P);return a.NSUtil.bForEach(F,function(S,V){const ca=S.selectorText;if(ca){const ea=ca.split(",");return a.NSUtil.bForEach(ca.split(","),function(ha,na){ha=a.NSUtil.sRemplaceEspaces(ha);return ha.toLowerCase()===w?(ea.splice(na,1),ha=S.style.cssText,a.NSUtil.StyleSupprime(P,V),0<ea.length&&a.NSUtil.CreeStyle(P,ea.join(","),ha),A=P,!1):!0})}return!0})});return A}function lb(w,A=!1,F=!1){let P,S=0;for(;S<w.length;)if(P=
143w.charAt(S),A&&P===" ")S++;else if(F&&P==="\t")S++;else if(!A||P!=="\r"&&P!=="\n")break;else S++;let V=w.length;for(;V>S;)if(P=w.charAt(V-1),A&&P===" ")V--;else if(F&&P==="\t")V++;else if(!A||P!=="\r"&&P!=="\n")break;else V++;return w.substring(S,V)}function ib(w){w=w.substring(0,4).toLowerCase();return"<tr>"===w||"<tr "===w}function vb(w){w=w.substring(0,4).toLowerCase();return"<td>"===w||"<td "===w}function cb(w,A,F,P){A=a.NSUtil.oCreateContextualFragmentSelonElement(w,F?A+"</tr>":"<tr>"+A).childNodes;
144A.length>1&&(F?w.parentNode.insertBefore(A[0],w):w.parentNode.insertBefore(A[1],w.nextSibling));if(P)w.replaceChild(A[0].firstChild,P);else if(F)w.parentNode.insertBefore(A[0],w);else if(w=w.previousSibling,F=A[0],a.NSUtil.bNodeEstType(w,"tr")&&a.NSUtil.bNodeEstType(F,"tr")){a.CDebug.s_Assert(F.firstChild===F.lastChild);a.CDebug.s_Assert(F.firstChild===F.firstElementChild);for(const S of F.children)w.appendChild(S)}else w.appendChild(F)}function rb(w,A){w.parentNode.replaceChild(a.NSUtil.oCreateContextualFragmentSelonElement(w,
145A),w)}function jb(w,A){A&&w.parentNode.insertBefore(a.NSUtil.oCreateContextualFragmentSelonElement(w,A),w)}function kb(w,A){if(A){const F=document.createRange();F.setStart(w,0);for(A=a.NSUtil.oCreateContextualFragment(F,A).childNodes;A.length>0;)w.appendChild(A[0])}}function hb(w,A,F,P){if(w=w(0)){w.options&&(w.options.length=0);var S=1;for(F=F.firstElementChild;F;F=F.nextElementSibling){var V=P+"_"+S;switch(F.nodeName){default:case "OPTION":switch(A){case 5:var ca=document.getElementById(V);switch(Sa(F,
146"COCHE",0)){default:a.CDebug.s_Assert(!1,"Valeur de coche invalide");break;case 1:ca.checked=!0;break;case 2:ca.checked=!1;break;case 3:}gb(F,V,1);break;case 6:gb(F,V,1);break;case 132:gb(F,V,2);break;default:V=w.options,ca=new Option(ia(F),String(V.length+1)),F.attributes.getNamedItem("VALMEM")&&ca.setAttribute("data-wb-valmem",F.attributes.getNamedItem("VALMEM").value),V[V.length]=ca}S++;break;case "SATURATION":V=w.options,V[V.length]=new Option(ia(F),"-1")}}}}function gb(w,A,F){A=document.querySelector("label[for='"+
147A+"']");for(var P=0;P<F&&A;P++)A=(A=A.getElementsByTagName("span"))&&A[0];A&&(F=t(w,"HTML"),H(A,a.NSUtil.sEncodeInnerHTML(ia(w),!F,F),!1))}
147function nb(w,A,F){if(w=w(0)){if(A.attributes.getNamedItem("PARAM")){var P=a.NSChamps.oGetChampSansCreation(F);if(P){A=A.attributes.getNamedItem("PARAM").value;var S=P.viGetAsGraphe();S?S.DeduitParamBarre(A):(P=P.viGetAsParametres())&&P.DeduitParam(A)}}P=new RegExp("("+F+"\\=)(\\d+)","i");A=w.src;P.test(A)?w.src=A.replace(P,function(V,ca,ea){return ca+(parseInt(ea,
14810)+1)}):(S=new RegExp("("+F+"\\=)([^\\d]|$)","i"),S.test(A)&&(w.src=A.replace(S,function(V,ca,ea){return ca+Date.now()+ea})));w=w.parentElement;a.NSUtil.bNodeEstType(w,"a")&&mb(w,F,P,function(V,ca,ea){return ca+(parseInt(ea,10)+1)})}}function mb(w,A,F,P){if(w.onclick){let S=xb[A]||w.getAttributeNode("onclick").value;F.test(S)&&(S=S.replace(F,P),w.onclick=new Function("",S),xb[A]=S)}}function eb(w,A,F){const P=Sa(w,"RESETTABLE",0);var S=Na(w,"DEBUT","");let V=-1,ca;S&&!isNaN(parseInt(S,10))&&(V=parseInt(S,
14910),S.indexOf(";")>-1&&(ca=S.substring(S.indexOf(";")+1)));S=Sa(w,"NOMBRE",void 0);const ea=Na(w,"DATA",void 0);F&&F.m_oTableAJAX.sGetAlias()===A&&F.SupprimeRequete(!1);(A=oGetObjetChamp(A))&&A.Refresh(P,V,ca,ea,S,w.firstChild)}function ob(w,A){if("undefined"!==typeof $&&(A=$("."+A),A=A.add(A.find("input")).last(),$a(w,"FILTRE","filtre",A,Ka),$a(w,"OUVERTUREAUTO","ouvertureauto",A,t),$a(w,"TAILLEMIN","taillemin",A,Ka),$a(w,"DELAI","delai",A,Ka),$a(w,"SANSCASSE","sanscasse",A,Ka),w=w.firstElementChild)){A.autocomplete("wbRazAutocompleteProg");
150const P=[];for(;w;w=w.nextElementSibling)switch(w.nodeName){case "OPTION":var F=ia(w);F=w.attributes.getNamedItem("VALMEM")?[F,w.attributes.getNamedItem("VALMEM").value]:F;P.push(F)}A.autocomplete("wbConcatAutocompleteProg",P)}}function ub(w,A){const F=document.getElementsByName(A)[0];A=document.getElementsByName(A+"_DATA")[0];F&&A&&(A.value=ia(w),F.wbJetonChargeDepuisChampCache())}function va(w,A){(A=a.NSOperations.iGetWBMasque(document.getElementsByName(A)[0]))&&A.wbSaisieMasqueSetJSON(ia(w))}function $a(w,
151A,F,P,S){w.attributes.getNamedItem(A)&&P.data("saisieassistee-"+F,S(w,A))}function fb(w,A){document.getElementsByName(A+"_AS")[0].value=ia(w.children[0]);document.getElementsByName(A)[0].value=ia(w.children[1]);const F=ia(w.children[2]);document.getElementsByName("NEX_"+A)[0].value=F;window["oItems_"+A]=F.split(",");A=document.getElementById(A+"_");H(A,ia(w.children[3]),!0)}function Aa(w){eval(ia(w))}function Xa(w){try{const A=a.NSValues.tabAny2Natif(a.NSUtil.xtabMarshallingFenetrePageMultiple(ia(w)));
152for(;A.length&&void 0===A[A.length-1];)A.splice(A.length-1,1);switch(Ka(w,"COMMANDE")){case 0:return alert(A[0]);case 1:return WDToastBase.prototype.s_ToastAffiche(A[0],A[1],A[2],A[3],A[4]);case 2:return WDToastBase.prototype.s_ToastAffichePopup(A[0],A[1],A[2],A[3]);case 3:return clWDUtil.CelluleAfficheDialogue(A[0],document,A[1],A[2],A[3],A[4],A[5],A[6]);case 4:return clWDUtil.CelluleFermeDialogue(A[0]);case 5:return clWDUtil.PopupAffichePageURL(A[0],A[1],A[2],A[3],A[4],A[5],A[6],A[7]);case 6:return clWDUtil.PopupFermePage(A[0]);
153case 7:return clWDUtil.PopupFermePageCourante();case 8:return clWDUtil.DonneFocus(document.getElementById(A[0]),A[1],A[2])}}catch(A){}}function Ta(w){zb.forEach(A=>{const F=A[0];if(F===(w&F))try{A[1]()}catch(P){}})}function Fa(w,A,F){(w=a.NSChamps.oGetChampSansCreation(w))&&w.viGetPropriete(1,A).vSetValeur(F,0,{})}function Ia(w,A,F,P){a.NSChamps.oGetObjetInformationsPartielles(w,A).viGetPropriete(1,F).vSetValeur(P,0,{})}function ia(w){let A="";w&&Array.prototype.forEach.call(w.childNodes,F=>{(F=F.nodeValue)&&
154(A+=F)});return A}function Na(w,A,F){return(w=w.attributes.getNamedItem(A))?w.value:F}function Ka(w,A){return parseInt(w.attributes.getNamedItem(A).value,10)}function Sa(w,A,F){return(w=Na(w,A,""))?(w=parseInt(w,10),isNaN(w)?F:w):F}function t(w,A){return Na(w,A,"0")==="1"}function U(w,A){w=w.m_oReponse;const F=w.m_oParametresSortie;F&&a.NSUtil.bForEachIn(F,(P,S)=>{P in A&&(P=a.iGetAsBase(A[parseInt(P,10)]))&&(P=P.viGetAsLRValue())&&P.vSetValeur2({m_oValeur:S,m_eAffectation:3,m_iOptions:{}});return!0});
155return w.m_oResultatOuRetourWL}const X=" GET POST PUT DELETE HEAD PATCH COPY".split(" "),Z=/[\s]/g,W=/[\r\n]/g,la=/\n/g,ya=/\('([^']*)'/,wa=/<WAJAX>/;let Ca=0;const ta=[];let bb=0;class qa{constructor(w){this.m_oInterne=w;this.m_nID=Ca++;this.m_bValide=!0;this.m_oXMLHttpRequest=new XMLHttpRequest}vLibere(){g(!1)}_Envoi(w,A){g(!1);let F=w.m_sContenu,P=w.m_sURL,S=w.m_eMethodeHTTP;0===S&&(S=F?2:1);let V=!1,ca=w.m_sUtilisateur,ea=w.m_sMotDePasse,ha;ca?ca&&!ea?(ha="Bearer "+ca,ea=void 0):btoa&&(ha="Basic "+
156btoa(ca+":"+ea)):ea=ca=void 0;switch(S){case 1:case 4:case 5:F&&(P+=(-1===P.indexOf("?")?"?":"&")+F);F=void 0;break;default:V=!0}this.m_bValide=!1;const na=this.m_oXMLHttpRequest;try{na.open(X[S],P,A,ca,ea),a.NSUtil.bForEachIn(w.m_oEntetesHTTPSupplementaires||{},function(ma,sa){ma.toLowerCase()==="content-type"&&(V=!1);na.setRequestHeader(ma,sa);return!0}),h(na.upload,w.m_pfAvancementEnvoi),h(na,w.m_pfAvancementTelechargement),V&&na.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),
157ha&&(na.setRequestHeader("Authorization",ha),na.withCredentials=!0),w.m_bContenuReponseBrut&&(na.responseType="arraybuffer"),na.send(F)}catch(ma){throw new a.CErreur(500,ma.message);}}_bValideResultat(){const w=this.m_oXMLHttpRequest;this.m_bValide=!1;
157if(w.readyState!==XMLHttpRequest.DONE)return!1;const A=w.status;if(0===A)return!1;if(this.m_oInterne){if(this.__bHeaderHTTPExiste("WebDevRedirPHP"))return document.location.replace(decodeURI(w.responseText)),!1;if(this.__bHeaderHTTPExiste("WebDevError")){const F=
158w.responseText;this.vLibere();B();let P=document;a.NSUtil.nSetTimeout(function(){P.write(F);P.close()},a.NSUtil.ms_oTimeoutImmediat);return!1}if(400<=A)return!1}return this.m_bValide=!0}__bHeaderHTTPExiste(w){try{return!!this.m_oXMLHttpRequest.getResponseHeader(w)}catch(A){return!1}}_oGetResultat(){if(this.m_bValide){var w=this.m_oXMLHttpRequest;if("arraybuffer"===w.responseType)return{m_oResultatOuRetourWL:""};let A=w.responseText;if(this.m_oInterne){if(A.substring(0,5)==="<?xml"&&A.match(wa))return w=
159M(this,this.m_oInterne.m_oFormulaire,null,w.responseText,w.responseXML),{m_oResultatOuRetourWL:w.m_oValeurRetour,m_oParametresSortie:w.m_oParametresSortie};try{const F=w.getResponseHeader("WebDevXMLDoc");if(F){const P=w.responseXML;if(P)return a.NSOperations.oXMLAjoutDoc(F,P),{m_oResultatOuRetourWL:F}}}catch(F){}}return{m_oResultatOuRetourWL:A}}return{m_oResultatOuRetourWL:""}}}class Ra extends qa{vEnvoi(w){try{bb++,this._Envoi(w,!1)}finally{bb--,g(!1)}}xoGetResultat(){if(!this._bValideResultat())throw Error("Erreur AJAX/AJAX error.");
160return{m_oXMLHttpRequest:this.m_oXMLHttpRequest,m_oReponse:this._oGetResultat()}}}class db extends qa{constructor(w,A){super(w);this.m_pfCallback=A;ta.push(this);this.m_oXMLHttpRequest.onreadystatechange=F=>{this.__OnReadyState()}}vEnvoi(w){this._Envoi(w,!0)}vLibere(){a.NSUtil.SupprimeDansTableau(ta,this);const w=this.m_oXMLHttpRequest;w.onreadystatechange=a.NSUtil.VideUndefined;a.NSUtil.bFF&&w.readyState<XMLHttpRequest.DONE&&w.abort();super.vLibere()}__OnReadyState(){const w=this.m_oXMLHttpRequest;
161if(w.readyState===XMLHttpRequest.DONE){let A=!1;const F=this.m_oInterne,P=F?F.m_iRequeteTable:void 0;this._bValideResultat()&&(P?A=0!==M(this,F.m_oFormulaire,P,w.responseText,w.responseXML).m_eResultat:this.m_pfCallback({m_oXMLHttpRequest:w,m_oReponse:this._oGetResultat()},this.m_nID));P&&P.SupprimeRequete(!A);this.vLibere()}}}let Va=!0,ab=!1,Oa=void 0,Ha=void 0,ua=void 0;b.ExecuteEvenementAsynchrone=function(w,A,F,P,S,V,ca){p()&&(F=m(w,A,F,P,void 0))&&(w={m_eMethodeHTTP:2,m_sURL:a.NSUtil.sGetPageAction(w),
162m_sContenu:F,m_oInterne:{m_oFormulaire:w}},k(w,function(ea,ha){V&&V(ea,ha);switch(typeof S){case "function":S();break;case "number":a.NSUtil.pfGetTraitement(A,S)()}ca&&ca(ea,ha)}))};let ra=!1,Ua=null;b.oRequeteSynchroneTexte=n;b.nRequeteAsynchroneTexte=C;b.oReponseGeneriqueDepuisTexte=function(w,A){var F=w&&"undefined"!==typeof DOMParser?(new DOMParser).parseFromString(w,"text/xml"):null;return F?M(null,A,null,w,F):{m_eResultat:0}};const yb=[,I,,function(w,A,F,P){K(!1,w,A,F,P)},function(w,A,F,P){D(A,
16339,F,P,ia)},function(w,A,F,P){ba(w,A,F,P,"height",16)},function(w,A,F,P){ba(w,A,F,P,"width",17)},,,,function(w,A,F,P){F=ia(F);let S=!1,V=w(0);switch(A){case 5:case 6:S=!0;break;case 23:case 45:case 21:case 25:S=!0;break;case 56:case 68:case 83:q(w,A,P,"color",F,!1);return;case 2:Fa(P,2,F);break;case 16:V=a.NSUtil.GetElementParId(P,document,!1,!1)}O(V,A,P,"color",F,S)},function(w,A,F,P){F=ia(F);let S=!1,V=w(0);w=w(1);switch(A){case 5:case 6:S=!0;break;case 31:case 32:case 39:case 40:case 42:case 43:case 84:case 139:V=
164a.NSUtil.GetElementParId(P,document,!1);break;case 34:V=a.NSUtil.GetElementParId(P,document,!0);a.CDebug.s_Assert(V===w,"oChamp !== oChampExt !!!");break;case 16:(w=a.NSUtil.GetElementParId(P,document,!0))&&w.style&&(w.style.backgroundColor=F);break;case 21:S=!0;break;case 2:Fa(P,3,F);break;case 83:case 33:Fa(P,3,F);return;case 111:V=a.NSUtil.GetElementParId(P,document,!1,!0)}O(V,A,P,"background-color",F,S)},function(w,A,F,P){function S(ea){a.NSUtil.ActiveDesactiveClassName(ea,"wbgrise",4===V)}const V=
165Ka(F,"ETAT");var ca=w(0);w=w(1);switch(A){case 2:case 33:Fa(P,26,V);break;case 4:case 16:case 22:case 91:case 79:case 55:case 57:case 105:if(ca){const ea=ca.parentElement;if(!a.NSUtil.bNodeEstType(ca,"a"))if(a.NSUtil.bNodeEstType(ea,"a"))ca=ea;else break;R(F,ca,V,!1)}}w&&(Array.prototype.forEach.call(w.getElementsByTagName("a"),S),a.NSUtil.bAvecClasse(w,"wbstyle")&&S(w));D(A,26,F,P,()=>V)},,,,,,function(w,A,F,P){var S=t(F,"PARENTRELATIF")||t(F,"PARENTRELATIF"),V=!1;let ca=!1;const ea=ia(F)!=="0";
166V=w(0);w=w(S?3:2);switch(A){case 56:case 68:w=document.getElementById("tt"+P);V=!0;break;case 49:if(w=V)w.parentElement&&w.parentElement.classList.contains("wbTabControlTabSep")&&(w=w.parentElement),ea!=("none"!=w.style.display)&&(A=w.closest(".wbTabControl"),(S=A.querySelector(".wbTabControlTabs"))&&S.classList.contains("wbTabControlTabsSameSize")&&(S=+A.style.getPropertyValue("--wb-number_visible_tab"),A.style.setProperty("--wb-number_visible_tab",String(S+(ea?1:-1)))));case 55:case 57:case 105:ca=
167V=!0;w?ea&&"hidden"===w.style.visibility&&(w.style.visibility=""):["H","B"].forEach(ha=>a.NSUtil.SetDisplay(document.getElementById(ha+"-"+P),ea));break;case 127:ca=V=!0;w&&!a.NSUtil.bNodeEstType(w,"li")&&(w=w.parentElement,a.CDebug.s_Assert(a.NSUtil.bNodeEstType(w,"li"),"Li non trouv\u00e9"));break;default:ca=V=S}V?a.NSUtil.SetDisplay(w,ea,ca):w&&w.style&&(w.style.visibility=ea?"inherit":"hidden");w&&a.NSChamps.AppelMethodePtr(a.NSChamps.OnDisplay,[w,ea])},,,I,,,,,,function(w,A,F,P){D(A,40,F,P,ia)},
168,,,,,function(w,A,F,P){try{a.NSChamps.DeclareGroupes(a.NSUtil.xoEvalJSON(ia(F)))}catch(S){}},function(w,A,F,P){if(w=w(0))switch(F=ia(F),A){case 79:w.style.backgroundImage=a.NSUtil.sGetURICSS(F);(A=a.NSChamps.iGetInterfaceChamp(P,S=>S.viGetAsCornage()))&&A.InitTailleImage(F);break;default:w.src=F}},,,,function(w,A,F,P){const S=w=w(0);switch(A){case 22:a.NSUtil.bNodeEstType(w,"img")&&(A=w.parentElement,a.NSUtil.bNodeEstType(A,"a")&&(w=A));break;default:(w=a.NSUtil.GetElementParId(P,document,!1,!0))||
169(w=S)}a.NSUtil.bNodeEstType(w,"td")&&(w=w.firstElementChild);const V=ia(F);w&&(a.NSUtil.bNodeEstType(w,"input")?mb(w,P,ya,function(){return"('"+V+"'"}):w.href=V);F="_UC_"+P+"_38_";
169void 0!=window[F]&&(window[F]=V)},function(w,A,F,P){function S(ca){Array.prototype.forEach.call(ca,ea=>{ea.title=V})}const V=ia(F);w=w(0);switch(A){case 5:case 6:S(document.getElementsByName(P));return;case 9:case 35:w=G(P,A);break;case 49:w&&S(w.getElementsByTagName("a"));break;case 83:Fa(P,35,V);return;case 4:w&&w.firstElementChild&&
170(w.firstElementChild.title=V)}w&&(w.title=V)},,function(w,A,F,P){var S=a.NSUtil.ms_bRTL?"right":"left";F=ia(F)+"px";w=w(2);O(w,A,P,S,F,!1)},function(w,A,F,P){F=ia(F)+"px";w=w(2);O(w,A,P,"top",F,!1)},function(w,A,F,P){F=ia(F);w=w(1);O(w,A,P,"cursor",F,!0)},,,,function(w,A,F,P){q(w,A,P,"font-weight",String(parseInt(ia(F),10)),!0)},function(w,A,F,P){q(w,A,P,"font-style",ia(F)!=="0"?"italic":"normal",!0)},function(w,A,F,P){q(w,A,P,"font-family",ia(F),!0)},function(w,A,F,P){switch(ia(F)){default:F="none";
171break;case "1":F="underline";break;case "2":F="line-through";break;case "3":F="underline line-through"}q(w,A,P,"text-decoration-line",F,!0)},function(w,A,F,P){q(w,A,P,"font-size",ia(F),!0)},function(w,A,F,P){F=parseInt(ia(F),10);isNaN(F)?F=100:F<0?F=0:F>100&&(F=100);switch(A){case 33:case 83:Fa(P,18,F);return;case 79:w=w(0);break;default:w=w(1)}w&&a.NSUtil.SetOpacite(F,w)},function(w,A,F,P){q(w,A,P,"text-align",ia(F),!0)},function(w,A,F,P){q(w,A,P,"vertical-align",ia(F),!0)},function(w,A,F,P){F=ia(F)!==
172"0";switch(A){case 55:case 57:case 105:const S=w(1);if(S){const V=F?"":"Select",ca=F?"Select":"";["WDOngletOption","WDMenuOption"].forEach(ea=>["","Hover"].forEach(ha=>a.NSUtil.RemplaceClassNameSiExiste(S,ea+V+ha,ea+ca+ha)));(w=S.getElementsByTagName("a")[0])&&a.NSUtil.ActiveDesactiveClassName(w,"wbActif",F)}}},,,function(w,A,F,P){Fa(P,25,ia(F))},,,,,,,,function(w,A,F,P){Ia(P,A,38,ia(F))},,,,,,,,,,,,,,,,,,,,,,,,function(w,A,F,P){Fa(P,21,ia(F))},,,,,,function(w,A,F,P){K(!0,w,A,F,P)},,,,,,,,,,,,,,,
173,,function(w,A,F,P){A=w(0);if(!A||A instanceof HTMLCollection||"undefined"!==typeof RadioNodeList&&A instanceof RadioNodeList||"undefined"!==typeof NodeList&&A instanceof NodeList)A=w(1);A&&a.NSUtil.SetClasseHTML(A,ia(F))},,function(w,A,F,P){switch(A){case 8:case 22:case 26:case 33:case 82:case 91:if(w=w(0))w.alt=ia(F)}},,,function(w,A,F,P){let S,V,ca;F.attributes.getNamedItem("PLAN")?(S=Ka(F,"PLAN"),V=ia(F),ca=F.attributes.getNamedItem("FILS").value):(S=parseInt(ia(F),10),a.CDebug.s_Assert(!isNaN(S),
174"Plan invalide"));D(A,31,F,P,function(ea){return S},{sContenuHTML:V});ca&&a.NSChamps.DeclareChampPlanDiffere(ca.split(";"))},,function(w,A,F,P){if(w=w(0)){for(A=w.parentNode;P=w.nextSibling;)A.removeChild(P);w.insertAdjacentHTML("afterend",ia(F))}},,function(w,A,F,P){D(A,34,F,P,ia)},function(w,A,F,P){w=ia(F);switch(A){case 33:Fa(P,3,w)}},,,,,,,,function(w,A,F,P){Ia(P,A,56,ia(F))},,,,,,,,,,,,,,,,,,,,,,,function(w,A,F,P){WDMenu.s_UpdateMenuContextuel(P,ia(F))},function(w,A,F,P){const S=w(0);if(S){var V=
175(w=S.getAttribute(b.ms_DataWBAttributHTML))?w.split(b.ms_sDataWBAttributHTMLSeparateur):[],ca=[];for(F=F.firstElementChild;F;F=F.nextElementSibling)"ATT"===F.nodeName&&Array.prototype.forEach.call(F.attributes,ea=>{const ha=ea.name;S.setAttribute(ha,ea.value);a.NSUtil.SupprimeDansTableau(V,ha);ca.push(ha)});V.forEach(ea=>S.removeAttribute(ea));S.setAttribute(b.ms_DataWBAttributHTML,ca.join(b.ms_sDataWBAttributHTMLSeparateur))}},,,function(w,A,F,P){try{var S=a.NSUtil.xoEvalJSON(ia(F))}catch(V){S=null}a.NSChamps.ms_oSynchronisationServeur.SetProprieteServeur(P,
176158,S)}];b.oSauteTableCadrage=x;b.ms_DataWBAttributHTML="data-wb-attributhtml";b.ms_sDataWBAttributHTMLSeparateur=":";const xb={},zb=[[1,function(){FB.XFBML.parse()}],[2,function(){twttr.widgets.load()}],[8,function(){IN.init()}]],tb={};let Ab=0;b.AJAXExecuteDirect=function(w,A,F={}){return function(...P){F.last&&delete tb[w];var S=y(w,A,P,F);return S?(S=n(S),U(S,P)):""}};b.AJAXExecuteDirectAsynchrone=function(w,A,F={}){return function(...P){return new Promise(function(S,V){if(F.last){var ca=++Ab;
177tb[w]=ca}const ea=y(w,A,P,F);ea&&C(ea,function(ha){if(F.last){if(tb[w]!==ca)return V("Annul\u00e9 par un nouvel appel/Canceled by a new call");delete tb[w]}S(U(ha,P))})})}};b.oChargePIBulleVisiteGuid\u00e9e=function(w,A,F){return new Promise(function(P,S){if(!p())return S();const V={m_eMethodeHTTP:2,m_sURL:a.NSUtil.sGetPageAction(),m_sContenu:"WD_ACTION_=PIBULLEVISITEGUIDEE&WD_PARAM_="+encodeURIComponent(A),m_oInterne:{m_oFormulaire:a.NSUtil.ms_oFormulaireWEBDEV}};C(V,function(ca){try{const ea=ca.m_oReponse.m_oResultatOuRetourWL;
178if("string"===typeof ea){const ha=a.NSUtil.xoEvalJSON(ea);a.CDebug.s_Assert(""===w.id);w.id=ha.alias;clWDUtil.MontePageInterne(w,a.NSUtil.ms_sAliasPage,ha,!1,void 0,[void 0,F],()=>{P({demonte:()=>clWDUtil.DemontePageInterne(w,a.NSUtil.ms_sAliasPage,ha),alias:ha.alias})})}else return S()}catch(ea){return S(ea)}})})};b.oUpdateChatIA=function(w){return new Promise(function(A,F){if(p())F={m_eMethodeHTTP:2,m_sURL:a.NSUtil.sGetPageAction(),m_sContenu:"WD_ACTION_=CHATIAUPDATE&WD_PARAM_="+encodeURIComponent(w),
179m_oInterne:{m_oFormulaire:a.NSUtil.ms_oFormulaireWEBDEV},m_oEntetesHTTPSupplementaires:{"webdev-options-execution":"asynchrone-chat-ia"}},C(F,function(P){A()});else return F()})}})(a.NSAjax||(a.NSAjax={}))})(NSPCS||(NSPCS={}));
180(function(a){(function(b){b.eGetTypeOperande=function(B){const y=B.veGetTypeWL();if(31==y)switch(typeof B.valueOf()){case "boolean":return 0;case "number":return 3;case "string":return 5}B=h[y];return void 0!==B?B:5};const h=[,0,3,3,3,1,3,3,3,2,4,3,3,4,2,,5,,,5,,,,,6,7,8,9,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,11]})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
181(function(a){(function(b){function h(){throw new a.CErreur(601);}function B(J,N){return a.NSTypes.ms_DescriptionChaine.viCreationCopie(String(J)+String(N),3)}function y(J,N){return a.NSTypes.ms_DescriptionR8.viCreationCopie(J.vnToNumber(0)+N.vnToNumber(0),3)}function p(J,N){return J.oAdditionNumerique(N)}function m(J,N){return p(J,J.oConversionTypeNumerique(N))}function f(J,N){return m(N,J)}function d(J,N){return new a.NSTypes.CDuree(b.nArrondiVersZero(J.valueOf()+N.vnToNumber(0)))}function c(J,N){return d(N,
182J)}function g(J,N){return J.oAdditionOffset(N.vnToNumber(0))}function k(J,N){return g(N,J)}function n(J,N){return a.NSTypes.ms_DescriptionR8.viCreationCopie(J.vnToNumber(0)-N.vnToNumber(0),3)}function C(J,N){return J.oSoustractionNumerique(N)}function v(J,N){return C(J,J.oConversionTypeNumerique(N))}function M(J,N){return C(N.oConversionTypeNumerique(J),N)}function G(J,N){return J.oSoustractionDate(N)}function e(J,N){return J.oSoustractionDuree(N)}function l(J,N){return a.NSTypes.ms_DescriptionR8.viCreationCopie(J.vnToNumber(0)*
183N.vnToNumber(0),3)}function r(J,N){return J.oMultiplicationNumerique(N)}function I(J,N){return r(J,J.oConversionTypeNumerique(N))}function x(J,N){return I(N,J)}function H(J,N){return new a.NSTypes.CDuree(b.nArrondiVersZero(J.valueOf()*N.vnToNumber(0)))}function K(J,N){return H(N,J)}
183function ba(J,N){J/=N;if(isNaN(J)&&0===N)throw new a.CErreur(216);return J}function O(J,N){return a.NSTypes.ms_DescriptionR8.viCreationCopie(ba(J.vnToNumber(0),N.vnToNumber(0)),3)}function q(J,N){return J.xoDivisionNumerique(N)}
184function z(J,N){return q(J,J.oConversionTypeNumerique(N))}function R(J,N){return q(N.oConversionTypeNumerique(J),N)}function u(J,N){return new a.NSTypes.CDuree(b.nArrondiVersZero(ba(J.valueOf(),N.vnToNumber(0))))}function D(J,N){J%=N;if(isNaN(J)&&0===N)throw new a.CErreur(216);return J}function L(J,N){return J.xoModuloNumerique(N)}function T(J,N){return L(J,J.oConversionTypeNumerique(N))}function E(J,N){return L(N.oConversionTypeNumerique(J),N)}b.oBinaire=function(J,N,Y){J=Q[J];var aa=a.iGetAsRValue(N,
1851),da=a.iGetAsRValue(Y,1);return aa||da?(N=aa||a.NSTypes.iNatif2RValue(N),Y=da||a.NSTypes.iNatif2RValue(Y),da=b.eGetTypeOperande(N),aa=b.eGetTypeOperande(Y),J.m_tabBase[da][aa](N,Y)):J.m_pfNatif(N,Y)};const Q=[{m_pfNatif:function(J,N){return J+N},m_tabBase:[[y,f,f,y,f,B,B,B,h,h,h,h],[m,p,p,m,p,B,B,B,h,c,h,h],[m,p,p,m,p,B,B,B,h,c,h,h],[y,f,f,y,f,B,B,B,h,c,h,h],[m,p,p,m,p,B,B,B,h,h,h,h],[B,B,B,B,B,B,B,B,B,B,h,h],[B,B,B,B,B,B,B,B,h,g,h,h],[B,B,B,B,B,B,B,B,h,g,h,h],[B,B,B,B,B,B,B,B,B,g,h,h],[h,d,d,d,
186h,B,k,k,k,function(J,N){return new a.NSTypes.CDuree(J.valueOf()+N.valueOf())},h,h],[h,h,h,h,h,h,h,h,h,h,function(J,N){return J.oAddition(N)},h],[h,h,h,h,h,h,h,h,h,h,h,function(J,N){return J.oAddition(N)}]]},{m_pfNatif:function(J,N){return J-N},m_tabBase:[[h,h,h,h,h,h,h,h,h,h,h,h],[v,C,C,v,C,h,h,h,h,h,h,h],[v,C,C,v,C,h,h,h,h,h,h,h],[n,M,M,n,M,h,h,h,h,h,h,h],[v,C,C,v,C,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,G,h,h,e,h,h],[h,h,h,h,h,h,h,G,h,e,h,h],[h,h,h,h,h,h,h,h,G,e,h,h],[h,h,h,h,h,h,
187h,h,h,function(J,N){return new a.NSTypes.CDuree(J.valueOf()-N.valueOf())},h,h],[h,h,h,h,h,h,h,h,h,h,function(J,N){return J.oSoustraction(N)},h],[h,h,h,h,h,h,h,h,h,h,h,h]]},{m_pfNatif:function(J,N){return J*N},m_tabBase:[[l,x,x,l,x,h,h,h,h,h,h,h],[I,r,r,I,r,h,h,h,h,K,h,h],[I,r,r,I,r,h,h,h,h,K,h,h],[l,x,x,l,x,h,h,h,h,K,h,h],[I,r,r,I,r,h,h,h,h,K,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,H,H,H,H,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,
188h,h],[h,h,h,h,h,h,h,h,h,h,h,h]]},{m_pfNatif:ba,m_tabBase:[[h,h,h,h,h,h,h,h,h,h,h,h],[z,q,q,z,q,h,h,h,h,h,h,h],[z,q,q,z,q,h,h,h,h,h,h,h],[O,R,R,O,R,h,h,h,h,h,h,h],[z,q,q,z,z,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,u,u,u,u,h,h,h,h,O,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h]]},{m_pfNatif:D,m_tabBase:[[h,h,h,h,h,h,h,h,h,h,h,h],[h,L,L,T,L,h,h,h,h,h,h,h],[h,L,L,T,L,h,h,h,h,h,h,h],[h,E,E,function(J,N){return a.NSTypes.ms_DescriptionR8.viCreationCopie(D(J.vnToNumber(0),
189N.vnToNumber(0)),3)},E,h,h,h,h,h,h,h],[h,L,L,T,T,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h]]}]})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
190(function(a){(function(b){b.nBinaire=function(B,y,p){B=h[B];y=a.NSUtil.nGetEntier(y);p=a.NSUtil.nGetEntier(p);return B(y,p)};const h=[function(B,y){return B&y},function(B,y){return B|y},function(B,y){return B^y},function(B,y){return B<<y},function(B,y){return B>>y}]})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
191(function(a){(function(b){function h(p,m,f,d,c,g,k,n,C){c=b.oNumerique(1,k).toString(C);a.CDebug.s_Assert(!n||"-"===c.charAt(0),"Valeur n\u00e9gative sans - devant");n&&"-"===c.charAt(0)&&(c=c.substring(1));if(g){k=[];C=Math.ceil(c.length/3);for(let v=0;v<C;v++)k.unshift(c.substring(c.length-3*(v+1),c.length-3*v));c=k.join(" ")}(m||n)&&d--;if(!p&&f)for(;c.length<d;)if(g&&c.length%4===3){if(c.length===d-1)break;c=" "+c}else c="0"+c;if(m||n)c=(n?"-":"+")+c;return c}function B(p,m,f,d,c,g,k,n){const C=
192b.oNumerique(6,b.oNumerique(0,k)),v="e"+(0<=C?"+":"-")+a.NSUtil.sCompleteEntierChaine(String(Math.abs(C)),2);return y(p,m,f,Math.max(0,d-v.length),c,g,b.oBinaire(3,k,Math.pow(10,C)),n)+v}function y(p,m,f,d,c,g,k,n){p=h(p,m,f,d-(c+1),c,g,b.oNumerique(2,k),n,10);0<c&&(k=(m=a.iGetAsRValue(k,1))&&a.NSTypes.bIsNumerique(m)?m:a.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(k,3),k=b.oNumerique(0,k),k=String(b.oNumerique(1,b.oBinaire(1,k,b.oNumerique(2,k)),c)),k=k.substring(2,k.length),p+="."+a.NSUtil.sCompleteWL(k,
193c,"0"));return p}b.sConcatSeparateur=function(p,m,f){function d(g,k){if(void 0!==g){g=String(g);if(0===g.length||0===k(g,c))c="";return g}return""}let c=String(m);p=d(p,a.NSUtil.nCompareChaineFiniPar);f=d(f,a.NSUtil.nCompareChaineCommencePar);return p+c+f};b.sNumeriqueVersChaine=function(p,m){if(isNaN(a.NSUtil.dGetReel(p)))return String(p);const f=b.oNumerique(3,p);var d=String(m),c=0,g=d.length-1;(m=d.charAt(c)==="-")&&c++;
193const k=d.charAt(c)==="+";k&&c++;const n=d.charAt(c)==="0";n&&c++;const C=
194d.charAt(g).toLowerCase()==="s";C&&g--;let v,M=10;var G=d.charAt(g),e=G.toLowerCase();switch(e){case "d":v=h;break;case "e":v=B;var l=6;break;case "f":v=y;l=6;break;case "o":v=h;M=8;break;case "x":v=h;M=16;break;default:return""}g--;G=G!==e;g=d.substring(c,g+1);d=parseInt(g,10);c=0;e=g.indexOf(".");-1!==e?c=parseInt(g.substring(e+1),10):void 0!==l?c=l:(l=String(p).indexOf("."),-1===l&&(c=d-l-1));for(p=v(m,k,n,d,c,C,p,f,M);p.length<d;)p=m?p+" ":" "+p;G&&(p=p.toUpperCase());return p};b.ChaineConstruit=
195function(p,...m){return String(p).replace(/%(?:(?:(\d+)\x08{0,1})|(%))/g,function(f,d,c){if(d){if(f=parseInt(d,10),f<=m.length)return String(m[f-1])}else if(c)return"%";return""})};b.Taille=function(p){const m=a.NSTypes.oGetArrayBuffer(p);return m?m.byteLength:String(p).length}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
196(function(a){(function(b){function h(m){return m&&m.wbGetJetonValeurAfficheeChampSaisie?m:null}function B(m){var f=a.NSUtil.GetElementParIdName(m,document,!1,!1);if(f=h(f))return f;throw new a.CErreur(605,m);}function y(m){const f=a.NSTypes.iGetAsDino(m,70,39);return f?(m=f.vtGetValeurDirect())?a.NSUtil.oCloneSimple(m):{}:String(m)}function p(m){if(!1===m)return 0;a.CDebug.s_Assert(0<=m,"__nGetRetourAjouteInsere : Valeur invalide");return m+1}b.nSaisieAjouteJeton=function(m,f,d){return p(B(m).wbJetonAjoute(y(f),
197void 0!==d?String(d):void 0))};b.nSaisieInsereJeton=function(m,f,d){return p(B(m).wbJetonInsere(a.NSUtil.nGetEntier(f),y(d)))};b.nSaisieOccurrenceJeton=function(m){return B(m).wbJetonOccurrence()};b.SaisieSupprimeJeton=function(m,f){m=B(m);var d=m.wbJetonSupprime;a:{const g=String(f);try{const k=a.NSUtil.nGetEntier(f);if(String(k)===g){var c=k;break a}}catch(k){}c=g}return d.call(m,c)};b.SaisieSupprimeToutJeton=function(m){B(m).wbJetonSupprimeTout()};b.iGetWBJeton=h;b.iGetWBMasque=function(m){return m&&
198m.wbSaisieMasqueSetJSON?m:null}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
199(function(a){(function(b){function h(p,m,f,d,c,g,k){const n=B(m,d,k,c,g);if(n)return n(m,d);p=a.NSUtil.s_oPreparePourComparaisonAvecType(p,m,g,d,c);m=a.NSUtil.s_oPreparePourComparaisonAvecType(f,d,g,m,c);k&&(k=p,p=m,m=k);return c?p==m:p<m}function B(p,m,f,d,c){f=p.veGetTypeWL();c=m.veGetTypeWL();if(f===c)switch(f){case 12:if(d)return y;break;case 107:if(p instanceof a.NSWDW.CMonChampHote)return(g,k)=>p.bOperateurEgal(k);if(m instanceof a.NSWDW.CMonChampHote)return(g,k)=>m.bOperateurEgal(g)}}function y(p,
200m){p=a.NSUtil.dGetReel(p);m=a.NSUtil.dGetReel(m);m=p-m;return-1E-6<m&&m<1E-6}b.oSelon=function(p){const m=arguments.length-2;var f=a.NSValues.oAny2Natif(p);for(let d=1;d<=m;d++)if(f===d)return arguments[d];f=arguments[arguments.length-1];if(void 0!==f)return f;throw new a.CErreur(200,p,m);};b.bComparaison=function(p,m,f,d,c,g){const k=a.NSValues.iAny2RValue(p),n=a.NSValues.iAny2RValue(m);p=h(p,k,m,n,f,c,g);return d?!p:p};b.bDansTableau=function(p,m){const f=a.NSValues.iAny2RValue(m);return p.some(function(d){const c=
201a.NSValues.iAny2RValue(d);return h(m,f,d,c,!0,!1,!1)})}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
202(function(a){(function(b){function h(B,y){B=a.NSValues.iAny2RValue(B);if(y(B))return B;throw new a.CErreur(601);}b.Enfile=function(B,y){b.nTableauAjoute(h(B,a.NSTypes.bIsFile),y)};b.Defile=function(B,y){return h(B,a.NSTypes.bIsFile).bSupprimeRecupPremierElement(y)};b.FileInfo=function(B,y){return b.oTableauInfo(h(B,a.NSTypes.bIsFile),y)};b.Empile=function(B,y){b.TableauInsere(h(B,a.NSTypes.bIsPile),1,y)};b.Depile=function(B,y){return h(B,a.NSTypes.bIsPile).bSupprimeRecupPremierElement(y)};b.PileInfo=
203function(B,y){return b.oTableauInfo(h(B,a.NSTypes.bIsPile),y)};b.ListeInfo=function(B,y){return b.oTableauInfo(h(B,a.NSTypes.bIsListe),y)}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
204(function(a){(function(b){const h=[6930431,13082111,16293335,16753586,15249255,15123301,13358942,7463816,3400880,2878424,4248831],B=[2998158,14924906,13403187,9408399,16473515,15739277,6730751,3117270,4248831,11625687,11350988],y=[];let p=0;b.oDonneCouleur=function(m,f){m=a.NSUtil.nGetEntier(m,0)-1;-1===m&&(m=p++);f=a.NSUtil.nGetEntier(f,0);var d=m;switch(f){default:case 0:var c=h;break;case 1:case 2:c=B;break;case 3:if(0===y.length)for(m=123;m<=133;m++)y.push((new clWDUtil.WDDinoCouleur(_COL[m])).toNumber());
205c=y}m=a.NSTypes;var g=m.oCreeDinoCouleur;var k=d;if(k<0)f=void 0;else if(k%=c.length*11,k<c.length&&f!=2)f=c[k];else{d=c[k%c.length];c=k/c.length|0;a.CDebug.s_Assert(0<c||f!=2);d=new clWDUtil.WDDinoCouleur(d);k=d.tabGetTSLA();var n=k[2];n=c<=2?n+c*.045:n-(c-2)*.045;f==2?(n=Math.max(n*1.5,.8),n=Math.min(n,.99)):(n=Math.max(n,.1),n=Math.min(n,.92));k[2]=n;d.SetTSLA(k);f=d}return g.call(m,f)};b.SelectCouleur=function(m,f){m=clWDUtil.WDDinoCouleur.s_oGetDinoCouleur(m);const d=a.NSValues.oAny2Natif(f);
206wbEditeurImageSelectCouleur({color:{r:m.GetProp(0),g:m.GetProp(1),b:m.GetProp(2),a:m.GetProp(3)/255},onChange:function(c,g,k,n){c=clWDUtil.WDDinoCouleur.s_oRVB(c,g,k);c.SetProp(3,n*255);d[a.ms_oSymbolDepuisWLEnV2]?(n=a.NSTypes.oGetDescriptionDINO(61,1).m_oDescriptionDynamique.viCreation(a.iGetValeurInitiale(c,3)),d(n)):d(c)}})}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
207(function(a){(function(b){function h(k,n){return a.NSTypes.ms_DescriptionDuree.viCreationCopie(k,3).sDureeVersChaine(c(n))}function B(k,n){k=f(k,a.NSTypes.ms_DescriptionDate);const C=k.vtGetValeurDirect().m_oDate;switch(String(n)){case "A":case "Y":return a.NSUtil.sCompleteEntier(C.getFullYear(),4);case "M":return a.NSUtil.sCompleteEntier(C.getMonth()+1,2);case "J":case "D":return a.NSUtil.sCompleteEntier(C.getDate(),2);default:return k.toString()}}function y(k,n){let C=a.NSTypes.ms_DescriptionDate;
208if(void 0!==n){var v=a.NSTypes.iGetDescriptionDepuisValue(n);26===v.veGetTypeWL()&&(C=v);n=f(n,C);v=a.iGetValeurInitiale(n,0)}return C.viCreation(v).oAdditionOffset(k*864E5)}function p(k,n){var C=f(k,a.NSTypes.ms_DescriptionDate);k=a.NSTypes.ms_DescriptionDate.viCreationCopie(C,0);k.viGetPropriete(0,2).vSetValeur(1,0,{});k.viGetPropriete(0,1).vSetValeur(1,0,{});var v=k.vnToNumber(0);C=C.vnToNumber(0);var M=C-v;let G=(v+657071)%7;if(String(n)=="<ISO8601>"){M=v+(8-G);G==1?M=v:G==0&&(M=v+1);G>1&&G<5&&
209(M-=7);C-=M;if(C<0)return p(B(v-1,"AAAAMMJJ"),n);n=Math.floor(C/7)+1;return n==53&&(k=a.NSTypes.ms_DescriptionDate.viCreationCopie(k,0),v=k.viGetPropriete(0,0),v.vSetValeur(a.NSUtil.nGetEntier(v)+1,0,{}),k=(k.vnToNumber(0)+657071)%7,k>1&&k<5)?1:n}switch(G){default:case 0:G=7;
209case 5:case 6:return n=8-G,n<=M?Math.floor((M-n)/7)+1:0;case 1:case 2:case 3:case 4:return Math.floor((M+G-1)/7)+1}}function m(k,n,C){return f(n,C).vtGetValeurDirect().m_oDate.getTime()-f(k,C).vtGetValeurDirect().m_oDate.getTime()}
210function f(k,n){try{return d(k,n)}catch(C){k=String(k);if(g.exec(k)){let v;switch(n.veGetTypeWL()){case 24:v=k.substring(0,8);break;case 25:v=k.substr(8,9)}if(void 0!==v)try{return d(k.substring(0,8),n)}catch(M){}}throw C;}}function d(k,n){return n.viAffectation(n.viCreation(),a.iGetValeurAffectation(k,0,{m_bAvecErreur:!0}))}function c(k){k=String(k);switch(k){case "0":return"+JHHMMSSLLL";case "1":return"+JHHMMSSLL";default:return k}}b.oChaineVersDuree=function(k,n){return a.NSTypes.CDuree.xoChaineVersDuree(k,
211c(n))};b.nDateDifference=function(k,n){return b.nArrondiVersZero(m(k,n,a.NSTypes.ms_DescriptionDate)/864E5)};b.nDateHeureDifference=function(k,n){return h(m(k,n,a.NSTypes.ms_DescriptionDateHeure),"+/-JJJJJJJHHMMSSLL")};b.DateHeureParDefaut=function(k,n){a.NSTypes.SetDateHeureDefaut(k,n)};b.nDateVersEntier=function(k){return f(k,a.NSTypes.ms_DescriptionDate).vnToNumber(0)};b.sDateSys=function(){return a.NSUtil.sGetDateHeureWL(new Date,!1,24)};b.sDureeVersChaine=h;b.sEntierVersDate=B;b.oHier=function(k){return y(-1,
212k)};b.oDemain=function(k){return y(1,k)};b.sEntierVersHeure=function(k){return f(k,a.NSTypes.ms_DescriptionHeure).toString().substring(0,8)};b.nEntierVersJour=function(k){return f(k,a.NSTypes.ms_DescriptionDate).vtGetValeurDirect().m_oDate.getDay()||7};b.sEntierVersJourEnLettres=function(k){return clWDUtil.sGetJourSemaine(f(k,a.NSTypes.ms_DescriptionDate).vtGetValeurDirect().m_oDate.getDay())};b.nEntierVersMoisEnLettres=function(k){return clWDUtil.sGetMois(f(k,a.NSTypes.ms_DescriptionDate).vtGetValeurDirect().m_oDate.getMonth())};
213b.nHeureDifference=function(k,n){return b.nArrondiVersZero(m(k,n,a.NSTypes.ms_DescriptionHeure)/10)};b.nHeureVersEntier=function(k){return f(k,a.NSTypes.ms_DescriptionHeure).vnToNumber(0)};b.sHeureSys=function(){return a.NSUtil.sGetDateHeureWL(new Date,!1,25)};b.nNumeroDeSemaine=p;const g=/^\d{8}(?:(?:(?:[0-1]\d)|(?:2[0-3]))(?:[0-5]\d)(?:[0-5]\d(?:\d\d(?:\d)?)?)?)?$/})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
214(function(a){(function(b){function h(){throw new a.CErreur(601);}function B(y,p,m,f=h,d=()=>{}){return void 0!==y?(p=a.NSTypes.iGetAsDino(y,p,m),void 0!==p?p.vtGetValeurDirect():f(y)):d()}b.dRectangleArrondi=function(...y){function p(){return f<y.length?m(f++):h()}function m(n){return y[n]}let f=0,d=a.NSTypes.oGetRectangle(p());null===d&&(d=a.NSTypes.oGetRectangleXYXY(a.NSUtil.nGetEntier(y[f-1],0),a.NSUtil.nGetEntier(p(),0),a.NSUtil.nGetEntier(p(),0),a.NSUtil.nGetEntier(p(),0)));var c=p(),g=m(f++);
215const k=m(f++);f<y.length&&h();c=B(c,0,0,function(n){const C=a.NSTypes.ms_oDescriptionDinoCadre.m_oDescriptionDynamique.viCreation();C.viGetMembre("Arrondi",0,0).vSetValeur(a.NSUtil.dGetReel(n,0)/2,0,{});void 0!==k&&C.viGetMembre("Couleur",0,0).vSetValeur(k,0,{});return C.vtGetValeurDirect()},h);g=B(g,61,8,function(n){const C=a.NSTypes.ms_oDescriptionDinoFond.m_oDescriptionDynamique.viCreation();C.viGetMembre("Couleur",0,0).vSetValeur(n,0,{});return C.vtGetValeurDirect()});__dRectangleArrondi(d,c,
216g)};b.dCadre=function(y,p,m){y=a.NSTypes.oGetRectangle(y);if(null===y)throw new a.CErreur(601);p=B(p,0,0);m=B(m,61,8);__dCadre(y,p,m)}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
217(function(a){(function(b){function h(O,q,z){const R=a.iGetAsRValue(O,0);if(R){if(a.NSChamps.bIsCObjet(R))return R.voGetHTMLElement(q,z);O=R.valueOf()}return a.NSUtil.bIsJQuery(O)?O.get(0):O instanceof HTMLElement?O:""!==String(O)?a.NSUtil.GetElementParIdName(String(O),document,q,z):null}function B(...O){const q=p();if(q){const z=q.ownerDocument,R=z.body;q.appendChild(z.createTextNode(O.map(a.NSUtil.sToString).join(" ")));q.appendChild(z.createElement("br"));R.scrollTop=R.scrollHeight}}function y(O){if(O)try{return!O.ownerDocument.defaultView.closed}catch(q){}return!1}
218function p(){if(!y(M)){var O="_TW_";window.name===O&&(O+="_");if(O=window.open("",O,"alwaysRaised=1,dependent=1,scrollbars=1,resizable=1,screenX=0,screenY=0,width=388,height=1")){O=O.document;const q=O.body;0===q.childNodes.length&&(O.title=STD_TITRE_TRACE,q.style.backgroundColor="#ffd264",q.appendChild(O.createElement("pre")).appendChild(O.createTextNode(STD_INFO_TRACE)));M=q.appendChild(O.createElement("pre"));M.style.borderTop="thin solid #808080"}}return M}function m(O,q,z,R){function u(Q){if(Q)throw new a.CErreur(1101);
219}function D(Q,J,N){crypto.subtle.digest(Q,J).then(N,E(N))}function L(Q,J,N,Y){u(a.NSUtil.bEdge);const aa=E(Y);window.crypto.subtle.importKey("raw",T(N),{name:"HMAC",hash:Q},!1,["sign"]).then(function(da){window.crypto.subtle.sign("HMAC",da,J).then(Y,aa)},aa)}function T(Q){const J=a.NSTypes.oGetArrayBuffer(Q);return void 0!=J?J:new Uint16Array(Array.from(String(Q),N=>N.charCodeAt(0)))}function E(Q){return function(J){Q(new ArrayBuffer(0))}}u(void 0===window.crypto||void 0===window.crypto.subtle);z=
220T(z);switch(a.NSUtil.nGetEntier(q,-1)){case 16:u(a.NSUtil.bEdge);D("SHA-1",z,O);break;case 17:D("SHA-256",z,O);break;case 18:D("SHA-384",z,O);break;case 19:D("SHA-512",z,O);break;case 20:D("SHA-256",z,function(Q){D("SHA-256",Q,O)});break;case 272:u(a.NSUtil.bEdge);L("SHA-1",z,R,O);break;case 273:L("SHA-256",z,R,O);break;case 274:L("SHA-384",z,R,O);break;
220case 275:L("SHA-512",z,R,O);break;default:throw new a.CErreur(303,q);}}function f(O){let q=new l;q.update(new Uint8Array(O.vtGetValeurDirect()));
221O=q.digest();return new a.NSTypes.CBuffer(O)}function d(O,q){for(let z=0;z<q.length;z++)if(a.NSUtil.nCompareLogique(O,q[z])==0)return z;return-1}function c(O,q){if(d(O,q)>=0)return q}function g(O,q,z){if(z!="")return q=z.indexOf("\r\n")>0?z.split("\r\n"):z.split("\n"),q.length?q:void 0;if(O<0){if(q!="")return O=q.indexOf(" "),q=O>=0?q.substring(0,O):q,c(q,r)||c(q,I)||c(q,x);switch(_NA_){case 5:O=12;break;case 7:O=10;break;default:O=9}}switch(O){case 12:return r;case 10:return x;default:return I}}
222function k(O){switch(O){case 0:O="version";break;case 1:O="date";break;case 2:O="occurence";break;default:O="version"}return O}function n(O){O=a.iGetAsRValue(O,1);if(O!==void 0&&!a.NSTypes.bIsVisiteGuidee(O))throw new a.CErreur(601);O=O!==void 0?O:K;K!==void 0&&(O===null||O===void 0?void 0:O.sGetID())===K.sGetID()&&(K.GetStep(K.nGetIdxCurrentStep()).Terminate(),K.Terminate(),K=void 0)}function C(O,q=!1){const z=a.NSTypes.iGetAsDino(O,0,2);if(z)return z;O=a.NSUtil.nGetEntier(O,void 0);if(void 0!==
223O&&!isNaN(O)){if(ba.hasOwnProperty(O))return ba[O];if(q)return q=a.NSTypes.ms_oDescriptionDinoChrono.m_oDescriptionDynamique.viCreation(),ba[O]=q}throw new a.CErreur(220,O);}function v(O=1){return C(O).Arrete()}b.iGetClasseProprieteStatique=function(O,q,z){return a.NSUtil.oGetProprieteSimple(O,q,void 0,z||a.NSProprietes.ms_sInconnue)};b.oGetVariableComposante=function(O,q){if(O===17){if(!K)throw new a.CErreur(1104);return K}return a.NSUtil.oGetProprieteSimple(function(){if(0<=O){if(O<=6)return clWDSQLManagerMain.GetVariableRequete(O-
2240);if(O<=13)return WDDnDNatifChamp.prototype.s_oGetVariable(O-7);if(O<=16)return WDGesture.prototype.GetVariable(O-14)}return 0},null,void 0,q||a.NSProprietes.ms_sInconnue)};b.AscenseurPosition=function(O,q,z){z=a.NSUtil.nGetEntier(z,0);O=a.NSChamps.oGetPage(O).oGetDocument();if(q){if(q=a.NSUtil.GetElementParId(q,O,!1,!1))switch(z){case 0:return q.scrollLeft;case 1:return q.scrollTop}return 0}switch(z){case 0:return window.pageXOffset!==void 0?window.pageXOffset:(document.documentElement||document.body.parentNode||
225document.body).scrollLeft;case 1:return window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;default:throw new a.CErreur(303,z);}};b.DonneFocus=function(O){(O=h(O,!1,!1))&&a.NSUtil.DonneFocus(O)};b.__oGetHTMLElement=h;b.Info=function(...O){alert(O.map(a.NSUtil.sToString).join("\n"))};b.Confirmer=function(...O){return confirm(O.map(a.NSUtil.sToString).join("\n"))};b.TraceDebut=function(){p()};b.Trace=B;b.TraceFin=function(){y(M)&&
226M.ownerDocument.defaultView.close();M=null};b.TraceConstruit=function(O,...q){B(b.ChaineConstruit(O,...q))};let M=null;b.SetValeurMultiple=function(O,q,z){function R(L,T){if(L<D)throw new a.CErreur(601);L=Math.min(D,L);for(let E=0;E<L;E++){const Q=O[E];Q&&Q.vSetValeur(T(E),z,{})}}const u=a.NSUtil.tabMiseAPlatValeursMultiples(q),D=O.length;q=u.length;if(1===q){const L=u[0],T=a.NSValues.iAny2RValue(L).viGetAsTableau();T?R(T.nGetNbElements(),function(E){return T.iGetSousElementIndice(E)}):R(D,function(){return L})}else R(q,
227function(L){return u[L]})};b.Clone=function(O){if(O=a.NSTypes.iGetThis(O)){if(null===O.vtGetValeurDirect())throw new a.CErreur(615);const q=a.iGetValeurInitiale(O,2);q.m_iOptions.m_bForceClone=!0;return O.viGetDescriptionType().viCreation(q,void 0)}throw new a.CErreur(601);};b.HashChaine=function(O,q,z,R){let u=4===arguments.length?z:void 0;const D=a.NSValues.oAny2Natif(4===arguments.length?R:z);m(L=>{D(new a.NSTypes.CBuffer(L))},O,q,u)};b.HashVerifieChaine=function(O,q,z,R,u){let D=5===arguments.length?
228R:void 0;const L=a.NSValues.oAny2Natif(5===arguments.length?u:R),T=a.NSTypes.xoGetArrayBuffer(z);m(function(E){a:if(E.byteLength!==T.byteLength)E=!1;else{a.CDebug.s_Assert(0===E.byteLength%4);E=new Uint32Array(E);var Q=new Uint32Array(T),J=E.length;for(let N=0;N<J;N++)if(E[N]!=Q[N]){E=!1;break a}E=!0}L(E)},O,q,D)};b.BufferVersHexa=function(O,q=1,z){var R=a.NSTypes.xoGetArrayBuffer(O);q=a.NSUtil.nGetEntier(q,1);let u;u=arguments.length<3?0===q?1024:16:a.NSUtil.nGetEntier(z,16);u&=-257;const D=512!==
229(u&512);u&=-513;0===u&&(u=16);const L=1024!==(u&1024);let T;if(0!==q){if(T=" ",1!==q&&2!==q&&4!==q)throw new a.CErreur(303,q);}else T="",q=1;if(0!==R.byteLength%q)throw new a.CErreur(204);let E="",Q=0;R=new DataView(R);const J=R.byteLength;for(let N=0;N<J;
229N+=q){0<N&&(L&&u<=Q?(E+="\r\n",Q=0):E+=T);let Y;switch(q){default:case 1:Y=R.getUint8(N);break;case 2:Y=R.getUint16(N,D);break;case 4:Y=R.getUint32(N,D)}E+=a.NSUtil.sCompleteEntier(Y,q*2,16).toUpperCase();Q+=q}return E};b.HexaVersBuffer=function(O,
230q=1,z=0){const R=512!==(a.NSUtil.nGetEntier(z,0)&512);let u=a.NSUtil.nGetEntier(q,1);if(0!==u){if(1!==u&&2!==u&&4!==u)throw new a.CErreur(303,u);}else u=1;O=String(O);if(null!=O.match(/[^[0-9A-Za-f\s]/g))throw new a.CErreur(204);const D=[],L=u*2;O.replace(/\s+/g,"-").split("-").forEach(E=>{const Q=E.length;for(let J=0;J<Q;J+=L){const N=E.substring(J,J+L);if(N.length!==L)throw new a.CErreur(204);D.push(parseInt(N,16))}});O=new ArrayBuffer(D.length*u);const T=new DataView(O);D.forEach((E,Q)=>{switch(u){default:case 1:T.setUint8(Q*
231u,E);break;case 2:T.setUint16(Q*u,E,R);break;case 4:T.setUint32(Q*u,E,R)}});return new a.NSTypes.CBuffer(O)};class G{constructor(O,q,z){this.m_clVueBuffer=new DataView(a.NSTypes.xoGetArrayBuffer(O));this.m_nPosition=a.NSUtil.nGetEntier(q);this.m_nNbOctet=a.NSUtil.nGetEntier(z);this.m_OK=this.m_nPosition>=0&&this.m_nPosition+this.m_nNbOctet<=this.m_clVueBuffer.byteLength}}b.BufferVersEntier=function(O,q=0,z=4){O=new G(O,q,z);if(!O.m_OK)return 0;switch(O.m_nNbOctet){case 1:return O.m_clVueBuffer.getInt8(O.m_nPosition);
232case 2:return O.m_clVueBuffer.getInt16(O.m_nPosition,!0);case 4:return O.m_clVueBuffer.getUint32(O.m_nPosition,!0);case 8:return b.oBinaire(0,b.oBinaire(2,a.NSTypes.iGetDescription(9,!1).viCreationCopie("4294967296",0),O.m_clVueBuffer.getInt32(O.m_nPosition+4,!0)),O.m_clVueBuffer.getInt32(O.m_nPosition,!0));default:return 0}};b.BufferVersReel=function(O,q=0,z=4){O=new G(O,q,z);if(!O.m_OK)return 0;switch(O.m_nNbOctet){case 4:return O.m_clVueBuffer.getFloat32(O.m_nPosition,!0);case 8:return O.m_clVueBuffer.getFloat64(O.m_nPosition,
233!0);default:return 0}};b.EntierVersBuffer=function(O,q=0){q=a.NSUtil.nGetEntier(q,0);var z=(q&512)!==0,R=q&-513;O&&O.m_tValeur&&O.m_tValeur.m_oNumeriqueData?q=O.m_tValeur.m_oNumeriqueData.m_tabData:(q=a.NSUtil.nGetEntier(O),q=a.NSTypes.iGetDescription(9,!1).viCreationCopie(q,0).m_tValeur.m_oNumeriqueData.m_tabData);switch(a.NSValues.iAny2RValue(O).veGetTypeWL()){case 6:case 2:var u=1;break;case 7:case 3:u=2;break;case 8:case 4:u=4;break;case 9:case 5:case 12:u=8;break;default:u=q.length*2}switch(R){case 1:case 2:case 4:case 8:R<
234u&&(u=R)}O=new ArrayBuffer(u);R=new DataView(O);if(u===1)R.setInt8(0,q[0]);else if(u=Math.min(q.length,Math.floor(u/2)),z)for(z=0,--u;u>=0;u--)R.setInt16(z,q[u],!1),z+=2;else for(z=0;z<u;z++)R.setInt16(z*2,q[z],!0);return new a.NSTypes.CBuffer(O)};var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,
2351555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);class l{constructor(){this.state=[1779033703,3144134277,
2361013904242,2773480762,1359893119,2600822924,528734635,1541459225];this.temp=new Int32Array(64);this.buffer=new Uint8Array(64);this.bytesHashed=this.bufferLength=0;this.finished=!1}update(O){if(this.finished)throw Error("Attempted to update an already finished hash.");var q=0,z=O.byteLength;this.bytesHashed+=z;if(this.bytesHashed*8>9007199254740991)throw Error("Cannot hash more than 2^53 - 1 bits");for(;z>0;)this.buffer[this.bufferLength++]=O[q++],z--,this.bufferLength===64&&(this.hashBuffer(),this.bufferLength=
2370);return this}digest(){if(!this.finished){var O=this.bytesHashed*8,q=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),z=this.bufferLength;q.setUint8(this.bufferLength++,128);if(z%64>=56){for(z=this.bufferLength;z<64;z++)q.setUint8(z,0);this.hashBuffer();this.bufferLength=0}for(z=this.bufferLength;z<56;z++)q.setUint8(z,0);q.setUint32(56,Math.floor(O/4294967296),!0);q.setUint32(60,O);this.hashBuffer();this.finished=!0}O=new Uint8Array(32);for(q=0;q<8;q++)O[q*4]=this.state[q]>>>
23824&255,O[q*4+1]=this.state[q]>>>16&255,O[q*4+2]=this.state[q]>>>8&255,O[q*4+3]=this.state[q]>>>0&255;return O.buffer}hashBuffer(){for(var O=this.buffer,q=this.state,z=q[0],R=q[1],u=q[2],D=q[3],L=q[4],T=q[5],E=q[6],Q=q[7],J=0;J<64;J++){if(J<16)this.temp[J]=(O[J*4]&255)<<24|(O[J*4+1]&255)<<16|(O[J*4+2]&255)<<8|O[J*4+3]&255;else{var N=this.temp[J-2],Y=(N>>>17|N<<15)^(N>>>19|N<<13)^N>>>10;N=this.temp[J-15];this.temp[J]=(Y+this.temp[J-7]|0)+(((N>>>7|N<<25)^(N>>>18|N<<14)^N>>>3)+this.temp[J-16]|0)}N=(((L>>>
2396|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7))+(L&T^~L&E)|0)+(Q+(e[J]+this.temp[J]|0)|0)|0;Y=((z>>>2|z<<30)^(z>>>13|z<<19)^(z>>>22|z<<10))+(z&R^z&u^R&u)|0;Q=E;E=T;T=L;L=D+N|0;D=u;u=R;R=z;z=N+Y|0}q[0]+=z;q[1]+=R;q[2]+=u;q[3]+=D;q[4]+=L;q[5]+=T;q[6]+=E;q[7]+=Q}}const r="abaisser abandon abdiquer abeille abolir aborder aboutir aboyer abrasif abreuver abriter abroger abrupt absence absolu absurde abusif abyssal acad\u00e9mie acajou acarien accabler accepter acclamer accolade accroche accuser acerbe achat acheter aciduler acier acompte acqu\u
23900e9rir acronyme acteur actif actuel adepte ad\u00e9quat adh\u00e9sif adjectif adjuger admettre admirer adopter adorer adoucir adresse adroit adulte adverbe a\u00e9rer a\u00e9ronef affaire affecter affiche affreux affubler agacer agencer agile agiter agrafer agr\u00e9able agrume aider aiguille ailier aimable aisance ajouter ajuster alarmer alchimie alerte alg\u00e8bre algue ali\u00e9ner aliment all\u00e9ger alliage allouer allumer alourdir alpaga altesse alv\u00e9ole amateur ambigu ambre am\u00e9nager amertume amidon amiral amorcer amour amovible amphibie ampleur amusant analyse anaphore anarchie anatomie ancien an\u00e9antir angle angoisse anguleux animal annexer annonce annuel anodin anomalie anonyme anormal antenne antidote anxieux apaiser ap\u00e9ritif aplanir apologie appareil appeler apporter appuyer aquarium aqueduc arbitre arbuste ardeur ardoise argent arlequin armature armement armoire armure arpenter arracher arriver arroser arsenic art\u00e9riel article aspect asphalte aspirer assaut asservir assiette associer assurer asticot astre astuce atelier atome atrium atroce attaque attentif attirer attraper aubaine auberge audace audible augurer aurore automne autruche avaler avancer avarice avenir averse aveugle aviateur avide avion aviser avoine avouer avril axial axiome badge bafouer bagage baguette baignade balancer balcon baleine balisage bambin bancaire bandage banlieue banni\u00e8re banquier barbier baril baron barque barrage bassin bastion bataille bateau batterie baudrier bavarder belette b\u00e9lier belote b\u00e9n\u00e9fice berceau berger berline bermuda besace besogne b\u00e9tail beurre biberon bicycle bidule bijou bilan bilingue billard binaire biologie biopsie biotype biscuit bison bistouri bitume bizarre blafard blague blanchir blessant blinder blond bloquer blouson bobard bobine boire boiser bolide bonbon bondir bonheur bonifier bonus bordure borne botte boucle boueux bougie boulon bouquin bourse boussole boutique boxeur branche brasier brave brebis br\u00e8che breuvage bricoler brigade brillant brioche brique brochure broder bronzer brousse broyeur brume brusque brutal bruyant buffle buisson bulletin bureau burin bustier butiner butoir buvable buvette cabanon cabine cachette cadeau cadre caf\u00e9ine caillou caisson calculer calepin calibre calmer calomnie calvaire camarade cam\u00e9ra camion campagne canal caneton canon cantine canular capable caporal caprice capsule capter capuche carabine carbone caresser caribou carnage carotte carreau carton cascade casier casque cassure causer caution cavalier caverne caviar c\u00e9dille ceinture c\u00e9leste cellule cendrier censurer central cercle c\u00e9r\u00e9bral cerise cerner cerveau cesser chagrin chaise chaleur chambre chance chapitre charbon chasseur chaton chausson chavirer chemise chenille ch\u00e9quier chercher cheval chien chiffre chignon chim\u00e8re chiot chlorure chocolat choisir chose chouette chrome chute cigare cigogne cimenter cin\u00e9ma cintrer circuler cirer cirque citerne citoyen citron civil clairon clameur claquer classe clavier client cligner climat clivage cloche clonage cloporte cobalt cobra cocasse cocotier coder codifier coffre cogner coh\u00e9sion coiffer coincer col\u00e8re colibri colline colmater colonel combat com\u00e9die commande compact concert conduire confier congeler connoter consonne contact convexe copain copie corail corbeau cordage corniche corpus correct cort\u00e8ge cosmique costume coton coude coupure courage couteau couvrir coyote crabe crainte cravate crayon cr\u00e9ature cr\u00e9diter cr\u00e9meux creuser crevette cribler crier cristal crit\u00e8re croire croquer crotale crucial cruel crypter cubique cueillir cuill\u00e8re cuisine cuivre culminer cultiver cumuler cupide curatif curseur cyanure cycle cylindre cynique daigner damier danger danseur dauphin d\u00e9battre d\u00e9biter d\u00e9border d\u00e9brider d\u00e9butant d\u00e9caler d\u00e9cembre d\u00e9chirer d\u00e9cider d\u00e9clarer d\u00e9corer d\u00e9crire d\u00e9cupler d\u00e9dale d\u00e9ductif d\u00e9esse d\u00e9fensif d\u00e9filer d\u00e9frayer d\u00e9gager d\u00e9givrer d\u00e9glutir d\u00e9grafer d\u00e9jeuner d\u00e9lice d\u00e9loger demander demeurer d\u00e9molir d\u00e9nicher d\u00e9nouer dentelle d\u00e9nuder d\u00e9part d\u00e9penser d\u00e9phaser d\u00e9placer d\u00e9poser d\u00e9ranger d\u00e9rober d\u00e9sastre descente d\u00e9sert d\u00e9signer d\u00e9sob\u00e9ir dessiner destrier d\u00e9tacher d\u00e9tester d\u00e9tourer d\u00e9tresse devancer devenir deviner devoir diable dialogue diamant dicter diff\u00e9rer dig\u00e9rer digital digne diluer dimanche diminuer dioxyde directif diriger discuter disposer dissiper distance divertir diviser docile docteur dogme doigt domaine domicile dompter donateur donjon donner dopamine dortoir dorure dosage doseur dossier dotation douanier double douceur douter doyen dragon draper dresser dribbler droiture duperie duplexe durable durcir dynastie \u00e9blouir \u00e9carter \u
23900e9charpe \u00e9chelle \u00e9clairer \u00e9clipse \u00e9clore \u00e9cluse \u00e9cole \u00e9conomie \u00e9corce \u00e9couter \u00e9craser \u00e9cr\u00e9mer \u00e9crivain \u00e9crou \u00e9cume \u00e9cureuil \u00e9difier \u00e9duquer effacer effectif effigie effort effrayer effusion \u00e9galiser \u00e9garer \u00e9jecter \u00e9laborer \u00e9largir \u00e9lectron \u00e9l\u00e9gant \u00e9l\u00e9phant \u00e9l\u00e8ve \u00e9ligible \u00e9litisme \u00e9loge \u00e9lucider \u00e9luder emballer embellir embryon \u00e9meraude \u00e9mission emmener \u00e9motion \u00e9mouvoir empereur employer emporter emprise \u00e9mulsion encadrer ench\u00e8re enclave encoche endiguer endosser endroit enduire \u00e9nergie enfance enfermer enfouir engager engin englober \u00e9nigme enjamber enjeu enlever ennemi ennuyeux enrichir enrobage enseigne entasser entendre entier entourer entraver \u00e9num\u00e9rer envahir enviable envoyer enzyme \u00e9olien \u00e9paissir \u00e9pargne \u00e9patant \u00e9paule \u00e9picerie \u00e9pid\u00e9mie \u00e9pier \u00e9pilogue \u00e9pine \u00e9pisode \u00e9pitaphe \u00e9poque \u00e9preuve \u00e9prouver \u00e9puisant \u00e9querre \u00e9quipe \u00e9riger \u00e9rosion erreur \u00e9ruption escalier espadon esp\u00e8ce espi\u00e8gle espoir esprit esquiver essayer essence essieu essorer estime estomac estrade \u00e9tag\u00e8re \u00e9taler \u00e9tanche \u00e9tatique \u00e9teindre \u00e9tendoir \u00e9ternel \u00e9thanol \u00e9thique ethnie \u00e9tirer \u00e9toffer \u00e9toile \u00e9tonnant \u00e9tourdir \u00e9trange \u00e9troit \u00e9tude euphorie \u00e9valuer \u00e9vasion \u00e9ventail \u00e9vidence \u00e9viter \u00e9volutif \u00e9voquer exact exag\u00e9rer exaucer exceller excitant exclusif excuse ex\u00e9cuter exemple exercer exhaler exhorter exigence exiler exister exotique exp\u00e9dier explorer exposer exprimer exquis extensif extraire exulter fable fabuleux facette facile facture faiblir falaise fameux famille farceur farfelu farine farouche fasciner fatal fatigue faucon fautif faveur favori f\u00e9brile f\u00e9conder f\u00e9d\u00e9rer f\u00e9lin femme f\u00e9mur fendoir f\u00e9odal fermer f\u00e9roce ferveur festival feuille feutre f\u00e9vrier fiasco ficeler fictif fid\u00e8le figure filature filetage fili\u00e8re filleul filmer filou filtrer financer finir fiole firme fissure fixer flairer flamme flasque flatteur fl\u00e9au fl\u00e8che fleur flexion flocon flore fluctuer fluide fluvial folie fonderie fongible fontaine forcer forgeron formuler fortune fossile foudre foug\u00e8re fouiller foulure fourmi fragile fraise franchir frapper frayeur fr\u00e9gate freiner frelon fr\u00e9mir fr\u00e9n\u00e9sie fr\u00e8re friable friction frisson frivole froid fromage frontal frotter fruit fugitif fuite fureur furieux furtif fusion futur gagner galaxie galerie gambader garantir gardien garnir garrigue gazelle gazon g\u00e9ant g\u00e9latine g\u00e9lule gendarme g\u00e9n\u00e9ral g\u00e9nie genou gentil g\u00e9ologie g\u00e9om\u00e8tre g\u00e9ranium germe gestuel geyser gibier gicler girafe givre glace glaive glisser globe gloire glorieux golfeur gomme gonfler gorge gorille goudron gouffre goulot goupille gourmand goutte graduel graffiti graine grand grappin gratuit gravir grenat griffure griller grimper grogner gronder grotte groupe gruger grutier gruy\u00e8re gu\u00e9pard guerrier guide guimauve guitare gustatif gymnaste gyrostat habitude hachoir halte hameau hangar hanneton haricot harmonie harpon hasard h\u00e9lium h\u00e9matome herbe h\u00e9risson hermine h\u00e9ron h\u00e9siter heureux hiberner hibou hilarant histoire hiver homard hommage homog\u00e8ne honneur honorer honteux horde horizon horloge hormone horrible houleux housse hublot huileux humain humble humide humour hurler hydromel hygi\u00e8ne hymne hypnose idylle ignorer iguane illicite illusion image imbiber imiter immense immobile immuable impact imp\u00e9rial implorer imposer imprimer imputer incarner incendie incident incliner incolore indexer indice inductif in\u00e9dit ineptie inexact infini infliger informer infusion ing\u00e9rer inhaler inhiber injecter injure innocent inoculer inonder inscrire insecte insigne insolite inspirer instinct insulter intact intense intime intrigue intuitif inutile invasion inventer inviter invoquer ironique irradier irr\u00e9el irriter isoler ivoire ivresse jaguar jaillir jambe janvier jardin jauger jaune javelot jetable jeton jeudi jeunesse joindre joncher jongler joueur jouissif journal jovial joyau joyeux jubiler jugement junior jupon juriste justice juteux juv\u00e9nile kayak kimono kiosque label labial labourer lac\u00e9rer lactose lagune laine laisser laitier lambeau lamelle lampe lanceur langage lanterne lapin largeur larme laurier lavabo lavoir lecture l\u00e9gal l\u00e9ger l\u00e9gume lessive lettre levier lexique l\u00e9zard liasse lib\u00e9rer libre licence licorne li\u00e8ge li\u00e8vre ligature ligoter ligue limer limite limonade limpide lin\u00e9aire lingot lionceau liquide lisi\u00e8re lister lithium litige littoral livreur logique lointain loisir lombric loterie louer lourd loutre louve loyal lubie lucide lucratif lueur lugubre luisant lumi\u00e8re lunaire lundi luron lutter luxueux machine magasin magenta magique maigre maillon maintien mairie maison majorer malaxer mal\u00e9fice malheur malice mallette mammouth mandater maniable manquant manteau manuel marathon marbre marchand mardi maritime marqueur marron marteler mascotte massif mat\u00e9riel mati\u00e8re matraque maudire maussade mauve maximal m\u00e9chant m\u00e9connu m\u00e9daille m\u00e9decin m\u00e9diter m\u00e9duse meilleur m\u00e9lange m\u00e9lodie membre m\u00e9moire menacer mener menhir mensonge mentor mercredi m\u00e9rite merle messager mesure m\u00e9tal m\u00e9t\u00e9ore m\u00e9thode m\u00e9tier meuble miauler microbe miette mignon migrer milieu million mimique mince min\u00e9ral minimal minorer minute miracle miroiter missile mixte mobile moderne moelleux mondial moniteur monnaie monotone monstre montagne monument moqueur morceau morsure mortier moteur motif mouche moufle moulin mousson mouton mouvant multiple munition muraille mur\u00e8ne murmure muscle mus\u00e9um musicien mutation muter mutuel myriade myrtille myst\u00e8re mythique nageur nappe narquois narrer natation nation nature naufrage nautique navire n\u00e9buleux nectar n\u00e9faste n\u00e9gation n\u00e9gliger n\u00e9gocier neige nerveux nettoyer neurone neutron neveu niche nickel nitrate niveau noble nocif nocturne noirceur noisette nomade nombreux nommer normatif notable notifier notoire nourrir nouveau novateur novembre novice nuage nuancer nuire nuisible num\u00e9ro nuptial nuque nutritif ob\u00e9ir objectif obliger obscur observer obstacle obtenir obturer occasion occuper oc\u00e9an octobre octroyer octupler oculaire odeur odorant offenser officier offrir ogive oiseau oisillon olfactif olivier ombrage omettre onctueux onduler on\u00e9reux onirique opale opaque op\u00e9rer opinion opportun opprimer opter optique orageux orange orbite ordonner oreille organe orgueil orifice ornement orque ortie osciller osmose ossature otarie ouragan ourson outil outrager ouvrage ovation oxyde oxyg\u00e8ne ozone paisible palace palmar\u00e8s palourde palper panache panda pangolin paniquer panneau panorama pantalon papaye papier papoter papyrus paradoxe parcelle paresse parfumer parler parole parrain parsemer partager parure parvenir passion past\u00e8que paternel patience patron pavillon pavoiser payer paysage peigne peintre pelage p\u00e9lican pelle pelouse peluche pendule p\u00e9n\u00e9trer p\u00e9nible pensif p\u00e9nurie p\u00e9pite p\u00e9plum perdrix perforer p\u00e9riode permuter perplexe persil perte peser p\u00e9tale petit p\u00e9trir peuple pharaon phobie phoque photon phrase physique piano pictural pi\u00e8ce pierre pieuvre pilote pinceau pipette piquer pirogue piscine piston pivoter pixel pizza placard plafond plaisir planer plaque plastron plateau pleurer plexus pl
239iage plomb plonger pluie plumage pochette po\u00e9sie po\u00e8te pointe poirier poisson poivre polaire policier pollen polygone pommade pompier ponctuel pond\u00e9rer poney portique position poss\u00e9der posture potager poteau potion pouce poulain poumon pourpre poussin pouvoir prairie pratique pr\u00e9cieux pr\u00e9dire pr\u00e9fixe pr\u00e9lude pr\u00e9nom pr\u00e9sence pr\u00e9texte pr\u00e9voir primitif prince prison priver probl\u00e8me proc\u00e9der prodige profond progr\u00e8s proie projeter prologue promener propre prosp\u00e8re prot\u00e9ger prouesse proverbe prudence pruneau psychose public puceron puiser pulpe pulsar punaise punitif pupitre purifier puzzle pyramide quasar querelle question qui\u00e9tude quitter quotient racine raconter radieux ragondin raideur raisin ralentir rallonge ramasser rapide rasage ratisser ravager ravin rayonner r\u00e9actif r\u00e9agir r\u00e9aliser r\u00e9animer recevoir r\u00e9citer r\u00e9clamer r\u00e9colter recruter reculer recycler r\u00e9diger redouter refaire r\u00e9flexe r\u00e9former refrain refuge r\u00e9galien r\u00e9gion r\u00e9glage r\u00e9gulier r\u00e9it\u00e9rer rejeter rejouer relatif relever relief remarque rem\u00e8de remise remonter remplir remuer renard renfort renifler renoncer rentrer renvoi replier reporter reprise reptile requin r\u00e9serve r\u00e9sineux r\u00e9soudre respect rester r\u00e9sultat r\u00e9tablir retenir r\u00e9ticule retomber retracer r\u00e9union r\u00e9ussir revanche revivre r\u00e9volte r\u00e9vulsif richesse rideau rieur rigide rigoler rincer riposter risible risque rituel rival rivi\u00e8re rocheux romance rompre ronce rondin roseau rosier rotatif rotor rotule rouge rouille rouleau routine royaume ruban rubis ruche ruelle rugueux ruiner ruisseau ruser rustique rythme sabler saboter sabre sacoche safari sagesse saisir salade salive salon saluer samedi sanction sanglier sarcasme sardine saturer saugrenu saumon sauter sauvage savant savonner scalpel scandale sc\u00e9l\u00e9rat sc\u00e9nario sceptre sch\u00e9ma science scinder score scrutin sculpter s\u00e9ance s\u00e9cable s\u00e9cher secouer s\u00e9cr\u00e9ter s\u00e9datif s\u00e9duire seigneur s\u00e9jour s\u00e9lectif semaine sembler semence s\u00e9minal s\u00e9nateur sensible sentence s\u00e9parer s\u00e9quence serein sergent s\u00e9rieux serrure s\u00e9rum service s\u00e9same s\u00e9vir sevrage sextuple sid\u00e9ral si\u00e8cle si\u00e9ger siffler sigle signal silence silicium simple sinc\u00e8re sinistre siphon sirop sismique situer skier social socle sodium soigneux soldat soleil solitude soluble sombre sommeil somnoler sonde songeur sonnette sonore sorcier sortir sosie sottise soucieux soudure souffle soulever soupape source soutirer souvenir spacieux spatial sp\u00e9cial sph\u00e8re spiral stable station sternum stimulus stipuler strict studieux stupeur styliste sublime substrat subtil subvenir succ\u00e8s sucre suffixe sugg\u00e9rer suiveur sulfate superbe supplier surface suricate surmener surprise sursaut survie suspect syllabe symbole sym\u00e9trie synapse syntaxe syst\u00e8me tabac tablier tactile tailler talent talisman talonner tambour tamiser tangible tapis taquiner tarder tarif tartine tasse tatami tatouage taupe taureau taxer t\u00e9moin temporel tenaille tendre teneur tenir tension terminer terne terrible t\u00e9tine texte th\u00e8me th\u00e9orie th\u00e9rapie thorax tibia ti\u00e8de timide tirelire tiroir tissu titane titre tituber toboggan tol\u00e9rant tomate tonique tonneau toponyme torche tordre tornade torpille torrent torse tortue totem toucher tournage tousser toxine traction trafic tragique trahir train trancher travail tr\u00e8fle tremper tr\u00e9sor treuil triage tribunal tricoter trilogie triomphe tripler triturer trivial trombone tronc tropical troupeau tuile tulipe tumulte tunnel turbine tuteur tutoyer tuyau tympan typhon typique tyran ubuesque ultime ultrason unanime unifier union unique unitaire univers uranium urbain urticant usage usine usuel usure utile utopie vacarme vaccin vagabond vague vaillant vaincre vaisseau valable valise vallon valve vampire vanille vapeur varier vaseux vassal vaste vecteur vedette v\u00e9g\u00e9tal v\u00e9hicule veinard v\u00e9loce vendredi v\u00e9n\u00e9rer venger venimeux ventouse verdure v\u00e9rin vernir verrou verser vertu veston v\u00e9t\u00e9ran v\u00e9tuste vexant vexer viaduc viande victoire vidange vid\u00e9o vignette vigueur vilain village vinaigre violon vip\u00e8re virement virtuose virus visage viseur vision visqueux visuel vital vitesse viticole vitrine vivace vivipare vocation voguer voile voisin voiture volaille volcan voltiger volume vorace vortex voter vouloir voyage voyelle wagon x\u00e9non yacht z\u00e8bre z\u00e9nith zeste zoologie".split(" "),
240I="abandon ability able about above absent absorb abstract absurd abuse access accident account accuse achieve acid acoustic acquire across act action actor actress actual adapt add addict address adjust admit adult advance advice aerobic affair afford afraid again age agent agree ahead aim air airport aisle alarm album alcohol alert alien all alley allow almost alone alpha already also alter always amateur amazing among amount amused analyst anchor ancient anger angle angry animal ankle announce annual another answer antenna antique anxiety any apart apology appear apple approve april arch arctic area arena argue arm armed armor army around arrange arrest arrive arrow art artefact artist artwork ask aspect assault asset assist assume asthma athlete atom attack attend attitude attract auction audit august aunt author auto autumn average avocado avoid awake aware away awesome awful awkward axis baby bachelor bacon badge bag balance balcony ball bamboo banana banner bar barely bargain barrel base basic basket battle beach bean beauty because become beef before begin behave behind believe below belt bench benefit best betray better between beyond bicycle bid bike bind biology bird birth bitter black blade blame blanket blast bleak bless blind blood blossom blouse blue blur blush board boat body boil bomb bone bonus book boost border boring borrow boss bottom bounce box boy bracket brain brand brass brave bread breeze brick bridge brief bright bring brisk broccoli broken bronze broom brother brown brush bubble buddy budget buffalo build bulb bulk bullet bundle bunker burden burger burst bus business busy butter buyer buzz cabbage cabin cable c
240actus cage cake call calm camera camp can canal cancel candy cannon canoe canvas canyon capable capital captain car carbon card cargo carpet carry cart case cash casino castle casual cat catalog catch category cattle caught cause caution cave ceiling celery cement census century cereal certain chair chalk champion change chaos chapter charge chase chat cheap check cheese chef cherry chest chicken chief child chimney choice choose chronic chuckle chunk churn cigar cinnamon circle citizen city civil claim clap clarify claw clay clean clerk clever click client cliff climb clinic clip clock clog close cloth cloud clown club clump cluster clutch coach coast coconut code coffee coil coin collect color column combine come comfort comic common company concert conduct confirm congress connect consider control convince cook cool copper copy coral core corn correct cost cotton couch country couple course cousin cover coyote crack cradle craft cram crane crash crater crawl crazy cream credit creek crew cricket crime crisp critic crop cross crouch crowd crucial cruel cruise crumble crunch crush cry crystal cube culture cup cupboard curious current curtain curve cushion custom cute cycle dad damage damp dance danger daring dash daughter dawn day deal debate debris decade december decide decline decorate decrease deer defense define defy degree delay deliver demand demise denial dentist deny depart depend deposit depth deputy derive describe desert design desk despair destroy detail detect develop device devote diagram dial diamond diary dice diesel diet differ digital dignity dilemma dinner dinosaur direct dirt disagree discover disease dish dismiss disorder display distance divert divide divorce dizzy doctor document dog doll dolphin domain donate donkey donor door dose double dove draft dragon drama drastic draw dream dress drift drill drink drip drive drop drum dry duck dumb dune during dust dutch duty dwarf dynamic eager eagle early earn earth easily east easy echo ecology economy edge edit educate effort egg eight either elbow elder electric elegant element elephant elevator elite else embark embody embrace emerge emotion employ empower empty enable enact end endless endorse enemy energy enforce engage engine enhance enjoy enlist enough enrich enroll ensure enter entire entry envelope episode equal equip era erase erode erosion error erupt escape essay essence estate eternal ethics evidence evil evoke evolve exact example excess exchange excite exclude excuse execute exercise exhaust exhibit exile exist exit exotic expand expect expire explain expose express extend extra eye eyebrow fabric face faculty fade faint faith fall false fame family famous fan fancy fantasy farm fashion fat fatal father fatigue fault favorite feature february federal fee feed feel female fence festival fetch fever few fiber fiction field figure file film filter final find fine finger finish fire firm first fiscal fish fit fitness fix flag flame flash flat flavor flee flight flip float flock floor flower fluid flush fly foam focus fog foil fold follow food foot force forest forget fork fortune forum forward fossil foster found fox fragile frame frequent fresh friend fringe frog front frost frown frozen fruit fuel fun funny furnace fury future gadget gain galaxy gallery game gap garage garbage garden garlic garment gas gasp gate gather gauge gaze general genius genre gentle genuine gesture ghost giant gift giggle ginger giraffe girl give glad glance glare glass glide glimpse globe gloom glory glove glow glue goat goddess gold good goose gorilla gospel gossip govern gown grab grace grain grant grape grass gravity great green grid grief grit grocery group grow grunt guard guess guide guilt guitar gun gym habit hair half hammer hamster hand happy harbor hard harsh harvest hat have hawk hazard head health heart heavy hedgehog height hello helmet help hen hero hidden high hill hint hip hire history hobby hockey hold hole holiday hollow home honey hood hope horn horror horse hospital host hotel hour hover hub huge human humble humor hundred hungry hunt hurdle hurr
240y hurt husband hybrid ice icon idea identify idle ignore ill illegal illness image imitate immense immune impact impose improve impulse inch include income increase index indicate indoor industry infant inflict inform inhale inherit initial inject injury inmate inner innocent input inquiry insane insect inside inspire install intact interest into invest invite involve iron island isolate issue item ivory jacket jaguar jar jazz jealous jeans jelly jewel job join joke journey joy judge juice jump jungle junior junk just kangaroo keen keep ketchup key kick kid kidney kind kingdom kiss kit kitchen kite kitten kiwi knee knife knock know lab label labor ladder lady lake lamp language laptop large later latin laugh laundry lava law lawn lawsuit layer lazy leader leaf learn leave lecture left leg legal legend leisure lemon lend length lens leopard lesson letter level liar liberty library license life lift light like limb limit link lion liquid list little live lizard load loan lobster local lock logic lonely long loop lottery loud lounge love loyal lucky luggage lumber lunar lunch luxury lyrics machine mad magic magnet maid mail main major make mammal man manage mandate mango mansion manual maple marble march margin marine market marriage mask mass master match material math matrix matter maximum maze meadow mean measure meat mechanic medal media melody melt member memory mention menu mercy merge merit merry mesh message metal method middle midnight milk million mimic mind minimum minor minute miracle mirror misery miss mistake mix mixed mixture mobile model modify mom moment monitor monkey monster month moon moral more morning mosquito mother motion motor mountain mouse move movie much muffin mule multiply muscle museum mushroom music must mutual myself mystery myth naive name napkin narrow nasty nation nature near neck need negative neglect neither nephew nerve nest net network neutral never news next nice night noble noise nominee noodle normal north nose notable note nothing notice novel now nuclear number nurse nut oak obey object oblige obscure observe obtain obvious occur ocean october odor off offer office often oil okay old olive olympic omit once one onion online only open opera opinion oppose option orange orbit orchard order ordinary organ orient original orphan ostrich other outdoor outer output outside oval oven over own owner oxygen oyster ozone pact paddle page pair palace palm panda panel panic panther paper parade parent park parrot party pass patch path patient patrol pattern pause pave payment peace peanut pear peasant pelican pen penalty pencil people pepper perfect permit person pet phone photo phrase physical piano picnic picture piece pig pigeon pill pilot pink pioneer pipe pistol pitch pizza place planet plastic plate play please pledge pluck plug plunge poem poet point polar pole police pond pony pool popular portion position possible post potato pottery poverty powder power practice praise predict prefer prepare present pretty prevent price pride primary print priority prison private prize problem process produce profit program project promote proof property prosper protect proud provide public pudding pull pulp pulse pumpkin punch pupil puppy purchase purity purpose purse push put puzzle pyramid quality quantum quarter question quick quit quiz quote rabbit raccoon race rack radar radio rail rain raise rally ramp ranch random range rapid rare rate rather raven raw razor ready real reason rebel rebuild recall receive recipe record recycle reduce reflect reform refuse region regret regular reject relax release relief rely remain remember remind remove render renew rent reopen repair repeat replace report require rescue resemble resist resource response result retire retreat return reunion reveal review reward rhythm rib ribbon rice rich ride ridge rifle right rigid ring riot ripple risk ritual rival river road roast robot robust rocket romance roof rookie room rose rotate rough round route royal rubber rude rug rule run runway rural sad saddle sadness safe sail salad salmon salon salt salute same sample sand satisfy satoshi sauce sausage save say scale scan scare scatter scene scheme school science scissors scorpion scout scrap screen script scrub sea search season seat second secret section security seed seek segment select sell seminar senior sense sentence series service session settle setup seven shadow shaft shallow share shed shell sheriff shield shift shine ship shiver shock shoe shoot shop short shoulder shove shrimp shrug shuffle shy sibling sick side siege sight sign silent silk silly silver similar simple since sing siren sister situate six size skate sketch ski skill skin skirt skull slab slam sleep slender slice slide slight slim slogan slot slow slush small smart smile smoke smooth snack snake snap sniff snow soap soccer social sock soda soft solar soldier solid solution solve someone song soon sorry sort soul sound soup source south space spare spatial spawn speak special speed spell spend sphere spice spider spike spin spirit split spoil sponsor spoon sport spot spray spread spring spy square squeeze squirrel stable stadium staff stage stairs stamp stand start state stay steak steel stem step stereo stick still sting stock stomach stone stool story stove strategy street strike strong struggle student stuff stumble style subject submit subway success such sudden suffer sugar suggest suit summer sun sunny sunset super supply supreme sure surface surge surprise surround survey suspect sustain swallow swamp swap swarm swear sweet swift swim swing switch sword symbol symptom syrup system table tackle tag tail talent talk tank tape target task taste tattoo taxi teach team tell ten tenant tennis tent term test text thank that theme then theory there they thing this thought three thrive throw thumb thunder ticket tide tiger tilt timber time tiny tip tired tissue title toast tobacco today toddler toe together toilet token tomato tomorrow tone tongue tonight tool tooth top topic to
240pple torch tornado tortoise toss total tourist toward tower town toy track trade traffic tragic train transfer trap trash travel tray treat tree trend trial tribe trick trigger trim trip trophy trouble truck true truly trumpet trust truth try tube tuition tumble tuna tunnel turkey turn turtle twelve twenty twice twin twist two type typical ugly umbrella unable unaware uncle uncover under undo unfair unfold unhappy uniform unique unit universe unknown unlock until unusual unveil update upgrade uphold upon upper upset urban urge usage use used useful useless usual utility vacant vacuum vague valid valley valve van vanish vapor various vast vault vehicle velvet vendor venture venue verb verify version very vessel veteran viable vibrant vicious victory video view village vintage violin virtual virus visa visit visual vital vivid vocal voice void volcano volume vote voyage wage wagon wait walk wall walnut want warfare warm warrior wash wasp waste water wave way wealth weapon wear weasel weather web wedding weekend weird welcome west wet whale what wheat wheel when where whip whisper wide width wife wild will win window wine wing wink winner winter wire wisdom wise wish witness wolf woman wonder wood wool word work world worry worth wrap wreck wrestle wrist write wrong yard year yellow you young youth zebra zero zone zoo".split(" "),
241x="\u00e1baco abdomen abeja abierto abogado abono aborto abrazo abrir abuelo abuso acabar academia acceso acci\u00f3n aceite acelga acento aceptar \u00e1cido aclarar acn\u00e9 acoger acoso activo acto actriz actuar acudir acuerdo acusar adicto admitir adoptar adorno aduana adulto a\u00e9reo afectar afici\u00f3n afinar afirmar \u00e1gil agitar agon\u00eda agosto agotar agregar agrio agua agudo \u00e1guila aguja ahogo ahorro aire aislar ajedrez ajeno ajuste alacr\u00e1n alambre alarma alba \u00e1lbum alcalde aldea alegre alejar alerta aleta alfiler alga algod\u00f3n aliado aliento alivio alma almeja alm\u00edbar altar alteza altivo alto altura alumno alzar amable amante amapola amargo amasar \u00e1mbar \u00e1mbito ameno amigo amistad amor amparo amplio ancho anciano ancla andar and\u00e9n anemia \u00e1ngulo anillo \u00e1nimo an\u00eds anotar antena antiguo antojo anual anular anuncio a\u00f1adir a\u00f1ejo a\u00f1o apagar aparato apetito apio aplicar apodo aporte apoyo aprender aprobar apuesta apuro arado ara\u00f1a arar \u00e1rbitro \u00e1rbol arbusto archivo arco arder ardilla arduo \u00e1rea \u00e1rido aries armon\u00eda arn\u00e9s aroma arpa arp\u00f3n arreglo arroz arruga arte artista asa asado asalto ascenso asegurar aseo asesor asiento asilo asistir asno asombro \u00e1spero astilla astro astuto asumir asunto atajo ataque atar atento ateo \u00e1tico atleta \u00e1tomo atraer atroz at\u00fan audaz audio auge aula aumento ausente autor aval avance avaro ave avellana avena avestruz avi\u00f3n aviso ayer ayuda ayuno azafr\u00e1n azar azote az\u00facar azufre azul baba babor bache bah\u00eda baile bajar balanza balc\u00f3n balde bamb\u00fa banco banda ba\u00f1o barba barco barniz barro b\u00e1scula bast\u00f3n basura batalla bater\u00eda batir batuta ba\u00fal bazar beb\u00e9 bebida bello besar beso bestia bicho bien bingo blanco bloque blusa boa bobina bobo boca bocina boda bodega boina bola bolero bolsa bomba bondad bonito bono bons\u00e1i borde borrar bosque bote bot\u00edn b\u00f3veda bozal bravo brazo brecha breve brillo brinco brisa broca broma bronce brote bruja brusco bruto buceo bucle bueno buey bufanda buf\u00f3n b\u00faho buitre bulto burbuja burla burro buscar butaca buz\u00f3n caballo cabeza cabina cabra cacao cad\u00e1ver cadena caer caf\u00e9 ca\u00edda caim\u00e1n caja caj\u00f3n cal calamar calcio caldo calidad calle calma calor calvo cama cambio camello camino campo c\u00e1ncer candil canela canguro canica canto ca\u00f1a ca\u00f1\u00f3n caoba caos capaz capit\u00e1n capote captar capucha cara carb\u00f3n c\u00e1rcel careta carga cari\u00f1o carne carpeta carro carta casa casco casero caspa castor catorce catre caudal causa cazo cebolla ceder cedro celda c\u00e9lebre celoso c\u00e9lula cemento ceniza centro cerca cerdo cereza cero cerrar certeza c\u00e9sped cetro chacal chaleco champ\u00fa chancla chapa charla chico chiste chivo choque choza chuleta chupar cicl\u00f3n ciego cielo cien cierto cifra cigarro cima cinco cine cinta cipr\u00e9s circo ciruela cisne cita ciudad clamor clan claro clase clave cliente clima cl\u00ednica cobre cocci\u00f3n cochino cocina coco c\u00f3digo codo cofre coger cohete coj\u00edn cojo cola colcha colegio colgar colina collar colmo columna combate comer comida c\u00f3modo compra conde conejo conga conocer consejo contar copa copia coraz\u00f3n corbata corcho cord\u00f3n corona correr coser cosmos costa cr\u00e1neo cr\u00e1ter crear crecer cre\u00eddo crema cr\u00eda crimen cripta crisis cromo cr\u00f3nica croqueta crudo cruz cuadro cuarto cuatro cubo cubrir cuchara cuello cuento cuerda cuesta cueva cuidar culebra culpa culto cumbre cumplir cuna cuneta cuota cup\u00f3n c\u00fapula curar curioso curso curva cutis dama danza dar dardo d\u00e1til deber d\u00e9bil d\u00e9cada decir dedo defensa definir dejar delf\u00edn delgado delito demora denso dental deporte derecho derrota desayuno deseo de
241sfile desnudo destino desv\u00edo detalle detener deuda d\u00eda diablo diadema diamante diana diario dibujo dictar diente dieta diez dif\u00edcil digno dilema diluir dinero directo dirigir disco dise\u00f1o disfraz diva divino doble doce dolor domingo don donar dorado dormir dorso dos dosis drag\u00f3n droga ducha duda duelo due\u00f1o dulce d\u00fao duque durar dureza duro \u00e9bano ebrio echar eco ecuador edad edici\u00f3n edificio editor educar efecto eficaz eje ejemplo elefante elegir elemento elevar elipse \u00e9lite elixir elogio eludir embudo emitir emoci\u00f3n empate empe\u00f1o empleo empresa enano encargo enchufe enc\u00eda enemigo enero enfado enfermo enga\u00f1o enigma enlace enorme enredo ensayo ense\u00f1ar entero entrar envase env\u00edo \u00e9poca equipo erizo escala escena escolar escribir escudo esencia esfera esfuerzo espada espejo esp\u00eda esposa espuma esqu\u00ed estar este estilo estufa etapa eterno \u00e9tica etnia evadir evaluar evento evitar exacto examen exceso excusa exento exigir exilio existir \u00e9xito experto explicar exponer extremo f\u00e1brica f\u00e1bula fachada f\u00e1cil factor faena faja falda fallo falso faltar fama familia famoso fara\u00f3n farmacia farol farsa fase fatiga fauna favor fax febrero fecha feliz feo feria feroz f\u00e9rtil fervor fest\u00edn fiable fianza fiar fibra ficci\u00f3n ficha fideo fiebre fiel fiera fiesta figura fijar fijo fila filete filial filtro fin finca fingir finito firma flaco flauta flecha flor flota fluir flujo fl\u00faor fobia foca fogata fog\u00f3n folio folleto fondo forma forro fortuna forzar fosa foto fracaso fr\u00e1gil franja frase fraude fre\u00edr freno fresa fr\u00edo frito fruta fuego fuente fuerza fuga fumar funci\u00f3n funda furg\u00f3n furia fusil f\u00fatbol futuro gacela gafas gaita gajo gala galer\u00eda gallo gamba ganar gancho ganga ganso garaje garza gasolina gastar gato gavil\u00e1n gemelo gemir gen g\u00e9nero genio gente geranio gerente germen gesto gigante gimnasio girar giro glaciar globo gloria gol golfo goloso golpe goma gordo gorila gorra gota goteo gozar grada gr\u00e1fico grano grasa gratis grave grieta grillo gripe gris grito grosor gr\u00faa grueso grumo grupo guante guapo guardia guerra gu\u00eda gui\u00f1o guion guiso guitarra gusano gustar haber h\u00e1bil hablar hacer hacha hada hallar hamaca harina haz haza\u00f1a hebilla hebra hecho helado helio hembra herir hermano h\u00e9roe hervir hielo hierro h\u00edgado higiene hijo himno historia hocico hogar hoguera hoja hombre hongo honor honra hora hormiga horno hostil hoyo hueco huelga huerta hueso huevo huida huir humano h\u00famedo humilde humo hundir hurac\u00e1n hurto icono ideal idioma \u00eddolo iglesia igl\u00fa igual ilegal ilusi\u00f3n imagen im\u00e1n imitar impar imperio imponer impulso incapaz \u00edndice inerte infiel informe ingenio inicio inmenso inmune innato insecto instante inter\u00e9s \u00edntimo intuir in\u00fatil invierno ira iris iron\u00eda isla islote jabal\u00ed jab\u00f3n jam\u00f3n jarabe jard\u00edn jarra jaula jazm\u00edn jefe jeringa jinete jornada joroba joven joya juerga jueves juez jugador jugo juguete juicio junco jungla junio juntar j\u00fapiter jurar justo juvenil juzgar kilo koala labio lacio lacra lado ladr\u00f3n lagarto l\u00e1grima laguna laico lamer l\u00e1mina l\u00e1mpara lana lancha langosta lanza l\u00e1piz largo larva l\u00e1stima lata l\u00e1tex latir laurel lavar lazo leal lecci\u00f3n leche lector leer legi\u00f3n legumbre lejano lengua lento le\u00f1a le\u00f3n leopardo lesi\u00f3n letal letra leve leyenda libertad libro licor l\u00edder lidiar lienzo liga ligero lima l\u00edmite lim\u00f3n limpio lince lindo l\u00ednea lingote lino linterna l\u00edquido liso lista litera litio litro llaga llama llanto llave llegar llenar llevar llorar llover lluvia lobo loci\u00f3n loco locura l\u00f3gica logro lombriz lomo lonja lote lucha lucir lugar lujo luna lunes lupa lustro luto luz maceta macho madera madre maduro maestro mafia magia mago ma\u00edz maldad maleta malla malo mam\u00e1 mambo mamut manco mando manejar manga maniqu\u00ed manjar mano manso manta ma\u00f1
241ana mapa m\u00e1quina mar marco marea marfil margen marido m\u00e1rmol marr\u00f3n martes marzo masa m\u00e1scara masivo matar materia matiz matriz m\u00e1ximo mayor mazorca mecha medalla medio m\u00e9dula mejilla mejor melena mel\u00f3n memoria menor mensaje mente men\u00fa mercado merengue m\u00e9rito mes mes\u00f3n meta meter m\u00e9todo metro mezcla miedo miel miembro miga mil milagro militar mill\u00f3n mimo mina minero m\u00ednimo minuto miope mirar misa miseria misil mismo mitad mito mochila moci\u00f3n moda modelo moho mojar molde moler molino momento momia monarca moneda monja monto mo\u00f1o morada morder moreno morir morro morsa mortal mosca mostrar motivo mover m\u00f3vil mozo mucho mudar mueble muela muerte muestra mugre mujer mula muleta multa mundo mu\u00f1eca mural muro m\u00fasculo museo musgo m\u00fasica muslo n\u00e1car naci\u00f3n nadar naipe naranja nariz narrar nasal natal nativo natural n\u00e1usea naval nave navidad necio n\u00e9ctar negar negocio negro ne\u00f3n nervio neto neutro nevar nevera nicho nido niebla nieto ni\u00f1ez ni\u00f1o n\u00edtido nivel nobleza noche n\u00f3mina noria norma norte nota noticia novato novela novio nube nuca n\u00facleo nudillo nudo nuera nueve nuez nulo n\u00famero nutria oasis obeso obispo objeto obra obrero observar obtener obvio oca ocaso oc\u00e9ano ochenta ocho ocio ocre octavo octubre oculto ocupar ocurrir odiar odio odisea oeste ofensa oferta oficio ofrecer ogro o\u00eddo o\u00edr ojo ola oleada olfato olivo olla olmo olor olvido ombligo onda onza opaco opci\u00f3n \u00f3pera opinar oponer optar \u00f3ptica opuesto oraci\u00f3n orador oral \u00f3rbita orca orden oreja \u00f3rgano org\u00eda orgullo oriente origen orilla oro orquesta oruga osad\u00eda oscuro osezno oso ostra oto\u00f1o otro oveja \u00f3vulo \u00f3xido ox\u00edgeno oyente ozono pacto padre paella p\u00e1gina pago pa\u00eds p\u00e1jaro palabra palco paleta p\u00e1lido palma paloma palpar pan panal p\u00e1nico pantera pa\u00f1uelo pap\u00e1 papel papilla paquete parar parcela pared parir paro p\u00e1rpado parque p\u00e1rrafo parte pasar paseo pasi\u00f3n paso pasta pata patio patria pausa pauta pavo payaso peat\u00f3n pecado pecera pecho pedal pedir pegar peine pelar pelda\u00f1o pelea peligro pellejo pelo peluca pena pensar pe\u00f1\u00f3n pe\u00f3n peor pepino peque\u00f1o pera percha perder pereza perfil perico perla permiso perro persona pesa pesca p\u00e9simo pesta\u00f1a p\u00e9talo petr\u00f3leo pez pezu\u00f1a picar pich\u00f3n pie piedra pierna pieza pijama pilar piloto pimienta pino pintor pinza pi\u00f1a piojo pipa pirata pisar piscina piso pista pit\u00f3n pizca placa plan plata playa plaza pleito pleno plomo pluma plural pobre poco poder podio poema poes\u00eda poeta polen polic\u00eda pollo polvo pomada pomelo pomo pompa poner porci\u00f3n portal posada poseer posible poste potencia potro pozo prado precoz pregunta premio prensa preso previo primo pr\u00edncipe prisi\u00f3n privar proa probar proceso producto proeza profesor programa prole promesa pronto propio pr\u00f3ximo prueba p\u00fablico puchero pudor pueblo puerta puesto pulga pulir pulm\u00f3n pulpo pulso puma punto pu\u00f1al pu\u00f1o pupa pupila pur\u00e9 quedar queja quemar querer queso quieto qu\u00edmica quince quitar r\u00e1bano rabia rabo raci\u00f3n radical ra\u00edz rama rampa rancho rango rapaz r\u00e1pido rapto rasgo raspa rato rayo raza raz\u00f3n reacci\u00f3n realidad reba\u00f1o rebote recaer receta rechazo recoger recreo recto recurso red redondo reducir reflejo reforma refr\u00e1n refugio regalo regir regla regreso reh\u00e9n reino re\u00edr reja relato relevo relieve relleno reloj remar remedio remo rencor rendir renta reparto repetir reposo reptil res rescate resina respeto resto resumen retiro retorno retrato reunir rev\u00e9s revista rey rezar rico riego rienda riesgo rifa r\u00edgido rigor rinc\u00f3n ri\u00f1\u00f3n r\u00edo riqueza risa ritmo rito rizo roble roce rociar rodar rodeo rodilla roer rojizo rojo romero romper ron ronco ronda ropa ropero rosa rosca rostro rotar rub\u00ed rubor rudo rueda rugir ruido ruina ruleta rulo rumbo rumor ruptura ruta rutina s\u00e1bado saber sabio sable sacar sagaz sagrado sala saldo salero salir salm\u00f3n sal\u00f3n salsa salto salud salvar samba sanci\u00f3n sand\u00eda sanear sangre sanidad sano santo sapo saque sardina sart\u00e9n sastre sat\u00e1n sauna saxof\u00f3n secci\u00f3n seco secreto secta sed seguir seis sello selva semana semilla senda sensor se\u00f1al se\u00f1or separar sepia sequ\u00eda ser serie serm\u
24100f3n servir sesenta sesi\u00f3n seta setenta severo sexo sexto sidra siesta siete siglo signo s\u00edlaba silbar silencio silla s\u00edmbolo simio sirena sistema sitio situar sobre socio sodio sol solapa soldado soledad s\u00f3lido soltar soluci\u00f3n sombra sondeo sonido sonoro sonrisa sopa soplar soporte sordo sorpresa sorteo sost\u00e9n s\u00f3tano suave subir suceso sudor suegra suelo sue\u00f1o suerte sufrir sujeto sult\u00e1n sumar superar suplir suponer supremo sur surco sure\u00f1o surgir susto sutil tabaco tabique tabla tab\u00fa taco tacto tajo talar talco talento talla tal\u00f3n tama\u00f1o tambor tango tanque tapa tapete tapia tap\u00f3n taquilla tarde tarea tarifa tarjeta tarot tarro tarta tatuaje tauro taza taz\u00f3n teatro techo tecla t\u00e9cnica tejado tejer tejido tela tel\u00e9fono tema temor templo tenaz tender tener tenis tenso teor\u00eda terapia terco t\u00e9rmino ternura terror tesis tesoro testigo tetera texto tez tibio tibur\u00f3n tiempo tienda tierra tieso tigre tijera tilde timbre t\u00edmido timo tinta t\u00edo t\u00edpico tipo tira tir\u00f3n tit\u00e1n t\u00edtere t\u00edtulo tiza toalla tobillo tocar tocino todo toga toldo tomar tono tonto topar tope toque t\u00f3rax torero tormenta torneo toro torpedo torre torso tortuga tos tosco toser t\u00f3xico trabajo tractor traer tr\u00e1fico trago traje tramo trance trato trauma trazar tr\u00e9bol tregua treinta tren trepar tres tribu trigo tripa triste triunfo trofeo trompa tronco tropa trote trozo truco trueno trufa tuber\u00eda tubo tuerto tumba tumor t\u00fanel t\u00fanica turbina turismo turno tutor ubicar \u00falcera umbral unidad unir universo uno untar u\u00f1a urbano urbe urgente urna usar usuario \u00fatil utop\u00eda uva vaca vac\u00edo vacuna vagar vago vaina vajilla vale v\u00e1lido valle valor v\u00e1lvula vampiro vara variar var\u00f3n vaso vecino vector veh\u00edculo veinte vejez vela velero veloz vena vencer venda veneno vengar venir venta venus ver verano verbo verde vereda verja verso verter v\u00eda viaje vibrar vicio v\u00edctima vida v\u00eddeo vidrio viejo viernes vigor vil villa vinagre vino vi\u00f1edo viol\u00edn viral virgo virtud visor v\u00edspera vista vitamina viudo vivaz vivero vivir vivo volc\u00e1n volumen volver voraz votar voto voz vuelo vulgar yacer yate yegua yema yerno yeso yodo yoga yogur zafiro zanja zapato zarza zona zorro zumo zurdo".split(" ");
242class H{constructor(O){this.m_sDico="";this.m_nLangue=-1;O=a.NSValues.oAny2Natif(O);typeof O=="number"?this.m_nLangue=O:O&&(this.m_sDico=String(O))}}b.PhraseVersBuffer=function(O,q=""){var z=String(O),R=String(q);q=new a.NSTypes.CBuffer;O=[];if(R=g(-1,z,R)){z=z.split(" ");var u=z.length;if(u<3||u>24||u%3)var D=!1;else{for(D of z)z=d(D,R),z>=0&&O.push(z);D=!0}}else D=!1;if(!D)return q;D=O.length;u=D*11;D/=3;var L=u-D;R=0;var T=Math.floor(L/8);z=[];for(var E=0;E<T;E++)z.push(0);for(T=0;T<u;T++)E=O[Math.floor(T/
24311)]&1<<10-T%11?1:0,T<L?z[Math.floor(T/8)]|=E<<7-T%8:R|=E<<D-1-T-L;O=new a.NSTypes.CBuffer(new ArrayBuffer(z.length));u=new DataView(O.vtGetValeurDirect());for(L=0;L<z.length;L++)u.setUint8(L,z[L]);z=f(O);return R!=(new DataView(z.vtGetValeurDirect())).getUint8(0)>>8-D?q:O};b.BufferVersPhrase=function(O,q){var z=new a.NSTypes.CBuffer(a.NSTypes.xoGetArrayBuffer(O)),R=z.vtGetValeurDirect().byteLength,u=new ArrayBuffer(R+2);O=new DataView(z.vtGetValeurDirect());u=new DataView(u);for(var D=0;D<R;D++)u.setUint8(D,
244O.getUint8(D));var L=R*8;D=L+L/32;O=D/11;if(L%32||L>256)throw new a.CErreur(1113);u.setUint8(R,(new DataView(f(z).vtGetValeurDirect())).getUint8(0));z=[];for(R=0;R<O;R++)z.push(0);R=0;for(L=0;L<D;L++)L%16||(R=u.getUint16(Math.floor(L/16)*2)),z[Math.floor(L/11)]|=(R&1<<15-L%16?1:0)<<10-L%11;u=new H(q);q="";if(u=g(u.m_nLangue,"",u.m_sDico))for(D=0;D<O;D++)q+=u[z[D]],D<O-1&&(q+=" ");return q};b.bEnModePageDansFenetre=function(){return a.NSWDW.bWDW()};b.FinAutomatismeProcedure=function(O){return a.NSUtil.FinAutomatismeProcedure(O)};
245let K=void 0;b.oGetVisiteGuideeEnCours=function(){return K};b.VisiteGuideeDemarre=function(O,q){O=a.iGetAsRValue(O,1);if(O===void 0||!a.NSTypes.bIsVisiteGuidee(O))throw new a.CErreur(601);let z;try{z=a.NSUtil.xnGetIndiceC(q,O.nGetNbSteps(),0,-1,!1)}catch(u){if(q===void 0)z=0;else throw u;}for(O.Init();z<O.nGetNbSteps()&&O.GetStep(z).bInit()===!1;
245)z++;if(z>=O.nGetNbSteps())throw new a.CErreur(605,z);O.SetIdxCurrentStep(z);K=O;for(let u=0;u<=2;u++)a:{q=O;var R=u;let D=k(R);switch(R){case 0:R=q.nGetVersion().toString();
246break;case 1:R=a.NSTypes.ms_DescriptionDateHeure.viCreationCopie(new Date,0).toString();break;case 2:R=(R=a.NSUtil.StorageGetItem(0,q.sGetID()+"_"+D))?(parseInt(R)+1).toString():"1";break;case 3:break a;default:throw new a.CErreur(303,R);}a.NSUtil.StorageSetItem(0,q.sGetID()+"_"+D,R)}O.GetStep(z).bShow()};b.VisiteGuideeInfo=function(O,q){var z,R,u;if(O===void 0)throw new a.CErreur(601);var D=a.iGetAsRValue(O,1);if(D!==void 0)if(a.NSTypes.bIsVisiteGuidee(D))O=D.sGetID();else throw new a.CErreur(601);
247else O=String(O);D=k(a.NSUtil.nGetEntier(q,-1));switch(a.NSUtil.nGetEntier(q,-1)){case 0:return(z=a.NSUtil.StorageGetItem(0,O+"_"+D))!==null&&z!==void 0?z:0;case 1:return(R=a.NSUtil.StorageGetItem(0,O+"_"+D))!==null&&R!==void 0?R:a.NSTypes.ms_DescriptionDateHeure.viCreationCopie(new Date(0),0);case 2:return(u=a.NSUtil.StorageGetItem(0,O+"_"+D))!==null&&u!==void 0?u:0;case 3:return K!==void 0&&O===K.sGetID()?K.nGetIdxCurrentStep()+1:0;default:throw new a.CErreur(303,q);}};b.VisiteGuideeChangeEtape=
248function(O,q){q=a.iGetAsRValue(q,1);if(q!==void 0&&!a.NSTypes.bIsVisiteGuidee(q))throw new a.CErreur(601);let z=q!==void 0?q:K;if(K!==void 0&&(z===null||z===void 0?void 0:z.sGetID())===K.sGetID()){q=-1;try{q=a.NSUtil.xnGetIndiceC(O,z.nGetNbSteps(),0,-1,!1)}catch(R){q=-1}O=String(O);if(q<0)switch(O){case "<":q=K.nGetIdxCurrentStep()-1;break;case ">":q=K.nGetIdxCurrentStep()+1;break;case "undefined":throw new a.CErreur(209,O);default:throw new a.CErreur(303,O);}if(K.nGetIdxCurrentStep()!==q){K.GetStep(K.nGetIdxCurrentStep()).Terminate();
249for(O=!1;O===!1;){if(q<0||q>=K.nGetNbSteps()){K.SetIdxCurrentStep(-1);n();return}(O=K.GetStep(q).bInit())||(K.nGetIdxCurrentStep()<q?q++:q--)}K.SetIdxCurrentStep(q);K.GetStep(q).bShow()}}};b.VisiteGuideeTermine=n;b.bEnModeVisiteGuidee=function(){return K!==void 0};let ba={};b.ChronoDebut=function(O=1){C(O,!0).Demarre()};b.ChronoFin=v;b.ChronoPause=function(O=1){return v(O)};b.ChronoReprend=function(O=1){C(O).Reprend()};b.ChronoRAZ=function(O=1){C(O).Reinitialise()};b.ChronoValeur=function(O=1){return C(O).GetValeur()}})(a.NSOperations||
250(a.NSOperations={}))})(NSPCS||(NSPCS={}));
251(function(a){(function(b){function h(p){if(a.NSTypes.bIsDescriptionEnumeration(p))return p;throw new a.CErreur(601);}function B(p){if(a.NSTypes.bIsDescriptionCombinaison(p))return p;throw new a.CErreur(601);}function y(p,m,f,d){if(m)return m;if(void 0!==f)return p.viCreationCopie(f,0);throw new a.CErreur(901,d);}b.EnumerationDepuisNom=function(p,m,f){p=h(p);return y(p,p.iGetEnumerationDepuisNom(String(m)),f,m)};b.EnumerationDepuisValeur=function(p,m,f){p=h(p);return y(p,p.iGetEnumerationDepuisValeur(a.NSValues.oAny2Natif(m)),
252f,m)};b.EnumerationVerifieNom=function(p,m){return!!h(p).iGetEnumerationDepuisNom(String(m))};b.EnumerationVerifieValeur=function(p,m){return!!h(p).iGetEnumerationDepuisValeur(a.NSValues.oAny2Natif(m))};b.CombinaisonDepuisNom=function(p,m,f=0){p=B(p);return(m=p.iGetCombinaisonDepuisNom(String(m),a.NSUtil.nGetEntier(f,0),!1))?m:p.viCreation()};b.CombinaisonDepuisValeur=function(p,m){p=B(p);return(m=p.iGetCombinaisonDepuisValeur(a.NSValues.oAny2Natif(m)))?m:p.viCreation()};b.CombinaisonVerifieNom=function(p,
253m){return!!B(p).iGetCombinaisonDepuisNom(String(m),1,!0)}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
254(function(a){(function(b){function h(d){switch(typeof d){case "string":const c=document.getElementById(d);return c?c:(d=document.getElementsByName(d))&&d.length&&d[0]?d[0]:null;case "number":switch(d){case 0:return window;case 1:return window.document;case 2:return window.document.body;case 3:return document.forms[0]}default:return d}}function B(d){switch(typeof d){case "number":return m[d];case "string":return d;case "object":if(Array.isArray(d)&&1<d.length)return d[1];default:return d}}let y=1;
255const p={};b.nEvenement=function(d,c,g,k){a:switch(d=a.NSValues.oAny2Natif(d),typeof d){case "function":break a;default:d=null}c=h(a.NSValues.oAny2Natif(c));g=B(a.NSValues.oAny2Natif(g));a:switch(k=a.NSValues.oAny2Natif(k),typeof k){case "number":break a;default:k=parseInt(k,10)}return d&&c&&g&&!isNaN(k)?(k=new f(d,c,g,0!==(k&1)),d=y,y++,p[d]=k,d):0};b.bFinEvenement=function(d){const c=p[d];return c?(c.Libere(),delete p[d],!0):!1};b.bInterruptionEvenement=function(d,c){return a.NSUtil.bStopPropagationCond(d,
2560!==(c&1),0!==(c&2))};const m="click dblclick mousedown mouseup mousemove mouseout mouseover keydown keypress keyup focus blur change select load unload reset submit resize scroll orientationchange touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend beforeunload".
256split(" ");class f{constructor(d,c,g,k){this.m_pfCallback=d;this.m_oCibleDOM=c;this.sEvent=g;this.m_bCapture=k;a.NSUtil.AttacheEvent(this.m_oCibleDOM,this.sEvent,this.m_pfCallback,this.m_bCapture,2)}Libere(){a.NSUtil.DetacheEvent(this.m_oCibleDOM,
257this.sEvent,this.m_pfCallback,this.m_bCapture,2)}}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
258(function(a){(function(b){function h(v,M,G,e,l=0,r,I,x){if(void 0!==v.nodeType)return new m(v,M,G,e,l);if(a.NSChamps.bIsChampRebondFrameworkV1(v)){var H=v.m_iChampFrameworkV1;if("undefined"!==typeof WDTableZRNavigateur&&H instanceof WDTableZRNavigateur)return new f(H,M,G,e,l)}H=a.NSValues.iAny2RValue(v,2);var K=H.viGetAsTableauAssociatif();if(K)return new c(K,M,G,e,l,r);if(K=H.viGetAsTableau())return new g(K,M,G,e,l);switch(H.veGetTypeWL()){case 16:return I?new C(String(H),M,G,e,l,r,x):new n(String(H),
259M,G,e,l,r);default:return a.CDebug.s_Assert(!1,"Type sans cast correct"),new p(v,M,G,e,l)}}function B(v){v&&(v.vLibere(),a.NSUtil.SupprimeDansTableau(y,v))}b.ms_oElementCourant={};b.ms_nPremierElement=1;b.ms_nDernierElementHexa=2271560482;b.ms_nDernierElement=-2023406814;b.ms_nAvantElementCourantHexa=2271560483;b.ms_nAvantElementCourant=-2023406813;b.ms_nApresElementCourantHexa=2271560484;b.ms_nApresElementCourant=-2023406812;const y=[];b.iDeclareIterateur=function(v,M,G,e,l,r,I,x){v=h(v,M,G,e,l,
260r,I,x);try{v.Suivant()}catch(H){throw B(v),H;}return v};b.LibereIterateur=B;b.iGetIterateur=function(v){return y.find(M=>M.oGetCibleSansType()===v)};class p{constructor(v,M,G,e,l){this.m_tCible=v;this.m_iValeur=M;this.m_iCle=G;this.m_iCompteur=e;this.m_nCompteur=-1;this.m_nCompteurSuppression=0;this.m_bFini=!1;this.m_bValeur=!!(l&1);this.m_bAscendant=!!(l&2);this.m_bSelectionne=!!(l&4);y.push(this);this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationDebut(this)}Suivant(){this.m_nCompteur++;var v=
261this.m_nCompteur<this._vnGetNbElements();(v=this._vbSuivant(v))&&this._vSetValeurCleCompteur();this.m_bFini=!v}bEstFini(){return this.m_bFini}vLibere(){this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationFin()}vSetValeurDepuisVariable(v,M,G){a.CDebug.s_Assert(this.m_bValeur);a.NSUtil.xVerifieAffectationAucune(a.iGetValeurAffectation(v,M,G))}oGetCibleSansType(){return this.m_tCible}viGetSousValue(){a.CDebug.s_Assert(!1,"Passage dans CIterateur::voGetElement");return null}vnGetCompteur(){return this.m_nCompteur}vNotifieSuppressionCourant(){this.m_nCompteur--;
262this.m_nCompteurSuppression++}_vbSuivant(v){return v}_vSetValeurCleCompteur(){this.m_iCompteur&&this.m_iCompteur.vSetValeur(this._nGetCompteurWL(),3,{})}_nGetCompteurReel(){return this.m_bAscendant?this.m_nCompteur:this._vnGetNbElements()-this.m_nCompteur-1}_vnGetNbElements(){return 0}_nGetCompteurWL(){return this.m_nCompteur+this.m_nCompteurSuppression+1}}class m extends p{constructor(v,M,G,e,l=0){super(v,M,G,e,l);this.m_tabSelection=[];a.CDebug.s_Assert(this.m_bValeur);const r=[];Array.prototype.forEach.call(v.options,
263(I,x)=>{I.selected&&(r.push(x),I.selected=!1)});this.m_tabSelection=r}vLibere(){const v=this.m_tCible,M=v.options;v.selectedIndex=-1;this.m_tabSelection.forEach(function(G){M[G].selected=!0});super.vLibere()}_vbSuivant(v){v&&(this.m_tCible.selectedIndex=this._nGetValeur());return v}_vSetValeurCleCompteur(){this.m_iValeur&&this.m_iValeur.vSetValeur(this._nGetValeur()+1,3,{m_bAffectationDepuisIterateur:!0});super._vSetValeurCleCompteur()}_vnGetNbElements(){return this.m_bSelectionne?this.m_tabSelection.length:
264this.m_tCible.options.length}_nGetValeur(){const v=this._nGetCompteurReel();return this.m_bSelectionne?this.m_tabSelection[v]:v}}class f extends p{constructor(v,M,G,e,l=0){super(v,M,G,e,l);this.m_nLigne=0;a.CDebug.s_Assert(this.m_bValeur);this.m_nForceSelectionInitial=this.m_tCible.nGetForceSelection()}vLibere(){this.m_tCible.ForceSelection(this.m_nForceSelectionInitial);super.vLibere()}_vbSuivant(v){let M;
264v&&(v=this._nGetCompteurReel(),M=this.m_bSelectionne?this.m_tCible.Select(v+1)-1:v);if(void 0!==
265M)return this.m_tCible.ForceSelection(M),this.m_nLigne=M,!0;this.m_nLigne=0;return!1}_vSetValeurCleCompteur(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_nLigne+1,3,{m_bAffectationDepuisIterateur:!0});super._vSetValeurCleCompteur()}_vnGetNbElements(){return this.m_bSelectionne?this.m_tCible.SelectOccurrence():this.m_tCible.Occurrence()}}class d extends p{constructor(){super(...arguments);this.m_iElement=null}vSetValeurDepuisVariable(v,M,G){this.m_iElement.vSetValeur(v,M,G)}viGetSousValue(){return this.m_iElement}_vbSuivant(v){this.m_iElement=
266v?this._viGetElement(this._nGetCompteurReel()):null;return!!this.m_iElement}_vSetValeurCleCompteur(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_iElement,3,{m_bAffectationDepuisIterateur:!0});super._vSetValeurCleCompteur()}}class c extends d{constructor(v,M,G,e,l,r){super(v,M,G,e,l);this.m_oCleFiltre=null;this.m_oCleElement={m_oCle:void 0};null!==r&&void 0!==r&&(this.m_oCleFiltre=v.oGetCle(r))}_vbSuivant(v){this.m_iElement=v?this.__iGetElement(this._nGetCompteurReel(),this.m_oCleElement):null;
267return!!this.m_iElement}_vSetValeurCleCompteur(){this.m_iCle&&this.m_iCle.vSetValeur(this.m_oCleElement.m_oCle,3,{m_bAffectationDepuisIterateur:!0});super._vSetValeurCleCompteur()}_vnGetNbElements(){return this.m_oCleFiltre?this.m_tCible.nGetNbElementsCle(this.m_oCleFiltre):this.m_tCible.nGetNbElements()}_viGetElement(v){return this.__iGetElement(v)}__iGetElement(v,M){return this.m_oCleFiltre?((v=this.m_tCible.viGetSousElement(0,[this.m_oCleFiltre.m_iCle,v+1]))&&M&&(M.m_oCle=this.m_oCleFiltre.m_iCle),
268v):this.m_tCible.iGetSousElementIndice(v,M)}}class g extends d{constructor(v,M,G,e,l){super(v,M,G,e,l);M instanceof a.NSValues.CVariablePourIterateur&&M.CorrigeType(v.iGetDescriptionElement())}_vSetValeurCleCompteur(){this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});super._vSetValeurCleCompteur()}_vnGetNbElements(){return this.m_tCible.nGetNbElements()}_viGetElement(v){return this.m_tCible.iGetSousElementIndice(v)}}class k extends p{_vSetValeurCleCompteur(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_tCible[this._nGetCompteurReel()],
2693,{});this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});super._vSetValeurCleCompteur()}_vnGetNbElements(){return this.m_tCible.length}}class n extends k{constructor(v,M,G,e,l=0,r="\t"){super(0<v.length?v.split(String(r)):[],M,G,e,l);a.CDebug.s_Assert(this.m_bValeur);this.m_sSeparateur=String(r)}_vSetValeurCleCompteur(){super._vSetValeurCleCompteur();if(this.m_iCle){var v=this._nGetCompteurReel();v=0===v?1:this.m_tCible.slice(0,v).join("").length+v*this.m_sSeparateur.length+1;this.m_iCle.vSetValeur(v,
2703,{})}}}class C extends k{constructor(v,M,G,e,l=0,r="\t",I=0){var x=String(r);const H=0!==(I&2);0!==(I&4)&&(v=v.toLowerCase(),x=x.toLowerCase());r=[];const K=/\W/;for(let ba=v.indexOf(x);-1!==ba;ba=v.indexOf(x,ba+1)){if(H){let O=ba-1;if(0<=O&&null===v.charAt(O).match(K))continue;O=ba+x.length;if(O<v.length&&null===v.charAt(O).match(K))continue}r.push(ba+1)}0!==(I&1)&&l&2&&(l-=2);super(r,M,G,e,l);a.CDebug.s_Assert(this.m_bValeur)}}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
271(function(a){(function(b){function h(d){d=String(d);try{return a.NSUtil.xoEvalJSON(d)}catch(c){throw new a.CErreur(607);}}function B(d,c=0){c=a.NSUtil.nGetEntier(c,0);return a.NSUtil.xsStringifyJSON(d,0===(c&33554432))}function y(d,c,g){d={m_eMethodeHTTP:1,m_sURL:String(d),m_sContenu:"",m_oInterne:null};if(void 0===c)return d=a.NSAjax.oRequeteSynchroneTexte(d),g(d.m_oReponse.m_oResultatOuRetourWL);a.NSAjax.nRequeteAsynchroneTexte(d,function(k){a.NSValues.oAny2Natif(c)(g(k.m_oReponse.m_oResultatOuRetourWL))});
272return null}function p(d){d=a.NSValues.iAny2RValue(d);if(d instanceof a.NSTypes.CHTTPRequete){if(d=d.valueOf()){const c={m_eMethodeHTTP:d.m_eMethodeHTTP,m_sURL:d.m_sURL,m_sContenu:d.m_sContenu,m_oEntetesHTTPSupplementaires:a.NSUtil.oCloneSimple(d.m_oEntete),m_sUtilisateur:d.m_sUtilisateur,m_sMotDePasse:d.m_sMotDePasse,m_bContenuReponseBrut:d.m_bContenuReponseBrut,m_pfAvancementEnvoi:d.m_oAvancementEnvoi.m_oProcedure?d.m_oAvancementEnvoi.m_oProcedure.valueOf():void 0,m_pfAvancementTelechargement:d.m_oAvancementTelechargement.m_oProcedure?
273d.m_oAvancementTelechargement.m_oProcedure.valueOf():void 0,m_oInterne:null};d.m_sContentType&&(c.m_oEntetesHTTPSupplementaires["Content-Type"]=d.m_sContentType);return c}}else if(16===d.veGetTypeWL())return{m_eMethodeHTTP:1,m_sURL:String(d),m_sContenu:"",m_oInterne:null};throw new a.CErreur(601);}function m(d){const c=a.NSTypes.oGetDescriptionDINO(10,31).m_oDescriptionDynamique.viCreation();c.vSetValeurDirect(d.m_oXMLHttpRequest);return c}b.JSONExecute=function(d,c){return y(d,c,function(g){a.CDebug.s_Assert("string"===
274typeof g);return a.NSUtil.xoEvalJSON(String(g))})};let f=0;b.JSONExecuteExterne=function(d,c,g){d=String(d);c=String(c);const k="Requete_"+f++;let n=document.createElement("script");n.src=d+(d.indexOf("?")===-1?"?":"&")+c+"="+k;n.charset="UTF-8";window[k]=function(C){a.NSValues.oAny2Natif(g)(C);a.NSUtil.oSupprimeElement(n);window[k]=null};n=document.body.appendChild(n)};b.JSONVersVariant=h;b.VariantVersJSON=B;b.ChaineVersJSON=function(d){d=String(d);const c=a.NSTypes.oGetDescriptionDINO(0,16).m_oDescriptionStatique;
275try{return c.viCreation(a.iGetValeurInitiale(d,0))}catch(g){return c.viCreation()}};b.JSONValide=function(d){d=String(d);try{return a.NSUtil.xoEvalJSON(d),!0}catch(c){return!1}};b.JSONVersXML=function(d,c){};b.Serialise=function(d,c,g){const k=a.NSUtil.nGetEntier(g,0);if(1024!==(k&65280))throw new a.CErreur(303,k);if("object"!==typeof c||void 0===c.vSetValeur)throw new a.CErreur(608);c.vSetValeur(B(d,g),0,{})};b.bDansDeserialisation=!1;b.Deserialise=function(d,c,g){if(1024!==g)throw new a.CErreur(303,
276g);if("object"!==typeof d||void 0===d.vSetValeur)throw new a.CErreur(609);c=h(c);try{b.bDansDeserialisation=!0,d.vSetValeur(c,4,{})}finally{b.bDansDeserialisation=!1}};b.HTTPEnvoie=function(d,c){d=p(d);let g=null;c&&(c=a.NSValues.oAny2Natif(c),c instanceof Function&&(g=c));if(g)a.NSAjax.nRequeteAsynchroneTexte(d,function(k){g(m(k))});else return m(a.NSAjax.oRequeteSynchroneTexte(d))}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
277(function(a){(function(b){b.oLogique=function(h,B,y){B=a.NSUtil.bGetBooleen(B);y=a.NSUtil.bGetBooleen(y);switch(h){case 0:return B&&y;case 1:return B||y}}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
278(function(a){(function(b){function h(y,p,m,f){y&&(void 0===B&&(B=document.title),m=String(m),p=[{oDonnees:a.NSValues.oAny2Natif(p),sTitre:m},m],void 0!==f&&p.push(String(f)),y.apply(window.history,p),document.title=m)}b.NavigateurTranche=function(){return a.NSUtil.bRWD?$.wb.nGetTrancheActiveIndiceWL(!0):1};
278b.NavigateurLargeur=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)};b.NavigateurHauteur=function(){return Math.max(document.documentElement.clientHeight,window.innerHeight||
2790)};b.NavigateurPartage=function(y,p,m){y={title:String(p),text:y===void 0?void 0:String(y),url:m===void 0?void 0:String(m)};if(!navigator.share||!navigator.canShare||!navigator.canShare(y))return!1;navigator.share(y);return!0};b.NavigateurHistoriqueAjoute=function(y,p=window.document.title,m){h(window.history.pushState,y,p,m)};b.NavigateurHistoriqueModifie=function(y,p,m){h(window.history.replaceState,y,p,m)};let B;b.BindPopState=function(){a.NSUtil.AttacheEvent(window,"popstate",function(y){let p=
280null;if(y.state){p=y.state.oDonnees;const m=y.state.sTitre;void 0!==m&&(document.title=m)}else void 0!==B&&(document.title=B);a.NSUtil.pfGetTraitement(a.NSChamps.oGetPageCourante().sGetAlias(),81)(y,p)},!0)}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
281(function(a){(function(b){function h(g){return Math.abs(g)}function B(g){return(0<=g?Math.floor:Math.ceil)(g)}function y(g){return!(g&1)}function p(g){return Math.floor(g)}function m(g){return g.oAbsolue()}function f(g){return g.bEstPair()}function d(g,k){return g.reduce(function(n,C){return b.bComparaison(n,C,!1,k,!1,!1)?C:n})}b.oNumerique=function(g,k,n){g=c[g];const C=a.iGetAsRValue(k,1);if(C){if(a.NSTypes.bIsNumerique(C))return g.m_pfNumerique(C,n);k=C.vnToNumber(0)}else k=Number(k);return g.m_pfNatif(k,
282n)};const c=[{m_pfNatif:h,m_pfNumerique:m},{m_pfNatif:function(g,k){k=a.NSUtil.nGetEntier(k,0);k=Math.pow(10,k)*(g<0?-1:1);return Math.round(g*k)/k},m_pfNumerique:function(g,k){return g.oArrondi(a.NSUtil.nGetEntier(k,0))}},{m_pfNatif:B,m_pfNumerique:function(g){return g.oArrondiVersZero()}},{m_pfNatif:function(g){return g<0},m_pfNumerique:function(g){return g.bEstNegatif()}},{m_pfNatif:y,m_pfNumerique:f},{m_pfNatif:function(g){return!!(g&1)},m_pfNumerique:function(g){return!f(g)}},{m_pfNatif:function(g){return Math.floor(Math.log(g)/
283Math.LN10)},m_pfNumerique:function(g){return g.nLog10Arrondi()}},{m_pfNatif:p,m_pfNumerique:function(g){return g.oPartieEntiere()}},{m_pfNatif:function(g){g=h(g);return g-p(g)},m_pfNumerique:function(g){g=m(g);return g.oSoustractionNumerique(g.oPartieEntiere())}},{m_pfNatif:function(g,k){k=a.NSUtil.nGetEntier(k,0);k=Math.pow(10,k);return Math.floor(g*k)/k},m_pfNumerique:function(g,k){return g.oArrondiInferieur(a.NSUtil.nGetEntier(k,0))}},{m_pfNatif:function(g,k){k=a.NSUtil.nGetEntier(k,0);k=Math.pow(10,
284k);return Math.ceil(g*k)/k},m_pfNumerique:function(g,k){return g.oArrondiSuperieur(a.NSUtil.nGetEntier(k,0))}}];b.nArrondiVersZero=B;b.bEstPair=y;b.oMin=function(...g){return d(g,!0)};b.oMax=function(...g){return d(g,!1)};b.Val=function(g){g=a.NSUtil.sRemplaceEspaces(a.NSUtil.sSupprimeEspacesDebutFin(a.NSUtil.sToString(g)),"_");const k=parseFloat(g);return isNaN(k)?0:g!==String(k)?a.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(g.replace(/,/g,"|"),0):k}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||
285(NSPCS={}));
286(function(a){(function(b){function h(m,f,d,c){if("undefined"===typeof WebSocket)throw new a.CErreur(800);m=String(m);f=String(f);d=a.NSValues.oAny2Natif(d);let g;c&&(c=a.NSValues.oAny2Natif(c),"string"===typeof c?g=[c]:Array.isArray(c)&&(g=c));if(y[m])throw new a.CErreur(801,m);y[m]=new p(f,d,g)}function B(m,f,d,c,g,k,n){d="ws"+(d?"s":"")+"://"+String(c);void 0!==g&&(g=a.NSUtil.nGetEntier(g,80),80!==g&&(d+=":"+g));d+="/";void 0!==k&&(k=String(k),k.startsWith("/")&&(k=k.substr(1)),d+=k);return h(m,
287d,f,n)}const y={};b.SocketConnecte=h;b.SocketClientConnecte=function(m,f,d,c,g,k){B(m,f,!1,d,c,g,k)};b.SocketClientConnecteSSL=function(m,f,d,c,g,k){B(m,f,!0,d,c,g,k)};b.SocketEcrit=function(m,f){m=String(m);f=String(f);const d=y[m];if(d)return d.bEcrit(m,f);throw new a.CErreur(802,m);};b.SocketExiste=function(m){return!!y[String(m)]};b.SocketFerme=function(m){m=String(m);const f=y[m];if(f)f.Ferme(),delete y[m];else throw new a.CErreur(803,m);};class p{constructor(m,f,d){try{this.m_oSocket=new WebSocket(m,
288d)}catch(c){f(3,c.message);return}this.m_oSocket.onopen=function(c){return f(0,this.protocol)};this.m_oSocket.onmessage=function(c){return f(1,c.data)};this.m_oSocket.onclose=function(c){return f(2,String(c.code))};this.m_oSocket.onerror=function(c){return f(3,"")}}bEcrit(m,f){switch(this.m_oSocket.readyState){case this.m_oSocket.CONNECTING:throw new a.CErreur(804,m);case this.m_oSocket.OPEN:try{this.m_oSocket.send(f)}catch(d){return!1}return!0;default:throw new a.CErreur(805,m);}}Ferme(){try{this.m_oSocket.close()}catch(m){}}}
289})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
290(function(a){(function(b){function h(u,D,L="\r\n",T="\t"){n(D,function(E){I(E,"Cha\u00eeneVersTableau","StringToArray");const Q=1!==E.nGetNbDimensions();E.xiGetTableauSupprime().SupprimeTout();const J=String(T);
290String(u).split(String(L)).forEach(function(N,Y){N=Q?N.split(J):[N];0===Y&&Q&&E.xRedimensionne([0,N.length]);E.nAjouteLigne(N)})},v,v)}function B(u){return!(u<"\t"||u>"\r"&&u<" "||u>" "&&u<"0"||u>"9"&&u<"A"||u>"Z"&&u<"a"||u>"z"&&u<"\u0083"||u>"\u0083"&&u<"\u008c"||u=="\u008d"||u>"\u008e"&&
291u<"\u0099"||u=="\u009b"||u=="\u009d"||u>"\u009f"&&u<"\u00aa"||u>"\u00aa"&&u<"\u00b2"||u>"\u00b3"&&u<"\u00b9"||u=="\u00bb"||u=="\u00bf"||u=="\u00d7"||u=="\u00f7")&&u!==" "&&u!=="\t"&&u!=="\r"&&u!=="\n"}function y(u,D){u=String(u);var L=0;let T=0;for(;L<u.length;){for(;L<u.length&&!B(u[L]);)L++;if(L<u.length){let E=L;for(;E<u.length&&B(u[E]);)E++;T++;typeof D!=="string"&&(L=u.substring(L,E),D.nAjouteLigne([L]));L=E}}return T}function p(u,D){const L=2<=arguments.length;return n(u,function(T){r(T,"TableauAjoute",
292"ArrayAdd");var E=(E=a.iGetAsRValue(D,1))?a.NSValues.iAny2RValue(E).viGetAsTableau():null;if(E){let Q=T.nGetUneDimension(0)+1;d(T,Q,E);return Q}return T.nAjouteLigne(L?[D]:[])+1},v,v)}function m(u,D,...L){return k(u,function(T,E){return E.nCherche(D,L)})}function f(u,D,L,T){n(u,function(E){x(E,"TableauD\u00e9placeLigne","ArrayMoveLine");M(E,D,L,e(T))},v,v)}function d(u,D,L){var T=a.NSValues.iAny2RValue(u);if(a.NSTypes.bIsListe(T)&&(T=T.viGetAsTableau())){let E=b.iGetIterateur(T);D=a.NSUtil.nGetEntier(D);
293switch(D){case b.ms_nAvantElementCourantHexa:case b.ms_nAvantElementCourant:if(E)D=E.vnGetCompteur()+1,E.Suivant();else throw new a.CErreur(606);break;case b.ms_nApresElementCourantHexa:case b.ms_nApresElementCourant:if(E)D=E.vnGetCompteur()+2;else throw new a.CErreur(606);break;case b.ms_nDernierElementHexa:case b.ms_nDernierElement:D=T.nGetUneDimension(0)+1}}n(u,function(E){r(E,"TableauIns\u00e8re","ArrayInsert");const Q=a.NSUtil.xnGetIndiceC(D,E.nGetUneDimension(0),E.eGetModeAgrandissement(),NaN);
294E.Insere(Q,L)},function(E){E.viGetSousElement(0,[D]).vSetValeur(L,0,{})},v)}function c(u){return n(u,function(D){return D.nGetUneDimension(0)},function(D){return D.nGetNbElements()},v)}function g(u,D="\r\n",L="\t"){return n(u,function(T){const E=T.nGetNbDimensions(),Q=[String(D),String(L)];if(Q.length<E)throw new a.CErreur(205);return function aa(N,Y){const da=T.nGetUneDimension(N),fa=E-1===N;Y*=da;const ja=Array(da);for(let ka=0;ka<da;ka++,Y++)if(fa){const oa=T.iGetSousElementIndice(Y);if(0===N&&
29536===oa.veGetTypeWL()){const Da=[];a.NSUtil.bForEachIn(oa.valueOf(),function(Ja,Qa){Da.push(String(Qa));return!0});ja[ka]=Da.join(Q[N+1])}else ja[ka]=String(oa)}else ja[ka]=aa(N+1,Y);return ja.join(Q[N])}(0,0)},v,v)}function k(u,D){return n(u,function(L){L=D(L,L.xiGetTableauCherche());return-1===L?-1:L+1},v,v)}function n(u,D,L,T){u=a.NSValues.iAny2RValue(u);const E=u.viGetAsTableau();return E?D(E):(D=u.viGetAsTableauAssociatif())?L(D):T(u)}function C(){return 0}function v(){throw new a.CErreur(601);
296}function M(u,D,L,T){const E=u.nGetUneDimension(0);D=a.NSUtil.xnGetIndiceC(D,E,0,NaN);L=a.NSUtil.xnGetIndiceC(L,E,0,NaN);G(u,D,L,T)}function G(u,D,L,T){const E=u.nGetDimension0Pas();D*=E;L*=E;if(T)for(T=D+E;D<T;D++,L++)u.Echange(D,L);else u.DeplaceLigne(D,L)}function e(u=0){switch(a.NSUtil.nGetEntier(u)){case -2147483648:return!0;case 0:return!1;default:throw new a.CErreur(303,String(u));}}function l(u,D){const L=u.nGetUneDimension(0);let T;D!==b.ms_oElementCourant&&(D=a.NSUtil.nGetEntier(D));switch(D){case b.ms_oElementCourant:if(T=
297b.iGetIterateur(u))D=T.vnGetCompteur()+1;else throw new a.CErreur(606);break;case b.ms_nDernierElementHexa:case b.ms_nDernierElement:D=L}u=u.xiGetTableauSupprime().nSupprime(a.NSUtil.xnGetIndiceC(D,L,0,NaN));T&&T.vNotifieSuppressionCourant();return u}function r(u,D,L){if(1!==u.nGetNbDimensions())throw new a.CErreur(211,D,L);}function I(u,D,L){switch(u.nGetNbDimensions()){case 1:case 2:break;default:throw new a.CErreur(212,D,L);}}function x(u,D,L){if(u.nGetNbDimensions()<2)throw new a.CErreur(213,
298"TableauSupprimeLigne","ArrayDeleteLine");}function H(u,D){if(u.length===0)return 0;let L=0;for(let T=0;T<u.length;T++)L=b.oBinaire(0,u[T],L);return D?L:b.oBinaire(3,L,u.length)}function K(u,D,L){const T=u.nGetUneDimension(0),E=u.nGetDimension0Pas();let Q=Array(T);for(let J=0;J<T;J++)Q[J]=u.iGetSousElementIndice(J*E+D);return H(Q,L)}function ba(u,D){return n(u[0],function(L){I(L,D?"Somme":"Moyenne",D?"Sum":"Mean");switch(typeof u[1]){case "number":return K(L,u[1]-1,D);case "string":var T=u[1];let E=
299Array(L.nGetNbElements());for(let Q=0;Q<L.nGetNbElements();Q++){let J=L.iGetSousElementIndice(Q).viGetMembre(T,!1,void 0);E[Q]=J}return H(E,D);default:return K(L,0,D)}},v,function(L){return H(u,D)})}function O(u,D){return n(u,function(L){let T=c(u);for(let E=0;E<T;
299E++)if(b.bComparaison(L.iGetSousElementIndice(E),D,!0,!1,!1,!1))return!0;return!1},v,v)}function q(u,D,L=!1,T){n(D,function(E){let Q=c(D);for(let J=0;J<Q;J++){let N=E.iGetSousElementIndice(J);!L&&O(u,N)||T&&!O(T,N)||p(u,N)}},v,v)}function z(u){return n(u,
300function(D){return D.iGetDescriptionElement()?(new a.NSTypes.CDescriptionTableau(D.iGetDescriptionElement(),[0],2,0)).viCreation():[]},v,v)}function R(u,D,L=!1){let T=z(u);q(T,u,L);q(T,D,L);return T}b.ChaineVersTableau=h;b.CSVVersTableau=function(u,D,L="\t"){return h(u,D,"\r\n",L)};b.MotVersTableau=function(u,D){n(D,function(L){L.xRedimensionne([0]);y(u,L)},v,v)};b.nMotOccurrence=function(u){return y(u,"")};b.Dimension=function(u,...D){return n(u,function(L){if(0===D.length)return L.nGetNbElements();
301L.xRedimensionne(a.NSTypes.tabGetDimensionsEffectives(D))},C,function(L){return 16===L.veGetTypeWL()?L.toString().length:0})};b.nTableauAjoute=p;b.nTableauAjouteLigne=function(u,...D){return n(u,function(L){I(L,"TableauAjouteLigne","ArrayAddLine");return L.nAjouteLigne(D)+1},v,v)};b.nTableauAjouteTrie=function(u,D){return n(u,function(L){r(L,"TableauAjouteTri\u00e9","ArrayAddSorted");return L.xiGetTableauTri().nAjouteTrie(D)+1},v,v)};b.nTableauCherche=m;b.nTableauChercheProcedure=function(u,D,L,T,
302...E){return k(u,function(Q,J){r(Q,"TableauChercheParProc\u00e9dure","ArraySeekByProcedure");return J.nChercheProcedure(D,L,T,E)})};b.TableauContient=function(u,D,...L){return m(u,D,...L)>0};b.TableauCopie=function(u,D,L,T){let E,Q,J,N;n(u,function(Y){E=Y},function(Y){J=Y},v);n(D,function(Y){Q=Y},function(Y){N=Y},v);if(E&&Q)Q.xCopieDepuis(E,L,T);else if(J&&N)N.xCopieDepuis(J);else throw new a.CErreur(601);};b.TableauDeplace=function(u,D,L,T){n(u,function(E){r(E,"TableauD\u00e9place","ArrayMove");
303M(E,D,L,e(T))},v,v)};b.TableauDeplaceLigne=f;b.TableauEchangeLigne=function(u,D,L){f(u,D,L,-2147483648)};b.oTableauInfo=function(u,D,L){const T=a.NSUtil.nGetEntier(D);return n(u,function(E){const Q=E.nGetNbDimensions();switch(T){case 1:return Q;case 2:const J=void 0===L?0:a.NSUtil.nGetEntier(L,0)-1;return 0<=J&&J<Q?E.nGetUneDimension(J):0;case 3:return E.eTypeElement();case 6:return E.bDynamique();case 7:return E.nGetNbElements();case 8:return 2===Q?E.nGetUneDimension(0):0;case 9:return 2===Q?E.nGetUneDimension(1):
3040;case 10:return!1;case 11:return 0;default:return 0}},function(E){switch(T){case 1:return 1;case 2:return E.nGetNbElements();case 3:return E.eTypeElement();case 6:return!1;case 7:return E.nGetNbElements();case 8:return 0;case 9:return 0;case 10:return E.bAvecDoublon();case 11:return E.eTypeCle();default:return 0}},v)};b.TableauInsere=d;b.TableauInsereLigne=function(u,D,...L){n(u,function(T){I(T,"TableauIns\u00e8reLigne","ArrayInsertLine");const E=a.NSUtil.xnGetIndiceC(D,T.nGetUneDimension(0),T.eGetModeAgrandissement(),
305NaN);T.InsereLigne(E,L)},v,v)};b.TableauInverse=function(u){n(u,function(D){const L=D.nGetUneDimension(0)-1,T=Math.ceil(L/2);for(let E=0;E<T;E++)G(D,E,L-E,!0)},function(D){D.Inverse()},v)};b.TableauMelange=function(u){n(u,function(D){var L=D.nGetNbElements();for(--L;0<L;L--)D.Echange(L,Math.floor(Math.random()*(L+1)))},v,v)};b.nTableauOccurrence=c;b.nTableauSupprime=function(u,D){return n(u,function(L){r(L,"TableauSupprime","ArrayDelete");return l(L,D)},function(L){return L.nSupprime(D)},v)};b.TableauSupprimeDoublon=
306function(u,D=1,L){const T=a.NSUtil.nGetEntier(D,1);n(u,function(E){E.xiGetTableauTri().SupprimeDoublon(T,L)},v,v)};b.TableauSupprimeLigne=function(u,D){n(u,function(L){x(L,"TableauSupprimeLigne","ArrayDeleteLine");l(L,D)},v,v)};b.TableauSupprimeTout=function(u){n(u,function(D){D.xiGetTableauSupprime().SupprimeTout()},function(D){D.SupprimeTout()},v)};b.TableauTrie=function(u,D=1,L){const T=a.NSUtil.nGetEntier(D,1);n(u,function(E){E.xiGetTableauTri().Trie(T,L)},function(E){E.Trie(T,L)},v)};b.sVersChaine=
307g;b.sVersCSV=function(u,D=";"){return g(u,void 0,D)};b.nMoyenne=function(...u){return ba(u,!1)};b.nSomme=function(...u){return ba(u,!0)};b.TableauDistinct=function(u){let D=z(u);q(D,u);return D};b.TableauIntersection=function(u,D){let L=z(u);q(L,D,!1,u);return L};b.TableauUnion=R;b.TableauUnionTout=function(u,D){return R(u,D,!0)}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
308(function(a){(function(b){b.oUnaire=function(h,B){switch(h){case 0:return!a.NSUtil.bGetBooleen(B);default:case 1:return+a.NSUtil.dGetReel(B);case 2:return-a.NSUtil.dGetReel(B);case 3:return~a.NSUtil.nGetEntier(B)}}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
309(function(a){(function(b){function h(d,c,g=!0){const k=B(d);-1!==k&&m.splice(k,1);d=new f(d,c,g);m.push(d);return d}function B(d){return m.findIndex(c=>c.m_sNomDocument===d)}function y(d,c=!1,g=!1){d=B(d);return-1!==d&&(d=m[d],!c||d.m_oDocument&&(g||d.m_oPosition))?d:null}function p(d){if(d.nodeType===Node.TEXT_NODE)return d.nodeValue||"";if(d.nodeType===Node.CDATA_SECTION_NODE)return d.data;if(d.nodeType===Node.ELEMENT_NODE){let c="<"+d.nodeName;for(const g of d.attributes)c+=" "+g.nodeName+'="'+
310g.nodeValue+'"';if(0<d.childNodes.length){c+=">";for(const g of d.childNodes)c+=p(g);c+="</"+d.nodeName}else c+="/";return c+">"}return""}const m=[];b.XMLDocument=function(d,c,g,k){k=!!c;g=(new DOMParser).parseFromString(c,1===g?"text/html":"text/xml");d=h(d,g,k);k&&(k=c.indexOf("<?"),-1!==k&&(g=c.indexOf("?>",k),-1!==g&&(d.m_sEntete=c.substring(k,g+2))));return!0};b.XMLConstruitChaine=function(d,c){d=y(d,!0);let g="";d&&(0===(c&2)&&(g+=d.m_sEntete||'<?xml version="1.0" encoding="ISO-8859-1"?>',g+=
311"\n"),g+=p(c&1&&d.m_oPosition?d.m_oPosition:d.m_oDocument.documentElement),g+="\n");return g};b.oXMLAjoutDoc=h;class f{constructor(d,c,g){this.m_sNomDocument=d;this.m_oDocument=c;this.m_nAttribut=-1;this.m_oRechercheDebut=null;this.m_bDehors=!1;this.m_oPosition=g?this.m_oDocument.documentElement:null}InitRechDoc(){this.m_oRechercheDebut=null;this.m_bDehors=!1}}})(a.NSOperations||(a.NSOperations={}))})(NSPCS||(NSPCS={}));
312(function(a){(function(b){b.bEstProprieteVM=function(y,p){return 0===y};b.bEstProprieteJS=function(y,p){return 1===y};const h="Ann\u00e9e/Year Mois/Month Jour/Day Heure/Hour Minute Seconde/Second Milliseconde/Millisecond PartieDate/Date PartieHeure/Time Nom/Name Taille/Size Couleur/Color Gras/Bold Italique/Italic Soulign\u00e9/Underline Barr\u00e9/StrikeOut Angle/Orientation Condens\u00e9/Condensed Large \u00c9tendu/Extended Type Classe/Class Alphabet/Charset Occurrence/Count Vide/Empty D\u00e9faut/Default NbRe\u00e7us/NbReceived ParAdresse/ByAddress EnJours/InDays EnHeures/InHours EnMinutes EnSecondes/InSeconds EnMillisecondes/InMilliseconds NbThreadAttente/NbPendingThread AjoutTermin\u00e9/AdditionCompleted Valeur\tValue Apr\u00e8s/After Avant/Before Membre/Member X Y Largeur/Width Hauteur/Height Existe/Exist ParR\u00e9f\u00e9rence/ByReference Unit\u00e9Taille/SizeUnit Interligne/LineSpacing Interlettre/CharacterSpacing D\u00e9rivation/Derivation Hash NombreIt\u00e9ration/IterationCount Contenu/Content Age Encodage/Encoding OptionsOuverture/OpeningOptions Param\u00e8tresOuverture/OpeningParameters Ouverte/Open".split(" "),
313B="Nom/Name Valeur/Value Couleur/Color CouleurFond/BackgroundColor Occurrence/Count Alias Image Visible X Y CurseurSouris/MouseCursor PoliceGras/FontBold PoliceItalique/FontItalic PoliceNom/FontName PoliceSoulign\u00e9e/FontUnderlined PoliceTaille/FontSize Hauteur/Height Largeur/Width Opacit\u00e9/Opacity Enroul\u00e9/Collapsed ValeurInf\u00e9rieure/LowerValue ValeurSup\u00e9rieure/UpperValue ModeCarte/MapMode Zoom ClasseHTML/HTMLClass Indication/Hint Etat/State EnSaisie/InputEnabled Gris\u00e9/Grayed BorneMin/MinValue BorneMax/MaxValue Plan/Plane TauxParallaxeY/ParallaxRateY TauxParallaxeHauteur/ParallaxRateHeight ImageFond/BackgroundImage Bulle/ToolTip CouleurJauge/ProgressBarColor Type BoutonCalendrier/CalendarButton Note TitreNote/NoteTitle ContenuInitial/InitialContent EtatInitial/InitialState ValeurInitiale/InitialValue VisibleInitial/InitialVisible XInitial YInitial NombreColonne/NumberColumn TexteAlternatif/AlternativeText Vide/Empty AxeXMin/XAxisMin AxeXMax/XAxisMax AxeYMin/YAxisMin AxeYMax/YAxisMax TexteSansFormat/TextWithoutFormat ValeurAffich\u00e9e/DisplayedValue BulleTitre/ToolTipTitle Libell\u00e9/Caption Libell\u00e9HTML/CaptionHTML Titre/Title Dur\u00e9eAnimation/AnimationDuration URL Vignette/Thumbnail ValeurRenvoy\u00e9e/ReturnedValue JetonSaisieEnCours/TokenCurrentInput Jeton/Token InfoTrafic/TrafficInfo AngleRotation/Bearing AngleInclinaison/Tilt Modifi\u00e9/Modified AttributHTML/HTMLAttribute Liste/List Carte/Card NbCarteMax/MaxNbCard ValeurM\u00e9moris\u00e9e/StoredValue Extra CurseurLigne/LineCursor Curseur/Cursor FinCurseur/CursorEnd PoliceBarr\u00e9e/FontStrikeOut".split(" ");
314b.sGetNomPropriete=function(y,p){return b.bEstProprieteVM(y,p)?h[p]:b.bEstProprieteJS(y,p)?B[p]:b.ms_sInconnue};b.ms_sInconnue="<Inconnue>/<Unknown>"})(a.NSProprietes||(a.NSProprietes={}))})(NSPCS||(NSPCS={}));
315(function(a){(function(b){function h(x){return c[x]||""}function B(x){return a.NSUtil.bIsObject(x)}function y(x,H,K=!1){var ba=B(x)?x.m_eWL:x;switch(ba){case 5:return b.ms_DescriptionUI8;case 8:return b.ms_DescriptionI4;case 9:case 14:return b.ms_DescriptionI8;case 12:return b.ms_DescriptionR8;case 10:case 13:return K?b.ms_DescriptionNumeriqueAuto:b.ms_DescriptionNumeriqueDefaut;case 16:case 19:return b.ms_DescriptionChaine;case 24:case 128:return b.ms_DescriptionDate;case 25:case 129:return b.ms_DescriptionHeure;
316case 26:return b.ms_DescriptionDateHeure;case 31:return b.ms_DescriptionVariant}if(!H)switch(ba){case 1:return b.ms_DescriptionBooleen;case 2:return b.ms_DescriptionUI1;case 3:return b.ms_DescriptionUI2;case 4:return b.ms_DescriptionUI4;case 6:return b.ms_DescriptionI1;case 7:return b.ms_DescriptionI2;case 11:return b.ms_DescriptionR8;case 27:return b.ms_DescriptionDuree;case 28:return b.ms_DescriptionBuffer;case 34:if(B(x)){if(x.m_oTypeWLSiTableau)return x.m_oTypeWLSiTableau;a.CDebug.s_Assert(!1,
317"Type invalide")}break;case 62:if(B(x)){if(x.m_oTypeWLSiTableauAssociatif)return x.m_oTypeWLSiTableauAssociatif;a.CDebug.s_Assert(!1,"Type invalide")}break;case 37:return B(x)&&void 0!==x.m_sNomSiTypeDeclare?window[x.m_sNomSiTypeDeclare].m_oDescriptionStatique:b.ms_DescriptionObjetDynamique;case 61:return b.ms_DescriptionFonction;case 107:return b.ms_DescriptionObjetNatif;case 111:if(B(x)){if(x.m_oTypeWLSiDINO)return x=x.m_oTypeWLSiDINO,H=b.oGetDescriptionDINO(x.m_eComposante,x.m_eDino),x.m_bDynamique?
318H.m_oDescriptionDynamique:H.m_oDescriptionStatique;a.CDebug.s_Assert(!1,"Type invalide");break}else return b.ms_DescriptionObjetNatif;case 113:if(B(x)){if(x.m_oTypeWLSiConteneur)return x.m_oTypeWLSiConteneur;a.CDebug.s_Assert(!1,"Type invalide");break}else return b.ms_DescriptionObjetNatif;case 124:if(B(x)&&void 0!==x.m_sNomSiTypeDeclare)return window[x.m_sNomSiTypeDeclare];break;case 135:if(B(x)&&void 0!==x.m_sNomSiTypeDeclare)return window[x.m_sNomSiTypeDeclare];break;case 136:if(B(x)&&void 0!==
319x.m_sNomSiTypeDeclare)return window[x.m_sNomSiTypeDeclare];break;case 151:return b.ms_DescriptionRectangle}throw new a.CErreur(601);}function p(x,H,K,ba){function O(q){switch(q){case 2:case 6:return 8;case 3:case 7:return 16;default:a.CDebug.s_Assert(!1,"Type entier invalide : "+q);case 4:case 8:return 32;case 5:case 9:case 14:return 64}}K=a.NSUtil.nGetEntier(K,1)-1;ba=a.NSUtil.nGetEntier(ba,1);x=O(x.veGetTypeWL());switch(H){default:case 1:H=K;K=H+1;break;case 2:H=K;K=x;break;case 3:H=0;K+=1;break;
320case 4:H=K;K=H+ba;break;case 5:H=K;K=ba;break;case 7:ba=O(ba),H=K*ba,K=H+ba}H-=Math.floor(H/256)*256;K-=Math.floor(K/256)*256;a.CDebug.s_Assert(H<K,"intervalle invalide : ["+H+","+K+"[");return x<=H||K<=H?null:{m_nIndiceCDebutInclus:H,m_nIndiceCFinNonInclus:Math.min(K,x)}}function m(x,H,K){switch(H){case 31:case 107:case 111:case 135:case 136:case 143:case 142:return!0;default:return m===g[H]}}function f(x,H,K){switch(H){case 107:return null===K;default:return x==H}}function d(x,H,K){return!0}const c=
321["","bool\u00e9en/boolean","entier sans signe sur 1 octet/1-byte unsigned int","entier sans signe sur 2 octet/2-byte unsigned int","entier sans signe sur 4 octet/4-byte unsigned int","entier sans signe sur 8 octet/8-byte unsigned int","entier sur 1 octet/1-byte int","entier sur 2 octet/2-byte int","entier sur 4 octet/4-byte int","entier sur 8 octet/8-byte int","mon\u00e9taire/currency","r\u00e9el sur 4 octets/4-byte real","r\u00e9el sur 8 octets/8-byte real","num\u
32100e9rique/numeric","entier syst\u00e8me/system int",
322,"cha\u00eene/string",,,"cha\u00eene/string",,,,,"date","heure/time","dateheure/datetime","dur\u00e9e/duration","buffer",,,"variant",,,"tableau/array",,"structure","objet/object",,,,,,,,,,,,,"variant",,,,,,,,,,,"proc\u00e9dure/procedure","tableau associatif/associative array",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"objet dynamique/object dynamic",,,,"type avanc\u00e9/advanced type",,"pile/stack file/queue liste/list",,,,,,,,,,,"interface",,,,"date","heure/time",,,,,,"\u00e9num\u00e9ration/enumeration",
323"combinaison/combination",,,,,"proc\u00e9dure/procedure","tableau/array","objet/object",,,,,,,,"rectangle",,,,,,,,"proc\u00e9dure/procedure",,,,,,,,,,"proc\u00e9dure/procedure","proc\u00e9dure/procedure"];b.sGetNomTypeWL=h;const g=[,m,m,m,m,m,m,m,m,m,m,m,m,m,m,,m,,,m,,,,,m,m,m,m,function(x,H,K){return x===H},,,d,,,d,,d,d,,,,,,,,,,,,,d,,,,,,,,,,,f,d,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,d,,,,d,,d,,,,,,,,,,,function(x,H,K){return!0},,,,m,m,,,,,,d,d,,,,,f,d,d,,,,,,,,d,f,,,,,,,,,,f,f];class k extends a.CIRValue{constructor(x,
324H){super();this.m_tValeur=x;this.m_iDescriptionType=H}viGetMembre2(x,H,K,ba){return this.m_iDescriptionType.voGetMembrePrototypeNatif(x)?this._iGetMembrePourMembrePrototypeNatif(x,H):super.viGetMembre2(x,H,K,ba)}_iGetMembrePourMembrePrototypeNatif(x,H){return new b.CMembreNatif(this._voGetValeurPourMembrePrototypeNatif(),x,H,0)}viGetPropriete(x,H){return a.NSProprietes.bEstProprieteVM(x,H)?this._viGetProprieteVM(H):super.viGetPropriete(x,H)}veGetTypeWL(x){return this.m_iDescriptionType.veGetTypeWL()}viGetAsRValueType(){return this}vtGetValeurDirect(){return this.m_tValeur}vSetValeurDirect(x){this.m_tValeur=
325x}viGetDescriptionType(){return this.m_iDescriptionType}_viGetProprieteVM(x){switch(x){case 24:return a.NSUtil.oGetProprieteVide(this,0,23,x);default:a.xThrow603(0,x)}}_voGetValeurPourMembrePrototypeNatif(){return this.vtGetValeurDirect()}}b.CTType=k;class n extends k{valueOf(){return this.m_tValeur}}b.CTTypeSimple=n;class C{constructor(x,H){this.m_eTypeWL=x;this.m_oConstructeurNatif=H}viGetDescriptionTypeReel(){return this}veGetTypeWL(){return this.m_eTypeWL}viCreationInstance(){return this.viCreation()}viCreationCopie(x,
326H,K){return this.viCreation(a.iGetValeurInitiale(x,H,K))}_xVerificationValeur(x){x=x.m_oValeur;const H=this.veGetTypeWL();var K=(K=a.iGetAsRValue(x,6))?K.veGetTypeWL():b.iGetDescriptionTypePourNatif(x).veGetTypeWL();const ba=g[H];if(void 0!==ba&&!ba(H,K,x))throw new a.CErreur(903,h(H),h(K));}vxVerifieCompatibilitePassageParAdresse(x,H){const K=this.veGetTypeWL();switch(K){case 124:break;default:if(x=x.veGetTypeWL(6),x!==K)throw new a.CErreur(900,H,h(x),h(K));}}voGetMembrePrototypeNatif(x){if(this.m_oConstructeurNatif)return this.m_oConstructeurNatif[x]||
327this.m_oConstructeurNatif.prototype[x]}voJSONDebogueurType(x){return{m_eTypeWL:this.veGetTypeWL()}}voGetAttributSerialise(){return!0}vbGetAttributAssocie(){return!1}veGetAttributCopie(){}vbAttributInstanceParReference(){return!1}}b.CTDescriptionType=C;class v extends C{constructor(x,H,K,ba){super(x,K);this.m_pfCast=H;this.m_bCopieEstReference=ba}viCreation(x,H){a.CDebug.s_Assert(void 0===H||b.ms_pfSansAppelConstructeurDBG===H,"CTDescriptionTypeSimple::public override viCreation (iValeurInitiale? : IValeurInitiale, pfGetParametresDuConstructeur? : PFGetParametresDuConstructeur) : param\u00e8tres de constructeur re\u00e7us ! Anormal pour un type simple");
328let K;x&&(this._xVerificationValeur(x),this.m_bCopieEstReference||a.NSUtil.xVerifieAffectationUniquement(x),K=this.m_pfCast(a.iGetValeurAffectationDepuisInitiale(x)));return this._voAllocation(K)}viAffectation(x,H){this._xVerificationValeur(H);this.m_bCopieEstReference||a.NSUtil.xVerifieAffectationUniquement(H);x.vSetValeurDirect(this.m_pfCast(H));return x}}b.CTDescriptionTypeSimple=v;class M extends v{constructor(x,H,K,ba){super(x,K,ba,!1);this.m_pfAllocation=H}_voAllocation(x){return this.m_pfAllocation(x)}}
329b.CTDescriptionTypeTresSimple=M;b.iGetDescriptionDepuisValue=function(x,H=!1){const K=a.iGetAsRValue(x,1);return K?(x=K.viGetAsRValueType())?x.viGetDescriptionType():y(K.veGetTypeWL(),!1):b.iGetDescriptionTypePourNatif(x,b.ms_DescriptionObjetNatif,b.ms_DescriptionObjetNatif,b.ms_DescriptionTableauNatif,H?b.ms_DescriptionVariant:b.ms_DescriptionObjetNatif)};b.iGetDescription=y;class G{constructor(x,H){this.m_iDescriptionType=x;this.m_oAttributs=H}viGetDescriptionTypeReel(){return this.m_iDescriptionType}veGetTypeWL(){return this.m_iDescriptionType.veGetTypeWL()}viCreationInstance(){return this.m_iDescriptionType.viCreationInstance()}viCreationCopie(x,
330H,K){return this.m_iDescriptionType.viCreationCopie(x,H,K||1===this.m_oAttributs.m_eAttributCopie)}viCreation(x,H){return this.m_iDescriptionType.viCreation(x,H)}viAffectation(x,H){return this.m_iDescriptionType.viAffectation(x,H)}vxVerifieCompatibilitePassageParAdresse(x,H){return this.m_iDescriptionType.vxVerifieCompatibilitePassageParAdresse(x,H)}voGetMembrePrototypeNatif(x){return this.m_iDescriptionType.voGetMembrePrototypeNatif(x)}voJSONDebogueurType(x){return this.m_iDescriptionType.voJSONDebogueurType(x)}voGetAttributSerialise(){const x=
331this.m_oAttributs.m_oAttributSerialise;return void 0!==x?x:this.m_iDescriptionType.voGetAttributSerialise()}vbGetAttributAssocie(){const x=this.m_oAttributs.m_bAttributAssocie;return void 0!==x?x:this.m_iDescriptionType.vbGetAttributAssocie()}veGetAttributCopie(){const x=this.m_oAttributs.m_eAttributCopie;return void 0!==x?x:this.m_iDescriptionType.veGetAttributCopie()}vbAttributInstanceParReference(){const x=this.m_oAttributs.m_bAttributInstanceParReference;return void 0!==x?x:this.m_iDescriptionType.vbAttributInstanceParReference()}}
332b.CDescriptionTypeAvecAttribut=G;class e extends a.NSUtil.CTSousElement{constructor(x,H){super(x);this.m_eIntervalle=H}viGetRValue(x){return this}}class l extends e{constructor(x,H,K,ba){super(x,H);this.m_nIndiceC1=a.NSUtil.nGetEntier(K,1)-1;this.m_nIndiceWL2=a.NSUtil.nGetEntier(ba,1)}valueOf(){let x=this.m_tParent.vsGetChaine();const H=this.m_nIndiceC1,K=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new a.CErreur(602,"[[ ]]");case 1:return x.substring(H,H+1);case 2:return x.substring(H);
333case 3:return x.substring(0,H+1);case 4:return x.substring(H,H+K);case 5:return x.substring(H,K)}}viGetIntervalle(x,H,K){return new l(this,x,H,K)}veGetTypeWL(x){return 16}vSetValeur2(x){a.NSUtil.xVerifieAffectationUniquement(x);let H=this.m_tParent.vsGetChaine();x=String(x.m_oValeur);const K=this.m_nIndiceC1,ba=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new a.CErreur(602,"[[ ]]");case 1:H=H.substring(0,K)+x+H.substring(K+1);break;case 2:H=H.substring(0,K)+x;break;case 3:H=x+H.substring(K+
3341);break;case 4:H=H.substring(0,K)+x+H.substring(K+ba);break;case 5:H=H.substring(0,K)+x+H.substring(ba)}this.m_tParent.xvSetChaine(H)}vsGetChaine(){return this.valueOf()}xvSetChaine(x){this.vSetValeur(x,0,{})}}b.CIntervalleChaine=l;class r extends e{constructor(x,H,K,ba){super(x,H);this.m_oIntervalleNombre=p(x,H,K,ba)}vnToNumber(x){return this.valueOf()}valueOf(){const x=this.m_oIntervalleNombre;return x?this.m_tParent.vnGetBits(x):0}veGetTypeWL(x){return this.m_tParent.veGetTypeWL(x)}vSetValeur2(x){a.NSUtil.xVerifieAffectationUniquement(x);
335const H=this.m_oIntervalleNombre;H&&this.m_tParent.vSetBits(a.NSUtil.nGetEntier(x.m_oValeur,0),H)}}b.CIntervalleNombre=r;
335class I extends a.CIValue{constructor(x){super();this.m_iDescriptionType=x}valueOf(){return null}viGetMembre2(x,H,K,ba){this._vxoThrowErreur()}viGetPropriete(x,H){this._vxoThrowErreur()}viGetProprieteGenerique(x,H){this._vxoThrowErreur()}viGetSousElement(x,H){this._vxoThrowErreur()}viGetIntervalle(x,H,K){this._vxoThrowErreur()}veGetTypeWL(){return this.m_iDescriptionType.veGetTypeWL()}viGetAsRValueType(){return this}viAppelFonction(...x){this._vxoThrowErreur()}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType()}vtGetValeurDirect(){return null}vSetValeurDirect(x){this._vxoThrowErreur()}viGetDescriptionType(){return this.m_iDescriptionType}vSetValeur2(x){this._vxoThrowErreur()}}
336b.CErreurCast=I})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
337(function(a){(function(b){b.ms_DescriptionBooleen=new b.CTDescriptionTypeTresSimple(1,function(B=!1){return new h(B)},function(B){return a.NSUtil.bGetBooleen(B.m_oValeur)},Boolean);class h extends b.CTTypeSimple{constructor(B){super(B,b.ms_DescriptionBooleen)}toString(){return a.NSUtil.sBooleenEnChaine(this.valueOf())}vnToNumber(B){return Number(this.valueOf())}vbToBoolean(){return this.valueOf()}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
338(function(a){(function(b){function h(m){var f;const d=(f=a.iGetAsRValue(m,1))===null||f===void 0?void 0:f.viGetAsRValueType();if(f=d&&(d instanceof p||28===d.veGetTypeWL())?d.vtGetValeurDirect():void 0)return f;if(m instanceof ArrayBuffer)return m;if(ArrayBuffer.isView(m))return m.buffer}function B(m){if(m=h(m))return m;throw new a.CErreur(601);}class y extends b.CTDescriptionTypeTresSimple{viCreation(m,f){return m?super.viCreation({m_oValeur:m.m_oValeur,m_eAffectation:1===m.m_eAffectation?0:m.m_eAffectation,
339m_iOptions:m.m_iOptions},f):super.viCreation(void 0,f)}}b.ms_DescriptionBuffer=new y(28,m=>new p(m),m=>B(m.m_oValeur),void 0);class p extends b.CTTypeSimple{constructor(m=new ArrayBuffer(0)){super(m,b.ms_DescriptionBuffer)}valueOf(){throw new a.CErreur(601);}_viGetProprieteVM(m){switch(m){case 10:return a.NSUtil.oGetProprieteSimple(()=>this.vtGetValeurDirect().byteLength,null,8,0,m);case 24:return a.NSUtil.oGetProprieteVide(this,0,10,m);default:return super._viGetProprieteVM(m)}}sPreparePourComparaison(m){if(void 0===
340m||28!==m.veGetTypeWL())throw new a.CErreur(601);return(new Uint8Array(this.vtGetValeurDirect())).reduce(function(f,d){return f+(d.toString(16)+" ")},"")}}b.CBuffer=p;b.oGetArrayBuffer=h;b.xoGetArrayBuffer=B})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
341(function(a){(function(b){b.ms_DescriptionChaine=new b.CTDescriptionTypeTresSimple(16,function(B=""){return new h(B)},function(B){return a.NSUtil.sToString(B.m_oValeur)},String);class h extends b.CTTypeSimple{constructor(B){super(B,b.ms_DescriptionChaine)}viGetIntervalle(B,y,p){return new b.CIntervalleChaine(this,B,y,p)}_viGetProprieteVM(B){switch(B){case 10:return a.NSUtil.oGetProprieteSimple(()=>this.vtGetValeurDirect().length,null,8,0,B);case 24:return a.NSUtil.oGetProprieteVide(this,0,10,B);default:return super._viGetProprieteVM(B)}}vsGetChaine(){return this.valueOf()}xvSetChaine(B){this.m_tValeur=
342B}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
343(function(a){(function(b){function h(G,e,l){function r(x){return I.includes(x)}if(G===e)return!0;const I=G.vtabGetElementsAPlat();G=e.vtabGetElementsAPlat();return l?G.every(r):G.some(r)}class B{constructor(G){this.m_sNomWL=G}bCompareNomWL(G){return G===this.m_sNomWL}bCompareNom(G){return 0===a.NSUtil.nCompareLogique(G,this.m_sNomWL)}}let y=0;class p extends B{constructor(G,e){super(G);this.m_oValeur=e;this.m_nNumero=y++}vbEstAlias(){return!1}vtabGetElementsSansAlias(G){return[this]}_bCompareValeurExacte(G,e){return a.NSOperations.bComparaison(G,
344e,!0,!1,!1,!1)}}class m extends p{vbCompareValeur(G){const e=this.m_oValeur;return void 0!==e&&this._bCompareValeurExacte(G,e)}}class f extends p{vbCompareValeur(G){const e=this.m_oValeur;if(void 0!==e)switch(typeof G){case "string":return-1!==G.indexOf(String(e));case "number":return 0!==(G&a.NSUtil.dGetReel(e,0));default:return this._bCompareValeurExacte(G,e)}else return!1}}class d extends B{constructor(G,e){super(G);this.m_tabNoms=e}vbEstAlias(){return!0}vtabGetElementsSansAlias(G){return this.m_tabNoms.reduce(function(e,
345l){const r=G.findIndex(I=>I.bCompareNom(l));-1!==r?e.push(...G[r].vtabGetElementsSansAlias(G)):a.CDebug.s_Assert(!1,"Enum\u00e9ration/Combinaison : \u00e9l\u00e9ment non trouv\u00e9");return e},[])}vbCompareValeur(G){return!1}}class c extends b.CTDescriptionType{constructor(G,e,l,r){super(G,void 0);this.m_sNom=l;this.m_tabElements=e.reduce(function(I,x){"m_tabNoms"in x?I.push(new d(x.m_sNom,x.m_tabNoms)):"m_oValeur"in x?I.push(new r(x.m_sNom,x.m_oValeur)):I.push(...x.vtabGetElementsAPlat());return I},
346[])}voJSONDebogueurType(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNom}}vtabGetElementsAPlat(){return this.m_tabElements}xiCreeSelonNom(G){return this._xviCreeSelonNomWL(G)}_xiGetElementDepuisNomWL(G){const e=this.vtabGetElementsAPlat().find(l=>l.bCompareNomWL(G));if(e)return e;throw new a.CErreur(605,G);}_iGetElementDepuisNom(G){return this.vtabGetElementsAPlat().find(e=>e.bCompareNom(G))}_iGetElementDepuisValeur(G){return this.vtabGetElementsAPlat().find(e=>e.vbCompareValeur(G))}}class g extends b.CTType{toString(){return String(this.oGetValueOf(""))}vnToNumber(G){return a.NSUtil.dGetReel(this.oGetValueOf(0),
3470)}valueOf(){return this.oGetValueOf(0)}toJSON(G){throw new a.CErreur(601);}voJSONDebogueurValeur(G){return this.__sGetNoms(" + ")}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType()}_viGetProprieteVM(G){switch(G){case 9:return a.NSUtil.oGetProprieteSimple(()=>this.__sGetNoms("+"),null,16,0,G);case 35:return a.NSUtil.oGetProprieteSimple(()=>this.oGetValueOf(""),null,16,0,G);default:return super._viGetProprieteVM(G)}}oGetValueOf(G){let e=!0;return this.vtabGetElementsSansAlias().reduce((l,
348r)=>{const I=r.m_oValeur;if(void 0!==I)return e?(e=!1,I):l+I;this.m_iDescriptionType.xvAutoriseSansValeur(r.m_sNomWL);return l},G)}__sGetNoms(G){return this._vtabGetElementPourProprieteNom().map(e=>e.m_sNomWL).join(G)}}class k extends c{constructor(G,e){super(135,G,e,m)}viCreation(G,e){let l;G&&(a.NSUtil.xVerifieAffectationUniquement(G),l=this.xoVerifieCompatibilite(G.m_oValeur,r=>r.vtGetValeurDirect()));return this._oAllocation(l)}viAffectation(G,e){a.NSUtil.xVerifieAffectationUniquement(e);return this.xoVerifieCompatibilite(e.m_oValeur,
349function(l){G.vSetValeurDirect(l.vtGetValeurDirect());return G})}_xviCreeSelonNomWL(G){return this._oAllocation(this._xiGetElementDepuisNomWL(G))}xvAutoriseSansValeur(G){throw new a.CErreur(902,G);}_oAllocation(G=this.m_tabElements[0]){return new n(G,this)}iGetEnumerationDepuisNom(G){return(G=this._iGetElementDepuisNom(G))?this._oAllocation(G):null}iGetEnumerationDepuisValeur(G){return(G=this._iGetElementDepuisValeur(G))?this._oAllocation(G):null}xoVerifieCompatibilite(G,e){if((G=a.iGetAsRValue(G,
3501))&&G&&(G instanceof n||G.__CEnumeration)&&h(this,G.m_iDescriptionType,!0))return e(G);throw new a.CErreur(601);}}b.CDescriptionEnumeration=k;class n extends g{vtabGetElementsSansAlias(){return this.m_tValeur.vtabGetElementsSansAlias(this.m_iDescriptionType.m_tabElements)}_vtabGetElementPourProprieteNom(){return[this.m_tValeur]}xvnPreparePourComparaison(G){if(G&&(G instanceof n||G.__CEnumeration)){const e=this.m_iDescriptionType;G=G.m_iDescriptionType;if(h(e,G,!0)||h(G,e,!0))return this.vtabGetElementsSansAlias()[0].m_nNumero}throw new a.CErreur(601);
351}__CEnumeration(){}}class C extends c{constructor(G,e){super(136,G,e,f)}viCreation(G,e){let l;G&&(a.NSUtil.xVerifieAffectationUniquement(G),l=this.xoVerifieCompatibilite(G.m_oValeur,r=>this.tabGetElementsPourAffectation(r),()=>[]));return this._oAllocation(l)}viAffectation(G,e){return this.xoVerifieCompatibilite(e.m_oValeur,l=>{G.vSetValeurDirect(this.tabGetElementsPourAffectation(l));return G},()=>{G.vSetValeurDirect([]);return G})}_xviCreeSelonNomWL(G){return this._oAllocation([this._xiGetElementDepuisNomWL(G)])}xvAutoriseSansValeur(G){}_oAllocation(G=
352[]){return new v(G,this)}tabGetElementsPourAffectation(G){const e=this.m_tabElements,l=G.m_iDescriptionType.m_tabElements;return function x(I){return G.vtGetValeurDirect().reduce((H,K)=>{e.includes(K)?H.push(K):K.vbEstAlias()&&H.push(...x(K.vtabGetElementsSansAlias(l)));return H},[])}(G.vtGetValeurDirect())}iGetCombinaisonDepuisNom(G,e,l){let r=[];G=G.split("+");G.forEach(I=>{const x=this._iGetElementDepuisNom(I);if(x)r.push(x);else switch(e){default:case 0:throw new a.CErreur(901,I);case 1:}});return!r.length||
353l&&r.length!==G.length?null:this._oAllocation(r)}iGetCombinaisonDepuisValeur(G){return(G=this._iGetElementDepuisValeur(G))?this._oAllocation([G]):null}xoVerifieCompatibilite(G,e,l){const r=a.iGetAsRValue(G,1);if(r){if(r&&(r instanceof v||r.bVerifie)&&h(this,r.m_iDescriptionType,!1))return e(r)}else if(0===G&&l)return l();throw new a.CErreur(601);}}b.CDescriptionCombinaison=C;class v extends g{viGetSousElement(G,e){return this.m_iDescriptionType.xoVerifieCompatibilite(e[0],l=>a.NSUtil.iChaineSousElement(new M(this,
354l.__oGetCopie()),1,e),null)}vtabGetElementsSansAlias(){const G=this.m_iDescriptionType.m_tabElements;return this.m_tValeur.reduce(function(e,l){return l.vtabGetElementsSansAlias(G).reduce(function(r,I){r.includes(I)||r.push(I);return r},e)},[])}_vtabGetElementPourProprieteNom(){return this.vtabGetElementsSansAlias()}oAddition(G){return this.m_iDescriptionType.xoVerifieCompatibilite(G,e=>{const l=this.__oGetCopie();l.Active(e,!0);return l},null)}xvsPreparePourComparaison(G,e){if(e&&G){e=!1;const l=
355G.viGetAsRValueType();l&&0===l.vtGetValeurDirect()?e=!0:G&&(G instanceof v||G.bVerifie)&&(e=this.m_iDescriptionType,G=G.m_iDescriptionType,e=h(e,G,!1)||h(G,e,!1));if(e)return this.vtabGetElementsSansAlias().sort(function(r,I){return a.NSUtil.nCompareAny(r.m_nNumero,I.m_nNumero)}).map(function(r){return r.m_nNumero}).join("|")}throw new a.CErreur(601);}__oGetCopie(){return new v(this.m_tValeur,this.m_iDescriptionType)}bVerifie(G){const e=this.vtabGetElementsSansAlias();return G.vtabGetElementsSansAlias().length?
356G.vtabGetElementsSansAlias().every(function(l){return e.includes(l)}):!1}Active(G,e){const l=this.vtabGetElementsSansAlias();let r=!1;
356G.vtabGetElementsSansAlias().forEach(function(I){const x=l.indexOf(I);-1!==x?e||(l.splice(x,1),r=!0):e&&(l.push(I),r=!0)});r&&(this.m_tValeur=l)}}class M extends a.NSUtil.CTSousElement{constructor(G,e){super(G);this.m_oIndice=e}vnToNumber(G){return this.valueOf()}valueOf(){return this.m_tParent.bVerifie(this.m_oIndice)?1:0}viGetRValue(G){return this}veGetTypeWL(){return 1}vSetValeur2(G){a.NSUtil.xVerifieAffectationUniquement(G);
357G=a.NSUtil.bGetBooleen(G.m_oValeur);this.m_tParent.Active(this.m_oIndice,G)}}b.bIsDescriptionEnumeration=function(G){return G&&(G instanceof k||G.iGetEnumerationDepuisNom)};b.bIsDescriptionCombinaison=function(G){return G&&(G instanceof C||G.iGetCombinaisonDepuisNom)}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
358(function(a){(function(b){function h(e,l){return e.reduce(function(r,I){r=!I.bDepuisWLEnV2();return I.m_oFonction.apply(I.m_oThis,l(r))},void 0)}function B(e,l){const r=e.m_tabFonctions;l.m_oAvant=y(e.m_oAvant);l.m_tabFonctions=r?r.slice():null;l.m_oApres=y(e.m_oApres);return l}function y(e){return e?B(e,d()):null}function p(e,l){if(l){e||(e=d());const r=l.m_tabFonctions;if(r&&r.length){const I=e.m_tabFonctions||[];e.m_tabFonctions=I;r.forEach(function(x){-1==f(I,x)&&I.push(x)})}e.m_oAvant=p(e.m_oAvant,
359l.m_oAvant);e.m_oApres=p(e.m_oApres,l.m_oAvant)}return e}function m(e,l){if(e&&l){const r=e.m_tabFonctions,I=l.m_tabFonctions;r&&r.length&&I&&I.forEach(function(x){x=f(r,x);-1!=x&&r.splice(x,1)});m(e.m_oAvant,l.m_oAvant);m(e.m_oApres,l.m_oApres)}}function f(e,l){const r=l.m_oFonction,I=""!==r.name?r.name:"sNom"in r?r.sNom:"",x=r[a.ms_oSymbolFonctionOriginale];return e.findIndex(H=>{H=H.m_oFonction;if(r===H||x&&x===H[a.ms_oSymbolFonctionOriginale])return!0;H=""!==H.name?H.name:"sNom"in H?H.sNom:"";
360return I.length&&I===H?!0:!1})}function d(e,l=window){return{m_oAvant:null,m_tabFonctions:e?[new C(e,l)]:null,m_oApres:null}}function c(e,l){const r=37===l;return new a.NSUtil.CPropriete(()=>new M(g(e.oGetProcedure(),r)),I=>{const x=e.oGetProcedure(),H=g(x,r);I=b.ms_DescriptionFonction.viAffectation(new M(H),I).vtGetValeurDirect();r?x.m_oApres=I:x.m_oAvant=I},void 0,61,0,l)}function g(e,l){let r=l?e.m_oApres:e.m_oAvant;r||(r=d(),l?e.m_oApres=r:e.m_oAvant=r);return r}function k(e){return(e=a.iGetAsRValue(e,
3610))&&(e instanceof M||"__tabGetFonctionsAPlat"in e)?e:null}function n(e){if(1==e.m_eAffectation){e=e.m_oValeur;const l=k(e);if(l)return l.oGetProcedure();if(null===e)return d(null)}return null}class C{constructor(e,l=window){this.m_oFonction=e;this.m_oThis=l}bDepuisWLEnV2(){return!0===this.m_oFonction[a.ms_oSymbolDepuisWLEnV2]}}class v extends b.CTDescriptionTypeSimple{constructor(){super(61,e=>{var l=e.m_oValeur;if(!l)return null;const r=k(l);if(r)return y(r.vtGetValeurDirect());l=a.NSValues.oAny2Natif(l);
362a.CDebug.s_Assert(l instanceof Function,"CFonction n'est instanc\u00e9 que en pr\u00e9sence d'une fonction. V\u00e9rifier le code qui affecte autre chose qu'une fonction.");if(l instanceof Function)return d(l);this._xVerificationValeur(e);return null},Function,!1)}viCreation(e,l){return e&&(l=n(e))?new M(l):super.viCreation(e)}viAffectation(e,l){var r=n(l);if(r)return e.vSetValeurDirect(r),e;r=e.vtGetValeurDirect();var I=l.m_oValeur;if(r){if(I instanceof Function)return r.m_oAvant=null,r.m_tabFonctions=
363[new C(I)],r.m_oApres=null,e;if(I instanceof C)return r.m_oAvant=null,r.m_tabFonctions=[I],r.m_oApres=null,e;if(!I)return r.m_oAvant=null,r.m_tabFonctions=null,r.m_oApres=null,e;I=k(I);if(l.m_iOptions.m_bCombine)return a.CDebug.s_Assert(!!I,"On doit recevoir un CFonction dans le cadre d'une op\u00e9ration combine"),a.CDebug.s_Assert(I===e,"On doit ce recevoir"),e;if(I)return(l=I.vtGetValeurDirect())?B(l,r):(r.m_oAvant=null,r.m_tabFonctions=null,r.m_oApres=null),e}return super.viAffectation(e,l)}_voAllocation(e=
364null){return new M(e)}oCreePourNatif(e,l){return this._voAllocation(d(e,l))}}b.ms_DescriptionFonction=new v;class M extends b.CTType{constructor(e){super(e,b.ms_DescriptionFonction)}valueOf(){const e=this.__tabGetFonctionsAPlat();switch(e.length){case 0:return null;case 1:const l=e[0];return l.bDepuisWLEnV2()?(...r)=>a.NSValues.oAny2Natif(l.m_oFonction.apply(l.m_oThis,r)):window===l.m_oThis?l.m_oFonction:l.m_oFonction.bind(l.m_oThis);default:return(...r)=>h(e,I=>r)}}viGetMembre2(e,l,r,I){var x;try{return super.viGetMembre2(e,
365l,r,I)}catch(H){if((r=(x=this.m_tValeur)===null||x===void 0?void 0:x.m_tabFonctions)&&(x=r[0])&&(!x.bDepuisWLEnV2()||x.m_oFonction.hasOwnProperty(e)))return this._iGetMembrePourMembrePrototypeNatif(e,l);throw H;}}viGetPropriete(e,l){if(a.NSProprietes.bEstProprieteVM(e,l))switch(l){case 36:case 37:return c(this,l)}return super.viGetPropriete(e,l)}viAppelFonction(...e){let l;return a.NSValues.iAny2RValue(h(this.__tabGetFonctionsAPlat(),function(r){return r?(l||(l=a.NSValues.tabAny2Natif(e)),l):e}))}_voGetValeurPourMembrePrototypeNatif(){const e=
366this.__tabGetFonctionsAPlat();switch(e.length){case 0:return null;case 1:return e[0].m_oFonction;default:return(...l)=>h(e,r=>l)}}oAddition(e){this.vSetValeurDirect(p(this.vtGetValeurDirect(),e.vtGetValeurDirect()));return this}oSoustraction(e){m(this.vtGetValeurDirect(),e.vtGetValeurDirect());return this}oGetProcedure(){let e=this.m_tValeur;e||(this.m_tValeur=e=d());return e}__tabGetFonctionsAPlat(){let e=[];(function I(r){if(r){I(r.m_oAvant);const x=r.m_tabFonctions;x&&e.push(...x);I(r.m_oApres)}})(this.m_tValeur);
367return e}}class G extends M{constructor(){super(null)}vSetValeur(e,l,r){return this.vSetValeur2(a.iGetValeurAffectation(e,l,r))}vSetValeur2(e){return a.NSUtil.xVerifieAffectationAucune(e)}}b.CFonctionMembre=G;b.oConstruitProcedure=d})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
368(function(a){(function(b){class h extends b.CTDescriptionType{constructor(m,f,d,c){super(124,void 0);this.m_sNomUtilisateur=d;this.m_sNomLogique=c;this.m_tabDefinitionsMethodes=b.pfResolutionDefinitions(m)();this.m_tabDefinitionsProprietes=b.pfResolutionDefinitions(f)()}viCreation(m,f){return new B(m?this.__iGetInterfaceInstance(m):null,this)}viAffectation(m,f){m.vSetValeurDirect(this.__iGetInterfaceInstance(f));return m}voJSONDebogueurType(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNomUtilisateur}}bValideMembre(m,
369f,d,c){switch(c){case 0:return this.bValideMembre(m,f,d,3)||this.bValideMembre(m,f,d,4);case 3:return this.m_tabDefinitionsMethodes.bExiste(m,f);case 4:return this.m_tabDefinitionsProprietes.bExiste(m,f);default:return!1}}__iGetInterfaceInstance(m){this._xVerificationValeur(m);switch(m.m_eAffectation){case 0:case 2:case 4:return a.NSUtil.xVerifieAffectationAucune(m)}if(m=a.iGetAsRValue(m.m_oValeur,0)){const f=m.viGetAsInterfacePossible();if(void 0===f)throw new a.CErreur(903,b.sGetNomTypeWL(124),
370b.sGetNomTypeWL(m.veGetTypeWL()));try{return f.vxiVerifieInterface(this)}catch(d){return new p(this,d)}}else return null}}b.CDescriptionInterface=h;class B extends b.CTType{valueOf(){const m=this.vtGetValeurDirect();return null!==m?m.voGetValeurPourInterface():null}viGetMembre2(m,f,d,c){return this.viGetDescriptionType().bValideMembre(m,f,d,c)?this._iGetInterface().viGetMembre2(m,f,d,c):super.viGetMembre2(m,f,d,c)}viGetAsInterfacePossible(){const m=this.vtGetValeurDirect();return m?m.viGetAsInterfacePossible():
371new y}_iGetInterface(){const m=this.vtGetValeurDirect();if(m)return m;throw new a.CErreur(904);}}class y{vxiVerifieInterface(m){throw new a.CErreur(904);}}class p extends b.CErreurCast{constructor(m,f){super(m);this.m_oErreur=f}viGetAsInterfacePossible(){return this}_vxoThrowErreur(){throw new a.CErreurBase(this.m_oErreur.number,this.m_oErreur.message);}voGetValeurPourInterface(){return this.valueOf()}vxiVerifieInterface(m){return this._vxoThrowErreur()}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS=
372{}));
373(function(a){(function(b){function h(p){let m=1;for(;0<p--;)m=(m<<1)+1;return m}class B extends b.CTDescriptionTypeSimple{constructor(p,m,f){super(f,d=>{d=d.m_oValeur;let c=a.NSUtil.dGetReel(d,NaN);isNaN(c)&&(c=Number(d)||0);return this.AppliqueType(c)},Number,!1);this.m_bSigne=p;this.m_ePas=m}_voAllocation(p=0){return new y(p,this)}AppliqueType(p){let m=this.m_ePas;if(0!=m)if(p=a.NSOperations.nArrondiVersZero(p),p%=m,this.m_bSigne){let f=m/2;p<-f?p+=m:f<=p&&(p-=m)}else p<0&&(p+=m);return p}}b.ms_DescriptionR8=
374new B(!0,0,12);b.ms_DescriptionI1=new B(!0,256,6);
374b.ms_DescriptionI2=new B(!0,65536,7);b.ms_DescriptionI4=new B(!0,4294967296,8);b.ms_DescriptionUI1=new B(!1,256,2);b.ms_DescriptionUI2=new B(!1,65536,3);b.ms_DescriptionUI4=new B(!1,4294967296,4);class y extends b.CTTypeSimple{constructor(p,m){super(p,m)}toString(p=10){a.CDebug.s_Assert(10===p||0!==this.m_iDescriptionType.m_ePas,"Base autre que 10 sur un r\u00e9el");return a.NSUtil.sNombreEnChaine(this.valueOf(),p)}vnToNumber(p){return this.valueOf()}viGetSousElement(p,
375m){return a.NSUtil.iChaineSousElement(this.viGetIntervalle(1,m[p],void 0),p+1,m)}viGetIntervalle(p,m,f){if(0==this.m_iDescriptionType.m_ePas)throw new a.CErreur(602,"[ ]");return new b.CIntervalleNombre(this,p,m,f)}vnGetBits(p){const m=this.m_tValeur,f=p.m_nIndiceCDebutInclus;p=h(p.m_nIndiceCFinNonInclus-f-1);return m>>>f&p}vSetBits(p,m){const f=this.m_tValeur,d=m.m_nIndiceCDebutInclus;m=h(m.m_nIndiceCFinNonInclus-d-1);this.vSetValeurDirect(f&~(m<<d)|(p&m)<<d)}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||
376(NSPCS={}));
377(function(a){(function(b){function h(e,l,r,I,x){return B(e,l,r,I,x).viCreationCopie(e,0)}function B(e,l=b.ms_DescriptionObjetNatif,r=b.ms_DescriptionObjetNatif,I=b.ms_DescriptionTableauNatif,x=b.ms_DescriptionObjetNatif){return y(e,b.ms_DescriptionBooleen,b.ms_DescriptionNumeriqueAuto,b.ms_DescriptionChaine,b.ms_DescriptionBuffer,b.ms_DescriptionFonction,function(H){return H===(H|0)?-2147483648<=H&&H<=2147483647?b.ms_DescriptionI4:b.ms_DescriptionI8:b.ms_DescriptionR8},x,r,I,l)}function y(e,l,r,I,
378x,H,K,ba,O,q,z){switch(typeof e){case "boolean":return l;case "function":return H;case "number":return K(e);default:case "object":return null===e?ba:"undefined"!=typeof clWLangage&&e instanceof clWLangage.WDNumeriqueBase?r:e instanceof ArrayBuffer?x:Array.isArray(e)?q:O;case "string":return I;case "undefined":return z}}function p(e,l,r){if(e instanceof Function)return b.ms_DescriptionFonction.oCreePourNatif(e,r);let I,x;l===1&&(I=b.ms_DescriptionVariant,x=b.ms_DescriptionTableauVariant);return h(e,
379I,I,x)}function m(e){return a.NSUtil.bIsObject(e)?Object.keys(e):[]}function f(){throw new a.CErreur(615);}function d(){throw new a.CErreur(619);}function c(e,l){if(Object.isFrozen(e))if(void 0!==l)a.NSUtil.xVerifieAffectationAucune(l);else throw new a.CErreur(1103);}b.iNatif2RValue=h;b.iGetDescriptionTypePourNatif=B;b.oGetPourNatif=y;b.iAny2RValueTypeCopie=function(e){const l=a.iGetAsRValue(e,1);return l?b.iGetDescription(l.veGetTypeWL(),!1).viCreationCopie(l,0):h(e)};class g extends b.CTDescriptionTypeSimple{constructor(e,
380l,r,I,x,H){super(e,r,I,x);this.m_eObjetNatifAllocation=l;this.m_pfCopie=H}viAffectation(e,l){this._xVerificationValeur(l);switch(l.m_eAffectation){default:case 0:case 1:case 3:e.vSetValeurDirect(this.m_pfCast(l));break;case 2:case 4:this.m_pfCopie(e,l.m_oValeur)}return e}}class k extends g{constructor(e){super(34,e,function(l){a.CDebug.s_Assert(Array.isArray(l.m_oValeur),"CTableauNatif n'est instanc\u00e9 que en pr\u00e9sence d'un tableau. V\u00e9rifier le code qui affecte autre chose qu'un tableau.");
381l=a.NSValues.oAny2Natif(l.m_oValeur);return Array.isArray(l)?l:[]},Array,!0,function(l,r){r=a.NSValues.oAny2Natif(r);Array.isArray(r)&&r.forEach(function(I,x){try{l.viGetSousElement(0,[x+1]).vSetValeur(I,4,{})}catch(H){}})})}voJSONDebogueurType(e){return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:e,m_bDynamique:!0,m_oTypeSousElement:{m_eTypeWL:31}}}_voAllocation(e=[]){return new n(e,this)}}b.CDescriptionTableauNatif=k;b.ms_DescriptionTableauNatif=new k(0);class n extends b.CTTypeSimple{constructor(e,
382l){super(e,l)}viGetSousElement(e,l){function r(H,K){let ba=Number(H);return Array.isArray(K)&&!isNaN(ba)?a.NSUtil.xnGetIndiceC(ba,K.length,2,NaN):String(H)}let I=l.length-1,x=this.m_tValeur;for(;e<I;e++)x=x[r(l[e],x)];return new C(x,r(l[I],x),this.m_iDescriptionType.m_eObjetNatifAllocation)}viGetAsTableau(){return this}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())}_viGetProprieteVM(e){switch(e){case 23:return a.NSUtil.oGetProprieteSimple(()=>
383this.m_tValeur.length,l=>{c(this.m_tValeur);this.m_tValeur.length=a.NSUtil.nGetEntier(l)},8,0,e);default:return super._viGetProprieteVM(e)}}xiGetTableauCherche(){return new b.CTableauCherche(this,e=>e)}xiGetTableauTri(){throw new a.CErreur(214);}xiGetTableauSupprime(){c(this.m_tValeur);return new b.CTableauSupprime(this)}xRedimensionne(e){c(this.m_tValeur);if(1!=e.length)throw new a.CErreur(210);this.m_tValeur.length=e[0]}nAjouteLigne(e){c(this.m_tValeur);const l=this.m_tValeur,r=l.length;l.push(a.NSValues.oAny2Natif(e[0]));
384return r}xCopieDepuis(e,l,r){c(this.m_tValeur);b.TableauCopie(e,this)}
384DeplaceLigne(e,l){c(this.m_tValeur);b.TableauDeplaceLigne(this,e,l)}Echange(e,l){c(this.m_tValeur);b.TableauEchange(this,e,l)}eTypeElement(){return 50}bDynamique(){return!0}Insere(e,l){c(this.m_tValeur);this.m_tValeur.splice(e,0,a.NSValues.oAny2Natif(l))}InsereLigne(e,l){return this.Insere(e,l[0])}eGetModeAgrandissement(){return 2}nGetNbDimensions(){return 1}nGetUneDimension(e){return this.m_tValeur.length}nGetNbElements(){return this.m_tValeur.length}nGetDimension0Pas(){return 1}iGetSousElementIndice(e){return new C(this.m_tValeur,
385e,this.m_iDescriptionType.m_eObjetNatifAllocation)}iGetDescriptionElement(){}viGetAsTableauType(){return this}tabGetDimensions(){return[this.nGetNbElements()]}tabGetValeurs(){return this.m_tValeur}bEstNull(){return!1}_bTableauNatif(){}}class C extends a.NSUtil.CTSousElement{constructor(e,l,r){super(e);this.m_oIndice=l;this.m_eObjetNatifAllocation=r}valueOf(){return this.m_tParent[this.m_oIndice]}viGetRValue(e){return p(this.valueOf(),this.m_eObjetNatifAllocation,this.m_tParent)}viGetMembre2(e,l,r,
386I){return this.viGetRValue(0).viGetMembre2(e,l,r,I)}viGetPropriete(e,l){return this.viGetRValue(0).viGetPropriete(e,l)}viGetSousElement(e,l){return this.viGetRValue(0).viGetSousElement(e,l)}veGetTypeWL(){return 50}vSetValeur2(e){c(this.m_tParent,e);this.m_tParent[this.m_oIndice]=a.NSValues.oAny2Natif(e.m_oValeur)}}class v extends g{constructor(e,l,r){super(e,l,r,Object,!0,function(I,x){x=a.NSValues.oAny2Natif(x);a.NSUtil.bIsObject(x)&&(I.vSetValeurDirect({}),a.NSUtil.bForEachIn(x,function(H,K){try{I.viGetMembre(H,
387!1,void 0).vSetValeur(K,4,{})}catch(ba){}return!0}))})}_voAllocation(e){return new M(e,this)}static s_oCastObjet(e){a.CDebug.s_Assert(void 0===e.m_oValeur||null===e.m_oValeur||a.NSUtil.bIsObject(e.m_oValeur),"CObjet n'est instanc\u00e9 que en pr\u00e9sence d'un objet. V\u00e9rifier le code qui affecte autre chose qu'un objet.");e=a.NSValues.oAny2Natif(e.m_oValeur);if(null===e)return null;if(void 0!==e){if(a.NSUtil.bIsObject(e))return e;throw new a.CErreur(601);}}static s_oCastVariant(e){a.CDebug.s_Assert(void 0===
388e.m_oValeur||null===e.m_oValeur||a.NSUtil.bIsObject(e.m_oValeur),"CObjet n'est instanc\u00e9 que en pr\u00e9sence d'un objet. V\u00e9rifier le code qui affecte autre chose qu'un objet.");e=a.NSValues.oAny2Natif(e.m_oValeur);if(null===e)return null;if(void 0!==e){if(a.NSUtil.bIsObject(e))return e;switch(typeof e){case "boolean":case "string":case "number":return e}throw new a.CErreur(601);}}}b.CDescriptionObjetNatif=v;b.ms_DescriptionObjetNatif=new v(107,0,v.s_oCastObjet);class M extends b.CTTypeSimple{constructor(e,
389l){if(void 0===e)switch(l.m_eObjetNatifAllocation){case 1:e={}}super(e,l)}viGetMembre2(e,l,r,I){return new G(this._voGetValeurPourMembrePrototypeNatif(),e,l,this.m_iDescriptionType.m_eObjetNatifAllocation)}viGetPropriete(e,l){if(1===this.m_iDescriptionType.m_eObjetNatifAllocation&&a.NSProprietes.bEstProprieteVM(e,l))switch(l){case 23:return a.NSUtil.oGetProprieteSimple(()=>{const r=this.vtGetValeurDirect();let I=0;void 0!==r&&null!==r&&a.NSUtil.bForEachIn(r,()=>{I++;return!0});return I},null,8,e,
390l)}return super.viGetPropriete(e,l)}viGetSousElement(e,l){return a.NSUtil.iChaineSousElement((r=>{const I=this.vtGetValeurDirect();if(a.NSUtil.bIsObjectArray(I)){const x=Number(r);if(!isNaN(x)&&a.NSUtil.bIndiceWLValide(x,I.length,2))return new C(I,x-1,this.m_iDescriptionType.m_eObjetNatifAllocation)}return this.viGetMembre(String(r),!1,void 0)})(l[e]),e+1,l)}viGetAsTableauAssociatif(){return this}xCopieDepuis(e){b.TableauAssociatifCopie(e,this)}eTypeElement(){return 50}bAvecDoublon(){return!1}eTypeCle(){return 16}Inverse(){throw new a.CErreur(214);
391}nSupprime(e){const l=this.m_tValeur;return a.NSUtil.bIsObject(l)&&(c(l),e=String(e),l.hasOwnProperty(e))?(delete l[e],1):0}SupprimeTout(){const e=this.m_tValeur;a.NSUtil.bIsObject(e)&&(c(e),a.NSUtil.SupprimeToutMembres(e))}Trie(e,l){throw new a.CErreur(214);}nGetNbElements(){return m(this.m_tValeur).length}iGetSousElementIndice(e,l){e=m(this.m_tValeur)[e];return void 0!==e?(l&&(l.m_oCle=e),this.viGetMembre(e,!1,void 0)):null}nGetNbElementsCle(e){let l=this.m_tValeur;return l&&void 0!==l[e.m_iCle.toString()]?
3921:0}oGetCle(e){return{m_iCle:h(e),m_sCleFormat:String(e)}}_ObjetNatif(){}}b.CObjetNatif=M;
392class G extends a.NSUtil.CWrapperValue{constructor(e,l,r,I){super();this.m_oObjet=e;this.m_sNomUtilisateur=l;this.m_sNomStandard=r;this.m_eObjetNatifAllocation=I}viGetRValue(e){return this.__xoSelontype((l,r)=>{let I=l[r];if(!l.hasOwnProperty(r)&&void 0===I)switch(this.m_eObjetNatifAllocation){case 1:switch(e){default:c(l);I=l[r]={};break;case 5:case 7:I=null}break;case 2:c(l),I=l[r]=""}return p(I,this.m_eObjetNatifAllocation,
393l)},f,l=>{switch(this.m_eObjetNatifAllocation){case 0:return p(l[this.m_sNomUtilisateur],this.m_eObjetNatifAllocation,l);default:d()}})}viGetPropriete(e,l){if(a.NSProprietes.bEstProprieteVM(e,l))switch(l){case 35:return new a.NSUtil.CPropriete(()=>this.viGetRValue(1),r=>{this.vSetValeur2(r)},void 0,void 0,e,l);case 43:return a.NSUtil.oGetProprieteSimple(()=>this.__xoSelontype((r,I)=>{switch(this.m_eObjetNatifAllocation){case 0:return I in r;default:return r.hasOwnProperty(I)}},()=>!1,r=>r.hasOwnProperty(this.m_sNomUtilisateur)),
394null,1,e,l);case 9:if(1===this.m_eObjetNatifAllocation)return a.NSUtil.oGetProprieteConstante(this.m_sNomUtilisateur,16,e,l)}return super.viGetPropriete(e,l)}vSetValeur2(e){this.__xoSelontype((l,r)=>{c(l,e);l[r]=a.NSValues.oAny2Natif(e.m_oValeur)},f,d)}viAppelFonction(...e){const l=(r,I)=>{var x=r[I];if("function"!==typeof x)throw new a.CErreur(605,I);x=a.ms_oSymbolDepuisWLEnV2 in x?e:a.NSValues.tabAny2Natif(e);switch(e.length){case 0:r=r[I]();break;case 1:r=r[I](x[0]);break;case 2:r=r[I](x[0],x[1]);
395break;case 3:r=r[I](x[0],x[1],x[2]);break;default:r=r[I].apply(r,x)}return a.NSValues.iAny2RValue(r)};return this.__xoSelontype(l,f,r=>l(r,this.m_sNomUtilisateur))}__xoSelontype(e,l,r){let I=this.m_oObjet;if(void 0===I||null===I)return l();if(a.NSUtil.bIsObject(I)){l=this.m_sNomUtilisateur;switch(this.m_eObjetNatifAllocation){case 1:if(!I.hasOwnProperty(l))for(const x in I)if(I.hasOwnProperty(x)&&a.NSUtil.sGetFormatLogique(x)===this.m_sNomStandard){l=x;break}}return e(I,l)}return r(I)}}b.CMembreNatif=
396G;b.bIsTableauNatif=function(e){return e instanceof n||"_bTableauNatif"in e};b.bIsObjetNatif=function(e){return!!e&&(e instanceof M||"_ObjetNatif"in e)}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
397(function(a){(function(b){function h(f){return f instanceof m||"oGetCopieNumeriqueData"in f}class B extends b.CTDescriptionTypeSimple{constructor(f,d,c,g,k,n,C){super(f,v=>{var M;v=v.m_oValeur;const G=a.iGetAsRValue(v,1);G&&h(G)&&(M=G);let e=this.m_nPrecisionInitiale,l=this.m_nEchelleInitiale;if(void 0!==v&&M){var r=M.oGetCopieNumeriqueData();0!=e?l<M.nGetEchelle()?r.bDivPuissance10(M.nGetEchelle()-l):M.nGetEchelle()<l&&r.bMulPuissance10(l-M.nGetEchelle()):(e=M.nGetPrecision(),l=M.nGetEchelle())}r=
398{m_oNumeriqueData:new p(this.m_nNbBitsTotal,this.m_bSigne,r),m_nPrecision:e,m_nEchelle:l};if(void 0!==v&&!M){if(b.bIsDuree(G))M=String(G.vnToNumber(0));else switch(typeof v){case "boolean":M=v?"1":"0";break;default:M=String(v)}this.__SetValeurChaine(M,r)}return r},void 0,!1);this.m_nNbBitsTotal=d;this.m_nPrecisionMaximale=c;this.m_nEchelleMaximale=g;this.m_nPrecisionInitiale=k;this.m_nEchelleInitiale=n;this.m_bSigne=C}_voAllocation(f={m_oNumeriqueData:new p(this.m_nNbBitsTotal,this.m_bSigne),m_nPrecision:this.m_nPrecisionInitiale,
399m_nEchelle:this.m_nEchelleInitiale}){return new m(f,this)}__SetValeurChaine(f,d){let c=0,g=!1,k=0,n=0,C=d.m_oNumeriqueData;f=f.replace(/\s/g,"");switch(f.charAt(c)){case "-":g=!0;case "+":c++}for(;;){var v=f.charCodeAt(c)-48;if(isNaN(v)||v<0||9<v)break;C.bMulPuissance10(1);C.nAddEntier(v);k++;c++}switch(f.charAt(c)){case ".":case ",":for(c++;;){v=f.charCodeAt(c)-48;if(isNaN(v)||v<0||9<v)break;n<this.m_nEchelleMaximale&&(C.bMulPuissance10(1),C.nAddEntier(v),k++,n++);c++}}let M=this.m_nPrecisionMaximale;
400v=M;0<d.m_nPrecision?(M=Math.min(M,d.m_nPrecision),v=d.m_nEchelle):0<d.m_nEchelle&&(v=d.m_nEchelle);M<k&&(k=M);M<n&&(C.bDivPuissance10(n-M),n=M);switch(f.charAt(c)){case "D":case "E":case "d":case "e":c++;let G=!1;switch(f.charAt(c)){case "-":G=!0;case "+":c++}let e=0;for(;;){let l=f.charCodeAt(c)-48;if(isNaN(l)||l<0||9<l)break;e*=10;e+=l;c++}G?(n+=e,M<n&&(n=M),k<n&&(k=n)):n<e?(k+=e-n,M<k&&(k=M),C.bMulPuissance10(e-n),n=0):n-=e}a.CDebug.s_Assert(0<=n&&n<=this.m_nPrecisionMaximale,"Pr\u00e9cision invali
400de : "+
401n);f=0;v<n&&(f=n-v,n=v);k<n&&(k=n);d.m_nPrecision=k;d.m_nEchelle=n;d=C.bDivPuissance10(f);a.CDebug.s_Assert(d,"Perte de donn\u00e9es");g&&C.oOpposee()}}b.ms_DescriptionNumeriqueDefaut=new B(13,128,38,38,38,6,!0);b.ms_DescriptionNumeriqueAuto=new B(13,128,38,38,0,0,!0);b.ms_DescriptionI8=new B(9,64,19,0,19,0,!0);b.ms_DescriptionUI8=new B(5,64,19,0,19,0,!1);b.oGetDescriptionNumerique=function(f,d){return new B(13,128,38,38,f,d,!0)};const y=[0,2,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38];class p{constructor(f,
402d,c){this.m_bSigne=d;a.CDebug.s_Assert(0==f%16,"CNumeriqueData : Taille invalide");this.m_tabData=Array(Math.ceil(f/16));c?this.CopieDepuis(c):this.SetZero()}oGetCopie(){return new p(this.nGetNbBitsTotal(),this.m_bSigne,this)}CopieDepuis(f,d){var c=void 0===d?f.m_tabData.length:Math.floor(d/2);a.CDebug.s_Assert(c<=this.m_tabData.length,"CNumeriqueData : Initialisation avec perte de donn\u00e9es");f.bEstNegatif(d)?this.__SetMoins1():this.SetZero();d=Math.min(this.m_tabData.length,c);for(c=0;c<d;c++)this.m_tabData[c]=
403f.m_tabData[c]}nGetNbBitsTotal(){return this.m_tabData.length*16}nAddEntier(f){for(let d=0;d<this.m_tabData.length;d++)f=this.__nAffecteAvecRetenue(this.m_tabData[d]+f,d);return f}nAddData(f){a.CDebug.s_Assert(this.m_tabData.length==f.m_tabData.length,"nAddData : Donn\u00e9es de longueur diff\u00e9rentes");let d=0;for(let c=0;c<this.m_tabData.length;c++)d=this.__nAffecteAvecRetenue(this.m_tabData[c]+f.m_tabData[c]+d,c);return d}nSubEntier(f){return this.nAddEntier(-f)}__bMulEntier(f){let d=this.bEstNegatif();
404d&&this.oOpposee();let c=0;for(let g=0;g<this.m_tabData.length;g++)c=this.__nAffecteAvecRetenue(this.m_tabData[g]*f+c,g);f=0==c&&0==this.bEstNegatif();d&&this.oOpposee();return f}oMulData(f){a.CDebug.s_Assert(this.m_tabData.length==f.m_tabData.length,"oMulData : Donn\u00e9es de longueur diff\u00e9rentes");let d=new p(Math.max(this.nGetNbBitsTotal(),f.nGetNbBitsTotal())*2,this.m_bSigne||f.m_bSigne);for(let g=f.m_tabData.length-1;0<=g;g--){let k=0;var c=void 0;d.m_tabData.unshift(0);c=d.m_tabData.pop();
405a.CDebug.s_Assert(0==c,"Overflow");for(c=0;c<this.m_tabData.length;c++)k=d.__nAffecteAvecRetenue(this.m_tabData[c]*f.m_tabData[g]+k+d.m_tabData[c],c);for(;c<d.m_tabData.length&&k!=0;c++)k=d.__nAffecteAvecRetenue(k+d.m_tabData[c],c);a.CDebug.s_Assert(0==k,"d\u00e9passement")}return d}bMulPuissance10(f){let d=!0;for(;0<f;){let c=Math.min(f,4);d=this.__bMulEntier(Math.pow(10,c))&&d;f-=c}return d}nMulPuissance10Max(){let f=0;for(;0==this.m_tabData[this.m_tabData.length-1];)this.bMulPuissance10(4),f+=
4064;let d=this.oGetCopie();for(;;)if(d.bMulPuissance10(1))f++,this.CopieDepuis(d);else break;return f}nDivEntier(f){return this.nDivEntierAvecReste(f,this.bEstNegatif()?f-1:0)}nDivEntierAvecReste(f,d){for(let c=this.m_tabData.length-1;0<=c;c--){let g=(d<<16)+this.m_tabData[c];d=g%f;this.m_tabData[c]=a.NSOperations.nArrondiVersZero(g/f)}return d}oDivData(f){a.CDebug.s_Assert(this.m_tabData.length==2*f.m_tabData.length,"oDivData : Donn\u00e9es de longueur diff\u00e9rentes");let d=new p(f.nGetNbBitsTotal(),
407this.m_bSigne||f.m_bSigne),c=this.nGetNbBitsTotal(),g=f.oGetCopie().oOpposee();for(let k=0;k<c;k++){d.__nUnDecalageGauche(this.__nUnDecalageGauche(0));let n=!0;for(let C=d.m_tabData.length-1;0<=C&&!(d.m_tabData[C]>f.m_tabData[C]);C--)if(d.m_tabData[C]<f.m_tabData[C]){n=!1;break}n&&(this.m_tabData[0]+=1,d.nAddData(g))}return d}bDivPuissance10(f){let d=!0;for(;0<f;){let c=Math.min(f,4);d=0==this.nDivEntier(Math.pow(10,c))&&d;f-=c}return d}oOpposee(){for(let f=this.m_tabData.length-1;0<=f;f--)this.m_tabData[f]^=
40865535;this.nAddEntier(1);return this}oAbsolue(){this.bEstNegatif()&&this.oOpposee();return this}SetZero(){this.__SetValeurUniforme(0)}__SetMoins1(){this.__SetValeurUniforme(65535)}bConvert(f,d){return f==d?!0:d<f?(this.bDivPuissance10(f-d),!0):this.bMulPuissance10(d-f)}oGetMoitie(f){a.CDebug.s_Assert(0==this.m_tabData.length%2,"Taille qui n'est pas un multiple de 2");let d=this.oGetCopie(),c=Math.floor(d.m_tabData.length/2);d.m_tabData.splice(f?0:c,c);return d}nAjusteEchelle(f,d){a.CDebug.s_Assert(0==
409this.m_tabData.length%2,"Taille qui n'est pas un multiple de 2");let c=Math.floor(this.m_tabData.length/2);for(let g=this.m_tabData.length-1;g>=c;g--)for(;this.m_tabData[g]&&0<f;)g>c?(this.bDivPuissance10(4),f-=4):(this.bDivPuissance10(1),f--);0!=(this.m_tabData[c-1]&32768)&&0<f&&(this.bDivPuissance10(1),f--);
409d<f&&(this.bDivPuissance10(f-d),f=d);return f}nGetBits(f){let d=0,c=0,g=1;const k=f.m_nIndiceCDebutInclus;f=f.m_nIndiceCFinNonInclus;const n=this.m_tabData,C=n.length;for(let v=0;v<C;v++){let M=
410n[v];for(let G=0;G<16;G++)k<=c&&c<f&&(M&1&&(d+=g),g<<=1),M>>>=1,c++}return d}SetBits(f,d){let c=0;const g=d.m_nIndiceCDebutInclus;d=d.m_nIndiceCFinNonInclus;const k=this.m_tabData,n=k.length;for(let C=0;C<n;C++){let v=k[C],M=1;for(let G=0;G<16;G++)g<=c&&c<d&&(v=v&~M|(f&1)<<G,f>>>=1),M<<=1,c++;k[C]=v}}bEstZero(){return this.__bEstValeurUniforme(0)}bEstMoins1(){return this.__bEstValeurUniforme(65535)}bEstNegatif(f){if(!this.m_bSigne)return!1;let d=32768;void 0===f?f=this.m_tabData.length-1:(0==f%2&&
411(d=128),f=Math.floor(f/2));return!!(this.m_tabData[f]&d)}bEstPair(){return a.NSOperations.bEstPair(this.m_tabData[0])}bGetSigne(){return this.m_bSigne}nGetNeededNbOctets(){var f=this.m_tabData.length*2;if(this.bEstNegatif()){for(--f;0<=f;f--){var d=this.m_tabData[Math.floor(f/2)];if(65280!=(d&65280))break;f--;if(255!=(d&255))break}0!=f&&0!=(this.m_tabData[Math.floor(f/2)]&128<<f%2*16)||f++}else{for(--f;0<=f;f--){d=this.m_tabData[Math.floor(f/2)];if(0!=(d&65280))break;f--;if(0!=(d&255))break}0!=(this.m_tabData[Math.floor(f/
4122)]&128<<f%2*16)&&f++}f++;return f}__SetValeurUniforme(f){for(let d=this.m_tabData.length-1;0<=d;d--)this.m_tabData[d]=f}__bEstValeurUniforme(f){for(let d=this.m_tabData.length-1;0<=d;d--)if(this.m_tabData[d]!=f)return!1;return!0}__nUnDecalageGauche(f){for(let d=0;d<this.m_tabData.length;d++){let c=0!=(this.m_tabData[d]&32768)?1:0;this.m_tabData[d]=((this.m_tabData[d]&32767)<<1)+f;f=c}return f}__nAffecteAvecRetenue(f,d){this.m_tabData[d]=f&65535;return f>>>16}}class m extends b.CTType{constructor(f,
413d){super(f,d)}toString(f=10){let d=[],c=this.m_tValeur.m_oNumeriqueData.oGetCopie(),g=this.m_tValeur.m_nEchelle,k=!0,n=0;10!=f&&(c.bDivPuissance10(g),g=0);for(this.bEstNegatif()&&10==f&&c.oOpposee();n<=g||!c.bEstZero();){if(n==g)k||g==0||d.push("."),k=!1;else{var C=10!=f&&c.bEstMoins1(),v=c.nDivEntier(f);0==v&&k||(d.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(v)),k=!1);if(C){if(1<d.length)for(C=d[d.length-2],v=0;v<f;v++)if(C=="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(v)){f<=v*2&&d.pop();
414break}c.SetZero()}}n++}10==f&&(n==g+1&&d.push("0"),this.bEstNegatif()&&d.push("-"));d.reverse();return d.join("")}vnToNumber(f){return parseFloat(String(this))}valueOf(){return this.vnToNumber(0)}toJSON(f=0){switch(f){case 1:return this.toString();default:return super.toJSON(f)}}viGetSousElement(f,d){return a.NSUtil.iChaineSousElement(this.viGetIntervalle(1,d[f],void 0),f+1,d)}viGetIntervalle(f,d,c){switch(this.veGetTypeWL()){case 5:case 9:case 14:return new b.CIntervalleNombre(this,f,d,c);default:throw new a.CErreur(602,
415"[ ]");}}vnGetBits(f){return this.m_tValeur.m_oNumeriqueData.nGetBits(f)}vSetBits(f,d){return this.m_tValeur.m_oNumeriqueData.SetBits(f,d)}bEstNegatif(){return this.m_tValeur.m_oNumeriqueData.bEstNegatif()}oAbsolue(){return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,this.m_tValeur.m_nEchelle,this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue())}oArrondi(f){let d=this.m_tValeur.m_oNumeriqueData.oGetCopie();f<this.m_tValeur.m_nEchelle?(d.oAbsolue(),f+1<this.m_tValeur.m_nEchelle&&
416d.bDivPuissance10(this.m_tValeur.m_nEchelle-f-1),5<=d.nDivEntier(10)&&d.nAddEntier(1),this.bEstNegatif()&&d.oOpposee()):f=this.m_tValeur.m_nEchelle;return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,f,d)}oArrondiInferieur(f){let d=this.m_tValeur.m_oNumeriqueData.oGetCopie();f<this.m_tValeur.m_nEchelle?(f+1<this.m_tValeur.m_nEchelle&&d.bDivPuissance10(this.m_tValeur.m_nEchelle-f-1),d.nDivEntier(10)):f=this.m_tValeur.m_nEchelle;return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,
417f,d)}oArrondiSuperieur(f){let d=this.m_tValeur.m_oNumeriqueData.oGetCopie();f<this.m_tValeur.m_nEchelle?(f+1<this.m_tValeur.m_nEchelle&&d.bDivPuissance10(this.m_tValeur.m_nEchelle-f-1),d.nDivEntier(10),d.nAddEntier(1)):f=this.m_tValeur.m_nEchelle;return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,f,d)}oArrondiVersZero(){let f=this.m_tValeur.m_oNumeriqueData.oGetCopie();!f.bDivPuissance10(this.m_tValeur.m_nEchelle)&&this.bEstNegatif()&&f.nAddEntier(1);return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,
4180,f)}bEstPair(){return this.oPartieEntiere().m_tValeur.m_oNumeriqueData.bEstPair()}nLog10Arrondi(){let f,d=this.m_tValeur.m_oNumeriqueData.oGetCopie();d.bDivPuissance10(this.m_tValeur.m_nEchelle);if(d.bEstZero()){f=0;do f--,d=this.m_tValeur.m_oNumeriqueData.oGetCopie(),d.bDivPuissance10(this.m_tValeur.m_nEchelle- -f);while(d.bEstZero())}else for(f=-1;!d.bEstZero();)d.bDivPuissance10(1),f++;return f}oPartieEntiere(){let f=this.m_tValeur.m_oNumeriqueData.oGetCopie();f.bDivPuissance10(this.m_tValeur.m_nEchelle);
419return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,f)}oConversionTypeNumerique(f){let d=this.m_iDescriptionType;13==this.veGetTypeWL()&&(d=b.ms_DescriptionNumeriqueAuto);return d.viCreationCopie(f,0)}oAdditionNumerique(f){var d=this.m_tValeur,c=f.m_tValeur;if(d.m_nEchelle>c.m_nEchelle){var g=d;var k=c;var n=f}else g=c,k=d,n=this;d=g.m_nEchelle;c=k.m_oNumeriqueData.oGetCopie();c.bConvert(k.m_nEchelle,d)?k=g.m_oNumeriqueData:(d=n.__nGetEchelleMaximale(g),c=k.m_oNumeriqueData.oGetCopie(),
420c.bConvert(k.m_nEchelle,d),k=g.m_oNumeriqueData.oGetCopie(),k.bConvert(g.m_nEchelle,d));g=c.bEstNegatif();n=c.nAddData(k);k.bEstNegatif()==g&&c.bEstNegatif()!=g&&0<d&&(d--,c.nDivEntierAvecReste(10,n?9:0));return this.__oCreeResultat(f).__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,d,c)}oSoustractionNumerique(f){f=this.m_iDescriptionType.viCreationCopie(f,0);f.m_tValeur.m_oNumeriqueData.oOpposee();return this.oAdditionNumerique(f)}oMultiplicationNumerique(f){let d=this.__oCreeResultat(f);
421if(!this.m_tValeur.m_oNumeriqueData.bEstZero()&&!f.m_tValeur.m_oNumeriqueData.bEstZero()){let g=this.bEstNegatif()!=f.bEstNegatif();var c=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue();let k=f.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue();c=c.oMulData(k);f=c.nAjusteEchelle(this.m_tValeur.m_nEchelle+f.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);d.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,f,c.oGetMoitie(!1));g&&d.m_tValeur.m_oNumeriqueData.oOpposee()}return d}xoDivisionNumerique(f){let d=
422this.__oCreeResultat(f,!0);if(f.m_tValeur.m_oNumeriqueData.bEstZero())throw new a.CErreur(216);if(!this.m_tValeur.m_oNumeriqueData.bEstZero()){let k=this.bEstNegatif()!=f.bEstNegatif();var c=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),g=f.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue();c=new p(this.m_iDescriptionType.m_nNbBitsTotal*2,c.bGetSigne(),c);let n=c.nMulPuissance10Max();g=c.oDivData(g);f=c.nAjusteEchelle(n+this.m_tValeur.m_nEchelle-f.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);
423d.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,f,c.oGetMoitie(!1));k&&(d.m_tValeur.m_oNumeriqueData.oOpposee(),g.bEstZero()||d.m_tValeur.m_oNumeriqueData.nSubEntier(1))}return d}xoModuloNumerique(f){let d=this.__oCreeResultat(f);if(f.m_tValeur.m_oNumeriqueData.bEstZero())throw new a.CErreur(216);if(!this.m_tValeur.m_oNumeriqueData.bEstZero()){let c=this.bEstNegatif(),g=(new p(this.m_iDescriptionType.m_nNbBitsTotal*2,this.m_tValeur.m_oNumeriqueData.bGetSigne(),this.m_tValeur.m_oNumeriqueData)).oAbsolue();
424g.bDivPuissance10(this.m_tValeur.m_nEchelle);let k=(new p(this.m_iDescriptionType.m_nNbBitsTotal,f.m_tValeur.m_oNumeriqueData.bGetSigne(),f.m_tValeur.m_oNumeriqueData)).oAbsolue();k.bDivPuissance10(f.m_tValeur.m_nEchelle);f=g.oDivData(k);d.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,f);c&&d.m_tValeur.m_oNumeriqueData.oOpposee()}return d}oGetCopieNumeriqueData(){return this.m_tValeur.m_oNumeriqueData.oGetCopie()}nGetPrecision(){return this.m_tValeur.m_nPrecision}nGetEchelle(){return this.m_tValeur.m_nEchelle}__oCreeResultat(f,
425d){if(d||13==this.veGetTypeWL()||f&&13==f.veGetTypeWL())return a.CDebug.s_Assert(d||13==this.veGetTypeWL()&&(!f||13==f.veGetTypeWL()),"Si on a un numerique, l'autre l'est aussi"),b.ms_DescriptionNumeriqueAuto.viCreation();if(9==this.veGetTypeWL()||f&&9==f.veGetTypeWL())return b.ms_DescriptionI8.viCreation();a.CDebug.s_Assert(5==this.veGetTypeWL()&&(!f||5==f.veGetTypeWL()),"Type autre que CNumerique, CUI8 ou CI8");return b.ms_DescriptionUI8.viCreation()}__oSetData(f,d,c){this.__SetPrecision(f);f=this.__nSetEchelle(d);
426this.m_iDescriptionType.m_nPrecisionMaximale==this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(c):0<this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(c,Math.ceil(this.m_tValeur.m_nPrecision/(8*Math.LOG10E/Math.LOG2E))):this.m_tValeur.m_oNumeriqueData.SetZero();c=this.m_tValeur.m_oNumeriqueData.bDivPuissance10(f);a.CDebug.s_Assert(c,"Perte de donn\u00e9es");return this}__SetPrecision(f){a.CDebug.s_Assert(0<=f&&f<=this.m_iDescriptionType.m_nPrecisionMaximale,
427"Pr\u00e9cision invalide : "+f);this.m_tValeur.m_nPrecision=f}__nSetEchelle(f){return this.__nSetEchelleAvecMax(f,this.m_iDescriptionType.m_nEchelleMaximale)}__nSetEchelleAvecMax(f,d){a.CDebug.s_Assert(0<=f&&f<=this.m_iDescriptionType.m_nPrecisionMaximale,"Pr\u00e9cision invalide : "+f);let c=0;d<f&&(c=f-d,f=d);this.m_tValeur.m_nPrecision<f&&this.__SetPrecision(f);this.m_tValeur.m_nEchelle=f;return c}__nGetEchelleMaximale(f){const d=this.m_tValeur;a.CDebug.s_Assert(d.m_nEchelle<f.m_nEchelle,"__nGetEchelleMaximale");
428let c=d.m_nEchelle+this.m_iDescriptionType.m_nPrecisionMaximale-this.__nGetPrecisionMinPourNOctet(d.m_oNumeriqueData.nGetNeededNbOctets());c<d.m_nEchelle&&(c=d.m_nEchelle);a.CDebug.s_Assert(c<f.m_nEchelle,"Perte de precision sur la partie entiere : GRAVE");f.m_nEchelle<=c&&(c=f.m_nEchelle-1);return Math.min(c,this.m_iDescriptionType.m_nEchelleMaximale)}__nGetPrecisionMinPourNOctet(f){a.CDebug.s_Assert(f<=16);return y[f]+1}}b.bIsNumerique=h})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
429(function(a){(function(b){function h(E){let Q;return function(){void 0===Q&&(Q=new r(E.map(function(J){const N=J.m_tDefinition;return N instanceof Function?new l(J.m_sNomUtilisateur,J.m_sNomStandard,N()):new l(J.m_sNomUtilisateur,J.m_sNomStandard,N)})));return Q}}function B(E){switch(E){case 0:a.CDebug.s_Assert(!1,"Conversion de ECloneOuCopieOuReference.Clone en ECopieOuReference.Copie");case 1:return 0;case 2:return 1}}function y(E,Q,J){Q=Q||J.m_oInstanceDeClasse.m_tabClassesDeBase[E];E=J.m_iDescriptionClasse.m_pfResolutionDefinitionsClassesDeBase().oGetParNomStandard(E).m_oDescriptionStatique;
430return{m_oInstanceDeClasse:Q,m_iDescriptionClasse:E}}function p(E,Q){return Q.reduce(function(J,N){const Y=J.m_oInstanceDeClasse.m_tabClassesDeBase[N];if(Y)return y(N,Y,J);throw new a.CErreur(605,N);},E)}function m(E,Q,J,N,Y,aa){a.CDebug.s_Assert(0!==N);if(J=d(E,Q,J,N,Y))if(E=p(E,J.m_tabClassesDeBase),aa=aa(E,J.m_sNomStandard))return{m_iEffectif:E,m_oMembre:aa,m_tabClassesDeBase:J.m_tabClassesDeBase,m_sNomStandardEffectif:J.m_sNomStandard};throw new a.CErreur(605,Q);}function f(E,Q,J,N){let Y=null;
431a.NSUtil.bForEachIn(E.m_oInstanceDeClasse.m_tabClassesDeBase,function(aa,da){Y=N(aa,y(aa,da,E));return!Y});return Y}function d(E,Q,J,N,Y){function aa(ja,ka,oa,Da){return Da.bExiste(ja,ka)?{m_eTypeMembre:oa,m_sNomUtilisateur:ja,m_sNomStandard:ka,m_tabClassesDeBase:[]}:null}function da(ja,ka){if(ka=d(ka,Q,J,N,!0))a.CDebug.s_Assert(0!==ka.m_eTypeMembre,"__iGetTypeMembreEffectif : ETypeMembre.Indetermine === iMembreEffectif.m_eTypeMembre"),ka.m_tabClassesDeBase.unshift(ja);return ka}const fa=E.m_iDescriptionClasse;
432return 1===N&&aa(Q,J,1,fa.m_pfResolutionDefinitionsClassesDeBase())||3===N&&aa(Q,J,3,fa.m_tabDefinitionsMethodes)||(4===N||0===N)&&aa(Q,J,4,fa.m_tabDefinitionsProprietes)||(2===N||0===N)&&aa(Q,J,2,fa.m_pfResolutionDefinitionsMembres())||(Y?f(E,J,N,da):null)}function c(E,Q,J,N){const Y=E.m_oInstanceDeClasse.m_tabMembres;let aa=null;E.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().bForEach(function(da){if(da.m_tDefinition.vbGetAttributAssocie())try{return aa=Y[da.m_sNomStandard].viGetMembre2(Q,
433J,2,N),!1}catch(fa){}return!0});return aa}function g(E,Q,J,N){function Y(aa,da){return g(da,Q,J,N)}return c(E,Q,J,N)||f(E,J,N,Y)}function k(E,Q,J){E.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(N){Q(N.m_sNomStandard,N.m_tDefinition.m_oDescriptionStatique);return!0});E.m_pfResolutionDefinitionsMembres().bForEach(function(N){J(N);return!0})}function n(E){const Q={};a.NSUtil.bForEachIn(E,function(J,N){Q[J]=b.iNatif2RValue(N);return!0});return{m_tabClassesDeBase:{},m_tabMembres:Q,m_bNative:!0}}
434function C(E,Q){let J=Q.vtGetValeurDirect();null===J&&(J=new O(E),Q.vSetValeurDirect(J));return J}function v(E,Q,J){const N=J.m_tabClassesDeBase,Y=Q.m_tabClassesDeBase,aa=J.m_tabMembres,da=Q.m_tabMembres;k(E,function(fa,ja){const ka=N[fa],oa=Y[fa];a.CDebug.s_Assert(oa instanceof O,"Classe de base pas encore allou\u00e9 dans __CopieDansInstance");ka?Y[fa]=ja.viCreation(a.iGetValeurInitiale(ka,2),b.ms_pfSansAppelConstructeur).vtGetValeurDirect():J.m_bNative&&oa&&v(ja,oa,J)},function(fa){const ja=fa.m_sNomStandard,
435ka=fa.m_tDefinition;var oa=!1;let Da=b.ms_pfSansAppelConstructeur;if(a.NSOperations.bDansDeserialisation){var Ja=ka.voGetAttributSerialise();if(!1===Ja)return;Ja="string"===typeof Ja?Ja:fa.m_sNomUtilisateur;fa=aa[Ja];const Qa=da.hasOwnProperty(ja);a.CDebug.s_Assert(Qa);if(Qa){oa=da[ja];a.CDebug.s_Assert(oa instanceof b.CTType,"!iMembreDestination instanceof CTType");a.CDebug.s_Assert(ka.viGetDescriptionTypeReel()===oa.viGetDescriptionType(),"iDescriptionTypeMembre !== iMembreDestination.viGetDescriptionType()");
436aa.hasOwnProperty(Ja)&&(da[ja]=ka.viAffectation(oa,a.iGetValeurAffectation(fa,0,{m_bAvecErreur:!1})));return}}else{Ja=ka.veGetAttributCopie();if(0===Ja)return;1===Ja&&(oa=!0,Da=void 0);fa=aa.hasOwnProperty(ja)?aa[ja]:aa[fa.m_sNomUtilisateur]}if(fa=a.iGetValeurInitiale(fa,0))fa.m_iOptions.m_bForceCopiePronfondeurTableau=!0,fa.m_iOptions.m_bForceClone=oa;da[ja]=ka.viCreation(fa,Da)})}function M(E,Q,J){for(;!E.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(da){E=da.m_tDefinition.m_oDescriptionDynamique;
437Q=Q.m_tabClassesDeBase[da.m_sNomStandard];return!1}););let N=0;const Y=J.nGetNbElements(),aa=new q(Q,E,[],!1);E.m_pfResolutionDefinitionsMembres().bForEach(function(da){return N<Y?(aa.viGetMembre2(da.m_sNomUtilisateur,da.m_sNomStandard,0,2).vSetValeur(J.iGetSousElementIndice(N),0,{}),N++,!0):!1})}function G(E){return E&&(E instanceof q||E.xiGetInstancePourDonnees)}function e(E){if(G(E))return E;if(E=a.iGetAsBase(E))if(E=E.viGetRValue(0),G(E))return E;return null}class l{constructor(E,Q,J){this.m_sNomUtilisateur=
438E;this.m_sNomStandard=Q;this.m_tDefinition=J}}b.CElementClasseDefinition=l;class r{constructor(E){const Q={},J={};E.forEach(N=>{Q[N.m_sNomUtilisateur]=N;J[N.m_sNomStandard]=N});this.m_tabNomUtilisateur=Q;this.m_tabNomStandard=J}oGetParNomUtilisateur(E){return this.m_tabNomUtilisateur[E].m_tDefinition}oGetParNomStandard(E){return this.m_tabNomStandard[E].m_tDefinition}bExiste(E,Q){a.CDebug.s_Assert(this.m_tabNomUtilisateur[E]===this.m_tabNomStandard[Q]);return this.m_tabNomStandard.hasOwnProperty(Q)}sGetNomUtilisateur(E){return this.m_tabNomStandard[E].m_sNomUtilisateur}bForEach(E){return a.NSUtil.bForEachIn(this.m_tabNomUtilisateur,
439function(Q,J){return E(J)})}}b.pfResolutionDefinitions=h;b.ms_pfSansAppelConstructeur=function(){return[]};b.ms_pfSansAppelConstructeurDBG=b.ms_pfSansAppelConstructeur;class I extends b.CTDescriptionType{constructor(E,Q,J,N,Y,aa,da,fa){super(E,void 0);this.m_pfResolutionDefinitionsMembres=J;this.m_pfConstructeur=N;this.m_sNomClasseUtilisateur=da;this.m_sNomClasseLogique=fa;void 0!==da&&void 0===fa&&(this.m_sNomClasseLogique=a.NSUtil.sGetFormatLogique(da));this.m_pfResolutionDefinitionsClassesDeBase=
440Q||function(){return new r([])};this.m_tabDefinitionsMethodes=new r(Y||[]);this.m_tabDefinitionsProprietes=new r(aa||[])}viCreation(E,Q){function J(Y,aa,da){Y=Y._oAllocation(aa);1!==da&&Q!==b.ms_pfSansAppelConstructeur&&null!==Y.vtGetValeurDirect()&&Y.vAppelDuConstructeur.apply(Y,Q?Q():[]);return Y}function N(Y,aa,da,fa){const ja=new O(Y);da=J(Y,ja,da);fa(Y,ja,aa);return da}if(E){this._xVerificationValeur(E);const Y=this._xveVerifieCreation(E);return this._xoParcoursObjet(E,this,()=>J(this,void 0,
441B(Y)),()=>J(this,null,B(Y)),aa=>{a.NSUtil.xVerifieAffectationCopie(E);return N(this,n(aa),B(Y),v)},aa=>N(this,aa,0,M),aa=>{let da,fa;switch(Y){case 0:da=aa.viGetDescriptionType();aa=aa.vtGetValeurDirect();if(null!==aa)fa=aa;else throw new a.CErreur(615);break;case 1:da=this;fa=aa.xiGetInstancePourDonnees().m_oInstanceDeClasse;break;case 2:return aa}return N(da,fa,0,v)})}return J(this,void 0,0)}viAffectation(E,Q){this._xVerificationValeur(Q);const J=this._xveVerifieAffectation(Q);return this._xoParcoursObjet(Q,
442this,()=>{E.vSetValeurDirect(this._voGetValeurPourAllocationSiUndefined());return E},()=>{E.vSetValeurDirect(this._voGetValeurPourAllocationSiNull());return E},N=>{a.NSUtil.xVerifieAffectationCopie(Q);v(this,C(this,E),n(N));return E},N=>{M(this,C(this,E),N);return E},N=>{if(1===J)return N;v(this,C(this,E),N.xiGetInstancePourDonnees().m_oInstanceDeClasse);return E})}voJSONDebogueurType(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNomClasseUtilisateur}}_oAllocation(E){E=void 0===E?this._voGetValeurPourAllocationSiUndefined():
443null===E?this._voGetValeurPourAllocationSiNull():E;return new q(E,this,[],!1)}_xoParcoursObjet(E,Q,J,N,Y,aa,da){function fa(oa){if(void 0===oa)return J();if(null===oa)return N();const Da=a.iGetAsBase(oa);return G(Da)?da(Da):Y(oa)}function ja(oa,Da){if(oa){const Ja=oa.vtGetValeurDirect();if(Ja){if(Da){Da=oa.viGetDescriptionType();const Qa=Q.tabTrouveClasseCommune(Da);if(void 0!==Qa)oa=Qa.length||oa.tabGetClassesDeBase().length?new q(Ja,Da,Qa,!1):oa;else return Q.xviGetValeurPourAffectationIncompatible(Da)}return da(oa)}}return N()}
444var ka=E.m_oValeur;if(void 0===ka)return J();if(null===ka)return N();if(ka instanceof O)return ja(new q(ka,ka.m_iDescriptionClasse,[],!1,void 0),!0);if(E=a.iGetAsRValue(ka,1)){if(ka=E.viGetAsTableau())return aa(ka);if(ka=E.viGetAsRValueType())switch(E.veGetTypeWL()){case 34:return aa(E.viGetAsTableau());case 36:return ja(e(ka),!1);case 37:return ja(e(ka),!0);case 124:return ja(e(ka.vtGetValeurDirect()),!0);default:if(!b.bIsObjetNatif(E))break;a.CDebug.s_Assert(!1,"bIsObjetNatif mais sans EWL.OBJET_JS");
445case 107:return fa(ka.vtGetValeurDirect())}}
445else{if(Array.isArray(ka))return aa(b.iNatif2RValue(ka).viGetAsTableau());if(a.NSUtil.bIsObject(ka))return fa(ka)}throw new a.CErreur(600);}tabTrouveClasseCommune(E){if(E.m_pfResolutionDefinitionsMembres===this.m_pfResolutionDefinitionsMembres)return[];let Q;E.m_pfResolutionDefinitionsClassesDeBase().bForEach(J=>{Q=this.tabTrouveClasseCommune(J.m_tDefinition.m_oDescriptionStatique);return void 0!==Q?(Q.unshift(J.m_sNomStandard),!1):!0});return Q}}class x extends I{vbStatique(){return!0}_xveVerifieCreation(E){if(!0===
446E.m_iOptions.m_bForceClone)return 0;switch(E.m_eAffectation){case 0:case 2:case 4:return 1;case 1:case 3:return 2}}_xveVerifieAffectation(E){switch(E.m_eAffectation){case 0:case 2:case 4:return 0;case 1:case 3:return 1}}_voGetValeurPourAllocationSiUndefined(){return new O(this)}}b.CDescriptionClasseStatiqueBase=x;class H extends x{_voGetValeurPourAllocationSiNull(){return null}xviGetValeurPourAffectationIncompatible(E){throw new a.CErreur(618,E.m_sNomClasseUtilisateur,this.m_sNomClasseUtilisateur);
447}_xvVerifieOperateur(E){}}class K extends I{vbStatique(){return!1}_voGetValeurPourAllocationSiUndefined(){return null}_voGetValeurPourAllocationSiNull(){return null}xviGetValeurPourAffectationIncompatible(E){return new R(this,E)}_xveVerifieCreation(E){if(!0===E.m_iOptions.m_bForceClone)return 0;switch(E.m_eAffectation){case 2:case 4:return 1;case 0:case 1:case 3:return 2}}_xveVerifieAffectation(E){switch(E.m_eAffectation){case 2:case 4:return 0;case 0:case 1:case 3:return 1}}}b.CDescriptionClasseDynamique=
448K;class ba{constructor(E,Q,J,N,Y,aa,da){E=h(E);Q=h(Q);this.m_oDescriptionStatique=new H(37,E,Q,J,N,Y,aa,da);this.m_oDescriptionDynamique=new K(37,E,Q,J,N,Y,aa,da)}}b.CDescriptionClasse=ba;class O{constructor(E){this.m_iDescriptionClasse=E;this.m_bNative=!1;const Q={},J={};k(E,function(N,Y){Q[N]=new O(Y)},function(N){J[N.m_sNomStandard]=N.m_tDefinition.viCreation(void 0,b.ms_pfSansAppelConstructeur)});this.m_tabClassesDeBase=Q;this.m_tabMembres=J}AppelDuConstructeur(E,Q,J){const N=E.m_pfConstructeur;
449if(N)N.apply(new q(this,E,[],!1,Q),J);else{a.CDebug.s_Assert(36===E.veGetTypeWL(),"Classe sans constructeur !!!");a.CDebug.s_Assert(0===J.length,"Structure (sans constructeur) mais appel\u00e9 avec des param\u00e8tres pour le constructeur");const Y=this.m_tabClassesDeBase,aa=this.m_tabMembres;k(E,function(da,fa){a.CDebug.s_Assert(Y.hasOwnProperty(da)&&void 0!==Y[da],"Classe de base pas encore allou\u00e9 dans vAppelDuConstructeur");Y[da].AppelDuConstructeur(fa,Q,[])},function(da){a.CDebug.s_Assert(aa.hasOwnProperty(da.m_sNomStandard),
450"Classe de base pas encore allou\u00e9 dans vAppelDuConstructeur");da=aa[da.m_sNomStandard];G(da)&&da.vAppelDuConstructeur()})}}}class q extends b.CTType{constructor(E,Q,J,N,Y){super(E,Q);this.m_tabClassesDeBase=J;this.m_bMethodesSansDerivees=N;this.m_sNomClasseForce=Y}valueOf(){function E(J,N,Y){J.hasOwnProperty(N)||Object.defineProperty(J,N,Y)}const Q=this.__oGetCopie(function(J,N,Y,aa,da,fa){E(N,aa,{enumerable:!0,get:function(){return J.viGetMembre2(aa,da,0,2).valueOf()},set:function(ja){J.viGetMembre2(aa,
451da,0,2).vSetValeur(ja,0,{})}})},function(J,N,Y){E(N,Y.m_sNomUtilisateur,{get:function(){return function(...aa){const da=J.viGetMembre2(Y.m_sNomUtilisateur,Y.m_sNomStandard,0,3);da.viAppelFonction.apply(da,aa)}}})},function(J,N,Y){E(N,Y.m_sNomUtilisateur,{get:function(){return J.viGetMembre2(Y.m_sNomUtilisateur,Y.m_sNomStandard,0,4).valueOf()},set:function(aa){J.viGetMembre2(Y.m_sNomUtilisateur,Y.m_sNomStandard,0,4).vSetValeur(aa,0,{})}})});return this._oPatchValueOf(Q)}toJSON(E=0){return this.__oGetCopie(function(Q,
452J,N,Y,aa,da){Q=Y;if(N)switch(N=N.voGetAttributSerialise(),typeof N){case "boolean":if(!N)return;break;case "string":Q=N}J[Q]=da.toJSON(E)},null,null)}viGetMembre2(E,Q,J,N=0){var Y=this.xiGetInstancePourDonnees();if(1===N){var aa=Y.m_iDescriptionClasse.m_sNomClasseLogique;if(aa&&Q===aa)return new z(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase,!0,this.m_sNomClasseForce)}if(aa=d(Y,E,Q,N,!0)){const da=this.oChaine(aa.m_tabClassesDeBase,this.m_bMethodesSansDerivees),fa=aa.m_sNomUtilisateur,
453ja=aa.m_sNomStandard;switch(aa.m_eTypeMembre){default:case 0:break;case 1:return new z(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat([ja]),!0,this.m_sNomClasseForce);case 2:return new D(da,fa,ja);case 3:return new L(da,fa,ja);case 4:return new T(da,fa,ja)}}return J===2&&(Y=g(Y,E,Q,N))?Y:super.viGetMembre2(E,Q,J,N)}viGetAsInterfacePossible(){return this}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType()}_viGetProprieteVM(E){switch(E){case 21:const Q=
454this.m_sNomClasseForce||this.m_iDescriptionType.m_sNomClasseUtilisateur;if(void 0!==Q)return a.NSUtil.oGetProprieteConstante(Q,16,0,E)}return super._viGetProprieteVM(E)}vAppelDuConstructeur(...E){a.CDebug.s_Assert(!!this.vtGetValeurDirect(),"CThis::vAppelDuConstructeur : l'instance doit \u00eatre allou\u00e9e.");if(this.vtGetValeurDirect()){const Q=this.xiGetInstancePourDonnees();Q.m_oInstanceDeClasse.AppelDuConstructeur(Q.m_iDescriptionClasse,this.m_sNomClasseForce||Q.m_iDescriptionClasse.m_sNomClasseUtilisateur,
455E)}}vSetValeur(E,Q,J){this.vSetValeur2(a.iGetValeurAffectation(E,Q,J))}vSetValeur2(E){a.NSOperations.bDansDeserialisation?(a.CDebug.s_Assert(4==E.m_eAffectation),this.xiGetInstancePourDonnees().m_iDescriptionClasse.viAffectation(this,E)):a.NSUtil.xVerifieAffectationAucune(E)}
455viGetDescriptionType(){return super.viGetDescriptionType()}oChaine(E,Q){return new q(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat(E),Q,this.m_sNomClasseForce)}iGetThisCompatible(E){const Q=this.viGetDescriptionType(),
456J=E.tabTrouveClasseCommune(Q);return void 0!==J?J.length?new q(this.vtGetValeurDirect(),Q,J,!1):this:E.xviGetValeurPourAffectationIncompatible(Q)}iResolutionGetMembre(E){return m(this.xiGetInstancePourDonnees(),E.m_sNomUtilisateur,E.m_sNomStandard,2,!0,function(Q,J){a.CDebug.s_Assert(E.m_sNomStandard===J,"xiResolutionGetMembre : sNomMembre !== sNomStandardEffectif !");return Q.m_oInstanceDeClasse.m_tabMembres[J]}).m_oMembre}ResolutionSetMembre(E,Q){const J=m(this.xiGetInstancePourDonnees(),E.m_sNomUtilisateur,
457E.m_sNomStandard,2,!0,function(da,fa){a.CDebug.s_Assert(E.m_sNomStandard===fa,"xResolutionSetMembre : sNomMembre !== sNomStandardEffectif !");return da.m_oInstanceDeClasse.m_tabMembres[fa]});var N=J.m_iEffectif;const Y=N.m_oInstanceDeClasse.m_tabMembres,aa=J.m_sNomStandardEffectif;N=N.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().oGetParNomStandard(aa);Y[aa]=N.viAffectation(J.m_oMembre,Q)}iResolutionGetMethode(E){const Q=this.__xiResolutionMethode(E.m_sNomUtilisateur,E.m_sNomStandard);return function(J){a.ms_oSymbolDepuisWLEnV2 in
458Q.m_oMembre&&(J[a.ms_oSymbolDepuisWLEnV2]=!0);J[a.ms_oSymbolFonctionOriginale]=Q.m_oMembre;return b.ms_DescriptionFonction.viCreationCopie(J,3)}(function(...J){return Q.m_oMembre.apply(Q.m_iThis,J)})}iResolutionGetPropriete(E){const Q=this.__xiResolutionPropriete(E.m_sNomUtilisateur,E.m_sNomStandard);if(Q.m_oMembre.m_pfGet)return a.NSValues.iAny2RValue(Q.m_oMembre.m_pfGet.apply(Q.m_iThis,[]));throw new a.CErreur(605,E.m_sNomUtilisateur);}ResolutionSetPropriete(E,Q){const J=this.__xiResolutionPropriete(E.m_sNomUtilisateur,
459E.m_sNomStandard);if(J.m_oMembre.m_pfSet)J.m_oMembre.m_pfSet.apply(J.m_iThis,[Q.m_oValeur]);else throw new a.CErreur(605,E.m_sNomUtilisateur);}xiGetInstancePourDonnees(){return p(this.__xiGetInstanceDeClasse(),this.m_tabClassesDeBase)}tabGetClassesDeBase(){return this.m_tabClassesDeBase}vxiVerifieInterface(E){E.m_tabDefinitionsMethodes.bForEach(Q=>{try{return this.__xiResolutionMethode(Q.m_sNomUtilisateur,Q.m_sNomStandard),!0}catch(J){throw new a.CErreur(905,this.viGetDescriptionType().m_sNomClasseUtilisateur,
460Q.m_sNomUtilisateur,E.m_sNomUtilisateur);}});E.m_tabDefinitionsProprietes.bForEach(Q=>{const J=Q.m_sNomUtilisateur;let N;try{N=this.__xiResolutionPropriete(J,Q.m_sNomStandard)}catch(Y){throw new a.CErreur(906,this.viGetDescriptionType().m_sNomClasseUtilisateur,J,E.m_sNomUtilisateur);}if(Q.m_tDefinition.m_bLecture&&null===N.m_oMembre.m_pfGet)throw new a.CErreur(907,J,this.viGetDescriptionType().m_sNomClasseUtilisateur,E.m_sNomUtilisateur);if(Q.m_tDefinition.m_bEcriture&&null===N.m_oMembre.m_pfSet)throw new a.CErreur(908,
461J,this.viGetDescriptionType().m_sNomClasseUtilisateur,E.m_sNomUtilisateur);return!0});return this}voGetValeurPourInterface(){return this.valueOf()}__xiGetInstanceDeClasse(){const E=this.vtGetValeurDirect();if(E)return{m_oInstanceDeClasse:E,m_iDescriptionClasse:this.m_iDescriptionType};throw new a.CErreur(615);}__xiResolutionMethode(E,Q){return this.__xiResolutionMethodeOuPropriete(function(J,N){return m(J,E,Q,3,N,function(Y,aa){a.CDebug.s_Assert(Q===aa,"xiResolutionMethode : sNomMethode !== sNomStandardEffectif !");
462return Y.m_iDescriptionClasse.m_tabDefinitionsMethodes.oGetParNomStandard(aa)})})}__xiResolutionPropriete(E,Q){return this.__xiResolutionMethodeOuPropriete(function(J,N){return m(J,E,Q,4,N,function(Y,aa){a.CDebug.s_Assert(Q===aa,"xiResolutionPropriete : sNomPropriete !== sNomStandardEffectif !");return Y.m_iDescriptionClasse.m_tabDefinitionsProprietes.oGetParNomStandard(aa)})})}__xiResolutionMethodeOuPropriete(E){if(!this.m_bMethodesSansDerivees){const Q=this.m_tabClassesDeBase,J=Q.length;let N=this.__xiGetInstanceDeClasse();
463for(let Y=0;Y<J;Y++){try{const aa=E(N,!1);a.CDebug.s_Assert(0===aa.m_tabClassesDeBase.length,"Probl\u00e8me (1) de recherche dans __xoResolutionMethodeOuPropriete");return{m_iThis:new q(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.slice(0,Y),!1),m_oMembre:aa.m_oMembre}}catch(aa){}N=p(N,[Q[Y]])}a.CDebug.s_Assert(N.m_oInstanceDeClasse===this.xiGetInstancePourDonnees().m_oInstanceDeClasse,"Probl\u00e8me (2) de recherche dans __xoResolutionMethodeOuPropriete")}E=E(this.xiGetInstancePourDonnees(),
464!0);return{m_iThis:this.oChaine(E.m_tabClassesDeBase,!1),m_oMembre:E.m_oMembre}}__oGetCopie(E,Q,J){function N(aa,da,fa){const ja=da.m_iDescriptionClasse;a.NSUtil.bForEachIn(da.m_tabClassesDeBase,function(ka,oa){N(aa.oChaine([ka],!1),oa,fa);return!0});a.NSUtil.bForEachIn(da.m_tabMembres,function(ka,oa){const Da=ja.m_pfResolutionDefinitionsMembres();E(aa,fa,Da.oGetParNomStandard(ka),Da.sGetNomUtilisateur(ka),ka,oa);return!0});Q&&ja.m_tabDefinitionsMethodes.bForEach(function(ka){Q(aa,fa,ka);return!0});
465J&&ja.m_tabDefinitionsProprietes.bForEach(function(ka){J(aa,fa,ka);return!0});return fa}const Y=this.vtGetValeurDirect();return null===Y?null:N(this,Y,{})}}class z extends q{}class R extends b.CErreurCast{constructor(E,Q){super(E);this.m_iDescriptionClasseSource=Q}vAppelDuConstructeur(...E){this._vxoThrowErreur()}oChaine(E,Q){this._vxoThrowErreur()}iGetThisCompatible(E){this._vxoThrowErreur()}iResolutionGetMembre(E){this._vxoThrowErreur()}ResolutionSetMembre(E,Q){this._vxoThrowErreur()}iResolutionGetMethode(E){this._vxoThrowErreur()}iResolutionGetPropriete(E){this._vxoThrowErreur()}ResolutionSetPropriete(E,
466Q){this._vxoThrowErreur()}xiGetInstancePourDonnees(){this._vxoThrowErreur()}tabGetClassesDeBase(){this._vxoThrowErreur()}_vxoThrowErreur(){throw new a.CErreur(618,this.m_iDescriptionClasseSource.m_sNomClasseUtilisateur,this.viGetDescriptionType().m_sNomClasseUtilisateur);}}
466class u extends a.NSUtil.CWrapperValue{constructor(E,Q,J){super();this.m_iThis=E;this.m_sNomUtilisateur=Q;this.m_sNomStandard=J}}class D extends u{viGetRValue(E){return this.__iGetMembre()}vSetValeur2(E){this.m_iThis.ResolutionSetMembre(this,
467E)}vAppelDuConstructeur(...E){const Q=this.__iGetMembre();G(Q)&&Q.vAppelDuConstructeur.apply(Q,E)}__iGetMembre(){return this.m_iThis.iResolutionGetMembre(this)}}class L extends u{viGetRValue(E){return this.m_iThis.iResolutionGetMethode(this)}vSetValeur2(E){a.NSUtil.xVerifieAffectationAucune(E)}}class T extends u{viGetRValue(E){return this.m_iThis.iResolutionGetPropriete(this)}vSetValeur2(E){this.m_iThis.ResolutionSetPropriete(this,E)}}b.iGetThis=e;b.xoAllocationDynamique=function(E,Q){const J=String(E);
468E=J.split(".").reduce((N,Y)=>{try{return N[Y]}catch(aa){}},window);if(E instanceof ba)return E.m_oDescriptionStatique.viCreation(void 0,Q);if(E instanceof Function)return Q=Q().map(N=>a.NSValues.oAny2Natif(N)),Q.unshift(null),new (Function.prototype.bind.apply(E,Q));throw new a.CErreur(605,J);}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
469(function(a){(function(b){function h(f,d,c){if(f){a.NSUtil.xVerifieAffectationReference(f);const g=b.iGetThis(f.m_oValeur);if(g)return!0===c?g.viGetDescriptionType().viCreation(f,d):g}return b.ms_DescriptionObjetNatif.viCreation(f,d)}class B extends b.CDescriptionClasseStatiqueBase{_voGetValeurPourAllocationSiNull(){throw new a.CErreur(600);}xviGetValeurPourAffectationIncompatible(f){throw new a.CErreur(600);}_xveVerifieCreation(f){a.NSUtil.xVerifieAffectationCopie(f);return super._xveVerifieCreation(f)}_xveVerifieAffectation(f){a.NSUtil.xVerifieAffectationCopie(f);
470return super._xveVerifieAffectation(f)}}class y extends b.CDescriptionClasseDynamique{xviGetValeurPourAffectationIncompatible(f){throw new a.CErreur(600);}}class p{constructor(f,d,c){f=b.pfResolutionDefinitions(f);this.m_oDescriptionStatique=new B(36,null,f,null,null,null,d,c);this.m_oDescriptionDynamique=new y(36,null,f,null,null,null,d,c)}}b.CDescriptionStructure=p;class m extends b.CTDescriptionType{constructor(){super(37,void 0)}viCreation(f,d){return h(f,d,f===null||f===void 0?void 0:f.m_iOptions.m_bForceClone)}viAffectation(f,
471d){this._xVerificationValeur(d);switch(d.m_eAffectation){default:case 0:case 1:case 3:return h(d,void 0,!1);case 2:case 4:return f.viGetDescriptionType().viAffectation(f,d)}}}b.ms_DescriptionObjetDynamique=new m})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));(function(a){a=a.NSTypes||(a.NSTypes={});a.ms_DescriptionVariant=new a.CDescriptionObjetNatif(31,1,a.CDescriptionObjetNatif.s_oCastVariant);a.ms_DescriptionTableauVariant=new a.CDescriptionTableauNatif(1)})(NSPCS||(NSPCS={}));
472(function(a){})(NSPCS||(NSPCS={}));
473(function(a){(function(b){function h(k){void 0==k&&(k=new Date,f&&k.setTime(f.getTime()));return{m_oDate:k,m_sValeurInvalide:null}}function B(k){switch(k){case 24:case 26:return!0;default:return!1}}function y(k){switch(k){case 25:case 26:return!0;default:return!1}}function p(k,n,C){k=a.NSUtil.sCorrigeDateHeureDeserialisation(k,C);switch(a.NSUtil.eSetDateHeureFromWL(n,k,!1,C,1)){case 0:y(C)&&(k=m(k,C));if(k==a.NSUtil.sGetDateHeureWL(n,!1,C))return!0;break;case 1:return!0}return!1}function m(k,n){n=
474B(n)?17:9;return a.NSUtil.sCompleteChaine(k.substring(0,n),n,"0")}let f=null;b.SetDateHeureDefaut=function(k,n){const C=new Date;f=void 0!==k&&void 0!==n&&p(String(k)+String(n),C,26)?C:null};class d extends b.CTDescriptionTypeSimple{constructor(k){super(k,n=>{const C=n.m_oValeur;n=void 0!==C?this.__oCreeDate(C,n.m_iOptions.m_bAvecErreur):h();24==this.veGetTypeWL()&&n.m_oDate.setHours(0,0,0,0);return n},void 0,!1)}viCreation(k,n){let C;if(k){n=k.m_oValeur;const v=k.m_eAffectation;this._xVerificationValeur(k);
475switch(v){case 3:case 1:if(k=a.iGetAsRValue(n,1)){if(k&&(k instanceof c||void 0!==k.__xDateValide)){a.CDebug.s_Assert(k.bDateValide());C=k.vtGetValeurDirect();break}}else if(n instanceof Date){C=h(n);break}case 0:case 2:case 4:C=this.m_pfCast(a.iGetValeurAffectation(n,v,{m_bAvecErreur:!1}))}}return this._voAllocation(C)}_voAllocation(k=h()){return new c(k,this)}__oCreeDate(k,n){let C=h(),v=!0;switch(typeof k){case "string":v=this.__bChaine2DateHeure(k,C);break;case "number":v=this.__bNombre2DateHeure(k,
476C);break;case "object":v=this.__bObjet2DateHeure(k,C)}if(!v){if(n&&""!==k)throw new a.CErreur(204);
476C.m_sValeurInvalide=k&&(k instanceof c||void 0!==k.__xDateValide)?k.vtGetValeurDirect().m_sValeurInvalide:String(k)}return C}__bChaine2DateHeure(k,n){return p(k,n.m_oDate,this.veGetTypeWL())}sFormateDateHeure(k){return this.__bHeure()?m(k,this.veGetTypeWL()):k.substring(0,8)}__bNombre2DateHeure(k,n){n=n.m_oDate;switch(this.veGetTypeWL()){case 24:let C=n.getHours()*36E5+n.getMinutes()*6E4+n.getSeconds()*
4771E3+n.getMilliseconds();n.setTime((k-62092)*864E5+C);return!0;case 25:if(864E4<=k)return!1;n.setHours(Math.floor(k/36E4),Math.floor(k%36E4/6E3),Math.floor(k%6E3/100),k%100*10);return!0;default:a.CDebug.s_Assert(!1,"Type de date/heure/dateheure invalide.");case 26:return!1}}__bObjet2DateHeure(k,n){var C=n.m_oDate;const v=a.iGetAsRValue(k,1);if(v){switch(v.veGetTypeWL()){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:return this.__bNombre2DateHeure(v.vnToNumber(0),
478n);case 16:case 19:return this.__bChaine2DateHeure(String(k),n);case 24:case 25:case 26:case 128:case 129:C=v.viGetAsRValueType();
478a.CDebug.s_Assert(!!C,"La valeur interne doit \u00eatre un CDateHeure");if(C)return k=new Date,k.setTime(C.vtGetValeurDirect().m_oDate.getTime()),n.m_oDate=k,n.m_sValeurInvalide=C.vtGetValeurDirect().m_sValeurInvalide,null===n.m_sValeurInvalide;break;case 107:n=v.valueOf();if(n instanceof Date)return this.__bDateNative2DateHeure(n,C);break;case 109:case 111:return this.__bChaine2DateHeure(v.toString(),
479n)}return!1}return k instanceof Date?this.__bDateNative2DateHeure(k,C):"undefined"!=typeof clWLangage&&k instanceof clWLangage.WDDateHeure?this.__bChaine2DateHeure(k.toStringAvecInvalide(),n):!1}__bDateNative2DateHeure(k,n){switch(this.veGetTypeWL()){case 24:n.setFullYear(k.getFullYear(),k.getMonth(),k.getDate());break;case 25:n.setHours(k.getHours(),k.getMinutes(),k.getSeconds(),k.getMilliseconds());break;case 26:n.setTime(k.getTime())}return!0}__bHeure(){return y(this.veGetTypeWL())}}b.ms_DescriptionDate=
480new d(24);b.ms_DescriptionHeure=new d(25);b.ms_DescriptionDateHeure=new d(26);class c extends b.CTType{constructor(k,n){super(k,n);a.CDebug.s_Assert(24===this.veGetTypeWL()||25===this.veGetTypeWL()||26===this.veGetTypeWL(),"Type de date/heure/dateheure invalide.")}toString(){if(""===this.m_tValeur.m_sValeurInvalide)return this.__sGetValeurInvalide();this.__xDateValide();return this.__sToString()}vnToNumber(k){this.__xDateValide();k=this.m_tValeur.m_oDate;switch(this.veGetTypeWL()){case 24:let n=k.getTimezoneOffset();
481k.getFullYear()<1960&&(n+=n<0?-1:1);return Math.floor((k.getTime()-n*6E4)/864E5)+62092;case 25:return a.NSOperations.nArrondiVersZero((k.getHours()*36E5+k.getMinutes()*6E4+k.getSeconds()*1E3+k.getMilliseconds())/10);default:case 26:return 0}}valueOf(){return this.toString()}viGetIntervalle(k,n,C){return new b.CIntervalleChaine(this,k,n,C)}_viGetProprieteVM(k){switch(k){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return new g(this,k);default:return super._viGetProprieteVM(k)}}vsGetChaine(){return this.toString()}xvSetChaine(k){throw new a.CErreur(602,
482"[[ ]]");}__sToString(){return a.NSUtil.sGetDateHeureWL(this.m_tValeur.m_oDate,!1,this.veGetTypeWL())}sToStringAvecInvalide(){return this.bDateValide()?this.__sToString():this.__sGetValeurInvalide()}__sGetValeurInvalide(){return this.m_iDescriptionType.sFormateDateHeure(this.m_tValeur.m_sValeurInvalide)}__bDate(){return B(this.veGetTypeWL())}__bHeure(){return y(this.veGetTypeWL())}bDateValide(){return null===this.m_tValeur.m_sValeurInvalide}__xDateValide(){if(!this.bDateValide())throw new a.CErreur(204);
483}oAdditionOffset(k){this.__xDateValide();switch(this.veGetTypeWL()){case 24:k=a.NSOperations.nArrondiVersZero(k/864E5)*864E5;break;case 25:k-=a.NSOperations.nArrondiVersZero(k/864E5)*864E5}let n=new Date;n.setTime(this.m_tValeur.m_oDate.getTime()+k);k=this.m_iDescriptionType.viCreation();k.vSetValeurDirect({m_oDate:n,m_sValeurInvalide:null});return k}oSoustractionDate(k){this.__xDateValide();k.__xDateValide();const n=this.m_tValeur.m_oDate;k=k.m_tValeur.m_oDate;return new b.CDuree(n.getTime()-k.getTime()-
484(n.getTimezoneOffset()-k.getTimezoneOffset())*6E4)}oSoustractionDuree(k){return this.oAdditionOffset(-k.vnToNumber(0))}oGetDatePourPropriete(k){this.__xDateValide();switch(k){case 0:case 1:case 2:case 7:this.__bDate()||a.xThrow603(0,k);break;case 3:case 4:case 5:case 6:case 8:this.__bHeure()||a.xThrow603(0,k)}return this.m_tValeur.m_oDate}}class g extends a.NSUtil.CProprieteMultiple{viGetRValue(k){k=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);switch(this.m_ePropriete){default:case 0:k=
485k.getFullYear();break;case 1:k=k.getMonth()+1;break;case 2:k=k.getDate();break;case 3:k=k.getHours();break;case 4:k=k.getMinutes();break;case 5:k=k.getSeconds();break;case 6:k=k.getMilliseconds();break;case 7:return b.ms_DescriptionDate.viCreationCopie(k,1);case 8:return b.ms_DescriptionHeure.viCreationCopie(k,1)}return b.ms_DescriptionI4.viCreationCopie(k,0)}vSetValeur2(k){const n=k.m_oValeur;let C=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);k=k.m_iOptions.m_bCombine;let v;switch(this.m_ePropriete){case 0:v=
486C.getDate();C.setFullYear(this.__nGetValeurDansBornes(n,0,9999,k));break;case 1:v=C.getDate();C.setMonth(this.__nGetValeurDansBornes(n,1,12,k)-1);break;case 2:var M=C.getMonth();C.setDate(this.__nGetValeurDansBornes(n,1,31,k));k||M==C.getMonth()||C.setDate(0);break;case 3:C.setHours(this.__nGetValeurDansBornes(n,0,23,k));break;case 4:C.setMinutes(this.__nGetValeurDansBornes(n,0,59,k));break;case 5:C.setSeconds(this.__nGetValeurDansBornes(n,0,59,k));break;case 6:C.setMilliseconds(this.__nGetValeurDansBornes(n,
4870,999,k));break;case 7:k=C.getHours();M=C.getMinutes();var G=C.getSeconds();const e=C.getMilliseconds();b.ms_DescriptionDate.viAffectation(this.m_tParent,a.iGetValeurAffectation(n,0,{m_bAvecErreur:!0}));C=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);C.setMilliseconds(e);C.setSeconds(G);C.setMinutes(M);C.setHours(k);break;case 8:k=C.getFullYear(),M=C.getMonth(),G=C.getDate(),b.ms_DescriptionHeure.viAffectation(this.m_tParent,a.iGetValeurAffectation(n,0,{m_bAvecErreur:!0})),C=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete),
488C.setFullYear(k,M,G)}void 0!==v&&C.getDate()!=v&&(C.setDate(0),a.CDebug.s_Assert(C.getDate()<v,"Echec du replacement"))}__nGetValeurDansBornes(k,n,C,v){k=parseInt(String(k),10);if(!v){if(k<n)return n;if(C<k)return C}return k}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
489(function(a){(function(b){function h(u,D){const L=u.length-1,T=[];(function aa(N,Y){const da=Y.length;a.CDebug.s_Assert(void 0===T[N]||da===T[N],"__xiConstruitPseudoTableauPourDeserialisation : Dimensions variables.");T[N]=Math.max(T[N]||0,da);N<L&&Y.forEach(function(fa){if(!Array.isArray(fa))throw new a.CErreur(601);aa(N+1,fa)})})(0,D);const E=Array(p(T));let Q=0;
489(function da(Y,aa){Y<L?aa.forEach(function(fa){da(Y+1,fa)}):(E.splice(Q,aa.length,...aa),Q+=T[Y])})(0,D);return{tabGetDimensions:function(){return T},
490tabGetValeurs:function(){return E},bEstNull:function(){return!1}}}function B(u){return 0<u.length?u.map(function(D){D=a.NSUtil.nGetEntier(D,0);if(D<0)throw new a.CErreur(209);return D}):[0]}function y(u,D){if(u.length!=D.nGetNbDimensions())throw new a.CErreur(601);}function p(u){return u.reduce(function(D,L){return D*L})}function m(u){return u.reduce(function(D,L,T){return 0==T?1:D*L},1)}function f(u,D){a.CDebug.s_Assert(u.length==D.length,"__nGetIndiceAPlat : tabDimensions.lenght <> tabIndicesC.length");
491var L=u.length;let T=0,E=1;for(--L;0<=L;L--){const Q=u[L];T+=D[L]*E;E*=Q}return T}function d(u,D,L,T){const E=u&15;u&=-16;if(void 0===D)return r(L,1),c(E,u,T);D=a.NSValues.oAny2Natif(D);switch(E){case 3:return r(L,2),k(u,String(D),L,T);case 4:return r(L,1),n(u,String(D),T);case 5:return r(L,1),C(u,D,T);default:return r(L,2),v(u,[[a.NSUtil.xnGetIndiceC(D,L[1],0,NaN),2!=E]],T)}}function c(u,D,L){u=G(u,D,L,T=>T.valueOf());return{m_pfComplet:l,m_pfComparaisonLigne:g(u),m_pfComparaison:u}}function g(u){return function(D,
492L,T,E){return u(D[T],D[E])}}function k(u,D,L,T){const E=void 0!==L[1]?L[1]:1;D=D.split(";").map(function(Q){let J=!0;switch(Q.charAt(0)){case "-":J=!1;case "+":Q=Q.substring(1)}return[a.NSUtil.xnGetIndiceC(parseInt(Q,10),E,0,NaN),J]});return v(u,D,T)}function n(u,D,L){D=D.split(";").map(function(T){let E=!0;switch(T.charAt(0)){case "-":E=!1;case "+":T=T.substring(1)}return[T.split("."),E]});u=M(u,D,function(T,E){return E.reduce(function(Q,J){return Q.viGetMembre(J,!1,void 0)},T)},L,L);return{m_pfComplet:l,
493m_pfComparaisonLigne:g(u),m_pfComparaison:u}}function C(u,D,L){u=function(T,E){return D(L(T),L(E))};return{m_pfComplet:l,m_pfComparaisonLigne:g(u),m_pfComparaison:u}}function v(u,D,L){function T(Q,J,N){const Y=Array(N);for(let aa=0,da=J*N;aa<N;aa++,da++)Y[aa]=Q[da];return Y}const E=M(u,D,function(Q,J){return L(Q[J])},L,function(Q){return Q});return{m_pfComplet:function(Q,J,N){N=J[0];J=void 0!==J[1]?J[1]:1;const Y=Array(N);for(var aa=0;aa<N;aa++)Y[aa]=T(Q,aa,J);Y.sort(E);aa=0;for(let da=0;da<N;da++){const fa=
494Y[da];for(let ja=0;ja<J;ja++,aa++)Q[aa]=fa[ja]}},m_pfComparaisonLigne:function(Q,J,N,Y){J=void 0!==J[1]?J[1]:1;return E(T(Q,N,J),T(Q,Y,J))},m_pfComparaison:function(Q,J){a.CDebug.s_Assert(!1,"m_pfComparaison dans __oGetTriColonne");return 0}}}function M(u,D,L,T,E){const Q=G(0,u,T,J=>J.valueOf());return function(J,N){let Y=0;const aa=E(J),da=E(N);D.every(function(fa){var ja=fa[0];ja=Q(L(aa,ja),L(da,ja));return 0!=ja?(Y=fa[1]?ja:-ja,!1):!0});return Y}}function G(u,D,L,T){function E(J){J=T(L(J));D&65536&&
495(J=a.NSUtil.sSupprimeEspacesDebutFin(String(J)));D&1048576&&(J=String(J).toUpperCase());D&16777216&&(J=a.NSUtil.sSupprimeEspacesInterieur(String(J)));return J}function Q(J,N){return a.NSUtil.nCompareAny(E(J),E(N))}a.CDebug.s_Assert(0==u||1==u||2==u);return 2!==u?Q:function(J,N){return Q(N,J)}}function e(u){let D=void 0;return function(L){void 0!==L?L=a.NSValues.iAny2RValue(L):(void 0===D&&(D=u.iCreationSousElement()),L=D);return L}}function l(u,D,L){u.sort(L)}function r(u,D){if(D<u.length)throw new a.CErreur(2==
496D?212:211,"Trie()/TableauTrie","Sort()/ArraySort");}function I(u,D,L,T){var E=D;D=0;let Q=E-1,J=0;for(;D<=Q;){if(T&&0<T(u[D],u[Q]))throw new a.CErreur(207);const N=Math.floor(E/2);if(0!=N){const Y=N&1?N:N-1,aa=D+Y;E=L(u,aa);if(0==E){J+=Y;break}else 0<E?(Q=aa-1,E=Y):(J+=Y+1,D=aa+1,E=N)}else{0<E&&L(u,D)<0&&J++;break}}return J}function x(u,D,L,T){var E=u.viGetAsTableauType();if(!E)throw new a.CErreur(601);var Q=E.tabGetDimensions();const J=Q[0];(new z(D)).SupprimeTout();u=a.NSUtil.xnGetIndiceC(L,J,0,
4971);L=a.NSUtil.nGetEntier(T,J-u);if(L<0||J-u<L)throw new a.CErreur(200,u+a.NSUtil.nGetEntier(T,NaN),J);Q=Q.slice();Q[0]=L;D.xRedimensionne(Q);T=E.tabGetValeurs();E=m(Q);u*=E;L*=E;for(E=0;E<L;E++)try{D.iGetSousElementIndice(E).vSetValeur(T[u+E],4,{})}catch(N){}}function H(u,D,L){const T=u.tabGetValeurs();u=u.nGetDimension0Pas();D=T.splice(D,u);T.splice(L,0,...D)}function K(u,D,L){u=u.tabGetValeurs();const T=u[L];u[L]=u[D];u[D]=T}class ba extends b.CTDescriptionType{constructor(u,D,L,T,E=34,Q=O){super(E,
498void 0);this.m_iDescriptionElement=u;this.tabDimensions=D;this.m_eModeAgrandissement=T;this.m_pfConstructeur=Q;this.m_bReferenceDirecteSurCopie=!!(L&1);this.m_bDynamique=!!(L&2);this.m_tabDimensions=B(D)}viCreation(u,D){D=p(this.m_tabDimensions);D=new this.m_pfConstructeur(this.m_bDynamique&&0==D?null:Array(D),this);return u?this.__xCreationOuAffectation(D,u):D}viAffectation(u,D){return this.__xCreationOuAffectation(u,D)}vxVerifieCompatibilitePassageParAdresse(u,D){super.vxVerifieCompatibilitePassageParAdresse(u,
499D);u=u.viGetAsTableau();y(this.m_tabDimensions,u)}voJSONDebogueurType(u=this.m_tabDimensions){var D=this.m_iDescriptionElement;D=D?D:b.ms_DescriptionBooleen;return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:u,m_bDynamique:this.m_bDynamique,m_oTypeSousElement:D.voJSONDebogueurType()}}iCreationSousElement(){const u=this.m_iDescriptionElement;if(u)return u.viCreation();throw new a.CErreur(215);}iAffectationSousElement(u,D){const L=this.m_iDescriptionElement;if(L)return L.viAffectation(u,D);throw new a.CErreur(215);
500}xVerifieCompatibilitePourCopie(u){if(u&&(u instanceof O||u.__Redimensionnement)){const D=this.m_iDescriptionElement;u=u.m_iDescriptionType.m_iDescriptionElement;if(D)if(u){if(u.veGetTypeWL()!==D.veGetTypeWL()&&this.m_bReferenceDirecteSurCopie)throw new a.CErreur(601);}else throw new a.CErreur(215);}}__xCreationOuAffectation(u,D){var L=D.m_oValeur;if(L){if(!u||!(u instanceof O||u.__Redimensionnement))throw new a.CErreur(0);var T=u.tabGetDimensions();let E=!1;if(Array.isArray(L))D=h(T,L),E=a.NSOperations.bDansDeserialisation;
501else if(T=a.NSValues.iAny2RValue(L),L=T.viGetAsTableau()){if(T=L.viGetAsTableauType()){if(T===u)return u;y(u.tabGetDimensions(),L);switch(D.m_eAffectation){case 0:if(!this.m_bReferenceDirecteSurCopie||b.bIsTableauNatif(L)||D.m_iOptions.m_bForceCopiePronfondeurTableau)break;case 1:case 3:return T}D=T}else throw new a.CErreur(601);this.m_iDescriptionElement||(this.m_iDescriptionElement=L.iGetDe
501scriptionElement())}else{const Q=(D=T.viGetAsRValueType())?D.vtGetValeurDirect():null;if(a.NSUtil.bIsObjectArray(Q))D=
502{tabGetDimensions:function(){return[Q.length]},tabGetValeurs:function(){return Q},bEstNull:function(){return!1}};else throw new a.CErreur(601);}u.Remplace(D,E)}return u}}b.CDescriptionTableau=ba;class O extends b.CTType{constructor(u,D){super(u,D);this.m_oTri=void 0;this.m_tabDimensions=D.m_tabDimensions.slice();this.m_oTableauCherche=new R(this,e(D))}valueOf(){return this.__oVersNatif(a.NSValues.oAny2Natif)}toJSON(u=0){return this.__oVersNatif(D=>D.toJSON(u))}viGetSousElement(u,D){const L=this.m_tabDimensions.length,
503T=this.__xnGetIndicePlat(u,D,this.m_iDescriptionType.m_eModeAgrandissement);return a.NSUtil.iChaineSousElement(this.iGetSousElementIndice(T),u+L,D)}viGetAsTableau(){return this}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())}_viGetProprieteVM(u){switch(u){case 23:return a.NSUtil.oGetProprieteSimple(()=>this.nGetNbElements(),null,8,0,u);default:return super._viGetProprieteVM(u)}}xiGetTableauCherche(){return this.m_oTableauCherche}xiGetTableauTri(){return this}xiGetTableauSupprime(){return new z(this)}xRedimensionne(u){if(u.length!=
504this.m_tabDimensions.length)throw new a.CErreur(210);this.__Redimensionnement(u)}nAjouteLigne(u){const D=this.m_tabDimensions[0];this.__AjouteInsereLigne(D,u);return D}xCopieDepuis(u,D,L){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(u);x(u,this,D,L)}DeplaceLigne(u,D){H(this,u,D)}Echange(u,D){K(this,u,D)}eTypeElement(){const u=this.iGetDescriptionElement();return u?u.veGetTypeWL():0}bDynamique(){return this.m_iDescriptionType.m_bDynamique}Insere(u,D){const L=this.tabGetDimensions();var T=
505null;if(Array.isArray(D))T=h(L,D);else{var E=a.NSValues.iAny2RValue(D).viGetAsTableau();E&&(T=E.viGetAsTableauType())}if(T&&(E=T.tabGetDimensions(),E.length==L.length)){D=E[0];T=T.tabGetValeurs();E=m(E);for(let Q=u,J=0;J<D;Q++,J++)this.__AjouteInsereLigne(Q,T,J*E);return}this.__AjouteInsereLigne(u,[D])}InsereLigne(u,D){this.__AjouteInsereLigne(u,D)}eGetModeAgrandissement(){return 1}nGetNbDimensions(){return this.m_tabDimensions.length}nGetUneDimension(u){return this.m_tabDimensions[u]}nGetNbElements(){return(this.m_tValeur||
506[]).length}nGetDimension0Pas(){return m(this.m_tabDimensions)}iGetSousElementIndice(u){return new q(this,u)}iGetDescriptionElement(){return this.m_iDescriptionType.m_iDescriptionElement}viGetAsTableauType(){return this}tabGetDimensions(){return this.m_tabDimensions}tabGetValeurs(){null===this.m_tValeur&&(this.m_tValeur=[]);return this.m_tValeur}bEstNull(){return null===this.m_tValeur}nAjouteTrie(u){var D=this.m_tabDimensions;if(!this.m_oTri||!this.m_oTri.m_pfComparaison)throw new a.CErreur(207);const L=
507this.m_oTri.m_pfComparaison,T=a.NSValues.iAny2RValue(u);D=I(this.tabGetValeurs(),D[0],function(E,Q){return L(E[Q],T)},L);this.Insere(D,u);return D}SupprimeDoublon(u,D){const L=this.tabGetValeurs(),T=this.tabGetDimensions(),E=T[0],Q=d(u,D,T,e(this.m_iDescriptionType));u=Array(E);for(D=0;D<E;D++)u[D]=D;u.sort(function(J,N){return Q.m_pfComparaisonLigne(L,T,J,N)});for(D=0;D<E;){const J=u[D];u[D]=-1;for(D++;D<E&&0==Q.m_pfComparaisonLigne(L,T,J,u[D]);D++);}u.sort(function(J,N){return J-N});a.NSUtil.bForEachInverse(u,
508J=>-1!=J?((new z(this)).nSupprime(J),!0):!1)}Trie(u,D){u=d(u,D,this.m_tabDimensions,e(this.m_iDescriptionType));u.m_pfComplet(this.tabGetValeurs(),this.m_tabDimensions,u.m_pfComparaison);this.m_oTri=u}Remplace(u,D){const L=this.tabGetDimensions(),T=u.tabGetDimensions();if(u.bEstNull())T.forEach(function(Y,aa){L[aa]=Y}),this.m_tValeur=null;else{var E=this.m_iDescriptionType,Q=E.m_iDescriptionElement,J=D||E.m_bDynamique,N=E.m_tabDimensions;D=T.map(function(Y,aa){return J?(aa=N[aa],0<aa?Math.max(Y,aa):
509Y):Math.max(Y,L[aa])});this.__Copie(D,T,u.tabGetValeurs(),function(Y){if(void 0!==Y)return(Q||b.iGetDescriptionDepuisValue(Y)).viCreationCopie(Y,0)})}}iGetValeurSousElement(u){const D=this.tabGetValeurs();if(0<=u&&u<D.length){let L=D[u];void 0===L&&(D[u]=L=this.m_iDescriptionType.iCreationSousElement());return L}throw new a.CErreur(605,u+1);}SetValeurSousElement(u,D){const L=this.iGetValeurSousElement(u);this.tabGetValeurs()[u]=this.m_iDescriptionType.iAffectationSousElement(L,D)}__xnGetIndicePlat(u,
510D,L){const T=this.m_tabDimensions;var E=T.length;const Q=0!=L,J=D.length-u;if(J<E)throw new a.CErreur(208,E,J);const N=T.map(function(Y,aa){return a.NSUtil.xnGetIndiceC(D[u+aa],Y,L,0)});if(Q){let Y=!1;E=T.map(function(aa,da){da=N[da];return aa<=da?(Y=!0,da+1):aa});Y&&this.__Redimensionnement(E)}return f(T,N)}__Redimensionnement(u){a.CDebug.s_Assert(this.m_tabDimensions.length==u.length,"CTableau::__Redimensionnement : this.m_tabDimensions.length <> tabDimensionsNouvelles.length");this.__Copie(u,this.m_tabDimensions,
511this.tabGetValeurs(),function(D){return D})}__Copie(u,D,L,T){const E=u.length,Q=Array(p(u)),J=Array(E);(function da(aa){const fa=Math.min(u[aa],D[aa]);if(E-1===aa){J[aa]=0;aa=f(u,J);var ja=f(D,J);for(let ka=0;ka<fa;ka++,aa++,ja++)Q[aa]=T(L[ja])}else for(ja=0;ja<fa;ja++)J[aa]=ja,da(aa+1)})(0);this.m_tValeur=Q;const N=this.m_tabDimensions;u.forEach(function(aa,da){N[da]=aa})}__AjouteInsereLigne(u,D,L=0){var T=this.m_tabDimensions,E=this.tabGetValeurs(),Q=m(T);u*=Q;const J=D.length;T[0]++;E.splice(u,
5120,...Array(Q));T=Math.min(E.length,Q);for(E=0;E<T;E++){Q=E+L;let N;Q<J?(Q=D[Q],N=0):(Q=this.m_iDescriptionType.iCreationSousElement(),N=3);this.SetValeurSousElement(u+E,a.iGetValeurAffectation(Q,N,{}))}}__oVersNatif(u){const D=this.m_tValeur;if(D){const L=this.m_tabDimensions;let T=0;const E=Q=>{const J=L[Q],N=Array(J),Y=Q+1;Q=Y<L.length?function(){return E(Y)}:()=>{var aa=D[T++];aa=void 0!==aa?aa:this.m_iDescriptionType.iCreationSousElement();return u(aa)};for(let aa=0;aa<J;aa++)N[aa]=Q();return N};
513return E(0)}return this.m_iDescriptionType.m_bReferenceDirecteSurCopie?null:[]}}b.CTableau=O;class q extends a.NSUtil.CTSousElementWrapper{constructor(u,D){super(u);this.m_nIndicePlat=D}viGetRValue(u){return this.m_tParent.iGetValeurSousElement(this.m_nIndicePlat)}vSetValeur2(u){return this.m_tParent.SetValeurSousElement(this.m_nIndicePlat,u)}}b.tabGetDimensionsEffectives=B;b.pfGetTriComparaisonAvecOptions=G;b.TableauCopie=x;b.TableauDeplaceLigne=H;b.TableauEchange=K;class z{constructor(u){this.m_iTableau=
514u}nSupprime(u){const D=this.m_iTableau.tabGetDimensions(),L=m(D);this.m_iTableau.tabGetValeurs().splice(u*L,L);D[0]--;return L}SupprimeTout(){this.m_iTableau.tabGetDimensions()[0]=0;this.m_iTableau.tabGetValeurs().length=0}}b.CTableauSupprime=z;class R{constructor(u,D){this.m_iTableau=u;this.m_pfGetSousElementValide=D;this.m_nPositionCourante=void 0}nCherche(u,D){var L=a.NSUtil.nGetEntier(u,2);u=L&15;const T=G(0,L&-16,this.m_pfGetSousElementValide,a.NSValues.oAny2Natif);let E;if(2<=this.m_iTableau.nGetNbDimensions()){const Q=
515String(D[0]).split(";").map(function(N,Y){return[a.NSUtil.nGetEntier(N,1)-1,D[1+Y]]});E=D[Q.length+1];const J=this.m_iTableau.nGetDimension0Pas();L=function(N,Y){const aa=Y*J;return Q.reduce(function(da,fa){0==da&&(da=T(N[aa+fa[0]],fa[1]));return da},0)}}else{const Q=D[0];L=this.m_iTableau.iGetDescriptionElement();if(!L||36!=L.veGetTypeWL()&&37!=L.veGetTypeWL())E=D[1],L=function(J,N){return T(J[N],Q)};else{const J=b.iGetThis(Q);if(J)L=function(N,Y){return a.NSValues.iAny2RValue(N[Y]).viGetAsRValueType().vtGetValeurDirect()===
516J.vtGetValeurDirect()?0:-1};else{const N=String(D[0]).split(";").map(function(Y,aa){return[Y,D[1+aa]]});E=D[N.length+1];L=function(Y,aa){const da=a.NSValues.iAny2RValue(Y[aa]);return N.reduce(function(fa,ja){0==fa&&(fa=T(da.viGetMembre(ja[0],!1,void 0),ja[1]));return fa},0)}}}}return this.__xnRecherche(u,E,L)}nChercheProcedure(u,D,L,T){D=a.NSUtil.nGetEntier(D,2);const E=D&15;a.CDebug.s_Assert(0==(D&-16),"On ne doit pas avoir d'options de comparaisons dans TableauChercheParProc\u00e9dure");const Q=
5171!==E,J=b.ms_DescriptionFonction.viCreationCopie(u,0);if(!J.valueOf())throw new a.CErreur(601);const N=[void 0];N.push(...T);return this.__xnRecherche(E,L,function(Y,aa){N[0]=Y[aa];Y=J.viAppelFonction.apply(J,N);return Q&&1===Y.veGetTypeWL()?Y.valueOf()?0:1:Y.vnToNumber(0)})}__xnRecherche(u,D,L){var T=this.m_iTableau.tabGetDimensions();const E=this.m_iTableau.tabGetValeurs();T=T[0];let Q=-1;if(1==u)this.m_nPositionCourante=void 0,D=I(E,T,L,void 0),0<=D&&D<T&&0==L(E,D)&&(Q=D);else{let J;switch(u){case 2:u=
518!0;J=!1;break;case 3:J=u=!0;break;case 4:u=!1;J=!0;break;case 5:J=u=!1;break;default:throw new a.CErreur(217,u);}D=this.__xnGetDepartC(D,u,J);if(void 0!==D&&0<=D&&D<T)if(this.m_nPositionCourante=void 0,u){for(;D<T&&0!=L(E,D);D++);D<T&&(Q=D,this.m_nPositionCourante=D+1)}else{for(;0<=D&&0!=L(E,D);D--);0<=D&&(Q=D,this.m_nPositionCourante=D-1)}}return Q}__xnGetDepartC(u,D,L){const T=this.m_iTableau.tabGetDimensions()[0];return 0==a.NSUtil.nGetEntier(u,0)?L?this.m_nPositionCourante:D?0:T-1:a.NSUtil.xnGetIndiceC(u,
519T,0,0)}}b.CTableauCherche=R})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
520(function(a){(function(b){function h(e){let l=y[e];l||(l=y[e]={m_tabDINOs:{}});return l}function B(e,l){e=h(e);const r=e.m_tabDINOs;e.m_pfCompleteDINOs&&e.m_pfCompleteDINOs(r);if(l=r[l])return l;throw new a.CErreur(0);}const y={};b.oGetDescriptionDINO=B;b.AjouteDescriptionDINO=function(e,l,r){h(e).m_tabDINOs[l]=r};b.AjouteCompleteDINOs=function(e,l){h(e).m_pfCompleteDINOs=l};b.oCreeDescriptionDINO=function(e,l){return{m_oDescriptionStatique:new d(e,!1,l),m_oDescriptionDynamique:new d(e,!0,l)}};b.oCreeDescriptionDINORebondFrameworkV1=
521function(e,l,r,I,x){return{m_oDescriptionStatique:new c(!1,e,l,r,I,x),m_oDescriptionDynamique:new c(!0,e,l,r,I,x)}};b.iGetAsDino=function(e,l,r){if((e=a.iGetAsRValue(e,4))&&B(l,r).m_oDescriptionDynamique.vbEstInstanceDino(e))return e};class p extends b.CTDescriptionType{constructor(e,l,r){super(111,void 0);this.m_bDynamique=e;this.m_pfAlloueValeurSiUndefinedInterdit=l;this.m_pfCopieValeur=r}viCreation(e,l){let r;e&&(l=e.m_oValeur,this._xVerificationValeur(e),this._vxVerifieAffectation(void 0,e),r=
522this._voGetDinoValeur(void 0,l).m_oValeur);return this._voAllocation(r)}viAffectation(e,l){this._xVerificationValeur(l);this._vxVerifieAffectation(e,l);var r=this._voGetDinoValeur(e.vtGetValeurDirect(),l.m_oValeur);if(r.m_bTrouve){switch(l.m_eAffectation){default:case 0:l=this.m_bDynamique;break;case 1:l=!0;break;case 2:case 4:l=!1;break;case 3:l=!0}r=r.m_oValeur;
522l||(void 0!==r?r=this.m_pfCopieValeur(r,e):void 0!==this.m_pfAlloueValeurSiUndefinedInterdit&&(r=this.m_pfAlloueValeurSiUndefinedInterdit()));
523e.vSetValeurDirect(r);return e}throw new a.CErreur(601);}voJSONDebogueurType(){const e=this.__oGetComposanteEtDino();return{m_eTypeWL:this.veGetTypeWL(),m_eComposante:e.m_eComposante,m_eDino:e.m_eDino}}veGetComposante(){return this.__oGetComposanteEtDino().m_eComposante}veGetDino(){return this.__oGetComposanteEtDino().m_eDino}__oGetComposanteEtDino(){void 0===this.m_oComposanteEtDino&&(this.m_oComposanteEtDino=this.__oCreeComposanteEtDino());return this.m_oComposanteEtDino}__oCreeComposanteEtDino(){var e=
524{m_eComposante:10,m_eDino:13};a.NSUtil.bForEachIn(y,(l,r)=>{const I=Number(l);return isNaN(I)||a.NSUtil.bForEachIn(r.m_tabDINOs,(x,H)=>{x=Number(x);return isNaN(x)||H.m_oDescriptionStatique!==this&&H.m_oDescriptionDynamique!==this?!0:(e={m_eComposante:I,m_eDino:x},!1)})});return e}_vxVerifieAffectation(e,l){this.m_bDynamique?a.NSUtil.xVerifieAffectationReference(l):a.NSUtil.xVerifieAffectationCopie(l)}_voGetDinoValeur(e,l){return(e=a.iGetAsRValue(l,4))&&this.vbEstInstanceDino(e)?{m_oValeur:e.vtGetValeurDirect(),
525m_bTrouve:!0}:{m_oValeur:void 0,m_bTrouve:!1}}}class m extends b.CTType{viGetRValue(e){switch(e){case 4:return this;default:return super.viGetRValue(e)}}viGetMembre2(e,l,r,I){switch(l){case "EXTRA":return new n(()=>{const x=this._voGetExtra();return b.ms_DescriptionVariant.viCreationCopie(a.NSUtil.Freeze(void 0!==x?x:null),0)},null,e);default:return super.viGetMembre2(e,l,r,I)}}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType()}_voGetExtra(){return null}}b.CDino=m;class f extends m{valueOf(){return this.m_tValeur}}
526b.CDinoSimple=f;class d extends p{constructor(e,l,r){super(l,void 0,r);this.m_iDinoConstruction=e}_voAllocation(e){return new this.m_iDinoConstruction(e,this)}vbEstInstanceDino(e){return e instanceof this.m_iDinoConstruction}}b.CTDescriptionDinoSimple=d;class c extends p{constructor(e,l,r,I,x,H){super(e,l,r);this.m_pfCastValeur=I;this.m_tabProprietesRebondFrameworkV1=x;this.m_iDinoConstructionFrameworkV1=H}_voAllocation(e){return new g(e,this)}_voGetDinoValeur(e,l){e=super._voGetDinoValeur(e,l);if(e.m_bTrouve)return e;
527if(!e.m_bTrouve){const r=a.NSValues.oAny2Natif(l);if(r instanceof this.m_iDinoConstructionFrameworkV1)return{m_oValeur:r,m_bTrouve:!0}}return!e.m_bTrouve&&this.m_pfCastValeur?{m_oValeur:this.m_pfCastValeur(l),m_bTrouve:!0}:{m_oValeur:void 0,m_bTrouve:!0}}vbEstInstanceDino(e){return e instanceof g}}b.CTDescriptionDinoRebondFrameworkV1=c;class g extends f{constructor(e,l){super(e||l.m_pfAlloueValeurSiUndefinedInterdit(),l)}viGetMembre2(e,l,r,I){const x=this.m_tValeur;let H;this.m_iDescriptionType.m_tabProprietesRebondFrameworkV1.every(function(K){return l===
528K[0]||l===K[1]?(H=new n(()=>b.iGetDescription(K[3],!1).viCreationCopie(x.GetProp(K[2]),0),ba=>x.SetProp(K[2],a.NSValues.oAny2Natif(ba.m_oValeur)),e),!1):!0});return H?H:super.viGetMembre2(e,l,r,I)}}class k extends f{constructor(e,l,r){super(e,l);this.m_pfCreeValeur=r}vnToNumber(e){return parseFloat(this.toString())}vbToBoolean(){return!!this.valueOf()}vSetValeur(e,l,r){this.vSetValeur2(a.iGetValeurAffectation(e,l,r))}vSetValeur2(e){if(e.m_iOptions.m_bAffectationDepuisIterateur){const l=b.iGetAsDino(e.m_oValeur,
529this.viGetDescriptionType().veGetComposante(),this.viGetDescriptionType().veGetDino());if(l){this.vSetValeurDirect(l.vtGetValeurDirect());return}}a.NSUtil.xVerifieAffectationAucune(e)}_oGetValeur(){this.m_tValeur||(this.m_tValeur=this.m_pfCreeValeur());return this.m_tValeur}}b.CDinoSousValue=k;class n extends a.NSUtil.CWrapperValue{constructor(e,l,r){super();this.m_pfGetValeur=e;this.m_pfSetValeur=l;this.m_sNomUtilisateur=r}viGetRValue(e){if(this.m_pfGetValeur)return this.m_pfGetValeur();a.xThrow603(this.m_sNomUtilisateur)}vSetValeur2(e){this.m_pfSetValeur?
530this.m_pfSetValeur(e):a.xThrow603(this.m_sNomUtilisateur)}}b.CDinoPropriete=n;class C extends a.NSUtil.CWrapperValue{constructor(e,l,r,I,x){super();this.m_oContenu=e;this.m_iDinoConstruction=l;this.m_oDescriptionType=r;this.m_pfCreation=I;this.m_pfCopie=x}viGetRValue(e){return new this.m_iDinoConstruction(this.m_oContenu,this.m_oDescriptionType)}vSetValeur2(e){a.NSUtil.xVerifieAffectationCopie(e);const l=a.NSValues.iAny2RValue(e.m_oValeur);if(l instanceof this.m_iDinoConstruction)this.m_pfCopie(l.vtGetValeurDirect()||
531this.m_pfCreation(),this.m_oContenu,e);else throw new a.CErreur(601);}}b.CDinoProprieteDino=C;b.oGetDinoProprieteConstante=function(e,l){return new n(()=>b.iNatif2RValue(e),null,l)};b.oGetDinoProprieteSimple=function(e,l,r,I){return new n(()=>r.viCreationCopie(e(),0),l?x=>l(r.viCreation(x).valueOf()):null,I)};class v extends b.CTDescriptionTypeSimple{constructor(e){super(34,l=>l.m_oValeur,void 0,!1);this.m_oDescriptionValeurFrameworkV1=e}viAffectation(e,l){a.NSUtil.xVerifieAffectationAucune(l)}voJSONDebogueurType(e){return{m_eTypeWL:this.veGetTypeWL(),
532m_tabDimensions:e,m_bDynamique:!0,m_oTypeSousElement:this.m_oDescriptionValeurFrameworkV1.voJSONDebogueurType()}}_voAllocation(e){return new M(e,this)}}b.CDescriptionTableauProprieteDinoFrameworkV1=v;class M extends b.CTTypeSimple{constructor(e,l){super(e,l)}
532viGetSousElement(e,l){const r=a.NSUtil.xnGetIndiceC(l[e],this.m_tValeur.length,0,0);return a.NSUtil.iChaineSousElement(this.iGetSousElementIndice(r),e+1,l)}viGetAsTableau(){return this}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())}_viGetProprieteVM(e){switch(e){case 23:return a.NSUtil.oGetProprieteSimple(()=>
533this.m_tValeur.length,l=>{this.m_tValeur.length=a.NSUtil.nGetEntier(l)},8,0,e);default:return super._viGetProprieteVM(e)}}xiGetTableauCherche(){throw new a.CErreur(601);}xiGetTableauTri(){throw new a.CErreur(214);}xiGetTableauSupprime(){return new b.CTableauSupprime(this)}xRedimensionne(e){if(1!=e.length)throw new a.CErreur(210);this.m_tValeur.length=e[0]}nAjouteLigne(e){const l=this.m_tValeur,r=l.length;l.push(a.NSValues.oAny2Natif(e[0]));return r}xCopieDepuis(e,l,r){b.TableauCopie(e,this)}DeplaceLigne(e,
534l){b.TableauDeplaceLigne(this,e,l)}Echange(e,l){b.TableauEchange(this,e,l)}eTypeElement(){return 50}bDynamique(){return!0}Insere(e,l){throw new a.CErreur(601);}InsereLigne(e,l){return this.Insere(e,l[0])}eGetModeAgrandissement(){return 0}nGetNbDimensions(){return 1}nGetUneDimension(e){return this.m_tValeur.length}nGetNbElements(){return this.m_tValeur.length}nGetDimension0Pas(){return 1}iGetSousElementIndice(e){return new G(this.m_tValeur,e,this.m_iDescriptionType)}iGetDescriptionElement(){}viGetAsTableauType(){return this}tabGetDimensions(){return[this.nGetNbElements()]}tabGetValeurs(){return this.m_tValeur}bEstNull(){return!1}}
535class G extends a.NSUtil.CTSousElement{constructor(e,l,r){super(e);this.m_oIndice=l;this.m_oDescriptionTableau=r}valueOf(){return this.m_tParent[this.m_oIndice]}viGetRValue(e){return this.m_oDescriptionTableau.m_oDescriptionValeurFrameworkV1.viCreation(a.iGetValeurInitiale(this.valueOf(),3))}viGetMembre2(e,l,r,I){return this.viGetRValue(0).viGetMembre2(e,l,r,I)}viGetPropriete(e,l){return this.viGetRValue(0).viGetPropriete(e,l)}viGetSousElement(e,l){return this.viGetRValue(0).viGetSousElement(e,l)}veGetTypeWL(){return 50}vSetValeur2(e){this.m_tParent[this.m_oIndice]=
536a.NSValues.oAny2Natif(e.m_oValeur)}}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
537(function(a){(function(b){function h(){return new WDGeoPosition}function B(e){return new WDGeoPosition(a.NSUtil.oCloneDansObjet(e.m_oPosition))}function y(){return new WDDinoAdresse}function p(e){const l=new WDDinoAdresse;l.m_czRue=e.m_czRue;l.m_czVille=e.m_czVille;l.m_czCodePostal=e.m_czCodePostal;l.m_czRegion=e.m_czRegion;l.m_czPays=e.m_czPays;l.m_pclGeoPosition=e.m_pclGeoPosition?new WDGeoPosition(e.m_pclGeoPosition.m_oPosition):void 0;return l}function m(e){return new b.CDinoProprieteDino(e,C,
538G.m_oDescriptionStatique,f,function(l,r){r.m_oProcedure=l.m_oProcedure?b.ms_DescriptionFonction.viCreationCopie(l.m_oProcedure,0):null})}function f(){return{m_oProcedure:null}}function d(e){return{m_oProcedure:e.m_oProcedure?b.ms_DescriptionFonction.viCreationCopie(e.m_oProcedure,0):null}}class c extends b.CDinoSimple{viGetMembre2(e,l,r,I){let x=this.__oGetValeur();switch(l){case "AVANCEMENTENVOI":case "UPLOADPROGRESS":return m(x.m_oAvancementEnvoi);case "AVANCEMENTTELECHARGEMENT":case "DOWNLOADPROGRESS":return m(x.m_oAvancementTelechargement);
539case "CONTENTTYPE":return b.oGetDinoProprieteSimple(()=>x.m_sContentType,function(H){x.m_sContentType=H},b.ms_DescriptionChaine,e);case "CONTENU":case "CONTENT":return b.oGetDinoProprieteSimple(()=>x.m_sContenu,function(H){x.m_sContenu=H},b.ms_DescriptionChaine,e);case "CONTENUBRUTREPONSE":return b.oGetDinoProprieteSimple(()=>x.m_bContenuReponseBrut,function(H){x.m_bContenuReponseBrut=H},b.ms_DescriptionBooleen,e);case "ENTETE":case "HEADER":return new k(x.m_oEntete);case "METHODE":case "METHOD":return b.oGetDinoProprieteSimple(function(){return 0===
540x.m_eMethodeHTTP?""!==x.m_sContenu?2:1:x.m_eMethodeHTTP},function(H){if(0<=H&&H<=7)x.m_eMethodeHTTP=H;else throw new a.CErreur(303,H);},b.ms_DescriptionI4,e);case "MOTDEPASSE":case "PASSWORD":return b.oGetDinoProprieteSimple(()=>x.m_sMotDePasse,function(H){x.m_sMotDePasse=H},b.ms_DescriptionChaine,e);case "UTILISATEUR":case "USER":return b.oGetDinoProprieteSimple(()=>x.m_sUtilisateur,function(H){x.m_sUtilisateur=H},b.ms_DescriptionChaine,e);case "URL":return b.oGetDinoProprieteSimple(()=>x.m_sURL,
541function(H){x.m_sURL=H},b.ms_DescriptionChaine,e)}return super.viGetMembre2(e,l,r,I)}__oGetValeur(){this.m_tValeur||(this.m_tValeur={m_oAvancementEnvoi:f(),m_oAvancementTelechargement:f(),m_sContentType:"",m_sContenu:"",m_oEntete:{},m_eMethodeHTTP:0,m_sMotDePasse:"",m_sUtilisateur:"",m_sURL:"",m_bContenuReponseBrut:!1});return this.m_tValeur}}b.CHTTPRequete=c;const g=new b.CDescriptionObjetNatif(111,2,b.CDescriptionObjetNatif.s_oCastObjet);class k extends b.CObjetNatif{constructor(e){super(e,g)}viGetAsLRValue(){return this}viGetMembre2(e,
542l,r,I){Object.isFrozen(this.m_tValeur)&&(e=e.toLowerCase());return super.viGetMembre2(e,l,r,I)}vSetValeur(e,l,r){return this.vSetValeur2(a.iGetValeurAffectation(e,l,r))}vSetValeur2(e){return a.NSUtil.xVerifieAffectationAucune(e)}}class n extends b.CDinoSimple{viGetMembre2(e,l,r,I){let x=this.m_tValeur;if(x)switch(l){case "CODEETAT":case "STATUSCODE":return b.oGetDinoProprieteConstante(x.status,e);case "CONTENTTYPE":return b.oGetDinoProprieteConstante(x.getResponseHeader("content-type")||"",e);case "CONTENU":case "CONTENT":return x.response instanceof
543ArrayBuffer?b.oGetDinoProprieteConstante(x.response,e):b.oGetDinoProprieteConstante(x.responseText||"",e);case "DESCRIPTIONCODEETAT":case "DESCRIPTIONSTATUSCODE":return b.oGetDinoProprieteConstante(x.statusText,e);case "ENTETE":case "HEADER":return new k(a.NSUtil.Freeze(this.__oGetEntete(x)));case "ENTETEBRUT":case "ROUGHHEADER":return b.oGetDinoProprieteConstante(x.getAllResponseHeaders()||"",e)}return super.viGetMembre2(e,l,r,I)}__oGetEntete(e){return(e.getAllResponseHeaders()||"").split("\r\n").reduce(function(l,
544r){const I=r.indexOf(":");if(0<I){const x=a.NSUtil.sSupprimeEspacesDebutFin(r.substring(0,I)).toLowerCase();r=a.NSUtil.sSupprimeEspacesDebutFin(r.substring(I+1));l[x]=r}return l},{})}}class C extends b.CDinoSimple{viGetMembre2(e,l,r,I){let x=this.__oGetValeur();switch(l){case "PROCEDURE":return new b.CDinoPropriete(null,function(H){x.m_oProcedure=b.ms_DescriptionFonction.viCreation(H)},e)}return super.viGetMembre2(e,l,r,I)}__oGetValeur(){this.m_tValeur||(this.m_tValeur=f());return this.m_tValeur}}
545b.AjouteCompleteDINOs(10,function(e){e[13]||"undefined"===typeof WDGeoPosition||b.AjouteDescriptionDINO(10,13,b.oCreeDescriptionDINORebondFrameworkV1(h,B,null,[["LATITUDE","LATITUDE",0,12],["LONGITUDE","LONGITUDE",1,12],["ALTITUDE","ALTITUDE",2,12],["ALTITUDEVALIDE","ALTITUDEVALID",3,1],["DIRECTION","DIRECTION",4,12],["DIRECTIONVALIDE","DIRECTIONVALID",5,1],["PRECISION","PRECISION",6,12],["PRECISIONVALIDE","PRECISIONVALID",7,1],["VITESSE","SPEED",8,12],["VITESSEVALIDE","SPEEDVALID",9,1],["DATEMESURE",
546"MEASUREMENTDATE",10,26],["POSITIONVALIDE","POSITIONVALID",11,1]],WDGeoPosition));e[19]||"undefined"===typeof WDDinoAdresse||b.AjouteDescriptionDINO(10,19,b.oCreeDescriptionDINORebondFrameworkV1(y,p,null,[["RUE","STREET",0,16],["VILLE","CITY",1,16],["CODEPOSTAL","ZIPCODE",2,16],["REGION","ADMINAREA",3,16],["PAYS","COUNTRY",4,16],["POSITION","POSITION",5,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}]],WDDinoAdresse))});const v=b.oCreeDescriptionDINO(c,function(e){return{m_oAvancementEnvoi:d(e.m_oAvancementEnvoi),
547m_oAvancementTelechargement:d(e.m_oAvancementTelechargement),m_sContentType:e.m_sContentType,m_sContenu:e.m_sContenu,m_oEntete:a.NSUtil.oCloneSimple(e.m_oEntete),m_eMethodeHTTP:e.m_eMethodeHTTP,m_sMotDePasse:e.m_sMotDePasse,m_sUtilisateur:e.m_sUtilisateur,m_sURL:e.m_sURL,m_bContenuReponseBrut:e.m_bContenuReponseBrut}}),M=b.oCreeDescriptionDINO(n,function(e){return e}),G=b.oCreeDescriptionDINO(C,d);b.AjouteDescriptionDINO(10,30,v);b.AjouteDescriptionDINO(10,31,M);b.AjouteDescriptionDINO(10,32,G);b.AjouteDescriptionDINO(10,
54833,M);b.AjouteDescriptionDINO(10,34,v)})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
549(function(a){(function(b){function h(){return new WDRendezVous}function B(t){return new WDRendezVous(t.m_oChamp,t.m_oRendezVous)}function y(){return new WDRepetition}function p(t){return new WDRepetition(t)}function m(){return new WDDinoMarqueur}function f(t){return new WDDinoMarqueur(t.m_oPosition)}function d(){return new WDDinoCartePolygone}function c(t){return new WDDinoCartePolygone(t)}function g(){return new WDDinoCartePolyligne}function k(t){return new WDDinoCartePolyligne(t)}function n(){return new WDDinoCarteCercle}
550function C(t){return new WDDinoCarteCercle(t)}function v(){return new WDDinoCarteImage}function M(t){return new WDDinoCarteImage(t)}function G(){return new WDDinoMarqueurImage}function e(t){return new WDDinoMarqueurImage(t)}function l(){return{}}function r(t){return a.NSUtil.oCloneSimple(t)}function I(t,U,X){return new b.CDinoPropriete(()=>b.oCreeDinoCouleur(t()),function(Z){U(String(b.oCreeDinoCouleur(Z.m_oValeur)))}
550,X)}function x(){return{data:{id:vb++,title:"",text:"",contributor:"",date:new Date,
551visible:!0}}}function H(t){return{data:a.NSUtil.oCloneSimple(t.data)}}function K(t){return"object"===typeof t&&void 0!==t.data&&void 0!==t.data.id}function ba(t,U){t={data:t,list:U};return b.oGetDescriptionDINO(70,74).m_oDescriptionDynamique.viCreation({m_oValeur:t,m_eAffectation:1,m_iOptions:{}})}function O(){return{changeOrdre:!0,changeListe:!0,afficheDetail:!0,supprime:!0}}function q(){return{data:{colonne:0,ligne:0}}}function z(t,U){return new hb({data:t,tcd:U},gb.m_oDescriptionDynamique)}function R(){return{data:{dimension:void 0,
552valeur:"",cumul:!0}}}function u(t){return new b.CDinoProprieteDino(t,Ta,Fa.m_oDescriptionStatique,Y,aa)}function D(t){return new b.CDinoProprieteDino(t,ia,Na.m_oDescriptionStatique,ja,ka)}function L(){const t=a.NSOperations.oGetVisiteGuideeEnCours();if(t){var U=t.nGetIdxCurrentStep();t.GetStep(U).OnResize()}}function T(t){t={target:"",title:"",description:"",initialize:null,terminate:null,effect:N(void 0),inTargetAction:va.defaut,outTargetAction:va.defaut,tooltip:fa(void 0),autoValidationDuration:void 0,
553tour:t,tooltipRelease:void 0,tooltipAlias:void 0,timeoutId:void 0,savedOnClick:null};t.effect.step=t;return t.tooltip.step=t}function E(t,U){let X=T();X.target=t.target;X.title=t.title;X.description=t.description;X.effect=da(t.effect,X);X.inTargetAction=t.inTargetAction;X.outTargetAction=t.outTargetAction;X.tooltip=oa(t.tooltip,X);X.autoValidationDuration=t.autoValidationDuration;X.tour=U;X.tooltipRelease=void 0;X.tooltipAlias=void 0;X.timeoutId=void 0;X.savedOnClick=null;X.initialize=t.initialize?
554b.ms_DescriptionFonction.viCreationCopie(t.initialize,0):null;X.terminate=t.terminate?b.ms_DescriptionFonction.viCreationCopie(t.terminate,0):null;return X}function Q(t){return new b.CDinoProprieteDino(t,Ta,Fa.m_oDescriptionStatique,N,aa)}function J(t){return new b.CDinoProprieteDino(t,ia,Na.m_oDescriptionStatique,fa,ka)}function N(t){return{type:void 0,shape:void 0,borderRadius:void 0,margin:void 0,color:void 0,opacity:void 0,growth:void 0,animationDuration:void 0,step:t}}function Y(){return{type:Aa.halo,
555shape:Xa.rectangle,borderRadius:5,margin:10,color:void 0,opacity:void 0,growth:100,animationDuration:void 0,step:void 0}}function aa(t){return da(t)}function da(t,U){let X=N();X.type=t.type;X.shape=t.shape;X.borderRadius=t.borderRadius;X.margin=t.margin;X.color=t.color;X.opacity=t.opacity;X.growth=t.growth;X.animationDuration=t.animationDuration;X.step=U;return X}function fa(t){t={internalPage:void 0,margin:void 0,backgroundColor:void 0,borderColor:void 0,textColor:void 0,mode:void 0,actionAllowed:Ja(void 0),
556markdown:void 0,step:t};return t.actionAllowed.bubble=t}function ja(){return{internalPage:void 0,margin:15,backgroundColor:void 0,borderColor:"#3B85FA",textColor:void 0,mode:Ia.opaquePopup,actionAllowed:{next:!0,previous:!0,end:!0,bubble:void 0},markdown:!1,step:void 0}}function ka(t){return oa(t)}function oa(t,U){U=fa(U);U.internalPage=t.internalPage;U.margin=t.margin;U.backgroundColor=t.backgroundColor;U.borderColor=t.borderColor;U.textColor=t.textColor;U.mode=t.mode;U.actionAllowed=sb(t.actionAllowed,
557U);U.markdown=t.markdown;return U}function Da(t){return new b.CDinoProprieteDino(t,Ka,Sa.m_oDescriptionStatique,Ja,Qa)}function Ja(t){return{next:void 0,previous:void 0,end:void 0,bubble:t}}function Qa(t){return sb(t)}function sb(t,U){U=Ja(U);U.next=t.next;U.previous=t.previous;U.end=t.end;return U}b.AjouteCompleteDINOs(70,function(t){t[0]||"undefined"===typeof WDRendezVous||b.AjouteDescriptionDINO(70,0,b.oCreeDescriptionDINORebondFrameworkV1(h,B,null,[["TITRE","TITLE",0,16],["COULEURFOND","BRUSHCOLOR",
5581,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["DATEDEBUT","STARTDATE",2,26],["DATEFIN","ENDDATE",3,26],["CONTENU","CONTENT",4,16],["CATEGORIE","CATEGORY",8,16],["ID","ID",14,16],["BULLE","TOOLTIP",15,16],["RESSOURCE","RESOURCE",16,16],["JOURNEEENTIERE","WHOLEDAY",17,1]],WDRendezVous));t[1]||"undefined"===typeof WDRepetition||b.AjouteDescriptionDINO(70,1,b.oCreeDescriptionDINORebondFrameworkV1(y,p,null,[],WDRepetition));t[11]||"undefined"===typeof WDDinoMarqueur||b.AjouteDescriptionDINO(70,
55911,b.oCreeDescriptionDINORebondFrameworkV1(m,f,null,[["NOM","NAME",0,16],["POSITION","POSITION",1,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["DESCRIPTION","DESCRIPTION",2,16],["IMAGE","IMAGE",3,31],["ACTIONCLIC","ACTIONCLICK",4,16],["ALIGNEMENT","ALIGNMENT",5,8],["OPACITE","OPACITY",6,8],["DEPLACABLE","MOVABLE",7,1],["ALTITUDE","ZORDER",8,8],["CLUSTER","CLUSTER",9,1],["AVECPOPUP","WITHPOPUP",10,1],["ACTIONCLICPOPUP","ACTIONCLICKPOPUP",11,16],["ACTIONDEPLACEMENT","ACTIONDEPLACEMENT",
56012,16],["NOTE","NOTE",13,31]],WDDinoMarqueur));t[45]||"undefined"===typeof WDDinoCartePolygone||b.AjouteDescriptionDINO(70,45,b.oCreeDescriptionDINORebondFrameworkV1(d,c,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["ACTIONCLIC","ACTIONCLICK",2,16],["COULEURTRAIT","LINECOLOR",3,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","LINE",5,8],["EPAISSEUR","THICKNESS",6,8],["ALTITUDE",
561"ZORDER",7,8],["GEODESIQUE","GEODESIC",8,1],["POINT","POINT",9,{m_eWL:34,m_oTypeWLSiTableau:new b.CDescriptionTableauProprieteDinoFrameworkV1(b.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}]],WDDinoCartePolygone));t[46]||"undefined"===typeof WDDinoCartePolyligne||b.AjouteDescriptionDINO(70,46,b.oCreeDescriptionDINORebondFrameworkV1(g,k,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["COULEURTRAIT","LINECOLOR",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT",
562"LINE",3,8],["ALTITUDE","ZORDER",4,8],["ACTIONCLIC","ACTIONCLICK",5,16],["EPAISSEUR","THICKNESS",6,8],["GEODESIQUE","GEODESIC",7,1],["POINT","POINT",8,{m_eWL:34,m_oTypeWLSiTableau:new b.CDescriptionTableauProprieteDinoFrameworkV1(b.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}]],WDDinoCartePolyligne));t[47]||"undefined"===typeof WDDinoCarteCercle||b.AjouteDescriptionDINO(70,47,b.oCreeDescriptionDINORebondFrameworkV1(n,C,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["CENTRE",
563"CENTER",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["RAYON","RADIUS",3,12],["COULEURTRAIT","LINECOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",5,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","LINE",6,8],["ALTITUDE","ZORDER",7,8],["EPAISSEUR","THICKNESS",8,8],["ACTIONCLIC","ACTIONCLICK",9,16],["GEODESIQUE","GEODESIC",10,1]],WDDinoCarteCercle));t[48]||"undefined"===typeof WDDinoCarteImage||b.AjouteDescriptionDINO(70,
56448,b.oCreeDescriptionDINORebondFrameworkV1(v,M,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["POSITION","POSITION",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["ALIGNEMENT","ALIGNMENT",3,8],["LARGEUR","WIDTH",4,12],["HAUTEUR","HEIGHT",5,12],["ANGLE","ANGLE",6,8],["IMAGE","IMAGE",7,16],["ACTIONCLIC","ACTIONCLICK",8,16],["OPACITE","OPACITY",9,8],["ALTITUDE","ZORDER",10,8]],WDDinoCarteImage));t[49]||"undefined"===typeof WDDinoMarqueurImage||b.AjouteDescriptionDINO(70,
56549,b.oCreeDescriptionDINORebondFrameworkV1(G,e,null,[["FORME","SHAPE",0,8],["TAILLE","SIZE",1,8],["TEXTE","TEXT",2,16],["COULEUR","COLOR",3,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}]],WDDinoMarqueurImage))});class lb extends b.CTDescriptionDinoSimple{constructor(t){super(ib,t,r)}viCreation(t,U){let X;t&&(U=t.m_oValeur,this._xVerificationValeur(t),"object"===typeof U&&void 0!==U.m_sValeur||this._vxVerifieAffectation(void 0,
566t),X=this._voGetDinoValeur(void 0,U).m_oValeur);return this._voAllocation(X)}_voGetDinoValeur(t,U){if("object"===typeof U&&void 0!==U.m_sValeur)return{m_oValeur:U,m_bTrouve:!0};t=super._voGetDinoValeur(t,U);return void 0===t.m_oValeur&&void 0!==U?{m_oValeur:{m_sValeur:String(U)},m_bTrouve:!0}:t}}class ib extends b.CDinoSousValue{constructor(t,U){super(t,U,l)}toString(t){return this.__sGetJetonValeur()}viGetMembre2(t,U,X,Z){switch(U){case "VALEUR":case "VALUE":return b.oGetDinoProprieteSimple(()=>
567this.__sGetJetonValeur(),W=>{this._oGetValeur().m_sValeur=W},b.ms_DescriptionChaine,t);case "LIBELLE":case "CAPTION":return b.oGetDinoProprieteSimple(()=>this.__sGetJetonLibelle(),W=>{this._oGetValeur().m_sLibelle=W},b.ms_DescriptionChaine,t);case "LIBELLEHTML":case "CAPTIONHTML":return b.oGetDinoProprieteSimple(()=>this.__sGetJetonLibelleHTML(),W=>{this._oGetValeur().m_sLibelleHTML=W},b.ms_DescriptionChaine,t);case "COULEUR":case "COLOR":return I(()=>this._oGetValeur().m_sCouleur,W=>{this._oGetValeur().m_sCouleur=
568W},t);case "COULEURFOND":case "BRUSHCOLOR":return I(()=>this._oGetValeur().m_sCouleurFond,W=>{this._oGetValeur().m_sCouleurFond=W},t);case "BULLE":case "TOOLTIP":return b.oGetDinoProprieteSimple(()=>this.__sGetJetonBulle(),W=>{this._oGetValeur().m_sBulle=W},b.ms_DescriptionChaine,t);case "VALEURMEMORISEE":case "STOREDVALUE":return b.oGetDinoProprieteSimple(()=>this.__sGetJetonValeurMemorisee(),W=>{this._oGetValeur().m_sValeurMemorisee=W},b.ms_DescriptionChaine,t);default:return super.viGetMembre2(t,
569U,X,Z)}}_voGetExtra(){return this._oGetValeur().extra}
569__sGetJetonValeur(t=this._oGetValeur()){return t.m_sValeur||""}__sGetJetonValeurFormatee(t=this._oGetValeur()){return t.m_sValeur||""}__sGetJetonLibelle(t=this._oGetValeur()){return t.m_sLibelle||this.__sGetJetonValeurFormatee(t)}__sGetJetonLibelleHTML(t=this._oGetValeur()){return t.m_sLibelleHTML||this.__sGetJetonLibelle(t)}__sGetJetonBulle(t=this._oGetValeur()){return t.m_sBulle||""}__sGetJetonValeurMemorisee(t=this._oGetValeur()){return t.m_sValeurMemorisee||
570""}}b.AjouteDescriptionDINO(70,39,{m_oDescriptionStatique:new lb(!1),m_oDescriptionDynamique:new lb(!0)});b.AjouteDescriptionDINO(70,73,b.oCreeDescriptionDINORebondFrameworkV1(function(){return new clWDUtil.WDSaisieAssistee},function(t){return new clWDUtil.WDSaisieAssistee(t)},function(t,U){return new clWDUtil.WDSaisieAssistee(t,U)},[["LIBELLE","CAPTION",0,16],["VALEURMEMORISEE","STOREDVALUE",1,16]],clWDUtil.WDSaisieAssistee));let vb=Date.now();class cb extends b.CTDescriptionDinoSimple{constructor(t){super(rb,
571t,H)}viCreation(t,U){let X;t&&(U=t.m_oValeur,this._xVerificationValeur(t),K(U)||this._vxVerifieAffectation(void 0,t),X=this._voGetDinoValeur(void 0,U).m_oValeur);return this._voAllocation(X)}_vxVerifieAffectation(t,U){}_voGetDinoValeur(t,U){if(K(U))return{m_oValeur:U,m_bTrouve:!0};t=super._voGetDinoValeur(t,U);return void 0===t.m_oValeur&&void 0!==U?(t=x(),t.data.title=String(U),{m_oValeur:t,m_bTrouve:!0}):t}}class rb extends b.CDinoSousValue{constructor(t,U){super(t,U,x)}toString(t){return this._oGetData().title}viGetMembre2(t,
572U,X,Z){switch(U){case "TITRE":case "TITLE":return b.oGetDinoProprieteSimple(()=>this._oGetData().title,W=>{this._oGetData().title=W;this._Modification()},b.ms_DescriptionChaine,t);case "TEXTE":case "TEXT":return b.oGetDinoProprieteSimple(()=>this._oGetData().text,W=>{this._oGetData().text=W;this._Modification()},b.ms_DescriptionChaine,t);case "INTERVENANT":case "CONTRIBUTOR":return b.oGetDinoProprieteSimple(()=>this._oGetData().contributor,W=>{this._oGetData().contributor=W;this._Modification()},
573b.ms_DescriptionChaine,t);case "DATE":return new b.CDinoPropriete(()=>{var W=b.ms_DescriptionDateHeure,la=W.viCreationCopie,ya=this._oGetData().date;return la.call(W,"number"===typeof ya?new Date(ya):ya,0)},W=>{this._oGetData().date=b.ms_DescriptionDateHeure.viCreationCopie(W.m_oValeur,W.m_eAffectation).vtGetValeurDirect().m_oDate;this._Modification()},t);case "NOMLISTE":case "LISTNAME":return b.oGetDinoProprieteSimple(()=>{const W=this._oGetValeur().list;return W?W.sGetAlias():""},null,b.ms_DescriptionChaine,
574t);case "INDICE":case "INDEX":return b.oGetDinoProprieteSimple(()=>{const W=this._oGetValeur();return W.list?W.list.nGetIndice(W.data)+1:0},null,b.ms_DescriptionI4,t);case "FENETREINTERNE":case "INTERNALWINDOW":a.xThrow603(t);case "PAGEINTERNE":case "INTERNALPAGE":a.xThrow603(t);case "VISIBLE":return b.oGetDinoProprieteSimple(()=>this._oGetData().visible,W=>{this._oGetData().visible=W;this._Modification()},b.ms_DescriptionBooleen,t);case "ACTIONAUTORISEE":case "ACTIONALLOWED":return new b.CDinoProprieteDino(this._oGetData().autorisations||
575O(),jb,kb.m_oDescriptionStatique,O,function(W,la,ya){a.NSUtil.xVerifieAffectationAucune(ya)});default:return super.viGetMembre2(t,U,X,Z)}}_voGetExtra(){return this._oGetData().extra}_oGetData(){return this._oGetValeur().data}_Modification(){const t=this._oGetValeur();t.list&&t.list.Modification(t.data)}}b.AjouteDescriptionDINO(70,74,{m_oDescriptionStatique:new cb(!1),m_oDescriptionDynamique:new cb(!0)});b.oCreeKBCarteDepuisModele=function(t,U,X,Z){U=a.NSChamps.oGetChamp(U,140,void 0);X=new a.NSChamps.CListeKanban(U,
576Z+1,X);return ba(t,X)};b.oCreeKBCarteDepuisChamp=ba;class jb extends b.CDinoSimple{constructor(t,U){super(t,U)}viGetMembre2(t,U,X,Z){switch(U){case "DEPLACER":case "MOVE":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().changeOrdre,null,b.ms_DescriptionBooleen,t);case "CHANGERLISTE":case "CHANGELISTE":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().changeListe,null,b.ms_DescriptionBooleen,t);case "AFFICHERDETAIL":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().afficheDetail,
577null,b.ms_DescriptionBooleen,t);case "SUPPRIMER":case "REMOVE":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().supprime,null,b.ms_DescriptionBooleen,t);default:return super.viGetMembre2(t,U,X,Z)}}_oGetValeur(){this.m_tValeur||(this.m_tValeur=O());return this.m_tValeur}}const kb=b.oCreeDescriptionDINO(jb,function(t){return a.NSUtil.oCloneSimple(t)});b.AjouteDescriptionDINO(70,75,kb);class hb extends b.CDinoSousValue{constructor(t,U){super(t,U,q)}toString(t){throw new a.CErreur(601);}viGetMembre2(t,
578U,X,Z){var W;const la=this.oGetData();switch(U){case "ENDEHORS":case "OUT":return b.oGetDinoProprieteSimple(()=>void 0===la,null,b.ms_DescriptionBooleen,t);case "ENTETE":case "HEADER":return this;default:const ya=this._oGetValeur().tcd,wa=(W=ya===null||ya===void 0?void 0:ya.m_iChampFrameworkV1)===null||W===void 0?void 0:W.GetDimensionDepuisPosition(U,la);return wa?new nb({data:wa,tcd:ya},mb.m_oDescriptionDynamique):super.viGetMembre2(t,U,X,Z)}}oGetData(){return this._oGetValeur().data}__CTCDPosition(){}}
579const gb=b.oCreeDescriptionDINO(hb,function(t){return a.NSUtil.oCloneSimple(t)});b.AjouteDescriptionDINO(70,8,gb);b.oCreeTCDPositionDepuisModele=function(t,U){U=a.NSChamps.oGetChamp(U,102,void 0);return z(t,U)};b.oCreeTCDPositionDepuisChamp=z;b.oGetTCDPositionData=function(t){if((t=a.iGetAsRValue(t,1))&&(t instanceof hb||t.__CTCDPosition))return t.oGetData()};
579class nb extends b.CDinoSousValue{constructor(t,U){super(t,U,R)}toString(t){return this._oGetData().valeur}viGetMembre2(t,U,X,Z){switch(U){case "VALEUR":case "VALUE":return b.oGetDinoProprieteSimple(()=>
580this._oGetData().valeur,null,b.ms_DescriptionChaine,t);case "CUMUL":case "CUMULATED":return b.oGetDinoProprieteSimple(()=>this._oGetData().cumul,null,b.ms_DescriptionBooleen,t);default:return super.viGetMembre2(t,U,X,Z)}}_oGetData(){return this._oGetValeur().data}}const mb=b.oCreeDescriptionDINO(nb,function(t){return a.NSUtil.oCloneSimple(t)});b.AjouteDescriptionDINO(70,7,mb);class eb extends b.CDinoSimple{constructor(t,U){super(t,U)}viGetMembre2(t,U,X,Z){switch(U){case "IDENTIFIANT":case "IDENTIFIER":return b.oGetDinoProprieteSimple(()=>
581this.oGetValeur().id,W=>{this.oGetValeur().id=W},b.ms_DescriptionChaine,t);case "VERSION":return b.oGetDinoProprieteSimple(()=>this.oGetValeur().version,W=>{this.oGetValeur().version=W},b.ms_DescriptionI4,t);case "ETAPE":case "STEP":return new ub(this.oGetValeur().steps,this.oGetValeur());case "INITIALISATION":case "INITIALIZATION":return new b.CDinoPropriete(null,W=>{this.oGetValeur().initialize=b.ms_DescriptionFonction.viCreation(W)},t);case "TERMINAISON":case "TERMINATION":return new b.CDinoPropriete(null,
582W=>{this.oGetValeur().terminate=b.ms_DescriptionFonction.viCreation(W)},t);case "EFFET":case "EFFECT":return u(this.oGetValeur().effect);case "ACTIONCIBLE":case "ACTIONTARGET":return b.oGetDinoProprieteSimple(()=>this.oGetValeur().inTargetAction,W=>{this.oGetValeur().inTargetAction=W},b.ms_DescriptionI4,t);case "ACTIONHORSCIBLE":case "ACTIONOUTSIDETARGET":return b.oGetDinoProprieteSimple(()=>this.oGetValeur().outTargetAction,W=>{this.oGetValeur().outTargetAction=W},b.ms_DescriptionI4,t);case "BULLE":case "TOOLTIP":return D(this.oGetValeur().tooltip);
583case "DUREEVALIDATIONAUTOMATIQUE":case "AUTOMATICVALIDATIONDURATION":return b.oGetDinoProprieteSimple(()=>this.oGetValeur().autoValidationDuration,W=>{this.oGetValeur().autoValidationDuration=W},b.ms_DescriptionI4,t);default:return super.viGetMembre2(t,U,X,Z)}}vSetValeur(t,U,X){this.vSetValeur2(a.iGetValeurAffectation(t,U,X))}vSetValeur2(t){if(a.NSOperations.oGetVisiteGuideeEnCours())throw new a.CErreur(602,"=");}oGetValeur(){this.m_tValeur||(this.m_tValeur={id:"",version:0,steps:[],initialize:null,
584terminate:null,currentStep:-1,effect:Y(),inTargetAction:va.defaut,outTargetAction:va.defaut,tooltip:ja(),autoValidationDuration:0});return this.m_tValeur}sGetID(){return this.oGetValeur().id}nGetVersion(){return this.oGetValeur().version}nGetNbSteps(){return this.oGetValeur().steps.length}nGetIdxCurrentStep(){return this.oGetValeur().currentStep}SetIdxCurrentStep(t){this.oGetValeur().currentStep=t}GetStep(t){return new $a(this.oGetValeur().steps[t],fb.m_oDescriptionStatique)}GetTargetAction(t){if(t!==
585va.defaut)return t;switch((new Ta(this.oGetValeur().effect,Fa.m_oDescriptionStatique)).eGetType()){case Aa.aucun:return va.champ;case Aa.gfi:return va.aucune;case Aa.halo:return va.champ;default:throw new a.CErreur(1107);}}GetInTargetAction(){let t=this.oGetValeur().inTargetAction;return this.GetTargetAction(t)}GetOutTargetAction(){let t=this.oGetValeur().outTargetAction;return this.GetTargetAction(t)}Init(){clWDUtil.AttacheOnScrollResize(L);if(!this.oGetValeur().initialize)return!0;const t=a.NSValues.oAny2Natif(this.oGetValeur().initialize);
586return t instanceof Function?t():!0}Terminate(){window.removeEventListener("resize",L);if(this.oGetValeur().terminate){var t=a.NSValues.oAny2Natif(this.oGetValeur().terminate);if(t instanceof Function)return window.removeEventListener("resize",L),t()}}__CVisiteGuidee(){}}b.CVisiteGuidee=eb;const ob=b.oCreeDescriptionDINO(eb,function(t){let U=a.NSUtil.oCloneSimple(t);U.initialize=t.initialize?b.ms_DescriptionFonction.viCreationCopie(t.initialize,0):null;U.terminate=t.terminate?b.ms_DescriptionFonction.viCreationCopie(t.terminate,
5870):null;for(t=0;t<U.steps.length;t++)U.steps[t]=E(U.steps[t]),U.steps[t].tour=U;return U});b.AjouteDescriptionDINO(70,80,ob);b.bIsVisiteGuidee=function(t){return t&&(t instanceof eb||t.__CVisiteGuidee)};class ub extends a.NSUtil.CCollection{constructor(t,U){super();this.m_oSteps=t;this.m_oTour=U}valueOf(){const t=[];for(let U=0;U<this.m_oSteps.length;U++)t.push(this.m_oSteps[U]);return t}veGetTypeWL(){return 109}nAjouteLigne(t){t.length===0?this.Insere(this.m_oSteps.length,void 0):this.InsereLigne(this.m_oSteps.length,
588t);return this.m_oSteps.length-1}
588DeplaceLigne(t,U){var X=this.m_oSteps;if(U>=X.length)throw new a.CErreur(200,U,X.length);for(;t<0;)t+=X.length;for(;U<0;)U+=X.length;X.splice(U,0,X.splice(t,1)[0])}Echange(t,U){const X=this.m_oSteps[t];this.m_oSteps[t]=this.m_oSteps[U];this.m_oSteps[U]=X}eTypeElement(){return 111}Insere(t,U){U=a.iGetAsRValue(U,1);U=U===void 0?T(this.m_oTour):E(U._oGetValeur(),this.m_oTour);U.tour=this.m_oTour;this.m_oSteps.splice(t,0,U)}eGetModeAgrandissement(){return 1}nGetNbElements(){return this.m_oSteps.length}iGetSousElementIndice(t){t===
589this.m_oSteps.length&&this.m_oSteps.push(T(this.m_oTour));return new $a(this.m_oSteps[t],fb.m_oDescriptionStatique)}iGetDescriptionElement(){return fb.m_oDescriptionStatique}nSupprime(t){return this.m_oSteps.splice(t,1).length}SupprimeTout(){this.m_oSteps.splice(0,this.m_oSteps.length)}}let va;(function(t){t[t.defaut=0]="defaut";t[t.aucune=1]="aucune";t[t.etapeSuivante=2]="etapeSuivante";t[t.champ=3]="champ";t[t.finVisite=4]="finVisite";t[t.champPuisEtapeSuivante=5]="champPuisEtapeSuivante"})(va||
590(va={}));class $a extends b.CDinoSousValue{constructor(t,U){super(t,U,T)}viGetMembre2(t,U,X,Z){switch(U){case "TITRE":case "TITLE":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().title,W=>{this._oGetValeur().title=W},b.ms_DescriptionChaine,t);case "CIBLE":case "TARGET":return new b.CDinoPropriete(()=>{const W=this._oGetValeur().target,la=a.iGetAsRValue(W,0);return la?la:b.iNatif2RValue(W)},W=>{if(!a.NSOperations.__oGetHTMLElement(W.m_oValeur,!0,!1))throw new a.CErreur(605,String(W.m_oValeur));
591this._oGetValeur().target=W.m_oValeur},t);case "DESCRIPTION":return b.oGetDinoProprieteSimple(()=>this._oGetValeur().description,W=>{this._oGetValeur().description=W},b.ms_DescriptionChaine,t);case "INITIALISATION":case "INITIALIZATION":return new b.CDinoPropriete(null,W=>{this._oGetValeur().initialize=b.ms_DescriptionFonction.viCreation(W)},t);case "TERMINAISON":case "TERMINATION":return new b.CDinoPropriete(null,W=>{this._oGetValeur().terminate=b.ms_DescriptionFonction.viCreation(W)},t);case "EFFET":case "EFFECT":return Q(this._oGetValeur().effect);
592case "ACTIONCIBLE":case "ACTIONTARGET":return b.oGetDinoProprieteSimple(()=>{var W;return(W=this._oGetValeur().inTargetAction)!==null&&W!==void 0?W:va.defaut},W=>{this._oGetValeur().inTargetAction=W},b.ms_DescriptionI4,t);case "ACTIONHORSCIBLE":case "ACTIONOUTSIDETARGET":return b.oGetDinoProprieteSimple(()=>{var W;return(W=this._oGetValeur().outTargetAction)!==null&&W!==void 0?W:va.defaut},W=>{this._oGetValeur().outTargetAction=W},b.ms_DescriptionI4,t);case "BULLE":case "TOOLTIP":return J(this._oGetValeur().tooltip);
593case "DUREEVALIDATIONAUTOMATIQUE":case "AUTOMATICVALIDATIONDURATION":return b.oGetDinoProprieteSimple(()=>this.nGetAutoValidationDuration(),W=>{this._oGetValeur().autoValidationDuration=W},b.ms_DescriptionI4,t);case "INDICE":case "INDEX":return b.oGetDinoProprieteSimple(()=>this.nGetIndexInTour(),null,b.ms_DescriptionI4,t);default:return super.viGetMembre2(t,U,X,Z)}}toString(t){throw new a.CErreur(601);}_oGetValeur(){this.m_tValeur||(this.m_tValeur=T());return this.m_tValeur}eGetTargetAction(t,U){if(t!==
594va.defaut)return t;if(this._oGetValeur().tour!==void 0)return t=new eb(this._oGetValeur().tour,ob.m_oDescriptionStatique),U(t);switch((new Ta(this._oGetValeur().effect,Fa.m_oDescriptionStatique)).eGetType()){case Aa.aucun:return va.champ;case Aa.gfi:return va.aucune;case Aa.halo:return va.champ;default:throw new a.CErreur(1107);}}eGetInTargetAction(){return this.eGetTargetAction(this._oGetValeur().inTargetAction,t=>t.GetInTargetAction())}eGetOutTargetAction(){return this.eGetTargetAction(this._oGetValeur().outTargetAction,
595t=>t.GetOutTargetAction())}nGetAutoValidationDuration(){var t=this._oGetValeur().autoValidationDuration;if(t!==void 0)return t;t=this._oGetValeur().tour;return t!==void 0?t.autoValidationDuration:0}nGetIndexInTour(){var t=this._oGetValeur().tour;if(t===void 0)return 0;t=t.steps.indexOf(this._oGetValeur());return t<0?0:t+1}bInit(){var t=a.NSOperations.__oGetHTMLElement(this._oGetValeur().target,!0,!1);if(t==null||a.NSUtil.bEstDisplay(t,!0)===!1)return!1;if(!this._oGetValeur().initialize)return!0;t=
596a.NSValues.oAny2Natif(this._oGetValeur().initialize);return t instanceof Function?t(this):!0}Terminate(){clearTimeout(this._oGetValeur().timeoutId);this._oGetValeur().timeoutId=void 0;this.__Hide();if(this._oGetValeur().terminate){var t=a.NSValues.oAny2Natif(this._oGetValeur().terminate);if(t instanceof Function)return t(this)}}OnResize(){var t=a.NSOperations.__oGetHTMLElement(this._oGetValeur().target,!0,!1);if(t!==null&&a.NSUtil.bEstDisplay(t,!0)!==!1){t=t.getBoundingClientRect();var U=t.left+window.scrollX,
597X=t.top+window.scrollY;this.__ComputeResizeEffect(t,U,X,this._oGetValeur().effect);this.__ComputeResizeTooltip(t,U,X,this._oGetValeur().tooltip)}}__ComputeResizeEffect(t,U,X,Z){const W=document.getElementById("wb-gt-effect");if(W!==null){Z=new Ta(Z,Fa.m_oDescriptionStatique);var la=Z.nGetMargin(),ya=Z.eGetShape(),wa=t.width+la*2,Ca=t.height+la*2,ta=document.createElement("div");W.style.display="none";clWDUtil.SetDimensionGFI(ta);W.style.display="";W.style.setProperty("--wb-gt-effect-root-width",ta.style.width);
598W.style.setProperty("--wb-gt-effect-root-height",ta.style.height);ya===Xa.cercle&&(wa=Math.max(wa,Ca),Ca=Math.max(wa,Ca));W.style.setProperty("--wb-gt-target-pos-x",`${U}px`);W.style.setProperty("--wb-gt-target-pos-y",`${X}px`);W.style.setProperty("--wb-gt-target-width",`${t.width}px`);W.style.setProperty("--wb-gt-target-height",`${t.height}px`);W.style.setProperty("--wb-gt-effect-margin",`${la}px`);W.style.setProperty("--wb-gt-effect-width",`${wa}px`);W.style.setProperty("--wb-gt-effect-height",
599`${Ca}px`);t=Math.min(wa,Ca)*Z.nGetGrowthMultiplier();W.style.setProperty("--wb-gt-effect-growth",`${t}px`)}}__ComputeResizeTooltip(t,U,X,Z){Z=document.getElementById("wb-gt-tooltip");Z!==null&&this.__PositionTooltip(t,U,X,Z)}bShow(){let t=a.NSOperations.__oGetHTMLElement(this._oGetValeur().target,!0,!1);if(t===null||a.NSUtil.bEstDisplay(t,!0)===!1)return!1;const U=t.getBoundingClientRect(),X=U.left+window.scrollX,Z=U.top+window.scrollY,W=this.__CreateEffe
599ctDiv(U,X,Z,this._oGetValeur().effect);this.__CreatePageInterneDiv(U,
600X,Z,this._oGetValeur().tooltip).then(la=>{});t=this.__SetDivOnClick(t,this.eGetInTargetAction());document.body.appendChild(W);window.scrollTo(X+U.width/2-window.innerWidth/2,Z+U.height/2-window.innerHeight/2);this.nGetAutoValidationDuration()>=1E3&&(this._oGetValeur().timeoutId=setTimeout(()=>{a.NSOperations.VisiteGuideeChangeEtape(">")},this.nGetAutoValidationDuration()));return!0}__Hide(){var t,U,X,Z;(t=document.getElementById("wb-gt-effect"))===null||t===void 0||t.remove();(U=document.getElementById("wb-gt-tooltip"))===
601null||U===void 0||U.remove();this.__UnsetDivOnClick(a.NSOperations.__oGetHTMLElement(this._oGetValeur().target,!0,!1),this.eGetInTargetAction());(Z=(X=this._oGetValeur()).tooltipRelease)===null||Z===void 0||Z.call(X);this._oGetValeur().tooltipRelease=void 0}__CreateEffectDiv(t,U,X,Z){var W=new Ta(Z,Fa.m_oDescriptionStatique),la=W.nGetMargin();const ya=this.eGetOutTargetAction();var wa=W.eGetShape(),Ca=t.width+la*2,ta=t.height+la*2;wa===Xa.cercle&&(Ca=Math.max(Ca,ta),ta=Math.max(Ca,ta));Z=document.createElement("div");
602Z.style.setProperty("--wb-gt-target-pos-x",`${U}px`);Z.style.setProperty("--wb-gt-target-pos-y",`${X}px`);Z.style.setProperty("--wb-gt-target-width",`${t.width}px`);Z.style.setProperty("--wb-gt-target-height",`${t.height}px`);Z.style.setProperty("--wb-gt-effect-margin",`${la}px`);Z.style.setProperty("--wb-gt-effect-width",`${Ca}px`);Z.style.setProperty("--wb-gt-effect-height",`${ta}px`);Z.id="wb-gt-effect";Z.classList.add("wb-gt-effect-root");t=document.createElement("div");clWDUtil.SetDimensionGFI(t);
603Z.style.setProperty("--wb-gt-effect-root-width",t.style.width);Z.style.setProperty("--wb-gt-effect-root-height",t.style.height);Z.style.setProperty("--wb-gt-effect-animationDuration",`${W.nGetAnimationDuration()}ms`);t=document.createElement("div");t.id="wb-gt-effect-top";t.classList.add("wb-gt-effect-top");t=this.__SetDivOnClick(t,ya);U=document.createElement("div");U.id="wb-gt-effect-bottom";U.classList.add("wb-gt-effect-bottom");U=this.__SetDivOnClick(U,ya);X=document.createElement("div");X.id=
604"wb-gt-effect-left";X.classList.add("wb-gt-effect-left");X=this.__SetDivOnClick(X,ya);la=document.createElement("div");la.id="wb-gt-effect-right";la.classList.add("wb-gt-effect-right");la=this.__SetDivOnClick(la,ya);switch(W.eGetType()){case Aa.aucun:break;case Aa.gfi:Ca=document.createElement("div");ta=document.createElement("div");Ca.id="wb-gt-effect-gfi-container";Ca.classList.add("wb-gt-effect-gfi-container");ta.id="wb-gt-effect-gfi-hole";W="#"+W.sGetColorAsHex()+W.sGetOpacityAsHex();wa===Xa.cercle&&
605(ta.style.borderRadius="50%",ta.classList.add("wb-gt-effect-gfi-hole"),ta.style.borderColor=W,t.classList.add("wb-gt-effect-gfi-top"),U.classList.add("wb-gt-effect-gfi-bottom"),X.classList.add("wb-gt-effect-gfi-left"),la.classList.add("wb-gt-effect-gfi-right"),Ca.appendChild(ta),Z.appendChild(Ca));t.style.backgroundColor=W;U.style.backgroundColor=W;X.style.backgroundColor=W;la.style.backgroundColor=W;Z.classList.add("wb-gt-effect-gfi");break;case Aa.halo:wa=document.createElement("div");wa.classList.add("wb-gt-effect-halo");
606W.eGetShape()===Xa.cercle?wa.style.borderRadius="50%":wa.style.borderRadius=`${W.nGetBorderRadius()}px`;Ca=Math.min(Ca,ta)*W.nGetGrowthMultiplier();ta="#"+W.sGetColorAsHex();wa.style.setProperty("--wb-gt-effect-color-start",`${ta+W.sGetOpacityAsHex()}`);wa.style.setProperty("--wb-gt-effect-color-end",`${ta+"00"}`);Z.style.setProperty("--wb-gt-effect-growth",`${Ca}px`);Z.appendChild(wa);break;default:throw new a.CErreur(1105);}Z.appendChild(t);Z.appendChild(U);Z.appendChild(X);Z.appendChild(la);return Z}__SetDivOnClick(t,
607U){this._oGetValeur().savedOnClick=t.onclick;switch(U){case va.aucune:t.onclick=Z=>a.NSUtil.bStopPropagation(Z);break;case va.etapeSuivante:t.onclick=Z=>{a.NSOperations.VisiteGuideeChangeEtape(">");return a.NSUtil.bStopPropagation(Z)};t.style.cursor="pointer";break;case va.champ:t.style.pointerEvents="none";break;case va.champPuisEtapeSuivante:const X=t.onclick;t.onclick=X?function(Z){(new Promise((W,la)=>{X===null||X===void 0||X.call(this,Z);W(!0)})).then(()=>a.NSOperations.VisiteGuideeChangeEtape(">"))}:
608()=>{a.NSOperations.VisiteGuideeChangeEtape(">")};break;case va.finVisite:t.onclick=Z=>{a.NSOperations.VisiteGuideeTermine();return a.NSUtil.bStopPropagation(Z)};t.style.cursor="pointer";break;default:throw new a.CErreur(1111);}return t}__UnsetDivOnClick(t,U){if(t!==null)switch(t.onclick=this._oGetValeur().savedOnClick,this._oGetValeur().savedOnClick=null,U){case va.aucune:break;case va.etapeSuivante:t.style.cursor="";break;case va.champ:t.style.pointerEvents="";break;case va.champPuisEtapeSuivante:break;
609case va.finVisite:t.style.cursor="";break;default:throw new a.CErreur(1111);}}__CreatePageInterneDiv(t,U,X,Z){return __awaiter(this,void 0,void 0,function*(){const W=new ia(Z,Na.m_oDescriptionStatique),la=document.createElement("div");la.style.visibility="hidden";document.body.appendChild(la);const ya=yield a.NSAjax.oChargePIBulleVisiteGuid\u00e9e(la,W.sGetInternalPage(),this);this._oGetValeur().tooltipRelease=ya.demonte;this._oGetValeur().tooltipAlias=ya.alias;yield new Promise(wa=>setTimeout(wa,
61050));la.id="wb-gt-tooltip";la.classList.add("wb-gt-tooltip");la.style.padding=`${W.nGetMargin()}px`;la.style.setProperty("--wb-gt-effect-animationDuration",`${(new Ta(this._oGetValeur().effect,Fa.m_oDescriptionStatique)).nGetAnimationDuration()}ms`);switch(W.eGetMode()){case Ia.opaquePopup:la.classList.add("wb-gt-tooltip-opaque");
610la.style.backgroundColor=`#${W.sGetBackgroundColorAsHex()}FF`;la.style.borderColor=`#${W.sGetBorderColorAsHex()}FF`;break;case Ia.transparent:la.style.backgroundColor="transparent";
611la.style.borderColor+="transparent";break;default:throw new a.CErreur(1109);}this.__PositionTooltip(t,U,X,la);la.style.removeProperty("visibility");la.style.visibility="";return la})}__PositionTooltip(t,U,X,Z){var W,la,ya,wa,Ca,ta,bb,qa=document.createElement("div");Z.style.position="absolute";Z.style.top="0";Z.style.left="0";clWDUtil.SetDimensionGFI(qa);Z.style.removeProperty("position");Z.style.removeProperty("top");Z.style.removeProperty("left");Z.style.setProperty("--wb-gt-body-width",qa.style.width);
612Z.style.setProperty("--wb-gt-body-height",qa.style.height);const Ra=new ia(this._oGetValeur().tooltip,Na.m_oDescriptionStatique),db=Ra.eGetMode(),Va=Ra.nGetMargin(),ab=parseInt(qa.style.width),Oa=parseInt(qa.style.height),Ha=(new Ta(this._oGetValeur().effect,Fa.m_oDescriptionStatique)).nGetMargin();qa=Z.offsetWidth;const ua=Z.offsetHeight;let ra=0;Z.style.setProperty("--effect-backgroundcolor-top","transparent");Z.style.setProperty("--effect-backgroundcolor-right","transparent");Z.style.setProperty("--effect-backgroundcolor-bottom",
613"transparent");Z.style.setProperty("--effect-backgroundcolor-left","transparent");Z.style.setProperty("--effect-bordercolor-top","transparent");Z.style.setProperty("--effect-bordercolor-right","transparent");Z.style.setProperty("--effect-bordercolor-bottom","transparent");Z.style.setProperty("--effect-bordercolor-left","transparent");Z.style.setProperty("--effect-backgroundmargin-top","0px");Z.style.setProperty("--effect-backgroundmargin-right","0px");Z.style.setProperty("--effect-backgroundmargin-bottom",
614"0px");Z.style.setProperty("--effect-backgroundmargin-left","0px");Z.style.setProperty("--effect-bordermargin-top","0px");Z.style.setProperty("--effect-bordermargin-right","0px");Z.style.setProperty("--effect-bordermargin-bottom","0px");Z.style.setProperty("--effect-bordermargin-left","0px");Z.style.setProperty("--offset-border-top","0px");Z.style.setProperty("--offset-border-left","0px");Z.style.setProperty("--effect-margin-value","5px");if(ua+2*Ha<Oa-(X+t.height)){U+t.width/2-qa/2<0&&(ra=Math.abs(U+
615t.width/2-qa/2)+Ha);U+t.width/2-qa/2+qa>ab&&(ra=U+t.width/2-qa/2+qa-ab+Ha,ra=-ra);if(db==Ia.opaquePopup){Z.style.setProperty("--effect-pos-top","calc(var(--effect-margin-value) * -2)");Z.style.setProperty("--effect-pos-left","50%");Z.style.setProperty("--effect-backgroundmargin-left","calc((var(--effect-margin-value) * -1))");Z.style.setProperty("--effect-bordermargin-left","calc(var(--effect-backgroundmargin-left) - 1px)");Z.style.setProperty("--effect-backgroundcolor-bottom",`#${Ra.sGetBackgroundColorAsHex()}FF`);
616Z.style.setProperty("--effect-bordercolor-bottom",`#${Ra.sGetBorderColorAsHex()}FF`);Z.style.setProperty("--offset-border-top","2px");var Ua=Ha+5}else Ua=a.NSChamps.oGetChamp((W=this._oGetValeur().tooltipAlias)!==null&&W!==void 0?W:"",31).iGetProcedure([["nGetLongueurFleche","NGETLONGUEURFLECHE"],["nGetArrowLength","NGETARROWLENGTH"]])(),a.NSChamps.oGetChamp((la=this._oGetValeur().tooltipAlias)!==null&&la!==void 0?la:"",31).iGetProcedure([["setOrientation","SETORIENTATION"]])(U-(U+t.width/2-qa/2+
617ra)+t.width/2,X-(X+t.height+Ua)+t.height/2,qa-(Va+1),ua-(Va+1));Z.style.top=`${X+t.height+Ua}px`;Z.style.left=`${U+t.width/2-qa/2+ra}px`}else ua+2*Ha<X?(U+t.width/2-qa/2<0&&(ra=Math.abs(U+t.width/2-qa/2)+Ha),U+t.width/2-qa/2+qa>ab&&(ra=U+t.width/2-qa/2+qa-ab+Ha,ra=-ra),db==Ia.opaquePopup?(Z.style.setProperty("--effect-pos-top","100%"),Z.style.setProperty("--effect-pos-left",`calc(50% - ${ra}px)`),Z.style.setProperty("--effect-backgroundmargin-left","calc((var(--effect-margin-value) * -1))"),Z.style.setProperty("--effect-bordermargin-left",
618"calc(var(--effect-backgroundmargin-left) - 1px)"),Z.style.setProperty("--effect-backgroundcolor-top",`#${Ra.sGetBackgroundColorAsHex()}FF`),Z.style.setProperty("--effect-bordercolor-top",`#${Ra.sGetBorderColorAsHex()}FF`),W=Ha+5):(W=a.NSChamps.oGetChamp((Ua=this._oGetValeur().tooltipAlias)!==null&&Ua!==void 0?Ua:"",31).iGetProcedure([["nGetLongueurFleche","NGETLONGUEURFLECHE"],["nGetArrowLength","NGETARROWLENGTH"]])(),a.NSChamps.oGetChamp((ya=this._oGetValeur().tooltipAlias)!==null&&ya!==void 0?
619ya:"",31).iGetProcedure([["setOrientation","SETORIENTATION"]])(U-(U+t.width/2-qa/2+ra)+t.width/2,X-(X-(ua+W))+t.height/2,qa-(Va+1),ua-(Va+1))),Z.style.top=`${X-(ua+W)}px`,Z.style.left=`${U+t.width/2-qa/2+ra}px`):qa+2*Ha<ab-(X+t.height)?(X+t.height/2-ua/2<0&&(ra=Math.abs(X+t.height/2-ua/2)+Ha),X+t.height/2-ua/2+ua>Oa&&(ra=X+t.height/2-ua/2+ua-Oa+Ha,ra=-ra),db==Ia.opaquePopup?(Z.style.setProperty("--effect-pos-top","50%"),Z.style.setProperty("--effect-pos-left","calc(var(--effect-margin-value) * -2) "),
620Z.style.setProperty("--effect-backgroundmargin-top","calc((var(--effect-margin-value) * -1))"),Z.style.setProperty("--effect-bordermargin-top","calc(var(--effect-backgroundmargin-top) - 1px)"),Z.style.setProperty("--effect-backgroundcolor-right",`#${Ra.sGetBackgroun
620dColorAsHex()}FF`),Z.style.setProperty("--effect-bordercolor-right",`#${Ra.sGetBorderColorAsHex()}FF`),Z.style.setProperty("--offset-border-left","2px"),W=Ha+5):(W=a.NSChamps.oGetChamp((wa=this._oGetValeur().tooltipAlias)!==null&&wa!==
621void 0?wa:"",31).iGetProcedure([["nGetLongueurFleche","NGETLONGUEURFLECHE"],["nGetArrowLength","NGETARROWLENGTH"]])(),a.NSChamps.oGetChamp((Ca=this._oGetValeur().tooltipAlias)!==null&&Ca!==void 0?Ca:"",31).iGetProcedure([["setOrientation","SETORIENTATION"]])(U-(U+t.width+W)+t.width/2,X-(X+t.height/2-ua/2+ra)+t.height/2,qa-(Va+1),ua-(Va+1))),Z.style.top=`${X+t.height/2-ua/2+ra}px`,Z.style.left=`${U+t.width+W}px`):qa+2*Ha<X+t.height&&(X+t.height/2-ua/2<0&&(ra=Math.abs(X+t.height/2-ua/2)+Ha),X+t.height/
6222-ua/2+ua>Oa&&(ra=X+t.height/2-ua/2+ua-Oa+Ha,ra=-ra),db==Ia.opaquePopup?(Z.style.setProperty("--effect-pos-top","50%"),Z.style.setProperty("--effect-pos-left","100%"),Z.style.setProperty("--effect-backgroundmargin-top","calc((var(--effect-margin-value) * -1))"),Z.style.setProperty("--effect-bordermargin-top","calc(var(--effect-backgroundmargin-top) - 1px)"),Z.style.setProperty("--effect-backgroundcolor-left",`#${Ra.sGetBackgroundColorAsHex()}FF`),Z.style.setProperty("--effect-bordercolor-left",`#${Ra.sGetBorderColorAsHex()}FF`),
623W=Ha+5):(W=a.NSChamps.oGetChamp((ta=this._oGetValeur().tooltipAlias)!==null&&ta!==void 0?ta:"",31).iGetProcedure([["nGetLongueurFleche","NGETLONGUEURFLECHE"],["nGetArrowLength","NGETARROWLENGTH"]])(),a.NSChamps.oGetChamp((bb=this._oGetValeur().tooltipAlias)!==null&&bb!==void 0?bb:"",31).iGetProcedure([["setOrientation","SETORIENTATION"]])(U-(U-(qa+W))+t.width/2,X-(X+t.height/2-ua/2+ra)+t.height/2,qa-(Va+1),ua-(Va+1))),Z.style.top=`${X+t.height/2-ua/2+ra}px`,Z.style.left=`${U-(qa+W)}px`)}}const fb=
624b.oCreeDescriptionDINO($a,function(t){return E(t)});b.AjouteDescriptionDINO(70,79,fb);let Aa;(function(t){t[t.aucun=0]="aucun";t[t.gfi=1]="gfi";t[t.halo=2]="halo"})(Aa||(Aa={}));let Xa;(function(t){t[t.aucune=0]="aucune";t[t.rectangle=1]="rectangle";t[t.cercle=2]="cercle"})(Xa||(Xa={}));class Ta extends b.CDinoSimple{constructor(t,U){super(t,U)}viGetMembre2(t,U,X,Z){switch(U){case "COULEUR":case "COLOR":return new b.CDinoPropriete(()=>b.oCreeDinoCouleur(this._oGetValeur().color),W=>{this._oGetValeur().color=
625b.oCreeDinoCouleur(W.m_oValeur).vtGetValeurDirect()},t);case "AGRANDISSEMENT":case "GROW":return b.oGetDinoProprieteSimple(()=>this.nGetGrowth(),W=>{this._oGetValeur().growth=W},b.ms_DescriptionI4,t);case "OPACITE":case "OPACITY":return b.oGetDinoProprieteSimple(()=>this.nGetOpacity(),W=>{this._oGetValeur().opacity=W},b.ms_DescriptionI4,t);case "TYPE":return b.oGetDinoProprieteSimple(()=>this.eGetType(),W=>{this._oGetValeur().type=W},b.ms_DescriptionI4,t);case "DUREEANIMATION":case "ANIMATIONDURATION":return b.oGetDinoProprieteSimple(()=>
626this.nGetAnimationDuration(),W=>{this._oGetValeur().animationDuration=W},b.ms_DescriptionI4,t);case "FORME":case "SHAPE":return b.oGetDinoProprieteSimple(()=>this.eGetShape(),W=>{this._oGetValeur().shape=W},b.ms_DescriptionI4,t);case "ARRONDI":case "ROUND":return b.oGetDinoProprieteSimple(()=>this.nGetBorderRadius(),W=>{this._oGetValeur().borderRadius=W},b.ms_DescriptionI4,t);case "MARGE":case "MARGIN":return b.oGetDinoProprieteSimple(()=>this.nGetMargin(),W=>{this._oGetValeur().margin=W},b.ms_DescriptionI4,
627t);default:return super.viGetMembre2(t,U,X,Z)}}_oGetValeur(){this.m_tValeur||(this.m_tValeur=N());return this.m_tValeur}eGetType(){var t,U,X;const Z=this._oGetValeur().type;return Z!==void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.effect.type)!==null&&X!==void 0?X:Aa.halo}eGetShape(){var t;return(t=this._oGetValeur().shape)!==null&&t!==void 0?t:Xa.rectangle}nGetBorderRadius(){var t;return(t=this._oGetValeur().borderRadius)!==null&&t!==void 0?
628t:5}nGetMargin(){var t;return(t=this._oGetValeur().margin)!==null&&t!==void 0?t:10}sGetColor(){var t,U,X,Z,W;const la=(t=this._oGetValeur().color)===null||t===void 0?void 0:t.toString();if(la!==void 0)return la;if(((X=(U=this._oGetValeur().step)===null||U===void 0?void 0:U.tour)===null||X===void 0?void 0:X.effect.color)!==void 0)return(W=(Z=this._oGetValeur().step)===null||Z===void 0?void 0:Z.tour)===null||W===void 0?void 0:W.effect.color.toString();switch(this.eGetType()){case Aa.aucun:return"#FFFFFF";
629case Aa.gfi:return"#0C0C0C";case Aa.halo:return"#CCBFE9";default:throw new a.CErreur(1108);}}sGetColorAsHex(){const t=new clWDUtil.WDDinoCouleur(this.sGetColor());return`${a.NSUtil.sNumToHex(t.m_tabRVBA[0])}${a.NSUtil.sNumToHex(t.m_tabRVBA[1])}${a.NSUtil.sNumToHex(t.m_tabRVBA[2])}`}nGetOpacity(){var t,U;let X=this._oGetValeur().opacity;if(X!==void 0)return X;X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.effect.opacity;if(X!==void 0)return X;switch(this.eGetType()){case Aa.aucun:return 0;
630case Aa.gfi:return 70;case Aa.halo:return 100;default:throw new a.CErreur(1109);}}sGetOpacityAsHex(){const t=this.nGetOpacity();return a.NSUtil.sNumToHex(a.NSOperations.nArrondiVersZero(255*t/100))}nGetGrowth(){var t,U,X;const Z=this._oGetValeur().growth;return Z!==void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.effect.growth)!==null&&X!==void 0?X:100}nGetGrowthMultiplier(){return this.nGetGrowth()/100}nGetAnimationDuration(){var t,U;let X=
631this._oGetValeur().animationDuration;if(X!==void 0)return X;X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.effect.animationDuration;if(X!==void 0)return X;switch(this.eGetType()){case Aa.aucun:return 0;case Aa.gfi:return 300;case Aa.halo:return 1E3;default:throw new a.CErreur(1110);}}}b.C_VisiteGuideeEtapeEffet=Ta;const Fa=b.oCreeDescriptionDINO(Ta,aa);b.AjouteDescriptionDINO(70,81,Fa);let Ia;(function(t){t[t.opaquePopup=0]="opaquePopup";t[t.transparent=
6321]="transparent"}
632)(Ia||(Ia={}));class ia extends b.CDinoSimple{constructor(t,U){super(t,U)}viGetMembre2(t,U,X,Z){switch(U){case "FENETREINTERNE":case "INTERNALWINDOW":case "PAGEINTERNE":case "INTERNALPAGE":return b.oGetDinoProprieteSimple(()=>this.sGetInternalPage(),W=>{this._oGetValeur().internalPage=W},b.ms_DescriptionChaine,t);case "MARGE":case "MARGIN":return b.oGetDinoProprieteSimple(()=>this.nGetMargin(),W=>{this._oGetValeur().margin=W},b.ms_DescriptionI4,t);case "COULEURFOND":case "BACKGROUNDCOLOR":return I(()=>
633this.sGetBackgroundColor(),W=>{this._oGetValeur().backgroundColor=W},t);case "COULEURCADRE":case "BORDERCOLOR":return I(()=>this.sGetBorderColor(),W=>{this._oGetValeur().borderColor=W},t);case "COULEUR":case "COLOR":return I(()=>this.sGetTextColor(),W=>{this._oGetValeur().textColor=W},t);case "MODE":return b.oGetDinoProprieteSimple(()=>this.eGetMode(),W=>{this._oGetValeur().mode=W},b.ms_DescriptionI4,t);case "ACTIONAUTORISEE":case "ACTIONALLOWED":return Da(this._oGetValeur().actionAllowed);case "MARKDOWN":return b.oGetDinoProprieteSimple(()=>
634this.bGetMarkdown(),W=>{this._oGetValeur().markdown=W},b.ms_DescriptionBooleen,t);default:return super.viGetMembre2(t,U,X,Z)}}_oGetValeur(){this.m_tValeur||(this.m_tValeur=fa());return this.m_tValeur}sGetInternalPage(){var t,U,X;const Z=this._oGetValeur().internalPage;if(Z!==void 0)return Z;if((X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.tooltip.internalPage)!==null&&X!==void 0)t=X;else a:switch(this.eGetMode()){case Ia.opaquePopup:t="__@@DEFAUT_OPAQUE";
635break a;case Ia.transparent:t="__@@DEFAUT_TRANSPARENT";break a;default:throw new a.CErreur(1106);}return t}nGetMargin(){var t,U,X;const Z=this._oGetValeur().margin;return Z!==void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.tooltip.margin)!==null&&X!==void 0?X:15}sGetBackgroundColor(){var t,U,X;const Z=this._oGetValeur().backgroundColor;if(Z!==void 0)return Z;if((X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===
636void 0?void 0:U.tooltip.backgroundColor)!==null&&X!==void 0)t=X;else a:switch(this.eGetMode()){case Ia.opaquePopup:t="#FFFFFF";break a;case Ia.transparent:t="transparent";break a;default:throw new a.CErreur(1108);}return t}sGetBackgroundColorAsHex(){const t=new clWDUtil.WDDinoCouleur(this.sGetBackgroundColor());return`${a.NSUtil.sNumToHex(t.m_tabRVBA[0])}${a.NSUtil.sNumToHex(t.m_tabRVBA[1])}${a.NSUtil.sNumToHex(t.m_tabRVBA[2])}`}sGetBorderColor(){var t,U,X;const Z=this._oGetValeur().borderColor;return Z!==
637void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.tooltip.borderColor)!==null&&X!==void 0?X:"#3B85FA"}sGetBorderColorAsHex(){const t=new clWDUtil.WDDinoCouleur(this.sGetBorderColor());return`${a.NSUtil.sNumToHex(t.m_tabRVBA[0])}${a.NSUtil.sNumToHex(t.m_tabRVBA[1])}${a.NSUtil.sNumToHex(t.m_tabRVBA[2])}`}sGetTextColor(){const t=this._oGetValeur().textColor;if(t!==void 0)return t;switch(this.eGetMode()){case Ia.opaquePopup:return"#000000";case Ia.transparent:return"#FFFFFF";
638default:throw new a.CErreur(1108);}}sGetTextColorAsHex(){const t=new clWDUtil.WDDinoCouleur(this.sGetTextColor());return`${a.NSUtil.sNumToHex(t.m_tabRVBA[0])}${a.NSUtil.sNumToHex(t.m_tabRVBA[1])}${a.NSUtil.sNumToHex(t.m_tabRVBA[2])}`}eGetMode(){var t,U,X;const Z=this._oGetValeur().mode;return Z!==void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.tooltip.mode)!==null&&X!==void 0?X:Ia.opaquePopup}bGetMarkdown(){var t,U,X;const Z=this._oGetValeur().markdown;
639return Z!==void 0?Z:(X=(U=(t=this._oGetValeur().step)===null||t===void 0?void 0:t.tour)===null||U===void 0?void 0:U.tooltip.markdown)!==null&&X!==void 0?X:!1}}b.C_VisiteGuideeEtapeBulle=ia;const Na=b.oCreeDescriptionDINO(ia,ka);b.AjouteDescriptionDINO(70,82,Na);class Ka extends b.CDinoSimple{constructor(t,U){super(t,U)}viGetMembre2(t,U,X,Z){switch(U){case "ETAPEPRECEDENTE":case "PREVIOUSSTEP":return b.oGetDinoProprieteSimple(()=>this.bGetPrevious(),W=>{this._oGetValeur().previous=W},b.ms_DescriptionBooleen,
640t);case "ETAPESUIVANTE":case "NEXTSTEP":return b.oGetDinoProprieteSimple(()=>this.bGetNext(),W=>{this._oGetValeur().next=W},b.ms_DescriptionBooleen,t);case "FINVISITE":case "ENDTOUR":return b.oGetDinoProprieteSimple(()=>this.bGetEnd(),W=>{this._oGetValeur().end=W},b.ms_DescriptionBooleen,t);default:return super.viGetMembre2(t,U,X,Z)}}_oGetValeur(){this.m_tValeur||(this.m_tValeur=Ja());return this.m_tValeur}bGetPrevious(){var t,U,X,Z;const W=this._oGetValeur().previous;return W!==void 0?W:(Z=(X=(U=
641(t=this._oGetValeur().bubble)===null||t===void 0?void 0:t.step)===null||U===void 0?void 0:U.tour)===null||X===void 0?void 0:X.tooltip.actionAllowed.previous)!==null&&Z!==void 0?Z:!1}bGetNext(){var t,U,X,Z;const W=this._oGetValeur().next;return W!==void 0?W:(Z=(X=(U=(t=this._oGetValeur().bubble)===null||t===void 0?void 0:t.step)===null||U===void 0?void 0:U.tour)===null||X===void 0?void 0:X.tooltip.actionAllowed.next)!==null&&Z!==void 0?Z:!1}bGetEnd(){var t,U,X,Z;const W=this._oGetValeur().end;return W!==
642void 0?W:(Z=(X=(U=(t=this._oGetValeur().bubble)===null||t===void 0?void 0:t.step)===null||U===void 0?void 0:U.tour)===null||X===void 0?void 0:X.tooltip.actionAllowed.end)!==null&&Z!==void 0?Z:!1}}b.C_VisiteGuideeActionAutorisee=Ka;const Sa=b.oCreeDescriptionDINO(Ka,Qa);b.AjouteDescriptionDINO(70,83,Sa)})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
643(function(a){(function(b){function h(){return new clWDUtil.WDDinoCouleur}function B(K){return new clWDUtil.WDDinoCouleur(K)}function y(K){const ba=M.m_oDescriptionDynamique;return void 0===K?ba.viCreation():ba.viCreationCopie(K,3)}function p(K,ba,O){return new b.CDinoPropriete(()=>y(K()),function(q){ba(new clWDUtil.WDDinoCouleur(q.m_oValeur))},O)}function m(){return{m_eType:1,m_dEpaisseur:0,m_oCouleur:h()}}function f(K){const ba=m();d(K,ba);return ba}function d(K,ba){ba.m_eType=K.m_eType;ba.m_dEpaisseur=
644K.m_dEpaisseur;ba.m_oCouleur=B(K.m_oCouleur)}function c(){return{m_dLargeur:0,m_dHauteur:0}}function g(K){const ba=c();k(K,ba);return ba}function k(K,ba){ba.m_dLargeur=K.m_dLargeur;ba.m_dHauteur=K.m_dHauteur}function n(){return{m_oCouleurDebut:h(),m_oCouleurFin:h(),m_oCouleur3:h(),m_oCouleur4:h(),m_nAngle:0,m_nDistanceCouleur3:0,m_nDistanceCouleur4:0}}function C(K){const ba=n();v(K,ba);return ba}function v(K,ba){ba.m_oCouleurDebut=B(K.m_oCouleurDebut);ba.m_oCouleurFin=B(K.m_oCouleurFin);ba.m_oCouleur3=
645B(K.m_oCouleur3);ba.m_oCouleur4=B(K.m_oCouleur4);ba.m_nAngle=K.m_nAngle;ba.m_nDistanceCouleur3=K.m_nDistanceCouleur3;ba.m_nDistanceCouleur4=K.m_nDistanceCouleur4}const M=b.oCreeDescriptionDINORebondFrameworkV1(h,B,function(K){return new clWDUtil.WDDinoCouleur(K)},[["ROUGE","RED",0,8],["VERT","GREEN",1,8],["BLEU","BLUE",2,8],["OPACITE","OPACITY",3,8],["TEINTE","HUE",4,8],["SATURATION","SATURATION",5,8],["LUMINOSITE","LUMINANCE",6,8],["COULEUR","COLOR",7,16]],clWDUtil.WDDinoCouleur);b.AjouteDescriptionDINO(61,
6461,M);b.oCreeDinoCouleur=y;b.oCreeValeurTrait=m;b.oCopieValeurTrait=f;b.oGetProprieteDinoTrait=function(K){return new b.CDinoProprieteDino(K,G,e.m_oDescriptionStatique,m,d)};class G extends b.CDinoSimple{viGetMembre2(K,ba,O,q){let z=this.__oGetValeur();switch(ba){case "TYPE":return b.oGetDinoProprieteSimple(()=>z.m_eType,function(R){z.m_eType=R},b.ms_DescriptionI4,K);case "EPAISSEUR":case "THICKNESS":return b.oGetDinoProprieteSimple(()=>
646z.m_dEpaisseur,function(R){z.m_dEpaisseur=R},b.ms_DescriptionR8,
647K);case "COULEUR":case "COLOR":return p(()=>z.m_oCouleur,R=>{z.m_oCouleur=R},K)}return super.viGetMembre2(K,ba,O,q)}__oGetValeur(){this.m_tValeur||(this.m_tValeur=m());return this.m_tValeur}}const e=b.oCreeDescriptionDINO(G,f);b.AjouteDescriptionDINO(61,5,e);b.oCreeValeurCoin=c;b.oCopieValeurCoin=g;b.oGetProprieteDinoCoin=function(K){return new b.CDinoProprieteDino(K,l,r.m_oDescriptionStatique,c,k)};class l extends b.CDinoSimple{viGetMembre2(K,ba,O,q){let z=this.__oGetValeur();switch(ba){case "LARGEUR":case "WIDTH":return b.oGetDinoProprieteSimple(()=>
648z.m_dLargeur,function(R){z.m_dLargeur=R},b.ms_DescriptionR8,K);case "HAUTEUR":case "HEIGHT":return b.oGetDinoProprieteSimple(()=>z.m_dHauteur,function(R){z.m_dHauteur=R},b.ms_DescriptionR8,K)}return super.viGetMembre2(K,ba,O,q)}__oGetValeur(){this.m_tValeur||(this.m_tValeur=c());return this.m_tValeur}}const r=b.oCreeDescriptionDINO(l,g);b.AjouteDescriptionDINO(61,6,r);class I extends b.CDinoSimple{viGetMembre2(K,ba,O,q){let z=this.__oGetValeur();switch(ba){case "COULEURDEBUT":case "COLORSTART":return p(()=>
649z.m_oCouleurDebut,R=>{z.m_oCouleurDebut=R},K);case "COULEURFIN":case "COLOREND":return p(()=>z.m_oCouleurDebut,R=>{z.m_oCouleurFin=R},K);case "ANGLE":return b.oGetDinoProprieteSimple(()=>z.m_nAngle,function(R){z.m_nAngle=R},b.ms_DescriptionI4,K);case "COULEUR3":case "COLOR3":return p(()=>z.m_oCouleur3,R=>{z.m_oCouleur3=R},K);case "DISTANCECOULEUR3":case "DISTANCECOLOR3":return b.oGetDinoProprieteSimple(()=>z.m_nDistanceCouleur3,function(R){z.m_nDistanceCouleur3=R},b.ms_DescriptionI4,K);case "COULEUR4":case "COLOR4":return p(()=>
650z.m_oCouleur4,R=>{z.m_oCouleur4=R},K);case "DISTANCECOULEUR4":case "DISTANCECOLOR4":return b.oGetDinoProprieteSimple(()=>z.m_nDistanceCouleur4,function(R){z.m_nDistanceCouleur4=R},b.ms_DescriptionI4,K)}return super.viGetMembre2(K,ba,O,q)}__oGetValeur(){this.m_tValeur||(this.m_tValeur=n());return this.m_tValeur}}const x=b.oCreeDescriptionDINO(I,C);b.AjouteDescriptionDINO(61,7,x);class H extends b.CDinoSimple{viGetMembre2(K,ba,O,q){let z=this.__oGetValeur();switch(ba){case "COULEUR":case "COLOR":return p(()=>
651z.m_oCouleur,R=>{z.m_oCouleur=R},K);case "TYPE":return b.oGetDinoProprieteSimple(()=>z.m_eType,function(R){z.m_eType=R},b.ms_DescriptionI4,K);case "HACHURE":case "HATCH":return b.oGetDinoProprieteSimple(()=>z.m_eHachure,function(R){z.m_eHachure=R},b.ms_DescriptionI4,K);case "DEGRADE":case "GRADIENT":return new b.CDinoProprieteDino(z.m_oDegrade,I,x.m_oDescriptionStatique,n,v)}return super.viGetMembre2(K,ba,O,q)}__oGetValeur(){this.m_tValeur||(this.m_tValeur={m_eType:0,m_oCouleur:h(),m_eHachure:6,m_oDegrade:n()});
652return this.m_tValeur}}b.ms_oDescriptionDinoFond=b.oCreeDescriptionDINO(H,function(K){return{m_eType:K.m_eType,m_oCouleur:B(K.m_oCouleur),m_eHachure:K.m_eHachure,m_oDegrade:C(K.m_oDegrade)}});b.AjouteDescriptionDINO(61,8,b.ms_oDescriptionDinoFond)})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
653(function(a){(function(b){function h(c){return new B(c,f.m_oDescriptionDynamique)}class B extends b.CDino{valueOf(){throw new a.CErreur(601);}viGetMembre2(c,g,k,n){switch(g){case "CODE":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||y).m_eContinent,C=>{this.m_tValeur=StdPaysContinent.oGetContinentParNomOuCode(C)},b.ms_DescriptionChaine,c);case "NOM":case "NAME":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||y).m_sRessourceLibelle,null,b.ms_DescriptionChaine,c)}return super.viGetMembre2(c,
654g,k,n)}}const y={m_eContinent:"",m_sRessourceLibelle:""};class p extends b.CDino{valueOf(){throw new a.CErreur(601);}viGetMembre2(c,g,k,n){switch(g){case "CODEISO2":case "ISOCODE2":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||m).m_sCodeAlpha2,C=>{this.m_tValeur=StdPaysContinent.oGetPaysParNomOuCodeISO(C)},b.ms_DescriptionChaine,c);case "CODEISO3":case "ISOCODE3":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||m).m_sCodeAlpha3,null,b.ms_DescriptionChaine,c);case "CODEISONUM":case "ISOCODENUM":return b.oGetDinoProprieteSimple(()=>
655(this.m_tValeur||m).m_sCodeNum,null,b.ms_DescriptionChaine,c);case "CONTINENT":return new b.CDinoPropriete(()=>h((this.m_tValeur||m).m_oInfoContinent),null,c);case "NATION":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||m).m_nNation,null,b.ms_DescriptionI4,c);case "NOM":case "NAME":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||m).m_sRessourceLibelle,null,b.ms_DescriptionChaine,c);case "PREFIXENUMERODETELEPHONE":case "PHONENUMBERPREFIX":return b.oGetDinoProprieteSimple(()=>(this.m_tValeur||
656m).m_sPrefixeNumTel,null,b.ms_DescriptionChaine,c)}return super.viGetMembre2(c,g,k,n)}}const m={m_sRessourceLibelle:"",m_sCodeAlpha2:"",m_sCodeAlpha3:"",m_sCodeNum:"",m_nNation:0,m_oInfoContinent:void 0,m_sPrefixeNumTel:""},f=b.oCreeDescriptionDINO(B,function(c){return c}),d=b.oCreeDescriptionDINO(p,function(c){return c});b.AjouteDescriptionDINO(8,4,f);b.AjouteDescriptionDINO(8,5,d);b.oCreeDinoContinent=h;b.oCreeDinoPays=function(c){return new p(c,d.m_oDescriptionDynamique)}})(a.NSTypes||(a.NSTypes=
657{}))})(NSPCS||(NSPCS={}));
658(function(a){(function(b){function h(e,l,r,I,x,H){return b.oGetDinoProprieteSimple(function(){return e.map(l).reduce(function(K,ba){return K===ba?ba:I})},function(K){e.forEach(function(ba){r(ba,K)})},x,H)}function B(e,l,r){return new b.CDinoPropriete(()=>b.ms_DescriptionDuree.viCreationCopie(e(),0),l?I=>l(b.ms_DescriptionDuree.viCreation(I)):null,r)}function y(){return!1}function p(){return!0}function m(){return null}function f(){return 0}function d(e){return e}function c(){throw new a.CErreur(619);}
659class g extends b.CDinoSimple{viGetMembre2(e,l,r,I){let x=this.__oGetValeur();switch(l){case "COULEUR":case "COLOR":return new b.CDinoPropriete(function(){return b.oCreeDinoCouleur(x.m_tabTraits.map(H=>H.m_oCouleur).reduce((H,K)=>String(H)===String(K)?K:new clWDUtil.WDDinoCouleur))}
659,function(H){x.m_tabTraits.forEach(function(K){K.m_oCouleur=new clWDUtil.WDDinoCouleur(H.m_oValeur)})},e);case "EPAISSEUR":case "THICKNESS":return h(x.m_tabTraits,H=>H.m_dEpaisseur,function(H,K){H.m_dEpaisseur=K},-1,b.ms_DescriptionR8,
660e);case "TRAIT":case "LINE":return h(x.m_tabTraits,H=>H.m_eType,function(H,K){H.m_eType=K},-1,b.ms_DescriptionI4,e);case "BORDS":case "EDGES":return b.oGetDinoProprieteSimple(()=>x.m_nBords,function(H){x.m_nBords=H&15},b.ms_DescriptionI4,e);case "ARRONDI":case "ROUND":return h(x.m_tabCoins,function(H){const K=H.m_dLargeur;return K===H.m_dHauteur?K:-1},function(H,K){H.m_dLargeur=K;H.m_dHauteur=K},-1,b.ms_DescriptionR8,e);case "TRAITHAUT":case "LINETOP":return b.oGetProprieteDinoTrait(x.m_tabTraits[1]);
661case "TRAITGAUCHE":case "LINELEFT":return b.oGetProprieteDinoTrait(x.m_tabTraits[0]);case "TRAITBAS":case "LINEBOTTOM":return b.oGetProprieteDinoTrait(x.m_tabTraits[3]);case "TRAITDROITE":case "LINERIGHT":return b.oGetProprieteDinoTrait(x.m_tabTraits[2]);case "COINHAUTGAUCHE":case "TOPLEFTCORNER":return b.oGetProprieteDinoCoin(x.m_tabCoins[0]);case "COINHAUTDROITE":case "TOPRIGHTCORNER":return b.oGetProprieteDinoCoin(x.m_tabCoins[1]);case "COINBASGAUCHE":case "BOTTOMLEFTCORNER":return b.oGetProprieteDinoCoin(x.m_tabCoins[2]);
662case "COINBASDROITE":case "BOTTOMRIGHTCORNER":return b.oGetProprieteDinoCoin(x.m_tabCoins[3])}return super.viGetMembre2(e,l,r,I)}__oGetValeur(){this.m_tValeur||(this.m_tValeur={m_nBords:15,m_tabCoins:[b.oCreeValeurCoin(),b.oCreeValeurCoin(),b.oCreeValeurCoin(),b.oCreeValeurCoin()],m_tabTraits:[b.oCreeValeurTrait(),b.oCreeValeurTrait(),b.oCreeValeurTrait(),b.oCreeValeurTrait()]});return this.m_tValeur}}b.ms_oDescriptionDinoCadre=b.oCreeDescriptionDINO(g,function(e){return{m_nBords:e.m_nBords,m_tabCoins:e.m_tabCoins.map(b.oCopieValeurCoin),
663m_tabTraits:e.m_tabTraits.map(b.oCopieValeurTrait)}});b.AjouteDescriptionDINO(0,0,b.ms_oDescriptionDinoCadre);class k extends b.CDinoSimple{viGetMembre2(e,l,r,I){let x=this.__oGetValeur();switch(l){case "DEMARRE":case "STARTED":return b.oGetDinoProprieteSimple(()=>x.m_bEncours,null,b.ms_DescriptionBooleen,e);case "VALEUR":case "VALUE":return B(()=>this.GetValeur(),null,e)}return super.viGetMembre2(e,l,r,I)}__oGetValeur(){this.m_tValeur||(this.m_tValeur={m_bEncours:!1,m_oDebut:b.ms_DescriptionDateHeure.viCreation(),
664m_oDureeCumul:b.ms_DescriptionDuree.viCreation()});return this.m_tValeur}GetValeur(){let e=this.__oGetValeur(),l=e.m_oDureeCumul.valueOf();e.m_bEncours&&(l+=b.ms_DescriptionDateHeure.viCreation().oSoustractionDate(e.m_oDebut).valueOf());return new b.CDuree(l)}Demarre(){let e=this.__oGetValeur();e.m_oDebut=b.ms_DescriptionDateHeure.viCreation();e.m_oDureeCumul=b.ms_DescriptionDuree.viCreation();e.m_bEncours=!0}Arrete(){let e=this.__oGetValeur(),l=this.GetValeur();e.m_oDureeCumul=new b.CDuree(l.valueOf());
665e.m_bEncours=!1;return l}Reprend(){let e=this.__oGetValeur();e.m_bEncours||(e.m_oDebut=b.ms_DescriptionDateHeure.viCreation(),e.m_bEncours=!0)}Reinitialise(){let e=this.__oGetValeur();e.m_oDureeCumul=new b.CDuree(0);e.m_bEncours=!1}}b.oGetDinoProprieteDuree=B;b.ms_oDescriptionDinoChrono=b.oCreeDescriptionDINO(k,function(e){return{m_bEncours:e.m_bEncours,m_oDebut:b.ms_DescriptionDateHeure.viCreation(a.iGetValeurInitiale(e.m_oDebut,2)),m_oDureeCumul:b.ms_DescriptionDuree.viCreation(a.iGetValeurInitiale(e.m_oDureeCumul,
6662))}});b.AjouteDescriptionDINO(0,2,b.ms_oDescriptionDinoChrono);
666class n extends a.NSUtil.CTSousElement{constructor(e,l,r,I){super(e);this.m_oValeur=l;this.m_bTemporaire=r;this.m_sNom=I}valueOf(){return this.m_oValeur}toJSON(e){return this.m_oValeur}viGetRValue(e){return this.__oGetJSON()}veGetTypeWL(){return 111}vSetValeur2(e){this.__oGetJSON().Affectation(e)}sGetNom(){return this.m_sNom}SetNom(e){e=String(e);const l=this.m_sNom;if(l!==e){var r=this.m_tParent;if(r=this.m_bTemporaire||null===r?null:
667r.oGetValeurObjet()){if(r.hasOwnProperty(e))throw new a.CErreur(1100,e);delete r[l];r[e]=this}this.m_sNom=e}this.SetValide()}oGetValeur(){switch(typeof this.m_oValeur){case "number":case "string":case "boolean":return this.m_oValeur;default:return null}}SetValeur(e){e=a.NSValues.oAny2Natif(e);this.SetValeurNative(e)}SetValeurDirect(e){this.m_oValeur=e.m_oValeur}eGetType(){return b.oGetPourNatif(this.m_oValeur,1,13,16,28,61,e=>12,0,143,142,0)}bGetExiste(){return!this.m_bTemporaire}SetExiste(e){this.__SetTemporaire(!a.NSUtil.bGetBooleen(e))}nGetOccurrence(){const e=
668this.m_oValeur;return Array.isArray(e)?e.length:0}sGetFormatJSON(){return a.NSUtil.xsStringifyJSON(this,!0)}xSetFormatJSON(e){let l;try{l=a.NSUtil.oEvalJSON(String(e),null)}catch(r){throw new a.CErreur(607);}this.SetValeurNative(l)}oCloneRacine(e){return n.__s_oClone(this,l=>l.m_oValeur,e?e.m_tParent:null,e?e.m_bTemporaire:!1,e?e.m_sNom:this.m_sNom)}SetValeurNative(e){this.__SetValeur(e,d);this.SetValide()}__oGetJSON(){return new v(this,null===this.m_tParent?G.m_oDescriptionDynamique:G.m_oDescriptionStatique)}__SetValeur(e,
669l){this.m_oValeur=function(r,I,x){I=x(I);switch(typeof I){case "number":case "string":case "boolean":return I;case "object":if(null===I)return null;if(Array.isArray(I))return I.map(K=>n.__s_oClone(K,x,r,!1,""));const H={};a.NSUtil.bForEachIn(I,(K,ba)=>{H[K]=n.__s_oClone(ba,x,r,!1,K);return!0});return H;default:return null}}(this,e,l)}SetValide(){this.__SetTemporaire(!1)}__SetTemporaire(e){if(e!==this.m_bTemporaire){var l=this.m_tParent;a.CDebug.s_Assert(null!==l);null!==l&&((this.m_bTemporaire=e)?
670(this.m_oValeur=null,l.__SupprimeFils(this)):(l.__AjouteFils(this),l.SetValide()))}}static __s_oClone(e,l,r,I,x){r=new n(r,null,I,x);r.__SetValeur(e,l);return r}oGetValeurObjet(){return this.oSurValeur(m,m,d,m)}__SupprimeFils(e){this.oSurValeur(c,c,function(l){delete l[e.m_sNom]},function(l){const r=l.indexOf(e);-1!==r&&l.splice(r,1)})}__AjouteFils(e){function l(r){r[e.m_sNom]=e}this.oSurValeur(c,()=>{this.m_oValeur={};l(this.m_oValeur)},l,function(r){r.push(e)})}oSurValeur(e,l,r,I){let x=this.m_oValeur;
671switch(typeof x){default:return e(x);case "object":return Array.isArray(x)?I(x):null===x?l():r(x)}}bValeurAutomatiqueEstValeurLecture(){return this.bFils()&&this.oSurValeur(p,p,y,y)}bValeurAutomatiqueEstValeurEcriture(){return this.bFils()}bFils(){return null!==this.m_tParent}eGetTypeWLPourPropriete(e){if(this.bFils()){const l=this.m_oValeur;switch(typeof l){default:if(null!==l)break;case "number":case "string":case "boolean":return this.eGetType()}}return e}oTransformeEnTableauVide(){a.CDebug.s_Assert(null===
672this.m_oValeur,"Appel de CJSONValeur::TransformeEnTableauVide avec une valeur non null");const e=[];this.m_oValeur=e;this.SetValide();return e}}class C extends b.CTDescriptionDinoSimple{constructor(e){super(v,e,(l,r)=>l.oCloneRacine(r.vtGetValeurDirect()))}_vxVerifieAffectation(e,l){var r;if((r=e===null||e===void 0?void 0:e.vtGetValeurDirect())===null||r===void 0?0:r.bFils())return super._vxVerifieAffectation(e,l)}_voGetDinoValeur(e,l){const r=super._voGetDinoValeur(e,l);if(void 0!==r.m_oValeur)return r;
673e=void 0!=e?e:new n(null,null,!1,"");l=a.NSValues.oAny2Natif(l);if("string"===typeof l)try{e.xSetFormatJSON(l)}catch(I){e.SetValeur(l)}else e.SetValeur(l);return{m_oValeur:e,m_bTrouve:!0}}}class v extends b.CDino{toString(e){e=this.oGetJSONContenu();return e.bValeurAutomatiqueEstValeurLecture()?String(e.oGetValeur()):a.NSUtil.xsStringifyJSON(e,!0)}valueOf(){return this.oGetJSONContenu().valueOf()}viGetRValue(e){switch(e){default:return this;case 1:case 5:return this.__oGetProprieteValeurAutomatique()}}viGetMembre2(e,
674l,r,I){if(4===I){if(l=this.__iGetPropriete(e,l))return l;throw new a.CErreur(605,e);}return this.__iGetMembre(e)}viGetSousElement(e,l){var r=a.NSValues.oAny2Natif(l[e]);r="string"===typeof r?this.__iGetMembre(r):this.__iSousElementTableau(r);return a.NSUtil.iChaineSousElement(r,e+1,l)}viGetAsTableau(){return this.oGetJSONContenu().oSurValeur(m,()=>{this.oGetJSONContenu().oTransformeEnTableauVide();return this},m,e=>this)}viGetAsTableauAssociatif(){return this.oGetJSONContenu().oSurValeur(m,m,e=>this,
675m)}xiGetTableauCherche(){throw new a.CErreur(601);}xiGetTableauTri(){throw new a.CErreur(601);}xiGetTableauSupprime(){return this}xRedimensionne(){throw new a.CErreur(601);}nAjouteLigne(){throw new a.CErreur(601);}xCopieDepuis(){throw new a.CErreur(601);}DeplaceLigne(){throw new a.CErreur(601);}Echange(){throw new a.CErreur(601);}eTypeElement(){return 111}bDynamique(){return!0}Insere(){throw new a.CErreur(601);}InsereLigne(){throw new a.CErreur(601);}eGetModeAgrandissement(){return 0}nGetNbDimensions(){return 1}nGetUneDimension(e){return this.nGetNbElements()}nGetNbElements(){return this.nGetNbElementsFiltre(!1)}nGetDimension0Pas(){return 1}iGetSousElementIndice(e,
676l){return this.iGetSousElementIndiceFiltre(e,l,!1)}iGetDescriptionElement(){return G.m_oDescriptionStatique}viGetAsTableauType(){return null}nSupprime(e){return this.oGetJSONContenu().oSurValeur(c,f,function(l){const r=String(e);return l.hasOwnProperty(r)?(delete l[r],1):0},l=>l.splice(e,1).length)}SupprimeTout(){this.oGetJSONContenu().oSurValeur(c,f,a.NSUtil.SupprimeToutMembres,function(e){e.length=0})}bAvecDoublon(){return!1}eTypeCle(){return 16}Inverse(){throw new a.CErreur(601);}Trie(){throw new a.CErreur(601);
677}nGetNbElementsCle(){throw new a.CErreur(601);}oGetCle(){throw new a.CErreur(601);}__oGetProprieteValeurAutomatique(){return new a.NSUtil.CPropriete(()=>{const e=this.oGetJSONContenu();return a.NSValues.iAny2RValue(e.bValeurAutomatiqueEstValeurLecture()?e.oGetValeur():e.sGetFormatJSON())},e=>this.Affectation(e),e=>this.oGetJSONContenu().toJSON(e),()=>this.oGetJSONContenu().eGetTypeWLPourPropriete(16),"ValeurAutomatique/AutomaticValue")}Affectation(e){var l,r=this.oGetJSONContenu();if(r.bValeurAutomatiqueEstValeurEcriture()){var I=
678e.m_oValeur;b.iGetAsDino(I,0,16)?(r=this.vtGetValeurDirect(),this.viGetDescriptionType().viAffectation(this,e),r&&(e=this.vtGetValeurDirect())&&(r.SetValeurDirect(e),this.vSetValeurDirect(r)),(l=this.vtGetValeurDirect())===null||l===void 0||l.SetValide()):r.SetValeur(I)}else this.viGetDescriptionType().viAffectation(this,e),(I=this.vtGetValeurDirect())===null||I===void 0||I.SetValide()}oGetJSONContenu(){void 0===this.m_tValeur&&(a.CDebug.s_Assert(!1,"DINO JSON : CJSONContenu undefined."),this.m_tValeur=
679new n(null,null,!1,""));return this.m_tValeur}__iGetPropriete(e,l){switch(l){case "NOM":case "NAME":return a.NSUtil.oGetProprieteSimple(()=>this.oGetJSONContenu().sGetNom(),r=>this.oGetJSONContenu().SetNom(r),16,e);case "VALEUR":case "VALUE":return new a.NSUtil.CPropriete(()=>a.NSValues.iAny2RValue(this.oGetJSONContenu().oGetValeur()),r=>this.oGetJSONContenu().SetValeur(r.m_oValeur),void 0,()=>this.oGetJSONContenu().eGetTypeWLPourPropriete(111),e);case "TYPE":return a.NSUtil.oGetProprieteSimple(()=>
680this.oGetJSONContenu().eGetType(),null,8,e);case "EXISTE":case "EXIST":return a.NSUtil.oGetProprieteSimple(()=>this.oGetJSONContenu().bGetExiste(),r=>this.oGetJSONContenu().SetExiste(r),1,e);case "OCCURRENCE":case "COUNT":return a.NSUtil.oGetProprieteSimple(()=>this.oGetJSONContenu().nGetOccurrence(),null,8,e);case "FORMATJSON":case "JSONFORMAT":return a.NSUtil.oGetProprieteSimple(()=>this.oGetJSONContenu().sGetFormatJSON(),r=>this.oGetJSONContenu().xSetFormatJSON(r),16,e);case "VALEURAUTOMATIQUE":case "AUTOMATICVALUE":return this.__oGetProprieteValeurAutomatique();
681case "MEMBRE":case "MEMBER":return new M(this);default:return null}}__iGetMembre(e){const l=r=>{function I(){return new n(x,null,!0,e)}const x=this.oGetJSONContenu(),H=x.oSurValeur(c,I,function(K){if(K.hasOwnProperty(e))return K[e];if(r){let ba;a.NSUtil.bForEachIn(K,function(O,q){return 0==a.NSUtil.nCompareLogique(e,O)?(ba=q,!1):!0});if(void 0!==ba)return ba}return I()},c);
681return new v(H,this.iGetDescriptionElement())};return new b.CDinoPropriete(()=>l(!0),r=>l(!1).Affectation(r),e)}__iSousElementTableau(e){function l(I,
682x){const H=a.NSUtil.xnGetIndiceC(e,x.length,1,0);for(;x.length<=H;)x.push(new n(I,null,!1,""));return x[H]}const r=this.oGetJSONContenu();return r.oSurValeur(c,()=>l(r,r.oTransformeEnTableauVide()),c,I=>l(r,I))}nGetNbElementsFiltre(e){return this.oGetJSONContenu().oSurValeur(c,c,l=>Object.keys(l).length,e?f:l=>l.length)}iGetSousElementIndiceFiltre(e,l,r){function I(){return new n(x,null,!0,"")}const x=this.oGetJSONContenu();return x.oSurValeur(c,r?I:c,H=>{const K=Object.keys(H)[e];l&&(l.m_oCle=K);
683return void 0!==K?H[K]:I()},r?c:H=>this.__iSousElementTableau(e+1))}}class M extends a.NSUtil.CCollection{constructor(e){super();this.m_oJSON=e}valueOf(){return this.__oGetJSONContenu().toJSON()}veGetTypeWL(){return 109}nAjouteLigne(){throw new a.CErreur(601);}DeplaceLigne(){throw new a.CErreur(601);}Echange(){throw new a.CErreur(601);}eTypeElement(){return 111}Insere(){throw new a.CErreur(601);}eGetModeAgrandissement(){return 0}nGetNbElements(){return this.m_oJSON.nGetNbElementsFiltre(!0)}iGetSousElementIndice(e){return this.m_oJSON.iGetSousElementIndiceFiltre(e,
684void 0,!0)}iGetDescriptionElement(){return G.m_oDescriptionDynamique}nSupprime(e){return this.__oGetJSONContenu().oSurValeur(c,f,function(l){const r=Object.keys(l)[e];return void 0!==r?(delete l[r],1):0},c)}SupprimeTout(){return this.m_oJSON.SupprimeTout()}__oGetJSONContenu(){return this.m_oJSON.oGetJSONContenu()}}const G={m_oDescriptionStatique:new C(!1),m_oDescriptionDynamique:new C(!0)};b.AjouteDescriptionDINO(0,16,G)})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
685(function(a){(function(b){class h extends b.CDinoSimple{viGetMembre2(B,y,p,m){let f=this.__oGetValeur();switch(y){case "CONVERSIONCOMPLETE":case "FULLCONVERSION":return b.oGetDinoProprieteSimple(()=>f.m_bConversionComplete,function(d){f.m_bConversionComplete=d},b.ms_DescriptionBooleen,B);case "CONVERSIONTABLEAUAVECRACINE":case "ARRAYCONVERSIONWITHROOT":return b.oGetDinoProprieteSimple(()=>f.m_bConversionTableauAvecRacine,function(d){f.m_bConversionTableauAvecRacine=d},b.ms_DescriptionBooleen,B);case "NOMELEMENT":case "ELEMENTNAME":return b.oGetDinoProprieteSimple(()=>
686f.m_sNomElement,function(d){f.m_sNomElement=d},b.ms_DescriptionChaine,B);case "NOMRACINEXML":case "XMLROOTNAME":return b.oGetDinoProprieteSimple(()=>f.m_sNomRacineXML,function(d){f.m_sNomRacineXML=d},b.ms_DescriptionChaine,B);case "PREFIXEATTRIBUT":case "PREFIXATTRIBUTE":return b.oGetDinoProprieteSimple(()=>f.m_sPrefixeAttribut,function(d){f.m_sPrefixeAttribut=d},b.ms_DescriptionChaine,B);case "PREFIXECDATA":case "PREFIXCDATA":return b.oGetDinoProprieteSimple(()=>f.m_sPrefixeCDATA,function(d){f.m_sPrefixeCDATA=
687d},b.ms_DescriptionChaine,B);case "PREFIXENAMESPACEDECLARE":case "PREFIXNAMESPACEDECLARED":return b.oGetDinoProprieteSimple(()=>f.m_sPrefixeNamespaceDeclare,function(d){f.m_sPrefixeNamespaceDeclare=d},b.ms_DescriptionChaine,B);case "PREFIXENAMESPACENOEUD":case "PREFIXNAMESPACENODE":return b.oGetDinoProprieteSimple(()=>f.m_sPrefixeNamespaceNoeud,function(d){f.m_sPrefixeNamespaceNoeud=d},b.ms_DescriptionChaine,B);case "PREFIXETEXTE":case "PREFIXTEXT":return b.oGetDinoProprieteSimple(()=>f.m_sPrefixeTexte,
688function(d){f.m_sPrefixeTexte=d},b.ms_DescriptionChaine,B);case "REPRESENTATIONBALISEVIDE":case "EMPTYTAGREPRESENTATION":return b.oGetDinoProprieteSimple(()=>f.m_bRepresntationBaliseVide,function(d){f.m_bRepresntationBaliseVide=d},b.ms_DescriptionBooleen,B);case "TYPAGEJSON":case "JSONTYPING":return b.oGetDinoProprieteSimple(()=>f.m_bTypageJSON,function(d){f.m_bTypageJSON=d},b.ms_DescriptionBooleen,B)}return super.viGetMembre2(B,y,p,m)}__oGetValeur(){this.m_tValeur||(this.m_tValeur={m_bConversionComplete:!0,
689m_bConversionTableauAvecRacine:!0,m_sNomElement:"",m_sNomRacineXML:"root",m_sPrefixeAttribut:"@",m_sPrefixeCDATA:"CDATA",m_sPrefixeNamespaceDeclare:"%",m_sPrefixeNamespaceNoeud:"$",m_sPrefixeTexte:"#texte",m_bRepresntationBaliseVide:!0,m_bTypageJSON:!0});return this.m_tValeur}}b.ms_oDescriptionDinoJSONXMLConvertisseur=b.oCreeDescriptionDINO(h,function(B){return{m_bConversionComplete:B.m_bConversionComplete,m_bConversionTableauAvecRacine:B.m_bConversionTableauAvecRacine,m_sNomElement:B.m_sNomElement,
690m_sNomRacineXML:B.m_sNomRacineXML,m_sPrefixeAttribut:B.m_sPrefixeAttribut,m_sPrefixeCDATA:B.m_sPrefixeCDATA,m_sPrefixeNamespaceDeclare:B.m_sPrefixeNamespaceDeclare,m_sPrefixeNamespaceNoeud:B.m_sPrefixeNamespaceNoeud,m_sPrefixeTexte:B.m_sPrefixeTexte,m_bRepresntationBaliseVide:B.m_bRepresntationBaliseVide,m_bTypageJSON:B.m_bTypageJSON}});b.AjouteDescriptionDINO(4,29,b.ms_oDescriptionDinoJSONXMLConvertisseur)})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
691(function(a){(function(b){class h extends b.CTableau{constructor(c,g){super(c,g)}bSupprimeRecupPremierElement(c){if(this.m_tValeur&&this.m_tValeur.length){if(c){const g=this.viGetSousElement(0,[1]);(c=a.iGetAsBase(c))&&(c=c.viGetAsLRValue())&&c.vSetValeur(g,0,{})}this.xiGetTableauSupprime().nSupprime(0);return!0}return!1}}class B extends b.CDescriptionTableau{constructor(c){super(c,[0],0,1,113,y)}}b.CDescriptionFile=B;class y extends h{__CFile(){}}b.bIsFile=function(c){return c instanceof y||"__CFile"in
692c};class p extends b.CDescriptionTableau{constructor(c){super(c,[0],0,1,113,m)}}b.CDescriptionPile=p;class m extends h{__CPile(){}}b.bIsPile=function(c){return c instanceof m||"__CPile"in c};class f extends b.CDescriptionTableau{constructor(c){super(c,[0],0,1,113,d)}}b.CDescriptionListe=f;class d extends h{__CListe(){}}b.bIsListe=function(c){return c instanceof d||"__CListe"in c}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
693(function(a){(function(b){function h(c,g){return Math.abs(a.NSUtil.dGetReel(c.viGetPropriete(0,g),0))}function B(c,g){if(0<c.length){switch(c.charAt(c.length-1)){case "+":break;case "-":g.vSetValeurDirect(-g.vnToNumber(0));break;default:throw new a.CErreur(204);}return c.substring(0,c.length-1)}return c}function y(c,g,k,n){c=a.NSUtil.sCompleteEntierChaine(c,k);g.vSetValeurDirect(g.vnToNumber(0)+parseInt(c.substring(c.length-k),10)*n);return c.substring(0,c.length-k)}function p(c,g,k){if(k&&(c[1]<
6940||24<=c[1]||c[2]<0||60<=c[2]||c[3]<0||60<=c[3]||c[4]<0||1E3<=c[4]))throw new a.CErreur(204);c=c[0]*864E5+c[1]*36E5+c[2]*6E4+c[3]*1E3+c[4];return g?-c:c}const m=[[["+/-"],function(c){return 0<=c.vnToNumber(0)?"+":"-"},B],[["+"],function(c){return 0<=c.vnToNumber(0)?"":"-"},B],[["JJJJJJJ"],function(c){return a.NSUtil.sCompleteEntier(h(c,2),7)},function(c,g){return y(c,g,7,864E5)}],[["J","D"],function(c){return String(h(c,2))},function(c,g){let k=864E5;for(;0<c.length;){let n=parseInt(c.charAt(c.length-
6951),10);if(isNaN(n))break;else g.vSetValeurDirect(g.vnToNumber(0)+n*k),k*=10;c=c.substring(0,c.length-1)}return c}],[["HH"],function(c){return a.NSUtil.sCompleteEntier(h(c,3),2)},function(c,g){return y(c,g,2,36E5)}],[["MM"],function(c){return a.NSUtil.sCompleteEntier(h(c,4),2)},function(c,g){return y(c,g,2,6E4)}],[["SS"],function(c){return a.NSUtil.sCompleteEntier(h(c,5),2)},function(c,g){return y(c,g,2,1E3)}],[["LLL"],function(c){return a.NSUtil.sCompleteEntier(h(c,6),3)},function(c,g){return y(c,
696g,3,1)}],[["LL"],function(c){return a.NSUtil.sCompleteEntier(Math.floor(h(c,6)/10),2)},function(c,g){return y(c,g,2,10)}]];b.ms_DescriptionDuree=new b.CTDescriptionTypeTresSimple(27,(c=0)=>new f(c),function(c){var g=0;c=c.m_oValeur;if(void 0!==c){g=c;c=NaN;const k=a.iGetAsRValue(g,1);k&&(g=16==k.veGetTypeWL()?k.toString():k.vnToNumber(0));switch(typeof g){case "string":c=g;g=!1;switch(c.charAt(0)){case "+":c=c.substring(1);break;case "-":c=c.substring(1),g=!0}a.NSUtil.sCompleteEntier(parseInt(c,10),
697c.length)!=c?c=NaN:(c=a.NSUtil.sCompleteEntierChaine(c,10),c=[parseInt(c.substring(0,c.length-9),10),parseInt(c.substr(c.length-9,2),10),parseInt(c.substr(c.length-7,2),10),parseInt(c.substr(c.length-5,2),10),parseInt(c.substring(c.length-3),10)],c=p(c,g,!0));break;case "number":c=a.NSOperations.nArrondiVersZero(g*1);break;case "object":c="undefined"!=typeof clWLangage&&g instanceof clWLangage.WDDuree?g.m_nValeur:Number(g)}if(isNaN(c))throw new a.CErreur(204);g=c}return g},void 0);class f extends b.CTTypeSimple{constructor(c){super(c,
698b.ms_DescriptionDuree)}toString(c){return this.sDureeVersChaine("+JHHMMSSLLL")}vnToNumber(c){let g=this.valueOf();1===c&&(g/=10);return g}_viGetProprieteVM(c){switch(c){case 2:case 3:case 4:case 5:case 
6986:case 28:case 29:case 30:case 31:case 32:return new d(this,c);default:return super._viGetProprieteVM(c)}}sDureeVersChaine(c){return a.NSUtil.tabParseFormat(c,m).reduce((g,k)=>g+("function"==typeof k?k(this):k),"")}static xoChaineVersDuree(c,g){let k=String(c);c=a.NSUtil.tabParseDeformat(g,m,!0);const n=
699new f(0);c.reverse().forEach(function(C){switch(typeof C){case "string":if(C.length<=k.length)k=k.substring(0,k.length-C.length);else throw new a.CErreur(601);break;case "function":try{k=C(k,n)}catch(v){if(clWDUtil.bCatch(v))throw new a.CErreur(601);throw v;}break;default:a.CDebug.s_Assert(!1,"Format invalide")}});return n}}b.CDuree=f;class d extends a.NSUtil.CProprieteMultiple{viGetRValue(c){c=this.m_tParent.valueOf();switch(this.m_ePropriete){case 2:return this.__iGetPropComposante(c,0);case 3:return this.__iGetPropComposante(c,
7001);case 4:return this.__iGetPropComposante(c,2);case 5:return this.__iGetPropComposante(c,3);case 6:return this.__iGetPropComposante(c,4);case 28:return this.__iGetPropEnComposante(c,864E5);case 29:return this.__iGetPropEnComposante(c,36E5);case 30:return this.__iGetPropEnComposante(c,6E4);case 31:return this.__iGetPropEnComposante(c,1E3);case 32:return b.ms_DescriptionI8.viCreationCopie(c,0);default:a.xThrow603(0,this.m_ePropriete)}}vSetValeur2(c){switch(this.m_ePropriete){case 2:this.__SetValeurComposante(c,
7010);break;case 3:this.__SetValeurComposante(c,1);break;case 4:this.__SetValeurComposante(c,2);break;case 5:this.__SetValeurComposante(c,3);break;case 6:this.__SetValeurComposante(c,4);break;case 28:this.__SetValeurMilliseconde(c,864E5);break;case 29:this.__SetValeurMilliseconde(c,36E5);break;case 30:this.__SetValeurMilliseconde(c,6E4);break;case 31:this.__SetValeurMilliseconde(c,1E3);break;case 32:this.__SetValeurMilliseconde(c,1);break;default:a.xThrow603(0,this.m_ePropriete)}}__iGetPropComposante(c,
702g){return b.iNatif2RValue(this.__tabGetComposantes(c)[g])}__iGetPropEnComposante(c,g){return a.NSOperations.oBinaire(3,b.ms_DescriptionNumeriqueAuto.viCreationCopie(c,3),b.ms_DescriptionNumeriqueAuto.viCreationCopie(g,3))}__tabGetComposantes(c){let g=[0,0,0,0,0];g[4]=c%1E3;c=a.NSOperations.nArrondiVersZero(c/1E3);g[3]=c%60;c=a.NSOperations.nArrondiVersZero(c/60);g[2]=c%60;c=a.NSOperations.nArrondiVersZero(c/60);g[1]=c%24;c=a.NSOperations.nArrondiVersZero(c/24);g[0]=c;return g}__SetValeurComposante(c,
703g){let k=this.__tabGetComposantes(this.m_tParent.valueOf());k[g]=a.NSUtil.nGetEntier(c.m_oValeur);this.m_tParent.vSetValeurDirect(p(k,!1,!1))}__SetValeurMilliseconde(c,g){var k=this.m_tParent,n=k.vSetValeurDirect;c=a.NSUtil.dGetReel(c.m_oValeur,0);g=a.NSOperations.nArrondiVersZero(c*g);n.call(k,g)}}b.bIsDuree=function(c){return!!c&&(c instanceof f||void 0!==c.sDureeVersChaine)}})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
704(function(a){(function(b){function h(p=0,m=0,f=0,d=0){return{m_dX:p,m_dY:m,m_dLargeur:f,m_dHauteur:d}}function B(p){var m;return(p=(m=a.iGetAsRValue(p,1))===null||m===void 0?void 0:m.viGetAsRValueType())&&(p instanceof y||151===p.veGetTypeWL())?p.vtGetValeurDirect():null}b.oGetRectangleXYXY=function(p,m,f,d){return{m_dX:p,m_dY:m,m_dLargeur:f-p,m_dHauteur:d-m}};b.ms_DescriptionRectangle=new b.CTDescriptionTypeTresSimple(151,function(p=h()){return new y(p)},function(p){if(p=B(p.m_oValeur))return h(p.m_dX,
705p.m_dY,p.m_dLargeur,p.m_dHauteur);throw new a.CErreur(601);},void 0);class y extends b.CTTypeSimple{constructor(p){super(p,b.ms_DescriptionRectangle)}valueOf(){throw new a.CErreur(601);}_viGetProprieteVM(p){switch(p){case 39:return a.NSUtil.oGetProprieteSimple(()=>this.m_tValeur.m_dX,m=>{this.m_tValeur.m_dX=a.NSUtil.nGetEntier(m)},8,0,p);case 40:return a.NSUtil.oGetProprieteSimple(()=>this.m_tValeur.m_dY,m=>{this.m_tValeur.m_dY=a.NSUtil.nGetEntier(m)},8,0,p);case 41:return a.NSUtil.oGetProprieteSimple(()=>
706this.m_tValeur.m_dLargeur,m=>{this.m_tValeur.m_dLargeur=a.NSUtil.nGetEntier(m)},8,0,p);case 42:return a.NSUtil.oGetProprieteSimple(()=>this.m_tValeur.m_dHauteur,m=>{this.m_tValeur.m_dHauteur=a.NSUtil.nGetEntier(m)},8,0,p);default:return super._viGetProprieteVM(p)}}}b.oGetRectangle=B})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
707(function(a){(function(b){function h(g,k){k.SupprimeTout();const n=g.nGetNbElements();for(let v=0;v<n;v++){let M={m_oCle:void 0};var C=g.iGetSousElementIndice(v,M);if(C){if(a.NSOperations.bDansDeserialisation&&k.bAvecDoublon()){a.CDebug.s_Assert(b.bIsObjetNatif(g),"En d\u00e9s\u00e9rialisation, iTableauAssociatifSource doit \u00eatre un objet natif");const G=C.viGetRValue(1);if(b.bIsTableauNatif(G)){C=G.nGetNbElements();for(let e=0;e<C;e++)k.viGetSousElement(0,[M.m_oCle]).vSetValeur(G.iGetSousElementIndice(e),
7080,{});continue}}k.viGetSousElement(0,[M.m_oCle]).vSetValeur(C,0,{})}}}function B(g){return g.every(function(k){return Array.isArray(k)&&2===k.length})}function y(g){return g instanceof m||"__oGetValeurIndiceComplet"in g}class p extends b.CTDescriptionType{constructor(g,k,n,C){super(62,void 0);this.m_nOptions=g;this.m_iDescriptionTypeValeur=n;this.m_iDescriptionTypeCle=b.iGetDescription(a.NSUtil.dGetReel(C),!0);this.m_iValeurDefaut=void 0!==k?this.m_iDescriptionTypeValeur.viCreationCopie(k,3):void 0}viCreation(g,
709k){return g?this.__iAffectation(new m(this),g):new m(this)}viAffectation(g,k){return this.__iAffectation(g,k)}vxVerifieCompatibilitePassageParAdresse(g,k){super.vxVerifieCompatibilitePassageParAdresse(g,k)}voJSONDebogueurType(){return{m_eTypeWL:this.veGetTypeWL(),m_oTypeCle:this.m_iDescriptionTypeCle.voJSONDebogueurType(),m_nOptions:this.m_nOptions,m_oTypeValeur:this.m_iDescriptionTypeValeur.voJSONDebogueurType()}}bSansEspace(){return!!(this.m_nOptions&1)}bSansCasse(){return!!(this.m_nOptions&16)}bAvecDoublon(){return!!(this.m_nOptions&
7101073741824)}iGetDescriptionTypeValeur(){return this.m_iDescriptionTypeValeur}iGetDescriptionTypeCle(){return this.m_iDescriptionTypeCle}__iAffectation(g,k){const n=this.__xiGetTableauAssociatif(k.m_oValeur);k=k.m_eAffectation;if(y(n))switch(k){default:case 0:case 2:case 4:return g.xCopieDepuis(n),g;case 1:case 3:return n}else switch(k){default:case 0:case 2:case 4:case 3:return g.xCopieDepuis(n),g;case 1:throw new a.CErreur(601);}}xVerifieCompatibilitePourCopie(g){if(y(g)&&(g=g.m_iDescriptionType,
711this.m_iDescriptionTypeValeur.veGetTypeWL()!=g.m_iDescriptionTypeValeur.veGetTypeWL()&&this.m_iDescriptionTypeCle.veGetTypeWL()!=g.m_iDescriptionTypeCle.veGetTypeWL()&&this.m_nOptions!=g.m_nOptions))throw new a.CErreur(601);}__xiGetTableauAssociatif(g){g=a.NSValues.iAny2RValue(g);const k=g.viGetAsTableauAssociatif();
711if(k)return this.xVerifieCompatibilitePourCopie(k),k;const n=g.viGetAsTableau();if(n&&1===n.nGetNbDimensions()&&(g=n.viGetAsTableauType())){const C=g.tabGetValeurs();if(B(C))return{nGetNbElements:function(){return n.nGetUneDimension(0)},
712iGetSousElementIndice:function(v,M){v=C[v];M&&(M.m_oCle=v[0]);return new c(v[1])}}}throw new a.CErreur(601);}iGetValeurParDefaut(){const g=this.m_iValeurDefaut;return void 0!==g?(a.CDebug.s_Assert(g.viGetDescriptionType()===this.m_iDescriptionTypeValeur),g.viGetDescriptionType().viCreationCopie(g,0)):this.m_iDescriptionTypeValeur.viCreationInstance()}}b.CDescriptionTableauAssociatif=p;class m extends b.CTType{constructor(g){super({},g);this.m_tabElements=[]}valueOf(){return this.__oVersNatif(g=>g.valueOf())}toJSON(g=
7130){return this.__oVersNatif(k=>k.toJSON(g))}viGetSousElement(g,k){let n=k.length,C=this.oGetCle(k[g]);g++;let v;this.m_iDescriptionType.bAvecDoublon()&&g<n&&(v=a.NSUtil.nGetEntier(k[g])-1,g++);return a.NSUtil.iChaineSousElement(new f(this,C,v),g,k)}viGetAsTableauAssociatif(){return this}voJSONDebogueurType(){return this.viGetDescriptionType().voJSONDebogueurType()}_viGetProprieteVM(g){switch(g){case 23:return a.NSUtil.oGetProprieteSimple(()=>this.m_tabElements.length,null,8,0,g);default:return super._viGetProprieteVM(g)}}xCopieDepuis(g){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(g);
714h(g,this)}eTypeElement(){return this.m_iDescriptionType.iGetDescriptionTypeValeur().veGetTypeWL()}bAvecDoublon(){return this.m_iDescriptionType.bAvecDoublon()}eTypeCle(){return this.m_iDescriptionType.iGetDescriptionTypeCle().veGetTypeWL()}Inverse(){this.m_tabElements.reverse()}nSupprime(g){if(a.NSOperations.ms_oElementCourant===g){if(g=a.NSOperations.iGetIterateur(this)){var k=g.viGetSousValue();if(k){var n=null;k instanceof d?n=k.m_oElement:k instanceof f&&(n=k.oGetElementDirect());if(n){k=this.oGetCle(n.m_iCle);
715let C=this.__tabGetDoublons(k);if(C)return a.NSUtil.SupprimeDansTableau(this.m_tabElements,n),a.NSUtil.SupprimeDansTableau(C,n),0==C.length&&delete this.m_tValeur[k.m_sCleFormat],g.vNotifieSuppressionCourant(),1}}}}else if(g=this.oGetCle(g),n=this.__tabGetDoublons(g),void 0!==n){delete this.m_tValeur[g.m_sCleFormat];const C=this.m_tabElements;n.forEach(function(v){a.NSUtil.SupprimeDansTableau(C,v)});return n.length}return 0}SupprimeTout(){a.NSUtil.SupprimeToutMembres(this.m_tValeur);this.m_tabElements.length=
7160}Trie(g,k){a.CDebug.s_Assert(void 0==k,"oParametreUndefinedPossible n'est normalement pas d\u00e9fini");k=g&-32769;g=b.pfGetTriComparaisonAvecOptions(k&15,k&-16,function(n){return n},g&32768?function(n){return n.m_iCle.valueOf()}:function(n){return n.m_iValeur.valueOf()});this.m_tabElements.sort(g)}nGetNbElements(){return this.m_tabElements.length}iGetSousElementIndice(g,k){(g=this.m_tabElements[g])&&k&&(k.m_oCle=g.m_iCle);return new d(this,g)}nGetNbElementsCle(g){g=this.__tabGetDoublons(g);return void 0!==
717g?g.length:0}oGetCle(g){let k=this.m_iDescriptionType;g=k.iGetDescriptionTypeCle().viCreationCopie(g,0);let n=g.toString();k.bSansEspace()&&(n=a.NSUtil.sRemplaceEspaces(n));k.bSansCasse()&&(n=n.toLowerCase());return{m_iCle:g,m_sCleFormat:n}}oGetElement(g,k){let n;if(this.m_iDescriptionType.bAvecDoublon()){if(void 0===k)throw new a.CErreur(203);n=!0}else a.CDebug.s_Assert(void 0===k,"On ne doit pas avoir d'indice de doublon sur une table sans doublons."),n=!1,k=0;return(g=this.__oGetValeurIndiceComplet(g,
718k,n))?g.m_iValeur:this.m_iDescriptionType.iGetValeurParDefaut()}oGetElementDirect(g,k){return this.__oGetValeurIndiceComplet(g,k||0,!1)}SetElementValeur(g,k){g.m_iValeur=this.m_iDescriptionType.iGetDescriptionTypeValeur().viAffectation(g.m_iValeur,k)}SetValeurCle(g,k,n){let C=this.m_iDescriptionType,v=C.bAvecDoublon();var M=this.__tabGetDoublons(g);if(v&&void 0!==k&&(void 0===M||void 0===M[k]))throw new a.CErreur(201);void 0===M&&(M=this.__tabCreeDoublons(g));let G;v?G=k:0<M.length&&(a.CDebug.s_Assert(1==
719M.length,"1 seul \u00e9l\u00e9ment attendu"),G=0);void 0!==G?(M=M[0],M.m_iCle=g.m_iCle,this.SetElementValeur(M,n)):(g={m_iCle:g.m_iCle,m_iValeur:C.iGetDescriptionTypeValeur().viCreation(n)},M.push(g),this.m_tabElements.push(g))}__oGetValeurIndiceComplet(g,k,n){g=this.__tabGetDoublons(g);if(void 0===g){if(n)throw new a.CErreur(201);return null}if(k<0||g.length<=k){if(n)throw new a.CErreur(202,g.length,k+1);return null}return g[k]}__tabGetDoublons(g){return this.m_tValeur[g.m_sCleFormat]}__tabCreeDoublons(g){let k=
720[];return this.m_tValeur[g.m_sCleFormat]=k}
720__oVersNatif(g){const k={},n=this.m_iDescriptionType.bAvecDoublon();a.NSUtil.bForEachIn(this.m_tValeur,function(C,v){v.forEach(function(M){const G=g(M.m_iValeur);M=String(M.m_iCle);n?(k.hasOwnProperty(M)||(k[M]=[]),k[M].push(G)):(a.CDebug.s_Assert(void 0===k[M],"Cl\u00e9 en double sans doublons"),k[M]=G)});return!0});return k}}class f extends a.NSUtil.CTSousElementWrapper{constructor(g,k,n){super(g);this.m_oCle=k;this.m_nDoublon=n}viGetRValue(g){return this.m_tParent.oGetElement(this.m_oCle,
721this.m_nDoublon)}viGetPropriete(g,k){if(a.NSProprietes.bEstProprieteVM(g,k)&&this.__bAvecPropriete()){const n=()=>this.m_tParent.nGetNbElementsCle(this.m_oCle);switch(k){case 23:return a.NSUtil.oGetProprieteSimple(n,null,8,g,k);case 24:return a.NSUtil.oGetProprieteVide(this,0,23,k);case 43:return a.NSUtil.oGetProprieteSimple(()=>0<n(),null,1,g,k)}}return super.viGetPropriete(g,k)}vSetValeur2(g){this.m_tParent.SetValeurCle(this.m_oCle,this.m_nDoublon,g)}oGetElementDirect(){return this.m_tParent.oGetElementDirect(this.m_oCle,
722this.m_nDoublon)}__bAvecPropriete(){return void 0===this.m_nDoublon}}class d extends a.NSUtil.CTSousElementWrapper{constructor(g,k){super(g);this.m_oElement=k}viGetRValue(g){return this.m_oElement.m_iValeur}vSetValeur2(g){this.m_tParent.SetElementValeur(this.m_oElement,g)}}class c extends a.NSUtil.CTSousElementWrapper{constructor(g){super(null);this.m_oElement=g}viGetRValue(g){return a.NSValues.iAny2RValue(this.m_oElement)}vSetValeur2(g){a.NSUtil.xVerifieAffectationAucune(g)}}b.TableauAssociatifCopie=
723h})(a.NSTypes||(a.NSTypes={}))})(NSPCS||(NSPCS={}));
724(function(a){(function(b){function h(y,p=1){p=a.iGetAsRValue(y,p);return void 0!==p?p:a.NSTypes.iNatif2RValue(y)}function B(y){const p=a.iGetAsRValue(y,1);return void 0!==p?p.valueOf():Array.isArray(y)&&y.some(function(m){return void 0!==a.iGetAsBase(m)})?y.map(B):y}b.iAny2RValue=h;b.oAny2RValue=function(y){const p=a.iGetAsRValue(y,1);return void 0!==p?p:y};b.oAny2Natif=B;b.tabAny2Natif=function(y){return y.map(B)};b.oAny2JSONDebogueur=function(y,p){const m=h(y,3);let f;if(void 0!==m.voJSONDebogueurValeur)f=
725m.voJSONDebogueurValeur(p);else{y=h(y);try{f=a.NSUtil.xoEvalJSON(a.NSUtil.xsStringifyJSON(y,!1))}catch(d){f=y.toJSON(0)}p?13===m.veGetTypeWL()?f=y.toString(16):"number"===typeof f?f=f.toString(16):"string"===typeof f&&(f=Array.from(f,d=>a.NSUtil.sCompleteEntier(d.charCodeAt(0),4,16)).join(" ")):"string"===typeof f&&(f='"'+f+'"')}return{m_oType:m.voJSONDebogueurType?m.voJSONDebogueurType():{m_eTypeWL:m.veGetTypeWL()},m_oValeur:f}};b.oGetValeurRetour=function(y,p){const m=h(y).viGetAsValeurMultiple();
726return void 0!==m?new b.CValeursMultiples(m.tabGetValeurs().reduce(function(f,d,c){c<p.length&&f.push(p[c].viCreation(a.iGetValeurInitiale(d,3)));return f},[])):p[0].viCreation(a.iGetValeurInitiale(y,3))}})(a.NSValues||(a.NSValues={}))})(NSPCS||(NSPCS={}));
727(function(a){(function(b){class h extends a.CIRValue{constructor(B){super();this.m_tabValeurs=B}toString(B){throw new a.CErreur(601);}vnToNumber(B){throw new a.CErreur(601);}vbToBoolean(){throw new a.CErreur(601);}valueOf(){throw new a.CErreur(601);}toJSON(B){throw new a.CErreur(601);}veGetTypeWL(B){return 139}viGetAsValeurMultiple(){return this}tabGetValeurs(){return this.m_tabValeurs}}b.CValeursMultiples=h})(a.NSValues||(a.NSValues={}))})(NSPCS||(NSPCS={}));
728(function(a){(function(b){function h(n,C){let v=0;(n=a.iGetAsBase(n))?C&&n.viGetAsLRValue()&&(v|=2):v|=4;return v}function B(n,C,v,M,G){n=n||a.NSTypes.iGetDescriptionDepuisValue(C?C.m_oValeur:void 0,G);return new d(n,C,v,M)}function y(n,C,v,M,G){let e=0,l=0;if(void 0!==v)if(G=a.iGetAsBase(v),void 0===G)v instanceof WDTypeAvance||n instanceof a.NSTypes.CTDescriptionDinoRebondFrameworkV1?l|=2:(l|=4,"object"==typeof v&&(l|=2,e=1));else{if(!C){if(C=G.viGetAsLRValue())return n&&n.vxVerifieCompatibilitePassageParAdresse(C,
729M),new c(C,l|2,n);n?m(n)&&(e=1):p(G.viGetRValue(0).veGetTypeWL())&&(e=1)}}else if(G)v=G(),l|=1;else throw new a.CErreur(604,M);return B(n,a.iGetValeurInitiale(v,e),void 0,l,!0)}function p(n){switch(n){case 37:return!0;default:return!1}}function m(n){return n.vbAttributInstanceParReference()&&p(n.veGetTypeWL())}
729class f extends a.NSUtil.CWrapperValue{constructor(n,C){super();this.m_iValeur=n;this.m_nEtat=C;this.m_oIterateurPile=null}viGetRValue(n){return this.m_iValeur.viGetRValue(n)}viGetPropriete(n,
730C){if(a.NSProprietes.bEstProprieteVM(n,C))switch(C){case 25:return a.NSUtil.oGetProprieteConstante(this._bGetDefaut(),1,n,C);case 27:case 44:return a.NSUtil.oGetProprieteConstante(this._bGetParAdresse(),1,n,C)}return this.m_iValeur.viGetPropriete(n,C)}IterationDebut(n){this.m_oIterateurPile={m_iIterateur:n,m_oPrecedent:this.m_oIterateurPile}}IterationFin(){this.m_oIterateurPile=this.m_oIterateurPile.m_oPrecedent}vbGetReporteServeur(){return this.__bGetOption(8)}_bGetDefaut(){return this.__bGetOption(1)}_bGetParAdresse(){return this.__bGetOption(2)}_bGetNatif(){return this.__bGetOption(4)}__bGetOption(n){return!!(this.m_nEtat&
731n)}_SetIterateurValeur(n,C){if(!C.m_bAffectationDepuisIterateur){const v=this.m_oIterateurPile;v&&v.m_iIterateur.vSetValeurDepuisVariable(this.m_iValeur,n,C)}}}class d extends f{constructor(n,C,v,M){super(n.viCreation(C,v),M);this.m_iDescriptionType=n}veGetTypeWL(n){return(n=this.m_iDescriptionType)?n.veGetTypeWL():super.veGetTypeWL()}vSetValeur2(n){const C=n.m_eAffectation,v=n.m_iOptions,M=a.NSUtil.oCloneSimple(v);M.m_bNatif=this._bGetNatif();M.m_bAvecErreur=!0;this.m_iValeur=this.m_iDescriptionType.viAffectation(this.m_iValeur,
732a.iGetValeurAffectation(n.m_oValeur,C,M));this._SetIterateurValeur(C,v)}Reinitialisation(n,C,v){this.m_iValeur=this.m_iDescriptionType.viCreation(a.iGetValeurInitiale(n,C),v);this._SetIterateurValeur(0,{})}}class c extends f{constructor(n,C,v){super(n,C);this.m_iDescriptionType=v}viGetMembre2(n,C,v,M){if(null!==this.m_iDescriptionType&&m(this.m_iDescriptionType)){const G=a.NSTypes.iGetThis(this);a.CDebug.s_Assert(null!==G);if(null!==G){const e=this.m_iDescriptionType.viGetDescriptionTypeReel();if(e.vbStatique())return G.iGetThisCompatible(e).viGetMembre2(n,
733C,v,M)}}return super.viGetMembre2(n,C,v,M)}vSetValeur2(n){this.m_iValeur.vSetValeur2(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)}}class g extends f{constructor(n,C){super(C?n?n.viCreation(a.iGetValeurInitiale(C,0)):a.NSTypes.iAny2RValueTypeCopie(C):(n||a.NSTypes.ms_DescriptionI4).viCreation(),0);this.m_iDescriptionType=n}vSetValeur2(n){this.m_iValeur=this.__oGetValeurPourSet(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)}__oGetValeurPourSet(n){if(n.m_iOptions.m_bAffectationDepuisIterateur){const v=
734n.m_oValeur;var C=n.m_eAffectation;a.CDebug.s_Assert(3==C,"eAffectation doit \u00eatre un EAffectation.RapideConst");if(3==C&&(C=a.iGetAsRValue(v,1))&&(C=C.viGetAsRValueType()))if(this.m_iDescriptionType){if(C.viGetDescriptionType()==this.m_iDescriptionType)return C}else return C;return(this.m_iDescriptionType||a.NSTypes.iGetDescriptionDepuisValue(v)).viCreation(n)}return this.m_iValeur.viGetDescriptionType().viAffectation(this.m_iValeur,n)}CorrigeType(n){this.m_iDescriptionType=n||a.NSTypes.ms_DescriptionI4;
735this.m_iValeur=this.m_iDescriptionType.viCreation()}}b.CVariablePourIterateur=g;class k{constructor(n,C){this.m_nNbParametresNommes=n;this.m_nNbParametresAutres=C;this.m_tabVariables=[];this.m_tabParametresNonNommes=[];this.m_bVariadique=!1;this.m_nNbParametresObligatoire=0;this.m_tabValeursRestantes=[];this.m_nNbParametresLutDepuisValeursMultiples=0}SetVariadique(){this.m_bVariadique=!0}xVerifieParametres(n){a.CDebug.s_Assert(this.m_tabVariables.length==this.m_nNbParametresNommes);n+=this.m_nNbParametresLutDepuisValeursMultiples;
736if(n<this.m_nNbParametresObligatoire||this.m_nNbParametresNommes<n&&!this.m_bVariadique){if(this.m_nNbParametresObligatoire==this.m_nNbParametresNommes)throw new a.CErreur(613,this.m_nNbParametresObligatoire,n);throw new a.CErreur(613,this.m_nNbParametresObligatoire,this.m_nNbParametresNommes,n);}}xDeclareParametre(n,C,v,M){a.CDebug.s_Assert(this.m_tabVariables.length<this.m_nNbParametresNommes);void 0===M&&this.m_nNbParametresObligatoire++;v=a.NSUtil.tabMiseAPlatValeursMultiples([v]);a.CDebug.s_Assert(1<=
737v.length);this.m_nNbParametresLutDepuisValeursMultiples+=v.length-1;this.m_tabValeursRestantes.push(...v);v=this.m_tabValeursRestantes.shift();this.m_tabVariables.push(y(n,C,v,this.m_tabVariables.length+1,M))}DeclareVariable(n,C,v,M,G){const e=this.m_tabVariables[n];e?e.Reinitialisation(v,M,G):this.m_tabVariables[n]=B(C,a.iGetValeurInitiale(v,M),G,h(v,!1),!0)}iVariablePourIterateur(n,C){return new g(n,C)}oGetVariable(n){if(this.m_tabVariables[n])return this.m_tabVariables[n];throw new a.CErreur(605,
7380);}iGetPropriete(n,C){a.CDebug.s_Assert(this.m_nNbParametresAutres<=C.callee.length,"this.m_nNbParametresAutres < tabArguments.callee.length");C=a.NSUtil.tabMiseAPlatValeursMultiples(Array.from(C)).length-this.m_nNbParametresAutres;switch(n){case 23:return a.NSUtil.oGetProprieteConstante(Math.max(this.m_nNbParametresNommes,C),8,0,n);case 26:return a.NSUtil.oGetProprieteConstante(C,8,0,n);default:a.xThrow603(0,n)}}xoGetParametre(n,C,v,M){function G(x,H){return a.NSUtil.xnGetIndiceC(x,I,H,NaN,!0)}
739a.CDebug.s_Assert(this.m_nNbParametresAutres<=M.callee.length,"this.m_nNbParametresAutres < tabArguments.callee.length");const e=a.NSUtil.tabMiseAPlatValeursMultiples(Array.from(M)),l=this.m_nNbParametresNommes,r=this.m_nNbParametresAutres,I=Math.max(l,e.length-r);switch(n){default:case 0:n=0;C=I;break;case 6:n=l;C=I;break;case 7:throw new a.CErreur(602,"[[ ]]");case 1:n=G(C,0);C=n+1;break;case 2:n=G(C,2);C=I;break;case 3:n=0;C=Math.min(I,G(C,2)+1);break;case 4:n=G(C,2);C=Math.min(I,n+a.NSUtil.nGetEntier(v,
740NaN));break;case 5:n=G(C,2),C=Math.min(I,G(v,2)+1)}if(isNaN(C)||I<C)throw new a.CErreur(612,C,I);v=x=>{if(x<l)return this.m_tabVariables[x];const H=x-l,K=this.m_tabParametresNonNommes,ba=e[x+r];return K[H]||(K[H]=y(null,!1,ba,x+1,void 0))};if(n+1==C)return v(n);for(M=[];n<C;n++)M.push(v(n));return new b.CValeursMultiples(M)}}b.CVariablesLocales=k;b.iNatif2Value=function(n,C=!1){return B(null,a.iGetValeurInitiale(n,0),void 0,h(n,C),!1)};b.iAllocationVariable=function(n,C,v,M){v=a.iGetValeurInitiale(C,
741v);C=h(C,!1);return new d(n,v,M,C)};b.iAllocationVariableServeur=function(n,C){return new d(n,void 0,void 0,C?8:0)}})(a.NSValues||(a.NSValues={}))})(NSPCS||(NSPCS={}));
742(function(a){(function(b){function h(m){switch(m){case 0:return y;case 1:return p}}function B(m,f){let d=h(f)[m];d||(d={},h(f)[m]=d);return d}const y={},p={};b.xiGetVariable=function(m,f,d){if(f=h(d)[f])if(f=f[m])return f;throw new a.CErreur(605,m);};b.DeclareVariables=function(m,f,d){const c=B(m,f);d.forEach(function(g){g[0]in c||(c[g[0]]=b.iAllocationVariable(g[1],g[2],0,a.NSTypes.ms_pfSansAppelConstructeur))})};b.DeclareVariableServeur=function(m,f,d,c){a.NSUtil.bForEachIn(c,function(g,k){g=B(g,
743f);const n=b.iAllocationVariableServeur(d,k.m_bSynchronise||!1);if(k=k.m_sJSON)try{a.NSOperations.Deserialise(n,k,1024)}catch(C){}g[m]=n;return!0})};b.ReporteVariableServeur=function(){function m(f,d){a.NSUtil.bForEachIn(f,function(c,g){return a.NSUtil.bForEachIn(g,function(k,n){n.vbGetReporteServeur()&&a.NSChamps.ms_oSynchronisationServeur.SetVariable(c,d,k,a.NSOperations.VariantVersJSON(n,33554432));return!0})})}m(y,0);
743m(p,1)}})(a.NSValues||(a.NSValues={}))})(NSPCS||(NSPCS={}));
744(function(a){(function(b){function h(q){if(q=a.NSTypes.iGetAsDino(q,70,39))return(q=q.vtGetValeurDirect())?a.NSUtil.oCloneSimple(q):{};n()}function B(q){return q instanceof clWDUtil.WDDinoCouleur?a.NSTypes.oCreeDinoCouleur(q):q}function y(q,z,R){void 0!==R?q.setAttribute(z,R):q.removeAttribute(z)}function p(q,z,R){a:switch(typeof R){case "undefined":R=void 0;break a;case "string":R={m_sAliasTableZR:R};break a}R={m_sAlias:q,m_eIDObjet:z,m_oInformations:R};let u;switch(z){case 2:return new b.CChampSaisie(R);
745case 4:return new b.CChampBouton(R);case 5:return new b.CChampInterrupteur(R);case 6:return new b.CChampSelecteur(R);case 7:return new b.CChampListe(R);case 8:return new b.CChampImage(R);case 9:case 11:case 35:case 77:return new b.CChampTable(R);case 10:return new b.CChampFormate(R);case 14:return new b.CChampListe(R);case 16:return new b.CChampLien(R);case 20:case 27:return new b.CChampIFrame(R);case 22:case 91:return new b.CChampImage(R);case 23:case 45:return new b.CChampSiteMapXxx(R);case 25:return new b.CChampArbre(R);
746case 26:return new b.CChampVignette(R);case 33:return new b.CChampGraphe(R);case 41:return new b.CAttributZoneRepetee(R);case 44:return new b.CChampOnglet(R);case 47:return new b.CChampCalendrier(R);case 55:case 57:case 105:return new b.COptionMenu(q,z);case 56:case 68:return new b.CColonneTable(q,z,R.m_oInformations);case 72:return new b.CChampRangeSlider(R);case 76:case 80:return new b.CChampAgendaPlanning(R);case 79:return new b.CChampAutour(R,D=>D?D.firstElementChild:null);case 83:return new b.CChampJauge(R);
747case 85:return new b.CChampRating(R);case 90:return new b.CChampPopup(R);case 92:return new b.CChampRebondFrameworkV1SansType(R);case 100:return new b.CChampPotentiometre(R);case 102:return new b.CChampTCD(R);case 122:return new b.CBandeauDefilant(R);case 126:return new b.CChampDisposition(R);case 132:return new b.CChampInterrupteurABascule(R);case 140:return new b.CChampKanban(R);case 142:u=b.oGetListeKanban(R);break;case 146:return new b.CChampEditeurCodeWL(R);case 148:return new b.CChampBoutonSegment\u00e9(R);
748case 153:return new b.CChampRebondFrameworkV1Parametres(R)}return u||new b.CChampSimpleSansType(R)}function m(q,z,R){return K.oGetObjet(q,z,R)}function f(q,z,R=null){return K.AppelMethodePtr(q,z,R)}function d(q,z){q.vOnScroll(z[0])}function c(q,z){a.NSUtil.bDansPlanMasque(q.voGetChampFormulaire())||q.vOnResize(z[0])}function g(q){let z=q.name;if(""!==z){if("zrl_"===z.substring(0,4)){const R=z.indexOf("_",4);-1!==R&&"ATT_"===z.substr(R+1,4)&&"_1"===z.substr(z.length-2)?z=z.substring(R+5,z.length-2):
749(q=a.NSUtil.tabGetClassesHTML(q),"SAI"===q[0]&&(z=q[1]))}k(z)}}function k(q){b.ms_oSynchronisationServeur.SetChampModifie(q);a.NSUtil.pfGetTraitement(q,21)()}function n(){throw new a.CErreur(601);}const C=[,,20001,,,,,,,,50001,30,50002,50003,10002,50004,50005,50006,50007,50008,24,50009,50010,50011,,19,50012,50013,,,,,,,,,,,,50014,,,,,16,,,,,57,,,,,,,,40001,,,,,,,50015,,,,,,,,,,,,,,,,,,,10,,,,,,,,26,,,,,,,,,12],v=[-1,-1,-1,-1,-1,50,51,52,-1,53,-1,53,-1,-1,52,-1,-1,-1,-1,-1,-1,-1,-1,64,-1,59,-1,-1,
750-1,-1,-1,-1,-1,-1,-1,66,-1,-1,-1,-1,-1,54,-1,-1,49,-1,-1,69,-1,-1,-1,-1,-1,54,52,-1,54,-1,-1,-1,-1,-1,-1,-1,-1,-1,67,52,67,-1,-1,-1,-1,-1,-1,-1,-1,53,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,31,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,123,-1,-1,-1,127,-1,-1,-1,-1,-1,133,-1,-1,-1,-1,-1,-1,-1,142,-1,-1,-1,-1,-1,-1,-1,149,-1,-1,-1,-1,-1,-1,-1];class M extends a.NSUtil.CWrapperValue{constructor(q,z){super();this.m_sAlias=q;this.m_eIDObjet=z}viGetIntervalle(q,
751z,R){return this.viGetRValue(1).viGetIntervalle(q,z,R)}viGetRValue(q){switch(q){case 0:case 7:return this;default:return this._iGetProprieteValeur().viGetRValue(q)}}viGetMembre2(q,z,R,u=0){switch(u){case 0:case 3:const D=a.NSUtil.pfGetTraitementDirect(this.sGetAlias(),[q,z]);if(void 0!==D)return q=new a.NSTypes.CFonctionMembre,q.vSetValeurDirect(a.NSTypes.oConstruitProcedure(D)),q}return super.viGetMembre2(q,z,R,u)}viGetPropriete(q,z){if(a.NSProprietes.bEstProprieteJS(q,z)){switch(z){case 0:case 5:return a.NSUtil.oGetProprieteConstante(this.vsGetAliasHTML(),
75216,q,z);case 26:return b.oGetProprieteSecurise(this,8,12,q,z,()=>{const u=this.oGetHTMLElement();return u&&u.hasAttribute("disabled")?4:0},null,u=>this.vSetProprieteEtat(u),a.NSUtil.nGetEntier,function(u){switch(u){case 0:case 1:case 4:case 5:return!0;default:return!1}});case 27:return this.__iGetProprieteEnSaisieGrise(1,0,4,z);case 28:return this.__iGetProprieteEnSaisieGrise(0,4,1,z);case 31:return b.oGetProprieteSecurise(this,8,118,q,z,1,null,(u,D={})=>this._vSetProprietePlan(u,D),a.NSUtil.nGetEntier,
753u=>0<u&&u<100);case 32:return a.NSUtil.oGetProprieteSimple(()=>this.viGetJQuery().wbTauxParallaxeYGet(),u=>this.viGetJQuery().wbTauxParallaxeYSet(a.NSUtil.dGetReel(u,0)),8,q,z);case 33:return a.NSUtil.oGetProprieteSimple(()=>this.viGetJQuery().wbTauxParallaxeHauteurGet(),u=>this.viGetJQuery().wbTauxParallaxeHauteurSet(a.NSUtil.dGetReel(u,0)),8,q,z);case 34:return(()=>{var u=this.vsGetAliasHTML();const D=document.getElementsByClassName(u);D.length?(u=D[0],u.id&&(u=a.NSUtil.oValideArborescenceFilsUnique(u,
754["table","tbody","tr","td"]))&&""===u.style.backgroundImage&&(u=null)):u=document.getElementById(u);return u?b.oGetProprieteImageFond(u):a.NSUtil.oGetProprieteNeFaitRien("",16,q,z)})();case 35:return a.NSUtil.oGetProprieteManipuleSousElement(()=>this._vGetProprieteBulle(),u=>this._vSetProprieteBulle(String(u.m_oValeur)),this,a.NSTypes.ms_DescriptionChaine,1,35);case 37:return a.NSUtil.oGetProprieteConstante(C[this.m_eIDObjet]||this.m_eIDObjet,8,q,z);case 39:return b.oGetProprieteSecurise(this,16,
7554,q,z,"",null,null,String,null);case 40:return b.oGetProprieteSecurise(this,16,27,q,z,"",null,null,String,null);case 41:return b.oGetProprieteSecuriseLecture(this,16,30,q,z,"",null);case 42:return b.oGetProprieteSecuriseLecture(this,8,124,q,z,0,null);case 43:return b.oGetProprieteSecuriseLecture(this,16,16,q,z,"",null);case 44:return b.oGetProprieteSecuriseLecture(this,1,125,q,z,!0,null);case 45:return b.oGetProprieteXYInitial(this,126,z);case 46:return b.oGetProprieteXYInitial(this,127,z);case 47:return b.oGetProprieteSecuriseLecture(this,
7568,100,q,z,0,null);case 48:return b.oGetProprieteTexteAlternatif(this);case 49:return a.NSUtil.oGetProprieteVide(this,1,4,z);case 57:case 58:return this._xiGetProprieteLibelle(this._voGetHTMLElementPourLibelle(),z);case 59:return this.viGetPropriete(1,57);case 64:return b.oGetProprieteElement(u=>u.wbGetJetonSaisieEncours(),(u,D)=>{D=String(D);if(-1!==D.indexOf("\r")||-1!==D.indexOf("\n"))throw new a.CErreur(1E3);if(!u.wbSetJetonSaisieEncours(D))throw new a.CErreur(1001,this.sGetAlias());},16,q,z,()=>
757this.iGetWBJeton());case 65:return a.NSUtil.oGetProprieteSimple(()=>new G(b.xGetElementPourPropriete(this.iGetWBJeton(),q,z)),null,void 0,q,z);case 70:return this._iGetProprieteAttributHTML(this.oGetHTMLElement());case 75:return new a.NSUtil.CPropriete(()=>{let u=b.ms_oSynchronisationServeur.oGetProprieteObjet(this,158);return a.NSTypes.iNatif2RValue(a.NSUtil.Freeze(void 0!==u?u:null),void 0,a.NSTypes.ms_DescriptionVariant,a.NSTypes.ms_DescriptionTableauVariant,a.NSTypes.ms_DescriptionVariant)},null,
758void 0,31,q,z)}const R=this._iGetProprieteFrameworkV1(z,null,void 0);if(R)return R}return super.viGetPropriete(q,z)}viGetSousElement(q,z){return this._iGetSousElementHTML(q,z,b.CSousChamp,!0)}viGetAsInterfacePossible(){return this}vSetValeur2(q){this._iGetProprieteValeur().vSetValeur2(q)}viGetChamp(q,z,R){return m(q,z,R)}xviGetGroupe(q){return b.xoGetGroupe(q)}xviGetVariable(q,z,R){return a.NSValues.xiGetVariable(q,z,R)}viGetProcedure(q,z){return a.NSUtil.pfGetProcedure(this.sGetAlias(),q,z)}vxiVerifieInterface(q){q.m_tabDefinitionsMethodes.bForEach(z=>
759{if(void 0!==a.NSUtil.pfGetTraitementDirect(this.sGetAlias(),[z.m_sNomUtilisateur,z.m_sNomStandard]))return!0;throw new a.CErreur(1002,this.sGetAlias(),z.m_sNomUtilisateur,q.m_sNomUtilisateur);});q.m_tabDefinitionsProprietes.bForEach(z=>{throw new a.CErreur(1003,this.sGetAlias(),z.m_sNomUtilisateur,q.m_sNomUtilisateur);});return this}voGetValeurPourInterface(){return this.valueOf()}sGetAlias(){return this.m_sAlias}vsGetAliasHTML(){return this.sGetAlias()}_RecuperePCode(q,z=a.NSUtil.Vide){return a.NSUtil.pfGetTraitement(this.sGetAlias(),
760q,z)}_iGetProprieteValeur(){return this.viGetPropriete(1,1)}viGetJQuery(){return $(this.oGetHTMLElement())}
760oGetHTMLElement(q=!1,z=!1){return this.oGetHTMLElementHote()||this.voGetHTMLElement(q,z)}voGetHTMLElement(q=!1,z=!1){return a.NSUtil.GetElementParIdName(this.vsGetAliasHTML(),document,q,z)}oGetHTMLElementHote(){return document.getElementById(this.vsGetAliasHTML()+"_HTE")}oGetHTMLElementLibelle(){return document.getElementById("lz"+this.vsGetAliasHTML())}voCorrigeHTMLElement(q,z){return q}_oCorrigeHTMLElement(q){return this.voCorrigeHTMLElement(this.voGetHTMLElement(),
761q)}_xiGetProprieteLibelle(q,z){const R=58===z;return b.oGetProprieteElement(u=>R?u.innerHTML:u.innerText,function(u,D){u.innerHTML=a.NSUtil.sEncodeInnerHTML(String(D),!R,R)},16,1,z,()=>q)}_voGetHTMLElementPourLibelle(){var q=this.vsGetAliasHTML();const z=document.getElementById("lz"+q);q=a.NSUtil.GetElementParId(q,document,!1,!0);var R=this.voGetHTMLElement();R=z||R;switch(this.m_eIDObjet){case 3:case 17:case 109:return a.NSAjax.oSauteTableCadrage(R);case 16:q?R=q:a.NSUtil.bNodeEstType(R,"a")||(R=
762null);if(R)for(;R&&!a.NSUtil.bNodeEstType(R,"a");)R=R.firstElementChild;break;case 9:case 35:return z||q}return R}_iGetProprieteFrameworkV1(q,z,R){const u=this._pfGetGetSet(!0,q),D=this._pfGetGetSet(!1,q);return u||D?b.oGetProprieteCatch(u?function(){z&&z();return B(u())}:null,D?L=>D(a.NSValues.oAny2Natif(L)):null,R,q):null}_vSetProprietePlan(q,z){this.viGetJQuery().wbPlanSet(q,z)}vSetProprieteEtat(q){this._SetProprieteEtat(q,this.voGetHTMLElement(),this.oGetHTMLElementHote(),this.oGetHTMLElementLibelle(),
763!1)}_SetProprieteEtat(q,z,R,u,D){const L=q===4;let T=L;q=q===1||L;z&&(void 0!==z.readOnly?(z.readOnly=q)&&!T&&(T="hidden range color checkbox radio file submit image reset button".split(" ").includes(z.type)):(T=T||q,D&&y(z,"READONLY",q?"":void 0)),void 0!==z.disabled?z.disabled=T:D&&y(z,"DISABLED",L?"":void 0));[R||z,u].forEach(function(E){E&&a.NSUtil.bAvecClasse(E,"wbstyle")&&a.NSUtil.ActiveDesactiveClassName(E,"wbgrise",L)})}_SetEtatSousElement(q,z,R,u){const D=R===4;var L=R===1||D;const T="data-"+
764z;R=L?z:T;z=L?T:z;L=q.getAttribute(R);null!==L&&(q.setAttribute(z,L),q.removeAttribute(R));u&&a.NSUtil.ActiveDesactiveClassName(q,"wbgrise",D)}_vGetProprieteBulle(){var q=this.oGetHTMLElement();q=$(q).wbGetBulle();return void 0!==q?a.NSTypes.iNatif2RValue(q,a.NSTypes.ms_DescriptionChaine):null}_vSetProprieteBulle(q){this._SetProprieteBulle(q,this.oGetHTMLElement())}_SetProprieteBulle(q,z){z&&(z.title=q)}_iGetSousElementHTMLSimple(q,z,R){q=a.NSUtil.nGetEntier(q);const u=v[this.m_eIDObjet];return document.getElementById(this.vsGetAliasHTML()+
765"_"+q)?new z(this,q,u,R):new b.CSousChamp(this,q,u,R)}_iGetSousElementHTML(q,z,R,u){return a.NSUtil.iChaineSousElement(this._iGetSousElementHTMLSimple(z[q],R,u),q+1,z)}_pfGetGetSet(q,z,R=!1,u=this.sGetAlias()){function D(T){T=(q?"_GET_":"_SET_")+T+"_"+z+(R?"_I":"");const E=window[T];if(E)return E;T="_"+a.NSUtil.ms_sAliasPage+T;for(let Q=window,J=Q.parent;Q!==J;Q=J,J=Q.parent)try{const N=J[T];if(N)return N}catch(N){break}}let L=D(u);if(void 0===L){const T=clWDUtil.sGetAliasDeEffectif(u);T!==u&&(L=
766D(T))}return L}iGetWBJeton(){return a.NSOperations.iGetWBJeton(this.voGetHTMLElement())}_iGetWBMasque(){return a.NSOperations.iGetWBMasque(this.voGetHTMLElement())}__iGetProprieteEnSaisieGrise(q,z,R,u){const D=this.viGetPropriete(1,26);return new a.NSUtil.CPropriete(()=>a.NSTypes.iNatif2RValue(z===D.valueOf()),function(L){const T=a.NSUtil.bGetBooleen(L.m_oValeur);R!==D.valueOf()&&D.vSetValeur(T?z:q,L.m_eAffectation,L.m_iOptions)},void 0,1,1,u)}_iGetProprieteAttributHTML(q){if(q)return new e(q);a.xThrow603(1,
76770)}iGetProcedure(q){const z=q.length,R=this.sGetAlias();for(let u=0;u<z;u++){const D=a.NSUtil.pfGetTraitementDirect(R,q[u]);if(void 0!==D)return D}return a.NSUtil.Vide}vInit(){}}b.CObjet=M;class G extends a.NSUtil.CCollection{constructor(q){super();this.m_iWBJeton=q}valueOf(){const q=[];for(let z=0;z<this.m_iWBJeton.wbJetonOccurrence();z++)q.push(this.m_iWBJeton.wbGetDinoJeton(z+1));return q}viGetMembre2(q,z,R,u){switch(z){case "JETON":case "TOKEN":return this;default:return super.viGetMembre2(q,
768z,R,u)}}veGetTypeWL(q){return 111}voJSONDebogueurType(){return{m_eTypeWL:this.veGetTypeWL(),m_eComposante:70,m_eDino:40}}nAjouteLigne(q){q=this.m_iWBJeton.wbJetonAjoute(h(q[0]));return!1===q?0:q}DeplaceLigne(q,z){const R=this.m_iWBJeton.wbGetDinoJeton(q+1);this.m_iWBJeton.wbJetonSupprime(q+1);this.m_iWBJeton.wbJetonInsere(z+1,R)}Echange(q,z){const R=this.m_iWBJeton.wbGetDinoJeton(q+1),u=this.m_iWBJeton.wbGetDinoJeton(z+1);this.m_iWBJeton.wbJetonSupprime(q+1);this.m_iWBJeton.wbJetonInsere(q+1,u);this.m_iWBJeton.wbJetonSupprime(z+
7691);this.m_iWBJeton.wbJetonInsere(z+1,R)}eTypeElement(){return 111}Insere(q,z){this.m_iWBJeton.wbJetonInsere(q+1,h(z))}eGetModeAgrandissement(){return 1}nGetNbElements(){return this.m_iWBJeton.wbJetonOccurrence()}iGetSousElementIndice(q){const z=a.NSTypes.oGetDescriptionDINO(70,39).m_oDescriptionDynamique.viCreationInstance();z.vSetValeurDirect(this.m_iWBJeton.wbGetDinoJeton(q+1));return z}iGetDescriptionElement(){return a.NSTypes.oGetDescriptionDINO(70,39).m_oDescriptionDynamique}nSupprime(q){this.m_iWBJeton.wbJetonSupprime(q+
7701);return 1}SupprimeTout(){this.m_iWBJeton.wbJetonSupprimeTout()}}class e extends a.CIValue{constructor(q){super();this.m_oHTMLElement=q}valueOf(){a.xThrow603(1,70)}viGetMembre2(q,z,R,u){a.xThrow603(1,70)}viGetPropriete(q,z){if(a.NSProprietes.bEstProprieteVM(q,z))switch(z){case 23:return a.NSUtil.oGetProprieteSimple(()=>this.nGetNbElements(),null,8,q,z);case 24:return a.NSUtil.oGetProprieteVide(this,0,23,z)}return super.viGetPropriete(q,z)}viGetSousElement(q,z){const R=this.oGetCle(z[q]).m_sCleFormat;
771return a.NSUtil.iChaineSousElement(new l(this,R),q+1,z)}veGetTypeWL(q){return 124}viGetAsTableauAssociatif(){return this}vSetValeur2(q){return a.NSUtil.xVerifieAffectationAucune(q)}xCopieDepuis(q){n()}eTypeElement(){return 16}bAvecDoublon(){return!1}eTypeCle(){return 16}Inverse(){n()}nSupprime(q){q=this.oGetCle(q).m_sCleFormat;var z=this.__tabGetNomAttributsU();a.NSUtil.SupprimeDansTableau(z,q)&&this.__SetNomAttributsU(z);z=this.m_oHTMLElement;return z.hasAttribute(q)?(z.removeAttribute(q),1):0}
771SupprimeTout(){this.__tabGetNomAttributsU().forEach(q=>
772{this.nSupprime(q)})}Trie(q,z){n()}nGetNbElements(){return this.__tabGetNomAttributs().length}iGetSousElementIndice(q,z){z=this.__tabGetNomAttributs();if(q<z.length)return this.viGetSousElement(0,[z[q]]);throw new a.CErreur(605,q+1);}nGetNbElementsCle(q){return this.__tabGetNomAttributs().includes(q.m_sCleFormat)?1:0}oGetCle(q){q=String(q);if(""===q||q.startsWith("xml")||-1!==q.indexOf(":"))throw new a.CErreur(204);return{m_iCle:a.NSTypes.ms_DescriptionChaine.viCreationCopie(q.toLowerCase(),0),m_sCleFormat:q}}bExiste(q){return this.m_oHTMLElement.hasAttribute(q)}sGetValeur(q){q=
773this.m_oHTMLElement.getAttribute(q);return null!==q?q:""}SetValeur(q,z){const R=this.__tabGetNomAttributsU(),u=!this.bExiste(q)&&R.includes(q),D=a.iGetAsBase(z);this.m_oHTMLElement.setAttribute(q,null===(D?D.valueOf():z)?"":String(z));u&&(R.push(q),this.__SetNomAttributsU(R))}__tabGetNomAttributs(){return Array.from(this.m_oHTMLElement.attributes,q=>q.name)}__tabGetNomAttributsU(){const q=this.m_oHTMLElement.getAttribute(a.NSAjax.ms_DataWBAttributHTML);return null!==q?q.split(a.NSAjax.ms_sDataWBAttributHTMLSeparateur):
774[]}__SetNomAttributsU(q){this.m_oHTMLElement.setAttribute(a.NSAjax.ms_DataWBAttributHTML,q.join(a.NSAjax.ms_sDataWBAttributHTMLSeparateur))}}class l extends a.NSUtil.CWrapperValue{constructor(q,z){super();this.m_oCollection=q;this.m_sNom=z}viGetRValue(q){switch(q){default:return this;case 1:case 5:return a.NSTypes.ms_DescriptionChaine.viCreationCopie(this.vsGetChaine(),0)}}viGetPropriete(q,z){if(a.NSProprietes.bEstProprieteVM(q,z))switch(z){case 24:return a.NSUtil.oGetProprieteSimple(()=>!this.m_oCollection.bExiste(this.m_sNom),
775null,1,q,z);case 43:return a.NSUtil.oGetProprieteSimple(()=>this.m_oCollection.bExiste(this.m_sNom),null,1,q,z)}return super.viGetPropriete(q,z)}viGetIntervalle(q,z,R){return new a.NSTypes.CIntervalleChaine(this,q,z,R)}veGetTypeWL(q){return 16}vSetValeur2(q){this.m_oCollection.SetValeur(this.m_sNom,q.m_oValeur)}vsGetChaine(){return this.m_oCollection.sGetValeur(this.m_sNom)}xvSetChaine(q){this.m_oCollection.SetValeur(this.m_sNom,q)}}b.bIsCObjet=function(q){return q instanceof M||"voGetHTMLElement"in
776q};class r{constructor(q){this.m_sAliasTableZRParent=q;q=oGetObjetChamp(q);this.m_iTableZRNavigateur=b.bEstChampTableZRNavigateurFrameworkV1(q)?q:null}oGetTableZRParent(){const q=K.oGetObjetInformationsPartielles(this.m_sAliasTableZRParent,9);return q instanceof b.CChampTable?q:null}nGetTableZRValeurWL(){if(this.m_iTableZRNavigateur){var q=this.m_iTableZRNavigateur.nGetForceSelection();if(void 0!==q)return q+1}q=this.__oGetChampFormulaire().value;return parseInt(q,10)}PourToutesLignesTableZR(q,z){var R=
777this.nGetTableZRDebut();const u=R+this.__nGetTableZROccurrence();for(;R<u;R++)q(this,R,z)}nGetTableZRDebut(){const q=this.__oGetChampFormulaire("_DEB");return q?parseInt(q.value,10):1}__nGetTableZROccurrence(){let q=this.__tabGetChampsFormulaires("_","_OCC");0===q.length&&(q=this.__tabGetChampsFormulaires("","_OCC"));return 0<q.length?parseInt(q[0].value,10):0}__oGetChampFormulaire(q=""){return this.__tabGetChampsFormulaires("",q)[0]}__tabGetChampsFormulaires(q,z){return document.getElementsByName(q+
778this.m_sAliasTableZRParent+z)}}b.CTableZRParent=r;class I extends M{constructor(q){var z;super(q.m_sAlias,q.m_eIDObjet);this.m_tabChampsFils=new x;this.m_oChampFormulaire=null;this.m_eValide=0;this.m_bDansPlanAffiche=this.m_bChampDansHTML=!0;this.m_tabTimers={};this.m_oTableZRParent=((z=q.m_oInformations)===null||z===void 0?0:z.m_sAliasTableZR)?new r(q.m_oInformations.m_sAliasTableZR):null}viGetMonParent(q){return b.oGetPageCourante()}vSetProprieteEtat(q){super.vSetProprieteEtat(q);const z=this.m_oTableZRParent;
779if(z){const R=z.oGetTableZRParent();R&&z.PourToutesLignesTableZR((u,D)=>{(new b.CChampCelluleDeTable(R,this,R.iGetAsChampTableZRNavigateurFrameworkV1(),D)).vSetProprieteEtat(q)})}}vInit(){this._vInitInitiale();this.m_eValide=1;this._vLiaisonHTML()}_vInitInitiale(){I.ms_vInitInitialeD\u00e9j\u00e0Ex\u00e9cut\u00e9||(I.ms_vInitInitialeD\u00e9j\u00e0Ex\u00e9cut\u00e9=!0,a.NSUtil.AttacheOnScrollResize(I.__s_OnScrollResize))}_vLiaisonHTML(q,z){if(q=document.getElementsByName(this._sGetNomElement(q))[0])this.m_oChampFormulaire=
780q}vOnTableZRAfficheAJAX(q){const z=this.m_oTableZRParent;z&&z.m_sAliasTableZRParent===q&&this._vOnTableZRAfficheAJAXInterne()}_vOnTableZRAfficheAJAXInterne(){}vOnDisplay(q,z){}vOnScroll(q){}vOnResize(q){}vOnChangementTranche(q,z){}vPreAffecteHTML(q){}vPostAffecteHTML(q){}vOnSubmit(q){return this._RecuperePCode(18)(q)}viGetAsGraphe(){return null}viGetAsParametres(){return null}viGetAsCalendrier(){return null}viGetAsCornage(){return null}viGetAsJauge(){return null}static __s_OnScrollResize(q,z){z?f(d,
781[q]):f(c,[q])}_iGetProprieteValeur(){return this.viGetPropriete(1,1)}_nSetTimeout(q,z,...R){return a.NSUtil.nSetTimeout(()=>{q.apply(this,R)},z)}_SetInterval(q,z,R){this.m_tabTimers[z]=setInterval(q,R)}_nSetTimeoutUnique(q,z,R,...u){this._AnnuleTimeXXX(z,!1);R=a.NSUtil.nSetTimeout(()=>{delete this.m_tabTimers[z];q.apply(this,u)},R);return this.m_tabTimers[z]=R}bGetTimeXXXExiste(q){return void 0!==this.m_tabTimers[q]}_AnnuleTimeXXX(q,z){const R=this.m_tabTimers[q];R!==void 0&&(z?clearInterval(R):a.NSUtil.ClearTimeout(R),
782delete this.m_tabTimers[q])}voGetChampFormulaire(){return this.m_oChampFormulaire}voGetValeurChampFormulaire(q=""){var z=this._pfGetGetSet(!0,1,!1);if(z)try{return B(z())}catch(R){}return(z=this.voGetChampFormulaire())?z.value:q}_vSetValeurChampFormulaire(q){var z=this._pfGetGetSet(!1,1);if(z)try{z(a.NSValues.oAny2Natif(q));return}catch(R){}if(z=this.voGetChampFormulaire())z.value=String(q)}
782_sGetNomElement(q=""){return this.vsGetAliasHTML()+q}_oGetElementById(q){return document.getElementById(this._sGetNomElement(q))}tabGetElementsByName(q){return document.getElementsByName(this._sGetNomElement(q))}oGetElementByName(q){return this.tabGetElementsByName(q)[0]}sGetSuffixeIDElement(...q){return this._sGetSuffixeIDElement(q)}_sGetSuffixeIDElement(q){return"_"+
783q.join("_")}oGetIDElement(...q){return this._oGetElementById(this._sGetSuffixeIDElement(q))}_nGetLargeurAscenseurVertical(q){const z=q.clientWidth;return 0===z&&0===q.clientHeight?0:q.offsetWidth-z}_nGetHauteurAscenseurHorizontal(q){const z=q.clientHeight;return 0===z&&0===q.clientWidth?0:q.offsetHeight-z}}I.ms_vInitInitialeD\u00e9j\u00e0Ex\u00e9cut\u00e9=!1;b.CChamp=I;class x{constructor(){this.m_tabChamp={}}DeclareChamp(q){this.m_tabChamp[q.sGetAlias()]=q}oGetChampSansCreation(q){return this._oValideChamp(this.oGetChampDirect(q))}oGetChampDirect(q){return this.m_tabChamp[q]}oGetObjetInformationsPartielles(q,
784z){const R=this.oGetChampDirect(q);if(R)return R;q=p(q,z,void 0);q.vInit();return q}bPourTousChamps(q){return a.NSUtil.bForEachIn(this.m_tabChamp,q)}_oValideChamp(q){if(q)switch(q.m_eValide){default:case 0:return null;case 1:return q;case 2:throw new a.CErreur(610,q.sGetAlias());case 3:throw new a.CErreur(610,q.sGetAlias());}else return null}DeclareChampInit(){this.bPourTousChamps(function(q,z){if(1!==z.m_eValide)if(z.m_bChampDansHTML)if(z.m_bDansPlanAffiche)try{z.vInit()}catch(R){}else z.m_eValide=
7852;else z.m_eValide=3;return!0});clWDUtil&&clWDUtil.DeclareChampInit()}DeclareChampPlanDiffere(q){q.forEach(z=>{if(z=this.oGetChampDirect(z))z.m_bDansPlanAffiche=!0});clWDUtil&&clWDUtil.DeclareChampPlanDiffere(q);this.DeclareChampInit()}AppelMethodePtr(q,z,R){this.bPourTousChamps(function(u,D){D&&D!==R&&1===D.m_eValide&&q(D,z);return!0})}iGetInterfaceChamp(q,z){return(q=this.oGetChampSansCreation(q))?z(q):null}}class H extends x{oGetObjet(q,z,R){const u=this.oGetChampDirect(q);if(u)return u;q=p(q,
786z,R);q instanceof I&&(void 0!==z&&this.DeclareChamp(q),q.vInit());return q}}const K=new H;b.oGetChampSansCreation=function(q){return K.oGetChampSansCreation(q)};b.oGetObjet=m;b.oGetObjetInformationsPartielles=function(q,z){return K.oGetObjetInformationsPartielles(q,z)};b.oGetChamp=m;b.DeclareChampInit=function(){K.DeclareChampInit()};b.DeclareChampPlanDiffere=function(q){K.DeclareChampPlanDiffere(q)};b.AppelMethodePtr=f;b.OnTableZRAfficheAJAX=function(q,z){q.vOnTableZRAfficheAJAX(z[0])};b.OnDisplay=
787function(q,z){q.vOnDisplay(z[0],z[1])};b.OnScroll=d;b.OnResize=c;b.OnChangementTranche=function(q,z){q.vOnChangementTranche(z[0],z[1])};b.iGetInterfaceChamp=function(q,z){return K.iGetInterfaceChamp(q,z)};class ba{constructor(){this.m_pfOnBlurMasqueModele=this.m_oSaisie=null}_SetMasqueModele(q,z){if(z){for(const R in z){if(!R.startsWith("on"))continue;const u=z[R];"function"===typeof u&&(R==="onblur"?this.m_pfOnBlurMasqueModele=u:q[R]=u)}z.dataset.wbSaisieMasque&&(q.dataset.wbSaisieMasque=z.dataset.wbSaisieMasque,
788$(window).trigger("trigger.wb.saisie.masque.initUnChamp",[q]))}}_bValideMasqueModele(q){if(this.m_pfOnBlurMasqueModele){const z={target:null};let R=!1;q.target&&q.target!==this.m_oSaisie&&(z.target=this.m_oSaisie,R=!0);R&&(q=a.NSUtil.oCloneObjet(q,z));return this.m_pfOnBlurMasqueModele.apply(this.m_oSaisie,[q])}return!0}_ClearMasqueModele(){this.m_pfOnBlurMasqueModele=null}_sConversionMasqueModele(q,z,R){return R&&(z=window["_GET_"+z+"_1_I_C"])?z(q):q}}b.CMasqueModele=ba;class O{constructor(){this.m_oChamp=
789void 0;this.m_oDepuisServeur={};this.m_oVersServeur=void 0;var q=document.getElementsByName(O.ms_sNomChamp);if(q.length&&(q=q[0],a.NSUtil.bNodeEstType(q,"input"))){const z=q.value;if(z.length)try{this.m_oDepuisServeur=a.NSUtil.xoEvalJSON(z)}catch(R){}q.value="";this.m_oChamp=q}}oGetProprieteObjet(q,z){return this.__oGetPropriete(q,z)}oGetProprieteAttribut(q,z,R){return(q=this.__oGetPropriete(q,z))?q[R]:void 0}__oGetPropriete(q,z){const R=this.m_oDepuisServeur.m_oProprietesSecurisees;if(R&&(q=R[q.sGetAlias()]))return q[z]}SetProprieteObjet(q,
790z,R){this.__SetPropriete(q,z,R)}__SetPropriete(q,z,R){q=q.sGetAlias();this.__SetProprieteData(q,z,R,this.__oGetProprietesSecuriseesServeur());const u=this.__oPrepareVersServeur();let D=u.m_oProprietesSecurisees;void 0===D&&(D={},u.m_oProprietesSecurisees=D);this.__SetProprieteData(q,z,R,D)}__SetProprieteData(q,z,R,u){let D=u[q];D||(D={},u[q]=D);D[z]=R}SetProprieteServeur(q,z,R){return this.__SetProprieteData(q,z,R,this.__oGetProprietesSecuriseesServeur())}__oGetProprietesSecuriseesServeur(){let q=
791this.m_oDepuisServeur.m_oProprietesSecurisees;void 0===q&&(q={},this.m_oDepuisServeur.m_oProprietesSecurisees=q);return q}SetChampModifie(q,z=!0){this.__oPrepareVersServeur().m_oChampsModifies[q]=z}bGetChampModifie(q){return void 0===this.m_oVersServeur?!1:!!this.m_oVersServeur.m_oChampsModifies[q]}SetVariable(q,z,R,u){var D=this.__oPrepareVersServeur();switch(z){default:case 0:z=D.m_oVariablesProjet;void 0===z&&(z={},D.m_oVariablesProjet=z);break;case 1:z=D.m_oVariablesPage,void 0===z&&(z={},D.m_oVariablesPage=
792z)}D=z[q];D||(D={},z[q]=D);D[R]=u}__oPrepareVersServeur(){void 0===this.m_oVersServeur&&(this.m_oVersServeur={m_oProprietesSecurisees:{},m_oChampsModifies:{},m_oVariablesProjet:{},m_oVariablesPage:{}});return this.m_oVersServeur}OnSubmit(){a.NSValues.ReporteVariableServeur();this.m_oChamp&&this.m_oVersServeur&&(this.m_oChamp.value=a.NSUtil.xsStringifyJSON(this.m_oVersServeur,!1))}sGetReporteVariableServeur(){function q(R){return!!R&&!a.NSUtil.bForEachIn(R,()=>!1)}a.NSValues.ReporteVariableServeur();
793var z=this.m_oVersServeur;if(z){const R=z.m_oVariablesProjet;z=z.m_oVariablesPage;if(q(R)||q(z))return a.NSUtil.xsStringifyJSON({m_oVariablesProjet:R,m_oVariablesPage:z},!1)}}}O.ms_sNomChamp="WD_JSON_PROPRIETE_";b.CSynchronisationServeur=O;b.ms_oSynchronisationServeur=new O;window.addEventListener("input",function(q){q=q.target;(q instanceof HTMLInputElement||q instanceof HTMLTextAreaElement)&&g(q)});b.OnInputModificationDecode=g;b.OnInputModification=k})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS=
794{}));
795(function(a){(function(b){class h extends b.CChamp{constructor(d,c){super(d
795);this.m_pfConversionValeur=c;this.m_bInPCodeAffectation=!1}viGetPropriete(d,c){if(a.NSProprietes.bEstProprieteJS(d,c))switch(c){case 1:if(this.voGetChampFormulaire())return a.NSUtil.oGetProprieteSimple(()=>{this.AppelCodeAffectation(()=>{const k=this._RecuperePCode(73,function(){})();void 0!==k&&this._vSetValeurChampFormulaire(k)});const g=this.voGetValeurChampFormulaire();return this.m_pfConversionValeur?this.m_pfConversionValeur(g):g},
796g=>{this._vSetValeurChampFormulaire(g);this.AppelCodeAffectation(()=>{this._RecuperePCode(74)(null,g)})},void 0,d,c)}return super.viGetPropriete(d,c)}AppelCodeAffectation(d){if(!this.m_bInPCodeAffectation)try{this.m_bInPCodeAffectation=!0,d()}finally{this.m_bInPCodeAffectation=!1}}}b.CChampSimple=h;class B extends h{constructor(d){super(d,c=>c)}}b.CChampSimpleSansType=B;class y extends h{constructor(d,c,g,k){super(d,c);this.m_bBornes=g;this.m_eTypeWLValeur=k;this.m_iChampFrameworkV1=oGetObjetChamp(this.sGetAlias())}viGetPropriete(d,
797c){if(a.NSProprietes.bEstProprieteJS(d,c))switch(c){case 29:if(this.m_bBornes)return b.oGetProprieteFrameworkV1GetSetSecurise(this,this.m_eTypeWLValeur,64,d,c,this.m_pfConversionValeur,!1);break;case 30:if(this.m_bBornes)return b.oGetProprieteFrameworkV1GetSetSecurise(this,this.m_eTypeWLValeur,65,d,c,this.m_pfConversionValeur,!1)}return super.viGetPropriete(d,c)}vSetProprieteEtat(d){super.vSetProprieteEtat(d);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1.SetProp(12,void 0,d,this.voGetChampFormulaire())}SetFocus(){var d;
798this.m_iChampFrameworkV1&&void 0!==this.m_iChampFrameworkV1.SetFocus&&this.m_iChampFrameworkV1.SetFocus();(d=this.oGetHTMLElement())===null||d===void 0||d.focus()}}b.CChampRebondFrameworkV1=y;class p extends y{constructor(d){super(d,c=>c,!1,void 0)}}b.CChampRebondFrameworkV1SansType=p;class m extends p{viGetAsParametres(){return this.m_iChampFrameworkV1||null}}b.CChampRebondFrameworkV1Parametres=m;b.bIsChampRebondFrameworkV1=function(d){return!!d&&(d instanceof y||"m_iChampFrameworkV1"in d)};class f extends b.CObjet{constructor(d){super(d.m_sAlias,
799d.m_eIDObjet);this.m_oInformations=d.m_oInformations}viGetPropriete(d,c){if(a.NSProprietes.bEstProprieteJS(d,c))switch(c){case 1:const g=this.__oGetTableZRParent();if(g)return this.viGetSousElement(0,[g.nGetTableZRValeurWL()]).viGetPropriete(d,c)}return super.viGetPropriete(d,c)}viGetSousElement(d,c){var g=a.NSUtil.nGetEntier(c[d]);g=new b.CChampCelluleDeTable(this,this,void 0,g);return g.voGetHTMLElement()?a.NSUtil.iChaineSousElement(g,d+1,c):super.viGetSousElement(d,c)}viGetMonParent(d){return b.oGetPageCourante()}vsGetAliasHTML(){var d,
800c;const g=(c=(d=this.m_oInformations)===null||d===void 0?void 0:d.m_oAttributZR)===null||c===void 0?void 0:c.m_sAliasAttributPrincipal;return void 0!==g?g:this.sGetAlias()}__oGetTableZRParent(){var d;const c=(d=this.m_oInformations)===null||d===void 0?void 0:d.m_sAliasTableZR;if(void 0!==c)return new b.CTableZRParent(c)}}b.CAttributZoneRepetee=f;b.bIsAttributZoneRepetee=function(d){return d instanceof f}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
801(function(a){(function(b){function h(n,C,v,M,G,e,l,r){return new a.NSUtil.CPropriete(function(){let I=b.ms_oSynchronisationServeur.oGetProprieteObjet(n,v);void 0===I&&(I=typeof e==="function"?e():e);l&&(I=l(I));return a.NSTypes.iNatif2RValue(I)},r,void 0,C,M,G)}function B(n,C,v,M,G,e,l){return h(n,C,v,M,G,e,l,null)}function y(n,C,v,M,G,e){return a.NSUtil.oGetProprieteSimple(()=>n(g(e(),M,G)),C?l=>C(g(e(),M,G),l):null,v,M,G)}function p(n,C,v,M,G,e,l){return y(n,C,v,M,G,function(){const r=e.voGetHTMLElement();
802return a.NSUtil.bNodeEstType(r,l)?r:null})}function m(n){return n&&(n=n.getAttributeNode("onclick"))?k.exec(n.value):null}function f(n,C,v,M,G,e){return y(n,C,v,M,G,()=>e.m_iChampFrameworkV1)}function d(n,C,v,M,G,e,l,r){return f(function(I){let x;if(l){const H=n.voGetChampFormulaire();a.CDebug.s_Assert(!!H,"Pas de champ formulaire");H&&(x=H.value)}return I.GetProp(v,void 0,x,null)},function(I,x){x=e(x);r&&r(x);I.SetProp(v,void 0,x,null,void 0)},C,M,G,n)}function c(n){return a.NSUtil.bNodeEstType(n,
803"td")?n.parentElement.parentElement.parentElement:n}function g(n,C,v){if(n)return n;a.xThrow603_I(C,v)}b.oGetProprieteSecuriseBase=h;b.oGetProprieteSecuriseLecture=B;b.oGetProprieteSecurise=function(n,C,v,M,G,e,l,r,I,x){return h(n,C,v,M,G,e,l,function(H){const K=I(H.m_oValeur);if(!x||x(K))b.ms_oSynchronisationServeur.SetProprieteObjet(n,v,K),r&&r(K,H.m_iOptions.m_oParametresSpecifiques)})};b.oGetProprieteElement=y;b.oGetProprieteHTMLElement=p;b.oGetProprieteURL=function(n){return a.NSUtil.oGetProprieteSimple(()=>
804{var C=n._oCorrigeHTMLElement(0);return a.NSUtil.bNodeEstType(C,"a")&&C.href?C.href:(C=m(C))?C[2]:""},C=>{C=String(C);const v=n._oCorrigeHTMLElement(0);if(a.NSUtil.bNodeEstType(v,"a"))v.href=C;else{var M=m(v);M&&(v.getAttributeNode("onclick").value=M[1]+C+M[3])}},16,1,61)};const k=/(_JCL\((?:\w+\()?')([^']+)('.*)/;b.oGetProprieteVignette=function(n){return p(C=>C.src,function(C,v){C.src=clWDUtil.sGetCheminImage(String(v),"",!1)},16,1,62,n,"img")};b.oGetProprieteFrameworkV1=f;b.oGetProprieteFrameworkV1GetSet=
805d;b.oGetProprieteFrameworkV1GetSetSecurise=function(n,C,v,M,G,e,l){return d(n,C,v,M,G,e,l,r=>b.ms_oSynchronisationServeur.SetProprieteObjet(n,v,r))};b.oGetProprieteImageFond=function(n,C){return a.NSUtil.oGetProprieteSimple(()=>a.NSUtil.sExtraitImageDepuisProprieteCSS(a.NSUtil.oGetCurrentStyle(n).backgroundImage),function(v){C&&(C.style.backgroundImage="none",C.style.backgroundColor="transparent");n.style.backgroundImage=a.NSUtil.sConstruitProprieteCSSDepuisImage(String(v))},16,1,34)};b.oGetProprieteTexteAlternatif=
806function(n){return y(C=>C.alt,function(C,v){C.alt=String(v)},16,1,48,()=>{const C=n._oCorrigeHTMLElement(2);return C&&"alt"in C?C:null})};b.oGetProprieteXYInitial=function(n,C,v){return B(n,8,C,1,v,0,function(M){var G=n.vsGetAliasHTML(),e=a.NSUtil.GetElementParIdName(G,document,!0,!1);e&&("ctz"+G===e.id?e=e.parentElement:(G=document.getElementById("lz"+G))&&!a.NSUtil.bEstFils(G,e)&&(e=c(e).parentElement));if(G=e=c(e))for(e=G.ownerDocument.body;;)if((G=G.offsetParent)&&G!==e){const l=45===v?G.offsetLeft:
807G.offsetTop;l&&(M+=l)}else break;return M})};b.oGetProprieteCatch=function(n,C,v,M){function G(e){try{return e()}catch(l){if(clWDUtil.bCatch(l))throw l;a.xThrow603(1,M)}}return a.NSUtil.oGetProprieteSimple(n?()=>G(n):null,C?e=>G(()=>C(e)):null,v,1,M)};b.xGetElementPourPropriete=g})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
808(function(a){(function(b){class h extends b.CObjet{constructor(p,m,f,d,c,g=p.sGetAlias()+"_"+f){super(g,d);this.m_tParent=p;this.m_tPourAliasAccesseur=m;this.m_nIndiceWL=f;this.m_bErreurSousElement=c}viGetPropriete(p,m){if(a.NSProprietes.bEstProprieteJS(p,m)){const f=this._sGetAliasChampPourHTML(!1),d=this._eGetPropri\u00e9t\u00e9PourAcc\u00e9sseur(m),c=this._pfGetGetSet(!0,d,!0,f),g=this._pfGetGetSet(!1,d,!0,f);if(c||g)return b.oGetProprieteCatch(c?()=>c(this.m_nIndiceWL):null,g?k=>{g(a.NSValues.oAny2Natif(k),
809this.m_nIndiceWL)}:null,void 0,m)}try{return super.viGetPropriete(p,m)}catch(f){if(this.m_bErreurSousElement&&1===p)throw new a.CErreur(602,"[ ]");throw f;}}viGetMonParent(p){return this.m_tParent}viGetChamp(p,m,f){switch(this.m_tParent.m_eIDObjet){case 9:case 11:case 35:case 77:const d=this.m_tParent;return new y(d,b.oGetObjet(p,m,f),d.iGetAsChampTableZRNavigateurFrameworkV1(),this.m_nIndiceWL);default:return super.viGetChamp(p,m,f)}}vsGetAliasHTML(){return this.m_tParent.vsGetAliasHTML()+"_"+this.m_nIndiceWL}viGetJQuery(){let p=
810this.oGetHTMLElement();return p?$(p):this.m_tParent.viGetJQuery()}voCorrigeHTMLElement(p,m){return this.m_tPourAliasAccesseur.voCorrigeHTMLElement(p,m)}_sGetAliasChampPourHTML(p){var m,f;if(b.bIsAttributZoneRepetee(this.m_tPourAliasAccesseur)){const d=(f=(m=this.m_tPourAliasAccesseur.m_oInformations)===null||m===void 0?void 0:m.m_oAttributZR)===null||f===void 0?void 0:f.m_oAssocie;if(d)return a.CDebug.s_Assert(!p,"CSousChampBase._sGetAliasChampPourHTML : bAliasHTML doit \u00eatre faux."),d.m_sAliasChamp}return p?
811this.m_tPourAliasAccesseur.vsGetAliasHTML():this.m_tPourAliasAccesseur.sGetAlias()}"_eGetPropri\u00e9t\u00e9PourAcc\u00e9sseur"(p){var m,f;if(b.bIsAttributZoneRepetee(this.m_tPourAliasAccesseur)){const d=(f=(m=this.m_tPourAliasAccesseur.m_oInformations)===null||m===void 0?void 0:m.m_oAttributZR)===null||f===void 0?void 0:f.m_oAssocie;if(d&&a.NSProprietes.bEstProprieteJS(1,d.m_ePropriete))return d.m_ePropriete}return p}}class B extends h{constructor(p,m,f,d,c){super(p,p,m,f,d,c)}}b.CSousChamp=B;class y extends h{constructor(p,
812m,f,d){super(p,m,d,54,!1);this.m_iChampTableZRNavigateurFrameworkV1=f}viGetPropriete(p,m){function f(d,c){try{return d()}catch(g){if(603===g.number)return c(g);throw g;}}if(a.NSProprietes.bEstProprieteJS(p,m))switch(m){case 1:return f(()=>super.viGetPropriete(p,m),d=>{var c,g;if(b.bIsAttributZoneRepetee(this.m_tPourAliasAccesseur)){const k=(g=(c=this.m_tPourAliasAccesseur.m_oInformations)===null||c===void 0?void 0:c.m_oAttributZR)===null||g===void 0?void 0:g.m_oAssocie;if(k){if(p!==k.m_eProprieteFamille||
813m!==k.m_ePropriete)return f(()=>super.viGetPropriete(k.m_eProprieteFamille,k.m_ePropriete),n=>{throw d;})}else{const n=this.voGetHTMLElement();if(n&&n instanceof HTMLInputElement){const C=()=>a.NSUtil.xoMarshallingFenetrePageSimple(n.value)||a.NSTypes.ms_DescriptionChaine.viCreation();return new a.NSUtil.CPropriete(C,v=>{n.value=a.NSUtil.sMarshallingPageFenetreSimple(v.m_oValeur)},v=>C().toJSON(v),()=>C().veGetTypeWL(6),p,m)}}}throw d;});case 61:return b.oGetProprieteURL(this);case 62:return b.oGetProprieteVignette(this)}return super.viGetPropriete(p,
814m)}vsGetAliasHTML(){return"zrl_"+this.m_nIndiceWL+"_"+this._sGetAliasChampPourHTML(!0)}viGetJQuery(){const p=this.oGetHTMLElement();return p?$(p):this.m_tParent.viGetJQuery()}_voGetHTMLElementPourLibelle(){var p;(p=this.m_iChampTableZRNavigateurFrameworkV1)===null||p===void 0||p.AfficheImmediat();return super._voGetHTMLElementPourLibelle()}}b.CChampCelluleDeTable=y})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
815(function(a){(function(b){class h extends b.CChampSimple{constructor(y){super(y,a.NSUtil.nGetEntier)}viGetSousElement(y,p){const m=a.NSUtil.xnGetIndiceC(p[y],this.viGetJQuery().wbPlanOccurrenceGet(),0,0);return a.NSUtil.iChaineSousElement(new B(this,m+1,123,!1),y+1,p)}viGetJQuery(){const y=this.oGetHTMLElement();return a.NSUtil.bNodeEstType(y,"input")?$(y.nextElementSibling):super.viGetJQuery()}}b.CBandeauDefilant=h;class B extends b.CSousChamp{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,
816p))switch(p){case 7:return a.NSUtil.oGetProprieteSimple(()=>this.viGetJQuery().wbPlanVisibleGet(this.m_nIndiceWL),m=>this.viGetJQuery().wbPlanVisibleSet(this.m_nIndiceWL,a.NSUtil.bGetBooleen(m)),8,y,p)}return super.viGetPropriete(y,p)}}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
817(function(a){(function(b){class h extends b.CChampSimpleSansType{voGetHTMLElement(B=!1,y=!1){return document.getElementById(this.vsGetAliasHTML()+"_")||super.voGetHTMLElement(B,y)}vSetProprieteEtat(B){super.vSetProprieteEtat(B);const y=this.voGetHTMLElement();if(y){for(const p of y.getElementsByTagName("a"))this._SetEtatSousElement(p,"href",B,
817!0),this._SetEtatSousElement(p,"onclick",B,!0),this._SetEtatSousElement(p,"ondblclick",B,!0);for(const p of y.getElementsByTagName("img"))this._SetEtatSousElement(p,
818"onclick",B,!1)}}}b.CChampArbre=h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
819(function(a){(function(b){class h extends b.CChampSimpleSansType{viGetPropriete(c,g){if(a.NSProprietes.bEstProprieteJS(c,g))switch(g){case 61:return b.oGetProprieteURL(this)}return super.viGetPropriete(c,g)}}b.CChampLien=h;class B extends h{viGetPropriete(c,g){if(a.NSProprietes.bEstProprieteJS(c,g))switch(g){case 57:case 58:return this.__xiGetProprieteLibelle(g)}return super.viGetPropriete(c,g)}__xiGetProprieteLibelle(c){const g=this.oGetHTMLElement();var k=null;let n=a.NSUtil.GetElementParId("z_"+
820this.vsGetAliasHTML()+"_IMG",document,!1);n&&!a.NSUtil.bNodeEstType(n,"img")?((k=n.getElementsByTagName("span")[0])&&(n=k),k=n):g&&a.NSUtil.bNodeEstType(g,"button")&&(k=g);if(k)return this._xiGetProprieteLibelle(k,c);if(g instanceof HTMLInputElement)return a.NSUtil.oGetProprieteSimple(()=>g.value,function(C){g.value=String(C)},16,1,c);a.xThrow603(1,c)}}b.CChampBouton=B;class y extends h{constructor(c,g){super(c);this.m_pfGetBaliseAction=g}voCorrigeHTMLElement(c,g){switch(g){case 0:return this.m_pfGetBaliseAction(c)}return super.voCorrigeHTMLElement(c,
821g)}vSetProprieteEtat(c){super.vSetProprieteEtat(c);const g=this._oCorrigeHTMLElement(0);g&&this._SetEtatSousElement(g,"href",c,!0)}}b.CChampAutour=y;class p extends y{constructor(c){super(c,function(g){return g?(g=g.parentElement,a.NSUtil.bNodeEstType(g,"i")?g.parentElement:g):null})}voGetHTMLElement(c=!1,g=!1){c=super.voGetHTMLElement(c,g);return this.voCorrigeHTMLElement(c,1)}voCorrigeHTMLElement(c,g){switch(g){case 1:case 2:if(a.NSUtil.bNodeEstType(c,"i"))return c.firstElementChild}return super.voCorrigeHTMLElement(c,
822g)}}b.CChampImage=p;class m extends p{viGetPropriete(c,g){if(a.NSProprietes.bEstProprieteJS(c,g))switch(g){case 62:return b.oGetProprieteVignette(this)}return super.viGetPropriete(c,g)}}b.CChampVignette=m;class f extends b.CChampSimple{constructor(c){super(c,g=>0)}viGetPropriete(c,g){if(a.NSProprietes.bEstProprieteJS(c,g))switch(g){case 1:return this.bS\u00e9lectionMultiple()?a.NSUtil.oGetProprieteSimple(()=>{let k="";const n=this.iGetWBBoutonSegmente();if(n){const C=n.wbBtnSegGetOccurrence();for(let v=
8230;v<C;v++)k+=n.wbBtnSegGetSelectionnee(v)?"1":"0"}return k},k=>{const n=this.iGetWBBoutonSegmente();if(n){const C=n.wbBtnSegGetOccurrence();k=String(k);for(let v=0;v<C;v++)n.wbBtnSegSetSelectionnee(v,"1"===k.substring(v,v+1))}},16,c,g):a.NSUtil.oGetProprieteSimple(()=>{const k=this.iGetWBBoutonSegmente();if(k){const n=k.wbBtnSegGetOccurrence();for(let C=0;C<n;C++)if(k.wbBtnSegGetSelectionnee(C))return C+1}return-1},k=>{const n=this.iGetWBBoutonSegmente();n&&(k=a.NSUtil.nGetEntier(k,0)-1,n.wbBtnSegSetSelectionnee(k,
824!0))},8,c,g)}return super.viGetPropriete(c,g)}viGetSousElement(c,g){const k=this.iGetWBBoutonSegmente(),n=a.NSUtil.xnGetIndiceC(g[c],k?k.wbBtnSegGetOccurrence():0,0,0,!1);return a.NSUtil.iChaineSousElement(new d(this,n+1,k),c+1,g)}voGetHTMLElement(c=!1,g=!1){const k=document.getElementsByName(this.vsGetAliasHTML()+"_DATA");return k.length&&k[0]||super.voGetHTMLElement(c,g)}iGetWBBoutonSegmente(){const c=this.voGetHTMLElement();return c&&c.wbBtnSegGetOccurrence?c:null}"bS\u00e9lectionMultiple"(){const c=
825this.iGetWBBoutonSegmente();return c?c.wbBtnSegGetMulti():!1}}b.CChampBoutonSegment\u00e9=f;class d extends b.CSousChamp{constructor(c,g,k){super(c,g,149,!0);this.m_iWBBoutonSegment\u00e9=k}viGetPropriete(c,g){if(a.NSProprietes.bEstProprieteJS(c,g))switch(g){case 1:return a.NSUtil.oGetProprieteSimple(()=>this.m_iWBBoutonSegment\u00e9.wbBtnSegGetSelectionnee(this.m_nIndiceWL-1),k=>{k=a.NSUtil.bGetBooleen(k);this.m_iWBBoutonSegment\u00e9.wbBtnSegSetSelectionnee(this.m_nIndiceWL-1,k)},1,c,g);case 57:return a.NSUtil.oGetProprieteSimple(()=>
826{const k=document.createElement("div");k.innerHTML=this.m_iWBBoutonSegment\u00e9.wbBtnSegGetLibelle(this.m_nIndiceWL-1);return k.innerText},k=>{const n=document.createElement("div");n.innerText=String(k);this.m_iWBBoutonSegment\u00e9.wbBtnSegSetLibelle(this.m_nIndiceWL-1,n.innerHTML)},16,c,g);case 58:return a.NSUtil.oGetProprieteSimple(()=>this.m_iWBBoutonSegment\u00e9.wbBtnSegGetLibelle(this.m_nIndiceWL-1),k=>this.m_iWBBoutonSegment\u00e9.wbBtnSegSetLibelle(this.m_nIndiceWL-1,Str
826ing(k)),16,c,g)}return super.viGetPropriete(c,
827g)}voGetHTMLElement(c=!1,g=!1){return(g=super.voGetHTMLElement(c,g))&&c&&(c=g.parentElement,a.NSUtil.bNodeEstType(c,"label"))?c:g}_vGetProprieteBulle(){return a.NSTypes.iNatif2RValue(this.m_iWBBoutonSegment\u00e9.wbBtnSegGetBulle(this.m_nIndiceWL-1),a.NSTypes.ms_DescriptionChaine)}_vSetProprieteBulle(c){this.m_iWBBoutonSegment\u00e9.wbBtnSegSetBulle(this.m_nIndiceWL-1,c)}}b.COptionBoutonSegment\u00e9=d})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
828(function(a){(function(b){class h extends b.CChampRebondFrameworkV1{constructor(y){super(y,p=>String(p),!0,16)}viGetAsCalendrier(){return this.m_iChampFrameworkV1||null}}b.CChampCalendrier=h;class B extends b.CChampRebondFrameworkV1Parametres{}b.CChampAgendaPlanning=B})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
829(function(a){(function(b){const h=a.NSTypes.ms_DescriptionChaine.viCreation();b.bEstValeurRenvoyeeDefaut=function(y){return h===y.viGetRValue(0)};class B extends b.CChamp{constructor(){super(...arguments);this.m_iValeur=h}viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 63:return new a.NSUtil.CPropriete(()=>this.m_iValeur,m=>{this.m_iValeur=a.NSTypes.iGetDescriptionDepuisValue(m.m_oValeur).viCreation(m)},void 0,void 0,y,p)}return super.viGetPropriete(y,p)}}b.CChampPopup=B})(a.NSChamps||
830(a.NSChamps={}))})(NSPCS||(NSPCS={}));
831(function(a){(function(b){class h extends b.CChampSimpleSansType{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 4:return a.NSUtil.oGetProprieteConstante(this.__nGetNbCellules(),8,y,p);case 7:const m=this._iGetProprieteFrameworkV1(7,()=>clWDUtil.DispositionMAJ(),1);if(m)return m}return super.viGetPropriete(y,p)}viGetSousElement(y,p){return this._iGetSousElementHTML(y,p,B,!1)}__nGetNbCellules(){const y=document.getElementsByClassName(this.vsGetAliasHTML()+"-layout-ol");let p=
8320;y.length&&Array.prototype.forEach.call(y[0].childNodes,function(m){a.NSUtil.bNodeEstType(m,"li")&&p++});return p}}b.CChampDisposition=h;class B extends b.CSousChamp{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 3:return this.__oGetProprieteCelluleDisposition(function(m){return a.NSTypes.oCreeDinoCouleur(a.NSUtil.oGetCurrentStyle(m).backgroundColor)},function(m,f){m.style.backgroundColor=String(f)},111,y,p,!0,a.NSTypes.oCreeDinoCouleur());case 7:return this.__oGetProprieteCelluleDisposition(function(m){clWDUtil.DispositionMAJ();
833return a.NSUtil.bEstDisplay(m,!1)},function(m,f){a.NSUtil.SetDisplay(m,a.NSUtil.bGetBooleen(f),!0);clWDUtil.PrepareDispositionMAJ()},1,y,p,!1,!1);case 16:return this.__oGetProprieteCelluleDisposition(m=>m.offsetHeight,null,8,y,p,!0,0);case 17:return this.__oGetProprieteCelluleDisposition(m=>m.offsetWidth,null,8,y,p,!0,0);case 18:return this.__oGetProprieteCelluleDisposition(m=>a.NSUtil.nGetEntier(a.NSUtil.dGetReel(a.NSUtil.oGetCurrentStyle(m).opacity,1)*100),(m,f)=>a.NSUtil.SetOpacite(a.NSUtil.nGetEntier(f),
834m),8,y,p,!0,100);case 24:return this.__oGetProprieteCelluleDisposition(a.NSUtil.sGetClasseHTML,(m,f)=>a.NSUtil.SetClasseHTML(m,String(f)),16,y,p,!0,"");case 70:return this._iGetProprieteAttributHTML(this.__oGetCellule(!0))}return super.viGetPropriete(y,p)}__oGetCellule(y){const p=document.getElementById(this.vsGetAliasHTML());return y||!p||a.NSUtil.bNodeEstType(p,"li")?p:p.parentElement}__oGetProprieteCelluleDisposition(y,p,m,f,d,c,g){return a.NSUtil.oGetProprieteSimple(()=>{const k=this.__oGetCellule(c);
835return k?y(k):g},p?k=>{const n=this.__oGetCellule(c);n&&p(n,k)}:null,m,f,d)}}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
836(function(a){(function(b){class h extends b.CChampRebondFrameworkV1Parametres{viGetPropriete(B,y){if(a.NSProprietes.bEstProprieteJS(B,y))switch(y){case 1:return b.oGetProprieteFrameworkV1(p=>p.GetCode(),(p,m)=>p.SetCode(m),19,B,y,this);case 76:return b.oGetProprieteFrameworkV1(p=>p.GetCurseurLigne(),(p,m)=>p.SetCurseurLigne(m),8,B,y,this);case 77:return b.oGetProprieteFrameworkV1(p=>p.GetCurseur(),(p,m)=>p.SetCurseur(m),8,B,y,this);case 78:return b.oGetProprieteFrameworkV1(p=>p.GetFinCurseur(),(p,
837m)=>p.SetFinCurseur(m),8,B,y,this)}return super.viGetPropriete(B,y)}}b.CChampEditeurCodeWL=h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
838(function(a){(function(b){class h extends b.CChampRebondFrameworkV1Parametres{viGetPropriete(B,y){if
838(a.NSProprietes.bEstProprieteJS(B,y))switch(y){case 50:return b.oGetProprieteFrameworkV1(p=>p.dGetAxeXMin(),null,12,B,y,this);case 51:return b.oGetProprieteFrameworkV1(p=>p.dGetAxeXMax(),null,12,B,y,this);case 52:return b.oGetProprieteFrameworkV1(p=>p.dGetAxeYMin(),null,12,B,y,this);case 53:return b.oGetProprieteFrameworkV1(p=>p.dGetAxeYMax(),null,12,B,y,this);case 57:return b.oGetProprieteFrameworkV1(p=>
839p.sGetTitre(),(p,m)=>p.SetTitre(String(m)),16,B,y,this);case 60:return b.oGetProprieteFrameworkV1(p=>a.NSUtil.nGetEntier(p.nGetDureeAnimation()/10),(p,m)=>p.SetDureeAnimation(a.NSUtil.dGetReel(m,NaN,1)*10),8,B,y,this);case 58:a.xThrow603_I(B,y)}return super.viGetPropriete(B,y)}voCorrigeHTMLElement(B,y){switch(y){case 2:const p=document.getElementsByName(this.vsGetAliasHTML());if(p.length)return p[0]}return super.voCorrigeHTMLElement(B,y)}viGetAsGraphe(){return this.m_iChampFrameworkV1||null}}b.CChampGraphe=
840h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
841(function(a){(function(b){function h(p,m,f){return new a.NSUtil.CPropriete(function(){const d=p.tabGetObjets(),c=d.length;let g;for(let k=0;k<c;k++)try{return d[k].viGetPropriete(m,f).viGetRValue(1)}catch(n){void 0===g&&(g=n)}if(g)throw g;a.xThrow603_I(m,f)},function(d){p.tabGetObjets().forEach(function(c){try{c.viGetPropriete(m,f).vSetValeur2(d)}catch(g){}})},void 0,void 0,m,f)}let B={};b.DeclareGroupes=function(p){B={};p.forEach(m=>{B[m.m_sNom]=new y(m.m_tabMembres)})};b.xoGetGroupe=function(p){const m=
842B[p];if(m)return m;throw new a.CErreur(605,p);};class y extends b.CObjet{constructor(p){super("",58);this.m_tabMembresDuGroupe=p}viGetPropriete(p,m){if(a.NSProprietes.bEstProprieteJS(p,m))switch(m){case 4:return a.NSUtil.oGetProprieteConstante(this.tabGetObjets().length,8,p,m)}return h(this,p,m)}viGetMonParent(p){return b.oGetPageCourante()}tabGetObjets(){return this.m_tabMembresDuGroupe.map(p=>b.oGetObjet(p.m_sAlias,p.m_eIDObjet,{m_sAliasTableZR:p.m_sAliasTableZRParent}))}}})(a.NSChamps||(a.NSChamps=
843{}))})(NSPCS||(NSPCS={}));
844(function(a){(function(b){class h extends b.CChampSimpleSansType{vsGetAliasHTML(){return b.oGetPageCourante().vsGetAliasHTML()+"_"+super.vsGetAliasHTML()}}class B extends h{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 61:return b.oGetProprieteHTMLElement(m=>m.src,function(m,f){m.src=String(f)},16,y,p,this,"iframe")}return super.viGetPropriete(y,p)}voGetHTMLElement(y=!1,p=!1){return document.getElementsByName(this.vsGetAliasHTML())[0]||super.voGetHTMLElement(y,p)}}b.CChampIFrame=
845B})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
846(function(a){(function(b){class h extends b.CChampSimple{constructor(f,d){super(f,d)}viGetSousElement(f,d){return this._iGetSousElementHTML(f,d,p,!0)}voGetHTMLElement(f=!1,d=!1){return f||d?super.voGetHTMLElement(f,d):this._iGetSousElementHTMLSimple(1,p,!0).voGetHTMLElement(f,d)}vSetProprieteEtat(f){super.vSetProprieteEtat(f);const d=this.tabGetElementsByName();for(let c=1;c<d.length;c++)this._SetProprieteEtat(f,d[c],null,null,!1)}}class B extends h{constructor(f){super(f,a.NSUtil.bGetBooleen)}}b.CChampInterrupteur=
847B;class y extends h{constructor(f){super(f,a.NSUtil.nGetEntier)}}b.CChampSelecteur=y;class p extends b.CSousChamp{voGetHTMLElement(f=!1,d=!1){return(d=super.voGetHTMLElement(f,d))&&f&&(f=d.parentElement,a.NSUtil.bNodeEstType(f,"label"))?f:d}_vSetProprieteBulle(f){const d=this.oGetHTMLElement();this._SetProprieteBulle(f,d);d&&this._SetProprieteBulle(f,d.parentElement)}}class m extends b.CChamp{viGetPropriete(f,d){if(a.NSProprietes.bEstProprieteJS(f,d))switch(d){case 1:return a.NSUtil.oGetProprieteSimple(()=>
848{for(const c of this.tabGetElementsByName())if(c.checked)return c.getAttribute("data-wbValeurRenvoyee")||"";return""},c=>{const g=String(c),k=this.tabGetElementsByName();for(const n of k)if(n.getAttribute("data-wbValeurRenvoyee")===g){n.checked=!0;return}c=a.NSUtil.nGetEntier(c,-1);0<=c&&c<k.length&&(k[c].checked=!0)},16,f,d)}return super.viGetPropriete(f,d)}viGetSousElement(f,d){return this._iGetSousElementHTML(f,d,p,!0)}}b.CChampInterrupteurABascule=m})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS=
849{}));
850(function(a){(function(b){class h extends b.CChamp{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 1:return this._iGetProprieteFrameworkV1(1,null,8);case 4:return this._iGetProprieteFrameworkV1(4,null,8);case 74:return a.NSUtil.oGetProprieteSimple(()=>{const m=this._pfGetGetSet(!0,1)();return 1<=m?this.sGetValeurMemorisee(m):""},null,16,y,p)}return super.viGetPropriete(y,p)}viGetSousElement(y,p){const m=a.NSUtil.xnGetIndiceC(p[y],this.__nGetNbOptions(),0,0);return a.NSUtil.iChaineSousElement(new B(this,m+
8511),y+1,p)}sGetValeurMemorisee(y){var p=this.voGetChampFormulaire();if(p){p=p.options;if(0===p.length)throw new a.CErreur(200,y);if(p.length<y)throw new a.CErreur(200,y,1,p.length);y=p[y-1].getAttribute("data-wb-valmem");if(null!==y)return y}return""}__nGetNbOptions(){const y=this.voGetChampFormulaire();return y?y.options.length:0}}b.CChampListe=h;class B extends b.CSousChamp{constructor(y,p){super(y,p,52,!1)}viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 74:return a.NSUtil.oGetProprieteSimple(()=>
852this.m_tParent.sGetValeurMemorisee(this.m_nIndiceWL),null,16,y,p)}return super.viGetPropriete(y,p)}}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
853(function(a){(function(b){class h extends b.CChampRebondFrameworkV1{constructor(B){super(B,a.NSUtil.dGetReel,!0,12)}
853viGetPropriete(B,y){if(a.NSProprietes.bEstProprieteJS(B,y))switch(y){case 36:return b.oGetProprieteFrameworkV1GetSet(this,16,123,B,y,String,!1,null)}return super.viGetPropriete(B,y)}viGetAsJauge(){return this.m_iChampFrameworkV1||null}}b.CChampJauge=h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
854(function(a){(function(b){function h(){throw new a.CErreur(601);}b.oGetListeKanban=function(d){let c;const g=d.m_sAlias;clWDUtil.m_oChamps.bPourTousChamps(function(k,n){return n instanceof WDKanban&&n.GetListe(g)?(c=new B(b.oGetChamp(k,140,d.m_oInformations),n.nGetListeIndice(g),g),!1):!0});return c};class B extends b.CSousChamp{constructor(d,c,g){super(d,c,142,!1,g)}viGetPropriete(d,c){if(a.NSProprietes.bEstProprieteJS(d,c))switch(c){case 4:return a.NSUtil.oGetProprieteSimple(()=>this.nGetNbCartes(),
855null,8,d,c);case 7:return a.NSUtil.oGetProprieteSimple(()=>{var g,k;return((k=(g=this.m_tParent.m_iChampFrameworkV1)===null||g===void 0?void 0:g.GetListe(this.sGetAlias()))===null||k===void 0?void 0:k.visible)||!1},null,1,d,c);case 72:return new m(this,c);case 73:return a.NSUtil.oGetProprieteSimple(()=>this.__nGetNbCartesMax(),null,8,d,c)}return super.viGetPropriete(d,c)}viGetSousElement(d,c){var g=a.NSUtil.xnGetIndiceC(c[d],this.nGetNbCartes(),0,0);g=this.m_tParent.m_iChampFrameworkV1.GetCarte(this.sGetAlias(),
856g);return a.NSUtil.iChaineSousElement(a.NSTypes.oCreeKBCarteDepuisChamp(g,this),d+1,c)}vsGetAliasHTML(){return this.sGetAlias()}nGetIndice(d){var c;return((c=this.m_tParent.m_iChampFrameworkV1)===null||c===void 0?void 0:c.nGetCarteIndice(this.sGetAlias(),d))||0}Modification(d){var c;(c=this.m_tParent.m_iChampFrameworkV1)===null||c===void 0||c.OnModifCarte(d)}nGetNbCartes(){var d;return((d=this.m_tParent.m_iChampFrameworkV1)===null||d===void 0?void 0:d.nGetNbCartes(this.sGetAlias()))||0}__nGetNbCartesMax(){var d;
857return((d=this.m_tParent.m_iChampFrameworkV1)===null||d===void 0?void 0:d.nGetNbCartesMax(this.sGetAlias()))||0}}b.CListeKanban=B;class y extends b.CChampRebondFrameworkV1SansType{viGetMembre2(d,c,g,k){var n;const C=(n=this.m_iChampFrameworkV1)===null||n===void 0?void 0:n.GetListeDepuisNom(c);return C?new B(this,this.m_iChampFrameworkV1.nGetListeIndice(C.id),C.id):super.viGetMembre2(d,c,g,k)}viGetPropriete(d,c){if(a.NSProprietes.bEstProprieteJS(d,c))switch(c){case 71:return new f(this,c)}return super.viGetPropriete(d,
858c)}viGetChamp(d,c,g){var k;if(142===c){const n=(k=this.m_iChampFrameworkV1)===null||k===void 0?void 0:k.GetListe(d);if(n)return new B(this,this.m_iChampFrameworkV1.nGetListeIndice(n.id),n.id)}return super.viGetChamp(d,c,g)}}b.CChampKanban=y;class p extends a.NSUtil.CCollection{constructor(d,c){super();this.m_oConteneur=d;this.m_eProprieteJS=c}valueOf(){h()}viGetMembre2(d,c,g,k){a.xThrow603(1,this.m_eProprieteJS)}veGetTypeWL(d){return 124}nAjouteLigne(d){h()}DeplaceLigne(d,c){h()}Echange(d,c){h()}Insere(d,
859c){h()}eGetModeAgrandissement(){return 0}nSupprime(d){h()}SupprimeTout(){h()}}class m extends p{eTypeElement(){return 111}nGetNbElements(){return this.m_oConteneur.nGetNbCartes()}iGetSousElementIndice(d){return this.m_oConteneur.viGetSousElement(0,[d+1])}iGetDescriptionElement(){return a.NSTypes.oGetDescriptionDINO(70,74).m_oDescriptionDynamique}}class f extends p{viGetSousElement(d,c){var g=this.m_oConteneur.m_iChampFrameworkV1;if(g){const k=String(c[d]),n=g.GetListeDepuisNom(a.NSUtil.sGetFormatLogique(k));
860if(n)return a.NSUtil.iChaineSousElement(new B(this.m_oConteneur,g.nGetListeIndice(n.id),n.id),d+1,c);g=g.nGetListeIndice(k);if(-1!==g)return a.NSUtil.iChaineSousElement(new B(this.m_oConteneur,g,k),d+1,c)}return super.viGetSousElement(d,c)}eTypeElement(){return 138}nGetNbElements(){var d;return((d=this.m_oConteneur.m_iChampFrameworkV1)===null||d===void 0?void 0:d.nGetNbListes())||0}iGetSousElementIndice(d){return new B(this.m_oConteneur,d+1,this.m_oConteneur.m_iChampFrameworkV1.GetListeParIndice(d).id)}iGetDescriptionElement(){}}
861})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));(function(a){(function(b){class h extends b.CObjet{viGetPropriete(B,y){if(a.NSProprietes.bEstProprieteJS(B,y))switch(y){case 57:case 58:return this._xiGetProprieteLibelle(this.voGetHTMLElement(),y);case 61:return b.oGetProprieteHTMLElement(p=>p.href,function(p,m){p.href=String(m)},16,B,y,this,"a")}return super.viGetPropriete(B,y)}viGetMonParent(B){return b.oGetPageCourante()}}b.COptionMenu=h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
862(function(a){(function(b){class h extends b.CChampRebondFrameworkV1{constructor(y){super(y,a.NSUtil.nGetEntier,!1,8)}viGetSousElement(y,p){return this._iGetSousElementHTML(y,p,B,!1)}}b.CChampOnglet=h;class B extends b.CSousChamp{viGetPropriete(y,p){if(a.NSProprietes.bEstProprieteJS(y,p))switch(p){case 57:case 58:return this._xiGetProprieteLibelle(this.__oGetA()||this.oGetHTMLElement(),p)}return super.viGetPropriete(y,p)}vSetProprieteEtat(y){super.vSetProprieteEtat(y);var p=this.__oGetA();this._SetProprieteEtat(y,
863p,null,null,!0);if((p=this.m_tParent.m_iChampFrameworkV1)&&0!==y&&(y=a.NSUtil.nGetEntier(this.m_tParent.viGetPropriete(1,1)),this.m_nIndiceWL===y)){const f=p.m_tabOnglets;var m=!1;for(let d=y;d<f.length;d++)if(f[d].bActif()){p.AfficheVolet(d);m=!0;break}if(!m)for(m=0;m<y-1;m++)if(f[m].bActif()){p.AfficheVolet(m);break}}}_vSetProprieteBulle(y){super._vSetProprieteBulle(y);const p=this.__oGetA();this._SetProprieteBulle(y,p)}__oGetA(){var y=this.voGetHTMLElement();return y&&(y=y.getElementsByTagName("a")[0])?
864y:null}}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
865(function(a){(function(b){function h(m,f){if(!f)return null;try{if("NSPCS"in f){const c=f.NSPCS.NSChamps.oGetPageCourante();if(c&&m===c.sGetAlias())return c}let d=null;a.NSUtil.bForEach(f.frames,function(c){d=h(m,c);return null===d});return d}catch(d){return null}}function B(){const m=a.NSUtil.ms_sAliasMoiMeme;if(m){const f=b.oGetChampSansCreation(m);if(f)return f;if(m===a.NSUtil.ms_sAliasPage)return p}throw new a.CErreur(606);}class y extends b.CObjet{constructor(){super(a.NSUtil.ms_sAliasPage,1);
866a.NSUtil.ms_oNotificationsChangementTranche.AddNotification((...m)=>{this.__OnChangementTranche(m)})}viGetPropriete(m,f){if(a.NSProprietes.bEstProprieteJS(m,f))switch(f){case 0:return a.NSUtil.oGetProprieteConstante(this.vsGetAliasHTML(),16,m,f);case 34:return b.oGetProprieteImageFond(document.documentElement,document.body);case 57:return a.NSUtil.oGetProprieteSimple(()=>document.title,function(d){document.title=String(d)},16,m,f)}return super.viGetPropriete(m,f)}viGetMonParent(m){return this}_vSetProprietePlan(m,
867f){$(".wbPlanDeMaPage").wbPlanSet(m,f)}oGetDocument(){return document}__OnChangementTranche(m){b.AppelMethodePtr(b.OnChangementTranche,[m[0],m[1]]);this._RecuperePCode(77).apply(window,m)}}const p=new y;b.oGetPageCourante=function(){return p};b.oGetPageInterneCourante=function(m,f){return a.NSUtil.ms_sAliasPage===m?p:b.oGetChamp(f,32)};b.oGetPage=function(m){if(m===p.sGetAlias())return p;const f=h(m,top);if(f)return f;throw new a.CErreur(605,m);};b.oGetMoiMeme=B;b.oGetMonParent=function(){return B().viGetMonParent(!0)}})(a.NSChamps||
868(a.NSChamps={}))})(NSPCS||(NSPCS={}));
869(function(a){(function(b){class h extends b.CChampRebondFrameworkV1{constructor(m){super(m,a.NSUtil.nGetEntier,!0,8)}voGetHTMLElement(m=!1,f=!1){const d=document.getElementsByName(this.vsGetAliasHTML()+"_DATA");return d.length&&d[0]||super.voGetHTMLElement(m,f)}vSetProprieteEtat(m){super.vSetProprieteEtat(m);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1._vAppliqueParametres()}_vLiaisonHTML(m,f){super._vLiaisonHTML("_DATA",f)}}class B extends h{viGetPropriete(m,f){if(a.NSProprietes.bEstProprieteJS(m,
870f))switch(f){case 20:return b.oGetProprieteFrameworkV1GetSetSecurise(this,8,89,m,f,a.NSUtil.nGetEntier,!0);case 21:return b.oGetProprieteFrameworkV1GetSetSecurise(this,8,90,m,f,a.NSUtil.nGetEntier,!0)}return super.viGetPropriete(m,f)}}b.CChampRangeSlider=B;class y extends h{}b.CChampRating=y;class p extends h{}b.CChampPotentiometre=p})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
871(function(a){(function(b){function h(p,m){return a.NSUtil.oGetProprieteSimple(function(){var f=p.iGetWBJeton();const d=p.oGetHTMLElement();f=f?f.wbGetJetonValeurAfficheeChampSaisie():d?d instanceof HTMLInputElement?d.value:a.NSUtil.sGetInnerText(d):"";return m?m.GetValeur(void 0,f,d):f},null,16,1,55)}class B extends b.CChampSimpleSansType{viGetPropriete(p,m){if(a.NSProprietes.bEstProprieteJS(p,m))switch(m){case 55:return h(this,void 0)}return super.viGetPropriete(p,m)}}b.CChampFormate=B;class y extends b.CChampRebondFrameworkV1SansType{viGetPropriete(p,
872m){if(a.NSProprietes.bEstProprieteJS(p,m)){const f=this.m_iChampFrameworkV1;switch(m){case 25:return b.oGetProprieteFrameworkV1GetSet(this,16,58,p,m,String,!1,null);case 38:return a.NSUtil.oGetProprieteSimple(()=>{const d=this.__oGetBoutonCalendrier();return d?a.NSUtil.bEstDisplay(d,!1):!1},d=>{const c=this.__oGetBoutonCalendrier();c&&a.NSUtil.SetDisplay(c,a.NSUtil.bGetBooleen(d))},1,p,m);case 54:return f?b.oGetProprieteFrameworkV1GetSet(this,16,130,p,m,String,!1,null):this.viGetPropriete(1,1);case 55:return h(this,
873f);case 69:return a.NSUtil.oGetProprieteSimple(()=>b.ms_oSynchronisationServeur.bGetChampModifie(this.sGetAlias()),d=>b.ms_oSynchronisationServeur.SetChampModifie(this.sGetAlias(),a.NSUtil.bGetBooleen(d)),1,p,m)}}return super.viGetPropriete(p,m)}_vSetValeurChampFormulaire(p){var m=this.iGetWBJeton();m?m.wbSetJetonValeurMemoriseeChampSaisie(String(p)):((m=this._iGetWBMasque())&&
873(p=m.wbFormateEnAffectation(String(p))),super._vSetValeurChampFormulaire(p),(m=this.voGetChampFormulaire())&&"password"===
874m.type&&(m=m.nextSibling,a.NSUtil.bNodeEstType(m,"div")&&(m.style.visibility=String(p)?"hidden":"visible")))}__oGetBoutonCalendrier(){var p=this.voGetHTMLElement();return p&&(p=p.nextSibling,a.NSUtil.bNodeEstType(p,"div"))?p:null}}b.CChampSaisie=y})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
875(function(a){(function(b){class h extends b.CChampSimpleSansType{vSetProprieteEtat(B){super.vSetProprieteEtat(B);const y=this.voGetHTMLElement();if(y)for(const p of y.getElementsByTagName("a"))this._SetEtatSousElement(p,"href",B,!0)}}b.CChampSiteMapXxx=h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
876(function(a){(function(b){function h(f){return!!f&&(window.WDTableZRNavigateur&&f instanceof WDTableZRNavigateur||"_voHTMLParse"in f)}class B extends b.CObjet{viGetPropriete(f,d){if(a.NSProprietes.bEstProprieteJS(f,d)){const c=()=>this.voGetHTMLElement();switch(d){case 56:return b.oGetProprieteElement(g=>g.title,function(g,k){g.title=String(k)},16,f,d,c);case 57:case 58:return this.__xiGetProprieteLibelle(d)}}return super.viGetPropriete(f,d)}viGetMonParent(f){return b.oGetPageCourante()}voGetHTMLElement(f=
877!1,d=!1){var c=this.vsGetAliasHTML();const g="tt"+c,k=document.getElementById(g);if(k){if(f=k.getElementsByClassName(g)[0])return f;f=k.firstElementChild;return a.NSUtil.bNodeEstType(f,"div")&&a.NSUtil.bAvecClasse(f,"wbcol"+c)&&(c=f.firstElementChild,a.NSUtil.bNodeEstType(c,"div"))?c:k}return super.voGetHTMLElement(f,d)}__xiGetProprieteLibelle(f){return this._xiGetProprieteLibelle(this.voGetHTMLElement(),f)}}class y extends b.CSousChamp{_vGetProprieteBulle(){const f=this.__iGetChampTableZRNavigateurFrameworkV1();
878return f?a.NSValues.iAny2RValue(f._oGetProprieteColonneAvecIndice(f._nGetColonneSelonAlias(this.m_tParent.sGetAlias()),this.m_nIndiceWL-1,this.m_nIndiceWL-1,39,!1)||""):super._vGetProprieteBulle()}_vSetProprieteBulle(f){const d=this.__iGetChampTableZRNavigateurFrameworkV1();if(d)d.tabGetLigneSet(39,this.m_nIndiceWL)[d._nGetColonneSelonAlias(this.m_tParent.sGetAlias())]=f;else return this._vSetProprieteBulle(f)}__iGetChampTableZRNavigateurFrameworkV1(){return this.m_tParent.iGetChampTableZRNavigateurFrameworkV1()}}
879class p extends B{constructor(f,d,c){super(f,d);this.m_oTableZRParent=(c===null||c===void 0?0:c.m_sAliasTableZR)?new b.CTableZRParent(c.m_sAliasTableZR):null}viGetSousElement(f,d){return a.NSUtil.iChaineSousElement(new y(this,a.NSUtil.nGetEntier(d[f]),54,!0),f+1,d)}iGetChampTableZRNavigateurFrameworkV1(){var f,d;return(d=(f=this.m_oTableZRParent)===null||f===void 0?void 0:f.oGetTableZRParent())===null||d===void 0?void 0:d.iGetAsChampTableZRNavigateurFrameworkV1()}}b.CColonneTable=p;class m extends b.CChampRebondFrameworkV1{constructor(f){super(f,
880a.NSUtil.nGetEntier,!1,8)}viGetPropriete(f,d){const c=()=>{const g=$("#con-"+this.vsGetAliasHTML()).closest(".wbGalerie");return g.length?g:null};if(a.NSProprietes.bEstProprieteJS(f,d))switch(d){case 60:return b.oGetProprieteElement(g=>a.NSUtil.nGetEntier(g.wbGetDureeAnimation()/10),(g,k)=>g.wbSetDureeAnimation(a.NSUtil.dGetReel(k,NaN,1)*10),8,f,d,c)}return super.viGetPropriete(f,d)}iGetAsChampTableZRNavigateurFrameworkV1(){const f=this.m_iChampFrameworkV1;return h(f)?f:void 0}}b.CChampTable=m;b.bEstChampTableZRNavigateurFrameworkV1=
881h})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
882(function(a){(function(b){class h extends b.CChampRebondFrameworkV1Parametres{viGetMembre2(f,d,c,g){var k,n;const C=(k=this.m_iChampFrameworkV1)===null||k===void 0?void 0:k.GetDimensionDepuisNom(d);return C?new y(this,C):(k=(n=this.m_iChampFrameworkV1)===null||n===void 0?void 0:n.GetMesureDepuisNom(d))?new p(this,k):super.viGetMembre2(f,d,c,g)}}b.CChampTCD=h;class B extends b.CObjet{constructor(f,d,c){super("",c);this.m_oParent=f;this.m_iElementFrameworkV1=d}viGetMonParent(f){return this.m_oParent}}
883class y extends B{constructor(f,d){super(f,d,108)}}class p extends B{constructor(f,d){super(f,d,106)}viGetPropriete(f,d){var c;if(a.NSProprietes.bEstProprieteJS(f,d))switch(d){case 1:case 2:case 3:const g=(c=this.m_oParent.m_iChampFrameworkV1)===null||c===void 0?void 0:c.GetPositionCourante();if(g)return this.viGetSousElement(0,[g]).viGetPropriete(f,d)}return super.viGetPropriete(f,d)}viGetSousElement(f,d){var c=this.m_oParent.m_iChampFrameworkV1;if(c){const g=a.NSTypes.iGetAsDino(d[f],70,8);
883if(g)return c=
884c.GetValeurDepuisMesureEtPosition(this.m_iElementFrameworkV1,g.oGetData()),a.NSUtil.iChaineSousElement(new m(this.m_oParent,c,54),f+1,d)}throw new a.CErreur(601);}}class m extends B{viGetPropriete(f,d){if(a.NSProprietes.bEstProprieteJS(f,d))switch(d){case 1:return a.NSUtil.oGetProprieteSimple(()=>this.m_iElementFrameworkV1.valeur,null,16,f,d);case 2:return a.NSUtil.oGetProprieteSimple(()=>a.NSTypes.oCreeDinoCouleur(this.m_iElementFrameworkV1.couleur),null,111,f,d);case 3:return a.NSUtil.oGetProprieteSimple(()=>
885a.NSTypes.oCreeDinoCouleur(this.m_iElementFrameworkV1.couleurFond),null,111,f,d)}return super.viGetPropriete(f,d)}}})(a.NSChamps||(a.NSChamps={}))})(NSPCS||(NSPCS={}));
886(function(a){(function(b){function h(){return void 0!==window.WL&&void 0!==window.WL.MonChampHote}b.bWDW=h;b.SetDeclaration=function(c){b.SetDeclaration=()=>{};h()?a.oCatchErreurs(()=>window.WL.MonChampHote(c,"NSPCS.NSWDW.GetDeclaration")):a.CDebug.s_Assert(!1,"window.WL.MonChampHote absent")};let B={};b.GetDeclaration=function(c){B=JSON.parse(c)};b.sAppelFonction=function(c,g){var k=a.NSUtil.pfGetTraitementDirect(a.NSUtil.ms_sAliasPage,[c,a.NSUtil.sGetFormatLogique(c)]);if(k){var n=a.NSUtil.xtabMarshallingFenetrePageMultiple(g);
887c=clWDUtil.ThrowExceptionsWL(()=>k.apply(window,n));return a.NSUtil.sMarshallingPageFenetreMultiple([c])}throw new a.CErreur(605,c);};const y={};let p=0;b.RetourAsynchrone=function(c,g){if(y.hasOwnProperty(c)){const k=y[c];delete y[c];k(a.NSUtil.xtabMarshallingFenetrePageMultiple(g)[0])}};const m=Symbol("MonChampH\u00f4te");class f extends a.CIRValue{valueOf(){a.xThrow603(1,1)}viGetMembre2(c,g,k,n){switch(n){case 0:case 3:return new d(c);default:a.xThrow603(c)}}veGetTypeWL(c){return 107}viGetAsInterfacePossible(){return this}vxiVerifieInterface(c){if(B.implemente&&
888-1!=B.implemente.indexOf(c.m_sNomLogique))return this;throw new a.CErreur(1102,c.m_sNomUtilisateur);}voGetValeurPourInterface(){return m}bOperateurEgal(c){return c instanceof b.CMonChampHote?!0:null===a.NSValues.oAny2Natif(c)?!h():!1}}b.CMonChampHote=f;class d extends a.CIRValue{constructor(c){super();this.m_sNomUtilisateur=c}valueOf(){a.xThrow603(this.m_sNomUtilisateur)}veGetTypeWL(c){return 61}viAppelFonction(...c){this.viAppelFonctionAsynchrone.apply(this,c);return a.NSValues.iAny2RValue(void 0)}viAppelFonctionAsynchrone(...c){if(void 0===
889window.WL||void 0===window.WL.ExecuteAsync)throw new a.CErreur(605,this.m_sNomUtilisateur);const g=String(p++),k=new Promise(C=>{y[g]=C}),n=a.NSUtil.sMarshallingPageFenetreMultiple(c);a.oCatchErreurs(()=>window.WL.ExecuteAsync(this.m_sNomUtilisateur,n,"NSPCS.NSWDW.RetourAsynchrone",g));return k}vSetValeur(c,g,k){return this.vSetValeur2(a.iGetValeurAffectation(c,g,k))}vSetValeur2(c){return a.NSUtil.xVerifieAffectationAucune(c)}}})(a.NSWDW||(a.NSWDW={}))})(NSPCS||(NSPCS={}));

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