1import{g as r}from"./index.DbJ6Lgxq.js";const c=(n,t={})=>{const e=Object.entries(t).map((a,s)=>({Name:a[0],Value:a[1],Order:s,Key:""}));return{SessionParameters:{},ActionInformation:{ActionName:n?.actionName,Arguments:e,Name:n?.componentName,Version:n?.componentVersion},QueryString:{}}},u=(n,t)=>{const e=n?.Data?.status??"404",o=t[e];return{Data:n.Data,ok:e==="200"||e==="302"||e==="204",title:o?.title,description:o?.description,status:e}},p=async n=>{const t=[];return await Promise.all(Object.entries(n).map(async e=>{const o=await r(e[1]);t.push({[e[0]]:o})})),t.length>0?t.reduce((e,o)=>({...e,...o}),{}):t},m=(n=[])=>n.length>0?n.map((t,e)=>({[t?.Name&&t?.Name!==""?t.Name:`NoName${e}`]:t.Value})).reduce((t,e)=>({...t,...e}),{}):{},d=async n=>new Promise((t,e)=>window.grecaptcha.ready(()=>window.grecaptcha.execute(n,{action:"submit"}).then(o=>{t(o)}).catch(o=>{console.log("Error on recaptcha",o)})));function N(n,t){const e=m(n),o=c({actionName:e?.actionName??"",componentName:e?.componentName??"",componentVersion:e?.componentVersion??"",businessAreaName:e?.businessAreaName??""},{...t});if(o)return o}export{u as a,p as e,d as g,N as t}; 2//# sourceMappingURL=index.ruGWkIsk.js.map
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.