/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
function c(e,r){let t=r.replace(/\[(\w+)\]/g,".$1");t=t.replace(/^\./,"");let n=t.split(".");for(let i=0;i<n.length;++i){let o=n[i];if(e&&typeof e=="object"&&o in e)e=e[o];else{e="";break}}return e}function s(e,r){return e.find(t=>p(t,r))}function a(e,r){if(!e||!e.length)throw new Error("Invalid key");let t={};for(let n of e)if(Object.prototype.hasOwnProperty.call(r,n))t[n]=r[n];else throw new Error(`Invalid key. The property "${n}" does not exist in the data.`);return t}function p(e,r){return Object.keys(r).every(t=>e[t]===r[t])}function f(e,r,t,n){let i=r;r.hasOwnProperty(t)||(i=Object.getPrototypeOf(r));let o=Object.getOwnPropertyDescriptor(i,t);if(!o)throw new Error(`Property ${t} does not exist.`);return Object.defineProperty(r,t,{configurable:!0,get(){return o.get?o.get.apply(this,arguments):void 0},set(){o.set&&o.set.apply(this,arguments),n.apply(e,arguments)}}),()=>Object.defineProperty(r,t,o)}export{c as a,s as b,a as c,p as d,f as e};
//# sourceMappingURL=chunk.DONAMICM.js.map
