1jQuery((function(e){e("#btnConnexionCompte").exists((function(){Edechet.validform({btn:"#btnConnexionCompte",form:"#connexion",zone:"body",url:"/authentification/connexion",infos:"#noticeErreurConnexion",callback:function(t){e(".zoneTexteForm").hide(),setTimeout((function(){window.location.href="/authentification"}),2e3)},callbackKo:function(t){e("#noticeErreurPassword").removeClass("notice-success").addClass("notice-error")}})})),e("#btnRecuperationCompte").exists((function(){Edechet.validform({btn:"#btnRecuperationCompte",form:"#recupCompte",zone:"body",url:"/authentification/recuperation-compte",callback:function(t){t.hasOwnProperty("reset")&&t.reset&&(e("#noticeErreur").addClass("notice-success").removeClass("notice-error"),e("#recupCompte").prop("hidden",!0))}})})),e("#btnMotPassePerdu").exists((function(){Edechet.validform({btn:"#btnMotPassePerdu",form:"#recupCompte",zone:"body",url:"/authentification/change-mot-passe",callback:function(t){e("#noticeErreur").removeClass("notice-error").addClass("notice-success"),e(".zoneTexteForm").hide();var o=t&&t.redirect?t.redirect:"/espace-personnel/synthese";setTimeout((function(){window.location.href=o}),2e3)},callbackKo:function(t){e("#noticeErreur").removeClass("notice-error-success").addClass("notice-error")}})})),e("#btnRandomPassword").on("click",(function(t){t.stopPropagation();var o=e(this);Edechet.postAjaxData({url:"/authentification-personnel/generatePassword",block:"#page",callback:function(t){t.password&&e("#"+o.data("target")).attr("type","text").val(t.password).trigger("focus")}})}));var t=e("#btnCreationCompte"),o=e("#btnCreationCompteCoord"),n=e("#country_id"),r=e('input[name="type_structure"]'),i=e("#type_structure_zone"),c=e("#company_id_zone"),a=e("input#company_id:not([disabled]),input[name='company_id']:not([disabled])"),d=!0,p=e("select#invoice_sendtype"),s=e("#invoice_sendtype_zone"),l=e(".authenticationFields"),u=e(".contactUs");function h(d=null){t.length?COUNTRIESFR.includes(n.val())?(u.prop("hidden",!0),i.prop("hidden",!1),parseInt(r.filter(":checked").val())>0?(c.prop("hidden",!1),d!=a&&a.val().length&&a.trigger("keyup"),a.data("valid")?(l.prop("hidden",!1),e("#email").trigger("focus")):l.prop("hidden",!0)):(c.prop("hidden",!0),l.prop("hidden",!0))):(i.prop("hidden",!0),l.prop("hidden",!0),c.prop("hidden",!0),u.prop("hidden",!1)):o.length&&(typeStructureVal=parseInt(r.filter(":checked").val()),1==typeStructureVal?(c.prop("hidden",!1),p.prop("disabled",!1),p.val("1"),s.prop("hidden",!1),Ecologic.uiselectRefresh(p),d!=a&&a.val().length&&a.trigger("keyup")):2==typeStructureVal?(c.prop("hidden",!1),s.prop("hidden",!0),p.prop("disabled",!0),Ecologic.uiselectDisabled(p),p.val("3"),Ecologic.uiselectRefresh(p),d!=a&&a.val().length&&a.trigger("keyup")):c.prop("hidden",!0))}n.exists((function(){Edechet.setCountrySelect({selector:"#country_id",appendTo:"#creationCompte"}),n.on("change",(function(e){e.preventDefault(),h(),r.first().trigger("focus")}))})),r.on("change",(function(e){e.preventDefault(),a.data("valid",!1),h(),a.trigger("focus")})),a.exists((function(){var t=e("#siret_establishment"),o=e("#siret_error"),n=e("#siret_error>p");a.on("keyup",(function(i){var c=e(this),p=c.val().replace(/\s/g,"").length,s=!0,l=c.data("enablesiren"),u=l?"SIRET / SIREN":"SIRET";d=!1,""==c.val()?(t.prop("hidden",!0),n.html("Entrer un "+u),o.prop("hidden",!1)):"2"!=r.filter(":checked").val()||/^[12]/.test(c.val())?"1"!=r.filter(":checked").val()||/^[03456789]/.test(c.val())?l&&p>3&&p<10?(s=!1,Ecologic.delay((function(e){Edechet.getSiren(c,(function(e,t){c.data("valid",e),h(a)})),UIkit.drop("#company_id_drop").show()}),c.attr("id")+"."+c.attr("name"))()):c.val().length>3?(s=!1,Ecologic.delay((function(e){Edechet.getSiret(c,(function(e,t){c.data("valid",e),h(a)})),UIkit.drop("#company_id_drop").show()}),c.attr("id")+"."+c.attr("name"))()):(t.prop("hidden",!0),n.html("Entrer un "+u),o.prop("hidden",!1)):(t.prop("hidden",!0),n.html(u+" invalide pour une société"),o.prop("hidden",!1)):(t.prop("hidden",!0),n.html(u+" invalide pour une administration"),o.prop("hidden",!1)),s&&UIkit.drop("#company_id_drop").show()})),UIkit.util.on(document,"beforeshow","#company_id_drop",(function(e){d&&e.preventDefault()}))})),t.exists((function(){Edechet.validform({btn:"#btnCreationCompte",form:"#creationCompte",zone:"body",url:"/authentification/creation",infos:"#noticeErreurNouveau",callbackKo:function(t){e("#noticeErreurNouveau").removeClass("notice-success").addClass("notice-error")}}),h(),n.trigger("focus")})),o.exists((function(){Edechet.setCountrySelect({selector:"#hq_country_id",appendTo:"#creationCompte"}),Edechet.setCountrySelect({selector:"#invoice_country_id",appendTo:"#creationCompte"}),Edechet.setCountrySelect({selector:"#operation_country_id",appendTo:"#creationCompte"}),e("#po_required").on("selectmenuchange",(function(t){t.preventDefault(),poAttachment=e("#po_attachment_required"),"1"==e(this).val()?poAttachment.prop("disabled",!1):poAttachment.prop("disabled",!0),Ecologic.uiselectRefresh(poAttachment)})),Edechet.validform({btn:"#btnCreationCompteCoord",form:"#creationCompte",zone:"body",url:"/creation-compte/coordonnees"}),a&&a.val().length&&a.trigger("keyup")}))}));
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.