/*! For license information please see add_forge_now.be14507bc77d00485525.js.LICENSE.txt */
!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define([],t):"object"==typeofexports?exports.swh=t():(e.swh=e.swh||{},e.swh.add_forge_now=t())}(self,(function(){returnfunction(){var__webpack_modules__={87757:function(e,t,r){e.exports=r(35666)},86515:function(e,t,r){"use strict";r.d(t,{XC:function(){returnn}});varn=(0,r(59537).TT)("img/swh-spinner.gif")},59537:function(e,t,r){"use strict";r.d(t,{DK:function(){returna},Jp:function(){returnc},TT:function(){returni},_3:function(){returnd},e_:function(){returns},mQ:function(){returnu},ry:function(){returno}});r(87757);varn=r(31955);functiono(e){if(!e.ok)throwe;returne}functiona(e,t){varr="";try{varn=JSON.parse(e.reason);Object.entries(n).forEach((function(e,t){varn=e[0],o=e[1][0];r+="\n"+n+": "+o}))}catch(t){r=e.reason}returnr?"Error: "+r:t}functioni(e){return"/static/"+e}functions(e,t,r){returnvoid0===t&&(t={}),void0===r&&(r=null),t["X-CSRFToken"]=n.Z.get("csrftoken"),fetch(e,{credentials:"include",headers:t,method:"POST",body:r})}functionu(e,t){void0===t&&(t=[]);varr=null,n=!0;try{r=newURL(e)}catch(e){n=!1}returnn&&t.length&&(n=void0!==t.find((function(e){returne===r.protocol}))),n?r:null}functionc(e){returnnewDate(e).toLocaleString()}functiond(e,t,r,n){if(void0===r&&(r=!1),void0===n&&(n=""),"display"===t&&e){varo=encodeURI(e);n||(n=o);vara="";returnr&&(a='target="_blank" rel="noopener noreferrer"'),'<a href="'+o+'" '+a+">"+n+"</a>"}returne}},27931:function(e,t,r){"use strict";r.d(t,{Br:function(){return_},Tl:function(){returnp},xE:function(){returnf}});varn,o=r(15861),a=r(87757),i=r.n(a),s=r(86515),u=r(59537),c=r(39449),d="swh-add-forge-user-filter",l=r.n(c)()({inputId:d,checked:!0});functionp(){$(document).ready((function(){$("#requestCreateForm").submit(function(){vare=(0,o.Z)(i().mark((functione(t){varr,o,a;returni().wrap((function(e){for(;;)switch(e.prev=e.next){case0:returnt.preventDefault(),e.prev=1,e.next=4,(0,u.e_)($(this).attr("action"),{"Content-Type":"application/x-www-form-urlencoded"},$(this).serialize());case4:r=e.sent,(0,u.ry)(r),$("#userMessageDetail").empty(),$("#userMessage").text("Your request has been submitted"),$("#userMessage").removeClass("badge-danger"),$("#userMessage").addClass("badge-success"),n.draw(),e.next=23;break;case13:returne.prev=13,e.t0=e.catch(1),$("#userMessageDetail").empty(),e.next=18,e.t0.json();case18:a=e.sent,o=409===e.t0.status?a:(0,u.DK)(a,"An unknown error occurred during the request creation"),$("#userMessage").text(o),$("#userMessage").removeClass("badge-success"),$("#userMessage").addClass("badge-danger");case23:case"end":returne.stop()}}),e,this,[[1,13]])})));returnfunction(t){returne.apply(this,arguments)}}()),f()}))}functionf(){n=$("#add-forge-request-browse").on("error.dt",(function(e,t,r,n){$("#add-forge-browse-request-error").text(n)})).DataTable({serverSide:!0,processing:!0,language:{processing:'<img src="'+s.XC+'"></img>'},retrieve:!0,searching:!0,dom:'<"row"<"col-sm-3"l><"col-sm-6 text-left user-requests-filter"><"col-sm-3"f>><"row"<"col-sm-12"tr>><"row"<"col-sm-5"i><"col-sm-7"p>>',ajax:{url:Urls.add_forge_request_list_datatables(),data:function(e){vart=$("#"+d).prop("checked");swh.webapp.isUserLoggedIn()&&(void0===t||t)&&(e.user_requests_only="1")}},fnInitComplete:function(){swh.webapp.isUserLoggedIn()&&($("div.user-requests-filter").html(l),$("#"+d).on("change",(function(){n.draw()})))},columns:[{data:"submission_date",name:"submission_date",render:u.Jp},{data:"forge_type",name:"forge_type",render:$.fn.dataTable.render.text()},{data:"forge_url",name:"forge_url",render:function(e,t,r){varn=$.fn.dataTable.render.text().display(e);return(0,u._3)(n,t,!0)}},{data:"status",name:"status",render:function(e,t,r,n){returnswh.add_forge_now.formatRequestStatusName(e)}},{render:function(e,t,r){if("FIRST_ORIGIN_LOADED"===r.status){varn=$.fn.dataTable.render.text().display(r.forge_url),o=Urls.browse_search()+"?q="+encodeURIComponent(n);return'<a href="'+(o+="&with_visit=true&with_content=true")+'" target="_blank" rel="noopener noreferrer" class="swh-search-forge-origins" title="Search for origins listed from that forge"><i class="mdi mdi-magnify" aria-hidden="true"></i></a>'}return""}}],order:[[0,"desc"]]})}function_(e){vart="";(0,u.mQ)(e.value.trim(),["http:","https:"])||(t="The provided forge URL is not valid."),e.setCustomValidity(t)}},23120:function(e,t,r){"use strict";r.d(t,{f:function(){returns},y:function(){returnu}});varn=r(15861),o=r(87757),a=r.n(o),i=r(59537);functions(){u()}functionu(){returnc.apply(this,arguments)}functionc(){return(c=(0,n.Z)(a().mark((functione(){returna().wrap((function(e){for(;;)switch(e.prev=e.next){case0:$("#swh-add-forge-now-moderation-list").on("error.dt",(function(e,t,r,n){$("#swh-add-forge-now-moderation-list-error").text(n)})).DataTable({serverSide:!0,processing:!0,searching:!0,dom:'<<"d-flex justify-content-between align-items-center"f<"#list-exclude">l>rt<"bottom"ip>>',ajax:{url:Urls.add_forge_request_list_datatables()},columns:[{data:"id",name:"id",render:function(e,t,r,n){return"<a href="+Urls.add_forge_now_request_dashboard(e)+">"+e+"</a>"}},{data:"submission_date",name:"submission_date",render:i.Jp},{data:"forge_type",name:"forge_type",render:$.fn.dataTable.render.text()},{data:"forge_url",name:"forge_url",render:function(e,t,r){varn=$.fn.dataTable.render.text().display(e);return(0,i._3)(n,t,!0)}},{data:"last_moderator",name:"last_moderator",render:$.fn.dataTable.render.text()},{data:"last_modified_date",name:"last_modified_date",render:i.Jp},{data:"status",name:"status",render:function(e,t,r,n){returnswh.add_forge_now.formatRequestStatusName(e)}},{render:function(e,t,r){varn='<div class="d-flex">';if(n+='<a class="swh-forge-request-dashboard-link" href="'+Urls.add_forge_now_request_dashboard(r.id)+'" title="Go to request dashboard"><i class="mdi mdi-square-edit-outline" aria-hidden="true"></i></a>',"FIRST_ORIGIN_LOADED"===r.status){varo=$.fn.dataTable.render.text().display(r.forge_url),a=Urls.browse_search()+"?q="+encodeURIComponent(o);n+='<a href="'+(a+="&with_visit=true&with_content=true")+'" target="_blank" rel="noopener noreferrer" class="swh-search-forge-origins" title="Search for origins listed from that forge"><i class="mdi mdi-magnify" aria-hidden="true"></i></a>'}returnn+="</div>"}}],order:[[0,"desc"]]});case1:case"end":returne.stop()}}),e)})))).apply(this,arguments)}},39333:function(e,t,r){"use strict";r.d(t,{H:function(){returng},q:function(){returnp}});varn,o=r(15861),a=r(87757),i=r.n(a),s=r(59537),u=r(31878),c=r.n(u),d=r(92791),l=r.n(d);functionp(e,t){$(document).ready((function(){f(e,t),$("#contactForgeAdmin").click((function(e){vart,r,o,a,i;t=encodeURIComponent($("#contactForgeAdmin").attr("emailTo")),r=encodeURIComponent($("#contactForgeAdmin").attr("emailCc")),o=encodeURIComponent($("#contactForgeAdmin").attr("emailSubject")),a=encodeURIComponent(l()({forgeUrl:n.forge_url}).trim().replace(/\n/g,"\r\n")),(i=window.open("","_blank","",!0)).location.href="mailto:"+t+"?Cc="+r+"&Reply-To="+r+"&Subject="+o+"&body="+a,i.focus()})),$("#updateRequestForm").submit(function(){varr=(0,o.Z)(i().mark((functionr(n){varo;returni().wrap((function(r){for(;;)switch(r.prev=r.next){case0:returnn.preventDefault(),r.prev=1,r.next=4,(0,s.e_)($(this).attr("action"),{"Content-Type":"application/x-www-form-urlencoded"},$(this).serialize());case4:o=r.sent,(0,s.ry)(o),$("#userMessage").text("The request status has been updated "),$("#userMessage").removeClass("badge-danger"),$("#userMessage").addClass("badge-success"),f(e,t),r.next=17;break;case12:r.prev=12,r.t0=r.catch(1),$("#userMessage").text("Sorry; Updating the request failed"),$("#userMessage").removeClass("badge-success"),$("#userMessage").addClass("badge-danger");case17:case"end":returnr.stop()}}),r,this,[[1,12]])})));returnfunction(e){returnr.apply(this,arguments)}}())}))}functionf(e,t){return_.apply(this,arguments)}function_(){return(_=(0,o.Z)(i().mark((functione(t,r){varo,a;returni().wrap((function(e){for(;;)switch(e.prev=e.next){case0:returne.prev=0,e.next=3,fetch(Urls.api_1_add_forge_request_get(t));case3:returno=e.sent,(0,s.ry)(o),e.next=7,o.json();case7:a=e.sent,n=a.request,$("#requestStatus").text(swh.add_forge_now.formatRequestStatusName(n.status)),$("#requestType").text(n.forge_type),$("#requestURL").text(n.forge_url),$("#requestContactName").text(n.forge_contact_name),$("#requestContactConsent").text(n.submitter_forward_username),$("#requestContactEmail").text(n.forge_contact_email),$("#submitterMessage").text(n.forge_contact_comment),$("#updateComment").val(""),$("#contactForgeAdmin").attr("emailTo",n.forge_contact_email),$("#contactForgeAdmin").attr("emailCc",n.inbound_email_address),$("#contactForgeAdmin").attr("emailSubject","Software Heritage archival notification for "+n.forge_domain),h(a.history),g(n.status,r),e.next=32;break;case24:if(e.prev=24,e.t0=e.catch(0),!(e.t0instanceofResponse)){e.next=31;break}$("#fetchError").removeClass("d-none"),$("#requestDetails").addClass("d-none"),e.next=32;break;case31:throwe.t0;case32:case"end":returne.stop()}}),e,null,[[0,24]])})))).apply(this,arguments)}functionh(e){$("#requestHistory").children().remove(),e.forEach((function(e,t){varr=c()({event:e,index:t,getHumanReadableDate:s.Jp});$("#requestHistory").append(r)}))}functiong(e,t){varr=t[e];$("#decisionOptions").children().remove(),r.forEach((function(e,t){varr=swh.add_forge_now.formatRequestStatusName(e);$("#decisionOptions").append('<option value="'+e+'">'+r+"</option>")})),$("#decisionOptions").append("<option hidden disabled selected value> -- Add a comment -- </option>")}},39449:function(module){module.exports=functionanonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){returnnull==e?"":String(e).replace(_MATCH_HTML,encode_char)};var_ENCODE_HTML_RULES={"&":"&","<":"<",">":">",'"':""","'":"'"},_MATCH_HTML=/[&<>'"]/g;functionencode_char(e){return_ENCODE_HTML_RULES[e]||e}var__output="";function__append(e){null!=e&&(__output+=e)}with(locals||{})__append('\n<div class="custom-control custom-checkbox swhid-option">\n <input class="custom-control-input" value="option-user-requests-filter" type="checkbox"\n '),checked&&__append('\n checked="checked"\n '),__append('\n id="'),__append(escapeFn(inputId)),__append('">\n <label class="custom-control-label font-weight-normal" for="'),__append(escapeFn(inputId)),__append('">\n show only your own requests\n </label>\n</div>\n');return__output}},31878:function(module){module.exports=functionanonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){returnnull==e?"":String(e).replace(_MATCH_HTML,encode_char)};var_ENCODE_HTML_RULES={"&":"&","<":"<",">":">",'"':""","'":"'"},_MATCH_HTML=/[&<>'"]/g;functionencode_char(e){return_ENCODE_HTML_RULES[e]||e}var__output="";function__append(e){null!=e&&(__output+=e)}with(locals||{})__append('\n<div class="history-item">\n\t<div class="card border-dark">\n\t\t<div class="card-header" id="historyItem'),__append(escapeFn(index)),__append('">\n\t\t\t<h2 class="mb-0">\n\t\t\t\t<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#historyItemBody'),__append(escapeFn(index)),__append('" aria-expanded="true" aria-controls="collapse$'),__append(escapeFn(index)),__append('">\n\t\t\t\t\t\t\t\tFrom '),__append(escapeFn(event.actor)),__append(" ("),__append(escapeFn(event.actor_role)),__append(") on "),__append(escapeFn(getHumanReadableDate(event.date))),__append("\n\t\t\t\t\t"),null!==event.new_status&&(__append('\n\t\t\t\t\t<span style="padding-left: 10px;">New status:</span> '),__append(escapeFn(swh.add_forge_now.formatRequestStatusName(event.new_status))),__append("\n\t\t\t\t\t")),__append('\n\t\t\t\t</button>\n\t\t\t</h2>\n\t\t</div>\n\t\t<div id="historyItemBody'),__append(escapeFn(index)),__append('" class="collapse" aria-labelledby="historyItem'),__append(escapeFn(index)),__append('" data-parent="#requestHistory">\n\t\t\t<div class="card-body">\n\t\t\t\t'),event.text&&(__append("\n\t\t\t\t<pre>"),__append(escapeFn(event.text)),__append("</pre>\n\t\t\t\t")),__append("\n\t\t\t\t"),null!==event.message_source_url&&(__append('\n\t\t\t\t<p><a href="'),__append(escapeFn(event.message_source_url)),__append('">Open original message in email client</a></p>\n\t\t\t\t')),__append("\n\t\t\t\t"),null!==event.new_status&&(__append("\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<span>Status changed to:</span> <strong>"),__append(escapeFn(swh.add_forge_now.formatRequestStatusName(event.new_status))),__append("</strong>\n\t\t\t\t\t</p>\n\t\t\t\t")),__append("\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n");return__output}},92791:function(module){module.exports=functionanonymous(locals,escapeFn,include,rethrow){escapeFn=escapeFn||function(e){returnnull==e?"":String(e).replace(_MATCH_HTML,encode_char)};var_ENCODE_HTML_RULES={"&":"&","<":"<",">":">",'"':""","'":"'"},_MATCH_HTML=/[&<>'"]/g;functionencode_char(e){return_ENCODE_HTML_RULES[e]||e}var__output="";function__append(e){null!=e&&(__output+=e)}with(locals||{})__append("\nDear forge administrator,\n\nThe mission of Software Heritage is to collect, preserve and share all\nthe publicly available source code (see\nhttps://www.softwareheritage.org for more information).\n\nWe just received a request to add the forge hosted at "),__append(escapeFn(forgeUrl)),__append('\nto the list of software origins that are archived, and it is our\nunderstanding that you are the contact person for this forge.\n\nIn order to archive the forge contents, we will have to periodically\npull the public repositories it contains and clone them into the\nSoftware Heritage archive.\n\nPlease let us know if there are any technical issues to consider before\n we launch the archival of the public repositories hosted on your\n infrastructure.(use "Reply all" to ensure our system will process\n your answer properly)\n\nIn the absence of an answer to this message, we will start to archive\nyour forge in the coming weeks (only the publicly accessible\nrepositories will be archived)\n\nThank you in advance for your help.\n\nKind regards,\nThe Software Heritage team\n');return__output}},35666:function(e){vart=function(e){"use strict";vart,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeofSymbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";functionc(e,t,r){returnObject.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){returne[t]=r}}functiond(e,t,r,n){vara=t&&t.prototypeinstanceofg?t:g,i=Object.create(a.prototype),s=newC(n||[]);returno(i,"_invoke",{value:S(e,r,s)}),i}functionl(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;varp="suspendedStart",f="executing",_="completed",h={};functiong(){}functionm(){}functionv(){}varw={};c(w,i,(function(){returnthis}));vary=Object.getPrototypeOf,b=y&&y(y(R([])));b&&b!==r&&n.call(b,i)&&(w=b);varx=v.prototype=g.prototype=Object.create(w);functionE(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){returnthis._invoke(t,e)}))}))}functionk(e,t){functionr(o,a,i,s){varu=l(e[o],e,a);if("throw"!==u.type){varc=u.arg,d=c.value;returnd&&"object"==typeofd&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){returnr("throw",e,i,s)}))}s(u.arg)}vara;o(this,"_invoke",{value:function(e,n){functiono(){returnnewt((function(t,o){r(e,n,t,o)}))}returna=a?a.then(o,o):o()}})}functionS(e,t,r){varn=p;returnfunction(o,a){if(n===f)thrownewError("Generator is already running");if(n===_){if("throw"===o)throwa;return$()}for(r.method=o,r.arg=a;;){vari=r.delegate;if(i){vars=T(i,r);if(s){if(s===h)continue;returns}}if("next"===r.method)r.sent=r._sent=r.arg;elseif("throw"===r.method){if(n===p)thrown=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;varu=l(e,t,r);if("normal"===u.type){if(n=r.done?_:"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=_,r.method="throw",r.arg=u.arg)}}}functionT(e,r){varn=r.method,o=e.iterator[n];if(o===t)returnr.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=newTypeError("The iterator does not provide a '"+n+"' method")),h;vara=l(o,e.iterator,r.arg);if("throw"===a.type)returnr.method="throw",r.arg=a.arg,r.delegate=null,h;vari=a.arg;returni?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=newTypeError("iterator result is not an object"),r.delegate=null,h)}functionL(e){vart={tryLoc:e[0]};1ine&&(t.catchLoc=e[1]),2ine&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}functionq(e){vart=e.completion||{};t.type="normal",deletet.arg,e.completion=t}functionC(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}functionR(e){if(e){varr=e[i];if(r)returnr.call(e);if("function"==typeofe.next)returne;if(!isNaN(e.length)){varo=-1,a=functionr(){for(;++o<e.length;)if(n.call(e,o))returnr.value=e[o],r.done=!1,r;returnr.value=t,r.done=!0,r};returna.next=a}}return{next:$}}function$(){return{value:t,done:!0}}returnm.prototype=v,o(x,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){vart="function"==typeofe&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){returnObject.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,s,(function(){returnthis})),e.AsyncIterator=k,e.async=function(t,r,n,o,a){void0===a&&(a=Promise);vari=newk(d(t,r,n,o),a);returne.isGeneratorFunction(r)?i:i.next().then((function(e){returne.done?e.value:i.next()}))},E(x),c(x,u,"Generator"),c(x,i,(function(){returnthis})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){vart=Object(e),r=[];for(varnint)r.push(n);returnr.reverse(),functione(){for(;r.length;){varn=r.pop();if(nint)returne.value=n,e.done=!1,e}returne.done=!0,e}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(q),!e)for(varrinthis)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;vare=this.tryEntries[0].completion;if("throw"===e.type)throwe.arg;returnthis.rval},dispatchException:function(e){if(this.done)throwe;varr=this;functiono(n,o){returns.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(vara=this.tryEntries.length-1;a>=0;--a){vari=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)returno("end");if(i.tryLoc<=this.prev){varu=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)returno(i.catchLoc,!0);if(this.prev<i.finallyLoc)returno(i.finallyLoc)}elseif(u){if(this.prev<i.catchLoc)returno(i.catchLoc,!0)}else{if(!c)thrownewError("try statement without catch or finally");if(this.prev<i.finallyLoc)returno(i.finallyLoc)}}}},abrupt:function(e,t){for(varr=this.tryEntries.length-1;r>=0;--r){varo=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){vara=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);vari=a?a.completion:{};returni.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throwe.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(vart=this.tryEntries.length-1;t>=0;--t){varr=this.tryEntries[t];if(r.finallyLoc===e)returnthis.complete(r.completion,r.afterLoc),q(r),h}},catch:function(e){for(vart=this.tryEntries.length-1;t>=0;--t){varr=this.tryEntries[t];if(r.tryLoc===e){varn=r.completion;if("throw"===n.type){varo=n.arg;q(r)}returno}}thrownewError("illegal catch attempt")},delegateYield:function(e,r,n){returnthis.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeofglobalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},15861:function(e,t,r){"use strict";functionn(e,t,r,n,o,a,i){try{vars=e[a](i),u=s.value}catch(e){returnvoidr(e)}s.done?t(u):Promise.resolve(u).then(n,o)}functiono(e){returnfunction(){vart=this,r=arguments;returnnewPromise((function(o,a){vari=e.apply(t,r);functions(e){n(i,o,a,s,u,"next",e)}functionu(e){n(i,o,a,s,u,"throw",e)}s(void0)}))}}r.d(t,{Z:function(){returno}})},31955:function(e,t){"use strict";functionr(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)e[n]=r[n]}returne}varn=functione(t,n){functiono(e,o,a){if("undefined"!=typeofdocument){"number"==typeof(a=r({},n,a)).expires&&(a.expires=newDate(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);vari="";for(varsina)a[s]&&(i+="; "+s,!0!==a[s]&&(i+="="+a[s].split(";")[0]));returndocument.cookie=e+"="+t.write(o,e)+i}}returnObject.create({set:o,get:function(e){if("undefined"!=typeofdocument&&(!arguments.length||e)){for(varr=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){vara=r[o].split("="),i=a.slice(1).join("=");try{vars=decodeURIComponent(a[0]);if(n[s]=t.read(i,s),e===s)break}catch(e){}}returne?n[e]:n}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){returne(this.converter,r({},this.attributes,t))},withConverter:function(t){returne(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){returnencodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n}},__webpack_module_cache__={};function__webpack_require__(e){vart=__webpack_module_cache__[e];if(void0!==t)returnt.exports;varr=__webpack_module_cache__[e]={exports:{}};return__webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};return__webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(varrint)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("return this")()}catch(e){if("object"==typeofwindow)returnwindow}}(),__webpack_require__.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var__webpack_exports__={},_global;return_global="undefined"!=typeofwindow?window:void0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeofself?self:{},_global.SENTRY_RELEASE={id:"0.2.9"},_global.SENTRY_RELEASES=_global.SENTRY_RELEASES||{},_global.SENTRY_RELEASES["swh-webapp@swh"]={id:"0.2.9"},function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{formatRequestStatusName:function(){returnn},onCreateRequestPageLoad:function(){returne.Tl},onModerationPageLoad:function(){returnt.f},onRequestDashboardLoad:function(){returnr.q},populateDecisionSelectOption:function(){returnr.H},populateModerationList:function(){returnt.y},populateRequestBrowseList:function(){returne.xE},validateForgeUrl:function(){returne.Br}});vare=__webpack_require__(27931),t=__webpack_require__(23120),r=__webpack_require__(39333);functionn(e){vart={PENDING:"Pending",WAITING_FOR_FEEDBACK:"Waiting for feedback",FEEDBACK_TO_HANDLE:"Feedback to handle",ACCEPTED:"Accepted",SCHEDULED:"Scheduled",FIRST_LISTING_DONE:"First listing done",FIRST_ORIGIN_LOADED:"First origin loaded",REJECTED:"Rejected",SUSPENDED:"Suspended",UNSUCCESSFUL:"Unsuccessful"};returneint?t[e]:e}}(),__webpack_exports__}()}));