| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nimes/components/com_comprofiler/js/jquery/ |
Upload File : |
(function(r){if(typeof define==="function"&&define.amd){define(["jquery"],r)}else if(typeof module==="object"&&module.exports){module.exports=function(e,t){if(typeof t==="undefined"){if(typeof window!=="undefined"){t=require("jquery")}else{t=require("jquery")(e)}}r(t);return t}}else{r(jQuery)}})(function(q){"use strict";var p=/\r?\n/g;var F={};F.fileapi=q('<input type="file">').get(0).files!==undefined;F.formdata=typeof window.FormData!=="undefined";var _=!!q.fn.prop;q.fn.attr2=function(){if(!_){return this.attr.apply(this,arguments)}var e=this.prop.apply(this,arguments);if(e&&e.jquery||typeof e==="string"){return e}return this.attr.apply(this,arguments)};q.fn.ajaxSubmit=function(M,e,t,r){if(!this.length){N("ajaxSubmit: skipping submit process - no element selected");return this}var O,a,i,n,o,X=this;if(typeof M==="function"){M={success:M}}else if(typeof M==="string"||M===false&&arguments.length>0){M={url:M,data:e,dataType:t};if(typeof r==="function"){M.success=r}}else if(typeof M==="undefined"){M={}}O=M.method||M.type||this.attr2("method");a=M.url||this.attr2("action");i=typeof a==="string"?q.trim(a):"";i=i||window.location.href||"";if(i){i=(i.match(/^([^#]+)/)||[])[1]}n=/(MSIE|Trident)/.test(navigator.userAgent||"");o=n&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank";M=q.extend(true,{url:i,success:q.ajaxSettings.success,type:O||q.ajaxSettings.type,iframeSrc:o},M);var s={};this.trigger("form-pre-serialize",[this,M,s]);if(s.veto){N("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(M.beforeSerialize&&M.beforeSerialize(this,M)===false){N("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var f=M.traditional;if(typeof f==="undefined"){f=q.ajaxSettings.traditional}var C=[];var u,l=this.formToArray(M.semantic,C,M.filtering);if(M.data){var c=q.isFunction(M.data)?M.data(l):M.data;M.extraData=c;u=q.param(c,f)}if(M.beforeSubmit&&M.beforeSubmit(l,this,M)===false){N("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[l,this,M,s]);if(s.veto){N("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var d=q.param(l,f);if(u){d=d?d+"&"+u:u}if(M.type.toUpperCase()==="GET"){M.url+=(M.url.indexOf("?")>=0?"&":"?")+d;M.data=null}else{M.data=d}var p=[];if(M.resetForm){p.push(function(){X.resetForm()})}if(M.clearForm){p.push(function(){X.clearForm(M.includeHidden)})}if(!M.dataType&&M.target){var m=M.success||function(){};p.push(function(e,t,r){var a=arguments,i=M.replaceTarget?"replaceWith":"html";q(M.target)[i](e).each(function(){m.apply(this,a)})})}else if(M.success){if(q.isArray(M.success)){q.merge(p,M.success)}else{p.push(M.success)}}M.success=function(e,t,r){var a=M.context||this;for(var i=0,n=p.length;i<n;i++){p[i].apply(a,[e,t,r||X,X])}};if(M.error){var h=M.error;M.error=function(e,t,r){var a=M.context||this;h.apply(a,[e,t,r,X])}}if(M.complete){var v=M.complete;M.complete=function(e,t){var r=M.context||this;v.apply(r,[e,t,X])}}var g=q("input[type=file]:enabled",this).filter(function(){return q(this).val()!==""});var y=g.length>0;var x="multipart/form-data";var b=X.attr("enctype")===x||X.attr("encoding")===x;var T=F.fileapi&&F.formdata;N("fileAPI :"+T);var j=(y||b)&&!T;var w;if(M.iframe!==false&&(M.iframe||j)){if(M.closeKeepAlive){q.get(M.closeKeepAlive,function(){w=A(l)})}else{w=A(l)}}else if((y||b)&&T){w=D(l)}else{w=q.ajax(M)}X.removeData("jqxhr").data("jqxhr",w);for(var S=0;S<C.length;S++){C[S]=null}this.trigger("form-submit-notify",[this,M]);return this;function k(e){var t=q.param(e,M.traditional).split("&");var r=t.length;var a=[];var i,n;for(i=0;i<r;i++){t[i]=t[i].replace(/\+/g," ");n=t[i].split("=");a.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])])}return a}function D(e){var r=new FormData;for(var t=0;t<e.length;t++){r.append(e[t].name,e[t].value)}if(M.extraData){var a=k(M.extraData);for(t=0;t<a.length;t++){if(a[t]){r.append(a[t][0],a[t][1])}}}M.data=null;var i=q.extend(true,{},q.ajaxSettings,M,{contentType:false,processData:false,cache:false,type:O||"POST"});if(M.uploadProgress){i.xhr=function(){var e=q.ajaxSettings.xhr();if(e.upload){e.upload.addEventListener("progress",function(e){var t=0;var r=e.loaded||e.position;var a=e.total;if(e.lengthComputable){t=Math.ceil(r/a*100)}M.uploadProgress(e,r,a,t)},false)}return e}}i.data=null;var n=i.beforeSend;i.beforeSend=function(e,t){if(M.formData){t.data=M.formData}else{t.data=r}if(n){n.call(this,e,t)}};return q.ajax(i)}function A(e){var f=X[0],t,r,l,c,u,d,p,m,a,i,h,v;var g=q.Deferred();g.abort=function(e){m.abort(e)};if(e){for(r=0;r<C.length;r++){t=q(C[r]);if(_){t.prop("disabled",false)}else{t.removeAttr("disabled")}}}l=q.extend(true,{},q.ajaxSettings,M);l.context=l.context||l;u="jqFormIO"+(new Date).getTime();var y=f.ownerDocument;var x=X.closest("body");if(l.iframeTarget){d=q(l.iframeTarget,y);i=d.attr2("name");if(!i){d.attr2("name",u)}else{u=i}}else{d=q('<iframe name="'+u+'" src="'+l.iframeSrc+'" />',y);d.css({position:"absolute",top:"-1000px",left:"-1000px"})}p=d[0];m={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t=e==="timeout"?"timeout":"aborted";N("aborting upload... "+t);this.aborted=1;try{if(p.contentWindow.document.execCommand){p.contentWindow.document.execCommand("Stop")}}catch(e){}d.attr("src",l.iframeSrc);m.error=t;if(l.error){l.error.call(l.context,m,t,e)}if(c){q.event.trigger("ajaxError",[m,l,t])}if(l.complete){l.complete.call(l.context,m,t)}}};c=l.global;if(c&&q.active++===0){q.event.trigger("ajaxStart")}if(c){q.event.trigger("ajaxSend",[m,l])}if(l.beforeSend&&l.beforeSend.call(l.context,m,l)===false){if(l.global){q.active--}g.reject();return g}if(m.aborted){g.reject();return g}a=f.clk;if(a){i=a.name;if(i&&!a.disabled){l.extraData=l.extraData||{};l.extraData[i]=a.value;if(a.type==="image"){l.extraData[i+".x"]=f.clk_x;l.extraData[i+".y"]=f.clk_y}}}var b=1;var T=2;function j(t){var r=null;try{if(t.contentWindow){r=t.contentWindow.document}}catch(e){N("cannot get iframe.contentWindow document: "+e)}if(r){return r}try{r=t.contentDocument?t.contentDocument:t.document}catch(e){N("cannot get iframe.contentDocument: "+e);r=t.document}return r}var n=q("meta[name=csrf-token]").attr("content");var o=q("meta[name=csrf-param]").attr("content");if(o&&n){l.extraData=l.extraData||{};l.extraData[o]=n}function s(){var e=X.attr2("target"),t=X.attr2("action"),r="multipart/form-data",a=X.attr("enctype")||X.attr("encoding")||r;f.setAttribute("target",u);if(!O||/post/i.test(O)){f.setAttribute("method","POST")}if(t!==l.url){f.setAttribute("action",l.url)}if(!l.skipEncodingOverride&&(!O||/post/i.test(O))){X.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(l.timeout){v=setTimeout(function(){h=true;A(b)},l.timeout)}function i(){try{var e=j(p).readyState;N("state = "+e);if(e&&e.toLowerCase()==="uninitialized"){setTimeout(i,50)}}catch(e){N("Server abort: ",e," (",e.name,")");A(T);if(v){clearTimeout(v)}v=undefined}}var n=[];try{if(l.extraData){for(var o in l.extraData){if(l.extraData.hasOwnProperty(o)){if(q.isPlainObject(l.extraData[o])&&l.extraData[o].hasOwnProperty("name")&&l.extraData[o].hasOwnProperty("value")){n.push(q('<input type="hidden" name="'+l.extraData[o].name+'">',y).val(l.extraData[o].value).appendTo(f)[0])}else{n.push(q('<input type="hidden" name="'+o+'">',y).val(l.extraData[o]).appendTo(f)[0])}}}}if(!l.iframeTarget){d.appendTo(x)}if(p.attachEvent){p.attachEvent("onload",A)}else{p.addEventListener("load",A,false)}setTimeout(i,15);try{f.submit()}catch(e){var s=document.createElement("form").submit;s.apply(f)}}finally{f.setAttribute("action",t);f.setAttribute("enctype",a);if(e){f.setAttribute("target",e)}else{X.removeAttr("target")}q(n).remove()}}if(l.forceSync){s()}else{setTimeout(s,10)}var w,S,k=50,D;function A(e){if(m.aborted||D){return}S=j(p);if(!S){N("cannot access response document");e=T}if(e===b&&m){m.abort("timeout");g.reject(m,"timeout");return}if(e===T&&m){m.abort("server abort");g.reject(m,"error","server abort");return}if(!S||S.location.href===l.iframeSrc){if(!h){return}}if(p.detachEvent){p.detachEvent("onload",A)}else{p.removeEventListener("load",A,false)}var t="success",r;try{if(h){throw"timeout"}var a=l.dataType==="xml"||S.XMLDocument||q.isXMLDoc(S);N("isXml="+a);if(!a&&window.opera&&(S.body===null||!S.body.innerHTML)){if(--k){N("requeing onLoad callback, DOM not available");setTimeout(A,250);return}}var i=S.body?S.body:S.documentElement;m.responseText=i?i.innerHTML:null;m.responseXML=S.XMLDocument?S.XMLDocument:S;if(a){l.dataType="xml"}m.getResponseHeader=function(e){var t={"content-type":l.dataType};return t[e.toLowerCase()]};if(i){m.status=Number(i.getAttribute("status"))||m.status;m.statusText=i.getAttribute("statusText")||m.statusText}var n=(l.dataType||"").toLowerCase();var o=/(json|script|text)/.test(n);if(o||l.textarea){var s=S.getElementsByTagName("textarea")[0];if(s){m.responseText=s.value;m.status=Number(s.getAttribute("status"))||m.status;m.statusText=s.getAttribute("statusText")||m.statusText}else if(o){var f=S.getElementsByTagName("pre")[0];var u=S.getElementsByTagName("body")[0];if(f){m.responseText=f.textContent?f.textContent:f.innerText}else if(u){m.responseText=u.textContent?u.textContent:u.innerText}}}else if(n==="xml"&&!m.responseXML&&m.responseText){m.responseXML=F(m.responseText)}try{w=E(m,n,l)}catch(e){t="parsererror";m.error=r=e||t}}catch(e){N("error caught: ",e);t="error";m.error=r=e||t}if(m.aborted){N("upload aborted");t=null}if(m.status){t=m.status>=200&&m.status<300||m.status===304?"success":"error"}if(t==="success"){if(l.success){l.success.call(l.context,w,"success",m)}g.resolve(m.responseText,"success",m);if(c){q.event.trigger("ajaxSuccess",[m,l])}}else if(t){if(typeof r==="undefined"){r=m.statusText}if(l.error){l.error.call(l.context,m,t,r)}g.reject(m,"error",r);if(c){q.event.trigger("ajaxError",[m,l,r])}}if(c){q.event.trigger("ajaxComplete",[m,l])}if(c&&!--q.active){q.event.trigger("ajaxStop")}if(l.complete){l.complete.call(l.context,m,t)}D=true;if(l.timeout){clearTimeout(v)}setTimeout(function(){if(!l.iframeTarget){d.remove()}else{d.attr("src",l.iframeSrc)}m.responseXML=null},100)}var F=q.parseXML||function(e,t){if(window.ActiveXObject){t=new ActiveXObject("Microsoft.XMLDOM");t.async="false";t.loadXML(e)}else{t=(new DOMParser).parseFromString(e,"text/xml")}return t&&t.documentElement&&t.documentElement.nodeName!=="parsererror"?t:null};var L=q.parseJSON||function(e){return window["eval"]("("+e+")")};var E=function(e,t,r){var a=e.getResponseHeader("content-type")||"",i=(t==="xml"||!t)&&a.indexOf("xml")>=0,n=i?e.responseXML:e.responseText;if(i&&n.documentElement.nodeName==="parsererror"){if(q.error){q.error("parsererror")}}if(r&&r.dataFilter){n=r.dataFilter(n,t)}if(typeof n==="string"){if((t==="json"||!t)&&a.indexOf("json")>=0){n=L(n)}else if((t==="script"||!t)&&a.indexOf("javascript")>=0){q.globalEval(n)}}return n};return g}};q.fn.ajaxForm=function(e,t,r,a){if(typeof e==="string"||e===false&&arguments.length>0){e={url:e,data:t,dataType:r};if(typeof a==="function"){e.success=a}}e=e||{};e.delegation=e.delegation&&q.isFunction(q.fn.on);if(!e.delegation&&this.length===0){var i={s:this.selector,c:this.context};if(!q.isReady&&i.s){N("DOM not ready, queuing ajaxForm");q(function(){q(i.s,i.c).ajaxForm(e)});return this}N("terminating; zero elements found by selector"+(q.isReady?"":" (DOM not ready)"));return this}if(e.delegation){q(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,o).on("submit.form-plugin",this.selector,e,n).on("click.form-plugin",this.selector,e,o);return this}if(e.beforeFormUnbind){e.beforeFormUnbind(this,e)}return this.ajaxFormUnbind().on("submit.form-plugin",e,n).on("click.form-plugin",e,o)};function n(e){var t=e.data;if(!e.isDefaultPrevented()){e.preventDefault();q(e.target).closest("form").ajaxSubmit(t)}}function o(e){var t=e.target;var r=q(t);if(!r.is("[type=submit],[type=image]")){var a=r.closest("[type=submit]");if(a.length===0){return}t=a[0]}var i=t.form;i.clk=t;if(t.type==="image"){if(typeof e.offsetX!=="undefined"){i.clk_x=e.offsetX;i.clk_y=e.offsetY}else if(typeof q.fn.offset==="function"){var n=r.offset();i.clk_x=e.pageX-n.left;i.clk_y=e.pageY-n.top}else{i.clk_x=e.pageX-t.offsetLeft;i.clk_y=e.pageY-t.offsetTop}}setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)}q.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")};q.fn.formToArray=function(e,t,r){var a=[];if(this.length===0){return a}var i=this[0];var n=this.attr("id");var o=e||typeof i.elements==="undefined"?i.getElementsByTagName("*"):i.elements;var s;if(o){o=q.makeArray(o)}if(n&&(e||/(Edge|Trident)\//.test(navigator.userAgent))){s=q(':input[form="'+n+'"]').get();if(s.length){o=(o||[]).concat(s)}}if(!o||!o.length){return a}if(q.isFunction(r)){o=q.map(o,r)}var f,u,l,c,d,p,m;for(f=0,p=o.length;f<p;f++){d=o[f];l=d.name;if(!l||d.disabled){continue}if(e&&i.clk&&d.type==="image"){if(i.clk===d){a.push({name:l,value:q(d).val(),type:d.type});a.push({name:l+".x",value:i.clk_x},{name:l+".y",value:i.clk_y})}continue}c=q.fieldValue(d,true);if(c&&c.constructor===Array){if(t){t.push(d)}for(u=0,m=c.length;u<m;u++){a.push({name:l,value:c[u]})}}else if(F.fileapi&&d.type==="file"){if(t){t.push(d)}var h=d.files;if(h.length){for(u=0;u<h.length;u++){a.push({name:l,value:h[u],type:d.type})}}else{a.push({name:l,value:"",type:d.type})}}else if(c!==null&&typeof c!=="undefined"){if(t){t.push(d)}a.push({name:l,value:c,type:d.type,required:d.required})}}if(!e&&i.clk){var v=q(i.clk),g=v[0];l=g.name;if(l&&!g.disabled&&g.type==="image"){a.push({name:l,value:v.val()});a.push({name:l+".x",value:i.clk_x},{name:l+".y",value:i.clk_y})}}return a};q.fn.formSerialize=function(e){return q.param(this.formToArray(e))};q.fn.fieldSerialize=function(i){var n=[];this.each(function(){var e=this.name;if(!e){return}var t=q.fieldValue(this,i);if(t&&t.constructor===Array){for(var r=0,a=t.length;r<a;r++){n.push({name:e,value:t[r]})}}else if(t!==null&&typeof t!=="undefined"){n.push({name:this.name,value:t})}});return q.param(n)};q.fn.fieldValue=function(e){for(var t=[],r=0,a=this.length;r<a;r++){var i=this[r];var n=q.fieldValue(i,e);if(n===null||typeof n==="undefined"||n.constructor===Array&&!n.length){continue}if(n.constructor===Array){q.merge(t,n)}else{t.push(n)}}return t};q.fieldValue=function(e,t){var r=e.name,a=e.type,i=e.tagName.toLowerCase();if(typeof t==="undefined"){t=true}if(t&&(!r||e.disabled||a==="reset"||a==="button"||(a==="checkbox"||a==="radio")&&!e.checked||(a==="submit"||a==="image")&&e.form&&e.form.clk!==e||i==="select"&&e.selectedIndex===-1)){return null}if(i==="select"){var n=e.selectedIndex;if(n<0){return null}var o=[],s=e.options;var f=a==="select-one";var u=f?n+1:s.length;for(var l=f?n:0;l<u;l++){var c=s[l];if(c.selected&&!c.disabled){var d=c.value;if(!d){d=c.attributes&&c.attributes.value&&!c.attributes.value.specified?c.text:c.value}if(f){return d}o.push(d)}}return o}return q(e).val().replace(p,"\r\n")};q.fn.clearForm=function(e){return this.each(function(){q("input,select,textarea",this).clearFields(e)})};q.fn.clearFields=q.fn.clearInputs=function(r){var a=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();if(a.test(e)||t==="textarea"){this.value=""}else if(e==="checkbox"||e==="radio"){this.checked=false}else if(t==="select"){this.selectedIndex=-1}else if(e==="file"){if(/MSIE/.test(navigator.userAgent)){q(this).replaceWith(q(this).clone(true))}else{q(this).val("")}}else if(r){if(r===true&&/hidden/.test(e)||typeof r==="string"&&q(this).is(r)){this.value=""}}})};q.fn.resetForm=function(){return this.each(function(){var t=q(this);var e=this.tagName.toLowerCase();switch(e){case"input":this.checked=this.defaultChecked;case"textarea":this.value=this.defaultValue;return true;case"option":case"optgroup":var r=t.parents("select");if(r.length&&r[0].multiple){if(e==="option"){this.selected=this.defaultSelected}else{t.find("option").resetForm()}}else{r.resetForm()}return true;case"select":t.find("option").each(function(e){this.selected=this.defaultSelected;if(this.defaultSelected&&!t[0].multiple){t[0].selectedIndex=e;return false}});return true;case"label":var a=q(t.attr("for"));var i=t.find("input,select,textarea");if(a[0]){i.unshift(a[0])}i.resetForm();return true;case"form":if(typeof this.reset==="function"||typeof this.reset==="object"&&!this.reset.nodeType){this.reset()}return true;default:t.find("form,input,label,select,textarea").resetForm();return true}})};q.fn.enable=function(e){if(typeof e==="undefined"){e=true}return this.each(function(){this.disabled=!e})};q.fn.selected=function(r){if(typeof r==="undefined"){r=true}return this.each(function(){var e=this.type;if(e==="checkbox"||e==="radio"){this.checked=r}else if(this.tagName.toLowerCase()==="option"){var t=q(this).parent("select");if(r&&t[0]&&t[0].type==="select-one"){t.find("option").selected(false)}this.selected=r}})};q.fn.ajaxSubmit.debug=false;function N(){if(!q.fn.ajaxSubmit.debug){return}var e="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(e)}else if(window.opera&&window.opera.postError){window.opera.postError(e)}}});