PageSourceSearch

https://elegal.moj.gov.ae/_next/static/chunks/9393-8b08998dedd9e5f4.js

js moj.gov.ae collected 2026-09-25 04:38:22 UTC 25,714 bytes, 4 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9393],{19393:(e,t,r)=>{r.d(t,{S8:()=>h,WU:()=>s,XU:()=>A,c2:()=>c});var i=r(83846),n=r(91348),a=r(70926);function s(e){let t=Promise.resolve(),r=r=>{let i=t.then(()=>new Promise((t,i)=>{"function"==typeof e.mutateAsync?e.mutateAsync(r).then(t,i):e.mutate(r,{onSuccess:t,onError:i})}));return t=i.then(()=>void 0,()=>void 0),i};return{mutate:(e,t)=>{r(e).then(t.onSuccess,t.onError)},mutateAsync:r}}function u(e){if(null!=e)return String(e).trim()||void 0}function o(e){return(Array.isArray(e)?e:[]).map(e=>{let t=u(e?.fieldUuid)??u(e?.uuid)??u(e?.fieldName)??u(e?.fieldAlias)??u(`${e?.fieldName??""}:${e?.fieldAlias??""}`)??"missing-field-uuid",r=u(e?.fieldAlias)??u(e?.alias)??u(e?.name)??u(e?.fieldName)??"",i=u(e?.fieldName)??u(e?.name)??u(e?.fieldAlias)??"";return{...e,fieldUuid:t,fieldAlias:r,fieldName:i}})}function l(e){try{if(null==e)return;if("string"==typeof e){let t=e.trim();if(!t)return;if(t.startsWith("{")||t.startsWith("["))try{return JSON.parse(t)}catch{}try{return(0,i.UG)(t)}catch{return}}if(Array.isArray(e)||"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===Object.prototype)return e;return}catch{return}}function c(e){try{if("string"==typeof e)try{e=JSON.parse(e)}catch{}let t=e?.data??e,r=e=>({recordId:u(e?.recordId)??u(e?.id)??("u">typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():String(Math.random())),fieldValues:o(e?.fieldValues)});if(Array.isArray(t))return t.map(r);let i=t?.result??t??{};return(Array.isArray(i?.records)?i.records:[]).map(r)}catch{return[]}}function p(e,t){let r=e;if("string"==typeof r)try{r=JSON.parse(r)}catch{}return(e=>{if("result"===t)return Array.isArray(e?.result)?e.result:[];if("result.records"===t)return Array.isArray(e?.result?.records)?e.result.records:[];if("records"===t)return Array.isArray(e?.records)?e.records:[];if("root"===t)return Array.isArray(e)?e:[];if(Array.isArray(e?.result))return e.result;if(Array.isArray(e?.result?.records))return e.result.records;if(Array.isArray(e?.records))return e.records;if(Array.isArray(e))return e;if(Array.isArray(e?.data)){let t=e.data;if(Array.isArray(t?.result))return t.result;if(Array.isArray(t?.result?.records))return t.result.records;if(Array.isArray(t?.records))return t.records;if(Array.isArray(t))return t}return[]})(r).map(e=>({recordId:String(e?.recordId??e?.id??("u">typeof crypto&&crypto.randomUUID?crypto.randomUUID():Math.random())),fieldValues:o(e?.fieldValues)}))}let d=new Map,f=new Map;function h(){d.clear(),f.clear()}async function y(e){var t;let r=(t={appConfigUuid:e.appConfigUuid,lkpUuid:e.lkpUuid,handlerUuid:e.handlerUuid,actionUuid:e.actionUuid},`${t.appConfigUuid??""}|${t.lkpUuid}|${t.handlerUuid}|${t.actionUuid}`),s=f.get(r);if(s)return s;let o=!1!==(0,a.Pf)().cacheExecuteAction;if(o){let e=d.get(r);if(e)return e}let l=(async()=>{var t,a;let s,l,c,f=(t=await m(e.mutation,g({action_uuid:e.actionUuid,lkpUuid:e.lkpUuid,size:1,sortFields:e.sortFields,filters:{uuid:e.handlerUuid},selectedFields:["action_uuid","data_object"],app_config_uuid:e.appConfigUuid}),e.useMutateAsync),a=e.actionUuid,c=(l=(s=p(t,"auto")[0])?(0,n.M$)((0,i.zD)(s)):null)?(0,i.vv)(l)?.data_object:void 0,{actionUuid:function(e){if(null==e||"object"!=typeof e)return;let t=u(e.action_uuid)??u(e.actionUuid)??u(e.meta?.action_uuid);if(t)return t;let r=e.result;if(r&&"object"==typeof r){let e=u(r.action_uuid)??u(r.actionUuid);if(e)return e}let i=e.data;if(i&&"object"==typeof i){let e=u(i.action_uuid)??u(i.result?.action_uuid);if(e)return e}let n=p(e,"auto")[0];if(n?.fieldValues?.length)for(let e of n.fieldValues){let t=u(e.fieldName)??"",r=u(e.fieldAlias)??"";if("action_uuid"===t||"action_uuid"===r){let t=u(e.originalValue)??u(e.displayValue);if(t)return t}}}(t)??function(e){if(!e)return;let t=(0,i.vv)(e);return u(t?.action_uuid)??u(e.action_uuid)??void 0}(l)??a,presetDataObject:c,appConfigUuid:function(e){if(null!=e&&"object"==typeof e)return u(e.app_config_uuid)??u(e.appConfigUuid)??u(e.meta?.app_config_uuid)}(t)});return o&&d.set(r,f),f})().finally(()=>{f.delete(r)});return f.set(r,l),l}function g(e){let{action_uuid:t,lkpUuid:r,size:i,sortFields:n,filters:a,selectedFields:s,app_config_uuid:u,convert:o}=e;return{action_uuid:t,...u?{app_config_uuid:u}:{},...o?{convert:o}:{},data_object:{pathVariables:{},queryParams:{},body:{lkpUuid:r,size:i,sortFields:n&&n.length?n:[],filters:a&&Object.keys(a).length?a:void 0,selectedFields:void 0===s?["data_object"]:s}}}}async function m(e,t,r){return r&&"function"==typeof e.mutateAsync?e.mutateAsync(t):new Promise((r,i)=>{e.mutate(t,{onSuccess:r,onError:i})})}function v(e){if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return e}}function b(e){if(!("u"<typeof document))for(let t of document.cookie?document.cookie.split("; "):[]){let[r,...i]=t.split("=");if(r===e)return decodeURIComponent(i.join("="))}}async function A({mutation:e,lkpUuid:t,filters:r,size:i=20,sortFields:s,recordsSource:u="auto",action_uuid:o="",dataObjectField:c="data_object",timeoutMs:d=12e4,injectBody:f,injectHeader:h,injectPathVariables:_,injectQueryParams:k,selectRecord:w,useMutateAsync:j,appConfigUuid:P,convert:U,selectedFields:x=["data_object"],baseUrl:S,isMobileClient:O=!1}){var C;let E=(0,a.Pf)(),N=P??E.appConfigUuid,R=S??E.baseUrl,V=O||!0===E.isMobileClient||(0,a.T3)(),$=null!=f&&"object"==typeof f,F=null!=k&&"object"==typeof k,I=null!=_&&"object"==typeof _;if(V&&($||F)&&"string"==typeof(C=r?.uuid)&&""!==C.trim()&&null!=r){let i,n=String(r.uuid).trim(),a=await y({mutation:e,useMutateAsync:j,actionUuid:o,lkpUuid:t,handlerUuid:n,sortFields:s,appConfigUuid:N}),u=a.presetDataObject,l=a.actionUuid,c=N??a.appConfigUuid,p={action_uuid:l,handler_uuid:n,...c?{app_config_uuid:String(c)}:{},data_object:{pathVariables:{...u?.pathVariables,...I?_:{}},queryParams:{...u?.queryParams,...F?k:{}},body:{...u?.body,...$?f:{}}},...(i={...h&&"object"==typeof h?h:{}},c&&!i["X-Application-UUID"]&&(i["X-Application-UUID"]=String(c)),Object.keys(i).length>0?{_injectHeader:i}:{})},d=v(await m(e,p,j)),g=function(e){if(null==e||"object"!=typeof e||!("status"in e))return null;let t=e.status;return"number"==typeof t?t:null}(d);return{records:[],picked:null,actionResult:{ok:!0,data:d,status:g??200},apiResponse:d,status:g??200}}let J=g({action_uuid:o,lkpUuid:t,size:i,sortFields:s,filters:r,selectedFields:x,app_config_uuid:N,convert:U}),L=await m(e,J,j),M=L?.app_config_uuid||L?.appConfigUuid||L?.meta?.app_config_uuid,z=p(L,u),D=w?w(z):z[0]??null;if(!D)return{records:z,picked:null,actionResult:{ok:!1,error:"No records foun
1d."},apiResponse:null,status:null};!function(e,t,r){let i=e.fieldValues.findIndex(e=>e.fieldName===t||e.fieldAlias===t);if(i<0)return;let n=e.fieldValues[i],a=l(n?.originalValue??n?.displayValue);if(void 0===a)return;let s=a;a&&"object"==typeof a&&a?.config?.user_action&&(s={...a,config:{...a.config,user_action:{...a.config.user_action,endpoint:function(e,t){if("string"!=typeof e)return e;let r=e.trim();if(!r||/^https?:\/\//i.test(r)||!t)return e;let i=String(t).trim().replace(/\/+$/,"");if(!i)return e;let n=r.replace(/^\/proxy(?=\/|$)/i,"")||"/",a=n.startsWith("/")?n:`/${n}`;return`${i}${a}`}(a.config.user_action.endpoint,r)}}}),e.fieldValues[i]={...n,displayValue:s,originalValue:s}}(D,c,R);let T=D.fieldValues.findIndex(e=>e.fieldName===c||e.fieldAlias===c);if(T>=0){let e=D.fieldValues[T],t=l(e?.originalValue??e?.displayValue);void 0!==t&&(D.fieldValues[T]={...e,displayValue:t})}let q="X-Application-UUID",H=h&&"object"==typeof h?h[q]??h[q.toLowerCase()]:void 0,W=V?void 0:b("app_config_uuid"),B=V?void 0:b("app_uuid"),Z=V?void 0:b("x-application-uuid"),G=H||N||M||W||B||Z,X=!H&&G?{...h,[q]:String(G)}:h,Q=await (0,n.HF)(D,{setApiResponse:()=>{},timeoutMs:d,injectBody:f,injectHeader:X,injectPathVariables:_,injectQueryParams:k,handler_uuid:"string"==typeof r?.uuid?r.uuid:null}),K=v(Q?.data);return{records:z,picked:D,actionResult:Q,apiResponse:K,status:Q?.status??null}}},47494:(e,t,r)=>{r.d(t,{GL:()=>_,h0:()=>A});class i extends Error{constructor(e){super(e),this.isUnsupportedExpression=!0,this.name="UnsupportedExpressionError"}}function n(e){throw new i(e)}let a=["===","!==","?.","??","==","!=","<=",">=","&&","||","=>","...",".","[","]","(",")","{","}",",",":","?","+","-","*","/","%","!","<",">"],s=new Set(["new","function","delete","void","in","instanceof","await","yield","class","this","super","var","let","const","return","if","else","for","while","do","switch","try","catch","throw"]),u=/[A-Za-z_$]/,o=/[A-Za-z0-9_$]/,l=/[0-9]/;function c(e){switch(e){case"n":return"\n";case"t":return"	";case"r":return"\r";case"b":return"\b";case"f":return"\f";case"v":return"\v";case"0":return"\0";case void 0:return"";default:return e}}class p{constructor(e){this.pos=0,this.tokens=e}peek(){return this.tokens[this.pos]}isPunc(e){let t=this.peek();return"punc"===t.type&&t.value===e}isName(e){let t=this.peek();return"name"===t.type&&t.value===e}next(){return this.tokens[this.pos++]}expect(e){this.isPunc(e)||n(`expected "${e}"`),this.pos+=1}parseProgram(){let e=this.parseExpression();return"eof"!==this.peek().type&&n("unexpected trailing input"),e}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.parseNullishOr();if(!this.isPunc("?"))return e;this.pos+=1;let t=this.parseExpression();return this.expect(":"),{kind:"conditional",test:e,consequent:t,alternate:this.parseExpression()}}parseNullishOr(){let e=this.parseLogicalAnd();for(;this.isPunc("||")||this.isPunc("??");)e={kind:"logical",operator:this.next().value,left:e,right:this.parseLogicalAnd()};return e}parseLogicalAnd(){let e=this.parseEquality();for(;this.isPunc("&&");)this.pos+=1,e={kind:"logical",operator:"&&",left:e,right:this.parseEquality()};return e}parseEquality(){let e=this.parseRelational();for(;this.isPunc("===")||this.isPunc("!==")||this.isPunc("==")||this.isPunc("!=");)e={kind:"binary",operator:this.next().value,left:e,right:this.parseRelational()};return e}parseRelational(){let e=this.parseAdditive();for(;this.isPunc("<")||this.isPunc(">")||this.isPunc("<=")||this.isPunc(">=");)e={kind:"binary",operator:this.next().value,left:e,right:this.parseAdditive()};return e}parseAdditive(){let e=this.parseMultiplicative();for(;this.isPunc("+")||this.isPunc("-");)e={kind:"binary",operator:this.next().value,left:e,right:this.parseMultiplicative()};return e}parseMultiplicative(){let e=this.parseUnary();for(;this.isPunc("*")||this.isPunc("/")||this.isPunc("%");)e={kind:"binary",operator:this.next().value,left:e,right:this.parseUnary()};return e}parseUnary(){return this.isPunc("!")||this.isPunc("-")||this.isPunc("+")?{kind:"unary",operator:this.next().value,argument:this.parseUnary()}:this.isName("typeof")?(this.pos+=1,{kind:"unary",operator:"typeof",argument:this.parseUnary()}):this.parseChain()}parseChain(){let e=this.parsePrimary(),t=[];for(;;){if(this.isPunc(".")){this.pos+=1,t.push({type:"member",property:this.parsePropertyName(),computed:!1,optional:!1});continue}if(this.isPunc("?.")){if(this.pos+=1,this.isPunc("(")){this.pos+=1,t.push({type:"call",args:this.parseArguments(),optional:!0});continue}if(this.isPunc("[")){this.pos+=1;let e=this.parseExpression();this.expect("]"),t.push({type:"member",property:e,computed:!0,optional:!0});continue}t.push({type:"member",property:this.parsePropertyName(),computed:!1,optional:!0});continue}if(this.isPunc("[")){this.pos+=1;let e=this.parseExpression();this.expect("]"),t.push({type:"member",property:e,computed:!0,optional:!1});continue}if(this.isPunc("(")){this.pos+=1,t.push({type:"call",args:this.parseArguments(),optional:!1});continue}break}
1return t.length?{kind:"chain",base:e,links:t}:e}parsePropertyName(){let e=this.next();return"name"!==e.type&&n("expected a property name"),{kind:"literal",value:e.value}}parseArguments(){let e=[];for(;!this.isPunc(")");){if(e.push(this.parseExpression()),this.isPunc(",")){this.pos+=1;continue}break}return this.expect(")"),e}parsePrimary(){let e=this.peek();if("num"===e.type)return this.pos+=1,{kind:"literal",value:e.num};if("str"===e.type)return this.pos+=1,{kind:"literal",value:e.value};if("name"===e.type)return(this.pos+=1,"true"===e.value)?{kind:"literal",value:!0}:"false"===e.value?{kind:"literal",value:!1}:"null"===e.value?{kind:"literal",value:null}:"undefined"===e.value?{kind:"literal",value:void 0}:(s.has(e.value)&&n(`"${e.value}" is not supported`),{kind:"identifier",name:e.value});if(this.isPunc("(")){this.pos+=1;let e=this.parseExpression();return this.expect(")"),e}if(this.isPunc("[")){this.pos+=1;let e=[];for(;!this.isPunc("]");){if(e.push(this.parseExpression()),this.isPunc(",")){this.pos+=1;continue}break}return this.expect("]"),{kind:"array",elements:e}}if(this.isPunc("{")){this.pos+=1;let e=[];for(;!this.isPunc("}");){if(e.push(this.parseObjectEntry()),this.isPunc(",")){this.pos+=1;continue}break}return this.expect("}"),{kind:"object",entries:e}}n(`unexpected token "${e.value||"end of input"}"`)}parseObjectEntry(){let e;if(this.isPunc("[")){this.pos+=1;let e=this.parseExpression();return this.expect("]"),this.expect(":"),{key:e,computed:!0,value:this.parseExpression()}}let t=this.next();return("name"===t.type||"str"===t.type?e={kind:"literal",value:t.value}:"num"===t.type?e={kind:"literal",value:String(t.num)}:n("unsupported object key"),this.isPunc(",")||this.isPunc("}"))?("name"!==t.type&&n("unsupported object shorthand"),{key:e,computed:!1,value:{kind:"identifier",name:t.value}}):(this.expect(":"),{key:e,computed:!1,value:this.parseExpression()})}}let d=new Set(["at","charAt","concat","endsWith","includes","indexOf","join","lastIndexOf","padEnd","padStart","replace","replaceAll","slice","split","startsWith","substring","toFixed","toLowerCase","toString","toUpperCase","trim","trimEnd","trimStart","valueOf"]),f={String,Number,Boolean,Math,JSON:{parse:JSON.parse,stringify:JSON.stringify},Array:{isArray:Array.isArray},Object:{keys:Object.keys,values:Object.values,entries:Object.entries},parseInt,parseFloat,isNaN,isFinite,encodeURIComponent,decodeURIComponent},h=Symbol("short-circuit");class y{constructor(e){this.scope=e}evaluate(e){switch(e.kind){case"literal":return e.value;case"identifier":if(Object.prototype.hasOwnProperty.call(this.scope,e.name))return this.scope[e.name];if(Object.prototype.hasOwnProperty.call(f,e.name))return f[e.name];throw ReferenceError(`${e.name} is not defined`);case"array":return e.elements.map(e=>this.evaluate(e));case"object":{let t={};for(let r of e.entries)t[r.computed?String(this.evaluate(r.key)):String(r.key.value)]=this.evaluate(r.value);return t}case"unary":return this.evaluateUnary(e.operator,e.argument);case"binary":return function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"/":return t/r;case"%":return t%r;case"===":return t===r;case"!==":return t!==r;case"==":return t==r;case"!=":return t!=r;case"<":return t<r;
1case">":return t>r;case"<=":return t<=r;case">=":return t>=r;default:return n(`operator "${e}" is not supported`)}}(e.operator,this.evaluate(e.left),this.evaluate(e.right));case"logical":{let t=this.evaluate(e.left);if("&&"===e.operator)return t?this.evaluate(e.right):t;if("||"===e.operator)return t||this.evaluate(e.right);return null==t?this.evaluate(e.right):t}case"conditional":return this.evaluate(e.test)?this.evaluate(e.consequent):this.evaluate(e.alternate);case"chain":{let t=this.evaluateChain(e);return t===h?void 0:t}default:return n("unknown expression node")}}evaluateUnary(e,t){if("typeof"===e)try{return typeof this.evaluate(t)}catch(e){if(e instanceof ReferenceError)return"undefined";throw e}let r=this.evaluate(t);return"!"===e?!r:"-"===e?-r:"+"===e?+r:n(`unary "${e}" is not supported`)}evaluateChain(e){let t,r=this.evaluate(e.base);for(let i of e.links){if(i.optional&&null==r)return h;if("member"===i.type){if(null==r)throw TypeError(`Cannot read properties of ${String(r)} in expression`);let e=i.computed?String(this.evaluate(i.property)):String(i.property.value);t=r,r=r[e];continue}let e=i.args.map(e=>this.evaluate(e));if("function"!=typeof r)throw TypeError("attempted to call a non-function in expression");(function(e,t){if(null==t)return;let r=e?.name;if(!("string"==typeof r&&d.has(r))){for(let e of Object.values(f))if(e===t)return;n(`calling "${"string"==typeof r&&r?r:"anonymous"}" is not supported`)}})(r,t),r=r.apply(t,e),t=void 0}return r}}let g=new Map,m=null;function v(){if(null===m)try{m=1===Function("return 1")()}catch{m=!1}return m}function b(e,t){let r=Object.keys(t),i=Object.values(t);return Function(...r,`"use strict"; return (${e});`)(...i)}function A(e,t={}){let r;try{r=function(e){let t=g.get(e);if(t)return t;let r=new p(function(e){let t=[],r=0;for(;r<e.length;){let i=e[r];if(" "===i||"	"===i||"\n"===i||"\r"===i){r+=1;continue}if("/"===i&&("/"===e[r+1]||"*"===e[r+1])&&n("comments are not supported"),"'"===i||'"'===i){let{value:a,next:s}=function(e,t,r){let i="",a=t+1;for(;a<e.length;){let t=e[a];if("\\"===t){i+=c(e[a+1]),a+=2;continue}if(t===r)return{value:i,next:a+1};i+=t,a+=1}n("unterminated string literal")}(e,r,i);t.push({type:"str",value:a,start:r}),r=s;continue}if("`"===i){let{value:i,next:a}=function(e,t){let r="",i=t+1;for(;i<e.length;){let t=e[i];if("\\"===t){r+=c(e[i+1]),i+=2;continue}if("$"===t&&"{"===e[i+1]&&n("nested template interpolation is not supported"),"`"===t)return{value:r,next:i+1};r+=t,i+=1}n("unterminated template literal")}(e,r);t.push({type:"str",value:i,start:r}),r=a;continue}if(l.test(i)||"."===i&&l.test(e[r+1]??"")){let{value:i,num:n,next:a}=function(e,t){let r=t;for(;r<e.length&&l.test(e[r]);)r+=1;if("."===e[r])for(r+=1;r<e.length&&l.test(e[r]);)r+=1;if("e"===e[r]||"E"===e[r]){let t=r+1;if(("+"===e[t]||"-"===e[t])&&(t+=1),l.test(e[t]??""))for(r=t;r<e.length&&l.test(e[r]);)r+=1}let i=e.slice(t,r);return{value:i,num:Number(i),next:r}}(e,r);t.push({type:"num",value:i,num:n,start:r}),r=a;continue}if(u.test(i)){let i=r+1;for(;i<e.length&&o.test(e[i]);)i+=1;t.push({type:"name",value:e.slice(r,i),start:r}),r=i;continue}let s=a.find(t=>e.startsWith(t,r));if(s){("=>"===s||"..."===s)&&n(`"${s}" is not supported`),t.push({type:"punc",value:s,start:r}),r+=s.length;continue}n(`unexpected character "${i}"`)}return t.push({type:"eof",value:"",start:e.length}),t}(e)).parseProgram();return g.size>=500&&g.clear(),g.set(e,r),r}(e)}catch(r){if(r?.isUnsupportedExpression&&v())return b(e,t);throw r}try{return new y(t).evaluate(r)}catch(r){if(r?.isUnsupportedExpression&&v())return b(e,t);throw r}}function _(e){try{return A(e,{})}catch{return null}}},70926:(e,t,r)=>{r.d(t,{J3:()=>a,Pf:()=>n,T3:()=>s});let i={};function n(){return{...i}}function a(){return!1!==i.cacheExecuteAction}function s(){try{if("native"===globalThis.__RPLZ_PLATFORM__||"u">typeof navigator&&"ReactNative"===navigator.product)return!0;return!1}catch{return!1}}},83846:(e,t,r)=>{r.d(t,{UG:()=>a,pt:()=>n,qx:()=>u,vv:()=>o,zD:()=>s});let i=e=>!!e&&"object"==typeof e&&!Array.isArray(e);function n(e){try{if("string"==typeof e)return JSON.parse(e);return e}catch{return null}}function a(e){if(null==e)return null;let t=n(e);return t&&"string"==typeof t?n(t):t}function s(e){let t=e.fieldValues.find(e=>"data_object"===e.fieldName||"data_object"===e.fieldAlias);if(!t)return null;let r=a(t.originalValue??t.displayValue);return r&&i(r)&&r.config?r:null}function u(e){if(e){if(Array.isArray(e)){let t={};
1return e.forEach(e=>{e?.key&&(t[e.key]=String(e.value??""))}),t}return e}}function o(e){let t="string"==typeof e.jsonBody?a(e.jsonBody):e.jsonBody;return t||e.action_uuid?i(t)?!e.action_uuid||"action_uuid"in t?t:{...t,action_uuid:e.action_uuid}:e.action_uuid?{action_uuid:e.action_uuid}:void 0:t}},91348:(e,t,r)=>{r.d(t,{Qt:()=>v,HF:()=>m,lq:()=>b,M$:()=>g});var i=r(83846);let n=["log","info","warn","error","debug","trace","table","dir","group","groupEnd"];var a=r(47494),s=r(79138);async function u(e,t,r){let i=new AbortController,n=setTimeout(()=>i.abort(),r);try{let r={...t,signal:i.signal};return void 0===r.credentials&&(r.credentials="omit"),r.headers instanceof Headers?(r.headers.delete("cookie"),r.headers.delete("Cookie")):r.headers&&"object"==typeof r.headers&&(delete r.headers.cookie,delete r.headers.Cookie),await fetch(e,r)}finally{clearTimeout(n)}}function o(){try{return"u">typeof window&&window.__RPLZ&&window.__RPLZ.ctx}catch{return!1}}function l(e){let t="u">typeof window&&window.__RPLZ?.ctx||{};return{recordId:t.recordId,lkpUuid:t.lkpUuid,get:t.get?.bind(t),getMany:t.getMany?.bind(t),at:t.at?.bind(t),values:e?.values??t.values,contact:t.contact,allFieldsValues:t.allFieldsValues,allChildValues:t.allChildValues,uiHiddenFieldKeys:t.uiHiddenFieldKeys}}let c=/\$\{([^]*?)\}/g,p=/^\s*\$\{([^]*?)\}\s*$/,d=/^\s*["']\s*\$\{([^]*?)\}\s*["']\s*$/;function f(e){if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return e}}function h(e,t){if("string"==typeof e)return e.replace(/\{\{\s*([^}]+)\s*\}\}/g,(e,r)=>{let i=String(r).split(".").map(e=>e.trim()),n=t;for(let e of i){if(null==n)break;n=n[e]}return null==n?"":String(n)});if(Array.isArray(e))return e.map(e=>h(e,t));if(e&&"object"==typeof e){let r={};for(let i of Object.keys(e))r[i]=h(e[i],t);return r}return e}function y(e,t){if(null==e)return e;if("string"==typeof e){let r=e.match(p),i=e.match(d);if(r||i){let e=(r||i)[1];try{let r=(0,a.h0)(e,t);if(null==r)return"";if("string"==typeof r&&e.includes("JSON.stringify"))return r;let i=f(r);if(void 0===i)return"";return i}catch{}}return String(e??"").replace(c,(e,r)=>{try{var i;let e=(i=String(r),(0,a.h0)(i,t));if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}catch{return""}})}if(Array.isArray(e))return e.map(e=>y(e,t));if("object"==typeof e){let r=Array.isArray(e)?[]:{};for(let[i,n]of Object.entries(e)){let e=y(n,t);r[i]=void 0===e?"":e}return r}return e}function g(e){return e&&"user_action"===e.type?e.config?.user_action??null:null}async function m(e,t){let r,a,s=g((0,i.zD)(e));if(!s)return{ok:!1,status:null,error:"no user_action valid"};let l=(s.method||"POST").toUpperCase(),c=(0,i.qx)(s.headers)??{"Content-Type":"application/json"},p=(0,i.vv)(s);if((t?.injectBody||t?.injectPathVariables||t?.injectQueryParams||t?.handler_uuid!==void 0)&&(p&&"object"==typeof p||(p={}),p={...p,...t?.handler_uuid!==void 0?{handler_uuid:t.handler_uuid}:{},data_object:{...p.data_object,pathVariables:{...p.data_object?.pathVariables,...t.injectPathVariables},queryParams:{...p.data_object?.queryParams,...t.injectQueryParams},body:{...p.data_object?.body,...t.injectBody}}}),o())try{let r={RipplezFields:"u">typeof window&&window.__RPLZ?.ctx||{}},i={...r,record:e,options:t};if(p=y(p,r),p=h(p,i),c&&"object"==typeof c)for(let e of Object.keys(c)){let t=c[e],n=y(t,r);c[e]=h(n,i)}}catch{}let d={...c,...t?.injectHeader};Object.keys(d).some(e=>"accept-language"===e.toLowerCase())||(d["Accept-Language"]=(r="u">typeof window?window.localStorage.getItem("langWithLocale"):null,a=function(e){if(!("u"<typeof document))for(let t of document.cookie?document.cookie.split("; "):[]){let[r,...i]=t.split("=");if(r===e)return decodeURIComponent(i.join("="))}}("langWithLocale"),String(r||a||"en-US")));let f={method:l,headers:d};if("GET"!==l&&"HEAD"!==l)if(Array.isArray(s.formData)&&s.formData.length>0){let e=new FormData;for(let t of s.formData)e.append(t.name,t.value);f.body=e,"Content-Type"in c&&delete c["Content-Type"]}else null!=p&&(f.body=JSON.stringify(p));try{let e,r=await u(s.endpoint,f,t?.timeoutMs??15e3),i=r.clone(),a=r.headers.get("content-type");try{e=!function(e){if(!e)return!1;let t=e.toLowerCase();return t.includes("application/json")||t.includes("+json")}(a)?await r.text():await r.json()}catch{e=await r.text().catch(()=>null)}if(null==e)try{e=await i.text()}catch{}if(s.postSuccessCode){let i=function(e,t){try{if([/window\b/,/document\b/,/eval\b/,/Function\b/].some(t=>t.test(e)))return{ok:!1,error:"sandbox error."};return Function("apiResponse","setApiResponse","console","extra",`"use strict";
2try {
3${e}
4} catch (e) { console.error(e); throw e; }`)(t.apiResponse,t.setApiResponse,t.console??function(){if(globalThis.__RPLZ?.debug&&"u">typeof console)return console;let e={};for(let t of n)e[t]=()=>void 0;return e}(),t.extra??{}),{ok:!0}}catch(e){return{ok:!1,error:e?.message||"error with postSuccessCode"}}}(s.postSuccessCode,{apiResponse:e,setApiResponse:t?.setApiResponse,console,extra:t?.extraSandbox});if(!i.ok)return{ok:!1,status:r.status,data:e,error:`postSuccessCode error: ${i.error}`,raw:r}}return t?.onPostSuccess?.(e),{ok:r.ok,status:r.status,data:e,raw:r}}catch(e){return{ok:!1,status:null,error:e?.name==="AbortError"?"timeout.":e?.message||"fetch field"}}}function v(e,t){if(!Array.isArray(e)||!e.length)return[];let r=o()?l({values:t?.values}):{recordId:void 0,lkpUuid:void 0,values:t?.values},i={RipplezFields:r,window:{RipplezFields:r},values:t?.values,json:{parse(e){if(null==e||"string"!=typeof e)return e;try{return JSON.parse(e)}catch{return e}},stringify:e=>JSON.stringify(e)},JSON,tryJsonParse:f,moment:s,ctx:t},n={...t,RipplezFields:r,window:{RipplezFields:r},values:t?.values};return e.filter(e=>e&&"user_action"===e.type&&e.config&&e.config.user_action).map(e=>{let t=y(f(e.config.user_action.jsonBody)||{},i);return t=h(t,n),{handlerUuid:e.uuid||e.id||"",fullJsonBody:JSON.stringify(t??{})}})}function b(e,t){let r=o()?l({values:e?.values}):{recordId:void 0,lkpUuid:void 0,values:e?.values},i={RipplezFields:r,window:{RipplezFields:r},values:e?.values,json:{parse(e){if(null==e||"string"!=typeof e)return e;try{return JSON.parse(e)}catch{return e}},stringify:e=>JSON.stringify(e)},JSON,tryJsonParse:f,moment:s,ctx:e},n={...e,RipplezFields:r,window:{RipplezFields:r},values:e?.values},a=y(t,i);return h(a,n)}}}]);

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.