1"use strict";var __extends=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}}(),NSPCS; 2/*! 28.0.1.0 */ 3/*! VersionVI: yyyyyyyyyyyy */ 4(function(n){function l(n){return n&&(n instanceof t||n.vbToBoolean)}function f(n){return l(n)?n:n?n[u]:undefined}function a(n,t){var i=f(n);return undefined!==i?i.viGetRValue(t):undefined}function v(t,i,r){return undefined!==t?{m_oValeur:t,m_eAffectation:i,m_iOptions:{m_bForceClone:r}}:undefined}function e(n,t,i){return{m_oValeur:n,m_eAffectation:t,m_iOptions:i}}function y(n){return{m_oValeur:n.m_oValeur,m_eAffectation:n.m_eAffectation,m_iOptions:n.m_iOptions}}var i="function"==typeof Symbol,u=i?Symbol():"__SYMBOLTHISPOURRETOURENWL__",t,r,o;n.ms_oSymbolDepuisWLEnV2=i?Symbol():"__SYMBOLDEPUISWLENV2__";n.ms_oSymbolFonctionOriginale=i?Symbol():"__SYMBOLFONCTIONORIGINALE__";t=function(){function t(){}return t.prototype.toString=function(){return String(this.valueOf())},t.prototype.vnToNumber=function(){var n=this.valueOf();return"number"==typeof n?n:parseFloat(n)},t.prototype.vbToBoolean=function(){return n.NSUtil.bGetBooleen(this.valueOf())},t.prototype.toJSON=function(){return this.valueOf()},t.prototype._oPatchValueOf=function(n){return n instanceof Object&&Object.defineProperty(n,u,{value:this}),n},t}();n.CBase=t;var s=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre=function(t,i,r){var u;return u=!1===i?0:!0===i?1:i,this.viGetMembre2(t,n.NSUtil.sGetFormatLogique(t),u,r)},i.prototype.viGetMembre2=function(t,i,r){var e=this,u=function(n,t){var r=t[i];if(undefined!==r)try{return e.viGetPropriete(n,r)}catch(u){}return undefined},f=u(0,h)||u(1,c);if(undefined!==f)return f;switch(r){case 1:throw new n.CErreur(616,t);}throw new n.CErreur(605,t);},i.prototype.viGetProprieteGenerique=function(t,i){if(undefined!==t[0])try{return this.viGetPropriete(0,t[0])}catch(r){}if(undefined!==t[1])try{return this.viGetPropriete(1,t[1])}catch(r){}if(undefined!==i)try{return this.viGetMembre(i,!1,4)}catch(r){}n.xThrow603(i)},i}(t),h={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,ENSECONDES: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},c={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,LARGEUR: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,TYPE: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,TOOLTIPTITLE: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};n.iGetAsBase=f;n.iGetAsRValue=a;n.iGetValeurInitiale=v;n.iGetValeurAffectation=e;n.iGetValeurAffectationDepuisInitiale=y;r=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetRValue=function(){return this},i.prototype.viGetAsLRValue=function(){return null},i.prototype.viGetPropriete=function(t,i){n.xThrow603_I(t,i)},i.prototype.viGetSousElement=function(){throw new n.CErreur(602,"[ ]");},i.prototype.viGetIntervalle=function(){throw new n.CErreur(602,"[[ ]]");},i.prototype.viGetAsRValueType=function(){return null},i.prototype.viGetAsTableau=function(){return null},i.prototype.viGetAsTableauAssociatif=function(){return null},i.prototype.viGetAsValeurMultiple=function(){return undefined},i.prototype.viGetAsInterfacePossible=function(){return undefined},i.prototype.viAppelFonction=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];throw new n.CErreur(602,"()");},i.prototype.viAppelFonctionAsynchrone=function(){for(var i=this,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new Promise(function(t,u){var f=i.viAppelFonction.apply(i,r),e;return 107===f.veGetTypeWL()&&(e=f.valueOf(),e instanceof Promise)?e.then(t,u):n.NSTypes.ms_DescriptionFonction.viCreationCopie(t,3).viAppelFonction(f)})},i}(s);n.CIRValue=r;o=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetAsLRValue=function(){return this},t.prototype.vSetValeur=function(n,t,i){return this.vSetValeur2(e(n,t,i
4))},t}(r);n.CIValue=o})(NSPCS||(NSPCS={})),function(n){function u(n){try{return n()}catch(t){throw new i(0,t.message);}}function r(i,r){if(undefined!==r)throw new t(603,n.NSProprietes.sGetNomPropriete(i,r));else throw new t(603,i);}function f(n,t){r(n,t)}var i=function(n){function t(t,i){i===void 0&&(i="Unknown error/Erreur inconnue.");var r=n.call(this,"")||this;return r.number=t,r.name="WDError",r.message=i,r}return __extends(t,n),t.prototype.oGetInfo=function(n){switch(n){case 0:return this.number;case 1:default:return this.message;case 19:return this.number+"\n"+this.message}},t.prototype.xPropage=function(n){undefined!==n&&(this.message+="\n"+n);throw this;},t}(Error),t;n.CErreurBase=i;t=function(n){function t(t){for(var r,u=[],i=1;i<arguments.length;i++)u[i-1]=arguments[i];return typeof tabWDErrors!="undefined"&&(r=tabWDErrors[t]||tabWDErrors[0],0<u.length&&(r=r.replace(/%(\d+)/g,function(n,t){var i=u[t-1];return"undefined"!=typeof i?String(i):n}))),n.call(this,t,r)||this}return __extends(t,n),t}(i);n.CErreur=t;n.oCatchErreurs=u;n.xThrow603_I=r;n.xThrow603=f}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n){return-1!=navigator.userAgent.toLowerCase().indexOf(n)}function d(n){var t=/Version\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);return!!(t&&t[1]&&parseInt(t[1],10)<n)}function g(n){return n[1]}function nt(n){return n[2]}function tt(n,t){return c(n,t,g)}function it(n,i,r){return r&&(n=t.sRemplaceEspaces(n)),c(n,i,nt)}function c(n,t,i){for(var r=[],e=n.length,o=function(u){t.every(function(t){return t[0].every(function(f){return n.substr(u,f.length)==f?(r.push(i(t)),u+=f.length,!1):!0})})&&(r.push(n.charAt(u)),u++);f=u},f,u=0;u<e;)o(u),u=f;return r}function f(t,i){var r=t.m_eAffectation;if(!i[r]&&(!n.NSOperations.bDansDeserialisation||2!=r||!i[0]||i[1]))throw new n.CErreur(602,u[r]);}function rt(n){f(n,[!0,!1,!1,!0,!0])}function ut(n){f(n,[!0,!1,!0,!0,!0])}function ft(n){f(n,[!0,!0,!1,!0,!0])}function et(t){throw new n.CErreur(602,u[t.m_eAffectation]);}function ot(n,t){function i(n){for(var t in n)r[t]=n[t]}var r=new i(t);return i.prototype=n,r}function l(n){var i=new n.constructor;return t.bForEachIn(n,function(n,t){return i[n]="object"==typeof t&&null!==t?l(t):t,!0}),i}function a(n){var i={};return t.bForEachIn(n,function(n,t){return i[n]="object"==typeof t&&null!==t?a(t):t,!0}),i}function st(n){h(n)&&Object.keys(n).forEach(function(n){delete this[n]},n)}function e(n){switch(typeof n){case"object":null!==n&&t.bForEachIn(n,function(n,t){return e(t),!0});break;case"string":(new Image).src=n}}function ht(n,t,i){return 0<n.length?v(n,i):t}function v(n,t){return!t&&"JSON"in window?JSON.parse(n):eval("("+n+")")}function ct(n,i){var r=JSON.stringify(n);return i&&/[^\x00-\x7F]/.test(r)?r.replace(/./g,function(n){var i=n.charCodeAt(0);return i<128?n:"\\u"+t.sCompleteEntier(i,4,16)}):r}function lt(i){return i?i.action:t.ms_oDataPageAWPSansUI?t.ms_oDataPageAWPSansUI.m_sURL:""}function at(n,i,u,f){var e,o,s,h;return n===void 0&&(n=r),i===void 0&&(i=!1),u===void 0&&(u=!1),f===void 0&&(f=!1),e=lt(n),e.endsWith("#")&&(e=e.substring(0,e.length-1)),(e.length==0||e.startsWith("?"))&&(e=-1!=location.href.indexOf(e)?y(""):y(e)),f&&e.indexOf("/")==-1&&e.length>0&&e.toLowerCase().indexOf(".php")==-1&&(e="../"+e),i&&e.indexOf("?")!=-1&&(e=e.substring(0,e.indexOf("?"))),u&&(e.indexOf("AWPID=")==-1&&"undefined"!=typeof _AWPID_A_?(o=e.indexOf("?")!=-1?_AWPID_A_:_AWPID_P_,(t.bFF||t.bWK)&&o.length==0&&(s=[],o=b.sGetCookie("AWP_CSESSION",s),o.length>0&&(o=(e.indexOf("?")!=-1?"&":"?")+"AWPID"+s[0]+"="+o)),e+=o):"undefined"!=typeof _PHPID_&&(h=_PHPID_.split("="),h.length>0&&e.indexOf(h[0]+"=")==-1&&(e+=(e.indexOf("?")!=-1?"&":"?")+_PHPID_))),e}function y(n){var t,i;return n=location.href.length<n.length||location.href.substring(location.href.length-n.length)!=n?location.href+n:location.href,t=location.hash.length,t>0&&(i=n.indexOf(location.hash),n=n.substring(0,i)+n.substring(i+t)),n}function vt(n,t,i){i===void 0&&(i=!1);var r;return r=n?n:("undefined"!=typeof _WDR_?_WDR_:_WD_)+"res/"+t,i||e(r),r}function w(n,t,i,r,u,f,e){r===void 0&&(r="/");u===void 0&&(u="");f===void 0&&(f=!1);e===void 0&&(e=!1);var s=[n+o+encodeURIComponent(t),"expires="+i];s.push("path="+r);0<u.length&&s.push("domain="+u);f&&s.push("httponly");e&&s.push("secure");document.cookie=s.join("; ")}function k(n,t,i){return i===void 0&&(i=!1),n.setTime(n.getTime()+t*864e5),i&&n.setUTCHours(0,0,0,0),n}
4function s(n){function t(n){Reflect.ownKeys(n).forEach(function(t){return s(n[t])});Object.freeze(n)}function i(n){n.forEach(function(n){return s(n)});Object.freeze(n)}return n instanceof Array?i(n):n instanceof Object&&t(n),n}function yt(n){return n&&("$"in window&&n instanceof $||n.jquery)}function h(n){return undefined!==n&&null!==n&&(n instanceof Object||"object"==typeof n)}function pt(n){return h(n)&&"length"in n}var r,u,p,o,b;t.ms_oDataPageAWPSansUI=function(){var t=document.currentScript,n;return t&&(n=t.m_oDataPageAWPSansUI,undefined!==n)?n:undefined}();t.ms_bPageAWPSansUI=undefined!=t.ms_oDataPageAWPSansUI;r=t.ms_bPageAWPSansUI?undefined:document.forms[0];t.ms_sAliasPage=t.ms_oDataPageAWPSansUI?t.ms_oDataPageAWPSansUI.m_sAliasPage:r?r.name:"";String.prototype.endsWith||(String.prototype.endsWith=function(n,t){return(t===undefined||t>this.length)&&(t=this.length),this.substring(t-n.length,t)===n});String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return this.substr(!t||t<0?0:+t,n.length)===n});t.bOpr=i("opera");t.bIE=!t.bOpr&&-1!=navigator.appName.indexOf("Microsoft");t.nIE=t.bIE?function(){var n=/MSIE (\d+)[\.\d]*/.exec(navigator.userAgent);return n&&n[1]?parseInt(n[1],10):0}():0;t.bIE11Plus=-1!=navigator.userAgent.indexOf("Trident/");t.bIEAvec11=t.bIE||t.bIE11Plus;t.bEdge=i("edge/");t.bFF=i("firefox/");t.bCrm=i("chrome/");t.bSfr=!t.bCrm&&i("safari");t.bWK=t.bCrm||t.bSfr;t.bTouch="ontouchstart"in document.documentElement;t.bHTML5=null!=window.document.doctype&&window.document.doctype.publicId==(t.bIE&&t.nIE<10?null:"");t.ms_bPageAWP=document.location.pathname.toLowerCase().endsWith(".awp");t.ms_bRTL=(document.documentElement||document).dir==="rtl";t.bVersionNavInf=d;t.ms_oTimeoutImmediat={};t.tabParseFormat=tt;t.tabParseDeformat=it;u=["=","<-","<=","=","="];t.xVerifieAffectationUniquement=rt;t.xVerifieAffectationCopie=ut;t.xVerifieAffectationReference=ft;t.xVerifieAffectationAucune=et;t.oCloneObjet=ot;t.oCloneSimple=l;t.oCloneDansObjet=a;t.SupprimeToutMembres=st;t.PrechargeImage=e;t.oEvalJSON=ht;t.xoEvalJSON=v;t.xsStringifyJSON=ct;t.sGetPageAction=at;t.sCheminImageRes=vt;p=";";o="=";b={sGetCookie:function(n,i){n=t.sSupprimeEspacesDebutFin(n);var r="";return document.cookie.split(p).every(function(u){var f=u.split(o),e;return(f[0]=t.sSupprimeEspacesDebutFin(f[0]),e=f[0],i&&(e=e.substring(0,n.length)),f[1]&&e==n)?(i&&(i[0]=f[0].substring(n.length)),r=decodeURIComponent(f[1]),!1):!0}),r},SetCookie:function(n,t,i,r,u,f){w(n,t,k(new Date,undefined!==i?i:30).toUTCString(),r,u,!!(f&1),!!(f&2))},ClearCookie:function(n){w(n,"","Fri, 02 Jan 1970 00:00:00 UTC")}};t.oDecaleDateJour=k;t.Freeze=s;t.bIsJQuery=yt;t.bIsObject=h;t.bIsObjectArray=pt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n,t,i){i===void 0&&(i=n.length);for(var r=0;r<i;r++)if(!t(n[r],r))return!1;return!0}function e(n,t,i){i===void 0&&(i=n.length-1);for(var r=i;0<=r;r--)if(!t(n[r],r))return!1;return!0}function o(n,t){for(var i in n)if(n.hasOwnProperty(i)&&!t(i,n[i]))return!1;return!0}function r(n,t){return t?function(t){return t===n}:function(t){return t==n}}function s(n,t,i){return i===void 0&&(i=!1),-1!=u(n,t,i)}function u(n,t,u){return u===void 0&&(u=!1),i(n,r(t,u))}function i(n,t,i){var u,r;for(i===void 0&&(i=0),u=n.length,r=i;r<u;r++)if(t(n[r]))return r;return-1}function h(n,t,r){var u=i(n,t);return-1!=u?n[u]:r}function c(n,t){var r=i(n,t);return-1!=r?n[r]:null}function l(n,t,i){return i===void 0&&(i=!1),a(n,r(t,i))}function a(n,t){var r=i(n,t);return-1!=r?(n.splice(r,1),!0):!1}t.bIsArray=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};t.bForEach=f;t.bForEachInverse=e;t.bForEachIn=o;t.bDansTableau=s;t.nDansTableau=u;t.nDansTableauFct=i;t.oDansTableauFct=h;t.oDansTableauFctOuNull=c;t.SupprimeDansTableau=l;var v=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){var f=this;if(n.NSProprietes.bEstProprieteVM(r,u))switch(u){case 23:return t.oGetProprieteSimple(function(){return f.nGetNbElements()},null,8,r,u);case 24:return t.oGetProprieteVide(this,0,23,u)}
4return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetSousElement=function(n,i){var r=t.xnGetIndiceC(i[n],this.nGetNbElements(),0,0);return t.iChaineSousElement(this.iGetSousElementIndice(r),n+1,i)},r.prototype.viGetAsTableau=function(){return this},r.prototype.vSetValeur2=function(n){return t.xVerifieAffectationAucune(n)},r.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauTri=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauSupprime=function(){return this},r.prototype.xRedimensionne=function(){throw new n.CErreur(601);},r.prototype.xCopieDepuis=function(){throw new n.CErreur(601);},r.prototype.bDynamique=function(){return!0},r.prototype.InsereLigne=function(n,t){this.Insere(n,t[0])},r.prototype.eGetModeAgrandissement=function(){return 1},r.prototype.nGetNbDimensions=function(){return 1},r.prototype.nGetUneDimension=function(){return this.nGetNbElements()},r.prototype.nGetDimension0Pas=function(){return 1},r.prototype.viGetAsTableauType=function(){return null},r}(n.CIValue);t.CCollection=v})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.toString=function(n){return this.viGetRValue(1).toString(n)},i.prototype.vnToNumber=function(n){return this.viGetRValue(1).vnToNumber(n)},i.prototype.vbToBoolean=function(){return this.viGetRValue(1).vbToBoolean()},i.prototype.valueOf=function(){return this.viGetRValue(1).valueOf()},i.prototype.toJSON=function(){return this.viGetRValue(1).toJSON()},i.prototype.viGetMembre2=function(n,i,r,u){var f=this.viGetRValue(0);return f!==this?f.viGetMembre2(n,i,r,u):t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.viGetPropriete=function(n,i){var r=this.viGetRValue(0);return r!==this?r.viGetPropriete(n,i):t.prototype.viGetPropriete.call(this,n,i)},i.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},i.prototype.viGetIntervalle=function(n,t,i){return this.viGetRValue(0).viGetIntervalle(n,t,i)},i.prototype.veGetTypeWL=function(n){return n===void 0&&(n=1),this.viGetRValue(n).veGetTypeWL(0)},i.prototype.viGetAsRValueType=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsRValueType():null},i.prototype.viGetAsTableau=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableau():null},i.prototype.viGetAsTableauAssociatif=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableauAssociatif():null},i.prototype.viAppelFonction=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(i=this.viGetRValue(0),i!==this)return i.viAppelFonction.apply(i,r);throw new n.CErreur(602,"()");},i}(n.CIValue);t.CWrapperValue=i})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function i(n,t,i){t=t&&0<t.length?t.toUpperCase():"_BLANK_"+Date.now();i?open(n,t,i):open(n,t)}function r(n,t){var u,f,e,i;if(!n)return null;u=n.frames;try{if(f=u[t],f)return f}catch(o){}return e=t.toUpperCase(),i=null,Array.prototype.every.call(u,function(n){try{i=n.name.toUpperCase()==e?n:r(n,t)}catch(u){}return!i}),i}function t(n){for(var t=n.indexOf("?"),i=n.lastIndexOf("?");t<i;)n=n.substring(0,t-1)+"&"+n.substring(t+1),t=n.lastIndexOf("?");return n}function e(n,u,f,e){n=t(n);var o;switch(u){case"_blank":i(n,f,e);return;case"_top":o=top;break;case"_parent":o=parent;break;case"_self":o=self;break;default:if(o=r(top,u),o&&o.parent==self){open(n,u);return}}o&&o.document.location.assign(n)}function o(n,u,f,e){n=t(n);var o;switch(u){case"_blank":i(n,f,e);return;case"_top":o=top;break;case"_parent":o=parent;break;case"_self":o=self;break;default:o=r(top,u)}o&&o.document.location.replace(n)}function s(r,u,f,e,o,s){var l,a,c,h;s===void 0&&(s="");l=r.WD_BUTTON_CLICK_.value;a=r.target;u=t(u);r.WD_ACTION_.value=s;r.WD_BUTTON_CLICK_.value=u;c=navigator.appName=="Microsoft Internet Explorer"&&navigator.platform.substring(0,3)=="Mac"?200:1;switch(f){case"_blank":o&&(e=e&&0<e.length?e.toUpperCase():"_BLANK_"+Date.now(),i("",e,o),f=e,c=1e3);case"_self":case"_top":case"_parent":r.target=f;break;default:r.target=f.toUpperCase()}
4try{n.bSfr&&(h=window.onpageshow,h&&(window.onpageshow=null));r.submit()}catch(v){if(-2147467259!=v.number)throw v;}setTimeout(function(){r.target=a;r.WD_BUTTON_CLICK_.value=l;h&&(window.onpageshow=h)},c)}function f(n,t){var i,r;return t.substring(0,4)==="zrl_"&&(i=t.indexOf("_",4),-1!==i)?(r=t.substring(0,i+1)+"ATT_"+t.substring(i+1)+"_1",function(i){return n(i+t)||n(i+r)}):function(i){return n(i+t)}}function u(n,t,i,r){function o(){var i=t.getElementById(n+"_");return i&&0<t.getElementsByName(n+"_AS").length?i:null}i===void 0&&(i=!1);r===void 0&&(r=!1);var e=!r,u=f(function(n){return t.getElementById(n)},n);return i?u("ztr")||u("dwwuz")||u("dwwcz")||u("dzczcon-")||u("dzcz")||u("cz")||u("dww")||u("dz")||u("bz")||u("tz")||u("ctz")||u("con-")||t.getElementById(n+"_HTE")||u("lz")||e&&o()||e&&u("")||null:e&&u("")||e&&o()||u("tz")||t.getElementById(n+"_HTE")||u("bz")||u("dz")||u("dww")||u("ztr")}function h(n,t,i,r){i===void 0&&(i=!1);r===void 0&&(r=!1);var e=f(function(n){return t.getElementsByName(n)[0]},n);return i?u(n,t,i,r)||e(""):e("")||u(n,t,i,r)}n.sNormaliseURL=t;n.ChangeLocation=e;n.RemplaceLocation=o;n.SubmitLocation=s;n.GetElementParId=u;n.GetElementParIdName=h})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function d(n){return u(y(n))}function u(n){return String.prototype.normalize?n.normalize("NFD").replace(/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20D0-\u20ff]/g,"").toUpperCase():n.toUpperCase()}function g(n,t){return i(u(n),u(t))}function i(n,t){return n<t?-1:n>t?1:0}function r(t,i,r){return String(e(t,n.NSValues.iAny2RValue(t),i,undefined,r))}function e(i,r,u,e,o){var a=undefined===e?0:e.veGetTypeWL(),c,l;switch(r.veGetTypeWL()){case 1:return f(r);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:switch(a){case 1:return f(r);case 5:case 9:case 13:return s(r)}break;case 5:case 9:case 10:case 13:switch(a){case 1:return f(r);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:case 5:case 9:case 13:return s(r);default:return r.toString()}case 24:case 25:case 26:return r.sToStringAvecInvalide();case 27:return 16==a?r.toString():r.vnToNumber(0);case 28:return r.sPreparePourComparaison(e);case 36:case 37:case 61:case 107:case 141:case 143:if(c=r.viGetAsRValueType(),c)return h(r,c);break;case 111:if(c=r.viGetAsRValueType(),c)return nt(r,c,u,e,o);break;case 135:return r.xvnPreparePourComparaison(e);case 136:return r.xvsPreparePourComparaison(e,o);case 151:switch(a){case 151:if(c=r.viGetAsRValueType(),c)return t.xsStringifyJSON(c.vtGetValeurDirect(),!1)}throw new n.CErreur(601);}if(u)return d(r.toString());if(l=n.NSValues.oAny2Natif(i),undefined===l||null===l)return null;switch(typeof l){case"string":case"number":return l;default:return String(l)}}function f(n){return String(n)}function s(t){var i=n.NSOperations.sNumeriqueVersChaine(t,"+077.38f"),r;return i=i.replace(/[\-]/g,"A").replace(/[\+]/g,"B"),n.NSOperations.oNumerique(3,t)&&(r="9".charCodeAt(0)+"0".charCodeAt(0),i=i.replace(/\d/g,function(n){return String.fromCharCode(r-n.charCodeAt(0))})),i}function h(n,t){var i=t.vtGetValeurDirect();try{if(i instanceof Object&&i.toString!==Object.prototype.toString)return String(i);if(null===i||undefined===i)return null;switch(typeof i){case"boolean":return f(n);case"string":case"number":return i;default:return JSON.stringify(i)}}catch(r){return i}}function nt(t,i,r,u,f){var s=n.NSTypes.oGetDescriptionDINO(0,16),c=i.viGetDescriptionType(),o;if(c===s.m_oDescriptionStatique||c===s.m_oDescriptionDynamique){o=i.vtGetValeurDirect().valueOf();switch(typeof o){case"undefined":return null;case"boolean":case"number":case"string":return e(o,n.NSTypes.iNatif2RValue(o),r,u,f);default:case"object":case"function":if(null===o)return null}}return h(t,i)}function tt(n,t,u){u===void 0&&(u=!1);var f=r(n,u,!1),e=r(t,u,!1),o=e.length;return f.length<=o?i(f,e):i(f.substring(0,o),e)}function it(n,t){var r=t.length;return n.length<=r?i(n,t):i(n.substring(0,r),t)}function c(n,t){var r=n.length,u=t.length;return r<=u?i(n,t):i(n.substring(r-u),t)}function rt(n,t,i){var u=r(n,i,!1),f=r(t,i,!1);return c(u,f)}
4function ut(n,t,i){return i===void 0&&(i=!1),0==tt(n,t,i)}function ft(n,t,i){return i===void 0&&(i=!1),-1!=r(n,i,!1).indexOf(r(t,i,!1))}function et(n,t,i){return i===void 0&&(i=!1),0==rt(n,t,i)}function ot(n,t,i){i===void 0&&(i=10);var r="number"==typeof n?n.toString(i):String(n);return a(r,t)}function st(n,t){return a(n.replace(l,"0"),t)}function a(n,t){for(var i=t-n.length;0<i;i--)n="0"+n;return n}function v(n,t,i){for(n=String(n);n.length<t;)n+=i;return n}function ht(n,t,i){return v(n,t,i).substring(0,t)}function ct(n,t){return t===void 0&&(t=""),n.replace(o,t)}function y(n,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),t||i?i?n.replace(at,""):t?n.replace(vt,""):n:n.replace(lt,"$1")}function yt(n){return n.replace(p,"$1")+n.replace(o,"")+n.replace(w,"$1")}function pt(n,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),i||(n=n.replace(/&/g,"&"),n=n.replace(/</g,"<"),n=n.replace(/>/g,">")),t&&(n=n.replace(/\r\n/g,"<br />"),n=n.replace(/\n/g,"<br />")),n}function wt(t){var i=n.iGetAsRValue(t,5);if(i)return 1==i.veGetTypeWL()?i.valueOf()?"1":"0":String(i);switch(typeof t){case"boolean":return b(t);case"number":return k(t,10);default:return String(t)}}function b(n){return n?"1":"0"}function k(t,i){if((t|0)!==t){var r=t.toPrecision(15);return-1!==r.indexOf("e")?r.replace(/\.{0,1}0+e/,"e"):r.replace(/\.{0,1}0+$/,"")}return t.toString(i)}var l,o,p,w;t.sGetFormatLogique=u;t.nCompareLogique=g;t.nCompareAny=i;t.s_oPreparePourComparaisonAvecType=e;t.nCompareChaineCommencePar=it;t.nCompareChaineFiniPar=c;t.s_bCommencePar=ut;t.s_bContient=ft;t.s_bTerminePar=et;t.sCompleteEntier=ot;l=/[^0-9]/g;t.sCompleteEntierChaine=st;t.sCompleteChaine=v;t.sCompleteWL=ht;o=/\s/g;t.sRemplaceEspaces=ct;var lt=/\s*([^\s]*(\s*[^\s]+)*)\s*/,at=/^\s*/,vt=/\s*$/;t.sSupprimeEspacesDebutFin=y;p=/^(\s*)[^\s].*/;w=/.*[^\s](\s*)$/;t.sSupprimeEspacesInterieur=yt;t.sEncodeInnerHTML=pt;t.sToString=wt;t.sBooleenEnChaine=b;t.sNombreEnChaine=k})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,i,u){var e=i?f:r,o="";return(24===u||26===u)&&(o+=t.sCompleteEntier(e[0].call(n),4)+t.sCompleteEntier(e[1].call(n)+1,2)+t.sCompleteEntier(e[2].call(n),2)),(25===u||26===u)&&(o+=t.sCompleteEntier(e[3].call(n),2)+t.sCompleteEntier(e[4].call(n),2)+t.sCompleteEntier(e[5].call(n),2)+t.sCompleteEntier(e[6].call(n),3)),o}function s(n,r,f,o,s){var l;if(!r.match(i))return(l=Date.parse(r),!isNaN(l))?(n.setTime(l),1):2;var a=f?e:u,c="19700101",h="000000000";switch(o){case 26:h=t.sCompleteChaine(r.substring(8),9,"0");case 24:if(c=r.substring(0,8),8!==c.length)return 2;break;case 25:if(h=t.sCompleteChaine(r.substring(0,9),9,"0"),r.length<s)return 2}return a[0].call(n,parseInt(c.substring(0,4),10),parseInt(c.substr(4,2),10)-1,parseInt(c.substr(6,2),10)),a[1].call(n,parseInt(h.substring(0,2),10),parseInt(h.substr(2,2),10),parseInt(h.substr(4,2),10),parseInt(h.substr(6,3),10)),0}function v(t,i){if(n.NSOperations.bDansDeserialisation){var r=void 0;switch(i){case 24:r=h;break;case 25:r=c;break;case 26:r=l;break;default:return t}if(t.match(r))return t.replace(a,"")}return t}function y(n){switch(n){case 0:return STD_JANVIER;case 1:return STD_FEVRIER;case 2:return STD_MARS;case 3:return STD_AVRIL;case 4:return STD_MAI;case 5:return STD_JUIN;case 6:return STD_JUILLET;case 7:return STD_AOUT;case 8:return STD_SEPTEMBRE;case 9:return STD_OCTOBRE;case 10:return STD_NOVEMBRE;case 11:return STD_DECEMBRE;default:return""}}function p(n){switch(n){case 0:return STD_DIMANCHE;case 1:return STD_LUNDI;case 2:return STD_MARDI;case 3:return STD_MERCREDI;case 4:return STD_JEUDI;case 5:return STD_VENDREDI;case 6:return STD_SAMEDI;default:return""}}var r=[Date.prototype.getFullYear,Date.prototype.getMonth,Date.prototype.getDate,Date.prototype.getHours,Date.prototype.getMinutes,Date.prototype.getSeconds,Date.prototype.getMilliseconds],u=[Date.prototype.setFullYear,Date.prototype.setHours],f=[Date.prototype.getUTCFullYear,Date.prototype.getUTCMonth,Date.prototype.getUTCDate,Date.prototype.getUTCHours,Date.prototype.getUTCMinutes,Date.prototype.getUTCSeconds,Date.prototype.getUTCMilliseconds],e=[Date.prototype.setUTCFullYear,Date.prototype.setUTCHours],i;t.sGetDateHeureWL=o;i=/^[0-9]*$/;t.eSetDateHeureFromWL=s;var h=/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/,c=/^[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,l=/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,a=/[-T:\.]/g;t.sCorrigeDateHeureDeserialisation=v;t.sGetMois=y;t.sGetJourSemaine=p})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function o(n,t){return n.createContextualFragment(t)}function k(n,t){var i=document.createRange();return i.setStartBefore(n),o(i,t)}function d(){return s(!0)}function g(){return s(!1)}function s(t){return n.bIE11Plus&&"scroll"==n.oGetCurrentStyle(document.body).overflowY?t?document.body.scrollLeft:document.body.scrollTop:t?window.pageXOffset:window.pageYOffset}function h(n){return n&&n.nodeName?n.nodeName.toLowerCase():""}function t(n,t){return h(n)==t}function nt(n,t){if(t&&n){if(n==t)return!0;
4if(t.contains)return t.contains(n);if(t.compareDocumentPosition)return!!(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY);for(var i=document.body;n&&n!=i;){if(n==t)return!0;n=n.parentNode}}return!1}function tt(n){return document.contains?document.contains(n):document.compareDocumentPosition?!!(document.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY):document.body.contains(n)}function it(n){if(n&&n.parentNode){var t=n.parentNode;if(t)return t.removeChild(n)}return n}function rt(n){for(var i=n.childNodes,t=0,r;t<i.length;){r=i[t];try{n.removeChild(r)}catch(u){t++}}}function ut(i){return n.bIE?(i.canHaveChildren===!1&&(i=i.parentElement),i.innerText):function r(n){for(var i=n.firstChild,u="";i;)u+=i.nodeName=="#text"?i.textContent:t(i,"br")?"\r\n":r(i),i=i.nextSibling;return u}(i)}function ft(n,t){n.className=e(t).join(" ")}function et(n){return e(c(n))}function ot(n){var t=n.className;return t&&undefined!==t.animVal?t.animVal:e(t).join(" ")}function u(t,i){var r=c(t);return r?n.bDansTableau(r.split(/\s/),i):!1}function st(n,t,i){i?f(n,undefined,t):f(n,t,undefined)}function ht(n,t,i){u(n,t)&&f(n,t,i)}function f(t,i,r){var o=t.className,c,s,f,u,h,e,l;undefined!==o&&(c=undefined!==o.animVal,s=void 0,s=c?o.animVal:o,f=void 0,f=0<s.length?s.split(/\s/):[],u=void 0,undefined!==i&&(u=n.nDansTableau(f,i)),h=void 0,undefined!==r&&(h=n.nDansTableau(f,r)),e=!1,undefined===h?undefined!==u&&-1!==u&&(f.splice(u,1),e=!0):-1==h?(undefined!==u&&-1!==u?f[u]=r:f.push(r),e=!0):undefined!==u&&-1!==u&&i!=r&&(f.splice(u,1),e=!0),e&&(l=f.join(" "),c?t.className.baseVal=l:t.className=l))}function c(n){var t=n.className;return t&&undefined!==t.animVal?t.animVal:t}function e(n){return ct(n.split(/\s/))}function ct(n){return n.filter(function(t,i){return 0<t.length&&i===n.indexOf(t)})}function lt(i,r,u){r===void 0&&(r=n.bIE);u===void 0&&(u=!1);var f=document.getElementsByName(i);if(f&&1<=f.length){if(r&&t(f[0],"object")||u&&t(f[0],"embed"))return f[0];if(1<f.length&&f[1])return f[1]}return document.getElementById(i)}function at(t,i,u,f,e,o,s,h){var c;o===void 0&&(o=!1);s===void 0&&(s=!1);h===void 0&&(h=!1);switch(i){case 0:case 6:break;default:var b=l[i],k=a[i],v=t.ownerDocument,d=v.body,w=t.offsetParent||d,g=w==d&&h;u=-y(w,e||g);f=-p(w,e||g);c=n.oGetCurrentStyle(t);o||0==b||(u+=(vt(v)-(t.offsetWidth+r(c.marginLeft)+r(c.marginRight)))*b);s||0==k||(f+=(yt(v)-(t.offsetHeight+r(c.marginTop)+r(c.marginBottom)))*k)}u!==undefined&&(n.SetStyleLeft(t.style,u,0),t.style.left=u+"px",n.ms_bRTL&&(t.style.right=""));f!==undefined&&(t.style.top=f+"px")}function vt(n){return n.documentElement.clientWidth||n.body.clientWidth}function yt(n){return n.documentElement.clientHeight||n.body.clientHeight}function r(n){if(n){var t=parseInt(n,10);return t||0}return 0}function v(t,i){return t&&t==t.ownerDocument.body?n.bIE11Plus&&"scroll"==n.oGetCurrentStyle(t.ownerDocument.body).overflowY?i?-1:0:i?0:1:i?1:0}function y(n,t){return n?n.getBoundingClientRect().left+v(n,t)*d():0}function p(n,t){return n?n.getBoundingClientRect().top+v(n,t)*g():0}function pt(n,t,i,r,u){if(r&&"undefined"!=typeof MutationObserver){var f=!1,o=function(n,t){f||n.every(function(n){return!i(n)})||(f=!0,t.disconnect())},e=new MutationObserver(o);return e.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t(),f||(o(e.takeRecords(),e),f||e.disconnect()),f}return t(),u}function wt(n){clWDUtil.DonneFocus(n,!1)}function w(i){var r=[],u;return n.bForEach(i.childNodes,function(n){return t(n,"#comment")?r.push(n.nodeValue):t(n,"tbody")&&(u=n),!0}),r.length==0&&u?w(u):b.reduce(function(n,t){return n.replace(t[0],t[1])},r.join(""))}function bt(n,t,r){var u=[];return n&&(u=i(n,"button",u),u=i(n,"input",u),u=i(n,"select",u),u=i(n,"textarea",u),t&&(u=i(n,"a",u)),r&&(u=i(n,"label",u))),u}function i(t,i,r){return n.bForEach(t.getElementsByTagName(i),function(n){return r.push(n),!0}),r}function kt(n,i){var r=n;return i.every(function(n){var i=r.firstChild;return i?(r=i,!i.nextSibling&&t(i,n)):!1})?r:null}function dt(t){return t?n.bIE?t.disabled:t.hasAttribute("disabled"):!1}var l,a,b;n.oCreateContextualFragment=o;n.oCreateContextualFragmentSelonElement=k;
4n.sGetNodeName=h;n.bNodeEstType=t;n.bEstFils=nt;n.bEstDansDocument=tt;n.oSupprimeElement=it;n.SupprimeFils=rt;n.sGetInnerText=ut;n.SetClasseHTML=ft;n.tabGetClassesHTML=et;n.sGetClasseHTML=ot;n.bAvecClasse=u;n.bRWD=u(document.body,"wbRwd");n.ActiveDesactiveClassName=st;n.RemplaceClassNameSiExiste=ht;n.oGetObjectEmbed=lt;l=[0,0,1,0,1,.5,0,.5,0,1,.5];a=[0,0,0,1,1,.5,0,0,.5,.5,1];n.DeplaceElement=at;n.nGetBoundingClientRectLeft=y;n.nGetBoundingClientRectTop=p;n.bDetecteMutation=pt;n.DonneFocus=wt;n.sGetHTMLDansCommentaire=w;b=[[/\[%COMMENT%\]/g,"<!-- -->"],[/\[%COMMENT\_DEBUT(\_SANS\_FIN)?%\]/g,"<!--"],[/\[%COMMENT\_FIN(\_SANS\_DEBUT)?%\]/g,"-->"],[/\[%\_COMMENT\_IF\_IE\_DEBUT\_%\]/g,"<!--[if "],[/\[%\_COMMENT\_IF\_IE\_FIN\_%\]/g,"]>"],[/\[%\_COMMENT\_ENDIF\_IE\_%\]/g,"<![endif]-->"]];n.tabGetElements=bt;n.oValideArborescenceFilsUnique=kt;n.bEstGrise=dt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function u(t,i){if(n.bIE)return t;switch(i){case 0:return{capture:t,passive:!1};case 1:return{capture:t,passive:!0};default:case 2:return t}}function r(n,t,i,r,f){r===void 0&&(r=!1);f===void 0&&(f=2);n.addEventListener&&n.addEventListener(t,i,u(r,f))}function s(n,t,i,r,f){r===void 0&&(r=!1);f===void 0&&(f=2);n.removeEventListener&&n.removeEventListener(t,i,u(r,f))}function h(n){return f(n,!0)}function f(t,i,r){return r===void 0&&(r=!1),r&&(n.bIE&&undefined!==t.cancelBubble&&(t.cancelBubble=!0),t.stopPropagation&&t.stopPropagation()),i?(t.preventDefault&&t.preventDefault(),!1):!0}function c(n){return n.target}function l(t){return n.bFF&&!n.bWK&&t.explicitOriginalTarget||t.target}function a(t){return(n.bFF&&!n.bWK?t.explicitOriginalTarget:t.currentTarget)||t.target}function v(n){return"undefined"!=typeof TouchEvent&&n instanceof TouchEvent}function e(t,i,r){var u,f,e,o,s,h;if(t)switch(i){case 0:return u=void 0,n.bIE?(f=document.documentElement,e=(r?f.clientWidth:f.clientHeight)?f:document.body,u=r?e.scrollLeft:e.scrollTop):u=r?window.pageXOffset:window.pageYOffset,u+(r?t.clientX:t.clientY);case 1:return r?t.screenX:t.screenY;case 2:return(o=n.bHTML5||n.bIE,(n.bIE||n.bEdge)&&t.target instanceof SVGGraphicsElement&&t.target!==t.currentTarget&&(o=!1),o&&(s=r?t.offsetX:t.offsetY,undefined!==s))?s:(h=a(t),r?t.clientX-n.nGetBoundingClientRectLeft(h,!1):t.clientY-n.nGetBoundingClientRectTop(h,!1))}return 0}function y(n,t){return e(n,t,!0)}function p(n,t){return e(n,t,!1)}function w(t,i){if(n.ms_oTimeoutImmediat===i){if(n.bWK&&"undefined"!=typeof MessageChannel){var r=new MessageChannel;return r.port1.onmessage=t,r.port2.postMessage(null),r}i=1}return setTimeout(t,i)}function b(t){typeof t=="number"?clearTimeout(t):t.port1.onmessage=n.VideUndefined}function k(i){0==t.length&&(r(window,"scroll",function(n){o(n,!0)},!1,1),r(window,"resize",function(n){o(n,!1)},!1,1));n.bDansTableau(t,i,!0)||t.push(i)}function o(n,i){t.forEach(function(t){t(n,i)})}var t,i;n.AttacheEvent=r;n.DetacheEvent=s;n.bStopPropagation=h;n.bStopPropagationCond=f;n.oGetTarget=c;n.oGetOriginalTarget=l;n.bEventEstTouch=v;n.nSourisPosX=y;n.nSourisPosY=p;n.nSetTimeout=w;n.ClearTimeout=b;t=[];n.AttacheOnScrollResize=k;i=function(){function t(){for(var r,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];r=this;this.m_tabNotifications=[];n.bForEach(i,function(n){return r.AddNotification(n),!0})}return t.prototype.AddNotification=function(n){this.m_tabNotifications.push(n)},t.prototype.LanceNotifications=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];n.bForEach(this.m_tabNotifications,function(n){return n.apply(window,i),!0})},t}();n.ms_oNotificationsAjoutHTML=new i;n.ms_oNotificationsFinAJAX=new i;n.ms_oNotificationsChangementTranche=new i})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function h(n){return n.nodeName=="#text"&&(n=n.parentElement),(n.ownerDocument||document).defaultView.getComputedStyle(n,undefined)}function r(n,t,i){i.length&&n.insertRule(t+" {"+i+"}",n.cssRules.length)}function c(t){var i=document.createElement("style");return i.type="text/css",undefined!==t&&(i.id=t),i=document.getElementsByTagName("head")[0].appendChild(i),n.bWK&&i.appendChild(document.createTextNode("")),u(i)}function g(n,t){return t===void 0&&(t=!1),l(a(n,t))}function l(n){if(n&&n.style){var t=n.style.cssText;if(t)return t.length>0&&t.substring(t.length-1)!=";"&&(t+=";"),t}return""}function a(n,t){return nt(document,n,t)}function nt(t,i,r){var u=null;return n.bForEach(t.getElementsByTagName("style"),function(n){return u=e(n,i,r),null===u})?n.bForEach(t.getElementsByTagName("link"),function(n){return n.rel.toLowerCase()=="stylesheet"?(u=e(n,i,r),null===u):!0})?null:u:u}function u(n){return n.sheet}function f(n){try{return n.cssRules}catch(t){return[]}}function v(t){function r(t){n.bForEach(t,function(n){switch(n.type){case 1:i.push(n);break;case 3:r(f(n.styleSheet))}return!0})}var i=[];return r(f(t)),i}function e(n,t,i){return i===void 0&&(i=!1),tt(u(n),t,i)}function tt(n,t,i){return it(v(n),t,i)}function it(n,t,i){var r=p(n,t,i);return-1!=r?n[r]:null}function y(n){return CSSRule.STYLE_RULE===n.type}function p(n,t,i){return n?(i?rt:ut)(n,w(t)):-1}function rt(t,i){return n.nDansTableauFct(t,function(n){return y(n)?b(n.selectorText,i):!1})}function ut(t,i){return n.nDansTableauFct(t,function(t){var r,u;return y(t)&&(r=t.selectorText,r&&(u=n.nDansTableauFct(r.split(","),function(n){return b(n,i)}),-1!=u))?!0:!1})}function w(t){return n.sRemplaceEspaces(t).toLowerCase()}function b(n,t){return w(n)==t}function k(n,t){n.deleteRule(t)}function o(n){return 0<n?n+"px":"0"}function ft(n,t){isNaN(n)?n=100:n<0&&(n=Math.max(Math.min(n,100),0));et(n,t)}function et(n,t){t.style&&(t.style.opacity=String(n/100))}function ot(t,i){function o(n){return"none"==n.display}function s(n){return"hidden"==n.visibility}function c(n){return"none"==n.display||"hidden"==n.visibility}var u,r,f,e;if(!t)return!0;
4if(u=t.offsetParent,r=null,null===u)return!1;if(n.bIE||undefined===u?r=i?c:o:i&&(r=s),r)for(f=document.body;t&&t!=f;){if(e=h(t),r(e))return!1;t=t.parentElement}return!0}function st(n,t,r){r===void 0&&(r=!1);n&&n.style&&(n.style.display=i(n,t,r))}function ht(n,t){var r;if("string"==typeof n)switch(n.toLowerCase()){case"inherit":case"visible":case"table":case"table-row":case"table-cell":case"1":case"true":default:r=!0;break;case"hidden":case"none":case"0":case"false":case"":r=!1}else r=!!n;switch(t){default:case 0:return r?"inherit":"hidden";case 1:return i(null,r,!1);case 2:return i(null,r,!0)}}function i(n,t,i){return i===void 0&&(i=!1),t?i?"":ct(n):"none"}function ct(t){switch(n.sGetNodeName(t)){case"table":return"table";case"tr":return"table-row";case"td":return"table-cell";default:return"block"}}function lt(t){for(var i=document.body;t&&t!=i;){if(n.bAvecClasse(t,"wbPlanConteneur"))return!0;t=t.parentElement}return!1}function at(t){for(var i=document.body;t&&t!=i;){if(n.bAvecClasse(t,"wbPlan")&&!n.bAvecClasse(t,"wbActif"))return!0;t=t.parentElement}return!1}function d(n){return n?"url('"+n.replace("\\","\\\\").replace('"','\\"').replace("'","\\'").replace("(","\\(").replace(")","\\)")+"')":"none"}function t(n){var t=parseInt(n||"",10);return 0<t?t:0}function vt(n){return t(n.borderLeftWidth)+t(n.borderRightWidth)}function yt(n){return t(n.borderTopWidth)+t(n.borderBottomWidth)}function pt(n){return n?"none"==n?"":n.match(/^\s*url\(/)?s(n,'"')||s(n,"'")||s(n,"(",")"):n:""}function s(n,t,i){return i===void 0&&(i=t),n.substring(n.indexOf(t)+1,n.lastIndexOf(i))}function wt(n){return bt(n,"",!0)}function bt(n,t,i){if(t===void 0&&(t=""),n=n||t,n){if(n.startsWith("data:")||i&&n.match(/^\s*[a-z\-]+\(/))return n;"/"==n.charAt(0)||"_WDR_"in window||n.match(/^[a-z]+\:\/\//)||(n=_WD_+n)}return i?d(n):n}n.oGetCurrentStyle=h;n.CreeStyle=r;n.oCreeFeuilleStyle=c;n.sGetCSSTexte=g;n.sGetCSSTexteElement=l;n.oStyleTrouve=a;n.oGetFeuilleStyle=u;n.tabGetStyleReglesFusion=v;n.oStyleTrouveDansBalise=e;n.StyleSupprime=k;n.SetStyleLeft=n.ms_bRTL?function(n,t,i){n.right=o(t-i)}:function(n,t,i){n.left=o(t-i)};n.sGetDimensionPxPourStyle=o;n.SetOpacite=ft;n.bEstDisplay=ot;n.SetDisplay=st;n.sGetVisibility=ht;n.sGetDisplayPourAffiche=i;n.bDansPlan=lt;n.bDansPlanMasque=at;n.sGetURICSS=d;n.nGetOffset=t;n.nGetOffsetBorderPourWidth=vt;n.nGetOffsetBorderPourHeight=yt;n.sExtraitImageDepuisProprieteCSS=pt;n.sConstruitProprieteCSSDepuisImage=wt;var kt=function(){function t(){this.m_oFeuilleStyle=null;this.m_tabFeuilleStyleRules=null;this.m_tabStyle={};this.m_tabStyleNew={}}return t.prototype.Creation=function(){if(!this.m_oFeuilleStyle){var n=c();this.m_tabFeuilleStyleRules=f(n);this.m_oFeuilleStyle=n}this.m_tabStyleNew={}},t.prototype.CreationAjout=function(){var t={};n.bForEachIn(this.m_tabStyle,function(n,i){return t[n]=i,!0});this.m_tabStyleNew=t},t.prototype.CreationFlush=function(){var t=this,i=this.m_tabStyle,u=this.m_tabStyleNew;n.bForEachIn(u,function(n,u){var f=i[n];return u==f?!0:(f!==undefined&&t.__StyleSupprime(n),i[n]=u,r(t.m_oFeuilleStyle,n,u),!0)})},t.prototype.CreationFin=function(){var t=this,u=this.m_tabStyle,i=this.m_tabStyleNew;this.m_tabStyle={};n.bForEachIn(u,function(n,r){var u=i[n];return r==u?(t.m_tabStyle[n]=u,delete i[n]):t.__StyleSupprime(n),!0});n.bForEachIn(i,function(n,i){return t.m_tabStyle[n]=i,r(t.m_oFeuilleStyle,n,i),!0});this.m_tabStyleNew={}},t.prototype.Ajoute=function(n,t){0<t.length&&(this.m_tabStyleNew[n]=t.join(";"))},t.prototype.Complete=function(t,i){if(t.length&&i.length)if(this.m_tabStyleNew.hasOwnProperty(t)){var r=this.m_tabStyleNew[t].split(";");i.forEach(function(t){var i=t.split(":")[0]+":";n.bForEachInverse(r,function(n,t){return n.startsWith(i)&&r.splice(t,1),!0})});this.m_tabStyleNew[t]=r.concat(i).join(";")}else this.Ajoute(t,i)},t.prototype.__StyleSupprime=function(n){var t=this.__nStyleTrouve(n);-1!=t&&k(this.m_oFeuilleStyle,t)},t.prototype.__nStyleTrouve=function(n){return p(this.m_tabFeuilleStyleRules,n,!1)},t}();n.CStyleCache=kt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n){return"toNumber"in n}function e(t){var r=n.iGetAsBase(t),i;return r?r.vbToBoolean():"string"==typeof t?(i=parseInt(t,10),isNaN(i)?!1:0!==i):!!t}function i(t,i,r){var e,u;if(i===void 0&&(i=NaN),r===void 0&&(r=0),e=n.iGetAsBase(t),e)return e.vnToNumber(r);u=void 0;switch(typeof t){case"number":return t;case"boolean":return Number(t);case"object":if(1===r&&"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDDuree)return t.m_nValeur/10;if(f(t)){u=t.toNumber();break}default:u=parseFloat(String(t))}return isNaN(u)?i:u}function r(t,r,u){return r===void 0&&(r=0),u===void 0&&(u=0),n.NSOperations.nArrondiVersZero(i(t,r,u))}function o(t,i,f,e,o){o===void 0&&(o=!1);var s=r(t,e);if(u(s,i,f))return s-1;if(o)throw new n.CErreur(612,s,i);else throw new n.CErreur(200,s,i);}function u(n,t,i){if(n<1)return!1;switch(i){default:return n<=t;case 1:return n<=t+1;case 2:return!0}}t.bGetBooleen=e;t.dGetReel=i;t.nGetEntier=r;t.xnGetIndiceC=o;t.bIndiceWLValide=u})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,u,f,e){return new r(t?function(){return n.NSValues.iAny2RValue(t())}:null,i?function(n){return i(n.m_oValeur)}:null,undefined,u,f,e)}function e(n,t,r,u){return i(function(){return n},null,t,r,u)}function o(n,t,r,u){return i(function(){return 0==n.viGetPropriete(t,r).valueOf()},null,1,t,u)}function s(n,t,r,u){return i(function(){return n},function(){},t,r,u)}function h(t,i,u,f,e,o){function s(t){var i=u.viGetSousElement(0,[t]);return i instanceof n.NSChamps.CObjet&&!i.voGetHTMLElement()?null:i}return new r(function(){var i=t(),n;if(i)return i;try{if(n=s(1),n)return n.viGetPropriete(e,o)}catch(r){}return f.viCreation()},function(n){var t,r;for(i(n),t=1;;t++)try{if(r=s(t),r)r.viGetPropriete(e,o).vSetValeur2(n);else break}catch(u){break}},undefined,undefined,e,o)}
4var r=function(t){function i(n,i,r,u,f,e){var o=t.call(this)||this;return o.m_pfGetValeur=n,o.m_pfSetValeur=i,o.m_pfToJSON=r,o.m_oTypeWL=u,o.m_oNomUtilisateurOuProprieteFamille=f,o.m_eProprieteOpt=e,o}return __extends(i,t),i.prototype.toJSON=function(){return undefined!==this.m_pfToJSON?this.m_pfToJSON():t.prototype.toJSON.call(this)},i.prototype.viGetRValue=function(t){switch(t){default:if(this.m_pfGetValeur)return this.m_pfGetValeur();n.xThrow603_I(this.m_oNomUtilisateurOuProprieteFamille,this.m_eProprieteOpt);case 7:return this;case 6:return this}},i.prototype.veGetTypeWL=function(n){switch(typeof this.m_oTypeWL){case"number":return this.m_oTypeWL;case"function":return this.m_oTypeWL();default:case"undefined":return t.prototype.veGetTypeWL.call(this,n)}},i.prototype.vSetValeur2=function(t){this.m_pfSetValeur?this.m_pfSetValeur(t):n.xThrow603_I(this.m_oNomUtilisateurOuProprieteFamille,this.m_eProprieteOpt)},i}(t.CWrapperValue),u,f;t.CPropriete=r;t.oGetProprieteSimple=i;t.oGetProprieteConstante=e;t.oGetProprieteVide=o;t.oGetProprieteNeFaitRien=s;u=function(n){function t(t,i){var r=n.call(this)||this;return r.m_tParent=t,r.m_ePropriete=i,r}return __extends(t,n),t}(t.CWrapperValue);f=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(u);t.CProprieteMultiple=f;t.oGetProprieteManipuleSousElement=h})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n,t,i){return t<i.length?n.viGetSousElement(t,i):n}var i=function(t){function i(n){var i=t.call(this)||this;return i.m_tParent=n,i}return __extends(i,t),i.prototype.viGetMembre2=function(n,i,r,u){var f=this.viGetRValue(0);return f!==this?f.viGetMembre2(n,i,r,u):t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.viGetPropriete=function(n,i){var r=this.viGetRValue(0);return r!==this?r.viGetPropriete(n,i):t.prototype.viGetPropriete.call(this,n,i)},i.prototype.viGetSousElement=function(n,i){var r=this.viGetRValue(0);return r!==this?r.viGetSousElement(n,i):t.prototype.viGetSousElement.call(this,n,i)},i.prototype.viGetIntervalle=function(n,i,r){var u=this.viGetRValue(0);return u!==this?u.viGetIntervalle(n,i,r):t.prototype.viGetIntervalle.call(this,n,i,r)},i.prototype.viGetAsRValueType=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsRValueType():null},i.prototype.viGetAsTableau=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableau():null},i.prototype.viGetAsTableauAssociatif=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableauAssociatif():null},i.prototype.viAppelFonction=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(i=this.viGetRValue(0),i!==this)return i.viAppelFonction.apply(i,r);throw new n.CErreur(602,"()");},i}(n.CIValue),r;t.CTSousElement=i;r=function(n){function t(t){return n.call(this,t)||this}return __extends(t,n),t.prototype.toString=function(n){return this.viGetRValue(1).toString(n)},t.prototype.vnToNumber=function(n){return this.viGetRValue(1).vnToNumber(n)},t.prototype.vbToBoolean=function(){return this.viGetRValue(1).vbToBoolean()},t.prototype.valueOf=function(){return this.viGetRValue(1).valueOf()},t.prototype.toJSON=function(){return this.viGetRValue(1).toJSON()},t.prototype.veGetTypeWL=function(n){return n===void 0&&(n=1),this.viGetRValue(n).veGetTypeWL(0)},t}(i);t.CTSousElementWrapper=r;t.iChaineSousElement=u})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){return!0}function l(){}function a(t,i){var r=2<=arguments.length?t.bind(i):t;return r[n.ms_oSymbolDepuisWLEnV2]=!0,r[n.ms_oSymbolFonctionOriginale]=t[n.ms_oSymbolFonctionOriginale]||t,r}function v(n,t,i){return i===void 0&&(i=u),f(n,t,undefined)||i}function y(n,t,i){return f(n,undefined!==i?[t,i]:t,undefined)||u}function f(n,i,r){var u,f;return(u=clWDUtil.pfGetTraitementDirect(n,i,r),!u)?undefined:(f=function(){for(var f,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];f=t.ms_sAliasMoiMeme;try{return t.ms_sAliasMoiMeme=n,u.apply(this,r)}finally{t.ms_sAliasMoiMeme=f}},o(u,f,function(){var u=r||"",f=n!==t.ms_sAliasPage?n:"";return f+i+u}))}function o(t,i,r){var u=i;return u.nNbParametres="nNbParametres"in t?t.nNbParametres:t.length,u.sNom="sNom"in t?t.sNom:t.name||r(),n.ms_oSymbolDepuisWLEnV2 in t&&(u[n.ms_oSymbolDepuisWLEnV2]=!0),u[n.ms_oSymbolFonctionOriginale]=t[n.ms_oSymbolFonctionOriginale]||t,u}function p(i){var r={};return t.bForEachIn(i,function(t,i){var u=o(i,function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return n.NSValues.oAny2Natif(i.apply(window,r))},function(){return""});return r[t]=u,!0}
4),r}function w(t,i,r,u){var f=n.NSChamps.oGetObjet(i,r,u),e;return b(f)?(e=f,function(){for(var r=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];e.AppelCodeAffectation(function(){t.apply(r,i)})}):t}function b(n){return"AppelCodeAffectation"in n}function s(t){return t.reduce(function(t,i){var u=n.iGetAsRValue(i,7),r;return undefined!==u?(r=u.viGetAsValeurMultiple(),undefined!==r?Array.prototype.push.apply(t,s(r.tabGetValeurs())):t.push(i)):t.push(i),t},[])}function k(t,i,r,u,f){var s=Array.prototype.map.call(i,function(t){return n.NSValues.oAny2RValue(t)}),o=function(){return f.apply(t,s)},e;switch(r.repetition){case 0:e=h(o,r,u);break;case 1:e=o;break;default:e=h(o,r,u)}switch(r.quand){case-2:return clWDUtil.ExecuteFinEvenement(e);case-1:return clWDUtil.ExecuteFinTraitement(e);case 0:return e();default:setTimeout(e,r.quand);return}}function d(n){var t=i.find(function(t){return t.oOptions.id===n.id});return undefined===t&&(t={tabInstances:[],oOptions:n},i.push(t)),t}function h(t,i,u){var h=d(i),o=h.tabInstances,s,f;switch(i.timer){default:case 0:if(1<=o.length)return t;break;case 1:c(h,u);break;case 2:}return s=function(){function h(t){return 0===s?!1:0<--s?!1:(e(o,u()),!0)}function c(){var n=r;try{return r=f,t()}finally{r=n}}function u(){return o.findIndex(function(n){return n===f})}function l(){return-1===u()}var s=i.repetition;l()||(c(),l())||h(!0)||(f.nInterval=setInterval(function(){c();h(!1)},i.espacement))},f={pfAction:s,pfProcedureOriginale:u},o.push(f),s}function g(u){if(undefined===u)t.bForEach(i,function(n){var i=n.tabInstances;return t.bForEach(i,function(n,t){return n===r?(e(i,t),!1):!0})});else{var f=u[n.ms_oSymbolFonctionOriginale]||u;t.bForEach(i,function(n){return c(n,f),!0})}}function e(n,t){var i=n.splice(t,1)[0];undefined!==i.nInterval&&clearInterval(i.nInterval)}function c(n,i){for(var r=n.tabInstances;!1===t.bForEach(r,function(n,t){return n.pfProcedureOriginale===i?(e(r,t),!1):!0}););}var i,r;t.ms_sAliasMoiMeme="";t.Vide=u;t.VideUndefined=l;t.pfDepuisWLEnV2=a;t.pfGetTraitement=v;t.pfGetProcedure=y;t.pfGetTraitementDirect=f;t.oGetWrappersPourNatif=p;t.pfGetTraitementCodeAffectation=w;t.tabMiseAPlatValeursMultiples=s;t.AutomatismeProcedure=k;i=[];t.FinAutomatismeProcedure=g})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function to(){return no++}function wi(t,i){i&&n.NSUtil.AttacheEvent(t,"progress",function(n){n.lengthComputable&&i(n.total,n.loaded)})}function kt(){st=null;ot=!1;bi=!1;n.NSUtil.bForEach(g,function(n){return n.vLibere(),!0});g.length=0}function uo(){if(!ki){if(document.readyState&&document.readyState!=="interactive"&&document.readyState!=="complete")return!1;if(ki=!0,n.NSUtil.bFF){var t=/Fire[Ff]ox\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);(!t||!t[1]||parseInt(t[1],10)<27)&&n.NSUtil.AttacheEvent(window,"beforeunload",kt,!0)}}return bi}function fo(t,i,r,u,f,e,o){var s,h;uo()&&(s=oo(t,i,r,u),s&&(h={m_eMethodeHTTP:2,m_sURL:co(n.NSUtil.sGetPageAction(t)),m_sContenu:s,m_oInterne:{m_oFormulaire:t,m_eOptionsAJAXExecute:0}},di(h,function(n,t){e&&e(n,t);eo(i,f);o&&o(n,t)})))}function eo(t,i){switch(typeof i){case"function":i();break;case"number":n.NSUtil.pfGetTraitement(t,i)()}}function oo(t,i,r,u){var f=[],s="",w=i,c,v,a,p;i&&0<i.indexOf(";")&&(c=i.split(";"),1<c.length&&c[0].length&&c[1].length&&(i=c[0],w=c[1]));switch(u){case 1:f.push(o);f.push(wt+"="+r);f.push(e+"="+i);s=h(t,i);l&&f.push(encodeURIComponent(l)+"="+encodeURIComponent(et));break;case 2:f.push(d);f.push(wt+"="+r);f.push(e+"="+i);s=tt(t.elements);break;case 3:f.push(pt);f.push(vi+"="+i);f.push(i+"="+r);break;case 4:f.push(d);f.push(vi+"="+i);v=t[i];v&&(v.value=String(r));s=tt(t.elements);break;case 5:f.push(d);f.push(yi+"="+i);s=tt(t.elements);break;case 6:f.push(o);f.push(yi+"="+i);s=h(t,w);break;case 8:f.push(o);f.push(y+"="+(r||""));f.push(e+"="+i);s=h(t,i);a=n.NSChamps.iGetInterfaceChamp(i,n.NSChamps.iGetAsCalendrier);f.push(nt(a.oGetElementHTMLValeur()));f.push(nt(a.oGetElementHTMLMois()));a.bGestionTableZR_SansPopup()&&f.push(h(t,a.m_oTableZRParent.m_sAliasTableZRParent));break;case 9:f.push(o);f.push(y+"="+(r||""));f.push(e+"="+i);s=nt(n.NSChamps.oGetChampSansCreation(i).voGetChampFormulaire());break;case 10:if(undefined!==dt)f.push(o),f.push(y+"="+(r||"")),f.push(e+"="+i),f.push("WD_PARAM_="+dt),f.push(encodeURIComponent(l)+"="+encodeURIComponent(et)),p=h(t,l+"_DATA"),p&&f.push(p);else return"";break;case 11:f.push(o);f.push(ke+"="+i);s=h(t,i);break;case 12:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(o);f.push(y+"="+r);f.push(e+"="+i);s=h(t,n.NSChamps.CSynchronisationServeur.ms_sNomChamp);break;case 13:f.push(o);f.push(y+"="+r);f.push(e+"="+i);s=h(t,i);break;case 14:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(d);f.push(de+"="+r);f.push(e+"="+i);s=tt(t.elements);break;case 15:f.push(pt);f.push(ge+"=");n.NSUtil.bForEachIn(r,function(t,i){return f.push("II_"+t+"="+encodeURIComponent(n.NSUtil.xsStringifyJSON(i,!1))),!0});break;case 16:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(d);f.push(y+"="+r);f.push(e+"="+i);s=tt(t.elements);break;default:l&&(s=encodeURIComponent(l)+"="+encodeURIComponent(et));f.push(s?o:pt);f.push(wt+"="+r);f.push(e+"="+i)}return s&&f.push(s),l=undefined,et=undefined,dt=undefined,window.FinSubmitAJAX instanceof Function&&FinSubmitAJAX(),f.join("&")}function nt(t){var f=t.type,i,r,u;if(f){i=void 0;r=void 0;switch(f.toLowerCase()){case"textarea":r=!0;case"text":case"hidden":case"password":return i=t.value,t.bIndication===!0?i="":r&&(i=i.replace(uu,"\r\n")),encodeURIComponent(t.name)+"="+encodeURIComponent(i);case"checkbox":case"radio":if(t.checked)return encodeURIComponent(t.name)+"="+encodeURIComponent(t.value);break;case"select-one":if(t.selectedIndex!==-1)return encodeURIComponent(t.name)+"="+encodeURIComponent(t.options[t.selectedIndex].value);break;case"select-multiple":return u=[],n.NSUtil.bForEach(t.options,function(n){return n.selected&&u.push(encodeURIComponent(t.name)+"="+n.value),!0}),u.join("&");case"button":case"file":case"reset":case"submit":break;default:if(i=t.value,undefined!==i)return encodeURIComponent(t.name)+"="+encodeURIComponent(i)}}return""}function tt(t){var i=[];return n.NSUtil.bForEach(t,function(n){var r=n.name,t;return n.type&&r!==be&&!r.startsWith("PTH_")&&(t=nt(n),t&&i.push(t)),!0}),i.join("&")}function h(n,t){var i=n[t],r;
4return i||(r=document.getElementsByName(t),r&&(i=r[0])),i?nt(i):""}function gt(n){var t=!!g.length||!!bt||n;ot!==t&&(ot=t,ho())}function ho(){st&&(n.NSUtil.DeplaceElement(st,so,undefined,undefined,!0),st.style.visibility=n.NSUtil.sGetVisibility(ot,0))}function co(n){return n}function lo(n){var t=new io(n.m_oInterne);return t.vEnvoi(n),t}function di(n,t){var i=new ro(n.m_oInterne,t),r=i.m_nID;return i.vEnvoi(n),r}function ao(n){var t=lo(n),i=t.oGetResultat();return t.vLibere(),i}function vo(t,i){return!i&&t.m_oInterne&&0!=(t.m_oInterne.m_eOptionsAJAXExecute&1)&&(i=n.NSUtil.Vide),di(t,i)}function yo(n,t,i){i===void 0&&(i=[]);var r=gi(n);return r?ht(null,t,null,n,r,i):0}function gi(n){if(n){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(n,"text/xml");if("undefined"!=typeof ActiveXObject){var t=new ActiveXObject("Microsoft.XMLDOM");if(t.loadXML(n),!t.parseError||0===t.parseError.errorCode)return t}}return null}function nr(t,i){var u,r;return i.substring(0,5)==="<?xml"&&i.match(ei)?!0:(u=i,t&&(t.vLibere(),t=null),kt(),n.NSUtil.bIE?(r=document.open("text/html","replace"),r.write(u),r.close()):(r=document,n.NSUtil.nSetTimeout(function(){r.write(u);r.close()},n.NSUtil.ms_oTimeoutImmediat)),!1)}function ht(n,t,i,r,u,f){return nr(n,r)?wo(t,i,u,f):1}function po(n,t,i,r){var u=null;switch(i){case 1:return document.body;case 20:case 27:u=tr(n,n.name+"_"+t,i,r)}return u||tr(n,t,i,r)}function tr(t,i,r,u){var f=null,e;if(0!==u){switch(r){case 9:case 11:case 35:f=a(i,r,!1,3===u);break;case 5:i.substring(i.length-2)==="[]"&&(f=n.NSUtil.GetElementParId(i.substring(0,i.length-2),document,!0));break;case 47:1===u&&(f=n.NSUtil.GetElementParId(i,document,!1,!0))}f||(f=n.NSUtil.GetElementParId(i,document,!0))}else switch(r){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:f=n.NSUtil.GetElementParId(i,document,!1);break;case 25:f=n.NSUtil.GetElementParId(i+"_",document,!1);break;case 16:case 4:case 49:case 79:case 8:case 22:f=document.getElementById(i);n.NSUtil.bNodeEstType(f,"i")&&(f=f.firstElementChild)}if(f||(f=t[i]),!f&&(e=document.getElementsByName(i),e))switch(r){case 6:break;default:f=e[0]}return f}function a(n,t,i,r){i===void 0&&(i=!1);r===void 0&&(r=!1);var f=t===77&&i,e=f?n+"_POS":"con-"+n,u=null;return r&&(u=document.getElementById("dww"+e)),u||(u=document.getElementById(e),u&&f&&(u=u.getElementsByTagName("table")[0])),u||(u=document.getElementById("ctz"+n)),u}function wo(t,i,r,u){var e=r.getElementsByTagName(ou)[0],o,s,f,h;return e?(o=1,s=t.ownerDocument.body,n.NSUtil.bDetecteMutation(s,function(){o=bo(t,i,e,u)},function(){var t=[];return function(i){var u=i.target,r;if(n.NSUtil.bNodeEstType(u,"input")&&"hidden"===u.type)return!1;for(r=u;r!==s;r=r.parentNode)if(!r)return!1;return n.NSUtil.bForEach(t,function(t){return!n.NSUtil.bEstFils(u,t)})}}(),n.NSUtil.bIE,!0)&&(f=e.childNodes,f&&(h=f.length,(2<=h||1===h&&f[0].nodeName!==oi)&&n.NSUtil.ms_oNotificationsFinAJAX.LanceNotifications())),o):0}function bo(n,t,r,u){for(var f=r.firstChild,l=!1,o=null,h=0,a=1,c,e;f;){switch(f.nodeName){case cu:ko(n,f,t);break;case su:ac(f);break;case hu:a=vc(f)?2:0;break;case oi:t.ActionListe(f);l=!0;break;case lu:c=i(f);e=void 0;switch(s(f,au,"")){case"JSON":try{e=JSON.parse(c)}catch(v){e=""}break;default:e=c}u.push(e);break;case vu:o=f;break;case pu:h=ft(f);break;case wu:wc(f);break;case bu:bc(f)}f=f.nextSibling}return o&&yc(n,o,l),h&&pc(h),a}function ko(n,t,i){function o(t){var r=s[t],i;return undefined!==r?r:(i=po(n,f,e,t),s[t]=i,i)}for(var c,h,f=w(t,ku),e=r(t,du),s=[],u=t.firstChild;u;u=u.nextSibling)switch(u.nodeName){case gu:c=r(u,hi);-1===c?oh(o,e,u,f):(h=ir[r(u,hi)],h&&h(o,e,u,f));break;case tf:kh(o,e,u,f);break;case rf:dh(o,n,e,u,f);s=[];break;case vf:fc(o,e,u,f);break;case bf:ec(o,u,f);break;case kf:oc(u,f,i);break;case te:sc(u,f);break;case he:hc(u,f);break;case ce:cc(u,f);break;case ae:lc(u,f)}}function rr(t,r,u,e){var s=i(u),o=t(0),h,c;switch(r){case 8:case 22:case 26:case 33:case 82:case 27:o&&(o.src=s);break;
4case 7:o&&(o.selectedIndex=parseInt(s,10));break;case 6:h=parseInt(s,10);o&&(c=o.length,c?h<0?n.NSUtil.bForEach(o,function(n){return n.checked=!1,!0}):h<=c&&(o[h].checked=!0):o.checked=0<=h);break;case 5:o&&(o.checked=!!parseInt(s,10));break;case 3:case 10:o=p(o);o&&(o.innerHTML=n.NSUtil.sEncodeInnerHTML(s,!0));break;case 2:o&&(o.value=s,f(e,1,s));break;case 12:case 17:case 109:o||(o=t(1));o=p(o);o&&(o.innerHTML=s);break;case 21:o&&(o=o.getElementsByTagName("ol")[0]);case 23:case 45:o=p(o);o&&(o.innerHTML=s);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:f(e,1,s);break;case 34:f(e,1,parseInt(s,10)!==0);break;case 103:if(o&&o.attributes)switch(n.NSUtil.sGetNodeName(o)){case"a":o.setAttribute("href",s);break;case"div":s?o.setAttribute("data-href",s):o.attributes.getNamedItem("data-href")&&o.removeAttribute("data-href")}break;default:o&&(o.value=s)}}function p(t){if(n.NSUtil.bNodeEstType(t,"table"))while(t&&!n.NSUtil.bNodeEstType(t,"td"))t=t.firstElementChild;return t}function go(n,t,i,r){ur(!1,n,t,i,r)}function ns(n,t,i,r){ur(!0,n,t,i,r)}function ur(t,r,u,f,e){var h=i(f),o=r(0),l,c,a,v,w,y;switch(u){case 1:document.title=h;return;case 4:l=null;c=n.NSUtil.GetElementParId("z_"+e+"_IMG",document,!1);c&&!n.NSUtil.bNodeEstType(c,"img")?(a=c.getElementsByTagName("span")[0],a&&(c=a),l=c):o&&n.NSUtil.bNodeEstType(o,"button")&&(l=o);l?l.innerHTML=n.NSUtil.sEncodeInnerHTML(h,!t,t):o&&(o.value=h);return;case 3:o=p(o);break;case 17:case 109:o=p(o);o&&(o.innerHTML=h);return;case 16:if(v=n.NSUtil.GetElementParId(e,document,!1,!0),v?o=v:o&&!n.NSUtil.bNodeEstType(o,"a")&&(o=null),o){while(o&&!n.NSUtil.bNodeEstType(o,"a"))o=o.firstElementChild;o&&(o.innerHTML=h)}return;case 9:case 35:o=document.getElementById("lz"+e);o||(o=n.NSUtil.GetElementParId(e,document,!1,!0));break;case 56:case 68:w=String(s(f,ye,""));w;o||(o=document.getElementById("tt"+e),o||(o=n.NSUtil.GetElementParId(e,document,!1,!0)));break;case 49:o&&(y=o.getElementsByTagName("a")[0],y&&(o=y));break;case 55:case 57:case 105:break;default:o=document.getElementById("lz"+e)}o&&(o.innerHTML=n.NSUtil.sEncodeInnerHTML(h,!t,t))}function ts(n,t,r,u){it(t,39,r,u,i)}function is(n,t,i,r){fr(n,t,i,r,"height",16)}function rs(n,t,i,r){fr(n,t,i,r,"width",17)}function fr(t,i,r,e,o,s){var h=t(0),v=t(1),l,c,a;if(h&&(l=ft(r),!(l<0))){c=l+"px";switch(i){case 34:break;case 83:f(e,s,l);h=n.NSUtil.GetElementParId(e,document,!0);h.getElementsByTagName("td")[0][o]=l;u(h,i,e,o,c,!1);break;case 39:case 40:case 43:for(a=h.getElementsByTagName("td")[0],""!==a.style[o]?a.style[o]=c:a[o]=l,u(h,i,e,o,c,!1),h=h.parentElement;h&&h!==document.body;)switch(n.NSUtil.sGetNodeName(h)){case"table":h[o]=l;default:h=h.parentElement;break;case"div":u(h,i,e,o,c,!1);h=null}break;case 5:case 6:u(v,i,e,o,c,!1);break;case 44:u(v,i,e,o,c,!1);u(document.getElementById("con-"+e),i,e,o,c,!1);break;case 3:u(h!==v&&document.getElementById("bz"+e)||h,i,e,o,c,!1);break;case 33:u(document.getElementById(e)||h,i,e,o,c,!1);break;default:u(h,i,e,o,l+"px",!1)}}}function ni(n,t,i,r,f,e,o){var s=n(t);u(s,i,r,f,e,o)}function u(t,i,r,u,f,e){if(t){if(e)switch(i){case 5:case 6:(t instanceof HTMLCollection||"undefined"!=typeof RadioNodeList&&t instanceof RadioNodeList||"undefined"!=typeof NodeList&&t instanceof NodeList)&&n.NSUtil.bForEach(t,function(t){var i=t.parentElement;return n.NSUtil.bNodeEstType(i,"label")&&(t=i),t.style[u]=f,!0});t=n.NSUtil.GetElementParId(r.substring(r.length-2)==="[]"?r.substring(0,r.length-2):r,document,!1,!0);break;case 23:case 45:case 21:case 25:n.NSUtil.bForEach(t.getElementsByTagName("a"),function(n){return n.style[u]=f,!0})}var o=t.style;o&&(o[u]=f)}}function us(t,r,e,o){var s=i(e),h=!1,l=t(0);switch(r){case 5:case 6:h=!0;break;case 23:case 45:case 21:case 25:h=!0;break;case 56:case 68:case 83:c(t,r,o,"color",s,!1);return;case 2:f(o,2,s);break;case 16:l=n.NSUtil.GetElementParId(o,document,!1,!1)}u(l,r,o,"color",s,h)}function c(t,i,r,f,e,o){var s;switch(i){case 2:case 4:case 7:case 10:case 14:case 16:case 25:case 3:s=t(0);break;case 56:case 68:fs("#c-"+r,f,e);return;case 83:s=n.NSChamps.iGetInterfaceChamp(r,n.NSChamps.iGetAsJauge).oGetLibelleInterne();break;default:s=t(1)}u(s,i,r,f,e,o)}function fs(t,i,r){n.NSUtil.bForEach(document.getElementsByTagName("style"),function(u){var f=n.NSUtil.oStyleTrouveDansBalise(u,t);return f&&(f.style[i]=r),!0})}function es(t,r,e,o){var h=i(e),l=!1,s=t(0),a=t(1),c;
4switch(r){case 5:case 6:l=!0;break;case 31:case 32:case 39:case 40:case 42:case 43:case 84:case 139:s=n.NSUtil.GetElementParId(o,document,!1);break;case 34:s=n.NSUtil.GetElementParId(o,document,!0);break;case 16:c=n.NSUtil.GetElementParId(o,document,!0);c&&c.style&&(c.style.backgroundColor=h);break;case 21:l=!0;break;case 2:f(o,3,h);break;case 83:case 33:f(o,3,h);return;case 111:s=n.NSUtil.GetElementParId(o,document,!1,!0)}u(s,r,o,"backgroundColor",h,l)}function os(t,i,u,e){function a(t){return n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",4===o),!0}var o=r(u,ve),s=t(0),h=t(1),c,l;switch(i){case 2:case 33:f(e,26,o);break;case 4:case 16:case 22:case 55:case 57:case 105:if(c=void 0,s){if(l=s.parentNode,n.NSUtil.bNodeEstType(s,"a"))c=s;else if(n.NSUtil.bNodeEstType(l,"a"))c=l;else break;ss(u,c,o,!1)}}h&&(n.NSUtil.bForEach(h.getElementsByClassName("wbstyle"),a),n.NSUtil.bAvecClasse(h,"wbstyle")&&a(h));it(i,26,u,e,function(){return o})}function ss(t,i,r,u){var f=t.firstChild;f&&n.NSUtil.bForEach(f.attributes,function(t){var f=t.name,s=f.toLowerCase(),e=t.value,o;if(0!==r)switch(s){case"onmouseout":case"onmouseover":case"onclick":i[f]=null;break;default:i.removeAttribute(f)}else switch(s){case"onmouseout":case"onmouseover":i[f]=new Function("","document."+e);break;case"onclick":if(u){o="";n.NSUtil.bFF&&-1!==(e+"").indexOf("event")&&(o="event");i[f]=new Function(o,e);break}default:i.setAttribute(f,e)}return!0})}function hs(t,i,r,u){var h=b(r,pe)||b(r,we),e=!1,s=!1,o=yt(r),c=t(0),f=t(h?3:2);switch(i){case 56:case 68:f=document.getElementById("tt"+u);e=!0;break;case 49:f=c;case 55:case 57:case 105:e=!0;s=!0;f?o&&"hidden"===f.style.visibility&&(f.style.visibility=""):n.NSUtil.bForEach(["H","B"],function(t){return n.NSUtil.SetDisplay(document.getElementById(t+"-"+u),o),!0});break;case 127:e=!0;s=!0;f&&(n.NSUtil.bNodeEstType(f,"li")||(f=f.parentElement));break;default:e=h;s=h}e?n.NSUtil.SetDisplay(f,o,s):f&&f.style&&(f.style.visibility=o?"inherit":"hidden");f&&n.NSChamps.AppelMethodePtr(n.NSChamps.OnDisplay,[f,o])}function cs(n,t,r,u){it(t,40,r,u,i)}function ls(t,r,u){try{n.NSChamps.DeclareGroupes(n.NSUtil.xoEvalJSON(i(u),!1))}catch(f){}}function as(t,r,u,f){var o=t(0),e,s;if(o){e=i(u);switch(r){case 79:o.style.backgroundImage=n.NSUtil.sGetURICSS(e);s=n.NSChamps.iGetInterfaceChamp(f,n.NSChamps.iGetAsCornage);s&&s.InitTailleImage(e);break;default:o.src=e}}}function vs(t,r,u,f){var e=t(0),h=e,o,s;switch(r){case 22:n.NSUtil.bNodeEstType(e,"img")&&(o=e.parentNode,n.NSUtil.bNodeEstType(o,"a")&&(e=o));break;default:e=n.NSUtil.GetElementParId(f,document,!1,!0);e||(e=h)}n.NSUtil.bNodeEstType(e,"td")&&(e=e.firstElementChild);e&&(s=i(u),n.NSUtil.bNodeEstType(e,"input")?pr(e,f,eu,function(){return"('"+s+"'"}):e.href=s)}function ys(t,r,u,e){function h(n){return n.title=s,!0}var s=i(u),o=t(0);switch(r){case 5:case 6:n.NSUtil.bForEach(document.getElementsByName(e),h);return;case 9:case 35:o=a(e,r);break;case 49:o&&n.NSUtil.bForEach(o.getElementsByTagName("a"),h);break;case 83:f(e,35,s);return;case 4:o&&o.firstElementChild&&(o.firstElementChild.title=s)}o&&(o.title=s)}function ps(t,r,u,f){ni(t,2,r,f,n.NSUtil.ms_bRTL?"right":"left",i(u)+"px",!1)}function ws(n,t,r,u){ni(n,2,t,u,"top",i(r)+"px",!1)}function bs(n,t,r,u){ni(n,1,t,u,"cursor",i(r),!0)}function ks(n,t,i,r){c(n,t,r,"fontWeight",String(ft(i)),!0)}function ds(n,t,i,r){c(n,t,r,"fontStyle",yt(i)?"italic":"normal",!0)}function gs(n,t,r,u){c(n,t,u,"fontFamily",i(r),!0)}function nh(n,t,i,r){c(n,t,r,"textDecoration",yt(i)?"underline":"none",!0)}function th(n,t,r,u){c(n,t,u,"fontSize",i(r),!0)}function ih(t,i,r,u){var e=ft(r),o;isNaN(e)?e=100:e<0?e=0:e>100&&(e=100);switch(i){case 33:case 83:f(u,18,e);return;case 79:o=t(0);break;default:o=t(1)}o&&n.NSUtil.SetOpacite(e,o)}function rh(n,t,r,u){c(n,t,u,"textAlign",i(r),!0)}function uh(n,t,r,u){c(n,t,u,"verticalAlign",i(r),!0)}function fh(t,i,r){var f=yt(r),u,o,s,e;switch(i){case 55:case 57:case 105:u=t(1);u&&(o=f?"":"Select",s=f?"Select":"",n.NSUtil.bForEach(["WDOngletOption","WDMenuOption"],function(t){return n.NSUtil.bForEach(["","Hover"],function(i){return n.NSUtil.RemplaceClassNameSiExiste(u,t+o+i,t+s+i),!0}),!0}),e=u.getElementsByTagName("a")[0],e&&n.NSUtil.ActiveDesactiveClassName(e,"wbActif",f))}}function eh(n,t,r,u){f(u,25,i(r))}function oh(t,r,u,f){var e=n.NSChamps.oGetChampSansCreation(f),o,s;e&&(o=e.viGetAsParametres(),o?o.DeduitParam(i(u)):(s=t(1),s&&(e.vPreAffecteHTML(!0),s.innerHTML=i(u),e.vPostAffecteHTML(!0))))}function sh(n,t,r,u){br(u,t,38,i(r))}function hh(n,t,r,u){f(u,21,i(r))}function ch(t,r,u){var f=t(0);(!f||f instanceof HTMLCollection||"undefined"!=typeof RadioNodeList&&f instanceof RadioNodeList||"undefined"!=typeof NodeList&&f instanceof NodeList)&&(f=t(1));f&&n.NSUtil.SetClasseHTML(f,i(u))}function lh(n,t,r){switch(t){case 8:case 22:case 26:case 33:case 82:case 91:var u=n(0);u&&(u.alt=i(r))}}function ah(t,u,f,e){var o,h,s;k(f,"PLAN")?(o=r(f,"PLAN"),h=i(f),s=w(f,"FILS")):o=ft(f);it(u,31,f,e,function(){return o},{sContenuHTML:h});s&&n.NSChamps.DeclareChampPlanDiffere(s.split(";"))}function vh(n,t,r,u){it(t,34,r,u,i)}function yh(n,t,r,u){var e=i(r);switch(t){case 33:f(u,3,e);return}}function ph(n,t,r,u){br(u,t,56,i(r))}function wh(n,t,r,u){WDMenu.s_UpdateMenuContextuel(u,i(r))}function bh(i,r,u){var e=i(0),f;if(e){var o=e.getAttribute(t.ms_DataWBAttributHTML),s=o?o.split(t.ms_sDataWBAttributHTMLSeparateur):[],h=[];for(f=u.firstChild;f;f=f.nextSibling)nf===f.nodeName&&n.NSUtil.bForEach(f.attributes,function(t){var i=t.name;return e.setAttribute(i,t.value),n.NSUtil.SupprimeDansTableau(s,i),h.push(i),!0});
4s.forEach(function(n){return e.removeAttribute(n)});e.setAttribute(t.ms_DataWBAttributHTML,h.join(t.ms_sDataWBAttributHTMLSeparateur))}}function it(t,i,r,u,f,e){var o;o=1===t?n.NSChamps.oGetPageCourante():n.NSChamps.oGetObjetInformationsPartielles(u,t);o&&o.viGetPropriete(1,i).vSetValeur(f(r),0,{m_oParametresSpecifiques:e})}function kh(t,r,u,f){var s=i(u),e=t(0),o;e||(e=n.NSUtil.GetElementParId(f,document));switch(r){case 49:e&&-1===s.indexOf("getElementsByTagName")&&(o=e.getElementsByTagName("a"),o.length&&(e=o[0]))}e&&function(){eval("arguments[0]"+s)}(e)}function dh(n,t,i,r,u){var f=oGetObjetChamp(u),e;f&&f.bActionListeDepuisAJAX?f.bActionListeDepuisAJAX(r,-1):(e=n(0),e&&gh(e,t,i,r,u))}function gh(t,u,f,e,o){var dt=r(e,uf),gt=r(e,ff),tr=r(e,ef),et=v(e,of,0),wi=v(e,sf,1),si=1<wi,ir=u[o+"_DATA"],ni,rr,pt,wt,ot,bi,ur,h,w,tt,st,fr,it,g,or,hi,ei,sr,kt,nr,l,pr,li,vi,ht,oi,yi,pi;ir&&(ir.value=s(e,hf,""));for(var yt=parseInt(u[o+"_DEB"].value,10),nt,p=a(o,f,!0),y=rt(p,f);yt<dt&&ti(f,o,yt,et,p,y);)yt++;if(yt>=dt+gt)while(ti(f,o,yt,et,p,y))yt++;if(0<et)switch(f){case 9:case 11:for(ni=e.firstChild;ni;)nt=r(ni,ci),ri(o,nt,et,y),ni=ni.nextSibling}if(1===v(e,ai,0)){for(rr="tt"+o,pt=document.getElementById(rr),n.NSUtil.bEstFils(pt,y)||(pt=null),wt=y.childNodes,n.NSUtil.bForEachInverse(wt,function(n){return n.nodeName==="#text"&&y.removeChild(n),!0}),ot=0;ot<wt.length;)bi=wt[ot],pt?(bi===pt&&(ot+1<wt.length&&wt[ot+1].offsetHeight<=1&&ot++,pt=null),ot++):y.removeChild(bi);ur="rgs-"+o+"-";n.NSUtil.bForEachInverse(document.getElementsByTagName("style"),function(n){return n.id.startsWith(ur)&&n.parentNode.removeChild(n),!0})}for(h="",n.NSUtil.bIE&&p&&(h=n.NSUtil.bNodeEstType(p,"td")?p.innerHTML:p.outerHTML,h=lt(h)),st=-1,fr=k(e,cf),it=e.firstChild;it;it=it.nextSibling){nt=r(it,ci);var ki=ii(o,nt,y),di=1!==it.childNodes.length,ui=di?n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[0]),!1,!1):"",d=n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[di?1:10]),!1,!1),fi=di?n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[2]),!1,!1):"",gi=b(it,lf),er=b(it,af),c=ui+d+fi,bt=void 0;if(fr&&ic(o,nt,i(it.childNodes[3])),!gi&&!ki){for(g=null,or=dt+gt,st=Math.max(st-1,nt+1);st<or&&!g;st++)g=tc(o,!0,st,et,y),g||(g=ii(o,st,y));if(g){c&&(n.NSUtil.bIE?(hi=g.outerHTML,hi=lt(hi),ei=h.indexOf(hi),sr=ei,bt=c.substring(0,4).toLowerCase(),(bt="<tr>")&&bt===h.substr(ei-4,4).toLowerCase()&&(ei-=4),h=h.substring(0,ei)+c+h.substring(sr),tt=w=undefined):at(c)?(n.NSUtil.bNodeEstType(g,"td")&&(g=g.parentElement),er||c.substring(c.length-5).toLowerCase()==="<\/tr>"?vr(g,c):vt(g,c,!0,null)):c.substring(c.length-5).toLowerCase()==="<\/tr>"?(n.NSUtil.bNodeEstType(g,"td")&&(g=g.parentElement),vt(g,c,!1,null)):yr(g.parentNode.previousSibling,c));continue}}if(ki)if(n.NSUtil.bIE){gi&&(c="");kt=ki.outerHTML;kt=lt(kt);var ft=h.indexOf(kt),ut=kt.length,hr=at(c),wr=lr(c),cr="<tr>"===h.substr(ft-4,4).toLowerCase();hr&&cr&&(ft-=4,ut+=4);bt=c.substring(0,9).toLowerCase();bt==="<\/tr><tr>"&&bt===h.substr(ft-9,9).toLowerCase()&&(ft-=9,ut+=9);si&&(nr=c.substring(c.length-5).toLowerCase(),nr==="<\/tr>"&&nr===h.substr(ft+ut,5).toLowerCase()?ut+=5:(kt.substr(ut-5,5).toLowerCase()==="<\/tr>"&&(ut-=5),hr&&h.substr(ft+ut,5).toLowerCase()==="<\/tr>"&&(c="<\/tr>"+c,ut+=5),wr&&cr&&(ft-=4,ut+=4)));h=h.substring(0,ft)+c+h.substring(ft+ut);tt=w=undefined}else l=document.getElementById(o+"_"+nt),f===11&&ri(o,nt,et,y),gi?(n.NSUtil.bNodeEstType(l,"div")&&n.NSUtil.bNodeEstType(l.parentNode,"td")&&ct(l.parentNode)&&(l=l.parentElement,n.NSUtil.bNodeEstType(l.parentNode,"tr")&&ct(l.parentNode)&&(l=l.parentElement)),n.NSUtil.oSupprimeElement(l)):l&&(n.NSUtil.bNodeEstType(l,"div")&&n.NSUtil.bNodeEstType(l.parentNode,"td")&&(l=l.parentElement),at(d)?(pr=l,n.NSUtil.bNodeEstType(l,"td")&&(l=l.parentElement),er?(vr(l,d),l=ct(l)?l:pr,n.NSUtil.oSupprimeElement(l)):d.substring(d.length-5).toLowerCase()!=="<\/tr>"?vt(l,d,!0,l.firstElementChild):ar(l,d)):d.substring(d.length-5).toLowerCase()==="<\/tr>"?(li=void 0,vi=void 0,n.NSUtil.bNodeEstType(l,"td")?(li=l.parentElement,vi=l):(li=l,vi=l.lastElementChild),vt(li,d,!1,vi)):ar(l,d)),p===y&&(p=a(o,f,!0),y=rt(p,f));else c&&(ht=void 0,n.NSUtil.bIE?y&&(y!==p||n.NSUtil.bNodeEstType(y,"table"))?(h||(h=p.outerHTML,h=lt(h),tt=w=undefined),h.substring(h.length-8).toLowerCase()==="<\/table>"?si?(undefined===tt&&(tt=h.toLowerCase().lastIndexOf("<\/tr>")),tt===-1?(undefined===w&&(w=h.toLowerCase().lastIndexOf("<\/tbody>")),-1===w&&(w=h.toLowerCase().lastIndexOf("<\/table>")),oi=!1,ui.toLowerCase().indexOf("<\/tr>")===0?(oi=!0,ui=ui.substring(5)):d.toLowerCase().indexOf("<\/tr>")===0&&(oi=!0,d=d.substring(5)),fi.toLowerCase().lastIndexOf("<\/tr>")!==fi.length-5&&d.toLowerCase().lastIndexOf("<\/tr>")!==d.length-5&&(oi=!0,fi+="<\/tr>"),oi&&(c=ui+d+fi),h=h.substring(0,w)+c+h.substring(w),tt=undefined,w+=c.length):(h=h.substring(0,tt)+c+h.substring(tt),tt+=c.length,w=undefined)):(undefined===w&&(w=h.toLowerCase().lastIndexOf("<\/tbody>")),-1===w&&(w=h.toLowerCase().lastIndexOf("<\/table>")),f===77&&(w=h.toLowerCase().substring(0,w).lastIndexOf("<\/tr>")),h=h.slice(0,w)+c+h.substring(w),tt=undefined,w+=c.length):(h+=c+p.tagName,tt=w=undefined)):(h=undefined,ht=y,ht.insertAdjacentHTML("beforeend",c),p=a(o,f,!0),y=rt(p,f)):(ht=y,at(c)?c.substring(c.length-5).toLowerCase()!=="<\/tr>"&&(c=c+"<\/tr>"):d.substring(d.length-5).toLowerCase()==="<\/tr>"?si?(ht=y.lastElementChild,c=c.substring(0,d.length-5)):c="<tr>"+c:si&&lr(c)&&(ht=y.lastElementChild),yr(ht,c),p===y&&(p=a(o,f,!0),y=rt(p,f))))}for(h?(h=h.replace(/\<\/tr\>\<\/tr\>/ig,"<\/tr>"),h=h.replace(/\<tr\>\<tr\>/ig,"<tr>"),h=h.replace(/\<tr[^\>]*\>\s*\<\/tr\>/ig,""),h=h.replace(/\<tr[^\>]*\>\s*\<tr/ig,"<tr"),n.NSUtil.bNodeEstType(p,"td")?p.innerHTML=h:p.outerHTML=h,p=a(o,f,!0),y=rt(p,f)):n.NSUtil.bNodeEstType(y,"tbody")&&n.NSUtil.bForEachInverse(y.childNodes,function(n){return 0===n.childNodes.length&&y.removeChild(n),!0}),nt=dt+gt,yi=wi;;
4)if(ti(f,o,nt,et,p,y))nt++,yi=wi;else if(yi>1)nt++,yi--;else break;n.NSUtil.bIE||gt!==0||y===p||y.childNodes.length!==0||n.NSUtil.SupprimeFils(p);u[o+"_DEB"].value=dt;pi=u["_"+o+"_OCC"];pi===undefined&&(pi=u[o+"_OCC"]);pi.value=gt;tr>=0&&(t.value=String(tr));switch(f){case 9:case 35:case 11:case 77:n.NSChamps.AppelMethodePtr(n.NSChamps.OnTableZRAfficheAJAX,[o])}n.NSUtil.ms_oNotificationsAjoutHTML.LanceNotifications(null,p)}function rt(t,i){var r=null;return t&&n.NSUtil.bNodeEstType(t,"table")&&n.NSUtil.bForEach(t.childNodes,function(t){return n.NSUtil.bNodeEstType(t,"tbody")?(r=t,i===77&&n.NSUtil.bForEach(t.childNodes,function(t){return n.NSUtil.bNodeEstType(t,"tr")?(r=t,!1):!0}),!1):!0}),r}function ti(t,i,r,u,f,e){var o=ii(i,r,e);if(!o)return!1;switch(t){case 9:case 11:ri(i,r,u,e)}return e?n.NSUtil.oSupprimeElement(o):f.removeChild(o),hr(i,r),!0}function ii(n,t,i){return er(n+"_"+t,i)}function er(n,t){var r=document.getElementById(n),i;if(r&&t)for(i=r.parentElement;i&&i!==t&&ct(i);)r=i,i=r.parentElement;return r}function ct(t){var i=!1;return n.NSUtil.bForEach(t.childNodes,function(n){if(!nc(n)){if(i)return!1;i=!0}return!0})}function nc(n){return n.nodeName!=="#text"?!1:0===n.nodeValue.replace(tu,"").length}function ri(n,t,i,r){for(var u=0;u<i;u++)or(n,!0,u,t,r),or(n,!1,u,t,r)}function or(t,i,r,u,f){n.NSUtil.oSupprimeElement(sr(t,i,r,u,f))}function sr(n,t,i,r,u){return er(n+"-"+(t?"H":"B")+"-"+i+"-"+r,u)}function hr(n,t){var i=document.getElementById("rgs-"+n+"-"+t);i&&i.parentNode&&i.parentNode.removeChild(i)}function lt(n){return n.replace(iu,"").replace(fu," ")}function tc(n,t,i,r,u){for(var e,f=0;f<r;f++)if(e=sr(n,t,f,i,u),e)return e;return null}function ic(t,i,r){var u,f,e;if(r.startsWith("<style "))if(hr(t,i),u=document.getElementsByTagName("head")[0],!n.NSUtil.bIE||10<=n.NSUtil.nIE)u.insertAdjacentHTML("beforeend",r);else try{f=n.NSUtil.oCreeFeuilleStyle("rgs-"+t+"-"+i);f.cssText=r.substring(r.indexOf(">")+1,r.lastIndexOf("<"))}catch(o){}else e=r.split("}"),n.NSUtil.bForEach(e,function(n){return rc(n),!0})}function rc(t){var r=t.indexOf("{"),u,i,f,e;r<=0||(u=t.substring(0,r),i=t.substring(r+1),i=cr(i,!0,!0),f=n.NSUtil.oGetFeuilleStyle(document.getElementsByTagName("style")[0]),e=u.split(","),n.NSUtil.bForEach(e,function(t){if(t=cr(t).replace(ru,""),t.length===0||t==="#")return!0;var r=uc(n.NSUtil.bIE?t:t.toLowerCase());return i&&n.NSUtil.CreeStyle(r||f,t,i),!0}))}function uc(t){var i;return n.NSUtil.bForEach(document.getElementsByTagName("style"),function(r){var u=n.NSUtil.oGetFeuilleStyle(r),f=n.NSUtil.tabGetStyleReglesFusion(u);return n.NSUtil.bForEach(f,function(r,f){var o=r.selectorText,e;return o?(e=o.split(","),n.NSUtil.bForEach(o.split(","),function(o,s){if(o=n.NSUtil.sRemplaceEspaces(o),o.toLowerCase()===t){e.splice(s,1);var h=r.style.cssText;return n.NSUtil.StyleSupprime(u,f),0<e.length&&n.NSUtil.CreeStyle(u,e.join(","),h),i=u,!1}return!0})):!0})}),i}function cr(n,t,i){var r,u,f;for(t===void 0&&(t=!1),i===void 0&&(i=!1),u=0;u<n.length;){if(r=n.charAt(u),t&&r===" "){u++;continue}if(i&&r==="\t"){u++;continue}if(t&&(r==="\r"||r==="\n")){u++;continue}break}for(f=n.length;f>u;){if(r=n.charAt(f-1),t&&r===" "){f--;continue}if(i&&r==="\t"){f++;continue}if(t&&(r==="\r"||r==="\n")){f++;continue}break}return n.substring(u,f)}function at(n){var t=n.substring(0,4).toLowerCase();return"<tr>"===t||"<tr "===t}function lr(n){var t=n.substring(0,4).toLowerCase();return"<td>"===t||"<td "===t}function vt(t,i,r,u){i=r?i+"<\/tr>":"<tr>"+i;var f=n.NSUtil.oCreateContextualFragmentSelonElement(t,i).childNodes;f.length>1&&(r?t.parentNode.insertBefore(f[0],t):t.parentNode.insertBefore(f[1],t.nextSibling));u?t.replaceChild(f[0].firstChild,u):r?t.parentNode.insertBefore(f[0],t):t.previousSibling.appendChild(f[0])}function ar(t,i){t.parentNode.replaceChild(n.NSUtil.oCreateContextualFragmentSelonElement(t,i),t)}function vr(t,i){i&&t.parentNode.insertBefore(n.NSUtil.oCreateContextualFragmentSelonElement(t,i),t)}function yr(t,i){var r,u;if(i)for(r=document.createRange(),r.setStart(t,0),u=n.NSUtil.oCreateContextualFragment(r,i).childNodes;u.length>0;)t.appendChild(u[0])}function fc(t,r,u,f){var h=t(0),c,e,o,l,s,a,y;if(h)for(c=1,e=u.firstChild;e;e=e.nextSibling){o=f+"_"+c;switch(e.nodeName){default:case yf:switch(r){case 5:l=document.getElementById(o);switch(v(e,pf,0)){case 1:l.checked=!0;break;case 2:l.checked=!1}
4ui(e,o,1);break;case 6:ui(e,o,1);break;case 132:ui(e,o,2);break;default:s=h.options;a=new Option(i(e),String(s.length+1));k(e,"VALMEM")&&a.setAttribute("data-wb-valmem",w(e,"VALMEM"));s[s.length]=a}c++;break;case le:y=h.options;y[y.length]=new Option(i(e),"-1")}}}function ui(t,r,u){for(var e,o,f=document.querySelector("label[for='"+r+"']"),s=0;s<u&&f;s++)e=f.getElementsByTagName("span"),f=e&&e[0];f&&(o=b(t,wf),f.innerHTML=n.NSUtil.sEncodeInnerHTML(i(t),!o,o))}function ec(t,i,r){var s=t(0),f,e,h,c,l,o,u,a,v;s&&(f=s,k(i,li)&&(e=n.NSChamps.oGetChampSansCreation(r),e&&(h=w(i,li),c=e.viGetAsGraphe(),c?c.DeduitParamBarre(h):(l=e.viGetAsParametres(),l&&l.DeduitParam(h)))),o=new RegExp("("+r+"\\=)(\\d+)","i"),u=f.src,o.test(u)?f.src=u.replace(o,function(n,t,i){return t+(parseInt(i,10)+1)}):(a=new RegExp("("+r+"\\=)([^\\d]|$)","i"),a.test(u)&&(f.src=u.replace(a,function(n,t,i){return t+Date.now()+i}))),v=s.parentElement,n.NSUtil.bNodeEstType(v,"a")&&pr(v,r,o,function(n,t,i){return t+(parseInt(i,10)+1)}))}function pr(n,t,i,r){if(n.onclick){var u=fi[t]||n.getAttributeNode("onclick").value;i.test(u)&&(u=u.replace(i,r),n.onclick=new Function("",u),fi[t]=u)}}function oc(n,t,i){var c=v(n,ai,0),r=s(n,gf,""),f=-1,e,o,h,u;r&&!isNaN(parseInt(r,10))&&(f=parseInt(r,10),r.indexOf(";")>-1&&(e=r.substring(r.indexOf(";")+1)));o=v(n,ne,undefined);h=s(n,df,undefined);i&&i.m_oTableAJAX.sGetAlias()===t&&i.SupprimeRequete(!1);u=oGetObjetChamp(t);u&&u.Refresh(c,f,e,h,o,n.firstChild)}function sc(n,t){var e,f,u,o,s,h;if("undefined"!=typeof $&&(e=$("."+t),f=e.add(e.find("input")).last(),ut(n,ie,"filtre",f,r),ut(n,re,"ouvertureauto",f,b),ut(n,ue,"taillemin",f,r),ut(n,fe,"delai",f,r),ut(n,ee,"sanscasse",f,r),u=n.firstChild,u)){for(f.autocomplete("wbRazAutocompleteProg"),o=[];u;u=u.nextSibling)switch(u.nodeName){case oe:s=i(u);h=k(u,"VALMEM")?[s,w(u,"VALMEM")]:s;o.push(h)}f.autocomplete("wbConcatAutocompleteProg",o)}}function hc(n,t){var r=document.getElementsByName(t)[0],u=document.getElementsByName(t+"_DATA")[0];r&&u&&(u.value=i(n),r.wbJetonChargeDepuisChampCache())}function cc(n,t){var r=document.getElementsByName(t)[0];r&&r.wbSaisieMasqueSetJSON(i(n))}function ut(n,t,i,r,u){k(n,t)&&r.data("saisieassistee-"+i,u(n,t))}function lc(n,t){var r,u;document.getElementsByName(t+"_AS")[0].value=i(n.childNodes[0]);document.getElementsByName(t)[0].value=i(n.childNodes[1]);r=i(n.childNodes[2]);document.getElementsByName("NEX_"+t)[0].value=r;window["oItems_"+t]=r.split(",");u=document.getElementById(t+"_");u.innerHTML=i(n.childNodes[3])}function ac(n){eval(i(n))}function vc(n){var t=decodeURI(i(n));return document.location.assign(t),"tel:"!==t.substring(0,4)&&"email:"!==t.substring(0,6)}function yc(t,r,u){function l(t,i){t&&i&&o.push(n.NSUtil.sGetInnerText(t))}for(var h=t.ownerDocument,c=h.body,f=n.NSUtil.GetElementParId(si,h),e=i(r),o=[],s=void 0;s=n.NSUtil.GetElementParId(yu,document);)l(s,u),n.NSUtil.oSupprimeElement(s);if(u&&(l(f,!0),e&&o.push(e),e=o.join("\r\n")),e.length===0){n.NSUtil.oSupprimeElement(f);return}f||(f=document.createElement("div"),f.id=si,f.style.width="1024px",f.style.backgroundColor="#ffd264",f.style.color="#000000",f.style.fontFamily="Courier New,Courier,mono",f.style.fontSize="small",f.style.textAlign="left",f=c.insertBefore(f,c.firstElementChild));f.innerHTML=n.NSUtil.sEncodeInnerHTML(e,!0)}function pc(t){n.NSUtil.bForEach(wr,function(n){var i=n[0];if(i===(t&i))try{n[1]()}catch(r){}return!0})}function wc(t){var e=s(t,"parentnom",""),o=v(t,"parenttype",0),u=s(t,"nom",""),f=i(t),r;u&&f&&(r=n.NSValues.xiGetVariable(u,e,o),r&&n.NSOperations.Deserialise(r,f,1024))}function bc(t){var r=i(t);if(r)try{clWDUtil.oGetImageInformations(n.NSUtil.xoEvalJSON(r,!1))}catch(u){}}function f(t,i,r){var u=n.NSChamps.oGetChampSansCreation(t);u&&u.viGetPropriete(1,i).vSetValeur(r,0,{})}function br(t,i,r,u){n.NSChamps.oGetObjetInformationsPartielles(t,i).viGetPropriete(1,r).vSetValeur(u,0,{})}function i(t){var i="";return t&&n.NSUtil.bForEach(t.childNodes,function(n){var t=n.nodeValue;return t&&(i+=t),!0}),i}function ft(n){return parseInt(i(n),10)}function yt(n){return i(n)!=="0"}function w(n,t){return n.attributes.getNamedItem(t).value}function s(n,t,i){var r=n.attributes.getNamedItem(t);return r?r.value:i}function r(n,t){return parseInt(w(n,t),10)}function v(n,t,i){var r=s(n,t,"");return r?Number(r)||i:i}function b(n,t){return s(n,t,"0")==="1"}function k(n,t){return!!n.attributes.getNamedItem(t)}var kr=["","GET","POST","PUT","DELETE","HEAD","PATCH","COPY"],dr="WebDevError",gr="WebDevRedirPHP",nu="WebDevXMLDoc",tu=/[\s]/g,iu=/[\r\n\t]/g,ru=/[\r\n]/g,uu=/\n/g,fu=/\s(\s)+/g,eu=/\(\'([^\']*)\'/,ou="WAJAX",ei=/<WAJAX>/,su="JS",hu="REDIR",cu="CHAMP",oi="LISTE",lu="RESULTAT",au="FORMAT",vu="TRACE",si="WDAJAX_TRACE",yu="WB_TRACE",pu="LIENSOCIAL",wu="VARSYNC",bu="GALERIESIDS",ku="ALIAS",du="TYPE",gu="PROP",hi="NUM",nf="ATT",tf="JS",rf="LIGNES",uf="DEBUT",ff="NOMBRE",ef="SELECTION",of="RUPTURES",sf="COLONNES",hf="DATA",ci="INDICE",cf="STYLE",lf="INVISIBLE",af="REPLIEE",vf="OPTIONS",yf="OPTION",pf="COCHE",wf="HTML",bf="RECHARGE",li="PARAM",kf="REFRESH",df="DATA",gf="DEBUT",ne="NOMBRE",ai="RESETTABLE",te="SAISIEA",ie="FILTRE",re="OUVERTUREAUTO",ue="TAILLEMIN",fe="DELAI",ee="SANSCASSE",oe="OPTION",se="SANSOPTION",he="SAISIEAJETON",ce="SAISIEMASQUE",le="SATURATION",ae="TREEVIEW",ve="ETAT",ye="TABLE_AJAX",pe="PARENTRELATIF",we="PARENTRELATIF",pt="WD_ACTION_=AJAXEXECUTE",o="WD_ACTION_=AJAXCHAMP",d="WD_ACTION_=AJAXPAGE",be="WD_ACTION_",wt="EXECUTE",vi="SCROLLTABLE",yi="CLICTABLE",y="ACTIONCHAMP",ke="SAISIEASSISTEE",e="WD_CONTEXTE_",de="PLANDIFFERE",ge="IMAGEINFORMATIONS",no=0,g=[],bt=0,pi=function(){function t(n){this.m_oInterne=n;this.m_nID=to();this.m_bValide=!0;this.m_oXMLHttpRequest=new XMLHttpRequest}return t.prototype.vLibere=function(){gt(!1)},t.prototype._Envoi=function(t,i){var r;gt(!1);var f=t.m_sContenu,h=t.m_sURL,o=t.m_eMethodeHTTP;0===o&&(o=f?2:1);var c=!1,u=t.m_sUtilisateur,e=t.m_sMotDePasse,s;u?u&&!e?(s="Bearer "+u,e=undefined):btoa&&(s="Basic "+btoa(u+":"+e)):(u=undefined,e=undefined);switch(o){case 1:case 4:case 5:f&&(h+=(-1===h.indexOf("?")?"?":"&")+f);f=undefined;break;default:c=!0}this.m_bValide=!1;r=this.m_oXMLHttpRequest;try{r.open(kr[o],h,i,u,e);n.NSUtil.bForEachIn(t.m_oEntetesHTTPSupplementaires||{},function(n,t){return n.toLowerCase()==="content-type"&&(c=!1),r.setRequestHeader(n,t),!0});wi(r.upload,t.m_pfAvancementEnvoi);wi(r,t.m_pfAvancementTelechargement);c&&r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");s&&(r.setRequestHeader("Authorization",s),r.withCredentials=!0);t.m_bContenuReponseBrut&&(r.responseType="arraybuffer");r.send(f)}catch(l){throw new n.CErreur(500,l.message);}if(n.NSUtil.bIE&&XMLHttpRequest.DONE===r.readyState&&1e4<r.status)throw new n.CErreur(500,r.status);},t.prototype._bValideResultat=function(){var i=this.m_oXMLHttpRequest,r,f,u,t;if((this.m_bValide=!1,i.readyState!==XMLHttpRequest.DONE)||(r=i.status,0===r||400<=r))return!1;if(this.m_oInterne){if(this.__bHeaderHTTPExiste(gr))return f=i.responseText,document.location.replace(decodeURI(f)),!1;if(this.__bHeaderHTTPExiste(dr))return u=i.responseText,this.vLibere(),kt(),n.NSUtil.bIE?(t=document.open("text/html","replace"),t.write(u),t.close()):(t=document,n.NSUtil.nSetTimeout(function(){t.write(u);document.close()},n.NSUtil.ms_oTimeoutImmediat)),!1}return this.m_bValide=!0,!0},t.prototype.__bHeaderHTTPExiste=function(n){try{var t=this.m_oXMLHttpRequest.getResponseHeader(n);return!!t}catch(i){return!1}},t.prototype._oGetResultat=function(){var t,i,u,f,r,e;if(this.m_bValide){if(t=this.m_oXMLHttpRequest,"arraybuffer"===t.responseType)return"";if(i=t.responseText,this.m_oInterne){if(u=!1,i.substring(0,5)==="<?xml"&&i.match(ei))return f=[],ht(this,this.m_oInterne.m_oFormulaire,null,t.responseText,t.responseXML,f),u=!0,f[0];try{if(r=t.getResponseHeader(nu),r&&(e=u?gi(i):t.responseXML,e))return n.NSOperations.oXMLA
4joutDoc(r,e),r}catch(o){}}return i}return""},t}(),io=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vEnvoi=function(n){try{bt++;this._Envoi(n,!1)}finally{bt--;gt(!1)}},t.prototype.oGetResultat=function(){return this._bValideResultat(),{m_oXMLHttpRequest:this.m_oXMLHttpRequest,m_oResultat:this._oGetResultat()}},t.prototype.eReponseGenerique=function(n){if(this._bValideResultat()){var t=this.m_oXMLHttpRequest;return ht(this,n,null,t.responseText,t.responseXML,[])}return 0},t}(pi),ro=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_pfCallback=i,g.push(r),r.m_oXMLHttpRequest.onreadystatechange=function(){r.__OnReadyState()},r}return __extends(i,t),i.prototype.vEnvoi=function(n){this._Envoi(n,!0)},i.prototype.vLibere=function(){n.NSUtil.SupprimeDansTableau(g,this,!0);var i=this.m_oXMLHttpRequest;i.onreadystatechange=n.NSUtil.VideUndefined;n.NSUtil.bFF&&i.readyState<XMLHttpRequest.DONE&&i.abort();t.prototype.vLibere.call(this)},i.prototype.__OnReadyState=function(){var n=this.m_oXMLHttpRequest;if(n.readyState===XMLHttpRequest.DONE){var r=!1,i=this.m_oInterne,t=i?i.m_iRequeteTable:undefined;this._bValideResultat()&&(t?r=0!==ht(this,i.m_oFormulaire,t,n.responseText,n.responseXML,[]):this.m_pfCallback&&this.m_pfCallback({m_oXMLHttpRequest:n,m_oResultat:this._oGetResultat()},this.m_nID));t&&t.SupprimeRequete(!r);this.vLibere()}},i}(pi),bi=!0,ki=!1,l=undefined,et=undefined,dt=undefined,ir,fi,wr;t.ExecuteEvenementAsynchrone=fo;var ot=!1,st=null,so=0;t.oRequeteSynchroneTexte=ao;t.nRequeteAsynchroneTexte=vo;t.eReponseGeneriqueDepuisTexte=yo;t.bValideEtTraiteErreur=nr;ir=[,rr,,go,ts,is,rs,,,,us,es,os,,,,,,hs,,,rr,,,,,,cs,,,,,,ls,as,,,,vs,ys,,ps,ws,bs,,,,ks,ds,gs,nh,th,ih,rh,uh,fh,,,eh,,,,,,,,sh,,,,,,,,,,,,,,,,,,,,,,,,hh,,,,,,ns,,,,,,,,,,,,,,,,,ch,,lh,,,ah,,,,vh,yh,,,,,,,,ph,,,,,,,,,,,,,,,,,,,,,,,wh,bh];t.oSauteTableCadrage=p;t.ms_DataWBAttributHTML="data-wb-attributhtml";t.ms_sDataWBAttributHTMLSeparateur=":";fi={};wr=[[1,function(){FB.XFBML.parse()}],[2,function(){twttr.widgets.load()}],[8,function(){IN.init()}]]})(t=n.NSAjax||(n.NSAjax={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(n){var r=n.veGetTypeWL(),t;if(31==r)switch(typeof n.valueOf()){case"boolean":return 0;case"number":return 3;case"string":return 5}return t=i[r],undefined!==t?t:5}n.eGetTypeOperande=t;var i=[,0,3,3,3,1,3,3,3,2,4,3,3,4,2,,5,,,5,,,,,6,7,8,9,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,11]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function yt(i,r,u){var f=pt[i],e=n.iGetAsRValue(r,1),o=n.iGetAsRValue(u,1);if(e||o){var s=lt(r,e),h=lt(u,o),c=t.eGetTypeOperande(s),l=t.eGetTypeOperande(h);return f.m_tabBase[c][l](s,h)}return f.m_pfNatif(r,u)}function lt(t,i){return i||n.NSTypes.iNatif2RValue(t)}function i(){throw new n.CErreur(601);}function wt(n,t){return n+t}function r(t,i){return n.NSTypes.ms_DescriptionChaine.viCreationCopie(String(t)+String(i),3)}function w(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)+i.vnToNumber(0),3)}function f(n,t){return n.oAdditionNumerique(t)}function h(n,t){return f(n,n.oConversionTypeNumerique(t))}function a(n,t){return h(t,n)}function b(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(i.valueOf()+r.vnToNumber(0)))}function it(n,t){return b(t,n)}function k(n,t){return n.oAdditionOffset(t.vnToNumber(0))}
4function rt(n,t){return k(t,n)}function bt(t,i){return new n.NSTypes.CDuree(t.valueOf()+i.valueOf())}function kt(n,t){return n.oAddition(t)}function dt(n,t){return n.oAddition(t)}function gt(n,t){return n-t}function at(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)-i.vnToNumber(0),3)}function u(n,t){return n.oSoustractionNumerique(t)}function v(n,t){return u(n,n.oConversionTypeNumerique(t))}function ut(n,t){return u(t.oConversionTypeNumerique(n),t)}function ft(n,t){return n.oSoustractionDate(t)}function et(n,t){return n.oSoustractionDuree(t)}function ni(t,i){return new n.NSTypes.CDuree(t.valueOf()-i.valueOf())}function ti(n,t){return n.oSoustraction(t)}function ii(n,t){return n*t}function d(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)*i.vnToNumber(0),3)}function e(n,t){return n.oMultiplicationNumerique(t)}function c(n,t){return e(n,n.oConversionTypeNumerique(t))}function y(n,t){return c(t,n)}function p(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(i.valueOf()*r.vnToNumber(0)))}function g(n,t){return p(t,n)}function ot(t,i){var r=t/i;if(isNaN(r)&&0===i)throw new n.CErreur(216);return r}function st(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(ot(t.vnToNumber(0),i.vnToNumber(0)),3)}function o(n,t){return n.xoDivisionNumerique(t)}function l(n,t){return o(n,n.oConversionTypeNumerique(t))}function ht(n,t){return o(t.oConversionTypeNumerique(n),t)}function nt(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(ot(i.valueOf(),r.vnToNumber(0))))}function vt(t,i){var r=t%i;if(isNaN(r)&&0===i)throw new n.CErreur(216);return r}function ri(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(vt(t.vnToNumber(0),i.vnToNumber(0)),3)}function s(n,t){return n.xoModuloNumerique(t)}function tt(n,t){return s(n,n.oConversionTypeNumerique(t))}function ct(n,t){return s(t.oConversionTypeNumerique(n),t)}t.oBinaire=yt;var pt=[{m_pfNatif:wt,m_tabBase:[[w,a,a,w,a,r,r,r,i,i,i,i],[h,f,f,h,f,r,r,r,i,it,i,i],[h,f,f,h,f,r,r,r,i,it,i,i],[w,a,a,w,a,r,r,r,i,it,i,i],[h,f,f,h,f,r,r,r,i,i,i,i],[r,r,r,r,r,r,r,r,r,r,i,i],[r,r,r,r,r,r,r,r,i,k,i,i],[r,r,r,r,r,r,r,r,i,k,i,i],[r,r,r,r,r,r,r,r,r,k,i,i],[i,b,b,b,i,r,rt,rt,rt,bt,i,i],[i,i,i,i,i,i,i,i,i,i,kt,i],[i,i,i,i,i,i,i,i,i,i,i,dt]]},{m_pfNatif:gt,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[at,ut,ut,at,ut,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,ft,i,i,et,i,i],[i,i,i,i,i,i,i,ft,i,et,i,i],[i,i,i,i,i,i,i,i,ft,et,i,i],[i,i,i,i,i,i,i,i,i,ni,i,i],[i,i,i,i,i,i,i,i,i,i,ti,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:ii,m_tabBase:[[d,y,y,d,y,i,i,i,i,i,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[d,y,y,d,y,i,i,i,i,g,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,p,p,p,p,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:ot,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[l,o,o,l,o,i,i,i,i,i,i,i],[l,o,o,l,o,i,i,i,i,i,i,i],[st,ht,ht,st,ht,i,i,i,i,i,i,i],[l,o,o,l,l,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,nt,nt,nt,nt,i,i,i,i,st,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:vt,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[i,s,s,tt,s,i,i,i,i,i,i,i],[i,s,s,tt,s,i,i,i,i,i,i,i],[i,ct,ct,ri,ct,i,i,i,i,i,i,i],[i,s,s,tt,tt,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]}]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,u){var f=r[t],e=n.NSUtil.nGetEntier(i),o=n.NSUtil.nGetEntier(u);return f(e,o)}t.nBinaire=i;var r=[function(n,t){return n&t},function(n,t){return n|t},function(n,t){return n^t},function(n,t){return n<<t},function(n,t){return n>>t}]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(t,i,r){function f(n,t){if(undefined!==n){var i=String(n);return(0===i.length||0===t(i,u))&&(u=""),i}return""}var u=String(i),e=f(t,n.NSUtil.nCompareChaineFiniPar),o=f(r,n.NSUtil.nCompareChaineCommencePar);return e+u+o}function f(u,f){var p,w,b,ut,nt,o;if(isNaN(n.NSUtil.dGetReel(u)))return String(u);var ft=t.oNumerique(3,u),s=String(f),h=0,l=s.length-1,y=s.charAt(h)==="-";y&&h++;p=s.charAt(h)==="+";p&&h++;
4w=s.charAt(h)==="0";w&&h++;b=s.charAt(l).toLowerCase()==="s";b&&l--;var c,k=10,tt=s.charAt(l),it=tt.toLowerCase(),a;switch(it){case"d":c=i;break;case"e":c=e;a=6;break;case"f":c=r;a=6;break;case"o":c=i;k=8;break;case"x":c=i;k=16;break;default:return""}l--;var et=tt!==it,d=s.substring(h,l+1),g=parseInt(d,10),v=0,rt=d.indexOf(".");for(-1!==rt?v=parseInt(d.substring(rt+1),10):undefined!==a?v=a:(ut=String(u),nt=ut.indexOf("."),-1===nt&&(v=g-nt-1)),o=c(y,p,w,g,v,b,u,ft,k);o.length<g;)y?o+=" ":o=" "+o;return et&&(o=o.toUpperCase()),o}function i(i,r,u,f,e,o,s,h,c){var l=t.oNumerique(1,s).toString(c),v,y,a;if(h&&"-"===l.charAt(0)&&(l=l.substring(1)),o){for(v=[],y=Math.ceil(l.length/3),a=0;a<y;a++)v.unshift(l.substring(l.length-3*(a+1),l.length-3*a));l=v.join(" ")}if((r||h)&&f--,!i&&u)while(l.length<f)if(o&&l.length%4==3){if(l.length===f-1)break;l=" "+l}else l="0"+l;return(r||h)&&(l=(h?"-":"+")+l),l}function e(i,u,f,e,o,s,h,c){var l=t.oNumerique(6,t.oNumerique(0,h)),a="e"+(0<=l?"+":"-")+n.NSUtil.sCompleteEntierChaine(String(Math.abs(l)),2),v=r(i,u,f,Math.max(0,e-a.length),o,s,t.oBinaire(3,h,Math.pow(10,l)),c);return v+a}function r(r,u,f,e,o,s,h,c){var p=i(r,u,f,e-(o+1),o,s,t.oNumerique(2,h),c,10),a,v,y,l;return 0<o&&(a=n.iGetAsRValue(h,1),v=void 0,v=a&&n.NSTypes.bIsNumerique(a)?a:n.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(h,3),y=t.oNumerique(0,v),l=String(t.oNumerique(1,t.oBinaire(1,y,t.oNumerique(2,y)),o)),l=l.substring(2,l.length),p+="."+n.NSUtil.sCompleteWL(l,o,"0")),p}function o(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return String(n).replace(/\%(?:(?:(\d+)\x08{0,1})|(\%))/g,function(n,t,r){if(t){var u=parseInt(t,10);if(u<=i.length)return String(i[u-1])}else if(r)return"%";return""})}function s(t){var i=n.NSTypes.oGetArrayBuffer(t);return i?i.byteLength:String(t).length}t.sConcatSeparateur=u;t.sNumeriqueVersChaine=f;t.ChaineConstruit=o;t.Taille=s})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(n,t,r){return f(i(n).wbJetonAjoute(u(t),undefined!==r?String(r):undefined))}function o(t,r,e){return f(i(t).wbJetonInsere(n.NSUtil.nGetEntier(r),u(e)))}function s(n){return i(n).wbJetonOccurrence()}function h(n,t){return i(n).wbJetonSupprime(l(t))}function c(n){i(n).wbJetonSupprimeTout()}function r(n){return n&&!!n.wbGetJetonValeurAfficheeChampSaisie?n:null}function i(t){var u=n.NSUtil.GetElementParIdName(t,document,!1,!1),i=r(u);if(i)return i;throw new n.CErreur(605,t);}function u(t){var r=n.NSTypes.iGetAsDino(t,70,39),i;return r?(i=r.vtGetValeurDirect(),i?n.NSUtil.oCloneSimple(i):{}):String(t)}function l(t){var r=String(t),i;try{if(i=n.NSUtil.nGetEntier(t),String(i)===r)return i}catch(u){}return r}function f(t){return!1===t?0:t+1}t.nSaisieAjouteJeton=e;t.nSaisieInsereJeton=o;t.nSaisieOccurrenceJeton=s;t.SaisieSupprimeJeton=h;t.SaisieSupprimeToutJeton=c;t.iGetWBJeton=r})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(t){for(var r,u=arguments.length-2,f=n.NSValues.oAny2Natif(t),i=1;i<=u;i++)if(f===i)return arguments[i];if(r=arguments[arguments.length-1],undefined!==r)return r;throw new n.CErreur(200,t,u);}function u(t,r,u,f,e,o){var h=n.NSValues.iAny2RValue(t),c=n.NSValues.iAny2RValue(r),s=i(t,h,r,c,u,e,o);return f?!s:s}function f(t,r){var u=n.NSValues.iAny2RValue(r);return t.some(function(t){var f=n.NSValues.iAny2RValue(t);return i(r,u,t,f,!0,!1,!1)})}function i(t,i,r,u,f,o,s){var l=e(i,u,s,f,o),h,c,a;return l?l(i,u):(h=n.NSUtil.s_oPreparePourComparaisonAvecType(t,i,o,u,f),c=n.NSUtil.s_oPreparePourComparaisonAvecType(r,u,o,i,f),s&&(a=h,h=c,c=a),f?h==c:h<c)}function e(t,i,r,u){var f=t.veGetTypeWL(),e=i.veGetTypeWL();if(f===e)switch(f){case 12:if(u)return o;break;case 107:if(t instanceof n.NSWDW.CMonChampHote)return function(n,i){return t.bOperateurEgal(i)};if(i instanceof n.NSWDW.CMonChampHote)return function(n){return i.bOperateurEgal(n)}}return undefined}function o(t,i){var u=n.NSUtil.dGetReel(t),f=n.NSUtil.dGetReel(i),r=u-f;return-1e-6<r&&r<1e-6}t.oSelon=r;t.bComparaison=u;t.bDansTableau=f})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(t,f){var e,s;switch(f){default:case 0:e=r;break;case 1:case 2:e=u;break;case 3:if(0===i.length)for(s=123;s<=133;s++)i.push(new clWDUtil.WDDinoCouleur(_COL[s]).toNumber());e=i}return n.NSTypes.oCreeDinoCouleur(o(t,f,e))}function o(t,i,r){if(t<0)return undefined;if(t=t%(r.length*11),t<r.length&&i!=2)return r[t];var s=t%r.length,h=r[s],f=t/r.length|0;var e=new clWDUtil.WDDinoCouleur(h),o=e.tabGetTSLA(),u=o[2];return f<=2?u+=f*.045:u-=(f-2)*.045,i==2?(u*=1.5,u=Math.max(u,.8),u=Math.min(u,.99)):(u=Math.max(u,.1),u=Math.min(u,.92)),o[2]=u,e.SetTSLA(o),e}function s(t,i){var r=n.NSUtil.nGetEntier(t,0)-1,u;return-1===r&&(r=f++),u=n.NSUtil.nGetEntier(i,0),e(r,u)}function h(t,i){var r=clWDUtil.WDDinoCouleur.s_oGetDinoCouleur(t),u=n.NSValues.oAny2Natif(i);wbEditeurImageSelectCouleur({color:{r:r.GetProp(0),g:r.GetProp(1),b:r.GetProp(2),a:r.GetProp(3)/255},onChange:function(t,i,r,f){var e=clWDUtil.WDDinoCouleur.s_oRVB(t,i,r),o;e.SetProp(3,f*255);u[n.ms_oSymbolDepuisWLEnV2]?(o=n.NSTypes.oGetDescriptionDINO(61,1).m_oDescriptionDynamique.viCreation(n.iGetValeurInitiale(e,3)),u(o)):u(e)}})}var r=[6930431,13082111,16293335,16753586,15249255,15123301,13358942,7463816,3400880,2878424,4248831],u=[2998158,14924906,13403187,9408399,16473515,15739277,6730751,3117270,4248831,11625687,11350988],i=[],f=0;t.oDonneCouleur=s;t.SelectCouleur=h})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function l(t,i){return n.NSTypes.CDuree.xoChaineVersDuree(t,c(i))}function a(i,u){return t.nArrondiVersZero(r(i,u,n.NSTypes.ms_DescriptionDate)/864e5)}function v(t,i){return f(r(t,i,n.NSTypes.ms_DescriptionDateHeure),"+/-JJJJJJJHHMMSSLL")}function y(t,i){n.NSTypes.SetDateHeureDefaut(t,i)}function p(t){return i(t,n.NSTypes.ms_DescriptionDate).vnToNumber(0)}function w(){return n.NSUtil.sGetDateHeureWL(new Date,!1,24)}function f(t,i){return n.NSTypes.ms_DescriptionDuree.viCreationCopie(t,3).sDureeVersChaine(c(i))}function b(t,r){var f=i(t,n.NSTypes.ms_DescriptionDate),u=f.vtGetValeurDirect().m_oDate;switch(String(r)){case"A":case"Y":return n.NSUtil.sCompleteEntier(u.getFullYear(),4);case"M":return n.NSUtil.sCompleteEntier(u.getMonth()+1,2);case"J":case"D":return n.NSUtil.sCompleteEntier(u.getDate(),2);default:return f.toString()}}function k(n){return e(-1,n)}function d(n){return e(1,n)}function e(t,r){var u=n.NSTypes.ms_DescriptionDate,e,f,o;return undefined!==r&&(f=n.NSTypes.iGetDescriptionDepuisValue(r),26===f.veGetTypeWL()&&(u=f),o=i(r,u),e=n.iGetValeurInitiale(o,0)),u.viCreation(e).oAdditionOffset(t*864e5)}function g(t){return i(t,n.NSTypes.ms_DescriptionHeure).toString().substring(0,8)}function nt(n){var t=o(n);return t||7}function tt(t){return n.NSUtil.sGetJourSemaine(o(t))}function it(t){return n.NSUtil.sGetMois(u(t,n.NSTypes.ms_DescriptionDate).getMonth())}function rt(i,u){return t.nArrondiVersZero(r(i,u,n.NSTypes.ms_DescriptionHeure)/10)}function ut(t){return i(t,n.NSTypes.ms_DescriptionHeure).vnToNumber(0)}function ft(){return n.NSUtil.sGetDateHeureWL(new Date,!1,25)}function et(t){var o=i(t,n.NSTypes.ms_DescriptionDate),u=n.NSTypes.ms_DescriptionDate.viCreationCopie(o,0),e;u.viGetPropriete(0,2).vSetValeur(1,0,{});u.viGetPropriete(0,1).vSetValeur(1,0,{});var s=u.vnToNumber(0),f=o.vnToNumber(0)-s,r=(s+657071)%7;switch(r){default:case 0:r=7;
4case 5:case 6:return e=8-r,e<=f?Math.floor((f-e)/7)+1:0;case 1:case 2:case 3:case 4:return Math.floor((f+r-1)/7)+1}}function r(n,t,i){return h(t,i)-h(n,i)}function o(t){return u(t,n.NSTypes.ms_DescriptionDate).getDay()}function i(n,t){var i,r;try{return s(n,t)}catch(u){if(i=String(n),ot.exec(i)){r=void 0;switch(t.veGetTypeWL()){case 24:r=i.substring(0,8);break;case 25:r=i.substr(8,9)}if(undefined!==r)try{return s(i.substring(0,8),t)}catch(f){}}throw u;}}function s(t,i){return i.viAffectation(i.viCreation(),n.iGetValeurAffectation(t,0,{m_bAvecErreur:!0}))}function h(n,t){return u(n,t).getTime()}function u(n,t){return i(n,t).vtGetValeurDirect().m_oDate}function c(n){var t=String(n);switch(t){case"0":return"+JHHMMSSLLL";case"1":return"+JHHMMSSLL";default:return t}}t.oChaineVersDuree=l;t.nDateDifference=a;t.nDateHeureDifference=v;t.DateHeureParDefaut=y;t.nDateVersEntier=p;t.sDateSys=w;t.sDureeVersChaine=f;t.sEntierVersDate=b;t.oHier=k;t.oDemain=d;t.sEntierVersHeure=g;t.nEntierVersJour=nt;t.sEntierVersJourEnLettres=tt;t.nEntierVersMoisEnLettres=it;t.nHeureDifference=rt;t.nHeureVersEntier=ut;t.sHeureSys=ft;t.nNumeroDeSemaine=et;var ot=/^\d{8}(?:(?:(?:[0-1]\d)|(?:2[0-3]))(?:[0-5]\d)(?:[0-5]\d(?:\d\d(?:\d)?)?)?)?$/})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){function u(){return t<f.length?s():i()}function s(){return h(t++)}function v(){return h(t-1)}function h(n){return f[n]}for(var t,o,l,a,f=[],e=0;e<arguments.length;e++)f[e]=arguments[e];t=0;o=n.NSTypes.oGetRectangle(u());null===o&&(o=n.NSTypes.oGetRectangleXYXY(n.NSUtil.nGetEntier(v(),0),n.NSUtil.nGetEntier(u(),0),n.NSUtil.nGetEntier(u(),0),n.NSUtil.nGetEntier(u(),0)));var y=u(),p=s(),c=s();t<f.length&&i();l=r(y,0,0,function(t){var i=n.NSTypes.ms_oDescriptionDinoCadre.m_oDescriptionDynamique.viCreation();return i.viGetMembre("Arrondi",0,0).vSetValeur(n.NSUtil.dGetReel(t,0)/2,0,{}),undefined!==c&&i.viGetMembre("Couleur",0,0).vSetValeur(c,0,{}),i.vtGetValeurDirect()},i);a=r(p,61,8,function(t){var i=n.NSTypes.ms_oDescriptionDinoFond.m_oDescriptionDynamique.viCreation();return i.viGetMembre("Couleur",0,0).vSetValeur(t,0,{}),i.vtGetValeurDirect()});__dRectangleArrondi(o,l,a)}function f(t,i,u){var f=n.NSTypes.oGetRectangle(t),e,o;if(null===f)throw new n.CErreur(601);e=r(i,0,0);o=r(u,61,8);__dCadre(f,e,o)}function i(){throw new n.CErreur(601);}function r(t,r,u,f,e){if(f===void 0&&(f=i),e===void 0&&(e=function(){return undefined}),undefined!==t){var o=n.NSTypes.iGetAsDino(t,r,u);return undefined!==o?o.vtGetValeurDirect():f(t)}return e()}t.dRectangleArrondi=u;t.dCadre=f})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(t,i,r){return n.NSUtil.oGetProprieteSimple(t,i,undefined,r||n.NSProprietes.ms_sInconnue)}function s(t,i){return n.NSUtil.oGetProprieteSimple(function(){if(0<=t){if(t<=6)return clWDSQLManagerMain.GetVariableRequete(+t);if(t<=13)return WDDnDNatifChamp.prototype.s_oGetVariable(t-7);if(t<=16)return WDGesture.prototype.GetVariable(t-14)}return 0},null,undefined,i||n.NSProprietes.ms_sInconnue)}function h(t,i,r){var f=n.NSUtil.nGetEntier(r,0),e=n.NSChamps.oGetPage(t).oGetDocument(),u;if(i)if(u=n.NSUtil.GetElementParId(i,e,!1,!1),u)switch(f){case 0:return u.scrollLeft;case 1:return u.scrollTop}else return 0;else switch(f){case 0:return window.pageXOffset!==undefined?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft;case 1:return window.pageYOffset!==undefined?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}throw new n.CErreur(303,f);}function c(t){var i=l(t);i&&n.NSUtil.DonneFocus(i)}function l(t){var i=n.iGetAsRValue(t,0);if(i){if(n.NSChamps.bIsCObjet(i))return i.voGetHTMLElement();t=i.valueOf()}return n.NSUtil.bIsJQuery(t)?t.get(0):t instanceof HTMLElement?t:null}function a(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];alert(r(t,"\n"))}function v(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return confirm(r(t,"\n"))}function y(){f()}function p(){for(var n,i,u,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n=f();n&&(i=n.ownerDocument,u=i.body,n.appendChild(i.createTextNode(r(e," "))),n.appendChild(i.createElement("br")),u.scrollTop=u.scrollHeight)}function w(){u(i)&&i.ownerDocument.defaultView.close();i=null}function r(t,i){return t.map(n.NSUtil.sToString).join(i)}function u(n){if(n)try{return!n.ownerDocument.defaultView.closed}catch(t){}return!1}function f(){var r,f,n,t;return u(i)||(r="_TW_",window.name===r&&(r+="_"),f=window.open("",r,"alwaysRaised=1,dependent=1,scrollbars=1,resizable=1,screenX=0,screenY=0,width=388,height=1"),f&&(n=f.document,t=n.body,0===t.childNodes.length&&(n.title=STD_TITRE_TRACE,t.style.backgroundColor="#ffd264",t.appendChild(n.createElement("pre")).appendChild(n.createTextNode(STD_INFO_TRACE))),i=t.appendChild(n.createElement("pre")),i.style.borderTop="thin solid #808080")),i}function b(t,i,r){function u(i,u){var s,f,o;if(i<e)throw new n.CErreur(601);for(s=Math.min(e,i),f=0;f<s;f++)o=t[f],o&&o.vSetValeur(u(f),r,{})}var f=n.NSUtil.tabMiseAPlatValeursMultiples(i),e=t.length,s=f.length;if(1===s){var h=f[0],c=n.NSValues.iAny2RValue(h),o=c.viGetAsTableau();
4o?u(o.nGetNbElements(),function(n){return o.iGetSousElementIndice(n)}):u(e,function(){return h})}else u(s,function(n){return f[n]})}function k(t){var i=n.NSTypes.iGetThis(t),r;if(i){if(null===i.vtGetValeurDirect())throw new n.CErreur(615);return r=n.iGetValeurInitiale(i,2),r.m_iOptions.m_bForceClone=!0,i.viGetDescriptionType().viCreation(r,undefined)}throw new n.CErreur(601);}function d(t,i,r,u){var f=4===arguments.length?r:undefined,o=4===arguments.length?u:r,s=n.NSValues.oAny2Natif(o);e(function(t){s(new n.NSTypes.CBuffer(t))},t,i,f)}function e(t,i,r,u){function o(t){if(t)throw new n.CErreur(1101);}function e(n,t,i){crypto.subtle.digest(n,t).then(i,c(i))}function s(t,i,r,u){o(n.NSUtil.bEdge);var f=c(u);window.crypto.subtle.importKey("raw",h(r),{name:"HMAC",hash:t},!1,["sign"]).then(function(n){window.crypto.subtle.sign("HMAC",n,i).then(u,f)},f)}function h(t){var i=n.NSTypes.oGetArrayBuffer(t),r,u;return undefined!=i?i:(r=String(t),u=Array.prototype.map.call(r,function(n){return n.charCodeAt(0)}),new Uint16Array(u))}function c(n){return function(){n(new ArrayBuffer(0))}}o(n.NSUtil.bIE||undefined===window.crypto||undefined===window.crypto.subtle);var f=h(r);switch(n.NSUtil.nGetEntier(i,-1)){case 16:o(n.NSUtil.bEdge);e("SHA-1",f,t);break;case 17:e("SHA-256",f,t);break;case 18:e("SHA-384",f,t);break;case 19:e("SHA-512",f,t);break;case 20:e("SHA-256",f,function(n){e("SHA-256",n,t)});break;case 272:o(n.NSUtil.bEdge);s("SHA-1",f,u,t);break;case 273:s("SHA-256",f,u,t);break;case 274:s("SHA-384",f,u,t);break;case 275:s("SHA-512",f,u,t);break;default:throw new n.CErreur(303,i);}}function g(t,i,r,u,f){var o=5===arguments.length?u:undefined,s=5===arguments.length?f:u,h=n.NSValues.oAny2Natif(s),c=n.NSTypes.xoGetArrayBuffer(r);e(function(n){h(nt(n,c))},t,i,o)}function nt(t,i){var r;if(t.byteLength!==i.byteLength)return!1;var u=new Uint32Array(t),f=new Uint32Array(i),e=u.length;for(r=0;r<e;r++)if(u[r]!=f[r])return!1;return!0}function tt(t,i,r){var c,u,f,l,y,a,e,o;if(i===void 0&&(i=1),c=n.NSTypes.xoGetArrayBuffer(t),u=n.NSUtil.nGetEntier(i,1),f=arguments.length<3?0===u?1024:16:n.NSUtil.nGetEntier(r,16),f&=-257,l=512!=(f&512),f&=-513,0===f&&(f=16),y=1024!=(f&1024),0!==u){if(a=" ",1!==u&&2!==u&&4!==u)throw new n.CErreur(303,u);}else a="",u=1;if(0!=c.byteLength%u)throw new n.CErreur(204);var s="",v=0,h=new DataView(c),p=h.byteLength;for(e=0;e<p;e+=u){0<e&&(y&&f<=v?(s+="\r\n",v=0):s+=a);o=void 0;switch(u){default:case 1:o=h.getUint8(e);break;case 2:o=h.getUint16(e,l);break;case 4:o=h.getUint32(e,l)}s+=n.NSUtil.sCompleteEntier(o,u*2,16).toUpperCase();v+=u}return s}function it(t,i,r){var s,f,e,h,o;i===void 0&&(i=1);r===void 0&&(r=0);var l=n.NSUtil.nGetEntier(r,0),c=512!=(l&512),u=n.NSUtil.nGetEntier(i,1);if(0!==u){if(1!==u&&2!==u&&4!==u)throw new n.CErreur(303,u);}else u=1;if(s=String(t),null!=s.match(/[^[0-9A-Za-f\s]/g))throw new n.CErreur(204);return f=[],e=u*2,s.replace(/\s+/g,"-").split("-").forEach(function(t){for(var r,u=t.length,i=0;i<u;i+=e){if(r=t.substring(i,i+e),r.length!==e)throw new n.CErreur(204);f.push(parseInt(r,16))}}),h=new ArrayBuffer(f.length*u),o=new DataView(h),f.forEach(function(n,t){switch(u){default:case 1:o.setUint8(t*u,n);break;case 2:o.setUint16(t*u,n,c);break;case 4:o.setUint32(t*u,n,c)}}),new n.NSTypes.CBuffer(h)}function rt(){return n.NSWDW.bWDW()}function ut(t){return n.NSUtil.FinAutomatismeProcedure(t)}t.iGetClasseProprieteStatique=o;t.oGetVariableComposante=s;t.AscenseurPosition=h;t.DonneFocus=c;t.Info=a;t.Confirmer=v;t.TraceDebut=y;t.Trace=p;t.TraceFin=w;var i=null;t.SetValeurMultiple=b;t.Clone=k;t.HashChaine=d;t.HashVerifieChaine=g;t.BufferVersHexa=tt;t.HexaVersBuffer=it;t.bEnModePageDansFenetre=rt;t.FinAutomatismeProcedure=ut})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(n,t,r){var f=i(n);return u(f,f.iGetEnumerationDepuisNom(String(t)),r,t)}function o(t,r,f){var e=i(t);return u(e,e.iGetEnumerationDepuisValeur(n.NSValues.oAny2Natif(r)),f,r)}function s(n,t){return!!i(n).iGetEnumerationDepuisNom(String(t))}function h(t,r){return!!i(t).iGetEnumerationDepuisValeur(n.NSValues.oAny2Natif(r))}function c(t,i,u){u===void 0&&(u=0);var e=r(t);return f(e,e.iGetCombinaisonDepuisNom(String(i),n.NSUtil.nGetEntier(u,0),!1),i)}function l(t,i){var u=r(t);return f(u,u.iGetCombinaisonDepuisValeur(n.NSValues.oAny2Natif(i)),i)}function a(n,t){return!!r(n).iGetCombinaisonDepuisNom(String(t),1,!0)}function i(t){if(n.NSTypes.bIsDescriptionEnumeration(t))return t;throw new n.CErreur(601);}function r(t){if(n.NSTypes.bIsDescriptionCombinaison(t))return t;throw new n.CErreur(601);}function u(t,i,r,u){if(i)return i;if(undefined!==r)return t.viCreationCopie(r,0);throw new n.CErreur(901,u);}function f(n,t){return t?t:n.viCreation()}t.EnumerationDepuisNom=e;t.EnumerationDepuisValeur=o;t.EnumerationVerifieNom=s;t.EnumerationVerifieValeur=h;t.CombinaisonDepuisNom=c;t.CombinaisonDepuisValeur=l;t.CombinaisonVerifieNom=a})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(t,u,e,o){var s=h(n.NSValues.oAny2Natif(t)),v=c(n.NSValues.oAny2Natif(u)),y=l(n.NSValues.oAny2Natif(e)),p=a(n.NSValues.oAny2Natif(o));if(s&&v&&y&&!isNaN(p)){var b=0!=(p&1),k=new f(s,v,y,b),w=r;return r++,i[w]=k,w}return 0}function o(n){var t=i[n];return t?(t.Libere(),delete i[n],!0):!1}function s(t,i){return n.NSUtil.bStopPropagationCond(t,0!=(i&1),0!=(i&2))}function h(n){switch(typeof n){case"string":try{var t=eval(n);if(t&&typeof t=="function")return t}catch(i){}return null;case"function":return n;default:return null}}function c(n){var i,t;switch(typeof n){case"string":return(i=document.getElementById(n),i)?i:(t=document.getElementsByName(n),t&&t.length&&t[0])?t[0]:null;case"number":switch(n){case 0:return window;case 1:return window.document;case 2:return window.document.body;case 3:return document.forms[0]}default:return n}}function l(t){switch(typeof t){case"number":return u[t];case"string":return t;case"object":if(n.NSUtil.bIsArray(t)&&1<t.length)return t[1];default:return t}}function a(n){switch(typeof n){case"number":return n;default:return parseInt(n,10)}}
4var r=1,i={},u,f;t.nEvenement=e;t.bFinEvenement=o;t.bInterruptionEvenement=s;u=["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"];f=function(){function t(t,i,r,u){this.m_pfCallback=t;this.m_oCibleDOM=i;this.sEvent=r;this.m_bCapture=u;n.NSUtil.AttacheEvent(this.m_oCibleDOM,this.sEvent,this.m_pfCallback,this.m_bCapture,2)}return t.prototype.Libere=function(){n.NSUtil.DetacheEvent(this.m_oCibleDOM,this.sEvent,this.m_pfCallback,this.m_bCapture,2)},t}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,t,i,r,f,e,o,h){var c=s(n,t,i,r,f,e,o,h);try{c.Suivant()}catch(l){u(c);throw l;}return c}function s(t,r,u,f,e,o,s,h){var b,w,k,d;if(e===void 0&&(e=0),undefined!==t.nodeType)return new c(t,r,u,f,e);if(n.NSChamps.bIsChampRebondFrameworkV1(t)&&(b=t.m_iChampFrameworkV1,"undefined"!=typeof WDTableZRNavigateur&&b instanceof WDTableZRNavigateur))return new l(b,r,u,f,e);if(w=n.NSValues.iAny2RValue(t,2),k=w.viGetAsTableauAssociatif(),k)return new a(k,r,u,f,e,o);if(d=w.viGetAsTableau(),d)return new v(d,r,u,f,e);switch(w.veGetTypeWL()){case 16:return s?new p(String(w),r,u,f,e,o,h):new y(String(w),r,u,f,e,o);case 62:case 34:case 142:default:return new i(t,r,u,f,e)}}function u(t){t&&(t.vLibere(),n.NSUtil.SupprimeDansTableau(r,t,!0))}function h(t){return n.NSUtil.oDansTableauFct(r,function(n){return n.oGetCibleSansType()===t},null)}function w(n,t){return 0!=(t&1)&&n&2&&(n-=2),n}function b(n,t,i){var o=0!=(i&2),f,e,r,u;for(0!=(i&4)&&(n=n.toLowerCase(),t=t.toLowerCase()),f=[],e=/\W/,r=n.indexOf(t);-1!==r;r=n.indexOf(t,r+1)){if(o){if(u=r-1,0<=u&&null===n.charAt(u).match(e))continue;if(u=r+t.length,u<n.length&&null===n.charAt(u).match(e))continue}f.push(r+1)}return f}var r;t.ms_oElementCourant={};r=[];t.iDeclareIterateur=o;t.LibereIterateur=u;t.iGetIterateur=h;var i=function(){function t(n,t,i,u,f){this.m_tCible=n;this.m_iValeur=t;this.m_iCle=i;this.m_iCompteur=u;this.m_nCompteur=-1;this.m_nCompteurSuppression=0;this.m_bFini=!1;this.m_bValeur=!!(f&1);this.m_bAscendant=!!(f&2);this.m_bSelectionne=!!(f&4);r.push(this);this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationDebut(this)}return t.prototype.Suivant=function(){this.m_nCompteur++;var t=this.m_nCompteur<this._vnGetNbElements(),n=this._vbSuivant(t);n&&this._vSetValeurCleCompteur();this.m_bFini=!n},t.prototype.bEstFini=function(){return this.m_bFini},t.prototype.vLibere=function(){this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationFin()},t.prototype.vSetValeurDepuisVariable=function(t,i,r){n.NSUtil.xVerifieAffectationAucune(n.iGetValeurAffectation(t,i,r))},t.prototype.oGetCibleSansType=function(){return this.m_tCible},t.prototype.viGetSousValue=function(){return null},t.prototype.vnGetCompteur=function(){return this.m_nCompteur},t.prototype.vNotifieSuppressionCourant=function(){this.m_nCompteur--;this.m_nCompteurSuppression++},t.prototype._vbSuivant=function(n){return n},t.prototype._vSetValeurCleCompteur=function(){this.m_iCompteur&&this.m_iCompteur.vSetValeur(this._nGetCompteurWL(),3,{})},t.prototype._nGetCompteurReel=function(){return this.m_bAscendant?this.m_nCompteur:this._vnGetNbElements()-this.m_nCompteur-1},t.prototype._vnGetNbElements=function(){return 0},t.prototype._nGetCompteurWL=function(){return this.m_nCompteur+this.m_nCompteurSuppression+1},t}(),c=function(t){function i(i,r,u,f,e){var o,s;return e===void 0&&(e=0),o=t.call(this,i,r,u,f,e)||this,o.m_tabSelection=[],s=[],n.NSUtil.bForEach(i.options,function(n,t){return n.selected&&(s.push(t),n.selected=!1),!0}),o.m_tabSelection=s,o}return __extends(i,t),i.prototype.vLibere=function(){var n=this.m_tCible,i=n.options;n.selectedIndex=-1;this.m_tabSelection.forEach(function(n){i[n].selected=!0});t.prototype.vLibere.call(this)},i.prototype._vbSuivant=function(n){return n&&(this.m_tCible.selectedIndex=this._nGetValeur()
4),n},i.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this._nGetValeur()+1,3,{m_bAffectationDepuisIterateur:!0});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_bSelectionne?this.m_tabSelection.length:this.m_tCible.options.length},i.prototype._nGetValeur=function(){var n=this._nGetCompteurReel();return this.m_bSelectionne?this.m_tabSelection[n]:n},i}(i),l=function(t){function i(i,r,u,f,e){e===void 0&&(e=0);var o=t.call(this,i,r,u,f,e)||this;return o.m_nLigne=0,o.m_nForceSelectionInitial=o.m_tCible.nGetForceSelection(),o}return __extends(i,t),i.prototype.vLibere=function(){this.m_tCible.ForceSelection(this.m_nForceSelectionInitial);t.prototype.vLibere.call(this)},i.prototype._vbSuivant=function(n){var t,i;return n&&(i=this._nGetCompteurReel(),t=this.m_bSelectionne?this.m_tCible.Select(i+1)-1:i),undefined!==t?(this.m_tCible.ForceSelection(t),this.m_nLigne=t,!0):(this.m_nLigne=0,!1)},i.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_nLigne+1,3,{m_bAffectationDepuisIterateur:!0});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_bSelectionne?this.m_tCible.SelectOccurrence():this.m_tCible.Occurrence()},i}(i),f=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.m_iElement=null,t}return __extends(t,n),t.prototype.vSetValeurDepuisVariable=function(n,t,i){this.m_iElement.vSetValeur(n,t,i)},t.prototype.viGetSousValue=function(){return this.m_iElement},t.prototype._vbSuivant=function(n){return this.m_iElement=n?this._viGetElement(this._nGetCompteurReel()):null,!!this.m_iElement},t.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_iElement,3,{m_bAffectationDepuisIterateur:!0});n.prototype._vSetValeurCleCompteur.call(this)},t}(i),a=function(n){function t(t,i,r,u,f,e){var o=n.call(this,t,i,r,u,f)||this;return o.m_oCleFiltre=null,o.m_oCleElement={m_oCle:undefined},null!==e&&undefined!==e&&(o.m_oCleFiltre=t.oGetCle(e)),o}return __extends(t,n),t.prototype._vbSuivant=function(n){return this.m_iElement=n?this.__iGetElement(this._nGetCompteurReel(),this.m_oCleElement):null,!!this.m_iElement},t.prototype._vSetValeurCleCompteur=function(){this.m_iCle&&this.m_iCle.vSetValeur(this.m_oCleElement.m_oCle,3,{m_bAffectationDepuisIterateur:!0});n.prototype._vSetValeurCleCompteur.call(this)},t.prototype._vnGetNbElements=function(){return this.m_oCleFiltre?this.m_tCible.nGetNbElementsCle(this.m_oCleFiltre):this.m_tCible.nGetNbElements()},t.prototype._viGetElement=function(n){return this.__iGetElement(n)},t.prototype.__iGetElement=function(n,t){if(this.m_oCleFiltre){var i=this.m_tCible.viGetSousElement(0,[this.m_oCleFiltre.m_iCle,n+1]);return i&&t&&(t.m_oCle=this.m_oCleFiltre.m_iCle),i}return this.m_tCible.iGetSousElementIndice(n,t)},t}(f),v=function(t){function i(i,r,u,f,e){var o=t.call(this,i,r,u,f,e)||this;return r instanceof n.NSValues.CVariablePourIterateur&&r.CorrigeType(i.iGetDescriptionElement()),o}return __extends(i,t),i.prototype._vSetValeurCleCompteur=function(){this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_tCible.nGetNbElements()},i.prototype._viGetElement=function(n){return this.m_tCible.iGetSousElementIndice(n)},i}(f),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_tCible[this._nGetCompteurReel()],3,{});this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});n.prototype._vSetValeurCleCompteur.call(this)},t.prototype._vnGetNbElements=function(){return this.m_tCible.length},t}(i),y=function(t){function i(i,r,u,f,e,o){e===void 0&&(e=0);o===void 0&&(o="\t");var s=t.call(this,0<i.length?i.split(String(o)):[],r,u,f,e)||this;return s.m_sSeparateur=String(o),s}return __extends(i,t),i.prototype._vSetValeurCleCompteur=function(){if(t.prototype._vSetValeurCleCompteur.call(this),this.m_iCle){var i=void 0,n=this._nGetCompteurReel();i=0===n?1:this.m_tCible.slice(0,n).join("").length+n*this.m_sSeparateur.length+1;this.m_iCle.vSetValeur(i,3,{})}},i}(e),p=function(t){function i(i,r,u,f,e,o,s){e===void 0&&(e=0);o===void 0&&(o="\t");s===void 0&&(s=0);var h=t.call(this,b(i,String(o),s),r,u,f,w(e,s))||this;return h}return __extends(i,t),i}(e)})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(t,i){return l(t,i,function(t){return n.NSUtil.xoEvalJSON(String(t),!1)})}function o(t,i,r){var o=String(t),s=String(i),f="Requete_"+e++,u=document.createElement("script");u.src=o+(o.indexOf("?")===-1?"?":"&")+s+"="+f;u.charset="UTF-8";window[f]=function(t){var i=n.NSValues.oAny2Natif(r);i(t);n.NSUtil.oSupprimeElement(u);window[f]=null};u=document.body.appendChild(u)}function i(t){var i=String(t);try{return n.NSUtil.xoEvalJSON(i,!1)}catch(r){throw new n.CErreur(607);}}function r(t){return n.NSUtil.xsStringifyJSON(t,!0)}function s(t){var r=String(t),i=n.NSTypes.oGetDescriptionDINO(0,16).m_oDescriptionStatique;try{return i.viCreation(n.iGetValeurInitiale(r,0))}catch(u){return i.viCreation()}}function h(t,i,u){if(1024!==u)throw new n.CErreur(303,u);if("object"!=typeof i||undefined===i.vSetValeur)throw new n.CErreur(608);i.vSetValeur(r(t),0,{})}function c(r,u,f){if(1024!==f)throw new n.CErreur(303,f);if("object"!=typeof r||undefined===r.vSetValeur)throw new n.CErreur(609);var e=i(u);try{t.bDansDeserialisation=!0;r.vSetValeur(e,4,{})}finally{t.bDansDeserialisation=!1}}function l(t,i,r){var e=String(t),u={m_eMethodeHTTP:1,m_sURL:e,m_sContenu:"",m_oInterne:null},f;return undefined===i?(f=n.NSAjax.oRequeteSynchroneTexte(u),r(f.m_oResultat)):(n.NSAjax.nRequeteAsynchroneTexte(u,function(t){var u=n.NSValues.oAny2Natif(i);u(r(t.m_oResultat))}),null)}function a(t,i){var e=v(t),r=null,f;if(i&&(f=n.NSValues.oAny2Natif(i),f instanceof Function&&(r=f)),r)n.NSAjax.nRequeteAsynchroneTexte(e,function(n){r(u(n))});else return u(n.NSAjax.oRequeteSynchroneTexte(e))}function v(t){var r=n.NSValues.iAny2RValue(t),i,u;if(r instanceof n.NSTypes.CHTTPRequete){if(i=r.valueOf(),i)return u={m_eMethodeHTTP:i.m_eMethodeHTTP,m_sURL:i.m_sURL,m_sContenu:i.m_sContenu,m_oEntetesHTTPSupplementaires:n.NSUtil.oCloneSimple(i.m_oEntete),m_sUtilisateur:i.m_sUtilisateur,m_sMotDePasse:i.m_sMotDePasse,m_bContenuReponseBrut:i.m_bContenuReponseBrut,m_pfAvancementEnvoi:i.m_oAvancementEnvoi.m_oProcedure?i.m_oAvancementEnvoi.m_oProcedure.valueOf():undefined,m_pfAvancementTelechargement:i.m_oAvancementTelechargement.m_oProcedure?i.m_oAvancementTelechargement.m_oProcedure.valueOf():undefined,m_oInterne:null},i.m_sContentType&&(u.m_oEntetesHTTPSupplementaires["Content-Type"]=i.m_sContentType),u}else if(16===r.veGetTypeWL())return{m_eMethodeHTTP:1,m_sURL:String(r),m_sContenu:"",m_oInterne:null};throw new n.CErreur(601);}function u(t){var i=n.NSTypes.oGetDescriptionDINO(10,31).m_oDescriptionDynamique.viCreation();return i.vSetValeurDirect(t.m_oXMLHttpRequest),i}t.JSONExecute=f;var e=0;t.JSONExecuteExterne=o;t.JSONVersVariant=i;t.VariantVersJSON=r;t.ChaineVersJSON=s;t.Serialise=h;t.bDansDeserialisation=!1;t.Deserialise=c;t.HTTPEnvoie=a})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,r){var u=n.NSUtil.bGetBooleen(i),f=n.NSUtil.bGetBooleen(r);switch(t){case 0:return u&&f;case 1:return u||f}}t.oLogique=i})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){return n.NSUtil.bRWD?$.wb.nGetTrancheActiveIndiceWL(!0):1}function f(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)}function e(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)}function o(n,t,i){var r={title:String(t),text:n===undefined?undefined:String(n),url:i===undefined?undefined:String(i)};return!navigator.share||!navigator.canShare||!navigator.canShare(r)?!1:(navigator.share(r),!0)}function s(n,t,i){t===void 0&&(t=window.document.title);r(window.history.pushState,n,t,i)}function h(n,t,i){r(window.history.replaceState,n,t,i)}function r(t,r,u,f){if(t){undefined===i&&(i=document.title);var e=String(u),o=[{oDonnees:n.NSValues.oAny2Natif(r),sTitre:e},e];undefined!==f&&o.push(String(f));t.apply(window.history,o);document.title=e}}function c(){n.NSUtil.AttacheEvent(window,"popstate",function(t){var u=null,r;t.state?(u=t.state.oDonnees,r=t.state.sTitre,undefined!==r&&(document.title=r)):undefined!==i&&(document.title=i);n.NSUtil.pfGetTraitement(n.NSChamps.oGetPageCourante().sGetAlias(),81)(t,u)},!0)}t.NavigateurTranche=u;
4t.NavigateurLargeur=f;t.NavigateurHauteur=e;t.NavigateurPartage=o;t.NavigateurHistoriqueAjoute=s;t.NavigateurHistoriqueModifie=h;var i;t.BindPopState=c})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(t,i,r){var e=c[t],f,u=n.iGetAsRValue(i,1);if(u){if(n.NSTypes.bIsNumerique(u))return e.m_pfNumerique(u,r);f=u.vnToNumber(0)}else f=Number(i);return e.m_pfNatif(f,r)}function i(n){return Math.abs(n)}function l(t,i){var u=n.NSUtil.nGetEntier(i,0),f=t<0?-1:1,r=Math.pow(10,u)*f;return Math.round(t*r)/r}function r(n){return(0<=n?Math.floor:Math.ceil)(n)}function a(n){return n<0}function u(n){return!(n&1)}function v(n){return!!(n&1)}function y(n){return Math.floor(Math.log(n)/Math.LN10)}function f(n){return Math.floor(n)}function p(n){var t=i(n);return t-f(t)}function w(t,i){var u=n.NSUtil.nGetEntier(i,0),r=Math.pow(10,u);return Math.floor(t*r)/r}function b(t,i){var u=n.NSUtil.nGetEntier(i,0),r=Math.pow(10,u);return Math.ceil(t*r)/r}function e(n){return n.oAbsolue()}function k(t,i){return t.oArrondi(n.NSUtil.nGetEntier(i,0))}function d(n){return n.oArrondiVersZero()}function g(n){return n.bEstNegatif()}function o(n){return n.bEstPair()}function nt(n){return!o(n)}function tt(n){return n.nLog10Arrondi()}function it(n){return n.oPartieEntiere()}function rt(n){var t=e(n);return t.oSoustractionNumerique(t.oPartieEntiere())}function ut(t,i){return t.oArrondiInferieur(n.NSUtil.nGetEntier(i,0))}function ft(t,i){return t.oArrondiSuperieur(n.NSUtil.nGetEntier(i,0))}function et(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(t,!0)}function ot(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(t,!1)}function s(n,i){return n.reduce(function(n,r){return t.bComparaison(n,r,!1,i,!1,!1)?r:n})}function st(t){var i=n.NSUtil.sRemplaceEspaces(n.NSUtil.sSupprimeEspacesDebutFin(String(t)),"_"),r=parseFloat(i);return isNaN(r)?0:i!==String(r)?n.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(i.replace(/,/g,"|"),0):r}t.oNumerique=h;var c=[{m_pfNatif:i,m_pfNumerique:e},{m_pfNatif:l,m_pfNumerique:k},{m_pfNatif:r,m_pfNumerique:d},{m_pfNatif:a,m_pfNumerique:g},{m_pfNatif:u,m_pfNumerique:o},{m_pfNatif:v,m_pfNumerique:nt},{m_pfNatif:y,m_pfNumerique:tt},{m_pfNatif:f,m_pfNumerique:it},{m_pfNatif:p,m_pfNumerique:rt},{m_pfNatif:w,m_pfNumerique:ut},{m_pfNatif:b,m_pfNumerique:ft}];t.nArrondiVersZero=r;t.bEstPair=u;t.oMin=et;t.oMax=ot;t.Val=st})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(t,r,u,e){var o,c;if("undefined"==typeof WebSocket)throw new n.CErreur(800);var s=String(t),l=String(r),a=n.NSValues.oAny2Natif(u),h;if(e&&(o=n.NSValues.oAny2Natif(e),"string"==typeof o?h=[o]:n.NSUtil.bIsArray(o)&&(h=o)),c=i[s],c)throw new n.CErreur(801,s);else i[s]=new f(l,a,h)}function e(n,t,i,r,f,e){u(n,t,!1,i,r,f,e)}function o(n,t,i,r,f,e){u(n,t,!0,i,r,f,e)}function u(t,i,u,f,e,o,s){var c="ws"+(u?"s":"")+"://"+String(f),l,h;return undefined!==e&&(l=n.NSUtil.nGetEntier(e,80),80!==l&&(c+=":"+l)),c+="/",undefined!==o&&(h=String(o),h.startsWith("/")&&(h=h.substr(1)),c+=h),r(t,c,i,s)}function s(t,r){var u=String(t),e=String(r),f=i[u];if(f)return f.bEcrit(u,e);throw new n.CErreur(802,u);}function h(n){var t=String(n),r=i[t];return!!r}function c(t){var r=String(t),u=i[r];if(u)u.Ferme(),delete i[r];else throw new n.CErreur(803,r);}var i={},f;t.SocketConnecte=r;t.SocketClientConnecte=e;t.SocketClientConnecteSSL=o;t.SocketEcrit=s;t.SocketExiste=h;t.SocketFerme=c;f=function(){function t(n,t,i){try{this.m_oSocket=new WebSocket(n,i)}catch(r){t(3,r.message);return}this.m_oSocket.onopen=function(){return t(0,this.protocol)};this.m_oSocket.onmessage=function(n){return t(1,n.data)};this.m_oSocket.onclose=function(n){return t(2,String(n.code))};this.m_oSocket.onerror=function(){return t(3,"")}}return t.prototype.bEcrit=function(t,i){switch(this.m_oSocket.readyState){case this.m_oSocket.CONNECTING:throw new n.CErreur(804,t);case this.m_oSocket.OPEN:try{this.m_oSocket.send(i)}catch(r){return!1}return!0;case this.m_oSocket.CLOSING:case this.m_oSocket.CLOSED:default:throw new n.CErreur(805,t);}},t.prototype.Ferme=function(){try{this.m_oSocket.close()}catch(n){}},t}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,t,u,e){u===void 0&&(u="\r\n");e===void 0&&(e="\t");r(t,function(t){var i;f(t,"Cha\u00eeneVersTableau","StringToArray");i=1!==t.nGetNbDimensions();t.xiGetTableauSupprime().SupprimeTout();var r=String(n),o=String(u),s=String(e);
4r.split(o).forEach(function(n,r){var u=i?n.split(s):[n];0===r&&i&&t.xRedimensionne([0,u.length]);t.nAjouteLigne(u)})},i,i)}function g(n,t,i){return i===void 0&&(i="\t"),o(n,t,"\r\n",i)}function nt(n){return n<"\t"||n>"\r"&&n<" "||n>" "&&n<"0"||n>"9"&&n<"A"||n>"Z"&&n<"a"||n>"z"&&n<"\u0083"||n>"\u0083"&&n<"\u008c"||n=="\u008d"||n>"\u008e"&&n<"\u0099"||n=="\u009b"||n=="\u009d"||n>"\u009f"&&n<"\u00aa"||n>"\u00aa"&&n<"\u00b2"||n>"\u00b3"&&n<"\u00b9"||n=="\u00bb"||n=="\u00bf"||n=="\u00d7"||n=="\u00f7"}function s(n){return!nt(n)&&n!==" "&&n!=="\t"&&n!=="\r"&&n!=="\n"}function h(n,t){for(var r=String(n),i=0,f=0,u,e,o;i<r.length;){while(i<r.length&&!s(r[i]))i++;if(i<r.length){for(u=i;u<r.length&&s(r[u]);)u++;f++;typeof t!="string"&&(e=r.substring(i,u),o=t,o.nAjouteLigne([e]),i=u);i=u}}return f}function tt(n,t){r(t,function(t){t.xRedimensionne([0]);h(n,t)},i,i)}function it(n){return h(n,"")}function rt(t){for(var u=[],i=1;i<arguments.length;i++)u[i-1]=arguments[i];return r(t,function(t){if(0===u.length)return t.nGetNbElements();t.xRedimensionne(n.NSTypes.tabGetDimensionsEffectives(u))},ri,function(n){return 16===n.veGetTypeWL()?n.toString().length:0})}function ut(n,t){var f=2<=arguments.length;return r(n,function(n){return u(n,"TableauAjoute","ArrayAdd"),n.nAjouteLigne(f?[t]:[])+1},i,i)}function ft(n){for(var u=[],t=1;t<arguments.length;t++)u[t-1]=arguments[t];return r(n,function(n){return f(n,"TableauAjouteLigne","ArrayAddLine"),n.nAjouteLigne(u)+1},i,i)}function et(n,t){return r(n,function(n){return u(n,"TableauAjouteTri\u00e9","ArrayAddSorted"),n.xiGetTableauTri().nAjouteTrie(t)+1},i,i)}function ot(n,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return a(n,function(n,i){return i.nCherche(t,r)})}function st(n,t,i,r){for(var e=[],f=4;f<arguments.length;f++)e[f-4]=arguments[f];return a(n,function(n,f){return u(n,"TableauChercheParProc\u00e9dure","ArraySeekByProcedure"),f.nChercheProcedure(t,i,r,e)})}function ht(t,u,f,e){var o,s,h,c;if(r(t,function(n){o=n},function(n){h=n},i),r(u,function(n){s=n},function(n){c=n},i),o&&s)s.xCopieDepuis(o,f,e);else if(h&&c)c.xCopieDepuis(h);else throw new n.CErreur(601);}function ct(n,t,f,e){r(n,function(n){u(n,"TableauD\u00e9place","ArrayMove");v(n,t,f,p(e))},i,i)}function c(n,t,u,f){r(n,function(n){b(n,"TableauD\u00e9placeLigne","ArrayMoveLine");v(n,t,u,p(f))},i,i)}function lt(n,t,i){c(n,t,i,-2147483648)}function at(t,u,f){var e=n.NSUtil.nGetEntier(u);return r(t,function(t){var i=t.nGetNbDimensions(),r;switch(e){case 1:return i;case 2:return r=undefined===f?0:n.NSUtil.nGetEntier(f,0)-1,0<=r&&r<i?t.nGetUneDimension(r):0;case 3:return t.eTypeElement();case 6:return t.bDynamique();case 7:return t.nGetNbElements();case 8:return 2===i?t.nGetUneDimension(0):0;case 9:return 2===i?t.nGetUneDimension(1):0;case 10:return!1;case 11:return 0;default:return 0}},function(n){switch(e){case 1:return 1;case 2:return n.nGetNbElements();case 3:return n.eTypeElement();case 6:return!1;case 7:return n.nGetNbElements();case 8:return 0;case 9:return 0;case 10:return n.bAvecDoublon();case 11:return n.eTypeCle();default:return 0}},i)}function vt(t,f,e){r(t,function(t){u(t,"TableauIns\u00e8re","ArrayInsert");var i=n.NSUtil.xnGetIndiceC(f,t.nGetUneDimension(0),t.eGetModeAgrandissement(),NaN);t.Insere(i,e)},function(n){n.viGetSousElement(0,[f]).vSetValeur(e,0,{})},i)}function yt(t,u){for(var o=[],e=2;e<arguments.length;e++)o[e-2]=arguments[e];r(t,function(t){f(t,"TableauIns\u00e8reLigne","ArrayInsertLine");var i=n.NSUtil.xnGetIndiceC(u,t.nGetUneDimension(0),t.eGetModeAgrandissement(),NaN);t.InsereLigne(i,o)},i,i)}function pt(n){r(n,function(n){for(var i=n.nGetUneDimension(0)-1,r=Math.ceil(i/2),t=0;t<r;t++)y(n,t,i-t,!0)},function(n){n.Inverse()},i)}function wt(n){r(n,function(n){for(var i,r=n.nGetNbElements(),t=r-1;0<t;t--)i=Math.floor(Math.random()*(t+1)),n.Echange(t,i)},i,i)}function bt(n){return r(n,function(n){return n.nGetUneDimension(0)},function(n){return n.nGetNbElements()},i)}function kt(n,t){return r(n,function(n){return u(n,"TableauSupprime","ArrayDelete"),w(n,t)},function(n){return n.nSupprime(t)},i)}function dt(t,u,f){u===void 0&&(u=1);var e=n.NSUtil.nGetEntier(u,1);r(t,function(n){n.xiGetTableauTri().SupprimeDoublon(e,f)},i,i)}function gt(n,t){r(n,function(n){b(n,"TableauSupprimeLigne","ArrayDeleteLine");w(n,t)},i,i)}function ni(n){r(n,function(n){n.xiGetTableauSupprime().SupprimeTout()},function(n){n.SupprimeTout()},i)}function ti(t,u,f){u===void 0&&(u=1);var e=n.NSUtil.nGetEntier(u,1);r(t,function(n){n.xiGetTableauTri().Trie(e,f)},function(n){n.Trie(e,f)},i)}function l(t,u,f){return u===void 0&&(u="\r\n"),f===void 0&&(f="\t"),r(t,function(t){var r=t.nGetNbDimensions(),i=[String(u),String(f)];if(i.length<r)throw new n.CErreur(205);return function e(u,f){for(var s=t.nGetUneDimension(u),l=r-1===u,h=f*s,o=new Array(s),a=function(r){var f,c,s;l?(f=t.iGetSousElementIndice(h),0===u&&36===f.veGetTypeWL()?(c=f.valueOf(),s=[],n.NSUtil.bForEachIn(c,function(n,t){return s.push(String(t)),!0}),o[r]=s.join(i[u+1])):o[r]=String(f)):o[r]=e(u+1,h)},c=0;c<s;c++,h++)a(c);return o.join(i[u])}(0,0)},i,i)}function ii(n,t){return t===void 0&&(t=";"),l(n,undefined,t)}function a(n,t){return r(n,function(n){var i=t(n,n.xiGetTableauCherche());return-1===i?-1:i+1},i,i)}function r(t,i,r,u){var f=n.NSValues.iAny2RValue(t),o=f.viGetAsTableau(),e;return o?i(o):(e=f.viGetAsTableauAssociatif(),e)?r(e):u(f)}function ri(){return 0}function i(){throw new n.CErreur(601);}function v(t,i,r,u){var f=t.nGetUneDimension(0),e=n.NSUtil.xnGetIndiceC(i,f,0,NaN),o=n.NSUtil.xnGetIndiceC(r,f,0,NaN);y(t,e,o,u)}function y(n,t,i,r){var f=n.nGetDimension0Pas(),u=t*f,e=i*f,o;if(r)for(o=u+f;u<o;u++,e++)n.Echange(u,e);else n.DeplaceLigne(u,e)}
4function p(t){t===void 0&&(t=0);switch(n.NSUtil.nGetEntier(t)){case-2147483648:return!0;case 0:return!1;default:throw new n.CErreur(303,String(t));}}function w(i,r){var f=i.nGetUneDimension(0),u=null,e;switch(r){case t.ms_oElementCourant:if(u=t.iGetIterateur(i),u)r=u.vnGetCompteur()+1;else throw new n.CErreur(606);break;case 2271560482:case-2023406814:r=f}return e=i.xiGetTableauSupprime().nSupprime(n.NSUtil.xnGetIndiceC(r,f,0,NaN)),u&&u.vNotifieSuppressionCourant(),e}function u(t,i,r){if(1!==t.nGetNbDimensions())throw new n.CErreur(211,i,r);}function f(t,i,r){switch(t.nGetNbDimensions()){case 1:case 2:return;default:throw new n.CErreur(212,i,r);}}function b(t){if(t.nGetNbDimensions()<2)throw new n.CErreur(213,"TableauSupprimeLigne","ArrayDeleteLine");}function e(n,i){var r,u;if(n.length===0)return 0;for(r=0,u=0;u<n.length;u++)r=t.oBinaire(0,n[u],r);return i?r:t.oBinaire(3,r,n.length)}function k(n,t,i){for(var u=n.nGetUneDimension(0),o=n.nGetDimension0Pas(),f=new Array(u),r=0;r<u;r++)f[r]=n.iGetSousElementIndice(r*o+t);return e(f,i)}function ui(n,t){return k(n,0,t)}function fi(n,t,i){for(var f,u=new Array(n.nGetNbElements()),r=0;r<n.nGetNbElements();r++)f=n.iGetSousElementIndice(r).viGetMembre(t,!1,undefined),u[r]=f;return e(u,i)}function d(n,t){var u=n[0];return r(u,function(i){f(i,t?"Somme":"Moyenne",t?"Sum":"Mean");switch(typeof n[1]){case"number":return k(i,n[1]-1,t);case"string":return fi(i,n[1],t);default:return ui(i,t)}},i,function(){return e(n,t)})}function ei(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return d(t,!1)}function oi(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return d(t,!0)}t.ChaineVersTableau=o;t.CSVVersTableau=g;t.MotVersTableau=tt;t.nMotOccurrence=it;t.Dimension=rt;t.nTableauAjoute=ut;t.nTableauAjouteLigne=ft;t.nTableauAjouteTrie=et;t.nTableauCherche=ot;t.nTableauChercheProcedure=st;t.TableauCopie=ht;t.TableauDeplace=ct;t.TableauDeplaceLigne=c;t.TableauEchangeLigne=lt;t.oTableauInfo=at;t.TableauInsere=vt;t.TableauInsereLigne=yt;t.TableauInverse=pt;t.TableauMelange=wt;t.nTableauOccurrence=bt;t.nTableauSupprime=kt;t.TableauSupprimeDoublon=dt;t.TableauSupprimeLigne=gt;t.TableauSupprimeTout=ni;t.TableauTrie=ti;t.sVersChaine=l;t.sVersCSV=ii;t.nMoyenne=ei;t.nSomme=oi})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i){switch(t){case 0:return!n.NSUtil.bGetBooleen(i);default:case 1:return+n.NSUtil.dGetReel(i);case 2:return-n.NSUtil.dGetReel(i);case 3:return~n.NSUtil.nGetEntier(i)}}t.oUnaire=i})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function s(n,t,i,f){var e,o;f===void 0&&(f=null);var s=!!t,h=(new DOMParser).parseFromString(t,1===i?"text/html":"text/xml"),c=u(n,h,s);return s&&(e=t.indexOf("<?"),-1!==e&&(o=t.indexOf(r,e),-1!==o&&(c.m_sEntete=t.substring(e,o+r.length)))),!0}function h(n,t){var i=c(n,!0),r="";return i&&(0==(t&2)&&(r+=i.m_sEntete||'<?xml version="1.0" encoding="ISO-8859-1"?>',r+="\n"),r+=e(t&1&&i.m_oPosition?i.m_oPosition:i.m_oDocument.documentElement),r+="\n"),r}function u(n,t,r){var u,e;return r===void 0&&(r=!0),u=f(n),-1!==u&&i.splice(u,1),e=new o(n,t,r),i.push(e),e}function f(t){return n.NSUtil.nDansTableauFct(i,function(n){return n.m_sNomDocument===t})}function c(n,t,r){var e,u;return(t===void 0&&(t=!1),r===void 0&&(r=!1),e=f(n),-1!==e&&(u=i[e],!t||u.m_oDocument&&(r||u.m_oPosition)))?u:null}function e(t){var i,r;return a(t)?t.nodeValue||"":v(t)?t.data:l(t)?(i="<"+t.nodeName,n.NSUtil.bForEach(t.attributes,function(n){return i+=" "+n.nodeName+'="'+n.nodeValue+'"',!0}),r=0<t.childNodes.length,r?(i+=">",n.NSUtil.bForEach(t.childNodes,function(n){return i+=e(n),!0}),i+="<\/"+t.nodeName):i+="/",i+=">"):""}function l(n){return n.nodeType===Node.ELEMENT_NODE}function a(n){return n.nodeType===Node.TEXT_NODE}function v(n){return n.nodeType===Node.CDATA_SECTION_NODE}var i=[],r="?>",o;t.XMLDocument=s;t.XMLConstruitChaine=h;t.oXMLAjoutDoc=u;o=function(){function n(n,t,i){this.m_sNomDocument=n;this.m_oDocument=t;this.m_nAttribut=-1;this.m_oRechercheDebut=null;this.m_bDehors=!1;this.m_oPosition=i?this.m_oDocument.documentElement:null}return n.prototype.InitRechDoc=function(){this.m_oRechercheDebut=null;this.m_bDehors=!1},n}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(n){return 0===n}function i(n){return 1===n}function f(t,i){return n.bEstProprieteVM(t,i)?r[i]:n.bEstProprieteJS(t,i)?u[i]:n.ms_sInconnue}n.bEstProprieteVM=t;n.bEstProprieteJS=i;var r=["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","N
4ombreIt\u00e9ration/IterationCount","Contenu/Content","Age",],u=["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",];n.sGetNomPropriete=f;n.ms_sInconnue="<Inconnue>/<Unknown>"})(t=n.NSProprietes||(n.NSProprietes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n){return d[n]||""}function g(i){var r=n.iGetAsRValue(i,6);return r?r.veGetTypeWL():t.iGetDescriptionTypePourNatif(i).veGetTypeWL()}function nt(i){var r=n.iGetAsRValue(i,1),u;
4return r?(u=r.viGetAsRValueType(),u)?u.viGetDescriptionType():v(r.veGetTypeWL(),!1):t.iGetDescriptionTypePourNatif(i)}function u(t){return n.NSUtil.bIsObject(t)}function tt(n){return u(n)?n.m_eWL:n}function v(i,r){var o=tt(i),f,e;switch(o){case 5:return t.ms_DescriptionUI8;case 8:return t.ms_DescriptionI4;case 9:case 14:return t.ms_DescriptionI8;case 12:return t.ms_DescriptionR8;case 10:case 13:return t.ms_DescriptionNumeriqueDefaut;case 16:case 19:return t.ms_DescriptionChaine;case 24:case 128:return t.ms_DescriptionDate;case 25:case 129:return t.ms_DescriptionHeure;case 26:return t.ms_DescriptionDateHeure;case 31:return t.ms_DescriptionVariant}if(!r)switch(o){case 1:return t.ms_DescriptionBooleen;case 2:return t.ms_DescriptionUI1;case 3:return t.ms_DescriptionUI2;case 4:return t.ms_DescriptionUI4;case 6:return t.ms_DescriptionI1;case 7:return t.ms_DescriptionI2;case 11:return t.ms_DescriptionR8;case 27:return t.ms_DescriptionDuree;case 28:return t.ms_DescriptionBuffer;case 34:if(u(i)){if(i.m_oTypeWLSiTableau)return i.m_oTypeWLSiTableau;break}else break;case 37:return u(i)&&undefined!==i.m_sNomSiTypeDeclare?window[i.m_sNomSiTypeDeclare].m_oDescriptionStatique:t.ms_DescriptionObjetDynamique;case 61:return t.ms_DescriptionFonction;case 107:return t.ms_DescriptionObjetNatif;case 111:if(u(i)){if(i.m_oTypeWLSiDINO)return f=i.m_oTypeWLSiDINO,e=t.oGetDescriptionDINO(f.m_eComposante,f.m_eDino),f.m_bDynamique?e.m_oDescriptionDynamique:e.m_oDescriptionStatique;break}else return t.ms_DescriptionObjetNatif;case 112:if(u(i)&&undefined!==i.m_sNomSiTypeDeclare)return window[i.m_sNomSiTypeDeclare];break;case 135:if(u(i)&&undefined!==i.m_sNomSiTypeDeclare)return window[i.m_sNomSiTypeDeclare];break;case 136:if(u(i)&&undefined!==i.m_sNomSiTypeDeclare)return window[i.m_sNomSiTypeDeclare];break;case 151:return t.ms_DescriptionRectangle}throw new n.CErreur(601);}function it(t,i,r,u){function l(t){switch(t){case 2:case 6:return 8;case 3:case 7:return 16;default:case 4:case 8:return 32;case 5:case 9:case 14:return 64}}function a(n){return n-Math.floor(n/256)*256}var o=n.NSUtil.nGetEntier(r,1)-1,s=n.NSUtil.nGetEntier(u,1),h=l(t.veGetTypeWL()),f,e,c;switch(i){default:case 1:f=o;e=f+1;break;case 2:f=o;e=h;break;case 3:f=0;e=o+1;break;case 4:f=o;e=f+s;break;case 5:f=o;e=s;break;case 7:c=l(s);f=o*c;e=f+c}return f=a(f),e=a(e),h<=f||e<=f?null:{m_nIndiceCDebutInclus:f,m_nIndiceCFinNonInclus:Math.min(e,h)}}function i(n,t){switch(t){case 31:case 107:case 111:case 135:case 136:case 143:case 142:return!0;default:return i===e[t]}}function rt(n,t){return n===t}function b(n,t,i){switch(t){case 107:return null===i;default:return n==t}}function ut(n,t,i){return r(n,t,i)}function r(){return!0}var d=["","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\u00e9rique/numeric","entier syst\u00e8me/system int",,"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",,,,,,,,,,,,,"interface",,,,"date","heure/time",,,,,,"\u00e9num\u00e9ration/enumeration","combinaison/combination",,,,,"proc\u00e9dure/procedure","tableau/array","objet/object",,,,,,,,"rectangle"],e,o,l,s,h,a,y,c,p,w,k;t.sGetNomTypeWL=f;e=[,i,i,i,i,i,i,i,i,i,i,i,i,i,i,,i,,,i,,,,,i,i,i,i,rt,,,r,,,r,,r,r,,,,,,,,,,,,,r,,,,,,,,,,,b,r,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,r,,,,r,,,,,,,,,,,,,ut,,,,i,i,,,,,,r,r,,,,,b,r,r,,,,,,,,r];o=function(i){function r(n,t){var r=i.call(this)||this;return r.m_tValeur=n,r.m_iDescriptionType=t,r}return __extends(r,i),r.prototype.viGetMembre2=function(n,t,r,u){var f=this.m_iDescriptionType.voGetMembrePrototypeNatif(n);return f?this._iGetMembrePourMembrePrototypeNatif(n):i.prototype.viGetMembre2.call(this,n,t,r,u)},r.prototype._iGetMembrePourMembrePrototypeNatif=function(n){return new t.CMembreNatif(this._voGetValeurPourMembrePrototypeNatif(),n,0)},r.prototype.viGetPropriete=function(t,r){return n.NSProprietes.bEstProprieteVM(t,r)?this._viGetProprieteVM(r):i.prototype.viGetPropriete.call(this,t,r)},r.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},r.prototype.viGetAsRValueType=function(){return this},r.prototype.vtGetValeurDirect=function(){return this.m_tValeur},r.prototype.vSetValeurDirect=function(n){this.m_tValeur=n}
4,r.prototype.viGetDescriptionType=function(){return this.m_iDescriptionType},r.prototype._viGetProprieteVM=function(t){switch(t){case 24:return n.NSUtil.oGetProprieteVide(this,0,23,t);default:n.xThrow603(0,t)}},r.prototype._voGetValeurPourMembrePrototypeNatif=function(){return this.vtGetValeurDirect()},r}(n.CIRValue);t.CTType=o;l=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.valueOf=function(){return this.m_tValeur},t}(o);t.CTTypeSimple=l;s=function(){function t(n,t){this.m_eTypeWL=n;this.m_oConstructeurNatif=t}return t.prototype.viGetDescriptionTypeReel=function(){return this},t.prototype.veGetTypeWL=function(){return this.m_eTypeWL},t.prototype.viCreationInstance=function(){return this.viCreation()},t.prototype.viCreationCopie=function(t,i,r){return this.viCreation(n.iGetValeurInitiale(t,i,r))},t.prototype._xVerificationValeur=function(t){var r=t.m_oValeur,i=this.veGetTypeWL(),u=g(r),o=e[i];if(undefined!==o&&!o(i,u,r))throw new n.CErreur(903,f(i),f(u));},t.prototype.vxVerifieCompatibilitePassageParAdresse=function(t,i){var r=this.veGetTypeWL(),u;switch(r){case 112:return;default:if(u=t.veGetTypeWL(6),u!==r)throw new n.CErreur(900,i,f(u),f(r));return}},t.prototype.voGetMembrePrototypeNatif=function(n){return this.m_oConstructeurNatif?this.m_oConstructeurNatif[n]||this.m_oConstructeurNatif.prototype[n]:undefined},t.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL()}},t.prototype.voGetAttributSerialise=function(){return!0},t.prototype.vbGetAttributAssocie=function(){return!1},t.prototype.veGetAttributCopie=function(){return undefined},t.prototype.vbAttributInstanceParReference=function(){return!1},t}();t.CTDescriptionType=s;h=function(i){function r(n,t,r,u){var f=i.call(this,n,r)||this;return f.m_pfCast=t,f.m_bCopieEstReference=u,f}return __extends(r,i),r.prototype.viCreation=function(i,r){var u;return i&&(this._xVerificationValeur(i),this.m_bCopieEstReference||n.NSUtil.xVerifieAffectationUniquement(i),u=this.m_pfCast(n.iGetValeurAffectationDepuisInitiale(i))),this._voAllocation(u)},r.prototype.viAffectation=function(t,i){return this._xVerificationValeur(i),this.m_bCopieEstReference||n.NSUtil.xVerifieAffectationUniquement(i),t.vSetValeurDirect(this.m_pfCast(i)),t},r}(s);t.CTDescriptionTypeSimple=h;a=function(n){function t(t,i,r,u){var f=n.call(this,t,r,u,!1)||this;return f.m_pfAllocation=i,f}return __extends(t,n),t.prototype._voAllocation=function(n){return this.m_pfAllocation(n)},t}(h);t.CTDescriptionTypeTresSimple=a;t.iGetDescriptionDepuisValue=nt;t.iGetDescription=v;y=function(){function n(n,t){this.m_iDescriptionType=n;this.m_oAttributs=t}return n.prototype.viGetDescriptionTypeReel=function(){return this.m_iDescriptionType},n.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},n.prototype.viCreationInstance=function(){return this.m_iDescriptionType.viCreationInstance()},n.prototype.viCreationCopie=function(n,t,i){return this.m_iDescriptionType.viCreationCopie(n,t,i||1===this.m_oAttributs.m_eAttributCopie)},n.prototype.viCreation=function(n,t){return this.m_iDescriptionType.viCreation(n,t)},n.prototype.viAffectation=function(n,t){return this.m_iDescriptionType.viAffectation(n,t)},n.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){return this.m_iDescriptionType.vxVerifieCompatibilitePassageParAdresse(n,t)},n.prototype.voGetMembrePrototypeNatif=function(n){return this.m_iDescriptionType.voGetMembrePrototypeNatif(n)},n.prototype.voJSONDebogueurType=function(n){return this.m_iDescriptionType.voJSONDebogueurType(n)},n.prototype.voGetAttributSerialise=function(){var n=this.m_oAttributs.m_oAttributSerialise;return undefined!==n?n:this.m_iDescriptionType.voGetAttributSerialise()},n.prototype.vbGetAttributAssocie=function(){var n=this.m_oAttributs.m_bAttributAssocie;return undefined!==n?n:this.m_iDescriptionType.vbGetAttributAssocie()},n.prototype.veGetAttributCopie=function(){var n=this.m_oAttributs.m_eAttributCopie;return undefined!==n?n:this.m_iDescriptionType.veGetAttributCopie()},n.prototype.vbAttributInstanceParReference=function(){var n=this.m_oAttributs.m_bAttributInstanceParReference;return undefined!==n?n:this.m_iDescriptionType.vbAttributInstanceParReference()},n}();t.CDescriptionTypeAvecAttribut=y;c=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_eIntervalle=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this},t}(n.NSUtil.CTSousElement);p=function(t){function i(i,r,u,f){var e=t.call(this,i,r)||this;return e.m_nIndiceC1=n.NSUtil.nGetEntier(u,1)-1,e.m_nIndiceWL2=n.NSUtil.nGetEntier(f,1),e}return __extends(i,t),i.prototype.valueOf=function(){var i=this.m_tParent.vsGetChaine(),t=this.m_nIndiceC1,r=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new n.CErreur(602,"[[ ]]");case 1:return i.substring(t,t+1);case 2:return i.substring(t);case 3:return i.substring(0,t+1);case 4:return i.substring(t,t+r);case 5:return i.substring(t,r)}},i.prototype.viGetIntervalle=function(n,t,r){return new i(this,n,t,r)},i.prototype.veGetTypeWL=function(){return 16},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=this.m_tParent.vsGetChaine(),u=String(t.m_oValeur),r=this.m_nIndiceC1,f=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new n.CErreur(602,"[[ ]]");case 1:i=i.substring(0,r)+u+i.substring(r+1);break;case 2:i=i.substring(0,r)+u;break;case 3:i=u+i.substring(r+1);break;case 4:i=i.substring(0,r)+u+i.substring(r+f);break;case 5:i=i.substring(0,r)+u+i.substring(f)}this.m_tParent.xvSetChaine(i)},i.prototype.vsGetChaine=function(){return this.valueOf()},i.prototype.xvSetChaine=function(n){this.vSetValeur(n,0,{})},i}(c);t.CIntervalleChaine=p;w=function(t){function i(n,i,r,u){var f=t.call(this,n,i)||this;return f.m_oIntervalleNombre=it(n,i,r,u),f}return __extends(i,t),i.prototype.vnToNumber=function(){return this.valueOf()},i.prototype.valueOf=function(){var n=this.m_oIntervalleNombre;return n?this.m_tParent.vnGetBits(n):0},i.prototype.veGetTypeWL=function(n){return this.m_tParent.veGetTypeWL(n)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=this.m_oIntervalleNombre;i&&this.m_tParent.vSetBits(n.NSUtil.nGetEntier(t.m_oValeur,0),i)},i}(c);t.CIntervalleNombre=w;k=function(n){function t(t){var i=n.call(this)||this;return i.m_iDescriptionType=t,i}return __extends(t,n),t.prototype.valueOf=function(){return null},t.prototype.viGetMembre2=function(){this._vxoThrowErreur()},t.prototype.viGetPropriete=function(){this._vxoThrowErreur()},t.prototype.viGetProprieteGenerique=function(){this._vxoThrowErreur()},t.prototype.viGetSousElement=function(){this._vxoThrowErreur()},t.prototype.viGetIntervalle=function(){this._vxoThrowErreur()},t.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},t.prototype.viGetAsRValueType=function(){return this},t.prototype.viAppelFonction=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._vxoThrowErreur()},t.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},t.prototype.vtGetValeurDirect=function(){return null},t.prototype.vSetValeurDirect=function(){this._vxoThrowErreur()}
4,t.prototype.viGetDescriptionType=function(){return this.m_iDescriptionType},t.prototype.vSetValeur2=function(){this._vxoThrowErreur()},t}(n.CIValue);t.CErreurCast=k})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){t.ms_DescriptionBooleen=new t.CTDescriptionTypeTresSimple(1,function(n){return n===void 0&&(n=!1),new i(n)},function(t){return n.NSUtil.bGetBooleen(t.m_oValeur)},Boolean);var i=function(i){function r(n){return i.call(this,n,t.ms_DescriptionBooleen)||this}return __extends(r,i),r.prototype.toString=function(){return n.NSUtil.sBooleenEnChaine(this.valueOf())},r.prototype.vnToNumber=function(){return Number(this.valueOf())},r.prototype.vbToBoolean=function(){return this.valueOf()},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n){return!!n&&(n instanceof i||28===n.veGetTypeWL())}function e(t){var i,r=(i=n.iGetAsRValue(t,1))===null||i===void 0?void 0:i.viGetAsRValueType();return f(r)?r.vtGetValeurDirect():undefined}function r(n){var t=e(n);return t?t:n instanceof ArrayBuffer?n:ArrayBuffer.isView(n)?n.buffer:undefined}function u(t){var i=r(t);if(i)return i;throw new n.CErreur(601);}t.ms_DescriptionBuffer=new t.CTDescriptionTypeTresSimple(28,function(n){return new i(n)},function(n){return u(n.m_oValeur)},undefined);var i=function(i){function r(n){return n===void 0&&(n=new ArrayBuffer(0)),i.call(this,n,t.ms_DescriptionBuffer)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 10:return n.NSUtil.oGetProprieteSimple(function(){return r.vtGetValeurDirect().byteLength},null,8,0,t);case 24:return n.NSUtil.oGetProprieteVide(this,0,10,t);default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.sPreparePourComparaison=function(t){if(undefined===t||28!==t.veGetTypeWL())throw new n.CErreur(601);return new Uint8Array(this.vtGetValeurDirect()).reduce(function(n,t){return n+(t.toString(16)+" ")},"")},r}(t.CTTypeSimple);t.CBuffer=i;t.oGetArrayBuffer=r;t.xoGetArrayBuffer=u})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){t.ms_DescriptionChaine=new t.CTDescriptionTypeTresSimple(16,function(n){return n===void 0&&(n=""),new i(n)},function(t){return n.NSUtil.sToString(t.m_oValeur)},String);var i=function(i){function r(n){return i.call(this,n,t.ms_DescriptionChaine)||this}return __extends(r,i),r.prototype.viGetIntervalle=function(n,i,r){return new t.CIntervalleChaine(this,n,i,r)},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 10:return n.NSUtil.oGetProprieteSimple(function(){return r.vtGetValeurDirect().length},null,8,0,t);case 24:return n.NSUtil.oGetProprieteVide(this,0,10,t);default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.vsGetChaine=function(){return this.valueOf()},r.prototype.xvSetChaine=function(n){this.m_tValeur=n},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n,t,i){function u(n){return f.some(function(t){return n===t})}if(n===t)return!0;var f=n.vtabGetElementsAPlat(),r=t.vtabGetElementsAPlat();return i?r.every(u):r.some(u)}function k(n){return"m_tabNoms"in n}function d(n){return"m_oValeur"in n}function a(n){return n&&(n instanceof r||n.__CEnumeration)}function v(n){return n&&(n instanceof f||n.bVerifie)}function g(n){return n&&(n instanceof c||n.iGetEnumerationDepuisNom)}function nt(n){return n&&(n instanceof u||n.iGetCombinaisonDepuisNom)}var e=function(){function t(n){this.m_sNomWL=n}return t.prototype.bCompareNomWL=function(n){return n===this.m_sNomWL},t.prototype.bCompareNom=function(t){return 0===n.NSUtil.nCompareLogique(t,this.m_sNomWL)},t}(),y=0,o=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_oValeur=i,r.m_nNumero=y++,r}return __extends(i,t),i.prototype.vbEstAlias=function(){return!1},i.prototype.vtabGetElementsSansAlias=function(){return[this]},i.prototype._bCompareValeurExacte=function(t,i){return n.NSOperations.bComparaison(t,i,!0,!1,!1,!1)},i}(e),p=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vbCompareValeur=function(n){var t=this.m_oValeur;return undefined!==t&&this._bCompareValeurExacte(n,t)},t}(o),w=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.vbCompareValeur=function(t){var i=this.m_oValeur;if(undefined!==i)switch(typeof t){case"string":return-1!==t.indexOf(String(i));case"number":return 0!=(t&n.NSUtil.dGetReel(i,0));default:return this._bCompareValeurExacte(t,i)}else return!1},i}(o),b=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_tabNoms=i,r}return __extends(i,t),i.prototype.vbEstAlias=function(){return!0},i.prototype.vtabGetElementsSansAlias=function(t){return this.m_tabNoms.reduce(function(i,r){var u=n.NSUtil.nD
4ansTableauFct(t,function(n){return n.bCompareNom(r)});return-1!==u?i.concat(t[u].vtabGetElementsSansAlias(t)):i},[])},i.prototype.vbCompareValeur=function(){return!1},i}(e),s=function(t){function i(n,i,r,u){var f=t.call(this,n,undefined)||this;return f.m_sNom=r,f.m_tabElements=i.reduce(function(n,t){return k(t)?(n.push(new b(t.m_sNom,t.m_tabNoms)),n):d(t)?(n.push(new u(t.m_sNom,t.m_oValeur)),n):n.concat(t.vtabGetElementsAPlat())},[]),f}return __extends(i,t),i.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNom}},i.prototype.vtabGetElementsAPlat=function(){return this.m_tabElements},i.prototype.xiCreeSelonNom=function(n){return this._xviCreeSelonNomWL(n)},i.prototype._xiGetElementDepuisNomWL=function(t){var i=n.NSUtil.oDansTableauFctOuNull(this.vtabGetElementsAPlat(),function(n){return n.bCompareNomWL(t)});if(i)return i;throw new n.CErreur(605,t);},i.prototype._iGetElementDepuisNom=function(t){return n.NSUtil.oDansTableauFctOuNull(this.vtabGetElementsAPlat(),function(n){return n.bCompareNom(t)})},i.prototype._iGetElementDepuisValeur=function(t){return n.NSUtil.oDansTableauFctOuNull(this.vtabGetElementsAPlat(),function(n){return n.vbCompareValeur(t)})},i}(t.CTDescriptionType),h=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.toString=function(){return String(this.oGetValueOf(""))},i.prototype.vnToNumber=function(){return n.NSUtil.dGetReel(this.oGetValueOf(0),0)},i.prototype.valueOf=function(){return this.oGetValueOf(0)},i.prototype.toJSON=function(){throw new n.CErreur(601);},i.prototype.voJSONDebogueurValeur=function(){return this.__sGetNoms(" + ")},i.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},i.prototype._viGetProprieteVM=function(i){var r=this;switch(i){case 9:return n.NSUtil.oGetProprieteSimple(function(){return r.__sGetNoms("+")},null,16,0,i);case 35:return n.NSUtil.oGetProprieteSimple(function(){return r.oGetValueOf("")},null,16,0,i);default:return t.prototype._viGetProprieteVM.call(this,i)}},i.prototype.oGetValueOf=function(n){var i=this,t=!0;return this.vtabGetElementsSansAlias().reduce(function(n,r){var u=r.m_oValeur;return undefined!==u?t?(t=!1,u):n+u:(i.m_iDescriptionType.xvAutoriseSansValeur(r.m_sNomWL),n)},n)},i.prototype.__sGetNoms=function(n){return this._vtabGetElementPourProprieteNom().map(function(n){return n.m_sNomWL}).join(n)},i}(t.CTType),c=function(t){function u(n,i){return t.call(this,135,n,i,p)||this}return __extends(u,t),u.prototype.viCreation=function(t){var i;return t&&(n.NSUtil.xVerifieAffectationUniquement(t),i=this.xoVerifieCompatibilite(t.m_oValeur,function(n){return n.vtabGetElementsAvecAlias()[0]})),this._oAllocation(i)},u.prototype.viAffectation=function(t,i){return n.NSUtil.xVerifieAffectationUniquement(i),this.xoVerifieCompatibilite(i.m_oValeur,function(n){return t.vSetValeurDirect(n.vtabGetElementsAvecAlias()[0]),t})},u.prototype._xviCreeSelonNomWL=function(n){return this._oAllocation(this._xiGetElementDepuisNomWL(n))},u.prototype.xvAutoriseSansValeur=function(t){throw new n.CErreur(902,t);},u.prototype._oAllocation=function(n){return n===void 0&&(n=this.m_tabElements[0]),new r(n,this)},u.prototype.iGetEnumerationDepuisNom=function(n){var t=this._iGetElementDepuisNom(n);return t?this._oAllocation(t):null},u.prototype.iGetEnumerationDepuisValeur=function(n){var t=this._iGetElementDepuisValeur(n);return t?this._oAllocation(t):null},u.prototype.xoVerifieCompatibilite=function(t,r){var u=n.iGetAsRValue(t,1);if(u&&a(u)&&i(this,u.m_iDescriptionType,!0))return r(u);throw new n.CErreur(601);},u}(s),r,u,f,l;t.CDescriptionEnumeration=c;r=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.vtabGetElementsAvecAlias=function(){return[this.m_tValeur]},r.prototype.vtabGetElementsSansAlias=function(){return this.m_tValeur.vtabGetElementsSansAlias(this.m_iDescriptionType.m_tabElements)},r.prototype._vtabGetElementPourProprieteNom=function(){return this.vtabGetElementsAvecAlias()},r.prototype.xvnPreparePourComparaison=function(t){if(a(t)){var r=this.m_iDescriptionType,u=t.m_iDescriptionType;if(i(r,u,!0)||i(u,r,!0))return this.vtabGetElementsSansAlias()[0].m_nNumero}throw new n.CErreur(601);}
4,r.prototype.__CEnumeration=function(){},r}(h);u=function(t){function r(n,i){return t.call(this,136,n,i,w)||this}return __extends(r,t),r.prototype.viCreation=function(t){var r=this,i;return t&&(n.NSUtil.xVerifieAffectationUniquement(t),i=this.xoVerifieCompatibilite(t.m_oValeur,function(n){return r.tabGetElementsPourAffectation(n)},function(){return[]})),this._oAllocation(i)},r.prototype.viAffectation=function(n,t){var i=this;return this.xoVerifieCompatibilite(t.m_oValeur,function(t){return n.vSetValeurDirect(i.tabGetElementsPourAffectation(t)),n},function(){return n.vSetValeurDirect([]),n})},r.prototype._xviCreeSelonNomWL=function(n){return this._oAllocation([this._xiGetElementDepuisNomWL(n)])},r.prototype.xvAutoriseSansValeur=function(){},r.prototype._oAllocation=function(n){return n===void 0&&(n=[]),new f(n,this)},r.prototype.tabGetElementsPourAffectation=function(t){var i=this.m_tabElements,r=t.m_iDescriptionType.m_tabElements;return function u(){return t.vtabGetElementsAvecAlias().reduce(function(t,f){return n.NSUtil.bDansTableau(i,f)?t.push(f):f.vbEstAlias()&&t.concat(u(f.vtabGetElementsSansAlias(r))),t},[])}(t.vtabGetElementsAvecAlias())},r.prototype.iGetCombinaisonDepuisNom=function(t,i,r){var e=this,u=[],f=t.split("+");return f.forEach(function(t){var r=e._iGetElementDepuisNom(t);if(r)u.push(r);else switch(i){default:case 0:throw new n.CErreur(901,t);case 1:}}),u.length&&(!r||u.length===f.length)?this._oAllocation(u):null},r.prototype.iGetCombinaisonDepuisValeur=function(n){var t=this._iGetElementDepuisValeur(n);return t?this._oAllocation([t]):null},r.prototype.xoVerifieCompatibilite=function(t,r,u){var f=n.iGetAsRValue(t,1);if(f){if(v(f)&&i(this,f.m_iDescriptionType,!1))return r(f)}else if(0===t&&u)return u();throw new n.CErreur(601);},r}(s);t.CDescriptionCombinaison=u;f=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.viGetSousElement=function(t,i){var r=this,u=i[0];return this.m_iDescriptionType.xoVerifieCompatibilite(u,function(t){return n.NSUtil.iChaineSousElement(new l(r,t.__oGetCopie()),1,i)},null)},r.prototype.vtabGetElementsAvecAlias=function(){return this.m_tValeur},r.prototype.vtabGetElementsSansAlias=function(){var t=this.m_iDescriptionType.m_tabElements;return this.m_tValeur.reduce(function(i,r){return r.vtabGetElementsSansAlias(t).reduce(function(t,i){return n.NSUtil.bDansTableau(t,i,!0)||t.push(i),t},i)},[])},r.prototype._vtabGetElementPourProprieteNom=function(){return this.vtabGetElementsSansAlias()},r.prototype.oAddition=function(n){var t=this;return this.m_iDescriptionType.xoVerifieCompatibilite(n,function(n){var i=t.__oGetCopie();return i.Active(n,!0),i},null)},r.prototype.xvsPreparePourComparaison=function(t,r){var u,f,e,o;if(r&&t&&(u=!1,f=t.viGetAsRValueType(),f&&0===f.vtGetValeurDirect()?u=!0:v(t)&&(e=this.m_iDescriptionType,o=t.m_iDescriptionType,u=i(e,o,!1)||i(o,e,!1)),u))return this.vtabGetElementsSansAlias().sort(function(t,i){return n.NSUtil.nCompareAny(t.m_nNumero,i.m_nNumero)}).map(function(n){return n.m_nNumero}).join("|");throw new n.CErreur(601);},r.prototype.__oGetCopie=function(){return new r(this.vtabGetElementsAvecAlias(),this.m_iDescriptionType)},r.prototype.bVerifie=function(t){var i=this.vtabGetElementsSansAlias(),r=t.vtabGetElementsSansAlias();return r.length?t.vtabGetElementsSansAlias().every(function(t){return n.NSUtil.bDansTableau(i,t,!0)}):!1},r.prototype.Active=function(t,i){var r=this.vtabGetElementsSansAlias(),u=!1;t.vtabGetElementsSansAlias().forEach(function(t){var f=n.NSUtil.nDansTableau(r,t,!0);-1!==f?i||(r.splice(f,1),u=!0):i&&(r.push(t),u=!0)});u&&(this.m_tValeur=r)},r}(h);l=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_oIndice=i,r}return __extends(i,t),i.prototype.vnToNumber=function(){return this.valueOf()},i.prototype.valueOf=function(){var n=this.m_tParent.bVerifie(this.m_oIndice);return n?1:0},i.prototype.viGetRValue=function(){return this},i.prototype.veGetTypeWL=function(){return 1},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=n.NSUtil.bGetBooleen(t.m_oValeur);this.m_tParent.Active(this.m_oIndice,i)},i}(n.NSUtil.CTSousElement);t.bIsDescriptionEnumeration=g;t.bIsDescriptionCombinaison=nt})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n,t){return n.reduce(function(n,i){var r=!i.bDepuisWLEnV2();return i.m_oFonction.apply(i.m_oThis,t(r))},undefined)}function l(n){n.m_oAvant=null;n.m_tabFonctions=null;n.m_oApres=null}function a(n,t){var i=n.m_tabFonctions;return t.m_oAvant=e(n.m_oAvant),t.m_tabFonctions=i?i.slice():null,t.m_oApres=e(n.m_oApres),t}function e(n){return n?a(n,i()):null}function o(n,t){var r,u;return t&&(n||(n=i()),r=t.m_tabFonctions,r&&r.length&&(u=n.m_tabFonctions||[],n.m_tabFonctions=u,r.forEach(function(n){b(u,n)||u.push(n)})),n.m_oAvant=o(n.m_oAvant,t.m_oAvant),n.m_oApres=o(n.m_oApres,t.m_oAvant)),n}function s(n,t){if(n&&t){var i=n.m_tabFonctions,r=t.m_tabFonctions;i&&i.length&&r&&r.forEach(function(n){var t=v(i,n);-1!=t&&i.splice(t,1)});s(n.m_oAvant,t.m_oAvant);s(n.m_oApres,t.m_oApres)}}function b(n,t){return-1!=v(n,t)}function v(t,i){var r=i.m_oFonction,u=r.name||r.sNom,f=r[n.ms_oSymbolFonctionOriginale];
4return n.NSUtil.nDansTableauFct(t,function(t){var i=t.m_oFonction,e;return r===i?!0:f&&f===i[n.ms_oSymbolFonctionOriginale]?!0:(e=i.name||i.sNom,u&&u===e&&!0,!1)})}function i(n,t){return t===void 0&&(t=window),{m_oAvant:null,m_tabFonctions:n?[new u(n,t)]:null,m_oApres:null}}function k(i,u){var f=37===u;return new n.NSUtil.CPropriete(function(){return new r(y(i.oGetProcedure(),f))},function(n){var u=i.oGetProcedure(),o=y(u,f),e=t.ms_DescriptionFonction.viAffectation(new r(o),n).vtGetValeurDirect();f?u.m_oApres=e:u.m_oAvant=e},undefined,61,0,u)}function y(n,t){var r=t?n.m_oApres:n.m_oAvant;return r||(r=i(),t?n.m_oApres=r:n.m_oAvant=r),r}function d(n){return n instanceof r||"__tabGetFonctionsAPlat"in n}function h(t){var i=n.iGetAsRValue(t,0);return i&&d(i)?i:null}function p(n){if(1==n.m_eAffectation){var t=n.m_oValeur,r=h(t);if(r)return r.oGetProcedure();if(null===t)return i(null)}return null}var u=function(){function t(n,t){t===void 0&&(t=window);this.m_oFonction=n;this.m_oThis=t}return t.prototype.bDepuisWLEnV2=function(){return!0===this.m_oFonction[n.ms_oSymbolDepuisWLEnV2]},t}(),w=function(t){function f(){var r=t.call(this,61,function(t){var f=t.m_oValeur,o,u;return f?(o=h(f),o)?e(o.vtGetValeurDirect()):(u=n.NSValues.oAny2Natif(f),u instanceof Function)?i(u):(r._xVerificationValeur(t),null):null},Function,!1)||this;return r}return __extends(f,t),f.prototype.viCreation=function(n){if(n){var i=p(n);if(i)return new r(i)}return t.prototype.viCreation.call(this,n)},f.prototype.viAffectation=function(i,r){var c=p(r),f,e,o,s;if(c)return i.vSetValeurDirect(c),i;if(f=i.vtGetValeurDirect(),e=r.m_oValeur,f){if(e instanceof Function)return f.m_oAvant=null,f.m_tabFonctions=[new u(e)],f.m_oApres=null,i;if(e instanceof u)return f.m_oAvant=null,f.m_tabFonctions=[e],f.m_oApres=null,i;if(!e)return l(f),i;if(o=h(e),r.m_iOptions.m_bCombine)return i;if(o)return s=o.vtGetValeurDirect(),s?a(s,f):l(f),i}return t.prototype.viAffectation.call(this,i,r)},f.prototype._voAllocation=function(n){return n===void 0&&(n=null),new r(n)},f.prototype.oCreePourNatif=function(n,t){return this._voAllocation(i(n,t))},f}(t.CTDescriptionTypeSimple),r,c;t.ms_DescriptionFonction=new w;r=function(r){function u(n){return r.call(this,n,t.ms_DescriptionFonction)||this}return __extends(u,r),u.prototype.valueOf=function(){var i=this.__tabGetFonctionsAPlat(),t;switch(i.length){case 0:return null;case 1:return(t=i[0],t.bDepuisWLEnV2())?function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return n.NSValues.oAny2Natif(t.m_oFonction.apply(t.m_oThis,r))}:window===t.m_oThis?t.m_oFonction:t.m_oFonction.bind(t.m_oThis);default:return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return f(i,function(){return t})}}},u.prototype.viGetMembre2=function(n,t,i,u){var e,o,f;try{return r.prototype.viGetMembre2.call(this,n,t,i,u)}catch(s){if(o=(e=this.m_tValeur)===null||e===void 0?void 0:e.m_tabFonctions,o&&(f=o[0],f&&(!f.bDepuisWLEnV2()||f.m_oFonction.hasOwnProperty(n))))return this._iGetMembrePourMembrePrototypeNatif(n);throw s;}},u.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 36:case 37:return k(this,i)}return r.prototype.viGetPropriete.call(this,t,i)},u.prototype.viAppelFonction=function(){for(var r,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return n.NSValues.iAny2RValue(f(this.__tabGetFonctionsAPlat(),function(t){return t?(r||(r=n.NSValues.tabAny2Natif(i)),r):i}))},u.prototype._voGetValeurPourMembrePrototypeNatif=function(){var n=this.__tabGetFonctionsAPlat();switch(n.length){case 0:return null;case 1:return n[0].m_oFonction;default:return function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return f(n,function(){return i})}}},u.prototype.oAddition=function(n){return this.vSetValeurDirect(o(this.vtGetValeurDirect(),n.vtGetValeurDirect())),this},u.prototype.oSoustraction=function(n){return s(this.vtGetValeurDirect(),n.vtGetValeurDirect()),this},u.prototype.oGetProcedure=function(){var n=this.m_tValeur;return n||(n=i(),this.m_tValeur=n),n},u.prototype.__tabGetFonctionsAPlat=function(){var n=[];return function t(i){if(i){t(i.m_oAvant);var r=i.m_tabFonctions;r&&(n=n.concat(r));t(i.m_oApres)}}(this.m_tValeur),n},u}(t.CTType);c=function(t){function i(){return t.call(this,null)||this}return __extends(i,t),i.prototype.vSetValeur=function(t,i,r){return this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i.prototype.vSetValeur2=function(t){return n.NSUtil.xVerifieAffectationAucune(t)},i}(r);t.CFonctionMembre=c;t.oConstruitProcedure=i})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function u(n,r,u,f){var e=i.call(this,112,undefined)||this;return e.m_sNomUtilisateur=u,e.m_sNomLogique=f,e.m_tabDefinitionsMethodes=t.pfResolutionDefinitions(n)(),e.m_tabDefinitionsProprietes=t.pfResolutionDefinitions(r)(),e}return __extends(u,i),u.prototype.viCreation=function(n){return new r(n?this.__iGetInterfaceInstance(n):null,this)},u.prototype.viAffectation=function(n,t){return n.vSetValeurDirect(this.__iGetInterfaceInstance(t)),n},u.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNomUtilisateur}},u.prototype.bValideMembre=function(n,t,i,r){switch(r){case 0:return this.bValideMembre(n,t,i,3)||this.bValideMembre(n,t,i,4);case 3:return this.m_tabDefinitionsMethodes.bExiste(n,t);case 4:return this.m_tabDefinitionsProprietes.bExiste(n,t);default:return!1}},u.prototype.__iGetInterfaceInstance=function(i){var r,u;this._xVerificationValeur(i);switch(i.m_eAffectation){case 0:case 2:case 4:return n.NSUtil.xVerifieAffectationAucune(i)}if(r=n.iGetAsRValue(i.m_oValeur,0),r){if(u=r.viGetAsInterfacePossible(),undefined===u)throw new n.CErreur(903,t.sGetNomTypeWL(112),t.sGetNomTypeWL(r.veGetTypeWL()));try{return u.vxiVerifieInterface(this)}catch(e){return new f(this,e)}}else return null},u}(t.CTDescriptionType);t.CDescriptionInterface=i;var r=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.valueOf=function(){var n=this.vtGetValeurDirect();return null!==n?n.voGetValeurPourInterface():null},i.prototype.viGetMembre2=function(n,i,r,u){return this.viGetDescriptionType().bValideMembre(n,i,r,u)?this._iGetInterface().viGetMembre2(n,i,r,u):t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.viGetAsInterfacePossible=function(){var n=this.vtGetValeurDirect();return n?n.viGetAsInterfacePossible():new u},i.prototype._iGetInterface=function(){var t=this.vtGetValeurDirect();if(t)return t;throw new n.CErreur(904);},i}(t.CTType),u=function(){function t(){}return t.prototype.vxiVerifieInterface=function(){throw new n.CErreur(904);},t}(),f=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_oErreur=i,r}return __extends(i,t),i.prototype.viGetAsInterfacePossible=function(){return this},i.prototype._vxoThrowErreur=function(){throw new n.CErreurBase(this.m_oErreur.number,this.m_oErreur.message);},i.prototype.voGetValeurPourInterface=function(){return this.valueOf()},i.prototype.vxiVerifieInterface=function(){return this._vxoThrowErreur()},i}(t.CErreurCast)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){for(var t=1;0<n--;)t=(t<<1)+1;return t}var i=function(t){function i(i,r,u){var f=t.call(this,u,function(t){var r=t.m_oValeur,i=n.NSUtil.dGetReel(r,NaN);return isNaN(i)&&(i=Number(r)||0),f.AppliqueType(i)},Number,!1)||this;return f.m_bSigne=i,f.m_ePas=r,f}return __extends(i,t),i.prototype._voAllocation=function(n){return n===void 0&&(n=0),new r(n,this)},i.prototype.AppliqueType=function(t){var i=this.m_ePas,r;return 0!=i&&(t=n.NSOperations.nArrondiVersZero(t),t%=i,this.m_bSigne?(r=i/2,t<-r?t+=i:r<=t&&(t-=i)):t<0&&(t+=i)),t},i}(t.CTDescriptionTypeSimple),r;t.ms_DescriptionR8=new i(!0,0,12);t.ms_DescriptionI1=new i(!0,256,6);
4t.ms_DescriptionI2=new i(!0,65536,7);t.ms_DescriptionI4=new i(!0,4294967296,8);t.ms_DescriptionUI1=new i(!1,256,2);t.ms_DescriptionUI2=new i(!1,65536,3);t.ms_DescriptionUI4=new i(!1,4294967296,4);r=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.toString=function(t){return t===void 0&&(t=10),n.NSUtil.sNombreEnChaine(this.valueOf(),t)},r.prototype.vnToNumber=function(){return this.valueOf()},r.prototype.viGetSousElement=function(t,i){return n.NSUtil.iChaineSousElement(this.viGetIntervalle(1,i[t],undefined),t+1,i)},r.prototype.viGetIntervalle=function(i,r,u){if(0==this.m_iDescriptionType.m_ePas)throw new n.CErreur(602,"[ ]");return new t.CIntervalleNombre(this,i,r,u)},r.prototype.vnGetBits=function(n){var i=this.m_tValeur,t=n.m_nIndiceCDebutInclus,r=n.m_nIndiceCFinNonInclus,f=u(r-t-1);return i>>>t&f},r.prototype.vSetBits=function(n,t){var f=this.m_tValeur,i=t.m_nIndiceCDebutInclus,e=t.m_nIndiceCFinNonInclus,r=u(e-i-1);this.vSetValeurDirect(f&~(r<<i)|(n&r)<<i)},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(n,t,i,r,u){return l(n,t,i,r,u).viCreationCopie(n,0)}function l(n,i,r,u,f){return i===void 0&&(i=t.ms_DescriptionObjetNatif),r===void 0&&(r=t.ms_DescriptionObjetNatif),u===void 0&&(u=t.ms_DescriptionTableauNatif),f===void 0&&(f=t.ms_DescriptionObjetNatif),a(n,t.ms_DescriptionBooleen,t.ms_DescriptionNumeriqueAuto,t.ms_DescriptionChaine,t.ms_DescriptionBuffer,t.ms_DescriptionFonction,function(n){return n===(n|0)?-2147483648<=n&&n<=2147483647?t.ms_DescriptionI4:t.ms_DescriptionI8:t.ms_DescriptionR8},f,r,u,i)}function a(t,i,r,u,f,e,o,s,h,c,l){switch(typeof t){case"boolean":return i;case"function":return e;case"number":return o(t);default:case"object":return null===t?s:"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDNumeriqueBase?r:t instanceof ArrayBuffer?f:n.NSUtil.bIsArray(t)?c:h;case"string":return u;case"undefined":return l}}function f(n,i,u){var f,e;return(i==1&&(f=t.ms_DescriptionVariant,e=t.ms_DescriptionTableauVariant),n instanceof Function)?t.ms_DescriptionFonction.oCreePourNatif(n,u):r(n,f,f,e)}function b(i){var u=n.iGetAsRValue(i,1);return u?t.iGetDescription(u.veGetTypeWL(),!1).viCreationCopie(u,0):r(i)}function k(n,t){if(undefined===n)switch(t){case 1:n={}}return n}function p(t){return n.NSUtil.bIsObject(t)?Object.keys(t):[]}function c(){throw new n.CErreur(615);}function w(){throw new n.CErreur(619);}function i(t,i){if(Object.isFrozen(t))if(undefined!==i)n.NSUtil.xVerifieAffectationAucune(i);else throw new n.CErreur(1103);}function d(n){return n instanceof v||"_bTableauNatif"in n}function g(n){return!!n&&(n instanceof u||"_ObjetNatif"in n)}var e,o,u,h;t.iNatif2RValue=r;t.iGetDescriptionTypePourNatif=l;t.oGetPourNatif=a;t.iAny2RValueTypeCopie=b;e=function(n){function t(t,i,r,u,f,e){var o=n.call(this,t,r,u,f)||this;return o.m_eObjetNatifAllocation=i,o.m_pfCopie=e,o}return __extends(t,n),t.prototype.viAffectation=function(n,t){this._xVerificationValeur(t);switch(t.m_eAffectation){default:case 0:case 1:case 3:n.vSetValeurDirect(this.m_pfCast(t));break;case 2:case 4:this.m_pfCopie(n,t.m_oValeur)}return n},t}(t.CTDescriptionTypeSimple);o=function(t){function i(i){return t.call(this,34,i,function(t){var i=n.NSValues.oAny2Natif(t.m_oValeur);return n.NSUtil.bIsArray(i)?i:[]},Array,!0,function(t,i){var r=n.NSValues.oAny2Natif(i);n.NSUtil.bIsArray(r)&&r.forEach(function(n,i){try{t.viGetSousElement(0,[i+1]).vSetValeur(n,4,{})}catch(r){}})})||this}return __extends(i,t),i.prototype.voJSONDebogueurType=function(n){return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:!0,m_oTypeSousElement:{m_eTypeWL:31}}},i.prototype._voAllocation=function(n){return n===void 0&&(n=[]),new v(n,this)},i}(e);t.CDescriptionTableauNatif=o;t.ms_DescriptionTableauNatif=new o(0);var v=function(r){function u(n,t){return r.call(this,n,t)||this}return __extends(u,r),u.prototype.viGetSousElement=function(t,i){function f(t,i){var r=Number(t);return n.NSUtil.bIsArray(i)&&!isNaN(r)?n.NSUtil.xnGetIndiceC(r,i.length,2,NaN):String(t)}for(var o=i.length,e=o-1,r=this.m_tValeur,u=t;u<e;u++)r=r[f(i[u],r)];return new s(r,f(i[e],r),this.m_iDescriptionType.m_eObjetNatifAllocation)},u.prototype.viGetAsTableau=function(){return this},u.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},u.prototype._viGetProprieteVM=function(t){var u=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return u.m_tValeur.length},function(t){i(u.m_tValeur);u.m_tValeur.length=n.NSUtil.nGetEntier(t)},8,0,t);default:return r.prototype._viGetProprieteVM.call(this,t)}},u.prototype.xiGetTableauCherche=function(){return new t.CTableauCherche(this,function(n){return n})},u.prototype.xiGetTableauTri=function(){throw new n.CErreur(214);},u.prototype.xiGetTableauSupprime=function(){return i(this.m_tValeur),new t.CTableauSupprime(this)},u.prototype.xRedimensionne=function(t){if(i(this.m_tValeur),1!=t.length)throw new n.CErreur(210);this.m_tValeur.length=t[0]}
4,u.prototype.nAjouteLigne=function(t){i(this.m_tValeur);var r=this.m_tValeur,u=r.length;return r.push(n.NSValues.oAny2Natif(t[0])),u},u.prototype.xCopieDepuis=function(n){i(this.m_tValeur);t.TableauCopie(n,this)},u.prototype.DeplaceLigne=function(n,r){i(this.m_tValeur);t.TableauDeplaceLigne(this,n,r)},u.prototype.Echange=function(n,r){i(this.m_tValeur);t.TableauEchange(this,n,r)},u.prototype.eTypeElement=function(){return 50},u.prototype.bDynamique=function(){return!0},u.prototype.Insere=function(t,r){i(this.m_tValeur);this.m_tValeur.splice(t,0,n.NSValues.oAny2Natif(r))},u.prototype.InsereLigne=function(n,t){return this.Insere(n,t[0])},u.prototype.eGetModeAgrandissement=function(){return 2},u.prototype.nGetNbDimensions=function(){return 1},u.prototype.nGetUneDimension=function(){return this.m_tValeur.length},u.prototype.nGetNbElements=function(){return this.m_tValeur.length},u.prototype.nGetDimension0Pas=function(){return 1},u.prototype.iGetSousElementIndice=function(n){return new s(this.m_tValeur,n,this.m_iDescriptionType.m_eObjetNatifAllocation)},u.prototype.iGetDescriptionElement=function(){return undefined},u.prototype.viGetAsTableauType=function(){return this},u.prototype.tabGetDimensions=function(){return[this.nGetNbElements()]},u.prototype.tabGetValeurs=function(){return this.m_tValeur},u.prototype.bEstNull=function(){return!1},u.prototype._bTableauNatif=function(){},u}(t.CTTypeSimple),s=function(t){function r(n,i,r){var u=t.call(this,n)||this;return u.m_oIndice=i,u.m_eObjetNatifAllocation=r,u}return __extends(r,t),r.prototype.valueOf=function(){return this.m_tParent[this.m_oIndice]},r.prototype.viGetRValue=function(){return f(this.valueOf(),this.m_eObjetNatifAllocation,this.m_tParent)},r.prototype.viGetMembre2=function(n,t,i,r){return this.viGetRValue(0).viGetMembre2(n,t,i,r)},r.prototype.viGetPropriete=function(n,t){return this.viGetRValue(0).viGetPropriete(n,t)},r.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},r.prototype.veGetTypeWL=function(){return 50},r.prototype.vSetValeur2=function(t){i(this.m_tParent,t);this.m_tParent[this.m_oIndice]=n.NSValues.oAny2Natif(t.m_oValeur)},r}(n.NSUtil.CTSousElement),y=function(t){function i(i,r){return t.call(this,i,r,function(t){var i=n.NSValues.oAny2Natif(t.m_oValeur);if(null===i)return null;if(undefined===i)return undefined;if(n.NSUtil.bIsObject(i))return i;if(r===1)switch(typeof i){case"boolean":case"string":case"number":return i}throw new n.CErreur(601);},Object,!0,function(t,i){var r=n.NSValues.oAny2Natif(i);n.NSUtil.bIsObject(r)&&(t.vSetValeurDirect({}),n.NSUtil.bForEachIn(r,function(n,i){try{t.viGetMembre(n,!1,undefined).vSetValeur(i,4,{})}catch(r){}return!0}))})||this}return __extends(i,t),i.prototype._voAllocation=function(n){return new u(n,this)},i}(e);t.CDescriptionObjetNatif=y;t.ms_DescriptionObjetNatif=new y(107,0);u=function(u){function f(n,t){return u.call(this,k(n,t.m_eObjetNatifAllocation),t)||this}return __extends(f,u),f.prototype.viGetMembre2=function(n){switch(this.m_iDescriptionType.m_eObjetNatifAllocation){}return new h(this._voGetValeurPourMembrePrototypeNatif(),n,this.m_iDescriptionType.m_eObjetNatifAllocation)},f.prototype.viGetPropriete=function(t,i){var r=this;if(1===this.m_iDescriptionType.m_eObjetNatifAllocation&&n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 23:return n.NSUtil.oGetProprieteSimple(function(){var t=r.vtGetValeurDirect(),i=0;return undefined!==t&&null!==t&&n.NSUtil.bForEachIn(t,function(){return i++,!0}),i},null,8,t,i)}return u.prototype.viGetPropriete.call(this,t,i)},f.prototype.viGetSousElement=function(t,i){var r=this;return n.NSUtil.iChaineSousElement(function(t){var u=r.vtGetValeurDirect(),i,f;return n.NSUtil.bIsObjectArray(u)&&(i=Number(t),!isNaN(i)&&n.NSUtil.bIndiceWLValide(i,u.length,2))?(f=i-1,new s(u,f,r.m_iDescriptionType.m_eObjetNatifAllocation)):r.viGetMembre(String(t),!1,undefined)}(i[t]),t+1,i)},f.prototype.viGetAsTableauAssociatif=function(){return this},f.prototype.xCopieDepuis=function(n){t.TableauAssociatifCopie(n,this)},f.prototype.eTypeElement=function(){return 50},f.prototype.bAvecDoublon=function(){return!1},f.prototype.eTypeCle=function(){return 16},f.prototype.Inverse=function(){throw new n.CErreur(214);},f.prototype.nSupprime=function(t){var r=this.m_tValeur,u;return n.NSUtil.bIsObject(r)&&(i(r),u=String(t),r.hasOwnProperty(u))?(delete r[u],1):0},f.prototype.SupprimeTout=function(){var t=this.m_tValeur;n.NSUtil.bIsObject(t)&&(i(t),n.NSUtil.SupprimeToutMembres(t))},f.prototype.Trie=function(){throw new n.CErreur(214);},f.prototype.nGetNbElements=function(){return p(this.m_tValeur).length},f.prototype.iGetSousElementIndice=function(n,t){var r=p(this.m_tValeur),i=r[n];return undefined!==i?(t&&(t.m_oCle=i),this.viGetMembre(i,!1,undefined)):null},f.prototype.nGetNbElementsCle=function(n){var t=this.m_tValeur;return t&&undefined!==t[n.m_iCle.toString()]?1:0},f.prototype.oGetCle=function(n){return{m_iCle:r(n),m_sCleFormat:String(n)}},f.prototype._ObjetNatif=function(){},f}(t.CTTypeSimple);t.CObjetNatif=u;h=function(t){function r(n,i,r){var u=t.call(this)||this;return u.m_oObjet=n,u.m_sMembre=i,u.m_eObjetNatifAllocation=r,u}return __extends(r,t),r.prototype.viGetRValue=function(n){var r=this,t=this.m_sMembre;return this.__xoSelontype(function(u){var e=u[t];if(!u.hasOwnProperty(t)&&undefined===e){i(u);switch(r.m_eObjetNatifAllocation){case 1:switch(n){default:e=u[t]={};break;case 5:case 7:e=null}break;case 2:e=u[t]=""}}return f(e,r.m_eObjetNatifAllocation,u)},c,function(n){switch(r.m_eObjetNatifAllocation){case 0:return f(n[t],r.m_eOb
4jetNatifAllocation,n);default:w()}})},r.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteVM(i,r))switch(r){case 35:return new n.NSUtil.CPropriete(function(){return u.viGetRValue(1)},function(n){u.vSetValeur2(n)},undefined,undefined,i,r);case 43:return n.NSUtil.oGetProprieteSimple(function(){return u.__xoSelontype(function(n){switch(u.m_eObjetNatifAllocation){case 0:return u.m_sMembre in n;case 1:case 2:default:return n.hasOwnProperty(u.m_sMembre)}},function(){return!1},function(n){return n.hasOwnProperty(u.m_sMembre)})},null,1,i,r);case 9:if(1==this.m_eObjetNatifAllocation)return n.NSUtil.oGetProprieteConstante(this.m_sMembre,16,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},r.prototype.vSetValeur2=function(t){var r=this;this.__xoSelontype(function(u){i(u,t);u[r.m_sMembre]=n.NSValues.oAny2Natif(t.m_oValeur)},c,w)},r.prototype.viAppelFonction=function(){for(var r,u=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r=function(i){var f=u.m_sMembre,o=i[f],s,r,e;if("function"!=typeof o)throw new n.CErreur(605,f);s=!(n.ms_oSymbolDepuisWLEnV2 in o);r=s?n.NSValues.tabAny2Natif(t):t;switch(t.length){case 0:e=i[f]();break;case 1:e=i[f](r[0]);break;case 2:e=i[f](r[0],r[1]);break;case 3:e=i[f](r[0],r[1],r[2]);break;default:e=i[f].apply(i,r)}return n.NSValues.iAny2RValue(e)},this.__xoSelontype(r,c,r)},r.prototype.__xoSelontype=function(t,i,r){var u=this.m_oObjet;return undefined===u||null===u?i():n.NSUtil.bIsObject(u)?t(u):r(u)},r}(n.NSUtil.CWrapperValue);t.CMembreNatif=h;t.bIsTableauNatif=d;t.bIsObjetNatif=g})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t){return new f(13,128,38,38,n,t,!0)}function l(n){return n instanceof c||"oGetCopieNumeriqueData"in n}var f=function(i){function r(r,u,f,o,s,h,c){var a=i.call(this,r,function(i){var c,r,u=i.m_oValeur,o=n.iGetAsRValue(u,1),s;o&&l(o)&&(r=o);var h=void 0,v=a.m_nPrecisionInitiale,f=a.m_nEchelleInitiale;if(undefined!==u&&r&&(h=r.oGetCopieNumeriqueData(),0!=v?f<r.nGetEchelle()?h.bDivPuissance10(r.nGetEchelle()-f):r.nGetEchelle()<f&&h.bMulPuissance10(f-r.nGetEchelle()):(v=r.nGetPrecision(),f=r.nGetEchelle())),c={m_oNumeriqueData:new e(a.m_nNbBitsTotal,a.m_bSigne,h),m_nPrecision:v,m_nEchelle:f},undefined!==u&&!r){if(s=void 0,t.bIsDuree(o))s=String(o.vnToNumber(0));else switch(typeof u){case"boolean":s=u?"1":"0";break;default:s=String(u)}a.__SetValeurChaine(s,c)}return c},undefined,!1)||this;return a.m_nNbBitsTotal=u,a.m_nPrecisionMaximale=f,a.m_nEchelleMaximale=o,a.m_nPrecisionInitiale=s,a.m_nEchelleInitiale=h,a.m_bSigne=c,a}return __extends(r,i),r.prototype._voAllocation=function(n){return n===void 0&&(n={m_oNumeriqueData:new e(this.m_nNbBitsTotal,this.m_bSigne),m_nPrecision:this.m_nPrecisionInitiale,m_nEchelle:this.m_nEchelleInitiale}),new c(n,this)},r.prototype.__SetValeurChaine=function(t,i){var f=0,l="0".charCodeAt(0),y=!1,o=0,r=0,s=i.m_oNumeriqueData,e,c,a,h,u,v,p;t=t.replace(/\s/g,"");switch(t.charAt(f)){case"-":y=!0;case"+":f++}for(;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;s.bMulPuissance10(1);s.nAddEntier(u);o++;f++}switch(t.charAt(f)){case".":case",":for(f++;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;r<this.m_nEchelleMaximale&&(s.bMulPuissance10(1),s.nAddEntier(u),o++,r++);f++}}e=this.m_nPrecisionMaximale;c=e;0<i.m_nPrecision?(e=Math.min(e,i.m_nPrecision),c=i.m_nEchelle):0<i.m_nEchelle&&(c=i.m_nEchelle);e<o&&(o=e);e<r&&(s.bDivPuissance10(r-e),r=e);switch(t.charAt(f)){case"D":case"E":case"d":case"e":f++;a=!1;switch(t.charAt(f)){case"-":a=!0;case"+":f++}for(h=0;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;h*=10;h+=u;f++}a?(r+=h,e<r&&(r=e),o<r&&(o=r)):r<h?(o+=h-r,e<o&&(o=e),s.bMulPuissance10(h-r),r=0):r-=h}v=0;c<r&&(v=r-c,r=c);o<r&&(o=r);i.m_nPrecision=o;i.m_nEchelle=r;p=s.bDivPuissance10(v);y&&s.oOpposee()},r}(t.CTDescriptionTypeSimple);t.ms_DescriptionNumeriqueDefaut=new f(13,128,38,38,38,6,!0);t.ms_DescriptionNumeriqueAuto=new f(13,128,38,38,0,0,!0);t.ms_DescriptionI8=new f(9,64,19,0,19,0,!0);t.ms_DescriptionUI8=new f(5,64,19,0,19,0,!1);t.oGetDescriptionNumerique=a;var i=16,r=i/8,o=65535,v=32767,s=32768,y=128,u=4,h="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",p=[0,2,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38],e=function(){function t(t,r,u){this.m_bSigne=r;this.m_tabData=new Array(Math.ceil(t/i));u?this.CopieDepuis(u):this.SetZero()}return t.prototype.oGetCopie=function(){return new t(this.nGetNbBitsTotal(),this.m_bSigne,this)},t.prototype.CopieDepuis=function(t,i){var f,e,u;for(f=undefined===i?t.m_tabData.length:Math.floor(i/r),t.bEstNegatif(i)?this.__SetMoins1():this.SetZero(),e=Math.min(this.m_tabData.length,f),u=0;u<e;u++)this.m_tabData[u]=t.m_tabData[u]},t.prototype.nGetNbBitsTotal=function(){return this.m_tabData.length*i},t.prototype.nAddEntier=function(n){for(var i=n,t=0;t<this.m_tabData.length;t++)i=this.__nAffecteAvecRetenue(this.m_tabData[t]+i,t);return i},t.prototype.nAddData=function(t){for(var r=0,i=0;i<this.m_tabData.length;i++)r=this.__nAffecteAvecRetenue(this.m_tabData[i]+t.m_tabData[i]+r,i);return r},t.prototype.nSubEntier=function(n){return this.nAddEntier(-n)},t.prototype.__bMulEntier=function(n){var r=this.bEstNegatif(),i,t,u;for(r&&this.oOpposee(),i=0,t=0;t<this.m_tabData.length;t++)i=this.__nAffecteAvecRetenue(this.m_tabData[t]*n+i,t);return u=0==i&&!1==this.bEstNegatif(),r&&this.oOpposee(),u},t.prototype.oMulData=function(i){for(var f,r,o,u=new t(Math.max(this.nGetNbBitsTotal(),i.nGetNbBitsTotal())*2,this.m_bSigne||i.m_bSigne),e=i.m_tabData.length-1;0<=e;e--){for(f=0,r=void 0,u.m_tabData.unshift(0),o=u.m_tabData.pop(),r=0;r<this.m_tabData.length;r++)f=u.__nAffecteAvecRetenue(this.m_tabData[r]*i.m_tabData[e]+f+u.m_tabData[r],r);for(;r<u.m_tabData.length&&f!=0;r++)f=u.__nAffecteAvecRetenue(f+u.m_tabData[r],r)}return u},t.prototype.bMulPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,u),t=this.__bMulEntier(Math.pow(10,i))&&t,n-=i;return t},t.prototype.nMulPuissance10Max=function(){for(var n=0,t;0==this.m_tabData[this.m_tabData.length-1];)this.bMulPuissance10(u),n+=u;for(t=this.oGetCopie();;)if(t.bMulPuissance10(1))n++,this.CopieDepuis(t);else break;return n},t.prototype.nDivEntier=function(n){return this.nDivEntierAvecReste(n,this.bEstNegatif()?n-1:0)},t.prototype.nDivEntierAvecReste=function(t,r){for(var f,u=this.m_tabData.length-1;0<=u;u--)f=(r<<i)+this.m_tabData[u],r=f%t,this.m_tabData[u]=n.NSOperations.nArrondiVersZero(f/t);return r},t.prototype.oDivData=function(i){var f,e,r;var u=new t(i.nGetNbBitsTotal(),this.m_bSigne||i.m_bSigne),o=this.nGetNbBitsTotal(),s=i.oGetCopie().oOpposee();for(f=0;f<o;f++){for(u.__nUnDecalageGauche(this.__nUnDecalageGauche(0)),e=!0,r=u.m_tabData.length-1;0<=r;r--)if(u.m_tabData[r]>i.m_tabData[r])break;else if(u.m_tabData[r]<i.m_tabData[r]){e=!1;break}e&&(this.m_tabData[0]+=1,u.nAddData(s))}return u},t.prototype.bDivPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,u),t=0==this.nDivEntier(Math.pow(10,i))&&t,n-=i;return t},t.prototype.oOpposee=function(){for(var n=this.m_tabData.length-1;0<=n;n--)this.m_tabData[n]^=o;return this.nAddEntier(1),this},t.prototype.oAbsolue=function(){return this.bEstNegatif()&&this.oOpposee(),this},t.prototype.SetZero=function(){this.__SetValeurUniforme(0)},t.prototype.__SetMoins1=function(){this.__SetValeurUniforme(o)},t.prototype.bConvert=function(n,t){return n==t?!0:t<n?(this.bDivPuissance10(n-t),!0):this.bMulPuissance10(t-n)},t.prototype.oGetMoitie=function(t){var i=this.oGetCopie(),r=Math.floor(i.m_tabData.length/2);return i.m_tabData.splice(t?0:r,r),i},t.prototype.nAjusteEchelle=function(t,i){for(var f=Math.floor(this.m_tabData.length/2),r=this.m_tabData.length-1;r>=f;r--)while(this.m_tabData[r]&&0<t)r>f?(this.bDivPuissance10(u),t-=u):(this.bDivPuissance10(1),t--);return 0!=(this.m_tabData[f-1]&s)&&0<t&&(this.bDivPuissance10(1),t--),i<t&&(this.bDivPuissance10(t-i),t=i),t},t.prototype.nGetBits=function(n){for(var t,e,o=0,r=0,u=1,h=n.m_nIndiceCDebutInclus,c=n.m_nIndiceCFinNonInclus,s=this.m_tabData,l=s.length,f=0;f<l;f++)for(t=s[f],e=0;e<i;e++)h<=r&&r<c&&(t&1&&(o+=u),u=u<<1),t=t>>>1,r++;return o},t.prototype.SetBits=function(n,t){for(var u,f,e,o=0,h=t.m_nIndiceCDebutInclus,c=t.m_nIndiceCFinNonInclus,s=this.m_tabData,l=s.length,r=0;r<l;r++){for(u=s[r],f=1,e=0;e<i;e++)h<=o&&o<c&&(u=u&~f|(n&1)<<e,n=n>>>1),f=f<<1,o++;s[r]=u}},t.prototype.bEstZero=function(){return this.__bEstValeurUniforme(0)},t.prototype.bEstMoins1=function(){return this.__bEstValeurUniforme(o)}
4,t.prototype.bEstNegatif=function(n){if(!this.m_bSigne)return!1;var t=s;return undefined===n?n=this.m_tabData.length-1:(0==n%r&&(t=y),n=Math.floor(n/r)),!!(this.m_tabData[n]&t)},t.prototype.bEstPair=function(){return n.NSOperations.bEstPair(this.m_tabData[0])},t.prototype.bGetSigne=function(){return this.m_bSigne},t.prototype.nGetNeededNbOctets=function(){var i=this.m_tabData.length*r,n,t;if(this.bEstNegatif()){for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/r)],65280!=(t&65280))break;if(n--,255!=(t&255))break}(0==n||0==(this.m_tabData[Math.floor(n/r)]&128<<16*(n%2)))&&n++}else{for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/r)],0!=(t&65280))break;if(n--,0!=(t&255))break}0!=(this.m_tabData[Math.floor(n/r)]&128<<16*(n%2))&&n++}return n++,n},t.prototype.__SetValeurUniforme=function(n){for(var t=this.m_tabData.length-1;0<=t;t--)this.m_tabData[t]=n},t.prototype.__bEstValeurUniforme=function(n){for(var t=this.m_tabData.length-1;0<=t;t--)if(this.m_tabData[t]!=n)return!1;return!0},t.prototype.__nUnDecalageGauche=function(n){for(var i,t=0;t<this.m_tabData.length;t++)i=0!=(this.m_tabData[t]&s)?1:0,this.m_tabData[t]=((this.m_tabData[t]&v)<<1)+n,n=i;return n},t.prototype.__nAffecteAvecRetenue=function(n,t){return this.m_tabData[t]=n&o,n>>>i},t}(),c=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.toString=function(n){var s,o,c,u;n===void 0&&(n=10);var t=[],i=this.m_tValeur.m_oNumeriqueData.oGetCopie(),r=this.m_tValeur.m_nEchelle,f=!0,e=0;for(10!=n&&(i.bDivPuissance10(r),r=0),this.bEstNegatif()&&10==n&&i.oOpposee();e<=r||!i.bEstZero();){if(e==r)f||r==0||t.push("."),f=!1;else if(s=10!=n&&i.bEstMoins1(),o=i.nDivEntier(n),0==o&&f||(t.push(h.charAt(o)),f=!1),s){if(1<t.length)for(c=t[t.length-2],u=0;u<n;u++)if(c==h.charAt(u)){n<=u*2&&t.pop();break}i.SetZero()}e++}return 10==n&&(e==r+1&&t.push("0"),this.bEstNegatif()&&t.push("-")),t.reverse(),t.join("")},r.prototype.vnToNumber=function(){return parseFloat(String(this))},r.prototype.valueOf=function(){return this.vnToNumber(0)},r.prototype.viGetSousElement=function(t,i){return n.NSUtil.iChaineSousElement(this.viGetIntervalle(1,i[t],undefined),t+1,i)},r.prototype.viGetIntervalle=function(i,r,u){switch(this.veGetTypeWL()){case 5:case 9:case 14:return new t.CIntervalleNombre(this,i,r,u);default:throw new n.CErreur(602,"[ ]");}},r.prototype.vnGetBits=function(n){return this.m_tValeur.m_oNumeriqueData.nGetBits(n)},r.prototype.vSetBits=function(n,t){return this.m_tValeur.m_oNumeriqueData.SetBits(n,t)},r.prototype.bEstNegatif=function(){return this.m_tValeur.m_oNumeriqueData.bEstNegatif()},r.prototype.oAbsolue=function(){return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,this.m_tValeur.m_nEchelle,this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue())},r.prototype.oArrondi=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i,r;return n<this.m_tValeur.m_nEchelle?(t.oAbsolue(),n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),r=t.nDivEntier(10),5<=r&&t.nAddEntier(1),this.bEstNegatif()&&t.oOpposee(),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiInferieur=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i;return n<this.m_tValeur.m_nEchelle?(n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),t.nDivEntier(10),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiSuperieur=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i;return n<this.m_tValeur.m_nEchelle?(n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),t.nDivEntier(10),t.nAddEntier(1),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiVersZero=function(){var n=this.m_tValeur.m_oNumeriqueData.oGetCopie(),t=n.bDivPuissance10(this.m_tValeur.m_nEchelle);return!t&&this.bEstNegatif()&&n.nAddEntier(1),this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,n)},r.prototype.bEstPair=function(){return this.oPartieEntiere().m_tValeur.m_oNumeriqueData.bEstPair()},r.prototype.nLog10Arrondi=function(){var t,n=this.m_tValeur.m_oNumeriqueData.oGetCopie();if(n.bDivPuissance10(this.m_tValeur.m_nEchelle),n.bEstZero()){t=0;do t--,n=this.m_tValeur.m_oNumeriqueData.oGetCopie(),n.bDivPuissance10(this.m_tValeur.m_nEchelle- -t);while(n.bEstZero())}else for(t=-1;!n.bEstZero();)n.bDivPuissance10(1),t++;return t},r.prototype.oPartieEntiere=function(){var n=this.m_tValeur.m_oNumeriqueData.oGetCopie();return n.bDivPuissance10(this.m_tValeur.m_nEchelle),this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,n)},r.prototype.oConversionTypeNumerique=function(n){var i=this.m_iDescriptionType;return 13==this.veGetTypeWL()&&(i=t.ms_DescriptionNumeriqueAuto),i.viCreationCopie(n,0)},r.prototype.oAdditionNumerique=function(n){var e=this.m_tValeur,o=n.m_tValeur,r,u,s,i,f,t,h,c;return e.m_nEchelle>o.m_nEchelle?(r=e,u=o,s=n):(r=o,u=e,s=this),i=r.m_nEchelle,t=u.m_oNumeriqueData.oGetCopie(),t.bConvert(u.m_nEchelle,i)?f=r.m_oNumeriqueData:(i=s.__nGetEchelleMaximale(r),t=u.m_oNumeriqueData.oGetCopie(),t.bConvert(u.m_nEchelle,i),f=r.m_oNumeriqueData.oGetCopie(),f.bConvert(r.m_nEchelle,i)),h=t.bEstNegatif(),c=t.nAddData(f),f.bEstNegatif()==h&&t.bEstNegatif()!=h&&0<i&&(i--,0!=t.nDivEntierAvecReste(10,c?9:0)),this.__oCreeResultat(n).__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oSoustractionNumerique=function(n){var t=this.m_iDescriptionType.viCreationCopie(n,0);return t.m_tValeur.m_oNumeriqueData.oOpposee(),this.oAdditionNumerique(t)},r.prototype.oMultiplicationNumerique=function(n){var t=this.__oCreeResultat(n);if(!this.m_tValeur.m_oNumeriqueData.bEstZero()&&!n.m_tValeur.m_oNumeriqueData.bEstZero()){var r=this.bEstNegatif()!=n.bEstNegatif(),u=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),f=n.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),i=u.oMulData(f),e=i.nAjusteEchelle(this.m_tValeur.m_nEchelle+n.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);t.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,e,i.oGetMoitie(!1));r&&t.m_tValeur.m_oNumeriqueData.oOpposee()}return t},r.prototype.xoDivisionNumerique=function(t){var i=this.__oCreeResultat(t,!0);if(t.m_tValeur.m_oNumeriqueData.bEstZero())throw new n.CErreur(216);else if(!this.m_tValeur.m_oNumeriqueData.bEstZero()){var f=this.bEstNegatif()!=t.bEstNegatif(),u=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),o=t.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),r=new e(this.m_iDescriptionType.m_nNbBitsTotal*2,u.bGetSigne(),u),s=r.nMulPuissance10Max(),h=r.oDivData(o),c=r.nAjusteEchelle(s+this.m_tValeur.m_nEchelle-t.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);i.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,c,r.oGetMoitie(!1));f&&(i.m_tValeur.m_oNumeriqueData.oOpposee(),h.bEstZero()||i.m_tValeur.m_oNumeriqueData.nSubEntier(1))}return i},r.prototype.xoModuloNumerique=function(t){var i=this.__oCreeResultat(t),f,r,u,o;if(t.m_tValeur.m_oNumeriqueData.bEstZero())throw new n.CErreur(216);else this.m_tValeur.m_oNumeriqueData.bEstZero()||(f=this.bEstNegatif(),r=new e(this.m_iDescriptionType.m_nNbBitsTotal*2,this.m_tValeur.m_oNumeriqueData.bGetSigne(),this.m_tValeur.m_oNumeriqueData).oAbsolue(),r.bDivPuissance10(this.m_tValeur.m_nEchelle),u=new e(this.m_iDescriptionType.m_nNbBitsTotal,t.m_tValeur.m_oNumeriqueData.bGetSigne(),t.m_tValeur.m_oNumeriqueData).oAbsolue(),u.bDivPuissance10(t.m_tValeur.m_nEchelle),o=r.oDivData(u),i.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,o),f&&i.m_tValeur.m_oNumeriqueData.oOpposee());return i},r.prototype.oGetCopieNumeriqueData=function(){return this.m_tValeur.m_oNumeriqueData.oGetCopie()},r.prototype.nGetPrecision=function(){return this.m_tValeur.m_nPrecision},r.prototype.nGetEchelle=function(){return this.m_tValeur.m_nEchelle},r.prototype.__oCreeResultat=function(i,r){return r||13==this.veGetTypeWL()||i&&13==i.veGetTypeWL()?t.ms_DescriptionNumeriqueAuto.viCreation():9==this.veGetTypeWL()||i&&9==i.veGetTypeWL()?t.ms_DescriptionI8.viCreation():t.ms_DescriptionUI8.viCreation()},r.prototype.__oSetData=function(t,i,r){var u,f;return this.__SetPrecision(t),u=this.__nSetEchelle(i),this.m_iDescriptionType.m_nPrecisionMaximale==this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(r):0<this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(r,Math.ceil(this.m_tValeur.m_nPrecision/(8*Math.LOG10E/Math.LOG2E))):this.m_tValeur.m_oNumeriqueData.SetZero(),f=this.m_tValeur.m_oNumeriqueData.bDivPuissance10(u),this},r.prototype.__SetPrecision=function(t){this.m_tValeur.m_nPrecision=t},r.prototype.__nSetEchelle=function(n){return this.__nSetEchelleAvecMax(n,this.m_iDescriptionType.m_nEchelleMaximale)},r.prototype.__nSetEchelleAvecMax=function(t,i){var r=0;return i<t&&(r=t-i,t=i),this.m_tValeur.m_nPrecision<t&&this.__SetPrecision(t),this.m_tValeur.m_nEchelle=t,r},r.prototype.__nGetEchelleMaximale=function(t){var r=this.m_tValeur,i;return i=r.m_nEchelle+this.m_iDescriptionType.m_nPrecisionMaximale-this.__nGetPrecisionMinPourNOctet(r.m_oNumeriqueData.nGetNeededNbOctets()),i<r.m_nEchelle&&(i=r.m_nEchelle),t.m_nEchelle<=i&&(i=t.m_nEchelle-1),Math.min(i,this.m_iDescriptionType.m_nEchelleMaximale)},r.prototype.__nGetPrecisionMinPourNOctet=function(t){return p[t]+1},r}(t.CTType);t.bIsNumerique=l})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function c(n){var t;return function(){return undefined===t&&(t=new r(n.map(function(n){var t=n.m_tDefinition;return t instanceof Function?new h(n.m_sNomUtilisateur,n.m_sNomStandard,t()):new h(n.m_sNomUtilisateur,n.m_sNomStandard,t)}))),t}}function l(t){switch(t){case 0:case 1:return 0;case 2:return 1}}
4function nt(n,t,i){return{m_oInstanceDeClasse:t||i.m_oInstanceDeClasse.m_tabClassesDeBase[n],m_iDescriptionClasse:ot(n,i)}}function ot(n,t){return t.m_iDescriptionClasse.m_pfResolutionDefinitionsClassesDeBase().oGetParNomStandard(n).m_oDescriptionStatique}function a(t,i){return i.reduce(function(t,i){var r=t.m_oInstanceDeClasse.m_tabClassesDeBase[i];if(r)return nt(i,r,t);throw new n.CErreur(605,i);},t)}function e(t,i,r,u,f,e){var o,s,h;if(o=v(t,i,r,u,f),o&&(s=a(t,o.m_tabClassesDeBase),h=e(s,o.m_sNomStandard),h))return{m_iEffectif:s,m_oMembre:h,m_tabClassesDeBase:o.m_tabClassesDeBase,m_sNomStandardEffectif:o.m_sNomStandard};throw new n.CErreur(605,i);}function tt(t,i,r,u){var f=null;return n.NSUtil.bForEachIn(t.m_oInstanceDeClasse.m_tabClassesDeBase,function(n,i){return f=u(n,nt(n,i,t)),!f}),f}function v(t,i,r,u,f){function e(n,t,i,r){return r.bExiste(n,t)?{m_eTypeMembre:i,m_sNomUtilisateur:n,m_sNomStandard:t,m_tabClassesDeBase:[]}:null}function s(t,f){var e=v(f,i,r,u,!0);return e&&e.m_tabClassesDeBase.unshift(t),e}var o=t.m_iDescriptionClasse;return 1===u&&e(i,r,1,o.m_pfResolutionDefinitionsClassesDeBase())||3===u&&e(i,r,3,o.m_tabDefinitionsMethodes)||(4===u||0===u)&&e(i,r,4,o.m_tabDefinitionsProprietes)||(2===u||0===u)&&e(i,r,2,o.m_pfResolutionDefinitionsMembres())||(f?tt(t,r,u,s):null)}function st(n,t,i,r){var f=n.m_oInstanceDeClasse.m_tabMembres,u=null;return n.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().bForEach(function(n){if(n.m_tDefinition.vbGetAttributAssocie())try{return u=f[n.m_sNomStandard].viGetMembre2(t,i,2,r),!1}catch(e){}return!0}),u}function it(n,t,i,r){function u(n,u){return it(u,t,i,r)}return st(n,t,i,r)||tt(n,i,r,u)}function y(n,t,i){n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(n){return t(n.m_sNomStandard,n.m_tDefinition.m_oDescriptionStatique),!0});n.m_pfResolutionDefinitionsMembres().bForEach(function(n){return i(n),!0})}function rt(i){var r={};return n.NSUtil.bForEachIn(i,function(n,i){return r[n]=t.iNatif2RValue(i),!0}),{m_tabClassesDeBase:{},m_tabMembres:r,m_bNative:!0}}function p(n,t){var i=t.vtGetValeurDirect();return null===i&&(i=new f(n),t.vSetValeurDirect(i)),i}function u(i,r,e){var c=e.m_tabClassesDeBase,h=r.m_tabClassesDeBase,o=e.m_tabMembres,s=r.m_tabMembres;y(i,function(i,r){var s=c[i],o=h[i];s?h[i]=r.viCreation(n.iGetValeurInitiale(s,2),t.ms_pfSansAppelConstructeur).vtGetValeurDirect():e.m_bNative&&o&&u(r,o,e)},function(i){var r=i.m_sNomStandard,u=i.m_tDefinition,e,y=!1,p=t.ms_pfSansAppelConstructeur,h,c,a,l,v,f;if(n.NSOperations.bDansDeserialisation){if(h=void 0,c=u.voGetAttributSerialise(),!1===c)return;if(h="string"==typeof c?c:i.m_sNomUtilisateur,e=o[h],a=s.hasOwnProperty(r),a){l=s[r];o.hasOwnProperty(h)&&(s[r]=u.viAffectation(l,n.iGetValeurAffectation(e,0,{m_bAvecErreur:!1})));return}}else{if(v=u.veGetAttributCopie(),0===v)return;1===v&&(y=!0,p=undefined);e=o.hasOwnProperty(r)?o[r]:o[i.m_sNomUtilisateur]}f=n.iGetValeurInitiale(e,0);f&&(f.m_iOptions.m_bForceCopiePronfondeurTableau=!0,f.m_iOptions.m_bForceClone=y);s[r]=u.viCreation(f,p)})}function ut(n,t,r){while(!n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(i){return n=i.m_tDefinition.m_oDescriptionDynamique,t=t.m_tabClassesDeBase[i.m_sNomStandard],!1}));var u=0,f=r.nGetNbElements(),e=new i(t,n,[],!1);n.m_pfResolutionDefinitionsMembres().bForEach(function(n){return u<f?(e.viGetMembre2(n.m_sNomUtilisateur,n.m_sNomStandard,0,2).vSetValeur(r.iGetSousElementIndice(u),0,{}),u++,!0):!1})}function o(n){return n&&(n instanceof i||n.xiGetInstancePourDonnees)}function s(t){var i,r;return o(t)?t:(i=n.iGetAsBase(t),i&&(r=i.viGetRValue(0),o(r)))?r:null}function vt(t,i){function e(n,t){function i(){n.apply(this,t)}return i.prototype=n.prototype,new i}var f=String(t),r=f.split(".").reduce(function(n,t){try{return n[t]}catch(i){return undefined}},window),u;if(r instanceof d)return r.m_oDescriptionStatique.viCreation(undefined,i);if(r instanceof Function)return u=i().map(function(t){return n.NSValues.oAny2Natif(t)}),Function.prototype.bind?(u.unshift(null),new(Function.prototype.bind.apply(r,u))):e(r,u);throw new n.CErreur(605,f);}var h=function(){function n(n,t,i){this.m_sNomUtilisateur=n;this.m_sNomStandard=t;this.m_tDefinition=i}return n}(),r,w,b,ft,k,d;t.CElementClasseDefinition=h;r=function(){function t(t){var i={},r={};n.NSUtil.bForEach(t,function(n){return i[n.m_sNomUtilisateur]=n,r[n.m_sNomStandard]=n,!0});this.m_tabNomUtilisateur=i;this.m_tabNomStandard=r}return t.prototype.oGetParNomUtilisateur=function(n){return this.m_tabNomUtilisateur[n].m_tDefinition},t.prototype.oGetParNomStandard=function(n){return this.m_tabNomStandard[n].m_tDefinition},t.prototype.oGetParNom=function(t,i){return this.oGetParNomStandard(i)},t.prototype.bExiste=function(t,i){return this.m_tabNomStandard.hasOwnProperty(i)},t.prototype.sGetNomUtilisateur=function(n){return this.m_tabNomStandard[n].m_sNomUtilisateur},t.prototype.bForEach=function(t){return n.NSUtil.bForEachIn(this.m_tabNomUtilisateur,function(n,i){return t(i)})},t}();t.pfResolutionDefinitions=c;t.ms_pfSansAppelConstructeur=function(){return[]};w=function(e){function o(t,i,u,f,o,s,h,c){var l=e.call(this,t,undefined)||this;return l.m_pfResolutionDefinitionsMembres=u,l.m_pfConstructeur=f,l.m_sNomClasseUtilisateur=h,l.m_sNomClasseLogique=c,undefined!==h&&undefined===c&&(l.m_sNomClasseLogique=n.NSUtil.sGetFormatLogique(h)),l.m_pfResolutionDefinitionsClasse
4sDeBase=i||function(){return new r([])},l.m_tabDefinitionsMethodes=new r(o||[]),l.m_tabDefinitionsProprietes=new r(s||[]),l}return __extends(o,e),o.prototype.viCreation=function(i,r){function s(n,i,u){var f=n._oAllocation(i);return 1!==u&&r!==t.ms_pfSansAppelConstructeur&&null!==f.vtGetValeurDirect()&&f.vAppelDuConstructeur.apply(f,r?r():[]),f}function h(n,t,i,r){var u=new f(n),e=s(n,u,i);return r(n,u,t),e}var e=this,o;return i?(this._xVerificationValeur(i),o=this._xveVerifieCreation(i),this._xoParcoursObjet(i,this,function(){return s(e,undefined,l(o))},function(){return s(e,null,l(o))},function(t){return n.NSUtil.xVerifieAffectationCopie(i),h(e,rt(t),l(o),u)},function(n){return h(e,n,0,ut)},function(t){var i,r,f;switch(o){case 0:if(i=t.viGetDescriptionType(),f=t.vtGetValeurDirect(),null!==f)r=f;else throw new n.CErreur(615);break;case 1:i=e;r=t.xiGetInstancePourDonnees().m_oInstanceDeClasse;break;case 2:return t}return h(i,r,0,u)})):s(this,undefined,0)},o.prototype.viAffectation=function(t,i){var r=this,f;return this._xVerificationValeur(i),f=this._xveVerifieAffectation(i),this._xoParcoursObjet(i,this,function(){return t.vSetValeurDirect(r._voGetValeurPourAllocationSiUndefined()),t},function(){return t.vSetValeurDirect(r._voGetValeurPourAllocationSiNull()),t},function(f){return n.NSUtil.xVerifieAffectationCopie(i),u(r,p(r,t),rt(f)),t},function(n){return ut(r,p(r,t),n),t},function(n){return 1===f?n:(u(r,p(r,t),n.xiGetInstancePourDonnees().m_oInstanceDeClasse),t)})},o.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNomClasseUtilisateur}},o.prototype._oAllocation=function(n){var t;return t=undefined===n?this._voGetValeurPourAllocationSiUndefined():null===n?this._voGetValeurPourAllocationSiNull():n,new i(t,this,[],!1)},o.prototype._xoParcoursObjet=function(r,u,e,o,h,c,l){function b(n){return undefined===n?e():null===n?o():h(n)}function p(n,t){var s,r,f,e;if(n&&(s=n.vtGetValeurDirect(),s)){if(r=void 0,t)if(f=n.viGetDescriptionType(),e=u.tabTrouveClasseCommune(f),undefined!==e)r=e.length?new i(s,f,e,!1):n;else return u.xviGetValeurPourAffectationIncompatible(f);else r=n;return l(r)}return o()}var a=r.m_oValeur,v,w,y;if(undefined===a)return e();if(null===a)return o();if(a instanceof f)return p(new i(a,a.m_iDescriptionClasse,[],!1,undefined),!0);if(v=n.iGetAsRValue(a,1),v){if(w=v.viGetAsTableau(),w)return c(w);if(y=v.viGetAsRValueType(),y)switch(v.veGetTypeWL()){case 34:return c(v.viGetAsTableau());case 36:return p(s(y),!1);case 37:return p(s(y),!0);case 112:return p(s(y.vtGetValeurDirect()),!0);default:if(!t.bIsObjetNatif(v))break;case 107:return b(y.vtGetValeurDirect())}}else{if(n.NSUtil.bIsArray(a))return c(t.iNatif2RValue(a).viGetAsTableau());if(n.NSUtil.bIsObject(a))return b(a)}throw new n.CErreur(600);},o.prototype.tabTrouveClasseCommune=function(n){var i=this,t;return n.m_pfResolutionDefinitionsMembres===this.m_pfResolutionDefinitionsMembres?[]:(n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(n){return t=i.tabTrouveClasseCommune(n.m_tDefinition.m_oDescriptionStatique),undefined!==t?(t.unshift(n.m_sNomStandard),!1):!0}),t)},o}(t.CTDescriptionType);b=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vbStatique=function(){return!0},t.prototype._xveVerifieCreation=function(n){if(!0===n.m_iOptions.m_bForceClone)return 0;switch(n.m_eAffectation){case 0:case 2:case 4:return 1;case 1:case 3:return 2}},t.prototype._xveVerifieAffectation=function(n){switch(n.m_eAffectation){case 0:case 2:case 4:return 0;case 1:case 3:return 1}},t.prototype._voGetValeurPourAllocationSiUndefined=function(){return new f(this)},t}(w);t.CDescriptionClasseStatiqueBase=b;ft=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype._voGetValeurPourAllocationSiNull=function(){return null},i.prototype.xviGetValeurPourAffectationIncompatible=function(t){throw new n.CErreur(618,t.m_sNomClasseUtilisateur,this.m_sNomClasseUtilisateur);},i.prototype._xvVerifieOperateur=function(){},i}(b);k=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vbStatique=function(){return!1},t.prototype._voGetValeurPourAllocationSiUndefined=function(){return null},t.prototype._voGetValeurPourAllocationSiNull=function(){return null},t.prototype.xviGetValeurPourAffectationIncompatible=function(n){return new ht(this,n)},t.prototype._xveVerifieCreation=function(n){if(!0===n.m_iOptions.m_bForceClone)return 0;switch(n.m_eAffectation){case 2:case 4:return 1;case 0:case 1:case 3:return 2}},t.prototype._xveVerifieAffectation=function(n){switch(n.m_eAffectation){case 2:case 4:return 0;case 0:case 1:case 3:return 1}},t}(w);t.CDescriptionClasseDynamique=k;d=function(){function n(n,t,i,r,u,f,e){var o=c(n),s=c(t);this.m_oDescriptionStatique=new ft(37,o,s,i,r,u,f,e);this.m_oDescriptionDynamique=new k(37,o,s,i,r,u,f,e)}return n}();
4t.CDescriptionClasse=d;var f=function(){function r(n){this.m_iDescriptionClasse=n;this.m_bNative=!1;var i={},u={};y(n,function(n,t){i[n]=new r(t)},function(n){u[n.m_sNomStandard]=n.m_tDefinition.viCreation(undefined,t.ms_pfSansAppelConstructeur)});this.m_tabClassesDeBase=i;this.m_tabMembres=u}return r.prototype.AppelDuConstructeur=function(t,r,u){var s=t.m_pfConstructeur,f,e;s?s.apply(new i(this,t,[],!1,r),u):(f=this.m_tabClassesDeBase,e=this.m_tabMembres,y(t,function(t,i){var u=f[t];u.AppelDuConstructeur(i,r,[])},function(t){var i=e[t.m_sNomStandard];o(i)&&i.vAppelDuConstructeur()}))},r}(),i=function(i){function r(n,t,r,u,f){var e=i.call(this,n,t)||this;return e.m_tabClassesDeBase=r,e.m_bMethodesSansDerivees=u,e.m_sNomClasseForce=f,e}return __extends(r,i),r.prototype.valueOf=function(){function n(n,t,i){n.hasOwnProperty(t)||Object.defineProperty(n,t,i)}var t=this.__oGetCopie(function(t,i,r,u){n(i,r,{enumerable:!0,get:function(){return t.viGetMembre2(r,u,0,2).valueOf()},set:function(n){t.viGetMembre2(r,u,0,2).vSetValeur(n,0,{})}})},function(t,i,r){n(i,r.m_sNomUtilisateur,{get:function(){return function(){for(var i,u=[],n=0;n<arguments.length;n++)u[n]=arguments[n];i=t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,3);i.viAppelFonction.apply(i,u)}}})},function(t,i,r){n(i,r.m_sNomUtilisateur,{get:function(){return t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,4).valueOf()},set:function(n){t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,4).vSetValeur(n,0,{})}})});return this._oPatchValueOf(t)},r.prototype.toJSON=function(){var n=this.m_iDescriptionType.m_pfResolutionDefinitionsMembres();return this.__oGetCopie(function(t,i,r,u,f){var o=r,s=n.oGetParNom(r,u),e;if(s){e=s.voGetAttributSerialise();switch(typeof e){case"boolean":if(!e)return;break;case"string":o=e}}i[o]=f.toJSON()},null,null)},r.prototype.viGetMembre2=function(n,t,r,u){var e,s,f,l;if(u===void 0&&(u=0),e=this.xiGetInstancePourDonnees(),1===u&&(s=e.m_iDescriptionClasse.m_sNomClasseLogique,s&&t===s))return new et(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase,!0,this.m_sNomClasseForce);if(f=v(e,n,t,u,!0),f){var h=this.oChaine(f.m_tabClassesDeBase,this.m_bMethodesSansDerivees),c=f.m_sNomUtilisateur,o=f.m_sNomStandard;switch(f.m_eTypeMembre){case 1:return new et(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat([o]),!0,this.m_sNomClasseForce);case 2:return new ct(h,c,o);case 3:return new lt(h,c,o);case 4:return new at(h,c,o)}}return r===2&&(l=it(e,n,t,u),l)?l:i.prototype.viGetMembre2.call(this,n,t,r,u)},r.prototype.viGetAsInterfacePossible=function(){return this},r.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},r.prototype._viGetProprieteVM=function(t){switch(t){case 21:var r=this.m_sNomClasseForce||this.m_iDescriptionType.m_sNomClasseUtilisateur;if(undefined!==r)return n.NSUtil.oGetProprieteConstante(r,16,0,t)}return i.prototype._viGetProprieteVM.call(this,t)},r.prototype.vAppelDuConstructeur=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.vtGetValeurDirect()&&(i=this.xiGetInstancePourDonnees(),i.m_oInstanceDeClasse.AppelDuConstructeur(i.m_iDescriptionClasse,this.m_sNomClasseForce||i.m_iDescriptionClasse.m_sNomClasseUtilisateur,r))},r.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(t){if(n.NSOperations.bDansDeserialisation){this.xiGetInstancePourDonnees().m_iDescriptionClasse.viAffectation(this,t);return}n.NSUtil.xVerifieAffectationAucune(t)},r.prototype.oChaine=function(n,t){return new r(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat(n),t,this.m_sNomClasseForce)},r.prototype.iGetThisCompatible=function(n){var t=this.viGetDescriptionType(),i=n.tabTrouveClasseCommune(t);return undefined!==i?i.length?new r(this.vtGetValeurDirect(),t,i,!1):this:n.xviGetValeurPourAffectationIncompatible(t)},r.prototype.iResolutionGetMembre=function(t){return e(this.xiGetInstancePourDonnees(),t.m_sNomUtilisateur,t.m_sNomStandard,2,!0,function(i,r){return i.m_oInstanceDeClasse.m_tabMembres[r]}).m_oMembre},r.prototype.ResolutionSetMembre=function(t,i){var r=e(this.xiGetInstancePourDonnees(),t.m_sNomUtilisateur,t.m_sNomStandard,2,!0,function(i,r){return i.m_oInstanceDeClasse.m_tabMembres[r]}),u=r.m_iEffectif,o=u.m_oInstanceDeClasse.m_tabMembres,f=r.m_sNomStandardEffectif,s=u.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().oGetParNomStandard(f);o[f]=s.viAffectation(r.m_oMembre,i)},r.prototype.iResolutionGetMethode=function(i){var r=this.__xiResolutionMethode(i.m_sNomUtilisateur,i.m_sNomStandard);return function(i){return n.ms_oSymbolDepuisWLEnV2 in r.m_oMembre&&(i[n.ms_oSymbolDepuisWLEnV2]=!0),i[n.ms_oSymbolFonctionOriginale]=r.m_oMembre,t.ms_DescriptionFonction.viCreationCopie(i,3)}(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.m_oMembre.apply(r.m_iThis,t)})},r.prototype.iResolutionGetPropriete=function(t){var i=this.__xiResolutionPropriete(t.m_sNomUtilisateur,t.m_sNomStandard);if(i.m_oMembre.m_pfGet)return n.NSValues.iAny2RValue(i.m_oMembre.m_pfGet.apply(i.m_iThis,[]));throw new n.CErreur(605,t.m_sNomUtilisateur);},r.prototype.ResolutionSetPropriete=function(t,i){var r=this.__xiResolutionPropriete(t.m_sNomUtilisateur,t.m_sNomStandard);if(r.m_oMembre.m_pfSet)r.m_oMembre.m_pfSet.apply(r.m_iThis,[i.m_oValeur]);else throw new n.CErreur(605,t.m_sNomUtilisateur);},r.prototype.xiGetInstancePourDonnees=function(){return a(this.__xiGetInstanceDeClasse(),this.m_tabClassesDeBase)},r.prototype.vxiVerifieInterface=function(t){var i=this;return t.m_tabDefinitionsMethodes.bForEach(function(r){try{return i.__xiResolutionMethode(r.m_sNomUtilisateur,r.m_sNomStandard),!0}catch(u){throw new n.CErreur(905,i.viGetDescriptionType().m_sNomClasseUtilisateur,r.m_sNomUtilisateur,t.m_sNomUtilisateur);}}),t.m_tabDefinitionsProprietes.bForEach(function(r){var u=r.m_sNomUtilisateur,f;try{f=i.__xiResolutionPropriete(u,r.m_sNomStandard)}catch(e){throw new n.CErreur(906,i.viGetDescriptionType().m_sNomClasseUtilisateur,u,t.m_sNomUtilisateur);}if(r.m_tDefinition.m_bLecture&&null===f.m_oMembre.m_pfGet)throw new n.CErreur(907,u,i.viGetDescriptionType().m_sNomClasseUtilisateur,t.m_sNomUtilisateur);if(r.m_tDefinition.m_bEcriture&&null===f.m_oMembre.m_pfSet)throw new n.CErreur(908,u,i.viGetDescriptionType().m_sNomClasseUtilisateur,t.m_sNomUtilisateur);return!0}),this},r.prototype.voGetValeurPourInterface=function(){return this.valueOf()},r.prototype.__xiGetInstanceDeClasse=function(){var t=this.vtGetValeurDirect();
4if(t)return{m_oInstanceDeClasse:t,m_iDescriptionClasse:this.m_iDescriptionType};throw new n.CErreur(615);},r.prototype.__xiResolutionMethode=function(t,i){return this.__xiResolutionMethodeOuPropriete(function(r,u){return e(r,t,i,3,u,function(t,r){return t.m_iDescriptionClasse.m_tabDefinitionsMethodes.oGetParNomStandard(r)})})},r.prototype.__xiResolutionPropriete=function(t,i){return this.__xiResolutionMethodeOuPropriete(function(r,u){return e(r,t,i,4,u,function(t,r){return t.m_iDescriptionClasse.m_tabDefinitionsProprietes.oGetParNomStandard(r)})})},r.prototype.__xiResolutionMethodeOuPropriete=function(t){var i,f,e;if(!this.m_bMethodesSansDerivees){var o=this.m_tabClassesDeBase,s=o.length,u=this.__xiGetInstanceDeClasse();for(i=0;i<s;i++){try{return f=t(u,!1),{m_iThis:new r(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.slice(0,i),!1),m_oMembre:f.m_oMembre}}catch(h){}u=a(u,[o[i]])}}return e=t(this.xiGetInstancePourDonnees(),!0),{m_iThis:this.oChaine(e.m_tabClassesDeBase,!1),m_oMembre:e.m_oMembre}},r.prototype.__oGetCopie=function(t,i,r){function u(f,e,o){var s=f.viGetDescriptionType();return n.NSUtil.bForEachIn(e.m_tabClassesDeBase,function(n,t){return u(f.oChaine([n],!1),t,o),!0}),n.NSUtil.bForEachIn(e.m_tabMembres,function(n,i){return t(f,o,f.viGetDescriptionType().m_pfResolutionDefinitionsMembres().sGetNomUtilisateur(n),n,i),!0}),i&&s.m_tabDefinitionsMethodes.bForEach(function(n){return i(f,o,n),!0}),r&&s.m_tabDefinitionsProprietes.bForEach(function(n){return r(f,o,n),!0}),o}var f=this.vtGetValeurDirect();return null===f?null:u(this,f,{})},r}(t.CTType),et=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i),ht=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_iDescriptionClasseSource=i,r}return __extends(i,t),i.prototype.vAppelDuConstructeur=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._vxoThrowErreur()},i.prototype.oChaine=function(){this._vxoThrowErreur()},i.prototype.iGetThisCompatible=function(){this._vxoThrowErreur()},i.prototype.iResolutionGetMembre=function(){this._vxoThrowErreur()},i.prototype.ResolutionSetMembre=function(){this._vxoThrowErreur()},i.prototype.iResolutionGetMethode=function(){this._vxoThrowErreur()},i.prototype.iResolutionGetPropriete=function(){this._vxoThrowErreur()},i.prototype.ResolutionSetPropriete=function(){this._vxoThrowErreur()},i.prototype.xiGetInstancePourDonnees=function(){this._vxoThrowErreur()},i.prototype._vxoThrowErreur=function(){throw new n.CErreur(618,this.m_iDescriptionClasseSource.m_sNomClasseUtilisateur,this.viGetDescriptionType().m_sNomClasseUtilisateur);},i}(t.CErreurCast),g=function(n){function t(t,i,r){var u=n.call(this)||this;return u.m_iThis=t,u.m_sNomUtilisateur=i,u.m_sNomStandard=r,u}return __extends(t,n),t}(n.NSUtil.CWrapperValue),ct=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(){return this.__iGetMembre()},t.prototype.vSetValeur2=function(n){this.m_iThis.ResolutionSetMembre(this,n)},t.prototype.vAppelDuConstructeur=function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t=this.__iGetMembre();o(t)&&t.vAppelDuConstructeur.apply(t,i)},t.prototype.__iGetMembre=function(){return this.m_iThis.iResolutionGetMembre(this)},t}(g),lt=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetRValue=function(){return this.m_iThis.iResolutionGetMethode(this)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationAucune(t)},i}(g),at=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_iThis.iResolutionGetPropriete(this)},t.prototype.vSetValeur2=function(n){this.m_iThis.ResolutionSetPropriete(this,n)},t}(g);t.iGetThis=s;t.xoAllocationDynamique=vt})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(i,r,u){if(i){n.NSUtil.xVerifieAffectationReference(i);var e=i.m_oValeur,f=t.iGetThis(e);
4if(f)return!0===u?f.viGetDescriptionType().viCreation(i,r):f}return t.ms_DescriptionObjetNatif.viCreation(i,r)}var u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype._voGetValeurPourAllocationSiNull=function(){throw new n.CErreur(600);},i.prototype.xviGetValeurPourAffectationIncompatible=function(){throw new n.CErreur(600);},i.prototype._xveVerifieCreation=function(i){return n.NSUtil.xVerifieAffectationCopie(i),t.prototype._xveVerifieCreation.call(this,i)},i.prototype._xveVerifieAffectation=function(i){return n.NSUtil.xVerifieAffectationCopie(i),t.prototype._xveVerifieAffectation.call(this,i)},i}(t.CDescriptionClasseStatiqueBase),f=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.xviGetValeurPourAffectationIncompatible=function(){throw new n.CErreur(600);},i}(t.CDescriptionClasseDynamique),e=function(){function n(n,i,r){var e=t.pfResolutionDefinitions(n);this.m_oDescriptionStatique=new u(36,null,e,null,null,null,i,r);this.m_oDescriptionDynamique=new f(36,null,e,null,null,null,i,r)}return n}(),r;t.CDescriptionStructure=e;r=function(n){function t(){return n.call(this,37,undefined)||this}return __extends(t,n),t.prototype.viCreation=function(n,t){return i(n,t,n===null||n===void 0?void 0:n.m_iOptions.m_bForceClone)},t.prototype.viAffectation=function(n,t){this._xVerificationValeur(t);switch(t.m_eAffectation){default:case 0:case 1:case 3:return i(t,undefined,!1);case 2:case 4:return n.viGetDescriptionType().viAffectation(n,t)}},t}(t.CTDescriptionType);t.ms_DescriptionObjetDynamique=new r})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){n.ms_DescriptionVariant=new n.CDescriptionObjetNatif(31,1);n.ms_DescriptionTableauVariant=new n.CDescriptionTableauNatif(1)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(){}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t){var r=new Date;i=undefined!==n&&undefined!==t&&s(String(n)+String(t),r,26)?r:null}function r(n){return undefined==n&&(n=new Date,i&&n.setTime(i.getTime())),{m_oDate:n,m_sValeurInvalide:null}}function o(n){switch(n){case 24:case 26:return!0;default:return!1}}function f(n){switch(n){case 25:case 26:return!0;default:return!1}}function s(t,i,r){t=n.NSUtil.sCorrigeDateHeureDeserialisation(t,r);switch(n.NSUtil.eSetDateHeureFromWL(i,t,!1,r,1)){case 0:var u=t;if(f(r)&&(u=h(u,r)),u==n.NSUtil.sGetDateHeureWL(i,!1,r))return!0;break;case 1:return!0}return!1}function h(t,i){var r=o(i)?17:9;return n.NSUtil.sCompleteChaine(t.substring(0,r),r,"0")}function l(n){return!!n&&(n instanceof e||undefined!==n.__xDateValide)}var i=null,u,e,c;t.SetDateHeureDefaut=a;u=function(t){function i(n){var i=t.call(this,n,function(n){var t,u=n.m_oValeur;return t=undefined!==u?i.__oCreeDate(u,n.m_iOptions.m_bAvecErreur):r(),24==i.veGetTypeWL()&&t.m_oDate.setHours(0,0,0,0),t},undefined,!1)||this;return i}return __extends(i,t),i.prototype.viCreation=function(t){var f,i,e,u;if(t){i=t.m_oValeur;e=t.m_eAffectation;this._xVerificationValeur(t);switch(e){case 3:case 1:if(u=n.iGetAsRValue(i,1),u){if(l(u)){f=u.vtGetValeurDirect();break}}else if(i instanceof Date){f=r(i);break}case 0:case 2:case 4:f=this.m_pfCast(n.iGetValeurAffectation(i,e,{m_bAvecErreur:!1}))}}return this._voAllocation(f)},i.prototype._voAllocation=function(n){n===void 0&&(n=r());return new e(n,this)},i.prototype.__oCreeDate=function(t,i){var u=r(),f=!0;switch(typeof t){case"string":f=this.__bChaine2DateHeure(t,u);break;case"number":f=this.__bNombre2DateHeure(t,u);break;case"object":f=this.__bObjet2DateHeure(t,u)}if(!f)if(i&&""!==t)throw new n.CErreur(204);else u.m_sValeurInvalide=l(t)?t.vtGetValeurDirect().m_sValeurInvalide:String(t);return u},i.prototype.__bChaine2DateHeure=function(n,t){return s(n,t.m_oDate,this.veGetTypeWL())},i.prototype.sFormateDateHeure=function(n){return this.__bHeure()?h(n,this.veGetTypeWL()):n.substring(0,8)},i.prototype.__bNombre2DateHeure=function(t,i){var r=i.m_oDate,u;switch(this.veGetTypeWL()){case 24:return u=r.getHours()*36e5+r.getMinutes()*6e4+r.getSeconds()*1e3+r.getMilliseconds(),r.setTime((t-62092)*864e5+u),!0;case 25:return 864e4<=t?!1:(r.setHours(Math.floor(t/36e4),Math.floor(t%36e4/6e3),Math.floor(t%6e3/100),t%100*10),!0);default:case 26:return!1}},i.prototype.__bObjet2DateHeure=function(t,i){var r,e=i.m_oDate,f=n.iGetAsRValue(t,1),u,o;
4if(f){switch(f.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(f.vnToNumber(0),i);case 16:case 19:return this.__bChaine2DateHeure(String(t),i);case 24:case 25:case 26:case 128:case 129:if(u=f.viGetAsRValueType(),u)return o=new Date,o.setTime(u.vtGetValeurDirect().m_oDate.getTime()),i.m_oDate=o,i.m_sValeurInvalide=u.vtGetValeurDirect().m_sValeurInvalide,null===i.m_sValeurInvalide}return!1}if(t instanceof Date)r=t;else return"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDDateHeure?this.__bChaine2DateHeure(t.toStringAvecInvalide(),i):!1;switch(this.veGetTypeWL()){case 24:e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate());break;case 25:e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds());break;case 26:e.setTime(r.getTime())}return!0},i.prototype.__bHeure=function(){return f(this.veGetTypeWL())},i}(t.CTDescriptionTypeSimple);t.ms_DescriptionDate=new u(24);t.ms_DescriptionHeure=new u(25);t.ms_DescriptionDateHeure=new u(26);e=function(i){function r(t,r){var u=i.call(this,t,r)||this;return u}return __extends(r,i),r.prototype.toString=function(){return""===this.m_tValeur.m_sValeurInvalide?this.__sGetValeurInvalide():(this.__xDateValide(),this.__sToString())},r.prototype.vnToNumber=function(){var t,i;this.__xDateValide();t=this.m_tValeur.m_oDate;switch(this.veGetTypeWL()){case 24:return i=t.getTimezoneOffset(),i+=i<0?-1:1,Math.floor((t.getTime()-i*6e4)/864e5)+62092;case 25:return n.NSOperations.nArrondiVersZero((t.getHours()*36e5+t.getMinutes()*6e4+t.getSeconds()*1e3+t.getMilliseconds())/10);default:case 26:return 0}},r.prototype.valueOf=function(){return this.toString()},r.prototype.viGetIntervalle=function(n,i,r){return new t.CIntervalleChaine(this,n,i,r)},r.prototype._viGetProprieteVM=function(n){switch(n){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return new c(this,n);default:return i.prototype._viGetProprieteVM.call(this,n)}},r.prototype.vsGetChaine=function(){return this.toString()},r.prototype.xvSetChaine=function(){throw new n.CErreur(602,"[[ ]]");},r.prototype.__sToString=function(){return n.NSUtil.sGetDateHeureWL(this.m_tValeur.m_oDate,!1,this.veGetTypeWL())},r.prototype.sToStringAvecInvalide=function(){return this.bDateValide()?this.__sToString():this.__sGetValeurInvalide()},r.prototype.__sGetValeurInvalide=function(){return this.m_iDescriptionType.sFormateDateHeure(this.m_tValeur.m_sValeurInvalide)},r.prototype.__bDate=function(){return o(this.veGetTypeWL())},r.prototype.__bHeure=function(){return f(this.veGetTypeWL())},r.prototype.bDateValide=function(){return null===this.m_tValeur.m_sValeurInvalide},r.prototype.__xDateValide=function(){if(!this.bDateValide())throw new n.CErreur(204);},r.prototype.oAdditionOffset=function(t){var i,r;this.__xDateValide();switch(this.veGetTypeWL()){case 24:t=n.NSOperations.nArrondiVersZero(t/864e5)*864e5;break;case 25:t-=n.NSOperations.nArrondiVersZero(t/864e5)*864e5}return i=new Date,i.setTime(this.m_tValeur.m_oDate.getTime()+t),r=this.m_iDescriptionType.viCreation(),r.vSetValeurDirect({m_oDate:i,m_sValeurInvalide:null}),r},r.prototype.oSoustractionDate=function(n){this.__xDateValide();n.__xDateValide();var i=this.m_tValeur.m_oDate,r=n.m_tValeur.m_oDate;return new t.CDuree(i.getTime()-r.getTime()-(i.getTimezoneOffset()-r.getTimezoneOffset())*6e4)},r.prototype.oSoustractionDuree=function(n){return this.oAdditionOffset(-n.vnToNumber(0))},r.prototype.oGetDatePourPropriete=function(t){function i(i){i||n.xThrow603(0,t)}this.__xDateValide();switch(t){case 0:case 1:case 2:case 7:i(this.__bDate());break;case 3:case 4:case 5:case 6:case 8:i(this.__bHeure())}return this.m_tValeur.m_oDate},r}(t.CTType);c=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetRValue=function(){var n=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete),i;switch(this.m_ePropriete){default:case 0:i=n.getFullYear();break;case 1:i=n.getMonth()+1;break;case 2:i=n.getDate();break;case 3:i=n.getHours();break;case 4:i=n.getMinutes();break;case 5:i=n.getSeconds();break;case 6:i=n.getMilliseconds();break;case 7:return t.ms_DescriptionDate.viCreationCopie(n,1);case 8:return t.ms_DescriptionHeure.viCreationCopie(n,1)}return t.ms_DescriptionI4.viCreationCopie(i,0)},r.prototype.vSetValeur2=function(i){var u=i.m_oValeur,r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete),f=i.m_iOptions.m_bCombine,e,o;switch(this.m_ePropriete){case 0:e=r.getDate();r.setFullYear(this.__nGetValeurDansBornes(u,0,9999,f));break;case 1:e=r.getDate();r.setMonth(this.__nGetValeurDansBornes(u,1,12,f)-1);break;case 2:o=r.getMonth();r.setDate(this.__nGetValeurDansBornes(u,1,31,f));f||o==r.getMonth()||r.setDate(0);break;case 3:r.setHours(this.__nGetValeurDansBornes(u,0,23,f));break;case 4:r.setMinutes(this.__nGetValeurDansBornes(u,0,59,f));break;case 5:r.setSeconds(this.__nGetValeurDansBornes(u,0,59,f));break;case 6:r.setMilliseconds(this.__nGetValeurDansBornes(u,0,999,f));break;case 7:var s=r.getHours(),h=r.getMinutes(),c=r.getSeconds(),l=r.getMilliseconds();t.ms_DescriptionDate.viAffectation(this.m_tParent,n.iGetValeurAffectation(u,0,{m_bAvecErreur:!0}));r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);r.setMilliseconds(l);r.setSeconds(c);r.setMinutes(h);r.setHours(s);break;case 8:var a=r.getFullYear(),v=r.getMonth(),y=r.getDate();t.ms_DescriptionHeure.viAffectation(this.m_tParent,n.iGetValeurAffectation(u,0,{m_bAvecErreur:!0}));r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);r.setFullYear(a,v,y)}undefined!==e&&r.getDate()!=e&&r.setDate(0)},r.prototype.__nGetValeurDansBornes=function(n,t,i,r){var u=parseInt(String(n),10);if(!r){if(u<t)return t;if(i<u)return i}return u},r}(n.NSUtil.CProprieteMultiple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function v(t,i){var e=t.length-1,r=[],u,f;return function s(t,i){var u=i.length;r[t]=Math.max(r[t]||0,u);
4t<e&&i.forEach(function(i){if(!n.NSUtil.bIsArray(i))throw new n.CErreur(601);s(t+1,i)})}(0,i),u=new Array(o(r)),f=0,function h(n,t){if(n<e)t.forEach(function(t){h(n+1,t)});else{var i=[f,t.length];i=i.concat(t);Array.prototype.splice.apply(u,i);f+=r[n]}}(0,i),{tabGetDimensions:function(){return r},tabGetValeurs:function(){return u},bEstNull:function(){return!1}}}function p(t){return 0<t.length?t.map(function(t){var i=n.NSUtil.nGetEntier(t,0);if(i<0)throw new n.CErreur(209);return i}):[0]}function w(t,i){if(t.length!=i.nGetNbDimensions())throw new n.CErreur(601);}function o(n){return n.reduce(function(n,t){return n*t})}function i(n){return n.reduce(function(n,t,i){return 0==i?1:n*t},1)}function s(t,i){var r,e,o;var s=t.length,u=0,f=1;for(r=s-1;0<=r;r--)e=i[r],o=t[r],u+=e*f,f*=o;return u}function b(t,i,u,f){var s=t&15,e=t&-16,o;if(undefined===i)return r(u,1),ft(s,e,f);o=n.NSValues.oAny2Natif(i);switch(s){case 3:return r(u,2),et(e,String(o),u,f);case 4:return r(u,1),ot(e,String(o),f);case 5:return r(u,1),st(e,o,f);default:return r(u,2),k(e,[[n.NSUtil.xnGetIndiceC(o,u[1],0,NaN),2!=s]],f)}}function ft(n,t,i){var r=f(n,t,i);return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function h(n){return function(t,i,r,u){return n(t[r],t[u])}}function et(t,i,r,u){var f=undefined!==r[1]?r[1]:1,e=i.split(";").map(function(t){var i=!0;switch(t.charAt(0)){case"-":i=!1;case"+":t=t.substring(1)}return[n.NSUtil.xnGetIndiceC(parseInt(t,10),f,0,NaN),i]});return k(t,e,u)}function ot(n,t,i){var u=t.split(";").map(function(n){var t=!0;switch(n.charAt(0)){case"-":t=!1;case"+":n=n.substring(1)}return[n.split("."),t]}),r=d(n,u,function(n,t){return t.reduce(function(n,t){return n.viGetMembre(t,!1,undefined)},n)},i,i);return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function st(n,t,i){var r=function(n,r){return t(i(n),i(r))};return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function k(t,i,r){function u(n,t,i){for(var u=new Array(i),r=0,f=t*i;r<i;r++,f++)u[r]=n[f];return u}var f=d(t,i,function(n,t){return r(n[t])},r,function(n){return n});return{m_pfComplet:function(n,t){for(var s,c,r,e=t[0],h=undefined!==t[1]?t[1]:1,o=new Array(e),i=0;i<e;i++)o[i]=u(n,i,h);for(o.sort(f),s=0,i=0;i<e;i++)for(c=o[i],r=0;r<h;r++,s++)n[s]=c[r]},m_pfComparaisonLigne:function(n,t,i,r){var e=undefined!==t[1]?t[1]:1;return f(u(n,i,e),u(n,r,e))},m_pfComparaison:function(){return 0}}}function d(n,t,i,r,u){var e=f(0,n,r);return function(n,r){var f=0,o=u(n),s=u(r);return t.every(function(n){var r=n[0],t=e(i(o,r),i(s,r));return 0!=t?(f=n[1]?t:-t,!1):!0}),f}}function f(t,i,r,u){function f(t){var f=u(r(t));return i&65536&&(f=n.NSUtil.sSupprimeEspacesDebutFin(String(f))),i&1048576&&(f=String(f).toUpperCase()),i&16777216&&(f=n.NSUtil.sSupprimeEspacesInterieur(String(f))),f}function e(t,i){return n.NSUtil.nCompareAny(f(t),f(i))}return u===void 0&&(u=function(n){return n.valueOf()}),2!==t?e:function(n,t){return e(t,n)}}function c(n){var t=undefined;return function(i){function r(){return undefined===t&&(t=n.iCreationSousElement()),t}return undefined!==i?i:r()}}function l(n,t,i){n.sort(i)}function r(t,i){if(i<t.length)throw new n.CErreur(2==i?212:211,"Trie()/TableauTrie","Sort()/ArraySort");}function g(t,i,r,u){for(var e=i,o=0,l=e-1,h=0,a,f,s,c;o<=l;){if(u&&0<u(t[o],t[l]))throw new n.CErreur(207);if(f=Math.floor(e/2),0!=f)if(s=f&1?f:f-1,c=o+s,a=r(t,c),0==a){h+=s;break}else 0<a?(l=c-1,e=s):(h+=s+1,o=c+1,e=f);else{0<e&&r(t,o)<0&&h++;break}}return h}function nt(t,r,f,e){var a=t.viGetAsTableauType(),v,o,s,h,l,c;if(!a)throw new n.CErreur(601);if(v=a.tabGetDimensions(),o=v[0],new u(r).SupprimeTout(),s=n.NSUtil.xnGetIndiceC(f,o,0,1),h=n.NSUtil.nGetEntier(e,o-s),h<0||o-s<h)throw new n.CErreur(200,s+n.NSUtil.nGetEntier(e,NaN),o);l=v.slice();l[0]=h;r.xRedimensionne(l);var p=a.tabGetValeurs(),y=i(l),w=s*y,b=h*y;for(c=0;c<b;c++)try{r.iGetSousElementIndice(c).vSetValeur(p[w+c],4,{})}catch(k){}}function tt(n,t,i){var u=n.tabGetValeurs(),f=n.nGetDimension0Pas(),r=[i,0];r=r.concat(u.splice(t,f));Array.prototype.splice.apply(u,r)}function it(n,t,i){var r=n.tabGetValeurs(),u=r[i];r[i]=r[t];r[t]=u}function rt(n){return n&&(n instanceof e||n.__Redimensionnement)}var ut=function(i){function r(n,t,r,u){var f=i.call(this,34,undefined)||this;return f.m_iDescriptionElement=n,f.tabDimensions=t,f.m_eModeAgrandissement=u,f.m_bReferenceDirecteSurCopie=!!(r&1),f.m_bDynamique=!!(r&2),f.m_tabDimensions=p(t),f}return __extends(r,i),r.prototype.viCreation=function(n){var i=o(this.m_tabDimensions),r,t;return r=this.m_bDynamique&&0==i?null:new Array(i),t=new e(r,this),n?this.__xCreationOuAffectation(t,n):t},r.prototype.viAffectation=function(n,t){return this.__xCreationOuAffectation(n,t)},r.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){i.prototype.vxVerifieCompatibilitePassageParAdresse.call(this,n,t);var r=n.viGetAsTableau();w(this.m_tabDimensions,r)},r.prototype.voJSONDebogueurType=function(n){n===void 0&&(n=this.m_tabDimensions);var i=this.m_iDescriptionElement,r=i?i:t.ms_DescriptionBooleen;return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:this.m_bDynamique,m_oTypeSousElement:r.voJSONDebogueurType()}},r.prototype.iCreationSousElement=function(){var t=this.m_iDescriptionElement;if(t)return t.viCreation();throw new n.CErreur(215);},r.prototype.iAffectationSousElement=function(t,i){var r=this.m_iDescriptionElement;if(r)return r.viAffectation(t,i);throw new n.CErreur(215);},r.prototype.xVerifieCompatibilitePourCopie=function(t){if(rt(t)){var u=t.m_iDescriptionType,i=this.m_iDescriptionElement,r=u.m_iDescriptionElement;if(i)if(r){if(r.veGetTypeWL()!==i.veGetTypeWL()&&this.m_bReferenceDirecteSurCopie)throw new n.CErreur(601);}else throw new n.CErreur(215);}},r.prototype.__xCreationOuAffectation=function(i,r){var e=r.m_oValeur,h,u,f,c,s;if(e){if(!rt(i))throw new n.CErreur(0);var o=void 0,a=i.tabGetDimensions(),l=!1;if(n.NSUtil.bIsArray(e))o=v(a,e),l=n.NSOperations.bDansDeserialisation;else if(h=n.NSValues.iAny2RValue(e),u=h.viGetAsTableau(),u){if(f=u.viGetAsTableauType(),f){if(f===i)return i;w(i.tabGetDimensions(),u);switch(r.m_eAffectation){case 0:if(!this.m_bReferenceDirecteSurCopie||t.bIsTableauNatif(u)||r.m_iOptions.m_bForceCopiePronfondeurTableau)break;case 1:case 3:return f}o=f}else throw new n.CErreur(601);this.m_iDescriptionElement||(this.m_iDescriptionElement=u.iGetDescriptionElement())}else if(c=h.viGetAsRValueType(),s=c?c.vtGetValeurDirect():null,n.NSUtil.bIsObjectArray(s))o={tabGetDimensions:function(){return[s.length]},tabGetValeurs:function(){return s},bEstNull:function(){return!1}};else throw new n.CErreur(601);i.Remplace(o,l)}return i},r}(t.CTDescriptionType),e,y,u,a;t.CDescriptionTableau=ut;e=function(r){function f(n,t){var i=r.call(this,n,t)||this;return i.m_oTri=undefined,i.m_tabDimensions=t.m_tabDimensions.slice(),i.m_oTableauCherche=new a(i,c(t)),i}return __extends(f,r),f.prototype.valueOf=function(){var u=this,t=this.m_tValeur;if(t){var i=this.m_tabDimensions,f=0,r=function(e){for(var s=i[e],h=new Array(s),c=e+1,l=c<i.length?function(){return r(c)}:function(){var i=t[f++],r=undefined!==i?i:u.m_iDescriptionType.iCreationSousElement();return n.NSValues.oAny2Natif(r)},o=0;o<s;o++)h[o]=l();return h};return r(0)}return this.m_iDescriptionType.m_bReferenceDirecteSurCopie?null:[]},f.prototype.viGetSousElement=function(t,i){var r=this.m_tabDimensions.length,u=this.__xnGetIndicePlat(t,i,this.m_iDescriptionType.m_eModeAgrandissement);return n.NSUtil.iChaineSousElement(this.iGetSousElementIndice(u),t+r,i)},f.prototype.viGetAsTableau=function(){return this},f.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},f.prototype._viGetProprieteVM=function(t){var i=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return i.nGetNbElements()},null,8,0,t);default:return r.prototype._viGetProprieteVM.call(this,t)}},f.prototype.xiGetTableauCherche=function(){return this.m_oTableauCherche},f.prototype.xiGetTableauTri=function(){return this},f.prototype.xiGetTableauSupprime=function(){return new u(this)},f.prototype.xRedimensionne=function(t){if(t.length!=this.m_tabDimensions.length)throw new n.CErreur(210);this.__Redimensionnement(t)}
4,f.prototype.nAjouteLigne=function(n){var t=this.m_tabDimensions[0];return this.__AjouteInsereLigne(t,n),t},f.prototype.xCopieDepuis=function(n,t,i){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(n);nt(n,this,t,i)},f.prototype.DeplaceLigne=function(n,t){tt(this,n,t)},f.prototype.Echange=function(n,t){it(this,n,t)},f.prototype.eTypeElement=function(){var n=this.iGetDescriptionElement();return n?n.veGetTypeWL():0},f.prototype.bDynamique=function(){return this.m_iDescriptionType.m_bDynamique},f.prototype.Insere=function(t,r){var h=this.tabGetDimensions(),u=null,c,o,f,s,e,l;if(n.NSUtil.bIsArray(r)?u=v(h,r):(c=n.NSValues.iAny2RValue(r),o=c.viGetAsTableau(),o&&(u=o.viGetAsTableauType())),u&&(f=u.tabGetDimensions(),f.length==h.length)){var a=f[0],y=u.tabGetValeurs(),p=i(f);for(s=t,e=0;e<a;s++,e++)l=e*p,this.__AjouteInsereLigne(s,y,l);return}this.__AjouteInsereLigne(t,[r])},f.prototype.InsereLigne=function(n,t){this.__AjouteInsereLigne(n,t)},f.prototype.eGetModeAgrandissement=function(){return 1},f.prototype.nGetNbDimensions=function(){return this.m_tabDimensions.length},f.prototype.nGetUneDimension=function(n){return this.m_tabDimensions[n]},f.prototype.nGetNbElements=function(){return(this.m_tValeur||[]).length},f.prototype.nGetDimension0Pas=function(){return i(this.m_tabDimensions)},f.prototype.iGetSousElementIndice=function(n){return new y(this,n)},f.prototype.iGetDescriptionElement=function(){return this.m_iDescriptionType.m_iDescriptionElement},f.prototype.viGetAsTableauType=function(){return this},f.prototype.tabGetDimensions=function(){return this.m_tabDimensions},f.prototype.tabGetValeurs=function(){return null===this.m_tValeur&&(this.m_tValeur=[]),this.m_tValeur},f.prototype.bEstNull=function(){return null===this.m_tValeur},f.prototype.nAjouteTrie=function(t){var u=this.m_tabDimensions;if(!this.m_oTri||!this.m_oTri.m_pfComparaison)throw new n.CErreur(207);var i=this.m_oTri.m_pfComparaison,f=n.NSValues.iAny2RValue(t),r=g(this.tabGetValeurs(),u[0],function(n,t){return i(n[t],f)},i);return this.Insere(r,t),r},f.prototype.SupprimeDoublon=function(t,i){for(var l,a=this,s=this.tabGetValeurs(),e=this.tabGetDimensions(),o=e[0],h=b(t,i,e,c(this.m_iDescriptionType)),f=new Array(o),r=0;r<o;r++)f[r]=r;for(f.sort(function(n,t){return h.m_pfComparaisonLigne(s,e,n,t)}),r=0;r<o;)for(l=f[r],f[r]=-1,r++;r<o&&0==h.m_pfComparaisonLigne(s,e,l,f[r]);r++);f.sort(function(n,t){return n-t});n.NSUtil.bForEachInverse(f,function(n){return-1!=n?(new u(a).nSupprime(n),!0):!1})},f.prototype.Trie=function(n,t){var i=b(n,t,this.m_tabDimensions,c(this.m_iDescriptionType));i.m_pfComplet(this.tabGetValeurs(),this.m_tabDimensions,i.m_pfComparaison);this.m_oTri=i},f.prototype.Remplace=function(n,i){var f=this.tabGetDimensions(),r=n.tabGetDimensions();if(n.bEstNull()){r.forEach(function(n,t){f[t]=n});this.m_tValeur=null;return}var u=this.m_iDescriptionType,e=u.m_iDescriptionElement,o=i||u.m_bDynamique,s=u.m_tabDimensions,h=r.map(function(n,t){if(o){var i=s[t];return 0<i?Math.max(n,i):n}return Math.max(n,f[t])});this.__Copie(h,r,n.tabGetValeurs(),function(n){if(undefined!==n){var i=e||t.iGetDescriptionDepuisValue(n);return i.viCreationCopie(n,0)}return undefined})},f.prototype.iGetValeurSousElement=function(t){var r=this.tabGetValeurs(),i;if(0<=t&&t<r.length)return i=r[t],undefined===i&&(r[t]=i=this.m_iDescriptionType.iCreationSousElement()),i;throw new n.CErreur(605,t+1);},f.prototype.SetValeurSousElement=function(n,t){var i=this.iGetValeurSousElement(n),r=this.tabGetValeurs();r[n]=this.m_iDescriptionType.iAffectationSousElement(i,t)},f.prototype.__xnGetIndicePlat=function(t,i,r){var u=this.m_tabDimensions,o=u.length,l=0!=r,h=i.length-t,f,e,c;if(h<o)throw new n.CErreur(208,o,h);return f=u.map(function(u,f){return n.NSUtil.xnGetIndiceC(i[t+f],u,r,0)}),l&&(e=!1,c=u.map(function(n,t){var i=f[t];return n<=i?(e=!0,i+1):n}),e&&this.__Redimensionnement(c)),s(u,f)},f.prototype.__Redimensionnement=function(t){this.__Copie(t,this.m_tabDimensions,this.tabGetValeurs(),function(n){return n})},f.prototype.__Copie=function(n,t,i,r){var f=n.length,e=new Array(o(n)),u=new Array(f),h;(function c(o){var v=Math.min(n[o],t[o]),l,a,h;if(f-1===o)for(u[o]=0,l=s(n,u),a=s(t,u),h=0;h<v;h++,l++,a++)e[l]=r(i[a]);else for(h=0;h<v;h++)u[o]=h,c(o+1)})(0);this.m_tValeur=e;h=this.m_tabDimensions;
4n.forEach(function(n,t){h[t]=n})},f.prototype.__AjouteInsereLigne=function(t,r,u){var e,v,f;u===void 0&&(u=0);var c=this.m_tabDimensions,l=this.tabGetValeurs(),o=i(c),a=t*o,p=r.length;for(c[0]++,e=[a,0],e=e.concat(new Array(o)),Array.prototype.splice.apply(l,e),v=Math.min(l.length,o),f=0;f<v;f++){var s=void 0,y=f+u,h=void 0;y<p?(s=r[y],h=0):(s=this.m_iDescriptionType.iCreationSousElement(),h=3);this.SetValeurSousElement(a+f,n.iGetValeurAffectation(s,h,{}))}},f}(t.CTType);y=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_nIndicePlat=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_tParent.iGetValeurSousElement(this.m_nIndicePlat)},t.prototype.vSetValeur2=function(n){return this.m_tParent.SetValeurSousElement(this.m_nIndicePlat,n)},t}(n.NSUtil.CTSousElementWrapper);t.tabGetDimensionsEffectives=p;t.pfGetTriComparaisonAvecOptions=f;t.TableauCopie=nt;t.TableauDeplaceLigne=tt;t.TableauEchange=it;u=function(){function n(n){this.m_iTableau=n}return n.prototype.nSupprime=function(n){var r=this.m_iTableau.tabGetDimensions(),t=i(r);return this.m_iTableau.tabGetValeurs().splice(n*t,t),r[0]--,t},n.prototype.SupprimeTout=function(){this.m_iTableau.tabGetDimensions()[0]=0;this.m_iTableau.tabGetValeurs().length=0},n}();t.CTableauSupprime=u;a=function(){function i(n,t){this.m_iTableau=n;this.m_pfGetSousElementValide=t;this.m_nPositionCourante=undefined}return i.prototype.nCherche=function(i,r){var v=n.NSUtil.nGetEntier(i,2),p=v&15,w=v&-16,s=f(0,w,this.m_pfGetSousElementValide),u,e,h,y,c,o,l,a;return 2<=this.m_iTableau.nGetNbDimensions()?(h=String(r[0]).split(";").map(function(t,i){return[n.NSUtil.nGetEntier(t,1)-1,r[1+i]]}),e=r[h.length+1],y=this.m_iTableau.nGetDimension0Pas(),u=function(n,t){var i=t*y;return h.reduce(function(t,r){return 0==t&&(t=s(n[i+r[0]],r[1])),t},0)}):(c=r[0],o=this.m_iTableau.iGetDescriptionElement(),o&&(36==o.veGetTypeWL()||37==o.veGetTypeWL())?(l=t.iGetThis(c),l?u=function(t,i){return n.NSValues.iAny2RValue(t[i]).viGetAsRValueType().vtGetValeurDirect()===l.vtGetValeurDirect()?0:-1}:(a=String(r[0]).split(";").map(function(n,t){return[n,r[1+t]]}),e=r[a.length+1],u=function(t,i){var r=n.NSValues.iAny2RValue(t[i]);return a.reduce(function(n,t){return 0==n&&(n=s(r.viGetMembre(t[0],!1,undefined),t[1])),n},0)})):(e=r[1],u=function(n,t){return s(n[t],c)})),this.__xnRecherche(p,e,u)},i.prototype.nChercheProcedure=function(i,r,u,f){var s=n.NSUtil.nGetEntier(r,2),h=s&15,c,e,o,l;if(c=1!==h,e=t.ms_DescriptionFonction.viCreationCopie(i,0),!e.valueOf())throw new n.CErreur(601);return o=[undefined].concat(f),l=function(n,t){o[0]=n[t];var i=e.viAppelFonction.apply(e,o);return c&&1===i.veGetTypeWL()?i.valueOf()?0:1:i.vnToNumber(0)},this.__xnRecherche(h,u,l)},i.prototype.__xnRecherche=function(t,i,r){var l=this.m_iTableau.tabGetDimensions(),h=this.m_iTableau.tabGetValeurs(),o=l[0],c=-1,f,e,s,u;if(1==t)this.m_nPositionCourante=undefined,u=g(h,o,r,undefined),0<=u&&u<o&&0==r(h,u)&&(c=u);else{f=!1;e=!1;switch(t){case 2:f=!0;e=!1;break;case 3:f=!0;e=!0;break;case 4:f=!1;e=!0;break;case 5:f=!1;e=!1;break;default:throw new n.CErreur(217,t);}if(s=this.__xnGetDepartC(i,f,e),undefined!==s&&0<=s&&s<o)if(this.m_nPositionCourante=undefined,u=s,f){for(;u<o;u++)if(0==r(h,u))break;u<o&&(c=u,this.m_nPositionCourante=u+1)}else{for(;0<=u;u--)if(0==r(h,u))break;0<=u&&(c=u,this.m_nPositionCourante=u-1)}}return c},i.prototype.__xnGetDepartC=function(t,i,r){var u=this.m_iTableau.tabGetDimensions()[0],f=n.NSUtil.nGetEntier(t,0);return 0==f?r?this.m_nPositionCourante:i?0:u-1:n.NSUtil.xnGetIndiceC(t,u,0,0)},i}();t.CTableauCherche=a})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(t,r){var f=i[t],u;if(f&&(u=f[r],u))return u;throw new n.CErreur(0);}function p(n,t,r){i[n]||(i[n]={});i[n][t]=r}function w(n,t){return{m_oDescriptionStatique:new f(n,!1,t),m_oDescriptionDynamique:new f(n,!0,t)}}function b(n,t,i,r,u){return{m_oDescriptionStatique:new e(!1,n,t,i,r,u),m_oDescriptionDynamique:new e(!0,n,t,i,r,u)}}function k(t,i,r){var u=n.iGetAsRValue(t,4),f;return u&&(f=h(i,r),f.m_oDescriptionDynamique.vbEstInstanceDino(u))?u:undefined}function d(n,i){return new r(function(){return t.iNatif2RValue(n)},null,i)}function g(n,t,i,u){return new r(function(){return i.viCreationCopie(n(),0)},t?function(n){return t(i.viCreation(n).valueOf())}:null,u)}var i={},o,u,f,e,s,c,r,l,a,v,y;t.oGetDescriptionDINO=h;t.AjouteDescriptionDINO=p;t.oCreeDescriptionDINO=w;t.oCreeDescriptionDINORebondFrameworkV1=b;t.iGetAsDino=k;o=function(t){function r(n,i,r){var u=t.call(this,111,undefined)||this;return u.m_bDynamique=n,u.m_pfAlloueValeurSiUndefinedInterdit=i,u.m_pfCopieValeur=r,u}return __extends(r,t),r.prototype.viCreation=function(n){var t,i;return n&&(i=n.m_oValeur,this._xVerificationValeur(n),this._vxVerifieAffectation(undefined,n),t=this._voGetDinoValeur(undefined,i).m_oValeur),this._voAllocation(t)},r.prototype.viAffectation=function(t,i){var f,r,u;if(this._xVerificationValeur(i),this._vxVerifieAffectation(t,i),f=this._voGetDinoValeur(t.vtGetValeurDirect(),i.m_oValeur),f.m_bTrouve){r=void 0;switch(i.m_eAffectation){default:case 0:r=this.m_bDynamique;break;case 1:r=!0;break;case 2:case 4:r=!1;break;case 3:r=!0}return u=f.m_oValeur,r||(undefined!==u?u=this.m_pfCopieValeur(u,t):undefined!==this.m_pfAlloueValeurSiUndefinedInterdit&&(u=this.m_pfAlloueValeurSiUndefinedInterdit())),t.vSetValeurDirect(u),t}throw new n.CErreur(601);},r.prototype.voJSONDebogueurType=function(){var n=this.__oGetComposanteEtDino();return{m_eTypeWL:this.veGetTypeWL(),m_eComposante:n.m_eComposante,m_eDino:n.m_eDino}},r.prototype.veGetComposante=function(){return this.__oGetComposanteEtDino().m_eComposante},r.prototype.veGetDino=function(){return this.__oGetComposanteEtDino().m_eDino},r.prototype.__oGetComposanteEtDino=function(){return undefined===this.m_oComposanteEtDino&&(this.m_oComposanteEtDino=this.__oCreeComposanteEtDino()),this.m_oComposanteEtDino},r.prototype.__oCreeComposanteEtDino=function(){var t=this,r={m_eComposante:10,m_eDino:13};return n.NSUtil.bForEachIn(i,function(i,u){var f=Number(i);return isNaN(f)||n.NSUtil.bForEachIn(u,function(n,i){var u=Number(n);return!isNaN(u)&&(i.m_oDescriptionStatique===t||i.m_oDescriptionDynamique===t)?(r={m_eComposante:f,m_eDino:u},!1):!0})}),r},r.prototype._vxVerifieAffectation=function(t,i){this.m_bDynamique?n.NSUtil.xVerifieAffectationReference(i):n.NSUtil.xVerifieAffectationCopie(i)},r.prototype._voGetDinoValeur=function(t,i){var r=n.iGetAsRValue(i,4);return r&&this.vbEstInstanceDino(r)?{m_oValeur:r.vtGetValeurDirect(),m_bTrouve:!0}:{m_oValeur:undefined,m_bTrouve:!1}},r}(t.CTDescriptionType);u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(t){switch(t){case 4:return this;default:return n.prototype.viGetRValue.call(this,t)}},t.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},t}(t.CTTypeSimple);t.CDino=u;f=function(n){function t(t,i,r){var u=n.call(this,i,undefined,r)||this;return u.m_iDinoConstruction=t,u}return __extends(t,n),t.prototype._voAllocation=function(n){return new this.m_iDinoConstruction(n,this)},t.prototype.vbEstInstanceDino=function(n){return n instanceof this.m_iDinoConstruction},t}(o);t.CTDescriptionDinoSimple=f;e=function(t){function i(n,i,r,u,f,e){var o=t.call(this,n,i,r)||this;return o.m_pfCastValeur=u,o.m_tabProprietesRebondFrameworkV1=f,o.m_iDinoConstructionFrameworkV1=e,o}return __extends(i,t),i.prototype._voAllocation=function(n){return new s(n,this)},i.prototype._voGetDinoValeur=function(i,r){var u=t.prototype._voGetDinoValeur.call(this,i,r),f;return u.m_bTrouve?u:!u.m_bTrouve&&(f=n.NSValues.oAny2Natif(r),f instanceof this.m_iDinoConstructionFrameworkV1)?{m_oValeur:r,m_bTrouve:!0}:!u.m_bTrouve&&this.m_pfCastValeur?{m_oValeur:this.m_pfCastValeur(r),m_bTrouve:!0}:{m_oValeur:undefined,m_bTrouve:!0}},i.prototype.vbEstInstanceDino=function(n){return n instanceof s},i}(o);t.CTDescriptionDinoRebondFrameworkV1=e;s=function(i){function u(n,t){return i.call(this,n||t.m_pfAlloueValeurSiUndefinedInterdit(),t)||this}return __extends(u,i),u.prototype.viGetMembre2=function(u,f,e,o){var h=this.m_tValeur,s;return(this.m_iDescriptionType.m_tabProprietesRebondFrameworkV1.every(function(i){return f===i[0]||f===i[1]?(s=new r(function(){return t.iGetDescription(i[3],!1).viCreationCopie(h.GetProp(i[2]),0)},function(t){return h.SetProp(i[2],n.NSValues.oAny2Natif(t.m_oValeur))},u),!1):!0}),s)?s:i.prototype.viGetMembre2.call(this,u,f,e,o)},u}(u);c=function(i){function r(n,t,r){var u=i.call(this,n,t)||this;return u.m_pfCreeValeur=r,u}return __extends(r,i),r.prototype.vnToNumber=function(){return parseFloat(this.toString())},r.prototype.vbToBoolean=function(){return!!this.valueOf()},r.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(i){if(i.m_iOptions.m_bAffectationDepuisIterateur){this.m_iDescriptionType;var r=t.iGetAsDino(i.m_oValeur,this.viGetDescriptionType().veGetComposante(),this.viGetDescriptionType().veGetDino());if(r){this.vSetValeurDirect(r.vtGetValeurDirect());return}}n.NSUtil.xVerifieAffectationAucune(i)},r.prototype._oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=this.m_pfCreeValeur()
4),this.m_tValeur},r}(u);t.CDinoSousValue=c;r=function(t){function i(n,i,r){var u=t.call(this)||this;return u.m_pfGetValeur=n,u.m_pfSetValeur=i,u.m_sNomUtilisateur=r,u}return __extends(i,t),i.prototype.viGetRValue=function(){if(this.m_pfGetValeur)return this.m_pfGetValeur();n.xThrow603(this.m_sNomUtilisateur)},i.prototype.vSetValeur2=function(t){this.m_pfSetValeur?this.m_pfSetValeur(t):n.xThrow603(this.m_sNomUtilisateur)},i}(n.NSUtil.CWrapperValue);t.CDinoPropriete=r;l=function(t){function i(n,i,r,u,f){var e=t.call(this)||this;return e.m_oContenu=n,e.m_iDinoConstruction=i,e.m_oDescriptionType=r,e.m_pfCreation=u,e.m_pfCopie=f,e}return __extends(i,t),i.prototype.viGetRValue=function(){return new this.m_iDinoConstruction(this.m_oContenu,this.m_oDescriptionType)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationCopie(t);var i=n.NSValues.iAny2RValue(t.m_oValeur);if(i instanceof this.m_iDinoConstruction)this.m_pfCopie(i.vtGetValeurDirect()||this.m_pfCreation(),this.m_oContenu,t);else throw new n.CErreur(601);},i}(n.NSUtil.CWrapperValue);t.CDinoProprieteDino=l;t.oGetDinoProprieteConstante=d;t.oGetDinoProprieteSimple=g;a=function(t){function i(n){var i=t.call(this,34,function(n){return n.m_oValeur},undefined,!1)||this;return i.m_oDescriptionValeurFrameworkV1=n,i}return __extends(i,t),i.prototype.viAffectation=function(t,i){n.NSUtil.xVerifieAffectationAucune(i)},i.prototype.voJSONDebogueurType=function(n){return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:!0,m_oTypeSousElement:this.m_oDescriptionValeurFrameworkV1.voJSONDebogueurType()}},i.prototype._voAllocation=function(n){return new v(n,this)},i}(t.CTDescriptionTypeSimple);t.CDescriptionTableauProprieteDinoFrameworkV1=a;v=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.viGetSousElement=function(t,i){var r=n.NSUtil.xnGetIndiceC(i[t],this.m_tValeur.length,0,0);return n.NSUtil.iChaineSousElement(this.iGetSousElementIndice(r),t+1,i)},r.prototype.viGetAsTableau=function(){return this},r.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.length},function(t){r.m_tValeur.length=n.NSUtil.nGetEntier(t)},8,0,t);default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauTri=function(){throw new n.CErreur(214);},r.prototype.xiGetTableauSupprime=function(){return new t.CTableauSupprime(this)},r.prototype.xRedimensionne=function(t){if(1!=t.length)throw new n.CErreur(210);this.m_tValeur.length=t[0]},r.prototype.nAjouteLigne=function(t){var i=this.m_tValeur,r=i.length;return i.push(n.NSValues.oAny2Natif(t[0])),r},r.prototype.xCopieDepuis=function(n){t.TableauCopie(n,this)},r.prototype.DeplaceLigne=function(n,i){t.TableauDeplaceLigne(this,n,i)},r.prototype.Echange=function(n,i){t.TableauEchange(this,n,i)},r.prototype.eTypeElement=function(){return 50},r.prototype.bDynamique=function(){return!0},r.prototype.Insere=function(){throw new n.CErreur(601);},r.prototype.InsereLigne=function(n,t){return this.Insere(n,t[0])},r.prototype.eGetModeAgrandissement=function(){return 2},r.prototype.nGetNbDimensions=function(){return 1},r.prototype.nGetUneDimension=function(){return this.m_tValeur.length},r.prototype.nGetNbElements=function(){return this.m_tValeur.length},r.prototype.nGetDimension0Pas=function(){return 1},r.prototype.iGetSousElementIndice=function(n){return new y(this.m_tValeur,n,this.m_iDescriptionType)},r.prototype.iGetDescriptionElement=function(){return undefined},r.prototype.viGetAsTableauType=function(){return this},r.prototype.tabGetDimensions=function(){return[this.nGetNbElements()]},r.prototype.tabGetValeurs=function(){return this.m_tValeur},r.prototype.bEstNull=function(){return!1},r}(t.CTTypeSimple);y=function(t){function i(n,i,r){var u=t.call(this,n)||this;return u.m_oIndice=i,u.m_oDescriptionTableau=r,u}return __extends(i,t),i.prototype.valueOf=function(){return this.m_tParent[this.m_oIndice]},i.prototype.viGetRValue=function(){return this.m_oDescriptionTableau.m_oDescriptionValeurFrameworkV1.viCreation(n.iGetValeurInitiale(this.valueOf(),3))},i.prototype.viGetMembre2=function(n,t,i,r){return this.viGetRValue(0).viGetMembre2(n,t,i,r)},i.prototype.viGetPropriete=function(n,t){return this.viGetRValue(0).viGetPropriete(n,t)},i.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},i.prototype.veGetTypeWL=function(){return 50},i.prototype.vSetValeur2=function(t){this.m_tParent[this.m_oIndice]=n.NSValues.oAny2Natif(t.m_oValeur)},i}(n.NSUtil.CTSousElement)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function v(){return new WDGeoPosition}function y(t){return new WDGeoPosition(n.NSUtil.oCloneDansObjet(t.m_oPosition))}function p(){return new WDDinoAdresse}function w(n){var t=new WDDinoAdresse;return t.m_czRue=n.m_czRue,t.m_czVille=n.m_czVille,t.m_czCodePostal=n.m_czC
4odePostal,t.m_czRegion=n.m_czRegion,t.m_czPays=n.m_czPays,t.m_pclGeoPosition=n.m_pclGeoPosition?new WDGeoPosition(n.m_pclGeoPosition.m_oPosition):undefined,t}function b(){return{m_oAvancementEnvoi:i(),m_oAvancementTelechargement:i(),m_sContentType:"",m_sContenu:"",m_oEntete:{},m_eMethodeHTTP:0,m_sMotDePasse:"",m_sUtilisateur:"",m_sURL:"",m_bContenuReponseBrut:!1}}function k(t){return{m_oAvancementEnvoi:u(t.m_oAvancementEnvoi),m_oAvancementTelechargement:u(t.m_oAvancementTelechargement),m_sContentType:t.m_sContentType,m_sContenu:t.m_sContenu,m_oEntete:n.NSUtil.oCloneSimple(t.m_oEntete),m_eMethodeHTTP:t.m_eMethodeHTTP,m_sMotDePasse:t.m_sMotDePasse,m_sUtilisateur:t.m_sUtilisateur,m_sURL:t.m_sURL,m_bContenuReponseBrut:t.m_bContenuReponseBrut}}function o(n){return new t.CDinoProprieteDino(n,f,a.m_oDescriptionStatique,i,function(n,i){i.m_oProcedure=n.m_oProcedure?t.ms_DescriptionFonction.viCreationCopie(n.m_oProcedure,0):null})}function d(n){return n}function i(){return{m_oProcedure:null}}function u(n){return{m_oProcedure:n.m_oProcedure?t.ms_DescriptionFonction.viCreationCopie(n.m_oProcedure,0):null}}var e=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetMembre2=function(u,f,e,s){var h=this.__oGetValeur();switch(f){case"AVANCEMENTENVOI":case"UPLOADPROGRESS":return o(h.m_oAvancementEnvoi);case"AVANCEMENTTELECHARGEMENT":case"DOWNLOADPROGRESS":return o(h.m_oAvancementTelechargement);case"CONTENTTYPE":return t.oGetDinoProprieteSimple(function(){return h.m_sContentType},function(n){h.m_sContentType=n},t.ms_DescriptionChaine,u);case"CONTENU":case"CONTENT":return t.oGetDinoProprieteSimple(function(){return h.m_sContenu},function(n){h.m_sContenu=n},t.ms_DescriptionChaine,u);case"CONTENUBRUTREPONSE":return t.oGetDinoProprieteSimple(function(){return h.m_bContenuReponseBrut},function(n){h.m_bContenuReponseBrut=n},t.ms_DescriptionBooleen,u);case"ENTETE":case"HEADER":return new r(h.m_oEntete);case"METHODE":case"METHOD":return t.oGetDinoProprieteSimple(function(){return 0===h.m_eMethodeHTTP?""!==h.m_sContenu?2:1:h.m_eMethodeHTTP},function(t){if(0<=t&&t<=7)h.m_eMethodeHTTP=t;else throw new n.CErreur(303,t);},t.ms_DescriptionI4,u);case"MOTDEPASSE":case"PASSWORD":return t.oGetDinoProprieteSimple(function(){return h.m_sMotDePasse},function(n){h.m_sMotDePasse=n},t.ms_DescriptionChaine,u);case"UTILISATEUR":case"USER":return t.oGetDinoProprieteSimple(function(){return h.m_sUtilisateur},function(n){h.m_sUtilisateur=n},t.ms_DescriptionChaine,u);case"URL":return t.oGetDinoProprieteSimple(function(){return h.m_sURL},function(n){h.m_sURL=n},t.ms_DescriptionChaine,u)}return i.prototype.viGetMembre2.call(this,u,f,e,s)},u.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=b()),this.m_tValeur},u}(t.CDino),s,r,h,f;t.CHTTPRequete=e;s=new t.CDescriptionObjetNatif(111,2);r=function(t){function i(n){return t.call(this,n,s)||this}return __extends(i,t),i.prototype.viGetAsLRValue=function(){return this},i.prototype.viGetMembre2=function(n,i,r,u){return Object.isFrozen(this.m_tValeur)&&(n=n.toLowerCase()),t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.vSetValeur=function(t,i,r){return this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i.prototype.vSetValeur2=function(t){return n.NSUtil.xVerifieAffectationAucune(t)},i}(t.CObjetNatif);h=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetMembre2=function(u,f,e,o){var s=this.m_tValeur;if(s)switch(f){case"CODEETAT":case"STATUSCODE":return t.oGetDinoProprieteConstante(s.status,u);case"CONTENTTYPE":return t.oGetDinoProprieteConstante(s.getResponseHeader("content-type")||"",u);case"CONTENU":case"CONTENT":return s.response instanceof ArrayBuffer?t.oGetDinoProprieteConstante(s.response,u):t.oGetDinoProprieteConstante(s.responseText||"",u);case"DESCRIPTIONCODEETAT":case"DESCRIPTIONSTATUSCODE":return t.oGetDinoProprieteConstante(s.statusText,u);case"ENTETE":case"HEADER":return new r(n.NSUtil.Freeze(this.__oGetEntete(s)));case"ENTETEBRUT":case"ROUGHHEADER":return t.oGetDinoProprieteConstante(s.getAllResponseHeaders()||"",u)}return i.prototype.viGetMembre2.call(this,u,f,e,o)},u.prototype.__oGetEntete=function(t){return(t.getAllResponseHeaders()||"").split("\r\n").reduce(function(t,i){var r=i.indexOf(":"),u,f;return 0<r&&(u=n.NSUtil.sSupprimeEspacesDebutFin(i.substring(0,r)).toLowerCase(),f=n.NSUtil.sSupprimeEspacesDebutFin(i.substring(r+1)),t[u]=f),t},{})},u}(t.CDino);f=function(n){function r(){return n!==null&&n.apply(this,arguments)||this}return __extends(r,n),r.prototype.viGetMembre2=function(i,r,u,f){var e=this.__oGetValeur();switch(r){case"PROCEDURE":return new t.CDinoPropriete(null,function(n){e.m_oProcedure=t.ms_DescriptionFonction.viCreation(n)},i)}return n.prototype.viGetMembre2.call(this,i,r,u,f)},r.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=i()),this.m_tValeur},r}(t.CDino);t.ms_DescriptionGeoPosition="undefined"!=typeof WDGeoPosition?t.oCreeDescriptionDINORebondFrameworkV1(v,y,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","MEASUREMENTDATE",10,26],["POSITIONVALIDE","POSITIONVALID",11,1]],WDGeoPosition):null;null!==t.ms_DescriptionGeoPosition&&t.AjouteDescriptionDINO(10,13,t.ms_DescriptionGeoPosition);"undefined"!=typeof WDDinoAdresse&&t.AjouteDescriptionDINO(10,19,t.oCreeDescriptionDINORebondFrameworkV1(p,w,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));var c=t.oCreeDescriptionDINO(e,k),l=t.oCreeDescriptionDINO(h,d),a=t.oCreeDescriptionDINO(f,u);t.AjouteDescriptionDINO(10,30,c);t.AjouteDescriptionDINO(10,31,l);t.AjouteDescriptionDINO(10,32,a);t.AjouteDescriptionDINO(10,33,l);t.AjouteDescriptionDINO(10,34,c)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function w(){return new WDRendezVous}function b(n){return new WDRendezVous(n.m_oChamp,n.m_oRendezVous)}function k(){return new WDRepetition}function d(n){return new WDRepetition(n)}function g(){return new WDDinoMarqueur}function nt(n){return new WDDinoMarqueur(n.m_oPosition)}function tt(){return new WDDinoCartePolygone}function it(n){return new WDDinoCartePolygone(n)}function rt(){return new WDDinoCartePolyligne}function ut(n){return new WDDinoCartePolyligne(n)}function ft(){return new WDDinoCarteCercle}function et(n){return new WDDinoCarteCercle(n)}function ot(){return new WDDinoCarteImage}function st(n){return new WDDinoCarteImage(n)}function ht(){return new WDDinoMarqueurImage}function ct(n){return new WDDinoMarqueurImage(n)}function lt(){return{}}function at(t){return n.NSUtil.oCloneSimple(t)}function o(n){return"object"==typeof n&&undefined!==n.m_sValeur}function h(n,i,r){return new t.CDinoPropriete(function(){return t.oCreeDinoCouleur(n())},function(n){i(String(t.oCreeDinoCouleur(n.m_oValeur)))},r)}function vt(){return new clWDUtil.WDSaisieAssistee}function yt(n){return new clWDUtil.WDSaisieAssistee(n)}function pt(n,t){return new clWDUtil.WDSaisieAssistee(n,t)}function a(){return{data:{id:l++,title:"",text:"",contributor:"",date:new Date,visible:!0}}}function wt(t){return{data:n.NSUtil.oCloneSimple(t.data)}}function v(n){return"object"==typeof n&&undefined!==n.data&&undefined!==n.data.id}function bt(t,i,r,u){var f=n.NSChamps.oGetChamp(i,140,undefined),e=new n.NSChamps.CListeKanban(f,u+1,r);return p(t,e)}function p(n,i){return t.oGetDescriptionDINO(70,74).m_oDescriptionDynamique.viCreation({m_oValeur:{data:n,list:i},m_eAffectation:1,m_iOptions:{}})}
4function u(){return{changeOrdre:!0,changeListe:!0,afficheDetail:!0,supprime:!0}}function kt(t){return n.NSUtil.oCloneSimple(t)}var i,s,c,l,r,y,f,e;"undefined"!=typeof WDRendezVous&&t.AjouteDescriptionDINO(70,0,t.oCreeDescriptionDINORebondFrameworkV1(w,b,null,[["TITRE","TITLE",0,16],["COULEURFOND","BRUSHCOLOR",1,{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));"undefined"!=typeof WDRepetition&&t.AjouteDescriptionDINO(70,1,t.oCreeDescriptionDINORebondFrameworkV1(k,d,null,[],WDRepetition));"undefined"!=typeof WDDinoMarqueur&&t.AjouteDescriptionDINO(70,11,t.oCreeDescriptionDINORebondFrameworkV1(g,nt,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",12,16],["NOTE","NOTE",13,31]],WDDinoMarqueur));"undefined"!=typeof WDDinoCartePolygone&&t.AjouteDescriptionDINO(70,45,t.oCreeDescriptionDINORebondFrameworkV1(tt,it,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","ZORDER",7,8],["GEODESIQUE","GEODESIC",8,1],["POINT","POINT",9,{m_eWL:34,m_oTypeWLSiTableau:new t.CDescriptionTableauProprieteDinoFrameworkV1(t.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}]],WDDinoCartePolygone));"undefined"!=typeof WDDinoCartePolyligne&&t.AjouteDescriptionDINO(70,46,t.oCreeDescriptionDINORebondFrameworkV1(rt,ut,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["COULEURTRAIT","LINECOLOR",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","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 t.CDescriptionTableauProprieteDinoFrameworkV1(t.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}]],WDDinoCartePolyligne));"undefined"!=typeof WDDinoCarteCercle&&t.AjouteDescriptionDINO(70,47,t.oCreeDescriptionDINORebondFrameworkV1(ft,et,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["CENTRE","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));"undefined"!=typeof WDDinoCarteImage&&t.AjouteDescriptionDINO(70,48,t.oCreeDescriptionDINORebondFrameworkV1(ot,st,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));"undefined"!=typeof WDDinoMarqueurImage&&t.AjouteDescriptionDINO(70,49,t.oCreeDescriptionDINORebondFrameworkV1(ht,ct,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));i=function(n){function t(t){return n.call(this,s,t,at)||this}return __extends(t,n),t.prototype.viCreation=function(n){var i,t;return n&&(t=n.m_oValeur,this._xVerificationValeur(n),o(t)||this._vxVerifieAffectation(undefined,n),i=this._voGetDinoValeur(undefined,t).m_oValeur),this._voAllocation(i)},t.prototype._voGetDinoValeur=function(t,i){if(o(i))return{m_oValeur:i,m_bTrouve:!0};var r=n.prototype._voGetDinoValeur.call(this,t,i);return undefined===r.m_oValeur&&undefined!==i?{m_oValeur:{m_sValeur:String(i)},m_bTrouve:!0}:r},t}(t.CTDescriptionDinoSimple);s=function(n){function i(t,i){return n.call(this,t,i,lt)||this}return __extends(i,n),i.prototype.toString=function(){return this.__sGetJetonValeur()},i.prototype.viGetMembre2=function(i,r,u,f){var e=this;switch(r){case"VALEUR":case"VALUE":return t.oGetDinoProprieteSimple(function(){return e.__sGetJetonValeur()},function(n){e._oGetValeur().m_sValeur=n},t.ms_DescriptionChaine,i);case"LIBELLE":case"CAPTION":return t.oGetDinoProprieteSimple(function(){return e.__sGetJetonLibelle()},function(n){e._oGetValeur().m_sLibelle=n},t.ms_DescriptionChaine,i);case"LIBELLEHTML":case"CAPTIONHTML":return t.oGetDinoProprieteSimple(function(){return e.__sGetJetonLibelleHTML()},function(n){e._oGetValeur().m_sLibelleHTML=n},t.ms_DescriptionChaine,i);case"COULEUR":case"COLOR":return h(function(){return e._oGetValeur().m_sCouleur},function(n){e._oGetValeur().m_sCouleur=n},i);case"COULEURFOND":case"BRUSHCOLOR":return h(function(){return e._oGetValeur().m_sCouleurFond},function(n){e._oGetValeur().m_sCouleurFond=n},i);case"BULLE":case"TOOLTIP":return t.oGetDinoProprieteSimple(function(){return e.__sGetJetonBulle()},function(n){e._oGetValeur().m_sBulle=n},t.ms_DescriptionChaine,i);case"VALEURMEMORISEE":case"STOREDVALUE":return t.oGetDinoProprieteSimple(function(){return e.__sGetJetonValeurMemorisee()},function(n){e._oGetValeur().m_sValeurMemorisee=n},t.ms_DescriptionChaine,i);default:return n.prototype.viGetMembre2.call(this,i,r,u,f)}},i.prototype.__sGetJetonValeur=function(n){return n===void 0&&(n=this._oGetValeur()
4),n.m_sValeur||""},i.prototype.__sGetJetonValeurFormatee=function(n){return n===void 0&&(n=this._oGetValeur()),n.m_sValeur||""},i.prototype.__sGetJetonLibelle=function(n){return n===void 0&&(n=this._oGetValeur()),n.m_sLibelle||this.__sGetJetonValeurFormatee(n)},i.prototype.__sGetJetonLibelleHTML=function(n){return n===void 0&&(n=this._oGetValeur()),n.m_sLibelleHTML||this.__sGetJetonLibelle(n)},i.prototype.__sGetJetonBulle=function(n){return n===void 0&&(n=this._oGetValeur()),n.m_sBulle||""},i.prototype.__sGetJetonValeurMemorisee=function(n){return n===void 0&&(n=this._oGetValeur()),n.m_sValeurMemorisee||""},i}(t.CDinoSousValue);t.AjouteDescriptionDINO(70,39,{m_oDescriptionStatique:new i(!1),m_oDescriptionDynamique:new i(!0)});"undefined"!=typeof clWDUtil.WDSaisieAssistee&&(c=t.oCreeDescriptionDINORebondFrameworkV1(vt,yt,pt,[["LIBELLE","CAPTION",0,16],["VALEURMEMORISEE","STOREDVALUE",1,16]],clWDUtil.WDSaisieAssistee),t.AjouteDescriptionDINO(70,73,c));l=Date.now();r=function(n){function t(t){return n.call(this,y,t,wt)||this}return __extends(t,n),t.prototype.viCreation=function(n){var i,t;return n&&(t=n.m_oValeur,this._xVerificationValeur(n),v(t)||this._vxVerifieAffectation(undefined,n),i=this._voGetDinoValeur(undefined,t).m_oValeur),this._voAllocation(i)},t.prototype._vxVerifieAffectation=function(){},t.prototype._voGetDinoValeur=function(t,i){var r,u;return v(i)?{m_oValeur:i,m_bTrouve:!0}:(r=n.prototype._voGetDinoValeur.call(this,t,i),undefined===r.m_oValeur&&undefined!==i)?(u=a(),u.data.title=String(i),{m_oValeur:u,m_bTrouve:!0}):r},t}(t.CTDescriptionDinoSimple);y=function(i){function r(n,t){return i.call(this,n,t,a)||this}return __extends(r,i),r.prototype.toString=function(){return this._oGetData().title},r.prototype.viGetMembre2=function(r,o,s,h){var c=this;switch(o){case"TITRE":case"TITLE":return t.oGetDinoProprieteSimple(function(){return c._oGetData().title},function(n){c._oGetData().title=n;c._Modification()},t.ms_DescriptionChaine,r);case"TEXTE":case"TEXT":return t.oGetDinoProprieteSimple(function(){return c._oGetData().text},function(n){c._oGetData().text=n;c._Modification()},t.ms_DescriptionChaine,r);case"INTERVENANT":case"CONTRIBUTOR":return t.oGetDinoProprieteSimple(function(){return c._oGetData().contributor},function(n){c._oGetData().contributor=n;c._Modification()},t.ms_DescriptionChaine,r);case"DATE":return new t.CDinoPropriete(function(){return t.ms_DescriptionDateHeure.viCreationCopie(c._oGetData().date,0)},function(n){c._oGetData().date=t.ms_DescriptionDateHeure.viCreationCopie(n.m_oValeur,n.m_eAffectation).vtGetValeurDirect().m_oDate;c._Modification()},r);case"NOMLISTE":case"LISTNAME":return t.oGetDinoProprieteSimple(function(){var n=c._oGetValeur().list;return n?n.sGetAlias():""},null,t.ms_DescriptionChaine,r);case"INDICE":case"INDEX":return t.oGetDinoProprieteSimple(function(){var n=c._oGetValeur();return n.list?n.list.nGetIndice(n.data)+1:0},null,t.ms_DescriptionI4,r);case"EXTRA":return new t.CDinoPropriete(function(){var i=c._oGetData().extra;return t.ms_DescriptionVariant.viCreationCopie(n.NSUtil.Freeze(undefined!==i?i:null),0)},null,r);case"FENETREINTERNE":case"INTERNALWINDOW":n.xThrow603(r);case"PAGEINTERNE":case"INTERNALPAGE":n.xThrow603(r);case"VISIBLE":return t.oGetDinoProprieteSimple(function(){return c._oGetData().visible},function(n){c._oGetData().visible=n;c._Modification()},t.ms_DescriptionBooleen,r);case"ACTIONAUTORISEE":case"ACTIONALLOWED":return new t.CDinoProprieteDino(this._oGetData().autorisations||u(),f,e.m_oDescriptionStatique,u,function(t,i,r){n.NSUtil.xVerifieAffectationAucune(r)});default:return i.prototype.viGetMembre2.call(this,r,o,s,h)}},r.prototype._oGetData=function(){return this._oGetValeur().data},r.prototype._Modification=function(){var n=this._oGetValeur();n.list&&n.list.Modification(n.data)},r}(t.CDinoSousValue);t.AjouteDescriptionDINO(70,74,{m_oDescriptionStatique:new r(!1),m_oDescriptionDynamique:new r(!0)});t.oCreeKBCarteDepuisModele=bt;t.oCreeKBCarteDepuisChamp=p;f=function(n){function i(t,i){return n.call(this,t,i)||this}return __extends(i,n),i.prototype.viGetMembre2=function(i,r,u,f){var e=this;switch(r){case"DEPLACER":case"MOVE":return t.oGetDinoProprieteSimple(function(){return e._oGetValeur().changeOrdre},null,t.ms_DescriptionBooleen,i);case"CHANGERLISTE":case"CHANGELISTE":return t.oGetDinoProprieteSimple(function(){return e._oGetValeur().changeListe},null,t.ms_DescriptionBooleen,i);case"AFFICHERDETAIL":return t.oGetDinoProprieteSimple(function(){return e._oGetValeur().afficheDetail},null,t.ms_DescriptionBooleen,i);case"SUPPRIMER":case"REMOVE":return t.oGetDinoProprieteSimple(function(){return e._oGetValeur().supprime},null,t.ms_DescriptionBooleen,i);default:return n.prototype.viGetMembre2.call(this,i,r,u,f)}},i.prototype._oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=u()),this.m_tValeur},i}(t.CDino);e=t.oCreeDescriptionDINO(f,kt);t.AjouteDescriptionDINO(70,75,e)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(){return new clWDUtil.WDDinoCouleur}function i(n){return new clWDUtil.WDDinoCouleur(n)}function tt(n){return new clWDUtil.WDDinoCouleur(n)}function y(n){var t=o.m_oDescriptionDynamique;return undefined===n?t.viCreation():t.viCreationCopie(n,3)}function r(t,i,r){return new n.CDinoPropriete(function(){return y(t())},function(n){i(new clWDUtil.WDDinoCouleur(n.m_oValeur))},r)}function u(){return{m_eType:1,m_dEpaisseur:0,m_oCouleur:t()}}function p(n){var t=u();return w(n,t),t}function w(n,t){t.m_eType=n.m_eType;t.m_dEpaisseur=n.m_dEpaisseur;t.m_oCouleur=i(n.m_oCouleur)}function it(t){return new n.CDinoProprieteDino(t,s,h.m_oDescriptionStatique,u,w)}function f(){return{m_dLargeur:0,m_dHauteur:0}}function b(n){var t=f();return k(n,t),t}function k(n,t){t.m_dLargeur=n.m_dLargeur;t.m_dHauteur=n.m_dHauteur}function rt(t){return new n.CDinoProprieteDino(t,c,l.m_oDescriptionStatique,f,k)}function e(){return{m_oCouleurDebut:t(),m_oCouleurFin:t(),m_oCouleur3:t(),m_oCouleur4:t(),m_nAngle:0,m_nDistanceCouleur3:0,m_nDistanceCouleur4:0}}function d(n){var t=e();return g(n,t),t}function g(n,t){t.m_oCouleurDebut=i(n.m_oCouleurDebut);t.m_oCouleurFin=i(n.m_oCouleurFin);t.m_oCouleur3=i(n.m_oCouleur3);t.m_oCouleur4=i(n.m_oCouleur4);t.m_nAngle=n.m_nAngle;t.m_nDistanceCouleur3=n.m_nDistanceCouleur3;t.m_nDistanceCouleur4=n.m_nDistanceCouleur4}function ut(t){return new n.CDinoProprieteDino(t,a,v.m_oDescriptionStatique,e,g)}function ft(){return{m_eType:0,m_oCouleur:t(),m_eHachure:6,m_oDegrade:e()}}function et(n){return{m_eType:n.m_eType,m_oCouleur:i(n.m_oCouleur),m_eHachure:n.m_eHachure,m_oDegrade:d(n.m_oDegrade)}}var o,s,h,c,l,a,v,nt;"undefined"!=typeof clWDUtil.WDDinoCouleur&&(o=n.oCreeDescriptionDINORebondFrameworkV1(t,i,tt,[["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),n.AjouteDescriptionDINO(61,1,o));n.oCreeDinoCouleur=y;n.oCreeValeurTrait=u;n.oCopieValeurTrait=p;n.oGetProprieteDinoTrait=it;s=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"TYPE":return n.oGetDinoProprieteSimple(function(){return o.m_eType},function(n){o.m_eType=n},n.ms_DescriptionI4,i);case"EPAISSEUR":case"THICKNESS":return n.oGetDinoProprieteSimple(function(){return o.m_dEpaisseur},function(n){o.m_dEpaisseur=n},n.ms_DescriptionR8,i);case"COULEUR":case"COLOR":return r(function(){return o.m_oCouleur},function(n){o.m_oCouleur=n},i)}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=u()),this.m_tValeur},i}(n.CDino);h=n.oCreeDescriptionDINO(s,p);n.AjouteDescriptionDINO(61,5,h);n.oCreeValeurCoin=f;n.oCopieValeurCoin=b;n.oGetProprieteDinoCoin=rt;c=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,r,u,f){var e=this.__oGetValeur();switch(r){case"LARGEUR":case"WIDTH":return n.oGetDinoProprieteSimple(function(){return e.m_dLargeur},function(n){e.m_dLargeur=n},n.ms_DescriptionR8,i);case"HAUTEUR":case"HEIGHT":return n.oGetDinoProprieteSimple(function(){return e.m_dHauteur},function(n){e.m_dHauteur=n},n.ms_DescriptionR8,i)}return t.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=f()),this.m_tValeur},i}(n.CDino);l=n.oCreeDescriptionDINO(c,b);n.AjouteDescriptionDINO(61,6,l);a=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"COULEURDEBUT":case"COLORSTART":return r(function(){return o.m_oCouleurDebut},function(n){o.m_oCouleurDebut=n},i);case"COULEURFIN":case"COLOREND":return r(function(){return o.m_oCouleurDebut},function(n){o.m_oCouleurFin=n},i);case"ANGLE":return n.oGetDinoProprieteSimple(function(){return o.m_nAngle},function(n){o.m_nAngle=n},n.ms_DescriptionI4,i);case"COULEUR3":case"COLOR3":return r(function(){return o.m_oCouleur3},function(n){o.m_oCouleur3=n},i);case"DISTANCECOULEUR3":case"DISTANCECOLOR3":return n.oGetDinoProprieteSimple(function(){return o.m_nDistanceCouleur3},function(n){o.m_nDistanceCouleur3=n},n.ms_DescriptionI4,i);case"COULEUR4":case"COLOR4":return r(function(){return o.m_oCouleur4},function(n){o.m_oCouleur4=n},i);case"DISTANCECOULEUR4":case"DISTANCECOLOR4":return n.oGetDinoProprieteSimple(function(){return o.m_nDistanceCouleur4},function(n){o.m_nDistanceCouleur4=n},n.ms_DescriptionI4,i)}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=e()),this.m_tValeur},i}(n.CDino);v=n.oCreeDescriptionDINO(a,d);n.AjouteDescriptionDINO(61,7,v);nt=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"COULEUR":case"COLOR":return r(function(){return o.m_oCouleur},function(n){o.m_oCouleur=n},i);case"TYPE":return n.oGetDinoProprieteSimple(function(){return o.m_eType},function(n){o.m_eType=n},n.ms_DescriptionI4,i);case"HACHURE":case"HATCH":return n.oGetDinoProprieteSimple(function(){return o.m_eHachure},function(n){o.m_eHachure=n},n.ms_DescriptionI4,i);case"DEGRADE":case"GRADIENT":return ut(o.m_oDegrade)}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=ft()),this.m_tValeur},i}(n.CDino);n.ms_oDescriptionDinoFond=n.oCreeDescriptionDINO(nt,et);n.AjouteDescriptionDINO(61,8,n.ms_oDescriptionDinoFond)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(n){return n}function c(n){return n}function u(n){return n||l}function i(n){return n||a}function s(n){return new r(n,e.m_oDescriptionDynamique)}function v(n){return new f(n,o.m_oDescriptionDynamique)}var r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype.viGetMembre2=function(n,r,f,e){var o=this;switch(r){case"CODE":return t.oGetDinoProprieteSimple(function(){return u(o.m_tValeur).m_eContinent},function(n){o.m_tValeur=StdPaysContinent.oGetContinentParNomOuCode(n)},t.ms_DescriptionChaine,n);case"NOM":case"NAME":return t.oGetDinoProprieteSimple(function(){return u(o.m_tValeur).m_sRessourceLibelle},null,t.ms_DescriptionChaine,n)}return i.prototype.viGetMembre2.call(this,n,r,f,e)},r}(t.CDino),l={m_eContinent:"",m_sRessourceLibelle:""},f=function(r){function u(){return r!==null&&r.apply(this,arguments)||this}return __extends(u,r),u.prototype.valueOf=function(){throw new n.CErreur(601);},u.prototype.viGetMembre2=function(n,u,f,e){var o=this;switch(u){case"CODEISO2":case"ISOCODE2":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sCodeAlpha2},function(n){o.m_tValeur=StdPaysContinent.oGetPaysParNomOuCodeISO(n)},t.ms_DescriptionChaine,n);case"CODEISO3":case"ISOCODE3":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sCodeAlpha3},null,t.ms_DescriptionChaine,n);case"CODEISONUM":case"ISOCODENUM":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sCodeNum},null,t.ms_DescriptionChaine,n);case"CONTINENT":return new t.CDinoPropriete(function(){return s(i(o.m_tValeur).m_oInfoContinent)},null,n);case"NATION":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_nNation},null,t.ms_DescriptionI4,n);case"NOM":case"NAME":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sRessourceLibelle},null,t.ms_DescriptionChaine,n);case"PREFIXENUMERODETELEPHONE":case"PHONENUMBERPREFIX":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sPrefixeNumTel},null,t.ms_DescriptionChaine,n)}return r.prototype.viGetMembre2.call(this,n,u,f,e)},u}(t.CDino),a={m_sRessourceLibelle:"",m_sCodeAlpha2:"",m_sCodeAlpha3:"",m_sCodeNum:"",m_nNation:0,m_oInfoContinent:undefined,m_sPrefixeNumTel:""},e=t.oCreeDescriptionDINO(r,h),o=t.oCreeDescriptionDINO(f,c);t.AjouteDescriptionDINO(8,4,e);t.AjouteDescriptionDINO(8,5,o);t.oCreeDinoContinent=s;t.oCreeDinoPays=v})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function b(){return{m_nBords:15,m_tabCoins:[t.oCreeValeurCoin(),t.oCreeValeurCoin(),t.oCreeValeurCoin(),t.oCreeValeurCoin()],m_tabTraits:[t.oCreeValeurTrait(),t.oCreeValeurTrait(),t.oCreeValeurTrait(),t.oCreeValeurTrait()]}}function k(n){return{m_nBords:n.m_nBords,m_tabCoins:n.m_tabCoins.map(t.oCopieValeurCoin),m_tabTraits:n.m_tabTraits.map(t.oCopieValeurTrait)}}function h(n,i,r,u,f,e){return t.oGetDinoProprieteSimple(function(){return n.map(i).reduce(function(n,t){return n===t?t:u})}
4,function(t){n.forEach(function(n){r(n,t)})},f,e)}function e(n,i){return t.oGetProprieteDinoTrait(n.m_tabTraits[i])}function o(n,i){return t.oGetProprieteDinoCoin(n.m_tabCoins[i])}function a(){return!1}function v(){return!0}function u(){return null}function s(){return 0}function y(n){return n}function i(){throw new n.CErreur(619);}function c(n,t,i){return new r(n,null,t,i)}var l=-1,d=-1,g=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return __extends(i,n),i.prototype.viGetMembre2=function(i,r,u,f){var s=this.__oGetValeur();switch(r){case"COULEUR":case"COLOR":return new t.CDinoPropriete(function(){return t.oCreeDinoCouleur(s.m_tabTraits.map(function(n){return n.m_oCouleur}).reduce(function(n,t){return String(n)===String(t)?t:new clWDUtil.WDDinoCouleur}))},function(n){s.m_tabTraits.forEach(function(t){t.m_oCouleur=new clWDUtil.WDDinoCouleur(n.m_oValeur)})},i);case"EPAISSEUR":case"THICKNESS":return h(s.m_tabTraits,function(n){return n.m_dEpaisseur},function(n,t){n.m_dEpaisseur=t},d,t.ms_DescriptionR8,i);case"TRAIT":case"LINE":return h(s.m_tabTraits,function(n){return n.m_eType},function(n,t){n.m_eType=t},-1,t.ms_DescriptionI4,i);case"BORDS":case"EDGES":return t.oGetDinoProprieteSimple(function(){return s.m_nBords},function(n){s.m_nBords=n&15},t.ms_DescriptionI4,i);case"ARRONDI":case"ROUND":return h(s.m_tabCoins,function(n){var t=n.m_dLargeur;return t===n.m_dHauteur?t:l},function(n,t){n.m_dLargeur=t;n.m_dHauteur=t},l,t.ms_DescriptionR8,i);case"TRAITHAUT":case"LINETOP":return e(s,1);case"TRAITGAUCHE":case"LINELEFT":return e(s,0);case"TRAITBAS":case"LINEBOTTOM":return e(s,3);case"TRAITDROITE":case"LINERIGHT":return e(s,2);case"COINHAUTGAUCHE":case"TOPLEFTCORNER":return o(s,0);case"COINHAUTDROITE":case"TOPRIGHTCORNER":return o(s,1);case"COINBASGAUCHE":case"BOTTOMLEFTCORNER":return o(s,2);case"COINBASDROITE":case"BOTTOMRIGHTCORNER":return o(s,3)}return n.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=b()),this.m_tValeur},i}(t.CDino),r;t.ms_oDescriptionDinoCadre=t.oCreeDescriptionDINO(g,k);t.AjouteDescriptionDINO(0,0,t.ms_oDescriptionDinoCadre);r=function(r){function e(n,t,i,u){var f=r.call(this,n)||this;return f.m_oValeur=t,f.m_bTemporaire=i,f.m_sNom=u,f}return __extends(e,r),e.prototype.valueOf=function(){return this.m_oValeur},e.prototype.toJSON=function(){return this.m_oValeur},e.prototype.viGetRValue=function(){return this.__oGetJSON()},e.prototype.veGetTypeWL=function(){return 111},e.prototype.vSetValeur2=function(n){this.__oGetJSON().Affectation(n)},e.prototype.sGetNom=function(){return this.m_sNom},e.prototype.SetNom=function(t){var i=String(t),f=this.m_sNom,u,r;if(f!==i){if(u=this.m_tParent,r=!this.m_bTemporaire&&null!==u?u.oGetValeurObjet():null,r){if(r.hasOwnProperty(i))throw new n.CErreur(1100,i);delete r[f];r[i]=this}this.m_sNom=i}this.SetValide()},e.prototype.oGetValeur=function(){switch(typeof this.m_oValeur){case"number":case"string":case"boolean":return this.m_oValeur;default:return null}},e.prototype.SetValeur=function(t){var i=n.NSValues.oAny2Natif(t);this.SetValeurNative(i)},e.prototype.SetValeurDirect=function(n){this.m_oValeur=n.m_oValeur},e.prototype.eGetType=function(){return t.oGetPourNatif(this.m_oValeur,1,13,16,28,61,function(){return 12},0,143,142,0)},e.prototype.bGetExiste=function(){return!this.m_bTemporaire},e.prototype.SetExiste=function(t){this.__SetTemporaire(!n.NSUtil.bGetBooleen(t))},e.prototype.nGetOccurrence=function(){var t=this.m_oValeur;return n.NSUtil.bIsArray(t)?t.length:0},e.prototype.sGetFormatJSON=function(){return n.NSUtil.xsStringifyJSON(this,!0)},e.prototype.xSetFormatJSON=function(t){var i;try{i=n.NSUtil.oEvalJSON(String(t),null,!1)}catch(r){throw new n.CErreur(607);}this.SetValeurNative(i)},e.prototype.oCloneRacine=function(n){return e.__s_oClone(this,function(n){return n.m_oValeur},n?n.m_tParent:null,n?n.m_bTemporaire:!1,n?n.m_sNom:this.m_sNom)},e.prototype.SetValeurNative=function(n){this.__SetValeur(n,y);this.SetValide()},e.prototype.__oGetJSON=function(){return new w(this,null===this.m_tParent?f.m_oDescriptionDynamique:f.m_oDescriptionStatique)},e.prototype.__SetValeur=function(t,i){function r(t,i,r){var u=r(i),f;switch(typeof u){case"number":case"string":case"boolean":return u;case"object":return null===u?null:n.NSUtil.bIsArray(u)?u.map(function(n){return e.__s_oClone(n,r,t,!1,"")}):(f={},n.NSUtil.bForEachIn(u,function(n,i){return f[n]=e.__s_oClone(i,r,t,!1,n),!0}),f);default:return null}}this.m_oValeur=r(this,t,i)},e.prototype.SetValide=function(){this.__SetTemporaire(!1)},e.prototype.__SetTemporaire=function(t){if(t!==this.m_bTemporaire){var i=this.m_tParent;null!==i&&(this.m_bTemporaire=t,t?(this.m_oValeur=null,i.__SupprimeFils(this)):(i.__AjouteFils(this),i.SetValide()))}},e.__s_oClone=function(n,t,i,r,u){var f=c(i,r,u);return f.__SetValeur(n,t),f},e.prototype.oGetValeurObjet=function(){return this.oSurValeur(u,u,y,u)},e.prototype.__SupprimeFils=function(n){this.oSurValeur(i,i,function(t){delete t[n.m_sNom]},function(t){var i=t.indexOf(n);-1!==i&&t.splice(i,1)})},e.prototype.__AjouteFils=function(n){function r(t){t[n.m_sNom]=n}var t=this;this.oSurValeur(i,function(){t.m_oValeur={};r(t.m_oValeur)},r,function(t){t.push(n)})},e.prototype.oSurValeur=function(t,i,r,u){var f=this.m_oValeur;switch(typeof f){case"number":case"string":case"boolean":default:return t(f);case"object":return n.NSUtil.bIsArray(f)?u(f):null===f?i():r(f)}},e.prototype.bValeurAutomatiqueEstValeurLecture=function(){return this.bFils()&&this.oSurValeur(v,v,a,a)},e.prototype.bValeurAutomatiqueEstValeurEcriture=function(){return this.bFils()},e.prototype.bFils=function(){return null!==this.m_tParent},e.prototype.eGetTypeWLPourPropriete=function(n){if(this.bFils()){var t=this.m_oValeur;switch(typeof t){default:if(null!==t)break;case"number":case"string":case"boolean":return this.eGetType()}}return n},e.prototype.oTransformeEnTableauVide=function(){var t=[];return this.m_oValeur=t,this.SetValide(),t},e}(n.NSUtil.CTSousElement);var p=function(t){function i(n){return t.call(this,w,n,function(n,t){return n.oCloneRacine(t.vtGetValeurDirect())})||this}return __extends(i,t),i.prototype._vxVerifieAffectation=function(n,i){var r;if((r=n===null||n===void 0?void 0:n.vtGetValeurDirect())===null||r===void 0?void 0:r.bFils())return t.prototype._vxVerifieAffectation.call(this,n,i)},i.prototype._voGetDinoValeur=function(i,u){var o=t.prototype._voGetDinoValeur.call(this,i,u),f,e;if(undefined!==o.m_oValeur)return o;if(f=undefined!=i?i:new r(null,null,!1,""),e=n.NSValues.oAny2Natif(u),"string"==typeof e)try{f.xSetFormatJSON(e)}catch(s){f.SetValeur(e)}else f.SetValeur(e);return{m_oValeur:f,m_bTrouve:!0}},i}(t.CTDescriptionDinoSimple),w=function(e){function o(){return e!==null&&e.apply(this,arguments)||this}return __extends(o,e),o.prototype.toString=function(){var t=this.oGetJSONContenu();return t.bValeurAutomatiqueEstValeurLecture()?String(t.oGetValeur()
4):n.NSUtil.xsStringifyJSON(t,!0)},o.prototype.viGetRValue=function(n){switch(n){default:return this;case 1:case 5:return this.__oGetProprieteValeurAutomatique()}},o.prototype.viGetMembre2=function(t,i,r,u){if(4===u){var f=this.__iGetPropriete(t,i);if(f)return f;throw new n.CErreur(605,t);}return this.__iGetMembre(t)},o.prototype.viGetSousElement=function(t,i){var f=i[t],r=n.NSValues.oAny2Natif(f),u;return u="string"==typeof r?this.__iGetMembre(r):this.__iSousElementTableau(r),n.NSUtil.iChaineSousElement(u,t+1,i)},o.prototype.viGetAsTableau=function(){var n=this;return this.oGetJSONContenu().oSurValeur(u,function(){return n.oGetJSONContenu().oTransformeEnTableauVide(),n},u,function(){return n})},o.prototype.viGetAsTableauAssociatif=function(){var n=this;return this.oGetJSONContenu().oSurValeur(u,u,function(){return n},u)},o.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},o.prototype.xiGetTableauTri=function(){throw new n.CErreur(601);},o.prototype.xiGetTableauSupprime=function(){return this},o.prototype.xRedimensionne=function(){throw new n.CErreur(601);},o.prototype.nAjouteLigne=function(){throw new n.CErreur(601);},o.prototype.xCopieDepuis=function(){throw new n.CErreur(601);},o.prototype.DeplaceLigne=function(){throw new n.CErreur(601);},o.prototype.Echange=function(){throw new n.CErreur(601);},o.prototype.eTypeElement=function(){return 111},o.prototype.bDynamique=function(){return!0},o.prototype.Insere=function(){throw new n.CErreur(601);},o.prototype.InsereLigne=function(){throw new n.CErreur(601);},o.prototype.eGetModeAgrandissement=function(){return 1},o.prototype.nGetNbDimensions=function(){return 1},o.prototype.nGetUneDimension=function(){return this.nGetNbElements()},o.prototype.nGetNbElements=function(){return this.nGetNbElementsFiltre(!1)},o.prototype.nGetDimension0Pas=function(){return 1},o.prototype.iGetSousElementIndice=function(n,t){return this.iGetSousElementIndiceFiltre(n,t,!1)},o.prototype.iGetDescriptionElement=function(){return f.m_oDescriptionStatique},o.prototype.viGetAsTableauType=function(){return null},o.prototype.nSupprime=function(n){return this.oGetJSONContenu().oSurValeur(i,s,function(t){var i=String(n);return t.hasOwnProperty(i)?(delete t[i],1):0},function(t){return t.splice(n,1).length})},o.prototype.SupprimeTout=function(){this.oGetJSONContenu().oSurValeur(i,s,n.NSUtil.SupprimeToutMembres,function(n){n.length=0})},o.prototype.bAvecDoublon=function(){return!1},o.prototype.eTypeCle=function(){return 16},o.prototype.Inverse=function(){throw new n.CErreur(601);},o.prototype.Trie=function(){throw new n.CErreur(601);},o.prototype.nGetNbElementsCle=function(){throw new n.CErreur(601);},o.prototype.oGetCle=function(){throw new n.CErreur(601);},o.prototype.__oGetProprieteValeurAutomatique=function(){var t=this;return new n.NSUtil.CPropriete(function(){var i=t.oGetJSONContenu();return n.NSValues.iAny2RValue(i.bValeurAutomatiqueEstValeurLecture()?i.oGetValeur():i.sGetFormatJSON())},function(n){return t.Affectation(n)},function(){return t.oGetJSONContenu().toJSON()},function(){return t.oGetJSONContenu().eGetTypeWLPourPropriete(16)},"ValeurAutomatique/AutomaticValue")},o.prototype.__oGetProprieteDinoJSON=function(t,i,r,u){var f=this;return n.NSUtil.oGetProprieteSimple(function(){return t.apply(f.oGetJSONContenu())},i?function(n){return i.call(f.oGetJSONContenu(),n)}:null,r,u)},o.prototype.Affectation=function(n){var r,u,o=this.oGetJSONContenu(),f,i,e;if(o.bValeurAutomatiqueEstValeurEcriture()){f=n.m_oValeur;t.iGetAsDino(f,0,16)?(i=this.vtGetValeurDirect(),this.viGetDescriptionType().viAffectation(this,n),i&&(e=this.vtGetValeurDirect(),e&&(i.SetValeurDirect(e),this.vSetValeurDirect(i))),(r=this.vtGetValeurDirect())===null||r===void 0?void 0:r.SetValide()):o.SetValeur(f);return}this.viGetDescriptionType().viAffectation(this,n);(u=this.vtGetValeurDirect())===null||u===void 0?void 0:u.SetValide()},o.prototype.oGetJSONContenu=function(){return undefined===this.m_tValeur&&(this.m_tValeur=c(null,!1,"")),this.m_tValeur},o.prototype.__iGetPropriete=function(t,i){var u=this;switch(i){case"NOM":case"NAME":return this.__oGetProprieteDinoJSON(r.prototype.sGetNom,r.prototype.SetNom,16,t);case"VALEUR":case"VALUE":return new n.NSUtil.CPropriete(function(){return n.NSValues.iAny2RValue(u.oGetJSONContenu().oGetValeur()
4)},function(n){return u.oGetJSONContenu().SetValeur(n.m_oValeur)},undefined,function(){return u.oGetJSONContenu().eGetTypeWLPourPropriete(111)},t);case"TYPE":return this.__oGetProprieteDinoJSON(r.prototype.eGetType,null,8,t);case"EXISTE":case"EXIST":return this.__oGetProprieteDinoJSON(r.prototype.bGetExiste,r.prototype.SetExiste,1,t);case"OCCURRENCE":case"COUNT":return this.__oGetProprieteDinoJSON(r.prototype.nGetOccurrence,null,8,t);case"FORMATJSON":case"JSONFORMAT":return this.__oGetProprieteDinoJSON(r.prototype.sGetFormatJSON,r.prototype.xSetFormatJSON,16,t);case"VALEURAUTOMATIQUE":case"AUTOMATICVALUE":return this.__oGetProprieteValeurAutomatique();case"MEMBRE":case"MEMBER":return new nt(this);default:return null}},o.prototype.__iGetMembre=function(u){var f=this,e=function(t){function e(){return new r(s,null,!0,u)}var s=f.oGetJSONContenu(),h=s.oSurValeur(i,e,function(i){if(i.hasOwnProperty(u))return i[u];if(t){var r;if(n.NSUtil.bForEachIn(i,function(t,i){return 0==n.NSUtil.nCompareLogique(u,t)?(r=i,!1):!0}),undefined!==r)return r}return e()},i);return new o(h,f.iGetDescriptionElement())};return new t.CDinoPropriete(function(){return e(!0)},function(n){return e(!1).Affectation(n)},u)},o.prototype.__iSousElementTableau=function(t){function u(i,r){for(var u=n.NSUtil.xnGetIndiceC(t,r.length,1,0);r.length<=u;)r.push(c(i,!1,""));return r[u]}var r=this.oGetJSONContenu();return r.oSurValeur(i,function(){return u(r,r.oTransformeEnTableauVide())},i,function(n){return u(r,n)})},o.prototype.nGetNbElementsFiltre=function(n){return this.oGetJSONContenu().oSurValeur(i,i,function(n){return Object.keys(n).length},n?s:function(n){return n.length})},o.prototype.iGetSousElementIndiceFiltre=function(n,t,u){function f(){return new r(e,null,!0,"")}var o=this,e=this.oGetJSONContenu();return e.oSurValeur(i,u?f:i,function(i){var r=Object.keys(i)[n];return t&&(t.m_oCle=r),undefined!==r?i[r]:f()},u?i:function(){return o.__iSousElementTableau(n+1)})},o}(t.CDino),nt=function(t){function r(n){var i=t.call(this)||this;return i.m_oJSON=n,i}return __extends(r,t),r.prototype.valueOf=function(){return this.__oGetJSONContenu().toJSON()},r.prototype.veGetTypeWL=function(){return 109},r.prototype.nAjouteLigne=function(){throw new n.CErreur(601);},r.prototype.DeplaceLigne=function(){throw new n.CErreur(601);},r.prototype.Echange=function(){throw new n.CErreur(601);},r.prototype.eTypeElement=function(){return 111},r.prototype.Insere=function(){throw new n.CErreur(601);},r.prototype.nGetNbElements=function(){return this.m_oJSON.nGetNbElementsFiltre(!0)},r.prototype.iGetSousElementIndice=function(n){return this.m_oJSON.iGetSousElementIndiceFiltre(n,undefined,!0)},r.prototype.iGetDescriptionElement=function(){return f.m_oDescriptionDynamique},r.prototype.nSupprime=function(n){return this.__oGetJSONContenu().oSurValeur(i,s,function(t){var i=Object.keys(t)[n];return undefined!==i?(delete t[i],1):0},i)},r.prototype.SupprimeTout=function(){return this.m_oJSON.SupprimeTout()},r.prototype.__oGetJSONContenu=function(){return this.m_oJSON.oGetJSONContenu()},r}(n.NSUtil.CCollection),f={m_oDescriptionStatique:new p(!1),m_oDescriptionDynamique:new p(!0)};t.AjouteDescriptionDINO(0,16,f)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function l(n){return 0<=n.vnToNumber(0)?"+":"-"}function a(n){return 0<=n.vnToNumber(0)?"":"-"}function v(n){return r(n,2,7)}function y(n){return String(f(n,2))}function p(n){return r(n,3,2)}function w(n){return r(n,4,2)}function b(n){return r(n,5,2)}function k(n){return r(n,6,3)}function d(t){return n.NSUtil.sCompleteEntier(Math.floor(f(t,6)/10),2)}function f(t,i){return Math.abs(n.NSUtil.dGetReel(t.viGetPropriete(0,i),0))}function r(t,i,r){return n.NSUtil.sCompleteEntier(f(t,i),r)}function e(t,i){if(0<t.length){switch(t.charAt(t.length-1)){case"+":break;case"-":i.vSetValeurDirect(-i.vnToNumber(0));break;default:throw new n.CErreur(204);}return t.substring(0,t.length-1)}return t}function g(n,t){return i(n,t,7,864e5)}function nt(n,t){for(var r=864e5,i;0<n.length;){if(i=parseInt(n.charAt(n.length-1),10),isNaN(i))break;else t.vSetValeurDirect(t.vnToNumber(0)+i*r),r*=10;n=n.substring(0,n.length-1)}return n}function tt(n,t){return i(n,t,2,36e5)}function it(n,t){return i(n,t,2,6e4)}function rt(n,t){return i(n,t,2,1e3)}function ut(n,t){return i(n,t,3,1)}function ft(n,t){return i(n,t,2,10)}function i(t,i,r,u){return t=n.NSUtil.sCompleteEntierChaine(t,r),i.vSetValeurDirect(i.vnToNumber(0)+parseInt(t.substring(t.length-r),10)*u),t.substring(0,t.length-r)}function et(t){var i=NaN,r=n.iGetAsRValue(t,1);r&&(t=16==r.veGetTypeWL()?r.toString():r.vnToNumber(0));
4switch(typeof t){case"string":i=ot(t);break;case"number":i=st(t);break;case"object":i=ht(t)}if(isNaN(i))throw new n.CErreur(204);return i}function ot(t){var i=!1,r;switch(t.charAt(0)){case"+":t=t.substring(1);break;case"-":t=t.substring(1);i=!0}return n.NSUtil.sCompleteEntier(parseInt(t,10),t.length)!=t?NaN:(t=n.NSUtil.sCompleteEntierChaine(t,10),r=[parseInt(t.substring(0,t.length-9),10),parseInt(t.substr(t.length-9,2),10),parseInt(t.substr(t.length-7,2),10),parseInt(t.substr(t.length-5,2),10),parseInt(t.substring(t.length-3),10)],h(r,i,!0))}function st(n){return s(n,1)}function s(t,i){return n.NSOperations.nArrondiVersZero(t*i)}function ht(n){return"undefined"!=typeof clWLangage&&n instanceof clWLangage.WDDuree?n.m_nValeur:Number(n)}function h(t,i,r){if(r&&(t[1]<0||24<=t[1]||t[2]<0||60<=t[2]||t[3]<0||60<=t[3]||t[4]<0||1e3<=t[4]))throw new n.CErreur(204);var u=t[0]*864e5+t[1]*36e5+t[2]*6e4+t[3]*1e3+t[4];return i?-u:u}function ct(n){return!!n&&(n instanceof u||undefined!==n.sDureeVersChaine)}var o=[[["+/-"],l,e],[["+"],a,e],[["JJJJJJJ"],v,g],[["J","D"],y,nt],[["HH"],p,tt],[["MM"],w,it],[["SS"],b,rt],[["LLL"],k,ut],[["LL"],d,ft]],u,c;t.ms_DescriptionDuree=new t.CTDescriptionTypeTresSimple(27,function(n){return n===void 0&&(n=0),new u(n)},function(n){var t=0,i=n.m_oValeur;return undefined!==i&&(t=et(i)),t},undefined);u=function(i){function r(n){return i.call(this,n,t.ms_DescriptionDuree)||this}return __extends(r,i),r.prototype.toString=function(){return this.sDureeVersChaine("+JHHMMSSLLL")},r.prototype.vnToNumber=function(n){var t=this.valueOf();return 1===n&&(t/=10),t},r.prototype._viGetProprieteVM=function(n){switch(n){case 2:case 3:case 4:case 5:case 6:case 28:case 29:case 30:case 31:case 32:return new c(this,n);default:return i.prototype._viGetProprieteVM.call(this,n)}},r.prototype.sDureeVersChaine=function(t){var i=this;return n.NSUtil.tabParseFormat(t,o).reduce(function(n,t){function r(n){return"function"==typeof n}return n+(r(t)?t(i):t)},"")},r.xoChaineVersDuree=function(t,i){var u=String(t),e=n.NSUtil.tabParseDeformat(i,o,!0),f=new r(0);return e.reverse().forEach(function(t){switch(typeof t){case"string":if(t.length<=u.length)u=u.substring(0,u.length-t.length);else throw new n.CErreur(601);break;case"function":try{u=t(u,f)}catch(i){if(clWDUtil.bCatch(i))throw new n.CErreur(601);else throw i;}}}),f},r}(t.CTTypeSimple);t.CDuree=u;c=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetRValue=function(){var i=this.m_tParent.valueOf();switch(this.m_ePropriete){case 2:return this.__iGetPropComposante(i,0);case 3:return this.__iGetPropComposante(i,1);case 4:return this.__iGetPropComposante(i,2);case 5:return this.__iGetPropComposante(i,3);case 6:return this.__iGetPropComposante(i,4);case 28:return this.__iGetPropEnComposante(i,864e5);case 29:return this.__iGetPropEnComposante(i,36e5);case 30:return this.__iGetPropEnComposante(i,6e4);case 31:return this.__iGetPropEnComposante(i,1e3);case 32:return t.ms_DescriptionI8.viCreationCopie(i,0);default:n.xThrow603(0,this.m_ePropriete)}},r.prototype.vSetValeur2=function(t){switch(this.m_ePropriete){case 2:this.__SetValeurComposante(t,0);break;case 3:this.__SetValeurComposante(t,1);break;case 4:this.__SetValeurComposante(t,2);break;case 5:this.__SetValeurComposante(t,3);break;case 6:this.__SetValeurComposante(t,4);break;case 28:this.__SetValeurMilliseconde(t,864e5);break;case 29:this.__SetValeurMilliseconde(t,36e5);break;case 30:this.__SetValeurMilliseconde(t,6e4);break;case 31:this.__SetValeurMilliseconde(t,1e3);break;case 32:this.__SetValeurMilliseconde(t,1);break;default:n.xThrow603(0,this.m_ePropriete)}},r.prototype.__iGetPropComposante=function(n,i){return t.iNatif2RValue(this.__tabGetComposantes(n)[i])},r.prototype.__iGetPropEnComposante=function(i,r){return n.NSOperations.oBinaire(3,t.ms_DescriptionNumeriqueAuto.viCreationCopie(i,3),t.ms_DescriptionNumeriqueAuto.viCreationCopie(r,3))},r.prototype.__tabGetComposantes=function(t){var i=[0,0,0,0,0];return i[4]=t%1e3,t=n.NSOperations.nArrondiVersZero(t/1e3),i[3]=t%60,t=n.NSOperations.nArrondiVersZero(t/60),i[2]=t%60,t=n.NSOperations.nArrondiVersZero(t/60),i[1]=t%24,t=n.NSOperations.nArrondiVersZero(t/24),i[0]=t,i},r.prototype.__SetValeurComposante=function(t,i){var r=this.__tabGetComposantes(this.m_tParent.valueOf());r[i]=n.NSUtil.nGetEntier(t.m_oValeur);this.m_tParent.vSetValeurDirect(h(r,!1,!1))},r.prototype.__SetValeurMilliseconde=function(t,i){this.m_tParent.vSetValeurDirect(s(n.NSUtil.dGetReel(t.m_oValeur,0),i)
4)},r}(n.NSUtil.CProprieteMultiple);t.bIsDuree=ct})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n,t,i,r){return n===void 0&&(n=0),t===void 0&&(t=0),i===void 0&&(i=0),r===void 0&&(r=0),{m_dX:n,m_dY:t,m_dLargeur:i,m_dHauteur:r}}function f(n,t,i,r){return{m_dX:n,m_dY:t,m_dLargeur:i-n,m_dHauteur:r-t}}function e(n){return!!n&&(n instanceof r||151===n.veGetTypeWL())}function u(t){var i,r=(i=n.iGetAsRValue(t,1))===null||i===void 0?void 0:i.viGetAsRValueType();return e(r)?r.vtGetValeurDirect():null}t.oGetRectangleXYXY=f;t.ms_DescriptionRectangle=new t.CTDescriptionTypeTresSimple(151,function(n){return n===void 0&&(n=i()),new r(n)},function(t){var r=u(t.m_oValeur);if(r)return i(r.m_dX,r.m_dY,r.m_dLargeur,r.m_dHauteur);throw new n.CErreur(601);},undefined);var r=function(i){function r(n){return i.call(this,n,t.ms_DescriptionRectangle)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 39:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dX},function(t){r.m_tValeur.m_dX=n.NSUtil.nGetEntier(t)},8,0,t);case 40:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dY},function(t){r.m_tValeur.m_dY=n.NSUtil.nGetEntier(t)},8,0,t);case 41:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dLargeur},function(t){r.m_tValeur.m_dLargeur=n.NSUtil.nGetEntier(t)},8,0,t);case 42:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dHauteur},function(t){r.m_tValeur.m_dHauteur=n.NSUtil.nGetEntier(t)},8,0,t);default:return i.prototype._viGetProprieteVM.call(this,t)}},r}(t.CTTypeSimple);t.oGetRectangle=u})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(i,r){var h,u,f,e,o,c,s;for(r.SupprimeTout(),h=i.nGetNbElements(),u=0;u<h;u++)if(f={m_oCle:undefined},e=i.iGetSousElementIndice(u,f),e){if(n.NSOperations.bDansDeserialisation&&r.bAvecDoublon()&&(o=e.viGetRValue(1),t.bIsTableauNatif(o))){for(c=o.nGetNbElements(),s=0;s<c;s++)r.viGetSousElement(0,[f.m_oCle]).vSetValeur(o.iGetSousElementIndice(s),0,{});continue}r.viGetSousElement(0,[f.m_oCle]).vSetValeur(e,0,{})}}function h(t){return t.every(function(t){return n.NSUtil.bIsArray(t)&&2===t.length})}function e(n){return n instanceof i||"__oGetValeurIndiceComplet"in n}var o=function(r){function u(i,u,f,e){var o=r.call(this,62,undefined)||this;return o.m_nOptions=i,o.m_iDescriptionTypeValeur=f,o.m_iDescriptionTypeCle=t.iGetDescription(n.NSUtil.dGetReel(e),!0),o.m_iValeurDefaut=undefined!==u?o.m_iDescriptionTypeValeur.viCreationCopie(u,3):undefined,o}return __extends(u,r),u.prototype.viCreation=function(n){return n?this.__iAffectation(new i(this),n):new i(this)},u.prototype.viAffectation=function(n,t){return this.__iAffectation(n,t)},u.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){r.prototype.vxVerifieCompatibilitePassageParAdresse.call(this,n,t)},u.prototype.bSansEspace=function(){return!!(this.m_nOptions&1)},u.prototype.bSansCasse=function(){return!!(this.m_nOptions&16)},u.prototype.bAvecDoublon=function(){return!!(this.m_nOptions&1073741824)},u.prototype.iGetDescriptionTypeValeur=function(){return this.m_iDescriptionTypeValeur},u.prototype.iGetDescriptionTypeCle=function(){return this.m_iDescriptionTypeCle},u.prototype.__iAffectation=function(t,i){var r=this.__xiGetTableauAssociatif(i.m_oValeur),u=i.m_eAffectation;if(e(r))switch(u){default:case 0:case 2:case 4:return t.xCopieDepuis(r),t;case 1:case 3:return r}else switch(u){default:case 0:case 2:case 4:case 3:return t.xCopieDepuis(r),t;case 1:throw new n.CErreur(601);}},u.prototype.xVerifieCompatibilitePourCopie=function(t){if(e(t)){var i=t.m_iDescriptionType;if(this.m_iDescriptionTypeValeur.veGetTypeWL()!=i.m_iDescriptionTypeValeur.veGetTypeWL()&&this.m_iDescriptionTypeCle.veGetTypeWL()!=i.m_iDescriptionTypeCle.veGetTypeWL()&&this.m_nOptions!=i.m_nOptions)throw new n.CErreur(601);}},u.prototype.__xiGetTableauAssociatif=function(t){var e=n.NSValues.iAny2RValue(t),r=e.viGetAsTableauAssociatif(),i,u,f;if(r)return this.xVerifieCompatibilitePourCopie(r),r;if(i=e.viGetAsTableau(),i&&1===i.nGetNbDimensions()&&(u=i.viGetAsTableauType(),u&&(f=u.tabGetValeurs(),h(f))))return{nGetNbElements:function(){return i.nGetUneDimension(0)},iGetSousElementIndice:function(n,t){var i=f[n];return t&&(t.m_oCle=i[0]),new s(i[1])}};throw new n.CErreur(601);},u.prototype.iGetValeurParDefaut=function(){var t=this.m_iValeurDefaut;
4return undefined!==t?t.viGetDescriptionType().viCreationCopie(t,0):this.m_iDescriptionTypeValeur.viCreationInstance()},u}(t.CTDescriptionType);t.CDescriptionTableauAssociatif=o;var i=function(i){function e(n){var t=i.call(this,{},n)||this;return t.m_tabElements=[],t}return __extends(e,i),e.prototype.valueOf=function(){var t={},i=this.m_iDescriptionType.bAvecDoublon();return n.NSUtil.bForEachIn(this.m_tValeur,function(r,u){return u.forEach(function(r){var f=r.m_iValeur.valueOf(),u=String(r.m_iCle);i?(t.hasOwnProperty(u)||(t[u]=[]),t[u].push(f)):t[u]=f}),!0}),t},e.prototype.viGetSousElement=function(t,i){var e=i.length,u=t,o=this.oGetCle(i[u]),f;return u++,this.m_iDescriptionType.bAvecDoublon()&&u<e&&(f=n.NSUtil.nGetEntier(i[u])-1,u++),n.NSUtil.iChaineSousElement(new r(this,o,f),u,i)},e.prototype.viGetAsTableauAssociatif=function(){return this},e.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tabElements.length},null,8,0,t);default:return i.prototype._viGetProprieteVM.call(this,t)}},e.prototype.xCopieDepuis=function(n){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(n);f(n,this)},e.prototype.eTypeElement=function(){return this.m_iDescriptionType.iGetDescriptionTypeValeur().veGetTypeWL()},e.prototype.bAvecDoublon=function(){return this.m_iDescriptionType.bAvecDoublon()},e.prototype.eTypeCle=function(){return this.m_iDescriptionType.iGetDescriptionTypeCle().veGetTypeWL()},e.prototype.Inverse=function(){this.m_tabElements.reverse()},e.prototype.nSupprime=function(t){var s,e,f,o,i,h;return n.NSOperations.ms_oElementCourant===t?(s=n.NSOperations.iGetIterateur(this),s&&(e=s.viGetSousValue(),e&&(f=null,e instanceof u?f=e.m_oElement:e instanceof r&&(f=e.oGetElementDirect()),f&&(o=this.oGetCle(f.m_iCle),i=this.__tabGetDoublons(o),i))))?(n.NSUtil.SupprimeDansTableau(this.m_tabElements,f,!0),n.NSUtil.SupprimeDansTableau(i,f,!0),0==i.length&&delete this.m_tValeur[o.m_sCleFormat],s.vNotifieSuppressionCourant(),1):0:(o=this.oGetCle(t),i=this.__tabGetDoublons(o),undefined!==i)?(delete this.m_tValeur[o.m_sCleFormat],h=this.m_tabElements,i.forEach(function(t){n.NSUtil.SupprimeDansTableau(h,t,!0)}),i.length):0},e.prototype.SupprimeTout=function(){n.NSUtil.SupprimeToutMembres(this.m_tValeur);this.m_tabElements.length=0},e.prototype.Trie=function(i,r){var f=!!(i&32768),e=f?function(n){return n.m_iCle.valueOf()}:function(n){return n.m_iValeur.valueOf()},u=i&-32769,o=u&15,s=u&-16,h=t.pfGetTriComparaisonAvecOptions(o,s,function(n){return n},e);this.m_tabElements.sort(h)},e.prototype.nGetNbElements=function(){return this.m_tabElements.length},e.prototype.iGetSousElementIndice=function(n,t){var i=this.m_tabElements[n];return i&&t&&(t.m_oCle=i.m_iCle),new u(this,i)},e.prototype.nGetNbElementsCle=function(n){var t=this.__tabGetDoublons(n);return undefined!==t?t.length:0},e.prototype.oGetCle=function(t){var r=this.m_iDescriptionType,u=r.iGetDescriptionTypeCle().viCreationCopie(t,0),i=u.toString();return r.bSansEspace()&&(i=n.NSUtil.sRemplaceEspaces(i)),r.bSansCasse()&&(i=i.toLowerCase()),{m_iCle:u,m_sCleFormat:i}},e.prototype.oGetElement=function(t,i){var r,u;if(this.m_iDescriptionType.bAvecDoublon()){if(undefined===i)throw new n.CErreur(203);r=!0}else r=!1,i=0;return u=this.__oGetValeurIndiceComplet(t,i,r),u?u.m_iValeur:this.m_iDescriptionType.iGetValeurParDefaut()},e.prototype.oGetElementDirect=function(n,t){return this.__oGetValeurIndiceComplet(n,t||0,!1)},e.prototype.SetElementValeur=function(n,t){n.m_iValeur=this.m_iDescriptionType.iGetDescriptionTypeValeur().viAffectation(n.m_iValeur,t)},e.prototype.SetValeurCle=function(t,i,r){var o=this.m_iDescriptionType,s=o.bAvecDoublon(),u=this.__tabGetDoublons(t),e,f;if(s&&undefined!==i&&(undefined===u||undefined===u[i]))throw new n.CErreur(201);undefined===u&&(u=this.__tabCreeDoublons(t));s?e=i:0<u.length&&(e=0);undefined!==e?(f=u[0],f.m_iCle=t.m_iCle,this.SetElementValeur(f,r)):(f={m_iCle:t.m_iCle,m_iValeur:o.iGetDescriptionTypeValeur().viCreation(r)},u.push(f),this.m_tabElements.push(f))},e.prototype.__oGetValeurIndiceComplet=function(t,i,r){var u=this.__tabGetDoublons(t);if(undefined===u)if(r)throw new n.CErreur(201);else return null;else if(i<0||u.length<=i)if(r)throw new n.CErreur(202,u.length,i+1);else return null;else return u[i]},e.prototype.__tabGetDoublons=function(n){return this.m_tValeur[n.m_sCleFormat]},e.prototype.__tabCreeDoublons=function(n){var t=[];return this.m_tValeur[n.m_sCleFormat]=t,t},e}(t.CTType),r=function(t){function i(n,i,r){var u=t.call(this,n)||this;return u.m_oCle=i,u.m_nDoublon=r,u}return __extends(i,t),i.prototype.viGetRValue=function(){return this.m_tParent.oGetElement(this.m_oCle,this.m_nDoublon)},i.prototype.viGetPropriete=function(i,r){var f=this,u;if(n.NSProprietes.bEstProprieteVM(i,r)&&this.__bAvecPropriete()){u=function(){return f.m_tParent.
4nGetNbElementsCle(f.m_oCle)};switch(r){case 23:return n.NSUtil.oGetProprieteSimple(u,null,8,i,r);case 24:return n.NSUtil.oGetProprieteVide(this,0,23,r);case 43:return n.NSUtil.oGetProprieteSimple(function(){return 0<u()},null,1,i,r)}}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.vSetValeur2=function(n){this.m_tParent.SetValeurCle(this.m_oCle,this.m_nDoublon,n)},i.prototype.oGetElementDirect=function(){return this.m_tParent.oGetElementDirect(this.m_oCle,this.m_nDoublon)},i.prototype.__bAvecPropriete=function(){return undefined===this.m_nDoublon},i}(n.NSUtil.CTSousElementWrapper),u=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_oElement=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_oElement.m_iValeur},t.prototype.vSetValeur2=function(n){this.m_tParent.SetElementValeur(this.m_oElement,n)},t}(n.NSUtil.CTSousElementWrapper),s=function(t){function i(n){var i=t.call(this,null)||this;return i.m_oElement=n,i}return __extends(i,t),i.prototype.viGetRValue=function(){return n.NSValues.iAny2RValue(this.m_oElement)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationAucune(t)},i}(n.NSUtil.CTSousElementWrapper);t.TableauAssociatifCopie=f})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i){i===void 0&&(i=1);var r=n.iGetAsRValue(t,i);return undefined!==r?r:n.NSTypes.iNatif2RValue(t)}function u(t){var i=n.iGetAsRValue(t,1);return undefined!==i?i:t}function r(t){var i=n.iGetAsRValue(t,1);return undefined!==i?i.valueOf():n.NSUtil.bIsArray(t)&&t.some(function(t){return undefined!==n.iGetAsBase(t)})?t.map(r):t}function f(n){return n.map(function(n){return r(n)})}function e(t,r){var f=i(t,3),u,e;if(undefined!==f.voJSONDebogueurValeur)u=f.voJSONDebogueurValeur(r);else{e=i(t);try{u=n.NSUtil.xoEvalJSON(n.NSUtil.xsStringifyJSON(e,!1),!1)}catch(o){u=e.toJSON()}r?13===f.veGetTypeWL()?u=e.toString(16):"number"==typeof u?u=u.toString(16):"string"==typeof u&&(u=Array.prototype.map.call(u,function(t){return n.NSUtil.sCompleteEntier(t.charCodeAt(0),4,16)}).join(" ")):"string"==typeof u&&(u='"'+u+'"')}return{m_oType:f.voJSONDebogueurType?f.voJSONDebogueurType():{m_eTypeWL:f.veGetTypeWL()},m_oValeur:u}}function o(r,u){function f(t,i){return i.viCreation(n.iGetValeurInitiale(t,3))}var o=i(r),e=o.viGetAsValeurMultiple();return undefined!==e?new t.CValeursMultiples(e.tabGetValeurs().reduce(function(n,t,i){return i<u.length&&n.push(f(t,u[i])),n},[])):f(r,u[0])}t.iAny2RValue=i;t.oAny2RValue=u;t.oAny2Natif=r;t.tabAny2Natif=f;t.oAny2JSONDebogueur=e;t.oGetValeurRetour=o})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(n){var i=t.call(this)||this;return i.m_tabValeurs=n,i}return __extends(i,t),i.prototype.toString=function(){throw new n.CErreur(601);},i.prototype.vnToNumber=function(){throw new n.CErreur(601);},i.prototype.vbToBoolean=function(){throw new n.CErreur(601);},i.prototype.valueOf=function(){throw new n.CErreur(601);},i.prototype.toJSON=function(){throw new n.CErreur(601);},i.prototype.veGetTypeWL=function(){return 139},i.prototype.viGetAsValeurMultiple=function(){return this},i.prototype.tabGetValeurs=function(){return this.m_tabValeurs},i}(n.CIRValue);t.CValeursMultiples=i})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t,i){return n.viCreation(t,i)}function u(t,i){var r=0,u=n.iGetAsBase(t),f;return u?i&&(f=u.viGetAsLRValue(),f&&(r|=2)):r|=4,r}function i(t,i,r,u){return new f(t||n.NSTypes.iGetDescriptionDepuisValue(i?i.m_oValeur:undefined),i,r,u)}function s(t,r,u,f,e){var s=0,o=0,h,l;if(undefined!==u){if(h=n.iGetAsBase(u),undefined===h)u instanceof WDTypeAvance||t instanceof n.NSTypes.CTDescriptionDinoRebondFrameworkV1?o|=2:(o|=4,"object"==typeof u&&(o|=2,s=1));else if(!r){if(l=h.viGetAsLRValue(),l)return t&&t.vxVerifieCompatibilitePassageParAdresse(l,f),o|=2,new v(l,o,t);t?c(t)&&(s=1):y(h)&&(s=1)}}else if(e)u=e(),o|=1;else throw new n.CErreur(604,f);return i(t,n.iGetValeurInitiale(u,s),undefined,o)}function h(n){switch(n){case 37:return!0;default:return!1}}function c(n){return n.vbAttributInstanceParReference()&&h(n.veGetTypeWL())}function y(n){return h(n.viGetRValue(0).veGetTypeWL())}function p(t,r){return r===void 0&&(r=!1),i(null,n.iGetValeurInitiale(t,0),undefined,u(t,r))}function w(t,r,f,e){return i(t,n.iGetValeurInitiale(r,f),e,u(r,!1))}function b(n,t){return new f(n,undefined,undefined,t?8:0)}function l(t){var i=Array.prototype.map.call(t,function(n){return n});return n.NSUtil.tabMiseAPlatValeursMultiples(i)}
4var r=function(t){function i(n,i){var r=t.call(this)||this;return r.m_iValeur=n,r.m_nEtat=i,r.m_oIterateurPile=null,r}return __extends(i,t),i.prototype.viGetRValue=function(n){return this.m_iValeur.viGetRValue(n)},i.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 25:return n.NSUtil.oGetProprieteConstante(this._bGetDefaut(),1,t,i);case 27:case 44:return n.NSUtil.oGetProprieteConstante(this._bGetParAdresse(),1,t,i)}return this.m_iValeur.viGetPropriete(t,i)},i.prototype.IterationDebut=function(n){this.m_oIterateurPile={m_iIterateur:n,m_oPrecedent:this.m_oIterateurPile}},i.prototype.IterationFin=function(){this.m_oIterateurPile=this.m_oIterateurPile.m_oPrecedent},i.prototype.vbGetReporteServeur=function(){return this.__bGetOption(8)},i.prototype._bGetDefaut=function(){return this.__bGetOption(1)},i.prototype._bGetParAdresse=function(){return this.__bGetOption(2)},i.prototype._bGetNatif=function(){return this.__bGetOption(4)},i.prototype.__bGetOption=function(n){return!!(this.m_nEtat&n)},i.prototype._SetIterateurValeur=function(n,t){var i=this.m_oIterateurPile;i&&i.m_iIterateur.vSetValeurDepuisVariable(this.m_iValeur,n,t)},i}(n.NSUtil.CWrapperValue),f=function(t){function i(n,i,r,u){var f=t.call(this,a(n,i,r),u)||this;return f.m_iDescriptionType=n,f}return __extends(i,t),i.prototype.veGetTypeWL=function(){var n=this.m_iDescriptionType;return n?n.veGetTypeWL():t.prototype.veGetTypeWL.call(this)},i.prototype.vSetValeur2=function(t){var r=t.m_eAffectation,u=t.m_iOptions,i=n.NSUtil.oCloneSimple(u);i.m_bNatif=this._bGetNatif();i.m_bAvecErreur=!0;this.m_iValeur=this.m_iDescriptionType.viAffectation(this.m_iValeur,n.iGetValeurAffectation(t.m_oValeur,r,i));this._SetIterateurValeur(r,u)},i.prototype.Reinitialisation=function(t,i,r){this.m_iValeur=this.m_iDescriptionType.viCreation(n.iGetValeurInitiale(t,i),r);this._SetIterateurValeur(0,{})},i}(r),v=function(t){function i(n,i,r){var u=t.call(this,n,i)||this;return u.m_iDescriptionType=r,u}return __extends(i,t),i.prototype.viGetMembre2=function(i,r,u,f){var e,o;return null!==this.m_iDescriptionType&&c(this.m_iDescriptionType)&&(e=n.NSTypes.iGetThis(this),null!==e&&(o=this.m_iDescriptionType.viGetDescriptionTypeReel(),o.vbStatique()))?e.iGetThisCompatible(o).viGetMembre2(i,r,u,f):t.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.vSetValeur2=function(n){this.m_iValeur.vSetValeur2(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)},i}(r),e=function(t){function i(i,r){var u=t.call(this,function(){return r?i?i.viCreation(n.iGetValeurInitiale(r,0)):n.NSTypes.iAny2RValueTypeCopie(r):(i||n.NSTypes.ms_DescriptionI4).viCreation()}(),0)||this;return u.m_iDescriptionType=i,u}return __extends(i,t),i.prototype.vSetValeur2=function(n){this.m_iValeur=this.__oGetValeurPourSet(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)},i.prototype.__oGetValeurPourSet=function(t){var r,u,f,i,e;if(t.m_iOptions.m_bAffectationDepuisIterateur){if(r=t.m_oValeur,u=t.m_eAffectation,3==u&&(f=n.iGetAsRValue(r,1),f&&(i=f.viGetAsRValueType(),i)))if(this.m_iDescriptionType){if(i.viGetDescriptionType()==this.m_iDescriptionType)return i}else return i;return e=this.m_iDescriptionType||n.NSTypes.iGetDescriptionDepuisValue(r),e.viCreation(t)}return this.m_iValeur.viGetDescriptionType().viAffectation(this.m_iValeur,t)},i.prototype.CorrigeType=function(t){this.m_iDescriptionType=t||n.NSTypes.ms_DescriptionI4;this.m_iValeur=this.m_iDescriptionType.viCreation()},i}(r),o;t.CVariablePourIterateur=e;o=function(){function r(n,t){this.m_nNbParametresNommes=n;this.m_nNbParametresAutres=t;this.m_tabVariables=[];this.m_tabParametresNonNommes=[];this.m_bVariadique=!1;this.m_nNbParametresObligatoire=0;this.m_tabValeursRestantes=[];this.m_nNbParametresLutDepuisValeursMultiples=0}return r.prototype.SetVariadique=function(){this.m_bVariadique=!0},r.prototype.xVerifieParametres=function(t){if(t+=this.m_nNbParametresLutDepuisValeursMultiples,t<this.m_nNbParametresObligatoire||this.m_nNbParametresNommes<t&&!this.m_bVariadique)if(this.m_nNbParametresObligatoire==this.m_nNbParametresNommes)throw new n.CErreur(613,this.m_nNbParametresObligatoire,t);else throw new n.CErreur(613,this.m_nNbParametresObligatoire,this.m_nNbParametresNommes,t);},r.prototype.xDeclareParametre=function(t,i,r,u){var f,e;undefined===u&&this.m_nNbParametresObligatoire++;f=n.NSUtil.tabMiseAPlatValeursMultiples([r]);this.m_nNbParametresLutDepuisValeursMultiples+=f.length-1;this.m_tabValeursRestantes=this.m_tabValeursRestantes.concat(f);e=this.m_tabValeursRestantes.shift();this.m_tabVariables.push(s(t,i,e,this.m_tabVariables.length+1,u))},r.prototype.DeclareVariable=function(t,r,f,e,o){var s=this.m_tabVariables[t];s?s.Reinitialisation(f,e,o):this.m_tabVariables[t]=i(r,n.iGetValeurInitiale(f,e),o,u(f,!1))},r.prototype.iVariablePourIterateur=function(n,t){return new e(n,t)},r.prototype.oGetVariable=function(t){var i=this.m_tabVariables[t];if(i)return this.m_tabVariables[t];throw new n.CErreur(605,0);},r.prototype.iGetPropriete=function(t,i){var r=l(i).length-this.m_nNbParametresAutres;switch(t){case 23:return n.NSUtil.oGetProprieteConstante(Math.max(this.m_nNbParametresNommes,r),8,0,t);case 26:return n.NSUtil.oGetProprieteConstante(r,8,0,t);default:n.xThrow603(0,t)}},r.prototype.xoGetParametre=function(i,r,u,f){function c(t,i){return n.NSUtil.xnGetIndiceC(t,h,i,NaN,!0)}var w=this,e,o,y,p,v;var b=l(f),a=this.m_nNbParametresNommes,k=this.m_nNbParametresAutres,d=b.length-k,h=Math.max(a,d);switch(i){default:case 0:e=0;o=h;break;case 6:e=a;o=h;break;case 7:throw new n.CErreur(602,"[[ ]]");case 1:e=c(r,0);o=e+1;break;case 2:e=c(r,2);o=h;break;case 3:e=0;o=Math.min(h,c(r,2)+1);break;case 4:e=c(r,2);o=Math.min(h,e+n.NSUtil.nGetEntier(u,NaN));break;case 5:e=c(r,2);o=Math.min(h,c(u,2)+1)}if(isNaN(o)||h<o)throw new n.CErreur(612,o,h);if(y=function(n){if(n<a)return w.m_tabVariables[n];var t=n-a,i=w.m_tabParametresNonNommes,r=b[n+k];return i[t]||(i[t]=s(null,!1,r,n+1,undefined))},e+1==o)return y(e);for(p=[],v=e;v<o;v++)p.push(y(v));return new t.CValeursMultiples(p)},r}();t.CVariablesLocales=o;t.iNatif2Value=p;t.iAllocationVariable=w;t.iAllocationVariableServeur=b})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(t,i,r){var e=f(i,r),u;if(e&&(u=e[t],u))return u;throw new n.CErreur(605,t);}function s(i,r,u){var f=e(i,r);u.forEach(function(i){var r=i[0];r in f||(f[i[0]]=t.iAllocationVariable(i[1],i[2],0,n.NSTypes.ms_pfSansAppelConstructeur))})}function h(t,i,r,u){n.NSUtil.bForEachIn(u,function(n,u){var f=e(n,i);return f[t]=l(r,u),!0})}function c(){function t(t,i){n.NSUtil.bForEachIn(t,function(t,r){return n.NSUtil.bForEachIn(r,function(r,u){return u.vbGetReporteServeur()&&n.NSChamps.ms_oSynchronisationServeur.SetVariable(t,i,r,n.NSOperations.VariantVersJSON(u)),!0})})}t(i,0);t(r,1)}function u(n){switch(n){case 0:return i;case 1:return r}}function f(n,t){return u(t)[n]}function e(n,t){var i=f(n,t);return i?i:(i={},u(t)[n]=i,i)}function l(i,r){var u=t.iAllocationVariableServeur(i,r.m_bSynchronise||!1),f=r.m_sJSON;if(f)try{n.NSOperations.Deserialise(u,f,1024)}catch(e){}return u}var i={},r={};t.xiGetVariable=o;t.DeclareVariables=s;t.DeclareVariableServeur=h;t.ReporteVariableServeur=c})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function v(t){var u=n.NSTypes.iGetAsDino(t,70,39),i;if(u)return i=u.vtGetValeurDirect(),i?n.NSUtil.oCloneSimple(i):{};r()}function y(){return n.NSTypes.oGetDescriptionDINO(70,39).m_oDescriptionDynamique}function p(t){return t instanceof clWDUtil.WDDinoCouleur?n.NSTypes.oCreeDinoCouleur(t):t}function st(n){return n instanceof u||"voGetHTMLElement"in n}function k(n,t,i){undefined!==i?n.setAttribute(t,i):n.removeAttribute(t)}function g(n,i,r){function e(n){switch(typeof n){case"undefined":return undefined;case"string":return{m_sAliasTableZR:n};default:return n}}var u={m_sAlias:n,m_eIDObjet:i,m_oInformations:e(r)},f;switch(i){case 2:return new t.CChampSaisie(u);case 4:return new t.CChampBouton(u);case 5:return new t.CChampInterrupteur(u);case 6:return new t.CChampSelecteur(u);case 7:return new t.CChampListe(u);case 8:return new t.CChampImage(u);case 9:case 11:case 35:return new t.CChampTable(u);case 10:return new t.CChampFormate(u);case 14:return new t.CChampListe(u);case 16:return new t.CChampLien(u);case 20:case 27:return new t.CChampIFrame(u);case 22:case 91:return new t.CChampImage(u);case 23:case 45:return new t.CChampSiteMapXxx(u);case 25:return new t.CChampArbre(u);case 26:return new t.CChampVignette(u);case 33:return new t.CChampGraphe(u);case 41:return new t.CAttributZoneRepetee(u);case 44:return new t.CChampOnglet(u);case 55:case 57:case 105:return new t.COptionMenu(n,i);case 56:case 68:return new t.CColonneTable(n,i,u.m_oInformations);case 72:return new t.CChampRangeSlider(u);case 76:case 80:case 92:return new t.CChampRebondFrameworkV1SansType(u);case 79:return new t.CChampAutour(u,function(n){return n?n.firstElementChild:null});case 83:return new t.CChampJauge(u);case 85:return new t.CChampRating(u);case 90:return new t.CChampPopup(u);case 100:return new t.CChampPotentiometre(u);case 122:return new t.CBandeauDefilant(u);case 126:return new t.CChampDisposition(u);case 132:return new t.CChampInterrupteurABascule(u);case 140:return new t.CChampKanban(u);case 142:f=t.oGetListeKanban(u)}return f||new t.CChampSimpleSansType(u)}function ht(n){return i.oGetChampSansCreation(n)}function s(n,t,r){return i.oGetObjet(n,t,r)}function ct(n,t){return i.oGetObjetInformationsPartielles(n,t)}function lt(){i.DeclareChampInit()}function at(n){i.DeclareChampPlanDiffere(n)}function h(n,t,r){return r===void 0&&(r=null),i.AppelMethodePtr(n,t,r)}function vt(n,t){n.vOnTableZRAfficheAJAX(t[0])}function yt(n,t){n.vOnDisplay(t[0],t[1])}function nt(n,t){n.vOnScroll(t[0])}function tt(t,i){n.NSUtil.bDansPlanMasque(t.voGetChampFormulaire())||t.vOnResize(i[0])}function pt(n,t){n.vOnChangementTranche(t[0],t[1])}function wt(n){return n.viGetAsGraphe()}function bt(n){return n.viGetAsParametres()}function kt(n){return n.viGetAsCalendrier()}function dt(n){return n.viGetAsCornage()}function gt(n){return n.viGetAsJauge()}function ni(n,t){return i.iGetInterfaceChamp(n,t)}function rt(t){var i=t.name,r,u;""!==i&&("zrl_"===i.substring(0,4)&&(r=i.indexOf("_",4),-1!==r&&"ATT_"===i.substr(r+1,4)&&"_1"===i.substr(i.length-2)?i=i.substring(r+5,i.length-2):(u=n.NSUtil.tabGetClassesHTML(t),"SAI"===u[0]&&(i=u[1]))),ut(i))}function ut(i){t.ms_oSynchronisationServeur.SetChampModifie(i);n.NSUtil.pfGetTraitement(i,21)()}function r(){throw new n.CErreur(601);}var l="_",ft="_HTE",et=[,,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],ot=[-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,-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],u=function(i){function r(n,t){var r=i.call(this)||this;return r.m_sAlias=n,r.m_eIDObjet=t,r}return __extends(r,i),r.prototype.viGetIntervalle=function(n,t,i){return this.viGetRValue(1).viGetIntervalle(n,t,i)},r.prototype.viGetRValue=function(n){switch(n){case 0:case 7:return this;default:return this._iGetProprieteValeur().viGetRValue(n)}},r.prototype.viGetMembre2=function(t,r,u,f){var e,o;f===void 0&&(f=0);switch(f){case 0:case 3:if(e=n.NSUtil.pfGetTraitementDirect(this.sGetAlias(),[t,r]),undefined!==e)return o=new n.NSTypes.CFonctionMembre,o.vSetValeurDirect(n.NSTypes.oConstruitProcedure(e)),o}return i.prototype.viGetMembre2.call(this,t,r,u,f)},r.prototype.viGetPropriete=function(r,u){var f=this,e;if(n.NSProprietes.bEstProprieteJS(r,u)){switch(u){case 5:return n.NSUtil.oGetProprieteConstante(this.vsGetAliasHTML(),16,r,u);case 26:return t.oGetProprieteSecurise(this,8,12,r,u,0,null,function(n){return f.vSetProprieteEtat(n)},n.NSUtil.nGetEntier,function(n){switch(n){case 0:case 1:case 4:case 5:return!0;default:return!1}});case 27:return this.__iGetProprieteEnSaisieGrise(1,0,4,u);case 28:return this.__iGetProprieteEnSaisieGrise(0,4,1,u);case 31:return t.oGetProprieteSecurise(this,8,118,r,u,1,null,function(n,t){return t===void 0&&(t={}),f._vSetProprietePlan(n,t)},n.NSUtil.nGetEntier,function(n){return 0<n&&n<100});case 32:return n.NSUtil.oGetProprieteSimple(function(){return f.viGetJQuery().wbTauxParallaxeYGet()},function(t){return f.viGetJQuery().wbTauxParallaxeYSet(n.NSUtil.dGetReel(t,0))},8,r,u);case 33:return n.NSUtil.oGetProprieteSimple(function(){return f.viGetJQuery().wbTauxParallaxeHauteurGet()},function(t){return f.viGetJQuery().wbTauxParallaxeHauteurSet(n.NSUtil.dGetReel(t,0))},8,r,u);case 34:return function(){var e=f.vsGetAliasHTML(),o=document.getElementsByClassName(e),i;return(o.length?(i=o[0],i.id&&(i=n.NSUtil.oValideArborescenceFilsUnique(i,["table","tbody","tr","td"]),i&&""===i.style.backgroundImage&&(i=null))):i=document.getElementById(e),i)?t.oGetProprieteImageFond(i):n.NSUtil.oGetProprieteNeFaitRien("",16,r,u)}();case 35:return n.NSUtil.oGetProprieteManipuleSousElement(function(){return f._vGetProprieteBulle()},function(n){return f._vSetProprieteBulle(String(n.m_oValeur))},this,n.NSTypes.ms_DescriptionChaine,1,35);case 37:return n.NSUtil.oGetProprieteConstante(et[this.m_eIDObjet]||this.m_eIDObjet,8,r,u);case 39:return t.oGetProprieteSecurise(this,16,4,r,u,"",null,null,String,null);case 40:return t.oGetProprieteSecurise(this,16,27,r,u,"",null,null,String,null);case 41:return t.oGetProprieteSecuriseLecture(this,16,30,r,u,"",null);case 42:return t.oGetProprieteSecuriseLecture(this,8,124,r,u,0,null);case 43:return t.oGetProprieteSecuriseLecture(this,16,16,r,u,"",null);case 44:return t.oGetProprieteSecuriseLecture(this,1,125,r,u,!0,null);case 45:return t.oGetProprieteXYInitial(this,126,u);case 46:return t.oGetProprieteXYInitial(this,127,u);case 47:return t.oGetProprieteSecuriseLecture(this,8,100,r,u,0,null);case 48:return t.oGetProprieteTexteAlternatif(this);case 49:return n.NSUtil.oGetProprieteVide(this,1,4,u);case 57:case 58:return this._xiGetProprieteLibelle(this._voGetHTMLElementPourLibelle(),u);case 59:return this.viGetPropriete(1,57);case 64:return t.oGetProprieteElement(function(n){return n.wbGetJetonSaisieEncours()},function(t,i){var r=String(i);if(-1!==r.indexOf("\r")||-1!==r.indexOf("\n"))throw new n.CErreur(1e3);if(!t.wbSetJetonSaisieEncours(r))throw new n.CErreur(1001,f.sGetAlias());},16,r,u,function(){return f.iGetWBJeton()});case 65:return n.NSUtil.oGetProprieteSimple(function(){return new a(t.xGetElementPourPropriete(f.iGetWBJeton(),r,u))},null,undefined,r,u);case 70:return this._iGetProprieteAttributHTML(this.oGetHTMLElement())}if(e=this._iGetProprieteFrameworkV1(u,null,undefined),e)return e}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetSousElement=function(n,i){return this._iGetSousElementHTML(n,i,t.CSousChamp,!0)},r.prototype.viGetAsInterfacePossible=function(){return this},r.prototype.vSetValeur2=function(n){this._iGetProprieteValeur().vSetValeur2(n)},r.prototype.viGetChamp=function(n,t,i){return s(n,t,i)},r.prototype.xviGetGroupe=function(n){return t.xoGetGroupe(n)},r.prototype.xviGetVariable=function(t,i,r){return n.NSValues.xiGetVariable(t,i,r)},r.prototype.viGetProcedure=function(t,i){return n.NSUtil.pfGetProcedure(this.sGetAlias(),t,i)},r.prototype.vxiVerifieInterface=function(t){var i=this;return t.m_tabDefinitionsMethodes.bForEach(function(r){if(undefined!==n.NSUtil.pfGetTraitementDirect(i.sGetAlias(),[r.m_sNomUtilisateur,r.m_sNomStandard]))return!0;throw new n.CErreur(1002,i.sGetAlias(),r.m_sNomUtilisateur,t.m_sNomUtilisateur);}),t.m_tabDefinitionsProprietes.bForEach(function(r){throw new n.CErreur(1003,i.sGetAlias(),r.m_sNomUtilisateur,t.m_sNomUtilisateur);}),this},r.prototype.voGetValeurPourInterface=function(){return this.valueOf()},r.prototype.sGetAlias=function(){return this.m_sAlias},r.prototype.vsGetAliasHTML=function(){return this.sGetAlias()},r.prototype._RecuperePCode=function(t,i){return i===void 0&&(i=n.NSUtil.Vide),n.NSUtil.pfGetTraitement(this
4.sGetAlias(),t,i)},r.prototype._iGetProprieteValeur=function(){return this.viGetPropriete(1,1)},r.prototype.viGetJQuery=function(){return $(this.oGetHTMLElement())},r.prototype.oGetHTMLElement=function(){return this.oGetHTMLElementHote()||this.voGetHTMLElement()},r.prototype.voGetHTMLElement=function(){return n.NSUtil.GetElementParIdName(this.vsGetAliasHTML(),document)},r.prototype.oGetHTMLElementHote=function(){return document.getElementById(this.vsGetAliasHTML()+ft)},r.prototype.oGetHTMLElementLibelle=function(){return document.getElementById("lz"+this.vsGetAliasHTML())},r.prototype.voCorrigeHTMLElement=function(n){return n},r.prototype._oCorrigeHTMLElement=function(n){return this.voCorrigeHTMLElement(this.voGetHTMLElement(),n)},r.prototype._xiGetProprieteLibelle=function(i,r){var u=58===r;return t.oGetProprieteElement(function(n){return u?n.innerHTML:n.innerText},function(t,i){t.innerHTML=n.NSUtil.sEncodeInnerHTML(String(i),!u,u)},16,1,r,function(){return i})},r.prototype._voGetHTMLElementPourLibelle=function(){var r=this.vsGetAliasHTML(),u=document.getElementById("lz"+r),i=n.NSUtil.GetElementParId(r,document,!1,!0),f=this.voGetHTMLElement(),t=u||f;switch(this.m_eIDObjet){case 3:case 17:case 109:return n.NSAjax.oSauteTableCadrage(t);case 16:if(i?t=i:n.NSUtil.bNodeEstType(t,"a")||(t=null),t)while(t&&!n.NSUtil.bNodeEstType(t,"a"))t=t.firstElementChild;break;case 9:case 35:return u||i}return t},r.prototype._iGetProprieteFrameworkV1=function(i,r,u){var f=this._pfGetGetSet(!0,i),e=this._pfGetGetSet(!1,i);return f||e?t.oGetProprieteCatch(f?function(){return r&&r(),p(f())}:null,e?function(t){return e(n.NSValues.oAny2Natif(t))}:null,u,i):null},r.prototype._vSetProprietePlan=function(n,t){this.viGetJQuery().wbPlanSet(n,t)},r.prototype.vSetProprieteEtat=function(n){this._SetProprieteEtat(n,this.voGetHTMLElement(),this.oGetHTMLElementHote(),this.oGetHTMLElementLibelle(),!1)},r.prototype._SetProprieteEtat=function(t,i,r,u,f){var e=t===4,o=e,s=t===1||e;i&&(undefined!==i.readOnly?i.readOnly=s:(o=o||s,f&&k(i,"READONLY",s?"":undefined)),undefined!==i.disabled?i.disabled=o:f&&k(i,"DISABLED",e?"":undefined));[r||i,u].forEach(function(t){t&&n.NSUtil.bAvecClasse(t,"wbstyle")&&n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",e)})},r.prototype._SetEtatSousElement=function(t,i,r,u){var f=r===4,e=r===1||f,o="data-"+i,s=e?i:o,c=e?o:i,h=t.getAttribute(s);null!==h&&(t.setAttribute(c,h),t.removeAttribute(s));u&&n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",f)},r.prototype._vGetProprieteBulle=function(){var i=this.oGetHTMLElement(),t=$(i).wbGetBulle();return undefined!==t?n.NSTypes.iNatif2RValue(t,n.NSTypes.ms_DescriptionChaine):null},r.prototype._vSetProprieteBulle=function(n){this._SetProprieteBulle(n,this.oGetHTMLElement())},r.prototype._SetProprieteBulle=function(n,t){t&&(t.title=n)},r.prototype._iGetSousElementHTML=function(i,r,u,f){var e=n.NSUtil.nGetEntier(r[i]),o=ot[this.m_eIDObjet],h=document.getElementById(this.vsGetAliasHTML()+"_"+e),s;return s=h?new u(this,e,o,f):new t.CSousChamp(this,e,o,f),n.NSUtil.iChaineSousElement(s,i+1,r)},r.prototype._pfGetGetSet=function(n,t,i,r){function e(r){return window[(n?"_GET_":"_SET_")+r+"_"+t+(i?"_I":"")]}var u,f;return i===void 0&&(i=!1),r===void 0&&(r=this.sGetAlias()),u=e(r),undefined===u&&(f=clWDUtil.sGetAliasDeEffectif(r),f!==r&&(u=e(f))),u},r.prototype.iGetWBJeton=function(){return n.NSOperations.iGetWBJeton(this.voGetHTMLElement())},r.prototype.__iGetProprieteEnSaisieGrise=function(t,i,r,u){var f=this.viGetPropriete(1,26);return new n.NSUtil.CPropriete(function(){return n.NSTypes.iNatif2RValue(i===f.valueOf())},function(u){var e=n.NSUtil.bGetBooleen(u.m_oValeur);r!==f.valueOf()&&f.vSetValeur(e?i:t,u.m_eAffectation,u.m_iOptions)},undefined,1,1,u)},r.prototype._iGetProprieteAttributHTML=function(t){if(t)return new w(t);n.xThrow603(1,70)},r.prototype.iGetProcedure=function(t){for(var r,u=t.length,f=this.sGetAlias(),i=0;i<u;i++)if(r=n.NSUtil.pfGetTraitementDirect(f,t[i]),undefined!==r)return r;return n.NSUtil.Vide},r}(n.NSUtil.CWrapperValue),a,w,b,f,e,o,d,i,it,c;t.CObjet=u;a=function(n){function t(t){var i=n.call(this)||this;return i.m_iWBJeton=t,i}return __extends(t,n),t.prototype.valueOf=function(){for(var t=[],n=0;n<this.m_iWBJeton.wbJetonOccurrence();n++)t.push(this.m_iWBJeton.wbGetDinoJeton(n+1));return t},t.prototype.viGetMembre2=function(t,i,r,u){switch(i){case"JETON":case"TOKEN":return this;default:return n.prototype.viGetMembre2.call(this,t,i,r,u)}},t.prototype.veGetTypeWL=function(){return 111},t.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_eComposante:70,m_eDino:40}}
4,t.prototype.nAjouteLigne=function(n){var t=this.m_iWBJeton.wbJetonAjoute(v(n[0]));return!1===t?0:t},t.prototype.DeplaceLigne=function(n,t){var i=this.m_iWBJeton.wbGetDinoJeton(n+1);this.m_iWBJeton.wbJetonSupprime(n+1);this.m_iWBJeton.wbJetonInsere(t+1,i)},t.prototype.Echange=function(n,t){var i=this.m_iWBJeton.wbGetDinoJeton(n+1),r=this.m_iWBJeton.wbGetDinoJeton(t+1);this.m_iWBJeton.wbJetonSupprime(n+1);this.m_iWBJeton.wbJetonInsere(n+1,r);this.m_iWBJeton.wbJetonSupprime(t+1);this.m_iWBJeton.wbJetonInsere(t+1,i)},t.prototype.eTypeElement=function(){return 111},t.prototype.Insere=function(n,t){this.m_iWBJeton.wbJetonInsere(n+1,v(t))},t.prototype.nGetNbElements=function(){return this.m_iWBJeton.wbJetonOccurrence()},t.prototype.iGetSousElementIndice=function(n){var t=y().viCreationInstance();return t.vSetValeurDirect(this.m_iWBJeton.wbGetDinoJeton(n+1)),t},t.prototype.iGetDescriptionElement=function(){return y()},t.prototype.nSupprime=function(n){return this.m_iWBJeton.wbJetonSupprime(n+1),1},t.prototype.SupprimeTout=function(){this.m_iWBJeton.wbJetonSupprimeTout()},t}(n.NSUtil.CCollection);w=function(t){function i(n){var i=t.call(this)||this;return i.m_oHTMLElement=n,i}return __extends(i,t),i.prototype.valueOf=function(){n.xThrow603(1,70)},i.prototype.viGetMembre2=function(){n.xThrow603(1,70)},i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteVM(i,r))switch(r){case 23:return n.NSUtil.oGetProprieteSimple(function(){return u.nGetNbElements()},null,8,i,r);case 24:return n.NSUtil.oGetProprieteVide(this,0,23,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetSousElement=function(t,i){var r=this.oGetCle(i[t]).m_sCleFormat;return n.NSUtil.iChaineSousElement(new b(this,r),t+1,i)},i.prototype.veGetTypeWL=function(){return 112},i.prototype.viGetAsTableauAssociatif=function(){return this},i.prototype.vSetValeur2=function(t){return n.NSUtil.xVerifieAffectationAucune(t)},i.prototype.xCopieDepuis=function(){r()},i.prototype.eTypeElement=function(){return 16},i.prototype.bAvecDoublon=function(){return!1},i.prototype.eTypeCle=function(){return 16},i.prototype.Inverse=function(){r()},i.prototype.nSupprime=function(t){var i=this.oGetCle(t).m_sCleFormat,u=this.__tabGetNomAttributsU(),r;return(n.NSUtil.SupprimeDansTableau(u,i,!0)&&this.__SetNomAttributsU(u),r=this.m_oHTMLElement,r.hasAttribute(i))?(r.removeAttribute(i),1):0},i.prototype.SupprimeTout=function(){var n=this;this.__tabGetNomAttributsU().forEach(function(t){n.nSupprime(t)})},i.prototype.Trie=function(){r()},i.prototype.nGetNbElements=function(){return this.__tabGetNomAttributs().length},i.prototype.iGetSousElementIndice=function(t){var i=this.__tabGetNomAttributs();if(t<i.length)return this.viGetSousElement(0,[i[t]]);throw new n.CErreur(605,t+1);},i.prototype.nGetNbElementsCle=function(t){return n.NSUtil.bDansTableau(this.__tabGetNomAttributs(),t.m_sCleFormat,!0)?1:0},i.prototype.oGetCle=function(t){var i=String(t);if(""===i||i.startsWith("xml")||-1!==i.indexOf(":"))throw new n.CErreur(204);return{m_iCle:n.NSTypes.ms_DescriptionChaine.viCreationCopie(i.toLowerCase(),0),m_sCleFormat:i}},i.prototype.bExiste=function(n){return this.m_oHTMLElement.hasAttribute(n)},i.prototype.sGetValeur=function(n){var t=this.m_oHTMLElement.getAttribute(n);return null!==t?t:""},i.prototype.SetValeur=function(t,i){var r=this.__tabGetNomAttributsU(),f=!this.bExiste(t)&&n.NSUtil.bDansTableau(r,t,!0),u=n.iGetAsBase(i),e=null===(u?u.valueOf():i);this.m_oHTMLElement.setAttribute(t,e?"":String(i));f&&this.__SetNomAttributsU(r.concat(t))},i.prototype.__tabGetNomAttributs=function(){return Array.prototype.map.call(this.m_oHTMLElement.attributes,function(n){return n.name})},i.prototype.__tabGetNomAttributsU=function(){var t=this.m_oHTMLElement.getAttribute(n.NSAjax.ms_DataWBAttributHTML);return null!==t?t.split(n.NSAjax.ms_sDataWBAttributHTMLSeparateur):[]},i.prototype.__SetNomAttributsU=function(t){this.m_oHTMLElement.setAttribute(n.NSAjax.ms_DataWBAttributHTML,t.join(n.NSAjax.ms_sDataWBAttributHTMLSeparateur))},i}(n.CIValue);b=function(t){function i(n,i){var r=t.call(this)||this;return r.m_oCollection=n,r.m_sNom=i,r}return __extends(i,t),i.prototype.viGetRValue=function(t){switch(t){default:return this;case 1:case 5:return n.NSTypes.ms_DescriptionChaine.viCreationCopie(this.vsGetChaine(),0)}},i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteVM(i,r))switch(r){case 24:return n.NSUtil.oGetProprieteSimple(function(){return!u.m_oCollection.bExiste(u.m_sNom)},null,1,i,r);case 43:return n.NSUtil.oGetProprieteSimple(function(){return u.m_oCollection.bExiste(u.m_sNom)},null,1,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetIntervalle=function(t,i,r){return new n.NSTypes.CIntervalleChaine(this,t,i,r)},i.prototype.veGetTypeWL=function(){return 16},i.prototype.vSetValeur2=function(n){this.m_oCollection.SetValeur(this.m_sNom,n.m_oValeur)},i.prototype.vsGetChaine=function(){return this.m_oCollection.sGetValeur(this.m_sNom)},i.prototype.xvSetChaine=function(n){this.m_oCollection.SetValeur(this.m_sNom,n)},i}(n.NSUtil.CWrapperValue);t.bIsCObjet=st;f=function(){function n(n){this.m_sAliasTableZRParent=n}return n.prototype.oGetTableZRParent=function(){var n=i.oGetObjetInformationsPartielles(this.m_sAliasTableZRParent,9);return n instanceof t.CChampTable?n:null},n.prototype.sGetTableZRValeur=function(){return this.__oGetChampFormulaire().value},n.prototype.nGetTableZRValeur=function(){return parseInt(this.sGetTableZRValeur(),10)},n.prototype.PourToutesLignesTableZR=function(n,t){for(var r=this.nGetTableZRDebut(),u=r+this.__nGetTableZROccurrence(),i=r;i<u;i++)n(this,i,t)},n.prototype.nGetTableZRDebut=function(){return parseInt(this.__oGetChampFormulaire("_DEB").value,10)},n.prototype.__nGetTableZROccurrence=function(){var n=this.__tabGetChampsFormulaires("_","_OCC");return 0===n.length&&(n=this.__tabGetChampsFormulaires("","_OCC")),0<n.length?parseInt(n[0].value,10):0},n.prototype.sSetTableZRValeurDirectTempDebut=function(n){if(undefined!==n){var t=this.sGetTableZRValeur();if(undefined!==t&&t!==String(n))return this.__SetTableZRValeur(null,t,!0),t}return undefined},n.prototype.SetTableZRValeurDirectTempFin=function(n){this.__SetTableZRValeur(null,n,!0)},n.prototype.__SetTableZRValeur=function(n,t,i){!i;this.__oGetChampFormulaire().value=String(t)},n.prototype.__oGetChampFormulaire=function(n){return n===void 0&&(n=""),this.__tabGetChampsFormulaires("",n)[0]},n.prototype.__tabGetChampsFormulaires=function(n,t){return document.getElementsByName(n+this.m_sAliasTableZRParent+t)},n}();t.CTableZRParent=f;e=function(i){function r(n){var t=this,r;return t=i.call(this,n.m_sAlias,n.m_eIDObjet)||this,t.m_tabChampsFils=new o,t.m_oChampFormulaire=null,t.m_eValide=0,t.m_bChampDansHTML=!0,t.m_bDansPlanAffiche=!0,t.m_tabTimers={},t.m_oTableZRParent=((r=n.m_oInformations)===null||r===void 0?void 0:r.m_sAliasTableZR)?new f(n.m_oInformations.m_sAliasTableZR):null,t}return __extends(r,i),r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.vSetProprieteEtat=function(n){var f=this,r,u;i.prototype.vSetProprieteEtat.call(this,n);r=this.m_oTableZRParent;r&&(u=r.oGetTableZRParent(),u&&r.PourToutesLignesTableZR(function(i,r){new t.CChampCelluleDeTable(u,f,u.iGetAsChampTableZRNavigateurFrameworkV1(),r).vSetProprieteEtat(n)}))},r.prototype.vInit=function(){this._vInitInitiale();this.m_eValide=1;this._vLiaisonHTML()},r.prototype._vInitInitiale=function(){n.NSUtil.AttacheOnScrollResize(r.__s_OnScrollResize);r.prototype._vInitInitiale=n.NSUtil.Vide},r.prototype._vLiaisonHTML=function(n){var t=document.getElementsByName(this._sGetNomElement(n))[0];t&&(this.m_oChampFormulaire=t)},r.prototype.vOnTableZRAfficheAJAX=function(n){var t=this.m_oTableZRParent;t&&t.m_sAliasTableZRParent===n&&this._vOnTableZRAfficheAJAXInterne()},r.prototype._vOnTableZRAfficheAJAXInterne=function(){},r.prototype.vOnDisplay=function(){},r.prototype.vOnScroll=function(){},r.prototype.vOnResize=function(){},r.prototype.vOnChangementTranche=function(){},r.prototype.vPreAffecteHTML=function(){},r.prototype.vPostAffecteHTML=function(){},r.prototype.vOnSubmit=function(n){return this._RecuperePCode(18)(n)},r.prototype.viGetAsGraphe=function(){return null},r.prototype.viGetAsParametres=function(){return null},r.prototype.viGetAsCalendrier=function(){return null},r.prototype.viGetAsCornage=function(){return null},r.prototype.viGetAsJauge=function(){return null},r.__s_OnScrollResize=function(n,t){t?h(nt,[n]):h(tt,[n])},r.prototype._iGetProprieteValeur=function(){return this.viGetPropriete(1,1)},r.prototype._nSetTimeout=function(t,i){for(var f=this,u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];return n.NSUtil.nSetTimeout(function(){t.apply(f,u)},i)},r.prototype._SetInterval=function(n,t,i){this.m_tabTimers[t]=setInterval(n,i)},r.prototype._nSetTimeoutUnique=function(t,i,r){for(var f,e=this,o=[],u=3;u<arguments.length;u++)o[u-3]=arguments[u];return this._AnnuleTimeXXX(i,!1),f=n.NSUtil.nSetTimeout(function(){delete e.m_tabTimers[i];t.apply(e,o)},r),this.m_tabTimers[i]=f,f},r.prototype.bGetTimeXXXExiste=function(n){return undefined!==this.m_tabTimers[n]},r.prototype._AnnuleTimeXXX=function(t,i){var r=this.m_tabTimers[t];r!==undefined&&(i?clearInterval(r):n.NSUtil.ClearTimeout(r),delete this.m_tabTimers[t])},r.prototype.voGetChampFormulaire=function(){return this.m_oChampFormulaire},r.prototype.voGetValeurChampFormulaire=function(n){var t,i;if(n===void 0&&(n=""),t=this._pfGetGetSet(!0,1,!1),t)try{return p(t())}catch(r){}return i=this.voGetChampFormulaire(),i?i.value:n},r.prototype._vSetValeurChampFormulaire=function(t){var r=this._pfGetGetSet(!1,1),i;if(r)try{r(n.NSValues.oAny2Natif(t));return}catch(u){}i=this.voGetChampFormulaire();i&&(i.value=String(t))},r.prototype._sGetNomElement=function(n){return n===void 0&&(n=""),this.vsGetAliasHTML()+n},r.prototype._oGetElementById=function(n){return document.getElementById(this._sGetNomElement(n))},r.prototype.tabGetElementsByName=function(n){return document.getElementsByName(this._sGetNomElement(n))},r.prototype.oGetElementByName=function(n){return this.tabGetElementsByName(n)[0]},r.prototype.sGetSuffixeIDElement=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._sGetSuffixeIDElement(t)},r.prototype._sGetSuffixeIDElement=function(n){return l+n.join(l)},r.prototype.oGetIDElement=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._oGetElementById(this._sGetSuffixeIDElement(t))},r.prototype._nGetLargeurAscenseurVertical=function(n){var t=n.clientWidth;return 0===t&&0===n.clientHeight?0:n.offsetWidth-t},r.prototype._nGetHauteurAscenseurHorizontal=function(n){var t=n.clientHeight;return 0===t&&0===n.clientWidth?0:n.offsetHeight-t},r}(u);t.CChamp=e;o=function(){function t(){this.m_tabChamp={}}return t.prototype.DeclareChamp=function(n){this.m_tabChamp[n.sGetAlias()]=n},t.prototype.oGetChampSansCreation=function(n){return this._oValideChamp(this.oGetChampDirect(n))},t.prototype.oGetChampDirect=function(n){return this.m_tabChamp[n]},t.prototype.oGetObjetInformationsPartielles=function(n,t){var i=this.oGetChampDirect(n);return i?i:g(n,t,undefined)},t.prototype.bPourTousChamps=function(t){return n.NSUtil.bForEachIn(this.m_tabChamp,t)},t.prototype._oValideChamp=function(t){if(t)switch(t.m_eValide){default:case 0:return null;case 1:return t;case 2:throw new n.CErreur(610,t.sGetAlias());case 3:throw new n.CErreur(610,t.sGetAlias());}else return null},t.prototype.DeclareChampInit=function(){this.bPourTousChamps(function(n,t){if(1!==t.m_eValide)if(t.m_bChampDansHTML)if(t.m_bDansPlanAffiche)try{t.vInit()}catch(i){}else t.m_eValide=2;else t.m_eValide=3;return!0});clWDUtil&&clWDUtil.DeclareChampInit()},t.prototype.DeclareChampPlanDiffere=function(n){var t=this;
4n.forEach(function(n){var i=t.oGetChampDirect(n);i&&(i.m_bDansPlanAffiche=!0)});clWDUtil&&clWDUtil.DeclareChampPlanDiffere(n);this.DeclareChampInit()},t.prototype.AppelMethodePtr=function(n,t,i){this.bPourTousChamps(function(r,u){return u&&u!==i&&1===u.m_eValide&&n(u,t),!0})},t.prototype.iGetInterfaceChamp=function(n,t){var i=this.oGetChampSansCreation(n);return i?t(i):null},t}();d=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.oGetObjet=function(n,t,i){var u=this.oGetChampDirect(n),r;return u?u:(r=g(n,t,i),r instanceof e&&(undefined!==t&&this.DeclareChamp(r),r.vInit()),r)},t}(o);i=new d;t.oGetChampSansCreation=ht;t.oGetObjet=s;t.oGetObjetInformationsPartielles=ct;t.oGetChamp=s;t.DeclareChampInit=lt;t.DeclareChampPlanDiffere=at;t.AppelMethodePtr=h;t.OnTableZRAfficheAJAX=vt;t.OnDisplay=yt;t.OnScroll=nt;t.OnResize=tt;t.OnChangementTranche=pt;t.iGetAsGraphe=wt;t.iGetAsParametres=bt;t.iGetAsCalendrier=kt;t.iGetAsCornage=dt;t.iGetAsJauge=gt;t.iGetInterfaceChamp=ni;it=function(){function t(){this.m_oSaisie=null;this.m_pfOnBlurMasqueModele=null}return t.prototype._SetMasqueModele=function(t,i){var u,f,r;if(i)for(u=i.attributes,f=u.length,r=0;r<f;r++){var e=u.item(r),o=e.name,s=o.toLowerCase(),h=e.value;s.startsWith("on")&&(s==="onblur"?this.m_pfOnBlurMasqueModele=new Function("event",h):t[o]=new Function(n.NSUtil.bIE?"":"event",h))}},t.prototype._bValideMasqueModele=function(t){if(this.m_pfOnBlurMasqueModele){var i={target:null},r=!1;return t.target&&t.target!==this.m_oSaisie&&(i.target=this.m_oSaisie,r=!0),r&&(t=n.NSUtil.oCloneObjet(t,i)),this.m_pfOnBlurMasqueModele.apply(this.m_oSaisie,[t])}return!0},t.prototype._ClearMasqueModele=function(){this.m_pfOnBlurMasqueModele=null},t.prototype._sConversionMasqueModele=function(n,t,i){if(i){var r=window["_GET_"+t+"_1_I_C"];if(r)return r(n)}return n},t}();t.CMasqueModele=it;c=function(){function t(){var r,i,u;if(this.m_oChamp=undefined,this.m_oDepuisServeur={},this.m_oVersServeur=undefined,r=document.getElementsByName(t.ms_sNomChamp),r.length&&(i=r[0],n.NSUtil.bNodeEstType(i,"input"))){if(u=i.value,u.length)try{this.m_oDepuisServeur=n.NSUtil.xoEvalJSON(u,!1)}catch(f){}i.value="";this.m_oChamp=i}}return t.prototype.oGetProprieteObjet=function(n,t){return this.__oGetPropriete(n,t)},t.prototype.oGetProprieteAttribut=function(n,t,i){var r=this.__oGetPropriete(n,t);return r?r[i]:undefined},t.prototype.__oGetPropriete=function(n,t){var r=this.m_oDepuisServeur.m_oProprietesSecurisees,i;return r&&(i=r[n.sGetAlias()],i)?i[t]:undefined},t.prototype.SetProprieteObjet=function(n,t,i){this.__SetPropriete(n,t,i)},t.prototype.__SetPropriete=function(n,t,i){var f=n.sGetAlias(),r=this.m_oDepuisServeur.m_oProprietesSecurisees,u;undefined===r&&(r={},this.m_oDepuisServeur.m_oProprietesSecurisees=r);this.__SetProprieteData(f,t,i,r);u=this.__oPrepareVersServeur();r=u.m_oProprietesSecurisees;undefined===r&&(r={},u.m_oProprietesSecurisees=r);this.__SetProprieteData(f,t,i,r)},t.prototype.__SetProprieteData=function(n,t,i,r){var u=r[n];u||(u={},r[n]=u);u[t]=i},t.prototype.SetChampModifie=function(n,t){t===void 0&&(t=!0);var i=this.__oPrepareVersServeur();i.m_oChampsModifies[n]=t},t.prototype.bGetChampModifie=function(n){return undefined===this.m_oVersServeur?!1:!!this.m_oVersServeur.m_oChampsModifies[n]},t.prototype.SetVariable=function(n,t,i,r){var e=this.__oPrepareVersServeur(),u,f;switch(t){default:case 0:u=e.m_oVariablesProjet;undefined===u&&(u={},e.m_oVariablesProjet=u);break;case 1:u=e.m_oVariablesPage;undefined===u&&(u={},e.m_oVariablesPage=u)}f=u[n];f||(f={},u[n]=f);f[i]=r},t.prototype.__oPrepareVersServeur=function(){return undefined===this.m_oVersServeur&&(this.m_oVersServeur={m_oProprietesSecurisees:{},m_oChampsModifies:{},m_oVariablesProjet:{},m_oVariablesPage:{}}),this.m_oVersServeur},t.prototype.OnSubmit=function(){n.NSValues.ReporteVariableServeur();this.m_oChamp&&this.m_oVersServeur&&(this.m_oChamp.value=n.NSUtil.xsStringifyJSON(this.m_oVersServeur,!1))},t.prototype.sGetReporteVariableServeur=function(){function u(t){return!!t&&!n.NSUtil.bForEachIn(t,function(){return!1})}var t,i,r;return(n.NSValues.ReporteVariableServeur(),t=this.m_oVersServeur,t&&(i=t.m_oVariablesProjet,r=t.m_oVariablesPage,u(i)||u(r)))?n.NSUtil.xsStringifyJSON({m_oVariablesProjet:i,m_oVariablesPage:r},!1):undefined},t.ms_sNomChamp="WD_JSON_PROPRIETE_",t}();t.CSynchronisationServeur=c;t.ms_oSynchronisationServeur=new c;window.addEventListener("input",function(n){var t=n.target;(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&rt(t)});t.OnInputModificationDecode=rt;t.OnInputModification=ut})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n){return!!n&&(n instanceof i||"m_iChampFrameworkV1"in n)}var r=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_pfConversionValeur=i,r.m_bInPCodeAffectation=!1,r}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 1:if(this.voGetChampFormulaire())return n.NSUtil.oGetProprieteSimple(function(){u.AppelCodeAffectation(function(){var n=u._RecuperePCode(73,function(){})();undefined!==n&&u._vSetValeurChampFormulaire(n)});var n=u.voGetValeurChampFormulaire();return u.m_pfConversionValeur?u.m_pfConversionValeur(n):n},function(n){u._vSetValeurChampFormulaire(n);u.AppelCodeAffectation(function(){u._RecuperePCode(74)(null,n)})},undefined,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.AppelCodeAffectation=function(n){if(!this.m_bInPCodeAffectation)try{this.m_bInPCodeAffectation=!0;n()}finally{this.m_bInPCodeAffectation=!1}},i}(t.CChamp),u,i,f,e;t.CChampSimple=r;u=function(n){function t(t){return n.call(this,t,function(n){return n})||this}return __extends(t,n),t}(r);t.CChampSimpleSansType=u;i=function(i){function r(n,t,r,u){var f=i.call(this,n,t)||this;return f.m_bBornes=r,f.m_eTypeWLValeur=u,f.m_iChampFrameworkV1=oGetObjetChamp(f.sGetAlias()),f}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 29:if(this.m_bBornes)return t.oGetProprieteFrameworkV1GetSetSecurise(this,this.m_eTypeWLValeur,64,r,u,this.m_pfConversionValeur,!1);break;case 30:if(this.m_bBornes)return t.oGetProprieteFrameworkV1GetSetSecurise(this,this.m_eTypeWLValeur,65,r,u,this.m_pfConversionValeur,!1)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.vSetProprieteEtat=function(n){i.prototype.vSetProprieteEtat.call(this,n);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1.SetProp(12,undefined,n,this.voGetChampFormulaire())},r.prototype.SetFocus=function(){var n;this.m_iChampFrameworkV1&&undefined!==this.m_iChampFrameworkV1.SetFocus&&this.m_iChampFrameworkV1.SetFocus();(n=this.oGetHTMLElement())===null||n===void 0?void 0:n.focus()},r}(r);t.CChampRebondFrameworkV1=i;f=function(n){function t(t){return n.call(this,t,function(n){return n},!1,undefined)||this}return __extends(t,n),t}(i);t.CChampRebondFrameworkV1SansType=f;t.bIsChampRebondFrameworkV1=o;e=function(i){function r(n){var t=this,r;return t=i.call(this,n.m_sAlias,n.m_eIDObjet)||this,t.m_oInformations=(r=n.m_oInformations)===null||r===void 0?void 0:r.m_oAttributZR,t}return __extends(r,i),r.prototype.viGetSousElement=function(r,u){var e=n.NSUtil.nGetEntier(u[r]),f=new t.CChampCelluleDeTable(this,this,undefined,e);return f.voGetHTMLElement()?n.NSUtil.iChaineSousElement(f,r+1,u):i.prototype.viGetSousElement.call(this,r,u)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.vsGetAliasHTML=function(){var n,t=(n=this.m_oInformations)===null||n===void 0?void 0:n.m_sAliasAttributPrincipal;return undefined!==t?t:this.sGetAlias()},r}(t.CObjet);t.CAttributZoneRepetee=e})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(i,r,u,f,e,o,s,h){return new n.NSUtil.CPropriete(function(){var r=t.ms_oSynchronisationServeur.oGetProprieteObjet(i,u);return undefined===r&&(r=o),s&&(r=s(r)),n.NSTypes.iNatif2RValue(r)},h,undefined,r,f,e)}function f(n,t,i,u,f,e,o){return r(n,t,i,u,f,e,o,null)}function l(n,i,u,f,e,o,s,h,c,l){return r(n,i,u,f,e,o,s,function(i){var r=c(i.m_oValeur);(!l||l(r))&&(t.ms_oSynchronisationServeur.SetProprieteObjet(n,u,r),h&&h(r,i.m_iOptions.m_oParametresSpecifiques))})}function i(t,i,r,f,e,o){return n.NSUtil.oGetProprieteSimple(function(){return t(u(o(),f,e))},i?function(n){return i(u(o(),f,e),n)}:null,r,f,e)}function e(t,r,u,f,e,o,s){return i(t,r,u,f,e,function(){var t=o.voGetHTMLElement();return n.NSUtil.bNodeEstType(t,s)?t:null})}function a(t){return n.NSUtil.oGetProprieteSimple(function(){var i=t._oCorrigeHTMLElement(0),u,r;return n.NSUtil.bNodeEstType(i,"a")&&(u=i.href,u)?i.href:(r=o(i),r)?r[2]:""},function(i){var f=String(i),r=t._oCorrigeHTMLElement(0),u;if(n.NSUtil.bNodeEstType(r,"a")){r.href=f;return}u=o(r);u&&(r.getAttributeNode("onclick").value=u[1]+f+u[3])},16,1,61)}function o(n){var t,i;return n&&(t=n.getAttributeNode("onclick"),t)?(i=t.value,v.exec(i)):null}function y(n){return e(function(n){return n.src},function(n,t){n.src=clWDUtil.sGetCheminImage(String(t),"",!1)},16,1,62,n,"img")}function s(n,t,r,u,f,e){return i(n,t,r,u,f,function(){return e.m_iChampFrameworkV1})}function h(t,i,r,u,f,e,o,h){return s(function(i){var f,u;return o&&(u=t.voGetChampFormulaire(),u&&(f=u.value)),i.GetProp(r,undefined,f,null)},function(n,t){var i=e(t);h&&h(i);n.SetProp(r,undefined,i,null,undefined)},i,u,f,t)}function p(n,i,r,u,f,e,o){return h(n,i,r,u,f,e,o,function(i){return t.ms_oSynchronisationServeur.SetProprieteObjet(n,r,i)})}function w(t,i){return n.NSUtil.oGetProprieteSimple(function(){return n.NSUtil.sExtraitImageDepuisProprieteCSS(n.NSUtil.oGetCurrentStyle(t).backgroundImage)},function(r){i&&(i.style.backgroundImage="none",i.style.backgroundColor="transparent");t.style.backgroundImage=n.NSUtil.sConstruitProprieteCSSDepuisImage(String(r))},16,1,34)}function b(n){return i(function(n){return n.alt},function(n,t){n.alt=String(t)},16,1,48,function(){var t=n._oCorrigeHTMLElement(2);return k(t)?t:null})}function k(n){return!!n&&"alt"in n}function d(t,i,r){return f(t,8,i,1,r,0,function(i){var f=t.vsGetAliasHTML(),u=n.NSUtil.GetElementParIdName(f,document,!0,!1),e;return u&&("ctz"+f===u.id?u=u.parentElement:(e=document.getElementById("lz"+f),e&&!n.NSUtil.bEstFils(e,u)&&(u=c(u).parentElement))),u=c(u),nt(i,u,45===r,!0)})}function g(t,i,r,u){function f(t){try{return t()}catch(i){if(clWDUtil.bCatch(i))throw i;else n.xThrow603(1,u)}}return n.NSUtil.oGetProprieteSimple(t?function(){return f(t)}:null,i?function(n){return f(function(){return i(n)})}:null,r,1,u)}function c(t){return n.NSUtil.bNodeEstType(t,"td")?t.parentElement.parentElement.parentElement:t}function nt(n,t,i,r){var e,u,f;if(t)for(e=t.ownerDocument.body;;)if(u=t.offsetParent,u&&u!==e)f=i?u.offsetLeft:u.offsetTop,f&&(n+=r?f:-f),t=u;else break;return n}function u(t,i,r){if(t)return t;n.xThrow603_I(i,r)}t.oGetProprieteSecuriseBase=r;t.oGetProprieteSecuriseLecture=f;t.oGetProprieteSecurise=l;t.oGetProprieteElement=i;t.oGetProprieteHTMLElement=e;t.oGetProprieteURL=a;var v=/(_JCL\((?:\w+\()?')([^']+)('.*)/;t.oGetProprieteVignette=y;t.oGetProprieteFrameworkV1=s;t.oGetProprieteFrameworkV1GetSet=h;t.oGetProprieteFrameworkV1GetSetSecurise=p;t.oGetProprieteImageFond=w;t.oGetProprieteTexteAlternatif=b;t.oGetProprieteXYInitial=d;t.oGetProprieteCatch=g;t.xGetElementPourPropriete=u})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(r){function u(n,t,i,u,f,e){e===void 0&&(e=n.sGetAlias()+"_"+i);var o=r.call(this,e,u)||this;return o.m_tParent=n,o.m_tPourAliasAccesseur=t,o.m_nIndiceWL=i,o.m_bErreurSousElement=f,o}return __extends(u,r),u.prototype.viGetPropriete=function(i,u){var o=this;if(n.NSProprietes.bEstProprieteJS(i,u)){var s=this.m_tPourAliasAccesseur.sGetAlias(),f=this._pfGetGetSet(!0,u,!0,s),e=this._pfGetGetSet(!1,u,!0,s);if(f||e)return t.oGetProprieteCatch(f?function(){return f(o.m_nIndiceWL)}:null,e?function(t){e(n.NSValues.oAny2Natif(t),o.m_nIndiceWL)}:null,undefined,u)}try{return r.prototype.viGetPropriete.call(this,i,u)}catch(h){if(this.m_bErreurSousElement&&1===i)throw new n.CErreur(602,"[ ]");else throw h;}},u.prototype.viGetMonParent=function(){return this.m_tParent},u.prototype.viGetChamp=function(n,u,f){switch(this.m_tParent.m_eIDObjet){case 9:case 11:case 35:case 77:var e=this.m_tParent;return new i(e,t.oGetObjet(n,u,f),e.iGetAsChampTableZRNavigateurFrameworkV1(),this.m_nIndiceWL);default:return r.prototype.viGetChamp.call(this,n,u,f)}},u.prototype.vsGetAliasHTML=function(){return this.m_tParent.vsGetAliasHTML()+"_"+this.m_nIndiceWL},u.prototype.viGetJQuery=function(){var n=this.oGetHTMLElement();return n?$(n):this.m_tParent.viGetJQuery()},u.prototype.voCorrigeHTMLElement=function(n,t){return this.m_tPourAliasAccesseur.voCorrigeHTMLElement(n,t)},u}(t.CObjet),u=function(n){function t(t,i,r,u,f){return n.call(this,t,t,i,r,u,f)||this}return __extends(t,n),t}(r),i;t.CSousChamp=u;i=function(i){function r(n,t,r,u){var f=i.call(this,n,t,u,54,!1)||this;return f.m_iChampTableZRNavigateurFrameworkV1=r,f}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){function e(n,t){try{return n()}catch(i){if(603===i.number)return t(i);throw i;}}var f=this;if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 1:return e(function(){return i.prototype.viGetPropriete.call(f,r,u)},function(n){var s,o;if(f.m_tPourAliasAccesseur instanceof t.CAttributZoneRepetee&&(o=(s=f.m_tPourAliasAccesseur.m_oInformations)===null||s===void 0?void 0:s.m_oAssocie,undefined!==o&&(r!==o.m_eProprieteFamille||u!==o.m_ePropriete)))return e(function(){return i.prototype.viGetPropriete.call(f,o.m_eProprieteFamille,o.m_ePropriete)},function(){throw n;});throw n;});case 61:return t.oGetProprieteURL(this);case 62:return t.oGetProprieteVignette(this)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.vsGetAliasHTML=function(){return"zrl_"+this.m_nIndiceWL+"_"+this.m_tPourAliasAccesseur.vsGetAliasHTML()},r.prototype.viGetJQuery=function(){var n=this.oGetHTMLElement();return n?$(n):this.m_tParent.viGetJQuery()},r.prototype._voGetHTMLElementPourLibelle=function(){var n;return(n=this.m_iChampTableZRNavigateurFrameworkV1)===null||n===void 0?void 0:n.AfficheImmediat(),i.prototype._voGetHTMLElementPourLibelle.call(this)},r}(r);t.CChampCelluleDeTable=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(i){return t.call(this,i,n.NSUtil.nGetEntier)||this}return __extends(r,t),r.prototype.viGetSousElement=function(t,r){var u=n.NSUtil.xnGetIndiceC(r[t],this.viGetJQuery().wbPlanOccurrenceGet(),0,0);return n.NSUtil.iChaineSousElement(new i(this,u+1,123,!1),t+1,r)},r}(t.CChampSimple),i;t.CBandeauDefilant=r;i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 7:return n.NSUtil.oGetProprieteSimple(function(){return u.viGetJQuery().wbPlanVisibleGet(u.m_nIndiceWL)},function(t){return u.viGetJQuery().wbPlanVisibleSet(u.m_nIndiceWL,n.NSUtil.bGetBooleen(t))},8,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){return document.getElementById(this.vsGetAliasHTML()+"_")||t.prototype.voGetHTMLElement.call(this)},i.prototype.vSetProprieteEtat=function(i){var r=this,u;t.prototype.vSetProprieteEtat.call(this,i);u=this.voGetHTMLElement();u&&(n.NSUtil.bForEach(u.getElementsByTagName("a"),function(n){return r._SetEtatSousElement(n,"href",i,!0),r._SetEtatSousElement(n,"onclick",i,!0),r._SetEtatSousElement(n,"ondblclick",i,!0),!0}),n.NSUtil.bForEach(u.getElementsByTagName("img"),function(n){return r._SetEtatSousElement(n,"onclick",i,!1),!0}))},i}(t.CChampSimpleSansType);t.CChampArbre=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 61:return t.oGetProprieteUR
4L(this)}return i.prototype.viGetPropriete.call(this,r,u)},r}(t.CChampSimpleSansType),f,r,u,e;t.CChampLien=i;f=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 57:case 58:return this.__xiGetProprieteLibelle(r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.__xiGetProprieteLibelle=function(t){var i=this.oGetHTMLElement(),u=null,r=n.NSUtil.GetElementParId("z_"+this.vsGetAliasHTML()+"_IMG",document,!1),f;if(r&&!n.NSUtil.bNodeEstType(r,"img")?(f=r.getElementsByTagName("span")[0],f&&(r=f),u=r):i&&n.NSUtil.bNodeEstType(i,"button")&&(u=i),u)return this._xiGetProprieteLibelle(u,t);if(i instanceof HTMLInputElement)return n.NSUtil.oGetProprieteSimple(function(){return i.value},function(n){i.value=String(n)},16,1,t);n.xThrow603(1,t)},i}(i);t.CChampBouton=f;r=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_pfGetBaliseAction=i,r}return __extends(t,n),t.prototype.voCorrigeHTMLElement=function(t,i){switch(i){case 0:return this.m_pfGetBaliseAction(t)}return n.prototype.voCorrigeHTMLElement.call(this,t,i)},t.prototype.vSetProprieteEtat=function(t){n.prototype.vSetProprieteEtat.call(this,t);var i=this._oCorrigeHTMLElement(0);i&&this._SetEtatSousElement(i,"href",t,!0)},t}(i);t.CChampAutour=r;u=function(t){function i(i){return t.call(this,i,function(t){if(t){var i=t.parentElement;return n.NSUtil.bNodeEstType(i,"i")?i.parentElement:i}return null})||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){var n=t.prototype.voGetHTMLElement.call(this);return this.voCorrigeHTMLElement(n,1)},i.prototype.voCorrigeHTMLElement=function(i,r){switch(r){case 1:case 2:if(n.NSUtil.bNodeEstType(i,"i"))return i.firstElementChild}return t.prototype.voCorrigeHTMLElement.call(this,i,r)},i}(r);t.CChampImage=u;e=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 62:return t.oGetProprieteVignette(this)}return i.prototype.viGetPropriete.call(this,r,u)},r}(u);t.CChampVignette=e})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){return i===n.viGetRValue(0)}var i=n.NSTypes.ms_DescriptionChaine.viCreation(),r;t.bEstValeurRenvoyeeDefaut=u;r=function(t){function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.m_iValeur=i,n}return __extends(r,t),r.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 63:return new n.NSUtil.CPropriete(function(){return u.m_iValeur},function(t){u.m_iValeur=n.NSTypes.iGetDescriptionDepuisValue(t.m_oValeur).viCreation(t)},undefined,undefined,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},r}(t.CChamp);t.CChampPopup=r})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 4:return n.NSUtil.oGetProprieteConstante(this.__nGetNbCellules(),8,i,r);case 7:var u=this._iGetProprieteFrameworkV1(7,function(){return clWDUtil.DispositionMAJ()},1);if(u)return u}return t.prototype.viGetPropriete.call(this,i,r)},r.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,i,!1)},r.prototype.__nGetNbCellules=function(){var t=document.getElementsByClassName(this.vsGetAliasHTML()+"-layout-ol"),i=0;return t.length&&Array.prototype.forEach.call(t[0].childNodes,function(t){n.NSUtil.bNodeEstType(t,"li")&&i++}),i},r}(t.CChampSimpleSansType),i;t.CChampDisposition=r;i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 3:return this.__oGetProprieteCelluleDisposition(function(t){return n.NSTypes.oCreeDinoCouleur(n.NSUtil.oGetCurrentStyle(t).backgroundColor)},function(n,t){n.style.backgroundColor=String(t)},111,i,r,!0,n.NSTypes.oCreeDinoCouleur());case 7:return this.__oGetProprieteCelluleDisposition(function(t){return clWDUtil.DispositionMAJ(),n.NSUtil.bEstDisplay(t,!1)},function(t,i){n.NSUtil.SetDisplay(t,n.NSUtil.bGetBooleen(i),!0);clWDUtil.PrepareDispositionMAJ()},1,i,r,!1,!1);case 16:return this.__oGetProprieteCelluleDisposition(function(n){return n.offsetHeight},null,8,i,r,!0,0);case 17:return this.__oGetProprieteCelluleDisposition(function(n){return n.offsetWidth},null,8,i,r,!0,0);case 18:return this.__oGetProprieteCelluleDisposition(function(t){return n.NSUtil.nGetEntier(n.NSUtil.dGetReel(n.NSUtil.oGetCurrentStyle(t).op
4acity,1)*100)},function(t,i){return n.NSUtil.SetOpacite(n.NSUtil.nGetEntier(i),t)},8,i,r,!0,100);case 24:return this.__oGetProprieteCelluleDisposition(n.NSUtil.sGetClasseHTML,function(t,i){return n.NSUtil.SetClasseHTML(t,String(i))},16,i,r,!0,"");case 70:return this._iGetProprieteAttributHTML(this.__oGetCellule(!0))}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.__oGetCellule=function(t){var i=document.getElementById(this.vsGetAliasHTML());return t||!i||n.NSUtil.bNodeEstType(i,"li")?i:i.parentElement},i.prototype.__oGetProprieteCelluleDisposition=function(t,i,r,u,f,e,o){var s=this;return n.NSUtil.oGetProprieteSimple(function(){var n=s.__oGetCellule(e);return n?t(n):o},i?function(n){var t=s.__oGetCellule(e);t&&i(t,n)}:null,r,u,f)},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 50:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeXMin()},null,12,r,u,this);case 51:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeXMax()},null,12,r,u,this);case 52:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeYMin()},null,12,r,u,this);case 53:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeYMax()},null,12,r,u,this);case 57:return t.oGetProprieteFrameworkV1(function(n){return n.sGetTitre()},function(n,t){return n.SetTitre(String(t))},16,r,u,this);case 60:return t.oGetProprieteFrameworkV1(function(t){return n.NSUtil.nGetEntier(t.nGetDureeAnimation()/10)},function(t,i){return t.SetDureeAnimation(n.NSUtil.dGetReel(i,NaN,1)*10)},8,r,u,this);case 58:n.xThrow603_I(r,u)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.voCorrigeHTMLElement=function(n,t){switch(t){case 2:return document.getElementsByName(this.vsGetAliasHTML())[0]}return i.prototype.voCorrigeHTMLElement.call(this,n,t)},r}(t.CChampRebondFrameworkV1SansType);t.CChampGraphe=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){i={};n.forEach(function(n){i[n.m_sNom]=new r(n.m_tabMembres)})}function f(t){var r=i[t];if(r)return r;throw new n.CErreur(605,t);}function e(t,i,r){return new n.NSUtil.CPropriete(function(){for(var e=t.tabGetObjets(),o=e.length,u,f=0;f<o;f++)try{return e[f].viGetPropriete(i,r).viGetRValue(1)}catch(s){undefined===u&&(u=s)}if(u)throw u;n.xThrow603_I(i,r)},function(n){t.tabGetObjets().forEach(function(t){try{t.viGetPropriete(i,r).vSetValeur2(n)}catch(u){}})},undefined,undefined,i,r)}var i={},r;t.DeclareGroupes=u;t.xoGetGroupe=f;r=function(i){function r(n){var t=i.call(this,"",58)||this;return t.m_tabMembresDuGroupe=n,t}return __extends(r,i),r.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteJS(t,i))switch(i){case 4:return n.NSUtil.oGetProprieteConstante(this.tabGetObjets().length,8,t,i)}return e(this,t,i)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.tabGetObjets=function(){return this.m_tabMembresDuGroupe.map(function(n){return t.oGetObjet(n.m_sAlias,n.m_eIDObjet,{m_sAliasTableZR:n.m_sAliasTableZRParent})})},r}(t.CObjet)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return __extends(i,n),i.prototype.vsGetAliasHTML=function(){return t.oGetPageCourante().vsGetAliasHTML()+"_"+n.prototype.vsGetAliasHTML.call(this)},i}(t.CChampSimpleSansType),r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 61:return t.oGetProprieteHTMLElement(function(n){return n.src},function(n,t){n.src=String(t)},16,r,u,this,"iframe")}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.voGetHTMLElement=function(){return document.getElementsByName(this.vsGetAliasHTML())[0]||i.prototype.voGetHTMLElement.call(this)},r}(i);t.CChampIFrame=r})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(n){function t(t,i){return n.call(this,t,i)||this}return __extends(t,n),t.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,u,!0)},t.prototype.vSetProprieteEtat=function(t){var r,i;for(n.prototype.vSetProprieteEtat.call(this,t),r=this.tabGetElementsByName(),i=1;i<r.length;i++)this._SetProprieteEtat(t,r[i],null,null,!1)},t}(t.CChampSimple),e=function(t){function i(i){return t.call(this,i,n.NSUtil.bGetBooleen)||this}return __extends(i,t),i}(i),r;t.CChampInterrupteur=e;r=function(t){function i(i){return t.call(this,i,n.NSUtil.nGetEntier)||this}return __extends(i,t),i}(i);t.CChampSelecteur=r;var u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype._vSetProprieteBulle=function(n){var t=this.oGetHTMLElement();this._SetProprieteBulle(n,t);t&&this._SetProprieteBulle(n,t.parentElement)},t}(t.CSousChamp),f="data-wbValeurRenvoyee",o=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 1:return n.NSUtil.oGetProprieteSimple(function(){return Array.prototype.reduce.call(u.tabGetElementsByName(),function(n,t){return t.checked?t.getAttribute(f)||"":n},"")},function(t){var e=String(t),r=u.tabGetElementsByName(),i;n.NSUtil.bForEach(r,function(n){return n.getAttribute(f)===e?(n.checked=!0,!1):!0})&&(i=n.NSUtil.nGetEntier(t,-1),0<=i&&i<r.length&&(r[i].checked=!0))},16,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,u,!0)},i}(t.CChamp);t.CChampInterrupteurABascule=o})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 1:return this._iGetProprieteFrameworkV1(1,null,8);case 4:return this._iGetProprieteFrameworkV1(4,null,8);case 74:return n.NSUtil.oGetProprieteSimple(function(){var n=u._pfGetGetSet(!0,1)();return 1<=n?u.sGetValeurMemorisee(n):""},null,16,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},r.prototype.viGetSousElement=function(t,r){var u=n.NSUtil.xnGetIndiceC(r[t],this.__nGetNbOptions(),0,0);return n.NSUtil.iChaineSousElement(new i(this,u+1),t+1,r)},r.prototype.sGetValeurMemorisee=function(t){var u=this.voGetChampFormulaire(),i,f,r;if(u){if(i=u.options,f=i.length,0===f)throw new n.CErreur(200,t);if(i.length<t)throw new n.CErreur(200,t,1,i.length);if(r=i[t-1].getAttribute("data-wb-valmem"),null!==r)return r}return""},r.prototype.__nGetNbOptions=function(){var n=this.voGetChampFormulaire();return n?n.options.length:0},r}(t.CChamp),i;t.CChampListe=r;i=function(t){function i(n,i){return t.call(this,n,i,52,!1)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 74:return n.NSUtil.oGetProprieteSimple(function(){return u.m_tParent.sGetValeurMemorisee(u.m_nIndiceWL)},null,16,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(t){return i.call(this,t,n.NSUtil.dGetReel,!0,12)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 36:return t.oGetProprieteFrameworkV1GetSet(this,16,123,r,u,String,!1,null)}return i.prototype.viGetPropriete.call(this,r,u)},r}(t.CChampRebondFrameworkV1);t.CChampJauge=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(n){var u,i=n.m_sAlias;return clWDUtil.m_oChamps.bPourTousChamps(function(f,e){return e instanceof WDKanban&&e.GetListe(i)?(u=new r(t.oGetChamp(f,140,n.m_oInformations),e.nGetListeIndice(i),i),!1):!0}),u}function i(){throw new n.CErreur(601);}var r,u;t.oGetListeKanban=e;r=function(t){function i(n,i,r){return t.call(this,n,i,142,!1,r)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 4:return n.NSUtil.oGetProprieteSimple(function(){return u.nGetNbCartes()},null,8,i,r);case 7:return n.NSUtil.oGetProprieteSimple(function(){var n,t;return((t=(n=u.m_tParent.m_iChampFrameworkV1)===null||n===void 0?void 0:n.GetListe(u.sGetAlias()))===null||t===void 0?void 0:t.visible)||!1},null,1,i,r);case 72:return new o(this,r);case 73:return n.NSUtil.oGetProprieteSimple(function(){return u.__nGetNbCartesMax()},null,8,i,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetSousElement=function(t,i){var r=n.NSUtil.xnGetIndiceC(i[t],this.nGetNbCartes(),0,0),u=this.m_tParent.m_iChampFrameworkV1.GetCarte(this.sGetAlias(),r);return n.NSUtil.iChaineSousElement(n.NSTypes.oCreeKBCarteDepuisChamp(u,this),t+1,i)},i.prototype.vsGetAliasHTML=function(){return this.sGetAlias()},i.prototype.nGetIndice=function(n){var t;return((t=this.m_tParent.m_iChampFrameworkV1)===null||t===void 0?void 0:t.nGetCarteIndice(this.sGetAlias(),n))||0},i.prototype.Modification=function(n){var t;(t=this.m_tParent.m_iChampFrameworkV1)===null||t===void 0?void 0:t.OnModifCarte(n)},i.prototype.nGetNbCartes=function(){var n;return((n=this.m_tParent.m_iChampFrameworkV1)===null||n===void 0?void 0:n.nGetNbCartes(this.sGetAlias()))||0},i.prototype.__nGetNbCartesMax=function(){var n;return((n=this.m_tParent.m_iChampFrameworkV1)===null||n===void 0?void 0:n.nGetNbCartesMax(this.sGetAlias()))||0},i}(t.CSousChamp);t.CListeKanban=r;u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(n,i,u,f){var e,o=(e=this.m_iChampFrameworkV1)===null||e===void 0?void 0:e.GetListeDepuisNom(i);return o?new r(this,this.m_iChampFrameworkV1.nGetListeIndice(o.id),o.id):t.prototype.viGetMembre2.call(this,n,i,u,f)},i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 71:return new s(this,r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetChamp=function(n,i,u){var e,f;return 142===i&&(f=(e=this.m_iChampFrameworkV1)===null||e===void 0?void 0:e.GetListe(n),f)?new r(this,this.m_iChampFrameworkV1.nGetListeIndice(f.id),f.id):t.prototype.viGetChamp.call(this,n,i,u)},i}(t.CChampRebondFrameworkV1SansType);t.CChampKanban=u;var f=function(t){function r(n,i){var r=t.call(this)||this;return r.m_oConteneur=n,r.m_eProprieteJS=i,r}return __extends(r,t),r.prototype.valueOf=function(){i()},r.prototype.viGetMembre2=function(){n.xThrow603(1,this.m_eProprieteJS)},r.prototype.veGetTypeWL=function(){return 112},r.prototype.DeplaceLigne=function(){i()}
4,r.prototype.Echange=function(){i()},r}(n.NSUtil.CCollection),o=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.nAjouteLigne=function(){i()},r.prototype.eTypeElement=function(){return 111},r.prototype.Insere=function(){i()},r.prototype.nGetNbElements=function(){return this.m_oConteneur.nGetNbCartes()},r.prototype.iGetSousElementIndice=function(n){return this.m_oConteneur.viGetSousElement(0,[n+1])},r.prototype.iGetDescriptionElement=function(){return n.NSTypes.oGetDescriptionDINO(70,74).m_oDescriptionDynamique},r.prototype.nSupprime=function(){i()},r.prototype.SupprimeTout=function(){i()},r}(f),s=function(t){function u(){return t!==null&&t.apply(this,arguments)||this}return __extends(u,t),u.prototype.viGetSousElement=function(i,u){var f=this.m_oConteneur.m_iChampFrameworkV1,e,o,s;if(f){if(e=String(u[i]),o=f.GetListeDepuisNom(n.NSUtil.sGetFormatLogique(e)),o)return n.NSUtil.iChaineSousElement(new r(this.m_oConteneur,f.nGetListeIndice(o.id),o.id),i+1,u);if(s=f.nGetListeIndice(e),-1!==s)return n.NSUtil.iChaineSousElement(new r(this.m_oConteneur,s,e),i+1,u)}return t.prototype.viGetSousElement.call(this,i,u)},u.prototype.nAjouteLigne=function(){i()},u.prototype.eTypeElement=function(){return 137},u.prototype.Insere=function(){i()},u.prototype.nGetNbElements=function(){var n;return((n=this.m_oConteneur.m_iChampFrameworkV1)===null||n===void 0?void 0:n.nGetNbListes())||0},u.prototype.iGetSousElementIndice=function(n){return new r(this.m_oConteneur,n+1,this.m_oConteneur.m_iChampFrameworkV1.GetListeParIndice(n).id)},u.prototype.iGetDescriptionElement=function(){return undefined},u.prototype.nSupprime=function(){i()},u.prototype.SupprimeTout=function(){i()},u}(f)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 57:case 58:return this._xiGetProprieteLibelle(this.voGetHTMLElement(),u);case 61:return t.oGetProprieteHTMLElement(function(n){return n.href},function(n,t){n.href=String(t)},16,r,u,this,"a")}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r}(t.CObjet);t.COptionMenu=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(i){return t.call(this,i,n.NSUtil.nGetEntier,!1,8)||this}return __extends(r,t),r.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,i,!1)},r}(t.CChampRebondFrameworkV1),i;t.CChampOnglet=r;i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 57:case 58:return this._xiGetProprieteLibelle(this.__oGetA()||this.oGetHTMLElement(),r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.vSetProprieteEtat=function(i){var h,r,e,o,s,u,f;if(t.prototype.vSetProprieteEtat.call(this,i),h=this.__oGetA(),this._SetProprieteEtat(i,h,null,null,!0),r=this.m_tParent.m_iChampFrameworkV1,r&&0!==i&&(e=n.NSUtil.nGetEntier(this.m_tParent.viGetPropriete(1,1)),this.m_nIndiceWL===e)){for(o=r.m_tabOnglets,s=!1,u=e;u<o.length;u++)if(o[u].bActif()){r.AfficheVolet(u);s=!0;break}if(!s)for(f=0;f<e-1;f++)if(o[f].bActif()){r.AfficheVolet(f);s=!0;break}}},i.prototype._vSetProprieteBulle=function(n){t.prototype._vSetProprieteBulle.call(this,n);var i=this.__oGetA();this._SetProprieteBulle(n,i)},i.prototype.__oGetA=function(){var t=this.voGetHTMLElement(),n;return t&&(n=t.getElementsByTagName("a")[0],n)?n:null},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(){return i}function o(t){if(t===i.sGetAlias())return i;var u=r(t,top);if(u)return u;throw new n.CErreur(605,t);}function r(t,i){var u,f;if(!i)return null;try{return"NSPCS"in i&&(u=i.NSPCS.NSChamps.oGetPageCourante(),u&&t===u.sGetAlias())?u:(f=null,n.NSUtil.bForEach(i.frames,function(n){return f=r(t,n),null===f}),f)}catch(e){return null}}function u(){var r=n.NSUtil.ms_sAliasMoiMeme,u;if(r){if(u=t.oGetChampSansCreation(r),u)return u;if(r===n.NSUtil.ms_sAliasPage)return i}throw new n.CErreur(606);}function s(){return u().viGetMonParent(!0)}var f=function(i){function r(){var t=i.call(this,n.NSUtil.ms_sAliasPage,1)||this;return n.NSUtil.ms_oNotificationsChangementTranche.AddNotification(function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t.__OnChangementTranche(i)}),t}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 34:return t.oGetProprieteImageFond(document.documentElement,document.body);case 57:return n.NSUtil.oGetProprieteSimple(function(){return document.title},function(n){document.title=String(n)},16,r,u)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return this},r.prototype._vSetProprietePlan=function(n,t){$(".wbPlanDeMaPage").wbPlanSet(n,t)},r.prototype.oGetDocument=function(){return document},r.prototype.__OnChangementTranche=function(n){t.AppelMethodePtr(t.OnChangementTranche,[n[0],n[1]]);this._RecuperePCode(77).apply(window,n)},r}(t.CObjet),i=new f;t.oGetPageCourante=e;t.oGetPage=o;t.oGetMoiMeme=u;t.oGetMonParent=s})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(i){return t.call(this,i,n.NSUtil.nGetEntier,!0,8)||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){var n=document.getElementsByName(this.vsGetAliasHTML()+"_DATA");return n.length&&n[0]||t.prototype.voGetHTMLElement.call(this)},i.prototype.vSetProprieteEtat=function(n){t.prototype.vSetProprieteEtat.call(this,n);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1._vAppliqueParametres()},i.prototype._vLiaisonHTML=function(n,i){t.prototype._vLiaisonHTML.call(this,"_DATA",i)},i}(t.CChampRebondFrameworkV1),f=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 20:return t.oGetProprieteFrameworkV1GetSetSecurise(this,8,89,r,u,n.NSUtil.nGetEntier,!0);case 21:return t.oGetProprieteFrameworkV1GetSetSecurise(this,8,90,r,u,n.NSUtil.nGetEntier,!0)}return i.prototype.viGetPropriete.call(this,r,u)},r}(i),r,u;t.CChampRangeSlider=f;r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i);t.CChampRating=r;u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i);t.CChampPotentiometre=u})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(t,i){return n.NSUtil.oGetProprieteSimple(function(){var u,f=t.iGetWBJeton(),r=t.oGetHTMLElement();return u=f?f.wbGetJetonValeurAfficheeChampSaisie():r?r instanceof HTMLInputElement?r.value:n.NSUtil.sGetInnerText(r):"",i?i.GetValeur(undefined,u,r):u},null,16,1,55)}var u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,u){if(n.NSProprietes.bEstProprieteJS(i,u))switch(u){case 55:return r(this,undefined)}return t.prototype.viGetPropriete.call(this,i,u)},i}(t.CChampSimpleSansType),i;t.CChampFormate=u;i=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetPropriete=function(u,f){var e=this,o;if(n.NSProprietes.bEstProprieteJS(u,f)){o=this.m_iChampFrameworkV1;switch(f){case 25:return t.oGetProprieteFrameworkV1GetSet(this,16,58,u,f,String,!1,null);case 38:return n.NSUtil.oGetProprieteSimple(function(){var t=e.__oGetBoutonCalendrier();return t?n.NSUtil.bEstDisplay(t,!1):!1},function(t){var i=e.__oGetBoutonCalendrier();i&&n.NSUtil.SetDisplay(i,n.NSUtil.bGetBooleen(t))},1,u,f);case 54:return o?t.oGetProprieteFrameworkV1GetSet(this,16,130,u,f,String,!1,null):this.viGetPropriete(1,1);case 55:return r(this,o);case 69:return n.NSUtil.oGetProprieteSimple(function(){return t.ms_oSynchronisationServeur.bGetChampModifie(e.sGetAlias())},function(i){return t.ms_oSynchronisationServeur.SetChampModifie(e.sGetAlias(),n.NSUtil.bGetBooleen(i))},1,u,f)}}return i.prototype.viGetPropriete.call(this,u,f)},u.prototype._vSetValeurChampFormulaire=function(t){var f=this.iGetWBJeton(),r,u;if(f){f.wbSetJetonValeurMemoriseeChampSaisie(String(t));return}i.prototype._vSetValeurChampFormulaire.call(this,t);r=this.voGetChampFormulaire();r&&"password"===r.type&&(u=r.nextSibling,n.NSUtil.bNodeEstType(u,"div")&&(u.style.visibility=String(t)?"hidden":"visible"))},u.prototype.__oGetBoutonCalendrier=function(){var i=this.voGetHTMLElement(),t;return i&&(t=i.nextSibling,n.NSUtil.bNodeEstType(t,"div"))?t:null},u}
4(t.CChampRebondFrameworkV1SansType);t.CChampSaisie=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.vSetProprieteEtat=function(i){var u=this,r;t.prototype.vSetProprieteEtat.call(this,i);r=this.voGetHTMLElement();r&&n.NSUtil.bForEach(r.getElementsByTagName("a"),function(n){return u._SetEtatSousElement(n,"href",i,!0),!0})},i}(t.CChampSimpleSansType);t.CChampSiteMapXxx=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){var e=this,f;if(n.NSProprietes.bEstProprieteJS(r,u)){f=function(){return e.voGetHTMLElement()};switch(u){case 56:return t.oGetProprieteElement(function(n){return n.title},function(n,t){n.title=String(t)},16,r,u,f);case 57:case 58:return this.__xiGetProprieteLibelle(u)}}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.voGetHTMLElement=function(){var e=this.vsGetAliasHTML(),o="tt"+e,t=document.getElementById(o),u,r,f;return t?(u=t.getElementsByClassName(o)[0],u)?u:(r=t.firstElementChild,n.NSUtil.bNodeEstType(r,"div")&&n.NSUtil.bAvecClasse(r,"wbcol"+e)&&(f=r.firstElementChild,n.NSUtil.bNodeEstType(f,"div")))?f:t:i.prototype.voGetHTMLElement.call(this)},r.prototype.__xiGetProprieteLibelle=function(n){return this._xiGetProprieteLibelle(this.voGetHTMLElement(),n)},r}(t.CObjet),u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype._vGetProprieteBulle=function(){var i=this.__iGetChampTableZRNavigateurFrameworkV1();return i?n.NSValues.iAny2RValue(i._oGetProprieteColonneAvecIndice(i._nGetColonneSelonAlias(this.m_tParent.sGetAlias()),this.m_nIndiceWL-1,this.m_nIndiceWL-1,39,!1)||""):t.prototype._vGetProprieteBulle.call(this)},i.prototype._vSetProprieteBulle=function(n){var t=this.__iGetChampTableZRNavigateurFrameworkV1();if(t){t.tabGetLigneSet(39,this.m_nIndiceWL)[t._nGetColonneSelonAlias(this.m_tParent.sGetAlias())]=n;return}return this._vSetProprieteBulle(n)},i.prototype.__iGetChampTableZRNavigateurFrameworkV1=function(){return this.m_tParent.iGetChampTableZRNavigateurFrameworkV1()},i}(t.CSousChamp),f=function(i){function r(n,r,u){var f=i.call(this,n,r)||this;return f.m_oTableZRParent=(u===null||u===void 0?void 0:u.m_sAliasTableZR)?new t.CTableZRParent(u.m_sAliasTableZR):null,f}return __extends(r,i),r.prototype.viGetSousElement=function(t,i){return n.NSUtil.iChaineSousElement(new u(this,n.NSUtil.nGetEntier(i[t]),54,!0),t+1,i)},r.prototype.iGetChampTableZRNavigateurFrameworkV1=function(){var n,t;if((t=(n=this.m_oTableZRParent)===null||n===void 0?void 0:n.oGetTableZRParent())!==null&&t!==void 0)return t.iGetAsChampTableZRNavigateurFrameworkV1()},r}(r),i;t.CColonneTable=f;i=function(i){function r(t){return i.call(this,t,n.NSUtil.nGetEntier,!1,8)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){var f=this,e=function(){var n=$("#con-"+f.vsGetAliasHTML()).closest(".wbGalerie");return n.length?n:null};if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 60:return t.oGetProprieteElement(function(t){return n.NSUtil.nGetEntier(t.wbGetDureeAnimation()/10)},function(t,i){return t.wbSetDureeAnimation(n.NSUtil.dGetReel(i,NaN,1)*10)},8,r,u,e)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.iGetAsChampTableZRNavigateurFrameworkV1=function(){var n=this.m_iChampFrameworkV1;return n instanceof WDTableZRNavigateur?n:undefined},r}(t.CChampRebondFrameworkV1);t.CChampTable=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){return undefined!==window.WL&&undefined!==window.WL.MonChampHote}function l(n){r=JSON.parse(n)}function f(t){function i(n){function r(n){return undefined!==n.m_tabDimensions}function u(n){return undefined!==n.m_sNom}function f(n){return undefined!==n.m_eComposante}var t={wl:n.m_eTypeWL};return r(n)&&(t.dimensions=n.m_tabDimensions,t.type_sous_element=i(n.m_oTypeSousElement)),u(n)&&(t.nom=n.m_sNom),f(n)&&(t.composante=n.m_eComposante,t.dino=n.m_eDino),t}return JSON.stringify(t.map(function(t){if(undefined===t)return{type:{wl:0},value:undefined};var r=n.NSValues.iAny2RValue(t);return{type:r.voJSONDebogueurType?i(r.voJSONDebogueurType()):{wl:r.veGetTypeWL()},value:r.toJSON()}}))}function e(t){return JSON.parse(t).map(function(t){function i(t){function u(n){return undefined!==n.dimensions}function f(n){return undefined!==n.nom}function e(n){return undefined!==n.composante}var r;return r=u(t)?{m_eWL:t.wl,m_oTypeWLSiTableau:new n.NSTypes.CDescriptionTableau(i(t.type_sous_element),t.dimensions,2,0)}
4:f(t)?{m_eWL:t.wl,m_sNomSiTypeDeclare:t.nom}:e(t)?{m_eWL:t.wl,m_oTypeWLSiDINO:{m_eComposante:t.composante,m_eDino:t.dino}}:t.wl,n.NSTypes.iGetDescription(r,!1)}if(0===t.type.wl)return undefined;var r=i(t.type);return r.viCreationCopie(t.value,0,!1)})}function a(t,i){var r=n.NSUtil.pfGetTraitementDirect(n.NSUtil.ms_sAliasPage,[t,n.NSUtil.sGetFormatLogique(t)]),u,o;if(r)return u=e(i),o=clWDUtil.ThrowExceptionsWL(function(){return r.apply(window,u)}),f([o]);throw new n.CErreur(605,t);}function v(n,t){if(i.hasOwnProperty(n)){var r=i[n];delete i[n];r(e(t)[0])}}var r,i,o,s,h,c;t.bWDW=u;t.SetDeclaration=function(i){t.SetDeclaration=function(){};u()&&n.oCatchErreurs(function(){return window.WL.MonChampHote(i,"NSPCS.NSWDW.GetDeclaration")})};r={};t.GetDeclaration=l;t.sAppelFonction=a;i={};o=0;t.RetourAsynchrone=v;s=Symbol("MonChampH\u00f4te");h=function(i){function f(){return i!==null&&i.apply(this,arguments)||this}return __extends(f,i),f.prototype.valueOf=function(){n.xThrow603(1,1)},f.prototype.viGetMembre2=function(t,i,r,u){switch(u){case 0:case 3:return new c(t);default:n.xThrow603(t)}},f.prototype.veGetTypeWL=function(){return 107},f.prototype.viGetAsInterfacePossible=function(){return this},f.prototype.vxiVerifieInterface=function(t){if(r.implemente&&-1!=r.implemente.indexOf(t.m_sNomLogique))return this;throw new n.CErreur(1102,t.m_sNomUtilisateur);},f.prototype.voGetValeurPourInterface=function(){return s},f.prototype.bOperateurEgal=function(i){if(i instanceof t.CMonChampHote)return!0;var r=n.NSValues.oAny2Natif(i);return null===r?!u():!1},f}(n.CIRValue);t.CMonChampHote=h;c=function(t){function r(n){var i=t.call(this)||this;return i.m_sNomUtilisateur=n,i}return __extends(r,t),r.prototype.valueOf=function(){n.xThrow603(this.m_sNomUtilisateur)},r.prototype.veGetTypeWL=function(){return 61},r.prototype.viAppelFonction=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return this.viAppelFonctionAsynchrone.apply(this,i),n.NSValues.iAny2RValue(undefined)},r.prototype.viAppelFonctionAsynchrone=function(){for(var e=this,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(undefined===window.WL||undefined===window.WL.ExecuteAsync)throw new n.CErreur(605,this.m_sNomUtilisateur);var u=String(o++),s=new Promise(function(n){i[u]=n}),h=f(r);return n.oCatchErreurs(function(){return window.WL.ExecuteAsync(e.m_sNomUtilisateur,h,"NSPCS.NSWDW.RetourAsynchrone",u)}),s},r.prototype.vSetValeur=function(t,i,r){return this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(t){return n.NSUtil.xVerifieAffectationAucune(t)},r}(n.CIRValue)})(t=n.NSWDW||(n.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.